"use strict";this.default_b=this.default_b||{};(function(__){var window=this;
try{
__._F_toggles_initialize=function(a){(typeof globalThis!=="undefined"?globalThis:typeof self!=="undefined"?self:this)._F_toggles_default_b=a||[]};(0,__._F_toggles_initialize)([0xc000, ]);
/*

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

 Copyright Google LLC
 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.dev/license
 @param {!tsickle_zone_impl_1.ZonePrivate} api
 @param {?} target
 @param {string} targetName
 @param {string} method
 @param {!Array<string>} callbacks
 @return {void}
*/
/*

 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.dev/license
*/
/*

 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
*/
/*

 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 (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.
*/
/*
 @license
 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.dev/license
*/
/*

 MIT License
 Copyright (c) 2018 Alex Okrushko
 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
*/
var g,ba=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,ba);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b);this.reportErrorToServer=!0},aaa=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");ba.call(this,c+a[d])},ca=function(a,b){if(a)throw Error("C");b.push(65533)},baa=function(a,b){b=String.fromCharCode.apply(null,b);return a==null?b:a+b},caa=function(a,b,c,d){c=b+c;for(var e=
[],f=null,h,k,q,u;b<c;)h=a[b++],h<128?e.push(h):h<224?b>=c?ca(d,e):(k=a[b++],h<194||(k&192)!==128?(b--,ca(d,e)):e.push((h&31)<<6|k&63)):h<240?b>=c-1?ca(d,e):(k=a[b++],(k&192)!==128||h===224&&k<160||h===237&&k>=160||((q=a[b++])&192)!==128?(b--,ca(d,e)):e.push((h&15)<<12|(k&63)<<6|q&63)):h<=244?b>=c-2?ca(d,e):(k=a[b++],(k&192)!==128||(h<<28)+(k-144)>>30!==0||((q=a[b++])&192)!==128||((u=a[b++])&192)!==128?(b--,ca(d,e)):(h=(h&7)<<18|(k&63)<<12|(q&63)<<6|u&63,h-=65536,e.push((h>>10&1023)+55296,(h&1023)+
56320))):ca(d,e),e.length>=8192&&(f=baa(f,e),e.length=0);return baa(f,e)},gaa=function(a,b,c,d){var e;d?(e=daa)||(e=daa=new TextDecoder("utf-8",{fatal:!0})):(e=eaa)||(e=eaa=new TextDecoder("utf-8",{fatal:!1}));c=b+c;a=b===0&&c===a.length?a:a.subarray(b,c);try{return e.decode(a)}catch(f){if(b=d){if(faa===void 0){try{e.decode(new Uint8Array([128]))}catch(h){}try{e.decode(new Uint8Array([97])),faa=!0}catch(h){faa=!1}}b=!faa}b&&(daa=void 0);throw f;}},kaa=function(a,b){b=b===void 0?!1:b;if(haa){if(b&&
(iaa?!a.isWellFormed():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(a)))throw Error("D");a=(jaa||(jaa=new TextEncoder)).encode(a)}else{for(var c=0,d=new Uint8Array(3*a.length),e=0;e<a.length;e++){var f=a.charCodeAt(e);if(f<128)d[c++]=f;else{if(f<2048)d[c++]=f>>6|192;else{if(f>=55296&&f<=57343){if(f<=56319&&e<a.length){var h=a.charCodeAt(++e);if(h>=56320&&h<=57343){f=(f-55296)*1024+h-56320+65536;d[c++]=f>>18|240;d[c++]=f>>12&63|128;d[c++]=f>>6&63|128;d[c++]=f&63|
128;continue}else e--}if(b)throw Error("D");f=65533}d[c++]=f>>12|224;d[c++]=f>>6&63|128}d[c++]=f&63|128}}a=c===d.length?d:d.subarray(0,c)}return a},ea=function(a){da.setTimeout(function(){throw a;},0)},fa=function(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c},laa=function(a){return ha("@ldap.google.com",a.slice(a.length-16))==0},ja=function(a){return/^[\s\xa0]*$/.test(a)},ha=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},ka=function(a,b){return a.indexOf(b)!=
-1},ma=function(a,b){return ka(a.toLowerCase(),b.toLowerCase())},naa=function(a,b){var c=0;a=na(String(a)).split(".");b=na(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;c==0&&e<d;e++){var f=a[e]||"",h=b[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(f[0].length==0&&h[0].length==0)break;c=maa(f[1].length==0?0:parseInt(f[1],10),h[1].length==0?0:parseInt(h[1],10))||maa(f[2].length==0,h[2].length==0)||maa(f[2],h[2]);f=f[3];h=h[3]}while(c==
0)}return c},maa=function(a,b){return a<b?-1:a>b?1:0},oa=function(){var a=da.navigator;return a&&(a=a.userAgent)?a:""},oaa=function(a){if(!pa||!qa)return!1;for(var b=0;b<qa.brands.length;b++){var c=qa.brands[b].brand;if(c&&ka(c,a))return!0}return!1},ra=function(a){return ka(oa(),a)},sa=function(){return pa?!!qa&&qa.brands.length>0:!1},paa=function(){return sa()?!1:ra("Opera")},qaa=function(){return sa()?!1:ra("Trident")||ra("MSIE")},ta=function(){return ra("Firefox")||ra("FxiOS")},raa=function(){return ra("Safari")&&
!(va()||(sa()?0:ra("Coast"))||paa()||(sa()?0:ra("Edge"))||(sa()?oaa("Microsoft Edge"):ra("Edg/"))||(sa()?oaa("Opera"):ra("OPR"))||ta()||ra("Silk")||ra("Android"))},va=function(){return sa()?oaa("Chromium"):(ra("Chrome")||ra("CriOS"))&&!(sa()?0:ra("Edge"))||ra("Silk")},saa=function(){return ra("Android")&&!(va()||ta()||paa()||ra("Silk"))},taa=function(){var a=oa();if(qaa()){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])a=b[1];else{b="";var c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),
c[1]=="7.0")if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];a=b}}else a="";return a},uaa=function(){if(sa()){var a=qa.brands.find(function(b){return b.brand==="Internet Explorer"});if(!a||!a.version)return NaN;a=a.version.split(".")}else{a=taa();if(a==="")return NaN;a=a.split(".")}return a.length===0?NaN:Number(a[0])},wa=function(){return pa?!!qa&&!!qa.platform:!1},vaa=function(){return wa()?qa.platform===
"Android":ra("Android")},waa=function(){return ra("iPhone")&&!ra("iPod")&&!ra("iPad")},xa=function(){return waa()||ra("iPad")||ra("iPod")},za=function(){return wa()?qa.platform==="macOS":ra("Macintosh")},xaa=function(){return wa()?qa.platform==="Windows":ra("Windows")},yaa=function(){return wa()?qa.platform==="Chrome OS":ra("CrOS")},zaa=function(){var a=oa(),b="";xaa()?(b=/Windows (?:NT|Phone) ([0-9.]+)/,b=(a=b.exec(a))?a[1]:"0.0"):xa()?(b=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,b=(a=b.exec(a))&&
a[1].replace(/_/g,".")):za()?(b=/Mac OS X ([0-9_.]+)/,b=(a=b.exec(a))?a[1].replace(/_/g,"."):"10"):ma(oa(),"KaiOS")?(b=/(?:KaiOS)\/(\S+)/i,b=(a=b.exec(a))&&a[1]):vaa()?(b=/Android\s+([^\);]+)(\)|;)/,b=(a=b.exec(a))&&a[1]):yaa()&&(b=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,b=(a=b.exec(a))&&a[1]);return b||""},Aa=function(a){return a[a.length-1]},Aaa=function(a,b){var c=0;Ba(a,function(d,e,f){b.call(void 0,d,e,f)&&++c});return c},Caa=function(a,b){b=Baa(a,b);return b<0?null:typeof a==="string"?a.charAt(b):
a[b]},Baa=function(a,b){for(var c=typeof a==="string"?a.split(""):a,d=a.length-1;d>=0;d--)if(d in c&&b.call(void 0,c[d],d,a))return d;return-1},Daa=function(a){if(!Array.isArray(a))for(var b=a.length-1;b>=0;b--)delete a[b];a.length=0},Fa=function(a,b){b=Ca(a,b);var c;(c=b>=0)&&Da(a,b);return c},Da=function(a,b){Array.prototype.splice.call(a,b,1)},Ga=function(a,b){a:{for(var c=a.length,d=typeof a==="string"?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}b>=0&&Da(a,b)},
Ja=function(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},Eaa=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(Ka(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)}},Gaa=function(a,b,c,d){return Array.prototype.splice.apply(a,Faa(arguments,1))},Faa=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Iaa=function(a,b,c){b=b||a;var d=
function(q){return La(q)?"o"+Haa(q):(typeof q).charAt(0)+q};c=c||d;for(var e=d=0,f={};e<a.length;){var h=a[e++],k=c(h);Object.prototype.hasOwnProperty.call(f,k)||(f[k]=!0,b[d++]=h)}b.length=d},Kaa=function(a,b){a.sort(b||Jaa)},Laa=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||Jaa;Kaa(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},Jaa=function(a,b){return a>b?1:a<b?-1:0},Maa=function(){for(var a=[],
b=0;b<5;b+=1)a.push(b);return a},Naa=function(a,b,c){b=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,c,0,b[0])},Paa=function(a){return Oaa[a]||""},Taa=function(a){if(!Qaa)return Raa(a);a=Saa.test(a)?a.replace(Saa,Paa):a;a=atob(a);for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b},Ma=function(a){return Uaa&&a!=null&&a instanceof Uint8Array},Vaa=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},
Waa=function(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b},Xaa=function(){var a=Error();Waa(a,"incident");ea(a)},Na=function(a){a=Error(a);Waa(a,"warning");return a},Zaa=function(a,b){if(a!=null){var c;var d=(c=Yaa)!=null?c:Yaa={};c=d[a]||0;c>=b||(d[a]=c+1,Xaa())}},Oa=function(a,b,c){return typeof Symbol==="function"&&typeof Symbol()==="symbol"?(c===void 0?0:c)&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol():
b},Sa=function(a,b){Qa||Ra in a||$aa(a,aba);a[Ra]|=b},Ta=function(a,b){Qa||Ra in a||$aa(a,aba);a[Ra]=b},bba=function(a){if(4&a)return 512&a?512:1024&a?1024:0},Ua=function(a){Sa(a,34);return a},cba=function(a){Sa(a,8192);return a},dba=function(a){Sa(a,32);return a},Va=function(){return typeof BigInt==="function"},eba=function(a){return a.length==0?Wa():new Xa(a,Ya)},ab=function(a){return a!=null&&a[Za]===$a},db=function(a,b){return b===void 0?a.copyOnWrite!==bb&&!!(2&(a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows[Ra]|
0)):!!(2&b)&&a.copyOnWrite!==bb},eb=function(a,b,c){if(a==null){if(!c)throw Error();}else if(typeof a==="string")a=fba(a);else if(a.constructor!==Xa)if(Ma(a))a=a.length?new Xa(new Uint8Array(a),Ya):Wa();else{if(!b)throw Error();a=void 0}return a},gba=function(a){return!Array.isArray(a)||a.length?!1:(a[Ra]|0)&1?!0:!1},fb=function(a,b){if(typeof b!=="number"||b<0||b>=a.length)throw Error();},hba=function(a,b){if(typeof b!=="number"||b<0||b>a.length)throw Error();},iba=function(a,b,c){var d=b&128?0:
-1,e=a.length,f;if(f=!!e)f=a[e-1],f=f!=null&&typeof f==="object"&&f.constructor===Object;var h=e+(f?-1:0);for(b=b&128?1:0;b<h;b++)c(b-d,a[b]);if(f){a=a[e-1];for(var k in a)!isNaN(k)&&c(+k,a[k])}},hb=function(a){a.isGuard_doNotManuallySetPrettyPlease=!0;return a},kba=function(){var a=jba;return hb(function(b){for(var c in a)if(b===a[c]&&!/^[0-9]+$/.test(c))return!0;return!1})},mba=function(a){return hb(function(b){return lba(b)?b.every(function(c){return a(c)}):!1})},ib=function(a){var b=a;if(nba(b)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(b))throw Error(String(b));
}else if(oba(b)&&!Number.isSafeInteger(b))throw Error(String(b));return pba?BigInt(a):a=qba(a)?a?"1":"0":nba(a)?a.trim()||"0":String(a)},rba=function(a,b){if(a.length>b.length)return!1;if(a.length<b.length||a===b)return!0;for(var c=0;c<a.length;c++){var d=a[c],e=b[c];if(d>e)return!1;if(d<e)return!0}},sba=function(a){var b=a>>>0;jb=b;kb=(a-b)/4294967296>>>0},lb=function(a){if(a<0){sba(-a);var b=l(tba(jb,kb));a=b.next().value;b=b.next().value;jb=a>>>0;kb=b>>>0}else sba(a)},uba=function(a,b){var c=b*
4294967296+(a>>>0);return Number.isSafeInteger(c)?c:ob(a,b)},vba=function(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,a==0&&(b=b+1>>>0));a=uba(a,b);return typeof a==="number"?c?-a:a:c?"-"+a:a},ob=function(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else Va()?c=""+(BigInt(b)<<BigInt(32)|BigInt(a)):(c=(a>>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+c*6777216+b*6710656,c+=b*8147497,b*=2,a>=1E7&&(c+=a/1E7>>>0,a%=1E7),c>=1E7&&(b+=c/1E7>>>0,c%=1E7),c=b+wba(c)+wba(a));return c},wba=
function(a){a=String(a);return"0000000".slice(a.length)+a},xba=function(){var a=jb,b=kb;b&2147483648?Va()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=l(tba(a,b)),a=b.next().value,b=b.next().value,a="-"+ob(a,b)):a=ob(a,b);return a},yba=function(a){if(a.length<16)lb(Number(a));else if(Va())a=BigInt(a),jb=Number(a&BigInt(4294967295))>>>0,kb=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");kb=jb=0;for(var c=a.length,d=b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),kb*=1E6,jb=
jb*1E6+d,jb>=4294967296&&(kb+=Math.trunc(jb/4294967296),kb>>>=0,jb>>>=0);b&&(b=l(tba(jb,kb)),a=b.next().value,b=b.next().value,jb=a,kb=b)}},tba=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]},pb=function(a){return Array.prototype.slice.call(a)},qb=function(a,b){throw Error(b===void 0?"unexpected value "+a+"!":b);},rb=function(a){if(typeof a!=="number")throw Error("I`"+typeof a+"`"+a);return a},sb=function(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)},
tb=function(a){if(typeof a!=="boolean")throw Error("J`"+zba(a)+"`"+a);return a},ub=function(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a},wb=function(a){switch(typeof a){case "bigint":return!0;case "number":return vb(a);case "string":return Aba.test(a);default:return!1}},xb=function(a){if(!vb(a))throw Na("enum");return a|0},Bba=function(a){return a==null?a:xb(a)},zb=function(a){return a==null?a:vb(a)?a|0:void 0},Ab=function(a){if(typeof a!=="number")throw Na("int32");
if(!vb(a))throw Na("int32");return a|0},Bb=function(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return vb(a)?a|0:void 0},Cba=function(){if(!vb(0))throw Na("uint32");return 0},Dba=function(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return vb(a)?a>>>0:void 0},Fb=function(a,b){b=b===void 0?0:b;if(!wb(a))throw Na("int64");var c=typeof a;switch(b){case 512:switch(c){case "string":return Cb(a);case "bigint":return String(Db(64,
a));default:return Eba(a)}case 1024:switch(c){case "string":return Fba(a);case "bigint":return ib(Db(64,a));default:return Gba(a)}case 0:switch(c){case "string":return Cb(a);case "bigint":return ib(Db(64,a));default:return Eb(a)}default:return qb(b,"Unknown format requested type for int64")}},Gb=function(a,b){return a==null?a:Fb(a,b===void 0?0:b)},Hba=function(a){var b=a.length;if(a[0]==="-"?b<20||b===20&&a<="-9223372036854775808":b<19||b===19&&a<="9223372036854775807")return a;yba(a);return xba()},
Iba=function(a){if(a[0]==="-")var b=!1;else b=a.length,b=b<20?!0:b===20&&a<="18446744073709551615";if(b)return a;yba(a);return ob(jb,kb)},Eb=function(a){a=Hb(a);Ib(a)||(lb(a),a=vba(jb,kb));return a},Jba=function(a){a=Hb(a);a>=0&&Ib(a)||(lb(a),a=uba(jb,kb));return a},Eba=function(a){a=Hb(a);Ib(a)?a=String(a):(lb(a),a=xba());return a},Kba=function(a){a=Hb(a);a>=0&&Ib(a)?a=String(a):(lb(a),a=ob(jb,kb));return a},Cb=function(a){var b=Hb(Number(a));if(Ib(b))return String(b);b=a.indexOf(".");b!==-1&&(a=
a.substring(0,b));return Hba(a)},Fba=function(a){var b=Hb(Number(a));if(Ib(b))return ib(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return Va()?ib(Db(64,BigInt(a))):ib(Hba(a))},Gba=function(a){return Ib(a)?ib(Eb(a)):ib(Eba(a))},Lba=function(a){return Ib(a)?ib(Jba(a)):ib(Kba(a))},Mba=function(a){var b=Hb(Number(a));if(Ib(b)&&b>=0)return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return Iba(a)},Nba=function(a){var b=Hb(Number(a));if(Ib(b)&&b>=0)return ib(b);b=a.indexOf(".");b!==-1&&
(a=a.substring(0,b));return Va()?ib(Jb(64,BigInt(a))):ib(Iba(a))},Kb=function(a){if(a==null)return a;if(typeof a==="bigint")return Oba(a)?a=Number(a):(a=Db(64,a),a=Oba(a)?Number(a):String(a)),a;if(wb(a))return typeof a==="number"?Eb(a):Cb(a)},Mb=function(a,b){b=b===void 0?!1:b;var c=typeof a;if(a==null)return a;if(c==="bigint")return String(Db(64,a));if(wb(a))return c==="string"?Cb(a):b?Eba(a):Eb(a)},Ob=function(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return ib(Db(64,a));if(wb(a))return b===
"string"?Fba(a):Gba(a)},Pba=function(a){var b=0;b=b===void 0?0:b;if(!wb(a))throw Na("uint64");var c=typeof a;switch(b){case 512:switch(c){case "string":return Mba(a);case "bigint":return String(Jb(64,a));default:return Kba(a)}case 1024:switch(c){case "string":return Nba(a);case "bigint":return ib(Jb(64,a));default:return Lba(a)}case 0:switch(c){case "string":return Mba(a);case "bigint":return ib(Jb(64,a));default:return Jba(a)}default:return qb(b,"Unknown format requested type for int64")}},Qba=function(a){if(a==
null)return a;var b=typeof a;if(b==="bigint")return String(Db(64,a));if(wb(a)){if(b==="string")return Cb(a);if(b==="number")return Eb(a)}},Rba=function(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(Jb(64,a));if(wb(a)){if(b==="string")return Mba(a);if(b==="number")return Jba(a)}},Pb=function(a){if(typeof a!=="string")throw Error();return a},Sba=function(a){if(a!=null&&typeof a!=="string")throw Error();return a},Qb=function(a){return a==null||typeof a==="string"?a:void 0},Rb=function(a,
b,c,d){if(ab(a))return a;if(!Array.isArray(a))return c?d&2?b[Tba]||(b[Tba]=Uba(b)):new b:void 0;c=a[Ra]|0;d=c|d&32|d&2;d!==c&&Ta(a,d);return new b(a)},Uba=function(a){a=new a;Ua(a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows);return a},Sb=function(a,b,c){if(b)return tb(a);var d;return(d=ub(a))!=null?d:c?!1:void 0},Ub=function(a,b,c){a=b?Fb(a,1024):Ob(a);return a==null?c?Vba:void 0:a},Vb=function(a,b,c){if(b)return Pb(a);var d;return(d=Qb(a))!=null?d:c?"":void 0},Wba=function(a,b,c){a=b?
xb(a):zb(a);return a==null?c?0:void 0:a},Xba=function(a){return a},Yba=function(a,b){if(typeof b==="string")try{b=Taa(b)}catch(c){return!1}return Ma(b)&&Vaa(a,b)},Zba=function(a){switch(a){case "bigint":case "string":case "number":return!0;default:return!1}},aca=function(a,b){if(a[Za]===$a)a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;else if(!Array.isArray(a))return!1;if(b[Za]===$a)b=b.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;else if(!Array.isArray(b))return!1;return $ba(a,
b,void 0,2)},Wb=function(a,b,c){return $ba(a,b,c,0)},$ba=function(a,b,c,d){if(a===b||a==null&&b==null)return!0;if(a instanceof Map)return bca(a,b,c);if(b instanceof Map)return bca(b,a,c);if(a==null||b==null)return!1;if(a instanceof Xa)return cca(a,b);if(b instanceof Xa)return cca(b,a);if(Ma(a))return Yba(a,b);if(Ma(b))return Yba(b,a);var e=typeof a,f=typeof b;if(e!=="object"||f!=="object")return Number.isNaN(a)||Number.isNaN(b)?String(a)===String(b):Zba(e)&&Zba(f)?""+a===""+b:e==="boolean"&&f==="number"||
e==="number"&&f==="boolean"?!a===!b:!1;if(a[Za]===$a||b[Za]===$a)return aca(a,b);if(a.constructor!=b.constructor)return!1;if(a.constructor===Array){f=a[Ra]|0;var h=b[Ra]|0,k=a.length,q=b.length,u=Math.max(k,q);e=(f|h|64)&128?0:-1;if(d===1||(f|h)&1)d=1;else if((f|h)&8192)return dca(a,b);f=k&&a[k-1];h=q&&b[q-1];f!=null&&typeof f==="object"&&f.constructor===Object||(f=null);h!=null&&typeof h==="object"&&h.constructor===Object||(h=null);k=k-e-+!!f;q=q-e-+!!h;for(var A=0;A<u;A++)if(!eca(A-e,a,f,k,b,h,
q,e,c,d))return!1;if(f)for(var D in f){d=a;u=f;A=k;var H=b,O=h,P=q,S=e,aa=c,ia=+D;if(!(!Number.isFinite(ia)||ia<A||ia<P||eca(ia,d,u,A,H,O,P,S,aa,2)))return!1}if(h)for(var la in h)if((D=f&&la in f)||(D=a,d=f,u=k,A=b,H=h,O=q,P=e,S=c,aa=+la,D=!Number.isFinite(aa)||aa<u||aa<O?!0:eca(aa,D,d,u,A,H,O,P,S,2)),!D)return!1;return!0}if(a.constructor===Object)return Wb([a],[b]);throw Error();},eca=function(a,b,c,d,e,f,h,k,q,u){b=fca(a,b,c,d,k);e=fca(a,e,f,h,k);u=u===1;if(e==null&&gba(b)||b==null&&gba(e))return!0;
a=u?q:q==null?void 0:q.getFieldComparisonTypeInfo(a);return $ba(b,e,a,0)},fca=function(a,b,c,d,e){var f;return(f=a<d?b[a+e]:void 0)!=null?f:c==null?void 0:c[a]},gca=function(a){return a},hca=function(a,b,c,d,e,f){a=Rb(a,d,c,f);e&&(a=Xb(a));return a},ica=function(a,b,c){if(a.size!=b.size)return!1;var d=!0;a.forEach(function(e,f){Wb(e,b.get(f),c==null?void 0:c.getFieldComparisonTypeInfo(2))||(d=!1)});return d},jca=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},kca=function(a,b,c){if(b==null)return a.size===0;if(!Array.isArray(b)||a.size>b.length)return!1;b=pb(b);Array.prototype.sort.call(b,jca);for(var d=0,e=void 0,f=b.length-1;f>=0;f--){var h=b[f];if(!h||!Array.isArray(h)||h.length!==2)return!1;var k=h[0];if(k!==e){e=void 0;if(!Wb(a.get(k),h[1],(e=c)==null?void 0:e.getFieldComparisonTypeInfo(2)))return!1;e=k;d++}}return d===a.size},dca=function(a,b){if(!Array.isArray(a)||!Array.isArray(b))return!1;a=pb(a);b=pb(b);Array.prototype.sort.call(a,
jca);Array.prototype.sort.call(b,jca);var c=a.length,d=b.length;if(c===0&&d===0)return!0;for(var e=0,f=0;e<c&&f<d;){var h=void 0,k=a[e];if(!Array.isArray(k))return!1;for(var q=k[0];e<c-1&&Wb((h=a[e+1])[0],q);)e++,k=h;var u=void 0;h=b[f];if(!Array.isArray(h))return!1;for(var A=h[0];f<d-1&&Wb((u=b[f+1])[0],A);)f++,h=u;if(!Wb(q,A))return!1;q=void 0;if(!Wb(k[1],h[1],(q=void 0)==null?void 0:q.getFieldComparisonTypeInfo(2)))return!1;e++;f++}return e>=c&&f>=d},lca=function(a){return[a,this.get(a)]},oca=
function(){return mca||(mca=new Yb(Ua([]),void 0,void 0,void 0,nca))},pca=function(a){var b=Zb($b);return b?a[b]:void 0},qca=function(a,b){a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;var c=Zb($b);c&&c in a&&(a=a[c])&&delete a[b]},tca=function(a,b){var c=c===void 0?!1:c;if(Zb(rca)&&Zb($b)&&void 0===rca){var d=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,e=d[$b];if(!e)return;if(e=e.reviveUnknownFields)try{e(d,b,sca);return}catch(f){ea(f)}}c&&qca(a,b)},vca=function(a,b){var c=
Zb($b),d;Qa&&c&&((d=a[c])==null?void 0:d[b])!=null&&Zaa(uca,3)},xca=function(a,b){b<100||Zaa(wca,1)},ac=function(a,b,c,d){var e=d!==void 0;d=!!d;var f=Zb($b),h;!e&&Qa&&f&&(h=a[f])&&yca(h,xca);f=[];var k=a.length;h=4294967295;var q=!1,u=!!(b&64),A=u?b&128?0:-1:void 0;if(!(b&1)){var D=k&&a[k-1];D!=null&&typeof D==="object"&&D.constructor===Object?(k--,h=k):D=void 0;if(u&&!(b&128)&&!e){q=!0;var H;h=((H=zca)!=null?H:Xba)(h-A,A,a,D,void 0)+A}}b=void 0;for(H=0;H<k;H++){var O=a[H];if(O!=null&&(O=c(O,d))!=
null)if(u&&H>=h){var P=H-A,S=void 0;((S=b)!=null?S:b={})[P]=O}else f[H]=O}if(D)for(var aa in D)k=D[aa],k!=null&&(k=c(k,d))!=null&&(H=+aa,O=void 0,u&&!Number.isNaN(H)&&(O=H+A)<h?f[O]=k:(H=void 0,((H=b)!=null?H:b={})[aa]=k));b&&(q?f.push(b):f[h]=b);e&&Zb($b)&&(a=pca(a))&&a instanceof Aca&&(f[$b]=Bca(a));return f},Cca=function(a){a[0]=cc(a[0]);a[1]=cc(a[1]);return a},cc=function(a){switch(typeof a){case "number":return Number.isFinite(a)?a:""+a;case "bigint":return Oba(a)?Number(a):""+a;case "boolean":return a?
1:0;case "object":if(Array.isArray(a)){var b=a[Ra]|0;return a.length===0&&b&1?void 0:ac(a,b,cc)}if(ab(a))return Dca(a);if(a instanceof Xa)return Eca(a);if(a instanceof Yb)return a=a.size!==0?Fca(a,Cca):void 0,a;return}return a},Ica=function(a,b){if(b){zca=b==null||b===Xba||b[Gca]!==Hca?Xba:b;try{return Dca(a)}finally{zca=void 0}}return Dca(a)},Dca=function(a){a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;return ac(a,a[Ra]|0,cc)},Lca=function(a){switch(typeof a){case "boolean":return Jca||
(Jca=[0,void 0,!0]);case "number":return a>0?void 0:a===0?Kca||(Kca=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}},Nca=function(a,b){return Mca(a,b[0],b[1])},m=function(a,b,c){return Mca(a,b,c,2048)},Mca=function(a,b,c,d){d=d===void 0?0:d;if(a==null){var e=32;c?(a=[c],e|=128):a=[];b&&(e=e&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("L");e=a[Ra]|0;if(Oca&&1&e)throw Error("M");2048&e&&!(2&e)&&Pca();if(e&256)throw Error("N");if(e&64)return(e|d)!==e&&Ta(a,
e|d),a;if(c&&(e|=128,c!==a[0]))throw Error("O");a:{c=a;e|=64;var f=c.length;if(f){var h=f-1,k=c[h];if(k!=null&&typeof k==="object"&&k.constructor===Object){b=e&128?0:-1;h-=b;if(h>=1024)throw Error("Q");for(var q in k)f=+q,f<h&&(c[f+b]=k[q],delete k[q]);e=e&-16760833|(h&1023)<<14;break a}}if(b){q=Math.max(b,f-(e&128?0:-1));if(q>1024)throw Error("R");e=e&-16760833|(q&1023)<<14}}}Ta(a,e|64|d);return a},Pca=function(){if(Oca)throw Error("P");Zaa(Qca,5)},Tca=function(a,b){if(typeof a!=="object")return a;
if(Array.isArray(a)){var c=a[Ra]|0;return a.length===0&&c&1?void 0:Rca(a,c,b)}if(ab(a))return Sca(a);if(a instanceof Yb){b=a.arrayState;if(b&2)return a;if(!a.size)return;c=Ua(Fca(a));if(a.valueCtor)for(a=0;a<c.length;a++){var d=c[a],e=d[1];e==null||typeof e!=="object"?e=void 0:ab(e)?e=Sca(e):Array.isArray(e)?e=Rca(e,e[Ra]|0,!!(b&32)):e=void 0;d[1]=e}return c}if(a instanceof Xa)return a},Rca=function(a,b,c){if(b&2)return a;!c||4096&b||16&b?a=ec(a,b,!1,c&&!(b&16)):(Sa(a,34),b&4&&Object.freeze(a));return a},
Uca=function(a,b,c){a=new a.constructor(b);c&&(a.copyOnWrite=bb);a.noLegacyNull=bb;return a},Sca=function(a){var b=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,c=b[Ra]|0;return db(a,c)?a:Vca(a,b,c)?Uca(a,b):ec(b,c)},ec=function(a,b,c,d){d!=null||(d=!!(34&b));a=ac(a,b,Tca,d);d=32;c&&(d|=2);b=b&16769217|d;Ta(a,b);return a},Xb=function(a){var b=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,c=b[Ra]|0;return db(a,c)?Vca(a,b,c)?Uca(a,b,!0):new a.constructor(ec(b,c,!1)):a},fc=function(a){if(a.copyOnWrite!==
bb)return!1;var b=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;b=ec(b,b[Ra]|0);Sa(b,2048);a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=b;a.copyOnWrite=void 0;a.noLegacyNull=void 0;return!0},hc=function(a){if(!fc(a)&&db(a,a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows[Ra]|0))throw Error();},ic=function(a,b){b===void 0&&(b=a[Ra]|0);b&32&&!(b&4096)&&Ta(a,b|4096)},Vca=function(a,b,c){return c&2?!0:c&32&&!(c&4096)?(Ta(b,c|2),a.copyOnWrite=bb,!0):!1},jc=function(a,b,c,
d,e){var f=c+(e?0:-1),h=a.length-1;if(h>=1+(e?0:-1)&&f>=h){var k=a[h];if(k!=null&&typeof k==="object"&&k.constructor===Object)return k[c]=d,b}if(f<=h)return a[f]=d,b;if(d!==void 0){var q;h=((q=b)!=null?q:b=a[Ra]|0)>>14&1023||536870912;c>=h?d!=null&&(f={},a[h+(e?0:-1)]=(f[c]=d,f)):a[f]=d}return b},nc=function(a,b,c,d,e,f,h){var k=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,q=k[Ra]|0;d=db(a,q)?1:d;e=!!e||d===3;d===2&&fc(a)&&(k=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,q=
k[Ra]|0);var u=Wca(k,b,h),A=u===lc?7:u[Ra]|0,D=Xca(A,q);var H=D;4&H?f==null?a=!1:(!e&&f===0&&(512&H||1024&H)&&(a.constructor[Yca]=(a.constructor[Yca]|0)+1)<5&&Xaa(),a=f===0?!1:!(f&H)):a=!0;if(a){4&D&&(u=pb(u),A=0,D=mc(D,q),q=jc(k,q,b,u,h));for(var O=H=0;H<u.length;H++){var P=c(u[H]);P!=null&&(u[O++]=P)}O<H&&(u.length=O);c=(D|4)&-513;D=c&=-1025;f&&(D|=f);D&=-4097}D!==A&&(Ta(u,D),2&D&&Object.freeze(u));return u=Zca(u,D,k,q,b,h,d,a,e)},Zca=function(a,b,c,d,e,f,h,k,q){var u=b;h===1||(h!==4?0:2&b||!(16&
b)&&32&d)?oc(b)||(b|=!a.length||k&&!(4096&b)||32&d&&!(4096&b||16&b)?2:256,b!==u&&Ta(a,b),Object.freeze(a)):(h===2&&oc(b)&&(a=pb(a),u=0,b=mc(b,d),d=jc(c,d,e,a,f)),oc(b)||(q||(b|=16),b!==u&&Ta(a,b)));2&b||!(4096&b||16&b)||ic(c,d);return a},Wca=function(a,b,c){a=pc(a,b,c);return Array.isArray(a)?a:lc},Xca=function(a,b){2&b&&(a|=2);return a|1},oc=function(a){return!!(2&a)&&!!(4&a)||!!(256&a)},qc=function(a){return eb(a,!0,!0)},$ca=function(a,b,c,d,e,f){var h=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,
k=h[Ra]|0;var q=db(a,k);a:{!q&&fc(a)&&(h=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,k=h[Ra]|0);var u=pc(h,b,f);a=!1;if(u==null){if(q){b=oca();break a}u=[]}else if(u.constructor===Yb)if(u.arrayState&2&&!q)u=Fca(u);else{b=u;break a}else Array.isArray(u)?a=!!((u[Ra]|0)&2):u=[];if(q){if(!u.length){b=oca();break a}a||(a=!0,Ua(u))}else if(a){a=!1;cba(u);u=pb(u);for(var A=0;A<u.length;A++){var D=u[A]=pb(u[A]);Array.isArray(D[1])&&(D[1]=Ua(D[1]))}u=cba(u)}!a&&k&32&&dba(u);d=new Yb(u,c,d,e);
k=jc(h,k,b,d,f);a||ic(h,k);b=d}!q&&c&&(b.callToMutableOnAccess=!0);return b},rc=function(a,b,c,d){return $ca(a,b,void 0,Vb,c,d)},sc=function(a,b,c,d,e){return $ca(a,b,c,d,void 0,e)},tc=function(a,b,c,d,e){hc(a);var f=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,h=f[Ra]|0;if(c==null)return jc(f,h,b,void 0,e),a;var k=c===lc?7:c[Ra]|0,q=k,u=oc(k),A=u||Object.isFrozen(c);u||(k=0);A||(c=pb(c),q=0,k=mc(k,h),A=!1);k|=5;var D;u=(D=bba(k))!=null?D:0;for(D=0;D<c.length;D++){var H=c[D],O=d(H,u);
Object.is(H,O)||(A&&(c=pb(c),q=0,k=mc(k,h),A=!1),c[D]=O)}k!==q&&(A&&(c=pb(c),k=mc(k,h)),Ta(c,k));jc(f,h,b,c,e);return a},vc=function(a,b,c,d,e){hc(a);var f=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;jc(f,f[Ra]|0,b,(d==="0"?Number(c)===0:c===d)?void 0:c,e);return a},xc=function(a,b,c,d,e,f){return wc(a,b,c,d,void 0,e,f,void 0,!0)},ada=function(a){if(Qa){var b;return(b=a[zc])!=null?b:a[zc]=new Map}if(zc in a)return a[zc];b=new Map;Object.defineProperty(a,zc,{value:b});return b},cda=function(a,
b,c,d){var e=ada(a),f=bda(e,a,b,c);f!==d&&(f&&(b=jc(a,b,f)),e.set(c,d));return b},bda=function(a,b,c,d,e){var f=a.get(d);if(f!=null)return f;for(var h=f=0;h<d.length;h++){var k=d[h];pc(b,k,e)!=null&&(f!==0&&(c=jc(b,c,f,void 0,e)),f=k)}a.set(d,f);return f},Ac=function(a,b,c,d,e){var f=!1;d=pc(a,d,e,function(h){var k=Rb(h,c,!1,b);f=k!==h&&k!=null;return k});if(d!=null)return f&&!db(d)&&ic(a,b),d},dda=function(a,b,c,d,e,f,h,k,q){var u=db(a,c);f=u?1:f;k=!!k||f===3;u=q&&!u;(f===2||u)&&fc(a)&&(b=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,
c=b[Ra]|0);a=Wca(b,e,h);var A=a===lc?7:a[Ra]|0,D=Xca(A,c);if(q=!(4&D)){var H=a,O=c,P=!!(2&D);P&&(O|=2);for(var S=!P,aa=!0,ia=0,la=0;ia<H.length;ia++){var ya=Rb(H[ia],d,!1,O);if(ya instanceof d){if(!P){var Ia=db(ya);S&&(S=!Ia);aa&&(aa=Ia)}H[la++]=ya}}la<ia&&(H.length=la);D|=4;D=aa?D&-4097:D|4096;D=S?D|8:D&-9}D!==A&&(Ta(a,D),2&D&&Object.freeze(a));if(u&&!(8&D||!a.length&&(f===1||(f!==4?0:2&D||!(16&D)&&32&c)))){oc(D)&&(a=pb(a),D=mc(D,c),c=jc(b,c,e,a,h));d=a;u=D;for(A=0;A<d.length;A++)H=d[A],D=Xb(H),
H!==D&&(d[A]=D);u|=8;D=u=d.length?u|4096:u&-4097;Ta(a,D)}return a=Zca(a,D,b,c,e,h,f,q,k)},eda=function(a){a==null&&(a=void 0);return a},mc=function(a,b){return a=(2&b?a|2:a&-3)&-273},wc=function(a,b,c,d,e,f,h,k,q,u){hc(a);b=nc(a,b,f,2,!0,void 0,h);var A;f=(A=bba(b===lc?7:b[Ra]|0))!=null?A:0;if(q)if(Array.isArray(d))for(e=d.length,k=0;k<e;k++)b.push(c(d[k],f));else for(d=l(d),e=d.next();!e.done;e=d.next())b.push(c(e.value,f));else k&&u?(e!=null||(e=b.length-1),fb(b,e),b.splice(e,k)):(k&&hba(b,e),e!=
void 0?b.splice(e,k,c(d,f)):b.push(c(d,f)));return a},Bc=function(a,b,c,d,e,f,h,k){hc(a);var q=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;a=dda(a,q,q[Ra]|0,c,b,2,d,!0);if(h&&k)f!=null||(f=a.length-1),fb(a,f),a.splice(f,h),a.length||(a[Ra]&=-4097);else return h?hba(a,f):e=e!=null?e:new c,f!=void 0?a.splice(f,h,e):a.push(e),f=c=a===lc?7:a[Ra]|0,(h=db(e))?(c&=-9,a.length===1&&(c&=-4097)):c|=4096,c!==f&&Ta(a,c),h||ic(q),e},fda=function(a){return Mb(a,!0)},gda=function(a){return eb(a,!1,
!1)},hda=function(a,b){if(typeof a==="string")return new Dc(Taa(a),b);if(Array.isArray(a))return new Dc(new Uint8Array(a),b);if(a.constructor===Uint8Array)return new Dc(a,!1);if(a.constructor===ArrayBuffer)return a=new Uint8Array(a),new Dc(a,!1);if(a.constructor===Xa)return b=Fc(a)||new Uint8Array(0),new Dc(b,!0,a);if(a instanceof Uint8Array)return a=a.constructor===Uint8Array?a:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),new Dc(a,!1);throw Error();},Gc=function(){var a=function(){throw Error();
};Object.setPrototypeOf(a,a.prototype);return a},ida=function(a,b){if(b==null)return new a;if(!Array.isArray(b))throw Error();if(Object.isFrozen(b)||Object.isSealed(b)||!Object.isExtensible(b))throw Error();return new a(dba(b))},lda=function(a){var b=jda;var c=c===void 0?kda:c;return new Hc(a,b,c)},jda=function(a,b,c,d,e){b=b instanceof n?b.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows:Array.isArray(b)?Nca(b,d):void 0;if(b!=null){Ic(a,c,2);c=a.encoder_.end();Jc(a,c);c.push(a.totalLength_);
e(b,a);e=c.pop();for(e=a.totalLength_+a.encoder_.length()-e;e>127;)c.push(e&127|128),e>>>=7,a.totalLength_++;c.push(e);a.totalLength_++}},pda=function(a,b,c,d){var e=d[a];if(e)return e;e={};e.binaryFields=d;e.messageMetadata=Lca(d[0]);var f=d[1],h=1;f&&f.constructor===Object&&(e.extensions=f,f=d[++h],typeof f==="function"&&(e.isMessageSet=!0,mda!=null||(mda=f),nda!=null||(nda=d[h+1]),f=d[h+=2]));for(var k={};f&&Array.isArray(f)&&f.length&&typeof f[0]==="number"&&f[0]>0;){for(var q=0;q<f.length;q++)k[f[q]]=
f;f=d[++h]}for(q=1;f!==void 0;){typeof f==="number"&&(q+=f,f=d[++h]);var u=void 0;if(f instanceof Hc)var A=f;else A=oda,h--;f=void 0;if((f=A)==null?0:f.$$isMsg){f=d[++h];u=d;var D=h;typeof f==="function"&&(f=f(),u[D]=f);u=f}f=d[++h];D=q+1;typeof f==="number"&&f<0&&(D-=f,f=d[++h]);for(;q<D;q++){var H=k[q];u?c(e,q,A,u,H):b(e,q,A,H)}}return d[a]=e},rda=function(a){return Array.isArray(a)?a[0]instanceof Hc?a:[qda,a]:[a,void 0]},sda=function(a,b,c,d){var e=c.$$binaryReaderFn;a[b]=d?function(f,h,k){return e(f,
h,k,d)}:e},uda=function(a,b,c,d,e){var f=c.$$binaryReaderFn,h,k;a[b]=function(q,u,A){return f(q,u,A,k||(k=pda(tda,sda,uda,d).messageMetadata),h||(h=vda(d)),e)}},vda=function(a){var b=a[wda];if(b!=null)return b;var c=pda(tda,sda,uda,a);b=c.isMessageSet?function(d,e){return mda(d,e,c)}:function(d,e){for(;xda(e)&&e.nextWireType_!=4;){var f=e.nextField_,h=c[f];if(h==null){var k=c.extensions;k&&(k=k[f])&&(k=yda(k),k!=null&&(h=c[f]=k))}if(h==null||!h(e,d,f)){k=e;h=k.fieldCursor_;zda(k);if(k.discardUnknownFields)var q=
void 0;else{var u=k.decoder_.getCursor()-h;k.decoder_.cursor_=h;q=k.decoder_.readByteString(u)}u=k=h=void 0;var A=d;q&&((h=(k=(u=A[$b])!=null?u:A[$b]=new Aca)[f])!=null?h:k[f]=[]).push(q)}}if(d=pca(d))d.reviveUnknownFields=c.binaryFields[Ada];return!0};a[wda]=b;a[Ada]=Bda.bind(a);return b},Bda=function(a,b,c,d){var e=this[tda],f=this[wda],h=Nca(void 0,e.messageMetadata),k=pca(a);if(k){var q=!1,u=e.extensions;if(u){e=function(P,S,aa){if(aa.length!==0)if(u[S])for(P=l(aa),S=P.next();!S.done;S=P.next()){S=
Cda(S.value);try{q=!0,f(h,S)}finally{S.free()}}else d==null||d(a,S,aa)};if(b==null)yca(k,e);else if(k!=null){var A=k[b];A&&e(k,b,A)}if(q){var D=a[Ra]|0;if(D&2&&D&2048&&(c==null||!c.reviveIntoImmutable))throw Error();var H=D&128?Kc:void 0,O=function(P,S){if(pc(a,P,H)!=null)switch(c==null?void 0:c.resolutionBehavior){case 1:return;default:throw Error();}S!=null&&(D=jc(a,D,P,S,H));delete k[P]};b==null?iba(h,h[Ra]|0,function(P,S){O(P,S)}):O(b,pc(h,b,H))}}}},yda=function(a){a=rda(a);var b=a[0].$$binaryReaderFn;
if(a=a[1]){var c=vda(a),d=pda(tda,sda,uda,a).messageMetadata;return function(e,f,h){return b(e,f,h,d,c)}}return b},Lc=function(a){return pda(Dda,Eda,Fda,a)},Eda=function(a,b,c){a[b]=c.$$binaryWriterFn},Fda=function(a,b,c,d){var e,f,h=c.$$binaryWriterFn;a[b]=function(k,q,u){return h(k,q,u,f||(f=Lc(d).messageMetadata),e||(e=Gda(d)))}},Gda=function(a){var b=a[Hda];if(!b){var c=Lc(a);b=function(d,e){return Ida(d,e,c)};a[Hda]=b}return b},Ida=function(a,b,c){iba(a,a[Ra]|0,function(d,e){if(e!=null){var f=
Jda(c,d);f?f(b,e,d):d<500||Zaa(Kda,3)}});(a=pca(a))&&yca(a,function(d,e,f){Jc(b,b.encoder_.end());for(d=0;d<f.length;d++)Jc(b,Fc(f[d])||new Uint8Array(0))})},Jda=function(a,b){var c=a[b];if(c)return c;if(c=a.extensions)if(c=c[b]){c=rda(c);var d=c[0].$$binaryWriterFn;if(c=c[1]){var e=Gda(c),f=Lc(c).messageMetadata;c=a.isMessageSet?nda(f,e):function(h,k,q){return d(h,k,q,f,e)}}else c=d;return a[b]=c}},Mc=function(a,b,c){return new Hc(a,b,c)},Nc=function(a,b,c){jc(a,a[Ra]|0,b,c,(a[Ra]|0)&128?Kc:void 0)},
Lda=function(a){a!=null&&(a=a.value_||"",a=typeof a==="string"?a:new Uint8Array(a));return a},Pc=function(a,b,c){if(Oc(a,1).split("/").pop()!=c)return null;c=typeof b==="function"?b:b.constructor;var d=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,e=d[Ra]|0;b=pc(d,2);fc(a)&&(d=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,e=d[Ra]|0);a=d;if(b!=null&&!Array.isArray(b)&&!ab(b))throw Error("W`"+zba(b));d=Rb(b,c,!0,e);if(!(d instanceof c))throw Error("X`"+d.constructor.displayName+
"`"+c.displayName);(c=!!(2&e))||(d=Xb(d));b!==d&&(jc(a,e,2,d),c||ic(a));return d},Mda=function(a,b){return function(c,d){var e={treatNewDataAsImmutable:!0};d&&Object.assign(e,d);c=Cda(c,void 0,void 0,e);try{var f=new a,h=f.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;vda(b)(h,c);var k=f}finally{c.free()}return k}},Nda=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("S`"+zba(b)+"`"+b);Ua(b);return new a(b)}},Qc=function(a){return function(b){return Oda(a,b)}},
Rc=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Sc=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Pda=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c},Qda=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Rda=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Sda=function(a,b){return a!==null&&b in a},Tda=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c},Uda=function(a,b){return(b=
Tda(a,b))&&a[b]},Tc=function(a){for(var b in a)return!1;return!0},Vda=function(a){for(var b in a)delete a[b]},Uc=function(a,b){b in a&&delete a[b]},Vc=function(a,b){return a!==null&&b in a?a[b]:void 0},Wc=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Xda=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<Wda.length;f++)c=Wda[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},Zda=function(){var a=null;if(!Yda)return a;try{var b=
function(c){return c};a=Yda.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a},aea=function(){$da===void 0&&($da=Zda());return $da},Yc=function(a){var b=aea();a=b?b.createScriptURL(a):a;return new Xc(a)},Zc=function(a){if(a instanceof Xc)return a.privateDoNotAccessOrElseWrappedResourceUrl;throw Error("$");},bea=function(a){return a.toString().indexOf("`")===-1},ad=function(a){return a instanceof $c},bd=function(a){if(ad(a))return a.privateDoNotAccessOrElseWrappedUrl;
throw Error("$");},cd=function(a){return new cea(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})},dd=function(a){var b=b===void 0?dea:b;a:if(b=b===void 0?dea:b,!ad(a)){for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof cea&&d.isValid(a)){a=new $c(a);break a}}a=void 0}return a||eea},gea=function(a){if(fea.test(a))return a},ed=function(a){return a instanceof $c?bd(a):gea(a)},hea=function(a,b){b=ed(b);b!==void 0&&(a.href=b)},gd=function(a){var b=aea();a=b?b.createHTML(a):a;return new fd(a)},
hd=function(a){return a instanceof fd},id=function(a){if(hd(a))return a.privateDoNotAccessOrElseWrappedHtml;throw Error("$");},iea=function(a,b){a.src=Zc(b).toString()},jd=function(a,b,c,d){b=ed(b);return b!==void 0?a.open(b,c,d):null},jea=function(a){a=a===void 0?document:a;var b,c;a=(c=(b=a).querySelector)==null?void 0:c.call(b,"script[nonce]");return a==null?"":a.nonce||a.getAttribute("nonce")||""},kd=function(a,b){a.src=Zc(b);(b=jea(a.ownerDocument))&&a.setAttribute("nonce",b)},kea=function(a,
b){if(a.nodeType===1&&/^(script|style)$/i.test(a.tagName))throw Error("$");a.innerHTML=id(b)},lea=function(a){return gd(a)},ld=function(a){return{fieldType:3,fieldName:a}},md=function(a,b){if(hd(a))return a;a=String(a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;");if(b==null?0:b.preserveSpaces)a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;");if(b==null?0:b.preserveNewlines)a=a.replace(/(\r\n|\n|\r)/g,"<br>");if(b==null?0:b.preserveTabs)a=a.replace(/(\t+)/g,
'<span style="white-space:pre">$1</span>');return gd(a)},pd=function(a){return od(a)},od=function(a){var b=md("");return gd(a.map(function(c){return id(md(c))}).join(id(b).toString()))},oea=function(a){if(!mea.test(a))throw Error("$");if(nea.indexOf(a.toUpperCase())!==-1)throw Error("$");},qd=function(a,b,c){oea(a);var d="<"+a;b&&(d+=pea(b));Array.isArray(c)||(c=c===void 0?[]:[c]);qea.indexOf(a.toUpperCase())!==-1?d+=">":(b=pd(c.map(function(e){return hd(e)?e:md(String(e))})),d+=">"+b.toString()+
"</"+a+">");return gd(d)},pea=function(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],f=a[e];if(!mea.test(e))throw Error("$");if(f!==void 0&&f!==null){if(/^on./i.test(e))throw Error("$");rea.indexOf(e.toLowerCase())!==-1&&(f=ad(f)?f.toString():gea(String(f))||"about:invalid#zClosurez");f=e+'="'+md(String(f))+'"';b+=" "+f}}return b},sd=function(a){var b=rd.apply(1,arguments);if(b.length===0)return Yc(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return Yc(c)},
sea=function(a,b,c,d){function e(h,k){h!=null&&(Array.isArray(h)?h.forEach(function(q){return e(q,k)}):(b+=f+encodeURIComponent(k)+"="+encodeURIComponent(h),f="&"))}var f=b.length?"&":"?";d.constructor===Object&&(d=Object.entries(d));Array.isArray(d)?d.forEach(function(h){return e(h[1],h[0])}):d.forEach(e);return Yc(a+b+c)},wea=function(){for(var a;a=tea.remove();){try{a.fn.call(a.scope)}catch(b){ea(b)}uea.put(a)}vea=!1},xea=function(a){var b=a,c;return function(){if(b){var d=b;b=void 0;c=d.apply(this,
arguments)}return c}},td=function(a){switch(a){case "P0":case "P1":case "P2":case "P3":case "P4":return a;default:return null}},yea=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":case "PROGRAM":return a;default:return null}},zea=function(a){switch(a){case "S0":case "S1":case "S2":case "S3":case "S4":return a;
default:return null}},Aea=function(a,b){return a.size!==b.size?!1:[].concat(p(a)).every(function(c){return b.has(c)})},Bea=function(a){var b=new Set;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=l(c.value);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b},ud=function(a,b){if(!Aea(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}}},Cea=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)}))},Dea=function(a,b){return a.size>=b.size&&[].concat(p(b)).every(function(c){return a.has(c)})},vd=function(a,b){if(a===b)return!0;if(a==null||b==null)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(!vd(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?Aea(a,b):!1;if(hd(a)||hd(b))return hd(a)&&hd(b)?a===b||a.toString()===b.toString():!1;if(a instanceof n||b instanceof n)return a instanceof n&&b instanceof n?a===b||a==null&&b==null||!(!a||!b)&&a instanceof b.constructor&&aca(a,b):!1;if(typeof a==="object"){if(typeof b!=="object")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(!Eea.call(b,f)||!vd(a[f],b[f]))return!1}return!0}return!1},
Fea=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=!1,e=l(b),f=e.next();!f.done;f=e.next())if(vd(c,f.value)){d=!0;break}d||b.push(c)}return b},Gea=function(a,b){for(var c=a.length-1;c>=0;c--)vd(a[c],b)&&a.splice(c,1)},Hea=function(a,b,c){c=c===void 0?Infinity:c;if(a===b)return!0;if((a==null||b==null)&&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]&&(typeof a[f]!==
"object"||typeof b[f]!=="object"))return!1}return!0},Jea=function(a){return Object.assign.apply(Object,[{}].concat(p(Iea.map(function(b){var c={};return c[b]=a[b],c}))))},wd=function(a){if(a!==null&&a!==void 0&&!["boolean","function","number","string"].includes(typeof a))if(Array.isArray(a)){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())b.push(wd(c.value));a=b}else if(a instanceof Date)a=new Date(a.getTime());else if(a instanceof Map){b=new Map;a=l(a);for(c=a.next();!c.done;c=a.next()){var d=
l(c.value);c=d.next().value;d=d.next().value;b.set(wd(c),wd(d))}a=b}else if(a instanceof Set){b=new Set;a=l(a);for(c=a.next();!c.done;c=a.next())b.add(wd(c.value));a=b}else if(!hd(a))if(a instanceof n)a=a.clone();else{b={};c=l(Object.entries(a));for(d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b[d]=wd(e)}Object.setPrototypeOf(b,Object.getPrototypeOf(a));a=b}return a},Kea=function(a){return typeof a==="number"},xd=function(a){return typeof a==="string"},yd=function(a){return Array.isArray(a)&&
a.every(xd)},Lea=function(a){return Array.isArray(a)&&a.every(Kea)},Mea=function(a){if(a==null)return!1;a=String(a).trim();if(a.length<=2)return!1;var b=Number(a);return isNaN(b)?!1:String(b).length===a.length},zd=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},Cd=function(a){if(a){if(Kea(a)){var b=new Date(a);b.getFullYear()>47E3&&(b=new Date(a/1E3));return new Ad(b)}b=a.split("/");if(b.length===3)return a=Bd(b[2]),a<50?a+=2E3:a<100&&(a+=1900),new Ad(a,
Bd(b[0])-1,Bd(b[1]));if(b.length===1)return Cd(Number(a))}return new Ad},Nea=function(a){return a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"")},Oea=function(a){return!(!a||!a.startsWith("text/")&&!a.startsWith("image/")&&a!=="application/pdf")},Pea=function(a,b){return a.map(function(c){return c[b]})},Qea=function(a,b){return a.filter(function(c){return!b.has(c)})},Rea=function(a,b){for(var c=l(a),d=c.next();!d.done;d=c.next())if(!b.has(d.value))return!1;b=l(b);for(c=b.next();!c.done;c=b.next())if(!a.has(c.value))return!1;
return!0},Dd=function(a,b){return Qea(a,new Set(b))},Sea=function(a,b){var c=/[,;]/;(b===void 0||b)&&(c=/[\s,;]/);return a.split(c).map(na).filter(function(d){return!!d})},Tea=function(a,b){a=new URL(a);return a.host+a.pathname+b},Uea=function(a){return a.user!==void 0},Vea=function(a){switch(a){case "public_non_google":return"Public (non-google.com)";case "googlers_unrestricted":return"Full-time Googlers";default:return Fd(a.replace(/_/g," ").toLowerCase())}},Wea=function(a){if(!a)return!1;a=a.userGaiaStatus;
return!a||a==="ACTIVE"||a==="UNSPECIFIED"},Hd=function(a){return a?a.map(Gd):[]},Id=function(a){a=(a!=null?a:[]).map(function(b){return{sortKey:Gd(b),user:b}});a.sort(function(b,c){return b.sortKey.localeCompare(c.sortKey)});return a.map(function(b){return b.user})},Gd=function(a){return a?a.userGaiaStatus==="DELETED"?"[Deleted User]":a.userGaiaStatus==="UNAVAILABLE"?"[Unavailable User]":Wea(a)?Jd(a)||"[No Data]":"[No Data]":""},Jd=function(a){if(a)return a.emailAddress||a.obfuscatedEmailAddress||
""},Kd=function(a){return a?{emailAddress:a.trim(),userGaiaStatus:"ACTIVE"}:null},Xea=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())b.push(Kd(c.value));return b},Ld=function(a){switch(a){case "BUG":return"Bug";case "FEATURE_REQUEST":return"Feature Request";case "CUSTOMER_ISSUE":return"Customer Issue";case "INTERNAL_CLEANUP":return"Internal Cleanup";case "PROCESS":return"Process";case "VULNERABILITY":return"Vulnerability";case "PRIVACY_ISSUE":return"Privacy Issue";case "PROJECT":return"Project";
case "FEATURE":return"Feature";case "MILESTONE":return"Milestone";case "EPIC":return"Epic";case "STORY":return"Story";case "TASK":return"Task";case "PROGRAM":return"Program";case "TYPE_UNSPECIFIED":return"";default:return""}},Od=function(a,b,c,d){var e;return{status:a,displayValue:(e=Nd.get(a))!=null?e:"",open:b,assigneeRequirement:c,sortOrder:d}},ifa=function(){return[Yea,Zea,$ea,afa,bfa,cfa,dfa,efa,ffa,gfa,hfa]},jfa=function(a){var b=a.getId(),c=Pd(a,3,void 0,Kc);var d=Qd(a,2,Rd(),Kc);a=Sd(a,4,
Rd(),Kc);return Td({id:b,std_offset:c,names:d,transitions:a||[]})},Yd=function(a){var b=a.emailAddress,c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new Ud;b&&Vd(e,1,b);c&&Vd(e,2,c);(d==null?0:d.length)&&Wd(e,4,d);if(a)switch(a){case "UNSPECIFIED":Xd(e,3,0);break;case "ACTIVE":Xd(e,3,1);break;case "DELETED":Xd(e,3,2);break;case "UNAVAILABLE":Xd(e,3,3);break;default:qb(a)}return e},ae=function(a){var b={},c=a.getEmailAddress();c&&(b.emailAddress=c);if(c=Oc(a,2))b.obfuscatedEmailAddress=
c;c=Zd(a,3);switch(c){case 0:break;case 1:b.userGaiaStatus="ACTIVE";break;case 2:b.userGaiaStatus="DELETED";break;case 3:b.userGaiaStatus="UNAVAILABLE";break;default:throw Error("ga`"+c);}a=Qd(a,4,Rd($d));if(a==null?0:a.length)b.aliases=a;return b},be=function(a){if(a!=null&&(a=String(a),a.trim()!==""))return a=Number(a),isNaN(a)?void 0:a},ce=function(a){if(a!=null)return String(a)},de=function(a){if(a!=null&&a!=="0"&&(typeof a!=="number"||Number.isInteger(a)&&!(a<=0)))return String(a)},ee=function(a){return a==
null?void 0:a},kfa=function(){return function(a){return a==null?"<none>":a}},fe=function(a){return a!=null},lfa=function(a){if(a!=null)return a/1E3},nfa=function(a){var b=a.getTrackerId_asString(),c=a.getName(),d=a.getComponentId_asString(),e=ge(a,4);var f=r(a,he,6);f=f!=null?{logoUrl:f.getLogoUrl(),cocUrl:Oc(f,3),theme:mfa[f.getTheme()]}:void 0;return{trackerId:b,name:c,componentId:d,associatedTrackerIds:e,branding:f!=null?f:null,internalBaseUrl:a.getInternalBaseUrl()||void 0,externalBaseUrl:a.getExternalBaseUrl()||
void 0,collaboratorGroups:ie(a,Ud,10,Rd()).length>0?ie(a,Ud,10,Rd()).map(ae):void 0}},ofa=function(a){return nfa(a.getIt())},pfa=function(a){return a.getIt().getTrackersList().map(nfa)},qfa=function(a){return{trackers:a.getIt().getTrackersList().map(nfa),nextPageToken:a.getIt().getNextPageToken(),totalSize:a.getIt().getTotalSize()}},je=function(a){if(a==null)return"UNSPECIFIED_FORMATTING_MODE";switch(rfa[a]){case "MARKDOWN_FORMATTING_MODE":return"MARKDOWN";case "PLAIN_FORMATTING_MODE":return"PLAIN";
case "LITERAL_FORMATTING_MODE":return"LITERAL";default:return"UNSPECIFIED_FORMATTING_MODE"}},sfa=function(a){if(a==null)return"COMMENT_FORMATTING_MODE_UNSPECIFIED";switch(ke[a]){case "MARKDOWN":return"MARKDOWN_FORMATTING_MODE";case "PLAIN":return"PLAIN_FORMATTING_MODE";case "LITERAL":return"LITERAL_FORMATTING_MODE";default:return"COMMENT_FORMATTING_MODE_UNSPECIFIED"}},le=function(a){return console==null?!1:typeof console[a]==="function"},me=function(){le("debug")&&console.debug.apply(console,rd.apply(0,
arguments))},ne=function(){le("info")&&console.info.apply(console,rd.apply(0,arguments))},tfa=function(){le("log")&&console.log.apply(console,rd.apply(0,arguments))},oe=function(){le("warn")&&console.warn.apply(console,rd.apply(0,arguments))},ufa=function(){le("error")&&console.error.apply(console,rd.apply(0,arguments))},qe=function(a){if(a!=null)return pe(a)},pe=function(a){return Oba(a)?Number(a):String(a)},vfa=function(a){if(a!=null){var b=a.getYear();if(b==null)oe("No year. dateToJs");else{var c=
a.getDay();if(c==null)oe("No day. dateToJs");else if(a=a.getMonth(),a==null)oe("No month. dateToJs");else return{year:b,day:c,month:a}}}},wfa=function(a){var b=new re;se(b,3,a.day);b.setMonth(a.month);b.setYear(a.year);return b},te=function(a){if(a!=null){var b=pe(a.getSeconds());a=a.getNanos();return{seconds:b,nanos:a}}},ve=function(a){var b=new ue;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},xfa=function(a){var b=new we;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},yfa=function(a){if(a!=
null){var b=pe(a.getSeconds());a=a.getNanos();return{seconds:b,nanos:a}}},zfa=function(a){if(a!=null)return Number(a.toDate())},xe=function(a){var b=a*1E3;a=0;b=b===void 0?0:b;if(b<=-1E9||b>=1E9)a+=Math.trunc(b/1E9),b%=1E9;b<0&&(b+=1E9,--a);return ve({seconds:a,nanos:b})},Afa=function(a){return te(xe(a*1E3))},ye=function(a){if(!a)return 0;a=pe(a.getSeconds())*1E9+a.getNanos();return Math.round(a/1E3)},Bfa=function(a){return a?a==="ASCENDING"?"asc":"desc":""},ze=function(a,b,c){return function(d,e){e=
e===void 0?c:e;return Cfa(d,a,b,e)}},Cfa=function(a,b,c,d){return d?[].concat(p(a)).sort(function(e,f){var h=d==="ASCENDING"?1:-1;return c(b(e),b(f))*h}):[].concat(p(a))},Ae=function(a,b){return a==null||b==null?a==null&&b==null?0:a==null?1:b==null?-1:0:isNaN(a)&&isNaN(b)?0:isNaN(a)?1:isNaN(b)?-1:a>b?1:a<b?-1:0},Be=function(a,b){return a==null||b==null?a==null&&b==null?0:a==null?1:b==null?-1:0:a.localeCompare(b)},Tfa=function(a){var b={};Ce(a,1)&&(b.showFullHistory=De(a,1));Ce(a,2)&&(b.useCodefont=
De(a,2));Fe(a,5)&&(b.resultsPerPage=Pd(a,5));Ce(a,26)&&(b.showRecentEventsFirst=De(a,26));var c=a.getDisplayColumns();c&&(b.displayColumns={column:c.getColumnList().map(Dfa).filter(fe)});if(c=a.getSortColumns())b.sortColumns={column:c.getColumnList().map(Efa).filter(fe)};Ge(a,7)&&(b.bannerMessageId=Oc(a,7));if(c=r(a,Ffa,3)){var d={};He(c,1)&&(d.reportedPriority=Ie(Zd(c,1)));He(c,2)&&(d.assignedPriority=Ie(Zd(c,2)));He(c,3)&&(d.verifiedPriority=Ie(Zd(c,3)));He(c,4)&&(d.ccdPriority=Ie(Zd(c,4)));He(c,
9)&&(d.collaboratorPriority=Ie(Zd(c,9)));He(c,5)&&(d.starredPriority=Ie(Zd(c,5)));Ce(c,6)&&(d.excludeChangesByMe=De(c,6));Ce(c,7)&&(d.unsubscribeFromAll=De(c,7));Ce(c,8)&&(d.enableV2Prefs=De(c,8));b.notificationPreferences=d}if(d=r(a,Gfa,9)){c={showHotlists:De(d,1),showStatusIcons:De(d,4),wrapComponents:De(d,3),wrapTitles:De(d,2),rtlComponentPath:De(d,5)};var e=rc(d,6,Vb);c.fieldStatus=Object.fromEntries(e.entries());d=rc(d,7,Vb);c.modeForField=Object.fromEntries(d.entries());b.listViewPreferences=
c}if(c=a.getLayoutPreferences())d={},Fe(c,1)&&(d.leftSidebarWidth=Pd(c,1)),Ce(c,2)&&(d.expandIssueSlo=De(c,2)),Fe(c,3)&&(d.rightSidebarWidth=Pd(c,3)),b.layoutPreferences=d;if(d=a.getDateTimePreferences())c={},Ge(d,1)&&(c.calendarFormat=Oc(d,1)),Ge(d,2)&&(c.timeFormat=Oc(d,2)),d.hasTimeZone()&&(c.timeZone=d.getTimeZone()),He(d,7)&&(d=Zd(d,7),c.sloEtaViewAs=Hfa[d]),b.dateTimePreferences=c;if(d=r(a,Je,8))c={},He(d,1)&&(d=d.getDensity(),c.density=Ifa[d]),b.themePreferences=c;if(c=a.getHomepagePreferences())d=
{},He(c,1)&&(d.resourceType=Jfa(Zd(c,1,1))),Mb(Ke(c,2))!=null&&(d.resourceId=Le(c,2)),b.homepagePreferences=d;if(c=r(a,Kfa,17))d={},Ce(c,1)&&(d.enableAllHotkeys=De(c,1,!0)),b.keyboardPreferences=d;Mb(Ke(a,16))!=null&&(b.newFeaturesAcknowledgedMillis=Le(a,16));Ce(a,18)&&(b.autoCcOnComment=De(a,18));Me(a,Ne,33)&&(e=r(a,Ne,33),c=Zd(e,3),d=Zd(e,2),e=Zd(e,1),b.commentFormattingPreferences={commentCreateOverride:Lfa(c),commentDisplayOverride:Lfa(d),lastPublishMode:Lfa(e)});Me(a,Oe,21)&&(c=r(a,Oe,21),d=
{},Ce(c,2)&&(d.announcementDismissed=De(c,2)),Ce(c,1)&&(d.enableBugScreensaver=De(c,1)),b.bugScreensaverPreferences=d);Me(a,Pe,24)&&(c=r(a,Pe,24),d={},Qe(c,1)&&(d.announcementDismissedMillis=pe(Re(c,1))),b.g3nPreferences=d);if(c=r(a,Mfa,23))c=ie(c,Se,1,Rd()),b.teamWarningPreferences={componentTeamWarnings:c.map(Nfa)};c=sc(a,25,ue,Vb);c.size&&(b.dismissalTimestamps=Ofa(c));c=a.getCollapsedMap();c.size&&(b.collapsed=Object.fromEntries(c.entries()));Ce(a,29)&&(b.showInlineImages=a.getShowInlineImages());
Me(a,Te,28)&&(c=r(a,Te,28),d={},He(c,1)&&(d.commentFilter=Pfa(Zd(c,1))),b.commentFilterPreferences=d);if(c=r(a,Ue,31))b.missionControlPreferences=Qfa(c);Me(a,Ve,32)&&(b.scopePreferences=Rfa(r(a,Ve,32)));c=sc(a,34,We,Ub);if(c.size){a=new Map;c=l(c.entries());for(d=c.next();!d.done;d=c.next())e=l(d.value),d=e.next().value,e=e.next().value,a.set(String(d),{open:e.getOpen(),searchScope:Sfa[Zd(e,2,1)],componentScope:Xe(e,3),includeDescendants:De(e,4)});b.assistiveIssuePickerPreferences=a}return b},Dfa=
function(a){if(a.hasType()){var b=a.getType();b={type:Ufa[b]};a.hasCustomFieldId()&&(b.customFieldId=pe(a.getCustomFieldId()));return b}},Efa=function(a){var b=a.getColumn();if(b=b&&Dfa(b)){if(He(a,2))a:switch(a=Zd(a,2,1),a){case 1:a="ASCENDING";break a;case 2:a="DESCENDING";break a;default:a=qb(a,"Unknown sortOrder: "+a)}else a=void 0;if(a)return{column:b,order:a}}},Ie=function(a){return Vfa[a]},Lfa=function(a){if(a!==0)return Wfa[a]},Jfa=function(a){switch(a){case 1:return"HOTLIST";case 2:return"SAVED_SEARCH";
case 3:return"BOOKMARK_GROUP";case 5:return"MISSION_CONTROL";case 6:return"ASSIGNED_TO_ME";default:return qb(a,"Unknown resourceType: "+a)}},Nfa=function(a){var b={};a.hasComponentId()&&(b.componentId=a.getComponentId_asString());Qe(a,2)&&(b.dismissMillis=pe(Re(a,2)));return b},Ofa=function(a){a=Array.from(a.entries(),function(b){var c=l(b);b=c.next().value;c=c.next().value;return[b,c.toDate()]});return Object.fromEntries(a)},Pfa=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 qb(a,"Unknown resourceType: "+a)}},Rfa=function(a){var b=ge(a,1),c=te(r(a,ue,2));a=ie(a,Ye,3,Rd()).map(function(d){return{teamId:d.getTeamId_asString(),triageId:Xe(d,2)}});return{starredTeams:b,lastAutomaticStarsUpdate:c,starredTriageViews:a}},$fa=function(a){var b=Xfa(Yfa(new Ve,a.starredTeams),a.starredTriageViews.map(function(c){var d=(new Ye).setTeamId(c.teamId);return Ze(d,2,c.triageId)}));a.lastAutomaticStarsUpdate&&Zfa(b,
ve(a.lastAutomaticStarsUpdate));return b},Qfa=function(a){var b=Fe(a,3)?Pd(a,3):void 0,c=Fe(a,6)?Pd(a,6):void 0,d=Fe(a,5)?Pd(a,5):void 0,e=Fe(a,4)?Pd(a,4):void 0,f=Ce(a,10)?De(a,10):void 0,h=Ce(a,11)?De(a,11):void 0,k=Ce(a,12)?De(a,12):void 0,q=$e(a,7,Rd()).map(function(aa){return aga[aa]}),u=$e(a,8,Rd()).map(function(aa){return aga[aa]}),A=bga(ie(a,af,18,Rd())),D=cga(ie(a,bf,19,Rd())),H=dga(ie(a,cf,20,Rd())),O=ega(ie(a,df,21,Rd())),P=fga(ie(a,ef,22,Rd())),S=gga(ie(a,ff,24,Rd()));b={workAreaUrls:Qd(a,
1,Rd($d)),myTasksTab:b,myTasksDaysOld:c,needsAttentionDaysOld:d,workAreaTab:e,needsAttentionSources:q,needsAttentionBuganizerFilteredSignals:A,needsAttentionDriveFilteredSignals:D,needsAttentionGerritFilteredSignals:H,needsAttentionChangelistFilteredSignals:O,needsAttentionGoogleTasksFilteredSignals:P,needsAttentionIrmFilteredSignals:S,myTasksSources:u,hideBadgeInNav:f,isNeedsAttentionSourcesConfigured:h,isMyTasksSourcesConfigured:k};c=rc(a,9,Wba);c.size&&(b.workAreaQuickFilters=hga(c));a=a.getCollapsedMap();
a.size&&(b.collapsed=Object.fromEntries(a.entries()));return b},hga=function(a){var b={};a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;(d=iga(d))&&(b[c]=d)}return b},jga=function(a){switch(a){case "ASSIGNED_TO_ME_AND_OPEN":return 1;case "OPEN":return 2;case "FIXED":return 3;case "BROAD_IN_PROGRESS":return 4;case "NEWLY_FILED":return 5;case "RECENTLY_ACTIVE":return 6;case "HIGH_PRIORITY":return 7;case "TRENDING":return 8;case "PROGRESS":return 9;
case "ASSIGNED_TO_ME":return 0;default:return 0}},iga=function(a){switch(a){case 1:return"ASSIGNED_TO_ME_AND_OPEN";case 2:return"OPEN";case 3:return"FIXED";case 4:return"BROAD_IN_PROGRESS";case 5:return"NEWLY_FILED";case 6:return"RECENTLY_ACTIVE";case 7:return"HIGH_PRIORITY";case 8:return"TRENDING";case 9:return"PROGRESS"}},vga=function(a){var b=new gf;a.showFullHistory!=null&&hf(b,1,a.showFullHistory);a.useCodefont!=null&&hf(b,2,a.useCodefont);a.resultsPerPage!=null&&jf(b,5,a.resultsPerPage);a.displayColumns!=
null&&b.setDisplayColumns(kga(a.displayColumns));if(a.sortColumns!=null){var c=lga(a.sortColumns);t(b,kf,6,c)}a.bannerMessageId!=null&&lf(b,7,a.bannerMessageId);if(a.notificationPreferences!=null){c=a.notificationPreferences;var d=new Ffa;d=mf(d,1,nf[c.reportedPriority]);d=mf(d,2,nf[c.assignedPriority]);d=mf(d,3,nf[c.verifiedPriority]);d=mf(d,4,nf[c.ccdPriority]);d=mf(d,9,nf[c.collaboratorPriority]);d=mf(d,5,nf[c.starredPriority]);d=hf(d,6,c.excludeChangesByMe);d=hf(d,7,c.unsubscribeFromAll);c=hf(d,
8,c.unsubscribeFromAll);t(b,Ffa,3,c)}a.listViewPreferences!=null&&(c=a.listViewPreferences,d=new Gfa,d=hf(d,1,c.showHotlists),d=hf(d,2,c.wrapTitles),d=hf(d,3,c.wrapComponents),d=hf(d,4,c.showStatusIcons),d=hf(d,5,c.rtlComponentPath),c.fieldStatus!=null&&of(c.fieldStatus,rc(d,6,Vb)),c.modeForField!=null&&of(c.modeForField,rc(d,7,Vb)),t(b,Gfa,9,d));a.layoutPreferences!=null&&(c=a.layoutPreferences,d=new mga,c.leftSidebarWidth!=null&&jf(d,1,c.leftSidebarWidth),c.expandIssueSlo!=null&&hf(d,2,c.expandIssueSlo),
c.rightSidebarWidth!=null&&jf(d,3,c.rightSidebarWidth),t(b,mga,10,d));a.dateTimePreferences!=null&&(c=a.dateTimePreferences,d=new pf,d=lf(d,1,c.calendarFormat),d=lf(d,2,c.timeFormat).setTimeZone(c.timeZone),c=mf(d,7,nga[c.sloEtaViewAs]),t(b,pf,11,c));a.themePreferences!=null&&(c=a.themePreferences,c=(new Je).setDensity(oga[c.density]),t(b,Je,8,c));if(a.homepagePreferences!=null){c=a.homepagePreferences;d=new qf;if(c.resourceType!=null){var e=pga(c.resourceType);mf(d,1,e)}c.resourceId!=null&&d.setResourceId(c.resourceId);
t(b,qf,13,d)}a.keyboardPreferences!=null&&(c=a.keyboardPreferences,d=new Kfa,c=hf(d,1,c.enableAllHotkeys),t(b,Kfa,17,c));a.newFeaturesAcknowledgedMillis!=null&&rf(b,16,a.newFeaturesAcknowledgedMillis);a.autoCcOnComment!=null&&hf(b,18,a.autoCcOnComment);a.commentFormattingPreferences!=null&&(c=a.commentFormattingPreferences,d=new Ne,c.commentCreateOverride&&mf(d,3,qga[c.commentCreateOverride]),c.commentDisplayOverride&&mf(d,2,qga[c.commentDisplayOverride]),c.lastPublishMode&&mf(d,1,qga[c.lastPublishMode]),
t(b,Ne,33,d));a.bugScreensaverPreferences!=null&&(c=a.bugScreensaverPreferences,d=new Oe,c.enableBugScreensaver!=null&&hf(d,1,c.enableBugScreensaver),c.announcementDismissed!=null&&hf(d,2,c.announcementDismissed),t(b,Oe,21,d));a.g3nPreferences!=null&&(c=a.g3nPreferences,d=new Pe,c.announcementDismissedMillis!=null&&Ze(d,1,c.announcementDismissedMillis),t(b,Pe,24,d));a.teamWarningPreferences!=null&&(c=rga(a.teamWarningPreferences),t(b,Mfa,23,c));if(a.dismissalTimestamps!=null)for(d=a.dismissalTimestamps,
c=sc(b,25,ue,Vb),d=l(Object.entries(d)),e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;var h=f.next().value;f=c;var k=f.set;h=(new ue).fromMillis(h.getTime());k.call(f,e,h)}a.collapsed!=null&&of(a.collapsed,b.getCollapsedMap());a.showRecentEventsFirst!=null&&hf(b,26,a.showRecentEventsFirst);a.showInlineImages!=null&&hf(b,29,a.showInlineImages);a.commentFilterPreferences!=null&&(d=a.commentFilterPreferences,c=new Te,d.commentFilter!=null&&(d=sga(d.commentFilter),mf(c,1,d)),t(b,Te,
28,c));a.missionControlPreferences!=null&&(c=tga(a.missionControlPreferences),t(b,Ue,31,c));a.scopePreferences!=null&&(c=$fa(a.scopePreferences),t(b,Ve,32,c));if(a.assistiveIssuePickerPreferences!=null)for(c=a.assistiveIssuePickerPreferences,a=sc(b,34,We,Ub),c=l(c.entries()),d=c.next();!d.done;d=c.next())d=l(d.value),k=d.next().value,f=d.next().value,d=a,e=d.set,k=ib(k),h=(new We).setOpen(f.open),h=mf(h,2,uga[f.searchScope]),h=Ze(h,3,f.componentScope),f=hf(h,4,f.includeDescendants),e.call(d,k,f);
return b},kga=function(a){return(new sf).setColumnList(a.column.map(function(b){return wga(b)}))},wga=function(a){var b=(new tf).setType(xga[a.type]);a.customFieldId!=null&&b.setCustomFieldId(a.customFieldId);return b},lga=function(a){return(new kf).setColumnList(a.column.map(function(b){var c=(new uf).setColumn(wga(b.column));a:switch(b=b.order,b){case "ASCENDING":b=1;break a;case "DESCENDING":b=2;break a;default:b=qb(b,"Unknown sortOrder: "+b)}return mf(c,2,b)}))},pga=function(a){switch(a){case "HOTLIST":return 1;
case "SAVED_SEARCH":return 2;case "BOOKMARK_GROUP":return 3;case "MISSION_CONTROL":return 5;case "ASSIGNED_TO_ME":return 6;default:return qb(a,"Unknown resourceType: "+a)}},rga=function(a){var b=new Mfa;a.componentTeamWarnings!=null&&yga(b,a.componentTeamWarnings.map(function(c){var d=new Se;c.componentId&&d.setComponentId(c.componentId);c.dismissMillis&&Ze(d,2,c.dismissMillis);return d}));return b},sga=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 qb(a,"Unknown commentFilterType: "+a)}},tga=function(a){var b=new Ue;a.workAreaUrls&&Wd(b,1,a.workAreaUrls);a.collapsed&&of(a.collapsed,b.getCollapsedMap());if(a.workAreaQuickFilters){for(var c=a.workAreaQuickFilters,d={},e=l(Object.keys(c)),f=e.next();!f.done;f=e.next())f=f.value,d[f]=jga(c[f]);of(d,rc(b,9,Wba))}a.myTasksTab!=null&&jf(b,3,a.myTasksTab);a.workAreaTab!=null&&jf(b,4,a.workAreaTab);a.myTasksDaysOld!=null&&jf(b,6,a.myTasksDaysOld);a.needsAttentionDaysOld!=
null&&jf(b,5,a.needsAttentionDaysOld);a.needsAttentionSources&&zga(b,a.needsAttentionSources.map(Aga));a.myTasksSources&&Bga(b,a.myTasksSources.map(Aga));a.hideBadgeInNav!=null&&hf(b,10,!!a.hideBadgeInNav);a.isNeedsAttentionSourcesConfigured!=null&&hf(b,11,!!a.isNeedsAttentionSourcesConfigured);a.isMyTasksSourcesConfigured!=null&&hf(b,12,!!a.isMyTasksSourcesConfigured);a.needsAttentionBuganizerFilteredSignals&&Cga(b,vf(a.needsAttentionBuganizerFilteredSignals,function(h,k){return(new af).setSignal(Dga[h]).setChecked(k)}));
a.needsAttentionDriveFilteredSignals&&Ega(b,vf(a.needsAttentionDriveFilteredSignals,function(h,k){return(new bf).setSignal(Fga[h]).setChecked(k)}));a.needsAttentionGerritFilteredSignals&&Gga(b,vf(a.needsAttentionGerritFilteredSignals,function(h,k){return(new cf).setSignal(Hga[h]).setChecked(k)}));a.needsAttentionChangelistFilteredSignals&&Iga(b,vf(a.needsAttentionChangelistFilteredSignals,function(h,k){return(new df).setSignal(Jga[h]).setChecked(k)}));a.needsAttentionGoogleTasksFilteredSignals&&Kga(b,
vf(a.needsAttentionGoogleTasksFilteredSignals,function(h,k){return(new ef).setSignal(Lga[h]).setChecked(k)}));a.needsAttentionIrmFilteredSignals&&Mga(b,vf(a.needsAttentionIrmFilteredSignals,function(h,k){return(new ff).setSignal(Nga[h]).setChecked(k)}));return b},Aga=function(a){return Oga[a]},bga=function(a){return a.reduce(function(b,c){return b.set(Pga[c.getSignal()],c.getChecked())},new Map)},cga=function(a){return a.reduce(function(b,c){return b.set(Qga[c.getSignal()],c.getChecked())},new Map)},
dga=function(a){return a.reduce(function(b,c){return b.set(Rga[c.getSignal()],c.getChecked())},new Map)},ega=function(a){return a.reduce(function(b,c){return b.set(Sga[c.getSignal()],c.getChecked())},new Map)},fga=function(a){return a.reduce(function(b,c){return b.set(Tga[c.getSignal()],c.getChecked())},new Map)},gga=function(a){return a.reduce(function(b,c){return b.set(Uga[c.getSignal()],c.getChecked())},new Map)},of=function(a,b){a=l(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=
l(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}},vf=function(a,b){var c=[];a.forEach(function(d,e){c.push(b(e,d))});return c},Vga=function(a){a=id(a).toString();var b=new wf;lf(b,2,a);return b},Wga=function(a){if(!a)return null;a=xf(a,2);return a===null||a===void 0?null:gd(a)},Xga=function(a){if(!a)return null;a=xf(a,3);return a===null||a===void 0?null:new $c(a)},$ga=function(){yf==null&&(yf=new Yga(Zga.buganizerSessionJspb));Me(yf,zf,2)||yf.setConfig(new zf);if(!Me(yf,Af,9)){var a=yf,b=
new Af;t(a,Af,9,b)}yf.hasUser()||yf.setUser(new Bf);Me(yf,gf,7)||(a=yf,b=new gf,t(a,gf,7,b));return yf},Cf=function(){return new aha},bha=function(a){var b=1E3;b=b===void 0?150:b;var c,d=[];return function(e){d.push(e);c&&clearTimeout(c);c=setTimeout(function(){a(d);d=[];c=void 0},b)}},cha=function(a){function b(){var e,f,h,k;return v(function(q){if(q.nextAddress==1){if(d||c.length===0)return q.return();d=!0;e=[].concat(p(c));c=[];f=l(e);h=f.next()}if(q.nextAddress!=3){if(h.done)return d=!1,w(q,b(),
0);k=h.value;return w(q,a.apply(null,p(k.args)).then(k.returnValue.resolve).catch(k.returnValue.reject),3)}h=f.next();return q.jumpTo(2)})}var c=[],d=!1;return function(){var e=rd.apply(0,arguments),f=new aha;c.push({args:e,returnValue:f});b();return f.promise}},Df=function(a){var b=!1;return function(){var c=rd.apply(0,arguments);if(!b)return b=!0,a.apply(null,p(c))}},dha=function(a){var b=new Map;return function(){var c=rd.apply(0,arguments),d=c.map(String).join("-");if(b.has(d))return b.get(d);
c=a.apply(null,p(c));b.set(d,c);return c}},eha=function(a){return a},Ff=function(a){return function(){var b=Ef.getItem(a);if(b==null)return!1;try{return!!JSON.parse(b)}catch(c){return console.warn("getBooleanAt() JSON.parse("+a+") failed"),console.warn(c),!1}}},fha=function(a){return function(b){b===!0?Ef.setItem(a,"1"):Ef.removeItem(a)}},gha=function(a){return a&&typeof a==="object"&&"overrideUntilDate"in a&&"flagName"in a&&"value"in a?!0:!1},hha=function(a){return{overrides:a.overrides.filter(function(b){return b.overrideUntilDate?
Date.parse(b.overrideUntilDate)>Date.now():!0})}},iha=function(){console.warn("Local flag overrides only apply to the client runtime (TypeScript), and do not have an effect on any flag values on the Front End server or API.")},kha=function(){if(Gf("flag-overrides")()){var a=If("flag-overrides")();if(a&&typeof a==="object"&&"overrides"in a&&Array.isArray(a.overrides)&&a.overrides.every(gha))return hha(a);jha();console.warn("Could not parse flag overrides.")}},jha=function(){Jf("flag-overrides")()},
lha=function(a,b){var c=new Date(Date.now()+864E5);c=c===void 0?null:c;iha();var d,e=((d=kha())==null?void 0:d.overrides)||[];Jf("flag-overrides")({overrides:[].concat(p(e.filter(function(f){return f.flagName!==a})),[{flagName:a,value:b,overrideUntilDate:c}])})},mha=function(a,b){lha(a,b)},nha=function(a){iha();var b,c=((b=kha())==null?void 0:b.overrides)||[];Jf("flag-overrides")({overrides:c.filter(function(d){return d.flagName!==a})})},Nf=function(){if(oha==null){pha();var a=$ga();var b=a.hasUser()?
a.getUser():new Bf;b=De(b,4)?{anonymous:!0,email:null,userTypeLabel:"ANONYMOUS",sessionIdentifier:""}:{anonymous:!1,email:b.getEmail(),userTypeLabel:b.getUserTypeLabel(),sessionIdentifier:b.getSessionIdentifier()};var c=Me(a,zf,2)?a.getConfig():new zf;for(var d=new Map,e=l(rc(c,4,Sb).entries()),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;d.set(f,h)}c={appName:c.getAppName(),documentationBaseUrl:c.getDocumentationBaseUrl(),enabledFlags:d,environmentType:c.getEnvironmentType(),
onePickUrl:c.getOnePickUrl(),onePickSecretToken:c.getOnePickSecretToken(),commentNumberLimit:c.getCommentNumberLimit(),createComponentRedirectDelay:c.getCreateComponentRedirectDelay(),createRestrictedSubresourcesComponentIds:ge(c,13).map(de).filter(fe),indefiniteRetentionComponentsAllowlist:ge(c,20).map(de).filter(fe),trustedEmailDomainsAllowlist:Qd(c,22,Rd($d)),helpMeFixSidebarComponentAllowlist:ge(c,23).map(de).filter(fe),batchDedupeComponentAllowlist:ge(c,28).map(de).filter(fe),internalBaseUrl:c.getInternalBaseUrl(),
externalBaseUrl:c.getExternalBaseUrl()};d=Tfa(Me(a,gf,7)?a.getUserPreferences():new gf);f=Me(a,Af,9)?r(a,Af,9):new Af;e=ie(f,Kf,1,Rd()).map(jfa);Me(f,Lf,2)?(f=f.getAnnouncement(),f={message:f.getMessage(),messageId:f.getMessageId(),dismissible:De(f,3,void 0,Kc),tags:f.getTagsList($d)}):f=null;e={timezones:e,announcement:f};f=a.getXsrfToken();h=a.getCspNonce();var k=a.getFrontendAccessMode(),q=a.getMustAcknowledgeTerms(),u=a.getShowNewFeaturesDialog(),A=a.getAppBaseHref(),D=Me(a,Mf,11)?ofa(a.getTracker()):
null,H;Me(a,qha,12)?(H=a.getPassiveLoginIframeUrl())?(H=xf(H,4),H=H===null||H===void 0?null:Yc(H)):H=null:H=null;oha={user:b,config:c,xsrfToken:f,cspNonce:h,frontendAccessMode:k,mustAcknowledgeTerms:q,showNewFeaturesDialog:u,userPreferences:d,preload:e,appBaseHref:A,tracker:D,passiveLoginIframeUrl:H,userRequiresCaptcha:De(a,13)}}return oha},rha=function(a){return a.frontendAccessMode||"INTERNAL"},sha=function(){return rha(Nf())==="INTERNAL"},Of=function(a,b){if(b)kea(a,b);else for(;a.lastChild;)a.lastChild.remove()},
tha=function(a){for(a=a.firstChild;a;){if(a.nodeType!==Node.TEXT_NODE)return!1;a=a.nextSibling}return!0},Pf=function(a){return a.endsWith("px")?Math.floor(Number(a.substr(0,a.length-2))):Number.NaN},uha=function(a){return a.ctrlKey||a.metaKey||a.shiftKey||a.altKey},Qf=function(a){if(a.plainFormat)return a.plainFormat.plainSection.map(function(c){var d=document.createElement("div");Of(d,c.content);return d.innerText}).join("\n");if(a.markdownFormat){var b=document.createElement("div");Of(b,a.markdownFormat.content);
return b.innerText}return a.literalFormat?(b=document.createElement("div"),Of(b,a.literalFormat.content),b.innerText):""},Rf=function(a){return!!a&&vha.test(a)&&!wha.test(a)},zha=function(a){a=a===void 0?"":a;return!xha(a)||a.endsWith("-robots@google.com")||yha(a)},yha=function(a){return Aha.some(function(b){return a.endsWith(b)})},xha=function(a){return!a.endsWith("@prod.google.com")&&!a.endsWith("@appspot.gserviceaccount.com")},Sf=function(a){return a?a.seconds*1E3+a.nanos/1E6:0},Tf=function(a){var b=
a+" day"+(a>1?"s":"");if(a<365)return b;a=Math.round(a/365*10)/10;return b+" (~"+(a+" year"+(a>1?"s":""))+")"},Bha=function(a){if(a){var b=new Uf;b.setTime(a.getTime());return b}},Vf=function(a){if(a!=null)return new Date(a.year,a.month-1,a.day)},Cha=function(a){if(a)return{year:a.getFullYear(),month:a.getMonth()+1,day:a.getDate()}},Dha=function(a){var b=a.getMonth();a=a.getFullYear();b=Math.floor(b/3);return{quarterStartDate:new Date(a,b*3,1),quarterEndDate:new Date(a,b*3+3,0)}},Eha=function(a){if(a==
null)return"";var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});return(new Date).getFullYear()===a.getFullYear()?b.split(", ")[0]:b},Fha=function(a){return a==null?!1:Date.now()>Sf(a)},Wf=function(a,b){return function(c){if(a.has(c))return a.get(c);var d=b(c);a.set(c,d);return d}},Xf=function(a,b){return new Map(a.map(function(c){return[c,b(c)]}))},Yf=function(a,b){var c;return new Map((c=a==null?void 0:a.map(function(d){return[b(d),d]}))!=null?c:[])},Gha=function(a,b){var c=new Map;a=l(a);
for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b(d),f=void 0,h=(f=c.get(e))!=null?f:[];h.push(d);c.set(e,h)}return c},Hha=function(a,b){return Xf([].concat(p(a.keys())),function(c){return b(a.get(c),c)})},Iha=function(a){var b=new Map;a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b.set(d,c)}return b},Jha=function(a){var b=new Map;a=l(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;
b.set(c,d)}return b},Zf=function(a,b){return(a!=null?a:0)+(b!=null?b:0)},Kha=function(a){return a.length===0?0:a.reduce(Zf)/a.length},Lha=function(a,b){b=b===void 0?Kha(a):b;if(a.length===0)return 0;a=a.map(function(c){return Math.pow(c-b,2)}).reduce(Zf)/(a.length-1);return Math.sqrt(a)},$f=function(a,b){if(a<5)return!1;if(!Mha.get(b)){var c=Kha(b),d=Lha(b,c);Mha.set(b,{mean:c,stdDev:d})}b=Mha.get(b);return a-b.mean>b.stdDev*2},ag=function(a){return!(a==null||!a.commentNumber)},Nha=function(a){return a.unlinkifiedComment!==
""?!0:a.formattedComment?Qf(a.formattedComment)!=="":!1},bg=function(a){var b;return((b=a.attachments)==null?void 0:b.length)>0},Oha=function(a,b){return Object.assign({},a,{commentRedacted:b.redacted,unlinkifiedComment:b.unlinkifiedComment,formattedComment:b.formattedComment})},Pha=function(a,b,c){var d=a.findIndex(function(f){return f.commentNumber===b}),e=a[d];if(e==null)return a;c=Object.assign({},e,c);return[].concat(p(a.slice(0,d)),[c],p(a.slice(d+1)))},cg=function(a){var b;return a==null?void 0:
(b=a.snapshot)==null?void 0:b[0]},Qha=function(a){var b;return Gd((b=cg(a))==null?void 0:b.assigneeUser)||void 0},Rha=function(a){if(a==null)return"";var b,c,d,e,f=a.etag,h=a.piiRetention;var k=a.piiRetentionState;k=k==null?"":[JSON.stringify(k.retentionPeriod),JSON.stringify(k.scheduledDeletionTime)].join("-");return[f,h,k,(b=a.entityStatus)==null?void 0:b.reason,(c=a.entityStatus)==null?void 0:c.status,(d=a.contentVerdict)==null?void 0:(e=d.piiVerdict)==null?void 0:e.severity].join("-")},Sha=function(a){if(a==
null)return"";var b=a.attachments.map(Rha).join("-"),c=[];if(a.commentReactions&&a.commentReactions.size>0){var d,e=l((d=a.commentReactions)==null?void 0:d.entries());for(d=e.next();!d.done;d=e.next()){var f=l(d.value);d=f.next().value;f=f.next().value;c.push(d+"-"+f.count)}}c=c.join("-");var h,k;return[a.modifiedDate,a.version,"["+b+"]",a.preDiffs.length,a.postDiffs.length,a.commentVersion,(h=a.commentContentVerdict)==null?void 0:(k=h.piiVerdict)==null?void 0:k.severity,a.commentDeletionStatus,a.commentRetention,
"["+c+"]"].join("-")},Tha=function(a){return a.map(function(b){return b.commentNumber}).filter(fe).reduce(function(b,c){return Math.max(b,c)},1)},Uha=function(a,b){if(a===b)return!0;if(a==null||b==null||a.length!==b.length)return!1;for(var c=a.length-1;c>=0;c--){var d=a[c],e=b[c];if(d!==e&&(d==null||e==null||Sha(d)!==Sha(e)))return!1}return!0},eg=function(a){if(a==null||(a==null?0:a.isArchived))return!1;var b,c;a=a==null?void 0:(b=a.snapshot)==null?void 0:(c=b[0])==null?void 0:c.status;if(a==null)return!1;
var d,e;return(e=(d=dg.get(a))==null?void 0:d.open)!=null?e:!1},Vha=function(a){if(a==null||a.isArchived)return!1;var b,c;a=a==null?void 0:(b=a.snapshot)==null?void 0:(c=b[0])==null?void 0:c.status;if(a==null)return!1;b=dg.get(a);return b==null?!1:!(b==null?0:b.open)},Xha=function(a){return Wha(a,"FIXED")},Wha=function(a,b){if(a==null?0:a.isArchived)return!1;var c,d;return b===(a==null?void 0:(c=a.snapshot)==null?void 0:(d=c[0])==null?void 0:d.status)},fg=function(a){return a.isArchived==null?!1:
!a.isArchived},Yha=function(a){if(!a)return!1;var b,c=(b=a.aggregatedData)==null?void 0:b.modifiedTimeMicros,d;a=(d=a.userData)==null?void 0:d.lastViewedTimeMicros;return!a||c&&a<c},$ha=function(){var a=gg;return ze(function(b){var c,d;return(d=Zha.get((c=a(b))==null?void 0:c.snapshot[0].status))!=null?d:0},Ae)},aia=function(){var a=gg;return ze(function(b){var c,d;return(c=a(b))==null?void 0:(d=c.snapshot[0].assigneeUser)==null?void 0:d.emailAddress},Be)},bia=function(){var a=gg;return ze(function(b){var c;
return(c=a(b))==null?void 0:c.snapshot[0].type},Be)},cia=function(){var a=gg;return ze(function(b){var c,d;return(c=a(b))==null?void 0:(d=c.snapshot[0].reporterUser)==null?void 0:d.emailAddress},Be)},dia=function(a){return ze(function(b){var c,d,e;return(e=(c=a(b))==null?void 0:(d=c.aggregatedData)==null?void 0:d.createdTimeMicros)!=null?e:0},Ae)},eia=function(a){return ze(function(b){var c,d,e;return(e=(c=a(b))==null?void 0:(d=c.aggregatedData)==null?void 0:d.modifiedTimeMicros)!=null?e:0},Ae)},
gia=function(){return ze(function(a){var b,c;return(c=a==null?void 0:(b=a.experimentalFields)==null?void 0:b.triage.triagerEmail)!=null?c:""},function(a,b){return a===fia?1:b!==fia&&a?b?Be(a,b):1:-1})},hia=function(a){var b,c,d;return(d=a==null?void 0:(b=a.snapshot)==null?void 0:(c=b[0])==null?void 0:c.priority)!=null?d:"PRIORITY_UNSPECIFIED"},jia=function(a){return ze(function(b){b=a(b);return iia[hia(b)]},Ae)},kia=function(){var a=gg;return ze(function(b){b=a(b);if(b==null)b=0;else{var c=b.descendantCount;
b=c===0?0:(c-b.openDescendantCount)/c}return b},Ae)},hg=function(a){var b;return(a==null?void 0:(b=a.userPerformingActionUser)==null?void 0:b.emailAddress)==="piper-bugupdater@prod.google.com"},lia=function(a){var b;return(a==null?void 0:(b=a.userPerformingActionUser)==null?void 0:b.emailAddress)==="apphosting-stubby-api--s-7egoogle-2ecom-3agitwatcher@prod.google.com"},ig=function(a){if(!lia(a))return!1;var b;return((b=a==null?void 0:a.unlinkifiedComment)!=null?b:"").trim().split("\n").length>=9},
mia=function(a){return function(b){var c,d;return((d=b==null?void 0:(c=b.snapshot[0])==null?void 0:c.customField)!=null?d:[]).find(function(e){return e.customFieldId===a})}},oia=function(a,b,c){b=nia.get(c)||new Set(c.map(function(e){return e.issueId}));nia.set(c,b);var d;a=l((d=a.parentIssueIds)!=null?d:[]);for(d=a.next();!d.done;d=a.next())if(b.has(d.value))return!1;return!0},qia=function(a,b){pia.get(b)||pia.set(b,[b.map(function(e){var f,h;return(h=e==null?void 0:(f=e.userActivityStats)==null?
void 0:f.oneDayViewCount)!=null?h:0}),b.map(function(e){var f,h;return(h=e==null?void 0:(f=e.userActivityStats)==null?void 0:f.sevenDayViewCount)!=null?h:0}),b.map(function(e){var f,h;return(h=e==null?void 0:(f=e.userActivityStats)==null?void 0:f.thirtyDayViewCount)!=null?h:0})]);var c=l(pia.get(b));b=c.next().value;var d=c.next().value;c=c.next().value;return $f(b[a],b)||$f(d[a],d)||$f(c[a],c)},ria=function(a){if(a)return{issueId:a.issueId,version:a.version,snapshot:a.snapshot,userData:a.userData,
aggregatedData:a.aggregatedData,accessLimit:a.accessLimit,customFields:a.customFields,visibleFields:a.visibleFields,majorModifiedTimeMicros:a.majorModifiedTimeMicros,parentIssueIds:a.parentIssueIds,descendantCount:a.descendantCount,openDescendantCount:a.openDescendantCount,isArchived:a.isArchived,trackerId:a.trackerId,userActivityStats:a.userActivityStats,experimentalFields:a.experimentalFields,escalationOwner:a.escalationOwner}},sia=function(a,b){if(a&&b)return{issueId:a.issueId,version:a.version,
snapshot:a.snapshot,userData:a.userData,aggregatedData:a.aggregatedData,accessLimit:a.accessLimit,customFields:a.customFields,visibleFields:a.visibleFields,majorModifiedTimeMicros:a.majorModifiedTimeMicros,parentIssueIds:a.parentIssueIds,descendantCount:a.descendantCount,openDescendantCount:a.openDescendantCount,isArchived:a.isArchived,trackerId:a.trackerId,userActivityStats:a.userActivityStats,experimentalFields:a.experimentalFields,escalationOwner:a.escalationOwner,ancestors:b.ancestors,childIssueCount:b.childIssueCount,
relatedLinks:b.relatedLinks,statusUpdate:b.statusUpdate,description:b.description}},tia=function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value.snapshot[0].componentId;var d=void 0,e=(d=b.get(c))!=null?d:0;b.set(c,e+1);if(!f||b.get(f)<b.get(c))var f=c}return f},jg=function(a){var b=Gha(a,function(e){return e.issueId});a=[];b=l(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;a.push(c+": "+d.map(function(e){return e.message}).join(", "))}return a.join("\n")},
kg=function(a){if(a.user){var b,c;return(c=(b=a.user.user)==null?void 0:b.emailAddress)!=null?c:""}if(a.placeholder){var d;return(d=a.placeholder.role)!=null?d:""}return""},uia=function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=kg(c);b.has(d)?b.get(d).push(c):b.set(d,[c])}return b},via=function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=[],e=void 0;d.push((e=Jd(c.user.user))!=null?e:"");e=void 0;if((e=c.allocation)==null?0:e.startDate)e=
c.allocation.startDate,d.push("S"+e.year+"-"+e.month+"-"+e.day);e=void 0;if((e=c.allocation)==null?0:e.endDate)e=c.allocation.endDate,d.push("E"+e.year+"-"+e.month+"-"+e.day);b.set(d.join(":"),c)}return b},mg=function(a,b){b=b===void 0?!1:b;if(a.user){var c,d,e=(d=(c=a.user.user)==null?void 0:c.emailAddress)!=null?d:"";c=[];a.user.role&&c.push(a.user.role);a.user.isLead&&c.push("Lead");if(b)c.push("Multiple Allocations");else{var f;if((f=a.allocation)==null?0:f.involvement)c.push(lg[a.allocation.involvement]);
else{var h;((h=a.allocation)==null?void 0:h.percentage)!==void 0&&c.push(Math.round(a.allocation.percentage*100)+"%")}var k;if((k=a.allocation)==null?0:k.startDate)b=a.allocation.startDate,c.push("Start: "+b.year+"-"+b.month+"-"+b.day);var q;if((q=a.allocation)==null?0:q.endDate)a=a.allocation.endDate,c.push("End: "+a.year+"-"+a.month+"-"+a.day)}return e+(c.length?" ("+c.join(" - ")+")":"")}return a.placeholder?"Placeholder: "+a.placeholder.count+" "+a.placeholder.role:""},wia=function(){return{assigneeUser:null,
blockedByIssueId:[],blockingIssueId:[],ccUsers:[],changelist:[],collaboratorsUsers:[],comment:null,componentId:null,customField:[],deletionReason:null,duplicateIssueId:[],duplicateOfIssueId:null,effort:void 0,foundInVersion:[],gerritChanges:[],hotlistId:[],inProd:!1,isArchived:!1,isDeleted:null,issueAccessLimitLevel:null,postmortems:[],priority:null,reporterUser:null,retention:null,severity:null,sloEndTime:null,sloSnoozeType:null,sloStartTime:null,staffing:null,status:null,targetedToVersion:[],title:"",
type:null,verifiedInVersion:[],verifierUser:null}},xia=function(a){if(a.type!=="ANY_ISSUE_EDIT")return!1;var b,c,d,e,f,h,k,q;return!((b=a.content)==null?0:(c=b.issueModification)==null?0:(d=c.addMask)==null?0:d.length)&&!((e=a.content)==null?0:(f=e.issueModification)==null?0:(h=f.removeMask)==null?0:h.length)&&!((k=a.content)==null?0:(q=k.issueModification)==null?0:q.comment)},yia=function(a,b){a=wd(a);var c,d=(c=a.content)==null?void 0:c.issueModification;b=b.snapshot[0];if(!d)return a;var e;c=new Set((e=
d.addMask)!=null?e:[]);var f;e=new Set((f=d.removeMask)!=null?f:[]);f=d.addState;d=d.removeState;c.has("status")&&(f==null?void 0:f.status)===b.status&&c.delete("status");c.has("priority")&&(f==null?void 0:f.priority)===b.priority&&c.delete("priority");c.has("severity")&&(f==null?void 0:f.severity)===b.severity&&c.delete("severity");var h,k;c.has("assignee")&&(f==null?void 0:(h=f.assigneeUser)==null?void 0:h.emailAddress)===((k=b.assigneeUser)==null?void 0:k.emailAddress)&&c.delete("assignee");var q;
!e.has("assignee")||((q=b.assigneeUser)==null?0:q.emailAddress)||e.delete("assignee");var u,A;c.has("verifier")&&(f==null?void 0:(u=f.verifierUser)==null?void 0:u.emailAddress)===((A=b.verifierUser)==null?void 0:A.emailAddress)&&c.delete("verifier");var D;!e.has("verifier")||((D=b.verifierUser)==null?0:D.emailAddress)||e.delete("verifier");var H,O,P=new Set((O=(H=b.ccUsers)==null?void 0:H.map(Jd))!=null?O:[]);if(c.has("ccs")){var S;if(f==null?0:(S=f.ccUsers)==null?0:S.length){var aa;f.ccUsers=f==
null?void 0:(aa=f.ccUsers)==null?void 0:aa.filter(function(Lb){return!P.has(Jd(Lb))});var ia;(f==null?0:(ia=f.ccUsers)==null?0:ia.length)||c.delete("ccs")}else c.delete("ccs")}if(e.has("ccs")){var la;if(d==null?0:(la=d.ccUsers)==null?0:la.length){var ya;d.ccUsers=d==null?void 0:(ya=d.ccUsers)==null?void 0:ya.filter(function(Lb){return P.has(Jd(Lb))});var Ia;(d==null?0:(Ia=d.ccUsers)==null?0:Ia.length)||e.delete("ccs")}else e.delete("ccs")}var Pa,gb=new Set((Pa=b.hotlistId)!=null?Pa:[]);if(c.has("hotlists")){var ua;
if(f==null?0:(ua=f.hotlistId)==null?0:ua.length){f.hotlistId=f.hotlistId.filter(function(Lb){return!gb.has(Lb)});var Ea;(f==null?0:(Ea=f.hotlistId)==null?0:Ea.length)||c.delete("hotlists")}else c.delete("hotlists")}if(e.has("hotlists")){var Ha;if(d==null?0:(Ha=d.hotlistId)==null?0:Ha.length){d.hotlistId=d.hotlistId.filter(function(Lb){return gb.has(Lb)});var mb;(d==null?0:(mb=d.hotlistId)==null?0:mb.length)||e.delete("hotlists")}else e.delete("hotlists")}c.has("title")&&(f==null?void 0:f.title)===
b.title&&c.delete("title");c.has("componentId")&&(f==null?void 0:f.componentId)===b.componentId&&c.delete("componentId");var nb;if((nb=a.content)==null?0:nb.issueModification)a.content.issueModification.addMask=[].concat(p(c)),a.content.issueModification.removeMask=[].concat(p(e));return a},Aia=function(a,b){var c=a.match(/```json\n([\s\S]*?)\n```/);return zia(c?c[1]:a,b).filter(function(d){return!xia(d)})},zia=function(a,b){a:{try{var c=JSON.parse(a);break a}catch(d){console.error("Failed to parse JSON response:",
d)}c=void 0}if(c=a=c)a.triage_recommendations?c=!0:(console.error("triage_recommendations is missing."),c=!1);return c?Object.values(a.triage_recommendations).map(function(d,e){var f=Date.now(),h=Math.floor(f/1E3);f=f%1E3*1E6;var k=wia(),q=wia(),u=[],A=[],D=void 0;d.assignee_email&&(k.assigneeUser=Bia(d.assignee_email),u.push("assignee"));d.cc_emails&&(k.ccUsers=d.cc_emails.map(Bia).filter(fe),u.push("ccs"));var H=de(d.component_id);H&&(k.componentId=H,u.push("componentId"));d.hotlist_ids_to_add&&
(k.hotlistId=d.hotlist_ids_to_add.filter(fe),u.push("hotlists"));d.hotlist_ids_to_remove&&(q.hotlistId=d.hotlist_ids_to_remove.filter(fe),A.push("hotlists"));H=de(d.issue_id);d.issue_comment&&H&&(D={issueId:H,commentNumber:0,formattingMode:"MARKDOWN",version:0,unlinkifiedComment:d.issue_comment,redacted:!1,commentReactions:new Map,formattedComment:void 0,lastEditorUser:void 0,entityStatus:void 0,piiRetention:void 0,piiRetentionState:void 0,etag:void 0,lastModified:0},u.push("comment"));if(H=de(d.mark_as_duplicate_of))k.duplicateOfIssueId=
H,u.push("duplicateOfIssueId");d.priority&&(k.priority=d.priority,u.push("priority"));d.severity&&(k.severity=d.severity,u.push("severity"));d.status&&(k.status=d.status,u.push("status"));d.verifier_email&&(k.verifierUser=Bia(d.verifier_email),u.push("verifier"));return{name:"recommendationSources/"+b+"/recommendations/"+e,source:"recommendationSources/"+b,resource:"issues/"+d.issue_id,type:H?"ISSUE_DEDUPLICATION":"ANY_ISSUE_EDIT",recommendation:H?"issues/"+H:"any-issue-edit",score:1,confidence:"VERY_HIGH",
createTime:{seconds:h,nanos:f},content:{issueModification:{addState:k,addMask:u,removeState:q,removeMask:A,comment:D}},rationale:d.triage_decision_explanation?{text:d.triage_decision_explanation,formattingMode:"MARKDOWN",createTime:{seconds:h,nanos:f}}:void 0}}):[]},Bia=function(a){return a.includes("@")?Kd(a):Kd(a+"@google.com")},Cia=function(a,b,c,d,e){var f=Zone.__symbol__(d);if(!b[f]){var h=b[f]=b[d];b[d]=function(k,q,u){q&&q.prototype&&e.forEach(function(A){var D=c+"."+d+"::"+A,H=q.prototype;
try{if(H.hasOwnProperty(A)){var O=a.ObjectGetOwnPropertyDescriptor(H,A);O&&O.value?(O.value=a.wrapWithCurrentZone(O.value,D),a._redefineProperty(q.prototype,A,O)):H[A]&&(H[A]=a.wrapWithCurrentZone(H[A],D))}else H[A]&&(H[A]=a.wrapWithCurrentZone(H[A],D))}catch(P){}});return h.call(b,k,q,u)};a.attachOriginToPatched(b[d],h)}},og=function(a){return(ng.__Zone_symbol_prefix||"__zone_symbol__")+a},Dia=function(){function a(ua){h&&h.mark&&h.mark(ua)}function b(ua,Ea){h&&h.measure&&h.measure(ua,Ea)}function c(ua){aa||
ng[H]&&(aa=ng[H].resolve(0));if(aa){var Ea=aa[O];Ea||(Ea=aa.then);Ea.call(aa,ua)}else ng[D](ua,0)}function d(ua){gb===0&&P.length===0&&c(e);ua&&P.push(ua)}function e(){if(!S){for(S=!0;P.length;){var ua=P;P=[];for(var Ea=0;Ea<ua.length;Ea++){var Ha=ua[Ea];try{Ha.zone.runTask(Ha,null,null)}catch(mb){ya.onUnhandledError(mb)}}}ya.microtaskDrainDone();S=!1}}function f(){}var h=ng.performance;a("Zone");var k=function(ua,Ea){this._parent=ua;this._name=Ea?Ea.name||"unnamed":"<root>";this._properties=Ea&&
Ea.properties||{};this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,Ea)};k.assertZonePatched=function(){if(ng.Promise!==la.ZoneAwarePromise)throw Error("la");};k.__load_patch=function(ua,Ea,Ha){Ha=Ha===void 0?!1:Ha;if(la.hasOwnProperty(ua)){if(Ea=ng[og("forceDuplicateZoneCheck")]===!0,!Ha&&Ea)throw Error("ma`"+ua);}else ng["__Zone_disable_"+ua]||(Ha="Zone:"+ua,a(Ha),la[ua]=Ea(ng,k,ya),b(Ha,Ha))};k.prototype.get=function(ua){var Ea=this.getZoneWith(ua);if(Ea)return Ea._properties[ua]};
k.prototype.getZoneWith=function(ua){for(var Ea=this;Ea;){if(Ea._properties.hasOwnProperty(ua))return Ea;Ea=Ea._parent}return null};k.prototype.fork=function(ua){if(!ua)throw Error("na");return this._zoneDelegate.fork(this,ua)};k.prototype.wrap=function(ua,Ea){if(typeof ua!=="function")throw Error("oa`"+ua);var Ha=this._zoneDelegate.intercept(this,ua,Ea),mb=this;return function(){return mb.runGuarded(Ha,this,arguments,Ea)}};k.prototype.run=function(ua,Ea,Ha,mb){Ia={parent:Ia,zone:this};try{return this._zoneDelegate.invoke(this,
ua,Ea,Ha,mb)}finally{Ia=Ia.parent}};k.prototype.runGuarded=function(ua,Ea,Ha,mb){Ia={parent:Ia,zone:this};try{try{return this._zoneDelegate.invoke(this,ua,Ea===void 0?null:Ea,Ha,mb)}catch(nb){if(this._zoneDelegate.handleError(this,nb))throw nb;}}finally{Ia=Ia.parent}};k.prototype.runTask=function(ua,Ea,Ha){if(ua.zone!=this)throw Error("pa`"+(ua.zone||ia).name+"`"+this.name);var mb=ua.type,nb=ua.data===void 0?{}:ua.data,Lb=nb.isPeriodic===void 0?!1:nb.isPeriodic;nb=nb.isRefreshable===void 0?!1:nb.isRefreshable;
if(ua.state!=="notScheduled"||mb!=="eventTask"&&mb!=="macroTask"){var bc=ua.state!="running";bc&&ua._transitionTo("running","scheduled");var yc=Pa;Pa=ua;Ia={parent:Ia,zone:this};try{mb!="macroTask"||!ua.data||Lb||nb||(ua.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,ua,Ea,Ha)}catch(kc){if(this._zoneDelegate.handleError(this,kc))throw kc;}}finally{Ea=ua.state,Ea!=="notScheduled"&&Ea!=="unknown"&&(mb=="eventTask"||Lb||nb&&Ea==="scheduling"?bc&&ua._transitionTo("scheduled","running",
"scheduling"):(mb=ua._zoneDelegates,this._updateTaskCount(ua,-1),bc&&ua._transitionTo("notScheduled","running","notScheduled"),nb&&(ua._zoneDelegates=mb))),Ia=Ia.parent,Pa=yc}}};k.prototype.scheduleTask=function(ua){if(ua.zone&&ua.zone!==this)for(var Ea=this;Ea;){if(Ea===ua.zone)throw Error("qa`"+this.name+"`"+ua.zone.name);Ea=Ea.parent}ua._transitionTo("scheduling","notScheduled");Ea=[];ua._zoneDelegates=Ea;ua._zone=this;try{ua=this._zoneDelegate.scheduleTask(this,ua)}catch(Ha){throw ua._transitionTo("unknown",
"scheduling","notScheduled"),this._zoneDelegate.handleError(this,Ha),Ha;}ua._zoneDelegates===Ea&&this._updateTaskCount(ua,1);ua.state=="scheduling"&&ua._transitionTo("scheduled","scheduling");return ua};k.prototype.scheduleMicroTask=function(ua,Ea,Ha,mb){return this.scheduleTask(new A("microTask",ua,Ea,Ha,mb,void 0))};k.prototype.scheduleMacroTask=function(ua,Ea,Ha,mb,nb){return this.scheduleTask(new A("macroTask",ua,Ea,Ha,mb,nb))};k.prototype.scheduleEventTask=function(ua,Ea,Ha,mb,nb){return this.scheduleTask(new A("eventTask",
ua,Ea,Ha,mb,nb))};k.prototype.cancelTask=function(ua){if(ua.zone!=this)throw Error("ra`"+(ua.zone||ia).name+"`"+this.name);if(ua.state==="scheduled"||ua.state==="running"){ua._transitionTo("canceling","scheduled","running");try{this._zoneDelegate.cancelTask(this,ua)}catch(Ea){throw ua._transitionTo("unknown","canceling"),this._zoneDelegate.handleError(this,Ea),Ea;}this._updateTaskCount(ua,-1);ua._transitionTo("notScheduled","canceling");ua.runCount=-1;return ua}};k.prototype._updateTaskCount=function(ua,
Ea){var Ha=ua._zoneDelegates;Ea==-1&&(ua._zoneDelegates=null);for(var mb=0;mb<Ha.length;mb++)Ha[mb]._updateTaskCount(ua.type,Ea)};pg.Object.defineProperties(k.prototype,{parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},name:{configurable:!0,enumerable:!0,get:function(){return this._name}}});pg.Object.defineProperties(k,{root:{configurable:!0,enumerable:!0,get:function(){for(var ua=k.current;ua.parent;)ua=ua.parent;return ua}},current:{configurable:!0,enumerable:!0,get:function(){return Ia.zone}},
currentTask:{configurable:!0,enumerable:!0,get:function(){return Pa}}});k.__symbol__=og;var q={name:"",onHasTask:function(ua,Ea,Ha,mb){return ua.hasTask(Ha,mb)},onScheduleTask:function(ua,Ea,Ha,mb){return ua.scheduleTask(Ha,mb)},onInvokeTask:function(ua,Ea,Ha,mb,nb,Lb){return ua.invokeTask(Ha,mb,nb,Lb)},onCancelTask:function(ua,Ea,Ha,mb){return ua.cancelTask(Ha,mb)}},u=function(ua,Ea,Ha){this._taskCounts={microTask:0,macroTask:0,eventTask:0};this._zone=ua;this._parentDelegate=Ea;this._forkZS=Ha&&
(Ha&&Ha.onFork?Ha:Ea._forkZS);this._forkDlgt=Ha&&(Ha.onFork?Ea:Ea._forkDlgt);this._forkCurrZone=Ha&&(Ha.onFork?this._zone:Ea._forkCurrZone);this._interceptZS=Ha&&(Ha.onIntercept?Ha:Ea._interceptZS);this._interceptDlgt=Ha&&(Ha.onIntercept?Ea:Ea._interceptDlgt);this._interceptCurrZone=Ha&&(Ha.onIntercept?this._zone:Ea._interceptCurrZone);this._invokeZS=Ha&&(Ha.onInvoke?Ha:Ea._invokeZS);this._invokeDlgt=Ha&&(Ha.onInvoke?Ea:Ea._invokeDlgt);this._invokeCurrZone=Ha&&(Ha.onInvoke?this._zone:Ea._invokeCurrZone);
this._handleErrorZS=Ha&&(Ha.onHandleError?Ha:Ea._handleErrorZS);this._handleErrorDlgt=Ha&&(Ha.onHandleError?Ea:Ea._handleErrorDlgt);this._handleErrorCurrZone=Ha&&(Ha.onHandleError?this._zone:Ea._handleErrorCurrZone);this._scheduleTaskZS=Ha&&(Ha.onScheduleTask?Ha:Ea._scheduleTaskZS);this._scheduleTaskDlgt=Ha&&(Ha.onScheduleTask?Ea:Ea._scheduleTaskDlgt);this._scheduleTaskCurrZone=Ha&&(Ha.onScheduleTask?this._zone:Ea._scheduleTaskCurrZone);this._invokeTaskZS=Ha&&(Ha.onInvokeTask?Ha:Ea._invokeTaskZS);
this._invokeTaskDlgt=Ha&&(Ha.onInvokeTask?Ea:Ea._invokeTaskDlgt);this._invokeTaskCurrZone=Ha&&(Ha.onInvokeTask?this._zone:Ea._invokeTaskCurrZone);this._cancelTaskZS=Ha&&(Ha.onCancelTask?Ha:Ea._cancelTaskZS);this._cancelTaskDlgt=Ha&&(Ha.onCancelTask?Ea:Ea._cancelTaskDlgt);this._cancelTaskCurrZone=Ha&&(Ha.onCancelTask?this._zone:Ea._cancelTaskCurrZone);this._hasTaskCurrZone=this._hasTaskDlgtOwner=this._hasTaskDlgt=this._hasTaskZS=null;ua=Ha&&Ha.onHasTask;var mb=Ea&&Ea._hasTaskZS;if(ua||mb)this._hasTaskZS=
ua?Ha:q,this._hasTaskDlgt=Ea,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,Ha.onScheduleTask||(this._scheduleTaskZS=q,this._scheduleTaskDlgt=Ea,this._scheduleTaskCurrZone=this._zone),Ha.onInvokeTask||(this._invokeTaskZS=q,this._invokeTaskDlgt=Ea,this._invokeTaskCurrZone=this._zone),Ha.onCancelTask||(this._cancelTaskZS=q,this._cancelTaskDlgt=Ea,this._cancelTaskCurrZone=this._zone)};u.prototype.fork=function(ua,Ea){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,ua,Ea):
new k(ua,Ea)};u.prototype.intercept=function(ua,Ea,Ha){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,ua,Ea,Ha):Ea};u.prototype.invoke=function(ua,Ea,Ha,mb,nb){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,ua,Ea,Ha,mb,nb):Ea.apply(Ha,mb)};u.prototype.handleError=function(ua,Ea){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,ua,Ea):!0};u.prototype.scheduleTask=
function(ua,Ea){var Ha=Ea;if(this._scheduleTaskZS)this._hasTaskZS&&Ha._zoneDelegates.push(this._hasTaskDlgtOwner),(Ha=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,ua,Ea))||(Ha=Ea);else if(Ea.scheduleFn)Ea.scheduleFn(Ea);else if(Ea.type=="microTask")d(Ea);else throw Error("sa");return Ha};u.prototype.invokeTask=function(ua,Ea,Ha,mb){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,ua,Ea,Ha,mb):Ea.callback.apply(Ha,
mb)};u.prototype.cancelTask=function(ua,Ea){if(this._cancelTaskZS)ua=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,ua,Ea);else{if(!Ea.cancelFn)throw Error("ta");ua=Ea.cancelFn(Ea)}return ua};u.prototype.hasTask=function(ua,Ea){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,ua,Ea)}catch(Ha){this.handleError(ua,Ha)}};u.prototype._updateTaskCount=function(ua,Ea){var Ha=this._taskCounts,mb=Ha[ua];Ea=Ha[ua]=mb+Ea;if(Ea<0)throw Error("ua");
mb!=0&&Ea!=0||this.hasTask(this._zone,{microTask:Ha.microTask>0,macroTask:Ha.macroTask>0,eventTask:Ha.eventTask>0,change:ua})};pg.Object.defineProperties(u.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}}});var A=function(ua,Ea,Ha,mb,nb,Lb){this._zone=null;this.runCount=0;this._zoneDelegates=null;this._state="notScheduled";this.type=ua;this.source=Ea;this.data=mb;this.scheduleFn=nb;this.cancelFn=Lb;if(!Ha)throw Error("va");this.callback=Ha;var bc=this;this.invoke=
ua==="eventTask"&&mb&&mb.useG?A.invokeTask:function(){return A.invokeTask.call(ng,bc,this,arguments)}};A.invokeTask=function(ua,Ea,Ha){ua||(ua=this);gb++;try{return ua.runCount++,ua.zone.runTask(ua,Ea,Ha)}finally{gb==1&&e(),gb--}};A.prototype.cancelScheduleRequest=function(){this._transitionTo("notScheduled","scheduling")};A.prototype._transitionTo=function(ua,Ea,Ha){if(this._state===Ea||this._state===Ha)this._state=ua,ua=="notScheduled"&&(this._zoneDelegates=null);else throw Error("wa`"+this.type+
"`"+this.source+"`"+ua+"`"+Ea+"`"+(Ha?" or '"+Ha+"'":"")+"`"+this._state);};A.prototype.toString=function(){return this.data&&typeof this.data.handleId!=="undefined"?this.data.handleId.toString():Object.prototype.toString.call(this)};A.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}};pg.Object.defineProperties(A.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}},state:{configurable:!0,
enumerable:!0,get:function(){return this._state}}});var D=og("setTimeout"),H=og("Promise"),O=og("then"),P=[],S=!1,aa,ia={name:"NO ZONE"},la={},ya={symbol:og,currentZoneFrame:function(){return Ia},onUnhandledError:f,microtaskDrainDone:f,scheduleMicroTask:d,showUncaughtError:function(){return!k[og("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:f,patchMethod:function(){return f},bindArguments:function(){return[]},patchThen:function(){return f},patchMacroTask:function(){return f},
patchEventPrototype:function(){return f},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return f},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return f},wrapWithCurrentZone:function(){return f},filterProperties:function(){return[]},attachOriginToPatched:function(){return f},_redefineProperty:function(){return f},patchCallbacks:function(){return f},nativeScheduleMicroTask:c},
Ia={parent:null,zone:new k(null,null)},Pa=null,gb=0;b("Zone","Zone");return k},Eia=function(a,b){return Zone.current.wrap(a,b)},Fia=function(a,b){for(var c=a.length-1;c>=0;c--)typeof a[c]==="function"&&(a[c]=Eia(a[c],b+"_"+c));return a},Hia=function(a){for(var b=["getCurrentPosition","watchPosition"],c=a.constructor.name,d={},e=0;e<b.length;d={name$jscomp$170:void 0},e++){d.name$jscomp$170=b[e];var f=a[d.name$jscomp$170];if(f){var h=qg(a,d.name$jscomp$170);Gia(h)&&(a[d.name$jscomp$170]=function(k){return function(q){var u=
function(){return q.apply(this,Fia(arguments,c+"."+k.name$jscomp$170))};rg(u,q);return u}}(d)(f))}}},Gia=function(a){return a?a.writable===!1?!1:!(typeof a.get==="function"&&typeof a.set==="undefined"):!0},Lia=function(a,b,c){var d=qg(a,b);!d&&c&&qg(c,b)&&(d={enumerable:!0,configurable:!0});if(d&&d.configurable&&(c=og("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),k=Iia[h];k||(k=Iia[h]=og("ON_PROPERTY"+h));d.set=function(q){var u=
this;u||a!==sg||(u=sg);u&&(typeof u[k]==="function"&&u.removeEventListener(h,Jia),f==null||f.call(u,null),u[k]=q,typeof q==="function"&&u.addEventListener(h,Jia,!1))};d.get=function(){var q=this;q||a!==sg||(q=sg);if(!q)return null;var u=q[k];return u?u:e&&(u=e.call(this))?(d.set.call(this,u),typeof q.removeAttribute==="function"&&q.removeAttribute(b),u):null};Kia(a,b,d);a[c]=!0}},Mia=function(a,b,c){if(b)for(var d=0;d<b.length;d++)Lia(a,"on"+b[d],c);else{b=[];for(d in a)d.slice(0,2)=="on"&&b.push(d);
for(d=0;d<b.length;d++)Lia(a,b[d],c)}},ug=function(a){var b=sg[a];if(b){sg[og(a)]=b;sg[a]=function(){var e=Fia(arguments,a);switch(e.length){case 0:this[tg]=new b;break;case 1:this[tg]=new b(e[0]);break;case 2:this[tg]=new b(e[0],e[1]);break;case 3:this[tg]=new b(e[0],e[1],e[2]);break;case 4:this[tg]=new b(e[0],e[1],e[2],e[3]);break;default:throw Error("xa");}};rg(sg[a],b);var c=new b(function(){}),d;for(d in c)a==="XMLHttpRequest"&&d==="responseBlob"||function(e){typeof c[e]==="function"?sg[a].prototype[e]=
function(){return this[tg][e].apply(this[tg],arguments)}:Kia(sg[a].prototype,e,{set:function(f){typeof f==="function"?(this[tg][e]=Eia(f,a+"."+e),rg(this[tg][e],f)):this[tg][e]=f},get:function(){return this[tg][e]}})}(d);for(d in b)d!=="prototype"&&b.hasOwnProperty(d)&&(sg[a][d]=b[d])}},vg=function(a,b,c){for(var d=a;d&&!d.hasOwnProperty(b);)d=Nia(d);!d&&a[b]&&(d=a);a=og(b);var e=null;if(d&&(!(e=d[a])||!d.hasOwnProperty(a))){e=d[a]=d[b];var f=d&&qg(d,b);if(Gia(f)){var h=c(e,a,b);d[b]=function(){return h(this,
arguments)};rg(d[b],e)}}return e},Oia=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=vg(a,b,function(f){return function(h,k){var q=c(h,k);return q.cbIdx>=0&&typeof k[q.cbIdx]==="function"?Zone.current.scheduleMacroTask(q.name,k[q.cbIdx],q,d,void 0):f.apply(h,k)}})},rg=function(a,b){a[og("OriginalDelegate")]=b},Ria=function(){if(Pia)return Qia;Pia=!0;try{var a=wg.navigator.userAgent;if(a.indexOf("MSIE ")!==
-1||a.indexOf("Trident/")!==-1||a.indexOf("Edge/")!==-1)Qia=!0}catch(b){}return Qia},Sia=function(a,b,c){if(!c||c.length===0)return b;c=c.filter(function(e){return e.target===a});if(c.length===0)return b;var d=c[0].ignoreProperties;return b.filter(function(e){return d.indexOf(e)===-1})},Tia=function(a){return Object.getOwnPropertyNames(a).filter(function(b){return b.startsWith("on")&&b.length>2}).map(function(b){return b.substring(2)})},Uia=function(a,b){var c=(b?b(a):a)+"false";b=(b?b(a):a)+"true";
c=xg+c;b=xg+b;yg[a]={};yg[a]["false"]=c;yg[a]["true"]=b},aja=function(a,b,c,d){function e(ia,la,ya){if(la=la||a.event){ia=ia||la.target||a;var Ia=ia[yg[la.type][ya?"true":"false"]];if(Ia){ya=[];if(Ia.length===1)(la=H(Ia[0],ia,la))&&ya.push(la);else{Ia=Ia.slice();for(var Pa=0;Pa<Ia.length&&(!la||la[Via]!==!0);Pa++){var gb=H(Ia[Pa],ia,la);gb&&ya.push(gb)}}if(ya.length===1)throw ya[0];la={};for(ia=0;ia<ya.length;la={err$jscomp$36:void 0},ia++)la.err$jscomp$36=ya[ia],b.nativeScheduleMicroTask(function(ua){return function(){throw ua.err$jscomp$36;
}}(la))}}}function f(ia,la){function ya(Nb,Cc){return Cc?typeof Nb==="boolean"?{capture:Nb,passive:!0}:Nb?typeof Nb==="object"&&Nb.passive!==!1?Object.assign({},Nb,{passive:!0}):Nb:{passive:!0}:Nb}function Ia(Nb){if(typeof Nb==="object"&&Nb!==null){var Cc=Object.assign({},Nb);Nb.signal&&(Cc.signal=Nb.signal);return Cc}return Nb}if(!ia)return!1;var Pa=!0;la&&la.useG!==void 0&&(Pa=la.useG);var gb=la&&la.vh,ua=!0;la&&la.chkDup!==void 0&&(ua=la.chkDup);var Ea=!1;la&&la.rt!==void 0&&(Ea=la.rt);for(var Ha=
ia;Ha&&!Ha.hasOwnProperty(h);)Ha=Nia(Ha);!Ha&&ia[h]&&(Ha=ia);if(!Ha||Ha[A])return!1;var mb=la&&la.eventNameToString,nb={},Lb=Ha[A]=Ha[h],bc=Ha[og(k)]=Ha[k];ia=Ha[og(q)]=Ha[q];var yc=Ha[og(u)]=Ha[u],kc;la&&la.prepend&&(kc=Ha[og(la.prepend)]=Ha[la.prepend]);var Ee=function(Nb){if(!Nb.isRemoved){var Cc=yg[Nb.eventName],Ec;Cc&&(Ec=Cc[Nb.capture?"true":"false"]);if(Cc=Ec&&Nb.target[Ec])for(var Md=0;Md<Cc.length;Md++)if(Cc[Md]===Nb){Cc.splice(Md,1);Nb.isRemoved=!0;Nb.removeAbortListener&&(Nb.removeAbortListener(),
Nb.removeAbortListener=null);Cc.length===0&&(Nb.allRemoved=!0,Nb.target[Ec]=null);break}}if(Nb.allRemoved)return bc.call(Nb.target,Nb.eventName,Nb.capture?P:O,Nb.options)},yb=function(Nb){return Lb.call(nb.target,nb.eventName,Nb.invoke,nb.options)},Tb=function(Nb){return kc.call(nb.target,nb.eventName,Nb.invoke,nb.options)},cb=function(Nb){return bc.call(Nb.target,Nb.eventName,Nb.invoke,Nb.options)};Ee=Pa?Ee:cb;cb=function(Nb,Cc){var Ec=typeof Cc;return Ec==="function"&&Nb.callback===Cc||Ec==="object"&&
Nb.originalDelegate===Cc};var dc=(la==null?void 0:la.diff)||cb,uc=Zone[og("UNPATCHED_EVENTS")],nd=a[og("PASSIVE_EVENTS")];cb=function(Nb,Cc,Ec,Md,Ed,Hf){Ed=Ed===void 0?!1:Ed;Hf=Hf===void 0?!1:Hf;return function(){var xh=this||a,Vg=arguments[0];la&&la.transferEventName&&(Vg=la.transferEventName(Vg));var Uh=arguments[1];if(!Uh||Wia&&Vg==="uncaughtException")return Nb.apply(this,arguments);var L$=!1;if(typeof Uh!=="function"){if(!Uh.handleEvent)return Nb.apply(this,arguments);L$=!0}if(!gb||gb(Nb,Uh,
xh,arguments)){var lA=!!nd&&nd.indexOf(Vg)!==-1,ao=Ia(ya(arguments[2],lA)),Ov=ao==null?void 0:ao.signal;if(Ov==null||!Ov.aborted){if(uc)for(var HF=0;HF<uc.length;HF++)if(Vg===uc[HF])return lA?Nb.call(xh,Vg,Uh,ao):Nb.apply(this,arguments);lA=ao?typeof ao==="boolean"?!0:ao.capture:!1;HF=ao&&typeof ao==="object"?ao.once:!1;var Nla=Zone.current,rp=yg[Vg];rp||(Uia(Vg,mb),rp=yg[Vg]);var gt=rp[lA?"true":"false"];rp=xh[gt];var Pv=!1;if(rp){if(Pv=!0,ua)for(gt=0;gt<rp.length;gt++)if(dc(rp[gt],Uh))return}else rp=
xh[gt]=[];var TM;gt=xh.constructor.name;var M$=Xia[gt];M$&&(TM=M$[Vg]);TM||(TM=gt+Cc+(mb?mb(Vg):Vg));nb.options=ao;HF&&(nb.options.once=!1);nb.target=xh;nb.capture=lA;nb.eventName=Vg;nb.isExisting=Pv;if(Pv=Pa?Yia:void 0)Pv.taskData=nb;Ov&&(nb.options.signal=void 0);var bo=Nla.scheduleEventTask(TM,Uh,Pv,Ec,Md);if(Ov){nb.options.signal=Ov;var Ola=function(){return bo.zone.cancelTask(bo)};Nb.call(Ov,"abort",Ola,{once:!0});bo.removeAbortListener=function(){return Ov.removeEventListener("abort",Ola)}}nb.target=
null;Pv&&(Pv.taskData=null);HF&&(nb.options.once=!0);typeof bo.options!=="boolean"&&(bo.options=ao);bo.target=xh;bo.capture=lA;bo.eventName=Vg;L$&&(bo.originalDelegate=Uh);Hf?rp.unshift(bo):rp.push(bo);if(Ed)return xh}}}};Ha[h]=cb(Lb,D,Pa?function(){if(!nb.isExisting)return Lb.call(nb.target,nb.eventName,nb.capture?P:O,nb.options)}:yb,Ee,Ea);kc&&(Ha.prependListener=cb(kc,".prependListener:",Tb,Ee,Ea,!0));Ha[k]=function(){var Nb=this||a,Cc=arguments[0];la&&la.transferEventName&&(Cc=la.transferEventName(Cc));
var Ec=arguments[2];Ec=Ec?typeof Ec==="boolean"?!0:Ec.capture:!1;var Md=arguments[1];if(!Md)return bc.apply(this,arguments);if(!gb||gb(bc,Md,Nb,arguments)){var Ed=yg[Cc],Hf;Ed&&(Hf=Ed[Ec?"true":"false"]);if(Ed=Hf&&Nb[Hf])for(var xh=0;xh<Ed.length;xh++){var Vg=Ed[xh];if(dc(Vg,Md)){Ed.splice(xh,1);Vg.isRemoved=!0;Ed.length===0&&(Vg.allRemoved=!0,Nb[Hf]=null,Ec||typeof Cc!=="string"||(Nb[xg+"ON_PROPERTY"+Cc]=null));Vg.zone.cancelTask(Vg);if(Ea)return Nb;return}}return bc.apply(this,arguments)}};Ha[q]=
function(){var Nb=this||a,Cc=arguments[0];la&&la.transferEventName&&(Cc=la.transferEventName(Cc));var Ec=[];Nb=Zia(Nb,mb?mb(Cc):Cc);for(Cc=0;Cc<Nb.length;Cc++){var Md=Nb[Cc];Ec.push(Md.originalDelegate?Md.originalDelegate:Md.callback)}return Ec};Ha[u]=function(){var Nb=this||a,Cc=arguments[0];if(Cc){la&&la.transferEventName&&(Cc=la.transferEventName(Cc));var Ec=yg[Cc];if(Ec){var Md=Nb[Ec["false"]];Nb=Nb[Ec["true"]];if(Md)for(Md=Md.slice(),Ec=0;Ec<Md.length;Ec++){var Ed=Md[Ec];this[k].call(this,Cc,
Ed.originalDelegate?Ed.originalDelegate:Ed.callback,Ed.options)}if(Nb)for(Nb=Nb.slice(),Md=0;Md<Nb.length;Md++)Ec=Nb[Md],this[k].call(this,Cc,Ec.originalDelegate?Ec.originalDelegate:Ec.callback,Ec.options)}}else{Cc=Object.keys(Nb);for(Nb=0;Nb<Cc.length;Nb++)(Md=(Md=$ia.exec(Cc[Nb]))&&Md[1])&&Md!=="removeListener"&&this[u].call(this,Md);this[u].call(this,"removeListener")}if(Ea)return this};rg(Ha[h],Lb);rg(Ha[k],bc);yc&&rg(Ha[u],yc);ia&&rg(Ha[q],ia);return!0}for(var h=d&&d.add||"addEventListener",
k=d&&d.rm||"removeEventListener",q=d&&d.listeners||"eventListeners",u=d&&d.rmAll||"removeAllListeners",A=og(h),D="."+h+":",H=function(ia,la,ya){if(!ia.isRemoved){var Ia=ia.callback;typeof Ia==="object"&&Ia.handleEvent&&(ia.callback=function(ua){return Ia.handleEvent(ua)},ia.originalDelegate=Ia);try{ia.invoke(ia,la,[ya])}catch(ua){var Pa=ua}var gb=ia.options;gb&&typeof gb==="object"&&gb.once&&la[k].call(la,ya.type,ia.originalDelegate?ia.originalDelegate:ia.callback,gb);return Pa}},O=function(ia){return e(this,
ia,!1)},P=function(ia){return e(this,ia,!0)},S=[],aa=0;aa<c.length;aa++)S[aa]=f(c[aa],d);return S},Zia=function(a,b){if(!b){var c=[],d;for(d in a){var e=$ia.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=yg[b];c||(Uia(b),c=yg[b]);b=a[c["false"]];a=a[c["true"]];return b?a?b.concat(a):b.slice():a?a.slice():[]},bja=function(a,b){(a=a.Event)&&a.prototype&&b.patchMethod(a.prototype,"stopImmediatePropagation",function(c){return function(d,e){d[Via]=!0;c&&
c.apply(d,e)}})},gja=function(){zg.__load_patch("util",function(a,b,c){var d=Tia(a);c.patchOnProperties=Mia;c.patchMethod=vg;c.bindArguments=Fia;c.patchMacroTask=Oia;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=bja;c.patchEventTarget=aja;c.isIEOrEdge=Ria;c.ObjectDefineProperty=Kia;c.ObjectGetOwnPropertyDescriptor=qg;c.ObjectCreate=cja;c.ArraySlice=dja;c.patchClass=ug;c.wrapWithCurrentZone=Eia;c.filterProperties=
Sia;c.attachOriginToPatched=rg;c._redefineProperty=Object.defineProperty;c.patchCallbacks=Cia;c.getGlobalObjects=function(){return{globalSources:Xia,zoneSymbolEventNames:yg,eventNames:d,isBrowser:eja,isMix:fja,isNode:Wia,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:xg,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}})},nja=function(){hja=Zone.__symbol__;ija=Object[hja("defineProperty")]=Object.defineProperty;jja=Object[hja("getOwnPropertyDescriptor")]=
Object.getOwnPropertyDescriptor;kja=Object.create;Ag=hja("unconfigurables");Object.defineProperty=function(a,b,c){if(a&&a[Ag]&&a[Ag][b])throw new TypeError("ya`"+b+"`"+a);var d=c.configurable;b!=="prototype"&&(c=lja(a,b,c));return mja(a,b,c,d)};Object.defineProperties=function(a,b){Object.keys(b).forEach(function(f){Object.defineProperty(a,f,b[f])});for(var c=l(Object.getOwnPropertySymbols(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0;((e=Object.getOwnPropertyDescriptor(b,d))==null?0:
e.enumerable)&&Object.defineProperty(a,d,b[d])}return a};Object.create=function(a,b){typeof b!=="object"||Object.isFrozen(b)||Object.keys(b).forEach(function(c){b[c]=lja(a,c,b[c])});return kja(a,b)};Object.getOwnPropertyDescriptor=function(a,b){var c=jja(a,b);c&&a&&a[Ag]&&a[Ag][b]&&(c.configurable=!1);return c}},oja=function(a,b,c){var d=c.configurable;c=lja(a,b,c);return mja(a,b,c,d)},lja=function(a,b,c){Object.isFrozen(c)||(c.configurable=!0);c.configurable||(a[Ag]||Object.isFrozen(a)||ija(a,Ag,
{writable:!0,value:{}}),a[Ag]&&(a[Ag][b]=!0));return c},mja=function(a,b,c,d){try{return ija(a,b,c)}catch(e){if(c.configurable){typeof d=="undefined"?delete c.configurable:c.configurable=d;try{return ija(a,b,c)}catch(f){d=!1;if(b==="createdCallback"||b==="attachedCallback"||b==="detachedCallback"||b==="attributeChangedCallback")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;}},pja=function(a,b){var c=b.getGlobalObjects(),d=c.eventNames,e=c.globalSources,f=c.zoneSymbolEventNames,h=c.TRUE_STR,k=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 A="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=A.map(function(la){return"HTML"+la+"Element"}).concat(u):
a.EventTarget?c.push("EventTarget"):c=u;var D=a.__Zone_disable_IE_check||!1,H=a.__Zone_enable_cross_context_check||!1,O=b.isIEOrEdge(),P={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 S=d[u],aa=q+(S+k),ia=q+(S+h);f[S]={};f[S][k]=aa;f[S][h]=ia}for(f=0;f<A.length;f++)for(h=
A[f],k=e[h]={},q=0;q<d.length;q++)u=d[q],k[u]=h+".addEventListener:"+u;d=[];for(e=0;e<c.length;e++)A=a[c[e]],d.push(A&&A.prototype);b.patchEventTarget(a,b,d,{vh:function(la,ya,Ia,Pa){if(!D&&O)if(H)try{var gb=ya.toString();if(gb==="[object FunctionWrapper]"||gb=="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }")return la.apply(Ia,Pa),!1}catch(ua){return la.apply(Ia,Pa),!1}else{if(ya=ya.toString(),ya==="[object FunctionWrapper]"||ya=="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }")return la.apply(Ia,
Pa),!1}else if(H)try{ya.toString()}catch(ua){return la.apply(Ia,Pa),!1}return!0},transferEventName:function(la){return P[la]||la}});Zone[b.symbol("patchEventTarget")]=!!a.EventTarget},qja=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(k,q){var u=arguments.length>1?new f(k,q):new f(k),A=a.ObjectGetOwnPropertyDescriptor(u,"onmessage");if(A&&A.configurable===!1){var D=
a.ObjectCreate(u);var H=u;[d,e,"send","close"].forEach(function(O){D[O]=function(){var P=a.ArraySlice.call(arguments);if(O===d||O===e){var S=P.length>0?P[0]:void 0;S&&(S=Zone.__symbol__("ON_PROPERTY"+S),u[S]=D[S])}return u[O].apply(u,P)}})}else D=u;a.patchOnProperties(D,["close","error","message","open"],H);return D};c=b.WebSocket;for(var h in f)c[h]=f[h]},rja=function(a,b){var c=a.getGlobalObjects(),d=c.isMix;if((c.isBrowser||d)&&!a.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&
typeof Element!=="undefined"){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},tja=function(a){for(var b=a.symbol("unbound"),c={},d=0;d<sja.length;c={onproperty:void 0},d++){var e=sja[d];
c.onproperty="on"+e;self.addEventListener(e,function(f){return function(h){h=h.target;var k;for(k=h?h.constructor.name+"."+f.onproperty:"unknown."+f.onproperty;h;){if(h[f.onproperty]&&!h[f.onproperty][b]){var q=a.wrapWithCurrentZone(h[f.onproperty],k);q[b]=h[f.onproperty];h[f.onproperty]=q}h=h.parentElement}}}(c),!0)}},uja=function(){var a=typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};a[(a.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=
function(){var b=a.Zone;b.__load_patch("defineProperty",function(c,d,e){e._redefineProperty=oja;nja()});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){pja(c,e);d=e.getGlobalObjects();var f=d.isMix;d.isNode&&!f||rja(e,
c)||(d=typeof WebSocket!=="undefined",tja(e),e.patchClass("XMLHttpRequest"),d&&qja(e,c),Zone[e.symbol("patchEvents")]=!0)})}},vja=function(a,b){b.patchMethod(a,"queueMicrotask",function(){return function(c,d){Zone.current.scheduleMicroTask("queueMicrotask",d[0])}})},Bg=function(a,b,c,d){function e(u){var A=u.data;A.args[0]=function(){return u.invoke.apply(this,arguments)};var D=h.apply(a,A.args);typeof D==="number"?A.handleId=D:(A.handle=D,A.isRefreshable=typeof D.refresh==="function");return u}function f(u){u=
u.data;var A=u.handleId,D;return k.call(a,(D=u.handle)!=null?D:A)}var h=null,k=null;b+=d;c+=d;var q={};h=vg(a,b,function(u){return function(A,D){if(typeof D[0]==="function"){var H={isRefreshable:!1,isPeriodic:d==="Interval",delay:d==="Timeout"||d==="Interval"?D[1]||0:void 0,args:D},O=D[0];D[0]=function(){try{return O.apply(this,arguments)}finally{var ya=H.handle,Ia=H.handleId,Pa=H.isRefreshable;H.isPeriodic||Pa||(Ia?delete q[Ia]:ya&&(ya[wja]=null))}};var P=Zone.current.scheduleMacroTask(b,D[0],H,
e,f);if(!P)return P;var S=P.data;A=S.handleId;D=S.handle;var aa=S.isRefreshable;S=S.isPeriodic;if(A)q[A]=P;else if(D&&(D[wja]=P,aa&&!S)){var ia=D.refresh;D.refresh=function(){var ya=P.zone,Ia=P.state;Ia==="notScheduled"?(P._state="scheduled",ya._updateTaskCount(P,1)):Ia==="running"&&(P._state="scheduling");return ia.call(this)}}var la;return(la=D!=null?D:A)!=null?la:P}return u.apply(a,D)}});k=vg(a,c,function(u){return function(A,D){A=D[0];if(typeof A==="number"){var H=q[A];delete q[A]}else(H=A==null?
void 0:A[wja])?A[wja]=null:H=A;var O;((O=H)==null?0:O.type)?H.cancelFn&&H.zone.cancelTask(H):u.apply(a,D)}})},zja=function(){var a=zg;a.__load_patch("legacy",function(b){(b=b[a.__symbol__("legacyPatch")])&&b()});a.__load_patch("timers",function(b){Bg(b,"set","clear","Timeout");Bg(b,"set","clear","Interval");Bg(b,"set","clear","Immediate")});a.__load_patch("requestAnimationFrame",function(b){Bg(b,"request","cancel","AnimationFrame");Bg(b,"mozRequest","mozCancel","AnimationFrame");Bg(b,"webkitRequest",
"webkitCancel","AnimationFrame")});a.__load_patch("blocking",function(b,c){for(var d=["alert","prompt","confirm"],e=0;e<d.length;e++)vg(b,d[e],function(f,h,k){return function(q,u){return c.current.run(f,b,u,k)}})});a.__load_patch("EventTarget",function(b,c,d){d.patchEventPrototype(b,d);if(!Zone[d.symbol("patchEventTarget")]){var e=d.getGlobalObjects();c=e.eventNames;var f=e.zoneSymbolEventNames,h=e.TRUE_STR,k=e.FALSE_STR;e=e.ZONE_SYMBOL_PREFIX;for(var q=0;q<c.length;q++){var u=c[q],A=e+(u+k),D=e+
(u+h);f[u]={};f[u][k]=A;f[u][h]=D}(c=b.EventTarget)&&c.prototype&&d.patchEventTarget(b,d,[c&&c.prototype])}(c=b.XMLHttpRequestEventTarget)&&c.prototype&&d.patchEventTarget(b,d,[c.prototype])});a.__load_patch("MutationObserver",function(){ug("MutationObserver");ug("WebKitMutationObserver")});a.__load_patch("IntersectionObserver",function(){ug("IntersectionObserver")});a.__load_patch("FileReader",function(){ug("FileReader")});a.__load_patch("on_property",function(b,c,d){if((!Wia||fja)&&!Zone[d.symbol("patchEvents")]){c=
b.__Zone_ignore_on_properties;d=[];if(eja){var e=window;d=d.concat("Document SVGElement Element HTMLElement HTMLBodyElement HTMLMediaElement HTMLFrameSetElement HTMLFrameElement HTMLIFrameElement HTMLMarqueeElement Worker".split(" "));var f=[],h=Tia(e),k=c?c.concat(f):c;f=Nia(e);e&&(h=Sia(e,h,k),Mia(e,h,f))}d=d.concat("XMLHttpRequest XMLHttpRequestEventTarget IDBIndex IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor WebSocket".split(" "));for(e=0;e<d.length;e++)if(f=b[d[e]],h=void 0,
(h=f)==null?0:h.prototype)h=f.prototype,f=Tia(f.prototype),h&&(f=Sia(h,f,c),Mia(h,f,void 0))}});a.__load_patch("customElements",function(b,c,d){c=d.getGlobalObjects();var e=c.isMix;(c.isBrowser||e)&&b.customElements&&"customElements"in b&&d.patchCallbacks(d,b.customElements,"customElements","define","connectedCallback disconnectedCallback adoptedCallback attributeChangedCallback formAssociatedCallback formDisabledCallback formResetCallback formStateRestoreCallback".split(" "))});a.__load_patch("XHR",
function(b,c){(function(u){function A(Pa){var gb=Pa.data,ua=gb.target;ua[h]=!1;ua[q]=!1;var Ea=ua[f];P||(P=ua[xja],S=ua[yja]);Ea&&S.call(ua,"readystatechange",Ea);Ea=ua[f]=function(){if(ua.readyState===ua.DONE)if(!gb.aborted&&ua[h]&&Pa.state==="scheduled"){var Ha=ua[c.__symbol__("loadfalse")];if(ua.status!==0&&Ha&&Ha.length>0){var mb=Pa.invoke;Pa.invoke=function(){for(var nb=ua[c.__symbol__("loadfalse")],Lb=0;Lb<nb.length;Lb++)nb[Lb]===Pa&&nb.splice(Lb,1);gb.aborted||Pa.state!=="scheduled"||mb.call(Pa)};
Ha.push(Pa)}else Pa.invoke()}else gb.aborted||ua[h]!==!1||(ua[q]=!0)};P.call(ua,"readystatechange",Ea);ua[d]||(ua[d]=Pa);ya.apply(ua,gb.args);ua[h]=!0;return Pa}function D(){}function H(Pa){Pa=Pa.data;Pa.aborted=!0;return Ia.apply(Pa.target,Pa.args)}var O=u.XMLHttpRequest;if(O){O=O.prototype;var P=O[xja],S=O[yja];!P&&(u=u.XMLHttpRequestEventTarget)&&(u=u.prototype,P=u[xja],S=u[yja]);var aa=vg(O,"open",function(){return function(Pa,gb){Pa[e]=gb[2]==0;Pa[k]=gb[1];return aa.apply(Pa,gb)}}),ia=og("fetchTaskAborting"),
la=og("fetchTaskScheduling"),ya=vg(O,"send",function(){return function(Pa,gb){if(c.current[la]===!0||Pa[e])return ya.apply(Pa,gb);gb={target:Pa,url:Pa[k],isPeriodic:!1,args:gb,aborted:!1};var ua=Zone.current.scheduleMacroTask("XMLHttpRequest.send",D,gb,A,H);Pa&&Pa[q]===!0&&!gb.aborted&&ua.state==="scheduled"&&ua.invoke()}}),Ia=vg(O,"abort",function(){return function(Pa,gb){var ua=Pa[d];if(ua&&typeof ua.type=="string")ua.cancelFn==null||ua.data&&ua.data.aborted||ua.zone.cancelTask(ua);else if(c.current[ia]===
!0)return Ia.apply(Pa,gb)}})}})(b);var d=og("xhrTask"),e=og("xhrSync"),f=og("xhrListener"),h=og("xhrScheduled"),k=og("xhrURL"),q=og("xhrErrorBeforeScheduled")});a.__load_patch("geolocation",function(b){b.navigator&&b.navigator.geolocation&&Hia(b.navigator.geolocation)});a.__load_patch("PromiseRejectionEvent",function(b,c){function d(e){return function(f){Zia(b,e).forEach(function(h){var k=b.PromiseRejectionEvent;k&&(k=new k(e,{promise:f.promise,reason:f.rejection}),h.invoke(k))})}}b.PromiseRejectionEvent&&
(c[og("unhandledPromiseRejectionHandler")]=d("unhandledrejection"),c[og("rejectionHandledHandler")]=d("rejectionhandled"))});a.__load_patch("queueMicrotask",function(b,c,d){vja(b,d)})},Aja=function(){zg.__load_patch("canvas",function(a,b,c){a=a.HTMLCanvasElement;typeof a!=="undefined"&&a.prototype&&a.prototype.toBlob&&c.patchMacroTask(a.prototype,"toBlob",function(d,e){return{name:"HTMLCanvasElement.toBlob",target:d,cbIdx:0,args:e}})})},Bja=function(){zg.__load_patch("Error",function(a,b,c){function d(ya){for(var Ia=
{zoneName:ya.zone.name},Pa=Ia;ya.parent;){ya=ya.parent;var gb={zoneName:ya.zone.name};Ia=Ia.parent=gb}return Pa}function e(ya,Ia,Pa){Pa=Pa===void 0?!0:Pa;ya=ya.split("\n");for(var gb=0;ya[gb]!==A&&ya[gb]!==D&&ya[gb]!==H&&ya[gb]!==O&&ya[gb]!==P&&gb<ya.length;)gb++;for(;gb<ya.length&&Ia;gb++){var ua=ya[gb];if(ua.trim())switch(u[ua]){case h.zoneJsInternal:ya.splice(gb,1);gb--;break;case h.transition:Ia.parent?Ia=Ia.parent:Ia=null;ya.splice(gb,1);gb--;break;default:ya[gb]+=Pa?" ["+Ia.zone.name+"]":" ["+
Ia.zoneName+"]"}}return ya.join("\n")}function f(){var ya=this,Ia=q.apply(this,arguments),Pa=Ia.originalStack=Ia.stack;if(f.stackRewrite&&Pa){var gb=c.currentZoneFrame();if(S==="lazy")Ia[c.symbol("zoneFrameNames")]=d(gb);else if(S==="default")try{Ia.stack=Ia.zoneAwareStack=e(Pa,gb)}catch(ua){}}return this instanceof q&&this.constructor!=q?(Object.keys(Ia).concat("stack","message","cause").forEach(function(ua){var Ea=Ia[ua];if(Ea!==void 0)try{ya[ua]=Ea}catch(Ha){}}),this):Ia}var h={zoneJsInternal:0,
transition:1},k=c.symbol("zoneJsInternalStackFrames"),q=a[c.symbol("Error")]=a.Error,u={},A,D,H,O,P;a.Error=f;var S=a.__Zone_Error_BlacklistedStackFrames_policy||a.__Zone_Error_ZoneJsInternalStackFrames_policy||"default";f.prototype=q.prototype;f[k]=u;f.stackRewrite=!1;var aa=c.symbol("zoneAwareStack");S==="lazy"&&Object.defineProperty(f.prototype,"zoneAwareStack",{configurable:!0,enumerable:!0,get:function(){this[aa]||(this[aa]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1));return this[aa]},
set:function(ya){this.originalStack=ya;this[aa]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1)}});var ia=["stackTraceLimit","captureStackTrace","prepareStackTrace"];(a=Object.keys(q))&&a.forEach(function(ya){ia.filter(function(Ia){return Ia===ya}).length===0&&Object.defineProperty(f,ya,{get:function(){return q[ya]},set:function(Ia){q[ya]=Ia}})});q.hasOwnProperty("stackTraceLimit")&&(q.stackTraceLimit=Math.max(q.stackTraceLimit,15),Object.defineProperty(f,"stackTraceLimit",{get:function(){return q.stackTraceLimit},
set:function(ya){return q.stackTraceLimit=ya}}));q.hasOwnProperty("captureStackTrace")&&Object.defineProperty(f,"captureStackTrace",{value:function(ya,Ia){q.captureStackTrace(ya,Ia)}});Object.defineProperty(f,"prepareStackTrace",{get:function(){return q.prepareStackTrace},set:function(ya){return ya&&typeof ya==="function"?q.prepareStackTrace=function(Ia,Pa){if(Pa)for(var gb=0;gb<Pa.length;gb++)if(Pa[gb].getFunctionName()==="zoneCaptureStackTrace"){Pa.splice(gb,1);break}return ya.call(this,Ia,Pa)}:
q.prepareStackTrace=ya}});if(S!=="disable"){var la=b.current.fork({name:"detect",onHandleError:function(ya,Ia,Pa,gb){if(gb.originalStack&&Error===f)for(ya=gb.originalStack.split(/\n/),gb=Pa=Ia=!1;ya.length;){var ua=ya.shift();if(/:\d+:\d+/.test(ua)||ua==="ZoneAwareError"){var Ea=ua.split("(")[0].split("@")[0],Ha=h.transition;Ea.indexOf("ZoneAwareError")!==-1&&(Ea.indexOf("new ZoneAwareError")!==-1?(A=ua,D=ua.replace("new ZoneAwareError","new Error.ZoneAwareError")):(H=ua,O=ua.replace("Error.",""),
ua.indexOf("Error.ZoneAwareError")===-1&&(P=ua.replace("ZoneAwareError","Error.ZoneAwareError"))),u[D]=h.zoneJsInternal);Ea.indexOf("runGuarded")!==-1?Pa=!0:Ea.indexOf("runTask")!==-1?gb=!0:Ea.indexOf("run")!==-1?Ia=!0:Ha=h.zoneJsInternal;u[ua]=Ha;if(Ia&&Pa&&gb){f.stackRewrite=!0;break}}}return!1}}).fork({name:"child",onScheduleTask:function(ya,Ia,Pa,gb){return ya.scheduleTask(Pa,gb)},onInvokeTask:function(ya,Ia,Pa,gb,ua,Ea){return ya.invokeTask(Pa,gb,ua,Ea)},onCancelTask:function(ya,Ia,Pa,gb){return ya.cancelTask(Pa,
gb)},onInvoke:function(ya,Ia,Pa,gb,ua,Ea,Ha){return ya.invoke(Pa,gb,ua,Ea,Ha)}});b=Error.stackTraceLimit;Error.stackTraceLimit=100;la.run(function(){la.runGuarded(function(){var ya=function(){};la.scheduleEventTask(k,function(){la.scheduleMacroTask(k,function(){la.scheduleMicroTask(k,function(){throw Error();},void 0,function(Ia){Ia._transitionTo=ya;Ia.invoke()});la.scheduleMicroTask(k,function(){throw Error();},void 0,function(Ia){Ia._transitionTo=ya;Ia.invoke()})},void 0,function(Ia){Ia._transitionTo=
ya;Ia.invoke()},function(){})},void 0,function(Ia){Ia._transitionTo=ya;Ia.invoke()},function(){})})});Error.stackTraceLimit=b}})},Cja=function(){zg.__load_patch("ZoneAwarePromise",function(a,b,c){function d(yb){if(yb&&yb.toString===Object.prototype.toString){var Tb=yb.constructor&&yb.constructor.name;return(Tb?Tb:"")+": "+JSON.stringify(yb)}return yb?yb.toString():Object.prototype.toString.call(yb)}function e(yb){c.onUnhandledError(yb);try{var Tb=b[Ia];typeof Tb==="function"&&Tb.call(this,yb)}catch(cb){}}
function f(yb){return yb}function h(yb){return kc.reject(yb)}function k(yb,Tb){return function(cb){try{q(yb,Tb,cb)}catch(dc){q(yb,!1,dc)}}}function q(yb,Tb,cb){var dc=mb();if(yb===cb)throw new TypeError("Ba");if(yb[Pa]===null){var uc=null;try{if(typeof cb==="object"||typeof cb==="function")uc=cb&&cb.then}catch(nd){return dc(function(){q(yb,!1,nd)})(),yb}if(Tb!==!1&&cb instanceof kc&&cb.hasOwnProperty(Pa)&&cb.hasOwnProperty(gb)&&cb[Pa]!==null)u(cb),q(yb,cb[Pa],cb[gb]);else if(Tb!==!1&&typeof uc===
"function")try{uc.call(cb,dc(k(yb,Tb)),dc(k(yb,!1)))}catch(nd){dc(function(){q(yb,!1,nd)})()}else{yb[Pa]=Tb;dc=yb[gb];yb[gb]=cb;yb[ua]===ua&&Tb===!0&&(yb[Pa]=yb[Ha],yb[gb]=yb[Ea]);Tb===!1&&cb instanceof Error&&(uc=b.currentTask&&b.currentTask.data&&b.currentTask.data.__creationTrace__)&&P(cb,nb,{configurable:!0,enumerable:!1,writable:!0,value:uc});for(uc=0;uc<dc.length;)A(yb,dc[uc++],dc[uc++],dc[uc++],dc[uc++]);if(dc.length==0&&Tb==0){yb[Pa]=0;Tb=cb;try{throw Error("Ca`"+d(cb)+"`"+(cb&&cb.stack?"\n"+
cb.stack:""));}catch(nd){Tb=nd}ia&&(Tb.throwOriginal=!0);Tb.rejection=cb;Tb.promise=yb;Tb.zone=b.current;Tb.task=b.currentTask;aa.push(Tb);c.scheduleMicroTask()}}}return yb}function u(yb){if(yb[Pa]===0){try{var Tb=b[Lb];Tb&&typeof Tb==="function"&&Tb.call(this,{rejection:yb[gb],promise:yb})}catch(cb){}yb[Pa]=!1;for(Tb=0;Tb<aa.length;Tb++)yb===aa[Tb].promise&&aa.splice(Tb,1)}}function A(yb,Tb,cb,dc,uc){u(yb);var nd=yb[Pa],Nb=nd?typeof dc==="function"?dc:f:typeof uc==="function"?uc:h;Tb.scheduleMicroTask("Promise.then",
function(){try{var Cc=yb[gb],Ec=!!cb&&ua===cb[ua];Ec&&(cb[Ea]=Cc,cb[Ha]=nd);var Md=Tb.run(Nb,void 0,Ec&&Nb!==h&&Nb!==f?[]:[Cc]);q(cb,!0,Md)}catch(Ed){q(cb,!1,Ed)}},cb)}function D(yb){var Tb=yb.prototype,cb=O(Tb,"then");if(!cb||cb.writable!==!1&&cb.configurable){var dc=Tb.then;Tb[ya]=dc;yb.prototype.then=function(uc,nd){var Nb=this;return(new kc(function(Cc,Ec){dc.call(Nb,Cc,Ec)})).then(uc,nd)};yb[Ee]=!0}}function H(yb){return function(Tb,cb){Tb=yb.apply(Tb,cb);if(Tb instanceof kc)return Tb;cb=Tb.constructor;
cb[Ee]||D(cb);return Tb}}var O=Object.getOwnPropertyDescriptor,P=Object.defineProperty,S=c.symbol,aa=[],ia=a[S("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,la=S("Promise"),ya=S("then");c.onUnhandledError=function(yb){if(c.showUncaughtError()){var Tb=yb&&yb.rejection;Tb?console.error("Unhandled Promise rejection:",Tb instanceof Error?Tb.message:Tb,"; Zone:",yb.zone.name,"; Task:",yb.task&&yb.task.source,"; Value:",Tb,Tb instanceof Error?Tb.stack:void 0):console.error(yb)}};c.microtaskDrainDone=
function(){for(var yb={};aa.length;yb={uncaughtPromiseError$jscomp$1:void 0}){yb.uncaughtPromiseError$jscomp$1=aa.shift();try{yb.uncaughtPromiseError$jscomp$1.zone.runGuarded(function(Tb){return function(){if(Tb.uncaughtPromiseError$jscomp$1.throwOriginal)throw Tb.uncaughtPromiseError$jscomp$1.rejection;throw Tb.uncaughtPromiseError$jscomp$1;}}(yb))}catch(Tb){e(Tb)}}};var Ia=S("unhandledPromiseRejectionHandler"),Pa=S("state"),gb=S("value"),ua=S("finally"),Ea=S("parentPromiseValue"),Ha=S("parentPromiseState"),
mb=function(){var yb=!1;return function(Tb){return function(){yb||(yb=!0,Tb.apply(null,arguments))}}},nb=S("currentTaskTrace"),Lb=S("rejectionHandledHandler"),bc=function(){},yc=a.AggregateError,kc=function(yb){if(!(this instanceof kc))throw Error("Da");this[Pa]=null;this[gb]=[];try{var Tb=mb();yb&&yb(Tb(k(this,!0)),Tb(k(this,!1)))}catch(cb){q(this,!1,cb)}};kc.toString=function(){return"function ZoneAwarePromise() { [native code] }"};kc.resolve=function(yb){return yb instanceof kc?yb:q(new this(null),
!0,yb)};kc.reject=function(yb){return q(new this(null),!1,yb)};kc.withResolvers=function(){var yb={};yb.promise=new kc(function(Tb,cb){yb.resolve=Tb;yb.reject=cb});return yb};kc.any=function(yb){if(!yb||typeof yb[Symbol.iterator]!=="function")return Promise.reject(new yc([],"All promises were rejected"));var Tb=[],cb=0;try{for(var dc=l(yb),uc=dc.next();!uc.done;uc=dc.next()){var nd=uc.value;cb++;Tb.push(kc.resolve(nd))}}catch(Ec){return Promise.reject(new yc([],"All promises were rejected"))}if(cb===
0)return Promise.reject(new yc([],"All promises were rejected"));var Nb=!1,Cc=[];return new kc(function(Ec,Md){for(var Ed=0;Ed<Tb.length;Ed++)Tb[Ed].then(function(Hf){Nb||(Nb=!0,Ec(Hf))},function(Hf){Cc.push(Hf);cb--;cb===0&&(Nb=!0,Md(new yc(Cc,"All promises were rejected")))})})};kc.race=function(yb){function Tb(Cc){dc(Cc)}function cb(Cc){uc(Cc)}var dc,uc,nd=new this(function(Cc,Ec){dc=Cc;uc=Ec});yb=l(yb);for(var Nb=yb.next();!Nb.done;Nb=yb.next())(Nb=Nb.value)&&typeof Nb.then==="function"||(Nb=
this.resolve(Nb)),Nb.then(Tb,cb);return nd};kc.all=function(yb){return kc.allWithCallback(yb)};kc.allSettled=function(yb){return(this&&this.prototype instanceof kc?this:kc).allWithCallback(yb,{thenCallback:function(Tb){return{status:"fulfilled",value:Tb}},errorCallback:function(Tb){return{status:"rejected",reason:Tb}}})};kc.allWithCallback=function(yb,Tb){var cb,dc,uc=new this(function(Ed,Hf){cb=Ed;dc=Hf}),nd=2,Nb=0,Cc=[];yb=l(yb);for(var Ec=yb.next(),Md={};!Ec.done;Md={curValueIndex:void 0},Ec=yb.next()){(Ec=
Ec.value)&&typeof Ec.then==="function"||(Ec=this.resolve(Ec));Md.curValueIndex=Nb;try{Ec.then(function(Ed){return function(Hf){Cc[Ed.curValueIndex]=Tb?Tb.thenCallback(Hf):Hf;nd--;nd===0&&cb(Cc)}}(Md),function(Ed){return function(Hf){Tb?(Cc[Ed.curValueIndex]=Tb.errorCallback(Hf),nd--,nd===0&&cb(Cc)):dc(Hf)}}(Md))}catch(Ed){dc(Ed)}nd++;Nb++}nd-=2;nd===0&&cb(Cc);return uc};pg.Object.defineProperty(kc.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!0,get:function(){return"Promise"}});pg.Object.defineProperty(kc.prototype,
Symbol.species,{configurable:!0,enumerable:!0,get:function(){return kc}});kc.prototype.then=function(yb,Tb){var cb,dc=(cb=this.constructor)==null?void 0:cb[Symbol.species];dc&&typeof dc==="function"||(dc=this.constructor||kc);cb=new dc(bc);dc=b.current;this[Pa]==null?this[gb].push(dc,cb,yb,Tb):A(this,dc,cb,yb,Tb);return cb};kc.prototype.catch=function(yb){return this.then(null,yb)};kc.prototype.finally=function(yb){var Tb,cb=(Tb=this.constructor)==null?void 0:Tb[Symbol.species];cb&&typeof cb==="function"||
(cb=kc);Tb=new cb(bc);Tb[ua]=ua;cb=b.current;this[Pa]==null?this[gb].push(cb,Tb,yb,yb):A(this,cb,Tb,yb,yb);return Tb};kc.resolve=kc.resolve;kc.reject=kc.reject;kc.race=kc.race;kc.all=kc.all;la=a[la]=a.Promise;a.Promise=kc;var Ee=S("thenPatched");c.patchThen=D;la&&(D(la),vg(a,"fetch",function(yb){return H(yb)}));Promise[b.__symbol__("uncaughtPromiseErrors")]=aa;return kc})},Dja=function(){zg.__load_patch("toString",function(a){var b=Function.prototype.toString,c=og("OriginalDelegate"),d=og("Promise"),
e=og("Error"),f=function(){if(typeof this==="function"){var k=this[c];if(k)return typeof k==="function"?b.call(k):Object.prototype.toString.call(k);if(this===Promise&&(k=a[d])||this===Error&&(k=a[e]))return b.call(k)}return b.call(this)};f[c]=b;Function.prototype.toString=f;var h=Object.prototype.toString;Object.prototype.toString=function(){return typeof Promise==="function"&&this instanceof Promise?"[object Promise]":h.call(this)}})},Cg=function(a){for(var b in a)if(a[b]===Cg)return b;throw Error("$");
},Dg=function(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}},Eg=function(a){return{providers:a.providers||[],imports:a.imports||[]}},Fja=function(a){var b=Eja;return a.hasOwnProperty(b)&&a[b]||null},Gja=function(a){var b;return(a=(b=a==null?void 0:a[Eja])!=null?b:null)?a:null},Ija=function(a){return a&&a.hasOwnProperty(Hja)?a[Hja]:null},Jja=function(a,b){return Object.is(a,b)},Gg=function(a){var b=Fg;Fg=a;return b},Ig=function(a){if(Kja)throw Error("$");if(Fg!==
null){Fg.consumerOnSignalRead(a);var b=Fg.producersTail;if(b===void 0||b.producer!==a){var c=void 0,d=Fg.recomputing;if(d&&(c=b!==void 0?b.nextProducer:Fg.producers,c!==void 0&&c.producer===a)){Fg.producersTail=c;c.lastReadVersion=a.version;return}var e=a.consumersTail,f;if(!(f=e===void 0||e.consumer!==Fg)){if(d){a:{f=Fg;d=f.producersTail;if(d!==void 0){f=f.producers;do{if(f===e){d=!0;break a}if(f===d)break;f=f.nextProducer}while(f!==void 0)}d=!1}d=!d}f=d}f&&(d=Hg(Fg),c={producer:a,consumer:Fg,nextProducer:c,
prevConsumer:e,lastReadVersion:a.version,nextConsumer:void 0},Fg.producersTail=c,b!==void 0?b.nextProducer=c:Fg.producers=c,d&&Lja(a,c))}}},Kg=function(a){if(!Hg(a)||a.dirty)if(a.dirty||a.lastCleanEpoch!==Jg)(a.producerMustRecompute(a)||Mja(a))&&a.producerRecomputeValue(a),a.dirty=!1,a.lastCleanEpoch=Jg},Nja=function(a){if(a.consumers!==void 0){var b=Kja;Kja=!0;try{for(var c=a.consumers;c!==void 0;c=c.nextConsumer){var d=c.consumer;d.dirty||(a=void 0,d.dirty=!0,Nja(d),(a=d.consumerMarkedDirty)==null||
a.call(d,d))}}finally{Kja=b}}},Oja=function(){var a;return((a=Fg)==null?void 0:a.consumerAllowSignalWrites)!==!1},Lg=function(a){a&&(a.producersTail=void 0,a.recomputing=!0);return Gg(a)},Mg=function(a,b){Gg(b);if(a){a.recomputing=!1;b=a.producersTail;var c=b!==void 0?b.nextProducer:a.producers;if(c!==void 0){if(Hg(a)){do c=Pja(c);while(c!==void 0)}b!==void 0?b.nextProducer=void 0:a.producers=void 0}}},Mja=function(a){for(a=a.producers;a!==void 0;a=a.nextProducer){var b=a.producer,c=a.lastReadVersion;
if(c!==b.version)return!0;Kg(b);if(c!==b.version)return!0}return!1},Ng=function(a){if(Hg(a))for(var b=a.producers;b!==void 0;)b=Pja(b);a.producers=void 0;a.producersTail=void 0;a.consumers=void 0;a.consumersTail=void 0},Lja=function(a,b){var c=a.consumersTail,d=Hg(a);c!==void 0?(b.nextConsumer=c.nextConsumer,c.nextConsumer=b):(b.nextConsumer=void 0,a.consumers=b);b.prevConsumer=c;a.consumersTail=b;if(!d)for(a=a.producers;a!==void 0;a=a.nextProducer)Lja(a.producer,a)},Pja=function(a){var b=a.producer,
c=a.nextProducer,d=a.nextConsumer,e=a.prevConsumer;a.nextConsumer=void 0;a.prevConsumer=void 0;d!==void 0?d.prevConsumer=e:b.consumersTail=e;if(e!==void 0)e.nextConsumer=d;else if(b.consumers=d,!Hg(b))for(a=b.producers;a!==void 0;)a=Pja(a);return c},Hg=function(a){return a.consumerIsAlwaysLive||a.consumers!==void 0},Rja=function(a,b){var c=Object.create(Qja);c.computation=a;b!==void 0&&(c.equal=b);a=function(){Kg(c);Ig(c);if(c.value===Og)throw c.error;return c.value};a[Pg]=c;return a},Uja=function(a,
b){var c=Object.create(Sja);c.value=a;b!==void 0&&(c.equal=b);a=function(){Ig(c);return c.value};a[Pg]=c;return[a,function(d){return Qg(c,d)},function(d){Oja()||Tja();Qg(c,d(c.value))}]},Qg=function(a,b){Oja()||Tja();a.equal(a.value,b)||(a.value=b,a.version++,Jg++,Nja(a))},Wja=function(a,b,c){var d=Object.create(Vja);d.source=a;d.computation=b;c!=void 0&&(d.equal=c);a=function(){Kg(d);Ig(d);if(d.value===Og)throw d.error;return d.value};a[Pg]=d;return a},Rg=function(a){var b=Gg(null);try{return a()}finally{Gg(b)}},
Sg=function(a){if(typeof a==="string")return a;if(Array.isArray(a))return"["+a.map(Sg).join(", ")+"]";if(a==null)return""+a;var b=a.overriddenName||a.name;if(b)return""+b;a=a.toString();if(a==null)return""+a;b=a.indexOf("\n");return b>=0?a.slice(0,b):a},Xja=function(a,b){return a?b?a+" "+b:a:b||""},Tg=function(a){return typeof a==="string"?a:a==null?"":String(a)},Yja=function(){throw new Ug(-201,!1);},aka=function(a){var b=new Ug(a,"");b[Zja]=a;b[$ja]="";return b},Xg=function(a){var b=Wg;Wg=a;return b},
bka=function(a,b,c){if((a=Fja(a))&&a.providedIn=="root")return a.value===void 0?a.value=a.factory():a.value;if(c&8)return null;if(b!==void 0)return b;Yja()},Zg=function(a){var b=Yg;Yg=a;return b},dka=function(a){return a===cka||(a==null?void 0:a.name)==="\u0275NotFound"},$g=function(a){a.__forward_ref__=$g;a.toString=function(){return Sg(this())};return a},ah=function(a){return eka(a)?a():a},eka=function(a){return typeof a==="function"&&a.hasOwnProperty(fka)&&a.__forward_ref__===$g},gka=function(a,
b){b=b===void 0?0:b;var c=Yg;if(c===void 0)throw new Ug(-203,!1);if(c===null)return bka(a,void 0,b);b={optional:!!(b&8),host:!!(b&1),self:!!(b&2),skipSelf:!!(b&4)};a=c.retrieve(a,b);if(dka(a)){if(b.optional)return null;throw a;}return a},bh=function(a,b){b=b===void 0?0:b;return(Wg||gka)(ah(a),b)},x=function(a,b){return bh(a,ch(b))},ch=function(a){return typeof a==="undefined"||typeof a==="number"?a:0|(a.optional&&8)|(a.host&&1)|(a.self&&2)|(a.skipSelf&&4)},hka=function(a){for(var b=[],c=0;c<a.length;c++){var d=
ah(a[c]);if(Array.isArray(d)){if(d.length===0)throw new Ug(900,!1);for(var e=void 0,f=0,h=0;h<d.length;h++){var k=d[h],q=k.__NG_DI_FLAG__;typeof q==="number"?q===-1?e=k.token:f|=q:e=k}b.push(bh(e,f))}else b.push(bh(d))}return b},dh=function(a,b){a.__NG_DI_FLAG__=b;a.prototype.__NG_DI_FLAG__=b;return a},jka=function(a){return a[ika]||null},eh=function(a){return a.hasOwnProperty(kka)?a[kka]:null},lka=function(a,b){a.forEach(function(c){return Array.isArray(c)?lka(c,b):b(c)})},mka=function(a,b){return b>=
a.length-1?a.pop():a.splice(b,1)[0]},nka=function(a,b,c){var d=fh(a,b);if(d>=0)a[d|1]=c;else{d=~d;var e=a.length;if(e==d)a.push(b,c);else if(e===1)a.push(c,a[0]),a[0]=b;else{e--;for(a.push(a[e-1],a[e]);e>d;)a[e]=a[e-2],e--;a[d]=b;a[d+1]=c}}},oka=function(a,b){b=fh(a,b);if(b>=0)return a[b|1]},fh=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)},qka=function(){return{"\u0275providers":pka(!0,rd.apply(0,arguments)),"\u0275fromNgModule":!0}},
pka=function(a){var b=[],c=new Set,d,e=function(f){b.push(f)};lka(rd.apply(1,arguments),function(f){rka(f,e,[],c)&&(d||(d=[]),d.push(f))});d!==void 0&&ska(d,e);return b},ska=function(a,b){for(var c={},d=0;d<a.length;c={providers$jscomp$2:void 0,ngModule:void 0},d++){var e=a[d];c.ngModule=e.ngModule;c.providers$jscomp$2=e.providers;tka(c.providers$jscomp$2,function(f){return function(h){b(h,f.ngModule)}}(c))}},rka=function(a,b,c,d){a=ah(a);if(!a)return!1;var e=null,f=Ija(a),h=!f&&(a[gh]||null);if(f||
h){if(h&&!h.standalone)return!1;e=a}else{var k=a.ngModule;if(f=Ija(k))e=k;else return!1}k=d.has(e);if(h){if(k)return!1;d.add(e);if(h.dependencies)for(f=typeof h.dependencies==="function"?h.dependencies():h.dependencies,f=l(f),k=f.next();!k.done;k=f.next())rka(k.value,b,c,d)}else if(f){if(f.imports!=null&&!k){d.add(e);var q;lka(f.imports,function(A){rka(A,b,c,d)&&(q||(q=[]),q.push(A))});q!==void 0&&ska(q,b)}k||(h=eh(e)||function(){return new e},b({provide:e,useFactory:h,deps:hh},e),b({provide:uka,
useValue:e,multi:!0},e),b({provide:ih,useValue:function(){return bh(e)},multi:!0},e));f=f.providers;if(f!=null&&!k){var u=a;tka(f,function(A){b(A,u)})}}else return!1;return e!==a&&a.providers!==void 0},tka=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next())(c=c.value)&&c.\u0275providers&&(c=c.\u0275providers),Array.isArray(c)?tka(c,b):b(c)},wka=function(a){return a!==null&&typeof a=="object"&&vka in a},jh=function(a){return typeof a==="function"},zka=function(){xka===void 0&&(xka=new yka);
return xka},Bka=function(a){var b=Fja(a);b=b!==null?b.factory:eh(a);if(b!==null)return b;if(a instanceof kh)throw new Ug(204,!1);if(a instanceof Function)return Aka(a);throw new Ug(204,!1);},Aka=function(a){if(a.length>0)throw new Ug(204,!1);var b=Gja(a);return b!==null?function(){return b.factory(a)}:function(){return new a}},Eka=function(a){if(wka(a))return lh(void 0,a.useValue);a=Cka(a);return lh(a,Dka)},Cka=function(a){var b=void 0;if(jh(a))return b=ah(a),eh(b)||Bka(b);if(wka(a))b=function(){return ah(a.useValue)};
else if(a&&a.useFactory)b=function(){return a.useFactory.apply(a,p(hka(a.deps||[])))};else if(a&&a.useExisting)b=function(d,e){return bh(ah(a.useExisting),e!==void 0&&e&8?8:void 0)};else{var c=ah(a&&(a.useClass||a.provide));if(a.deps)b=function(){return new (Function.prototype.bind.apply(c,[null].concat(p(hka(a.deps)))))};else return eh(c)||Bka(c)}return b},Fka=function(a){if(a.destroyed)throw new Ug(205,!1);},lh=function(a,b,c){return{factory:a,value:b,multi:(c===void 0?0:c)?[]:void 0}},Gka=function(a,
b){a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Array.isArray(c)?Gka(c,b):c&&c&&c.\u0275providers?Gka(c.\u0275providers,b):b(c)},nh=function(a,b){a instanceof mh?Fka(a):a=new Hka(a);a=Zg(a);var c=Xg();try{return b()}finally{Zg(a),Xg(c)}},oh=function(a){return Array.isArray(a)&&typeof a[1]==="object"},ph=function(a){return Array.isArray(a)&&a[1]===!0},Kka=function(a){a.type.prototype.ngOnChanges&&(a.setInput=Ika);return Jka},Jka=function(){var a=this.__ngSimpleChanges__||null,b=a==null?void 0:
a.current;if(b){var c=a.previous;if(c===qh)a.previous=b;else for(var d in b)c[d]=b[d];a.current=null;this.ngOnChanges(b)}},Ika=function(a,b,c,d,e){d=this.declaredInputs[d];var f;(f=a.__ngSimpleChanges__||null)||(f=a.__ngSimpleChanges__={previous:qh,current:null});var h=f;f=h.current||(h.current={});h=h.previous;var k=h[d];f[d]=new Lka(k&&k.currentValue,c,h===qh);b!==null?b.applyValueToInputSignal(b,c):a[e]=c},rh=function(a){for(;Array.isArray(a);)a=a[0];return a},sh=function(a,b){return rh(b[a.index])},
Mka=function(a,b,c,d){c>=a.data.length&&(a.data[c]=null,a.blueprint[c]=null);b[c]=d},th=function(a,b){a=b[a];return oh(a)?a:a[0]},uh=function(a,b){return b===null||b===void 0?null:a[b]},Nka=function(a){a[2]&1024||(a[2]|=1024,(a[2]&128)===128&&vh(a))},Oka=function(a){var b;return!!(a[2]&9216||((b=a[24])==null?0:b.dirty))},Pka=function(a){var b;(b=a[10].changeDetectionScheduler)==null||b.notify(8);a[2]&64&&(a[2]|=1024);Oka(a)&&vh(a)},vh=function(a){var b;(b=a[10].changeDetectionScheduler)==null||b.notify(0);
for(a=wh(a);a!==null&&!(a[2]&8192);){a[2]|=8192;if((a[2]&128)!==128)break;a=wh(a)}},Qka=function(a,b){if((a[2]&256)===256)throw new Ug(911,!1);a[21]===null&&(a[21]=[]);a[21].push(b)},wh=function(a){a=a[3];return ph(a)?a[3]:a},Rka=function(a){var b;return(b=a[7])!=null?b:a[7]=[]},Ska=function(a){var b;return(b=a.cleanup)!=null?b:a.cleanup=[]},y=function(){return yh.lView},zh=function(){return yh.tView},z=function(a){yh.contextLView=a;return a[8]},B=function(a){yh.contextLView=null;return a},Ah=function(){for(var a=
yh.currentTNode;a!==null&&a.type===64;)a=a.parent;return a},Bh=function(a,b){var c=yh;c.currentTNode=a;c.isParent=b},Uka=function(a){var b=Tka;Tka=a;return b},Ch=function(){var a=yh,b=a.bindingRootIndex;b===-1&&(b=a.bindingRootIndex=a.tView.bindingStartIndex);return b},Dh=function(){return yh.bindingIndex++},Eh=function(a){var b=yh,c=b.bindingIndex;b.bindingIndex+=a;return c},Vka=function(a){var b=yh.currentDirectiveIndex;return b===-1?null:a[b]},Xka=function(a,b,c){if(c&4){for(;!(b=b.parent,b!==
null||c&1);){b=a[1];b=b.type===2?b.declTNode:b.type===1?a[5]:null;if(b===null)break;a=a[14];if(b.type&10)break}if(b===null)return!1}c=yh=Wka();c.currentTNode=b;c.lView=a;return!0},Yka=function(a){var b=Wka(),c=a[1];yh=b;b.currentTNode=c.firstChild;b.lView=a;b.tView=c;b.contextLView=a;b.bindingIndex=c.bindingStartIndex;b.inI18n=!1},Wka=function(){var a=yh,b=a===null?null:a.child;return b===null?Zka(a):b},Zka=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};a!==null&&(a.child=b);return b},$ka=function(){var a=yh;yh=a.parent;a.currentTNode=null;a.lView=null;return a},ala=function(){var a=$ka();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},Fh=function(){var a=
yh;return a.tView.data[a.selectedIndex]},Gh=function(){yh.currentNamespace="svg"},Hh=function(){yh.currentNamespace=null},bla=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,k=d.ngAfterViewChecked;d=d.ngOnDestroy;if(e){var q=void 0,u=void 0;((u=(q=a).contentHooks)!=null?u:q.contentHooks=[]).push(-c,e)}f&&(q=e=void 0,((q=(e=a).contentHooks)!=null?q:e.contentHooks=[]).push(c,f),q=e=
void 0,((q=(e=a).contentCheckHooks)!=null?q:e.contentCheckHooks=[]).push(c,f));h&&(e=f=void 0,((e=(f=a).viewHooks)!=null?e:f.viewHooks=[]).push(-c,h));k&&(f=h=void 0,((f=(h=a).viewHooks)!=null?f:h.viewHooks=[]).push(c,k),f=h=void 0,((f=(h=a).viewCheckHooks)!=null?f:h.viewCheckHooks=[]).push(c,k));d!=null&&(h=k=void 0,((h=(k=a).destroyHooks)!=null?h:k.destroyHooks=[]).push(c,d))}},dla=function(a,b,c,d){(a[2]&3)===c&&cla(a,b,c,d)},ela=function(a,b){var c=a[2];(c&3)===b&&(a[2]=(c&16383)+1)},cla=function(a,
b,c,d){for(var e=d!=null?d:-1,f=b.length-1,h=0,k=d!==void 0?a[17]&65535:0;k<f;k++)if(typeof b[k+1]==="number"){if(h=b[k],d!=null&&h>=d)break}else{b[k]<0&&(a[17]+=65536);if(h<e||e==-1){var q=b[k]<0,u=b[k+1],A=a[q?-b[k]:b[k]];q?a[2]>>14<a[17]>>16&&(a[2]&3)===c&&(a[2]+=16384,fla(A,u)):fla(A,u);a[17]=(a[17]&4294901760)+k+2}k++}},fla=function(a,b){Jh(4,a,b);var c=Gg(null);try{b.call(a)}finally{Gg(c),Jh(5,a,b)}},gla=function(a){return a===3||a===4||a===6},Kh=function(a,b){if(b!==null&&b.length!==0)if(a===
null||a.length===0)a=b.slice();else for(var c=-1,d=0;d<b.length;d++){var e=b[d];typeof e==="number"?c=e:c!==0&&(c===-1||c===2?hla(a,c,e,b[++d]):hla(a,c,e,null))}return a},hla=function(a,b,c,d){var e=0,f=a.length;if(b===-1)f=-1;else for(;e<a.length;){var h=a[e++];if(typeof h==="number")if(h===b){f=-1;break}else if(h>b){f=e-1;break}}for(;e<a.length;){h=a[e];if(typeof h==="number")break;else if(h===c){d!==null&&(a[e+1]=d);return}e++;d!==null&&e++}f!==-1&&(a.splice(f,0,b),e=f+1);a.splice(e++,0,c);d!==
null&&a.splice(e++,0,d)},ila=function(a,b){for(a>>=16;a>0;)b=b[14],a--;return b},jla=function(a){return{toString:a}.toString()},lla=function(a){var b=kla;kla=a;return b},ola=function(a,b,c){var d;typeof c==="string"?d=c.charCodeAt(0)||0:c.hasOwnProperty(mla)&&(d=c[mla]);d==null&&(d=c[mla]=nla++);c=d&255;b.data[a+(c>>5)]|=1<<c},sla=function(a,b){var c=pla(a,b);if(c!==-1)return c;c=b[1];c.firstCreatePass&&(a.injectorIndex=b.length,qla(c.data,a),qla(b,null),qla(c.blueprint,null));c=rla(a,b);a=a.injectorIndex;
if(c!==-1)for(var d=c&32767,e=ila(c,b),f=e[1].data,h=0;h<8;h++)b[a+h]=e[d+h]|f[d+h];b[a+8]=c;return a},qla=function(a,b){a.push(0,0,0,0,0,0,0,0,b)},pla=function(a,b){return a.injectorIndex===-1||a.parent&&a.parent.injectorIndex===a.injectorIndex||b[a.injectorIndex+8]===null?-1:a.injectorIndex},rla=function(a,b){if(a.parent&&a.parent.injectorIndex!==-1)return a.parent.injectorIndex;a=0;for(var c=b;c!==null;){b=tla(c);if(b===null)break;a++;c=c[14];if(b.injectorIndex!==-1)return b.injectorIndex|a<<16}return-1},
ula=function(a){var b=Ah();if(a==="class")return b.classes;if(a==="style")return b.styles;if(b=b.attrs)for(var c=b.length,d=0;d<c;){var e=b[d];if(gla(e))break;if(e===0)d+=2;else if(typeof e==="number")for(d++;d<c&&typeof b[d]==="string";)d++;else{if(e===a)return b[d+1];d+=2}}return null},vla=function(a,b,c,d){c&8&&d===void 0&&(d=null);if((c&3)===0){a=a[9];var e=Xg();try{return a?a.get(b,d,c&8):bka(b,d,c&8)}finally{Xg(e)}}c&8||d!==void 0?b=d:(Yja(),b=void 0);return b},xla=function(a,b,c,d,e){d=d===
void 0?0:d;if(a!==null){if(b[2]&2048&&!(d&2)){a:{var f=d;for(var h=Lh,k=a,q=b;k!==null&&q!==null&&q[2]&2048&&(q[2]&512)===0;){var u=wla(k,q,c,f|2);if(u!==Lh){f=u;break a}k=k.parent;if(!k){if(k=q[20])if(k=k.get(c,Lh,f),k!==Lh){f=k;break a}k=tla(q);q=q[14]}}f=h}if(f!==Lh)return f}a=wla(a,b,c,d);if(a!==Lh)return a}return vla(b,c,d,e)},wla=function(a,b,c,d){var e=Lh;if(typeof c==="string")var f=c.charCodeAt(0)||0;else f=c.hasOwnProperty(mla)?c[mla]:void 0,f=typeof f==="number"?f>=0?f&255:yla:f;if(typeof f===
"function"){if(!Xka(b,a,d))return d&1?d&8||e!==void 0?b=e:(Yja(),b=void 0):b=vla(b,c,d,e),b;try{var h=f(d);if(h!=null||d&8)return h;Yja()}finally{$ka()}}else if(typeof f==="number"){h=null;var k=pla(a,b),q=d&1?b[15][5]:null;if(k===-1||d&4){var u=k===-1?rla(a,b):b[k+8];u===-1||d&2?k=-1:(h=b[1],k=u&32767,b=ila(u,b))}for(;k!==-1;){a=b[1];if(a.data[k+(f>>5)]&1<<f){u=b[1];var A=u.data[k+8],D=zla(A,u,c,h==null?A.componentOffset>-1&&kla:h!=u&&(A.type&3)!==0,d&1&&q===A);u=D!==null?Ala(b,u,D,A,d):Lh;if(u!==
Lh)return u}u=b[k+8];u!==-1&&!(d&2||d&1&&b[1].data[k+8]===q)&&b[k+(f>>5)]&1<<f?(h=a,k=u&32767,b=ila(u,b)):k=-1}}return e},zla=function(a,b,c,d,e){var f=a.providerIndexes,h=b.data,k=f&1048575;b=a.directiveStart;a=a.directiveEnd;var q=f>>20;f=e?k+q:a;for(d=d?k:k+q;d<f;d++)if(k=h[d],d<b&&c===k||d>=b&&k.type===c)return d;return e&&(e=h[b])&&e.template&&e.type===c?b:null},Ala=function(a,b,c,d,e){var f=a[c],h=b.data;if(f instanceof Bla){var k=f;if(k.resolving)throw aka(-200);var q=lla(k.canSeeViewProviders);
k.resolving=!0;var u=k.injectImpl?Xg(k.injectImpl):null;Xka(a,d,0);try{if(f=a[c]=k.factory(void 0,e,h,a,d),b.firstCreatePass&&c>=d.directiveStart){var A=h[c],D=A.type.prototype,H=D.ngOnInit,O=D.ngDoCheck;if(D.ngOnChanges){var P=Kka(A),S;((S=b.preOrderHooks)!=null?S:b.preOrderHooks=[]).push(c,P);var aa;((aa=b.preOrderCheckHooks)!=null?aa:b.preOrderCheckHooks=[]).push(c,P)}if(H){var ia;((ia=b.preOrderHooks)!=null?ia:b.preOrderHooks=[]).push(-c,H)}if(O){var la;((la=b.preOrderHooks)!=null?la:b.preOrderHooks=
[]).push(c,O);var ya;((ya=b.preOrderCheckHooks)!=null?ya:b.preOrderCheckHooks=[]).push(c,O)}}}finally{u!==null&&Xg(u),lla(q),k.resolving=!1,$ka()}}return f},yla=function(){return new Mh(Ah(),y())},Nh=function(a){return jla(function(){var b=a.prototype.constructor;b=b[kka]||Cla(b);for(var c=Object.prototype,d=Object.getPrototypeOf(a.prototype).constructor;d&&d!==c;){var e=d[kka]||Cla(d);if(e&&e!==b)return e;d=Object.getPrototypeOf(d)}return function(f){return new f}})},Cla=function(a){return eka(a)?
function(){var b=Cla(ah(a));return b&&b()}:eh(a)},tla=function(a){var b=a[1],c=b.type;return c===2?b.declTNode:c===1?a[5]:null},Dla=function(a){return function(){var b=rd.apply(0,arguments);if(a){b=a.apply(null,p(b));for(var c in b)this[c]=b[c]}}},Ela=function(a,b){return jla(function(){function c(){var e=rd.apply(0,arguments);if(this instanceof c)return d.apply(this,e),this;var f=new (Function.prototype.bind.apply(c,[null].concat(p(e))));return function(h,k,q){for(k=h.hasOwnProperty("__parameters__")?
h.__parameters__:Object.defineProperty(h,"__parameters__",{value:[]}).__parameters__;k.length<=q;)k.push(null);(k[q]=k[q]||[]).push(f);return h}}var d=Dla(b);c.prototype.ngMetadataName=a;return c})},Gla=function(a,b,c,d){a=Fla(a,b===void 0?null:b,c===void 0?null:c,d);a.resolveInjectorInitializers();return a},Fla=function(a,b,c,d,e){b=b===void 0?null:b;e=e===void 0?new Set:e;c=[(c===void 0?null:c)||hh,qka(a)];d=d||(typeof a==="object"?void 0:Sg(a));return new mh(c,b||zka(),d||null,e)},Hla=function(a){return a.type===
4&&a.value!=="ng-template"},Ila=function(a,b,c){var d=4,e=a.attrs,f;if(e!==null)a:{for(f=0;f<e.length;f++)if(gla(e[f]))break a;f=e.length}else f=0;for(var h=!1,k=0;k<b.length;k++){var q=b[k];if(typeof q==="number"){if(!h&&(d&1)!==0&&(q&1)!==0)return!1;h&&(q&1)===0||(h=!1,d=q|d&1)}else if(!h)if(d&4){if(d=2|d&1,q!==""&&q!==(a.type!==4||c?a.value:"ng-template")||q===""&&b.length===1){if((d&1)===0)return!1;h=!0}}else if(d&8){var u;if(!(u=e===null)){a:{u=void 0;var A=a,D=0;if(c)for(;D<e.length&&typeof e[D]===
"string";D+=2){if(A=e[D]==="class"){b:{A=e[D+1].toLowerCase();for(var H=0,O=A.length;;){H=A.indexOf(q,H);if(H===-1){A=H;break b}if(H===0||A.charCodeAt(H-1)<=32){var P=q.length;if(H+P===O||A.charCodeAt(H+P)<=32){A=H;break b}}H+=1}A=void 0}A=A!==-1}if(A){q=!0;break a}}else if(Hla(A)){q=!1;break a}D=e.indexOf(1,D);if(D>-1)for(;++D<e.length&&typeof(u=e[D])==="string";)if(u.toLowerCase()===q){q=!0;break a}q=!1}u=!q}if(u){if((d&1)===0)return!1;h=!0}}else{u=b[++k];a:if(e===null)q=-1;else if(D=0,c||!Hla(a)){for(A=
!1;D<e.length;){O=e[D];if(O===q){q=D;break a}if(O===3||O===6)A=!0;else if(O===1||O===2){for(O=e[++D];typeof O==="string";)O=e[++D];continue}else if(O===4)break;else if(O===0){D+=4;continue}D+=A?1:2}q=-1}else b:{D=e.indexOf(4);if(D>-1)for(D++;D<e.length;){A=e[D];if(typeof A==="number")break;if(A===q){q=D;break b}D++}q=-1}if(q===-1){if((d&1)===0)return!1;h=!0}else if(u!==""&&(q=q>f?"":e[q+1].toLowerCase(),d&2&&u!==q)){if((d&1)===0)return!1;h=!0}}}return(d&1)===0||h},Jla=function(a,b,c){c=c===void 0?
!1:c;for(var d=0;d<b.length;d++)if(Ila(a,b[d],c))return!0;return!1},Kla=function(a){for(var b=a[0],c=1,d=2,e="",f=!1;c<a.length;){var h=a[c];if(typeof h==="string")if(d&2){var k=a[++c];e+="["+h+(k.length>0?'="'+k+'"':"")+"]"}else d&8?e+="."+h:d&4&&(e+=" "+h);else e!==""&&(h&1)!==0&&(b+=f?":not("+e.trim()+")":e,e=""),d=h,f=f||(d&1)!==0;c++}e!==""&&(b+=f?":not("+e.trim()+")":e);return b},Mla=function(){if(Lla!==void 0)return Lla;if(typeof document!=="undefined")return document;throw new Ug(210,!1);
},Oh=function(a,b){oh(b)?(a.__ngContext__=b[19],Pla.set(b[19],b)):a.__ngContext__=b},Qla=function(a){for(;a!==null&&!ph(a);)a=a[4];return a},Qh=function(a,b){return new Ph(sh(a,b))},Rla=function(a){return a instanceof Ph?a.nativeElement:a},Rh=function(a){return a.ownerDocument.defaultView},Sla=function(a){return a.ownerDocument},Vla=function(){return"".replace(Tla,function(a){return a.replace(Ula,"\u200b$1\u200b")})},Wla=function(a,b,c){var d=c.mergedAttrs,e=c.classes;c=c.styles;if(d!==null)for(var f=
0;f<d.length;){var h=d[f];if(typeof h==="number"){if(h!==0)break;f++;h=d[f++];var k=d[f++],q=d[f++];a.setAttribute(b,k,q,h)}else k=d[++f],h.charCodeAt(0)===64?a.setProperty(b,h,k):a.setAttribute(b,h,k),f++}e!==null&&(e===""?a.removeAttribute(b,"class"):a.setAttribute(b,"class",e));c!==null&&a.setAttribute(b,"style",c)},Yla=function(a){return Xla(a)?Array.isArray(a)||!(a instanceof Map)&&Symbol.iterator in a:!1},Zla=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)},Xla=function(a){return a!==null&&(typeof a==="function"||typeof a==="object")},$la=function(a,b,c){return a[b]=c},Th=function(a,b,c){if(c===Sh||Object.is(a[b],c))return!1;a[b]=c;return!0},Vh=function(a,b,c,d){c=Th(a,b,c);return Th(a,b+1,d)||c},ama=function(a,b){var c=Tka?64:1088,d;for((d=a[10].changeDetectionScheduler)==null||d.notify(b);a;){a[2]|=c;b=wh(a);if((a[2]&512)!==0&&!b)break;a=b}},bma=function(){return new Wh(y())},cma=function(a,b){a&&(b=a.indexOf(b),0<=b&&a.splice(b,
1))},Xh=function(a){return typeof a==="function"},dma=function(a){return a instanceof Yh||a&&"closed"in a&&Xh(a.remove)&&Xh(a.add)&&Xh(a.unsubscribe)},Zh=function(){},fma=function(a){ema(function(){throw a;})},$h=function(a){return a},ai=function(){return gma(rd.apply(0,arguments))},gma=function(a){return a.length===0?$h:a.length===1?a[0]:function(b){return a.reduce(function(c,d){return d(c)},b)}},hma=function(a){var b;return(b=a!=null?a:void 0)!=null?b:Promise},ima=function(a,b){return new bi(function(c){var d=
0;return b.schedule(function(){d===a.length?c.complete():(c.next(a[d++]),c.closed||this.schedule())})})},jma=function(a,b){if(!a)throw Error("Ka");return new bi(function(c){var d=new Yh;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})},kma=function(a,b,c,d){b=b.schedule(function(){try{c.call(this)}catch(e){a.error(e)}},d===void 0?0:d);a.add(b);return b},
mma=function(a,b){return new bi(function(c){var d;c.add(b.schedule(function(){d=a[lma]();kma(c,b,function(){var e=d.next(),f=e.value;e.done?c.complete():(c.next(f),this.schedule())})}));return function(){var e;return Xh((e=d)==null?void 0:e.return)&&d.return()}})},oma=function(a,b){return new bi(function(c){var d=new Yh;d.add(b.schedule(function(){var e=a[nma]();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})},pma=function(a,b){return new bi(function(c){return b.schedule(function(){return a.then(function(d){c.add(b.schedule(function(){c.next(d);c.add(b.schedule(function(){return c.complete()}))}))},function(d){c.add(b.schedule(function(){return c.error(d)}))})})})},qma=function(a){return new TypeError("La`"+(a!==null&&typeof a==="object"?"an invalid object":"'"+a+"'"))},sma=function(a,b){if(a!=null){if(Xh(a[nma]))return oma(a,
b);if(rma(a))return ima(a,b);if(Xh(a==null?void 0:a.then))return pma(a,b);if(Symbol.asyncIterator&&Xh(a==null?void 0:a[Symbol.asyncIterator]))return jma(a,b);if(Xh(a==null?void 0:a[lma]))return mma(a,b)}throw qma(a);},di=function(a,b){return b?sma(a,b):ci(a)},ci=function(a){if(a instanceof bi)return a;if(a!=null){if(Xh(a[nma]))return tma(a);if(rma(a))return uma(a);if(Xh(a==null?void 0:a.then))return vma(a);if(Symbol.asyncIterator&&Xh(a==null?void 0:a[Symbol.asyncIterator]))return wma(a);if(Xh(a==
null?void 0:a[lma]))return xma(a)}throw qma(a);},tma=function(a){return new bi(function(b){var c=a[nma]();if(Xh(c.subscribe))return c.subscribe(b);throw new TypeError("Ma");})},uma=function(a){return new bi(function(b){for(var c=0;c<a.length&&!b.closed;c++)b.next(a[c]);b.complete()})},vma=function(a){return new bi(function(b){a.then(function(c){b.closed||(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,fma)})},xma=function(a){return new bi(function(b){for(var c=a[lma]();!b.closed;){var d=
c.next(),e=d.value;d.done?b.complete():b.next(e)}return function(){return Xh(c==null?void 0:c.return)&&c.return()}})},wma=function(a){return new bi(function(b){yma(a,b).catch(function(c){return b.error(c)})})},yma=function(a,b){var c,d,e,f,h,k;return v(function(q){switch(q.nextAddress){case 1:ei(q,2,3);var u=a[Symbol.asyncIterator];f=u!==void 0?u.call(a):new zma(l(a));case 5:return w(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:fi(q);
gi(q,9);if(!d||d.done||!(e=f.return)){q.jumpTo(9);break}return w(q,e.call(f),9);case 9:fi(q,0,0,1);if(c)throw c.error;hi(q,10,1);break;case 10:hi(q,4);break;case 2:k=ii(q);c={error:k};q.jumpTo(3);break;case 4:b.complete(),ji(q)}})},Ama=function(a,b){return b?ima(a,b):uma(a)},Bma=function(a){return Xh(a[a.length-1])?a.pop():void 0},ki=function(a){var b=a[a.length-1];return b&&Xh(b.schedule)?a.pop():void 0},li=function(){var a=rd.apply(0,arguments),b=ki(a);return b?ima(a,b):Ama(a)},mi=function(a){var b=
Xh(a)?a:function(){return a};return new bi(function(c){return c.error(b())})},pi=function(a){return new Promise(function(b,c){var d=new ni({next:function(e){b(e);d.unsubscribe()},error:c,complete:function(){c(new oi)}});a.subscribe(d)})},qi=function(a){return function(b){if(Xh(b==null?void 0:b.lift))return b.lift(function(c){try{return a(c,this)}catch(d){this.error(d)}});throw new TypeError("Na");}},Cma=function(){return qi(function(a,b){var c=null;a._refCount++;var d=new ri(b,void 0,void 0,void 0,
function(){if(!a||a._refCount<=0||0<--a._refCount)c=null;else{var e=a._connection,f=c;c=null;!e||f&&e!==f||e.unsubscribe();b.unsubscribe()}});a.subscribe(d);d.closed||(c=a.connect())})},C=function(a){return qi(function(b,c){var d=0;b.subscribe(new ri(c,function(e){c.next(a.call(void 0,e,d++))}))})},Ema=function(a){return C(function(b){return Dma(b)?a.apply(null,p(b)):a(b)})},Jma=function(a){if(a.length===1){var b=a[0];if(Fma(b))return{args:b,keys:null};if(b&&typeof b==="object"&&Gma(b)===Hma)return a=
Ima(b),{args:a.map(function(c){return b[c]}),keys:a}}return{args:a,keys:null}},si=function(){var a=rd.apply(0,arguments),b=ki(a),c=Bma(a);a=Jma(a);var d=a.args,e=a.keys;if(d.length===0)return di([],b);b=new bi(Kma(d,b,e?function(f){for(var h={},k=0;k<f.length;k++)h[e[k]]=f[k];return h}:$h));return c?b.pipe(Ema(c)):b},Kma=function(a,b,c){c=c===void 0?$h:c;return function(d){Lma(b,function(){for(var e=a.length,f=Array(e),h=e,k=a.map(function(){return!1}),q=!0,u={i$jscomp$350:0};u.i$jscomp$350<e;u={i$jscomp$350:u.i$jscomp$350},
u.i$jscomp$350++)Lma(b,function(A){return function(){di(a[A.i$jscomp$350],b).subscribe(new Mma(d,function(D){f[A.i$jscomp$350]=D;q&&(k[A.i$jscomp$350]=!0,q=!k.every($h));q||d.next(c(f.slice()))},function(){return--h===0}))}}(u),d)},d)}},Lma=function(a,b,c){a?c.add(a.schedule(b)):b()},Nma=function(a,b,c,d){var e=[],f=0,h=0,k=!1,q=function(u){f++;ci(c(u,h++)).subscribe(new ri(b,function(A){b.next(A)},void 0,function(){f--;for(var A={};e.length&&f<d;A={bufferedValue:void 0})A.bufferedValue=e.shift(),
q(A.bufferedValue);!k||e.length||f||b.complete()}))};a.subscribe(new ri(b,function(u){return f<d?q(u):e.push(u)},void 0,function(){k=!0;!k||e.length||f||b.complete()}));return function(){e=null}},ti=function(a,b,c){c=c===void 0?Infinity:c;if(Xh(b))return ti(function(d,e){return C(function(f,h){return b(d,f,e,h)})(ci(a(d,e)))},c);typeof b==="number"&&(c=b);return qi(function(d,e){return Nma(d,e,a,c)})},ui=function(a){a=a===void 0?Infinity:a;return ti($h,a)},vi=function(){var a=rd.apply(0,arguments);
return ui(1)(Ama(a,ki(a)))},wi=function(a){return new bi(function(b){ci(a()).subscribe(b)})},xi=function(){var a=rd.apply(0,arguments),b=Bma(a),c=Jma(a);a=c.args;c=c.keys;return b?Oma(a,c).pipe(C(function(d){return b.apply(null,p(d))})):Oma(a,c)},Oma=function(a,b){return new bi(function(c){var d=a.length;if(d===0)c.complete();else for(var e=Array(d),f=0,h=0,k={sourceIndex:0};k.sourceIndex<d;k={hasValue$jscomp$2:void 0,sourceIndex:k.sourceIndex},k.sourceIndex++){var q=ci(a[k.sourceIndex]);k.hasValue$jscomp$2=
!1;c.add(q.subscribe({next:function(u){return function(A){u.hasValue$jscomp$2||(u.hasValue$jscomp$2=!0,h++);e[u.sourceIndex]=A}}(k),error:function(u){return c.error(u)},complete:function(u){return function(){f++;f!==d&&u.hasValue$jscomp$2||(h===d&&c.next(b?b.reduce(function(A,D,H){return A[D]=e[H],A},{}):e),c.complete())}}(k)}))}})},yi=function(a,b,c){if(Xh(c)){var d=c;c=void 0}if(d)return yi(a,b,c).pipe(Ema(d));d=l(Xh(a.addEventListener)&&Xh(a.removeEventListener)?Pma.map(function(h){return function(k){return a[h](b,
k,c)}}):Xh(a.addListener)&&Xh(a.removeListener)?Qma.map(Rma(a,b)):Xh(a.on)&&Xh(a.off)?Sma.map(Rma(a,b)):[]);var e=d.next().value,f=d.next().value;return!e&&rma(a)?ti(function(h){return yi(h,b,c)})(Ama(a)):new bi(function(h){if(!e)throw new TypeError("Oa");var k=function(){var q=rd.apply(0,arguments);return h.next(1<q.length?q:q[0])};e(k);return function(){return f(k)}})},Rma=function(a,b){return function(c){return function(d){return a[c](b,d)}}},Tma=function(a,b){return new bi(function(c){var d=function(){var f=
rd.apply(0,arguments);return c.next(f.length===1?f[0]:f)},e=a(d);return Xh(b)?function(){return b(d,e)}:void 0})},Uma=function(a,b,c){return wi(function(){return a()?b:c})},Ai=function(a,b,c){a=a===void 0?0:a;c=c===void 0?zi:c;var d=-1;b!=null&&(b&&Xh(b.schedule)?c=b:d=b);return new bi(function(e){var f=a instanceof Date&&!isNaN(a)?+a-c.now():a;f<0&&(f=0);var h=0;return c.schedule(function(){e.closed||(e.next(h++),0<=d?this.schedule(void 0,d):e.complete())},f)})},Vma=function(a,b){a=a===void 0?0:
a;b=b===void 0?zi:b;a<0&&(a=0);return Ai(a,a,b)},Ci=function(){var a=rd.apply(0,arguments),b=ki(a);var c=typeof a[a.length-1]==="number"?a.pop():Infinity;return a.length?a.length===1?ci(a[0]):ui(c)(Ama(a,b)):Bi},Di=function(a){return qi(function(b,c){var d=0;b.subscribe(new ri(c,function(e){return a.call(void 0,e,d++)&&c.next(e)}))})},Yma=function(){var a=rd.apply(0,arguments);a=a.length===1&&Wma(a[0])?a[0]:a;return a.length===1?ci(a[0]):new bi(Xma(a))},Xma=function(a){return function(b){for(var c=
[],d={i$jscomp$353:0};c&&!b.closed&&d.i$jscomp$353<a.length;d={i$jscomp$353:d.i$jscomp$353},d.i$jscomp$353++)c.push(ci(a[d.i$jscomp$353]).subscribe(new ri(b,function(e){return function(f){if(c){for(var h=0;h<c.length;h++)h!==e.i$jscomp$353&&c[h].unsubscribe();c=null}b.next(f)}}(d))))}},Ei=function(a){a=a instanceof Date&&!isNaN(a)?{first:a}:typeof a==="number"?{each:a}:a;var b=a.first,c=a.each,d=a.with===void 0?Zma:a.with,e=a.scheduler===void 0?zi:a.scheduler,f=a.meta===void 0?null:a.meta;if(b==null&&
c==null)throw new TypeError("Qa");return qi(function(h,k){var q,u=null,A=0,D=function(O){q=kma(k,e,function(){H.unsubscribe();ci(d({meta:f,lastValue:u,seen:A})).subscribe(k)},O)};var H=h.subscribe(new ri(k,function(O){var P;(P=q)==null||P.unsubscribe();A++;k.next(u=O);c>0&&D(c)},void 0,void 0,function(){var O;if((O=q)==null||!O.closed){var P;(P=q)==null||P.unsubscribe()}u=null}));D(b!=null?typeof b==="number"?b:+b-e.now():c)})},Zma=function(a){throw new $ma(a);},bna=function(a){return a in ana?(delete ana[a],
!0):!1},cna=function(a){return!!a&&(a instanceof bi||Xh(a.lift)&&Xh(a.subscribe))},dna=function(){},ena=function(a){function b(){a=dna;try{c!==void 0&&typeof cancelAnimationFrame==="function"&&cancelAnimationFrame(c),d!==void 0&&clearTimeout(d)}catch(e){}}var c;var d=setTimeout(function(){a();b()});typeof requestAnimationFrame==="function"&&(c=requestAnimationFrame(function(){a();b()}));return function(){return b()}},fna=function(a){queueMicrotask(function(){return a()});return function(){a=dna}},
gna=function(a){if(a._nesting==0&&!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}}},ina=function(a){function b(){ena(function(){a.callbackScheduled=!1;hna(a);a.isCheckStableRunning=!0;gna(a);a.isCheckStableRunning=!1})}a.isCheckStableRunning||a.callbackScheduled||(a.callbackScheduled=!0,a.scheduleInRootZone?Zone.root.run(function(){b()}):
a._outer.run(function(){b()}),hna(a))},mna=function(a){var b=jna++,c={};a._inner=a._inner.fork({name:"angular",properties:(c.isAngularZone=!0,c.isAngularZone_ID=b,c["isAngularZone_ID"+b]=!0,c),onInvokeTask:function(d,e,f,h,k,q){if(kna(q,"__ignore_ng_zone__"))return d.invokeTask(f,h,k,q);try{return lna(a),d.invokeTask(f,h,k,q)}finally{(a.shouldCoalesceEventChangeDetection&&h.type==="eventTask"||a.shouldCoalesceRunChangeDetection)&&ina(a),a._nesting--,gna(a)}},onInvoke:function(d,e,f,h,k,q,u){try{return lna(a),
d.invoke(f,h,k,q,u)}finally{!a.shouldCoalesceRunChangeDetection||a.callbackScheduled||kna(q,"__scheduler_tick__")||ina(a),a._nesting--,gna(a)}},onHasTask:function(d,e,f,h){d.hasTask(f,h);e===f&&(h.change=="microTask"?(a._hasPendingMicrotasks=h.microTask,hna(a),gna(a)):h.change=="macroTask"&&(a.hasPendingMacrotasks=h.macroTask))},onHandleError:function(d,e,f,h){d.handleError(f,h);a.runOutsideAngular(function(){return a.onError.emit(h)});return!1}})},hna=function(a){a.hasPendingMicrotasks=a._hasPendingMicrotasks||
(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&a.callbackScheduled===!0?!0:!1},lna=function(a){a._nesting++;a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))},kna=function(a,b){if(!Array.isArray(a)||a.length!==1)return!1;var c,d;return((c=a[0])==null?void 0:(d=c.data)==null?void 0:d[b])===!0},E=function(a){nna(zh(),y(),yh.selectedIndex+(a===void 0?1:a))},nna=function(a,b,c){(b[2]&3)===3?(a=a.preOrderCheckHooks,a!==null&&cla(b,a,3,c)):(a=a.preOrderHooks,a!==null&&dla(b,
a,0,c));yh.selectedIndex=c},ona=function(a,b,c,d){var e=Gg(null);try{var f=l(a.inputs[c]),h=f.next().value,k=f.next().value,q=f.next().value;f=null;(k&1)!==0&&(f=b[h][Pg]);f!==null&&f.transformFn!==void 0?d=f.transformFn(d):q!==null&&(d=q.call(b,d));a.setInput!==null?a.setInput(b,f,d,c,h):(a=f,a!==null?a.applyValueToInputSignal(a,d):b[h]=d)}finally{Gg(e)}},qna=function(a,b,c,d){var e;a=a==null?void 0:(e=a[26])==null?void 0:e.enter;if(b!==null&&a&&a.has(c.index))for(b=d.get(pna),c=l(a.get(c.index).animateFns),
d=c.next();!d.done;d=c.next())b.queue.add(d.value)},Fi=function(a,b,c,d,e,f,h,k){if(e!=null){var q=!1;if(ph(e))var u=e;else oh(e)&&(q=!0,e=e[0]);var A=rh(e);a===0&&d!==null?(qna(k,d,f,c),h==null?b.appendChild(d,A):b.insertBefore(d,A,h||null,!0)):a===1&&d!==null?(qna(k,d,f,c),b.insertBefore(d,A,h||null,!0)):a===2?rna(k,f,c,function(D){b.removeChild(null,A,q,D)}):a===3&&rna(k,f,c,function(){b.destroyNode(A)});u!=null&&sna(b,a,c,u,f,d,h)}},tna=function(a,b){a=a.get(pna);if(Array.isArray(b)){b=l(b);for(var c=
b.next();!c.done;c=b.next())a.queue.add(c.value)}else a.queue.add(b)},una=function(a,b){var c;(c=b[10].changeDetectionScheduler)==null||c.notify(9);Gi(b[11],2,a.firstChild,b,null,null,!1)},vna=function(a,b){a=a[9];b=a.indexOf(b);a.splice(b,1)},xna=function(a,b){if((b[2]&256)!==256){var c=b[11];c.destroyNode&&Gi(c,3,a.firstChild,b,null,null,!1);if(a=b[12])for(;a;){c=null;if(oh(a))c=a[12];else{var d=a[10];d&&(c=d)}if(!c){for(;a&&!a[4]&&a!==b;)oh(a)&&wna(a[1],a),a=a[3];a===null&&(a=b);oh(a)&&wna(a[1],
a);c=a&&a[4]}a=c}else wna(b[1],b)}},wna=function(a,b){if((b[2]&256)!==256){var c=Gg(null);try{b[2]&=-129;b[2]|=256;b[24]&&Ng(b[24]);var d;if(a!=null&&(d=a.destroyHooks)!=null)for(var e=0;e<d.length;e+=2){var f=b[d[e]];if(!(f instanceof Bla)){var h=d[e+1];if(Array.isArray(h))for(var k=0;k<h.length;k+=2){var q=f[h[k]],u=h[k+1];Jh(4,q,u);try{u.call(q)}finally{Jh(5,q,u)}}else{Jh(4,f,h);try{h.call(f)}finally{Jh(5,f,h)}}}}var A=a.cleanup,D=b[7];if(A!==null)for(d=0;d<A.length-1;d+=2)if(typeof A[d]==="string"){var H=
A[d+3];if(H>=0)D[H]();else D[-H].unsubscribe();d+=2}else A[d].call(D[A[d+1]]);D!==null&&(b[7]=null);var O=b[21];if(O!==null)for(b[21]=null,A=0;A<O.length;A++)(0,O[A])();var P=b[23];if(P!==null){b[23]=null;for(var S=l(P),aa=S.next();!aa.done;aa=S.next())aa.value.destroy()}b[1].type===1&&b[11].destroy();var ia=b[16];if(ia!==null&&ph(b[3])){ia!==b[3]&&vna(ia,b);var la=b[18];la!==null&&la.detachView(a)}Pla.delete(b[19])}finally{Gg(c)}}},rna=function(a,b,c,d){var e=a==null?void 0:a[26];e!=null&&e.leave!=
void 0&&e.leave.has(b.index)?e.skipLeaveAnimations?(e.skipLeaveAnimations=!1,d(!1)):(a&&yna.add(a),tna(c,function(){if(e.leave&&e.leave.has(b.index)){var f=e.leave.get(b.index),h=[];if(f)for(var k=0;k<f.animateFns.length;k++){var q=(0,f.animateFns[k])().promise;h.push(q)}e.running=Promise.allSettled(h);zna(a,d)}else a&&yna.delete(a),d(!1)})):d(!1)},zna=function(a,b){var c,d=(c=a[26])==null?void 0:c.running;d?d.then(function(){a[26].running=void 0;yna.delete(a);b(!0)}):b(!1)},Ana=function(a,b,c){for(;b!==
null&&b.type&168;)b=b.parent;return b===null?c[0]:b.componentOffset>-1&&(a=a.data[b.directiveStart+b.componentOffset].encapsulation,a===2||a===0)?null:sh(b,c)},Bna=function(a,b,c,d){a=Ana(a,d.parent,b);var e=b[11];d=d.parent||b[5];b=d.type&40?sh(d,b):null;if(a!=null)if(Array.isArray(c))for(d=0;d<c.length;d++){var f=e,h=a,k=c[d];b!==null?f.insertBefore(h,k,b,!1):f.appendChild(h,k)}else b!==null?e.insertBefore(a,c,b,!1):e.appendChild(a,c)},Dna=function(a,b){if(b!==null){var c=b.type;if(c&3)return sh(b,
a);if(c&4)return Cna(-1,a[b.index]);if(c&8){c=b.child;if(c!==null)return Dna(a,c);a=a[b.index];return ph(a)?Cna(-1,a):rh(a)}if(c&128)return Dna(a,b.next);if(c&32)return(void 0)(b,a)()||rh(a[b.index]);c=b!==null?a[15][5].projection[b.projection]:null;if(c!==null){if(Array.isArray(c))return c[0];a=wh(a[15]);return Dna(a,c)}return Dna(a,b.next)}return null},Cna=function(a,b){a=10+a+1;if(a<b.length){a=b[a];var c=a[1].firstChild;if(c!==null)return Dna(a,c)}return b[7]},Gi=function(a,b,c,d,e,f,h){for(;c!=
null;){var k=d[9];if(c.type===128)c=c.next;else{var q=d[c.index],u=c.type;h&&b===0&&(q&&Oh(rh(q),d),c.flags|=2);if((c.flags&32)!==32)if(u&8)Gi(a,b,c.child,d,e,f,!1),Fi(b,a,k,e,q,c,f,d);else if(u&32){u=(void 0)(c,d);for(var A;A=u();)Fi(b,a,k,e,A,c,f,d);Fi(b,a,k,e,q,c,f,d)}else u&16?Ena(a,b,d,c,e,f):Fi(b,a,k,e,q,c,f,d);c=h?c.projectionNext:c.next}}},Ena=function(a,b,c,d,e,f){var h=c[15],k=h[5].projection[d.projection];if(Array.isArray(k))for(h=0;h<k.length;h++)Fi(b,a,c[9],e,k[h],d,f,c);else c=h[3],
(d.flags&128)===128&&(k.flags|=128),Gi(a,b,k,c,e,f,!0)},sna=function(a,b,c,d,e,f,h){var k=d[7];k!==rh(d)&&Fi(b,a,c,f,k,e,h);for(c=10;c<d.length;c++)e=d[c],Gi(a,b,e[1].firstChild,e,f,k,!1)},Fna=function(a,b,c,d,e,f,h,k,q,u,A){d=27+d;e=d+e;for(var D=[],H=0;H<e;H++)D.push(H<d?null:Sh);u=typeof u==="function"?u():u;return D[1]={type:a,blueprint:D,template:c,queries:null,viewQuery:k,declTNode:b,data:D.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:typeof f==="function"?f():f,pipeRegistry:typeof h==="function"?h():h,firstChild:null,schemas:q,consts:u,incompleteFirstPass:!1,ssrId:A}},Hna=function(a,b,c,d,e,f,h,k,q,u,A){var D=b.blueprint.slice();D[0]=e;D[2]=d|1228;if(u!==null||a&&
a[2]&2048)D[2]|=2048;D[17]=0;D[3]=D[14]=a;D[8]=c;D[10]=h||a&&a[10];D[11]=k||a&&a[11];D[9]=q||a&&a[9]||null;D[5]=f;D[19]=Gna++;D[6]=A;D[20]=u;D[15]=b.type==2?a[15]:D;return D},Ina=function(a){var b=16;a.signals?b=4096:a.onPush&&(b=64);return b},Jna=function(a,b,c,d){if(c===0)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},Kna=function(a,b){a[12]?a[13][4]=b:a[12]=b;return a[13]=b},Ii=function(a){return a instanceof Hi?a.changingThisBreaksApplicationSecurity:
a},Ji=function(a,b){a=a instanceof Hi&&a.getTypeName()||null;if(a!=null&&a!==b){if(a==="ResourceURL"&&b==="URL")return!0;throw Error("Ra`"+b+"`"+a);}return a===b},Mna=function(){if(Lna===void 0&&(Lna=null,Ki.trustedTypes))try{Lna=Ki.trustedTypes.createPolicy("angular",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return Lna},Nna=function(a){var b;return((b=Mna())==null?void 0:b.createHTML(a))||a},Pna=function(a){a=String(a);
return a.match(Ona)?a:"unsafe:"+a},Li=function(a){var b={};a=l(a.split(","));for(var c=a.next();!c.done;c=a.next())b[c.value]=!0;return b},Qna=function(){for(var a={},b=l(rd.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},Rna=function(a){a=a.nodeName;return typeof a==="string"?a:"FORM"},Una=function(a){return a.replace(/&/g,"&amp;").replace(Sna,function(b){return"&#"+((b.charCodeAt(0)-55296)*1024+(b.charCodeAt(1)-56320)+65536)+";"}).replace(Tna,
function(b){return"&#"+b.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")},coa=function(a,b){var c=null;try{var d;if(!(d=Vna)){var e=new Wna(a);try{var f=!!(new window.DOMParser).parseFromString(Nna(""),"text/html")}catch(la){f=!1}d=f?new Xna(e):e}Vna=d;var h=b?String(b):"";c=Vna.getInertBodyElement(h);a=5;b=h;do{if(a===0)throw Error("Ta");a--;h=b;b=c.innerHTML;c=Vna.getInertBodyElement(h)}while(h!==b);var k=new Yna,q=(("content"in c&&c.nodeType===Node.ELEMENT_NODE&&c.nodeName==="TEMPLATE"?
c.content:null)||c).firstChild;h=!0;for(a=[];q;){if(q.nodeType===Node.ELEMENT_NODE){b=k;d=q;var u=Rna(d).toLowerCase();if(Zna.hasOwnProperty(u)){b.buf.push("<");b.buf.push(u);var A=d.attributes;for(d=0;d<A.length;d++){var D=A.item(d),H=D.name,O=H.toLowerCase();if($na.hasOwnProperty(O)){var P=D.value;aoa[O]&&(P=Pna(P));b.buf.push(" ",H,'="',Una(P),'"')}}b.buf.push(">");h=!0}else h=!boa.hasOwnProperty(u)}else q.nodeType===Node.TEXT_NODE&&k.buf.push(Una(q.nodeValue));if(h&&q.firstChild){a.push(q);var S=
q.firstChild;if(S&&(q.compareDocumentPosition(S)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY)throw Error("Sa`"+S.outerHTML);q=S}else for(;q;){q.nodeType===Node.ELEMENT_NODE&&k.endElement(q);var aa,ia=q.nextSibling;if(ia&&q!==ia.previousSibling)throw Error("Sa`"+ia.outerHTML);if(aa=ia){q=aa;break}q=a.pop()}}return Nna(k.buf.join(""))}finally{if(c)for(c=("content"in c&&c.nodeType===Node.ELEMENT_NODE&&c.nodeName==="TEMPLATE"?c.content:null)||c;c.firstChild;)c.firstChild.remove()}},
eoa=function(){if(doa===void 0&&(doa=null,Ki.trustedTypes))try{doa=Ki.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return doa},foa=function(a){var b;return((b=eoa())==null?void 0:b.createHTML(a))||a},goa=function(a){var b;return((b=eoa())==null?void 0:b.createScriptURL(a))||a},Mi=function(a){var b=hoa();return b?foa(b.sanitize(1,a)||""):Ji(a,"HTML")?foa(Ii(a)):coa(Mla(),Tg(a))},
ioa=function(a){var b=hoa();return b?b.sanitize(2,a)||"":Ji(a,"Style")?Ii(a):Tg(a)},Ni=function(a){var b=hoa();return b?b.sanitize(4,a)||"":Ji(a,"URL")?Ii(a):Pna(Tg(a))},joa=function(a){var b=hoa();if(b)return goa(b.sanitize(5,a)||"");if(Ji(a,"ResourceURL"))return goa(Ii(a));throw new Ug(904,!1);},koa=function(a,b,c){return(c==="src"&&(b==="embed"||b==="frame"||b==="iframe"||b==="media"||b==="script")||c==="href"&&(b==="base"||b==="link")?joa:Ni)(a)},hoa=function(){var a=y();return a&&a[10].sanitizer},
loa=function(a,b,c,d,e){var f=yh.selectedIndex,h=d&2;try{yh.selectedIndex=-1,h&&b.length>27&&nna(a,b,27),Jh(h?2:0,e,c),c(d,e)}finally{yh.selectedIndex=f,Jh(h?3:1,e,c)}},moa=function(a,b,c){var d=c.directiveStart,e=c.directiveEnd;if(c.componentOffset>-1){var f=a.data[d+c.componentOffset],h=sh(c,b);var k=f.tView;k=k===null||k.incompleteFirstPass?f.tView=Fna(1,null,f.template,f.decls,f.vars,f.directiveDefs,f.pipeDefs,f.viewQuery,f.schemas,f.consts,f.id):k;f=Kna(b,Hna(b,k,null,Ina(f),h,c,null,b[10].rendererFactory.createRenderer(h,
f),null,null,null));b[c.index]=f}a.firstCreatePass||sla(c,b);f=c.initialInputs;for(h=d;h<e;h++){k=a.data[h];var q=Ala(b,a,h,c);Oh(q,b);if(f!==null){var u=f[h-d];if(u!==null)for(var A=0;A<u.length;A+=2)ona(k,q,u[A],u[A+1])}k.template&&(th(c.index,b)[8]=Ala(b,a,h,c))}if((c.flags&64)===64){e=c.directiveStart;d=c.directiveEnd;f=c.index;c=yh.currentDirectiveIndex;try{for(yh.selectedIndex=f;e<d;e++){var D=a.data[e],H=b[e];yh.currentDirectiveIndex=e;D.hostBindings===null&&D.hostVars===0&&D.hostAttrs===null||
D.hostBindings===null||D.hostBindings(1,H)}}finally{yh.selectedIndex=-1,yh.currentDirectiveIndex=c}}},noa=function(a,b,c){c=c===void 0?sh:c;var d=b.localNames;if(d!==null)for(var e=b.index+1,f=0;f<d.length;f+=2){var h=d[f+1];h=h===-1?c(b,a):a[h];a[e++]=h}},poa=function(a,b,c,d){c=d.get(ooa,!1)||c===3||c===4;return a.selectRootElement(b,c)},soa=function(a,b,c,d,e,f){Oi(a,b[1],b,c,d)?a.componentOffset>-1&&qoa(b,a.index):(a.type&3&&(c=c==="class"?"className":c==="for"?"htmlFor":c==="formaction"?"formAction":
c==="innerHtml"?"innerHTML":c==="readonly"?"readOnly":c==="tabindex"?"tabIndex":c),roa(a,b,c,d,e,f))},roa=function(a,b,c,d,e,f){a.type&3&&(b=sh(a,b),d=f!=null?f(d,a.value||"",c):d,e.setProperty(b,c,d))},qoa=function(a,b){a=th(b,a);a[2]&16||(a[2]|=64)},toa=function(a,b){a=a.directiveRegistry;var c=null;if(a)for(var d=0;d<a.length;d++){var e=a[d];Jla(b,e.selectors,!1)&&(c!=null||(c=[]),e.template?c.unshift(e):c.push(e))}return c},uoa=function(a,b,c,d,e,f,h){f==null?a.removeAttribute(b,e,c):(d=h==null?
Tg(f):h(f,d||"",e),a.setAttribute(b,e,d,c))},voa=function(a,b,c,d,e){var f=27+c,h=b[1];c=e(h,b,a,d,c);b[f]=c;Bh(a,!0);(f=a.type===2)?(Wla(b[11],c,a),yh.elementDepthCount!==0&&(a.flags&1)!==1||Oh(c,b),yh.elementDepthCount++):Oh(c,b);!Pi||f&&(a.flags&32)===32||Bna(h,b,c,a)},woa=function(){var a=Ah();yh.isParent?yh.isParent=!1:(a=a.parent,Bh(a,!1));return a},xoa=function(a,b,c){if(a===null||a.template)a:{for(a=c[b.index];Array.isArray(a);){if(typeof a[1]==="object"){c=a;break a}a=a[0]}c=null}return c[11]},
Oi=function(a,b,c,d,e){var f,h=(f=a.inputs)==null?void 0:f[d],k;a=(k=a.hostDirectiveInputs)==null?void 0:k[d];k=!1;if(a)for(f=0;f<a.length;f+=2)k=a[f],ona(b.data[k],c[k],a[f+1],e),k=!0;if(h)for(h=l(h),a=h.next();!a.done;a=h.next())a=a.value,ona(b.data[a],c[a],d,e),k=!0;return k},Qi=function(a,b,c){return function f(e){var h=a.componentOffset>-1?th(a.index,b):b;ama(h,5);h=b[8];for(var k=yoa(b,h,c,e),q=f.__ngNextListenerFn__;q;)k=yoa(b,h,q,e)&&k,q=q.__ngNextListenerFn__;return k}},yoa=function(a,b,
c,d){var e=Gg(null);try{return Jh(6,b,c),c(d)!==!1}catch(q){d=q;var f=a[9];if(f){try{var h=f.get(Ri,null)}catch(u){h=null}var k;(k=h)==null||k(d)}return!1}finally{Jh(7,b,c),Gg(e)}},Boa=function(a,b,c,d,e,f,h,k){var q=(a.flags&1)===1,u=!1,A=null;!d&&q&&(A=zoa(b,c,f,a.index));A!==null?((A.__ngLastListenerFn__||A).__ngNextListenerFn__=h,A.__ngLastListenerFn__=h,u=!0):(h=sh(a,c),h=d?d(h):h,e=e.listen(h,f,k),f.startsWith("animation")||f.startsWith("transition")||Aoa(d?function(D){return d(rh(D[a.index]))}:
a.index,b,c,f,k,e,!1));return u},zoa=function(a,b,c,d){a=a.cleanup;if(a!=null)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&&b.length>c?b[c]:null;typeof f==="string"&&(e+=2)}return null},Aoa=function(a,b,c,d,e,f,h){b=b.firstCreatePass?Ska(b):null;c=Rka(c);var k=c.length;c.push(e,f);b&&b.push(d,a,k,(k+1)*(h?-1:1))},Coa=function(a,b,c,d,e,f){var h=b[1];c=b[c][h.data[c].outputs[d]].subscribe(f);Aoa(a.index,h,b,e,f,c,!0)},Doa=function(a,b){var c=a.contentQueries;
if(c!==null){var d=Gg(null);try{for(var e=0;e<c.length;e+=2){var f=c[e],h=c[e+1];if(h!==-1){var k=a.data[h];yh.currentQueryIndex=f;k.contentQueries(2,b[h],h)}}}finally{Gg(d)}}},Eoa=function(a,b,c){yh.currentQueryIndex=0;var d=Gg(null);try{b(a,c)}finally{Gg(d)}},Foa=function(a,b,c){if((b.flags&4)!==0){var d=Gg(null);try{for(var e=b.directiveEnd,f=b.directiveStart;f<e;f++){var h=a.data[f];h.contentQueries&&h.contentQueries(1,c[f],f)}}finally{Gg(d)}}},Hoa=function(a,b,c){Yka(b);try{var d=a.viewQuery;
d!==null&&Eoa(1,d,c);var e=a.template;e!==null&&loa(a,b,e,1,c);a.firstCreatePass&&(a.firstCreatePass=!1);var f;(f=b[18])!=null&&Goa(f,a);a.staticContentQueries&&Doa(a,b);a.staticViewQueries&&Eoa(2,a.viewQuery,c);var h=a.components;if(h!==null)for(c=0;c<h.length;c++){var k=th(h[c],b),q=k[1];d=q;e=k;for(var u=e.length;u<d.blueprint.length;u++)e.push(d.blueprint[u]);k[0]!==null&&k[6]===null&&(k[6]=null);Jh(18);Hoa(q,k,k[8]);Jh(19,k[8])}}catch(A){throw a.firstCreatePass&&(a.incompleteFirstPass=!0,a.firstCreatePass=
!1),A;}finally{b[2]&=-5,ala()}},Ioa=function(a,b,c){var d=c?a.styles:null,e=c?a.classes:null,f=0;if(b!==null)for(var h=0;h<b.length;h++){var k=b[h];if(typeof k==="number")f=k;else if(f==1)e=Xja(e,k);else if(f==2){var q=b[++h];d=Xja(d,k+": "+q+";")}}c?a.styles=d:a.stylesWithoutHost=d;c?a.classes=e:a.classesWithoutHost=e},Ti=function(a,b,c,d,e){var f=a.data[b];if(f===null){f=yh.currentTNode;var h=yh.isParent,k=a.data,q=h?f:f&&f.parent,u=q?q.injectorIndex:-1,A=0;Si!==null&&(A|=128);b=k[b]={type:c,index:b,
insertBeforeIndex:null,injectorIndex:u,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:A,providerIndexes:0,value:d,attrs:e,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:q,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,
residualClasses:void 0,classBindings:0,styleBindings:0};a.firstChild===null&&(a.firstChild=b);f!==null&&(h?f.child==null&&b.parent!==null&&(f.child=b):f.next===null&&(f.next=b,b.prev=f));f=b;yh.inI18n&&(f.flags|=32)}else f.type&64&&(f.type=c,f.value=d,f.attrs=e,a=yh,b=a.currentTNode,a=a.isParent?b:b.parent,f.injectorIndex=a===null?-1:a.injectorIndex);Bh(f,!0);return f},Ui=function(a,b){b=b===void 0?0:b;var c=y();return c===null?bh(a,b):xla(Ah(),c,ah(a),b)},Joa=function(){throw Error("Va");},Noa=function(a,
b,c,d,e){var f=d===null?null:{"":-1},h=e(a,c);if(h!==null){for(var k=h,q=e=null,u=l(h),A=u.next();!A.done;A=u.next())if(A=A.value,A.resolveHostDirectives!==null){q=l(A.resolveHostDirectives(h));k=q.next().value;e=q.next().value;q=q.next().value;break}h=k.length;u=!1;for(A=0;A<h;A++){var D=k[A];if(!u&&D.template){u=!0;var H=void 0,O=a,P=c;P.componentOffset=A;((H=O.components)!=null?H:O.components=[]).push(P.index)}H=sla(c,b);ola(H,a,D.type)}u=a.data.length;c.flags|=1;c.directiveStart=u;c.directiveEnd=
u+h;c.providerIndexes=u;for(u=0;u<h;u++)A=k[u],A.providersResolver&&A.providersResolver(A);H=D=!1;u=Jna(a,b,h,null);h>0&&(c.directiveToIndex=new Map);for(A=0;A<h;A++){O=k[A];c.mergedAttrs=Kh(c.mergedAttrs,O.hostAttrs);var S=a,aa=c,ia=b;P=u;S.data[P]=O;var la=O.factory||(O.factory=eh(O.type));la=new Bla(la,!!O.template);S.blueprint[P]=la;ia[P]=la;ia=Jna(S,ia,O.hostVars,Sh);if(la=O.hostBindings){var ya=S.hostBindingOpCodes;ya===null&&(ya=S.hostBindingOpCodes=[]);S=~aa.index;a:{for(aa=ya.length;aa>0;){var Ia=
ya[--aa];if(typeof Ia==="number"&&Ia<0){aa=Ia;break a}}aa=0}aa!=S&&ya.push(S);ya.push(P,ia,la)}P=u;if(f){if(O.exportAs)for(ia=0;ia<O.exportAs.length;ia++)f[O.exportAs[ia]]=P;O.template&&(f[""]=P)}q!==null&&q.has(O)?(ia=l(q.get(O)),P=ia.next().value,ia=ia.next().value,c.directiveToIndex.set(O.type,[u,P+c.directiveStart,ia+c.directiveStart])):e!==null&&e.has(O)||c.directiveToIndex.set(O.type,u);O.contentQueries!==null&&(c.flags|=4);if(O.hostBindings!==null||O.hostAttrs!==null||O.hostVars!==0)c.flags|=
64;O=O.type.prototype;!D&&(O.ngOnChanges||O.ngOnInit||O.ngDoCheck)&&(P=D=void 0,((P=(D=a).preOrderHooks)!=null?P:D.preOrderHooks=[]).push(c.index),D=!0);H||!O.ngOnChanges&&!O.ngDoCheck||(O=H=void 0,((O=(H=a).preOrderCheckHooks)!=null?O:H.preOrderCheckHooks=[]).push(c.index),H=!0);u++}for(b=c.directiveStart;b<c.directiveEnd;b++)k=a.data[b],e!==null&&e.has(k)?(k=e.get(k),Koa(0,c,k,b),Koa(1,c,k,b),Loa(c,b,!0)):(Moa(0,c,k,b),Moa(1,c,k,b),Loa(c,b,!1))}if(f!==null&&d!==null)for(a=c.localNames=[],c=0;c<
d.length;c+=2){b=f[d[c+1]];if(b==null)throw new Ug(-301,!1);a.push(d[c],b)}},Moa=function(a,b,c,d){c=a===0?c.inputs:c.outputs;for(var e in c)if(c.hasOwnProperty(e)){if(a===0){var f=void 0,h=void 0;var k=(h=(f=b).inputs)!=null?h:f.inputs={}}else h=f=void 0,k=(h=(f=b).outputs)!=null?h:f.outputs={};h=f=void 0;(f=k)[h=e]!=null||(f[h]=[]);k[e].push(d);Ooa(b,e)}},Koa=function(a,b,c,d){c=a===0?c.inputs:c.outputs;for(var e in c)if(c.hasOwnProperty(e)){var f=c[e];if(a===0){var h=void 0,k=void 0;var q=(k=(h=
b).hostDirectiveInputs)!=null?k:h.hostDirectiveInputs={}}else k=h=void 0,q=(k=(h=b).hostDirectiveOutputs)!=null?k:h.hostDirectiveOutputs={};k=h=void 0;(h=q)[k=f]!=null||(h[k]=[]);q[f].push(d,e);Ooa(b,f)}},Ooa=function(a,b){b==="class"?a.flags|=8:b==="style"&&(a.flags|=16)},Loa=function(a,b,c){var d=a.attrs,e=a.inputs,f=a.hostDirectiveInputs;if(d===null||!c&&e===null||c&&f===null||Hla(a))a.initialInputs!=null||(a.initialInputs=[]),a.initialInputs.push(null);else{for(var h=null,k=0;k<d.length;){var q=
d[k];if(q===0)k+=4;else{if(q!==5){if(typeof q==="number")break;if(!c&&e.hasOwnProperty(q))for(var u=l(e[q]),A=u.next();!A.done;A=u.next()){if(A.value===b){h!=null||(h=[]);h.push(q,d[k+1]);break}}else if(c&&f.hasOwnProperty(q))for(q=f[q],u=0;u<q.length;u+=2)if(q[u]===b){h!=null||(h=[]);h.push(q[u+1],d[k+1]);break}}k+=2}}a.initialInputs!=null||(a.initialInputs=[]);a.initialInputs.push(h)}},Poa=function(a,b,c,d,e,f,h){var k=b[1],q=k.consts;f=uh(q,f);a=Ti(k,a,c,d,f);Noa(k,b,a,uh(q,h),e);a.mergedAttrs=
Kh(a.mergedAttrs,a.attrs);a.attrs!==null&&Ioa(a,a.attrs,!1);a.mergedAttrs!==null&&Ioa(a,a.mergedAttrs,!0);k.queries!==null&&k.queries.elementStart(k,a);return a},Qoa=function(a,b){bla(a,b);(b.flags&4)!==0&&a.queries.elementEnd(b)},Roa=function(a,b,c,d,e){for(e=e===void 0?!1:e;c!==null;){if(c.type!==128){var f=b[c.index];f!==null&&d.push(rh(f));if(ph(f)){for(var h=d,k=10;k<f.length;k++){var q=f[k],u=q[1].firstChild;u!==null&&Roa(q[1],q,u,h)}f[7]!==f[0]&&h.push(f[7])}f=c.type;if(f&8)Roa(a,b,c.child,
d);else if(f&32)for(f=(void 0)(c,b);h=f();)d.push(h);else f&16&&(f=c!==null?b[15][5].projection[c.projection]:null,Array.isArray(f)?d.push.apply(d,p(f)):(h=wh(b[15]),Roa(h[1],h,f,d,!0)))}c=e?c.projectionNext:c.next}return d},Soa=function(a){if(a[25]!==null){for(var b=l(a[25]),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.impl;d.sequences.add(c);d.scheduler.notify(7)}a[25].length=0}},Toa=function(a){if(a[23]!==null)for(var b=!0;b;){b=!1;for(var c=l(a[23]),d=c.next(),e={};!d.done;e={effect$jscomp$4:void 0},
d=c.next())e.effect$jscomp$4=d.value,e.effect$jscomp$4.dirty&&(b=!0,e.effect$jscomp$4.zone===null||Zone.current===e.effect$jscomp$4.zone?e.effect$jscomp$4.run():e.effect$jscomp$4.zone.run(function(f){return function(){return f.effect$jscomp$4.run()}}(e)));b=b&&!!(a[2]&8192)}},Voa=function(a,b){b=b===void 0?0:b;var c=a[10].rendererFactory,d;(d=c.begin)==null||d.call(c);try{d=b;b=Tka;try{for(Uka(!0),Uoa(a,d),d=0;Oka(a);){if(d===100)throw new Ug(103,!1);d++;Uoa(a,1)}}finally{Uka(b)}}finally{var e;(e=
c.end)==null||e.call(c)}},Woa=function(a,b){for(a=Qla(a[12]);a!==null;a=Qla(a[4]))for(var c=10;c<a.length;c++){var d=a[c];(d[2]&128)===128&&Uoa(d,b)}},Uoa=function(a,b){var c=a[1],d=a[2],e=a[24],f=!!(b===0&&d&16);f||(f=!!(d&64&&b===0));f||(f=!!(d&1024));f||(f=!!((e==null?0:e.dirty)&&Mja(e)));f||(f=!1);e&&(e.dirty=!1);a[2]&=-9217;if(f){f=c.template;var h=a[8];if((a[2]&256)!==256){var k=a[2];Yka(a);b=!0;e=d=null;if(c.type!==2){var q;if((q=a[24])!=null)var u=q;else q=(u=Xoa.pop())!=null?u:Object.create(Yoa),
q.lView=a,u=q;e=u;d=Lg(e)}else Fg===null?(b=!1,u=(q=a[24])!=null?q:Object.create(Zoa),u.lView=a,e=u,d=Lg(e)):a[24]&&(Ng(a[24]),a[24]=null);try{a[17]=0;yh.bindingIndex=c.bindingStartIndex;f!==null&&loa(c,a,f,2,h);if(u=(k&3)===3){var A=c.preOrderCheckHooks;A!==null&&cla(a,A,3,null)}else{var D=c.preOrderHooks;D!==null&&dla(a,D,0,null);ela(a,0)}for(var H=Qla(a[12]);H!==null;H=Qla(H[4]))if(H[2]&2){var O=H[9];for(A=0;A<O.length;A++)Nka(O[A])}Toa(a);Woa(a,0);c.contentQueries!==null&&Doa(c,a);if(u){var P=
c.contentCheckHooks;P!==null&&cla(a,P,3)}else{var S=c.contentHooks;S!==null&&dla(a,S,1);ela(a,1)}var aa=c.hostBindingOpCodes;if(aa!==null)try{for(H=0;H<aa.length;H++){var ia=aa[H];if(ia<0)yh.selectedIndex=~ia;else{O=ia;var la=aa[++H],ya=aa[++H];P=yh;P.bindingIndex=P.bindingRootIndex=la;yh.currentDirectiveIndex=O;var Ia=a[O];Jh(24,Ia);ya(2,Ia);Jh(25,Ia)}}}finally{yh.selectedIndex=-1}var Pa=c.components;Pa!==null&&$oa(a,Pa,0);var gb=c.viewQuery;gb!==null&&Eoa(2,gb,h);if(u){var ua=c.viewCheckHooks;ua!==
null&&cla(a,ua,3)}else{var Ea=c.viewHooks;Ea!==null&&dla(a,Ea,2);ela(a,2)}c.firstUpdatePass===!0&&(c.firstUpdatePass=!1);if(a[22]){for(var Ha=l(a[22]),mb=Ha.next();!mb.done;mb=Ha.next()){var nb=mb.value;nb()}a[22]=null}Soa(a);a[2]&=-73}catch(Lb){throw vh(a),Lb;}finally{e!==null&&(Mg(e,d),b&&(a=e,a.lView[24]!==a&&(a.lView=null,Xoa.push(a)))),ala()}}}else if(d&8192){aa=Gg(null);try{Toa(a),Woa(a,1),h=c.components,h!==null&&$oa(a,h,1),Soa(a)}finally{Gg(aa)}}},$oa=function(a,b,c){for(var d=0;d<b.length;d++){var e=
a,f=b[d],h=c;Jh(18);e=th(f,e);(e[2]&128)===128&&Uoa(e,h);Jh(19,e[8])}},apa=function(a,b){b=10+b;if(b<a.length)return a[b]},cpa=function(a,b,c,d){d=d===void 0?!0:d;var e=b[1],f=10+c,h=a.length;c>0&&(a[f-1][4]=b);c<h-10?(b[4]=a[f],f=10+c,f>=a.length?a.push(b):a.splice(f,0,b)):(a.push(b),b[4]=null);b[3]=a;f=b[16];f!==null&&a!==f&&bpa(f,b);f=b[18];f!==null&&Goa(f,e);Pka(b);b[2]|=128;d&&(c=Cna(c,a),d=b[11],f=d.parentNode(a[7]),f!==null&&(a=a[5],b[0]=f,b[5]=a,Gi(d,1,e.firstChild,b,f,c,!1)));b=b[6];b!==
null&&b.firstChild!==null&&(b.firstChild=null)},epa=function(a){a=dpa(a,0);a!==void 0&&xna(a[1],a)},dpa=function(a,b){if(!(a.length<=10)){var c=10+b,d=a[c];if(d){var e=d[16];e!==null&&e!==a&&vna(e,d);b>0&&(a[c-1][4]=d[4]);a=mka(a,10+b);una(d[1],d);d[0]=null;d[5]=null;b=a[18];b!==null&&b.detachView(a[1]);d[3]=null;d[4]=null;d[2]&=-129}return d}},bpa=function(a,b){var c=a[9],d=b[3];oh(d)?a[2]|=2:b[15]!==d[3][15]&&(a[2]|=2);c===null?a[9]=[b]:c.push(b)},fpa=function(a){return Object.keys(a).map(function(b){var c=
l(a[b]),d=c.next().value,e=c.next().value;c=c.next().value;b={propName:d,templateName:b,isSignal:(e&1)!==0};c&&(b.transform=c);return b})},gpa=function(a){return Object.keys(a).map(function(b){return{propName:a[b],templateName:b}})},ipa=function(a,b,c){(b=b instanceof Vi?b:b==null?void 0:b.injector)&&a.getStandaloneInjector!==null&&(b=a.getStandaloneInjector(b)||b);return b?new hpa(c,b):c},kpa=function(a){var b=a.get(Wi,null);if(b===null)throw new Ug(407,!1);var c=a.get(jpa,null);a=a.get(Xi,null);
return{rendererFactory:b,sanitizer:c,changeDetectionScheduler:a,ngReflect:!1}},lpa=function(a,b){a=(a.selectors[0][0]||"div").toLowerCase();return b.createElement(a,a==="svg"?"svg":a==="math"?"math":null)},ppa=function(a,b,c,d){if(a)a=["ng-version","0.0.0-PLACEHOLDER"];else{a=b.selectors[0];for(var e=[],f=[],h=1,k=2;h<a.length;){var q=a[h];if(typeof q==="string")k===2?q!==""&&e.push(q,a[++h]):k===8&&f.push(q);else{if((k&1)!==0)break;k=q}h++}f.length&&e.push.apply(e,[1].concat(p(f)));a=e}f=e=null;
h=0;if(c)for(c=l(c),k=c.next();!k.done;k=c.next())k=k.value,h+=k[mpa].requiredVars,k.create&&(k.targetIdx=0,q=void 0,((q=e)!=null?q:e=[]).push(k)),k.update&&(k.targetIdx=0,q=void 0,((q=f)!=null?q:f=[]).push(k));if(d)for(c=0;c<d.length;c++)if(k=d[c],typeof k!=="function")for(k=l(k.bindings),q=k.next();!q.done;q=k.next()){q=q.value;h+=q[mpa].requiredVars;var u=c+1;if(q.create){q.targetIdx=u;var A=void 0;((A=e)!=null?A:e=[]).push(q)}q.update&&(q.targetIdx=u,u=void 0,((u=f)!=null?u:f=[]).push(q))}b=[b];
if(d)for(d=l(d),c=d.next();!c.done;c=d.next())c=c.value,b.push((typeof c==="function"?c:c.type)[npa]||null);return Fna(0,null,opa(e,f),1,h,b,null,null,null,[a],null)},opa=function(a,b){return a||b?function(c){if(c&1&&a)for(var d=l(a),e=d.next();!e.done;e=d.next())e.value.create();if(c&2&&b)for(c=l(b),d=c.next();!d.done;d=c.next())d.value.update()}:null},qpa=function(a){a=a[mpa].kind;return a==="input"||a==="twoWay"},rpa=function(a,b,c){a=a.projection=[];for(var d=0;d<b.length;d++){var e=c[d];a.push(e!=
null&&e.length?Array.from(e):null)}},tpa=function(a,b,c){return(new spa({providers:a,parent:b,debugName:c===void 0?null:c,runEnvironmentInitializers:!0})).injector},Yi=function(a){if(!upa.has(a)){upa.add(a);var b,c;(b=performance)==null||(c=b.mark)==null||c.call(b,"mark_feature_usage",{detail:{feature:a}})}},F=function(a){return jla(function(){var b=vpa(a),c,d=Object.assign({},b,{decls:a.decls,vars:a.vars,template:a.template,consts:a.consts||null,ngContentSelectors:a.ngContentSelectors,onPush:a.changeDetection===
0,directiveDefs:null,pipeDefs:null,dependencies:b.standalone&&a.dependencies||null,getStandaloneInjector:b.standalone?function(e){e=e.get(wpa);if(d.standalone){if(!e.cachedInjectors.has(d)){var f=pka(!1,d.type);f=f.length>0?tpa([f],e._injector,"Standalone["+d.type.name+"]"):null;e.cachedInjectors.set(d,f)}e=e.cachedInjectors.get(d)}else e=null;return e}:null,getExternalStyles:null,signals:(c=a.signals)!=null?c:!1,data:a.data||{},encapsulation:a.encapsulation||0,styles:a.styles||hh,_:null,schemas:a.schemas||
null,tView:null,id:""});b.standalone&&Yi("NgStandalone");xpa(d);b=a.dependencies;d.directiveDefs=ypa(b,zpa);d.pipeDefs=ypa(b,jka);d.id=Apa(d);return d})},zpa=function(a){return a[gh]||a[npa]||null},Zi=function(a){return jla(function(){return{type:a.type,bootstrap:a.bootstrap||hh,declarations:a.declarations||hh,imports:a.imports||hh,exports:a.exports||hh,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null}})},$i=function(a){return jla(function(){var b=vpa(a);xpa(b);return b})},aj=function(a){var b;
return{type:a.type,name:a.name,factory:null,pure:a.pure!==!1,standalone:(b=a.standalone)!=null?b:!0,onDestroy:a.type.prototype.ngOnDestroy||null}},vpa=function(a){var b={},c,d=a.type,e=a.hostBindings||null,f=a.hostVars||0,h=a.hostAttrs||null,k=a.contentQueries||null,q=a.inputs||qh,u=a.exportAs||null,A=(c=a.standalone)!=null?c:!0;c=a.signals===!0;var D=a.selectors||hh,H=a.viewQuery||null,O=a.features||null;var P=a.inputs;if(P==null)var S=qh;else{var aa={};for(S in P)if(P.hasOwnProperty(S)){var ia=
P[S];if(Array.isArray(ia)){var la=ia[0];var ya=ia[1];var Ia=void 0;var Pa=(Ia=ia[2])!=null?Ia:ya;ia=ia[3]||null}else Pa=ya=ia,la=0,ia=null;aa[ya]=[S,la,ia];b[ya]=Pa}S=aa}a=a.outputs;if(a==null)var gb=qh;else{P={};for(gb in a)a.hasOwnProperty(gb)&&(P[a[gb]]=gb);gb=P}return{type:d,providersResolver:null,factory:null,hostBindings:e,hostVars:f,hostAttrs:h,contentQueries:k,declaredInputs:b,inputConfig:q,exportAs:u,standalone:A,signals:c,selectors:D,viewQuery:H,features:O,setInput:null,resolveHostDirectives:null,
hostDirectives:null,inputs:S,outputs:gb,debugInfo:null}},xpa=function(a){var b;(b=a.features)==null||b.forEach(function(c){return c(a)})},ypa=function(a,b){return a?function(){var c=typeof a==="function"?a():a,d=[];c=l(c);for(var e=c.next();!e.done;e=c.next())e=b(e.value),e!==null&&d.push(e);return d}:null},Apa=function(a){var b=0;a=[a.selectors,a.ngContentSelectors,a.hostVars,a.hostAttrs,typeof a.consts==="function"?"":a.consts,a.vars,a.decls,a.encapsulation,a.standalone,a.signals,a.exportAs,JSON.stringify(a.inputs),
JSON.stringify(a.outputs),Object.getOwnPropertyNames(a.type.prototype),!!a.contentQueries,!!a.viewQuery];a=l(a.join("|"));for(var c=a.next();!c.done;c=a.next())b=Math.imul(31,b)+c.value.charCodeAt(0)<<0;return"c"+(b+2147483648)},Bpa=function(a){return!!a&&typeof a.then==="function"},Cpa=function(a){return!!a&&typeof a.subscribe==="function"},Epa=function(a){return{"\u0275providers":[{provide:Dpa,multi:!0,useValue:a}]}},bj=function(a){return typeof a==="function"&&a[Pg]!==void 0},Fpa=function(a){return qi(function(b,
c){var d=!1,e=null,f=null,h=!1,k=function(){var u;(u=f)==null||u.unsubscribe();f=null;d&&(d=!1,u=e,e=null,c.next(u));h&&c.complete()},q=function(){f=null;h&&c.complete()};b.subscribe(new ri(c,function(u){d=!0;e=u;f||ci(a(u)).subscribe(f=new ri(c,k,void 0,q))},void 0,function(){h=!0;d&&f&&!f.closed||c.complete()}))})},Gpa=function(a,b){b=b===void 0?zi:b;return Fpa(function(){return Ai(a,b)})},Hpa=function(a){return qi(function(b,c){var d=[];b.subscribe(new ri(c,function(e){return d.push(e)},void 0,
function(){c.next(d);c.complete()}));a.subscribe(new ri(c,function(){var e=d;d=[];c.next(e)},void 0,Zh));return function(){d=null}})},cj=function(a){return qi(function(b,c){var d=null,e=!1,f;d=b.subscribe(new ri(c,void 0,function(h){f=ci(a(h,cj(a)(b)));d?(d.unsubscribe(),d=null,f.subscribe(c)):e=!0}));e&&(d.unsubscribe(),d=null,f.subscribe(c))})},Ipa=function(a,b,c){return function(d,e){var f=c,h=b,k=0;d.subscribe(new ri(e,function(q){var u=k++;h=f?a(h,q,u):(f=!0,q);e.next(h)},void 0,void 0))}},Jpa=
function(){var a=rd.apply(0,arguments),b=Bma(a);return b?ai(Jpa.apply(null,p(a)),Ema(b)):qi(function(c,d){Kma([c].concat(p(a.length===1&&Wma(a[0])?a[0]:a)))(d)})},dj=function(){return Jpa.apply(null,p(rd.apply(0,arguments)))},ej=function(a){return Xh()?ti(a,void 0,1):ti(a,1)},Lpa=function(){return Kpa.apply(null,p(rd.apply(0,arguments)))},Kpa=function(){var a=rd.apply(0,arguments),b=ki(a);return qi(function(c,d){ui(1)(Ama([c].concat(p(a)),b)).subscribe(d)})},Mpa=function(a){return qi(function(b,c){var d=
!1,e=null,f=null,h=function(){var k;(k=f)==null||k.unsubscribe();f=null;d&&(d=!1,k=e,e=null,c.next(k))};b.subscribe(new ri(c,function(k){var q;(q=f)==null||q.unsubscribe();d=!0;e=k;f=new ri(c,h,void 0,Zh);ci(a(k)).subscribe(f)},void 0,function(){h();c.complete()},function(){e=f=null}))})},fj=function(a,b){b=b===void 0?zi:b;var c=Ai(a,b);return Mpa(function(){return c})},Npa=function(a){a=a===void 0?null:a;return qi(function(b,c){var d=!1;b.subscribe(new ri(c,function(e){d=!0;c.next(e)},void 0,function(){d||
c.next(a);c.complete()}))})},Opa=function(){return qi(function(a,b){a.subscribe(new ri(b,Zh))})},gj=function(a){return qi(function(b,c){b.subscribe(new ri(c,function(){return c.next(a)}))})},hj=function(a){return a<=0?function(){return Bi}:qi(function(b,c){var d=0;b.subscribe(new ri(c,function(e){++d<=a&&(c.next(e),a<=d&&c.complete())}))})},Ppa=function(a){return ti(function(b,c){return a(b,c).pipe(hj(1),gj(b))})},ij=function(a,b){b=b===void 0?zi:b;var c=Ai(a,b);return Ppa(function(){return c})},
jj=function(a){var b=b===void 0?$h:b;var c;a=(c=a)!=null?c:Qpa;return qi(function(d,e){var f,h=!0;d.subscribe(new ri(e,function(k){var q=b(k);if(h||!a(f,q))h=!1,f=q,e.next(k)}))})},Qpa=function(a,b){return a===b},Spa=function(a){a=a===void 0?Rpa:a;return qi(function(b,c){var d=!1;b.subscribe(new ri(c,function(e){d=!0;c.next(e)},void 0,function(){return d?c.complete():c.error(a())}))})},Rpa=function(){return new oi},kj=function(a){return qi(function(b,c){b.subscribe(c);c.add(a)})},lj=function(a,b){var c=
arguments.length>=2;return function(d){return d.pipe(a?Di(function(e,f){return a(e,f,d)}):$h,hj(1),c?Npa(b):Spa(function(){return new oi}))}},Tpa=function(){return qi(function(a,b){var c=[];a.subscribe(new ri(b,function(d){c.push(d);1<c.length&&c.shift()},void 0,function(){for(var d=l(c),e=d.next();!e.done;e=d.next())b.next(e.value);b.complete()},function(){c=null}))})},Upa=function(a,b){var c=arguments.length>=2;return function(d){return d.pipe(a?Di(function(e,f){return a(e,f,d)}):$h,Tpa(),c?Npa(b):
Spa(function(){return new oi}))}},Vpa=function(a){var b=Xh(a)?a:function(){return a};return Xh()?qi(function(c,d){var e=b();(void 0)(e).subscribe(d).add(c.subscribe(e))}):function(c){var d=new mj(c,b);Xh(c==null?void 0:c.lift)&&(d.lift=c.lift);d.source=c;d.subjectFactory=b;return d}},Wpa=function(){return qi(function(a,b){var c,d=!1;a.subscribe(new ri(b,function(e){var f=c;c=e;d&&b.next([f,e]);d=!0}))})},Xpa=function(){var a=new nj(1,void 0,void 0);return function(b){return Vpa(function(){return a})(b)}},
Ypa=function(){var a=rd.apply(0,arguments);return a.length?qi(function(b,c){Xma([b].concat(p(a)))(c)}):$h},Zpa=function(a){return qi(function(b,c){var d,e=!1,f,h=function(){d=b.subscribe(new ri(c,void 0,function(k){f||(f=new oj,a(f).subscribe(new ri(c,function(){return d?h():e=!0})));f&&f.next(k)}));e&&(d.unsubscribe(),d=null,e=!1,h())};h()})},$pa=function(a,b){return qi(Ipa(a,b,arguments.length>=2))},aqa=function(){var a=a||{};var b=a.connector===void 0?function(){return new oj}:a.connector,c=a.resetOnComplete===
void 0?!0:a.resetOnComplete,d=a.resetOnError===void 0?!0:a.resetOnError,e=a.resetOnRefCountZero===void 0?!0:a.resetOnRefCountZero;return function(f){var h=null,k=null,q=0,u=!1,A=!1,D=function(){h=k=null;u=A=!1};return qi(function(H,O){q++;var P;k=(P=k)!=null?P:b();O.add(function(){q--;if(e&&!q&&!A&&!u){var S=h;D();S==null||S.unsubscribe()}});k.subscribe(O);!h&&q>0&&(h=new ni({next:function(S){return k.next(S)},error:function(S){A=!0;var aa=k;d&&D();aa.error(S)},complete:function(){u=!0;var S=k;c&&
D();S.complete()}}),di(H).subscribe(h))})(f)}},pj=function(a){var b;a&&typeof a==="object"?b=a:b={bufferSize:a,windowTime:void 0,refCount:!1,scheduler:void 0};return function(c){return qi(bqa(b))(c)}},bqa=function(a){var b=a.bufferSize===void 0?Infinity:a.bufferSize;var c=a.windowTime===void 0?Infinity:a.windowTime;var d=a.refCount;var e=a.scheduler;var f,h=0,k;return function(q,u){h++;if(f)var A=f.subscribe(u);else f=new nj(b,c,e),A=f.subscribe(u),k=q.subscribe({next:function(D){f.next(D)},error:function(D){var H=
f;f=k=void 0;H.error(D)},complete:function(){k=void 0;f.complete()}}),k.closed&&(k=void 0);u.add(function(){h--;A.unsubscribe();d&&h===0&&k&&(k.unsubscribe(),f=k=void 0)})}},qj=function(a){return Di(function(b,c){return a<=c})},rj=function(){var a=rd.apply(0,arguments),b=ki(a);return qi(function(c,d){(b?vi(a,c,b):vi(a,c)).subscribe(d)})},sj=function(a){return qi(function(b,c){var d=null,e=0,f=!1;b.subscribe(new ri(c,function(h){var k;(k=d)==null||k.unsubscribe();k=e++;ci(a(h,k)).subscribe(d=new ri(c,
function(q){return c.next(q)},void 0,function(){d=null;f&&!d&&c.complete()}))},void 0,function(){(f=!0,!d)&&c.complete()}))})},cqa=function(a){return sj(function(){return a})},tj=function(a){return qi(function(b,c){ci(a).subscribe(new ri(c,function(){return c.complete()},void 0,Zh));!c.closed&&b.subscribe(c)})},dqa=function(a){var b=b===void 0?!1:b;return qi(function(c,d){var e=0;c.subscribe(new ri(d,function(f){var h=a(f,e++);(h||b)&&d.next(f);!h&&d.complete()}))})},uj=function(a,b){var c=Xh(a)||
b?{next:a,error:b,complete:void 0}:a;return c?qi(function(d,e){d.subscribe(new ri(e,function(f){var h;(h=c.next)==null||h.call(c,f);e.next(f)},function(f){var h;(h=c.error)==null||h.call(c,f);e.error(f)},function(){var f;(f=c.complete)==null||f.call(c);e.complete()}))}):$h},fqa=function(a){var b=eqa.leading;var c=eqa.trailing;return qi(function(d,e){var f=!1,h=null,k=null,q=!1,u=function(){var O;(O=k)==null||O.unsubscribe();k=null;c&&(H(),q&&e.complete())},A=function(){k=null;q&&e.complete()},D=function(O){return k=
ci(a(O)).subscribe(new ri(e,u,void 0,A))},H=function(){f&&(e.next(h),!q&&D(h));f=!1;h=null};d.subscribe(new ri(e,function(O){f=!0;h=O;(!k||k.closed)&&(b?H():D(O))},void 0,function(){q=!0;c&&f&&k&&!k.closed||e.complete()}))})},vj=function(){var a=rd.apply(0,arguments),b=Bma(a);return qi(function(c,d){for(var e=a.length,f=Array(e),h=a.map(function(){return!1}),k=!1,q={i$jscomp$405:0};q.i$jscomp$405<e;q={i$jscomp$405:q.i$jscomp$405},q.i$jscomp$405++)ci(a[q.i$jscomp$405]).subscribe(new ri(d,function(u){return function(A){f[u.i$jscomp$405]=
A;k||h[u.i$jscomp$405]||(h[u.i$jscomp$405]=!0,(k=h.every($h))&&(h=null))}}(q),void 0,Zh));c.subscribe(new ri(d,function(u){k&&(u=[u].concat(p(f)),d.next(b?b.apply(null,p(u)):u))}))})},gqa=function(){Tja=function(){throw new Ug(600,"");}},hqa=function(a,b){return Array.isArray(b)?b.reduce(hqa,a):Object.assign({},a,b)},iqa=function(a,b){b=a.indexOf(b);b>-1&&a.splice(b,1)},jqa=function(a,b,c,d){var e=Gg(null);try{var f=b.tView,h,k,q,u=Hna(a,f,c,a[2]&4096?4096:16,null,b,null,null,(h=d==null?void 0:d.injector)!=
null?h:null,(k=d==null?void 0:d.embeddedViewInjector)!=null?k:null,(q=d==null?void 0:d.dehydratedView)!=null?q:null);u[16]=a[b.index];var A=a[18];A!==null&&(u[18]=A.createEmbeddedView(f));Hoa(f,u,c);return u}finally{Gg(e)}},wj=function(a,b){return!b||b.firstChild===null||(a.flags&128)===128},xj=function(a){for(var b=Object.getPrototypeOf(a.type.prototype).constructor,c=!0,d=[a];b;){if(a.template)var e=b.\u0275cmp||b.\u0275dir;else{if(b.\u0275cmp)throw new Ug(903,!1);e=b.\u0275dir}if(e){if(c){d.push(e);
var f=a;f.inputs=kqa(a.inputs);f.declaredInputs=kqa(a.declaredInputs);f.outputs=kqa(a.outputs);(f=e.hostBindings)&&lqa(a,f);f=e.viewQuery;var h=e.contentQueries;f&&mqa(a,f);h&&nqa(a,h);f=void 0;h=a;var k=e;for(f in k.inputs)if(k.inputs.hasOwnProperty(f)&&!h.inputs.hasOwnProperty(f)){var q=k.inputs[f];q!==void 0&&(h.inputs[f]=q,h.declaredInputs[f]=k.declaredInputs[f])}f=void 0;h=a.outputs;k=e.outputs;for(f in k)k.hasOwnProperty(f)&&!h.hasOwnProperty(f)&&(h[f]=k[f]);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===xj&&(c=!1)}b=Object.getPrototypeOf(b)}a=0;b=null;for(c=d.length-1;c>=0;c--)e=d[c],e.hostVars=a+=e.hostVars,e.hostAttrs=Kh(e.hostAttrs,b=Kh(b,e.hostAttrs))},kqa=function(a){return a===qh?{}:a===hh?[]:a},mqa=function(a,b){var c=a.viewQuery;a.viewQuery=c?function(d,e){b(d,e);c(d,e)}:b},nqa=function(a,b){var c=a.contentQueries;a.contentQueries=c?function(d,e,f){b(d,e,f);
c(d,e,f)}:b},lqa=function(a,b){var c=a.hostBindings;a.hostBindings=c?function(d,e){b(d,e);c(d,e)}:b},pqa=function(a){for(var b=[],c=!1,d=null,e=null,f=0;f<a.length;f++){var h=a[f];if(h.hostDirectives!==null){var k=b.length;d!=null||(d=new Map);e!=null||(e=new Map);oqa(h,b,d);e.set(h,[k,b.length-1])}f===0&&h.template&&(c=!0,b.push(h))}for(c=c?1:0;c<a.length;c++)b.push(a[c]);return[b,d,e]},oqa=function(a,b,c){if(a.hostDirectives!==null){a=l(a.hostDirectives);for(var d=a.next();!d.done;d=a.next())if(d=
d.value,typeof d==="function"){d=d();d=l(d);for(var e=d.next();!e.done;e=d.next())qqa(rqa(e.value),b,c)}else qqa(d,b,c)}},qqa=function(a,b,c){var d=a.directive[npa]||null,e=d.declaredInputs,f=a.inputs,h;for(h in f)f.hasOwnProperty(h)&&(e[f[h]]=e[h]);oqa(d,b,c);c.set(d,a);b.push(d)},rqa=function(a){return typeof a==="function"?{directive:ah(a),inputs:qh,outputs:qh}:{directive:ah(a.directive),inputs:sqa(a.inputs),outputs:sqa(a.outputs)}},sqa=function(a){if(a===void 0||a.length===0)return qh;for(var b=
{},c=0;c<a.length;c+=2)b[a[c]]=a[c+1];return b},uqa=function(){return new tqa(y(),Ah())},Ej=function(a,b){var c,d=(c=b==null?void 0:b.injector)!=null?c:x(yj);Yi("NgAfterNextRender");c=d.get(zj);c.impl!=null||(c.impl=d.get(Aj));var e=d.get(Bj,null,{optional:!0});b=(b==null?void 0:b.manualCleanup)!==!0?d.get(Cj):null;d=d.get(tqa,null,{optional:!0});a=new Dj(c.impl,a instanceof Function?[void 0,void 0,a,void 0]:[a.earlyRead,a.write,a.mixedReadWrite,a.read],d==null?void 0:d.view,!0,b,e==null?void 0:e.snapshot(null));
c.impl.register(a);return a},wqa=function(){return vqa(Ah(),y())},xqa=function(a){return a[8]||(a[8]=[])},vqa=function(a,b){var c=b[a.index];if(ph(c))var d=c;else d=[c,!0,0,b,null,a,null,null,null,null],b[a.index]=d,Kna(b,d);yqa(d,b,a,c);return new Fj(d,a,b)},zqa=function(a,b,c,d){if(!a[7]){if(c.type&8)d=rh(d);else{d=b[11];var e=d.createComment("");c=sh(c,b);b=d.parentNode(c);c=d.nextSibling(c);d.insertBefore(b,e,c,!1);d=e}a[7]=d}},Bqa=function(a,b,c,d,e,f,h,k){c.firstCreatePass&&(a.mergedAttrs=Kh(a.mergedAttrs,
a.attrs),e=a.tView=Fna(2,a,e,f,h,c.directiveRegistry,c.pipeRegistry,null,c.schemas,c.consts,null),c.queries!==null&&(c.queries.template(c,a),e.queries=c.queries.embeddedTView(a)));k&&(a.flags|=k);Bh(a,!1);k=Aqa(c,b,a,d);Pi&&Bna(c,b,k,a);Oh(k,b);a=[k,!0,0,b,null,a,null,k,null,null];b[d+27]=a;Kna(b,a)},Cqa=function(a,b,c,d,e,f,h,k,q,u,A){var D=c+27;if(b.firstCreatePass){if(h=Ti(b,D,4,h||null,k||null),u!=null)for(k=uh(b.consts,u),h.localNames=[],D=0;D<k.length;D+=2)h.localNames.push(k[D],-1)}else h=
b.data[D];Bqa(h,a,b,c,d,e,f,q);u!=null&&noa(a,h,A)},G=function(a,b,c,d,e,f,h,k){var q=y(),u=zh();f=uh(u.consts,f);var A=a+27;u.firstCreatePass?(e=Ti(u,A,4,e||null,f||null),Noa(u,q,e,uh(u.consts,h),toa),bla(u,e)):e=u.data[A];Bqa(e,q,u,a,b,c,d);(e.flags&1)===1&&moa(u,q,e);h!=null&&noa(q,e,k);return G},Dqa=function(a,b,c,d,e,f,h,k){var q=y(),u=zh();f=uh(u.consts,f);Cqa(q,u,a,b,c,d,e,f,void 0,h,k);return Dqa},Eqa=function(a,b){Pi=!0;return b[11].createComment("")},Gj=function(a,b){var c=y(),d=Dh();if(Th(c,
d,b)){var e=zh();d=Fh();Oi(d,e,c,a,b)?d.componentOffset>-1&&qoa(c,d.index):(e=sh(d,c),uoa(c[11],e,null,d.value,a,b,null))}return Gj},Hj=function(a,b,c,d){var e=y(),f=Dh();if(Th(e,f,b)){f=Fh();var h=sh(f,e);uoa(e[11],h,d,f.value,a,b,c)}return Hj},Jqa=function(){var a=y(),b=zh(),c=Ah(),d;if(b.firstCreatePass)a:{var e=(d=c.inputs)==null?void 0:d.field;if(e){if(c.componentOffset>-1){var f=c.directiveStart+c.componentOffset;if(e.includes(f)){d=void 0;break a}}if(d=Fqa(a,e)){c.flags|=1024;if(c.componentOffset>
-1){b=b.data[f];if(Gqa(b,"value")){c.flags|=2048;break a}if(Gqa(b,"checked")){c.flags|=4096;break a}}c.type!==2?b=!1:(b=c.value,b=b==="input"||b==="textarea"||b==="select");if(b){b:{if(c.attrs&&c.value==="input")for(b=0;b<c.attrs.length;b+=2){f=c.attrs[b];if(gla(f))break;if(f==="type"){b=c.attrs[b+1];b=b==="date"||b==="datetime-local"||b==="month"||b==="number"||b==="range"||b==="time"||b==="week";break b}}b=!1}b&&(c.flags|=8192);c.value!=="select"&&(c.flags|=16384);break a}throw new Ug(318,"'<"+
c.value+">' is an invalid [field] directive host. The host must be a native form control (such as <input>', '<select>', or '<textarea>') or a custom form control component with a 'value' or 'checked' model.");}}d=void 0}else d=c.flags&1024?Fqa(a,c.inputs.field):void 0;d&&(c.flags&2048?Hqa(a,c,d,"value"):c.flags&4096?Hqa(a,c,d,"checked"):Iqa(a,c,d),d.register())},Nqa=function(a){var b=y(),c=Fh(),d=Dh();Th(b,d,a)&&soa(c,b,"field",a,b[11]);if(d=c.flags&1024?Fqa(b,c.inputs.field):void 0)c.flags&2048?
Kqa(c,b,d,"value"):c.flags&4096?Kqa(c,b,d,"checked"):(a=sh(c,b),b=b[11],d=d.state(),Lqa(a,d.value()),b.setAttribute(a,"name",d.name()),d.disabled()?b.setAttribute(a,"disabled",""):b.removeAttribute(a,"disabled"),d.readonly()?b.setAttribute(a,"readonly",""):b.removeAttribute(a,"readonly"),d.required()?b.setAttribute(a,"required",""):b.removeAttribute(a,"required"),c.flags&8192&&(Mqa(b,a,"max",d.max()),Mqa(b,a,"min",d.min())),c.flags&16384&&(Mqa(b,a,"maxLength",d.maxLength()),Mqa(b,a,"minLength",d.minLength())))},
Fqa=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next())if(c=a[c.value],Oqa in c)return c},Gqa=function(a,b){var c=a.inputs[b];return c&&(c[1]&1)!==0&&b+"Change"in a.outputs},Hqa=function(a,b,c,d){var e=b.directiveStart+b.componentOffset;d+="Change";Coa(b,a,e,d,d,Qi(b,a,function(f){c.state().value.set(f)}));"touchedChange"in zh().data[e].outputs&&Coa(b,a,e,"touchedChange","touchedChange",Qi(b,a,function(){Pqa(c.state())}))},Iqa=function(a,b,c){var d=zh(),e=a[11],f=function(){var h=sh(b,a),
k=c.state().value;k.set(Qqa(h,k))};Boa(b,d,a,void 0,e,"input",f,Qi(b,a,f));f=function(){Pqa(c.state())};Boa(b,d,a,void 0,e,"blur",f,Qi(b,a,f))},Kqa=function(a,b,c,d){a=a.directiveStart+a.componentOffset;b=b[a];a=zh().data[a];c=c.state();ona(a,b,d,c.value());Ij(a,b,"errors",c.errors);Ij(a,b,"disabled",c.disabled);Ij(a,b,"disabledReasons",c.disabledReasons);Ij(a,b,"max",c.max);Ij(a,b,"maxLength",c.maxLength);Ij(a,b,"min",c.min);Ij(a,b,"minLength",c.minLength);Ij(a,b,"name",c.name);Ij(a,b,"pattern",
c.pattern);Ij(a,b,"readonly",c.readonly);Ij(a,b,"required",c.required);Ij(a,b,"touched",c.touched)},Ij=function(a,b,c,d){c in a.inputs&&ona(a,b,c,d())},Qqa=function(a,b){switch(a.type){case "checkbox":return a.checked;case "number":case "range":case "datetime-local":if(typeof b()==="number")return a.valueAsNumber;break;case "date":case "month":case "time":case "week":b=b();if(b===null||b instanceof Date)return a.valueAsDate;if(typeof b==="number")return a.valueAsNumber}return a.value},Lqa=function(a,
b){switch(a.type){case "checkbox":a.checked=b;return;case "radio":a.checked=b===a.value;return;case "number":case "range":case "datetime-local":if(typeof b==="number"){a.valueAsNumber=b;return}break;case "date":case "month":case "time":case "week":if(b===null||b instanceof Date){a.valueAsDate=b;return}if(typeof b==="number"){a.valueAsNumber=b;return}}a.value=b},Mqa=function(a,b,c,d){d!==void 0?a.setAttribute(b,c,d.toString()):a.removeAttribute(b,c)},Rqa=function(a,b,c,d,e){return a===c&&Object.is(b,
d)?1:Object.is(e(a,b),e(c,d))?-1:0},Xqa=function(a,b,c){var d=void 0,e=void 0,f=0,h=a.length-1;if(Array.isArray(b)){for(var k=b.length-1;f<=h&&f<=k;){var q=a.at(f),u=b[f],A=Rqa(f,q,f,u,c);if(A!==0)A<0&&a.updateValue(f,u),f++;else{var D=a.at(h);A=b[k];var H=Rqa(h,D,k,A,c);H!==0?(H<0&&a.updateValue(h,A),h--,k--):(q=c(f,q),D=c(h,D),H=c(f,u),Object.is(H,D)?(D=c(k,A),Object.is(D,q)?(Sqa(a,f,h),a.updateValue(h,A),k--,h--):a.move(h,f),a.updateValue(f,u),f++):(d!=null||(d=new Tqa),e!=null||(e=Uqa(a,f,h,c)),
Vqa(a,d,f,H)?(a.updateValue(f,u),f++,h++):e.has(H)?(d.set(q,a.detach(f)),h--):(u=a.create(f,b[f]),a.attach(f,u),f++,h++)))}}for(;f<=k;)Wqa(a,d,c,f,b[f]),f++}else if(b!=null){b=b[Symbol.iterator]();for(k=b.next();!k.done&&f<=h;)u=a.at(f),A=k.value,q=Rqa(f,u,f,A,c),q!==0?(q<0&&a.updateValue(f,A),f++,k=b.next()):(d!=null||(d=new Tqa),e!=null||(e=Uqa(a,f,h,c)),q=c(f,A),Vqa(a,d,f,q)?(a.updateValue(f,A),f++,h++,k=b.next()):e.has(q)?(u=c(f,u),d.set(u,a.detach(f)),h--):(a.attach(f,a.create(f,A)),f++,h++,
k=b.next()));for(;!k.done;)Wqa(a,d,c,a.length,k.value),k=b.next()}for(;f<=h;)a.destroy(a.detach(h--));var O;(O=d)==null||O.forEach(function(P){a.destroy(P)})},Vqa=function(a,b,c,d){return b!==void 0&&b.has(d)?(a.attach(c,b.get(d)),b.delete(d),!0):!1},Wqa=function(a,b,c,d,e){Vqa(a,b,d,c(d,e))?a.updateValue(d,e):(b=a.create(d,e),a.attach(d,b))},Uqa=function(a,b,c,d){for(var e=new Set;b<=c;b++)e.add(d(b,a.at(b)));return e},I=function(a,b,c,d,e,f){Yi("NgControlFlow");var h=y(),k=zh();f=uh(k.consts,f);
Cqa(h,k,a,b,c,d,e,f,256);return Jj},Jj=function(a,b,c,d,e,f,h,k){Yi("NgControlFlow");var q=y(),u=zh();f=uh(u.consts,f);Cqa(q,u,a,b,c,d,e,f,512,h,k);return Jj},J=function(a,b){Yi("NgControlFlow");var c=y(),d=Dh(),e=c[d]!==Sh?c[d]:-1;e=e!==-1?c[27+e]:void 0;if(Th(c,d,a)){d=Gg(null);try{if(e!==void 0&&epa(e),a!==-1){a=27+a;var f=c[a],h=c[1].data[a],k=jqa(c,h,b,{dehydratedView:null});cpa(f,k,0,wj(h,null))}}finally{Gg(d)}}else e!==void 0&&(c=apa(e,0),c!==void 0&&(c[8]=b))},Kj=function(a){return a},Lj=
function(a,b){return b},Mj=function(a,b,c,d,e,f,h,k){Yi("NgControlFlow");var q=y(),u=zh(),A=y();h=k?h.bind(A[15][8]):h;A[27+a]=new Yqa(h);Cqa(q,u,a+1,b,c,d,e,uh(u.consts,f),256)},Nj=function(a){var b=Gg(null),c=yh.selectedIndex;try{var d=y(),e=d[1],f=d[c],h=c+1,k=d[h];f.liveCollection===void 0?f.liveCollection=new Zqa(k,d,e.data[h]):f.liveCollection.reset();var q=f.liveCollection;Xqa(q,a,f.trackByFn);if(q.needsIndexUpdate)for(a=0;a<q.length;a++)apa(q.lContainer,a)[8].$index=a;if(f.hasEmptyBlock){var u=
Dh(),A=q.length===0;if(Th(d,u,A)){c+=2;var D=d[c];if(A){var H=e.data[c],O=jqa(d,H,void 0,{dehydratedView:null});cpa(D,O,0,wj(H,null))}else{if(e.firstUpdatePass){var P,S=(P=D[6])!=null?P:[],aa=D[3][11];d=[];for(var ia=l(S),la=ia.next();!la.done;la=ia.next()){var ya=la.value;if(ya.data.di!==void 0)d.push(ya);else{S=0;var Ia=ya.firstChild;if(Ia)for(var Pa=ya.data.r;S<Pa;){var gb=Ia.nextSibling;aa.removeChild(null,Ia,!1,void 0);Ia=gb;S++}}}D[6]=d}epa(D)}}}}finally{Gg(b)}},Oj=function(a,b,c){var d=y(),
e=Dh();Th(d,e,b)&&(e=Fh(),roa(e,d,a,b,d[11],c));return Oj},$qa=function(a,b,c){var d=y(),e=Dh();if(Th(d,e,b)){e=zh();var f=Fh();roa(f,d,a,b,xoa(Vka(e.data),f,d),c)}return $qa},K=function(a,b,c){var d=y(),e=Dh();Th(d,e,b)&&(e=Fh(),soa(e,d,a,b,d[11],c));return K},L=function(a,b,c,d){var e=y(),f=e[1],h=a+27;c=f.firstCreatePass?Poa(h,e,2,b,toa,c,d):f.data[h];voa(c,e,a,b,ara);(c.flags&1)===1&&(a=e[1],moa(a,e,c),Foa(a,c,e));d!=null&&noa(e,c);return L},M=function(){var a=zh(),b=woa();a.firstCreatePass&&
Qoa(a,b);Si===b&&(Si=null);yh.elementDepthCount--;b.classesWithoutHost!=null&&(b.flags&8)!==0&&Oi(b,a,y(),"class",b.classesWithoutHost);b.stylesWithoutHost!=null&&(b.flags&16)!==0&&Oi(b,a,y(),"style",b.stylesWithoutHost);return M},N=function(a,b,c,d){L(a,b,c,d);M();return N},Pj=function(a,b,c,d){var e=y(),f=e[1],h=a+27;if(f.firstCreatePass){var k=f.consts;c=uh(k,c);h=Ti(f,h,2,b,c);h.mergedAttrs=Kh(h.mergedAttrs,h.attrs);if(d!=null)for(k=uh(k,d),h.localNames=[],c=0;c<k.length;c+=2)h.localNames.push(k[c],
-1);h.attrs!==null&&Ioa(h,h.attrs,!1);h.mergedAttrs!==null&&Ioa(h,h.mergedAttrs,!0);f.queries!==null&&f.queries.elementStart(f,h);f=h}else f=f.data[h];voa(f,e,a,b,ara);d!=null&&noa(e,f);return Pj},Qj=function(){var a=woa();Si===a&&(Si=null);yh.elementDepthCount--;return Qj},Rj=function(a,b,c,d){Pj(a,b,c,d);Qj();return Rj},Sj=function(a,b,c){var d=y(),e=d[1],f=a+27;b=e.firstCreatePass?Poa(f,d,8,"ng-container",toa,b,c):e.data[f];voa(b,d,a,"ng-container",bra);(b.flags&1)===1&&(a=d[1],moa(a,d,b),Foa(a,
b,d));c!=null&&noa(d,b);return Sj},Tj=function(){var a=zh(),b=woa();a.firstCreatePass&&Qoa(a,b);return Tj},Uj=function(a,b,c){Sj(a,b,c);Tj();return Uj},Vj=function(a){var b=a.toLowerCase().replace(/_/g,"-");if(a=cra(b))return a;b=b.split("-")[0];if(a=cra(b))return a;if(b==="en")return dra;throw new Ug(701,!1);},cra=function(a){a in era||(era[a]=Ki.ng&&Ki.ng.common&&Ki.ng.common.locales&&Ki.ng.common.locales[a]);return era[a]},Wj=function(a){var b=zh(),c=y();a+=27;var d=Ti(b,a,128,null,null);Bh(d,
!1);Mka(b,c,a,fra);return Wj},Xj=function(a){Yi("NgLet");Mka(zh(),y(),yh.selectedIndex,a);return a},Yj=function(a){a=yh.contextLView[27+a];if(a===fra)throw new Ug(314,!1);return a},Q=function(a,b,c){var d=y();gra(zh(),d,d[11],Ah(),a,b,c);return Q},hra=function(a,b){var c=Ah(),d=y(),e=zh();gra(e,d,xoa(Vka(e.data),c,d),c,a,b);return hra},ira=function(a,b,c){var d=y(),e=zh(),f=Ah();(f.type&3||c)&&Boa(f,e,d,c,d[11],a,b,Qi(f,d,b));return ira},gra=function(a,b,c,d,e,f,h){var k=!0,q=null;if(d.type&3||h)q!=
null||(q=Qi(d,b,f)),Boa(d,a,b,h,c,e,f,q)&&(k=!1);if(k){var u;a=(u=d.outputs)==null?void 0:u[e];var A;if((u=(A=d.hostDirectiveOutputs)==null?void 0:A[e])&&u.length)for(A=0;A<u.length;A+=2)c=u[A],h=u[A+1],q!=null||(q=Qi(d,b,f)),Coa(d,b,c,h,e,q);if(a&&a.length)for(A=l(a),u=A.next();!u.done;u=A.next())u=u.value,q!=null||(q=Qi(d,b,f)),Coa(d,b,u,e,e,q)}},R=function(a){a=a===void 0?1:a;for(var b=yh.contextLView;a>0;)b=b[14],a--;return(yh.contextLView=b)[8]},Zj=function(a){var b=y()[15][5];if(!b.projection){for(var c=
a?a.length:1,d=[],e=0;e<c;e++)d.push(null);c=b.projection=d;d=c.slice();for(b=b.child;b!==null;){if(b.type!==128){if(a)a:{e=b;var f=a,h=null;b:{var k=e.attrs;if(k!=null){var q=k.indexOf(5);if((q&1)===0){k=k[q+1];break b}}k=null}for(q=0;q<f.length;q++){var u=f[q];if(u==="*")h=q;else{if(k===null)u=Jla(e,u,!0);else b:{var A=0;c:for(;A<u.length;A++){var D=u[A];if(k.length===D.length){for(var H=0;H<k.length;H++)if(k[H]!==D[H])continue c;u=!0;break b}}u=!1}if(u){e=q;break a}}}e=h}else e=0;e!==null&&(d[e]?
d[e].projectionNext=b:c[e]=b,d[e]=b)}b=b.next}}},ak=function(a,b,c,d,e,f){b=b===void 0?0:b;var h=y(),k=zh(),q=d?a+1:null;q!==null&&Cqa(h,k,q,d,e,f,null,c);a=Ti(k,27+a,16,null,c||null);a.projection===null&&(a.projection=b);yh.isParent=!1;b=!h[6]||Si!==null;h[15][5].projection[a.projection]===null&&q!==null?(q=27+q,k=k.data[q],q=h[q],h=jqa(h,k,void 0,{dehydratedView:null}),cpa(q,h,0,wj(k,null))):b&&(a.flags&32)!==32&&(q=h[11],k=Ana(k,a.parent,h),b=a.parent||h[5],b=b.type&40?sh(b,h):null,Ena(q,0,h,a,
k,b))},jra=function(){return this._results[Symbol.iterator]()},lra=function(){return kra(Ah(),y())},kra=function(a,b){return a.type&4?new bk(b,a,Qh(a,b)):null},mra=function(a,b,c,d){d=b[18].queries[d];if(d.matches===null){a=a.data;for(var e=c.matches,f=[],h=0;e!==null&&h<e.length;h+=2){var k=e[h];if(k<0)f.push(null);else{var q=f,u=q.push,A=b,D=a[k],H=e[h+1];k=c.metadata.read;H===-1?(k=D,A=k.type&11?Qh(k,A):k.type&4?kra(k,A):null):H===-2?A=k===Ph?Qh(D,A):k===bk?kra(D,A):k===ck?vqa(D,A):void 0:A=Ala(A,
A[1],H,D);u.call(q,A)}}d.matches=f}return d.matches},nra=function(a,b,c,d){var e=a.queries.queries[c],f=e.matches;if(f!==null)for(a=mra(a,b,e,c),c=0;c<f.length;c+=2){var h=f[c];if(h>0)d.push(a[c/2]);else{e=f[c+1];h=b[-h];for(var k=10;k<h.length;k++){var q=h[k];q[16]===q[3]&&nra(q[1],q,e,d)}if(h[9]!==null)for(h=h[9],k=0;k<h.length;k++)q=h[k],nra(q[1],q,e,d)}}return d},qra=function(a,b){var c=y();b=new dk((b&4)===4);var d=b.destroy,e=Rka(c);e.push(b);a.firstCreatePass&&Ska(a).push(d,e.length-1);var f;
return((f=c[18])!=null?f:c[18]=new ora).queries.push(new pra(b))-1},ek=function(a,b,c){var d=zh();d.firstCreatePass&&(rra(d,new sra(a,b,c),-1),(b&2)===2&&(d.staticViewQueries=!0));return qra(d,b)},fk=function(a,b,c,d){var e=zh();if(e.firstCreatePass){var f=Ah();rra(e,new sra(b,c,d),f.index);b=e.contentQueries||(e.contentQueries=[]);a!==(b.length?b[b.length-1]:-1)&&b.push(e.queries.length-1,a);(c&2)===2&&(e.staticContentQueries=!0)}return qra(e,c)},tra=function(a){return a.split(",").map(function(b){return b.trim()})},
rra=function(a,b,c){a.queries===null&&(a.queries=new ura);a.queries.track(new gk(b,c))},vra=function(a,b){var c=a[1],d=c.queries.queries[b];return d.crossesNgTemplate?nra(c,a,b,[]):mra(c,a,d,b)},ik=function(a){var b=y(),c=zh(),d=yh.currentQueryIndex;yh.currentQueryIndex=d+1;c=c.queries.queries[d];return a.dirty&&(b[2]&4)===4===((c.metadata.flags&2)===2)?(c.matches===null?a.reset([]):(b=vra(b,d),a.reset(b,Rla),hk(a)),!0):!1},jk=function(){return y()[18].queries[yh.currentQueryIndex].queryList},kk=
function(a,b){var c=l(Uja(a,b==null?void 0:b.equal));a=c.next().value;b=c.next().value;c=c.next().value;a.set=b;a.update=c;a.asReadonly=wra.bind(a);return a},wra=function(){var a=this,b=this[Pg];if(b.readonlyFn===void 0){var c=function(){return a()};c[Pg]=b;b.readonlyFn=c}return b.readonlyFn},xra=function(a){var b=Rja(function(){c._dirtyCounter();var d=c;var e=d._lView;var f=d._queryIndex;e===void 0||f===void 0||e[2]&4?e=void 0:(d=e[18].queries[f].queryList,e=vra(e,f),d.reset(e,Rla),e=d.first);if(a&&
e===void 0)throw new Ug(-951,!1);return e});var c=b[Pg];c._dirtyCounter=kk(0);c._flatValue=void 0;return b},lk=function(a,b){var c=a[Pg];c._lView=y();c._queryIndex=b;c._queryList=c._lView[18].queries[b].queryList;yra(c._queryList,function(){return c._dirtyCounter.update(function(d){return d+1})})},zra=function(a){yh.currentQueryIndex+=a===void 0?1:a},T=function(a){return yh.contextLView[27+a]},Ara=function(a,b,c,d){for(var e=a[c+1],f=b===null,h=d?e>>17&32767:(e&131068)>>2,k=!1;h!==0&&(k===!1||f);){var q=
a[h+1],u=a[h];if(u===null||b==null||(Array.isArray(u)?u[1]:u)===b||Array.isArray(u)&&typeof b==="string"&&fh(u,b)>=0)k=!0,a[h+1]=d?q|1:q|2;h=d?q>>17&32767:(q&131068)>>2}k&&(a[c+1]=d?e|2:e|1)},Bra=function(a,b){var c=mk;if(c===b)return-1;for(b=nk=b;b<c&&a.charCodeAt(b)>32;)b++;b=ok=b;return pk(a,b,c)},Gra=function(a,b){var c=mk;b=nk=pk(a,b,c);if(c===b)return-1;for(var d;b<c&&((d=a.charCodeAt(b))===45||d===95||(d&-33)>=65&&(d&-33)<=90||d>=48&&d<=57);)b++;b=ok=b;b=Cra(a,b,c);d=b=Dra=pk(a,b,c);for(var e=
b=-1,f=-1,h=d,k=h;h<c;){var q=a.charCodeAt(h++);if(q===59)break;else q===34||q===39?k=h=Era(a,q,h,c):d===h-4&&f===85&&e===82&&b===76&&q===40?k=h=Era(a,41,h,c):q>32&&(k=h);f=e;e=b;b=q&-33}b=Fra=k;return Cra(a,b,c)},pk=function(a,b,c){for(;b<c&&a.charCodeAt(b)<=32;)b++;return b},Cra=function(a,b,c){b=pk(a,b,c);b<c&&b++;return b},Era=function(a,b,c,d){for(var e=-1;c<d;){var f=a.charCodeAt(c++);if(f==b&&e!==92)return c;e=f==92&&e===92?0:f}throw Error();},qk=function(a,b,c){Hra(a,b,c,!1);return qk},rk=
function(a,b){Hra(a,b,null,!0);return rk},Jra=function(a,b){var c;Fra=Dra=ok=nk=0;mk=b.length;for(c=Gra(b,pk(b,0,mk));c>=0;c=Gra(b,c))Ira(a,b.substring(nk,ok),b.substring(Dra,Fra))},sk=function(a){Kra(Lra,Mra,a,!0)},Mra=function(a,b){var c;Fra=Dra=ok=nk=0;mk=b.length;for(c=Bra(b,pk(b,0,mk));c>=0;c=Bra(b,c))nka(a,b.substring(nk,ok),!0)},Hra=function(a,b,c,d){var e=y(),f=zh(),h=Eh(2);f.firstUpdatePass&&Nra(f,a,h,d);if(b!==Sh&&Th(e,h,b)){var k=f.data[yh.selectedIndex],q=e[11];b!=null&&b!==""&&(typeof c===
"string"?b+=c:typeof b==="object"&&(b=Sg(Ii(b))));Ora(f,k,e,q,a,e[h+1]=b,d,h)}},Kra=function(a,b,c,d){var e=zh(),f=Eh(2);e.firstUpdatePass&&Nra(e,null,f,d);var h=y();if(c!==Sh&&Th(h,f,c)){var k=e.data[yh.selectedIndex];if((k.flags&(d?8:16))===0||f>=e.expandoStartIndex){var q=h[11],u=h[f+1];if(c==null||c==="")a=hh;else{var A=[];c=Ii(c);if(Array.isArray(c))for(b=0;b<c.length;b++)a(A,c[b],!0);else if(typeof c==="object")for(var D in c)c.hasOwnProperty(D)&&a(A,D,c[D]);else typeof c==="string"&&b(A,c);
a=A}a=h[f+1]=a;u===Sh&&(u=hh);b=A=0;c=0<u.length?u[0]:null;for(D=0<a.length?a[0]:null;c!==null||D!==null;){var H=A<u.length?u[A+1]:void 0,O=b<a.length?a[b+1]:void 0,P=null,S=void 0;c===D?(A+=2,b+=2,H!==O&&(P=D,S=O)):D===null||c!==null&&c<D?(A+=2,P=c):(b+=2,P=D,S=O);P!==null&&Ora(e,k,h,q,P,S,d,f);c=A<u.length?u[A]:null;D=b<a.length?a[b]:null}}else f=d?k.classesWithoutHost:k.stylesWithoutHost,f!==null&&(c=Xja(f,c?c:"")),Oi(k,e,h,d?"class":"style",c)}},Nra=function(a,b,c,d){var e=a.data;if(e[c+1]===
null){var f=e[yh.selectedIndex];a=c>=a.expandoStartIndex;(f.flags&(d?8:16))!==0&&b===null&&!a&&(b=!1);var h=Vka(e),k=d?f.residualClasses:f.residualStyles;if(h===null)(d?f.classBindings:f.styleBindings)===0&&(b=Pra(null,e,f,b,d),b=Qra(b,f.attrs,d),k=null);else{var q=f.directiveStylingLast;if(q===-1||e[q]!==h)if(b=Pra(h,e,f,b,d),k===null)h=d?f.classBindings:f.styleBindings,h=(h&131068)>>2!==0?e[h>>17&32767]:void 0,h!==void 0&&Array.isArray(h)&&(h=Pra(null,e,f,h[1],d),h=Qra(h,f.attrs,d),e[(d?f.classBindings:
f.styleBindings)>>17&32767]=h);else{k=void 0;h=f.directiveEnd;for(q=1+f.directiveStylingLast;q<h;q++)k=Qra(k,e[q].hostAttrs,d);k=Qra(k,f.attrs,d)}}k!==void 0&&(d?f.residualClasses=k:f.residualStyles=k);h=b;k=d?f.classBindings:f.styleBindings;b=k>>17&32767;k=(k&131068)>>2;e[c]=h;q=!1;if(Array.isArray(h)){var u=h[1];if(u===null||fh(h,u)>0)q=!0}else u=h;a?k!==0?(a=e[b+1]>>17&32767,e[c+1]=a<<17|b<<2,a!==0&&(e[a+1]=e[a+1]&-131069|c<<2),e[b+1]=e[b+1]&131071|c<<17):(e[c+1]=b<<17|0,b!==0&&(e[b+1]=e[b+1]&
-131069|c<<2),b=c):(e[c+1]=k<<17|0,b===0?b=c:e[k+1]=e[k+1]&-131069|c<<2,k=c);q&&(e[c+1]|=2);Ara(e,u,c,!0);Ara(e,u,c,!1);a=u;h=d?f.residualClasses:f.residualStyles;h!=null&&typeof a=="string"&&fh(h,a)>=0&&(e[c+1]|=1);k=b<<17|k<<2;d?f.classBindings=k:f.styleBindings=k}},Pra=function(a,b,c,d,e){var f=c.directiveEnd,h=c.directiveStylingLast;for(h===-1?h=c.directiveStart:h++;h<f;){var k=b[h];d=Qra(d,k.hostAttrs,e);if(k===a)break;h++}a!==null&&(c.directiveStylingLast=h);return d},Qra=function(a,b,c){var d=
c?1:2,e=-1;if(b!==null)for(var f=0;f<b.length;f++){var h=b[f];typeof h==="number"?e=h:e===d&&(Array.isArray(a)||(a=a===void 0?[]:["",a]),nka(a,h,c?!0:b[++f]))}return a===void 0?null:a},Ira=function(a,b,c){nka(a,b,Ii(c))},Lra=function(a,b,c){b=String(b);b===""||b.includes(" ")||nka(a,b,c)},Ora=function(a,b,c,d,e,f,h,k){if(b.type&3){a=a.data;var q=a[k+1];((q&1)===1?Rra(a,b,c,e,(q&131068)>>2,h):void 0)===void 0&&(f!==void 0||(q&2)==2&&(f=Rra(a,null,c,e,k,h)),b=rh(c[yh.selectedIndex]),h?f?d.addClass(b,
e):d.removeClass(b,e):(h=e.indexOf("-")===-1?void 0:2,f==null?d.removeStyle(b,e,h):(typeof f==="string"&&f.endsWith("!important")&&(f=f.slice(0,-10),h|=1),d.setStyle(b,e,f,h))))}},Rra=function(a,b,c,d,e,f){for(var h=b===null,k=void 0;e>0;){var q=a[e],u=Array.isArray(q),A=u?q[1]:q,D=A===null,H=c[e+1];H===Sh&&(H=D?hh:void 0);A=D?oka(H,d):A===d?H:void 0;u&&A===void 0&&(A=oka(q,d));if(A!==void 0&&(k=A,h))return k;e=a[e+1];e=h?e>>17&32767:(e&131068)>>2}b!==null&&(a=f?b.residualClasses:b.residualStyles,
a!=null&&(k=oka(a,d)));return k},U=function(a,b){b=b===void 0?"":b;var c=y(),d=zh();a+=27;var e=d.firstCreatePass?Ti(d,a,1,b,null):d.data[a];Pi=!0;b=c[11].createText(b);c[a]=b;Pi&&Bna(d,c,b,e);Bh(e,!1)},Sra=function(a,b,c,d){d=d===void 0?"":d;return Th(a,Dh(),c)?b+Tg(c)+d:Sh},Tra=function(a,b,c,d,e,f){f=f===void 0?"":f;a=Vh(a,yh.bindingIndex,c,e);Eh(2);return a?b+Tg(c)+d+Tg(e)+f:Sh},tk=function(a){V("",a);return tk},V=function(a,b,c){var d=y();a=Sra(d,a,b,c);a!==Sh&&Ura(d,a);return V},uk=function(a,
b,c,d,e){var f=y();a=Tra(f,a,b,c,d,e);a!==Sh&&Ura(f,a);return uk},Vra=function(a,b,c,d,e,f,h,k,q){var u=y();q=q===void 0?"":q;var A=yh.bindingIndex;var D=Vh(u,A,b,d);A=Vh(u,A+2,f,k)||D;Eh(4);a=A?a+Tg(b)+c+Tg(d)+e+Tg(f)+h+Tg(k)+q:Sh;a!==Sh&&Ura(u,a);return Vra},Ura=function(a,b){a[11].setValue(rh(a[yh.selectedIndex]),b)},vk=function(a,b,c){bj(b)&&typeof b.set==="function"&&(b=b());var d=y(),e=Dh();Th(d,e,b)&&(e=Fh(),soa(e,d,a,b,d[11],c));return vk},wk=function(a,b){var c=bj(a)&&typeof a.set==="function";
c&&a.set(b);return c},xk=function(a,b){var c=y();gra(zh(),c,c[11],Ah(),a,b);return xk},yk=function(a){return Th(y(),Dh(),a)?Tg(a):Sh},zk=function(a,b,c){return Sra(y(),a,b,c===void 0?"":c)},Ak=function(a,b,c,d,e){return Tra(y(),a,b,c,d,e===void 0?"":e)},Wra=function(a,b,c,d,e,f){var h="",k=y();h=h===void 0?"":h;var q=yh.bindingIndex,u=Vh(k,q,b,d);k=Th(k,q+2,f)||u;Eh(3);return k?a+Tg(b)+c+Tg(d)+e+Tg(f)+h:Sh},Xra=function(a,b,c,d,e){a=ah(a);if(Array.isArray(a))for(var f=0;f<a.length;f++)Xra(a[f],b,
c,d,e);else{f=zh();var h=y(),k=Ah(),q=jh(a)?a:ah(a.provide),u=Cka(a),A=k.providerIndexes&1048575,D=k.directiveStart,H=k.providerIndexes>>20;if(jh(a)||!a.multi)d=new Bla(u,e),u=Yra(q,b,e?A:A+H,D),u===-1?(u=sla(k,h),ola(u,f,q),Zra(f,a,b.length),b.push(q),k.directiveStart++,k.directiveEnd++,e&&(k.providerIndexes+=1048576),c.push(d),h.push(d)):(c[u]=d,h[u]=d);else{D=Yra(q,b,A+H,D);A=Yra(q,b,A,A+H);var O=D>=0&&c[D];H=A>=0&&c[A];e&&!H||!e&&!O?(D=sla(k,h),ola(D,f,q),D=c.length,O=new Bla(e?$ra:asa,e),O.multi=
[],O.index=D,O.componentProviders=0,d&&!e&&O.componentProviders++,O.multi.push(u),!e&&H&&(c[A].providerFactory=O),Zra(f,a,b.length,0),b.push(q),k.directiveStart++,k.directiveEnd++,e&&(k.providerIndexes+=1048576),c.push(O),h.push(O)):(b=c[e?A:D],!e&&d&&b.componentProviders++,b=b.multi.push(u)-1,Zra(f,a,D>-1?D:A,b));!e&&d&&H&&c[A].componentProviders++}}},Zra=function(a,b,c,d){var e=jh(b),f=!!b.useClass;if(e||f)if(f=(f?ah(b.useClass):b).prototype.ngOnDestroy)a=a.destroyHooks||(a.destroyHooks=[]),!e&&
b.multi?(b=a.indexOf(c),b===-1?a.push(c,[d,f]):a[b+1].push(d,f)):a.push(c,f)},Yra=function(a,b,c,d){for(;c<d;c++)if(b[c]===a)return c;return-1},asa=function(){return bsa(this.multi,[])},$ra=function(a,b,c,d,e){var f=this.multi;if(this.providerFactory){var h=this.providerFactory.componentProviders;e=Ala(d,d[1],this.providerFactory.index,e);d=e.slice(0,h);bsa(f,d);for(f=h;f<e.length;f++)d.push(e[f])}else d=[],bsa(f,d);return d},bsa=function(a,b){for(var c=0;c<a.length;c++)b.push((0,a[c])());return b},
Bk=function(a){var b=b===void 0?[]:b;return function(c){c.providersResolver=function(d,e){e=e?e(a):a;var f=zh();f.firstCreatePass&&(d=!!d.template,Xra(b,f.data,f.blueprint,d,!0),Xra(e,f.data,f.blueprint,d,!1))}}},Ck=function(a,b){a=Ch()+a;var c=y();return c[a]===Sh?$la(c,a,b()):c[a]},Dk=function(a,b,c){return csa(y(),Ch(),a,b,c)},Ek=function(a,b,c,d){return dsa(y(),Ch(),a,b,c,d)},fsa=function(a,b,c,d){return esa(y(),Ch(),2,a,b,c,d)},gsa=function(a,b){a=a[b];return a===Sh?void 0:a},csa=function(a,
b,c,d,e,f){b+=c;return Th(a,b,e)?$la(a,b+1,f?d.call(f,e):d(e)):gsa(a,b+1)},dsa=function(a,b,c,d,e,f,h){b+=c;return Vh(a,b,e,f)?$la(a,b+2,h?d.call(h,e,f):d(e,f)):gsa(a,b+2)},esa=function(a,b,c,d,e,f,h,k){b+=c;c=Vh(a,b,e,f);return Th(a,b+2,h)||c?$la(a,b+3,k?d.call(k,e,f,h):d(e,f,h)):gsa(a,b+3)},W=function(a,b){var c=zh();a+=27;if(c.firstCreatePass){a:{var d=c.pipeRegistry;if(d)for(var e=d.length-1;e>=0;e--){var f=d[e];if(b===f.name){b=f;break a}}b=void 0}c.data[a]=b;if(b.onDestroy){var h;((h=c.destroyHooks)!=
null?h:c.destroyHooks=[]).push(a,b.onDestroy)}}else b=c.data[a];h=b.factory||(b.factory=eh(b.type));b=Xg(Ui);try{var k=lla(!1),q=h();lla(k);Mka(c,y(),a,q)}finally{Xg(b)}},X=function(a,b,c){a+=27;var d=y(),e=d[a];return d[1].data[a].pure?csa(d,Ch(),b,e.transform,c,e):e.transform(c)},Fk=function(a,b,c,d){a+=27;var e=y(),f=e[a];return e[1].data[a].pure?dsa(e,Ch(),b,f.transform,c,d,f):f.transform(c,d)},hsa=function(a,b,c,d){a+=27;var e=y(),f=e[a];return e[1].data[a].pure?esa(e,Ch(),b,f.transform,c,0,
d,f):f.transform(c,0,d)},isa=function(a,b,c){a=a.\u0275cmp;a.directiveDefs=ypa(b,zpa);a.pipeDefs=ypa(c,jka)},Gk=function(a,b){return kra(a,b)},lsa=function(a,b){function c(){Ig(d);if(d.value===jsa)throw new Ug(-950,null);return d.value}var d=Object.create(ksa);d.value=a;d.transformFn=b==null?void 0:b.transform;c[Pg]=d;return c},Hk=function(a,b){return lsa(a,b)},Ik=function(){return xra(!1)},msa=function(){return xra(!1)},nsa=function(a){var b=Ah(),c=y();b.componentOffset>-1&&(a&16)!==16?(a=th(b.index,
c),a=new Jk(a,a)):a=b.type&175?new Jk(c[15],c):null;return a},osa=function(a,b,c){a=a.previousIndex;if(a===null)return a;var d=0;c&&a<c.length&&(d=c[a]);return a+b+d},ssa=function(a){var b=a.ngZoneFactory;var c=a.scheduleInRootZone;b!=null||(b=function(){return new Kk(Object.assign({},psa(),{scheduleInRootZone:c}))});return[{provide:qsa,useValue:!1},{provide:Kk,useFactory:b},{provide:ih,multi:!0,useFactory:function(){var d=x(Lk,{optional:!0});return function(){return d.initialize()}}},{provide:ih,
multi:!0,useFactory:function(){var d=x(Mk);return function(){d.initialize()}}},{provide:rsa,useValue:c!=null?c:!1}]},psa=function(a){var b,c;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(b=a==null?void 0:a.eventCoalescing)!=null?b:!1,shouldCoalesceRunChangeDetection:(c=a==null?void 0:a.runCoalescing)!=null?c:!1}},zsa=function(a){var b=a.moduleRef?a.moduleRef.injector:a.r3Injector,c=b.get(Kk);return c.run(function(){a.moduleRef?a.moduleRef.resolveInjectorInitializers():a.r3Injector.resolveInjectorInitializers();
var d=b.get(Ri),e;c.runOutsideAngular(function(){e=c.onError.subscribe({next:d})});if(a.moduleRef){var f=function(){return a.moduleRef.destroy()},h=a.platformInjector.get(tsa);h.add(f);a.moduleRef.onDestroy(function(){iqa(a.allPlatformModules,a.moduleRef);e.unsubscribe();h.delete(f)})}else{var k=function(){return b.destroy()},q=a.platformInjector.get(tsa);q.add(k);b.onDestroy(function(){e.unsubscribe();q.delete(k)})}return usa(d,c,function(){var u=b.get(Nk),A=u.add(),D=b.get(Ok);vsa(D);return D.donePromise.then(function(){b.get(wsa,
"en-US");if(!b.get(xsa,!0)){if(!a.moduleRef)return b.get(Pk);a.allPlatformModules.push(a.moduleRef);return a.moduleRef}if(!a.moduleRef){var H=b.get(Pk);a.rootComponent!==void 0&&H.bootstrap(a.rootComponent);return H}(H=ysa)==null||H(a.moduleRef,a.allPlatformModules);return a.moduleRef}).finally(function(){return void u.remove(A)})})})},Asa=function(a,b){var c=a.injector.get(Pk);if(a._bootstrapComponents.length>0)a._bootstrapComponents.forEach(function(d){return c.bootstrap(d)});else if(a.instance.ngDoBootstrap)a.instance.ngDoBootstrap(c);
else throw new Ug(-403,!1);b.push(a)},usa=function(a,b,c){try{var d=c();return Bpa(d)?d.catch(function(e){b.runOutsideAngular(function(){return a(e)});throw e;}):d}catch(e){throw b.runOutsideAngular(function(){return a(e)}),e;}},Fsa=function(a,b,c){c=c===void 0?[]:c;var d="Platform: "+b,e=new kh(d);return function(f){f=f===void 0?[]:f;if(!Bsa()&&(f=[].concat(p(c),p(f),[{provide:e,useValue:!0}]),(a==null?void 0:a(f))==null)){f=Csa(f,d);if(Bsa())throw new Ug(400,!1);gqa();Dsa=f;f.get(Qk);Esa(f)}f=Bsa();
if(!f)throw new Ug(-401,!1);return f}},Csa=function(a,b){a=a===void 0?[]:a;return Rk({name:b,providers:[{provide:Gsa,useValue:"platform"},{provide:tsa,useValue:new Set([function(){return Dsa=null}])}].concat(p(a))})},Bsa=function(){var a,b;return(b=(a=Dsa)==null?void 0:a.get(Qk))!=null?b:null},Esa=function(a){var b=a.get(Hsa,null);nh(a,function(){b==null||b.forEach(function(c){return c()})})},Sk=function(a,b){return Rja(a,b==null?void 0:b.equal)},Msa=function(a,b){var c,d=(c=b==null?void 0:b.injector)!=
null?c:x(yj);b=(b==null?void 0:b.manualCleanup)!==!0?d.get(Cj):null;c=d.get(tqa,null,{optional:!0});var e=d.get(Xi);if(c!==null){var f=Isa(c.view,e,a);b instanceof Wh&&b._lView===c.view&&(b=null)}else f=Jsa(a,d.get(Ksa),e);f.injector=d;b!==null&&(f.onDestroyFn=b.onDestroy(function(){return f.destroy()}));return new Lsa(f)},Isa=function(a,b,c){var d=Object.create(Nsa);d.view=a;d.zone=typeof Zone!=="undefined"?Zone.current:null;d.notifier=b;d.fn=Osa(d,c);a[23]!=null||(a[23]=new Set);a[23].add(d);d.consumerMarkedDirty(d);
return d},Jsa=function(a,b,c){var d=Object.create(Psa);d.fn=Osa(d,a);d.scheduler=b;d.notifier=c;d.zone=typeof Zone!=="undefined"?Zone.current:null;d.scheduler.add(d);d.notifier.notify(12);return d},Osa=function(a,b){return function(){var c;b(function(d){var e;return((e=(c=a).cleanupFns)!=null?e:c.cleanupFns=[]).push(d)})}},Ssa=function(a,b){if(typeof a==="function")return a=Wja(a,Qsa,b==null?void 0:b.equal),Rsa(a);a=Wja(a.source,a.computation,a.equal);return Rsa(a)},Rsa=function(a){var b=a[Pg];a.set=
function(c){Kg(b);Qg(b,c);b.dirty=!1;b.lastCleanEpoch=Jg};a.update=function(c){Kg(b);Oja()||Tja();Qg(b,c(b.value));b.dirty=!1;b.lastCleanEpoch=Jg};a.asReadonly=wra.bind(a);return a},Tsa=function(a){switch(a.status){case "loading":return a.extRequest.reload===0?"loading":"reloading";case "resolved":return a.stream().error===void 0?"resolved":"error";default:return a.status}},Tk=function(a){return typeof a==="boolean"?a:a!=null&&a!=="false"},Uk=function(a,b){b=b===void 0?NaN:b;return isNaN(parseFloat(a))||
isNaN(Number(a))?b:Number(a)},Vsa=function(a){var b=x(yj),c=b.get(Xi),d=b.get(zj),e=b.get(Bj,null,{optional:!0});d.impl!=null||(d.impl=b.get(Aj));var f=a;typeof f==="function"&&(f={mixedReadWrite:a});a=b.get(tqa,null,{optional:!0});b=new Usa(d.impl,[f.earlyRead,f.write,f.mixedReadWrite,f.read],a==null?void 0:a.view,c,b,e==null?void 0:e.snapshot(null));d.impl.register(b)},Wsa=function(a,b){a=a[gh]||null;var c=b.elementInjector||zka();return(new Vk(a)).create(c,b.projectableNodes,b.hostElement,b.environmentInjector,
b.directives,b.bindings)},Xsa=function(a){var b=a[gh]||null;if(!b)return null;var c=new Vk(b);return{get selector(){return c.selector},get type(){return c.componentType},get inputs(){return c.inputs},get outputs(){return c.outputs},get ngContentSelectors(){return c.ngContentSelectors},get isStandalone(){return b.standalone},get isSignal(){return b.signals}}},Ysa=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}},Zsa=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""}},Wk=function(a){a&&typeof a.dispose=="function"&&a.dispose()},Xk=function(a){this.src=a;this.listeners={};this.typeCount_=0},$sa=function(){},ata=function(a,b){b.stack&&(a.stack+="\n"+b.stack);return a},cta=function(){return function(a){return{response:a.getMutableResponse().getText(),citationResources:bta(a.getMutableResponse())}}},bta=function(a){return ie(a,dta,13,Rd()).filter(function(b){return Yk(b,
eta,6,fta)}).flatMap(function(b){var c;if(b==null)b=void 0;else{var d;(c=Zk(b,eta,6,fta))==null?d=void 0:d=ie(c,gta,1,Rd());b=d}return b}).map(function(b){var c,d,e,f;return{citationTitle:(c=b==null?void 0:b.getTitle())!=null?c:"",url:(d=b==null?void 0:b.getUrl())!=null?d:"",iconUrl:(e=b==null?void 0:b.getIconUrl())!=null?e:"",isExternalDocument:(f=b==null?void 0:De(b,6))!=null?f:!1}})},hta=function(a){var b;return{paths:(b=a==null?void 0:Qd(a,1,Rd($d)))!=null?b:[]}},jta=function(a){if(ita.has(a))switch(a){case "access_limit":break;
case "assignee":return"assignee";case "blocked_by_issue_ids":return"blockedByIssueId";case "blocking_issue_ids":return"blockingIssueId";case "canonical_issue_id":return"duplicateOfIssueId";case "ccs":return"ccs";case "collaborators":return"collaborators";case "child_issue_ids":break;case "code_changes":return"changelists";case "gerrit_changes":return"gerritChanges";case "component_id":return"componentId";case "custom_fields":return"customField";case "deletion_reason":return"deletionReason";case "duplicate_issue_ids":break;
case "effort":return"effortEstimate";case "entity_status":break;case "found_in_versions":return"foundInVersion";case "hotlist_ids":return"hotlists";case "in_prod":return"inProd";case "is_archived":return"isArchived";case "is_deleted":return"isDeleted";case "parent_issue_ids":return"parentId";case "staffing":return"staffing";case "staffing.planned_allocations":break;case "postmortems":break;case "priority":return"priority";case "retention":break;case "reporter":return"reporter";case "severity":return"severity";
case "slo_snooze_until":return"sloStartTime";case "slo_end_time":return"sloEndTime";case "slo_snooze_type":return"sloSnoozeType";case "status":return"status";case "targeted_to_versions":return"targetedToVersion";case "title":return"title";case "type":return"type";case "verifier":return"verifier";case "verified_in_versions":return"verifiedInVersion";default:qb(a)}},kta=function(a){var b;return(b=a==null?void 0:Qd(a,1,Rd()).map(jta).filter(fe))!=null?b:[]},lta=function(a){switch(a){case "assignee":return"assignee";
case "attachments":break;case "blockedByIssueId":return"blocked_by_issue_ids";case "blockingIssueId":return"blocking_issue_ids";case "ccs":return"ccs";case "changelists":return"code_changes";case "collaborators":return"collaborators";case "comment":break;case "componentId":return"component_id";case "customField":return"custom_fields";case "deletionReason":return"deletion_reason";case "duplicateOfIssueId":return"canonical_issue_id";case "effortEstimate":return"effort";case "foundInVersion":return"found_in_versions";
case "gerritChanges":return"gerrit_changes";case "hotlists":return"hotlist_ids";case "inProd":return"in_prod";case "isArchived":return"is_archived";case "isDeleted":return"is_deleted";case "parentId":return"parent_issue_ids";case "priority":return"priority";case "readState":break;case "reporter":return"reporter";case "severity":return"severity";case "sloEndTime":return"slo_end_time";case "sloSnoozeType":return"slo_snooze_type";case "sloStartTime":return"slo_snooze_until";case "staffing":return"staffing";
case "status":return"status";case "targetedToVersion":return"targeted_to_versions";case "title":return"title";case "type":return"type";case "verifiedInVersion":return"verified_in_versions";case "verifier":return"verifier";default:qb(a,"Unhandled IssueFieldName in fieldNameToMask")}},nta=function(a){return a.type==="CUSTOM_FIELD"?[mta[xga[a.type]],a.customFieldId].join(":"):mta[xga[a.type]]},pta=function(a){return a.includes(":")?(a=l(a.split(":")),a.next(),a=a.next().value,{type:"CUSTOM_FIELD",customFieldId:$k(a)}):
{type:Ufa[ota[a]]}},qta=function(a){var b;a==null?a=void 0:(a=Qd(a,1,Rd()),a=a==null?void 0:a.map(pta));return(b=a)!=null?b:[]},sta=function(a){var b=l(a.trim().split(" ")),c=b.next().value;a=b.next().value;rta(b);b=pta(c);c="DESCENDING";a==="asc"&&(c="ASCENDING");return{field:b,direction:c}},uta=function(a){return a.map(tta).join(",")},tta=function(a){return nta(a.field)+" "+(a.direction==="ASCENDING"?"asc":"desc")},vta=function(a){return uta(a.toLowerCase().split(",").map(function(b){return b.replace(":asc",
" asc")}).map(function(b){return b.replace(":desc"," desc")}).map(function(b){return b.replace("custom_field.","custom_field:")}).map(function(b){return b.replace("collaborator_count","collaborators_count").replace("verified_in_version","verified_in_versions").replace("targeted_to_version","targeted_to_versions").replace("found_in_version","found_in_versions")}).map(sta))},dl=function(a){switch(al(a,bl)){case 0:throw Error("qb");case 1:return{user:ae(a.getUser())};case 2:return{group:ae(a.getGroup())};
case 3:return{alias:cl(a,3,bl)};default:throw Error("rb");}},gl=function(a){var b=new el;Uea(a)&&b.setUser(Yd(a.user));a.group!==void 0&&b.setGroup(Yd(a.group));a.alias!==void 0&&fl(b,3,bl,a.alias);return b},wta=function(a){var b=new hl;switch(a){case "ACCESS_LEVEL_UNSPECIFIED":b.setAccessLevel(0);break;case "LIMIT_NONE":b.setAccessLevel(1);break;case "LIMIT_VIEW":b.setAccessLevel(2);break;case "LIMIT_APPEND":b.setAccessLevel(3);break;case "LIMIT_VIEW_TRUSTED":b.setAccessLevel(4);break;default:throw Error("ub");
}return b},xta=function(a){switch(a.getAccessLevel()){case 0:return"ACCESS_LEVEL_UNSPECIFIED";case 1:return"LIMIT_NONE";case 2:return"LIMIT_VIEW";case 3:return"LIMIT_APPEND";case 4:return"LIMIT_VIEW_TRUSTED";default:throw Error("ub");}},zta=function(a){if(a)return a=a.getAccessLevel(),{accessLevel:yta[a]}},Bta=function(a){return(new il).setAccessLevel(Ata[a.accessLevel])},Dta=function(a){if(a)return(a=r(a,jl,1))?(a=a.getSeverity(),a={piiVerdict:a?{severity:Cta(a)}:{severity:"NONE_DETECTED"}}):a={piiVerdict:{severity:"NONE_DETECTED"}},
a},Cta=function(a){switch(a){case 0:case 1:return"NONE_DETECTED";case 2:return"RESTRICTED";case 3:return"RESTRICTED_PLUS";default:throw Error("vb`"+a);}},Eta=function(a){switch(a){case "RESTRICTION_SEVERITY_UNSPECIFIED":case "NONE_DETECTED":return 1;case "RESTRICTED":return 2;case "RESTRICTED_PLUS":return 3;default:throw Error("vb`"+a);}},Fta=function(a){var b=new kl;b=ll(b,1,a.contentJudgementId).setResourcePath(a.resourcePath);var c=Eta(a.severity);b=Xd(b,3,c);b=Vd(b,4,a.judgementReason);a.judge&&
(a=Yd(a.judge),t(b,Ud,9,a));return b},Gta=function(a){return{contentJudgementId:pe(Re(a,1))?String(Re(a,1)):void 0,resourcePath:a.getResourcePath()||void 0,severity:Cta(a.getRestrictionSeverity()),judgementReason:Oc(a,4),judge:ae(r(a,Ud,9))}},Hta=function(a){var b=new kl;var c=Eta(a.severity);b=Xd(b,3,c);return Vd(b,4,a.judgementReason)},Jta=function(a){if(a){a:{var b=a.getStatus();switch(b){case 0:b="ACTIVE";break a;case 1:b="DELETED";break a;case 2:b="PURGED";break a;default:throw Error("wb`"+b);
}}return{status:b,reason:Ita(a.getReason())}}},Ita=function(a){switch(a){case 0:return"UNSPECIFIED";case 1:return"USER_REQUEST";case 2:return"ABUSE";case 3:return"RESTRICTED";case 4:return"RETENTION";case 5:return"ACCOUNT_CAPABILITIES";default:throw Error("xb`"+a);}},Kta=function(a){switch(a){case "UNSPECIFIED":return 0;case "USER_REQUEST":return 1;case "ABUSE":return 2;case "RESTRICTED":return 3;case "RETENTION":return 4;case "ACCOUNT_CAPABILITIES":return 5;default:throw Error("xb`"+a);}},Lta=function(a){if(a){var b=
new ml,c=b.setStatus;a:{var d=a.status;switch(d){case "ACTIVE":d=0;break a;case "DELETED":d=1;break a;case "PURGED":d=2;break a;default:throw Error("wb`"+d);}}return c.call(b,d).setReason(Kta(a.reason))}},Mta=function(a){switch(a){case "DELETION_REASON_UNSPECIFIED":return"UNSPECIFIED";case "USER_REQUEST":return"USER_REQUEST";case "ABUSE":return"ABUSE";case "RESTRICTED":return"RESTRICTED";case "RETENTION":return"RETENTION";case "ACCOUNT_CAPABILITIES":return"ACCOUNT_CAPABILITIES";default:throw Error("xb`"+
a);}},Nta=function(a){if(a!=null){var b,c;return{retentionPeriod:(b=yfa(a.getRetentionPeriod()))!=null?b:null,scheduledDeletionTime:(c=te(r(a,ue,2)))!=null?c:null}}},Ota=function(a){var b=new nl;if(a.retentionPeriod){var c=xfa(a.retentionPeriod);t(b,we,1,c)}a.scheduledDeletionTime&&(a=ve(a.scheduledDeletionTime),t(b,ue,2,a));return b},Qta=function(a){var b=Zd(a,1);b=Pta[b];var c=Pd(a,2),d=Zd(a,3);return{retentionSelection:b,retentionPeriodDays:c,piiRetentionSelection:Pta[d],piiRetentionPeriodDays:Pd(a,
4),spiiRetentionPeriodDays:Pd(a,5)}},Sta=function(a){var b=new ol;b=Xd(b,1,Rta[a.retentionSelection]);b=se(b,2,a.retentionPeriodDays);b=Xd(b,3,Rta[a.piiRetentionSelection]);b=se(b,4,a.piiRetentionPeriodDays);return se(b,5,a.spiiRetentionPeriodDays)},Tta=function(a){switch(a){case 0:return"RETENTION_UNSPECIFIED";case 1:return"COMPONENT_DEFAULT";case 2:return"INDEFINITE";default:throw Error("yb`"+a);}},Uta=function(a){switch(a){case "RETENTION_UNSPECIFIED":return 0;case "COMPONENT_DEFAULT":return 1;
case "INDEFINITE":return 2;default:throw Error("yb`"+a);}},Wta=function(a){var b=de(a.getAttachmentId_asString());var c=a.getFilename();var d=pe(a.getLength())||void 0,e=Oc(a,2);c=c&&e?{filename:c,length:d,contentType:e}:void 0;return{attachmentId:b,media:c,contentType:Oc(a,2),filename:a.getFilename(),length:pe(a.getLength()),etag:Vta(a.getEtag())||"",contentVerdict:Dta(a.getContentVerdict()),entityStatus:Jta(a.getEntityStatus()),piiRetentionState:Nta(a.getRestrictedRetentionState()),piiRetention:Tta(a.getRestrictedRetention())}},
Yta=function(a){var b=new pl;var c=new Xta;a=fba(a);c=ql(c,2,a);return t(b,Xta,5,c).setEntityStatus(Lta({status:"ACTIVE",reason:"UNSPECIFIED"}))},Zta=function(a){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(a.type)},$ta=function(a){switch(a){case "TYPE_UNSPECIFIED":return"Unknown";case "TEXT":return"Text";case "DATE":return"Date";case "ENUM":return"Enum";case "NUMERIC":return"Numeric";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"Unknown"}},bua=function(a){if(a!=null)return{customFieldId:ee(be(pe(a.getCustomFieldId()))),standardField:aua[Zd(a,rl(a,sl,2))]}},dua=function(a){var b=new tl;a.customFieldId?b.setCustomFieldId(a.customFieldId):a.standardField&&ul(b,2,sl,Bba(cua[a.standardField]));return b},eua=function(a){if(a){var b=be(pe(a.getCustomFieldId()));if(b==null)oe("No customFieldId. customFieldValueToJs");else{b=
{customFieldId:b,displayValues:ie(a,wf,11,Rd()).map(function(H){return id(Wga(H)).toString()})};switch(a.getValueCase()){case 2:b.textValue=ee(cl(a,2,vl));break;case 3:b.dateValue=vfa(a.getDateValue());break;case 4:b.enumValue=ee(cl(a,4,vl));break;case 5:b.numericValue=ee(wl(a,rl(a,vl,5)));break;case 6:var c,d;b.repeatedTextValue={values:(d=(c=Zk(a,xl,6,vl))==null?void 0:c.getValuesList($d))!=null?d:[]};break;case 8:var e,f;b.repeatedEnumValue={values:(f=(e=Zk(a,xl,8,vl))==null?void 0:e.getValuesList($d))!=
null?f:[]};break;case 9:var h,k;b.repeatedNumericValue={values:(k=(h=Zk(a,yl,9,vl))==null?void 0:h.getValuesList($d))!=null?k:[]};break;case 7:var q,u,A,D;b.repeatedDateValue={values:(D=(q=Zk(a,zl,7,vl))==null?void 0:(u=q.getValuesList())==null?void 0:(A=u.map(vfa))==null?void 0:A.filter(fe))!=null?D:[]}}return b}}},gua=function(a){var b=(new Al).setCustomFieldId(a.customFieldId);a.textValue!=null?fl(b,2,vl,a.textValue):a.dateValue!=null?(a=wfa(a.dateValue),Bl(b,3,vl,a)):a.enumValue!=null?fl(b,4,
vl,a.enumValue):a.numericValue!=null?fua(b,5,vl,a.numericValue):a.repeatedTextValue!=null?(a=(new xl).setValuesList(a.repeatedTextValue.values),Bl(b,6,vl,a)):a.repeatedEnumValue!=null?(a=(new xl).setValuesList(a.repeatedEnumValue.values),Bl(b,8,vl,a)):a.repeatedNumericValue!=null?(a=(new yl).setValuesList(a.repeatedNumericValue.values),Bl(b,9,vl,a)):a.repeatedDateValue!=null&&(a=(new zl).setValuesList(a.repeatedDateValue.values.map(wfa)),Bl(b,7,vl,a));return b},jua=function(a){var b=pe(a.getCustomFieldId()),
c=hua[a.getType()],d=!!De(a,4),e=a.getName(),f=a.getDescription()||"",h=eua(r(a,Al,10));var k=Qd(a,8,Rd($d));b={customFieldId:b,type:c,required:d,name:e,description:f,typedDefaultValue:h,allowedValue:k,fieldSignificance:iua[Zd(a,9)],shared:a.getShared(),stateOnIssues:"INHERIT",enabledOnIssues:!0};pe(a.getComponentId())&&(b.componentId=a.getComponentId_asString());return b},kua=function(a){return jua(a)},nua=function(a){var b=new Cl;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));b.setComponentId(String(a.componentId));
b.setType(lua[a.type]);Dl(b,4,a.required);b.setName(a.name);b.setDescription(a.description);if(a.typedDefaultValue){var c=gua(a.typedDefaultValue);t(b,Al,10,c)}a.allowedValue&&Wd(b,8,a.allowedValue);a.fieldSignificance&&b.setFieldSignificance(mua[a.fieldSignificance]);b.setShared(a.shared);return b},oua=function(a){return{specId:pe(Re(a,1)),estimate:Oc(a,2),averageDays:wl(a,3),totalOpen:wl(a,4),totalComplete:wl(a,5)}},vua=function(a){var b=new El;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&&pua(b,qua(new rua,a.numericSpec.multiplier));if(a.enumSpec){var c;sua(b,tua(new uua,((c=a.enumSpec.options)!=null?c:[]).map(function(d){return(new Fl).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}Xd(b,6,a)}return b},Il=function(a){var b=void 0,c=a.getContentVerdict();c&&(b=Dta(c));c=void 0;var d=a.getFormattedComment();
d&&(c=Gl(d));d=void 0;var e=r(a,Ud,3);e&&(d=ae(e));e=void 0;var f=a.getEtag();f&&(e=Vta(f));f=void 0;var h=a.getEntityStatus();h&&(f=Jta(h));h=void 0;var k=a.getRestrictedRetentionState();k&&(h=Nta(k));return{issueId:String(a.getIssueId()),commentNumber:a.getCommentNumber(),commentContentVerdict:b,formattingMode:wua(a.getFormattingMode()),formattedComment:c,lastEditorUser:d,lastModified:ye(a.getModifiedTime()),version:a.getVersion(),unlinkifiedComment:a.getComment(),entityStatus:f,piiRetentionState:h,
piiRetention:Tta(a.getRestrictedRetention()),redacted:De(a,13),etag:e,commentReactions:xua(r(a,Hl,17))}},Gl=function(a){if(Yk(a,yua,1,Jl)){var b=Zk(a,yua,1,Jl);var c;b={plainSection:((c=ie(b,Kl,1,Rd()))!=null?c:[]).map(zua)}}else b=void 0;c=b;b=Yk(a,Ll,2,Jl)?Aua(Zk(a,Ll,2,Jl)):void 0;Yk(a,Ml,3,Jl)?(a=Zk(a,Ml,3,Jl),a={content:Wga(a.getContent())}):a=void 0;return{plainFormat:c,markdownFormat:b,literalFormat:a}},Cua=function(a){var b=new Nl;if(a.plainFormat){var c=a.plainFormat;var d=new yua;c=c.plainSection.map(Bua);
d=Ol(d,1,c);Bl(b,1,Jl,d)}a.markdownFormat&&(d=a.markdownFormat,d=(new Ll).setContent(Vga(d.content)),Bl(b,2,Jl,d));a.literalFormat&&(a=a.literalFormat,a=(new Ml).setContent(Vga(a.content)),Bl(b,3,Jl,a));return b},zua=function(a){return{isQuoted:De(a,1),content:Wga(a.getContent())}},Bua=function(a){var b=new Kl;return Dl(b,1,a.isQuoted).setContent(Vga(a.content))},Aua=function(a){return{content:Wga(a.getContent())}},wua=function(a){switch(a){case 0:case 1:return"PLAIN";case 2:return"MARKDOWN";case 3:return"LITERAL";
default:throw Error("zb`"+a);}},Pl=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 1;default:throw Error("zb`"+a);}},xua=function(a){var b,c;a==null?c=void 0:c=ie(a,Ql,2,Rd());a=(b=c)!=null?b:[];b=new Map;a=l(a);for(c=a.next();!c.done;c=a.next()){c=c.value;a:{var d=c.getType();switch(d){case 0:d="REACTION_TYPE_UNSPECIFIED";break a;case 1:d="UPVOTE";break a;default:throw Error("Ab`"+d);}}var e=
void 0,f=void 0,h=void 0,k=void 0,q=(f=De(c,1))!=null?f:!1;f=(h=pe(c.getCount()))!=null?h:0;c=ie(c,Ud,3,Rd());c={type:d,hasReacted:q,count:f,recentResponders:(k=(e=c)==null?void 0:e.map(ae).filter(fe))!=null?k:[]};b.set(d,c)}return b},Dua=function(a){return a.map(function(b){return r(b,Ud,1)}).filter(fe).map(ae).map(function(b){return{mentionedUser:b}})},Eua=function(a){switch(a){case 1:return"BUG";case 3:return"CUSTOMER_ISSUE";case 2:return"FEATURE_REQUEST";case 4:return"INTERNAL_CLEANUP";case 5:return"PROCESS";
case 6:return"VULNERABILITY";case 7:return"PRIVACY_ISSUE";case 10:return"PROJECT";case 11:return"FEATURE";case 12:return"MILESTONE";case 13:return"EPIC";case 14:return"STORY";case 15:return"TASK";case 8:return"TYPE_UNSPECIFIED";case 9:return"PROGRAM";case 0:return"TYPE_UNSPECIFIED";default:return"TYPE_UNSPECIFIED"}},Fua=function(a){switch(a){case "BUG":return 1;case "CUSTOMER_ISSUE":return 3;case "FEATURE_REQUEST":return 2;case "INTERNAL_CLEANUP":return 4;case "PROCESS":return 5;case "VULNERABILITY":return 6;
case "PRIVACY_ISSUE":return 7;case "PROJECT":return 10;case "FEATURE":return 11;case "MILESTONE":return 12;case "EPIC":return 13;case "STORY":return 14;case "TASK":return 15;case "PROGRAM":return 9;case "TYPE_UNSPECIFIED":return 0;default:return 0}},Hua=function(a){var b=te(a.getStartTime()),c=te(r(a,ue,3)),d=te(a.getEndTime()),e=yfa(a.getObjective()),f=a.getBusinessDays();a=a.getDayType();return{startTime:b,targetTime:c,endTime:d,objective:e,businessDays:f,dayType:Gua[a]}},Jua=function(a){var b=
new Rl;a.startTime&&b.setStartTime(ve(a.startTime));if(a.targetTime){var c=ve(a.targetTime);t(b,ue,3,c)}a.endTime&&b.setEndTime(ve(a.endTime));a.objective&&b.setObjective(xfa(a.objective));a.businessDays&&b.setBusinessDays(a.businessDays);a.dayType&&b.setDayType(Iua[a.dayType]);return b},Lua=function(a){var b=(new Sl).setInherit(a.inherit).setSource(Kua[a.source]).setComment(a.comment);a.id&&b.setId(a.id);a.sourceComponentId&&ll(b,6,a.sourceComponentId);a.sourceTeamId&&b.setSourceTeamId(a.sourceTeamId);
return b},Nua=function(a){return{author:ae(a.getAuthor()),timestamp:te(a.getTimestamp()),add:Mua(a.getAdd()),remove:Mua(a.getRemove()),addMask:hta(a.getAddMask()),removeMask:hta(a.getRemoveMask())}},Mua=function(a){var b=a.getSloId_asString(),c=a.getName(),d=a.getDescription(),e=Xe(a,2);var f=ie(a,Tl,5,Rd());f=(f!=null?f:[]).map(Oua);var h=ie(a,Tl,6,Rd());h=(h!=null?h:[]).map(Oua);var k=a.getIsArchived();a:switch(a=Zd(a,8),a){case 0:a="OFF";break a;case 1:a="OFF";break a;case 2:a="ON";break a;default:throw Error("Bb`"+
a);}return{sloId:b,name:c,description:d,parentId:e,elements:f,effectiveElements:h,isArchived:k,alertState:a}},Oua=function(a){var b=Pua(a.getMetric()),c=Oc(a,2);a:{var d=a.getDayType();switch(d){case 0:d="CALENDAR";break a;case 1:d="CALENDAR";break a;case 2:d="BUSINESS";break a;default:throw Error("Db`"+d);}}return{metric:b,matcher:c,dayType:d,objective:yfa(a.getObjective()),businessDays:a.getBusinessDays()}},Pua=function(a){switch(a){case 0:return"METRIC_UNSPECIFIED";case 1:return"ASSIGNMENT";case 2:return"RESPONSE";
case 3:return"CLOSURE";default:throw Error("Cb`"+a);}},Rua=function(a){var b=new Tl;var c=Qua(a.metric);b=Xd(b,1,c);b=Vd(b,2,a.matcher);c=b.setDayType;a:{var d=a.dayType;switch(d){case "DAY_TYPE_UNSPECIFIED":d=0;break a;case "CALENDAR":d=1;break a;case "BUSINESS":d=2;break a;default:throw Error("Db`"+d);}}return c.call(b,d).setObjective(xfa(a.objective)).setBusinessDays(a.businessDays)},Qua=function(a){switch(a){case "METRIC_UNSPECIFIED":return 0;case "ASSIGNMENT":return 1;case "RESPONSE":return 2;
case "CLOSURE":return 3;default:throw Error("Eb`"+a);}},Sua=function(a){switch(a){case "SWE":return 1;case "SRE":return 2;case "PM":return 3;case "TPGM":return 4;case "UX":return 5;case "UXD":return 6;case "UXR":return 7;case "DATASCI":return 8;case "LD":return 9;case "DEVREL":return 10;case "TW":return 11;case "GTM":return 12;case "CE":return 13;case "OTHER":return 14;default:return 0}},Tua=function(a){switch(a){case "HIGH":return 1;case "MEDIUM":return 2;case "LOW":return 3;default:return 4}},Wua=
function(a){var b=new Ul;if(a.user){var c=b.setUser,d=a.user,e=(new Uua).setUser(Yd(d.user));d.isLead&&e.setIsLead(!0);d.role&&e.setRole(Sua(d.role));c=c.call(b,e);a=a.allocation;d=new Vua;d=Vl(d,3,a.aggregationValue);a.involvement&&ul(d,1,Wl,Bba(Tua(a.involvement)));a.percentage!==void 0&&fua(d,2,Wl,a.percentage);a.startDate&&(e=wfa(a.startDate),t(d,re,4,e));a.endDate&&(a=wfa(a.endDate),t(d,re,5,a));t(c,Vua,3,d)}else a.placeholder&&(c=a.placeholder,c=(new Xl).setRole(Sua(c.role)).setCount(c.count),
Bl(b,2,Yl,c));return b},Xua=function(a){var b=new Zl;a=a.plannedAllocations.map(Wua);return Ol(b,1,a)},Yua=function(a){switch(a){case 1:return"HIGH";case 2:return"MEDIUM";case 3:return"LOW";default:return"ZERO"}},Zua=function(a){switch(a){case 1:return"SWE";case 2:return"SRE";case 3:return"PM";case 4:return"TPGM";case 5:return"UX";case 6:return"UXD";case 7:return"UXR";case 8:return"DATASCI";case 9:return"LD";case 10:return"DEVREL";case 11:return"TW";case 12:return"GTM";case 13:return"CE";case 14:return"OTHER";
default:return"JOB_ROLE_UNSPECIFIED"}},$ua=function(a){if(a.hasUser()){var b=a.getUser(),c=Zua(b.getRole());var d={user:ae(b.getUser())};b.getIsLead()&&(d.isLead=!0);c!=="JOB_ROLE_UNSPECIFIED"&&(d.role=c);a=r(a,Vua,3);b={aggregationValue:wl(a,3)};c=rl(a,Wl,1);$l(a,c)!=null&&(b.involvement=Yua(Zd(a,rl(a,Wl,1))));c=rl(a,Wl,2);Ke(a,c,void 0,void 0,sb)!=null&&(b.percentage=wl(a,rl(a,Wl,2)));Me(a,re,4)&&(b.startDate=vfa(a.getStartDate()));Me(a,re,5)&&(b.endDate=vfa(r(a,re,5)));d={user:d,allocation:b}}else Yk(a,
Xl,2,Yl)?(d=a.getPlaceholder(),d={placeholder:{role:Zua(d.getRole()),count:d.getCount()}}):d={};return d},ava=function(a){return{plannedAllocations:ie(a,Ul,1,Rd()).map($ua)}},bva=function(a){return{issueId:String(a.getIssueId()),updateText:Oc(a,2),formattedText:Me(a,Nl,3)?Gl(r(a,Nl,3)):void 0,formattingMode:a.getFormattingMode()?wua(a.getFormattingMode()):"PLAIN",author:a.hasAuthor()?ae(a.getAuthor()):void 0,updateTime:a.hasUpdateTime()?ee(te(a.getUpdateTime())):void 0,version:a.getVersion()}},cva=
function(a){var b=(new am).setFormattingMode(Pl(a.formattingMode));a.issueId&&b.setIssueId(a.issueId);a.updateText&&Vd(b,2,a.updateText);if(a.formattedText){var c=Cua(a.formattedText);t(b,Nl,3,c)}a.author&&b.setAuthor(Yd(a.author));a.updateTime&&b.setUpdateTime(ve(a.updateTime));a.version&&b.setVersion(a.version);return b},iva=function(a){var b=a.getAccessLimit(),c=dva[Zd(a,30)],d,e,f,h,k,q,u,A,D,H,O,P,S,aa,ia,la,ya,Ia,Pa,gb,ua,Ea;return{componentId:de(a.getComponentId_asString())||null,type:a.getType()?
Eua(a.getType()):null,status:a.getStatus()?bm[a.getStatus()]:null,priority:a.getPriority()?cm[a.getPriority()]:null,severity:a.getSeverity()?eva[a.getSeverity()]:null,title:a.getTitle(),reporterUser:a.getReporter()?ae(a.getReporter()):null,assigneeUser:a.getAssignee()?ae(a.getAssignee()):null,verifierUser:a.getVerifier()?ae(a.getVerifier()):null,ccUsers:(A=(d=a.getCcsList())==null?void 0:d.map(ae))!=null?A:[],collaboratorsUsers:(D=(e=a.getCollaboratorsList())==null?void 0:e.map(ae))!=null?D:[],staffing:a.getStaffing()?
ava(a.getStaffing()):null,duplicateOfIssueId:a.getCanonicalIssueId_asString()!=="0"?a.getCanonicalIssueId_asString():null,blockedByIssueId:(H=(f=a.getBlockedByIssueIdsList_asString())==null?void 0:f.filter(function(Ha){return Ha!=="0"}))!=null?H:[],blockingIssueId:(O=(h=a.getBlockingIssueIdsList_asString())==null?void 0:h.filter(function(Ha){return Ha!=="0"}))!=null?O:[],hotlistId:(P=(k=a.getHotlistIdsList_asString())==null?void 0:k.map(be).filter(fe))!=null?P:[],customField:(S=(q=a.getCustomFieldsList())==
null?void 0:q.map(eua).filter(fe))!=null?S:[],changelist:(aa=a.getCodeChangesList($d))!=null?aa:[],gerritChanges:(ia=a.getGerritChangesList().map(fva))!=null?ia:[],foundInVersion:(la=Qd(a,17,Rd($d)))!=null?la:[],targetedToVersion:(ya=Qd(a,18,Rd($d)))!=null?ya:[],verifiedInVersion:(Ia=Qd(a,19,Rd($d)))!=null?Ia:[],inProd:a.getInProd(),isArchived:a.getIsArchived(),duplicateIssueId:(Pa=(u=a.getDuplicateIssueIdsList_asString())==null?void 0:u.filter(function(Ha){return Ha!=="0"}))!=null?Pa:[],isDeleted:a.getIsDeleted(),
deletionReason:gva[Zd(a,24)],sloStartTime:(gb=te(a.getSloSnoozeUntil()))!=null?gb:null,sloEndTime:(ua=te(a.getSloEndTime()))!=null?ua:null,sloSnoozeType:c==="SLO_SNOOZE_TYPE_UNSPECIFIED"?null:c,postmortems:(Ea=Qd(a,27,Rd($d)))!=null?Ea:[],retention:hva[a.getRetention()],effort:a.hasEffort()?oua(a.getEffort()):void 0,issueAccessLimitLevel:b!=null?xta(b):null,comment:"",formattingMode:void 0}},pva=function(a){var b=new dm;a.componentId&&b.setComponentId(a.componentId);a.title&&b.setTitle(a.title);a.type!=
null&&b.setType(Fua(a.type));a.inProd!=null&&b.setInProd(a.inProd);a.isArchived!=null&&b.setIsArchived(a.isArchived);a.status!=null&&b.setStatus(jva[a.status]);a.priority!=null&&b.setPriority(kva[a.priority]);a.severity!=null&&b.setSeverity(lva[a.severity]);a.reporterUser&&b.setReporter(Yd(a.reporterUser));a.assigneeUser&&b.setAssignee(Yd(a.assigneeUser));a.verifierUser&&b.setVerifier(Yd(a.verifierUser));a.ccUsers&&b.setCcsList(a.ccUsers.map(Yd));a.collaboratorsUsers&&b.setCollaboratorsList(a.collaboratorsUsers.map(Yd));
a.staffing&&b.setStaffing(Xua(a.staffing));a.duplicateOfIssueId&&b.setCanonicalIssueId(Number(a.duplicateOfIssueId));a.blockedByIssueId&&b.setBlockedByIssueIdsList(a.blockedByIssueId.map(Number));a.blockingIssueId&&b.setBlockingIssueIdsList(a.blockingIssueId.map(Number));a.hotlistId&&b.setHotlistIdsList(a.hotlistId);a.customField&&b.setCustomFieldsList(a.customField.map(gua));a.changelist&&b.setCodeChangesList(a.changelist);a.gerritChanges&&b.setGerritChangesList(a.gerritChanges.map(mva));a.foundInVersion&&
Wd(b,17,a.foundInVersion);a.targetedToVersion&&Wd(b,18,a.targetedToVersion);a.verifiedInVersion&&Wd(b,19,a.verifiedInVersion);a.duplicateIssueId&&b.setDuplicateIssueIdsList(a.duplicateIssueId.map(Number));a.isDeleted!=null&&b.setIsDeleted(a.isDeleted);a.deletionReason!=null&&b.setDeletionReason(nva[a.deletionReason]);a.sloStartTime&&b.setSloSnoozeUntil(ve(a.sloStartTime));a.sloEndTime&&b.setSloEndTime(ve(a.sloEndTime));a.sloSnoozeType!=null&&b.setSloSnoozeType(ova[a.sloSnoozeType]);a.retention!=null&&
b.setRetention(Uta(a.retention));if(a.effort){var c=b.setEffort,d=a.effort,e=new em;d.specId&&ll(e,1,d.specId);d.estimate&&Vd(e,2,d.estimate);d.averageDays&&Vl(e,3,d.averageDays);d.totalOpen&&Vl(e,4,d.totalOpen);d.totalComplete&&Vl(e,5,d.totalComplete);c.call(b,e)}a.issueAccessLimitLevel&&b.setAccessLimit(wta(a.issueAccessLimitLevel));return b},fva=function(a){var b={host:Oc(a,1),repo:Oc(a,2),changeNumber:a.getChangeNumber_asLegacyNumberOrString(),state:qva[a.getState()]};Oc(a,5)&&(b.branch=Oc(a,
5));return b},mva=function(a){var b=new fm;b=Vd(b,1,a.host);b=Vd(b,2,a.repo).setChangeNumber(a.changeNumber).setState(rva[a.state]);a.branch&&Vd(b,5,a.branch);return b},sva=function(a){return{oneDayViewCount:gm(a,1),sevenDayViewCount:gm(a,2),thirtyDayViewCount:gm(a,3)}},uva=function(a){if(a){var b=De(a,2);b=b==null?null:b;var c=De(a,1);return{voted:b,starred:c==null?null:c,notificationSubscription:tva[Zd(a,4)],lastViewedTimeMicros:ye(r(a,ue,5))}}},vva=function(a){if(a){var b=void 0,c=a.getSloStatus();
c&&(b={assignmentBounds:(c==null?0:Me(c,Rl,1))?Hua(r(c,Rl,1)):void 0,responseBounds:(c==null?0:Me(c,Rl,2))?Hua(r(c,Rl,2)):void 0,closureBounds:(c==null?0:Me(c,Rl,3))?Hua(r(c,Rl,3)):void 0});c=void 0;var d=r(a,Ud,14);d&&(c=ae(d));var e;return{voteCount:(e=gm(a,10))!=null?e:0,createdTimeMicros:ye(a.getCreatedTime()),resolvedTimeMicros:ye(a.getResolvedTime()),verifiedTimeMicros:ye(a.getVerifiedTime()),modifiedTimeMicros:ye(a.getModifiedTime()),sloId:be(a.getSloId_asLegacyNumberOrString()),teamId:de(a.getTeamId_asLegacyNumberOrString()),
retentionState:Nta(a.getRetentionState()),sloStatus:b,lastModifier:c}}},zva=function(a){switch(al(a,wva)){case 2:var b=Zk(a,xva,2,wva);return b.getCommentNumber()!==0?{type:"issueReference",issueId:b.getIssueId_asString(),commentNumber:b.getCommentNumber(),sourceCommentNumber:Pd(a,3)}:{type:"issueReference",issueId:b.getIssueId_asString(),sourceCommentNumber:Pd(a,3)};case 1:return b=Zk(a,yva,1,wva),{type:"hyperlink",href:Oc(b,1),sourceCommentNumber:Pd(a,3)};case 0:throw Error("Fb");default:throw Error("Gb");
}},hm=function(a){var b=a.getIssueState()?[iva(a.getIssueState())]:[],c,d;return{issueId:a.getIssueId_asString(),version:a.getVersion(),snapshot:b,userData:uva(a.getUserData()),aggregatedData:vva(a),accessLimit:zta(a.getAccessLimit()),customFields:a.getCustomFieldsList().map(jua),visibleFields:ie(a,tl,34,Rd()).map(bua).filter(fe),majorModifiedTimeMicros:ye(a.getMajorModifiedTime()),parentIssueIds:a.getParentIssueIdsList_asString().filter(function(e){return e!=="0"}),descendantCount:(c=a.getDescendantIssueCount())!=
null?c:0,openDescendantCount:(d=a.getOpenDescendantIssueCount())!=null?d:0,isArchived:a.getIsArchived(),trackerId:de(a.getTrackerId_asString()),userActivityStats:r(a,Ava,47)&&sva(r(a,Ava,47)),escalationOwner:a.getEscalationOwner()?ae(a.getEscalationOwner()):void 0}},Cva=function(a){for(var b=new Map,c=l(a.getAncestorsMap().entries()),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b.set(String(d),{sourceIssueIds:e.getSourceIssueIdsList_asString().filter(function(f){return f!==
"0"})})}c=hm(a);return Object.assign({},c,{description:a.hasDescription()?Il(a.getDescription()):void 0,ancestors:b,childIssueCount:a.getChildIssueCount(),relatedLinks:ie(a,Bva,41,Rd()).map(zva),statusUpdate:a.hasStatusUpdate()?bva(a.getStatusUpdate()):void 0})},Dva=function(a){var b,c,d,e,f,h=(new im).setHotlistId(a.hotlistId).setName(a.name).setDescription(a.description).setArchived(a.archived).setDefaultOrderBy(uta((d=a.sortOrder)!=null?d:[]));d=h.setDisplayPreferences;var k=new jm,q=(e=(b=a.displayColumn)==
null?void 0:b.map(nta))!=null?e:[];b=Wd(k,1,q);h=d.call(h,b).setCreatedTime(xe(a.createdTimeMicros)).setModifiedTime(xe(a.modifiedTimeMicros)).setOwnersList((f=(c=a.adminUsers)==null?void 0:c.map(Yd))!=null?f:[]);a.etag!==void 0&&(c=h.setEtag,a=a.etag,a=a.length?new Xa(kaa(a,!0),Ya):Wa(),c.call(h,a));return h},Eva=function(a){if(!pe(a.getHotlistId()))throw Error("Hb");if(!a.getName())throw Error("Ib");if(!a.getCreatedTime())throw Error("Jb");if(!a.getModifiedTime())throw Error("Kb");var b,c,d,e;return{hotlistId:pe(a.getHotlistId()),
name:a.getName(),description:(c=a.getDescription())!=null?c:"",archived:(d=a.getArchived())!=null?d:!1,createdTimeMicros:ye(a.getCreatedTime()),modifiedTimeMicros:ye(a.getModifiedTime()),displayColumn:qta(a.getDisplayPreferences()),sortOrder:a.getDefaultOrderBy().split(",").filter(Boolean).map(sta),etag:Vta(a.getEtag())||void 0,adminUsers:(e=(b=a.getOwnersList())==null?void 0:b.map(ae))!=null?e:[]}},Fva=function(a){return{issueId:a.getIssueId_asString(),position:a.getPosition(),issue:hm(a.getIssue())}},
Gva=function(a){var b=ie(a,km,1,Rd()).map(Fva),c=new Map(b.map(function(d){return[d.issueId,d.position]}));return{issues:b.map(function(d){return d.issue}),numTotalResults:a.getTotalSize(),positionMap:Object.fromEntries(c),nextPageToken:a.getNextPageToken(),totalSizeAccurate:a.getTotalSizeAccurate(),maySkipResults:a.getMaySkipResults()}},Lva=function(a){var b=void 0;switch(a.getContentCase()){case 9:b={recommendedIssue:hm(Zk(a,lm,9,mm))};break;case 10:b={recommendedHotlist:Eva(Zk(a,im,10,mm))};break;
case 12:var c=a.getIssueModification();b={issueModification:{addState:c.getAdd()?iva(c.getAdd()):void 0,addMask:kta(c.getAddMask()),removeState:c.getRemove()?iva(c.getRemove()):void 0,removeMask:kta(c.getRemoveMask()),comment:c.getComment()?Il(c.getComment()):void 0}};break;case 11:var d=Zk(a,Hva,11,mm);c={name:d.getName(),entries:d.getEntriesList().map(Iva)};if(d=r(d,lm,2))c.recommendedCanonicalIssue=hm(d);b={issueDeduplicationBatch:c}}c=a.getName();d=a.getSource();var e=a.getResource();var f=a.getType();
f=Jva[f];var h=a.getRecommendation(),k=a.getScore();var q=a.getConfidence();q=Kva[q];var u=te(a.getCreateTime());a.getRationale()?(a=a.getRationale(),a={text:a.getText(),formattingMode:wua(a.getFormattingMode()),formattedText:Me(a,Nl,3)?Gl(r(a,Nl,3)):void 0,createTime:te(a.getCreateTime())}):a=void 0;return{name:c,source:d,resource:e,type:f,recommendation:h,score:k,confidence:q,createTime:u,content:b,rationale:a}},Qva=function(a){var b=(new nm).setName(a.name).setSource(a.source).setResource(a.resource).setType(Mva[a.type]).setRecommendation(a.recommendation).setScore(a.score).setConfidence(Nva[a.confidence]).setCreateTime(ve(a.createTime));
if(a.rationale){var c=b.setRationale,d=a.rationale,e=(new Ova).setText(d.text).setFormattingMode(Pl(d.formattingMode)).setCreateTime(ve(d.createTime));d.formattedText&&(d=Cua(d.formattedText),t(e,Nl,3,d));c.call(b,e)}var f;((f=a.content)==null?0:f.issueModification)&&b.setIssueModification(Pva(a.content.issueModification));return b},Pva=function(a){var b=new Rva;if(a.addState!==void 0){b.setAdd(pva(a.addState));var c=b.getMutableAddMask(),d=a.addMask.map(lta).filter(fe);Wd(c,1,d)}a.removeState!==
void 0&&(b.setRemove(pva(a.removeState)),c=b.getMutableRemoveMask(),d=a.removeMask.map(lta).filter(fe),Wd(c,1,d));if(a.comment!==void 0){c=b.setComment;d=a.comment;a=(new om).setIssueId(d.issueId).setCommentNumber(d.commentNumber).setVersion(d.version).setFormattingMode(Pl(d.formattingMode)).setComment(d.unlinkifiedComment).setModifiedTime(xe(d.lastModified));a=Dl(a,13,d.redacted).setEtag(d.etag);if(d.commentContentVerdict){var e=a.setContentVerdict;var f=d.commentContentVerdict;if(f!=null&&f.piiVerdict){var h=
new pm;f=(new jl).setSeverity(Eta(f.piiVerdict.severity));h=t(h,jl,1,f)}else h=void 0;e.call(a,h)}d.formattedComment&&a.setFormattedComment(Cua(d.formattedComment));d.lastEditorUser&&(e=Yd(d.lastEditorUser),t(a,Ud,3,e));d.entityStatus&&a.setEntityStatus(Lta(d.entityStatus));d.piiRetention&&a.setRestrictedRetention(Uta(d.piiRetention));d.piiRetentionState&&a.setRestrictedRetentionState(Ota(d.piiRetentionState));if(d.commentReactions){e=d.commentReactions;d=new Hl;e=l(e.entries());for(h=e.next();!h.done;h=
e.next()){f=l(h.value);h=f.next().value;var k=f.next().value;f=h;h=k;k=new Ql;var q=k.setType;a:switch(f){case "REACTION_TYPE_UNSPECIFIED":f=0;break a;case "UPVOTE":f=1;break a;default:throw Error("Ab`"+f);}f=q.call(k,f);f=Dl(f,1,h.hasReacted).setCount(h.count);h=h.recentResponders.map(Yd);h=qm(f,3,Ud,h);rm(d,2,Ql,h)}t(a,Hl,17,d)}c.call(b,a)}return b},Vva=function(a){var b=(new Sva).setParent(a.parent);a=a.userEngagement;var c=(new sm).setType(Tva[a.type]);a.rejectionReason!==void 0&&Xd(c,3,Uva[a.rejectionReason]);
a.issueModification!==void 0&&c.setIssueModification(Pva(a.issueModification));return t(b,sm,2,c)},Wva=function(a){return{recommendations:a.getRecommendationsList().map(Lva),nextPageToken:a.getNextPageToken(),totalSize:pe(a.getTotalSize())}},Xva=function(a){return{recommendations:a.getRecommendationsList().map(Lva)}},Zva=function(a){var b=(new Yva).setRecommendationsList(a.recommendations.map(Qva));a.parent&&b.setParent(a.parent);a.resource&&b.setResource(a.resource);a.type&&b.setType(Mva[a.type]);
return b},Iva=function(a){return{issue:hm(a.getIssue()),recommendation:a.getRecommendation()}},tm=function(a){return Array.isArray(a)?a:[a]},um=function(a){return a!=null&&""+a!=="false"},vm=function(a){return a==null?"":typeof a==="string"?a:a+"px"},wm=function(a){return a instanceof Ph?a.nativeElement:a},xm=function(a,b){return isNaN(parseFloat(a))||isNaN(Number(a))?arguments.length===2?b===void 0?0:b:0:Number(a)},$va=function(a){return a.buttons===0||a.detail===0},awa=function(a){a=a.touches&&
a.touches[0]||a.changedTouches&&a.changedTouches[0];return!!a&&a.identifier===-1&&(a.radiusX==null||a.radiusX===1)&&(a.radiusY==null||a.radiusY===1)},ym=function(a){var b=rd.apply(1,arguments);return b.length?b.some(function(c){return a[c]}):a.altKey||a.shiftKey||a.ctrlKey||a.metaKey},dwa=function(){if(bwa)return bwa;if(typeof document!=="object"||!document)return bwa=new Set(cwa);var a=document.createElement("input");return bwa=new Set(cwa.filter(function(b){a.setAttribute("type",b);return a.type===
b}))},fwa=function(){if(ewa==null&&typeof window!=="undefined")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return ewa=!0}}))}finally{ewa=ewa||!1}return ewa},zm=function(a){return fwa()?a:!!a.capture},hwa=function(){if(gwa==null){if(typeof document!=="object"||!document||typeof Element!=="function"||!Element)return gwa=!1;var a;gwa=((a=document.documentElement)==null?0:a.style)&&"scrollBehavior"in document.documentElement.style?!0:(a=Element.prototype.scrollTo)?
!/\{\s*\[native code\]\s*\}/.test(a.toString()):!1}return gwa},jwa=function(){if(typeof document!=="object"||!document)return 0;if(iwa==null){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);iwa=0;a.scrollLeft===0&&(a.scrollLeft=1,iwa=a.scrollLeft===0?1:2);a.remove()}return iwa},
lwa=function(a){if(kwa==null){var b=typeof document!=="undefined"?document.head:null;kwa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return kwa&&(a=a.getRootNode?a.getRootNode():null,typeof ShadowRoot!=="undefined"&&ShadowRoot&&a instanceof ShadowRoot)?a:null},Am=function(){for(var a=typeof document!=="undefined"&&document?document.activeElement:null;a&&a.shadowRoot;){var b=a.shadowRoot.activeElement;if(b===a)break;else a=b}return a},Bm=function(a){return a.composedPath?a.composedPath()[0]:a.target},
mwa=function(){return typeof __karma__!=="undefined"&&!!__karma__||typeof jasmine!=="undefined"&&!!jasmine||typeof jest!=="undefined"&&!!jest||typeof Mocha!=="undefined"&&!!Mocha},nwa=function(a){if(a&&!a.createEmbeddedView)throw new Ug(2020,!1);},owa=function(a,b,c){a=Vj(a);b=Cm([a[1],a[2]],b);return Cm(b,c)},pwa=function(a,b,c){a=Vj(a);b=Cm([a[3],a[4]],b);return Cm(b,c)},qwa=function(a,b,c){a=Vj(a);b=Cm([a[5],a[6]],b);return Cm(b,c)},rwa=function(a,b){a=Vj(a)[7];return Cm(a,b)},swa=function(a,b){a=
Vj(a);return Cm(a[10],b)},twa=function(a,b){a=Vj(a);return Cm(a[11],b)},uwa=function(a,b){a=Vj(a)[12];return Cm(a,b)},Dm=function(a,b){a=Vj(a);var c=a[13][b];if(typeof c==="undefined"){if(b===12)return a[13][0];if(b===13)return a[13][1]}return c},wwa=function(a){a=Vj(a);if(!a[21])throw new Ug(2303,!1);return(a[21][2]||[]).map(function(b){return typeof b==="string"?vwa(b):[vwa(b[0]),vwa(b[1])]})},xwa=function(a,b,c){a=Vj(a);if(!a[21])throw new Ug(2303,!1);b=Cm([a[21][0],a[21][1]],b)||[];return Cm(b,
c)||[]},Cm=function(a,b){for(;b>-1;b--)if(typeof a[b]!=="undefined")return a[b];throw new Ug(2304,!1);},vwa=function(a){var b=l(a.split(":"));a=b.next().value;b=b.next().value;return{hours:+a,minutes:+b}},Em=function(){return new Ug(2100,!1)},Gwa=function(a,b,c,d){var e=ywa(a);b=Fm(c,b)||b;a=[];for(var f;b;)if(f=zwa.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=Awa(d,h),e=Bwa(e,d));var k="";a.forEach(function(q){a:if(Cwa[q])var u=Cwa[q];
else{switch(q){case "G":case "GG":case "GGG":u=Gm(3,1);break;case "GGGG":u=Gm(3,2);break;case "GGGGG":u=Gm(3,0);break;case "y":u=Hm(0,1,0,!1,!0);break;case "yy":u=Hm(0,2,0,!0,!0);break;case "yyy":u=Hm(0,3,0,!1,!0);break;case "yyyy":u=Hm(0,4,0,!1,!0);break;case "Y":u=Dwa(1);break;case "YY":u=Dwa(2,!0);break;case "YYY":u=Dwa(3);break;case "YYYY":u=Dwa(4);break;case "M":case "L":u=Hm(1,1,1);break;case "MM":case "LL":u=Hm(1,2,1);break;case "MMM":u=Gm(2,1);break;case "MMMM":u=Gm(2,2);break;case "MMMMM":u=
Gm(2,0);break;case "LLL":u=Gm(2,1,1);break;case "LLLL":u=Gm(2,2,1);break;case "LLLLL":u=Gm(2,0,1);break;case "w":u=Ewa(1);break;case "ww":u=Ewa(2);break;case "W":u=Ewa(1,!0);break;case "d":u=Hm(2,1);break;case "dd":u=Hm(2,2);break;case "c":case "cc":u=Hm(7,1);break;case "ccc":u=Gm(1,1,1);break;case "cccc":u=Gm(1,2,1);break;case "ccccc":u=Gm(1,0,1);break;case "cccccc":u=Gm(1,3,1);break;case "E":case "EE":case "EEE":u=Gm(1,1);break;case "EEEE":u=Gm(1,2);break;case "EEEEE":u=Gm(1,0);break;case "EEEEEE":u=
Gm(1,3);break;case "a":case "aa":case "aaa":u=Gm(0,1);break;case "aaaa":u=Gm(0,2);break;case "aaaaa":u=Gm(0,0);break;case "b":case "bb":case "bbb":u=Gm(0,1,1,!0);break;case "bbbb":u=Gm(0,2,1,!0);break;case "bbbbb":u=Gm(0,0,1,!0);break;case "B":case "BB":case "BBB":u=Gm(0,1,0,!0);break;case "BBBB":u=Gm(0,2,0,!0);break;case "BBBBB":u=Gm(0,0,0,!0);break;case "h":u=Hm(3,1,-12);break;case "hh":u=Hm(3,2,-12);break;case "H":u=Hm(3,1);break;case "HH":u=Hm(3,2);break;case "m":u=Hm(4,1);break;case "mm":u=Hm(4,
2);break;case "s":u=Hm(5,1);break;case "ss":u=Hm(5,2);break;case "S":u=Hm(6,1);break;case "SS":u=Hm(6,2);break;case "SSS":u=Hm(6,3);break;case "Z":case "ZZ":case "ZZZ":u=Fwa(0);break;case "ZZZZZ":u=Fwa(3);break;case "O":case "OO":case "OOO":case "z":case "zz":case "zzz":u=Fwa(1);break;case "OOOO":case "ZZZZ":case "zzzz":u=Fwa(2);break;default:u=null;break a}Cwa[q]=u}k+=u?u(e,c,h):q==="''"?"'":q.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return k},Hwa=function(a,b,c){var d=new Date(0);d.setFullYear(a,
b,c);d.setHours(0,0,0);return d},Fm=function(a,b){var c=Vj(a)[0];Iwa[c]!=null||(Iwa[c]={});if(Iwa[c][b])return Iwa[c][b];var d="";switch(b){case "shortDate":d=swa(a,0);break;case "mediumDate":d=swa(a,1);break;case "longDate":d=swa(a,2);break;case "fullDate":d=swa(a,3);break;case "shortTime":d=twa(a,0);break;case "mediumTime":d=twa(a,1);break;case "longTime":d=twa(a,2);break;case "fullTime":d=twa(a,3);break;case "short":d=Fm(a,"shortTime");var e=Fm(a,"shortDate");d=Jwa(uwa(a,0),[d,e]);break;case "medium":d=
Fm(a,"mediumTime");e=Fm(a,"mediumDate");d=Jwa(uwa(a,1),[d,e]);break;case "long":d=Fm(a,"longTime");e=Fm(a,"longDate");d=Jwa(uwa(a,2),[d,e]);break;case "full":d=Fm(a,"fullTime"),e=Fm(a,"fullDate"),d=Jwa(uwa(a,3),[d,e])}d&&(Iwa[c][b]=d);return d},Jwa=function(a,b){b&&(a=a.replace(/\{([^}]+)}/g,function(c,d){return b!=null&&d in b?b[d]:c}));return a},Im=function(a,b,c,d,e){var f="";if(a<0||e&&a<=0)e?a=-a+1:(a=-a,f=c===void 0?"-":c);for(a=String(a);a.length<b;)a="0"+a;d&&(a=a.slice(a.length-b));return f+
a},Hm=function(a,b,c,d,e){c=c===void 0?0:c;d=d===void 0?!1:d;e=e===void 0?!1:e;return function(f,h){f=Kwa(a,f);if(c>0||f>-c)f+=c;if(a===3)f===0&&c===-12&&(f=12);else if(a===6)return Im(f,3).substring(0,b);h=Dm(h,5);return Im(f,b,h,d,e)}},Kwa=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 new Ug(2301,
!1);}},Gm=function(a,b,c,d){c=c===void 0?0:c;d=d===void 0?!1:d;return function(e,f){return Lwa(e,f,a,b,c,d)}},Lwa=function(a,b,c,d,e,f){switch(c){case 2:return qwa(b,e,d)[a.getMonth()];case 1:return pwa(b,e,d)[a.getDay()];case 0:var h=a.getHours(),k=a.getMinutes();return f&&(c=wwa(b),a=xwa(b,e,d),c=c.findIndex(function(q){if(Array.isArray(q)){var u=l(q);q=u.next().value;u=u.next().value;var A=h>=q.hours&&k>=q.minutes,D=h<u.hours||h===u.hours&&k<u.minutes;if(q.hours<u.hours){if(A&&D)return!0}else if(A||
D)return!0}else if(q.hours===h&&q.minutes===k)return!0;return!1}),c!==-1)?a[c]:owa(b,e,d)[h<12?0:1];case 3:return rwa(b,d)[a.getFullYear()<=0?0:1];default:throw new Ug(2302,!1);}},Fwa=function(a){return function(b,c,d){b=-1*d;c=Dm(c,5);var e=b>0?Math.floor(b/60):Math.ceil(b/60);switch(a){case 0:return(b>=0?"+":"")+Im(e,2,c)+Im(Math.abs(b%60),2,c);case 1:return"GMT"+(b>=0?"+":"")+Im(e,1,c);case 2:return"GMT"+(b>=0?"+":"")+Im(e,2,c)+":"+Im(Math.abs(b%60),2,c);case 3:return d===0?"Z":(b>=0?"+":"")+Im(e,
2,c)+":"+Im(Math.abs(b%60),2,c);default:throw new Ug(2310,!1);}}},Mwa=function(a){var b=a.getDay();b=b===0?-3:4-b;return Hwa(a.getFullYear(),a.getMonth(),a.getDate()+b)},Ewa=function(a,b){b=b===void 0?!1:b;return function(c,d){if(b){var e=(new Date(c.getFullYear(),c.getMonth(),1)).getDay()-1;c=1+Math.floor((c.getDate()+e)/7)}else{c=Mwa(c);e=c.getFullYear();var f=Hwa(e,0,1).getDay();e=Hwa(e,0,1+(f<=4?4:11)-f);c=1+Math.round((c.getTime()-e.getTime())/6048E5)}return Im(c,a,Dm(d,5))}},Dwa=function(a,
b){b=b===void 0?!1:b;return function(c,d){c=Mwa(c).getFullYear();return Im(c,a,Dm(d,5),b)}},Awa=function(a,b){a=a.replace(/:/g,"");a=Date.parse("Jan 01, 1970 00:00:00 "+a)/6E4;return isNaN(a)?b:a},Bwa=function(a,b){var c=a.getTimezoneOffset();b=Awa(b,c);a=new Date(a.getTime());a.setMinutes(a.getMinutes()+-1*(b-c));return a},ywa=function(a){if(a instanceof Date&&!isNaN(a.valueOf()))return a;if(typeof a==="number"&&!isNaN(a))return new Date(a);if(typeof a==="string"){a=a.trim();if(/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(a)){var b=
l(a.split("-").map(function(d){return+d}));a=b.next().value;var c=b.next().value;c=c===void 0?1:c;b=b.next().value;return Hwa(a,c-1,b===void 0?1:b)}b=parseFloat(a);if(!isNaN(a-b))return new Date(b);if(b=a.match(Nwa))return Owa(b)}a=new Date(a);if(!(a instanceof Date)||isNaN(a.valueOf()))throw new Ug(2311,!1);return a},Owa=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(parseFloat("0."+(a[7]||0))*1E3));return b},Pwa=function(a,b){a=a.key;b=b.key;if(a===b)return 0;if(a==null)return 1;if(b==null)return-1;if(typeof a=="string"&&typeof b=="string")return a<b?-1:1;if(typeof a=="number"&&typeof b=="number")return a-b;if(typeof a=="boolean"&&typeof b=="boolean")return a<b?-1:1;a=String(a);b=String(b);return a==b?0:a<b?-1:1},Vwa=function(a,b,c,d){var e=e===void 0?!1:e;var f=
"",h=!1;if(isFinite(a)){h=Qwa(a);e&&(h=Rwa(h));f=b.minInt;e=b.minFrac;var k=b.maxFrac;if(d){var q=d.match(Swa);if(q===null)throw new Ug(2306,!1);d=q[1];var u=q[3];q=q[5];d!=null&&(f=Twa(d));u!=null&&(e=Twa(u));q!=null?k=Twa(q):u!=null&&e>k&&(k=e)}Uwa(h,e,k);e=h.digits;u=h.integerLen;k=h.exponent;d=[];for(h=e.every(function(A){return!A});u<f;u++)e.unshift(0);for(;u<0;u++)e.unshift(0);u>0?d=e.splice(u,e.length):(d=e,e=[0]);f=[];for(e.length>=b.lgSize&&f.unshift(e.splice(-b.lgSize,e.length).join(""));e.length>
b.gSize;)f.unshift(e.splice(-b.gSize,e.length).join(""));e.length&&f.unshift(e.join(""));f=f.join(Dm(c,1));d.length&&(f+=Dm(c,0)+d.join(""));k&&(f+=Dm(c,6)+"+"+k)}else f=Dm(c,9);return f=a<0&&!h?b.negPre+f+b.negSuf:b.posPre+f+b.posSuf},Rwa=function(a){if(a.digits[0]===0)return a;var b=a.digits.length-a.integerLen;a.exponent?a.exponent+=2:(b===0?a.digits.push(0,0):b===1&&a.digits.push(0),a.integerLen+=2);return a},Qwa=function(a){a=Math.abs(a)+"";var b=0,c,d,e,f;(c=a.indexOf("."))>-1&&(a=a.replace(".",
""));(d=a.search(/e/i))>0?(c<0&&(c=d),c+=+a.slice(d+1),a=a.substring(0,d)):c<0&&(c=a.length);for(d=0;a.charAt(d)==="0";d++);if(d===(f=a.length)){var h=[0];c=1}else{for(f--;a.charAt(f)==="0";)f--;c-=d;h=[];for(e=0;d<=f;d++,e++)h[e]=Number(a.charAt(d))}c>22&&(h=h.splice(0,21),b=c-1,c=1);return{digits:h,exponent:b,integerLen:c}},Uwa=function(a,b,c){if(b>c)throw new Ug(2307,!1);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(f>0){d.splice(Math.max(a.integerLen,
f));for(var k=f;k<d.length;k++)d[k]=0}else for(e=Math.max(0,e),a.integerLen=1,d.length=Math.max(1,f=c+1),d[0]=0,k=1;k<f;k++)d[k]=0;if(h>=5)if(f-1<0){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=c!==0,u=b+a.integerLen;if(b=d.reduceRight(function(A,D,H,O){D+=A;O[H]=D<10?D:D-10;q&&(O[H]===0&&H>=u?O.pop():q=!1);return D>=10?1:0},0))d.unshift(b),a.integerLen++},Twa=function(a){a=parseInt(a);if(isNaN(a))throw new Ug(2305,
!1);return a},Wwa=function(a,b){return a?b?a.endsWith("/")?b.startsWith("/")?a+b.slice(1):a+b:b.startsWith("/")?a+b:a+"/"+b:a:b},Xwa=function(a){var b=a.search(/#|\?|$/);return a[b-1]==="/"?a.slice(0,b-1)+a.slice(b):a},Jm=function(a){return a&&a[0]!=="?"?"?"+a:a},Ywa=function(a){return RegExp("^(https?:)?//").test(a)?(a=l(a.split(/\/\/[^\/]+/)),a.next(),a.next().value):a},Zwa=function(a){if(!a.hasAttribute("tabindex")||a.tabIndex===void 0)return!1;a=a.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,
10)))},$wa=function(a){if(!Zwa(a))return null;a=parseInt(a.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a},axa=function(a){return{matches:a==="all"||a==="",media:a,addListener:function(){},removeListener:function(){}}},bxa=function(a){return a.map(function(b){return b.split(",")}).reduce(function(b,c){return b.concat(c)}).map(function(b){return b.trim()})},cxa=function(a){if(a.type==="characterData"&&a.target instanceof Comment)return!0;if(a.type==="childList"){for(var b=0;b<a.addedNodes.length;b++)if(!(a.addedNodes[b]instanceof
Comment))return!1;for(b=0;b<a.removedNodes.length;b++)if(!(a.removedNodes[b]instanceof Comment))return!1;return!0}return!1},exa=function(a,b,c){var d=dxa(a,b);c=c.trim();d.some(function(e){return e.trim()===c})||(d.push(c),a.setAttribute(b,d.join(" ")))},Km=function(a,b,c){var d=dxa(a,b);c=c.trim();d=d.filter(function(e){return e!==c});d.length?a.setAttribute(b,d.join(" ")):a.removeAttribute(b)},dxa=function(a,b){var c,d;return(d=(c=a.getAttribute(b))==null?void 0:c.match(/\S+/g))!=null?d:[]},fxa=
function(a,b){return typeof a==="string"?(b||"")+"/"+a:a},hxa=function(a,b){a.id||(a.id="cdk-describedby-message-"+b+"-"+gxa++)},ixa=function(a){return cna(a)?a:li(a)},jxa=function(a,b){for(var c=typeof ShadowRoot!=="undefined"&&ShadowRoot;b;){if(b===a)return!0;b=c&&b instanceof ShadowRoot?b.host:b.parentNode}return!1},kxa=function(a){return a&&typeof a.connect==="function"&&!(a instanceof mj)},mxa=function(a){return new lxa(a.get(Lm),a.get(Mm))},nxa=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})},oxa=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})},Om=function(a,b){return new pxa(a.get(Nm),a.get(Lm),a.get(Kk),b)},Sm=function(a,b){return new Pm(b,a.get(Lm),a.get(Mm),a.get(Qm),a.get(Rm))},Tm=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},rxa=function(a){if(typeof a!=="number"&&a!=null){var b=l(a.split(qxa));a=b.next().value;
return(b=b.next().value)&&b!=="px"?null:parseFloat(a)}return a||null},sxa=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)}},fn=function(a,b){a.get(Um).load(Vm);var c=a.get(Rm),d=a.get(Mm),e=a.get(Wm),f=a.get(Pk),h=a.get(Xm),k=d.createElement("div"),q=d.createElement("div");q.id=e.getId("cdk-overlay-");q.classList.add("cdk-overlay-pane");k.appendChild(q);txa(c).appendChild(k);
c=new Ym(q,f,a);e=new Zm(b);f=a.get($m,null,{optional:!0})||a.get(Wi).createRenderer(null,null);e.direction=e.direction||h.value;var u;return new an(c,k,q,e,a.get(Kk),a.get(bn),d,a.get(cn),a.get(dn),(u=b==null?void 0:b.disableAnimations)!=null?u:a.get(en,null,{optional:!0})==="NoopAnimations",a.get(Vi),f)},wxa=function(){var a;if(((a=x(uxa,{optional:!0}))==null?0:a.animationsDisabled)||x(en,{optional:!0})==="NoopAnimations")return"di-disabled";vxa!=null||(vxa=x(gn).matchMedia("(prefers-reduced-motion)").matches);
return vxa?"reduced-motion":"enabled"},hn=function(){return wxa()!=="enabled"},xxa=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)},yxa=function(a){a&1&&N(0,"mat-pseudo-checkbox",1);a&2&&(a=R(),K("disabled",a.disabled)("state",a.selected?"checked":"unchecked"))},zxa=function(a){a&1&&N(0,"mat-pseudo-checkbox",3);a&2&&(a=R(),K("disabled",a.disabled))},Axa=function(a){a&1&&(L(0,"span",4),U(1),M());a&2&&(a=
R(),E(),V("(",a.group.label,")"))},Bxa=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},Cxa=function(a,b,c,d){return a<c?a:a+b>c+d?Math.max(0,a-d+b):c},Dxa=function(a){return a==null?void 0:Uk(a)},Exa=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next())b.value.remove()},Fxa=function(a,b){b=b.createElement("style");b.textContent=a;return b},Gxa=function(a,b){b=b.createElement("link");b.setAttribute("rel","stylesheet");
b.setAttribute("href",a);return b},Ixa=function(a,b){return b.map(function(c){return c.replace(Hxa,a)})},Jxa=function(a){var b=new Map;a.length>0&&a.replace(/^\?/,"").split("&").forEach(function(c){var d=c.indexOf("=");d=l(d==-1?[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},Mxa=function(a){return encodeURIComponent(a).replace(Kxa,function(b,c){var d;return(d=Lxa[c])!=
null?d:b})},Nxa=function(a){return""+a},Oxa=function(a){return typeof ArrayBuffer!=="undefined"&&a instanceof ArrayBuffer},Pxa=function(a){return typeof Blob!=="undefined"&&a instanceof Blob},Qxa=function(a){return typeof FormData!=="undefined"&&a instanceof FormData},Rxa=function(a,b){return b(a)},Sxa=function(a,b){return function(c,d){return b.intercept(c,{handle:function(e){return a(e,d)}})}},Txa=function(a,b,c){return function(d,e){return nh(c,function(){return b(d,function(f){return a(f,e)})})}},
Uxa=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,credentials:a.credentials,transferCache:a.transferCache,timeout:a.timeout,keepalive:a.keepalive,priority:a.priority,cache:a.cache,mode:a.mode,redirect:a.redirect,integrity:a.integrity,referrer:a.referrer,referrerPolicy:a.referrerPolicy}},Xxa=function(a,b){var c=a.url.toLowerCase();if(!x(Vxa)||a.method===
"GET"||a.method==="HEAD"||c.startsWith("http://")||c.startsWith("https://"))return b(a);c=x(jn).getToken();var d=x(Wxa);c==null||a.headers.has(d)||(a=a.clone({headers:a.headers.set(d,c)}));return b(a)},Zxa=function(a){return function(b,c){var d,e=(d=c==null?void 0:c.injector)!=null?d:x(yj);return new Yxa(e,function(){var f=typeof b==="function"?b():b;if(f!==void 0){typeof f==="string"&&(f={url:f});var h=f.headers instanceof kn?f.headers:new kn(f.headers),k=f.params instanceof ln?f.params:new ln({fromObject:f.params}),
q,u;var A=new mn((q=f.method)!=null?q:"GET",f.url,(u=f.body)!=null?u:null,{headers:h,params:k,reportProgress:f.reportProgress,withCredentials:f.withCredentials,keepalive:f.keepalive,cache:f.cache,priority:f.priority,mode:f.mode,redirect:f.redirect,responseType:a,context:f.context,transferCache:f.transferCache,credentials:f.credentials,referrer:f.referrer,referrerPolicy:f.referrerPolicy,integrity:f.integrity,timeout:f.timeout})}else A=void 0;return A},c==null?void 0:c.defaultValue,c==null?void 0:c.parse,
c==null?void 0:c.equal)}},aya=function(){if($xa===void 0&&($xa=null,typeof window!=="undefined")){var a=window;a.trustedTypes!==void 0&&($xa=a.trustedTypes.createPolicy("angular#components",{createHTML:function(b){return b}}))}return $xa},bya=function(a){var b;return((b=aya())==null?void 0:b.createHTML(a))||a},cya=function(a){if(a&1){var b=y();L(0,"div",1)(1,"button",2);Q("click",function(){z(b);var c=R();return B(c.action())});U(2);M()()}a&2&&(a=R(),E(2),V(" ",a.data.action," "))},dya=function(){},
eya=function(a){a&1&&N(0,"span",1);a&2&&(a=R(),K("innerHtml",a.data.htmlMessage,Mi))},fya=function(a){a&1&&(L(0,"span",2),U(1),M());a&2&&(a=R(),E(),tk(a.data.message))},gya=function(a){if(a&1){var b=y();L(0,"button",6);Q("click",function(){z(b);var c=R();return B(c.snackBarRef.dismissWithAction())});U(1);M()}a&2&&(a=R(),E(),V(" ",a.data.actionLabel," "))},hya=function(a){if(a&1){var b=y();L(0,"button",6);Q("click",function(){z(b);var c=R();return B(c.snackBarRef.dismiss())});U(1);M()}a&2&&(a=R(),
E(),V(" ",a.data.dismissLabel," "))},iya=function(a){if(a&1){var b=y();L(0,"button",7);Q("click",function(){z(b);var c=R();return B(c.snackBarRef.dismiss())});N(1,"mat-icon",8);M()}},jya=function(a){var b;return((b=a.error)==null?void 0:b.message)!==void 0},nn=function(a){return!!a&&La(a)&&(!!a.data&&a.data.message!==void 0||jya(a))},on=function(a){return a.data&&a.data.message!==void 0&&a.data&&a.data.message?a.data.message:jya(a)&&a.error&&a.error.message?a.error.message:""},kya=function(a){if(a)return{status:bm[a.getStatus()],
issueIds:a.getIssueIdsList().map(pe).map(ce).filter(fe)}},lya=function(a){if(a)return{priority:cm[a.getPriority()],issueIds:a.getIssueIdsList().map(pe).map(ce).filter(fe)}},mya=function(){},nya=function(a){return Object.values(a).length>0},oya=function(a,b){a.next(Object.freeze(Object.assign({},a.getValue(),b)))},pya=function(a,b){var c=a.getValue();c=Object.assign({},c);b=(delete c[b],c);a.next(Object.freeze(b))},qya=function(a,b){var c=a.getValue(),d={};c=l(Object.entries(c));for(var e=c.next();!e.done;e=
c.next()){var f=l(e.value);e=f.next().value;f=f.next().value;b.includes(e)||(d[e]=f)}a.next(Object.freeze(d))},rya=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)},sya=function(a,b,c){c=a.get(b)||c;a.has(b)||a.set(b,c);return c},tya=function(a){a=a===void 0?{}:a;return Jea(a)},uya=function(a){var b=new oj,c=a.subscribe(b);a=pi(b);a.finally(function(){c.unsubscribe()});return a},vya=function(a){return a==null?new Promise(function(){}):
Promise.resolve(a)},wya=function(a){switch(a){case "RESTRICTED":return 2;case "RESTRICTED_PLUS":return 3;case "NONE_DETECTED":return 1;case "RESTRICTION_SEVERITY_UNSPECIFIED":return 0;default:return qb(a,"Unexpected pii severity")}},pn=function(a){return a&&a.piiVerdict?a.piiVerdict.severity:"NONE_DETECTED"},xya=function(a){switch(a){case "RESTRICTED":return"Restricted";case "RESTRICTED_PLUS":return"Restricted+";default:return""}},yya=function(a){return Gta(a.getIt())},qn=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,"+")},zya=function(a){return{name:a.getName(),displayName:a.getDisplayName(),description:a.getDescription()}},Dya=function(a){var b={issueId:a.getIssueId_asString(),category:a.getCategory(),author:ae(a.getAuthor()),timestamp:te(a.getTimestamp())},c=a.getContentCase();switch(c){case 3:a=Zk(a,Aya,3,Bya);b.general={content:a.getContent(),
formattedContent:Gl(a.getFormattedContent())};break;case 4:a=Zk(a,Cya,4,Bya);b.similarIssues={issueIds:a.getIssueIdsList_asString()};break;case 5:a=a.getSummary();b.summary={content:a.getContent(),formattedContent:Gl(a.getFormattedContent())};break;default:throw Error("hc`"+c);}return b},Eya=function(a){var b={issueId:a.getIssueId_asString(),attachmentId:a.getAttachmentId_asString(),category:a.getCategory(),content:a.getContent(),formattedContent:Gl(a.getFormattedContent()),author:ae(a.getAuthor()),
timestamp:te(a.getTimestamp()),contentVerdict:Dta(a.getContentVerdict())};Oc(a,9)&&(b.customDisplayName=Oc(a,9));return b},Hya=function(a){var b=(new Fya).setIssueId(a.issueId).setCategory(a.category).setFeedbackType(Gya[a.feedbackType]);a.attachmentId&&b.setAttachmentId(a.attachmentId);return b},Iya=function(a){var b;return{searchId:a.getSavedSearchId_asString(),name:a.getName(),description:a.getDescription(),query:a.getQuery(),sortOrder:a.getDefaultOrderBy().split(",").filter(Boolean).map(sta),
displayColumn:qta(a.getDisplayPreferences()),adminUsers:((b=a.getOwnersList())!=null?b:[]).map(ae)}},Jya=function(a){var b,c,d=(new rn).setSavedSearchId(Number(a.searchId)).setName(a.name).setDescription(a.description).setQuery(a.query).setDefaultOrderBy(uta((b=a.sortOrder)!=null?b:[]));b=d.setDisplayPreferences;var e=(c=a.displayColumn)!=null?c:[];c=new jm;e=e.map(nta);c=Wd(c,1,e);return b.call(d,c).setOwnersList(a.adminUsers.map(Yd))},Lya=function(a){switch(al(a,sn)){case 1:var b=a.getHotlist(),
c=(b==null?0:b.getHotlist())?Eva(b.getHotlist()):void 0,d;b=(d=qe(b==null?void 0:b.getHotlistId()))!=null?d:0;var e;return{hotlistId:b,hotlist:c,name:(e=c==null?void 0:c.name)!=null?e:"Hotlist "+b,resourceType:"HOTLIST"};case 2:return e=a.getSavedSearch(),d=(e==null?0:e.getSavedSearch())?Iya(e.getSavedSearch()):void 0,e=(e==null?0:e.getSavedSearchId())?e.getSavedSearchId_asString():"",{savedSearchId:e,savedSearch:d,name:(c=d==null?void 0:d.name)!=null?c:"Saved search "+e,resourceType:"SAVED_SEARCH"};
case 3:d=a.getBookmarkGroup();e=(d==null?0:d.getBookmarkGroup())?Kya(d.getBookmarkGroup()):void 0;var f;return{bookmarkGroupId:(b=d==null?void 0:d.getBookmarkGroupId_asString())!=null?b:"",bookmarkGroup:e,name:(f=e==null?void 0:e.name)!=null?f:"",resourceType:"BOOKMARK_GROUP"};default:throw Error("ic");}},Nya=function(a){switch(a.resourceType){case "HOTLIST":var b=(new tn).setHotlistId(a.hotlistId);a.hotlist&&b.setHotlist(Dva(a.hotlist));return(new un).setHotlist(b);case "SAVED_SEARCH":return b=new vn,
a.savedSearchId&&b.setSavedSearchId(Number(a.savedSearchId)),a.savedSearch&&b.setSavedSearch(Jya(a.savedSearch)),(new un).setSavedSearch(b);case "BOOKMARK_GROUP":return b=(new wn).setBookmarkGroupId(Number(a.bookmarkGroupId)),a.bookmarkGroup&&b.setBookmarkGroup(Mya(a.bookmarkGroup)),(new un).setBookmarkGroup(b);default:qb(a.resourceType,"Unexpected resourceType in bookmarkItemToItProto")}},Kya=function(a){var b=a.getArchived(),c=a.getBookmarkGroupId_asString(),d=a.getDescription();var e=ie(a,un,5,
Rd());return{archived:b,bookmarkGroupId:c,description:d,item:e.map(Lya),name:a.getName(),adminUsers:a.getOwnersList().map(ae)}},Mya=function(a){var b,c=(new xn).setBookmarkGroupId(Number(a.bookmarkGroupId)).setName(a.name).setDescription(a.description).setArchived(a.archived),d=(b=a.item.map(Nya))!=null?b:[];return Ol(c,5,d).setOwnersList(a.adminUsers.map(Yd))},Oya=function(a){switch(a.resourceType){case "HOTLIST":return(new un).setHotlist((new tn).setHotlistId(a.resourceId));case "SAVED_SEARCH":var b=
new vn;a.resourceId&&b.setSavedSearchId(Number(a.resourceId));return(new un).setSavedSearch(b);case "BOOKMARK_GROUP":return(new un).setBookmarkGroup((new wn).setBookmarkGroupId(Number(a.resourceId)));default:qb(a.resourceType,"Unexpected resourceType in bookmarkItemForUpdateToItProto")}},Pya=function(a){a=Kya(a).item;a=Gha(a,function(k){return k.resourceType});var b,c,d,e,f,h;return{bookmarkGroups:(e=(b=a.get("BOOKMARK_GROUP"))==null?void 0:b.map(function(k){return k.bookmarkGroup}).filter(fe))!=
null?e:[],hotlists:(f=(c=a.get("HOTLIST"))==null?void 0:c.map(function(k){return k.hotlist}).filter(fe))!=null?f:[],savedSearches:(h=(d=a.get("SAVED_SEARCH"))==null?void 0:d.map(function(k){return k.savedSearch}).filter(fe))!=null?h:[]}},Qya=function(a){return Kya(a.getIt())},Rya=function(a){a=ie(a,xn,2,Rd(),Kc);return(a!=null?a:[]).map(Kya)},Sya=function(a){a=Sd(a,1,Rd($d),Kc);return{changelistNumbers:a!=null?a:[]}},Vya=function(a){return{changelists:ie(a,Tya,1,Rd(),Kc).map(Uya),nextPageToken:a.getNextPageToken()}},
Uya=function(a){var b,c;return{author:a.getAuthor(),changelistNumber:a.getChangelistNumber(),pending:a.getPending(),timestamp:te(a.getTimestamp()),issueIds:(b=a.getIssueIdsList_asString())!=null?b:[],fixedIssueIds:(c=ge(a,6))!=null?c:[]}},Wya=function(a){var b=a.getAuthor(),c=a.getDescription(),d=a.getPending(),e=pe(a.getTimestamp());a=Qd(a,5,Rd($d),Kc);return{author:b,description:c,pending:d,timestamp:e,affectedFiles:a!=null?a:[]}},Xya=function(a){if(a)return zta(a.getIt())},Yya=function(a){var b=
Qd(a,1,Rd($d),Kc);a=Qd(a,2,Rd($d),Kc);return{noAccessEmails:b,unknownEmails:a}},Zya=function(a){var b=a.getIt();a=ie(b,el,2,Rd()).map(dl);var c=b.getAppendersList().map(dl),d=ie(b,el,4,Rd()).map(dl),e=b.getReadersList().map(dl),f=ie(b,el,11,Rd()).map(dl),h=ie(b,el,12,Rd()).map(dl),k=ie(b,el,3,Rd()).map(dl),q=ie(b,el,7,Rd()).map(dl),u=ie(b,el,5,Rd()).map(dl),A=ie(b,el,9,Rd()).map(dl);a:switch(Zd(b,10)){case 0:b="IMPLICIT_ACCESS_UNSPECIFIED";break a;case 1:b="ALLOW";break a;case 2:b="DENY";break a;
default:throw Error("sb");}return{admins:a,appenders:c,editors:d,readers:e,restrictedReaders:f,restrictedPlusReaders:h,inheritedAdmins:k,implicitAppenders:q,implicitEditors:u,implicitReaders:A,implicitAccess:b}},aza=function(a,b){b=b===void 0?document.documentElement:b;return vi(wi(function(){return li(b.querySelector(a))}),$ya(b,{childList:!0,subtree:!0}).pipe(Di(function(c){return c.some(function(d){return d.addedNodes.length>0})}),C(function(){return b.querySelector(a)}))).pipe(Di(fe),hj(1),C(function(c){return c}))},
$ya=function(a,b){return new bi(function(c){var d=new MutationObserver(function(e){c.next(e)});d.observe(a,b);return function(){d.disconnect()}})},yn=function(a,b){return function(c){if(c.target instanceof HTMLElement){var d=c.target.closest(a);d&&c.currentTarget.contains(d)&&b(c,d)}}},bza=function(a){a=a.target;for(var b=[];a.parentNode;){var c=void 0,d=a,e=[];for(c in d.dataset)d.dataset[c]==="true"&&e.push(c);c=e;b.unshift(a.tagName+(c.length>0?"["+c.join(",")+"]":""));a=a.parentNode}return b.join(" > ")},
cza=function(a){var b={};a=l(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;d!=null&&(b[c]=String(d))}b=new URLSearchParams(b);return String(b)},zn=function(a){return a.ctrlKey||a.metaKey||a instanceof MouseEvent&&a.button===1},Bn=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 An(b);case "ISSUE_DEFAULTS":return"components/"+b+"/issueDefaults";case "SLO":return"slos/"+b;case "TEAM":return"teams/"+b;case "TEAM_SLO":return"teams/"+b+"/slo";default:throw Error("kc`"+a);}},eza=function(a){var b=bua(a.getFieldId()),c=Zd(a,4);return{fieldId:b,stateOnIssues:dza[c],enabledOnIssues:De(a,5)}},hza=function(a){var b,c,d;return{name:a.getName(),componentId:de(a.getComponentId_asString()),issueTypes:new Set((d=(b=Zk(a,fza,5,gza))==null?void 0:(c=$e(b,1,Rd()))==
null?void 0:c.map(Eua))!=null?d:[]),customFieldConfigs:new Map(ie(a,Cn,3,Rd()).map(function(e){return[pe(e.getFieldId().getCustomFieldId()),e.getState()===2]}))}},mza=function(a){var b=iza((new Dn).setComponentId(a.componentId).setName(a.name),Array.from(a.customFieldConfigs,function(c){var d=l(c);c=d.next().value;d=d.next().value;return(new Cn).setFieldId(dua({customFieldId:c})).setState(d?2:1)}));a=[].concat(p(a.issueTypes));a.length>0?jza(b,kza(new fza,a.map(Fua))):lza(b);return b},pza=function(a){var b=
r(a,En,7),c,d=(c=b==null?void 0:b.getSlo())!=null?c:new Fn,e;c=a.getId_asString();var f=(e=b==null?void 0:b.getVersion())!=null?e:0;e=a.getName();var h=a.getDescription(),k=[].concat(p(a.getPathNamesList())),q=a.getPathIdsList_asString(),u=[],A=u.concat;var D=Qd(a,5,Rd());u=A.call(u,p(D));A=a.getMembersList().map(nza);a=De(a,9);d={inherit:d.getInherit(),sloId:d.getId_asString(),comment:d.getComment(),sourceTeamId:d.getSourceTeamId_asString()};if(b){D=b==null?void 0:b.getEscalationOwner();var H=b==
null?void 0:b.getDefaultEscalationOwner();switch(b==null?void 0:al(b,oza)){case 9:b=ae(Zk(b,Ud,9,oza));break;case 10:b={emailAddress:"",obfuscatedEmailAddress:"",userGaiaStatus:"UNSPECIFIED",aliases:[]};break;default:b=void 0}b={escalationOwner:D?ae(D):void 0,defaultEscalationOwner:H?ae(H):void 0,escalationOwnerOverride:b}}else b=void 0;return{teamId:c,version:f,name:e,description:h,pathNames:k,pathIds:q,collapsedPathNames:u,members:A,deleted:a,slo:d,extra:b}},nza=function(a){var b=a.getUser();return{user:b?
ae(b):{},isLead:a.getIsLead()}},rza=function(a){return(new qza).setIsLead(a.isLead).setUser(Yd(a.user))},sza=function(a){var b=new Fn;b.setInherit(a.inherit).setId(Number(a.sloId)).setComment(a.comment).setSourceTeamId(Number(a.sourceTeamId));return b},tza=function(a){return(new Gn).setInherit(a.inherit).setId(a.id)},uza=function(a){var b=a.getTeamId();b=b==null?null:String(b);return{teamId:b!=null?b:"",score:a.getScore()}},wza=function(a){return(new vza).setTeamId(Number(a.teamId)).setScore(a.score)},
xza=function(a){var b=ie(a,Hn,4,Rd()).map(eza);b=new Map(b.map(function(h){return[h.fieldId.customFieldId,h]}));var c,d,e=(d=(c=ie(a,Cl,5,Rd()))==null?void 0:c.map(kua))!=null?d:[];c=l(e);for(d=c.next();!d.done;d=c.next()){d=d.value;var f=b.get(d.customFieldId);f&&(d.enabledOnIssues=f.enabledOnIssues,d.stateOnIssues=f.stateOnIssues)}d=a.getFieldConfigsV2List().map(hza);c=new Map;d=l(d);for(f=d.next();!f.done;f=d.next())f=f.value,f.componentId&&(c.has(f.componentId)||c.set(f.componentId,[]),c.get(f.componentId).push(f));
return{componentPathId:ge(a,1).map(de).filter(fe),componentPathName:Qd(a,2,Rd($d)),allCustomField:e,fieldConfigsMap:b,fieldConfigsV2Map:c}},yza=function(a){switch(a){case "ALL_PROTECTIONS":return 2;case "NO_PROTECTIONS":return 1;case "SPAM_PROTECTION_UNSPECIFIED":return 0;default:return 0}},Bza=function(a){var b=Me(a,ol,15)?Qta(r(a,ol,15)):void 0,c=Me(a,In,7)?xza(r(a,In,7)):void 0;if(a.hasSlo()){var d=a.getSlo();var e=d.getInherit(),f=d.getSource();d={inherit:e,source:zza[f],id:de(d.getId_asString()),
sourceComponentId:de(Xe(d,6)),sourceTeamId:de(d.getSourceTeamId_asString()),comment:d.getComment()}}else d=void 0;var h;if(Me(a,El,18)){f=a.getEffortSpec();e=f.getInherit();var k=pe(f.getId()),q=f.getName();a:switch(Zd(f,6)){case 2:var u="MAX";break a;case 1:u="SUM";break a;default:u="AGGREGATION_TYPE_UNSPECIFIED"}e={inherit:e,id:k,name:q,aggregationType:u,customFieldId:pe(f.getCustomFieldId())};if(Yk(f,rua,4,Jn)){if(h=Zk(f,rua,4,Jn))e.numericSpec={multiplier:wl(h,1)}}else if(Yk(f,uua,5,Jn)&&(f=Zk(f,
uua,5,Jn),e.enumSpec={options:[]},f&&(f==null?void 0:(h=ie(f,Fl,1,Rd()))==null?void 0:h.length)>0))for(h=l(ie(f,Fl,1,Rd())),f=h.next();!f.done;f=h.next())f=f.value,q=k=void 0,(k=e.enumSpec)==null||(q=k.options)==null||q.push({label:f.getLabel(),value:f.getValue()});h=e}else h=void 0;a.hasTeam()?(e=a.getTeam(),e={inherit:e.getInherit(),id:e.getId_asString()}):e=void 0;f=zta(a.getAccessLimit());k=Zd(a,21);k=k===2?"ALL_PROTECTIONS":k===1?"NO_PROTECTIONS":"SPAM_PROTECTION_UNSPECIFIED";q=pe(a.getTrackerId())?
a.getTrackerId_asString():void 0;u=a.getComponentId_asString();var A,D,H=de(Xe(a,3)),O=a.getName(),P=a.getDescription(),S=a.getIsArchived(),aa="buganizer-system+"+a.getComponentId()+"@google.com";var ia=Zd(a,10)===1?"ENABLED":"DISABLED";var la=pe(Re(a,6)),ya=be(la);if(ya==null)throw Error("lc`"+la);la=Zd(a,17);return{componentId:u==="0"?"":u,parentComponentId:H,name:O,description:P,archived:S,componentPathInfo:c,accessLimit:f,emailAlias:aa,commentEditState:ia,defaultTemplateId:ya,slo:d,retentionSettings:b,
fieldOrdering:Aza[la],effortSpec:h,team:e,teamSuggestions:(D=(A=a.getTeamSuggestionsList())==null?void 0:A.map(uza))!=null?D:[],trackerId:q==="0"?void 0:q,spamProtection:k}},Cza=function(a){return{author:ae(a.getAuthor()),timestamp:te(a.getTimestamp()),add:Bza(a.getAdd()),remove:Bza(a.getRemove()),addMask:hta(a.getAddMask()),removeMask:hta(a.getRemoveMask())}},Eza=function(a){a=a.getIt();var b;return{updates:((b=ie(a,Dza,1,Rd()))!=null?b:[]).map(Cza)}},Kn=function(a){return Bza(a.getIt())},Fza=function(a){var b=
new Ln;b=ll(b,3,a.parentComponentId).setName(a.name).setDescription(a.description);a.commentEditState&&b.setCommentEditState(a.commentEditState==="ENABLED"?1:2);a.retentionSettings&&(a=Sta(a.retentionSettings),t(b,ol,15,a));return(new Mn).setIt(b)},Gza=function(a){var b;return((b=a.getComponentsList())!=null?b:[]).map(Kn)},Hza=function(a){return{warningHeader:Oc(a,1,void 0,Kc),warning:Oc(a,2,void 0,Kc),isAllowed:De(a,3,void 0,Kc),isExternalMove:De(a,4,void 0,Kc)}},Jza=function(a){a=a.getIt();var b=
iva(a.getIssueState());a.getComment()&&(b.comment=a.getComment());a.getFormattingMode()&&(b.formattingMode=Iza[a.getFormattingMode()]);return{componentId:de(a.getComponentId_asString()),templateId:pe(a.getTemplateId()),name:a.getName(),description:a.getDescription(),default:De(a,9),inheritable:De(a,10),snapshot:b}},Lza=function(a){var b=new Nn,c=b.setIt;var d=(new Kza).setFormattingMode(Pl(a.snapshot.formattingMode)).setComment(a.snapshot.comment).setComponentId(a.componentId).setTemplateId(a.templateId).setName(a.name).setDescription(a.description);
d=Dl(d,9,a.default);a=Dl(d,10,a.inheritable).setIssueState(pva(a.snapshot));return c.call(b,a)},Mza=function(a){a=ie(a,Mn,1,Rd(),Kc);return(a!=null?a:[]).map(Kn)},Nza=function(a){var b,c;return((c=(b=a.getIt())==null?void 0:b.getComponentsList())!=null?c:[]).map(Bza)},Oza=function(a){return{componentPath:a.getComponentPath(),retentionSettings:Qta(r(a,ol,3))}},Qza=function(a){return ie(a,Pza,2,Rd(),Kc).map(Oza)},Rza=function(a){return Jza(r(a,Nn,1,Kc))},Sza=function(a){return(ie(a,Nn,1,Rd(),Kc)||[]).map(Jza)},
Tza=function(a,b,c){var d=c.path.split("/");if(d.length>a.length||c.pathMatch==="full"&&(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[0]===":")b[e.substring(1)]=f;else if(e!==f.path)return null}return{consumed:a.slice(0,d.length),posParams:b}},Uza=function(a){return new Promise(function(b,c){a.pipe(lj()).subscribe({next:function(d){return b(d)},error:function(d){return c(d)}})})},On=function(a,b){var c=a?Vza(a):void 0,d=b?Vza(b):void 0;if(!c||
!d||c.length!=d.length)return!1;for(var e=0;e<c.length;e++)if(d=c[e],!Wza(a[d],b[d]))return!1;return!0},Vza=function(a){return[].concat(p(Object.keys(a)),p(Object.getOwnPropertySymbols(a)))},Wza=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},Pn=function(a){return cna(a)?a:Bpa(a)?di(Promise.resolve(a)):li(a)},Xza=function(a){return cna(a)?Uza(a):Promise.resolve(a)},
$za=function(a,b,c){return Yza[c.paths](a.root,b.root,c.matrixParams)&&Zza[c.queryParams](a.queryParams,b.queryParams)&&!(c.fragment==="exact"&&a.fragment!==b.fragment)},aAa=function(a,b){return On(a,b)},cAa=function(a,b,c){if(!Qn(a.segments,b.segments)||!bAa(a.segments,b.segments,c)||a.numberOfChildren!==b.numberOfChildren)return!1;for(var d in b.children)if(!a.children[d]||!cAa(a.children[d],b.children[d],c))return!1;return!0},dAa=function(a,b){return Object.keys(b).length<=Object.keys(a).length&&
Object.keys(b).every(function(c){return Wza(a[c],b[c])})},fAa=function(a,b,c){return eAa(a,b,b.segments,c)},eAa=function(a,b,c,d){if(a.segments.length>c.length)return a=a.segments.slice(0,c.length),Qn(a,c)&&!b.hasChildren()&&bAa(a,c,d)?!0:!1;if(a.segments.length===c.length){if(!Qn(a.segments,c)||!bAa(a.segments,c,d))return!1;for(var e in b.children)if(!a.children[e]||!fAa(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 Qn(a.segments,
e)&&bAa(a.segments,e,d)&&a.children.primary?eAa(a.children.primary,b,c,d):!1},bAa=function(a,b,c){return b.every(function(d,e){return Zza[c](a[e].parameters,d.parameters)})},gAa=function(a,b){return Qn(a,b)&&a.every(function(c,d){return On(c.parameters,b[d].parameters)})},Qn=function(a,b){return a.length!==b.length?!1:a.every(function(c,d){return c.path===b[d].path})},hAa=function(a,b){var c=[];Object.entries(a.children).forEach(function(d){var e=l(d);d=e.next().value;e=e.next().value;d==="primary"&&
(c=c.concat(b(e,d)))});Object.entries(a.children).forEach(function(d){var e=l(d);d=e.next().value;e=e.next().value;d!=="primary"&&(c=c.concat(b(e,d)))});return c},kAa=function(a){return a.segments.map(function(b){return iAa(b.path)+jAa(b.parameters)}).join("/")},lAa=function(a,b){if(!a.hasChildren())return kAa(a);if(b){b=a.children.primary?lAa(a.children.primary,!1):"";var c=[];Object.entries(a.children).forEach(function(d){var e=l(d);d=e.next().value;e=e.next().value;d!=="primary"&&c.push(d+":"+
lAa(e,!1))});return c.length>0?b+"("+c.join("//")+")":b}b=hAa(a,function(d,e){return e==="primary"?[lAa(a.children.primary,!1)]:[e+":"+lAa(d,!1)]});return Object.keys(a.children).length===1&&a.children.primary!=null?kAa(a)+"/"+b[0]:kAa(a)+"/("+b.join("//")+")"},mAa=function(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")},nAa=function(a){return mAa(a).replace(/%3B/gi,";")},iAa=function(a){return mAa(a).replace(/\(/g,"%28").replace(/\)/g,
"%29").replace(/%26/gi,"&")},jAa=function(a){return Object.entries(a).map(function(b){var c=l(b);b=c.next().value;c=c.next().value;return";"+iAa(b)+"="+iAa(c)}).join("")},oAa=function(a){a=Object.entries(a).map(function(b){b=l(b);var c=b.next().value;b=b.next().value;return Array.isArray(b)?b.map(function(d){return nAa(c)+"="+nAa(d)}).join("&"):nAa(c)+"="+nAa(b)}).filter(function(b){return b});return a.length?"?"+a.join("&"):""},qAa=function(a){return(a=a.match(pAa))?a[0]:""},rAa=function(a){var b=
{};return a.segments.length>0?new Rn([],(b.primary=a,b)):a},sAa=function(a){for(var b={},c=l(Object.entries(a.children)),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;e=sAa(e);if(d==="primary"&&e.segments.length===0&&e.hasChildren())for(d=l(Object.entries(e.children)),e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;b[e]=f}else if(e.segments.length>0||e.hasChildren())b[d]=e}a=new Rn(a.segments,b);a.numberOfChildren===1&&a.children.primary&&
(b=a.children.primary,a=new Rn(a.segments.concat(b.segments),b.children));return a},Tn=function(a){return a instanceof Sn},vAa=function(a,b,c){b=b===void 0?null:b;c=c===void 0?null:c;a=tAa(a);return uAa(a,[],b,c)},tAa=function(a){function b(f){for(var h={},k=l(f.children),q=k.next();!q.done;q=k.next()){q=q.value;var u=b(q);h[q.outlet]=u}h=new Rn(f.url,h);f===a&&(c=h);return h}var c,d=b(a.root);d=rAa(d);var e;return(e=c)!=null?e:d},uAa=function(a,b,c,d){for(var e=a;e.parent;)e=e.parent;if(b.length===
0)return wAa(e,e,e,c,d);b=xAa(b);if(b.isAbsolute&&b.commands.length===1&&b.commands[0]=="/")return wAa(e,e,new Rn([],{}),c,d);var f=e;if(b.isAbsolute)a=new yAa(f,!0,0);else if(a)if(a.parent===null)a=new yAa(a,!0,0);else{f=a;a=a.segments.length-1+(zAa(b.commands[0])?0:1);for(var h=b.numberOfDoubleDots;h>a;){h-=a;f=f.parent;if(!f)throw new Ug(4005,!1);a=f.segments.length}a=new yAa(f,!1,a-h)}else a=new yAa(f,!1,NaN);b=a.processChildren?AAa(a.segmentGroup,a.index,b.commands):BAa(a.segmentGroup,a.index,
b.commands);return wAa(e,a.segmentGroup,b,c,d)},zAa=function(a){return typeof a==="object"&&a!=null&&!a.outlets&&!a.segmentPath},CAa=function(a){return typeof a==="object"&&a!=null&&a.outlets},wAa=function(a,b,c,d,e){var f={};d&&Object.entries(d).forEach(function(h){var k=l(h);h=k.next().value;k=k.next().value;f[h]=Array.isArray(k)?k.map(function(q){return""+q}):""+k});a=a===b?c:DAa(a,b,c);a=rAa(sAa(a));return new Sn(a,f,e)},DAa=function(a,b,c){var d={};Object.entries(a.children).forEach(function(e){var f=
l(e);e=f.next().value;f=f.next().value;d[e]=f===b?c:DAa(f,b,c)});return new Rn(a.segments,d)},xAa=function(a){if(typeof a[0]==="string"&&a.length===1&&a[0]==="/")return new EAa(!0,0,a);var b=0,c=!1;a=a.reduce(function(d,e,f){if(typeof e==="object"&&e!=null){if(e.outlets){var h={};Object.entries(e.outlets).forEach(function(k){var q=l(k);k=q.next().value;q=q.next().value;h[k]=typeof q==="string"?q.split("/"):q});return[].concat(p(d),[{outlets:h}])}if(e.segmentPath)return[].concat(p(d),[e.segmentPath])}return typeof e!==
"string"?[].concat(p(d),[e]):f===0?(e.split("/").forEach(function(k,q){if(q!=0||k!==".")q==0&&k===""?c=!0:k===".."?b++:k!=""&&d.push(k)}),d):[].concat(p(d),[e])},[]);return new EAa(c,b,a)},FAa=function(a){if(CAa(a[0]))return a[0].outlets;var b={};return b.primary=a,b},BAa=function(a,b,c){a!=null||(a=new Rn([],{}));if(a.segments.length===0&&a.hasChildren())return AAa(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 k=d.segments[f],
q=c[e];if(CAa(q))break;q=""+q;var u=e<c.length-1?c[e+1]:null;if(f>0&&q===void 0)break;if(q&&u&&typeof u==="object"&&u.outlets===void 0){if(q!=k.path||!On(u,k.parameters)){d=h;break a}e+=2}else{u={};if(q!=k.path||!On(u,k.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 Rn(a.segments.slice(0,d.pathIndex),{}),b.children.primary=new Rn(a.segments.slice(d.pathIndex),a.children),AAa(b,0,e)):d.match&&e.length===
0?new Rn(a.segments,{}):d.match&&!a.hasChildren()?GAa(a,b,c):d.match?AAa(a,0,e):GAa(a,b,c)},AAa=function(a,b,c){if(c.length===0)return new Rn(a.segments,{});var d=FAa(c),e={};if(Object.keys(d).some(function(f){return f!=="primary"})&&a.children.primary&&a.numberOfChildren===1&&a.children.primary.segments.length===0)return c=AAa(a.children.primary,b,c),new Rn(a.segments,c.children);Object.entries(d).forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;typeof h==="string"&&(h=[h]);h!==null&&
(e[f]=BAa(a.children[f],b,h))});Object.entries(a.children).forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;d[f]===void 0&&(e[f]=h)});return new Rn(a.segments,e)},GAa=function(a,b,c){for(var d=a.segments.slice(0,b),e=0;e<c.length;){var f=c[e];if(CAa(f))return a=HAa(f.outlets),new Rn(d,a);if(e===0&&zAa(c[0]))d.push(new Un(a.segments[b].path,IAa(c[0]))),e++;else{f=CAa(f)?f.outlets.primary:""+f;var h=e<c.length-1?c[e+1]:null;f&&h&&zAa(h)?(d.push(new Un(f,IAa(h))),e+=2):(d.push(new Un(f,
{})),e++)}}return new Rn(d,{})},HAa=function(a){var b={};Object.entries(a).forEach(function(c){var d=l(c);c=d.next().value;d=d.next().value;typeof d==="string"&&(d=[d]);d!==null&&(b[c]=GAa(new Rn([],{}),0,d))});return b},IAa=function(a){var b={};Object.entries(a).forEach(function(c){var d=l(c);c=d.next().value;d=d.next().value;return b[c]=""+d});return b},JAa=function(a,b){a.providers&&!a._injector&&(a._injector=tpa(a.providers,b,"Route: "+a.path));var c;return(c=a._injector)!=null?c:b},Vn=function(a){return a.outlet||
"primary"},KAa=function(a,b){var c=a.filter(function(d){return Vn(d)===b});c.push.apply(c,p(a.filter(function(d){return Vn(d)!==b})));return c},Wn=function(a){if(!a)return null;var b;if((b=a.routeConfig)==null?0:b._injector)return a.routeConfig._injector;for(a=a.parent;a;a=a.parent){b=a.routeConfig;var c=void 0;if((c=b)==null?0:c._loadedInjector)return b._loadedInjector;c=void 0;if((c=b)==null?0:c._injector)return b._injector}return null},LAa=function(a,b){if(a===b.value)return b;b=l(b.children);
for(var c=b.next();!c.done;c=b.next())if(c=LAa(a,c.value))return c;return null},MAa=function(a,b){if(a===b.value)return[b];for(var c=l(b.children),d=c.next();!d.done;d=c.next())if(d=MAa(a,d.value),d.length)return d.unshift(b),d;return[]},NAa=function(a){var b={};a&&a.children.forEach(function(c){return b[c.value.outlet]=c});return b},Xn=function(a,b,c){var d=a.routeConfig,e;if(b===null||(c===void 0?"emptyOnly":c)!=="always"&&(d==null?void 0:d.path)!==""&&(b.component||((e=b.routeConfig)==null?0:e.loadComponent))){var f;
a={params:Object.assign({},a.params),data:Object.assign({},a.data),resolve:Object.assign({},a.data,(f=a._resolvedData)!=null?f:{})}}else a={params:Object.assign({},b.params,a.params),data:Object.assign({},b.data,a.data),resolve:Object.assign({},a.data,b.data,d==null?void 0:d.data,a._resolvedData)};!d||typeof d.title!=="string"&&d.title!==null||(a.resolve[OAa]=d.title);return a},PAa=function(a,b){b.value._routerState=a;b.children.forEach(function(c){return PAa(a,c)})},QAa=function(a){var b=a.children.length>
0?" { "+a.children.map(QAa).join(", ")+" } ":"";return""+a.value+b},RAa=function(a){if(a.snapshot){var b=a.snapshot,c=a._futureSnapshot;a.snapshot=c;On(b.queryParams,c.queryParams)||a.queryParamsSubject.next(c.queryParams);b.fragment!==c.fragment&&a.fragmentSubject.next(c.fragment);On(b.params,c.params)||a.paramsSubject.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(!On(d[f],e[f])){d=!1;break a}d=!0}}d||a.urlSubject.next(c.url);On(b.data,c.data)||
a.dataSubject.next(c.data)}else a.snapshot=a._futureSnapshot,a.dataSubject.next(a._futureSnapshot.data)},SAa=function(a,b){var c=On(a.params,b.params)&&gAa(a.url,b.url),d=!a.parent!==!b.parent;return c&&!d&&(!a.parent||SAa(a.parent,b.parent))},TAa=function(a){var b=a.children&&a.children.map(TAa);a=b?Object.assign({},a,{children:b}):Object.assign({},a);a.component||a.loadComponent||!b&&!a.loadChildren||!a.outlet||a.outlet==="primary"||(a.component=UAa);return a},XAa=function(a,b,c){a=VAa(a,b._root,
c?c._root:void 0);return new WAa(a,b)},VAa=function(a,b,c){if(c&&a.shouldReuseRoute(b.value,c.value.snapshot)){var d=c.value;d._futureSnapshot=b.value;b=YAa(a,b,c);return new Yn(d,b)}d=ZAa(b.value);b=b.children.map(function(e){return VAa(a,e)});return new Yn(d,b)},YAa=function(a,b,c){return b.children.map(function(d){for(var e=l(c.children),f=e.next();!f.done;f=e.next())if(f=f.value,a.shouldReuseRoute(d.value,f.value.snapshot))return VAa(a,d,f);return VAa(a,d)})},ZAa=function(a){return new Zn(new $n(a.url),
new $n(a.params),new $n(a.queryParams),new $n(a.fragment),new $n(a.data),a.outlet,a.component,a)},aBa=function(a){var b=Tn(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a;a=b.redirectTo;b=b.navigationBehaviorOptions;var c=$Aa(0);c.url=a;c.navigationBehaviorOptions=b;return c},$Aa=function(a){var b=Error("nc`");b.ngNavigationCancelingError=!0;b.cancellationCode=a;return b},bBa=function(a){return!!a&&a.ngNavigationCancelingError},co=function(){return sj(function(a){return si(a.map(function(b){return b.pipe(hj(1),
rj(cBa))})).pipe(C(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c!==!0){if(c===cBa)return cBa;if(c===!1||Tn(c))return c}return!0}),Di(function(b){return b!==cBa}),hj(1))})},dBa=function(a){return a.aborted?li(void 0).pipe(hj(1)):new bi(function(b){var c=function(){b.next();b.complete()};a.addEventListener("abort",c);return function(){return a.removeEventListener("abort",c)}})},eo=function(a,b){var c=Symbol(),d=b.get(a,c);return d===c?typeof a!=="function"||Fja(a)!==null?b.get(a):
a:d},gBa=function(a,b,c,d,e){e=e===void 0?{canDeactivateChecks:[],canActivateChecks:[]}:e;var f=NAa(b);a.children.forEach(function(h){var k=f[h.value.outlet],q=d.concat([h.value]),u=e;u=u===void 0?{canDeactivateChecks:[],canActivateChecks:[]}:u;var A=h.value,D=k?k.value:null,H=c?c.getContext(h.value.outlet):null;if(D&&A.routeConfig===D.routeConfig){var O=eBa(D,A,A.routeConfig.runGuardsAndResolvers);O?u.canActivateChecks.push(new fBa(q)):(A.data=D.data,A._resolvedData=D._resolvedData);A.component?
gBa(h,k,H?H.children:null,q,u):gBa(h,k,c,q,u);O&&H&&H.outlet&&H.outlet.isActivated&&u.canDeactivateChecks.push(new hBa(H.outlet.component,D))}else D&&iBa(k,H,u),u.canActivateChecks.push(new fBa(q)),A.component?gBa(h,null,H?H.children:null,q,u):gBa(h,null,c,q,u);delete f[h.value.outlet]});Object.entries(f).forEach(function(h){var k=l(h);h=k.next().value;k=k.next().value;return iBa(k,c.getContext(h),e)});return e},eBa=function(a,b,c){if(typeof c==="function")return c(a,b);switch(c){case "pathParamsChange":return!Qn(a.url,
b.url);case "pathParamsOrQueryParamsChange":return!Qn(a.url,b.url)||!On(a.queryParams,b.queryParams);case "always":return!0;case "paramsOrQueryParamsChange":return!SAa(a,b)||!On(a.queryParams,b.queryParams);default:return!SAa(a,b)}},iBa=function(a,b,c){var d=NAa(a),e=a.value;Object.entries(d).forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;e.component?b?iBa(h,b.children.getContext(f),c):iBa(h,null,c):iBa(h,b,c)});e.component?b&&b.outlet&&b.outlet.isActivated?c.canDeactivateChecks.push(new hBa(b.outlet.component,
e)):c.canDeactivateChecks.push(new hBa(null,e)):c.canDeactivateChecks.push(new hBa(null,e))},jBa=function(a){return typeof a==="function"},kBa=function(a){return a instanceof oi||(a==null?void 0:a.name)==="EmptyError"},nBa=function(a,b){return ti(function(c){var d=c.targetSnapshot,e=c.currentSnapshot,f=c.guards,h=f.canActivateChecks;f=f.canDeactivateChecks;return f.length===0&&h.length===0?li(Object.assign({},c,{guardsResult:!0})):lBa(f,d,e,a).pipe(ti(function(k){return k&&typeof k==="boolean"?mBa(d,
h,a,b):li(k)}),C(function(k){return Object.assign({},c,{guardsResult:k})}))})},lBa=function(a,b,c,d){return di(a).pipe(ti(function(e){return oBa(e.component,e.route,c,b,d)}),lj(function(e){return e!==!0},!0))},mBa=function(a,b,c,d){return di(b).pipe(ej(function(e){var f=e.route.parent;f!==null&&d&&d(new pBa(f));f=li(!0);var h=e.route;h!==null&&d&&d(new qBa(h));h=li(!0);return vi(f,h,rBa(a,e.path,c),sBa(a,e.route,c))}),lj(function(e){return e!==!0},!0))},sBa=function(a,b,c){var d=b.routeConfig?b.routeConfig.canActivate:
null;if(!d||d.length===0)return li(!0);d=d.map(function(e){return wi(function(){var f,h=(f=Wn(b))!=null?f:c,k=eo(e,h);f=k&&jBa(k.canActivate)?k.canActivate(b,a):nh(h,function(){return k(b,a)});return Pn(f).pipe(lj())})});return li(d).pipe(co())},rBa=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&&f.length!==0?{node:e,guards:f}:null}).filter(function(e){return e!==null}).map(function(e){return wi(function(){var f=
e.guards.map(function(h){var k,q=(k=Wn(e.node))!=null?k:c,u=eo(h,q);h=u&&jBa(u.canActivateChild)?u.canActivateChild(d,a):nh(q,function(){return u(d,a)});return Pn(h).pipe(lj())});return li(f).pipe(co())})});return li(b).pipe(co())},oBa=function(a,b,c,d,e){var f=b&&b.routeConfig?b.routeConfig.canDeactivate:null;if(!f||f.length===0)return li(!0);f=f.map(function(h){var k,q=(k=Wn(b))!=null?k:e,u=eo(h,q);h=u&&jBa(u.canDeactivate)?u.canDeactivate(a,b,c,d):nh(q,function(){return u(a,b,c,d)});return Pn(h).pipe(lj())});
return li(f).pipe(co())},uBa=function(a,b,c,d){var e=b.canLoad;if(e===void 0||e.length===0)return li(!0);e=e.map(function(f){var h=eo(f,a);f=h&&jBa(h.canLoad)?h.canLoad(b,c):nh(a,function(){return h(b,c)});f=Pn(f);return d?f.pipe(tj(dBa(d))):f});return li(e).pipe(co(),tBa())},tBa=function(){return ai(uj(function(a){if(typeof a!=="boolean")throw aBa(a);}),C(function(a){return a===!0}))},vBa=function(a,b,c,d){var e=b.canMatch;if(!e||e.length===0)return li(!0);e=e.map(function(f){var h=eo(f,a);f=h&&
jBa(h.canMatch)?h.canMatch(b,c):nh(a,function(){return h(b,c)});f=Pn(f);return d?f.pipe(tj(dBa(d))):f});return li(e).pipe(co(),tBa())},wBa=function(a,b,c){if(typeof a==="string")return Promise.resolve(a);var d=b.queryParams,e=b.fragment,f=b.routeConfig,h=b.url,k=b.outlet,q=b.params,u=b.data,A=b.title;return Uza(Pn(nh(c,function(){return a({params:q,data:u,queryParams:d,fragment:e,routeConfig:f,url:h,outlet:k,title:A})})))},zBa=function(a,b,c,d,e){var f=xBa(a,b,c);if(!f.matched)return li(f);d=JAa(b,
d);return vBa(d,b,c,e).pipe(C(function(h){return h===!0?f:Object.assign({},yBa)}))},xBa=function(a,b,c){if(b.path==="**")return{matched:!0,parameters:c.length>0?(c.length>0?c[c.length-1]:null).parameters:{},consumedSegments:c,remainingSegments:[],positionalParamSegments:{}};if(b.path==="")return b.pathMatch==="full"&&(a.hasChildren()||c.length>0)?Object.assign({},yBa):{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};a=(b.matcher||Tza)(c,a,b);if(!a)return Object.assign({},
yBa);var d={},e;Object.entries((e=a.posParams)!=null?e:{}).forEach(function(h){var k=l(h);h=k.next().value;k=k.next().value;d[h]=k.path});e=a.consumed.length>0?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:(f=a.posParams)!=null?f:{}}},DBa=function(a,b,c,d){if(c.length>0&&ABa(a,c,d)){var e=Rn;a=new Rn(c,a.children);c={};c.primary=a;a=l(d);for(d=a.next();!d.done;d=
a.next())if(d=d.value,d.path===""&&Vn(d)!=="primary"){var f=new Rn([],{});c[Vn(d)]=f}c={segmentGroup:new e(b,c),slicedSegments:[]}}else if(c.length===0&&BBa(a,c,d)){b=Rn;e=a.segments;f=a.children;var h={};d=l(d);for(var k=d.next();!k.done;k=d.next())if(k=k.value,CBa(a,c,k)&&!f[Vn(k)]){var q=new Rn([],{});h[Vn(k)]=q}a=Object.assign({},f,h);c={segmentGroup:new b(e,a),slicedSegments:c}}else c={segmentGroup:new Rn(a.segments,a.children),slicedSegments:c};return c},ABa=function(a,b,c){return c.some(function(d){return CBa(a,
b,d)&&Vn(d)!=="primary"})},BBa=function(a,b,c){return c.some(function(d){return CBa(a,b,d)})},CBa=function(a,b,c){return(a.hasChildren()||b.length>0)&&c.pathMatch==="full"?!1:c.path===""},FBa=function(a,b,c,d,e,f,h,k){h=h===void 0?"emptyOnly":h;return v(function(q){return q.return((new EBa(a,b,c,d,e,h,f,k)).recognize())})},GBa=function(a){a.sort(function(b,c){return b.value.outlet==="primary"?-1:c.value.outlet==="primary"?1:b.value.outlet.localeCompare(c.value.outlet)})},HBa=function(a){return(a=
a.value.routeConfig)&&a.path===""},IBa=function(a){var b=[],c=new Set;a=l(a);for(var d=a.next(),e={};!d.done;e={node$jscomp$179:void 0},d=a.next())e.node$jscomp$179=d.value,HBa(e.node$jscomp$179)?(d=b.find(function(f){return function(h){return f.node$jscomp$179.value.routeConfig===h.value.routeConfig}}(e)),d!==void 0?(d.children.push.apply(d.children,p(e.node$jscomp$179.children)),c.add(d)):b.push(e.node$jscomp$179)):b.push(e.node$jscomp$179);a=l(c);for(e=a.next();!e.done;e=a.next())e=e.value,d=IBa(e.children),
b.push(new Yn(e.value,d));return b.filter(function(f){return!c.has(f)})},fo=function(a){return mi(new JBa(a))},KBa=function(a,b,c){if(typeof a==="string")return li(a);var d=b.queryParams,e=b.fragment,f=b.routeConfig,h=b.url,k=b.outlet,q=b.params,u=b.data,A=b.title;return Pn(nh(c,function(){return a({params:q,data:u,queryParams:d,fragment:e,routeConfig:f,url:h,outlet:k,title:A})}))},LBa=function(a){a.sort(function(b,c){return b.value.outlet==="primary"?-1:c.value.outlet==="primary"?1:b.value.outlet.localeCompare(c.value.outlet)})},
MBa=function(a){return(a=a.value.routeConfig)&&a.path===""},NBa=function(a){var b=[],c=new Set;a=l(a);for(var d=a.next(),e={};!d.done;e={node$jscomp$181:void 0},d=a.next())e.node$jscomp$181=d.value,MBa(e.node$jscomp$181)?(d=b.find(function(f){return function(h){return f.node$jscomp$181.value.routeConfig===h.value.routeConfig}}(e)),d!==void 0?(d.children.push.apply(d.children,p(e.node$jscomp$181.children)),c.add(d)):b.push(e.node$jscomp$181)):b.push(e.node$jscomp$181);a=l(c);for(e=a.next();!e.done;e=
a.next())e=e.value,d=NBa(e.children),b.push(new Yn(e.value,d));return b.filter(function(f){return!c.has(f)})},PBa=function(a,b,c,d,e,f,h){var k=a.get(OBa);return ti(function(q){return li(q).pipe(sj(function(u){return k(a,b,c,d,u.extractedUrl,e,f,h)}),C(function(u){return Object.assign({},q,{targetSnapshot:u.state,urlAfterRedirects:u.tree})}))})},SBa=function(a,b){return ti(function(c){var d=c.targetSnapshot,e=c.guards.canActivateChecks;if(!e.length)return li(c);var f=new Set(e.map(function(A){return A.route})),
h=new Set;e=l(f);for(var k=e.next();!k.done;k=e.next())if(k=k.value,!h.has(k)){k=l(QBa(k));for(var q=k.next();!q.done;q=k.next())h.add(q.value)}var u=0;return di(h).pipe(ej(function(A){if(f.has(A))return RBa(A,d,a,b);A.data=Xn(A,A.parent,a).resolve;return li(void 0)}),uj(function(){return u++}),Tpa(),ti(function(){return u===h.size?li(c):Bi}))})},QBa=function(a){var b=a.children.map(function(c){return QBa(c)}).flat();return[a].concat(p(b))},RBa=function(a,b,c,d){var e=a.routeConfig,f=a._resolve;(e==
null?void 0:e.title)!==void 0&&typeof e.title!=="string"&&e.title!==null&&(f[OAa]=e.title);return wi(function(){a.data=Xn(a,a.parent,c).resolve;return TBa(f,a,b,d).pipe(C(function(h){a._resolvedData=h;a.data=Object.assign({},a.data,h);return null}))})},TBa=function(a,b,c,d){var e=Vza(a);if(e.length===0)return li({});var f={};return di(e).pipe(ti(function(h){return UBa(a[h],b,c,d).pipe(lj(),uj(function(k){f[h]=k}))}),Tpa(),C(function(){return f}),cj(function(h){return kBa(h)?Bi:mi(h)}))},UBa=function(a,
b,c,d){var e,f=(e=Wn(b))!=null?e:d,h=eo(a,f);a=h.resolve?h.resolve(b,c):nh(f,function(){return h(b,c)});return Pn(a)},VBa=function(a){return sj(function(b){var c=a(b);return c?di(c).pipe(C(function(){return b})):li(b)})},$Ba=function(a,b,c){var d,e,f,h,k,q;return v(function(u){switch(u.nextAddress){case 1:return w(u,Xza(nh(b,function(){return a.loadChildren()})),2);case 2:return d=u.yieldResult,w(u,Promise.resolve(WBa(d)?d["default"]:d),3);case 3:e=u.yieldResult;if(e instanceof XBa||Array.isArray(e)){f=
e;u.jumpTo(4);break}return w(u,Promise.resolve(new YBa(e)),5);case 5:f=u.yieldResult;case 4:return c&&c(a),Array.isArray(f)?k=f:(h=f.create(b).injector,k=h.get(ZBa,[],{optional:!0,self:!0}).flat()),q=k.map(TAa),u.return({routes:q,injector:h})}})},WBa=function(a){return a&&typeof a==="object"&&"default"in a},cCa=function(a,b,c){var d=a.get(aCa),e=a.get(Mm);if(!e.startViewTransition||d.skipNextTransition)return d.skipNextTransition=!1,new Promise(function(u){return setTimeout(u)});var f,h=new Promise(function(u){f=
u}),k=e.startViewTransition(function(){f();return bCa(a)});k.ready.catch(function(){});var q=d.onViewTransitionCreated;q&&nh(a,function(){return q({transition:k,from:b,to:c})});return h},bCa=function(a){return new Promise(function(b){Ej({read:function(){return setTimeout(b)}},{injector:a})})},dCa=function(a,b){a.events.pipe(Di(function(c){return c instanceof go||c instanceof ho||c instanceof io||c instanceof jo}),C(function(c){return c instanceof go||c instanceof jo?0:c instanceof ho&&(c.code===0||
c.code===1)?2:1}),Di(function(c){return c!==2}),hj(1)).subscribe(function(){b()})},eCa=function(a,b){return{"\u0275kind":a,"\u0275providers":b}},fCa=function(a){return(new ko).setIt(Dva(a))},lo=function(a){return Eva(a.getIt())},hCa=function(a){a=r(a,gCa,1,Kc);return Lya(a.getIt())},iCa=function(a){return Iya(a.getIt())},jCa=function(a){return iCa(a.getSearch())},kCa=function(a){return ie(a,mo,1,Rd(),Kc).map(iCa)},oo=function(a){return no(a,eha)},no=function(a,b){var c={};return a.filter(function(d){d=
String(b(d));return c[d]?!1:c[d]=!0})},lCa=function(a){return function(b){return no(b,a)}},mCa=function(a,b){return a.map(function(c,d){return[c,b[d]]})},nCa=function(a,b){var c=a===void 0?[]:a;a=b===void 0?[]:b;if(c.length===0)return a;b=a.filter(function(d){return!c.includes(d)});return b.length===a.length?a:b},oCa=function(a,b){return a===b?!0:a.length!==b.length?!1:a.every(function(c,d){return c===b[d]})},pCa=function(a,b){a=[].concat(p(a)).sort();b=[].concat(p(b)).sort();return oCa(a,b)},qCa=
function(a,b){if(a.length===0)return b;b=b.slice();b=nCa(a,b);return[].concat(p(a),p(b))},rCa=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)})}},sCa=function(a,b){a=Gha(a,b);return[].concat(p(a.values()))},tCa=function(a){for(var b=[],c=0;c<a.length;c+=100)b.push(a.slice(c,c+100));return b},uCa=function(a){var b=a.reduce(function(c,d){c[d]=~~c[d]+1;return c},{});return Object.keys(b).sort(function(c,d){return b[d]-
b[c]})},vCa=function(a){return{id:String(a.hotlistId),name:a.name,description:a.description,adminUsers:a.adminUsers,starred:!0,resourceType:"HOTLIST"}},wCa=function(a){switch(a.resourceType){case "HOTLIST":var b,c,d,e;return{id:String(a.hotlistId),name:a.name,description:(d=(b=a.hotlist)==null?void 0:b.description)!=null?d:"",adminUsers:(e=(c=a.hotlist)==null?void 0:c.adminUsers)!=null?e:[],starred:!0,resourceType:"HOTLIST"};case "SAVED_SEARCH":var f,h,k,q;return{id:String(a.savedSearchId),name:a.name,
description:(k=(f=a.savedSearch)==null?void 0:f.description)!=null?k:"",adminUsers:(q=(h=a.savedSearch)==null?void 0:h.adminUsers)!=null?q:[],starred:!0,resourceType:"SAVED_SEARCH"};case "BOOKMARK_GROUP":throw Error("uc");default:qb(a.resourceType,"Unexpected type in bookmarkItemToLink")}},xCa=function(a){return{id:String(a.bookmarkGroupId),name:a.name,description:a.description,adminUsers:a.adminUsers,starred:!0,sublinks:a.item.filter(function(b){var c;return!((c=b.hotlist)==null?0:c.archived)}).map(wCa)}},
BCa=function(a,b,c){var d=new Map,e=new Map,f=new Map,h=new Map,k=new Map;b=l(b);for(var q=b.next();!q.done;q=b.next())q=q.value,q.archived?e.set(q.bookmarkGroupId,q):d.set(q.bookmarkGroupId,q);b=[].concat(p(d.values())).flatMap(function(u){var A;return(A=u.item)!=null?A:[]});b=new Set(b.filter(function(u){return u.resourceType==="HOTLIST"}).map(function(u){return u.hotlistId}));a=l(a);for(q=a.next();!q.done;q=a.next())q=q.value,b.has(q.hotlistId)||(q.archived?h.set(q.hotlistId,vCa(q)):f.set(q.hotlistId,
vCa(q)));c=l(c);for(a=c.next();!a.done;a=c.next())a=a.value,k.set(a.searchId,{id:String(a.searchId),name:a.name,description:a.description,adminUsers:a.adminUsers,starred:!0,resourceType:"SAVED_SEARCH"});return{id:"current-user-bookmark-id",bookmarkGroups:yCa([].concat(p(d.values())).map(xCa)),archivedBookmarkGroups:yCa([].concat(p(e.values())).map(xCa)),hotlists:zCa(f.values()),archivedHotlists:zCa(h.values()),savedSearches:ACa(k.values())}},CCa=function(a,b){var c=new Set(b.hotlists.map(function(k){return k.hotlistId})),
d=new Set(b.bookmarkGroups.map(function(k){return k.bookmarkGroupId}));b=new Set(b.savedSearches.map(function(k){return k.searchId}));for(var e=l([].concat(p(a.hotlists),p(a.archivedHotlists))),f=e.next();!f.done;f=e.next())f=f.value,f.starred=c.has(Number(f.id));e=l([].concat(p(a.bookmarkGroups),p(a.archivedBookmarkGroups)));for(f=e.next();!f.done;f=e.next()){f=f.value;f.starred=d.has(f.id);var h=void 0;f=l((h=f.sublinks)!=null?h:[]);for(h=f.next();!h.done;h=f.next())switch(h=h.value,h.resourceType){case "HOTLIST":h.starred=
c.has(Number(h.id));break;case "SAVED_SEARCH":h.starred=b.has(h.id);break;case "BOOKMARK_GROUP":h.starred=d.has(h.id);break;default:throw Error("vc");}}c=l(a.savedSearches);for(d=c.next();!d.done;d=c.next())d=d.value,d.starred=b.has(d.id);return a},DCa=function(a){return jua(a.getIt())},FCa=function(a){return(new ECa).setIt(nua(a))},GCa=function(a){a=a.getIt();return{customFields:a.getCustomFieldsList().map(jua),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},JCa=function(a){var b,
c=(b=r(a,po,2,Kc))==null?void 0:Zd(b,1),d;b=(d=r(a,po,2,Kc))==null?void 0:Zd(d,4);var e,f,h,k;d=a.getId_asString();c={phase:c!=null?HCa[c]:"UNSPECIFIED",subphase:b!=null?ICa[b]:"TRIAGE_SUBPHASE_UNSPECIFIED",triagerEmail:(h=(e=r(a,po,2,Kc))==null?void 0:Oc(e,3))!=null?h:void 0,dismissed:(k=te((f=r(a,po,2,Kc))==null?void 0:r(f,ue,5)))!=null?k:void 0};a=Qd(a,4,Rd(),Kc);return{id:d,triage:c,clusterIds:a}},MCa=function(a){var b=new po;b=mf(b,1,KCa[a.triage.phase]);b=mf(b,4,LCa[a.triage.subphase]);b=lf(b,
3,a.triage.triagerEmail);if(a.triage.dismissed){var c=ve(a.triage.dismissed);t(b,ue,5,c)}b=(new qo).setId(a.id).setTriage(b);return xc(b,4,Pb,a.clusterIds,Qb,Kc)},QCa=function(a){var b=a.getId_asString();if(b&&b!=="0"){var c={id:0},d=ie(a,ro,2,Rd(),Kc).map(function(f){var h,k,q,u,A;return{scope:(k=f.getScope())!=null?k:void 0,showComponentColumn:(q=De(f,2))!=null?q:!1,config:ie(f,NCa,3,Rd()).map(OCa)||[],id:(u=pe(f.getId()))!=null?u:0,displayName:f.getDisplayName()||void 0,displayColumns:(A=(h=f.getDisplayColumns())==
null?void 0:h.getColumnList().map(Dfa).filter(fe))!=null?A:[]}});d.length===0&&d.push(c);var e;return{id:b,triage:d,playbooks:(e=ie(a,so,3,Rd(),Kc).map(PCa))!=null?e:[]}}},PCa=function(a){var b,c,d;return{name:(b=a.getName())!=null?b:void 0,instructions:(c=Oc(a,2))!=null?c:void 0,searchQuery:(d=Oc(a,3))!=null?d:void 0}},RCa=function(a){var b,c,d,e=(new so).setName((b=a.name)!=null?b:"");b=(c=a.instructions)!=null?c:"";c=lf(e,2,b);a=(d=a.searchQuery)!=null?d:"";return lf(c,3,a)},OCa=function(a){switch(al(a,
SCa)){case 1:return{type:"CUSTOM_FIELD",customFieldConfig:TCa(Zk(a,to,1,SCa))};case 2:return{type:"HOTLIST",hotlistConfig:UCa(Zk(a,VCa,2,SCa))};default:throw Error("wc");}},$Ca=function(a){var b=new NCa;if(a.type==="CUSTOM_FIELD"&&a.customFieldConfig)a=WCa(a.customFieldConfig),Bl(b,1,SCa,a);else if(a.type==="HOTLIST"&&a.hotlistConfig){a=a.hotlistConfig;var c=(new VCa).setHotlistIdsList(a.hotlistIds);a=mf(c,2,XCa[a.operation]).setPhasesList(YCa(a.phases)).setSubphasesList(ZCa(a.subphases));Bl(b,2,
SCa,a)}return b},TCa=function(a){var b,c=(b=ie(a,aDa,2,Rd()).map(function(d){return{phases:d.getPhasesList().map(function(e){return HCa[e]}),subphases:d.getSubphasesList().map(function(e){return ICa[e]}),value:eua(d.getValue())}}))!=null?b:[];return{customFieldId:a.getCustomFieldId_asString(),defaultValues:c}},WCa=function(a){var b=(new to).setCustomFieldId(a.customFieldId);a=a.defaultValues.map(function(c){return(new aDa).setPhasesList(YCa(c.phases)).setSubphasesList(ZCa(c.subphases)).setValue(gua(c.value))});
Ol(b,2,a);return b},UCa=function(a){return{hotlistIds:a.getHotlistIdsList_asString(),operation:bDa[Zd(a,2)],phases:a.getPhasesList().map(function(b){return HCa[b]}),subphases:a.getSubphasesList().map(function(b){return ICa[b]})}},YCa=function(a){var b;return(b=a==null?void 0:a.map(function(c){return KCa[c]}))!=null?b:[]},ZCa=function(a){var b;return(b=a==null?void 0:a.map(function(c){return LCa[c]}))!=null?b:[]},cDa=function(a){var b=new ro;a.scope&&b.setScope(a.scope);var c;hf(b,2,a.showComponentColumn).setId(a.id).setDisplayName(a.displayName).setDisplayColumns(kga({column:(c=
a.displayColumns)!=null?c:[]}));a.config&&(a=a.config.map($Ca),qm(b,3,NCa,a));return b},dDa=function(a){a==="[Deleted User]"&&(a="nobody@google.com");a.includes("@")||(a+="@google.com");var b=new Ud;return Vd(b,1,a)},eDa=function(a){var b;return(b=a==null?void 0:a.trim().split(",").filter(Boolean).map(dDa))!=null?b:[]},uo=function(a){var b;return(b=a==null?void 0:a.trim().split(",").filter(Boolean).map(be).filter(fe))!=null?b:[]},vo=function(a){var b;return(b=a==null?void 0:a.trim().split(",").filter(Boolean))!=
null?b:[]},gDa=function(a){var b=new wo,c=new wo,d=new dm,e=new dm;a=l(a);for(var f=a.next();!f.done;f=a.next())switch(f=f.value,f.fieldName){case "assignee":f.value?(d.setAssignee(dDa(f.value)),xo(b,"assignee")):(e.setAssignee(new Ud),xo(c,"assignee"));break;case "attachments":break;case "blockedByIssueId":f.actionType==="ADD"?(d.addAllBlockedByIssueIds(uo(f.value)),xo(b,"blocked_by_issue_ids")):(e.addAllBlockedByIssueIds(uo(f.value)),xo(c,"blocked_by_issue_ids"));break;case "blockingIssueId":f.actionType===
"ADD"?(d.addAllBlockingIssueIds(uo(f.value)),xo(b,"blocking_issue_ids")):(e.addAllBlockingIssueIds(uo(f.value)),xo(c,"blocking_issue_ids"));break;case "ccs":f.actionType==="ADD"?(d.addAllCcs(eDa(f.value)),xo(b,"ccs")):(e.addAllCcs(eDa(f.value)),xo(c,"ccs"));break;case "changelists":f.actionType==="ADD"?(d.addAllCodeChanges(vo(f.value)),xo(b,"code_changes")):(e.addAllCodeChanges(vo(f.value)),xo(c,"code_changes"));break;case "collaborators":f.actionType==="ADD"?(d.addAllCollaborators(eDa(f.value)),
xo(b,"collaborators")):(e.addAllCollaborators(eDa(f.value)),xo(c,"collaborators"));break;case "staffing":if(!f.staffingValue)break;f.actionType==="ADD"?(d.setStaffing(Xua(f.staffingValue)),xo(b,"staffing")):(e.setStaffing(Xua(f.staffingValue)),xo(c,"staffing"));break;case "comment":break;case "componentId":d.setComponentId(be(f.value));xo(b,"component_id");break;case "customField":if(!f.customFieldValue)break;var h=gua(f.customFieldValue);f.actionType==="ADD"?(d.addCustomFields(h),xo(b,"custom_fields")):
(e.addCustomFields(h),xo(c,"custom_fields"));break;case "deletionReason":f.value!=null?(d.setDeletionReason(nva[f.value]),xo(b,"deletion_reason")):(e.setDeletionReason(2),xo(c,"deletion_reason"));break;case "duplicateOfIssueId":(f=be(f.value))?(d.setCanonicalIssueId(f),xo(b,"canonical_issue_id")):xo(c,"canonical_issue_id");break;case "effortEstimate":f.value?(h=new em,f=Vd(h,2,f.value),d.setEffort(f),xo(b,"effort")):(e.setEffort(new em),xo(c,"effort"));break;case "foundInVersion":f.actionType==="ADD"?
(h=d,f=vo(f.value),xc(h,17,Pb,f,Qb),xo(b,"found_in_versions")):(h=e,f=vo(f.value),xc(h,17,Pb,f,Qb),xo(c,"found_in_versions"));break;case "gerritChanges":h=(f.gerritChangeValue||[]).map(mva);f.actionType==="ADD"?(d.addAllGerritChanges(h),xo(b,"gerrit_changes")):(e.addAllGerritChanges(h),xo(c,"gerrit_changes"));break;case "hotlists":f.actionType==="ADD"?(d.addAllHotlistIds(uo(f.value)),xo(b,"hotlist_ids")):(e.addAllHotlistIds(uo(f.value)),xo(c,"hotlist_ids"));break;case "inProd":d.setInProd(f.value===
"true");xo(b,"in_prod");break;case "type":d.setType(fDa[f.value]);xo(b,"type");break;case "isArchived":d.setIsArchived(f.value==="true");xo(b,"is_archived");break;case "isDeleted":d.setIsDeleted(f.value==="true");xo(b,"is_deleted");break;case "parentId":break;case "priority":d.setPriority(kva[f.value]);xo(b,"priority");break;case "readState":break;case "reporter":d.setReporter(dDa(f.value));xo(b,"reporter");break;case "severity":d.setSeverity(lva[f.value]);xo(b,"severity");break;case "sloEndTime":(f=
be(f.value))?(d.setSloEndTime(ve({seconds:f,nanos:0})),xo(b,"slo_end_time")):(e.setSloEndTime(new ue),xo(c,"slo_end_time"));break;case "sloSnoozeType":d.setSloSnoozeType(ova[f.value]);xo(b,"slo_snooze_type");break;case "sloStartTime":(f=be(f.value))?(d.setSloSnoozeUntil(ve({seconds:f,nanos:0})),xo(b,"slo_snooze_until")):(e.setSloSnoozeUntil(new ue),xo(c,"slo_snooze_until"));break;case "status":d.setStatus(jva[f.value]);xo(b,"status");break;case "targetedToVersion":f.actionType==="ADD"?(h=d,f=vo(f.value),
xc(h,18,Pb,f,Qb),xo(b,"targeted_to_versions")):(h=e,f=vo(f.value),xc(h,18,Pb,f,Qb),xo(c,"targeted_to_versions"));break;case "title":d.setTitle(f.value);xo(b,"title");break;case "verifiedInVersion":f.actionType==="ADD"?(h=d,f=vo(f.value),xc(h,19,Pb,f,Qb),xo(b,"verified_in_versions")):(h=e,f=vo(f.value),xc(h,19,Pb,f,Qb),xo(c,"verified_in_versions"));break;case "verifier":f.value?(d.setVerifier(dDa(f.value)),xo(b,"verifier")):(e.setVerifier(new Ud),xo(c,"verifier"));break;default:qb(f.fieldName,"Unhandled IssueFieldName in actionsToIssueStateChanges")}return{addMask:b,
removeMask:c,stateAddBuilder:d,stateRemoveBuilder:e}},iDa=function(a){var b=gDa(a.actions),c=b.addMask,d=b.removeMask,e=b.stateAddBuilder;b=b.stateRemoveBuilder;c=(new hDa).setIssueId(Number(a.issueId)).setAdd(e).setRemove(b).setAddMask(c).setRemoveMask(d);(a=Aa(a.actions.filter(function(f){return f.fieldName==="comment"})))&&a.value!=null&&c.setIssueComment((new om).setComment(a.value));return c},kDa=function(a,b,c,d){var e=new yo,f=e.setIt;a=(new jDa).setIssueId(a);b&&a.setIssueAccessLimit(wta(b));
c&&a.setAddedCollaboratorsList(c.map(Yd));d&&a.setRemovedCollaboratorsList(d.map(Yd));return f.call(e,a)},lDa=function(a){return(new zo).setIt((new Ao).setIssueId(Number(a)))},oDa=function(a){return(new mDa).setIt((new nDa).setIssueId(Number(a.issueId)).setComponentId(Number(a.componentId)))},rDa=function(a){var b,c=new pDa,d=c.setIt,e=(new qDa).setIssueId(String(a.issueId)).setComponentId(a.componentId);a=(b=a.setLimitViewTrusted)!=null?b:!1;b=Dl(e,3,a);return d.call(c,b)},sDa=function(a){return{issueId:de(a.getIssueId_asString()),
status:bm[a.getStatus()],title:a.getTitle()}},vDa=function(a){var b=(new tDa).setFieldName(a.fieldName);a.value&&b.setValue(a.value);a.actionType&&mf(b,3,uDa[a.actionType]);if(a.customFieldValue){var c=b.setCustomFieldValue;a=a.customFieldValue;a=(new Bo).setIt(gua(a));c.call(b,a)}return b},xDa=function(a){return(new wDa).setIt(iDa(a))},BDa=function(a){var b=new yDa;var c=a.addHotlistIds.map(String);b=tc(b,1,c,Fb);c=a.removeHotlistIds.map(String);b=tc(b,2,c,Fb);var d=a.hotlistIssue;a=(new km).setIssueId(Number(d.issueId));
d.position&&a.setPosition(d.position);if(d.issue){c=a.setIssue;d=d.issue;var e=(new lm).setIssueId(d.issueId).setVersion(d.version).setCustomFieldsList(d.customFields.map(nua)),f=d.visibleFields.map(dua);e=Ol(e,34,f).setMajorModifiedTime(xe(d.majorModifiedTimeMicros)).setParentIssueIdsList(d.parentIssueIds.map(be).filter(fe)).setChildIssueCount(d.childIssueCount).setDescendantIssueCount(d.descendantCount).setOpenDescendantIssueCount(d.openDescendantCount).setIsArchived(d.isArchived);d.trackerId&&
e.setTrackerId(d.trackerId);d.snapshot&&d.snapshot[0]&&e.setIssueState(pva(d.snapshot[0]));d.statusUpdate&&e.setStatusUpdate(cva(d.statusUpdate));if(d.userData){var h=d.userData;f=new zDa;h.voted&&Dl(f,2,h.voted);h.starred&&Dl(f,1,h.starred);h.notificationSubscription&&f.setNotificationSubscription(ADa[h.notificationSubscription]);h.lastViewedTimeMicros!==void 0&&(h=xe(h.lastViewedTimeMicros),t(f,ue,5,h));t(e,zDa,9,f)}if(d.aggregatedData){ll(e,10,d.aggregatedData.voteCount).setCreatedTime(xe(d.aggregatedData.createdTimeMicros)).setResolvedTime(xe(d.aggregatedData.resolvedTimeMicros)).setVerifiedTime(xe(d.aggregatedData.verifiedTimeMicros)).setModifiedTime(xe(d.aggregatedData.modifiedTimeMicros));
d.aggregatedData.lastModifier&&(f=Yd(d.aggregatedData.lastModifier),t(e,Ud,14,f));if(d.aggregatedData.sloStatus){f=e.setSloStatus;var k=d.aggregatedData.sloStatus;h=new Co;if(k.assignmentBounds){var q=Jua(k.assignmentBounds);t(h,Rl,1,q)}k.responseBounds&&(q=Jua(k.responseBounds),t(h,Rl,2,q));k.closureBounds&&(k=Jua(k.closureBounds),t(h,Rl,3,k));f.call(e,h)}d.aggregatedData.sloId&&e.setSloId(d.aggregatedData.sloId);d.aggregatedData.teamId&&e.setTeamId(d.aggregatedData.teamId);d.aggregatedData.retentionState&&
e.setRetentionState(Ota(d.aggregatedData.retentionState))}d.accessLimit&&e.setAccessLimit(Bta(d.accessLimit));if(d.ancestors)for(f=e.getAncestorsMap(),h=l(d.ancestors.entries()),k=h.next();!k.done;k=h.next())q=l(k.value),k=q.next().value,q=q.next().value,f.set(ib(k),(new Do).setSourceIssueIdsList(q.sourceIssueIds.map(be).filter(fe)));d.userActivityStats&&(f=d.userActivityStats,h=new Ava,h=ll(h,1,f.oneDayViewCount),h=ll(h,2,f.sevenDayViewCount),f=ll(h,3,f.thirtyDayViewCount),t(e,Ava,47,f));d.escalationOwner&&
e.setEscalationOwner(Yd(d.escalationOwner));c.call(a,e)}a=(new Eo).setIt(a);return t(b,Eo,3,a)},DDa=function(a){var b=ie(a,CDa,1,Rd(),Kc);return{issueDigests:(b!=null?b:[]).map(sDa),numTotalResults:pe(Re(a,2,void 0,Kc))}},GDa=function(a){var b=(new EDa).setIssueId(a.issueId).setRetention(Uta(a.retention));a.significanceOverride&&b.setSignificanceOverride(mua[a.significanceOverride]);return(new FDa).setIt(b)},LDa=function(a){var b=new HDa,c=b.setIt,d=(new lm).setIssueState(pva(a.snapshot));a.snapshot.comment&&
d.setIssueComment((new om).setComment(a.snapshot.comment).setFormattingMode(Pl(a.snapshot.formattingMode)));a.attachments&&d.addAllAttachments(a.attachments.map(Yta));d=(new IDa).setIssue(d);if(a.templateId!=null){var e=new JDa;e=Dl(e,1,!1).setTemplateId(a.templateId);t(d,JDa,3,e)}a.contentJudgement&&(e=d.setContentJudgement,a=KDa(Hta(a.contentJudgement)),a=Xd(a,6,1),e.call(d,a));return c.call(b,d)},MDa=function(a){return{issueId:de(a.getIssueId_asString())}},ODa=function(a,b){a=(new NDa).setQuery(a);
b.s&&a.setOrderBy(vta(b.s));b.count&&(a.setPageSize(b.count),b.p&&a.setPageToken("start_index:"+b.count*(b.p-1)));var c;return(new Fo).setIt(a).setTrackerIdsList((c=b.trackerIds)!=null?c:[])},$Da=function(a,b,c){a=PDa(new QDa,ODa(a,b));c.queryType&&mf(a,2,RDa[c.queryType]);c.sortSpecs&&c.sortSpecs.length&&SDa(a,c.sortSpecs.map(function(d){var e=new TDa;e=mf(e,1,UDa[d.sortType]);return hf(e,2,d.sortDecreasing)}));c.experimentalFields&&VDa(a,MCa(c.experimentalFields));c.concatenator&&WDa(a,XDa((new YDa).setRelation(ZDa[c.concatenator.relation]),
c.concatenator.experimentalSortPrimary));return a},aEa=function(a){return bva(a.getIt())},bEa=function(a){var b=new Go,c=b.setIt;var d=(new Ho).setQuery(a.query);d=Xd(d,2,mua[a.minimumSignificance]);a=se(d,4,a.maximumSize);a=Xd(a,3,2);return c.call(b,a)},cEa=function(a){var b;return{isCommentEvent:!0,version:a.version,unlinkifiedComment:a.unlinkifiedComment,commentNumber:a.commentNumber,commentVersion:a.version,commentLastModifiedAtDate:lfa(a.lastModified),commentRedacted:ee(a.redacted),commentContentVerdict:a.commentContentVerdict,
commentRetentionState:a.piiRetentionState,commentDeletionStatus:(b=a.entityStatus)==null?void 0:b.status,commentRetention:a.piiRetention,lastCommentEditorUser:a.lastEditorUser,formattingMode:a.formattingMode,formattedComment:a.formattedComment,commentEtag:a.etag,commentReactions:a.commentReactions}},dEa=function(a,b){var c,d,e;return{attachments:[],preDiffs:[],postDiffs:[],modifiedDate:zfa(xe((e=(c=b.aggregatedData)==null?void 0:c.createdTimeMicros)!=null?e:0)),userPerformingActionUser:a.lastEditorUser,
userPerformingAction:kfa()(Jd(a.lastEditorUser)),isCommentEvent:!0,commentVersion:a.version,version:a.version,commentLastModifiedAtDate:lfa(a.lastModified),commentRedacted:ee(a.redacted),commentContentVerdict:a.commentContentVerdict,commentRetentionState:a.piiRetentionState,commentDeletionStatus:(d=a.entityStatus)==null?void 0:d.status,commentRetention:a.piiRetention,lastCommentEditorUser:a.lastEditorUser,commentEtag:a.etag,commentNumber:a.commentNumber,unlinkifiedComment:a.unlinkifiedComment,formattingMode:a.formattingMode,
isMajorEvent:!0,statusUpdate:void 0,taggedSummary:void 0,formattedComment:a.formattedComment,commentReactions:a.commentReactions,issueId:a.issueId}},Io=function(a){if(a!=null&&a.getIssue())return a=a.getIssue(),a=a!=null?Cva(a.getIt()):void 0,a},fEa=function(a){var b=new eEa;b.setIssueIdsList(a.issueIds.map(String));a=a.actions.map(vDa);Ol(b,1,a);return b},gEa=function(a){return{issueId:a.getIssueId_asString(),message:a.getMessage()}},iEa=function(a){for(var b={},c=l(sc(a,1,Jo,Vb,Kc).entries()),d=
c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;e=e!=null?hm(e.getIt()):void 0;b[d]=e}c={};d=l(sc(a,3,Mn,Vb,Kc).entries());for(e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;c[e]=Kn(f)}a=ie(a,hEa,2,Rd(),Kc);a=(a!=null?a:[]).map(gEa);return{affectedIssues:b,componentMap:c,errors:a}},jEa=function(a){var b;return((b=a.getIt().getIssueCommentsList())!=null?b:[]).map(Il).map(cEa)},kEa=function(a){var b=a.getIt();Me(b,ue,3)?(a=a.getIt(),
a=r(a,ue,3),a=ye(a)):a=0;return{readTimestamp:a}},lEa=function(a){a=a.getIt();var b=a.getIssueState(),c=b.getAccessLimit();b={type:Eua(b.getType()),status:bm[b.getStatus()],priority:cm[b.getPriority()],severity:eva[b.getSeverity()],componentId:de(b.getComponentId_asString()),accessLimitLevel:c!=null?xta(c):null};return{issueId:a.getIssueId_asString(),issueState:b,modifiedTime:te(a.getModifiedTime()),teamId:de(a.getTeamId_asLegacyNumberOrString())}},mEa=function(a){return Il(a.getIt())},nEa=function(a){return a.getIt().getIssueCommentsList().map(Il)},
oEa=function(a){return xua(a==null?void 0:a.getIt())},pEa=function(a){a=a.getIt();return{issues:a.getIssuesList().filter(fe).map(hm),numTotalResults:a.getTotalSize(),positionMap:void 0,nextPageToken:a.getNextPageToken(),totalSizeAccurate:a.getTotalSizeAccurate(),maySkipResults:a.getMaySkipResults()}},rEa=function(a){return{issueId:a.getIssueId_asString(),summaryType:qEa[a.getSummaryType()],modelVersion:a.getModelVersion(),issueVersion:a.getIssueVersion(),summary:a.getSummary(),formattedSummary:Me(a,
Ll,6)?Aua(r(a,Ll,6)):void 0}},wEa=function(a){if(a){var b=a==null?void 0:a.getTypeName();switch(b){case "google.protobuf.Int32Value":var c;return{type:"NUMBER",value:(c=Pc(a,sEa,b))==null?void 0:c.getValue()};case "google.protobuf.Int64Value":var d;return{type:"NUMBER",value:qe((d=Pc(a,tEa,b))==null?void 0:d.getValue())};case "google.protobuf.StringValue":var e;return{type:"STRING",value:(e=Pc(a,uEa,b))==null?void 0:e.getValue()};case "google.protobuf.BoolValue":var f;return{type:"BOOLEAN",value:(f=
Pc(a,vEa,b))==null?void 0:f.getValue()};case "google.protobuf.Timestamp":return{type:"TIMESTAMP",value:te(Pc(a,ue,b))};case "google.devtools.issuetracker.v1.User":return a=Pc(a,Ud,b),{type:"USER",value:a&&ae(a)};case "google.devtools.issuetracker.v1.CustomFieldValue":return a=Pc(a,Al,b),{type:"CUSTOM_FIELD_VALUE",value:a&&eua(a)};case "google.devtools.issuetracker.v1.IssueAccessLimit":return a=Pc(a,hl,b),{type:"ISSUE_ACCESS_LIMIT",value:a&&xta(a)};case "google.devtools.issuetracker.v1.Issue.Effort":return a=
Pc(a,em,b),{type:"STRING",value:a&&oua(a).estimate};case "google.devtools.issuetracker.v1.EntityStatus":return a=Pc(a,ml,b),{type:"ENTITY_STATUS",value:a&&Jta(a)};case "google.devtools.issuetracker.v1.GerritChange":return a=Pc(a,fm,b),{type:"GERRIT_CHANGE",value:a&&fva(a)};case "google.devtools.issuetracker.v1.Staffing.PlannedAllocation":return a=Pc(a,Ul,b),{type:"PLANNED_ALLOCATION",value:a&&$ua(a)};default:console.error("Unhandled type in parseProtoAny: "+b)}}},yEa=function(a){var b,c;return{issueId:String(a.getIssueId()),
version:a.getVersion(),author:ae(a.getAuthor()),timestamp:te(a.getTimestamp()),fieldUpdates:a.getFieldUpdatesList().map(xEa).filter(fe),attachments:a.getAttachmentsList().map(Wta),comment:a.hasIssueComment()&&qe((b=a.getIssueComment())==null?void 0:b.getIssueId())!==0?Il(a.getIssueComment()):void 0,statusUpdate:a.hasStatusUpdate()?bva(a.getStatusUpdate()):void 0,statusUpdateEntityStatus:((c=a.getStatusUpdate())==null?0:c.getEntityStatus())?Jta(a.getStatusUpdate().getEntityStatus()):void 0}},xEa=function(a){var b=
a.getField();if(ita.has(b)){var c=al(a,zEa);switch(c){case 3:a:{if(c=Zk(a,AEa,3,zEa)){a=wEa(r(c,Ko,1));var d=wEa(r(c,Ko,2));if(a||d){var e;c={type:(e=a==null?void 0:a.type)!=null?e:d==null?void 0:d.type,oldValue:a==null?void 0:a.value,newValue:d==null?void 0:d.value};break a}}c=void 0}return{field:b,singleValueUpdate:c};case 4:return{field:b,collectionUpdate:BEa(Zk(a,CEa,4,zEa))};default:console.error("Unexpected ValueUpdate oneof in Proto for field id:"+c)}}else console.error('Unexpected IssueStateMask value: "'+
b+'"')},BEa=function(a){if(a){var b=ie(a,Ko,1,Rd()).map(wEa).filter(fe);a=ie(a,Ko,2,Rd()).map(wEa).filter(fe);var c=[].concat(p(b),p(a));if(c.length!==0)return{type:c[0].type,added:b.map(function(d){return d.value}),removed:a.map(function(d){return d.value})}}},Lo=function(a){return new Ad(a.year,a.month-1,a.day)},DEa=function(a){return{month:a.getMonth()+1,day:a.getDate(),year:a.getFullYear()}},EEa=function(a){return!(!a||a.day==null||a.month==null||a.year==null)},FEa=function(a,b){if(a&&b){var c=
l(b.split(":"));b=c.next().value;c=c.next().value;return new Uf(a.getFullYear(),a.getMonth(),a.getDate(),Number(b),Number(c))}},Mo=function(a){return a.numericValue===0?a.numericValue:a.textValue||a.dateValue||a.enumValue||a.numericValue||a.repeatedTextValue||a.repeatedDateValue||a.repeatedEnumValue||a.repeatedNumericValue||null},No=function(a){a=Mo(a);return a==null?!0:typeof a==="string"?a==="":typeof a==="number"?!1:a.values!=null?a.values.length===0:!a||!a.day||!a.month||!a.year},GEa=function(a){return a?
DEa(Cd(a)):null},HEa=function(a){return a?(a=$k(a),isNaN(a)?null:a):null},JEa=function(a){return IEa.format(Lo(a))},KEa=function(a){return a.textValue!=null?a.textValue:a.dateValue!=null?JEa(a.dateValue):a.enumValue!=null?a.enumValue:a.numericValue!=null?String(a.numericValue):a.repeatedTextValue!=null?a.repeatedTextValue.values.join(", "):a.repeatedDateValue!=null?a.repeatedDateValue.values.map(JEa).join(", "):a.repeatedEnumValue!=null?a.repeatedEnumValue.values.join(", "):a.repeatedNumericValue!=
null?a.repeatedNumericValue.values.map(String).join(", "):""},Oo=function(a,b){return(b===void 0?0:b)?"https://"+a.host+"-review.git.corp.google.com/c/"+a.repo+"/+/"+a.changeNumber:"https://"+a.host+"-review.googlesource.com/c/"+a.repo+"/+/"+a.changeNumber},Po=function(a){var b=a.match(LEa);if(b){a=b[1];var c=b[2];b=b[3];if(a&&c&&b)return{host:a,repo:c,changeNumber:Number(b),state:"MERGED"}}},OEa=function(a,b){a=a.map(MEa)||[];b=b.map(MEa)||[];return Qea(a,new Set(b)).map(NEa)},MEa=function(a){return a.host+
","+a.repo+","+a.changeNumber+","+a.state},NEa=function(a){var b=l(a.split(","));a=b.next().value;var c=b.next().value,d=b.next().value;b=b.next().value;d=be(d);if(!d)throw Error("Ac");if(!Object.values(PEa).includes(b))throw Error("Bc");return{host:a,repo:c,changeNumber:d,state:b}},QEa=function(a){a=a.trim();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 a.match(/^[1-9]\d{0,19}$/)?a:null},REa=function(a){pha();var b,c;return(c=(b=$ga().getConfig())==null?void 0:rc(b,4,Sb).get(a))!=null?c:!1},SEa=function(a,b){b=b===void 0?REa("enableGerritChanges"):b;var c;return v(function(d){return b?(c=a&&(!!QEa(a)||!!Po(a)))?d.return(""):d.return("Must be a CL number or Gerrit URL"):d.return("")})},UEa=function(a){return a==null?!1:TEa.has(a.name)},VEa=function(a){return(a==null?void 0:a.name)==="hotlist"},WEa=function(a){return a==
null?!1:a.href!=null&&a.value!=null},XEa=function(a){return Array.isArray(a)?a.every(WEa):!1},Qo=function(a){return{value:String(a),href:"issues/"+a}},YEa=function(a){return{value:a,href:"https://critique.corp.google.com/"+a}},ZEa=function(a){var b=sha();return{value:a.changeNumber,href:Oo(a,b===void 0?!1:b)}},$Ea=function(a){return{value:String(a),href:"issues?q=hotlistid:"+a}},aFa=function(a){return{value:a,href:"https://pm.corp.google.com/"+a}},cFa=function(a,b){var c=new Map(a.filter(function(u){return u.placeholder}).map(function(u){var A;
return[(A=Ro[u.placeholder.role])!=null?A:"",u.placeholder.count]})),d=new Map(b.filter(function(u){return u.placeholder}).map(function(u){var A;return[(A=Ro[u.placeholder.role])!=null?A:"",u.placeholder.count]}));a=uia(a.filter(function(u){return u.user}));b=uia(b.filter(function(u){return u.user}));for(var e=[],f=[],h=l(c),k=h.next();!k.done;k=h.next()){var q=l(k.value);k=q.next().value;q=q.next().value;k.length!==0&&k!==Ro.JOB_ROLE_UNSPECIFIED&&(d.has(k)?d.get(k)!==q&&e.push(k+" ("+d.get(k)+" > "+
q+")"):e.push(k+" ("+q+")"))}d=l(d);for(h=d.next();!h.done;h=d.next())k=l(h.value),h=k.next().value,k=k.next().value,h.length!==0&&h!==Ro.JOB_ROLE_UNSPECIFIED&&(c.has(h)||f.push(h+" ("+k+")"));c=new Set([].concat(p(a.keys()),p(b.keys())));c=l(c);h=c.next();for(d={};!h.done;d={addedAllocationsByKey:void 0},h=c.next())h=h.value,h.length!==0&&(k=void 0,d.addedAllocationsByKey=via((k=a.get(h))!=null?k:[]),q=void 0,k=via((q=b.get(h))!=null?q:[]),d.addedAllocationsByKey.size>0&&(q=bFa(h,d.addedAllocationsByKey,
k),q.length>0&&e.push(q)),d=new Map([].concat(p(k.entries())).filter(function(u){return function(A){var D=l(A);A=D.next().value;D.next();return!u.addedAllocationsByKey.has(A)}}(d))),d.size>0&&(d=bFa(h,d,new Map),d.length>0&&f.push(d)));return{additions:e,removals:f}},bFa=function(a,b,c){var d=[];b=l(b);for(var e=b.next();!e.done;e=b.next()){e=l(e.value);var f=e.next().value;e=e.next().value;f=c.get(f);if(!vd(e,f)){if(d.length===0){var h=void 0;d.push(dFa(e.user,(h=f)==null?void 0:h.user));h=void 0;
d.push(eFa(e.user,(h=f)==null?void 0:h.user))}var k=void 0,q=void 0;h=fFa((k=e.allocation)==null?void 0:k.startDate,(q=e.allocation)==null?void 0:q.endDate);k=void 0;e=gFa(e.allocation,(k=f)==null?void 0:k.allocation);e.length!==0&&(h.length>0?d.push(h+": "+e):d.push(e))}}if(d.length===0)return"";c=d.filter(function(u){return u.length>0});return a+(c.length===0?"":" ("+c.join(", ")+")")},fFa=function(a,b){var c=new So("MMM d, yyyy");if(!a&&!b)return"";var d=a?c.format(Lo(a)):"";c=b?c.format(Lo(b)):
"";return a?b?d+" - "+c:d+" - End":"Start - "+c},dFa=function(a,b){a=a==null?void 0:a.role;var c=b==null?void 0:b.role;return a===c?"":!b&&a?"Custom Role: "+Ro[a]:a?c?"Custom Role: "+Ro[c]+" > "+Ro[a]:"Custom Role: None > "+Ro[a]:"Custom Role: "+Ro[c]+" > None"},eFa=function(a,b){a=a==null?void 0:a.isLead;var c=b==null?void 0:b.isLead;return a===c?"":!b&&a?"Lead":(c?"Lead":"Not Lead")+" > "+(a?"Lead":"Not Lead")},gFa=function(a,b){if((a==null?void 0:a.involvement)===(b==null?void 0:b.involvement)&&
(a==null?void 0:a.percentage)===(b==null?void 0:b.percentage))return"";var c="";if((a==null?0:a.involvement)&&(a==null?void 0:a.involvement.length)>0&&(a==null?void 0:a.involvement)!=="INVOLVEMENT_UNSPECIFIED")c=lg[a==null?void 0:a.involvement];else if((a==null?void 0:a.percentage)!==void 0){var d;c=Math.round(((d=a==null?void 0:a.percentage)!=null?d:0)*100)+"%"}if(c.length===0)return"";a="";if((b==null?0:b.involvement)&&(b==null?void 0:b.involvement.length)>0&&(b==null?void 0:b.involvement)!=="INVOLVEMENT_UNSPECIFIED")a=
lg[b==null?void 0:b.involvement];else if((b==null?void 0:b.percentage)!==void 0){var e;a=Math.round(((e=b==null?void 0:b.percentage)!=null?e:0)*100)+"%"}return b&&a.length!==0?a+" > "+c:""+c},jFa=function(a){var b=a.fieldUpdates.map(function(c){return hFa(c,a)}).filter(fe);a.statusUpdate&&b.push({name:"statusUpdate",displayName:"Status Update",type:"STATUS_UPDATE",important:!1,timestamp:Sf(a.timestamp),statusUpdateDiff:a.statusUpdateEntityStatus?{entityStatus:a.statusUpdateEntityStatus}:void 0});
return iFa(b)},iFa=function(a){var b=a.filter(function(h){return h.name==="status"});a=a.filter(function(h){return h.name!=="status"});var c=[].concat(p(a),p(b));b=[];a=void 0;c=l(c);for(var d=c.next();!d.done;d=c.next())d=d.value,d.name==="canonicalId"?a=d:(d.name==="status"&&a&&(d.newValue==="Duplicate"&&(d.newValue="Duplicate of "+a.newValue),d.oldValue==="Duplicate"&&(d.oldValue="Duplicate of "+a.oldValue),a=void 0),b.push(d));var e,f;((e=a)==null?0:e.oldValue)&&((f=a)==null?0:f.newValue)&&b.push({name:"status",
displayName:"Status",type:"SINGLE_VALUE",important:!0,timestamp:a.timestamp,oldValue:"Duplicate of "+a.oldValue,newValue:"Duplicate of "+a.newValue});return b},hFa=function(a,b){var c=Sf(b.timestamp);b=b.version===0;var d=a.field;switch(d){case "access_limit":var e=a.singleValueUpdate;return{name:"access_limit",displayName:"Issue access level",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:e.oldValue||"",newValue:e.newValue||""};case "assignee":return e=a.singleValueUpdate,{name:"assignee",
displayName:"Assignee",type:"SINGLE_VALUE",important:!0,timestamp:c,isUser:!0,oldValue:To(e.oldValue),newValue:To(e.newValue)};case "blocked_by_issue_ids":return e=a.collectionUpdate,{name:"blockedById",displayName:"Blocked by",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Qo),removed:e.removed.map(Qo)};case "blocking_issue_ids":return e=a.collectionUpdate,{name:"blockingId",displayName:"Blocking",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Qo),removed:e.removed.map(Qo)};
case "canonical_issue_id":return e=a.singleValueUpdate,{name:"canonicalId",displayName:"Canonical",type:"SINGLE_VALUE",important:!0,timestamp:c,oldValue:ce(e.oldValue),newValue:ce(e.newValue)};case "ccs":return e=a.collectionUpdate,{name:"cc",displayName:"CC",type:"USER_COLLECTION",important:!1,timestamp:c,isUser:!0,added:e.added.map(To),removed:e.removed.map(To)};case "collaborators":return e=a.collectionUpdate,{name:"collaborators",displayName:"Collaborators",type:"USER_COLLECTION",important:!1,
timestamp:c,isUser:!0,added:e.added.map(To),removed:e.removed.map(To)};case "child_issue_ids":return e=a.collectionUpdate,{name:"childIssueIds",displayName:"Child Issue",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Qo),removed:e.removed.map(Qo)};case "code_changes":return e=a.collectionUpdate,Object.assign({},{name:"changelist",displayName:"Changelist",important:!1,timestamp:c},sha()?{type:"LINKED_COLLECTION",added:e.added.map(YEa),removed:e.removed.map(YEa)}:{type:"COLLECTION",
added:e.added,removed:e.removed});case "component_id":var f=a.singleValueUpdate,h;return{name:"component",displayName:"Component",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:(e=ce(f.oldValue))!=null?e:"",newValue:(h=ce(f.newValue))!=null?h:""};case "custom_fields":return e=a.singleValueUpdate,h=(e.oldValue||e.newValue).customFieldId,{customFieldId:h,name:String(h),displayName:"",type:"CUSTOM_FIELD",important:!1,timestamp:c,oldValue:kFa(e.oldValue),newValue:kFa(e.newValue)};case "duplicate_issue_ids":return e=
a.collectionUpdate,{name:"duplicateId",displayName:"Duplicate issue",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Qo),removed:e.removed.map(Qo)};case "effort":return e=a.singleValueUpdate,{name:"effort",displayName:"Estimated Effort",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:e.oldValue||"<none>",newValue:e.newValue||"<none>"};case "found_in_versions":return e=a.collectionUpdate,{name:"foundIn",displayName:"Found in",type:"COLLECTION",important:!1,timestamp:c,added:e.added,
removed:e.removed};case "gerrit_changes":return e=a.collectionUpdate,{name:"gerritChange",displayName:"Gerrit change",important:!1,timestamp:c,type:"LINKED_COLLECTION",added:e.added.map(function(Ea){return ZEa(Ea)}),removed:e.removed.map(function(Ea){return ZEa(Ea)})};case "hotlist_ids":return e=a.collectionUpdate,{name:"hotlist",displayName:"Hotlist",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map($Ea),removed:e.removed.map($Ea)};case "in_prod":return e=a.singleValueUpdate,{name:"inProd",
displayName:"In prod",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:e.oldValue!=null?String(e.oldValue):"",newValue:e.newValue!=null?String(e.newValue):""};case "is_archived":e=a.singleValueUpdate;var k;return{name:"isArchived",displayName:"Archived",type:"SINGLE_VALUE",important:!b||e.newValue,timestamp:c,oldValue:String((f=e.oldValue)!=null?f:!1),newValue:String((k=e.newValue)!=null?k:!1)};case "parent_issue_ids":return e=a.collectionUpdate,{name:"parentIssueIds",displayName:"Parent Issue",
type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Qo),removed:e.removed.map(Qo)};case "staffing.planned_allocations":if(!sha())break;e=a.collectionUpdate;e=cFa(e.added,e.removed);return{name:"staffing",displayName:"Staffing",important:!1,timestamp:c,type:"COLLECTION",added:e.additions,removed:e.removals};case "postmortems":return e=a.collectionUpdate,Object.assign({},{name:"postmortem",displayName:"Postmortem",timestamp:c,important:!1},sha()?{type:"LINKED_COLLECTION",added:e.added.map(aFa),
removed:e.removed.map(aFa)}:{type:"COLLECTION",added:e.added,removed:e.removed});case "priority":return e=a.singleValueUpdate,{name:"priority",displayName:"Priority",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:e.oldValue!=null?cm[e.oldValue]:"",newValue:e.newValue!=null?cm[e.newValue]:""};case "retention":e=a.singleValueUpdate;var q,u;return{name:"retention",displayName:"Retention",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:(q=lFa(e.oldValue))!=null?q:"",newValue:(u=lFa(e.newValue))!=
null?u:""};case "reporter":return e=a.singleValueUpdate,{name:"reporter",displayName:"Reporter",type:"SINGLE_VALUE",important:!1,timestamp:c,isUser:!0,oldValue:To(e.oldValue),newValue:To(e.newValue)};case "severity":return e=a.singleValueUpdate,{name:"severity",displayName:"Severity",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:e.oldValue!=null?eva[e.oldValue]:"",newValue:e.newValue!=null?eva[e.newValue]:""};case "slo_snooze_until":e=a.singleValueUpdate;var A,D,H,O;return{name:"sloStartTime",
displayName:"SLO Start Date",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:String((H=(A=e.oldValue)==null?void 0:A.seconds)!=null?H:"<none>"),newValue:String((O=(D=e.newValue)==null?void 0:D.seconds)!=null?O:"<none>")};case "slo_end_time":e=a.singleValueUpdate;var P,S,aa,ia;return{name:"sloEndTime",displayName:"SLO End Date",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:String((aa=(P=e.oldValue)==null?void 0:P.seconds)!=null?aa:"<none>"),newValue:String((ia=(S=e.newValue)==null?void 0:
S.seconds)!=null?ia:"<none>")};case "status":e=a.singleValueUpdate;var la,ya;return{name:"status",displayName:"Status",type:"SINGLE_VALUE",important:!0,timestamp:c,oldValue:Fd((la=Uo.get(e.oldValue))!=null?la:""),newValue:Fd((ya=Uo.get(e.newValue))!=null?ya:"")};case "targeted_to_versions":return e=a.collectionUpdate,{name:"targetedTo",displayName:"Targeted to",type:"COLLECTION",important:!1,timestamp:c,added:e.added,removed:e.removed};case "title":e=a.singleValueUpdate;var Ia,Pa;return{name:"title",
displayName:"Title",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:(Ia=e.oldValue)!=null?Ia:"",newValue:(Pa=e.newValue)!=null?Pa:""};case "type":e=a.singleValueUpdate;var gb,ua;return{name:"type",displayName:"Type",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:(gb=mFa.get(e.oldValue))!=null?gb:"",newValue:(ua=mFa.get(e.newValue))!=null?ua:""};case "verifier":return e=a.singleValueUpdate,{name:"verifier",displayName:"Verifier",type:"SINGLE_VALUE",important:!1,timestamp:c,isUser:!0,oldValue:To(e.oldValue),
newValue:To(e.newValue)};case "verified_in_versions":return e=a.collectionUpdate,{name:"verifiedIn",displayName:"Verified in",type:"COLLECTION",important:!1,timestamp:c,added:e.added,removed:e.removed};case "deletion_reason":case "entity_status":case "is_deleted":case "slo_snooze_type":case "staffing":break;default:qb(d,"Unexpected IssueStateMask in fieldUpdateToDiff")}},To=function(a){return kfa()(Jd(a))},kFa=function(a){return a==null?"<none>":KEa(a)},lFa=function(a){if(a!=null)switch(hva[a]){case "COMPONENT_DEFAULT":return"Component Default";
case "INDEFINITE":return"Indefinite"}},rFa=function(a){var b=void 0,c=void 0;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.updates.flatMap(function(A){return A.fieldUpdates}),f=void 0,h=(f=Aa(e.filter(function(A){return A.field==="assignee"})))==null?void 0:f.singleValueUpdate;h&&(b=nFa(h));f=void 0;var k=(f=Aa(e.filter(function(A){return A.field==="verifier"})))==null?void 0:f.singleValueUpdate;k&&(c=nFa(k));f=void 0;k=(f=Aa(e.filter(function(A){return A.field==="status"})))==null?
void 0:f.singleValueUpdate;var q=void 0;f=(q=Aa(e.filter(function(A){return A.field==="canonical_issue_id"})))==null?void 0:q.singleValueUpdate;q=void 0;e=(q=Aa(e.filter(function(A){return A.field==="is_archived"})))==null?void 0:q.singleValueUpdate;if(k){q=k.oldValue!=null?bm[k.oldValue]:void 0;k=k.newValue!=null?bm[k.newValue]:void 0;var u=void 0;f=ce((u=f)==null?void 0:u.newValue);oFa(d,pFa({oldStatus:q,newStatus:k,currentAssignee:b,currentVerifier:c,canonicalIssueId:f,assigneeChanged:!!h}))}else h&&
b?oFa(d,[Vo("Reassigned to "),qFa(b),Vo(".")]):f&&(k=void 0,f=ce((k=f)==null?void 0:k.newValue),oFa(d,pFa({oldStatus:"DUPLICATE",newStatus:"DUPLICATE",currentAssignee:b,currentVerifier:c,canonicalIssueId:f,assigneeChanged:!!h})));e&&oFa(d,[Vo(e.newValue?"Archived.":"Unarchived.")])}},pFa=function(a){var b=a.oldStatus;var c=a.newStatus;var d=a.currentAssignee;var e=a.currentVerifier;var f=a.canonicalIssueId;a=a.assigneeChanged;b=b&&dg.get(b);var h=c&&dg.get(c);if(b&&h&&!b.open&&h.open)return[Vo("Status: "+
h.displayValue+" (reopened)")];switch(c){case "ASSIGNED":if(d)return[Vo("Assigned to "),qFa(d),Vo(".")];break;case "ACCEPTED":if(d)return[Vo("Accepted by "),qFa(d),Vo(".")];break;case "FIXED":return a&&d?[Vo("Marked as fixed, reassigned to "),qFa(d),Vo(".")]:[Vo("Marked as fixed.")];case "VERIFIED":if(e)return[Vo("Verified by "),qFa(e),Vo(".")];break;case "DUPLICATE":if(f)return[Vo("Status: Duplicate of "),{text:f,tag:"bug"}]}return[Vo("Status: "+Fd(h.displayValue))]},nFa=function(a){if(a)return a.newValue},
Vo=function(a){return{text:a,tag:""}},qFa=function(a){switch(a.userGaiaStatus){case "ACTIVE":case "UNSPECIFIED":case void 0:if(a.emailAddress)return{text:a.emailAddress,tag:"user"};if(a.obfuscatedEmailAddress)return Vo(a.obfuscatedEmailAddress);break;case "DELETED":return Vo("Deleted User");case "UNAVAILABLE":return Vo("Unavailable User");default:return console.warn("Unexpected User Gaia status in userToTaggedText"),{text:""}}return Vo("User")},uFa=function(a){if(!a.length)return[];a=sCa(a,function(b){return b.issueId}).flatMap(sFa);
return tFa(a,"DESCENDING")},sFa=function(a){if(!a.length)return[];a=vFa(a);rFa(a);return a.map(function(b){return wFa(b)}).filter(xFa)},xFa=function(a){var b;return a.postDiffs.length||a.preDiffs.length||a.commentNumber||a.attachments.length||((b=a.taggedSummary)==null?void 0:b.length)},vFa=function(a){var b=yFa(a,"ASCENDING");a=[new zFa];b=l(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=Aa(a),e;var f=e=void 0;if(d.updates.length===0)e=!0;else{var h;if(!(h=d.hasInitialUpdate)&&!(h=!d.author||
!c.author)){h=d.author;var k=c.author;h=!(h===k||(h.emailAddress||k.emailAddress?h.emailAddress===k.emailAddress:(h.obfuscatedEmailAddress||k.obfuscatedEmailAddress)&&h.obfuscatedEmailAddress===k.obfuscatedEmailAddress))}if(h||d.comment&&c.comment)e=!1;else{if(h=(f=d.updates[0])==null?0:f.timestamp)f=(e=d.updates[0])==null?void 0:e.timestamp,h=Math.abs(Sf(f)-Sf(c.timestamp))>36E5;e=h?!1:!0}}e?AFa(d,c):a.push(AFa(new zFa,c))}return a},BFa=function(a){var b={};if(a==null)return b;a=ie(a,Wo,1,Rd(),Kc);
a=l(a);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},CFa=function(a,b){return a.map(function(c){var d=c.resourceName;c=c.relation;return b[d]!==void 0&&b[d][c]!==void 0?b[d][c]:!1})},DFa=function(a){return a==null?{closed:0,total:0}:{closed:a.descendantCount-a.openDescendantCount,
total:a.descendantCount}},EFa=function(a,b){if(a==null)return 0;var c=0;a=l(a.aggregatedStatus);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.issueIds===void 0?[]:d.issueIds;d.status===b&&(c+=e.length)}return c},FFa=function(a){var b,c;return(c=a==null?void 0:(b=a.changelists)==null?void 0:b.length)!=null?c:0},GFa=function(a){var b;return(b=a==null?void 0:a.gerritChanges)!=null?b:[]},HFa=function(a){if(a==null)return[];a=[].concat(p(a.assignees.map(function(b){return b.emailAddress})),
p(a.collaborators.map(function(b){return b.emailAddress})),p(a.verifiers.map(function(b){return b.emailAddress})),p(a.reporters.map(function(b){return b.emailAddress}))).filter(fe);return uCa(a)},IFa=function(a,b){var c;a=(c=a.componentPathInfo)==null?void 0:c.allCustomField;if(!a)return!0;c=l(a);var d=c.next();for(a={};!d.done;a={customField$jscomp$6:void 0},d=c.next())if(a.customField$jscomp$6=d.value,a.customField$jscomp$6.required){d=!!a.customField$jscomp$6.typedDefaultValue;var e=void 0,f=void 0,
h=(e=b)==null?void 0:(f=e.snapshot.customField)==null?void 0:f.some(function(k){return function(q){return q.customFieldId===k.customField$jscomp$6.customFieldId}}(a));if(!d&&!h)return!1}return!0},JFa=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},KFa=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"}},LFa=function(a){var b=a.userPrincipals;var c=a.newEditors;var d=a.newImplicitUsers;var e=a.isExternalSession;var f=a.issueId;a=a.actionIssueId;b=JFa(b);return{title:"Allow "+(b===1?"members of the group to ":KFa(b,e)+" to ")+(c.length===0?"comment?":"edit?"),content:"Adding "+d.join(", ")+" will allow "+(b===1?"all members of the group":"them")+" to "+(c.length===0?"comment on ":"edit ")+(f===a?"issue "+
a:"canonical issue "+a)+"."}},MFa=function(a){a=a?a.taskResourceType==="DRIVE"?a.driveResource.fileType:a.taskResourceType:void 0;switch(a){case "DOCUMENT":return"drive-doc";case "PRESENTATION":return"drive-slide";case "SPREADSHEET":return"drive-sheet";case "CHANGELIST":return"critique-logo";case "GERRIT":return"gerrit-logo";case "GOOGLE_TASKS":return"google-tasks-logo";case "IRM":return"irm-logo";case "ISSUE":return"bug_report_24px";case "LAUNCH":return"launch-logo";default:return"link"}},Xo=function(a){return{id:a,
triage:{phase:"NEW",subphase:"TRIAGE_SUBPHASE_UNSPECIFIED"},clusterIds:[]}},NFa=function(a,b){var c=new Map(b.map(function(d){return[d==null?void 0:d.id,d]}));return a.filter(fe).map(function(d){return Object.assign({},d,{experimentalFields:c.get(d.issueId)})})},PFa=function(){return OFa.performance&&OFa.PerformanceObserver&&typeof window.performance.getEntriesByType==="function"&&typeof window.performance.mark==="function"&&typeof window.performance.measure==="function"},QFa=function(a){var b=a.name;
if(b!=null&&(a=Math.round(a.duration),!isNaN(a))){var c=l(b.split(" -> "));b=c.next().value;c=c.next().value;if(b!=null&&c!=null)return{from:b,to:c,duration:a}}},SFa=function(a){a=a.sort(function(d,e){return d.startTime-e.startTime});var b=a.find(RFa);if(b!=null){var c=b.name.split(" -> ")[1];return a.find(function(d){return d.name===c})}},WFa=function(){var a=window.performance.getEntries(),b=SFa(a);if(b==null)return[];var c=b.startTime;return a.filter(TFa).filter(UFa).filter(VFa).filter(function(d){return d.startTime<=
c})},RFa=function(a){var b=a.entryType;a=a.name;return b==="measure"&&a.startsWith("browserStart")},TFa=function(a){return!a.name.startsWith("Zone")},VFa=function(a){return a.entryType==="resource"},XFa=function(a){return a.initiatorType==="xmlhttprequest"},UFa=function(a){return a.name.match(/\.html$/)==null},YFa=function(a,b){var c=b.transferSize||0,d=a.count+1,e=a.cacheHits+(c===0?1:0);return{count:d,duration:a.duration+b.duration,transferSize:a.transferSize+c,cacheHits:e,cacheHitRate:e/d}},$Fa=
function(){return typeof ZFa.gtag==="function"},aGa=function(a){if(a!=null&&!(a.duration>=3E4))return{hitType:"event",eventCategory:"cf",eventAction:a.from,eventLabel:a.to,eventValue:a.duration}},dGa=function(a){a=a.getEntries().map(QFa).map(aGa);a=l(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;if(c&&c.hitType){b=c.hitType;var d=c.eventAction;var e=c.eventCategory,f=c.eventLabel;c=c.eventValue;d=Object.assign({},d!==void 0?{event_action:d}:{},e!==void 0?{event_category:e}:{},f!==void 0?
{event_label:f}:{},c!==void 0?{event_value:c}:{});bGa(b,d)}}setTimeout(cGa,100)},cGa=function(){if(!eGa){var a=WFa(),b=a.filter(function(c){return!XFa(c)}).reduce(YFa,fGa());Yo("r-until-cf","asset","count",b.count);Yo("r-until-cf","asset","transferSize",b.transferSize);Yo("r-until-cf","asset","duration",b.duration);Yo("r-until-cf","asset","cacheHitRate",b.cacheHitRate);a=a.filter(XFa).reduce(YFa,fGa());Yo("r-until-cf","xhr","count",a.count);Yo("r-until-cf","xhr","transferSize",a.transferSize);Yo("r-until-cf",
"xhr","duration",a.duration);eGa=!0}},Yo=function(a,b,c,d){bGa(a,Object.assign({},b!==void 0?{event_action:b}:{},c!==void 0?{event_label:c}:{},d!==void 0?{event_value:d}:{}))},Zo=function(a,b){gGa[a]=b;hGa&&ne("[stub gtag.ts] Event scoped dimension set {"+a+": "+b+")}")},iGa=function(a){if($Fa()){var b={};ZFa.gtag("set","user_properties",(b.dimension13=a,b))}hGa&&ne("[stub gtag.ts] gtag('set', 'user_properties', {dimension13: "+a+")}")},bGa=function(a,b){b!=null&&(jGa("page_location","Scrubbed Page URL"),
jGa("page_title","Scrubbed Page Title"),b=Object.assign({},gGa,b),$Fa()&&ZFa.gtag("event",a,b),hGa&&ne("[stub gtag.ts] gtag('event')",a,b))},jGa=function(a,b){if($Fa()){var c={};ZFa.gtag("set",(c[a]=b,c))}hGa&&ne("[stub gtag.ts] gtag('set', {"+a+": "+b+")}")},oGa=function(){var a=a===void 0?Yo:a;var b=Date.now(),c=$o(b);$o(kGa())!==c?a("retention","first-visit"):(c=$o(b),$o(kGa())===c&&lGa()===1&&a("retention","second-visit"));a=$o(b);$o(kGa())!==a?mGa(1):(a=lGa()||0,mGa(a+1));nGa(b)},$o=function(a){if(a!=
null)return(new Date(a)).toLocaleDateString()},pGa=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;A=u=0}function b(D){for(var H=h,O=0;O<64;O+=4)H[O/4]=D[O]<<24|D[O+1]<<16|D[O+2]<<8|D[O+3];for(O=16;O<80;O++)D=H[O-3]^H[O-8]^H[O-14]^H[O-16],H[O]=(D<<1|D>>>31)&4294967295;D=e[0];var P=e[1],S=e[2],aa=e[3],ia=e[4];for(O=0;O<80;O++){if(O<40)if(O<20){var la=aa^P&(S^aa);var ya=1518500249}else la=P^S^aa,ya=1859775393;else O<60?(la=P&S|aa&(P|S),ya=2400959708):
(la=P^S^aa,ya=3395469782);la=((D<<5|D>>>27)&4294967295)+la+ia+ya+H[O]&4294967295;ia=aa;aa=S;S=(P<<30|P>>>2)&4294967295;P=D;D=la}e[0]=e[0]+D&4294967295;e[1]=e[1]+P&4294967295;e[2]=e[2]+S&4294967295;e[3]=e[3]+aa&4294967295;e[4]=e[4]+ia&4294967295}function c(D,H){if(typeof D==="string"){D=unescape(encodeURIComponent(D));for(var O=[],P=0,S=D.length;P<S;++P)O.push(D.charCodeAt(P));D=O}H||(H=D.length);O=0;if(u==0)for(;O+64<H;)b(D.slice(O,O+64)),O+=64,A+=64;for(;O<H;)if(f[u++]=D[O++],A++,u==64)for(u=0,b(f);O+
64<H;)b(D.slice(O,O+64)),O+=64,A+=64}function d(){var D=[],H=A*8;u<56?c(k,56-u):c(k,64-(u-56));for(var O=63;O>=56;O--)f[O]=H&255,H>>>=8;b(f);for(O=H=0;O<5;O++)for(var P=24;P>=0;P-=8)D[H++]=e[O]>>P&255;return D}for(var e=[],f=[],h=[],k=[128],q=1;q<64;++q)k[q]=0;var u,A;a();return{reset:a,update:c,digest:d,digestString:function(){for(var D=d(),H="",O=0;O<D.length;O++)H+="0123456789ABCDEF".charAt(Math.floor(D[O]/16))+"0123456789ABCDEF".charAt(D[O]%16);return H}}},vGa=function(a,b){b=b===void 0?qGa:b;
if(!rGa){var c;a=(c=a.navigator)==null?void 0:c.userAgentData;if(!a||typeof a.getHighEntropyValues!=="function"||a.brands&&typeof a.brands.map!=="function")return Promise.reject(Error("Jc"));sGa((a.brands||[]).map(function(e){var f=new tGa;return lf(f,1,e.brand).setVersion(e.version)}));typeof a.mobile==="boolean"&&hf(uGa,2,a.mobile);rGa=a.getHighEntropyValues(b)}var d=new Set(b);return rGa.then(function(e){var f=uGa.clone();d.has("platform")&&f.setPlatform(e.platform);d.has("platformVersion")&&lf(f,
4,e.platformVersion);d.has("architecture")&&lf(f,5,e.architecture);d.has("model")&&f.setModel(e.model);d.has("uaFullVersion")&&lf(f,7,e.uaFullVersion);return f.serialize()}).catch(function(){return uGa.serialize()})},wGa=function(a){this.currBaseValue_=this.currValue_=this.initialValue_=a},xGa=function(){return rd.apply(0,arguments).map(String).join("__")},zGa=function(){for(var a={},b=l(Object.entries(yGa)),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;d>1&&(a[c]=
d)}return a},AGa=function(){var a=Object.values(yGa),b=a.map(function(c){return c-1}).reduce(Zf,0);a=a.reduce(Zf,0);return{total:a,redundant:b,redundancyRatio:Math.round(b/a*100)/100}},BGa=function(a){for(var b=[];a;){var c=void 0,d=void 0;b.push((d=(c=a.routeConfig)==null?void 0:c.path)!=null?d:"");c=void 0;a=(c=a.children)==null?void 0:c[0]}return b.join("/")},CGa=function(a){return a instanceof go},DGa=function(a){return a instanceof ap},EGa=function(a){return function(b){return new bi(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()})})})}},FGa=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},IGa=function(){var a=window.defrostedResourcesJspb;if(a&&Array.isArray(a))if(a=ida(GGa,HGa(a))){if((a=ie(a,bp,1,Rd()))&&a.length===1)return Io(a[0])}else oe("Defroster: found data, but it was unparseable. This is unintended but will not cause a user-visible issue.")},
JGa=function(a){if(a){var b=a?{ancestors:a.ancestors,childIssueCount:a.childIssueCount,relatedLinks:a.relatedLinks,statusUpdate:a.statusUpdate,description:a.description}:void 0;return Object.assign({},{issueId:a.issueId},b)}},KGa=function(a){var b=l(a.split("-"));a=b.next().value;b=b.next().value;return{issueId:a,recommendationType:b}},LGa=function(a){var b=new cp;b=ll(b,1,Number(a.targetIssueId));return ll(b,2,a.afterIssueId?Number(a.afterIssueId):void 0)},MGa=function(a){return{targetIssueId:String(Re(a,
1)),afterIssueId:pe(Re(a,2))?String(Re(a,2)):void 0}},NGa=function(a){return{sourceIssueId:pe(Re(a,3)),issueRelationships:a.getIssueRelationshipsList().map(MGa),totalSize:a.getTotalSize()}},OGa=function(a){var b=[];a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b.push({issueId:c,relatedChildren:d.issueRelationships,totalChildCount:d.totalSize})}return b},PGa=function(a){return!(a==null||!a.relatedChildren.length)},RGa=function(a,b){var c=
[].concat(p(a));a=new Set(a.map(function(h){return h.targetIssueId}));b=l(b);for(var d=b.next(),e={};!d.done;e={newItem$jscomp$6:void 0},d=b.next())if(e.newItem$jscomp$6=d.value,!a.has(e.newItem$jscomp$6.targetIssueId)){d=c.findIndex(function(h){return function(k){return k.targetIssueId===h.newItem$jscomp$6.afterIssueId}}(e));var f=void 0;f=e.newItem$jscomp$6.afterIssueId?d===-1?c.length:d+1:0;c.splice(f,0,e.newItem$jscomp$6);a.add(e.newItem$jscomp$6.targetIssueId)}return QGa(c)},SGa=function(a,b){return QGa(a.filter(function(c){return c.targetIssueId!==
b}))},QGa=function(a){for(var b=[],c=l(a.entries()),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;var f=e.next().value;e=void 0;d=Object.assign({},f,{afterIssueId:(e=a[d-1])==null?void 0:e.targetIssueId});b.push(d)}return b},TGa=function(a){var b=new Map;a=l(a);for(var c=a.next(),d={};!c.done;d={previousOperation:void 0},c=a.next()){var e=c.value;c=e.issues.map(function(f){return f.issueId}).join(",");d.previousOperation=b.get(c);d.previousOperation?(e={newParentId:e.newParentId,
newRelations:e.newRelations,issues:d.previousOperation.issues,eventTimestamps:[].concat(p(d.previousOperation.eventTimestamps),p(e.eventTimestamps)),newParentChildrenSnapshot:e.newParentChildrenSnapshot,done:e.done},e.done.promise.then(d.previousOperation.done.resolve).catch(function(f){return function(h){f.previousOperation.done.reject(h);throw h;}}(d)),b.set(c,e)):b.set(c,e)}b=[].concat(p(b.values()));a=l(b);d=a.next();for(c={};!d.done;c={operation$jscomp$5:void 0},d=a.next())c.operation$jscomp$5=
d.value,c.operation$jscomp$5.newRelations=c.operation$jscomp$5.newRelations.map(function(f){return function(h){return f.operation$jscomp$5.newParentChildrenSnapshot.find(function(k){return k.targetIssueId===h.targetIssueId})}}(c));return b.sort(function(f,h){var k=f.newParentChildrenSnapshot,q=h.newParentChildrenSnapshot;f=Math.min.apply(Math,p(f.issues.map(function(u){return k.findIndex(function(A){return A.targetIssueId===u.issueId})})));h=Math.min.apply(Math,p(h.issues.map(function(u){return q.findIndex(function(A){return A.targetIssueId===
u.issueId})})));return f===h?0:f<h?-1:1})},ZGa=function(a){return a?(a=a.getResponse())?ie(a,UGa,1,Rd()).map(function(b){if(b&&b.getObjective()){var c,d;var e=b.getObjective(),f=(c=b.getUri())==null?void 0:c.getResourcePath();if(e&&e.getId()){var h,k;c={objectiveId:f!=null?f:e.getId(),title:e.getTitle(),url:Xga(e.getUrl()),priorityRating:VGa(e==null?void 0:(h=e.getPriority())==null?void 0:Zd(h,1)),keyResults:(k=ie(e,WGa,7,Rd()).map(XGa).filter(fe))!=null?k:[]}}else c=void 0;b={objective:c,periodLabel:(d=
r(b,YGa,4))==null?void 0:d.getLabel()}}else b=void 0;return b}).filter(fe):[]:[]},XGa=function(a){if(a&&a.getId()){var b;return{keyResultId:a.getId(),title:a.getTitle(),url:Xga(a.getUrl()),priorityRating:VGa(a==null?void 0:(b=a.getPriority())==null?void 0:Zd(b,1))}}},VGa=function(a){if(!a)return"RATING_UNSPECIFIED";switch(a){case 1:return"P0";case 2:return"P1";case 3:return"P2";case 4:return"P3";case 5:return"P4";default:return"RATING_UNSPECIFIED"}},bHa=function(a){return a.getResponsesList().map(function(b){return ie(b,
$Ga,1,Rd()).map(aHa)}).flat().filter(function(b){return b.signals.length>0})},aHa=function(a){var b=cHa(a.getTask());a=ie(a,dHa,2,Rd());return{task:b,signals:a.map(eHa).filter(fe)}},gHa=function(a){return a.getResponsesList().map(function(b){return ie(b,fHa,1,Rd()).map(cHa).filter(fe)}).flat()},cHa=function(a){if(a){var b=a.getTaskId(),c=hHa(Zd(a,2)),d=a.getTitle(),e=te(a.getCreatedTimestamp()),f=te(a.getLastModifiedTimestamp()),h=a.getExternalLink();var k=ie(a,iHa,7,Rd());b={taskId:b,taskResourceType:c,
title:d,createdTimestamp:e,lastModifiedTimestamp:f,externalLink:h,resourceRelationships:k.map(jHa),isStaleTask:De(a,13),snoozeUntilTimestamp:te(r(a,ue,14)),manualSignalTimestamp:te(r(a,ue,15))};a.hasDriveResource()?(a=a.getDriveResource(),a={fileType:kHa[Zd(a,1)],lastMentionTimestamp:te(r(a,ue,2)),lastMentionLink:Oc(a,4),docwrapRequestTimestamp:te(r(a,ue,3)),docwrapRequestLink:Oc(a,5)},b.driveResource=a):Yk(a,lHa,9,mHa)&&(a=Zk(a,lHa,9,mHa),a={priority:cm[a.getPriority()],accessLevel:yta[a.getAccessLevel()],
hotlistIds:a.getHotlistIdsList_asLegacyNumberOrString($d)},b.issueResource=a);return b}},jHa=function(a){return{category:nHa[a.getCategory()],roleName:Oc(a,2)}},eHa=function(a){var b={timestamp:te(a.getTimestamp()),url:Xga(a.getUrl()),signalStatus:De(a,8)?1:0};if(Yk(a,oHa,3,dp)){a=Zk(a,oHa,3,dp);var c={signal:pHa[a.getSignal()]};ep.has(c.signal)?(fp(a,2,qHa)!=null&&(c.commentId=a.getCommentId()),a=c):a=null;if(!a)return null;b.driveAlert=a}else if(Yk(a,gp,5,dp)){c=Zk(a,gp,5,dp);a={signal:rHa[c.getSignal()]};
if(ep.has(a.signal)){Me(c,we,4)&&(a.reviewEstimate=yfa(r(c,we,4)));c=r(c,sHa,5);var d=c==null?void 0:Zk(c,tHa,2,uHa);c=d?{currentAvailability:{comeBackTimestamp:te(d.getComeBackTimestamp())}}:(c=c==null?void 0:Zk(c,vHa,1,uHa))?{futureAvailability:{comeBackTimestamp:te(c.getComeBackTimestamp()),futureOooTimestamp:te(r(c,ue,1))}}:void 0;a.clAuthorAvailability=c}else a=null;if(!a)return null;b.changelistAlert=a}else if(Yk(a,wHa,4,dp)){c=Zk(a,wHa,4,dp);a={signal:xHa[c.getSignal()]};if(ep.has(a.signal)){if(d=
c.getCommentNumbers())d=Sd(d,1,Rd($d)),d.length>0&&(a.commentNumbers=d);if(c=Zk(c,yHa,3,zHa))a.configurableAlertSubscriptionId=Oc(c,1)}else a=null;if(!a)return null;b.issueAlert=a}else if(Yk(a,AHa,7,dp)){a=Zk(a,AHa,7,dp);a={signal:BHa[a.getSignal()]};a=ep.has(a.signal)?a:null;if(!a)return null;b.gerritAlert=a}else if(Yk(a,CHa,9,dp)){a=Zk(a,CHa,9,dp);a={signal:Tga[a.getSignal()]};a=ep.has(a.signal)?a:null;if(!a)return null;b.googleTasksAlert=a}else if(Yk(a,DHa,10,dp)){a=Zk(a,DHa,10,dp);a={signal:Uga[a.getSignal()]};
a=ep.has(a.signal)?a:null;if(!a)return null;b.irmAlert=a}return b},hHa=function(a){switch(a){case 1:return"CHANGELIST";case 2:return"DRIVE";case 3:return"ISSUE";case 4:return"LAUNCH";case 5:return"GERRIT";case 6:return"GOOGLE_TASKS";case 7:return"IRM";default:return"TASK_RESOURCE_TYPE_UNSPECIFIED"}},EHa=function(a){switch(a){case "CHANGELIST":return 1;case "DRIVE":return 2;case "ISSUE":return 3;case "LAUNCH":return 4;case "GERRIT":return 5;case "GOOGLE_TASKS":return 6;case "IRM":return 7;default:return 0}},
FHa=function(a){switch(a){case 0:return 0;case 1:return 5;case 2:return 2;default:return 0}},GHa=function(a){if(!a)return 0;switch(a){case "ISSUE_TYPE_GROUPS_UNSPECIFIED":return 0;case "STANDARD_TYPES":return 1;case "WTDM_TYPES":return 2;default:return 0}},IHa=function(a){return a?HHa[a]:HHa.ISSUE_SIGNAL_UNSPECIFIED},KHa=function(a){return a?JHa[a]:JHa.DRIVE_SIGNAL_UNSPECIFIED},MHa=function(a){return a?LHa[a]:LHa.CHANGELIST_SIGNAL_UNSPECIFIED},OHa=function(a){return a?NHa[a]:NHa.GERRIT_CHANGE_SIGNAL_UNSPECIFIED},
PHa=function(a){return a?Lga[a]:Lga.GOOGLE_TASKS_SIGNAL_UNSPECIFIED},QHa=function(a){return a?Nga[a]:Nga.IRM_SIGNAL_UNSPECIFIED},RHa=function(a){if(a=a.getResponse())return{commentId:a.getCommentId(),authorDisplayName:Oc(a,2),content:a.getContent(),lastModifiedTimestamp:te(r(a,ue,4))}},THa=function(a,b){if(!b||!b.getData())return[];a=b.getContextsMap().get(a);if(!a)return[];var c=a.getIterationIdsList_asString(),d,e;return Array.from((e=(d=b.getData())==null?void 0:d.getIterationsMap())!=null?e:[],
function(f){if(c.some(function(u){return u===f[0].toString()})){var h=f[1],k,q=(k=b.getData())==null?void 0:k.getWorkspacesMap().get(h.getWorkspaceId());return SHa(h,q)}}).filter(fe)},SHa=function(a,b){if(a&&a.getType()===3){var c=(new Date).getTime()/1E3,d=te(a.getStartTime()),e=te(a.getEndTime());c=c>=d.seconds&&c<e.seconds;b=b&&b.getWorkspaceId_asString()!=="0"?{workspaceId:b.getWorkspaceId_asString(),name:b.getName()}:void 0;if(c&&b)return{name:a.getName(),iterationId:a.getIterationId_asString(),
workspace:b,startTimestamp:d,endTimestamp:e}}},WHa=function(a){var b=a.getResponse();return b&&ie(b,hp,1,Rd())&&r(b,UHa,2)?ie(b,hp,1,Rd()).map(function(c){var d=r(b,UHa,2);if(c&&d){var e=c.getId();d=THa(c.getId(),d);var f=c.getId(),h;c=c&&sc(c,15,VHa,Vb)?(h=sc(c,15,VHa,Vb).get(f))==null?void 0:Qd(h,1,Rd()):void 0;e={workItemId:e,iterations:d,okrIds:c}}else e=void 0;return e}).filter(fe):[]},ip=function(a){return a==="CRITIQUE"?"CHANGELIST":a==="DRIVE"?"DRIVE":a==="BUGANIZER"?"ISSUE":a==="WTDM"||a===
"NON_WTDM"?"ISSUE":a==="GERRIT"?"GERRIT":a==="GOOGLE_TASKS"?"GOOGLE_TASKS":a==="IRM"?"IRM":"TASK_RESOURCE_TYPE_UNSPECIFIED"},$Ha=function(a){var b={};a=l(sc(a,1,XHa,Vb,Kc).entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b[c]={principalType:YHa[Zd(d,1)],detailedUserType:ZHa[Zd(d,2)]}}return b},aIa=function(a,b){return a.map(function(c){return b[c]||null})},bIa=function(){return{principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}},cIa=function(a){switch(a){case 1:return"daily";
case 2:return"weekly";case 3:return"monthly";case 0:break;default:qb(a)}},dIa=function(a){switch(a){case "daily":return 1;case "weekly":return 2;case "monthly":return 3;default:return qb(a)}},eIa=function(a){var b={id:a.getId()};a.getVersion()&&(b.version=a.getVersion());return b},fIa=function(a){var b=(new jp).setId(a.id);a.version&&b.setVersion(a.version);return b},gIa=function(a){return{hours:a.getHours(),minutes:a.getMinutes(),seconds:a.getSeconds(),nanos:a.getNanos()}},hIa=function(a){return(new kp).setHours(a.hours).setMinutes(a.minutes).setSeconds(a.seconds).setNanos(a.nanos)},
iIa=function(a){var b;return((b=a.getTeamSloEditPolicy())==null?void 0:Zd(b,2))===1},jIa=function(a){var b;return((b=r(a,lp,1,Kc))==null?void 0:b.getEffectiveSloEditPolicy())===1},lIa=function(a){var b=r(a,Ud,2),c=cIa(a.getFrequency()),d=a.getTimeZone(),e=a.getTimeOfDay();if(b==null)throw Error("Pc");if(c==null)throw Error("Qc");if(d==null)throw Error("Rc");if(e==null)throw Error("Sc");var f=a.getId_asLegacyNumberOrString();b=ae(b);var h=a.getOrdinal();d=eIa(d);e=gIa(e);var k=wl(a,7),q=$e(a,8,Rd()).map(Eua);
a=kIa(a,9,Rd($d));return{id:f,lead:b,frequency:c,ordinal:h,timeZone:d,timeOfDay:e,daysRemaining:k,types:q,sloIds:a}},mIa=function(a){var b=(new mp).setId(a.id),c=Yd(a.lead);b=t(b,Ud,2,c).setFrequency(dIa(a.frequency)).setOrdinal(a.ordinal).setTimeZone(fIa(a.timeZone)).setTimeOfDay(hIa(a.timeOfDay)).setDaysRemaining(a.daysRemaining);c=a.types.map(Fua);b=np(b,8,c);return op(b,9,a.sloIds)},nIa=function(a){return Mua(a.getIt())},oIa=function(a){var b=new pp,c=b.setIt;var d=(new qp).setSloId(a.sloId).setName(a.name).setDescription(a.description).setParentId(a.parentId);
var e=a.elements.map(Rua);d=Ol(d,5,e);e=a.effectiveElements.map(Rua);d=Ol(d,6,e).setIsArchived(a.isArchived);a:switch(a=a.alertState,a){case "OFF":a=1;break a;case "ON":a=2;break a;default:throw Error("Bb`"+a);}a=Xd(d,8,a);return c.call(b,a)},pIa=function(a){return{id:a.getId_asString(),name:a.getName(),description:a.getDescription()}},qIa=function(a){if(a=a.getIt())return pza(a);throw Error("Tc");},rIa=function(a){return{teamId:a.getId_asString(),name:a.getName(),description:a.getDescription(),pathNames:a.getPathNamesList($d),
pathIds:a.getPathIdsList_asString()}},sIa=function(a){return{teamId:a,version:0,name:a,description:"",pathIds:[a],pathNames:[a],collapsedPathNames:[a],members:[],deleted:!1,slo:{inherit:!1,sloId:"0",comment:"",sourceTeamId:"0"}}},tIa=function(a){return{id:a,triage:[{id:0}],playbooks:[]}},uIa=function(a){return a.endsWith("?")?a.slice(0,a.length-1):a},vIa=function(a){var b;return(b=be(a))!=null?b:null},wIa=function(a){var b;return(b=ce(a))!=null?b:null},xIa=function(a,b){b=(b===void 0?{}:b).comment;
return{path:"/issues/"+a,fragment:b?"comment"+b:void 0}},sp=function(a,b){b=b===void 0?{}:b;b=b===void 0?{}: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},yIa=function(a){var b={};a=(b.component=a||void 0,b);a=a===void 0?{}:a;return{path:"/issues/new",queryParams:a}},zIa=function(a){return{path:"/components/"+a}},AIa=function(a){var b={};a&&(b.componentId=a);return{path:"/components",queryParams:b}},
BIa=function(a){return{path:"/slos/"+a+"/edit"}},CIa=function(a){var b;return(a==null?void 0:(b=a.userData)==null?void 0:b.starred)||!1},DIa=function(a){var b;return(a==null?void 0:(b=a.userData)==null?void 0:b.lastViewedTimeMicros)||0},EIa=function(a){var b;return(b=cg(a))==null?void 0:b.title},FIa=function(a){var b,c;return(c=(b=cg(a))==null?void 0:b.status)!=null?c:void 0},GIa=function(a){var b,c;return(c=(b=cg(a))==null?void 0:b.priority)!=null?c:void 0},HIa=function(a){var b,c;return(c=(b=cg(a))==
null?void 0:b.assigneeUser)!=null?c:void 0},IIa=function(a){var b,c;return(c=(b=cg(a))==null?void 0:b.reporterUser)!=null?c:void 0},JIa=function(a){var b;a=a==null?void 0:(b=a.aggregatedData)==null?void 0:b.teamId;return ce(a)},KIa=function(a){var b;a=(b=cg(a))==null?void 0:b.componentId;return ce(a)},LIa=function(a){var b,c;return(c=(b=cg(a))==null?void 0:b.ccUsers)!=null?c:[]},MIa=function(a){var b,c;return(c=(b=cg(a))==null?void 0:b.issueAccessLimitLevel)!=null?c:"LIMIT_NONE"},NIa=function(a){var b,
c;return(c=(b=cg(a))==null?void 0:b.collaboratorsUsers)!=null?c:[]},OIa=function(a){var b,c;return(c=(b=cg(a))==null?void 0:b.type)!=null?c:void 0},PIa=function(a){var b,c;return(c=(b=cg(a))==null?void 0:b.foundInVersion)!=null?c:[]},QIa=function(a){var b,c;return(c=(b=cg(a))==null?void 0:b.targetedToVersion)!=null?c:[]},RIa=function(a){var b,c;return(c=(b=cg(a))==null?void 0:b.changelist)!=null?c:[]},SIa=function(a){var b,c;return(c=(b=cg(a))==null?void 0:b.postmortems)!=null?c:[]},TIa=function(a){var b;
return((b=cg(a))==null?void 0:b.inProd)||!1},UIa=function(a){var b;return(b=cg(a))==null?void 0:b.effort},VIa=function(a){var b,c;return(c=(b=cg(a))==null?void 0:b.staffing)!=null?c:void 0},WIa=function(a){var b;return a==null?void 0:(b=a.aggregatedData)==null?void 0:b.voteCount},XIa=function(a){var b;return(a==null?void 0:(b=a.userData)==null?void 0:b.voted)||!1},ZIa=function(a){return YIa(a)},YIa=function(a){var b,c;return(c=(b=cg(a))==null?void 0:b.isDeleted)!=null?c:!1},aJa=function(a){return $Ia(a)},
$Ia=function(a){var b;return a==null?void 0:(b=a.accessLimit)==null?void 0:b.accessLevel},bJa=function(a){return(a=a==null?void 0:a.aggregatedData)&&Math.round(a.modifiedTimeMicros/1E3)},dJa=function(a){return cJa(a)},cJa=function(a){var b,c;return(c=(b=cg(a))==null?void 0:b.retention)!=null?c:void 0},eJa=function(a){var b,c;return(c=(b=cg(a))==null?void 0:b.duplicateOfIssueId)!=null?c:void 0},gJa=function(a){return fJa(a)},fJa=function(a){var b,c;return(c=a==null?void 0:(b=a.aggregatedData)==null?
void 0:b.retentionState)!=null?c:void 0},hJa=function(a){var b;return ce(a==null?void 0:(b=a.aggregatedData)==null?void 0:b.sloId)},iJa=function(a){var b;return a==null?void 0:(b=a.aggregatedData)==null?void 0:b.createdTimeMicros},jJa=function(a){return a==null?void 0:a.effortSpec},kJa=function(a){a=jJa(a);return!(!a||!a.name&&!a.inherit)},lJa=function(a){return a==null?void 0:a.componentPathInfo},oJa=function(a){if(!a)return{};var b,c=l((b=a.match(mJa))!=null?b:[]);c.next();b=c.next().value;var d;
a=l((d=a.match(nJa))!=null?d:[]);a.next();d=a.next().value;return{commentNumber:be(b),commentVersion:be(d)}},tp=function(a){var b;a.subscribe(function(c){b=c}).unsubscribe();return b},up=function(a){var b=b===void 0?"":b;var c,d=!1;a.subscribe(function(e){d=!0;c=e}).unsubscribe();if(!d)throw Error("Wc`"+b);return c},vp=function(a){a||(a=x(Cj));var b=new bi(function(c){if(a.destroyed)c.next();else return a.onDestroy(c.next.bind(c))});return function(c){return c.pipe(tj(b))}},pJa=function(a){return Dua(a.getIt().getMentionsList($d)).map(function(b){return b.mentionedUser}).map(Jd).map(function(b){return b||
""})},qJa=function(a){a=a.getIt();return a.hasFormattedComment()?Gl(a.getFormattedComment()):{}},rJa=function(a){switch(a.formattingMode){case "LITERAL":return li({literalFormat:{content:md(a.comment)}});case "MARKDOWN":return a={markdownFormat:{content:md("")}},li(a);case void 0:case "PLAIN":case "UNSPECIFIED_FORMATTING_MODE":return a={plainFormat:{plainSection:[{isQuoted:!1,content:md(a.comment)}]}},li(a);default:return qb(a.formattingMode,"Unknown formatting mode: "+a.formattingMode)}},wp=function(){return jj(function(a,
b){return vd(a,b)})},sJa=function(){return function(a){return a.pipe(C(function(b){return{event:b,timestamp:Date.now()}}),Hpa(a.pipe(fj(1E4,xp))))}},tJa=function(a){if(a&1){var b=y();L(0,"div",5)(1,"div",6);U(2," Relative link may be malformed:\u00a0 ");L(3,"code");U(4);M();L(5,"button",7);Q("click",function(){z(b);var c=R(2);c.copyToClipboard();return B(c.hide())});N(6,"mat-icon",8);M()();L(7,"div",6);U(8," Force open as: \u00a0 ");L(9,"a",9);Q("click",function(c){z(b);var d=R(2);uha(c)||(c.preventDefault(),
c.stopPropagation(),yp(d.domSafe,"http://"+d.originalHref));return B(d.hide())});U(10);M()()()}a&2&&(a=R(2),E(4),tk(a.originalHref),E(5),K("href",zk("http://",a.originalHref),Ni),E(),V(" http://",a.originalHref," "))},uJa=function(a){a&1&&I(0,tJa,11,4,"div",5);a&2&&(a=R(),J(a.opened?0:-1))},wJa=function(a){return a==null||vJa(a)===0},vJa=function(a){if(a!=null){if(Array.isArray(a)||typeof a==="string")return a.length;if(a instanceof Set)return a.size}return null},xJa=function(a){return function(b){if(b.value==
null||a==null)return null;var c=parseFloat(b.value);return!isNaN(c)&&c<a?{min:{min:a,actual:b.value}}:null}},yJa=function(a){return function(b){if(b.value==null||a==null)return null;var c=parseFloat(b.value);return!isNaN(c)&&c>a?{max:{max:a,actual:b.value}}:null}},zJa=function(a){return wJa(a.value)?{required:!0}:null},AJa=function(a){return function(b){var c,d,e=(d=(c=b.value)==null?void 0:c.length)!=null?d:vJa(b.value);return e!==null&&e>a?{maxlength:{requiredLength:a,actualLength:e}}:null}},CJa=
function(a){if(!a)return BJa;if(typeof a==="string"){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(wJa(d.value))return null;d=d.value;return c.test(d)?null:{pattern:{requiredPattern:b,actualValue:d}}}},BJa=function(){return null},DJa=function(a){return a!=null},EJa=function(a){return Bpa(a)?di(a):a},FJa=function(a){var b={};a.forEach(function(c){b=c!=null?Object.assign({},b,c):b});return Object.keys(b).length===
0?null:b},GJa=function(a,b){return b.map(function(c){return c(a)})},HJa=function(a){return a.map(function(b){return b.validate?function(c){return b.validate(c)}:b})},IJa=function(a){if(!a)return null;var b=a.filter(DJa);return b.length==0?null:function(c){return FJa(GJa(c,b))}},JJa=function(a){return a!=null?IJa(HJa(a)):null},KJa=function(a){if(!a)return null;var b=a.filter(DJa);return b.length==0?null:function(c){c=GJa(c,b).map(EJa);return xi(c).pipe(C(FJa))}},LJa=function(a){return a!=null?KJa(HJa(a)):
null},MJa=function(a,b){return a===null?[b]:Array.isArray(a)?[].concat(p(a),[b]):[a,b]},NJa=function(a,b){return Array.isArray(a)?a.includes(b):a===b},OJa=function(a){var b=[zp],c=a?Array.isArray(a)?a:[a]:[];(b?Array.isArray(b)?b:[b]:[]).forEach(function(d){NJa(c,d)||c.push(d)});return c},PJa=function(a,b){return[].concat(p(b.path),[a])},VJa=function(a,b,c){c=c===void 0?"whenDisabledForLegacyCode":c;QJa(a,b);b.valueAccessor.writeValue(a.value);if(a.disabled||c==="always"){var d,e;(e=(d=b.valueAccessor).setDisabledState)==
null||e.call(d,a.disabled)}RJa(a,b);SJa(a,b);TJa(a,b);UJa(a,b)},XJa=function(a,b){var c=function(){};b.valueAccessor&&(b.valueAccessor.registerOnChange(c),b.valueAccessor.registerOnTouched(c));WJa(a,b);a&&(b._invokeOnDestroyCallbacks(),a._registerOnCollectionChange(function(){}))},YJa=function(a,b){a.forEach(function(c){c.registerOnValidatorChange&&c.registerOnValidatorChange(b)})},UJa=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)})}},QJa=function(a,b){var c=a._rawValidators;b.validator!==null?ZJa(a,MJa(c,b.validator)):typeof c==="function"&&ZJa(a,[c]);c=a._rawAsyncValidators;b.asyncValidator!==null?$Ja(a,MJa(c,b.asyncValidator)):typeof c==="function"&&$Ja(a,[c]);c=function(){return Ap(a)};YJa(b._rawValidators,c);YJa(b._rawAsyncValidators,c)},WJa=function(a,b){var c=!1;if(a!==null){if(b.validator!==null){var d=a._rawValidators;if(Array.isArray(d)&&d.length>0){var e=
d.filter(function(f){return f!==b.validator});e.length!==d.length&&(c=!0,a._assignValidators(e))}}b.asyncValidator!==null&&(d=a._rawAsyncValidators,Array.isArray(d)&&d.length>0&&(e=d.filter(function(f){return f!==b.asyncValidator}),e.length!==d.length&&(c=!0,a._assignAsyncValidators(e))))}a=function(){};YJa(b._rawValidators,a);YJa(b._rawAsyncValidators,a);return c},RJa=function(a,b){b.valueAccessor.registerOnChange(function(c){a._pendingValue=c;a._pendingChange=!0;a._pendingDirty=!0;a.updateOn===
"change"&&aKa(a,b)})},TJa=function(a,b){b.valueAccessor.registerOnTouched(function(){a._pendingTouched=!0;a.updateOn==="blur"&&a._pendingChange&&aKa(a,b);a.updateOn!=="submit"&&Pqa(a)})},aKa=function(a,b){a._pendingDirty&&bKa(a);a.setValue(a._pendingValue,{emitModelToViewChange:!1});b.viewToModelUpdate(a._pendingValue);a._pendingChange=!1},SJa=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)})},
cKa=function(a,b){if(!a.hasOwnProperty("model"))return!1;a=a.model;return a.firstChange?!0:!Object.is(b,a.currentValue)},dKa=function(a,b){a._syncPendingControls();b.forEach(function(c){var d=c.control;d.updateOn==="submit"&&d._pendingChange&&(c.viewToModelUpdate(d._pendingValue),d._pendingChange=!1)})},eKa=function(a){if(!a)return null;var b=void 0,c=void 0,d=void 0;a.forEach(function(e){e.constructor===Bp?b=e:Object.getPrototypeOf(e.constructor)===Cp?c=e:d=e});return d?d:c?c:b?b:null},Dp=function(a){return a!=
null&&!Array.isArray(a)&&typeof a==="object"},fKa=function(a,b,c){a=a.controls;if(!(b?Object.keys(a):a).length)throw new Ug(1E3,"");if(!a[c])throw new Ug(1001,"");},gKa=function(a,b){a._forEachChild(function(c,d){if(b[d]===void 0)throw new Ug(1002,"");})},hKa=function(a){return typeof a==="object"&&a!==null&&Object.keys(a).length===2&&"value"in a&&"disabled"in a},iKa=function(a){return!!a&&(a.asyncValidators!==void 0||a.validators!==void 0||a.updateOn!==void 0)},lKa=function(a){var b=[],c=[];a=[].concat(p(a)).sort(jKa);
a=kKa(a);a=l(a);for(var d=a.next(),e={};!d.done;e={name$jscomp$344:void 0,operator$jscomp$4:void 0},d=a.next())d=d.value,e.name$jscomp$344=d.name,e.operator$jscomp$4=d.operator,d=d.values,d.length!==0&&b.push(d.map(function(f){return function(h){return oba(h)||qba(h)?f.name$jscomp$344+f.operator$jscomp$4+h:f.name$jscomp$344+f.operator$jscomp$4+'"'+h+'"'}}(e)).join(" "));c.length>0&&b.push("filters="+encodeURIComponent(c.join(",")));return b.join(" ")},kKa=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=
a.next()){var d=c.value;c=d.operator;var e=d.values;if(d=d.id)if(mba(oba)(e))b.push({name:d,operator:c,values:e});else if(mba(nba)(e))b.push({name:d,operator:c,values:e});else if(mba(qba)(e))b.push({name:d,operator:c,values:e});else throw Error("gd`"+e);}return b},Ep=function(a,b,c){if(mKa.includes(a)||nKa.includes(a)||oKa.includes(a))return{id:a,operator:b,values:c};throw Error("hd`"+a);},jKa=function(a,b){return pKa.indexOf(a.id)-pKa.indexOf(b.id)},qKa=function(a){switch(a){case "user":return"borg_user";
case "job":case "job_regex":return"borg_job";case "cell":return"cell";case "index":return"task_index";case "attempt":return"task_attempt_uid";case "min_time":return"start_time";case "max_time":return"end_time";case "q":return"log_text_payload";case "q_invert":return"log_text_payload";case "min_severity":return"severity";case "remote_log_name":return"log_name";case "process_name":return"process_name";case "trace_id":return"trace_id";case "span_id":return"span_id";case "job_uid":return"job_uid";case "process_id":return"local_process_id";
case "src_file":case "inverted_call_site_regex":return"site_path";default:return null}},rKa=function(a,b,c){var d=qKa(a);if(!d)return null;switch(a){case "user":case "job":case "cell":case "trace_id":case "span_id":case "job_uid":case "process_id":case "process_name":case "remote_log_name":return[Ep(d,"=",[b])];case "job_regex":return[Ep(d,"=~",[b])];case "index":case "attempt":case "min_time":case "max_time":return[Ep(d,"=",[Number(b)])];case "q":return[Ep(d,"=",[b.startsWith("(?i)")?b.substring(4):
b])];case "q_invert":return[Ep(d,"!=",[b.startsWith("(?i)")?b.substring(4):b])];case "src_file":return a=c.get("src_line"),[Ep(d,"=~",[a?b+":"+a:b])];case "inverted_call_site_regex":return[Ep(d,"!=",[].concat(p(b.split(","))))];default:return null}},sKa=function(a){switch(a){case "resource.labels.borg_user":return"borg_user";case "resource.labels.borg_job":return"borg_job";case "resource.labels.borg_cell":return"cell";case "resource.labels.borg_task_index":return"task_index";case "resource.labels.borg_task_attempt_uid":return"task_attempt_uid";
case "text_payload":return"log_text_payload";case "severity":return"severity";case "resource.labels.log_name":return"log_name";case "resource.labels.process_name":return"process_name";case "trace":return"trace_id";case "span_id":return"span_id";case "resource.labels.borg_job_uid":return"job_uid";case "resource.labels.local_process_id":return"local_process_id";case "source_location.file":return"site_path";default:return null}},tKa=function(a,b){return this._trackRow(b)},uKa=function(a){a&1&&(L(0,"tr",
0)(1,"td",3),U(2),M()());a&2&&(a=R(),E(),qk("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),Hj("colspan",a.numCols),E(),V(" ",a.label," "))},vKa=function(a){a&1&&(L(0,"td",3),U(1),M());a&2&&(a=R(2),qk("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),Hj("colspan",a._firstRowOffset),E(),V(" ",a._firstRowOffset>=a.labelMinRequiredCells?a.label:""," "))},wKa=function(a,b){if(a&1){var c=y();L(0,"td",6)(1,"button",7);Q("click",function(f){var h=z(c).$implicit,k=R(2);return B(k._cellClicked(h,
f))})("focus",function(f){var h=z(c).$implicit,k=R(2);return B(k._emitActiveDateChange(h,f))});L(2,"span",8);U(3);M();N(4,"span",9);M()()}if(a&2){a=b.$implicit;b=b.$index;var d=R().$index,e=R();qk("width",e._cellWidth)("padding-top",e._cellPadding)("padding-bottom",e._cellPadding);Hj("data-mat-row",d)("data-mat-col",b);E();rk("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));K("ngClass",a.cssClasses)("tabindex",e._isActiveCell(d,b)?0:-1);Hj("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));E();rk("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);E();V(" ",a.displayValue," ")}},yKa=function(a,b){a&1&&(L(0,"tr",1),I(1,vKa,2,6,"td",4),Mj(2,wKa,5,48,"td",5,xKa),M());if(a&2){a=b.$implicit;b=b.$index;var c=R();E();J(b===0&&c._firstRowOffset?1:-1);E();Nj(a)}},zKa=function(a){return(a==null?void 0:a.nodeName)==="TD"},AKa=function(a){if(zKa(a))var b=a;else if(zKa(a.parentNode))b=a.parentNode;else{var c;zKa((c=a.parentNode)==null?void 0:c.parentNode)&&
(b=a.parentNode.parentNode)}var d;return((d=b)==null?void 0:d.getAttribute("data-mat-row"))!=null?b:null},BKa=function(a,b,c){return c!==null&&b!==c&&a<c&&a===b},CKa=function(a,b,c){return b!==null&&b!==c&&a>=b&&a===c},DKa=function(a,b,c,d){return d&&b!==null&&c!==null&&b!==c&&a>=b&&a<=c},EKa=function(a){a=a.changedTouches[0];return document.elementFromPoint(a.clientX,a.clientY)},FKa=function(a,b){a&1&&(L(0,"th",2)(1,"span",6),U(2),M(),L(3,"span",3),U(4),M()());a&2&&(a=b.$implicit,E(2),tk(a.long),
E(2),tk(a.narrow))},HKa=function(a,b,c,d,e){b=a.getYear(b);c=a.getYear(c);a=GKa(a,d,e);return Math.floor((b-a)/24)===Math.floor((c-a)/24)},IKa=function(a,b,c,d){return((a.getYear(b)-GKa(a,c,d))%24+24)%24},GKa=function(a,b,c){var d=0;c?d=a.getYear(c)-24+1:b&&(d=a.getYear(b));return d},JKa=function(){},KKa=function(a){if(a&1){var b=y();L(0,"mat-month-view",4);xk("activeDateChange",function(c){z(b);var d=R();wk(d.activeDate,c)||(d.activeDate=c);return B(c)});Q("_userSelection",function(c){z(b);var d=
R();return B(d._dateSelected(c))})("dragStarted",function(c){z(b);var d=R();return B(d._dragStarted(c))})("dragEnded",function(c){z(b);var d=R();return B(d._dragEnded(c))});M()}a&2&&(a=R(),vk("activeDate",a.activeDate),K("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))},LKa=function(a){if(a&1){var b=y();L(0,"mat-year-view",5);xk("activeDateChange",function(c){z(b);var d=R();wk(d.activeDate,c)||(d.activeDate=c);return B(c)});Q("monthSelected",function(c){z(b);var d=R();return B(d._monthSelectedInYearView(c))})("selectedChange",function(c){z(b);var d=R();return B(d._goToDateInView(c,"month"))});M()}a&2&&(a=R(),vk("activeDate",a.activeDate),K("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},
MKa=function(a){if(a&1){var b=y();L(0,"mat-multi-year-view",6);xk("activeDateChange",function(c){z(b);var d=R();wk(d.activeDate,c)||(d.activeDate=c);return B(c)});Q("yearSelected",function(c){z(b);var d=R();return B(d._yearSelectedInMultiYearView(c))})("selectedChange",function(c){z(b);var d=R();return B(d._goToDateInView(c,"year"))});M()}a&2&&(a=R(),vk("activeDate",a.activeDate),K("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},
NKa=function(a){a&1&&N(0,"span",21)},OKa=function(a){a&1&&(L(0,"label",20),ak(1,1),I(2,NKa,1,0,"span",21),M());a&2&&(a=R(2),K("floating",a._shouldLabelFloat())("monitorResize",a._hasOutline())("id",a._labelId),Hj("for",a._control.disableAutomaticLabeling?null:a._control.id),E(2),J(!a.hideRequiredMarker&&a._control.required?2:-1))},PKa=function(a){a&1&&I(0,OKa,3,5,"label",20);a&2&&(a=R(),J(a._hasFloatingLabel()?0:-1))},QKa=function(a){a&1&&N(0,"div",7)},RKa=function(){},SKa=function(a){a&1&&G(0,RKa,
0,0,"ng-template",13);a&2&&(R(2),a=T(1),K("ngTemplateOutlet",a))},TKa=function(a){a&1&&(L(0,"div",9),I(1,SKa,1,1,null,13),M());a&2&&(a=R(),K("matFormFieldNotchedOutlineOpen",a._shouldLabelFloat()),E(),J(a._forceDisplayInfixLabel()?-1:1))},UKa=function(a){a&1&&(L(0,"div",10,2),ak(2,2),M())},VKa=function(a){a&1&&(L(0,"div",11,3),ak(2,3),M())},WKa=function(){},XKa=function(a){a&1&&G(0,WKa,0,0,"ng-template",13);a&2&&(R(),a=T(1),K("ngTemplateOutlet",a))},YKa=function(a){a&1&&(L(0,"div",14,4),ak(2,4),M())},
ZKa=function(a){a&1&&(L(0,"div",15,5),ak(2,5),M())},$Ka=function(a){a&1&&N(0,"div",16)},aLa=function(a){a&1&&(L(0,"div",18),ak(1,6),M())},bLa=function(a){a&1&&(L(0,"mat-hint",22),U(1),M());a&2&&(a=R(2),K("id",a._hintLabelId),E(),tk(a.hintLabel))},cLa=function(a){a&1&&(L(0,"div",19),I(1,bLa,2,2,"mat-hint",22),ak(2,7),N(3,"div",23),ak(4,8),M());a&2&&(a=R(),E(),J(a.hintLabel?1:-1))},dLa=function(){},eLa=function(a){a&1&&(Gh(),L(0,"svg",2),N(1,"path",3),M())},gLa=function(a){a=a.searchParams;var b=a.get("ota"),
c=a.get("youtube_persona"),d=a.getAll("label");if(b)return{account:b,accountType:"ota"};if(c)return{account:c,accountType:"youtube_persona"};b=l(d);for(c=b.next();!c.done;c=b.next()){c=c.value;d=l(fLa.keys());for(var e=d.next();!e.done;e=d.next())if(e=e.value,c.startsWith(e))return{account:c.replace(e,""),accountType:fLa.get(e)}}var f,h;return{account:(h=(f=a.get("account"))!=null?f:a.get("gaia"))!=null?h:"",accountType:"gaia"}},hLa=function(a){a&1&&(L(0,"b-glue"),N(1,"mat-icon",4),M())},iLa=function(a){a&
1&&N(0,"mat-icon",7);a&2&&(a=R().$implicit,K("svgIcon",a.icon))},jLa=function(a,b){if(a&1){var c=y();L(0,"span",6);I(1,iLa,1,1,"mat-icon",7);L(2,"a",8);Q("click",function(f){var h=z(c).$implicit,k=R(3);k.openLink(f,h.href);return B(k.hide())});U(3);M()();L(4,"button",9);Q("click",function(){var f=z(c).$implicit,h=R(3);h.copyToClipboard(f.originalHref);return B(h.hide())});N(5,"mat-icon",10);M()}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;var e=R(3);E();J(a.icon?1:-1);E();K("href",a.originalHref,
Ni)("rel",e.EXTERNAL_LINK_REL);E();tk(a.label);E();rk("final",d===b-1)}},lLa=function(a){a&1&&(L(0,"div",5),Mj(1,jLa,6,6,null,null,kLa),M());a&2&&(a=R(2),E(),Nj(a.urls))},mLa=function(a){a&1&&I(0,lLa,3,0,"div",5);a&2&&(a=R(),J(a.opened?0:-1))},oLa=function(a){if(nLa==null){var b=typeof document!=="undefined"?document.head:null;nLa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return nLa&&(a=a.getRootNode?a.getRootNode():null,typeof ShadowRoot!=="undefined"&&ShadowRoot&&a instanceof ShadowRoot)?a:null},
pLa=function(a){if(a&1){var b=y();L(0,"div",0);Q("clickOutside",function(){z(b);var c=R();return B(c.closeHovercard$.next())})("mouseenter",function(){z(b);R().isOnHover$.next(!0);return B()})("mouseleave",function(){z(b);R().isOnHover$.next(!1);return B()});ak(1);M()}a&2&&(a=R(),sk(a.className),K("cdkTrapFocusAutoCapture",a.wasTriggeredByKeyboard))},qLa=function(a){a&1&&(L(0,"div",4),Uj(1,5),M());a&2&&(a=R(),K("onedevIsHovercardReady",a.hovercardReady))},rLa=function(a){var b=a.filter(function(k){var q;
return(q=k.experimentalFields)==null?void 0:q.clusterIds.length});a=new Map;b=l(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;for(var d=l(c.experimentalFields.clusterIds),e=d.next();!e.done;e=d.next()){e=e.value;var f=void 0,h=(f=a.get(e))!=null?f:new Set;h.add(c.issueId);a.set(e,h)}}a=[].concat(p(a.values())).map(function(k){return[].concat(p(k))});return no(a,function(k){return k.sort().join(",")}).filter(function(k){return k.length>=3}).sort(function(k,q){return q.length-k.length}).slice(0,
3).map(function(k){return[].concat(p(k))})},Fp=function(a){if(!a)return"NEW";var b,c,d=(c=(b=a.experimentalFields)==null?void 0:b.triage.phase)!=null?c:"UNSPECIFIED",e;b=(e=a.snapshot[0])==null?void 0:e.status;if(eg(a)&&(d==="NEW"||d==="UNSPECIFIED"))return"NEW";if(eg(a)&&d==="CONFIRMED")return"CONFIRMED";if(eg(a)&&d==="IN_PROGRESS")return"IN_PROGRESS";if(d==="FIXED"||b==="FIXED"||b==="VERIFIED")return"FIXED";if(d==="WONT_FIX"||b==="NOT_REPRODUCIBLE"||b==="INTENDED_BEHAVIOR"||b==="OBSOLETE"||b===
"INFEASIBLE")return"WONT_FIX";if(b!=="DUPLICATE")return"NEW"},Gp=function(a){if(a){var b=Fp(a),c,d,e=((c=a.experimentalFields)==null?void 0:c.triage.subphase)!=="TRIAGE_SUBPHASE_UNSPECIFIED"?(d=a.experimentalFields)==null?void 0:d.triage.subphase:void 0,f;if(((f=a.snapshot[0])==null?void 0:f.status)!=="DUPLICATE"){if(b==="NEW"||b==="UNSPECIFIED")return e==="REPORTER_RESPONDED"?"REPORTER_RESPONDED":e==="NEEDS_INFO"?"NEEDS_INFO":"PENDING_TRIAGE";if(b==="CONFIRMED"||b==="IN_PROGRESS")return e;if(b===
"FIXED"||b==="WONT_FIX")return eg(a)?"REOPENED":e;throw Error("ld");}}},tLa=function(a,b){return b.length?a.filter(function(c){return[].concat(p(b)).some(function(d){return sLa(c,d)})}):a},uLa=function(a,b){return b.length?a.filter(function(c){return[].concat(p(b)).every(function(d){return d.check(c)})}):a},sLa=function(a,b){var c,d;return!((c=a.experimentalFields)==null?0:(d=c.triage)==null?0:d.dismissed)&&b.check(a)},Hp=function(a,b){return b!=null&&b.displayName?b.displayName:a+" triage"},vLa=
function(a,b,c){return c!=null&&c.displayName?li(c.displayName):a.pipe(C(function(d){var e;return(e=d==null?void 0:d.name)!=null?e:b}),C(function(d){return Hp(d)}))},wLa=function(a,b){return{displayAs:"Team: "+a.name,queryAtom:"teamId:"+a.teamId+(b===void 0||b?"+":""),tooltip:"Issues within this team's components"}},xLa=function(a,b){return{displayAs:"Component: "+a.name,queryAtom:"componentId:"+a.componentId+(b===void 0||b?"+":""),tooltip:"Issues within this component"}},Ip=function(a,b,c){c=c===
void 0?!1:c;if(!b)return"";Array.isArray(b)||(b=[b]);b=b.filter(fe);return b.length===0?"":a+":("+b.join("|")+")"+(c?"+":"")},Jp=function(){return rd.apply(0,arguments).filter(Boolean).join(" AND ")},yLa=function(a){return{filter:a,pageSize:250,sort:"created_time:desc",custom:"byExperimentalPhase"}},zLa=function(a,b){return a.filter(function(c){return Fp(c)===b})},Kp=function(a){return typeof a==="string"?"buganizer.drafts."+a:"buganizer.drafts.labeled."+a.label},ALa=function(){},BLa=function(a){var b=
kk.apply(null,[a].concat(p([]))),c=new Lp;return{valueSignal:b,get value(){return b()},change:c,ngOnDestroy:function(){c.complete()}}},CLa=function(a,b){for(var c=a.length;c--;)b(a[c])},DLa=function(){},ELa=function(a){return a==null?null:typeof a==="number"?a:a.endsWith("ms")?xm(a.substring(0,a.length-2)):a.endsWith("s")?xm(a.substring(0,a.length-1))*1E3:a==="0"?0:null},FLa=function(a,b){for(var c=a.nativeElement.parentElement;c&&!c.classList.contains("mat-mdc-dialog-container");)c=c.parentElement;
return c?b.find(function(d){return d.id===c.id}):null},GLa=function(a){if(a&1){var b=y();L(0,"button",5);Q("click",function(){z(b);var c=R();return B(c.dialogRef.close(!1))});U(1);M()}a&2&&(a=R(),E(),V(" ",a.cancelButtonText," "))},HLa=function(a){var b=[];a=[].concat.apply([],p(a.map(function(e){return e.actions})));a=l(a);for(var c=a.next(),d={};!c.done;d={action$jscomp$45:void 0},c=a.next())d.action$jscomp$45=c.value,b.some(function(e){return function(f){return vd(e.action$jscomp$45,f)}}(d))||
b.push(d.action$jscomp$45);return b},ILa=function(a){return Array.from(new Set([].concat.apply([],p(a.map(function(b){return b.issueIds})))))},KLa=function(a){return JLa.has(a)},LLa=function(a){return{encryptedMedia:Eca(Mp(a,1,void 0,Kc)),errorMessage:a.getErrorMessage()}},NLa=function(a){var b=new MLa;b=Np(b,1,eb(a.attachment,!1,!0));if(a.contentJudgement!==void 0){var c=b.setContentJudgement;a=a.contentJudgement;a=(new Op).setIt(Hta(a));c.call(b,a)}return b},PLa=function(a){var b;return{attachments:((b=
a.getAttachmentsList())!=null?b:[]).map(OLa)}},OLa=function(a){if(a!=null)return Wta(a.getIt())},QLa=function(a,b){a&1&&(L(0,"li"),U(1),M());a&2&&(a=b.$implicit,E(),tk(a))},TLa=function(a){a=Math.abs(a);if(a<6E4)return"0 minutes";var b=Math.floor(a/864E5);a%=864E5;var c=Math.floor(a/36E5),d=Math.floor(a%36E5/6E4),e=RLa(b),f=RLa(c),h=RLa(d);a=b*(c+d)?" ":"";var k=c*d?" ":"";b=SLa("{COUNT, plural, =0 {}=1 {{TEXT} day}other {{TEXT} days}}",b,e);c=SLa("{COUNT, plural, =0 {}=1 {{TEXT} hour}other {{TEXT} hours}}",
c,f);d=SLa("{COUNT, plural, =0 {}=1 {{TEXT} minute}other {{TEXT} minutes}}",d,h);return b+a+c+k+d},SLa=function(a,b,c){return(new ULa(a)).format({COUNT:b,TEXT:c})},XLa=function(a){return a.isInternal?a.isProd?VLa:WLa:[]},YLa=function(a,b,c,d){c&&c.targetTime&&(c.endTime?b.push({sloBounds:c,sloMetric:d}):a.push({sloBounds:c,sloMetric:d}))},ZLa=function(a,b){return a.sloBounds.targetTime.seconds-b.sloBounds.targetTime.seconds},$La=function(){return{startTime:Date.now(),sessionStartTime:Date.now(),firstActionSeen:!1,
editCount:0,variations:new Set}},aMa=function(a){return typeof a==="object"?"customField:"+a.customFieldId:a},cMa=function(a,b){if(bMa[a])return bMa[a][b]},dMa=function(a){return a?ka(a,"@")?a:a==="[Deleted User]"?a:a+"@google.com":""},eMa=function(a,b){a=a===void 0?"":a;b=b===void 0?48:b;var c=c===void 0?"...":c;var d=[].concat(p(a));if(d.length<=b)return a;a=b-[].concat(p(c)).length;d=d.slice(0,a).join("");String.prototype.trimEnd!=null&&(d=d.trimEnd());return d+c},fMa=function(a){a=a===void 0?
"":a;var b=new Set([].concat(p('!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n')));a=[].concat(p(a)).map(function(c){return b.has(c)?" ":c}).join("").trim();return a.length===0?[]:a.split(/[\s]+/g)},gMa=function(a){return a.split("").every(function(b){return b.length===1&&b.charCodeAt(0)>=0&&b.charCodeAt(0)<=255})},iMa=function(a){if(a!=null){a=[].concat(p(a)).slice(0,100);a=l(a);for(var b=a.next();!b.done;b=a.next())if(b=hMa[b.value])return b}},lMa=function(a){if(a.includes('"')||a.includes("'"))return[];
var b=[].concat(p(a.matchAll(jMa)));if(b.length)return b.map(function(c){c=l(c);c.next();c.next();return c.next().value});a=[].concat(p(a.matchAll(kMa)));return a.length?a.map(function(c){c=l(c);c.next();c.next();return c.next().value}):[]},mMa=function(a,b){var c;a=(c=a)!=null?c:"";var d;b=(d=b)!=null?d:"";return a.trim()===b.trim()},nMa=function(a){return a.customFieldValue?{customFieldId:String(a.customFieldValue.customFieldId)}:a.fieldName},oMa=function(a){a&1&&N(0,"img",9);a&2&&(a=R(),K("src",
a.person.imageUrl,Ni)("alt",a.person.name+"'s profile picture"))},pMa=function(a){a&1&&(L(0,"div",10),U(1),M());a&2&&(a=R(),E(),tk(a.person.email))},qMa=function(a){a&1&&(L(0,"div",11)(1,"onedev-chip",12),N(2,"mat-icon",13),U(3),M()());a&2&&(a=R(),E(3),V("",a.outOfOfficeDescription," "))},rMa=function(a){a&1&&(L(0,"li"),U(1),M());a&2&&(a=R(2),E(),tk(a.person.title))},sMa=function(a){a&1&&N(0,"li",18)},tMa=function(a){a&1&&(L(0,"li"),U(1),M());a&2&&(a=R(2),E(),tk(a.person.department))},uMa=function(a){a&
1&&(Sj(0),N(1,"mat-icon",14),L(2,"div",15)(3,"ul",16),G(4,rMa,2,1,"li",8)(5,sMa,1,0,"li",17)(6,tMa,2,1,"li",8),M()(),Tj());a&2&&(a=R(),E(4),K("ngIf",a.person.title),E(),K("ngIf",a.person.title&&a.person.department),E(),K("ngIf",a.person.department))},vMa=function(a){a&1&&(Sj(0),N(1,"mat-icon",19),L(2,"div",15),U(3),M(),Tj());a&2&&(a=R(),E(3),tk(a.person.location))},wMa=function(a){a&1&&(Sj(0),N(1,"mat-icon",20),L(2,"div",15)(3,"ul",16)(4,"li")(5,"a",21),U(6,"Teams"),M()(),N(7,"li",18),L(8,"li")(9,
"a",21),U(10,"Calendar"),M()(),N(11,"li",18),L(12,"li")(13,"a",21),U(14,"CLs"),M()(),N(15,"li",18),L(16,"li")(17,"a",21),U(18,"Readability"),M()(),N(19,"li",18),L(20,"li")(21,"a",21),U(22,"CLStats"),M()()()(),Tj());a&2&&(a=R(),E(5),K("href","https://moma.corp.google.com/person/"+a.person.ldap,Ni),E(4),K("href","https://www.google.com/calendar/embed?src="+a.person.email+"&mode=WEEK&showCalendars=0",Ni),E(4),K("href","https://critique.corp.google.com/"+a.person.ldap,Ni),E(4),K("href","https://icanread.corp.google.com/s/"+
a.person.ldap,Ni),E(4),K("href","https://clstats.corp.google.com/?user="+a.person.ldap+"#r",Ni))},xMa=function(a,b){if(a==null)return null;a=a.getRequestHook(b);return a==null?null:a},yMa=function(a){if(a.queryParams!=null){var b={},c;for(c in a.queryParams)a.queryParams[c]!==void 0&&(b[c]=a.queryParams[c]);a.queryParams=b}},zMa=function(a,b,c){c=c===void 0?{}:c;b=l(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=l(d.value);d=e.next().value;e=e.next().value;d in a&&(c[e]=a[d])}return c},
AMa=function(a){return Object.assign({},{arrays:{},descriptions:{},keys:[],objectMaps:{},objects:{},enums:{},emptyArrayIsUnset:!1},a)},BMa=function(a,b){return Pp(b,a)},CMa=function(a,b,c){b[a]=c},DMa=function(){return{}},IMa=function(a,b){var c=new a;return b==null?c:EMa(b,FMa,GMa,HMa,a)},FMa=function(a,b){return b[a]},GMa=function(a,b,c){b.Serializable$values[a]=c},HMa=function(a){if(a==null)throw Error("Bd");return new a},EMa=function(a,b,c,d,e){e=d(e);for(var f=JMa(a,e),h=f.arrays||{},k=f.objects||
{},q=f.objectMaps||{},u=l(f.keys||[]),A=u.next(),D={};!A.done;D={mapMetadata:void 0},A=u.next()){A=A.value;var H=b(A,a);if(H!=null){var O=void 0;if(h.hasOwnProperty(A)){if(f.emptyArrayIsUnset&&H.length===0)continue;O=KMa(H,b,c,d,!0,!0,h[A])}else if(k.hasOwnProperty(A))O=KMa(H,b,c,d,!1,!0,k[A]);else if(q.hasOwnProperty(A))D.mapMetadata=q[A],O=D.mapMetadata.isPropertyArray?H.map(function(P){return function(S){return LMa(S,P.mapMetadata,b,c,d)}}(D)):LMa(H,D.mapMetadata,b,c,d);else if(Array.isArray(H)){if(f.emptyArrayIsUnset&&
H.length===0)continue;O=KMa(H,b,c,d,!0,!1)}else O=H;c(A,e,O)}}return e},LMa=function(a,b,c,d,e){for(var f={},h=l(Object.keys(a)),k=h.next();!k.done;k=h.next()){k=k.value;var q=a[k];q!=null&&(f[k]=KMa(q,c,d,e,b.isValueArray,b.isSerializable,b.ctor))}return f},KMa=function(a,b,c,d,e,f,h){if(f&&h==null)throw Error("Cd");if(a==null)return a;var k;e&&f?k=a.map(function(q){return EMa(q,b,c,d,h)}):e&&!f?k=a.map(function(q){return q}):!e&&f?k=EMa(a,b,c,d,h):typeof a==="object"?k=JSON.parse(JSON.stringify(a)):
k=a;return k},JMa=function(a,b){if(b instanceof Qp)a=AMa(b.getPartialClassMetadata());else if(a instanceof Qp)a=AMa(a.getPartialClassMetadata());else throw Error("Dd");return a},NMa=function(a){return a&&MMa.test(a)?a.split("@")[0]:""},OMa=function(a){return a?a.find(function(b){var c;return((c=b.metadata)==null?void 0:c.container)==="DOMAIN_PROFILE"}):null},PMa=function(a){return a?a.find(function(b){var c;return((c=b.metadata)==null?void 0:c.container)==="DOMAIN_PROFILE"}):null},QMa=function(a,
b){return a.map(function(c){var d,e,f,h=(e=b==null?void 0:(d=b.matches)==null?void 0:d.find(function(O){return O.lookupId===c}))==null?void 0:(f=e.personId)==null?void 0:f[0];if(!h)return{ldap:NMa(c),name:"",email:c};var k;d=b==null?void 0:(k=b.people)==null?void 0:k[h];var q;h=(q=PMa(d==null?void 0:d.email))==null?void 0:q.value;var u,A;q=d==null?void 0:(u=d.name)==null?void 0:(A=u[0])==null?void 0:A.displayName;var D,H;u=d==null?void 0:(D=d.photo)==null?void 0:(H=D[0])==null?void 0:H.url;A=OMa(d==
null?void 0:d.organization);D=A==null?void 0:A.title;H=A==null?void 0:A.department;A=A==null?void 0:A.location;return{ldap:NMa(h),email:h||c||"",name:q||"",imageUrl:u,title:D,department:H,location:A}})},TMa=function(){var a={timeout:5E3};a=a===void 0?{}:a;return RMa!=null?RMa:RMa=SMa(a)},UMa=function(){return new Promise(function(a,b){window.gapi.load("client",{callback:a,onerror:b})})},SMa=function(a){a=a===void 0?{}:a;var b;return v(function(c){if(c.nextAddress==1){if((b=window.gapi)&&b.client&&
b.client.load)c=c.return(b);else{var d=Yc("https://apis.google.com/js/api.js");c=w(c,VMa(d,a),2)}return c}if(c.nextAddress!=3){b=window.gapi;if(!b)throw Error("Ed");return b.client&&b.client.load?c.jumpTo(3):w(c,UMa(),3)}return c.return(b)})},WMa=function(a,b,c){var d=a.config.get(b);c!==d&&a.config.update(b,c)},YMa=function(a,b){b=b===void 0?0:b;var c=a.auth2.getAuthInstance().currentUser.get(),d=c.getAuthResponse(!0);if(d&&d.expires_at-Date.now()<b){if(XMa.has(a))return XMa.get(a);b=Promise.resolve(c.reloadAuthResponse()).finally(function(){XMa.delete(a)});
XMa.set(a,b);return b}return Promise.resolve()},ZMa=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:(c=b.fetchBasicProfile)!=null?c:!0})},$Ma=function(a,b){a&1&&(L(0,"div",1),Gh(),L(1,"svg",2)(2,"g"),N(3,"path",3),M()(),Hh(),L(4,"span",4),U(5),M()());a&2&&(a=b.ngIf,Hj("aria-label",a)("title",a),E(5),tk(a))},aNa=function(a,b){a!=null&&this.append.apply(this,arguments)},Rp=function(a){bNa.call(this,
a)},Sp=function(a,b){b=b===void 0?!1:b;this.parsedImageUrl_=null;a instanceof cNa||(dNa==void 0&&(dNa=new eNa),a=dNa.parse(a.toString(),b));this.parsedImageUrl_=a;a=this.parsedImageUrl_.getParsedOptions();bNa.call(this,a);this.protocolPrefix_=this.parsedImageUrl_.originalPrefix_;this.domain_=this.parsedImageUrl_.getDomain();this.query_=this.parsedImageUrl_.getQuery()},fNa=function(a,b){a&1&&(L(0,"onedev-person-hovercard-body",1),W(1,"async"),ak(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),
ak(3,1,["ngProjectAs","[onedev-additional-content]",5,["","onedev-additional-content",""]]),M());a&2&&(a=b.ngIf,b=R(),K("person",a)("outOfOfficeDescription",X(1,2,b.outOfOfficeDescription$)))},gNa=function(a){a&1&&(L(0,"onedev-person-hovercard",2,0),ak(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),M());if(a&2){a=T(1);var b=R();K("email",b.email)("enableWaldo",!0)("onedevIsHovercardReady",a.init)}},hNa=function(a){a&1&&Uj(0)},iNa=function(a){a&1&&(L(0,"span",2),G(1,hNa,
1,0,"ng-container",3),M(),L(2,"onedev-hovercard",null,1),N(4,"b-person-card",4),M());if(a&2){a=T(3);var b=R(),c=T(3);K("onedevHovercardTrigger",a)("onedevHovercardActive",!!b.email);E();K("ngTemplateOutlet",c);E(3);K("email",b.email)}},jNa=function(a){a&1&&Uj(0)},kNa=function(a){a&1&&G(0,jNa,1,0,"ng-container",3);a&2&&(R(),a=T(3),K("ngTemplateOutlet",a))},lNa=function(a){a&1&&ak(0)},mNa=function(){return new Ug(3008,!1)},nNa=function(a,b){return{type:7,name:a,definitions:b,options:{}}},Tp=function(a,
b){return{type:4,styles:b===void 0?null:b,timings:a}},Up=function(a){return{type:6,styles:a,offset:null}},Vp=function(a,b){return{type:0,name:a,styles:b,options:void 0}},Wp=function(a,b){return{type:1,expr:a,animation:b,options:null}},Xp=function(a){if(typeof a=="number")return a;a=a.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:oNa(parseFloat(a[1]),a[2])},oNa=function(a,b){switch(b){case "s":return a*1E3;default:return a}},qNa=function(a,b,c){if(a.hasOwnProperty("duration"))b=a;else a:{var d=
0,e="";if(typeof a==="string"){var f=a.match(pNa);if(f===null){b.push(new Ug(3E3,!1));b={duration:0,delay:0,easing:""};break a}a=oNa(parseFloat(f[1]),f[2]);var h=f[3];h!=null&&(d=oNa(parseFloat(h),f[4]));(f=f[5])&&(e=f)}c||(c=!1,f=b.length,a<0&&(b.push(new Ug(3100,!1)),c=!0),d<0&&(b.push(new Ug(3101,!1)),c=!0),c&&b.splice(f,0,new Ug(3E3,!1)));b={duration:a,delay:d,easing:e}}return b},rNa=function(a){return a.length?a[0]instanceof Map?a:a.map(function(b){return new Map(Object.entries(b))}):[]},Yp=
function(a,b,c){b.forEach(function(d,e){var f=sNa(e);c&&!c.has(e)&&c.set(e,a.style[f]);a.style[f]=d})},Zp=function(a,b){b.forEach(function(c,d){d=sNa(d);a.style[d]=""})},tNa=function(a){if(Array.isArray(a)){var b;a.length==1?b=a[0]:b={type:2,steps:a,options:null};a=b}return a},vNa=function(a,b,c){var d=b.params||{};a=uNa(a);a.length&&a.forEach(function(e){d.hasOwnProperty(e)||c.push(new Ug(3001,!1))})},uNa=function(a){var b=[];if(typeof a==="string"){for(var c;c=wNa.exec(a);)b.push(c[1]);wNa.lastIndex=
0}return b},xNa=function(a,b,c){var d=""+a,e=d.replace(wNa,function(f,h){h=b[h];h==null&&(c.push(new Ug(3003,!1)),h="");return h.toString()});return e==d?a:e},sNa=function(a){return a.replace(yNa,function(){return rd.apply(0,arguments)[1].toUpperCase()})},ANa=function(a,b,c){if(c.size&&b.length){var d=b[0],e=[];c.forEach(function(h,k){d.has(k)||e.push(k);d.set(k,h)});if(e.length){c={};for(var f=1;f<b.length;c={kf$jscomp$1:void 0},f++)c.kf$jscomp$1=b[f],e.forEach(function(h){return function(k){return h.kf$jscomp$1.set(k,
zNa(a,k))}}(c))}}return b},$p=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 Ug(3004,!1);}},zNa=function(a,b){return window.getComputedStyle(a)[b]},bq=function(a){switch(a.length){case 0:return new aq;case 1:return a[0];default:return new BNa(a)}},DNa=function(a,b,c){b=b===void 0?new Map:b;c=c===void 0?new Map:c;var d=[],e=[],f=-1,h=null;a.forEach(function(k){var q=k.get("offset"),u=q==f,A=u&&h||new Map;k.forEach(function(D,H){var O=H;if(H!=="offset")switch(O=sNa(O),D){case "!":D=b.get(H);break;case "*":D=c.get(H);break;default:D=CNa(O,D,d)}A.set(O,D)});
u||e.push(A);h=A;f=q});if(d.length)throw new Ug(3502,!1);return e},FNa=function(a,b,c,d){switch(b){case "start":a.onStart(function(){return d(c&&ENa(c,"start",a))});break;case "done":a.onDone(function(){return d(c&&ENa(c,"done",a))});break;case "destroy":a.onDestroy(function(){return d(c&&ENa(c,"destroy",a))})}},ENa=function(a,b,c){var d=c.totalTime;b=GNa(a.element,a.triggerName,a.fromState,a.toState,b||a.phaseName,d==void 0?a.totalTime:d,c.disabled?!0:!1);a=a._data;a!=null&&(b._data=a);return b},
GNa=function(a,b,c,d,e,f,h){return{element:a,triggerName:b,fromState:c,toState:d,phaseName:e===void 0?"":e,totalTime:f===void 0?0:f,disabled:!!h}},cq=function(a,b,c){var d=a.get(b);d||a.set(b,d=c);return d},HNa=function(a){var b=a.indexOf(":");return[a.substring(1,b),a.slice(b+1)]},JNa=function(a){a=a.parentNode||a.host||null;return a===INa?null:a},KNa=function(a,b){for(;b;){if(b===a)return!0;b=JNa(b)}return!1},NNa=function(a,b){var c=[];typeof a=="string"?a.split(/\s*,\s*/).forEach(function(d){a:{if(d[0]==
":"&&(d=LNa(d,b),typeof d=="function")){c.push(d);d=void 0;break a}var e=d.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(e==null||e.length<4)b.push(new Ug(3015,!1)),d=c;else{d=e[1];var f=e[2];e=e[3];c.push(MNa(d,e));f[0]!="<"||d=="*"&&e=="*"||c.push(MNa(e,d));d=void 0}}return d}):c.push(a);return c},LNa=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 Ug(3016,!1)),"* => *"}},MNa=function(a,b){var c=ONa.has(a)||PNa.has(a),d=ONa.has(b)||PNa.has(b);return function(e,f){var h=a=="*"||a==e,k=b=="*"||b==f;!h&&c&&typeof e==="boolean"&&(h=e?ONa.has(a):PNa.has(a));!k&&d&&typeof f==="boolean"&&(k=f?ONa.has(b):PNa.has(b));return h&&k}},RNa=function(a){var b=a.split(/\s*,\s*/).find(function(c){return c==":self"})?!0:!1;b&&(a=a.replace(QNa,""));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]},SNa=function(a){if(typeof a=="string")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},TNa=function(a,b){if(a.hasOwnProperty("duration"))return a;if(typeof a=="number")return{duration:qNa(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=qNa(a,b);return{duration:a.duration,delay:a.delay,easing:a.easing}},dq=function(a){if(a){if(a=Object.assign({},a),a.params){var b=a;var c=(c=a.params)?Object.assign({},c):null;b.params=c}}else a={};return a},UNa=function(a,b,c,d,e,f,h,k){return{type:1,element:a,keyframes:b,preStyleProps:c,postStyleProps:d,duration:e,delay:f,totalTime:e+f,easing:h===
void 0?null:h,subTimeline:k===void 0?!1:k}},WNa=function(a,b,c,d,e,f,h,k,q,u){f=f===void 0?new Map:f;h=h===void 0?new Map:h;u=u===void 0?[]:u;return(new VNa).buildKeyframes(a,b,c,d,e,f,h,k,q,u)},XNa=function(a,b){var c=new Map,d;a.forEach(function(e){if(e==="*"){d!=null||(d=b.keys());e=l(d);for(var f=e.next();!f.done;f=e.next())c.set(f.value,"*")}else for(e=l(e),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;c.set(f,h)}});return c},YNa=function(a,b,c,d,e,f,h,k,q,
u,A,D,H){return{type:0,element:a,triggerName:b,isRemovalTransition:e,fromState:c,fromStyles:f,toState:d,toStyles:h,timelines:k,queriedElements:q,preStyleProps:u,postStyleProps:A,totalTime:D,errors:H}},ZNa=function(a,b,c,d,e){return a.some(function(f){return f(b,c,d,e)})},$Na=function(a,b){var c=Object.assign({},b);Object.entries(a).forEach(function(d){var e=l(d);d=e.next().value;e=e.next().value;e!=null&&(c[d]=e)});return c},bOa=function(a,b){return new aOa(a,{type:1,animation:{type:2,steps:[],options:null},
matchers:[function(){return!0}],options:null,queryCount:0,depCount:0},b)},cOa=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))},dOa=function(a){return a&&a.nodeType===1},eOa=function(a,b){var c=a.style.display;a.style.display=b!=null?b:"none";return c},gOa=function(a,b,c){var d=[];b.forEach(function(h){return d.push(eOa(h))});var e=[];c.forEach(function(h,k){var q=new Map;h.forEach(function(u){var A=zNa(k,u);q.set(u,A);A&&A.length!=0||(k.__ng_removed=fOa,e.push(k))});
a.set(k,q)});var f=0;b.forEach(function(h){return eOa(h,d[f++])});return e},hOa=function(a,b){function c(h){if(!h)return 1;var k=f.get(h);if(k)return k;var q=h.parentNode;d.has(q)?k=q:e.has(q)?k=1:k=c(q);f.set(h,k);return k}var d=new Map;a.forEach(function(h){return d.set(h,[])});if(b.length==0)return d;var e=new Set(b),f=new Map;b.forEach(function(h){var k=c(h);k!==1&&d.get(k).push(h)});return d},eq=function(a,b){var c;(c=a.classList)==null||c.add(b)},fq=function(a,b){var c;(c=a.classList)==null||
c.remove(b)},jOa=function(a,b,c){bq(c).onDone(function(){return iOa(a,b)})},lOa=function(a){var b=[];kOa(a,b);return b},kOa=function(a,b){for(var c=0;c<a.length;c++){var d=a[c];d instanceof BNa?kOa(d.players,b):b.push(d)}},mOa=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},nOa=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},qOa=function(a,b){var c=null,d=null;Array.isArray(b)&&b.length?(c=oOa(b[0]),b.length>1&&(d=oOa(b[b.length-1]))):b instanceof Map&&(c=oOa(b));return c||d?new pOa(a,c,d):null},oOa=function(a){var b=null;a.forEach(function(c,d){if(d==="display"||d==="position")b=b||new Map,b.set(d,c)});return b},rOa=function(a){switch(a){case "body":return document.body;case "document":return document;case "window":return window;default:return a}},sOa=function(a){var b=a.indexOf(".");
return[a.substring(0,b),a.slice(b+1)]},tOa=function(a){var b=function(){var c=a.apply(this,[].concat(p(rd.apply(0,arguments))))||this;c.defaultColor=void 0;c.color=void 0;return c};Y(b,a);pg.Object.defineProperties(b.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color},set:function(c){c=c||this.defaultColor;c!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),c&&this._elementRef.nativeElement.classList.add("mat-"+c),this._color=
c)}}});return b},uOa=function(a){var b=function(){var c=a.apply(this,[].concat(p(rd.apply(0,arguments))))||this;c._disableRipple=!1;return c};Y(b,a);pg.Object.defineProperties(b.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(c){this._disableRipple=um(c)}}});return b},vOa=function(a){var b=function(){var c=a.apply(this,[].concat(p(rd.apply(0,arguments))))||this;c._disabled=!1;return c};Y(b,a);pg.Object.defineProperties(b.prototype,{disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(c){this._disabled=um(c)}}});return b},yOa=function(a){if(a&1){var b=y();Sj(0,1);L(1,"onedev-hovercard-action",3);W(2,"async");Q("onAction",function(){z(b);var e=R();return B(wOa(e))});L(3,"span");U(4);M()();L(5,"onedev-hovercard-action",3);W(6,"async");Q("onAction",function(){z(b);var e=R();return B(xOa(e))});L(7,"span");U(8);M()();Tj()}if(a&2){a=R();E();var c;K("disabled",(c=X(2,4,a.actionService.assigneeUpdating$))!=null?c:!1);E(3);
tk(a.email!==a.currentAssignee?"Set as assignee":"Remove assignee");E();var d;K("disabled",(d=X(6,6,a.actionService.ccUpdating$))!=null?d:!1);E(3);tk(a.currentCc.includes(a.email)?"Remove from CCs":"Add to CCs")}},COa=function(a){return!a.endsWith("/history")&&!!a.match(zOa)||!!a.match(AOa)||!!a.match(BOa)},gq=function(a){return a.type==="hyperlink"},DOa=function(a){return gq(a)&&COa(a.href)},FOa=function(a){return gq(a)&&!!a.href.match(EOa)},GOa=function(a,b){b=b===void 0?!1:b;return!a.endsWith("/history")&&
a.match(zOa)?(a=a.match(zOa)[2],b?"https://3p-screenshot.corp.google.com/"+a+".png":"https://screenshot.googleplex.com/"+a+".png"):a.match(AOa)?"https://plx-alerts.corp.google.com/chart/?"+a.match(AOa)[1]:null},HOa=function(a){return a.type==="issueReference"},IOa=function(a){return gq(a)&&!DOa(a)&&!(gq(a)&&a.href.startsWith("mailto:"))},JOa=function(a){a&1&&(N(0,"img",1),W(1,"async"));if(a&2){a=R(2);K("src",X(1,2,a.srcRedirected$),Ni);var b;Hj("alt",(b=a.alt)!=null?b:"user provided image")}},KOa=
function(a){if(a&1){var b=y();L(0,"a",3);W(1,"async");W(2,"async");Q("click",function(c){z(b);var d=R(2);return B(d.trigger(c))})("keydown.enter",function(c){z(b);var d=R(2);return B(d.trigger(c))});L(3,"b-glue");N(4,"mat-icon",4);M();Sj(5);U(6);W(7,"async");Tj();M()}a&2&&(a=R(2),K("href",X(1,3,a.src$),Ni)("title",X(2,5,a.src$)),E(6),tk(X(7,7,a.srcTruncated$)))},LOa=function(a){a&1&&(I(0,JOa,2,4,"img",1),W(1,"async"),Jj(2,KOa,8,9,"a",2));if(a&2){var b;a=R();J((b=X(1,1,a.showImage$))?0:2,b)}},MOa=
function(a){a&1&&(N(0,"mat-icon",0),W(1,"async"));a&2&&(a=R(),K("matTooltip",zk("Unable to load image ",X(1,2,a.srcTruncated$))))},NOa=function(a){a&1&&(N(0,"br"),L(1,"a",1),N(2,"b-secure-image-widget",2),M(),N(3,"br"));if(a&2){a=R();var b=R();E();K("href",a,Ni)("rel",b.EXTERNAL_LINK_REL);E();K("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!0)}},OOa=function(a){a&1&&N(0,"b-secure-image-widget",0);if(a&2){a=R();var b=R();K("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",
!1)}},POa=function(a){a&1&&(I(0,NOa,4,5),W(1,"async"),Jj(2,OOa,1,3,"b-secure-image-widget",0));if(a&2){var b;a=R();J((b=X(1,1,a.displayMode$))===a.DisplayMode.SHOW?0:b===a.DisplayMode.COLLAPSE?2:-1)}},QOa=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},ROa=function(a,b){a&1&&N(0,"b-plain-format-section",1);a&2&&K("section",b.$implicit)},SOa=function(a){a&1&&N(0,"b-plain-format-quoted-section",0);a&2&&(a=R(),K("section",a.section))},TOa=function(a){a&1&&N(0,"b-plain-format-unquoted-section",
0);a&2&&(a=R(),K("section",a.section))},VOa=function(a){if(a&1){var b=y();L(0,"a",4);Q("click",function(){z(b);var c=R();c.showQuote=!1;UOa(c);return B()});U(1," - Hide quoted text - ");M()}a&2&&(a=R(),Hj("aria-controls",a.childId))},WOa=function(a){if(a&1){var b=y();L(0,"a",5);Q("click",function(){z(b);var c=R();c.showQuote=!0;UOa(c);return B()});U(1," - Show quoted text - ");M()}a&2&&(a=R(),Hj("aria-controls",a.childId))},XOa=function(a,b){a&1&&N(0,"b-literal-format-presenter",0);a&2&&K("content",
b)},YOa=function(a,b){if(a&1){var c=y();L(0,"b-markdown-format-presenter",2);Q("checkboxChange",function(d){z(c);var e=R();return B(e.checkboxChange.emit(d))});M()}a&2&&(a=R(),K("content",b)("canEditComment",a.canEditComment))},ZOa=function(a,b){a&1&&N(0,"b-plain-format-presenter",0);a&2&&K("content",b)},$Oa=function(a,b){a&1&&(L(0,"div",1),N(1,"b-formatted-comment-presenter",2),M());a&2&&(a=R(),rk("invisible",(a.comment||"").trim()==="")("error",b.isFallback),E(),K("formattedComment",b.formattedComment))},
cPa=function(a){var b=a.match(/\(.*\)/);if(a.match(/'.*'/)||a.match(/".*"/)||b)return{complexSyntax:!0};a=a.split(/\s+/).filter(Boolean);b=a.filter(aPa).length;var c=a.filter(function(d){return!aPa(d)}).filter(bPa).length;return{filters:b,text:a.length-b-c,resourceIds:c}},bPa=function(a){a=String(a);a=a.replace("http://b/","");a=a.replace("https://b/","");a=a.replace("b/","");a=a.trim();return a.length<3?!1:dPa(a)},aPa=function(a){return!!a.match(/\w:\w/g)},ePa=function(a){a&1&&(Gh(),L(0,"svg",2),
N(1,"polygon",3),M())},fPa=function(a){if(a&1){var b=y();Pj(0,"div",0);ira("click",function(){z(b);var c=R();return B(c.closed.emit("click"))})("animationstart",function(c){z(b);var d=R();return B(d._onAnimationStart(c.animationName))})("animationend",function(c){z(b);var d=R();return B(d._onAnimationDone(c.animationName))})("animationcancel",function(c){z(b);var d=R();return B(d._onAnimationDone(c.animationName))});Pj(1,"div",1);ak(2);Qj()()}a&2&&(a=R(),sk(a._classList),rk("mat-menu-panel-animations-disabled",
a._animationsDisabled)("mat-menu-panel-exit-animation",a._panelAnimationState==="void")("mat-menu-panel-animating",a._isAnimating()),Oj("id",a.panelId),Hj("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},gPa=function(a){a&1&&(L(0,"span",11),Gh(),L(1,"svg",13),N(2,"path",14),M(),L(3,"svg",15),N(4,"path",16),M()())},hPa=function(a){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(function(b){return a.classList.contains(b)})},
iPa=function(a){a&1&&ak(0,2)},jPa=function(a){a&1&&(L(0,"thead",0),Uj(1,1),M(),L(2,"tbody",0),Uj(3,2)(4,3),M(),L(5,"tfoot",0),Uj(6,4),M())},kPa=function(a){a&1&&Uj(0,1)(1,2)(2,3)(3,4)},lPa=function(a,b){return a.concat(Array.from(b))},mPa=function(a,b){b=b.toUpperCase();for(a=a.viewContainer.element.nativeElement;a;){var c=a.nodeType===1?a.nodeName:null;if(c===b)return a;if(c==="TABLE")break;a=a.parentNode}return null},nPa=function(a){a&1&&ak(0,2)},oPa=function(a){a&1&&(L(0,"thead",0),Uj(1,1),M(),
L(2,"tbody",2),Uj(3,3)(4,4),M(),L(5,"tfoot",0),Uj(6,5),M())},pPa=function(a){a&1&&Uj(0,1)(1,3)(2,4)(3,5)},qPa=function(a){if(a&1){var b=y();L(0,"textarea",34,1);xk("ngModelChange",function(c){z(b);var d=R();wk(d.draftPlaybook.instructions,c)||(d.draftPlaybook.instructions=c);return B(c)});M()}a&2&&(a=R(),vk("ngModel",a.draftPlaybook.instructions))},rPa=function(a){a&1&&N(0,"b-live-preview",35);a&2&&(a=R(2),K("comment",a.originalPlaybook.instructions)("formattingMode",a.FormattingMode.MARKDOWN))},
sPa=function(a){if(a&1){var b=y();I(0,rPa,1,2,"b-live-preview",35);L(1,"div",36)(2,"span",37);U(3," Generated by Gemini based on issue activity history ");M();L(4,"button",38);Q("click",function(){z(b);var c=R();return B(c.isEditing=!0)});U(5,"Edit markdown");M()()}a&2&&(a=R(),J(a.originalPlaybook?0:-1))},uPa=function(a,b){if(a&1){var c=y();L(0,"button",39);Q("click",function(){var d=z(c).$implicit,e=R();return B(e.unimplementedPlaybookData.statsInterval=d)});N(1,"mat-icon",40);U(2);M()}a&2&&(a=b.$implicit,
b=R(),E(),rk("invisible",a!==b.unimplementedPlaybookData.statsInterval),E(),V(" ",tPa(a)," "))},vPa=function(a){a&1&&(L(0,"th",41),U(1,"Triage actions"),M())},wPa=function(a,b){a&1&&(L(0,"td",42),U(1),M());a&2&&(a=b.$implicit,E(),V(" ",a.triageActions," "))},xPa=function(a){a&1&&(L(0,"th",41),U(1,"Acceptance rate"),M())},yPa=function(a,b){a&1&&(L(0,"td",42),U(1),M());a&2&&(a=b.$implicit,E(),V(" ",a.acceptanceRate," "))},zPa=function(a){a&1&&(L(0,"th",41),U(1,"Accuracy"),M())},APa=function(a,b){a&
1&&(L(0,"td",42),U(1),M());a&2&&(a=b.$implicit,E(),tk(a.accuracy))},BPa=function(a){a&1&&N(0,"tr",43)},CPa=function(a){a&1&&N(0,"tr",44)},DPa=function(a){for(var b={},c=l(a.keys),d=c.next();!d.done;d=c.next()){d=d.value;var e=a.getAll(d);b[d]=e.length>1?e:e[0]}return b},EPa=function(a){var b={attributeFilter:["aria-label","aria-valuenow"]};return new bi(function(c){(new MutationObserver(function(d){var e=d[0].target,f;d=(f=e.getAttribute("aria-label"))!=null?f:"";var h;f=(h=e.getAttribute("aria-valuenow"))!=
null?h:"indeterminate";c.next([d,f])})).observe(a,b)})},FPa=function(a){a&1&&(Gh(),L(0,"svg",11),N(1,"circle",12),M());a&2&&(a=R(),Hj("viewBox",a._viewBox()),E(),qk("stroke-dasharray",a._strokeCircumference(),"px")("stroke-dashoffset",a._strokeCircumference()/2,"px")("stroke-width",a._circleStrokeWidth(),"%"),Hj("r",a._circleRadius()))},GPa=function(a){a&1&&N(0,"mat-spinner",0);a&2&&(a=R(),K("diameter",a.SIZE_LARGE),Hj("aria-label",a.ariaLabel))},HPa=function(a){a&1&&N(0,"mat-spinner",1);a&2&&(a=
R(),K("diameter",a.SIZE_SMALL)("strokeWidth",a.DIAMETER_SMALL),Hj("aria-label",a.ariaLabel))},IPa=function(a){if(a&1){var b=y();L(0,"button",1);Q("click",function(){z(b);var c=R();return B(c.openDialog())});N(1,"mat-icon",2);U(2," Create playbook ");M()}},JPa=function(a){a&1&&(L(0,"div",3),N(1,"b-spinner"),U(2," Generating triage suggestions "),M())},LPa=function(a){if(a&1){var b=y();L(0,"button",1);Q("click",function(){z(b);var c=R(2);return B(KPa(c))});N(1,"mat-icon",4);U(2," Execute playbook ");
M()}},MPa=function(a){if(a&1){var b=y();I(0,JPa,3,0,"div",3)(1,LPa,3,0,"button",0);L(2,"button",1);Q("click",function(){z(b);var c=R();return B(c.openDialog())});N(3,"mat-icon",2);U(4," Edit playbook ");M()}a&2&&(a=R(),J(a.playbookState===a.PlaybookState.RUNNING?0:1))},NPa=function(a){a&1&&(L(0,"a",1),N(1,"mat-icon",2),M());a&2&&(a=R(),K("href",a.mdHelpLink,Ni)("disableRipple",!0))},OPa=function(a){if(a&1){var b=y();L(0,"b-formatted-comment-presenter",4);Q("checkboxChange",function(c){z(b);var d=
R().markdownCheckboxService,e=d.rawComment.split("\n");c=l(c.startPos.split(":")).next().value;c=Number(c)-1;var f=e[c];var h=f.search(/\[[ Xx]\]/);if(h!==-1){var k=f[h+1];k&&(k=k.toLowerCase()==="x"?"[ ]":"[x]",f=f.substring(0,h)+k+f.substring(h+k.length))}e[c]=f;d.rawComment=e.join("\n");d.rawComment$.next(d.rawComment);d.savingState=d.editIssueService.savingState(d.issueId);d.savingState.get("commentEdit")||(hq(d.butterBar,"Saving comment edit...",0),iq(d.savingState,"commentEdit"));jq(d.issueInteractionsTracking,
d.issueId,{label:d.commentNumber===1?"description":"comment"});return B()});M()}a&2&&(a=R(),K("formattedComment",a.formattedComment)("canEditComment",a.canEditComment))},PPa=function(a){a&1&&N(0,"b-live-preview",3);a&2&&(a=R(),K("comment",a.rawComment)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.formattingModeOverride||a.formattingMode||a.FormattingMode.PLAIN)("idPrefix",a.idPrefix))},QPa=function(a){return a instanceof kq?a:new kq(a,{})},lq=function(a){a=QPa(a);return new kq(a.char,
Object.assign({},a.modifiers,{shift:!0}))},RPa=function(a){a=QPa(a);return new kq(a.char,Object.assign({},a.modifiers,{ctrl:!0}))},SPa=function(){var a=lq("f");a=QPa(a);return new kq(a.char,Object.assign({},a.modifiers,{alt:!0}))},UPa=function(a){if(a instanceof kq){var b=TPa(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(UPa).join(" "):TPa(a)},mq=function(){return rd.apply(0,arguments)},TPa=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 qb(a)}},VPa=function(a){return a.keys.join("-")+"-"+a.description+"-"+a.displayAs},WPa=function(a){switch(a){case "P0":return nq.CHANGE_ISSUE_PRIORITY_TO_P0;case "P1":return nq.CHANGE_ISSUE_PRIORITY_TO_P1;case "P2":return nq.CHANGE_ISSUE_PRIORITY_TO_P2;case "P3":return nq.CHANGE_ISSUE_PRIORITY_TO_P3;
case "P4":return nq.CHANGE_ISSUE_PRIORITY_TO_P4;case "PRIORITY_UNSPECIFIED":break;default:console.error("Unsupported issue priority in issuePriorityToHotkey")}},XPa=function(a){switch(a){case "NEW":return nq.CHANGE_ISSUE_STATUS_TO_NEW;case "ASSIGNED":return nq.CHANGE_ISSUE_STATUS_TO_ASSIGNED;case "ACCEPTED":return nq.CHANGE_ISSUE_STATUS_TO_ACCEPTED;case "FIXED":return nq.CHANGE_ISSUE_STATUS_TO_FIXED;case "VERIFIED":return nq.CHANGE_ISSUE_STATUS_TO_VERIFIED;case "NOT_REPRODUCIBLE":return nq.CHANGE_ISSUE_STATUS_TO_NOT_REPRODUCIBLE;
case "INTENDED_BEHAVIOR":return nq.CHANGE_ISSUE_STATUS_TO_INTENDED_BEHAVIOR;case "OBSOLETE":return nq.CHANGE_ISSUE_STATUS_TO_OBSOLETE;case "INFEASIBLE":return nq.CHANGE_ISSUE_STATUS_TO_INFEASIBLE;case "INACTIVE":return nq.CHANGE_ISSUE_STATUS_TO_INACTIVE;case "DUPLICATE":return nq.CHANGE_ISSUE_STATUS_TO_DUPLICATE;case "STATUS_UNSPECIFIED":break;default:console.error("Unsupported issue status in issueStatusToHotkey")}},YPa=function(a,b){if(a&1){var c=y();L(0,"a",7);Q("click",function(){var d=z(c).$implicit,
e=R(2);return B(e.clickSegment.emit(d.name||d.path))});U(1);M()}a&2&&(a=b.$implicit,K("href",a.path,Ni),E(),V(" ",a.name||a.path," "))},ZPa=function(a){a&1&&(L(0,"button",4),N(1,"mat-icon",5),M(),L(2,"mat-menu",null,0),Mj(4,YPa,2,2,"a",6,Lj),M());if(a&2){a=T(3);var b=R();K("matMenuTriggerFor",a);E(4);Nj(b.segments)}},$Pa=function(a){a&1&&N(0,"mat-icon",2);a&2&&(a=R().$implicit,K("svgIcon",a.icon))},aQa=function(a,b){if(a&1){var c=y();L(0,"button",1);Q("click",function(){var e=z(c).$implicit,f=R();
e=e.value;f.value=e;f.valueChange.next(e);return B()});I(1,$Pa,1,1,"mat-icon",2);U(2);M()}if(a&2){a=b.$implicit;b=R();var d;K("disableRipple",!0)("matTooltip",(d=a.tooltip)!=null?d:"");Hj("aria-checked",b.value===a.value);E();J(a.icon?1:-1);E();V(" ",a.name," ")}},bQa=function(a){if(a&1){var b=y();L(0,"button",4);Q("click",function(){z(b);var c=R();return B(c.toggle())})("onHotkey",function(){z(b);var c=R();return B(c.toggle())});N(1,"mat-icon",5);M()}a&2&&(a=R(),sk(a.direction),rk("isClosed",a.isClosed),
K("hotkey",a.direction==="rtl"?a.HOTKEYS.TOGGLE_RIGHT_SIDEBAR:a.HOTKEYS.TOGGLE_LEFT_SIDEBAR),E(),K("svgIcon",a.isLTR?"chevron-left":"chevron-right"))},dQa=function(a){if(a&1){var b=y();L(0,"div",6);Q("onHotkey",function(){z(b);var c=R();return B(c.toggle())})("mousedown",function(c){z(b);var d=R();return B(d.startDragging(c.pageX))})("keyup.arrowleft",function(){z(b);var c=R();return B(cQa(c,-10))})("keyup.arrowright",function(){z(b);var c=R();return B(cQa(c,10))})("keyup.space",function(){z(b);var c=
R();return B(c.toggle())})("keyup.enter",function(){z(b);var c=R();return B(c.toggle())})("dblclick",function(){z(b);var c=R();return B(c.toggle())});M()}a&2&&(a=R(),K("hotkey",a.direction==="rtl"?a.HOTKEYS.TOGGLE_RIGHT_SIDEBAR:a.HOTKEYS.TOGGLE_LEFT_SIDEBAR),Hj("aria-valuenow",a.width)("aria-valuetext",a.width+" pixels"))},eQa=function(a){a=a.getBoundingClientRect();return a.top>=0&&a.bottom<=window.innerHeight},fQa=function(a){a=a.getBoundingClientRect();return a.bottom>0&&a.top<window.innerHeight},
gQa=function(a,b,c,d){var e=(d=d===void 0?!1:d)?function(f){return c.partially(f)}:function(f){return c.fully(f)};return(new bi(function(f){f.next(e(a));var h=b(function(k){f.next(k[0].isIntersecting)},d?{threshold:0}:{threshold:1});h.observe(a);return function(){h.unobserve(a)}})).pipe(jj())},hQa=function(a,b,c){var d=(c===void 0?0:c)?function(e){return b.partially(e)}:function(e){return b.fully(e)};return Ci(li(void 0),yi(window,"scroll").pipe(fj(500))).pipe(C(function(){return d(a)}),jj())},iQa=
function(a){a&1&&(L(0,"span",4),U(1),M());a&2&&(a=R(),E(),tk(a.placeholder))},jQa=function(a){a&1&&ak(0)},kQa=function(a){a&1&&(L(0,"span",11),U(1),M());a&2&&(a=R(2),E(),tk(a.triggerValue))},lQa=function(a){a&1&&(L(0,"span",5),I(1,jQa,1,0)(2,kQa,2,1,"span",11),M());a&2&&(a=R(),E(),J(a.customTrigger?1:2))},mQa=function(a){if(a&1){var b=y();L(0,"div",12,1);Q("keydown",function(c){z(b);var d=R();return B(d._handleKeydown(c))});ak(2,1);M()}a&2&&(a=R(),sk(zk("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",
a._getPanelTheme())),rk("mat-select-panel-animations-enabled",!a._animationsDisabled),K("ngClass",a.panelClass),Hj("id",a.id+"-panel")("aria-multiselectable",a.multiple)("aria-label",a.ariaLabel||null)("aria-labelledby",a._getPanelAriaLabelledby()))},nQa=function(){},oQa=function(a){a&1&&ak(0)},pQa=function(){},qQa=function(a){a&1&&G(0,pQa,0,0,"ng-template",12);a&2&&(a=R().$implicit,K("cdkPortalOutlet",a.templateLabel))},rQa=function(a){a&1&&U(0);a&2&&(a=R().$implicit,tk(a.textLabel))},sQa=function(a,
b){if(a&1){var c=y();L(0,"div",7,2);Q("click",function(){var f=z(c),h=f.$implicit;f=f.$index;var k=R(),q=T(1);return B(k._handleClick(h,q,f))})("cdkFocusChange",function(f){var h=z(c).$index,k=R();return B(k._tabFocusChanged(f,h))});N(2,"span",8)(3,"div",9);L(4,"span",10)(5,"span",11);I(6,qQa,1,1,null,12)(7,rQa,1,1);M()()()}if(a&2){a=b.$implicit;b=b.$index;var d=T(1),e=R();sk(a.labelClass);rk("mdc-tab--active",e.selectedIndex===b);K("id",e._getTabLabelId(a,b))("disabled",a.disabled)("fitInkBarToContent",
e.fitInkBarToContent);Hj("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);E(3);K("matRippleTrigger",d)("matRippleDisabled",a.disabled||e.disableRipple);E(3);J(a.templateLabel?6:7)}},tQa=function(a){a&1&&ak(0)},uQa=function(a,b){if(a&1){var c=y();L(0,"mat-tab-body",13);Q("_onCentered",function(){z(c);
var e=R();return B(e._removeTabBodyWrapperHeight())})("_onCentering",function(e){z(c);var f=R();return B(f._setTabBodyWrapperHeight(e))})("_beforeCentering",function(e){z(c);var f=R();return B(f._bodyCentered(e))});M()}if(a&2){a=b.$implicit;b=b.$index;var d=R();sk(a.bodyClass);K("id",d._getTabContentId(b))("content",a.content)("position",a.position)("animationDuration",d.animationDuration)("preserveContent",d.preserveContent);Hj("tabindex",d.contentTabIndex!=null&&d.selectedIndex===b?d.contentTabIndex:
null)("aria-labelledby",d._getTabLabelId(a,b))("aria-hidden",d.selectedIndex!==b)}},vQa=function(a){if(a&1){var b=y();L(0,"button",1);Q("click",function(c){z(b);var d=R();return B(d.handleClick(c))})("keydown",function(c){z(b);var d=R();return B(d.handleKeydown(c))});N(1,"mat-icon",2);L(2,"span",3);U(3);M()()}a&2&&(a=R(),rk("hovered",a.isParentRowActive),Gj("aria-label","View "+a.getText(a.recommendation)+" recommendation"),E(3),V(" ",a.getText(a.recommendation)," "))},wQa=function(a,b){if(a&1){var c=
y();L(0,"button",4);Q("click",function(){var d=z(c).$implicit;R(3).onSelect.emit(d);return B()});U(1);M()}a&2&&(a=b.$implicit,E(),V(" ",a.displayAs," "))},yQa=function(a){a&1&&Mj(0,wQa,2,1,"button",3,xQa);a&2&&(R(),a=Yj(2),Nj(a))},AQa=function(a,b){if(a&1){var c=y();L(0,"button",2);Q("click",function(){var d=z(c).$implicit;R().onSelect.emit(d);return B()});U(1);M();Wj(2);I(3,yQa,2,0)}a&2&&(a=b.$implicit,E(),V(" ",a.displayAs," "),E(),a=Xj(zQa(a)),E(),J(a.length?3:-1))},BQa=function(a){a&1&&ak(0)},
CQa=function(a){a&1&&Uj(0)},DQa=function(a){if(a&1){var b=y();L(0,"button",6,1);Q("click",function(e){z(b);var f=R();return B(f.onClick(e))});G(2,CQa,1,0,"ng-container",7);M()}if(a&2){a=R();var c=T(1);sk(a.size);var d;K("color",a.color)("disabled",a.disabled)("matTooltip",(d=a.tooltip)!=null?d:"");Hj("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);E(2);K("ngTemplateOutlet",c)}},EQa=function(a){a&1&&Uj(0)},FQa=function(a){if(a&1){var b=y();L(0,"button",8,1);Q("click",function(e){z(b);var f=
R();return B(f.onClick(e))});G(2,EQa,1,0,"ng-container",7);M()}if(a&2){a=R();var c=T(1);sk(a.size);var d;K("color",a.color)("disabled",a.disabled)("matTooltip",(d=a.tooltip)!=null?d:"");Hj("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);E(2);K("ngTemplateOutlet",c)}},GQa=function(a){a&1&&Uj(0)},HQa=function(a){if(a&1){var b=y();L(0,"button",9,1);Q("click",function(e){z(b);var f=R();return B(f.onClick(e))});G(2,GQa,1,0,"ng-container",7);M()}if(a&2){a=R();var c=T(1);sk(a.size);var d;K("color",
a.color)("disabled",a.disabled)("matTooltip",(d=a.tooltip)!=null?d:"");Hj("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);E(2);K("ngTemplateOutlet",c)}},IQa=function(a){a&1&&Uj(0)},JQa=function(a){if(a&1){var b=y();L(0,"button",10,1);Q("click",function(e){z(b);var f=R();return B(f.onClick(e))});G(2,IQa,1,0,"ng-container",7);M()}if(a&2){a=R();var c=T(1);sk(a.size);var d;K("color",a.color)("disabled",a.disabled)("matTooltip",(d=a.tooltip)!=null?d:"");Hj("aria-label",a.bAriaLabel)("aria-expanded",
a.bAriaExpanded);E(2);K("ngTemplateOutlet",c)}},KQa=function(a){a&1&&Uj(0)},LQa=function(a){if(a&1){var b=y();L(0,"button",6,1);Q("click",function(e){z(b);var f=R();return B(f.onClick(e))});G(2,KQa,1,0,"ng-container",7);M()}if(a&2){a=R();var c=T(1);sk(a.size);var d;K("color",a.color)("disabled",a.disabled)("matTooltip",(d=a.tooltip)!=null?d:"");Hj("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);E(2);K("ngTemplateOutlet",c)}},MQa=function(a){a&1&&N(0,"waldo-availability-chip",1);a&2&&(a=
R(2),K("user",a.user.emailAddress),Hj("coinonly",a.coinonly))},NQa=function(a){a&1&&I(0,MQa,1,2,"waldo-availability-chip",1);a&2&&(a=R(),J(a.user.emailAddress?0:-1))},OQa=function(a){a&1&&N(0,"b-availability-chip",2);a&2&&(a=R(2),K("user",a.user))},PQa=function(a){a&1&&(Sj(0),U(1),Tj(),I(2,OQa,1,1,"b-availability-chip",2));if(a&2){a=R();var b=R();E();tk(a.content);E();J(b.enableWaldoAvailability&&b.availabilityChipEnabled?2:-1)}},QQa=function(a){a&1&&Uj(0)},RQa=function(a){a&1&&(L(0,"span",3),G(1,
QQa,1,0,"ng-container",4),M(),L(2,"onedev-hovercard",null,1),N(4,"b-issue-person-card",5),M());if(a&2){a=T(3);var b=R(),c=T(1),d=R();K("onedevHovercardTrigger",a);Hj("tabindex",d.hovercardEnabled&&d.hovercardFocusEnabled?"0":null);E();K("ngTemplateOutlet",c);E(3);K("email",b.email)}},SQa=function(a){a&1&&Uj(0)},TQa=function(a){a&1&&G(0,SQa,1,0,"ng-container",4);a&2&&(R(),a=T(1),K("ngTemplateOutlet",a))},UQa=function(a,b){a&1&&(G(0,PQa,3,2,"ng-template",null,0,Gk),I(2,RQa,5,4)(3,TQa,1,1,"ng-container"));
a&2&&(a=R(),E(2),J(a.hovercardEnabled&&a.isNonObfuscatedEmail(b.email)?2:3))},VQa=function(a){a&1&&N(0,"b-user-display-name",0);a&2&&(a=R(),K("user",a.model)("hovercardEnabled",!1)("availabilityChipEnabled",a.availabilityChipEnabled)("hovercardFocusEnabled",a.hovercardFocusEnabled))},WQa=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(),E(),tk(a.getDisplayString()))},XQa=function(a){a&1&&Uj(0)},YQa=function(a){a&1&&(L(0,"span",2),G(1,XQa,1,0,"ng-container",3),M(),L(2,"onedev-hovercard",null,1),
N(4,"b-issue-person-card",4),M());if(a&2){a=T(3);var b=R(),c=T(3);K("onedevHovercardTrigger",a);E();K("ngTemplateOutlet",c);E(3);K("email",b.email)}},ZQa=function(a){a&1&&Uj(0)},$Qa=function(a){a&1&&G(0,ZQa,1,0,"ng-container",3);a&2&&(R(),a=T(3),K("ngTemplateOutlet",a))},bRa=function(a){a&1&&N(0,"img",5);a&2&&(a=R(2),R(),K("src",aRa[a.email],Ni))},cRa=function(a){a&1&&N(0,"img",8);a&2&&(a=R(3),K("src",a.src,Ni)("srcset",a.srcset))},dRa=function(a){a&1&&(L(0,"span",7),W(1,"async"),I(2,cRa,1,2,"img",
8),M());if(a&2){a=R(2);var b=R();rk("team-member",X(1,5,b.isTeamMember$))("anonymous",!a.showImage);E(2);J(a.showImage?2:-1)}},fRa=function(a){a&1&&(I(0,bRa,1,1,"img",5),I(1,dRa,3,7,"span",6));if(a&2){a=R();var b=R();J(a.email&&eRa(b,a.email)?0:-1);E();J(eRa(b,a.email)?-1:1)}},gRa=function(a,b){a&1&&(I(0,YQa,5,3)(1,$Qa,1,1,"ng-container"),G(2,fRa,2,2,"ng-template",null,0,Gk));a&2&&(a=R(),J(a.isNonObfuscatedEmail(b.email)?0:1))},hRa=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}},iRa=function(a){return a?Fd(a.replace(/_/g," ").toLowerCase()):""},jRa=function(a){return a?a.join(", "):""},kRa=function(a,b){if(!a)return md("");if(!b)return md(a);b=b.split(" ").map(Nea);b=b.filter(function(h){return!!h});b=b.map(oq);if(b.length===0)return md(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(qd("b",{},f));c.push(d);a=a.substring(e+f.length+d.length)}return od(c)},lRa=function(a){return a?"Yes":"No"},mRa=function(a){return a?a.pathNames?a.pathNames.join(" > "):"":""},nRa=function(a){if(a>=1073741824){a/=1073741824;var b="GB"}else a>=1048576?(a/=1048576,b="MB"):a>=1024?(a/=1024,b="KB"):b="B";a=a<10?Math.round(a*10)/10:Math.round(a);return a+" "+b},oRa=function(a){if(!a)return null;
var b=new Uf;b.setTime(a.seconds*1E3);return b},pRa=function(a){if(a&&Rf(a))return a},qRa=function(a){return a==null?"":String(a)},rRa=function(a){var b;return(b=a==null?void 0:a.filter(function(c){return!!c.trim()}).join(", "))!=null?b:""},sRa=function(a){a&1&&N(0,"b-user-image",3);a&2&&(a=R(),K("email",a.email))},tRa=function(a){a&1&&Uj(0)},uRa=function(a){a&1&&(L(0,"span",5),G(1,tRa,1,0,"ng-container",6),M(),L(2,"onedev-hovercard",null,1),N(4,"b-issue-person-card",7),M());if(a&2){a=T(3);var b=
R(),c=T(5);K("onedevHovercardTrigger",a);E();K("ngTemplateOutlet",c);E(3);K("email",b.email)}},vRa=function(a){a&1&&Uj(0)},wRa=function(a){a&1&&G(0,vRa,1,0,"ng-container",6);a&2&&(R(),a=T(5),K("ngTemplateOutlet",a))},xRa=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(),E(),tk(a.getEmailDisplayString(a.email,a.ldapOnly)))},yRa=function(a){a&1&&(L(0,"span",4),N(1,"b-availability-chip",8),W(2,"emailToUser"),M());a&2&&(a=R(),E(),K("user",X(2,1,a.email)))},zRa=function(a,b){Rf(a)&&b&&(a=a.trim(),a=
a.endsWith("@google.com")?a.split("@google.com")[0]:a.endsWith("@prod.google.com")?a.split("@prod.google.com")[0]:a);return a},ARa=function(a){a&1&&N(0,"b-icon",5)},BRa=function(a){a&1&&N(0,"b-user-image",6);a&2&&(a=R(2),K("email",a.email))},CRa=function(a){a&1&&(I(0,ARa,1,0,"b-icon",5),W(1,"async"),Jj(2,BRa,1,1,"b-user-image",6));a&2&&(a=R(),J(a.enableGroupIcon&&X(1,1,a.isGroup$)?0:2))},DRa=function(a){a&1&&(N(0,"b-user-display-name",2),W(1,"emailToUser"));a&2&&(a=R(),K("user",a.user||X(1,3,a.email))("hovercardFocusEnabled",
!0)("availabilityChipEnabled",!1))},ERa=function(a){a&1&&Uj(0)},FRa=function(a){a&1&&(L(0,"span",7),G(1,ERa,1,0,"ng-container",8),M(),L(2,"onedev-hovercard",null,1),N(4,"b-issue-person-card",9),M());if(a&2){a=T(3);R();var b=T(3),c=R();K("onedevHovercardTrigger",a);E();K("ngTemplateOutlet",b);E(3);K("email",c.email)}},GRa=function(a){a&1&&Uj(0)},HRa=function(a){a&1&&G(0,GRa,1,0,"ng-container",8);a&2&&(R(),a=T(3),K("ngTemplateOutlet",a))},IRa=function(a){a&1&&(Sj(0),U(1),Tj());a&2&&(a=R(3),E(),tk(a.userToDisplayString(a.user)))},
JRa=function(a){a&1&&(Sj(0),U(1),Tj());a&2&&(a=R(3),E(),tk(a.email))},KRa=function(a){a&1&&(L(0,"span",10),I(1,IRa,2,1,"ng-container")(2,JRa,2,1,"ng-container"),M());a&2&&(a=R(2),E(),J(a.user?1:2))},LRa=function(a){a&1&&(I(0,FRa,5,3)(1,HRa,1,1,"ng-container"),G(2,KRa,3,1,"ng-template",null,0,Gk));a&2&&(a=R(),J(a.isNonObfuscatedEmail(a.email)?0:1))},MRa=function(a){a&1&&(N(0,"mat-icon",3),W(1,"async"),W(2,"async"));if(a&2){a=R();var b,c;K("svgIcon",(b=X(1,2,a.iconName$))!=null?b:"")("matTooltip",(c=
X(2,4,a.iconToolTip$))!=null?c:"")}},NRa=function(a){a&1&&N(0,"b-availability-chip",4);a&2&&(a=R(),K("user",a.user))},ORa=function(a){a&1&&Uj(0)},PRa=function(a){a&1&&G(0,ORa,1,0,"ng-container",8);a&2&&(a=R(),K("ngTemplateOutlet",a.calendarButtonRow))},QRa=function(a){if(a&1){var b=y();L(0,"mat-form-field",3)(1,"input",9);Q("focus",function(c){z(b);var d=R();return B(d.showPicker(c.target))});M()()}a&2&&(a=R(),E(),K("formControl",a.timeFormControl))},URa=function(a){if(a&1){var b=y();L(0,"button",
12);Q("click",function(){z(b);var c=R(2);RRa(c,new Ad);c.includeTimePicker&&(c.dateTime=new Uf,SRa(c,new Uf));TRa(c);c.saveChanges();return B(c.saveClicked.emit())});U(1,"Today");M()}},VRa=function(a){if(a&1){var b=y();L(0,"button",13);Q("click",function(){z(b);var c=R(2);RRa(c);c.includeTimePicker&&(c.dateTime=void 0);c.saveChanges();return B(c.saveClicked.emit())});U(1,"None");M()}},WRa=function(a){a&1&&(L(0,"div",1),I(1,URa,2,0,"button",10),I(2,VRa,2,0,"button",11),N(3,"mat-divider"),M());a&2&&
(a=R(),E(),J(a.todayButtonEnabled?1:-1),E(),J(a.noneButtonEnabled&&!a.required?2:-1))},XRa=function(a){a&1&&(N(0,"div"),W(1,"lowercase"));a&2&&(a=R(3),sk(zk("bv2-edit-icon ",X(1,3,a.type))))},YRa=function(a){a&1&&(L(0,"div")(1,"label"),U(2),M(),I(3,XRa,2,5,"div",13),M());a&2&&(a=R(2),sk(zk("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x")),E(2),V(" ",a.title," "),E(),J(a.readonly||a.disabled?-1:3))},ZRa=function(a){a&1&&Uj(0)},$Ra=function(a){if(a&1){var b=y();L(0,"div",17);Q("menuClosed",
function(){z(b);var d=R(3);return B(pq(d,null,!1,!0))});G(1,ZRa,1,0,"ng-container",18);M()}if(a&2){R(3);a=T(6);var c=T(9);K("matMenuTriggerFor",a);E();K("ngTemplateOutlet",c)}},bSa=function(a,b){a&1&&(L(0,"a",19),U(1),M());a&2&&(a=R(4),Hj("aria-label",Ak("customfield",a.customFieldId,":",b)),K("queryParams",Dk(5,aSa,"customfield"+a.customFieldId+':"'+b+'"')),E(),V(" ",b," "))},cSa=function(a){a&1&&U(0," -- ")},dSa=function(a){if(a&1){var b=y();L(0,"div",16);I(1,bSa,2,7,"a",19)(2,cSa,1,0);N(3,"br");
L(4,"button",20);Q("menuClosed",function(){z(b);var e=R(3);return B(pq(e,null,!1,!0))});U(5," Edit ");M()()}if(a&2){var c;a=R(3);var d=T(6);E();J((c=a.getDisplayValue(""))?1:2,c);E(3);Hj("aria-label",zk("Edit item for ",a.title));K("matMenuTriggerFor",d)}},eSa=function(a){a&1&&I(0,$Ra,2,2,"div",15)(1,dSa,6,4,"div",16);a&2&&(a=R(2),J(a.choices.length>50&&a.customFieldId!==0?1:0))},fSa=function(a){a&1&&Uj(0)},gSa=function(a){a&1&&(L(0,"div",14),G(1,fSa,1,0,"ng-container",18),M());a&2&&(R(2),a=T(9),
E(),K("ngTemplateOutlet",a))},iSa=function(a){if(a&1){var b=y();L(0,"div",12,3);Q("click",function(c){z(b);var d=R();return B(pq(d,c,!0,!1))})("keydown",function(c){z(b);var d=R();return B(hSa(d,c))})("keydown.escape",function(){z(b);var c=T(2);return B(c.hide())});I(3,YRa,4,5,"div",13);I(4,eSa,2,1)(5,gSa,2,1,"div",14);M()}a&2&&(a=R(),sk(zk("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name)),rk("bv2-disabled",a.disabled)("bv2-readonly",a.readonly),Hj("aria-label",Ak("",a.title," value is ",
a.getDisplayValue("empty"))),K("matTooltip",a.getTooltip()),Hj("tabindex",a.readonly?-1:0)("aria-disabled",!1),E(3),J(a.title?3:-1),E(),J(a.type==="ENUM"?4:5))},jSa=function(a){if(a&1){var b=y();L(0,"div",23);Q("click",function(){z(b);var c=R(2);return B(c.setFieldValue(!c.value))});L(1,"label");U(2);M()()}a&2&&(a=R(2),sk(zk("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x")),E(2),tk(a.title))},kSa=function(a){if(a&1){var b=y();L(0,"div",21);I(1,jSa,3,4,"div",13);L(2,"b-slide-toggle",
22);Q("modelChange",function(){z(b);var d=R();return B(d.setFieldValue(!d.value))});M()()}if(a&2){a=R();sk(zk("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name));rk("bv2-disabled",a.disabled)("bv2-readonly",a.readonly);K("matTooltip",a.getTooltip());Hj("aria-disabled",!1);E();J(a.title?1:-1);E();K("disabled",a.disabled||a.readonly);Gj("aria-label",a.name);var c;K("model",(c=a.value)!=null?c:void 0)}},lSa=function(a){if(a&1){var b=y();L(0,"button",25);Q("click",function(){z(b);var c=
R(2);return B(c.clearFieldValue())});L(1,"span",26);N(2,"mat-icon",27);M();U(3," \u00a0 ");M()}a&2&&(a=R(2),rk("b-menu-item-checked",a.value==null),K("disabled",a.value==null))},mSa=function(a){a&1&&N(0,"mat-divider")},nSa=function(a){a&1&&N(0,"mat-icon",30);a&2&&(a=R().$implicit,K("svgIcon",a.icon))},oSa=function(a){a&1&&(L(0,"span",31),U(1),M());a&2&&(a=R().$implicit,E(),tk(a.hotkey.displayAs))},pSa=function(a,b){if(a&1){var c=y();I(0,mSa,1,0,"mat-divider");L(1,"button",28);Q("click",function(){var e=
z(c).$implicit,f=R(2);return B(f.setFieldValue(e.value))})("onHotkey",function(){var e=z(c).$implicit,f=R(2);f.setFieldValue(e.value);return B(f.enumMenuTrigger.closeMenu())});L(2,"span",29);I(3,nSa,1,1,"mat-icon",30);L(4,"span",26);N(5,"mat-icon",27);M();U(6);I(7,oSa,2,1,"span",31);M()()}if(a&2){a=b.$implicit;b=b.$index;var d=R(2);J(b>0&&d.choices[b].group!=d.choices[b-1].group?0:-1);E();rk("b-menu-item-checked",d.value==a.value);K("disabled",d.value==a.value)("hotkey",a.hotkey);Hj("aria-label",
a.displayText)("title",!d.showEnumTitle||a.altText?"":a.displayText);E(2);J(a.icon?3:-1);E(3);V(" ",a.displayText," ");E();J(a.hotkey&&d.showHotkeyHint?7:-1)}},qSa=function(a){a&1&&(I(0,lSa,4,3,"button",24),Mj(1,pSa,8,10,null,null,Lj));a&2&&(a=R(),J(a.clearable?0:-1),E(),Nj(a.choices))},rSa=function(a){a&1&&N(0,"mat-icon",33);a&2&&(a=R(2),K("svgIcon",a.displayIcon))},sSa=function(a){a&1&&N(0,"b-truncated-span",37);a&2&&(a=R(2),rk("p0",a.value===a.IssuePriority.P0)("p1",a.value===a.IssuePriority.P1),
K("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},tSa=function(a){a&1&&N(0,"b-truncated-span",37);a&2&&(a=R(2),sk(zk("chippy status-",a.value)),K("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},uSa=function(a){a&1&&N(0,"b-truncated-span",36);a&2&&(a=R(2),K("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},vSa=function(a){a&1&&N(0,"b-truncated-span",37);a&2&&(a=R(2),K("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",
!a.truncate))},wSa=function(a){a&1&&N(0,"div",38)},xSa=function(a){a&1&&(L(0,"div",39),N(1,"mat-icon",41),M())},ySa=function(a){a&1&&(L(0,"div",40),N(1,"mat-icon",42),M())},zSa=function(a){if(a&1){var b=y();L(0,"div",32,4);Q("keydown",function(c){z(b);var d=R();return B(hSa(d,c))})("click",function(c){z(b);var d=R();return B(pq(d,c,!0,!1))});L(2,"div")(3,"span",29);I(4,rSa,1,1,"mat-icon",33);I(5,sSa,1,7,"b-truncated-span",34)(6,tSa,1,6,"b-truncated-span",35)(7,uSa,1,3,"b-truncated-span",36)(8,vSa,
1,3,"b-truncated-span",37);M();I(9,wSa,1,0,"div",38);M();I(10,xSa,2,0,"div",39)(11,ySa,2,0,"div",40);M()}a&2&&(a=R(),rk("edit-field-activated",a.isActive),E(4),J(a.displayIcon?4:-1),E(),J(a.title==="Priority"?5:a.title==="Status"?6:a.title==="Triage phase"?7:8),E(4),J(a.title||a.readonly||a.disabled?-1:9),E(),J(a.type=="ENUM"?10:11))},ASa=function(){},BSa=function(){},CSa=function(a){if(a&1){var b=y();L(0,"div",23);Q("click",function(d){z(b);return B(d.stopPropagation())});L(1,"b-date-time-picker-content",
45);Q("dateSelectionChange",function(d){z(b);var e=R(2);return B(e.googDateValue=d!=null?d:null)})("saveClicked",function(){z(b);var d=R(2);return B(d.setFieldValue(d.googDateValue))})("cancelClicked",function(){z(b);var d=R(2);return B(pq(d,null,!1,!1))});M()()}if(a&2){a=R(2);E();var c;K("required",!(a.clearable&&a.type==="DATE"))("date",(c=a.googDateValue)!=null?c:void 0)}},ESa=function(a){if(a&1){var b=y();L(0,"textarea",54);xk("ngModelChange",function(c){z(b);var d=R(3);wk(d.textBuffer,c)||(d.textBuffer=
c);return B(c)});Q("keydown",function(c){z(b);var d=R(3);if(!d.autocompleteActive)switch(c.keyCode){case 13:if(c.ctrlKey||c.metaKey)c.stopPropagation(),DSa(d);break;case 27:c.stopPropagation(),pq(d,c,!1,!0)}return B()});M()}a&2&&(a=R(3),vk("ngModel",a.textBuffer),Hj("aria-label",a.title))},FSa=function(a){if(a&1){var b=y();L(0,"input",55);xk("ngModelChange",function(c){z(b);var d=R(3);wk(d.textBuffer,c)||(d.textBuffer=c);return B(c)});Q("keydown",function(c){z(b);var d=R(3);if(!d.autocompleteActive)switch(c.keyCode){case 13:c.stopPropagation();
DSa(d);break;case 27:c.stopPropagation(),pq(d,c,!1,!0)}return B()});M()}a&2&&(a=R(3),vk("ngModel",a.textBuffer),Hj("type",a.type==="NUMERIC"?"number":"text")("aria-label",a.title))},GSa=function(a){if(a&1){var b=y();L(0,"div",46);Q("click",function(c){z(b);return B(c.stopPropagation())});L(1,"div");I(2,ESa,1,2,"textarea",47)(3,FSa,1,3,"input",48);M();L(4,"div",49)(5,"button",50);Q("click",function(){z(b);var c=R(2);return B(DSa(c))});N(6,"mat-icon",51);M();L(7,"button",52);Q("click",function(c){z(b);
var d=R(2);return B(pq(d,c,!1,!0))});N(8,"mat-icon",53);M()();L(9,"div",40);N(10,"mat-icon",42);M()()}a&2&&(a=R(2),E(2),J(a.multiline?2:3),E(3),Hj("aria-label",zk("Apply change to ",a.title)),K("matTooltip",zk("Apply change to ",a.title))("disabled",a.value==a.textBuffer),E(2),Hj("aria-label",zk("Discard change to ",a.title)),K("matTooltip",zk("Discard change to ",a.title)))},HSa=function(a){a&1&&(L(0,"div",43,5),I(2,ASa,0,0)(3,BSa,0,0)(4,CSa,2,2,"div")(5,GSa,11,10,"div",44),M());if(a&2){var b;a=
R();sk(zk("bv2-issue-metadata-field-edit bv2-issue-metadata-field-",a.name,"-edit"));E(2);J((b=a.type)==="ENUM"?2:b==="BOOL"?3:b==="DATE"?4:5)}},ISa=function(a){switch(a==null?void 0:a.type){case "ENUM":return"ENUM";case "DATE":return"DATE";case "TEXT":return"TEXT";case "NUMERIC":return"NUMERIC";default:return null}},qq=function(a,b,c){c=c===void 0?2:c;var d=Math.floor((new Date).getTime()/1E3-a);if(d<300)return"just now";if(!(d<0)){for(var e=[],f=l(JSa),h=f.next();!h.done;h=f.next()){var k=l(h.value);
h=k.next().value;k=k.next().value;if(e.length>=c)break;var q=Math.floor(d/k);if(q>=1)b?e.push(""+q+KSa[h]):q===1?e.push(q+" "+h):e.push(q+" "+h+"s");else if(e.length)break;d-=q*k;if(q>1)break}if(e.length)return e.join(" ")+" ago";console.error("epochToDateAgo() unhandled input. Seconds:",a)}},LSa=function(a,b){a&1&&(L(0,"time",1),W(1,"async"),U(2),M());if(a&2){a=R();var c=zk("padding-left: ",a.paddingLeftPx,"px");Kra(Ira,Jra,c,!1);K("title",b.title);Hj("datetime",X(1,6,a.timestampIso$));E(2);tk(b.formatted)}},
MSa=function(a,b){a&1&&(L(0,"span",4),U(1," by "),N(2,"b-user-display-name",7),W(3,"emailToUser"),M());a&2&&(E(2),K("user",X(3,2,b))("hovercardEnabled",!1))},NSa=function(a,b){a&1&&(L(0,"div")(1,"span"),U(2),M(),N(3,"b-formatted-date-time",8),M());a&2&&(a=R(),E(2),tk(a.pending?"Created on: ":"Submitted on: "),E(),K("timestamp",b))},OSa=function(a,b){a&1&&(N(0,"br"),U(1));a&2&&(a=b.$implicit,E(),V("",a," "))},PSa=function(a,b){a&1&&(L(0,"div",2)(1,"a",3),U(2," CL "),L(3,"span"),U(4),M()(),I(5,MSa,
4,4,"span",4),N(6,"br")(7,"br"),I(8,NSa,4,2,"div"),L(9,"div",5),N(10,"div",6)(11,"br"),L(12,"div"),U(13," Affected files: "),Mj(14,OSa,2,1,null,null,Lj),M()()());if(a&2){var c,d;a=R();E();K("href","http://critique.corp.google.com/"+a.changelistId,Ni);E(3);tk(a.changelistId);E();J((c=b.author)?5:-1,c);E(3);J((d=b.timestamp)?8:-1,d);E(2);K("innerHTML",b.description,Mi);E(4);Nj(b.affectedFiles)}},QSa=function(a){a&1&&N(0,"b-changelist-card",5,1);if(a&2){a=T(1);var b=R();K("onedevIsHovercardReady",a.init)("changelistId",
b.changelistId)}},RSa=function(a){a&1&&N(0,"b-changelist-chip",0);a&2&&(a=R(),K("changelistId",a.changelist))},SSa=function(a){a&1&&N(0,"b-gerrit-change-chip",1);a&2&&(a=R(),K("gerritChange",a.gerritChange))},TSa=function(a){a&1&&N(0,"b-changelist-card",4,1);if(a&2){a=T(1);var b=R();K("onedevIsHovercardReady",a.init)("changelistId",b.id)}},USa=function(a){a&1&&ak(0,4)},VSa=function(a){a&1&&(L(0,"div",11),N(1,"input",12),L(2,"div",13),Gh(),L(3,"svg",14),N(4,"path",15),M(),Hh(),N(5,"div",16),M()());
a&2&&(a=R(),rk("mdc-checkbox--disabled",a.disabled),E(),K("checked",a.selected)("disabled",a.disabled))},WSa=function(a){a&1&&(L(0,"div",17),N(1,"input",18),L(2,"div",19),N(3,"div",20)(4,"div",21),M()());a&2&&(a=R(),rk("mdc-radio--disabled",a.disabled),E(),K("checked",a.selected)("disabled",a.disabled))},XSa=function(){},YSa=function(a){a&1&&(L(0,"span",4),G(1,XSa,0,0,"ng-template",6),M());a&2&&(R(),a=T(3),E(),K("ngTemplateOutlet",a))},ZSa=function(){},$Sa=function(a){a&1&&(L(0,"span",5),G(1,ZSa,
0,0,"ng-template",6),M());a&2&&(R(),a=T(5),E(),K("ngTemplateOutlet",a))},aTa=function(){},bTa=function(a){a&1&&G(0,aTa,0,0,"ng-template",6);a&2&&(R(),a=T(1),K("ngTemplateOutlet",a))},cTa=function(){},dTa=function(a){a&1&&(L(0,"span",9),G(1,cTa,0,0,"ng-template",6),M());a&2&&(R(),a=T(3),E(),K("ngTemplateOutlet",a))},eTa=function(){},fTa=function(a){a&1&&(L(0,"span",9),G(1,eTa,0,0,"ng-template",6),M());a&2&&(R(),a=T(5),E(),K("ngTemplateOutlet",a))},gTa=function(){},hTa=function(a){a&1&&G(0,gTa,0,0,
"ng-template",6);a&2&&(R(),a=T(1),K("ngTemplateOutlet",a))},iTa=function(a,b){a&1&&(L(0,"mat-list-option",11),U(1),M());a&2&&(a=b.$implicit,b=R(),qk("height","auto"),K("selected",b.selectedValues.has(a))("value",a),E(),V(" ",a," "))},jTa=function(a){var b,c=(b=a==null?void 0:a.added.length)!=null?b:0,d;b=(d=a==null?void 0:a.removed.length)!=null?d:0;return a?c>0&&b===0?["Add ("+c+")","Add "+c+" value(s)"]:c===0&&b>0?["Remove ("+b+")","Remove "+b+" value(s)"]:["Save","Save all changes ("+c+" added, "+
b+" removed)"]:["Save","(No changes)"]},kTa=function(a,b){a&1&&(Pj(0,"div",1,0),ak(2),Qj());a&2&&(a=b.id,b=R(),sk(b._classList),rk("mat-mdc-autocomplete-visible",b.showPanel)("mat-mdc-autocomplete-hidden",!b.showPanel)("mat-autocomplete-panel-animations-enabled",!b._animationsDisabled)("mat-primary",b._color==="primary")("mat-accent",b._color==="accent")("mat-warn",b._color==="warn"),Oj("id",b.id),Hj("aria-label",b.ariaLabel||null)("aria-labelledby",b._getPanelAriaLabelledby(a)))},lTa=function(a){if(a&
1){var b=y();L(0,"mat-checkbox",8);Q("click",function(d){z(b);return B(d.stopPropagation())})("change",function(){z(b);var d=R().$implicit,e=R();return B(e.toggleSelection(d))});U(1);M()}if(a&2){a=R().$implicit;var c=R();K("checked",c.selectedValuesMap[a]);E();V(" ",a," ")}},mTa=function(a){a&1&&(L(0,"div",7),U(1),M());a&2&&(a=R().$implicit,E(),V(" ",a," "))},nTa=function(a,b){a&1&&(L(0,"mat-option",4),I(1,lTa,2,2,"mat-checkbox",6)(2,mTa,2,1,"div",7),M());a&2&&(a=b.$implicit,b=R(),K("value",a),E(),
J(b.allowMultiSelect?1:2))},pTa=function(a){if(a&1){var b=y();L(0,"div",5)(1,"button",9);Q("click",function(){z(b);var c=R();return B(oTa(c))})("keydown.enter",function(){z(b);var c=R();return B(oTa(c))});N(2,"mat-icon",10);M();L(3,"button",11);Q("click",function(){z(b);var c=R();return B(c.cancel())})("keydown.esc",function(){z(b);var c=R();return B(oTa(c))});N(4,"mat-icon",12);M()()}a&2&&(a=R(),E(),Hj("aria-label",zk("Apply changes to ",a.customFieldTitle)),K("disabled",!a.hasPendingChanges),E(2),
Hj("aria-label",zk("Discard changes to ",a.customFieldTitle)))},qTa=function(a){if(a&1){var b=y();L(0,"a",16);Q("click",function(){z(b);var c=R();return B(c.trackClick("viewTeamAssociationOnComponent"))});L(1,"button",11);U(2,"View team association on component");M()()}a&2&&(a=R(),K("href",a.ROUTES.editComponent.makeHref(a.componentId),Ni))},rTa=function(a){if(a&1){var b=y();L(0,"a",4);Q("click",function(){z(b);var d=R(2);return B(d.trackClick("viewTeamInMoma"))});L(1,"span");U(2);N(3,"mat-icon",
5);M()()}if(a&2){a=R(2);var c=T(4);K("href",zk("https://moma.corp.google.com/team/",a.teamId),Ni)("onedevHovercardTrigger",c);Hj("aria-labelledby",a.linkAriaLabelledBy())("aria-label",(a.teamName?a.teamName:a.teamId)+" - link opens in a new tab");E();Hj("id",a.teamLinkId);E();V("",a.teamName?a.teamName:a.teamId," ")}},sTa=function(a){a&1&&(L(0,"span",3),U(1),M());if(a&2){a=R(2);var b=T(4);K("onedevHovercardTrigger",b);E();tk(a.teamName?a.teamName:a.teamId)}},tTa=function(a){a&1&&(I(0,rTa,4,7,"a",
2),I(1,sTa,2,2,"span",3));a&2&&(a=R(),J(a.anchorLinkEnabled?0:-1),E(),J(a.anchorLinkEnabled?-1:1))},uTa=function(a){a&1&&N(0,"span",6)},vTa=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(2),E(),tk(a.teamNotAssignedMessage))},wTa=function(a){a&1&&(I(0,uTa,1,0,"span",6),I(1,vTa,2,1,"span"));a&2&&(a=R(),J(a.teamId!="0"?0:-1),E(),J(a.teamId=="0"?1:-1))},xTa=function(a){a&1&&N(0,"b-icon",2);a&2&&(a=R(),K("name",a.iconName))},yTa=function(a){a&1&&(L(0,"span",3),U(1),M());a&2&&(a=R(),E(),tk(a.title))},
zTa=function(a){a&1&&(L(0,"div",4),U(1,"\u00a0"),M())},ATa=function(){return Mpa(function(){return di(Promise.resolve(void 0))})},BTa=function(a){a&1&&N(0,"a",1)},FTa=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");d==="canvas"?CTa(a,b):(d==="input"||d==="select"||d==="textarea")&&DTa(a,b);ETa("canvas",a,b,CTa);ETa("input, textarea, select",a,b,DTa);return b},ETa=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])},DTa=function(a,b){b.type!=="file"&&(b.value=a.value);b.type==="radio"&&b.name&&(b.name="mat-clone-"+b.name+"-"+GTa++)},CTa=function(a,b){if(b=b.getContext("2d"))try{b.drawImage(a,0,0)}catch(c){}},HTa=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}},ITa=function(a,b,c){var d=a.bottom,e=a.left,f=a.right;return c>=
a.top&&c<=d&&b>=e&&b<=f},JTa=function(a,b,c){a.top+=b;a.bottom=a.top+a.height;a.left+=c;a.right=a.left+a.width},KTa=function(a,b,c){var d=a.right,e=a.bottom,f=a.left,h=a.width*.05,k=a.height*.05;return c>a.top-k&&c<e+k&&b>f-h&&b<d+h},LTa=function(a,b){a=a.rootNodes;if(a.length===1&&a[0].nodeType===b.ELEMENT_NODE)return a[0];var c=b.createElement("div");a.forEach(function(d){return c.appendChild(d)});return c},MTa=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,((f=c)==null?0:f.has(d))?"important":"")}else a.removeProperty(d)}},rq=function(a,b){var c=b?"":"none";MTa(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})},OTa=function(a,b){MTa(a.style,{position:b?"":"fixed",top:b?"":"0",opacity:b?"":"0",left:b?"":"-999em"},NTa)},PTa=function(a,b){return b&&b!="none"?a+" "+b:a},RTa=function(a,b){a.style.width=
b.width+"px";a.style.height=b.height+"px";a.style.transform=QTa(b.left,b.top)},QTa=function(a,b){return"translate3d("+Math.round(a)+"px, "+Math.round(b)+"px, 0)"},STa=function(a){var b=a.toLowerCase().indexOf("ms")>-1?1:1E3;return parseFloat(a)*b},UTa=function(a){a=getComputedStyle(a);var b=TTa(a,"transition-property"),c=b.find(function(d){return d==="transform"||d==="all"});if(!c)return 0;b=b.indexOf(c);c=TTa(a,"transition-duration");a=TTa(a,"transition-delay");return STa(c[b])+STa(a[b])},TTa=function(a,
b){return a.getPropertyValue(b).split(",").map(function(c){return c.trim()})},VTa=function(a){return a.type[0]==="t"},WTa=function(a){a.preventDefault()},sq=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}},XTa=function(a,b){var c=a.top,d=a.bottom;a=a.height*.05;return b>=c-a&&b<=c+a?1:b>=d-a&&b<=d+a?2:0},YTa=function(a,b){var c=a.left,d=a.right;a=a.width*.05;return b>=c-a&&b<=c+a?1:b>=d-a&&
b<=d+a?2:0},ZTa=function(a){a&1&&(L(0,"label"),U(1),M());a&2&&(a=R(),E(),V(" ",a.title," "))},$Ta=function(a){a&1&&N(0,"mat-icon",14)},bUa=function(a,b){a&1&&(L(0,"div",19),Uj(1,21),M());if(a&2){a=b.$implicit;b=b.$index;R(2);var c=T(13);E();K("ngTemplateOutletContext",Ek(2,aUa,a,b))("ngTemplateOutlet",c)}},dUa=function(a){a&1&&(L(0,"collapsible-panel",16),Mj(1,bUa,2,5,"div",19,Kj),Uj(3,20),M());if(a&2){a=R();var b=T(15),c=K("isExpanded",a.isExpanded||a.enableNewCustomRepeatedEnumUi&&tq(a))("iconName",
a.iconName)("hasCompactTitleBar",!0);var d=a.enableNewCustomRepeatedEnumUi&&tq(a)?(d=a.values)?d.length===1?"1 value":d.length+" values":"":a.collapsiblePanelTitle;c("title",d);E();Nj(cUa(a));E(2);K("ngTemplateOutlet",b)}},eUa=function(a,b){a&1&&(L(0,"div",19),Uj(1,21),M());if(a&2){a=b.$implicit;b=b.$index;R(2);var c=T(13);E();K("ngTemplateOutletContext",Ek(2,aUa,a,b))("ngTemplateOutlet",c)}},fUa=function(a){a&1&&(L(0,"div",22),U(1,"--"),M())},gUa=function(a){a&1&&(Mj(0,eUa,2,5,"div",19,Kj),Uj(2,
20),I(3,fUa,2,0,"div",22));if(a&2){a=R();var b=T(15);Nj(cUa(a));E(2);K("ngTemplateOutlet",b);E();J((a.values==null?0:a.values.length)?-1:3)}},jUa=function(a){if(a&1){var b=y();L(0,"button",28);Q("menuOpened",function(){z(b);var d=R(3);hUa(d);d.enumPendingValues=new Set(d.values||[]);return B()})("menuClosed",function(){z(b);var d=R(3);return B(iUa(d))});U(1,"Edit ");M()}if(a&2){a=R(3);var c=T(17);K("matMenuTriggerFor",c);Hj("aria-label","Add item to "+a.title)}},kUa=function(a){a&1&&(L(0,"button",
26,7),U(2,"Edit "),M());if(a&2){a=R(3);var b=T(24);K("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST);Hj("aria-label","Edit items for "+a.title)}},mUa=function(a){if(a&1){var b=y();L(0,"button",29,7);Q("click",function(){z(b);var c=R(3);return B(lUa(c))});U(2,"Edit ");M()}a&2&&(a=R(3),Hj("aria-label","Edit items for "+a.title))},nUa=function(a){a&1&&(I(0,jUa,2,2,"button",25),I(1,kUa,3,3,"button",26),I(2,mUa,3,1,"button",27));a&2&&(a=R(2),J(tq(a)?-1:0),E(),J(tq(a)&&!a.enableNewCustomRepeatedEnumUi?
1:-1),E(),J(a.enableNewCustomRepeatedEnumUi&&tq(a)?2:-1))},oUa=function(a){a&1&&(L(0,"button",23),U(1,"Add "),M());if(a&2){a=R(2);var b=T(22);Hj("aria-label",zk("Add item to ",a.title));K("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST)}},pUa=function(a){if(a&1){var b=y();L(0,"button",30);Q("beforeOpened",function(){z(b);var d=R(2);return B(d.invalidMessage="")});U(1,"Add ");M()}if(a&2){a=R(2);var c=T(20);Hj("aria-label",zk("Add item to ",a.title));K("dialogLabel",zk("Add item to ",
a.title))("matTooltip",zk("Add item to ",a.title))("xapInlineDialogClick",c)("overlayPositions",a.OVERLAY_POSITION_LIST)}},qUa=function(a){a&1&&I(0,nUa,3,3)(1,oUa,2,4,"button",23)(2,pUa,2,8,"button",24);if(a&2){var b;a=R();J((b=a.type)==="REPEATED_ENUM"?0:b==="REPEATED_DATE"?1:2)}},rUa=function(a){a&1&&(L(0,"div"),N(1,"b-code-change-chip",36),M());a&2&&(a=R(2).item,E(),K("codeChange",a))},sUa=function(a){a&1&&(L(0,"div")(1,"a",37),U(2),M()());if(a&2){a=R(2).item;var b=R();E();switch(b.environmentType){case "NIGHTLY":case "PROD":b=
"https://taskflow.corp.google.com/workspaces";break;default:b="https://taskflow-autopush.corp.google.com/workspaces"}K("href",b+"/"+a.workspaceId+"/work_item/b/"+a.issueId+"?edit=b/"+a.issueId,Ni);Hj("aria-label","Workspace"+a.workspaceId);E();V(" ",a.workspaceName," ")}},tUa=function(a){a&1&&(L(0,"div"),N(1,"b-team-display",38),M());a&2&&(a=R(2).item,E(),K("teamId",a.teamId)("componentId",a.componentId))},uUa=function(a){if(a&1){var b=y();L(0,"div")(1,"a",39);Q("click",function(){z(b);var c=R(3);
return B(c.trackClick("postmortem"))});U(2);M()()}a&2&&(a=R(2).item,E(),Hj("aria-label",zk("Postmortem ",a)),K("href",zk("https://pm.corp.google.com/",a),Ni),E(),V(" ",a," "))},wUa=function(a){if(a&1){var b=y();L(0,"div",33)(1,"a",40);Q("click",function(){z(b);var d=R(3);return B(d.trackClick("repeated-enum"))});U(2);M()()}if(a&2){a=R(2).item;var c=R();K("matTooltip",a);E();Hj("aria-label",Ak("Search issues for customfield",c.customFieldId,":",a));K("queryParams",Dk(6,vUa,"customfield"+c.customFieldId+
':"'+a+'"'));E();V(" ",a," ")}},xUa=function(a){a&1&&(L(0,"div"),N(1,"b-truncated-span",41),M());if(a&2){a=R(2).item;var b=R();E();K("maxWidth",150)("modelValue",a)("disabled",!b.truncate)}},yUa=function(a){if(a&1){var b=y();L(0,"button",42,8);Q("click",function(){z(b);var d=R(2).$index,e=R();return B(e.removeItem(d))});M()}if(a&2){a=R(2).item;var c=R();Hj("aria-label",Ak("Remove ",a," from ",c.title));K("disabled",c.listFieldDisabled)("matTooltip","Remove item")}},zUa=function(a){a&1&&(L(0,"div",
31)(1,"div",32),I(2,rUa,2,1,"div")(3,sUa,3,3,"div")(4,tUa,2,2,"div")(5,uUa,3,5,"div")(6,wUa,3,8,"div",33)(7,xUa,2,3,"div"),M(),I(8,yUa,2,5,"button",34),N(9,"div",35),M());if(a&2){a=R().item;var b=R();E(2);J(b.type==="CODE_CHANGES"?2:b.type==="WORKSPACES"?3:b.type==="TEAM"?4:b.type==="POSTMORTEMS"?5:b.type==="REPEATED_ENUM"&&tq(b)?6:b.isString(a)?7:-1);E(6);J((b.readonly?0:b.type==="REPEATED_ENUM"?tq(b)&&!b.enableNewCustomRepeatedEnumUi:1)?8:-1)}},AUa=function(a,b){a&1&&I(0,zUa,10,2,"div",31);if(a&
2){a=b.item;b=b.$index;var c=R();J((c.showingAll||b<c.defaultLineCount||c.values&&c.values.length===c.defaultLineCount+1)&&(c.type!=="CODE_CHANGES"||c.showCodeChanges(a))?0:-1)}},BUa=function(a){if(a&1){var b=y();L(0,"div",44,9);Q("click",function(c){z(b);var d=R(2);return B(uq(d,!1,c))})("keydown.enter",function(c){z(b);var d=R(2);return B(uq(d,!1,c))})("keydown.space",function(c){z(b);var d=R(2);return B(uq(d,!1,c))});U(2," (show fewer) ");M()}a&2&&(a=R(2),Hj("aria-label",Ak("Show at most ",a.defaultLineCount,
" ",a.title," items")),K("matTooltip",zk("Show a truncated list of at most ",a.defaultLineCount," items")))},CUa=function(a){if(a&1){var b=y();L(0,"div")(1,"div",45);U(2);L(3,"span",46,10);Q("click",function(c){z(b);var d=R(2);return B(uq(d,!0,c))})("keydown.enter",function(c){z(b);var d=R(2);return B(uq(d,!0,c))})("keydown.space",function(c){z(b);var d=R(2);return B(uq(d,!0,c))});U(5," (show all) ");M()()()}a&2&&(a=R(2),E(2),V(" ... and ",a.values.length-a.defaultLineCount," more "),E(),Hj("aria-label",
Ak("Show all ",a.values==null?null:a.values.length," ",a.title," items")),K("matTooltip",zk("Show all ",a.values==null?null:a.values.length," items in the list")))},EUa=function(a){a&1&&(I(0,BUa,3,5,"div",43),I(1,CUa,6,6,"div"));a&2&&(a=R(),J(a.showingAll&&DUa(a)?0:-1),E(),J(!a.showingAll&&DUa(a)?1:-1))},GUa=function(a,b){if(a&1){var c=y();L(0,"button",48);Q("click",function(d){var e=z(c).$implicit,f=R(2),h=e.value;f.enumPendingValues.has(h)?f.enumPendingValues.delete(h):f.enumPendingValues.add(h);
f.liveAnnouncer.announce(FUa(f,e));d==null||d.stopPropagation();return B()});L(1,"span",49);N(2,"mat-icon",50);M();U(3);M()}a&2&&(a=b.$implicit,b=R(2),rk("b-menu-item-checked",b.enumPendingValues.has(a.value)),K("disabled",b.listFieldDisabled),Hj("aria-label",FUa(b,a)),E(3),V(" ",a.displayText," "))},HUa=function(a){a&1&&Mj(0,GUa,4,5,"button",47,Kj);a&2&&(a=R(),Nj(a.sortedEnumChoices))},IUa=function(a){a&1&&(L(0,"mat-error"),U(1),M());a&2&&(a=R(2),Hj("aria-label",Ak("",a.title," error: ",a.invalidMessage)),
E(),V(" ",a.invalidMessage," "))},JUa=function(a){if(a&1){var b=y();L(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"form",51,11);Q("ngSubmit",function(){z(b);var d=T(3),e=T(4),f=R();return B(f.textPopupSubmit(d,e))});N(5,"input",52);L(6,"div",53)(7,"button",54);N(8,"mat-icon",55);M();L(9,"button",56);Q("click",function(){z(b);var d=R();return B(d.closeAddPopup(!0))});N(10,"mat-icon",57);M()();I(11,IUa,2,4,"mat-error");M()()()}if(a&2){a=T(3);var c=R();E(5);Hj("aria-label",zk("Addition to ",
c.title));K("type",c.type==="REPEATED_NUMERIC"?"number":"text");E(2);Hj("aria-label",zk("Apply addition to ",c.title));K("disabled",!a.valid||c.listFieldDisabled);E(2);Hj("aria-label",zk("Discard addition to ",c.title));E(2);J(c.invalidMessage?11:-1)}},KUa=function(a){if(a&1){var b=y();L(0,"b-date-time-picker-content",58);Q("dateChange",function(c){z(b);var d=R();return B(c&&d.addItems(c))})("cancelClicked",function(){z(b);var c=R();return B(c.closeAddPopup(!1))});M()}a&2&&K("required",!0)("renderPanel",
!1)},NUa=function(a){if(a&1){var b=y();L(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-custom-repeated-enum-picker",59);Q("onApplyChanges",function(c){z(b);var d=R();return B(LUa(d,c))})("onCancelChanges",function(){z(b);var c=R();return B(c.closeAddPopup(!0))});M()()()}a&2&&(a=R(),E(2),K("allowMultiSelect",!0)("customFieldTitle",a.title)("allowedValues",MUa(a))("selectedValues",a.values))},OUa=function(a,b){return{originX:a,originY:b}},PUa=function(a,b){return{overlayX:a,overlayY:b}},
QUa=function(a){switch(a==null?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}},wq=function(a){return(a!=null?a:[]).map(vq)},xq=function(a){return(a!=null?a:[]).map(RUa)},vq=function(a){if(a==null)return"";var b=a.user,c=a.group,d=a.alias;a=void 0;b!=null?(a="USER",b=Jd(b)):c!=null?(a="GROUP",b=Jd(c)):d!=null?(a="ALIAS",b=d):b="";return a===
void 0||b===""?"":a+":"+b},yq=function(a){return(a!=null?a:[]).map(vq)},zq=function(a){return(a!=null?a:[]).map(RUa)},RUa=function(a){var b=l(a.split(":"));a=b.next().value;b=b.next().value;if(!a||!b)throw Error("Pd`"+b);switch(a){case "USER":return{user:{emailAddress:b}};case "GROUP":return{group:{emailAddress:b}};case "ALIAS":return{alias:b};default:throw Error("Qd`"+b);}},Aq=function(){return{admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],
implicitAccess:null}},Bq=function(a){return{admins:wq(a.admins),editors:wq(a.editors),appenders:wq(a.appenders),readers:wq(a.readers),restrictedReaders:wq(a.restrictedReaders),restrictedPlusReaders:wq(a.restrictedPlusReaders),inheritedAdmins:wq(a.inheritedAdmins),implicitAccess:a.implicitAccess||null}},Cq=function(a){return{admins:xq(a.admins),editors:xq(a.editors),appenders:xq(a.appenders),readers:xq(a.readers),restrictedReaders:xq(a.restrictedReaders),restrictedPlusReaders:xq(a.restrictedPlusReaders),
implicitAccess:a.implicitAccess}},SUa=function(a){a&1&&Uj(0)},TUa=function(a){if(a&1){var b=y();L(0,"div",3);Q("mouseenter",function(){z(b);var c=R();return B(c.toggle(!0))})("mouseleave",function(){z(b);var c=R();return B(c.toggle(!1))})("mousemove",function(){z(b);R().activity.next();return B()});G(1,SUa,1,0,"ng-container",4);M()}a&2&&(a=R(),K("ngClass",a.bubbleStyle)("@fade",void 0),E(),K("ngTemplateOutlet",a.panelTemplate))},UUa=function(a){a&1&&(L(0,"span",3),U(1),M());a&2&&(a=R(2),sk(a.chipClass),
rk("xs",a.compactMode),E(),V(" ",a.chipText," "))},VUa=function(a){a&1&&(L(0,"div",5),U(1),L(2,"a",6),U(3," Learn more"),M()());a&2&&(a=R(3),E(),V(" ",a.bubbleText," "),E(),K("href",Dq(a.documentationLinks),Ni))},WUa=function(a){a&1&&(L(0,"xap-bubble",2)(1,"span",4),U(2),M(),G(3,VUa,4,2,"ng-template",null,0,Gk),M());if(a&2){a=T(4);var b=R(2);K("panelTemplate",a);E();sk(b.chipClass);rk("xs",b.compactMode);E();V(" ",b.chipText," ")}},XUa=function(a){a&1&&I(0,UUa,2,5,"span",1)(1,WUa,5,6,"xap-bubble",
2);a&2&&(a=R(),J(a.labelOnlyMode?0:1))},YUa=function(a){a&1&&(L(0,"li")(1,"a",3),U(2," Create an issue in this component"),M()());a&2&&(a=R(2),E(),K("href",a.createIssueUrl,Ni))},ZUa=function(a,b){a&1&&(L(0,"h3"),U(1),M(),L(2,"p"),U(3),M(),N(4,"b-component-access-level-indicator",2),L(5,"p"),U(6),M(),L(7,"ul")(8,"li")(9,"a",3),U(10," View recent open issues"),M()(),I(11,YUa,3,1,"li"),L(12,"li")(13,"a",3),U(14," View component"),M()()());a&2&&(a=R(),E(),tk(b.name),E(2),V("ID: ",a.componentId),E(),
K("accessLevel",b.accessLimit==null?null:b.accessLimit.accessLevel)("labelOnlyMode",!0),E(2),tk(b.description),E(3),K("href",a.recentIssuesUrl,Ni),E(2),J(a.isAnonymous?-1:11),E(2),K("href",a.viewComponentUrl,Ni))},$Ua=function(a,b){a&1&&(L(0,"span",4)(1,"a",6),U(2),M(),L(3,"onedev-hovercard",null,0),N(5,"b-component-card",7),M()());a&2&&(a=b.$implicit,b=T(4),E(),K("onedevHovercardTrigger",b)("routerLinkObj",a.route),E(),tk(a.name),E(3),K("componentId",a.id.toString()))},aVa=function(a){a&1&&(L(0,
"span",5),U(1,"[Archived]"),M())},bVa=function(a,b){b=b===void 0?sp:b;var c,d=(c=a==null?void 0:a.componentPathId)!=null?c:[],e,f=(e=a==null?void 0:a.componentPathName)!=null?e:[];return d.map(function(h,k){var q;k=(q=f[k])!=null?q:String(h);q=b(h);return{id:h,name:k,route:q}})},cVa=function(a){a&1&&U(0," > ")},dVa=function(a,b){a&1&&(L(0,"a",4),U(1),M(),I(2,cVa,1,0));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;Hj("aria-label",zk("View recent issues in ",a.name));K("routerLinkObj",a.route);E();
tk(a.name);E();J(c!==b-1?2:-1)}},eVa=function(a){a&1&&(L(0,"span"),U(1," [Archived]"),M())},fVa=function(a){a&1&&(L(0,"div",2),Mj(1,dVa,3,5,null,null,Lj),W(3,"async"),I(4,eVa,2,0,"span"),W(5,"async"),M());a&2&&(a=R(),E(),Nj(X(3,1,a.componentPath$)),E(3),J(X(5,3,a.isArchived$)?4:-1))},gVa=function(a,b){a&1&&(L(0,"div",5),N(1,"mat-icon",6),L(2,"div",7),U(3),M()(),L(4,"div",8)(5,"span",7),U(6),M(),N(7,"b-component-access-level-indicator",9),M(),L(8,"p",7),U(9),M());a&2&&(E(3),tk(b.name),E(3),V("Component ID: ",
b.componentId),E(),K("accessLevel",b.accessLimit==null?null:b.accessLimit.accessLevel)("labelOnlyMode",!0),E(2),tk(b.description))},hVa=function(a,b){a&1&&(L(0,"div",3)(1,"a",10),U(2,"View recent open issues"),M(),L(3,"a",11),U(4,"View component settings"),M(),L(5,"a",12),U(6,"Create issue in this component"),M()());a&2&&(E(),K("routerLinkObj",b.recentIssues),E(2),K("routerLinkObj",b.componentSettings),E(2),K("routerLinkObj",b.createIssue))},jVa=function(a){return iVa[a]},Eq=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]]}))})},Fq=function(a){a=a===void 0?0:a;return new Promise(function(b){setTimeout(b,a)})},kVa=function(a){a&1&&(L(0,"span",4),U(1),M());a&2&&(a=R(2),E(),V(" ",a.name," "))},lVa=function(a){a&1&&U(0," Trackers are distinct communities with their own branding. ")},mVa=function(a){a&1&&(L(0,"a",9),U(1,"Learn More"),M());a&2&&(a=R(2),K("href",a.documentationLinks.baseDocumentationUrl+"/concepts/trackers",
Ni))},nVa=function(a){a&1&&(L(0,"button",1),N(1,"img",2)(2,"img",3),I(3,kVa,2,1,"span",4),M(),L(4,"onedev-hovercard",null,0)(6,"div",5)(7,"div",6)(8,"span",7),U(9),I(10,lVa,1,0),M(),L(11,"div",8)(12,"a",9),U(13),M(),I(14,mVa,2,1,"a",9),M()()()());if(a&2){a=T(5);var b=R();rk("xs",b.compactMode);K("onedevHovercardTrigger",a)("onedevHovercardActive",b.showHovercard);E();K("src",b.logoLight,Ni);E();K("src",b.logoDark,Ni);E();J(b.compactMode?-1:3);E(6);V(" This component or issue is part of ",b.extendedName,
". ");E();J(b.isGlobalBuganizer?-1:10);E(2);K("href",b.redirectUrl,Ni);E();V("View ",b.extendedName);E();J(b.isGlobalBuganizer?-1:14)}},oVa=function(a){a&1&&(N(0,"b-tracker-chip",0),W(1,"async"));a&2&&(a=R(),K("tracker",X(1,4,a.tracker$)||void 0)("compactMode",a.compactMode)("showHovercard",a.showHovercard)("isGlobalBuganizer",a.isGlobalBuganizer))},pVa=function(a){a&1&&N(0,"mat-icon",1)},qVa=function(a){if(a&1){var b=y();L(0,"button",9);Q("mousedown",function(c){z(b);var d=R();return B(d.back(c))});
N(1,"mat-icon",10);M()}},rVa=function(a){if(a&1){var b=y();L(0,"button",11);Q("mousedown",function(c){z(b);var d=R();return B(d.expand(d.componentOption,c))});N(1,"mat-icon",12);M()}a&2&&(a=R(),K("matTooltip","View child components of "+a.componentOption.name),Hj("aria-label","View child components of "+a.componentOption.name),E(),K("svgIcon",a.showFolderSpecialIcon?"folder_special_24px":"folder"))},sVa=function(a){if(a&1){var b=y();L(0,"a",14);W(1,"toString");W(2,"boldPrefixMatches");Q("mousedown",
function(d){z(b);var e=R().$implicit;R(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return B()});M()}if(a&2){a=R().$implicit;var c=R(2);K("innerHtml",Fk(2,3,X(1,1,a.name),c.query),Mi)}},tVa=function(a){a&1&&U(0);a&2&&(a=R().$implicit,V(" ",a.name," "))},uVa=function(a){a&1&&U(0," \u00a0>\u00a0 ")},vVa=function(a,b){a&1&&(I(0,sVa,3,6,"a",13)(1,tVa,1,1),I(2,uVa,1,0));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;J(a.name!=a.id?0:1);E(2);J(c!==b-1?2:-1)}},wVa=function(a){a&
1&&Mj(0,vVa,3,2,null,null,Lj);a&2&&(a=R(),Nj(a.componentOption.componentPath))},xVa=function(a,b){if(a&1){var c=y();L(0,"a",16);Q("mousedown",function(d){var e=z(c);R(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return B()});U(1);M()}a&2&&(E(),V(" ",b.name," "))},yVa=function(a){a&1&&I(0,xVa,2,1,"a",15);if(a&2){var b;a=R();J((b=a.componentOption.componentPath[a.componentOption.componentPath.length-1])?0:-1,b)}},zVa=function(a){a&1&&(L(0,"span",6),U(1," [Archived] "),M())},
AVa=function(a){return{type:"team",id:a.teamId,name:a.name,description:a.description,pathNames:a.pathNames,pathIds:a.pathIds,expanded:!1}},BVa=function(a){return{type:"team",id:a.id,name:a.name,description:a.description,expanded:!1}},CVa=function(a,b){var c,d=(c=b==null?void 0:b.componentPathId)!=null?c:[],e,f=(e=b==null?void 0:b.componentPathName)!=null?e:[];b=d.map(function(h,k){return{id:h,name:f[k],pathText:f.slice(0,k+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}},DVa=function(a){return new Map([].concat(p(a.entries())).map(function(b){var c=l(b);b=c.next().value;c=c.next().value;return[b,c.map(BVa)]}))},EVa=function(a){a&1&&N(0,"img",1);a&2&&(a=R(),Hj("src",a.getLogoUrl(),Ni))},FVa=function(a){a&1&&(L(0,"span",6),U(1,"no components"),M())},GVa=function(a){a&1&&(L(0,"div",3),N(1,"div",5),W(2,"boldPrefixMatches"),I(3,FVa,2,0,"span",6),M());a&2&&(a=R(),E(),K("innerHtml",Fk(2,
2,a.teamOption.name,a.query),Mi),E(2),J(a.hasNoComponent?3:-1))},HVa=function(a){if(a&1){var b=y();L(0,"a",8);Q("mousedown",function(c){z(b);var d=R(2).$index,e=R(2);d=e.teamOption.pathIds==null?null:e.teamOption.pathIds[d];c.preventDefault();c.stopPropagation();d&&e.selectTeamId.emit(d);return B()});U(1);M()}a&2&&(a=R(2).$implicit,E(),tk(a))},IVa=function(a){a&1&&U(0);a&2&&(a=R(2).$implicit,V(" ",a," "))},JVa=function(a){a&1&&(I(0,HVa,2,1,"a",7)(1,IVa,1,1),Sj(2),U(3," \u00b7 "),Tj());a&2&&(a=R(3),
J(a.allowSegmentSelection?0:1))},KVa=function(a){a&1&&(L(0,"strong",9),U(1),M());a&2&&(a=R(2).$implicit,E(),tk(a))},LVa=function(a){a&1&&U(0);a&2&&(a=R(2).$implicit,V(" ",a," "))},MVa=function(a){a&1&&I(0,KVa,2,1,"strong",9)(1,LVa,1,1);a&2&&(a=R(3),J(a.compact?0:1))},NVa=function(a,b){a&1&&I(0,JVa,4,1)(1,MVa,2,1);a&2&&J(b.$index!==b.$count-1?0:1)},OVa=function(a){a&1&&(L(0,"div",4),Mj(1,NVa,2,1,null,null,Lj),M());a&2&&(a=R(),E(),Nj(a.teamOption.pathNames))},PVa=function(a){a&1&&Rj(0,"div",2)},QVa=
function(a){if(a&1){var b=y();L(0,"button",9);Q("mousedown",function(c){z(b);R().clearQuery();return B(Gq(c))});N(1,"mat-icon",10);M()}},RVa=function(a){a&1&&(L(0,"div",11),U(1," Checking for admin access... "),M())},SVa=function(a){a&1&&(L(0,"div",12),U(1," You do not have admin access to this component. "),L(2,"a",13),U(3,"View component admins"),M()());a&2&&(a=R(3),E(2),K("href",Hq.editComponentAccess.makeHref(a.selectedComponent.componentId),Ni))},TVa=function(a){a&1&&I(0,SVa,4,1,"div",12);a&
2&&(a=R(2),J(!a.hasAccess&&a.selectedComponent?0:-1))},UVa=function(a){a&1&&(L(0,"div"),I(1,RVa,2,0,"div",11)(2,TVa,1,1),M());a&2&&(a=R(),E(),J(a.checkingAccess?1:2))},VVa=function(a){a&1&&N(0,"mat-progress-bar",16)},WVa=function(a){a&1&&U(0," teams ")},XVa=function(a){a&1&&U(0," team ")},$Va=function(a,b){if(a&1){var c=y();L(0,"div",21);Q("mousedown",function(e){var f=z(c).$implicit,h=R(6);YVa(h.searchState,f);return B(Gq(e))});L(1,"team-row",22);Q("selectTeamId",function(e){z(c);var f=R(6);return B(ZVa(f.searchState,
e))});M()()}if(a&2){a=b.$implicit;b=R(6);var d=T(3);K("data",a);E();K("teamOption",a)("query",d.value)("hasNoComponent",b.searchState.hasNoComponent(a.id))}},aWa=function(a){a&1&&(L(0,"div",18)(1,"div",19),U(2," Filter components by my teams "),L(3,"span"),U(4),I(5,WVa,1,0)(6,XVa,1,0),M()(),Mj(7,$Va,2,4,"div",20,Lj),N(9,"mat-divider"),M());a&2&&(a=R(),E(4),V("",a.length," "),E(),J(a.length>1?5:6),E(2),Nj(a))},bWa=function(a,b){a&1&&I(0,aWa,10,2,"div",18);a&2&&J(b.length?0:-1)},cWa=function(a){a&1&&
Uj(0)},eWa=function(a){a&1&&G(0,cWa,1,0,"ng-container",23);if(a&2){a=R(4);var b=T(12);K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,dWa,a.searchState.popularComponents))}},fWa=function(a){a&1&&N(0,"mat-divider")},gWa=function(a){a&1&&Uj(0)},iWa=function(a){a&1&&G(0,gWa,1,0,"ng-container",23);if(a&2){a=R(4);var b=T(12);K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,hWa,a.searchState.recentComponents))}},jWa=function(a){a&1&&(I(0,bWa,1,1),W(1,"async"),I(2,eWa,1,4,"ng-container"),I(3,
fWa,1,0,"mat-divider"),I(4,iWa,1,4,"ng-container"));if(a&2){var b;a=R(3);J((b=X(1,4,a.searchState.myTeams$))?0:-1,b);E(2);J(a.searchState.popularComponents.length?2:-1);E();J(a.searchState.popularComponents.length&&a.searchState.recentComponents.length?3:-1);E();J(a.searchState.recentComponents.length||!a.searchState.popularComponents.length?4:-1)}},kWa=function(a){a&1&&U(0," teams ")},lWa=function(a){a&1&&U(0," team ")},mWa=function(a){a&1&&Uj(0)},pWa=function(a,b){a&1&&G(0,mWa,1,0,"ng-container",
23);if(a&2){a=b.$implicit;b=b.$index;R(6);var c=T(10);K("ngTemplateOutlet",c)("ngTemplateOutletContext",Ek(4,nWa,a,Dk(2,oWa,b)))}},qWa=function(a){if(a&1){var b=y();L(0,"button",25);Q("mousedown",function(){z(b);var c=R(6);return B(c.searchState.showAllTeams$.next(!0))});N(1,"mat-icon",26);U(2," Show all teams ");M()}},rWa=function(a,b){a&1&&(L(0,"div",18)(1,"div",19),U(2," Filter components by teams "),L(3,"span"),U(4),I(5,kWa,1,0)(6,lWa,1,0),M()(),Mj(7,pWa,1,7,"ng-container",null,Lj),W(9,"async"),
I(10,qWa,3,0,"button",24),W(11,"async"),N(12,"mat-divider"),M());a&2&&(a=R(5),E(4),V("",b," "),E(),J(b>1?5:6),E(2),Nj(X(9,3,a.searchState.filteredTeamOptions$)),E(3),J(X(11,5,a.searchState.hasHiddenTeams$)?10:-1))},sWa=function(a,b){a&1&&I(0,rWa,13,7,"div",18);if(a&2){var c;J((c=b.length)?0:-1,c)}},tWa=function(a){a&1&&Uj(0)},vWa=function(a){a&1&&(I(0,sWa,1,1),W(1,"async"),G(2,tWa,1,0,"ng-container",23));if(a&2){var b;a=R(3);var c=T(12);J((b=X(1,3,a.searchState.teamOptions$))?0:-1,b);E(2);K("ngTemplateOutlet",
c)("ngTemplateOutletContext",Dk(5,uWa,a.searchState.componentOptions))}},wWa=function(a){a&1&&Uj(0)},yWa=function(a,b){a&1&&G(0,wWa,1,0,"ng-container",23);if(a&2){a=b.$implicit;b=b.$index;R(8);var c=T(10);K("ngTemplateOutlet",c)("ngTemplateOutletContext",Ek(4,nWa,a,Dk(2,xWa,b)))}},zWa=function(a){a&1&&(L(0,"div",32),Mj(1,yWa,1,7,"ng-container",null,Lj),M());a&2&&(a=R(2),E(),Nj(a))},CWa=function(a){if(a&1){var b=y();I(0,zWa,3,0,"div",32);L(1,"button",25);Q("mousedown",function(c){z(b);var d=R(6),e=
d.searchState.teamScope$.value;e.expanded?AWa(d.searchState,e):BWa(d.searchState,e);return B(Gq(c))});N(2,"mat-icon",26);U(3);M()}a&2&&(a=R(6),J(a.searchState.teamScope$.value.expanded?0:-1),E(2),rk("expanded",a.searchState.teamScope$.value.expanded),E(),V(" ",a.searchState.teamScope$.value.expanded?"Hide":"Show"," child teams "))},DWa=function(a,b){a&1&&I(0,CWa,4,4);a&2&&J(b.length?0:-1)},GWa=function(a){if(a&1){var b=y();L(0,"div",27)(1,"div",19);U(2," Filtering by team: ");M();L(3,"div",28)(4,
"team-row",29);Q("selectTeamId",function(e){z(b);var f=R(4);return B(ZVa(f.searchState,e))});M();L(5,"button",30);Q("mousedown",function(e){z(b);var f=R(4);EWa(f.searchState);return B(Gq(e))});N(6,"mat-icon",31);M()();I(7,DWa,1,1);M()}if(a&2){var c;a=R(4);var d=T(3);E(3);K("data",a.searchState.teamScope$.value)("listOrder",Ck(7,FWa));E();K("teamOption",a.searchState.teamScope$.value)("query",d.value)("compact",!0)("allowSegmentSelection",!0);E(3);J((c=a.searchState.getChildTeams(a.searchState.teamScope$.value.id))?
7:-1,c)}},HWa=function(a){a&1&&Uj(0)},JWa=function(a){a&1&&(I(0,GWa,8,8,"div",27),G(1,HWa,1,0,"ng-container",23));if(a&2){a=R(3);var b=T(12);J(a.searchState.teamScope$.value?0:-1);E();K("ngTemplateOutlet",b)("ngTemplateOutletContext",Ek(3,IWa,a.searchState.componentOptions,a.searchState.teamScope$.value))}},MWa=function(a){if(a&1){var b=y();L(0,"div",33)(1,"div",34);U(2,"Component Tree Browser");M();L(3,"component-row",35);Q("goBack",function(){z(b);var c=R(4);return B(KWa(c.searchState))})("selectComponentId",
function(c){z(b);var d=R(4);return B(LWa(d.searchState,c))});M()()}a&2&&(a=R(4),E(3),K("componentOption",a.searchState.componentScope))},NWa=function(a){a&1&&Uj(0)},PWa=function(a){a&1&&(I(0,MWa,4,1,"div",33),G(1,NWa,1,0,"ng-container",23));if(a&2){a=R(3);var b=T(12);J(a.searchState.componentScope?0:-1);E();K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(3,OWa,a.searchState.componentOptions))}},QWa=function(a){a&1&&(I(0,jWa,5,6),W(1,"async"),Jj(2,vWa,3,7)(3,JWa,2,6)(4,PWa,2,5));if(a&2){var b;
a=R(2);J((b=X(1,1,a.searchState.state$))==="default"?0:b==="global"?2:b==="team_scope"?3:b==="component_scope"?4:-1)}},RWa=function(a){if(a&1){var b=y();L(0,"div",14,5);Q("mousedown",function(c){z(b);R();return B(Gq(c))});L(2,"div",15);I(3,VVa,1,0,"mat-progress-bar",16);M();L(4,"div",17);I(5,QWa,5,3);M()()}a&2&&(a=R(),E(3),J(a.isLoading()?3:-1),E(2),J(a.isLoading()?-1:5))},SWa=function(a){if(a&1){var b=y();L(0,"button",39);Q("mousedown",function(c){z(b);var d=R().team,e=R();d.expanded?AWa(e.searchState,
d):BWa(e.searchState,d);return B(Gq(c))});N(1,"mat-icon",40);M()}a&2&&(a=R().team,E(),rk("expanded",a.expanded))},TWa=function(a){a&1&&Uj(0)},VWa=function(a,b){a&1&&G(0,TWa,1,0,"ng-container",23);if(a&2){a=b.$implicit;b=b.$index;var c=R(2),d=c.level;c=c.order;R();var e=T(10);K("ngTemplateOutlet",e)("ngTemplateOutletContext",fsa(UWa,a,d+1,c.concat(b)))}},WWa=function(a){a&1&&Mj(0,VWa,1,6,"ng-container",null,Lj);if(a&2){a=R().team;var b=R();Nj(b.searchState.getChildTeams(a.id))}},XWa=function(a,b){if(a&
1){var c=y();L(0,"div",36);Q("mousedown",function(h){var k=z(c).team,q=R();YVa(q.searchState,k);return B(Gq(h))});L(1,"div",37);I(2,SWa,2,2,"button",38);L(3,"team-row",22);Q("selectTeamId",function(h){z(c);var k=R();return B(ZVa(k.searchState,h))});M()()();I(4,WWa,2,0)}if(a&2){a=b.team;var d=b.level;b=b.order;var e=R(),f=T(3);K("listOrder",b)("data",a);E();qk("margin-left",d*28,"px");E();J(e.searchState.getChildTeams(a.id).length?2:-1);E();rk("indent",!e.searchState.getChildTeams(a.id).length);K("teamOption",
a)("query",f.value)("hasNoComponent",e.searchState.hasNoComponent(a.id));E();J(a.expanded?4:-1)}},YWa=function(a){a&1&&U(0," Select a commonly used component ")},ZWa=function(a){a&1&&U(0," Select recent component ")},$Wa=function(a){a&1&&U(0," Select component ")},aXa=function(a){a&1&&U(0," components ")},bXa=function(a){a&1&&U(0," component ")},dXa=function(a,b){if(a&1){var c=y();L(0,"div",43);Q("mousedown",function(f){var h=z(c).$implicit,k=R(3);cXa(k.searchState,h.id);return B(Gq(f))});L(1,"component-row",
44);Q("selectComponentId",function(f){z(c);var h=R(3);return B(cXa(h.searchState,f))})("expandComponent",function(f){z(c);var h=R(3);return B(h.searchState.expandComponent(f))});M()()}if(a&2){a=b.$implicit;b=R(2).mode;var d=R(),e=T(3);K("data",a);E();K("showFolderSpecialIcon",Iq(d.activeSession))("componentOption",a)("query",e.value)("mode",b)}},eXa=function(a,b){a&1&&(L(0,"div",41)(1,"div",19),I(2,YWa,1,0)(3,ZWa,1,0)(4,$Wa,1,0),L(5,"span"),U(6),I(7,aXa,1,0)(8,bXa,1,0),M()(),Mj(9,dXa,2,5,"div",42,
Lj),M());if(a&2){var c=R();a=c.$implicit;c=c.mode;E(2);J(c==="popular"?2:c==="recent"?3:4);E(4);V("",b," ");E();J(b>1?7:8);E(2);Nj(a)}},fXa=function(a){a&1&&U(0," No recent components ")},gXa=function(a){a&1&&U(0," No child components ")},hXa=function(a){a&1&&(U(0),N(1,"mat-icon",46),U(2," above ("),L(3,"a",47),U(4,"learn more "),N(5,"mat-icon",48),M(),U(6," about team associations) "));a&2&&(a=R(4).teamScope,V(" for ",a.name,". Remove the team filter by clicking on the "))},iXa=function(a){a&1&&
(U(0," No components found "),I(1,hXa,7,1));a&2&&(a=R(3).teamScope,E(),J(a?1:-1))},jXa=function(a){a&1&&(L(0,"div",45),I(1,fXa,1,0)(2,gXa,1,0)(3,iXa,2,1),M());a&2&&(a=R(2).mode,E(),J(a==="recent"?1:a==="leaf"?2:3))},kXa=function(a){a&1&&I(0,jXa,4,1,"div",45);a&2&&(a=R(2),J(a.componentLoading||a.searchState.componentsLoading?-1:0))},lXa=function(a,b){a&1&&I(0,eXa,11,3,"div",41)(1,kXa,1,1);if(a&2){var c;J((c=b.$implicit.length)?0:1,c)}},mXa=function(a,b){b=l([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},nXa=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R().$implicit,E(),tk(a.text))},oXa=function(a){a&1&&(L(0,"span"),N(1,"b-component-access-level-indicator",0),M());a&2&&(a=R().$implicit,E(),K("accessLevel",a.accessLevel))},pXa=function(a,b){a&1&&(L(0,"span"),I(1,nXa,2,1,"span")(2,oXa,2,1,"span"),M());a&2&&(a=b.$implicit,R(),E(),J(a.text!==void 0?1:2))},rXa=function(a,b){var c=
qXa.get(b);if(!c)return null;a=a.toLowerCase().indexOf(c);return a>=0?{accessLevel:b,startOfMatch:a,endOfMatch:a+c.length}:null},sXa=function(a){if(a&1){var b=y();L(0,"div");N(1,"br");L(2,"mat-radio-group",7);xk("ngModelChange",function(c){z(b);var d=R(2);wk(d.setLimitViewTrusted,c)||(d.setLimitViewTrusted=c);return B(c)});L(3,"mat-radio-button",8);U(4,"Mark this issue as Limited Visibility + Google. Information will only be shared with Googlers and listed public users.");M();L(5,"mat-radio-button",
9);U(6,"Leave issue unrestricted. All information in this issue is suitable for external sharing.");M()()()}a&2&&(a=R(2),E(2),vk("ngModel",a.setLimitViewTrusted),E(),K("value",!0),E(2),K("value",!1))},tXa=function(a){if(a&1){var b=y();L(0,"div");N(1,"br");L(2,"mat-checkbox",10);xk("ngModelChange",function(c){z(b);var d=R(2);wk(d.acknowledged,c)||(d.acknowledged=c);return B(c)});M();L(3,"span");U(4,"All information in this issue is suitable for external sharing.");M()()}a&2&&(a=R(2),E(2),vk("ngModel",
a.acknowledged))},uXa=function(a){a&1&&(L(0,"div"),I(1,sXa,7,3,"div")(2,tXa,5,1,"div"),M());a&2&&(a=R(),E(),J(a.isLimitNoneIssueTrackerMove?1:2))},vXa=function(a){if(a&1){var b=y();L(0,"button",11);Q("click",function(){z(b);var c=R();return B(c.allow())});U(1," Move Issue ");M()}a&2&&(a=R(),K("disabled",!a.acknowledged))},Jq=function(a,b){return wXa(Hq.viewIssue.routeDeclarationPath,{id:a,params:b})},AXa=function(a,b,c,d,e){c=xXa(c);d=yXa(d);return zXa("action/issues/csv","q",a,"trackerIds",b,"s",
c,"c",d,"h",e)},xXa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},yXa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},wXa=function(a,b){b=b===void 0?{}:b;return b.id==null?"":Kq(a,b)},Kq=function(a,b){var c=b=b===void 0?{}:b;b=c.id;var d=c.params,e=c.tab;c=c.token;var f=a;b!=null&&(f=a.replace(c?c:/:\w+/,b.toString()));d&&(f=BXa(f,d));e&&(f=f+"#"+e);return f},CXa=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&
(a=R().$implicit,E(),V("(",a.disabledReason,")"))},DXa=function(a,b){a&1&&(L(0,"mat-radio-button",4),U(1),I(2,CXa,2,1,"span"),M());a&2&&(a=b.$implicit,K("value",a)("disabled",!a.enabled),E(),V(" ",a.displayText," "),E(),J(a.enabled?-1:2))},EXa=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R().$implicit,E(),V("(",a.disabledReason,")"))},FXa=function(a,b){a&1&&(L(0,"mat-radio-button",4),U(1),I(2,EXa,2,1,"span"),M());a&2&&(a=b.$implicit,K("value",a)("disabled",!a.enabled),E(),V(" ",a.displayText," "),
E(),J(a.enabled?-1:2))},GXa=function(a){return a?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202"},HXa=function(a){return"share-email-confirmation-"+a},JXa=function(a){var b,c=new Lq,d=c.setIt,e=(new IXa).setIssueId(a.issueId).setScope(a.scope).setScopeSortOrder(a.scopeSortOrder).setMaxResults((b=a.maxResults)!=null?b:7);a=Vd(e,3,a.keyword);return d.call(c,a)},LXa=function(a){var b,c=(new KXa).setIssueId(a.issueId).setScope(a.scope).setScopeSortOrder(a.scopeSortOrder).setMaxResults((b=
a.maxResults)!=null?b:7);a.embeddingType&&c.setEmbeddingType(a.embeddingType);return(new Mq).setIt(c)},MXa=function(a,b){a=mCa([].concat(p(a.scores),p(b.scores)),[].concat(p(a.similarIssues),p(b.similarIssues))).sort(function(c,d){return d[0]-c[0]});a=no(a,function(c){c=l(c);c.next();return c.next().value.issueId});return{scores:a.map(function(c){return c[0]}),similarIssues:a.map(function(c){return c[1]})}},NXa=function(a){a&1&&ak(0)},OXa=function(a){a&1&&N(0,"div",0)},PXa=function(a){a&1&&N(0,"b-formatted-date-time",
1);a&2&&(a=R(),K("mode",a.mode)("timestamp",a.createdTime)("paddingLeftPx",0))},QXa=function(a){if(a&1){var b=y();L(0,"div",0);Q("keydown",function(c){z(b);var d=R();return B(d.processKeydown(c))});ak(1);M()}a&2&&(a=R(),sk(a.className),Hj("id",a.id))},RXa=function(a){a&1&&N(0,"mat-icon",9)},SXa=function(a){a&1&&(L(0,"span",17),U(1),M());a&2&&(a=R(3),E(),tk(a.HOTKEYS.COPY_ISSUE_ID.displayAs))},TXa=function(a){a&1&&(L(0,"span",17),U(1),M());a&2&&(a=R(4),E(),tk(a.HOTKEYS.COPY_ISSUE_SHORTLINK.displayAs))},
UXa=function(a){if(a&1){var b=y();L(0,"div",14)(1,"label",15);U(2,"Issue shortlink");M();L(3,"input",24,5);Q("onHotkey",function(){z(b);var d=T(4),e=R(3);return B(Nq(e,d))})("focus",function(){z(b);var d=T(4);return B(d.select())});M();I(5,TXa,2,1,"span",17);L(6,"button",25);Q("onHotkey",function(){z(b);var d=T(4),e=R(3);return B(Nq(e,d))})("click",function(){z(b);var d=T(4),e=R(3);return B(Nq(e,d))});N(7,"mat-icon",19);M()()}if(a&2){a=T(4);var c=R(3);E();K("htmlFor",a.id);E(2);K("hotkey",c.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",
c.enableHotkeys);Hj("value",c.getAppBaseUrl().replace(/^.*?:\/\//,""));E(2);J(c.enableHotkeys?5:-1);E();K("hotkey",c.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",c.enableHotkeys)}},VXa=function(a){a&1&&(L(0,"span",17),U(1),M());a&2&&(a=R(3),E(),tk(a.HOTKEYS.COPY_ISSUE_URL.displayAs))},WXa=function(a){a&1&&(L(0,"span",17),U(1),M());a&2&&(a=R(3),E(),tk(a.HOTKEYS.COPY_ISSUE_TITLE.displayAs))},XXa=function(a){a&1&&(L(0,"span",17),U(1),M());a&2&&(a=R(4),E(),tk(a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS.displayAs))},
YXa=function(a){if(a&1){var b=y();L(0,"div",14)(1,"label",15);U(2,"Issue email");M();L(3,"input",26,6);Q("onHotkey",function(){z(b);var d=T(4),e=R(3);return B(Nq(e,d))})("focus",function(){z(b);var d=T(4);return B(d.select())});M();I(5,XXa,2,1,"span",17);L(6,"button",27);Q("onHotkey",function(){z(b);var d=T(4),e=R(3);return B(Nq(e,d))})("click",function(){z(b);var d=T(4),e=R(3);return B(Nq(e,d))});N(7,"mat-icon",19);M()()}if(a&2){a=T(4);var c=R(3);E();K("htmlFor",a.id);E(2);K("hotkey",c.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",
c.enableHotkeys);Hj("value","buganizer-system"+(Oq(c.activeSession)?"":"-qa")+("+"+c.componentId+"+"+c.issueId)+"@google.com");E(2);J(c.enableHotkeys?5:-1);E();K("hotkey",c.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",c.enableHotkeys)}},ZXa=function(a){a&1&&(L(0,"span",17),U(1),M());a&2&&(a=R(4),E(),tk(a.HOTKEYS.COPY_ISSUE_TODO.displayAs))},$Xa=function(a){if(a&1){var b=y();L(0,"div",14)(1,"label",15);U(2,"TODO comment");M();L(3,"input",28,7);Q("onHotkey",function(){z(b);var d=T(4),e=R(3);return B(Nq(e,
d))})("focus",function(){z(b);var d=T(4);return B(d.select())});M();I(5,ZXa,2,1,"span",17);L(6,"button",29);Q("onHotkey",function(){z(b);var d=T(4),e=R(3);return B(Nq(e,d))})("click",function(){z(b);var d=T(4),e=R(3);return B(Nq(e,d))});N(7,"mat-icon",19);M()()}if(a&2){a=T(4);var c=R(3);E();K("htmlFor",a.id);E(2);K("hotkey",c.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",c.enableHotkeys);Hj("value","TODO: "+c.getAppBaseUrl().replace(/^.*?:\/\//,"")+" - ");E(2);J(c.enableHotkeys?5:-1);E();K("hotkey",c.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",
c.enableHotkeys)}},aYa=function(a){if(a&1){var b=y();L(0,"div",13)(1,"div",14)(2,"label",15);U(3,"Issue ID");M();L(4,"input",16,2);Q("onHotkey",function(){z(b);var f=T(5),h=R(2);return B(Nq(h,f))})("focus",function(){z(b);var f=T(5);return B(f.select())});M();I(6,SXa,2,1,"span",17);L(7,"button",18);Q("onHotkey",function(){z(b);var f=T(5),h=R(2);return B(Nq(h,f))})("click",function(){z(b);var f=T(5),h=R(2);return B(Nq(h,f))});N(8,"mat-icon",19);M()();I(9,UXa,8,7,"div",14);L(10,"div",14)(11,"label",
15);U(12,"Issue URL");M();L(13,"input",20,3);Q("onHotkey",function(){z(b);var f=T(14),h=R(2);return B(Nq(h,f))})("focus",function(){z(b);var f=T(14);return B(f.select())});M();I(15,VXa,2,1,"span",17);L(16,"button",21);Q("onHotkey",function(){z(b);var f=T(14),h=R(2);return B(Nq(h,f))})("click",function(){z(b);var f=T(14),h=R(2);return B(Nq(h,f))});N(17,"mat-icon",19);M()();L(18,"div",14)(19,"label",15);U(20,"URL and title");M();L(21,"input",22,4);Q("onHotkey",function(){z(b);var f=T(22),h=R(2);return B(Nq(h,
f))})("focus",function(){z(b);var f=T(22);return B(f.select())});M();I(23,WXa,2,1,"span",17);L(24,"button",23);Q("onHotkey",function(){z(b);var f=T(22),h=R(2);return B(Nq(h,f))})("click",function(){z(b);var f=T(22),h=R(2);return B(Nq(h,f))});N(25,"mat-icon",19);M()();I(26,YXa,8,7,"div",14);I(27,$Xa,8,7,"div",14);M()}if(a&2){a=T(5);var c=T(14),d=T(22),e=R(2);K("cdkTrapFocusAutoCapture",!0);E(2);K("htmlFor",a.id);E(2);K("hotkey",e.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",e.enableHotkeys);Hj("value",e.issueId);
E(2);J(e.enableHotkeys?6:-1);E();K("hotkey",e.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",e.enableHotkeys);E(2);J(e.activeSession.isInternalSession()&&!Iq(e.activeSession)?9:-1);E(2);K("htmlFor",c.id);E(2);K("hotkey",e.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",e.enableHotkeys);Hj("value",e.getIssueUrl());E(2);J(e.enableHotkeys?15:-1);E();K("hotkey",e.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",e.enableHotkeys);E(3);K("htmlFor",d.id);E(2);K("hotkey",e.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",e.enableHotkeys);
Hj("value",e.getAppBaseUrl(e.isExternalIssue)+" "+e.issueTitle);E(2);J(e.enableHotkeys?23:-1);E();K("hotkey",e.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",e.enableHotkeys);E(2);J(e.activeSession.isInternalSession()&&!Iq(e.activeSession)?26:-1);E();J(e.activeSession.isInternalSession()&&!Iq(e.activeSession)?27:-1)}},bYa=function(a){if(a&1){var b=y();L(0,"button",10,0);Q("onHotkey",function(){z(b);var d=R();d.disabled||d.trigger.open();return B()})("onedevPopupPanelTriggerOpened",function(){z(b);var d=
R();return B(d.isOpen=!0)})("onedevPopupPanelTriggerClosed",function(){z(b);var d=R();return B(d.isOpen=!1)})("click",function(){z(b);var d=R();d.disabled||d.trigger.open();return B()});N(2,"mat-icon",11);M();L(3,"onedev-popup-panel",12,1);I(5,aYa,28,25,"div",13);M()}if(a&2){a=T(4);var c=R();K("onedevPopupPanelTriggerFor",a)("hotkey",c.HOTKEYS.HIGHLIGHT_ISSUE_ID)("hotkeyEnabled",c.enableHotkeys);Hj("aria-label","Show links for the issue "+c.issueId);E(5);J(c.isOpen?5:-1)}},cYa=function(a){a&1&&N(0,
"b-issue-id-picker",1);a&2&&(a=R(),K("issueId",a.id)("showCopyOptions",!1))},dYa=function(a){a&1&&N(0,"b-issue-priority-display",1);a&2&&(a=R(),K("issuePriority",a.priority))},eYa=function(a){a&1&&(L(0,"a",2),U(1," Fix Pending "),M());a&2&&(a=R(),sk(zk("chippy status-",a.IssueStatus.FIXED)),K("href",zk("http://cl/",a.pendingFixCl.changelistNumber),Ni)("matTooltip",Ak("Open cl/",a.pendingFixCl.changelistNumber," from ",a.pendingFixCl.author)))},fYa=function(a,b){a&1&&(L(0,"div",4),U(1),M());if(a&2){a=
R(2);sk(zk("chippy status-",b));var c;K("title",(c=a.STATUS_JS_FULL_TEXT.get(b))!=null?c:"");E();var d;V(" ",(d=a.STATUS_JS_TERSE.get(b))!=null?d:""," ")}},gYa=function(a){a&1&&I(0,fYa,2,5,"div",3);if(a&2){var b;a=R();J((b=a.status)?0:-1,b)}},hYa=function(a,b){b=b===void 0?"":b;return a.filter(function(c){return c.fixedIssueIds.includes(b)})[0]},iYa=function(a){a&1&&(Sj(0),U(1,"Un-CC me"),Tj())},jYa=function(a){a&1&&(Sj(0),U(1,"CC me"),Tj())},Pq=function(a){var b;return(b=a==null?void 0:a.trim())!=
null?b:""},Qq=function(a){return new kYa(a)},mYa=function(a,b){var c=a.getPrimaryTarget(),d=a.getTargetList().map(function(e){return e===c?b:e});return Qq(new lYa(a,d))},oYa=function(){return new nYa(rd.apply(0,arguments))},qYa=function(){return new pYa(rd.apply(0,arguments))},sYa=function(){var a=rd.apply(0,arguments);return a.length===1?a[0]:new rYa(a)},uYa=function(){return new tYa(rd.apply(0,arguments))},vYa=function(a,b){b&&(b.autocompleteGroupingType!=null&&a.setAutocompleteGroupingType(b.autocompleteGroupingType),
b.autocompleteGroupingLabel!=null&&a.setAutocompleteGroupingLabel(b.autocompleteGroupingLabel),b.autocompleteHeader!=null&&a.setAutocompleteHeader(b.autocompleteHeader),b.autocompleteMaxResultsBeforeScroll!=null&&a.setAutocompleteMaxResultsBeforeScroll(b.autocompleteMaxResultsBeforeScroll),b.density!=null&&a.setDensity(b.density),b.theme!=null&&a.setTheme(b.theme),b.moveAutocompleteAboveAnchorIfOffscreen!=null&&a.setMoveAutocompleteAboveAnchorIfOffscreen(b.moveAutocompleteAboveAnchorIfOffscreen),
b.autoActivateFirstSuggestion!=null&&a.setAutoActivateFirstSuggestion(b.autoActivateFirstSuggestion),b.showSuggestions!=null&&a.setShowSuggestions(b.showSuggestions),b.noResultsMessage!=null&&a.setNoResultsMessage(b.noResultsMessage),b.autoActivateFirstSearchResult!=null&&a.setAutoActivateFirstSearchResult(b.autoActivateFirstSearchResult),b.clearSelectionOnSearch!=null&&a.setClearSelectionsOnSearch(b.clearSelectionOnSearch),b.resultCustomizationCallback!=null&&a.setResultCustomizationCallback(b.resultCustomizationCallback))},
xYa=function(a,b){if(a&1){var c=y();L(0,"div",3)(1,"b-contact-chip",6);Q("chipSelection",function(){var d=z(c).$index,e=R();e.selectedChipIndex!==d&&Rq(e,d)&&(wYa(e),e.selectedChipIndex=d,e.items[d].isSelected=!0);return B()})("chipClear",function(){z(c);var d=R();return B(wYa(d))})("chipRemove",function(){var d=z(c).$index,e=R();return B(e.removeItem(d))});M()()}a&2&&(a=b.$implicit,b=R(),E(),K("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()))},BYa=function(a){if(a&1){var b=y();L(0,"input",7,0);Q("peoplekitAutocompleteSelectionChange",function(c){z(b);var d=R();return B(d.selectAutocomplete(c))});xk("ngModelChange",function(c){z(b);var d=R();wk(d.typedText,c)||(d.typedText=c);return B(c)});Q("focus",function(){z(b);var c=R();return B(yYa(c))})("blur",function(){z(b);var c=
R();zYa(c,c.typedText.split(",")[0].trim());c.isFocused=!1;return B()});M()}a&2&&(a=R(),K("peoplekitAutocompleteConfig",AYa(a.autocompleteConfigService))("peoplekitSearchSessionOptions",a.sessionOptions)("peoplekitAutocompleteInputSearchDelay",0),vk("ngModel",a.typedText),K("disabled",a.isWidgetDisabled())("placeholder",a.placeholderText))},CYa=function(a){a&1&&(L(0,"span"),U(1," Groups cannot be granted Restricted+ reader permission. "),L(2,"a",8),U(3,"Learn more"),M()());a&2&&(a=R(),E(2),Hj("href",
Dq(a.documentationLinks)+"#components",Ni))},DYa=function(a){a&1&&(L(0,"span"),U(1," Invalid user(s). "),M())},EYa=function(a){a&1&&(L(0,"span"),U(1,' "Public" or external users are not allowed for component designated as "internal access". '),M())},FYa=function(a){a&1&&(L(0,"span"),U(1,' "Public" is not allowed for components designated as "external partner access". '),M())},GYa=function(a){a&1&&(L(0,"span"),U(1," Team owner cannot be a group. "),M())},HYa=function(a){a&1&&(L(0,"span"),U(1," Team owner can only be a full-time Googler. "),
M())},IYa=function(a){a&1&&(L(0,"span"),U(1," Only users in the Google domain can be selected. "),M())},JYa=function(a){a&1&&(L(0,"span"),U(1," User has already been selected. "),M())},KYa=function(a){a&1&&(L(0,"span"),U(1," Only users can be selected. Groups and aliases are not supported. "),M())},PYa=function(a,b){if(!b||!a)return LYa;var c;return!MYa((c=b.readers)!=null?c:[])||NYa(a)?OYa:LYa},MYa=function(a){return a.some(function(b){return b.alias!==void 0?b.alias==="public"||b.alias==="public_non_google":
!1})},NYa=function(a){return a==="LIMIT_VIEW"||a==="LIMIT_VIEW_TRUSTED"},QYa=function(a,b){a&1&&(L(0,"a",6),U(1," Learn more. "),M());a&2&&K("href",b,Ni)},RYa=function(a,b){a&1&&N(0,"b-multi-user-input",9);a&2&&(K("users",b),Hj("disabled",!0))},SYa=function(a){a&1&&(Sj(0,8),N(1,"br"),L(2,"h2"),U(3,"Users who can view"),M(),I(4,RYa,1,2,"b-multi-user-input",9),W(5,"async"),Tj());if(a&2){var b;a=R(2);K("onedevIsHovercardReady",a.showHovercard$);E(4);J((b=X(5,2,a.viewers$))?4:-1,b)}},UYa=function(a){if(a&
1){var b=y();L(0,"span",2,0);W(2,"async");W(3,"async");Q("focus",function(){z(b);var f=T(1);R().loadTooltipOnce();f.disabled=!1;return B(f.show())})("blur",function(){z(b);var f=T(1);f.disabled=!0;return B(f.hide())});U(4);W(5,"async");M();L(6,"onedev-hovercard",null,1)(8,"div",3)(9,"div",4)(10,"div",5);U(11);W(12,"async");I(13,QYa,2,1,"a",6);G(14,SYa,6,4,"ng-container",7);M()()()()}if(a&2){var c;a=T(7);var d=R();sk(X(2,10,d.chipClass$));rk("xs",d.compactMode);var e;K("onedevHovercardTrigger",a)("matTooltipDisabled",
!0)("matTooltip",(e=X(3,12,d.tooltipText$))!=null?e:"");E(4);V(" ",X(5,14,d.chipText$)," ");E(7);V(" ",X(12,16,d.bubbleText$)," ");E(2);J((c=TYa(d.documentationLinks))?13:-1,c)}},VYa=function(a){return a==="visible_to_listed_partners"||a==="visible_to_listed_public_users"},WYa=function(a){a&1&&(L(0,"span"),U(1," Assigned to "),N(2,"b-user-display",12),M());a&2&&(a=R(2),E(2),K("model",a.assigneeUser)("hovercardEnabled",!1))},XYa=function(a){a&1&&(L(0,"span"),U(1," Accepted by "),N(2,"b-user-display",
12),M());a&2&&(a=R(2),E(2),K("model",a.assigneeUser)("hovercardEnabled",!1))},YYa=function(a){a&1&&(L(0,"span"),U(1," Duplicate of "),L(2,"a",2),U(3),M()());if(a&2){a=R(2);var b=R();E(2);Hj("aria-label",zk("Go to issue ",a.duplicateOfIssueId));K("href",b.ROUTES.viewIssue.makeHref(a.duplicateOfIssueId),Ni);E();V(" ",a.duplicateOfIssueId," ")}},ZYa=function(a){a&1&&(L(0,"span"),U(1),M());if(a&2){a=R();var b=R(2);E();var c;V(" ",(c=b.STATUS_JS_FULL_TEXT.get(a))!=null?c:""," ")}},$Ya=function(a,b){a&
1&&I(0,WYa,3,2,"span")(1,XYa,3,2,"span")(2,YYa,4,4,"span")(3,ZYa,2,1,"span");a&2&&J(b==="ASSIGNED"?0:b==="ACCEPTED"?1:b==="DUPLICATE"?2:3)},aZa=function(a,b){a&1&&N(0,"b-app-vote-button",13);if(a&2){a=R();var c=R(2),d;K("issueId",c.issueId)("voteCount",a.voteCount)("upvoted",(d=b.voted)!=null?d:!1)}},bZa=function(a){a&1&&I(0,aZa,1,3,"b-app-vote-button",13);if(a&2){var b;a=R(2);J((b=a.issue.userData)?0:-1,b)}},dZa=function(a){if(a&1){var b=y();L(0,"button",14);Q("click",function(){z(b);var c=R(2);
return B(cZa(c,c.childContextId))});U(1," Unlink parent ");M()}},eZa=function(a,b){a&1&&(L(0,"li"),U(1," Last updated by "),N(2,"b-user-display",12),U(3," on: "),N(4,"b-formatted-date-time",15),M());a&2&&(a=R(),E(2),K("model",b)("hovercardEnabled",!1),E(2),K("timestamp",a.modifiedTimeMicros/1E3))},fZa=function(a,b){a&1&&(I(0,eZa,5,3,"li"),L(1,"li"),U(2," Reported by "),N(3,"b-user-display",12),U(4," on: "),N(5,"b-formatted-date-time",15),M());if(a&2){var c;a=R();J((c=b.lastModifier)?0:-1,c);E(3);
K("model",a.reporterUser)("hovercardEnabled",!1);E(2);K("timestamp",b.createdTimeMicros/1E3)}},gZa=function(a){a&1&&(L(0,"li",11),N(1,"b-note-container",16),M());if(a&2){a=R(2);E();var b;K("issueId",a.issueId)("issueAccessLevel",a.issue.accessLimit==null?null:a.issue.accessLimit.accessLevel)("formattingMode",(b=a.firstEvent==null?null:a.firstEvent.formattingMode)!=null?b:a.FormattingMode.UNSPECIFIED_FORMATTING_MODE)("note",a.getNote())}},jZa=function(a,b){if(a&1){var c=y();L(0,"div",1)(1,"h3")(2,
"a",2);U(3);M();U(4," \u00a0 ");L(5,"span",3);U(6);M()();L(7,"ul")(8,"li",4);N(9,"b-issue-visibility-chip",5);M();L(10,"li",6)(11,"span",7);U(12);M();U(13," \u00a0 ");I(14,$Ya,4,1);M()();L(15,"div",8)(16,"b-cc-button",9);Q("onCc",function(q){z(c);var u=R();u.location&&q&&u.analytics.trackEvent(u.location+"_issueCard","add","CC");return B()});M();I(17,bZa,1,1);I(18,dZa,2,0,"button",10);M();L(19,"ul");I(20,fZa,6,4);I(21,gZa,2,4,"li",11);M()()}if(a&2){var d,e,f;a=R();E(2);Hj("aria-label",zk("Go to issue ",
a.issueId));K("href",a.ROUTES.viewIssue.makeHref(a.issueId),Ni);E();tk(a.issueId);E(3);tk(b.title);E(3);K("issueId",a.issueId);E(2);sk(a.priorityClass(b.priority));E();var h;tk(a.ISSUE_PRIORITY_TEXT_JS[(h=b.priority)!=null?h:a.ISSUE_PRIORITY_ENUM.PRIORITY_UNSPECIFIED]);E(2);J((d=b.status)?14:-1,d);E(2);var k;K("issueId",a.issueId)("ccState",hZa(a,(k=b.ccUsers)!=null?k:Ck(16,iZa)));E();J((e=a.issue.aggregatedData)?17:-1,e);E();J(a.childContextId?18:-1);E(2);J((f=a.issue.aggregatedData)?20:-1,f);E();
J(a.firstEvent&&Nha(a.firstEvent)?21:-1)}},kZa=function(a){a=a.getIt();return{matchedPatterns:Qd(a,1,Rd())}},mZa=function(a){if(a&1){var b=y();L(0,"span",12);Q("onedevHovercardShown",function(){z(b);var d=R(2);return B(lZa(d))});U(1);M()}if(a&2){a=R(2);var c=T(6);K("onedevHovercardTrigger",c)("onedevHovercardActive",a.enableHovercard);E();tk(a.title)}},nZa=function(a){a&1&&(L(0,"span",9),U(1),M());a&2&&(a=R(2),E(),tk(a.title))},pZa=function(a){if(a&1){var b=y();I(0,mZa,2,3,"span",8)(1,nZa,2,1,"span",
9);L(2,"a",10);Q("keydown",function(c){z(b);R();c.key==="Enter"&&c.stopPropagation();return B()})("click",function(c){z(b);var d=R();return B(oZa(d,c))});N(3,"mat-icon",11);M()}a&2&&(a=R(),J(a.enableHovercard?0:1),E(2),K("routerLink","/"+a.link)("target",a.anchorTarget))},qZa=function(a){a&1&&Uj(0)},rZa=function(a){a&1&&G(0,qZa,1,0,"ng-container",13);a&2&&(R(),a=T(11),K("ngTemplateOutlet",a))},sZa=function(a,b){a&1&&(L(0,"span",14),U(1),M());if(a&2){sk(b.cssClass);Hj("aria-label",Ak("",b.title," - ",
b.tooltip));var c;K("matTooltip",(c=b.tooltip)!=null?c:"");E();tk(b.title)}},tZa=function(a){a&1&&N(0,"b-issue-card",6);a&2&&(a=R(),K("issueId",a.issue.issueId))},uZa=function(a){a&1&&(L(0,"p",7),U(1),L(2,"a",15),U(3," Learn more "),M()());a&2&&(a=R(),E(),V(" ",Sq(a.bannedWordsChecker)," is restricted. Press 'Esc' to cancel or 'Enter' to skip check and save title. "))},wZa=function(a){if(a&1){var b=y();L(0,"input",17,2);W(2,"async");Q("input",function(){z(b);var c=R(2);return B(c.bannedWordsChecker.reset())});
xk("ngModelChange",function(c){z(b);var d=R(2);wk(d.title,c)||(d.title=c);return B(c)});Q("keydown",function(c){z(b);var d=R(2);c.key==="Enter"?(c.stopPropagation(),vZa(d)):c.key==="Escape"?(c.stopPropagation(),d.bannedWordsChecker.reset(),d.onCancel.emit()):c.key!=="ArrowLeft"&&c.key!=="ArrowRight"||c.stopPropagation();return B()});M();L(3,"b-button",18);Q("onAction",function(){z(b);var c=R(2);return B(vZa(c))});U(4,"Save");M();L(5,"b-button",19);Q("onAction",function(c){z(b);var d=R(2);c.stopPropagation();
d.bannedWordsChecker.reset();d.onCancel.emit();return B()});U(6,"Cancel");M()}a&2&&(a=R(2),rk("banned-words-warning",X(2,6,a.bannedWordsChecker.showWarning$)),K("bFocus",!0),vk("ngModel",a.title),E(3),K("disabled",!a.title||a.savingTitle),E(2),K("disabled",a.savingTitle))},xZa=function(a){if(a&1){var b=y();L(0,"a",20);Q("keydown",function(d){z(b);R(2);d.key==="Enter"&&d.stopPropagation();return B()})("click",function(d){z(b);var e=R(2);return B(oZa(e,d))})("onedevHovercardShown",function(){z(b);var d=
R(2);return B(lZa(d))});U(1);M()}if(a&2){a=R(2);var c=T(6);K("routerLink","/"+a.link)("target",a.anchorTarget)("onedevHovercardTrigger",c)("onedevHovercardActive",a.enableHovercard);E();tk(a.title)}},yZa=function(a){a&1&&I(0,wZa,7,8)(1,xZa,2,5,"a",16);a&2&&(a=R(),J(a.isEditMode?0:1))},zZa=function(a){a&1&&(L(0,"span",3),ak(1,1),M())},AZa=function(a){a&1&&(L(0,"span",6),ak(1,2),M())},BZa=function(a){a&1&&(L(0,"span",3),ak(1,1),L(2,"span",7),Gh(),L(3,"svg",8),N(4,"path",9),M()()())},CZa=function(a){a&
1&&(L(0,"span",6),ak(1,2),M())},DZa=function(a,b){a&1&&(L(0,"div",19)(1,"div",20),U(2,"CURRENT ISSUE"),M(),L(3,"div",21),U(4),M()());a&2&&(E(4),V(" ",(b==null?null:b.snapshot)[0].title," "))},EZa=function(a){a&1&&(I(0,DZa,5,1,"div",19),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.currentIssue$))?0:-1,b)}},FZa=function(a){a&1&&N(0,"mat-icon",22)},GZa=function(a){a&1&&N(0,"mat-icon",23)},HZa=function(a,b){a&1&&I(0,FZa,1,0,"mat-icon",22)(1,GZa,1,0,"mat-icon",23);a&2&&(a=R(),J(b===a.SearchSource.SEMANTIC_SEARCH?
0:1))},JZa=function(a){if(a&1){var b=y();L(0,"mat-chip-listbox",38)(1,"mat-chip-option",39,4);Q("keydown.enter",function(){z(b);var d=T(2);return B(d.openMenu())})("keyup.space",function(){z(b);var d=T(2);return B(d.openMenu())})("menuOpened",function(){z(b);var d=R(5);return B(IZa(d))});L(3,"span");U(4);M();N(5,"mat-icon",37);M()()}if(a&2){R(2);a=T(11);var c=R(3);K("selectable",!1);E();K("matMenuTriggerFor",a);E(3);tk(c.selectedScopeFilter.displayAs.replace("Component: ",""))}},LZa=function(a){if(a&
1){var b=y();L(0,"mat-chip-listbox",35)(1,"mat-chip-option",36,3);Q("keydown.enter",function(){z(b);var d=T(2);return B(d.openMenu())})("keyup.space",function(){z(b);var d=T(2);return B(d.openMenu())});L(3,"span");U(4);M();N(5,"mat-icon",37);M()();I(6,JZa,6,3,"mat-chip-listbox",38)}if(a&2){R();a=T(8);var c=R(3);K("selectable",!1);E();K("matMenuTriggerFor",a);E(3);tk(KZa(c.selectedScopeFilter.displayAs));E(2);J(c.selectedScopeFilter.displayAs.startsWith("Component:")?6:-1)}},NZa=function(a){if(a&1){var b=
y();L(0,"button",42);Q("click",function(){z(b);var c=R(5);return B(MZa(c,c.componentFilter))});N(1,"mat-icon",43);U(2);M()}a&2&&(a=R(5),K("matTooltip",a.componentFilter.tooltip||""),E(),rk("invisible",a.componentFilter!==a.selectedScopeFilter),E(),V(" ",a.componentFilter.displayAs," "))},OZa=function(a){if(a&1){var b=y();L(0,"button",44);Q("click",function(){z(b);var c=R(5);return B(MZa(c,c.teamFilter))});N(1,"mat-icon",43);U(2);M()}a&2&&(a=R(5),K("matTooltip",a.teamFilter.tooltip||""),E(),rk("invisible",
a.teamFilter!==a.selectedScopeFilter),E(),V(" ",a.teamFilter.displayAs," "))},PZa=function(a){a&1&&(I(0,NZa,3,4,"button",40),I(1,OZa,3,4,"button",41));a&2&&(a=R(4),J(a.componentFilter?0:-1),E(),J(a.teamFilter?1:-1))},RZa=function(a){if(a&1){var b=y();L(0,"div",46)(1,"b-team-component-picker",47);Q("selectedComponentChange",function(c){z(b);var d=R(5);return B(d.selectedComponent=c)});M()();L(2,"div",48)(3,"button",49);Q("click",function(){z(b);var c=R(5);return B(QZa(c,c.selectedComponent))});U(4,
" Choose ");M();L(5,"button",50);Q("click",function(){z(b);R(5).trigger.closeMenu();return B()});U(6," Cancel ");M()()}a&2&&(a=R(5),E(),K("selectedComponent",a.selectedComponent)("placeholder","Search for a component")("shouldFocus",!0)("isRequired",!0),E(2),K("disabled",!a.selectedComponent))},SZa=function(a){if(a&1){var b=y();L(0,"div",45);Q("click",function(c){z(b);return B(c.stopPropagation())})("keydown.tab",function(c){z(b);return B(c.stopPropagation())})("keydown.shift.tab",function(c){z(b);
return B(c.stopPropagation())});I(1,RZa,7,5);M()}a&2&&(a=R(4),E(),J(a.componentFilter?1:-1))},TZa=function(a){if(a&1){var b=y();L(0,"button",51);Q("click",function(){z(b);var c=R(4);return B(c.openLearnMore())});N(1,"mat-icon",52);M()}},VZa=function(a){if(a&1){var b=y();L(0,"div")(1,"div",13)(2,"mat-chip-listbox",24);Q("change",function(c){z(b);var d=R(3);return B(d.openFilterChanged(c.value))});L(3,"mat-chip-option",25)(4,"span",26);U(5);M()()();I(6,LZa,7,4);L(7,"mat-menu",27,1);G(9,PZa,2,2,"ng-template",
28);M();L(10,"mat-menu",29,2);G(12,SZa,2,1,"ng-template",28);M();L(13,"mat-chip-listbox",30);Q("change",function(){z(b);var c=R(3);return B(UZa(c))});L(14,"mat-chip-option",31);W(15,"async");L(16,"span",32);U(17);M()()()();L(18,"div",13)(19,"button",33);Q("click",function(){z(b);var c=R(3);c.showFiltersSubject.next(!c.showFiltersSubject.value);return B()});U(20," Remove scope filter ");M();I(21,TZa,2,0,"button",34);M()()}a&2&&(a=R(3),E(3),K("selected",a.selectedFilters$.has(a.openFilter))("value",
a.openFilter),E(),K("matTooltip",a.openFilter.tooltip||""),E(),V(" ",a.openFilter.displayAs," "),E(),J(a.selectedScopeFilter?6:-1),E(8),K("selected",X(15,8,a.includeDescendants$)),E(3),V(" Include sub-",a.selectedScopeFilter===a.componentFilter?"components":"teams"," "),E(4),J(a.isInternalSession?21:-1))},WZa=function(a,b){a&1&&I(0,VZa,22,10,"div");a&2&&(a=R(2),J(b===a.SearchSource.SEMANTIC_SEARCH&&a.tableDataSource!==a.TableDataSource.ISSUE_IDS?0:-1))},XZa=function(a){a&1&&(I(0,WZa,1,1),W(1,"async"));
if(a&2){var b;a=R();J((b=X(1,1,a.selectedSearchSource$))?0:-1,b)}},YZa=function(a){if(a&1){var b=y();L(0,"button",51);Q("click",function(){z(b);var c=R(2);return B(c.openLearnMore())});N(1,"mat-icon",52);M()}},ZZa=function(a){if(a&1){var b=y();L(0,"div",13)(1,"button",33);Q("click",function(){z(b);var c=R();c.showFiltersSubject.next(!c.showFiltersSubject.value);return B()});U(2," Add scope filter ");M();I(3,YZa,2,0,"button",34);M()}a&2&&(a=R(),E(3),J(a.isInternalSession?3:-1))},$Za=function(a){a&
1&&N(0,"ai-spinner",53);a&2&&K("large",!0)},a_a=function(a){a&1&&N(0,"ai-spinner",54)},b_a=function(a){a&1&&N(0,"b-spinner",55)},c_a=function(a){a&1&&(L(0,"div",14),I(1,$Za,1,1,"ai-spinner",53),W(2,"async"),Jj(3,a_a,1,0,"ai-spinner",54)(4,b_a,1,0,"b-spinner",55),M());a&2&&(a=R(),E(),J(a.searchText$.value?a.searchText$.value&&X(2,1,a.selectedSearchSource$)===a.SearchSource.SEMANTIC_SEARCH?3:4:1))},d_a=function(a){a&1&&(L(0,"b-callout",56)(1,"b-callout-body"),U(2," This issue was suggested by AI! Save time by exploring the suggestions first next time. "),
L(3,"a",60),U(4,"Learn more"),M()()())},e_a=function(a){a&1&&(L(0,"h3",57),N(1,"mat-icon",61),U(2," Possible duplicates "),M())},f_a=function(a){a&1&&(L(0,"th",80)(1,"span",81),U(2,"Selection"),M()())},g_a=function(a,b){a&1&&(L(0,"td",82),N(1,"mat-radio-button",83),W(2,"async"),M());a&2&&(a=b.$implicit,b=R(3),E(),K("checked",X(2,3,Tq(b.selectedIssues,a.issueId))),Gj("aria-label",a.snapshot[0].title),K("value",a.issueId))},h_a=function(a){a&1&&(L(0,"th",80),U(1," Title "),M())},i_a=function(a,b){a&
1&&(L(0,"td",82),N(1,"b-issue-title-cell",84),M());a&2&&(a=b.$implicit,b=R(3),E(),K("issue",a)("issueUrlFactory",b.issueUrlFactory)("useButtonToNavigate",!0)("enableHovercard",!0))},j_a=function(a){a&1&&(L(0,"th",80),U(1," Id "),M())},k_a=function(a,b){a&1&&(L(0,"td",82),N(1,"b-issue-id-cell",85),M());a&2&&(a=b.$implicit,E(),K("id",a.issueId))},l_a=function(a){a&1&&(L(0,"th",80),U(1," Priority "),M())},m_a=function(a,b){a&1&&(L(0,"td",82),N(1,"b-issue-priority-cell",86),M());a&2&&(a=b.$implicit,E(),
K("issue",a))},n_a=function(a){a&1&&(L(0,"th",87),U(1," Status "),M())},o_a=function(a,b){a&1&&(L(0,"td",82),N(1,"b-issue-status-cell",86),M());a&2&&(a=b.$implicit,E(),K("issue",a))},p_a=function(a){a&1&&(L(0,"th",80),U(1," Dupes "),M())},q_a=function(a,b){a&1&&(L(0,"td",88),U(1),M());if(a&2){a=b.$implicit;E();var c;V(" ",(c=a.snapshot[0].duplicateIssueId==null?null:a.snapshot[0].duplicateIssueId.length)!=null?c:0," ")}},r_a=function(a){a&1&&(L(0,"th",89)(1,"span",81),U(2,"Votes"),M(),N(3,"mat-icon",
90),M())},s_a=function(a,b){a&1&&(L(0,"td",88),U(1),M());a&2&&(a=b.$implicit,E(),V(" ",a.aggregatedData.voteCount," "))},t_a=function(a){a&1&&(L(0,"th",91),U(1," Created "),M())},u_a=function(a,b){a&1&&(L(0,"td",82),N(1,"b-issue-created-time-cell",92),M());a&2&&(a=b.$implicit,E(),K("issue",a))},v_a=function(a){a&1&&N(0,"tr",93)},w_a=function(a,b){if(a&1){var c=y();L(0,"tr",94);Q("keydown",function(d){var e=z(c),f=e.$implicit;e=e.index;var h=R(3);return B(h.onRowKeydown(e,f,d))})("keydown.enter",function(){var d=
z(c).$implicit,e=R(3);return B(e.selectIssue(d.issueId))})("focusin",function(){var d=z(c).$implicit,e=R(3);return B(Uq(e.focusManager,d))})("click",function(){var d=z(c),e=d.$implicit;d=d.index;var f=R(3);f.selectIssue(e.issueId);return B(f.focusManager.setActiveItem(d))});M()}a&2&&K("row",b.$implicit)},y_a=function(a){if(a&1){var b=y();L(0,"table",62);Q("contentChanged",function(){z(b);var d=R(),e=R();return B(x_a(e,d))});Sj(1,63);G(2,f_a,3,0,"th",64);L(3,"mat-radio-group",65);Q("change",function(d){z(b);
var e=R(2);return B(e.selectIssue(d.value))});G(4,g_a,3,5,"td",66);M();Tj();Sj(5,67);G(6,h_a,2,0,"th",64)(7,i_a,2,4,"td",66);Tj();Sj(8,68);G(9,j_a,2,0,"th",64)(10,k_a,2,1,"td",66);Tj();Sj(11,69);G(12,l_a,2,0,"th",64)(13,m_a,2,1,"td",66);Tj();Sj(14,70);G(15,n_a,2,0,"th",71)(16,o_a,2,1,"td",66);Tj();Sj(17,72);G(18,p_a,2,0,"th",64)(19,q_a,2,1,"td",73);Tj();Sj(20,74);G(21,r_a,4,0,"th",75)(22,s_a,2,1,"td",73);Tj();Sj(23,76);G(24,t_a,2,0,"th",77)(25,u_a,2,1,"td",66);Tj();G(26,v_a,1,0,"tr",78)(27,w_a,1,
1,"tr",79);M()}if(a&2){a=R();var c=R();K("dataSource",a)("trackBy",c.trackByIssueId);E(26);K("matHeaderRowDef",c.tableColumns);E();K("matRowDefColumns",c.tableColumns)}},z_a=function(a){a&1&&(L(0,"div",59)(1,"span",95),U(2,"No results found"),M()())},A_a=function(a,b){a&1&&(L(0,"div",15),I(1,d_a,5,0,"b-callout",56),I(2,e_a,3,0,"h3",57),I(3,y_a,28,4,"table",58),I(4,z_a,3,0,"div",59),M());a&2&&(a=R(),E(),J(a.isPasteResultInSuggestion?1:-1),E(),J(a.searchText$.value||a.isLoading?-1:2),E(),J(!a.isLoading&&
b&&b.length?3:-1),E(),J(a.isLoading||(b==null?null:b.length)!==0?-1:4))},B_a=function(a){a&1&&(L(0,"div")(1,"p"),U(2),M()());a&2&&(a=R(),E(2),tk(a.description))},C_a=function(a){a&1&&(L(0,"span"),U(1,", "),M())},D_a=function(a,b){a&1&&(L(0,"span",1),U(1),M(),L(2,"onedev-hovercard",null,0)(4,"div",2)(5,"div",3)(6,"h3"),U(7),M(),I(8,B_a,3,1,"div"),M()()(),I(9,C_a,2,0,"span"));if(a&2){a=T(3);var c=R(),d=c.$index;c=c.$count;K("onedevHovercardTrigger",a)("onedevHovercardActive",b.enableHovercard);E();
tk(b.displayName);E(6);tk(b.displayName);E();J(b.description?8:-1);E();J(d!==c-1?9:-1)}},F_a=function(a,b){a&1&&(I(0,D_a,10,6),W(1,"async"));if(a&2){var c;a=b.$implicit;b=R();J((c=X(1,1,E_a(b,a)))?0:-1,c)}},G_a=function(a){if(a&1){var b=y();L(0,"button",4);Q("click",function(c){z(b);var d=R();d.expansionChange.emit();c.stopPropagation();d.issueTitleCell.bannedWordsChecker.reset();return B()});N(1,"b-icon",5);M()}a&2&&(a=R(),rk("collapsed",!a.expanded),Hj("aria-label",a.expanded?"Collapse children":
"Expand children"))},H_a=function(a){a&1&&N(0,"div",2)},I_a=function(a){a&1&&N(0,"mat-icon",1);a&2&&(a=R(),K("svgIcon",a.icon))},J_a=function(a){if(a&1){var b=y();N(0,"b-signal-chip",3);L(1,"button",4);Q("click",function(c){z(b);var d=R();c.preventDefault();c.stopPropagation();return B(d.dismissAlert())})("mousedown",function(){z(b);var c=R();return B(c.dismissAlert())});N(2,"mat-icon",5);M()}a&2&&(R(),a=Yj(1),K("chipColor",a.chipColor)("displayText",a.displayAs)("tooltip",a.tooltip))},L_a=function(a){a&
1&&(L(0,"div",2),U(1),M());if(a&2){a=R();var b=T(5);K("xapInlineDialog",b);E();V(" +",K_a(a).slice(1).length," ")}},M_a=function(a,b){if(a&1){var c=y();L(0,"div",6);N(1,"b-signal-chip",3);L(2,"button",4);Q("click",function(d){z(c);var e=R(2);d.preventDefault();d.stopPropagation();return B(e.dismissAlert())})("mousedown",function(){z(c);var d=R(2);return B(d.dismissAlert())});N(3,"mat-icon",7);M()()}a&2&&(a=b.$implicit,E(),K("chipColor",a.chipColor)("displayText",a.displayAs)("tooltip",a.tooltip))},
N_a=function(a){a&1&&(L(0,"xap-dialog-layout")(1,"xap-dialog-layout-content"),Mj(2,M_a,4,3,"div",6,Kj),M()());a&2&&(a=R(),E(2),Nj(K_a(a).slice(1)))},O_a=function(a){a&1&&(L(0,"b-person-hovercard",1),U(1),M());a&2&&(a=R(),K("email",a.assignee),E(),V(" ",a.assignee," "))},P_a=function(a){a&1&&N(0,"b-team-display",1);a&2&&(a=R(),K("teamId",a.teamId)("componentId",a.componentId)("anchorLinkEnabled",!1))},Q_a=function(a,b){a&1&&N(0,"b-user-image",0);a&2&&K("email",b)},R_a=function(a){if(a&1){var b=y();
L(0,"button",2);Q("click",function(){z(b);var c=R();return B(c.claim())})("mousedown",function(){z(b);var c=R();return B(c.claim())});U(1," Claim ");M()}},S_a=function(a){a&1&&(Sj(0),U(1),W(2,"enumToHuman"),Tj());a&2&&(a=R(),E(),tk(X(2,1,a.type)))},T_a=function(a){a&1&&Uj(0)},U_a=function(a){a&1&&(L(0,"span"),U(1,"Details"),M())},V_a=function(a){a&1&&(L(0,"span"),U(1,"Members"),M())},W_a=function(a){a&1&&(L(0,"div",11)(1,"a",12),I(2,U_a,2,0,"span")(3,V_a,2,0,"span"),M()());if(a&2){a=R(2);E();if(a.email===
void 0)var b="";else{b=encodeURIComponent(a.getName());var c=encodeURIComponent(a.email);b=laa(a.email)?"https://ganpati2.corp.google.com/group/"+b+".corp":yha(a.email)?"https://twosync.corp.google.com/rosterz/"+c:"https://groups.google.com/a/google.com/forum/#!members/"+b}K("href",b,Ni);E();J(laa(a.email)?2:3)}},X_a=function(a){a&1&&(L(0,"span",2),G(1,T_a,1,0,"ng-container",3),M(),L(2,"onedev-hovercard",null,1)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"h3"),U(10),M()(),L(11,"div",
9),N(12,"mat-icon",10),L(13,"span"),U(14),M()()(),I(15,W_a,4,2,"div",11),M()()()());if(a&2){a=T(3);var b=R(),c=T(3);K("onedevHovercardTrigger",a);E();K("ngTemplateOutlet",c);E(9);tk(b.getName());E(4);tk(b.email);E();J(b.shouldShowLinks()?15:-1)}},Y_a=function(a){a&1&&Uj(0)},Z_a=function(a){a&1&&G(0,Y_a,1,0,"ng-container",3);a&2&&(R(),a=T(3),K("ngTemplateOutlet",a))},$_a=function(a){a&1&&ak(0)},a0a=function(a){a&1&&(L(0,"xap-dialog-layout")(1,"xap-dialog-layout-content"),ak(2),M()())},b0a=function(a,
b){a&1&&N(0,"mat-icon",2);a&2&&K("svgIcon",b)},c0a=function(a){a&1&&(L(0,"b-person-hovercard",4),U(1),M());a&2&&(a=R(),K("email",a.value),E(),V(" ",a.displayText," "))},d0a=function(a){a&1&&(L(0,"b-group-email-card",4),U(1),M());a&2&&(a=R(),K("email",a.value),E(),V(" ",a.displayText," "))},e0a=function(a,b){a&1&&(L(0,"div",8),N(1,"b-contact-chip",9),M());a&2&&(a=b.$implicit,b=R(3),E(),K("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",
a.displayText))},f0a=function(a){a&1&&(L(0,"div",7),Mj(1,e0a,2,5,"div",8,Lj),M());a&2&&(a=R(2),E(),Nj(a.nestedChips))},g0a=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(2),E(),tk(a.getTooltip()))},h0a=function(a){a&1&&(L(0,"b-text-with-tooltip",5),I(1,f0a,3,0,"div",7)(2,g0a,2,1,"span"),M());a&2&&(a=R(),K("dialogTabIndex",a.isContainerChip()?-1:0)("displayText",a.displayText),E(),J(a.isContainerChip()?1:2))},i0a=function(a){if(a&1){var b=y();L(0,"div",10);Q("click",function(){z(b);var c=R();return B(c.chipRemove.emit())})("keydown.enter",
function(){z(b);var c=R();return B(c.chipRemove.emit())});N(1,"mat-icon",11);M()}a&2&&(a=R(),K("matTooltip",zk("'Remove ",a.displayText,"'")),Hj("aria-label","Remove "+a.displayText))},j0a=function(a,b){a&1&&(L(0,"span",1),U(1),M());a&2&&(K("matTooltip",b),E(),V(" ",b," "))},k0a=function(a){a&1&&(L(0,"b-person-hovercard",1),U(1),M());a&2&&(a=R(),K("email",a.reporter),E(),V(" ",a.reporter," "))},l0a=function(a){a&1&&(L(0,"div")(1,"div",10),U(2," An issue cannot reference itself. "),M()())},m0a=function(a){a&
1&&(L(0,"mat-option",7)(1,"div",11),N(2,"b-spinner",12),M()());a&2&&(E(2),K("large",!0))},n0a=function(a){a&1&&(L(0,"mat-option",8),U(1," No issues found. "),M())},o0a=function(a){a&1&&N(0,"mat-icon",14);if(a&2){a=R().$implicit;var b=R(),c;K("svgIcon",(c=b.STATUS_ICON.get(a.status))!=null?c:"")}},p0a=function(a){a&1&&N(0,"b-issue-card",21,2);if(a&2){a=T(1);var b=R().$implicit;K("onedevIsHovercardReady",a.init)("issueId",b.resourceId)}},r0a=function(a,b){if(a&1){var c=y();L(0,"mat-option",9)(1,"div",
13);I(2,o0a,1,1,"mat-icon",14);L(3,"strong",15);U(4);M();L(5,"onedev-hovercard",null,1);G(7,p0a,2,2,"b-issue-card",16);M();L(8,"a",17);Q("click",function(e){z(c);return B(e.stopPropagation())});N(9,"mat-icon",18);M();L(10,"span",19);U(11);M();N(12,"div",20);W(13,"boldPrefixMatches");M()()}if(a&2){a=b.$implicit;b=T(6);var d=R();K("value",a);E();Hj("aria-label",a.resourceId+", "+a.displayText+", click ALT RightArrow to open the issue in a new tab.");E();J(a.status?2:-1);E();K("title",yk(a.resourceId));
E();V(" ",a.resourceId," ");E(4);K("onedevHovercardTrigger",b)("href",d.getIssueLink(a),Ni);E(3);tk(q0a(a));E();K("title",yk(a.displayText))("innerHTML",Fk(13,12,a.displayText,d.query),Mi)}},s0a=function(a,b){a&1&&(L(0,"a",11),U(1),M());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;K("href",zk("issues/",a.resourceId),Ni);E();uk(" ",a.resourceId,"",c===b-1?"":","," ")}},t0a=function(a){a&1&&(L(0,"div",3),Mj(1,s0a,2,4,"a",11,Lj),M());a&2&&(a=R(),E(),Nj(a.selectedIssues))},u0a=function(a){a&1&&(L(0,
"div",3)(1,"a",12)(2,"span",13),U(3),M(),L(4,"span"),N(5,"mat-icon",14),M()()());a&2&&(a=R(),E(),K("href",zk("issues/",a.selectedIssues[0].resourceId),Ni),E(2),V(" ",a.selectedIssues[0].displayText," "))},w0a=function(a){if(a&1){var b=y();L(0,"div",6)(1,"div",15);Q("click",function(){z(b);var c=R();return B(v0a(c))})("keyup.space",function(){z(b);var c=R();return B(v0a(c))});M()()}a&2&&(a=R(),E(),K("matTooltip",a.isQueryRestricted?"Searching in current component tree":"Click to search in current component tree"),
Hj("aria-checked",a.isQueryRestricted))},x0a=function(a){switch(a){case "RESTRICTION_SEVERITY_UNSPECIFIED":return 0;case "NONE_DETECTED":return 1;case "RESTRICTED":return 2;case "RESTRICTED_PLUS":return 3;default:throw Error("Vd`"+a);}},y0a=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(),E(),V("Retain ",a.resource," as long as issue?"))},z0a=function(a){a&1&&(L(0,"span"),U(1,"Apply component retention settings?"),M())},A0a=function(a){a&1&&(L(0,"span")(1,"p"),U(2),M(),L(3,"p")(4,"b"),U(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."),
M(),N(6,"br"),U(7," Before selecting this option, you should make sure that Legal and Privacy have approved this non-standard retention period."),M()());a&2&&(a=R(),E(2),V("Are you sure you want to override any component retention settings, and retain this ",a.resource," as long as issue?"))},B0a=function(a){a&1&&(L(0,"span")(1,"p"),U(2),M()());a&2&&(a=R(),E(2),uk("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."))},
C0a=function(a){if(a&1){var b=y();L(0,"mat-checkbox",8);xk("ngModelChange",function(c){z(b);var d=R();wk(d.acknowledgeToMatchIssueRetention,c)||(d.acknowledgeToMatchIssueRetention=c);return B(c)});U(1," I acknowledge ");M()}a&2&&(a=R(),vk("ngModel",a.acknowledgeToMatchIssueRetention))},D0a=function(){var a=Math.random;this.initialMaxDelayMs_=500;this.maxDelayMs_=512E3;this.random_=a;this.reset()},E0a=function(a){return new Vq(a)},F0a=function(a){a=a instanceof Vq?a:new Vq(a);return a.value===null||
a.value instanceof Wq?a:new Vq(a.value,!0)},G0a=function(a){return{queryParams:a.getQueryParameters(),extraHeaders:a.getHeaders(),withCredentials:a.usesCredentialedRequests()}},L0a=function(a){if(a.oauthTokens){var b=a.oauthTokens;return pi(b).then(function(c){c=new $n(c);b.subscribe(c);return new H0a(c)})}return a.apiKey?a.bearerTokens?Promise.resolve(new I0a(a.apiKey,a.bearerTokens)):a.appAuthTokens?Promise.resolve(new J0a(a.apiKey)):Promise.resolve(new K0a(a.apiKey,a.authUser)):Promise.reject(Error("be"))},
M0a=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}},N0a=function(a){return{send:function(b,c,d,e,f,h,k){var q=new Xq(a);q.listen("complete",c);q.listenOnce("ready",function(){q.dispose()});h&&(q.timeoutInterval_=Math.max(0,h));k&&(q.withCredentials_=k);q.send(b,d,e,f);return q}}},O0a=function(a){return new bi(function(b){var c=
Yq(function(){b.next({});b.complete()},a);return function(){da.clearTimeout(c)}})},P0a=function(a){return(new Zq).setName(a)},U0a=function(a){var b=new $q;a=l(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new Q0a;if(d.value===null){d=c;var e=new R0a;Bl(d,13,ar,e)}else d.value instanceof br?d.isDecreasing?ul(c,4,ar,Gb(d.value.toString(),0)):ul(c,2,ar,Gb(d.value.toString(),0)):typeof d.value==="string"?d.isDecreasing?fl(c,3,ar,d.value):fl(c,1,ar,d.value):typeof d.value==="number"?
d.isDecreasing?fua(c,9,ar,d.value):fua(c,10,ar,d.value):d.value instanceof Uint8Array?d.isDecreasing?ul(c,5,ar,eb(d.value,!1,!0)):ul(c,7,ar,eb(d.value,!1,!0)):d.value instanceof S0a?d.isDecreasing?(e=c,d=T0a(d.value),Bl(e,11,ar,d)):(e=c,d=T0a(d.value),Bl(e,12,ar,d)):d.value instanceof Wq&&(c=d.value.rep);b.addParts(c)}return b},Z0a=function(a,b){if(a instanceof cr)return b.getPartsList().length>0?null:V0a.apply(cr,p(a.parts));a=Array.of.apply(Array,p(a.root.parts));b=l(b.getPartsList());for(var c=
b.next();!c.done;c=b.next())switch(c=c.value,al(c,ar)){case 4:a.push(F0a(dr(W0a(c,4))));break;case 2:a.push(E0a(dr(W0a(c,2))));break;case 8:case 10:case 6:case 9:a.push(new Vq(new Wq(c)));break;case 3:a.push(F0a(fp(c,3,ar)));break;case 1:a.push(E0a(fp(c,1,ar)));break;case 7:var d=void 0;a.push(E0a((d=X0a(c,7))==null?void 0:new Uint8Array(Fc(d)||0)));break;case 5:d=void 0;a.push(F0a((d=X0a(c,5))==null?void 0:new Uint8Array(Fc(d)||0)));break;case 12:c=Y0a(Zk(c,ue,12,ar));if(c===null)return null;a.push(new Vq(c));
break;case 11:c=Y0a(Zk(c,ue,11,ar));if(c===null)return null;a.push(F0a(c));break;case 13:a.push(new Vq(null));break;case 0:a.push(new Vq(new Wq(c)));break;default:return null}return V0a.apply(cr,p(a))},fr=function(a){return{firstPartyUri:new er("https://"+a+"-signaler-pa.clients6.google.com/punctual"),thirdPartyUri:new er("https://"+a+"-signaler-pa.googleapis.com/punctual"),addDomainPrefix:!1}},gr=function(a,b){return{firstPartyUri:new er("https://"+a+"-dynamite-"+b+"-signaler-pa.clients6.google.com/punctual"),
thirdPartyUri:new er("https://"+a+"-dynamite-"+b+"-signaler-pa.googleapis.com/punctual"),addDomainPrefix:!0}},b1a=function(a,b){var c=0,d=a.slice(0,b).matchAll($0a),e=void 0;d=l(d);for(var f=d.next();!f.done;f=d.next())e=f.value;e&&e.index!==void 0&&(c=e.index+e[0].length);e=a.slice(b).search(a1a);b+=e;return{wordStart:c,wordEnd:b,word:a.slice(c,b)}},c1a=function(a){a&1&&(L(0,"div",6)(1,"div",11),N(2,"mat-icon",12),U(3," Literal Mode "),M(),L(4,"span"),U(5,"No formatting or linkification will be performed.\u00a0"),
M(),L(6,"a",13),U(7,"Learn more"),M()())},d1a=function(a){a&1&&(L(0,"div",7)(1,"div",14),U(2," Warning: Mentions are not supported without edit access. "),M()())},f1a=function(a){if(a&1){var b=y();L(0,"input",15,2);Q("peoplekitAutocompleteSelectionChange",function(c){z(b);var d=R(2);if(c.length>0){var e;if((e=d.hiddenInputRef)==null?0:e.nativeElement){e=c[0].result().getPrimaryTarget().getValue();c=d.autocompleteLogic;e="@"+e;c.findWordAroundCursor();if(e1a(c,c.wordInfo.word)){var f=c.getTextarea();
f.setRangeText(e,c.wordInfo.wordStart,c.wordInfo.wordEnd);f.selectionStart=c.wordInfo.wordStart+e.length;f.selectionEnd=c.wordInfo.wordStart+e.length;f.dispatchEvent(new Event("input"))}d.autocompleteLogic.taggingInProgress.next(!1);d.focusOnComponent()}}return B()});M()}a&2&&(a=R(2),K("peoplekitAutocompleteConfig",a.getConfig())("peoplekitSearchSessionOptions",a.sessionOptions)("peoplekitAutocompleteInputSearchDelay",0))},g1a=function(a){a&1&&G(0,f1a,2,3,"ng-template",9);a&2&&(a=R(),K("refreshable",
a.refresh$))},h1a=function(a){a&1&&N(0,"div",10,3)},i1a=function(a){a&1&&Uj(0)},j1a=function(a){a&1&&Uj(0)},k1a=function(a){a&1&&(L(0,"p",2),U(1," Editing comments will not permanently remove old ones from database history. "),N(2,"br"),U(3," For deletion of PII or other sensitive content, please "),L(4,"a",10),U(5," file a support request."),M()());a&2&&(a=R(),E(4),K("href",a.contentRemovalRequestLink,Ni))},l1a=function(a){a&1&&(L(0,"p",4),U(1),L(2,"a",11),U(3," Learn more "),M()());a&2&&(a=R(),
E(),V(" Your comment contains restricted words: ",Sq(a.bannedWordsChecker),". Review your comment before posting. "))},m1a=function(a){a&1&&N(0,"b-live-preview",6);a&2&&(a=R(),K("comment",a.dataDraft.text)("issueId",a.originalData.issueId)("audience",a.originalData.audience)("formattingMode",a.dataDraft.formattingMode))},n1a=function(a){if(a&1){var b=y();L(0,"section")(1,"div",12)(2,"b-recaptcha",13);Q("onUpdate",function(c){z(b);var d=R();return B(d.recaptchaResponse=c)});M()()()}},o1a=function(a){return function(b){var c,
d;return{resourceId:b.issueId,displayText:(c=b.snapshot[0].title)!=null?c:"",status:(d=b.snapshot[0].status)!=null?d:null,relations:[a]}}},p1a=function(a){var b=[],c=new Map;a=l(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},q1a=function(a,b){a&1&&N(0,"mat-icon",5);a&2&&(K("svgIcon",b.icon)("matTooltip",b.tooltip),Hj("aria-label",
b.tooltip))},r1a=function(a){a&1&&(Sj(0),U(1,"\u2026 >"),Tj())},s1a=function(a){a&1&&(Sj(0),U(1,"\u2026"),Tj())},t1a=function(a){if(a&1){var b=y();L(0,"a",11);Q("click",function(){z(b);var c=R(4);return B(c.compactMode$.next(!1))});L(1,"span",12);I(2,r1a,2,0,"ng-container");I(3,s1a,2,0,"ng-container");M()()}a&2&&(a=R().$implicit,E(2),J(a.isSpliced?2:-1),E(),J(a.isTruncated?3:-1))},u1a=function(a){a&1&&U(0);a&2&&(a=R(5),V(" ",a.displayValueOverride," "))},v1a=function(a){a&1&&(L(0,"a",14),U(1),M());
if(a&2){a=R(2).$implicit;var b=T(5);rk("muted",a.name==a.id);K("routerLinkObj",a.route)("onedevHovercardTrigger",b);E();tk(a.name)}},w1a=function(a){a&1&&I(0,u1a,1,1)(1,v1a,2,5,"a",13);a&2&&(a=R(4),J(a.displayValueOverride?0:1))},x1a=function(a){a&1&&U(0);a&2&&(a=R(5),V(" ",a.displayValueOverride," "))},y1a=function(a){a&1&&(L(0,"span",16),U(1),M());a&2&&(a=R(2).$implicit,rk("muted",a.name==a.id),E(),tk(a.name))},z1a=function(a){a&1&&I(0,x1a,1,1)(1,y1a,2,3,"span",15);a&2&&(a=R(4),J(a.displayValueOverride?
0:1))},A1a=function(a){a&1&&U(0," > ")},B1a=function(a){a&1&&(Sj(0),N(1,"b-component-path-card",17,1),Tj());if(a&2){a=T(2);var b=R().$implicit;E();K("onedevIsHovercardReady",a.init)("componentId",b.id)}},C1a=function(a,b){a&1&&(I(0,t1a,4,2,"a",9),I(1,w1a,2,1)(2,z1a,2,1),I(3,A1a,1,0),L(4,"onedev-hovercard",null,0),G(6,B1a,3,2,"ng-container",10),M());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;var d=R(3);J(a.isSpliced||a.isTruncated?0:-1);E();J(d.linkifyComponentNames?1:2);E(2);J(c!==b-1?3:-1)}},
E1a=function(a,b){a&1&&(L(0,"span",6),Mj(1,C1a,7,3,null,null,D1a),M());a&2&&(E(),Nj(b))},F1a=function(a){a&1&&(L(0,"span"),U(1,"[Archived]"),M())},G1a=function(a){if(a&1){var b=y();L(0,"button",18);Q("click",function(){z(b);var c=R(2);c.editing=!0;c.cdr.markForCheck();return B()});N(1,"mat-icon",19);M()}},H1a=function(a){a&1&&(L(0,"a",8),W(1,"async"),N(2,"mat-icon",20),M());if(a&2){var b;a=R(2);K("routerLinkObj",a.popoutLink((b=X(1,1,a.component$))==null?null:b.componentId))}},I1a=function(a){a&1&&
(L(0,"b-async-data-placeholder",2),W(1,"async"),L(2,"div",4),W(3,"async"),W(4,"async"),I(5,q1a,1,3,"mat-icon",5),W(6,"async"),I(7,E1a,3,0,"span",6),W(8,"async"),I(9,F1a,2,0,"span"),W(10,"async"),I(11,G1a,2,0,"button",7),I(12,H1a,3,3,"a",8),M()());if(a&2){var b,c;a=R();K("isReady",X(1,10,a.isReady$));E(2);rk("public",X(3,12,a.showPublicIndicator$))("partner",X(4,14,a.showPartnerIndicator$));E(3);J((b=X(6,16,a.folder$))?5:-1,b);E(2);J((c=X(8,18,a.componentPath$))?7:-1,c);E(2);J(X(10,20,a.isArchived$)?
9:-1);E(2);J(a.readOnly?-1:11);E();J(a.popoutLink?12:-1)}},K1a=function(a){if(a&1){var b=y();L(0,"b-team-component-picker",21);W(1,"async");Q("selectedComponentChange",function(c){z(b);var d=R();return B(J1a(d,c))})("dropdownClosed",function(){z(b);var c=R();return B(J1a(c))});M()}a&2&&(a=R(),K("selectedComponent",X(1,4,a.component$))("isRequired",!0)("shouldFocus",!0)("showOverlayAbove",a.showPickerOverlayAbove))},N1a=function(a){for(var b=l(L1a),c=b.next();!c.done;c=b.next())if(c=c.value,c.accessLevel===
a)return c.title;return M1a.title},O1a=function(a){a&1&&N(0,"mat-icon",7);a&2&&(a=R(),K("matTooltip",a.disabledDropdownTooltip))},P1a=function(a,b){if(a&1){var c=y();L(0,"button",10);Q("click",function(){var d=z(c).$implicit,e=R();e.selectedDisplay$.next(d);e.updatedAccessLimitLevel.emit(d.accessLevel);return B()});L(1,"div",11);N(2,"mat-icon",12);L(3,"span",13);U(4);M()();L(5,"div",14);U(6);M()()}a&2&&(a=b.$implicit,b=R(),E(2),K("svgIcon",a.icon),E(2),V(" ",a.title," "),E(2),V(" ",b.implicitAccessEnabled?
a.descriptionWithExpandedAccess:a.descriptionNoExpandedAccess," "))},R1a=function(a,b){if(a&1){var c=y();L(0,"mat-checkbox",19);Q("click",function(d){z(c);return B(d.stopPropagation())})("change",function(d){var e=z(c).$implicit,f=R(2);e=e.value.user;d=d.source.checked;var h=f.collaboratorGroupsEmailToDetailsMap.get(e.emailAddress).specifiedOnIssue;d?(h||f.addedCollaboratorGroups.add(e),f.removedCollaboratorGroups.delete(e)):(h&&f.removedCollaboratorGroups.add(e),f.addedCollaboratorGroups.delete(e));
var k;Q1a(f,(k=f.updatedAccessLimitLevel$.getValue())!=null?k:f.defaultAccessLimitLevel);return B()});U(1);M()}a&2&&(a=b.$implicit,K("id",a.key)("name",a.key)("checked",a.value.specifiedOnIssue),E(),V(" ",a.key," "))},S1a=function(a){a&1&&(L(0,"div")(1,"span",16),U(2,"Add collaborator groups"),M(),N(3,"mat-icon",7),M(),L(4,"div",17),Mj(5,R1a,2,4,"mat-checkbox",18,Lj),W(7,"keyvalue"),M());a&2&&(a=R(),E(3),K("matTooltip",yk(a.COLLABORATOR_GROUPS_TOOLTIP)),E(2),Nj(X(7,2,a.collaboratorGroupsEmailToDetailsMap)))},
U1a=function(a){if(a&1){var b=y();L(0,"button",20);Q("click",function(){z(b);var c=R();return B(c.onPressCancel())});U(1," Cancel ");M();L(2,"button",21);W(3,"async");Q("click",function(){z(b);var c=R();return B(c.onPressSave())});U(4," Save ");M()}a&2&&(a=R(),E(2),K("disabled",!T1a(a,X(3,1,a.hasAccessLimitLevelSelectionChanged$))))},V1a=function(a){if(a&1){var b=y();L(0,"button",22);Q("click",function(){z(b);var c=R();return B(c.onPressCancel())});U(1," Close ");M()}},W1a=function(a){if(a&1){var b=
y();L(0,"b-star-toggle",5);W(1,"async");W(2,"async");Q("starClicked",function(){z(b);var c=R(2);return B(c.starClicked.emit())});M()}a&2&&(a=R(2),K("starMessage","Star hotlist "+a.hotlist.name)("unStarMessage","Un-star hotlist "+a.hotlist.name)("acceptInput",!X(1,4,Tq(a.isSavingStar,a.hotlist.hotlistId)))("starred",X(2,6,Tq(a.starredHotlists,a.hotlist.hotlistId))))},X1a=function(a){a&1&&N(0,"div",2)},Y1a=function(a){if(a&1){var b=y();L(0,"span",0);I(1,W1a,3,8,"b-star-toggle",1)(2,X1a,1,0,"div",2);
L(3,"a",3);Q("click",function(c){z(b);return B(c.stopPropagation())})("keydown.enter",function(c){z(b);return B(c.stopPropagation())});N(4,"mat-icon",4);M()()}a&2&&(a=R(),E(),J(a.shouldShowStar(a.hotlist)?1:2),E(2),K("matTooltip",zk("Open ",a.hotlist.name," in a new tab"))("routerLink",a.ROUTES.viewHotlist.makeHref(a.hotlist.hotlistId)),Hj("aria-label","Open "+a.hotlist.name+" in a new tab"))},Z1a=function(a){a&1&&Uj(0)},$1a=function(a){a&1&&G(0,Z1a,1,0,"ng-container",7);a&2&&(R(),a=T(10),K("ngTemplateOutlet",
a))},b2a=function(a){if(a&1){var b=y();L(0,"button",15);Q("click",function(){z(b);var c=R(2),d=Bd(c.query$.value);c.allHotlistIds.has(d)?(c.selectedHotlistIds.add(d),hr(c)):a2a(c,d);return B()});U(1);W(2,"async");L(3,"span",16);U(4,"(add hotlist by ID)");M()()}a&2&&(a=R(2),E(),V(" ",X(2,1,a.query$)," "))},c2a=function(a){if(a&1){var b=y();L(0,"button",17);Q("click",function(){z(b);R(2).showCreateNewPane=!0;return B()});U(1);W(2,"async");L(3,"span",16);U(4,"(create new)");M()()}a&2&&(a=R(2),E(),V(" ",
X(2,1,a.query$)," "))},d2a=function(a){a&1&&N(0,"mat-icon",27)},e2a=function(a){a&1&&N(0,"mat-icon",28)},f2a=function(a){a&1&&N(0,"mat-icon",29)},g2a=function(a){a&1&&(L(0,"p",36),U(1),M());a&2&&(a=R(2).$implicit,E(),V(" ",a.description," "))},h2a=function(a){if(a&1){var b=y();L(0,"div");I(1,d2a,1,0,"mat-icon",27)(2,e2a,1,0,"mat-icon",28)(3,f2a,1,0,"mat-icon",29);L(4,"mat-list-item",30);Q("focus",function(){z(b);R();var e=T(1);return B(e.show())})("blur",function(){z(b);R();var e=T(1);return B(e.hide())});
L(5,"div",31)(6,"mat-checkbox",32);W(7,"async");Q("change",function(e){z(b);var f=R().$implicit,h=R(3);return B(h.onCheckboxChange(e,f.hotlistId))});L(8,"div",33)(9,"div",34)(10,"p",35);U(11);M()();I(12,g2a,2,1,"p",36);M()()()()()}if(a&2){var c;a=R().$implicit;var d=R(3);sk(zk("flex-kids-x align-items-center left-padding ",a.type));E();J(a.type===d.HotlistType.RECOMMENDED?1:a.type===d.HotlistType.USER?2:3);E(3);qk("height",a.description?"72px":"auto");E(2);K("value",a.hotlistId.toString())("checked",
d.selectedHotlistIds.has(a.hotlistId))("disabled",((c=X(7,13,a.permissions$))==null?null:c.appender)===!1)("indeterminate",d.partiallySelectedHotlistIds.has(a.hotlistId));Hj("aria-checked",d.selectedHotlistIds.has(a.hotlistId));E(5);V(" ",a.name," ");E();J(a.description?12:-1)}},i2a=function(a){a&1&&(L(0,"p",36),U(1),M());a&2&&(a=R(2).$implicit,E(),V(" ",a.description," "))},j2a=function(a){if(a&1){var b=y();L(0,"mat-list-item",30);Q("focus",function(){z(b);R();var e=T(1);return B(e.show())})("blur",
function(){z(b);R();var e=T(1);return B(e.hide())});L(1,"div",31)(2,"mat-checkbox",37);W(3,"async");Q("click",function(e){z(b);return B(e.stopPropagation())})("change",function(e){z(b);var f=R().$implicit,h=R(3);return B(h.onCheckboxChange(e,f.hotlistId))});L(4,"div",33)(5,"div",34)(6,"label",35);U(7);M()();I(8,i2a,2,1,"p",36);M()()()()}if(a&2){var c;a=R().$implicit;var d=R(3);qk("height",a.description?"72px":"auto");E(2);K("value",a.hotlistId.toString())("checked",d.selectedHotlistIds.has(a.hotlistId))("disabled",
((c=X(3,9,a.permissions$))==null?null:c.appender)===!1)("indeterminate",d.partiallySelectedHotlistIds.has(a.hotlistId));Hj("aria-checked",d.selectedHotlistIds.has(a.hotlistId));E(5);V(" ",a.name," ");E();J(a.description?8:-1)}},k2a=function(a,b){a&1&&(L(0,"div",21,4),W(2,"async"),I(3,h2a,13,15,"div",25)(4,j2a,9,11,"mat-list-item",26),M());if(a&2){var c;a=b.$implicit;b=R(3);K("matTooltip",((c=X(2,2,a.permissions$))==null?null:c.appender)===!1?b.NO_ACCESS_MESSAGE:"");E(3);J(b.isInternalSession?3:4)}},
l2a=function(a,b){if(a&1){var c=y();L(0,"hotlist-matlist-option",38);Q("starClicked",function(){var d=z(c).$implicit,e=R(3);return B(e.toggleStar(d.hotlistId))});M()}a&2&&(a=b.$implicit,b=R(3),rk("has-description",a.description),K("hotlist",a)("isCompact",!1)("starredHotlists",b.starredHotlists)("isSavingStar",b.isSavingStar))},m2a=function(a){if(a&1){var b=y();L(0,"div",24)(1,"span",16);U(2," The number of hotlists is too large to show at once. ");M();L(3,"button",39);Q("click",function(){z(b);var c=
R(3);return B(c.forceShowOverflow$.next(!0))});U(4," Show all anyway ");M()()}},o2a=function(a,b){a&1&&(L(0,"div",18)(1,"mat-list",19)(2,"div",20),Mj(3,k2a,5,4,"div",21,n2a),M()(),L(5,"div",22),Mj(6,l2a,1,6,"hotlist-matlist-option",23,n2a),M()(),I(8,m2a,5,0,"div",24),W(9,"async"));a&2&&(a=R(2),E(3),Nj(b),E(3),Nj(b),E(2),J(X(9,1,a.isOverflowMode$)?8:-1))},p2a=function(a){if(a&1){var b=y();L(0,"header",8)(1,"h2");U(2,"Search for Hotlists from your favorites");M();L(3,"div",9);N(4,"mat-icon",10);L(5,
"input",11,2);Q("input",function(){z(b);var d=T(6);R().query$.next(d.value);return B()});M()()();L(7,"section",12,3);I(9,b2a,5,3,"button",13);W(10,"async");I(11,c2a,5,3,"button",14);W(12,"async");I(13,o2a,10,3);W(14,"async");M()}if(a&2){var c;a=R();E(9);J(X(10,3,a.showLoadById$)?9:-1);E(2);J(X(12,5,a.showCreateNew$)?11:-1);E(2);J((c=X(14,7,a.visibleHotlists$))?13:-1,c)}},q2a=function(a){a&1&&Uj(0)},r2a=function(a){a&1&&G(0,q2a,1,0,"ng-container",7);a&2&&(R(),a=T(8),K("ngTemplateOutlet",a))},s2a=function(a){if(a&
1){var b=y();L(0,"button",40);Q("click",function(){z(b);var c=R();return B(hr(c))});U(1);M()}a&2&&(a=R(),K("mat-dialog-close",!0)("matTooltip",a.saveBtnTooltip)("disabled",a.pristine),Hj("aria-label",a.saveBtnTooltip),E(),V(" ",a.saveBtnLabel," "))},v2a=function(a){if(a&1){var b=y();L(0,"button",41);Q("click",function(){z(b);var c=R();return B(t2a(c))});U(1," Create ");M()}a&2&&(a=R(),K("disabled",!(u2a(a).length>0)))},w2a=function(a){a&1&&(L(0,"header",8)(1,"h2"),U(2,"Create new hotlist"),M()(),
L(3,"section",42)(4,"div",43)(5,"form",44)(6,"label",45),U(7,"Name"),M(),N(8,"input",46),L(9,"label",47),U(10,"Description"),M(),N(11,"textarea",48),L(12,"p",16),U(13," Note: Access controls can be adjusted after the hotlist is created. "),M()()()());a&2&&(a=R(),E(5),K("formGroup",a.hotlistUnderEdit))},x2a=function(a,b){return a.name.localeCompare(b.name)},y2a=function(a,b){if(a==null||a.trim()==="")return!1;b=b.map(function(c){var d;return(d=c.name)==null?void 0:d.toLowerCase()});a=a.toLowerCase();
return!b.includes(a)},z2a=function(a){var b=new Set(a.selectedHotlistIds);if(a.selectedHotlistIdsMap){a=l(a.selectedHotlistIdsMap.values());for(var c=a.next();!c.done;c=a.next()){c=l(c.value);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}}},A2a=function(a){var b=new Map;a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;d=Array.from(d);b.set(c,new Set(d))}return b},B2a=function(a){if(a&1){var b=y();L(0,"b-edit-field",21);W(1,"async");
Q("valueChange",function(f){z(b);var h=R(3),k=R(2);return B(k.setSeverity(h,f!=null?f:k.IssueSeverity.S2))});M()}if(a&2){var c=R().$implicit,d=R();a=Yj(0);var e=R(3);c=d.get(c);K("name","severity")("title","Severity")("type",e.FieldType.ENUM)("tooltip","Set severity")("value",c?null:a.severity)("choices",e.severityChoices)("readonly",!X(1,8,e.hasAclToEdit$))("displayValueOverride",c?e.MULTIPLE_FIELD_VALUES_LABEL:"")}},C2a=function(a){if(a&1){var b=y();L(0,"b-edit-field",22,0);W(2,"async");Q("onHotkey",
function(){z(b);var f=T(1);return B(pq(f,null,!0,!1))})("valueChange",function(f){z(b);var h=R(3),k=R(2);return B(k.setPriority(h,f!=null?f:k.IssuePriority.P2))});M()}if(a&2){var c=R().$implicit,d=R();a=Yj(0);var e=R(3);c=d.get(c);K("name","priority")("title","Priority")("type",e.FieldType.ENUM)("tooltip","Set priority")("value",c?null:a.priority)("choices",e.priorityChoices)("hotkey",e.HOTKEYS.OPEN_ISSUE_PRIORITY_MENU)("readonly",!X(2,9,e.hasAclToEdit$))("displayValueOverride",c?e.MULTIPLE_FIELD_VALUES_LABEL:
"")}},D2a=function(a){if(a&1){var b=y();L(0,"triage-hotlists-editor",23);Q("hotlistIdsChange",function(c){z(b);var d=R(5);return B(d.hotlistIds=c)})("hotlistIdsMapChange",function(c){z(b);var d=R(5);return B(d.hotlistIdsMap=c)});M()}a&2&&(a=R(5),K("phase",a.phase)("subphase",a.subphase))},E2a=function(a){if(a&1){var b=y();L(0,"triage-custom-fields-editor",24);Q("onCustomFieldBulkEdit",function(e){z(b);R(5).customFieldBulkEditOps=e;return B()});M()}if(a&2){R(2);a=Yj(0);var c=R(),d=R(2);K("editableIssue",
a)("hasMultipleIssues",c.length>1)("phase",d.phase)("subphase",d.subphase)}},F2a=function(a,b){if(a&1){var c=y();L(0,"button",30);Q("click",function(){var e=z(c),f=R(6),h=R(2);return B(h.setAssignee(f,e))})("onHotkey",function(){var e=z(c),f=R(6),h=R(2);return B(h.setAssignee(f,e))});N(1,"mat-icon",31);U(2," Assign to default ");M()}if(a&2){R(5);a=Yj(0);var d=R(3);K("disabled",a.assignee===b)("hotkey",d.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip","Set "+b+" as assignee");Hj("aria-label",
"Set "+b+" as assignee");E();K("svgIcon",a.assignee===b?"done":"add")}},G2a=function(a){a&1&&(I(0,F2a,3,5,"button",29),W(1,"async"));if(a&2){var b;a=R(7);J((b=X(1,1,a.defaultAssigneeForComponent$))?0:-1,b)}},H2a=function(a){if(a&1){var b=y();L(0,"button",32);Q("click",function(){z(b);var c=R(5),d=R(2);return B(d.setAssignee(c,d.currentUserEmail))})("onHotkey",function(){z(b);var c=R(5),d=R(2);return B(d.setAssignee(c,d.currentUserEmail))});N(1,"mat-icon",33);U(2," Assign to me ");M()}a&2&&K("matTooltip",
"Assign to me")},I2a=function(a){a&1&&(L(0,"div",27),I(1,G2a,2,3),I(2,H2a,3,1,"button",28),M());if(a&2){R();a=Yj(0);R(2);var b=Yj(0),c=R(3);E();J(c.showAssignToDefault&&!a?1:-1);E();J(c.showAssignToSelf&&b.assignee!==c.currentUserEmail||a?2:-1)}},J2a=function(a){if(a&1){var b=y();Wj(0);L(1,"div",15)(2,"div",25)(3,"b-single-user-control",26,1);Q("onHotkey",function(){z(b);var f=T(4);return B(f.openEditor())})("valueChange",function(f){z(b);var h=R(3),k=R(2);return B(k.setAssignee(h,f.newEmail))})("emailChange",
function(f){z(b);var h=R(3),k=R(2);return B(k.setAssignee(h,f))});M();I(5,I2a,3,2,"div",27);W(6,"async");M()()}if(a&2){var c=R().$implicit,d=R();a=Yj(0);var e=R(3);c=Xj(d.get(c));E(3);K("name","assignee")("title","Assignee")("hotkey",e.HOTKEYS.CHANGE_ASSIGNEE)("displayValueOverride",c?e.MULTIPLE_FIELD_VALUES_LABEL:"")("value",a.assignee);E(2);J(X(6,7,e.showAssigneeChips$)?5:-1)}},K2a=function(a){if(a&1){var b=y();L(0,"b-edit-field",34,2);W(2,"async");Q("valueChange",function(f){z(b);var h=R(3),k=
R(2);return B(k.setType(h,f!=null?f:k.IssueType.BUG))});M()}if(a&2){var c=R().$implicit,d=R();a=Yj(0);var e=R(3);c=d.get(c);K("name","type")("title","Type")("type",e.FieldType.ENUM)("value",c?null:a.type)("choices",e.typeChoices)("readonly",!X(2,7,e.hasAclToEdit$))("displayValueOverride",c?e.MULTIPLE_FIELD_VALUES_LABEL:"")}},L2a=function(a){if(a&1){var b=y();L(0,"b-edit-field",35,3);W(2,"async");Q("onHotkey",function(){z(b);var f=T(1);return B(pq(f,null,!0,!1))})("valueChange",function(f){z(b);var h=
R(3),k=R(2);return B(k.setStatus(h,f!=null?f:k.IssueStatus.NEW))});M()}if(a&2){var c=R().$implicit,d=R();a=Yj(0);var e=R(3);c=d.get(c);K("name","status")("title","Status")("type",e.FieldType.ENUM)("value",c?null:a.status)("choices",e.statusChoices)("showHotkeyHint",!0)("hotkey",e.HOTKEYS.OPEN_ISSUE_STATUS_MENU)("readonly",!X(2,9,e.hasAclToEdit$))("displayValueOverride",c?e.MULTIPLE_FIELD_VALUES_LABEL:"")}},N2a=function(a){if(a&1){var b=y();L(0,"b-list-field",37);W(1,"async");Q("valuesChange",function(d){z(b);
var e=R(4),f=R(2);return B(f.setCodeChanges(e,d.values))});M()}if(a&2){R(3);a=Yj(0);var c=R(3);K("readonly",!X(1,6,c.hasAclToEdit$))("defaultLineCount",3)("title","Code Changes")("inputValidator",c.codeChangesValidator)("type",c.ListFieldType.CODE_CHANGES)("values",M2a(a,c.sessionIsExternal))}},O2a=function(a){a&1&&I(0,N2a,2,8,"b-list-field",36);a&2&&(a=R(3),J(a.length<2?0:-1))},P2a=function(a){if(a&1){var b=y();L(0,"div",18)(1,"div",38)(2,"label");U(3,"Component");M()();L(4,"b-component-breadcrumb-chip",
39);Q("componentChanged",function(f){z(b);var h=R(3),k=R(2);return B(k.setComponent(h,f))});M()()}if(a&2){var c=R().$implicit,d=R();a=Yj(0);var e=R(3);c=d.get(c);E(4);K("issueId",a.issueId)("componentId",c?"":e.componentId)("compactMode",!0)("handleSave",!1)("showPickerOverlayAbove",!0)("displayValueOverride",c?e.MULTIPLE_COMPONENT_SELECTED_LABEL:"")}},S2a=function(a){if(a&1){var b=y();L(0,"div",19)(1,"div")(2,"b-post-comment",40,4);Q("commentSubmitted",function(){z(b);var d=R(5);return B(Q2a(d))});
M();L(4,"button",10);Q("click",function(){z(b);var d=T(7),e=R(5);return B(Q2a(e,d))});U(5,"Remove comment");M()();L(6,"button",10,5);Q("click",function(){z(b);var d=T(3);R(5).showCommentInput=!0;return B(d.commentBox==null?null:R2a(d.commentBox))});U(8,"Add comment");M()()}if(a&2){R(2);a=Yj(0);var c=R(3);E();rk("hidden",!c.showCommentInput);E();K("issueId",a.issueId)("showActionsAfterPreview",!1)("showCommentButton",!1);E(4);rk("hidden",c.showCommentInput)}},V2a=function(a){if(a&1){var b=y();L(0,
"triage-edit-user-buttons",43);W(1,"async");Q("addCurrentUser",function(){z(b);for(var c=R(4),d=R(2),e=d.activeSession.getUserEmail(),f=l(c),h=f.next();!h.done;h=f.next()){h=h.value;var k=h.collaborators;k.includes(e)||k.push(e);h.setCollaborators(k)}ir(d,c[0]);jr(d,c);return B()})("removeCurrentUser",function(){z(b);var c=R(4),d=R(2);return B(T2a(d,c))})("onAddUsers",function(c){z(b);for(var d=R(4),e=R(2),f=l(d),h=f.next();!h.done;h=f.next()){h=h.value;var k=oo([].concat(p(h.collaborators),p(c)));
h.setCollaborators(k)}ir(e,d[0]);jr(e,d);return B()})("onRemoveUsers",function(c){z(b);var d=R(4),e=R(2);return B(U2a(e,d,c))});M()}a&2&&(a=R(6),K("title","Collaborators")("subtitle",a.MULTIPLE_FIELD_VALUES_LABEL)("inputValidator",a.collaboratorUserPrincipalValidator)("isAllowedToEditCollection",X(1,4,a.hasAclToEdit$)))},W2a=function(a){if(a&1){var b=y();L(0,"b-multi-user-control",44);W(1,"async");Q("userInclusionToggle",function(){z(b);var d=R(4),e=R(2);return B(e.toggleCollaborators(d))})("valueChange",
function(d){z(b);var e=R(4),f=R(2);return B(f.setCollaborators(e,d))})("toggleAccessLimits",function(){z(b);R(3);var d=Yj(0),e=R(3);return B(e.toggleAccessLimits(d.issueId))});M()}if(a&2){R(3);a=Yj(0);var c=R(3);K("title","Collaborators")("values",a.collaborators)("users",a.collaboratorsUsers)("includeSelfActionDescription","Add me")("includeSelfActionLongDescription","Add yourself to collaborators")("overlayPosition",c.overlayPositionList)("removeSelfActionDescription","Remove me")("removeSelfActionLongDescription",
"Remove yourself from collaborators")("collectionHovercardDescription","Collaborators are people directly working on this issue.")("isCurrentUserInCollection",c.isCurrentUserCollaborator)("isAllowedToEditCollection",X(1,14,c.hasAclToEdit$))("iconName","groups_24px")("inputValidator",c.collaboratorUserPrincipalValidator)("checkAccessLimits",!0)}},X2a=function(a){a&1&&I(0,V2a,2,6,"triage-edit-user-buttons",41)(1,W2a,2,16,"b-multi-user-control",42);a&2&&(a=R().$implicit,a=R().get(a),J(a?0:1))},$2a=function(a){if(a&
1){var b=y();L(0,"triage-edit-user-buttons",47);W(1,"async");Q("addCurrentUser",function(){z(b);for(var c=R(4),d=R(2),e=d.activeSession.getUserEmail(),f=l(c),h=f.next();!h.done;h=f.next()){h=h.value;var k=h.cc;k.includes(e)||k.push(e);h.cc=k}kr(d,c[0]);jr(d,c);return B()})("removeCurrentUser",function(){z(b);var c=R(4),d=R(2);return B(Y2a(d,c))})("onAddUsers",function(c){z(b);for(var d=R(4),e=R(2),f=l(d),h=f.next();!h.done;h=f.next()){h=h.value;var k=oo([].concat(p(h.cc),p(c)));h.cc=k}kr(e,d[0]);
jr(e,d);return B()})("onRemoveUsers",function(c){z(b);var d=R(4),e=R(2);return B(Z2a(e,d,c))});M()}a&2&&(a=R(6),K("title","CC")("subtitle",a.MULTIPLE_FIELD_VALUES_LABEL)("isAllowedToEditCollection",X(1,3,a.hasAclToEdit$)))},b3a=function(a){if(a&1){var b=y();L(0,"b-multi-user-control",48);W(1,"async");Q("userInclusionToggle",function(){z(b);var d=R(4),e=R(2);return B(a3a(e,d))})("valueChange",function(d){z(b);var e=R(4),f=R(2);return B(f.setCcs(e,d))});M()}if(a&2){R(3);a=Yj(0);var c=R(3);K("title",
"CC")("values",a.cc)("users",a.ccUsers)("includeSelfActionDescription","CC me")("includeSelfActionLongDescription","Add yourself to CC")("overlayPosition",c.overlayPositionList)("removeSelfActionDescription","Un-CC me")("removeSelfActionLongDescription","Remove yourself from CC")("collectionHovercardDescription","CC are users who want to receive updates.")("isCurrentUserInCollection",c.isCurrentUserCcd)("isAllowedToEditCollection",X(1,12,c.hasAclToEdit$))("iconName","add_alert_24px")}},c3a=function(a){a&
1&&I(0,$2a,2,5,"triage-edit-user-buttons",45)(1,b3a,2,14,"b-multi-user-control",46);a&2&&(a=R().$implicit,a=R().get(a),J(a?0:1))},d3a=function(a,b){a&1&&N(0,"automatic-change-chip",20);a&2&&(R(2),a=Yj(0),K("issueId",a.issueId)("automaticChange",b))},f3a=function(a,b){a&1&&(L(0,"div",7),I(1,B2a,2,10,"b-edit-field",11)(2,C2a,3,11,"b-edit-field",12)(3,D2a,1,2,"triage-hotlists-editor",13)(4,E2a,1,4,"triage-custom-fields-editor",14)(5,J2a,7,9,"div",15)(6,K2a,3,9,"b-edit-field",16)(7,L2a,3,11,"b-edit-field",
17)(8,O2a,1,1)(9,P2a,5,6,"div",18)(10,S2a,9,7,"div",19)(11,X2a,2,1)(12,c3a,2,1),I(13,d3a,1,2,"automatic-change-chip",20),M());if(a&2){var c;a=b.$implicit;b=R(4);E();J(a===b.IssueFieldKey.SEVERITY?1:a===b.IssueFieldKey.PRIORITY?2:a===b.IssueFieldKey.HOTLISTS?3:a===b.IssueFieldKey.CUSTOM_FIELDS?4:a===b.IssueFieldKey.ASSIGNEE?5:a===b.IssueFieldKey.TYPE?6:a===b.IssueFieldKey.STATUS?7:a===b.IssueFieldKey.CODE_CHANGES?8:a===b.IssueFieldKey.COMPONENT?9:a===b.IssueFieldKey.COMMENT?10:a===b.IssueFieldKey.COLLABORATORS?
11:a===b.IssueFieldKey.CC_LIST?12:-1);E(12);J((c=e3a(b,a))?13:-1,c)}},g3a=function(a){if(a&1){var b=y();Wj(0);L(1,"div",6);Mj(2,f3a,14,2,"div",7,Lj);M();L(4,"div",8)(5,"button",9);W(6,"async");Q("click",function(){z(b);var d=R(),e=R(2);return B(e.save(d))});U(7);W(8,"async");M();L(9,"button",10);Q("click",function(){z(b);var d=R(3);return B(d.cancelAction.emit())});U(10,"Cancel");M()()}if(a&2){a=R();var c=R(2);Xj(a[0]);E(2);Nj(c.fields);E(3);K("disabled",X(6,3,c.isSaving$));E(2);tk(X(8,5,c.isSaving$)?
"Saving":"Save changes")}},h3a=function(a){a&1&&(I(0,g3a,11,7),W(1,"async"));if(a&2){var b;a=R(2);J((b=X(1,1,a.fieldMultipleValueMap$))?0:-1,b)}},i3a=function(a){a&1&&(I(0,h3a,2,3),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.editableIssues$))?0:-1,b)}},j3a=function(a){a&1&&Uj(0)},k3a=function(a){a&1&&G(0,j3a,1,0,"ng-container",11);a&2&&(R(),a=T(12),K("ngTemplateOutlet",a))},l3a=function(a){a&1&&Uj(0)},m3a=function(a){a&1&&G(0,l3a,1,0,"ng-container",11);a&2&&(R(),a=T(14),K("ngTemplateOutlet",a))},
n3a=function(a){a&1&&Uj(0)},o3a=function(a){a&1&&G(0,n3a,1,0,"ng-container",11);a&2&&(R(),a=T(16),K("ngTemplateOutlet",a))},p3a=function(a){a&1&&Uj(0)},q3a=function(a){a&1&&G(0,p3a,1,0,"ng-container",11);a&2&&(R(),a=T(32),K("ngTemplateOutlet",a))},r3a=function(a){a&1&&Uj(0)},s3a=function(a){a&1&&G(0,r3a,1,0,"ng-container",11);a&2&&(R(),a=T(20),K("ngTemplateOutlet",a))},t3a=function(a){a&1&&Uj(0)},u3a=function(a){a&1&&G(0,t3a,1,0,"ng-container",11);a&2&&(R(),a=T(22),K("ngTemplateOutlet",a))},v3a=function(a){a&
1&&Uj(0)},w3a=function(a){a&1&&G(0,v3a,1,0,"ng-container",11);a&2&&(R(),a=T(24),K("ngTemplateOutlet",a))},x3a=function(a){a&1&&Uj(0)},y3a=function(a){a&1&&G(0,x3a,1,0,"ng-container",11);a&2&&(R(),a=T(26),K("ngTemplateOutlet",a))},z3a=function(a){a&1&&Uj(0)},A3a=function(a){a&1&&G(0,z3a,1,0,"ng-container",11);a&2&&(R(),a=T(28),K("ngTemplateOutlet",a))},B3a=function(a){a&1&&Uj(0)},C3a=function(a){a&1&&G(0,B3a,1,0,"ng-container",11);a&2&&(R(),a=T(18),K("ngTemplateOutlet",a))},D3a=function(a){a&1&&Uj(0)},
E3a=function(a){a&1&&G(0,D3a,1,0,"ng-container",11);a&2&&(R(),a=T(30),K("ngTemplateOutlet",a))},F3a=function(a){if(a&1){var b=y();L(0,"div",12)(1,"div",13);U(2,"Move to Needs more info");M();L(3,"verify-fields",14);Q("cancelAction",function(){z(b);var c=R();return B(c.cancelAction.emit())})("completeAction",function(c){z(b);var d=R();return B(d.finalizeAction.emit(c))});M()()}a&2&&(a=R(),E(3),K("fields",a.NEEDS_MORE_INFO.fieldsToShow)("phase",a.TriagePhase.NEW)("subphase",a.TriageSubphase.NEEDS_INFO)("automaticChanges",
a.needsInfoAutomaticChanges)("expandCommentBox",!0)("showAssignToDefault",!1)("showAssignToSelf",!1))},G3a=function(a){if(a&1){var b=y();L(0,"div",12)(1,"div",13);U(2,"Move to Confirmed");M();L(3,"verify-fields",15);Q("cancelAction",function(){z(b);var c=R();return B(c.cancelAction.emit())})("completeAction",function(c){z(b);var d=R();return B(d.finalizeAction.emit(c))});M()()}a&2&&(a=R(),E(3),K("fields",a.CONFIRM_ACTION.fieldsToShow)("phase",a.TriagePhase.CONFIRMED))},H3a=function(a){if(a&1){var b=
y();L(0,"div",12)(1,"div",13);U(2,"Move to Pending owner");M();L(3,"verify-fields",15);Q("cancelAction",function(){z(b);var c=R();return B(c.cancelAction.emit())})("completeAction",function(c){z(b);var d=R();return B(d.finalizeAction.emit(c))});M()()}a&2&&(a=R(),E(3),K("fields",a.SET_PENDING_OWNER.fieldsToShow)("phase",a.TriagePhase.CONFIRMED))},I3a=function(a){if(a&1){var b=y();L(0,"div",12)(1,"div",13);U(2,"Route");M();L(3,"verify-fields",15);Q("cancelAction",function(){z(b);var c=R();return B(c.cancelAction.emit())})("completeAction",
function(c){z(b);var d=R();return B(d.finalizeAction.emit(c))});M()()}a&2&&(a=R(),E(3),K("fields",a.CHANGE_COMPONENT.fieldsToShow)("phase",a.TriagePhase.NEW))},J3a=function(a){if(a&1){var b=y();L(0,"div",12)(1,"div",13);U(2,"Move to In progress");M();L(3,"verify-fields",16);Q("cancelAction",function(){z(b);var c=R();return B(c.cancelAction.emit())})("completeAction",function(c){z(b);var d=R();return B(d.finalizeAction.emit(c))});M()()}a&2&&(a=R(),E(3),K("fields",a.SET_IN_PROGRESS.fieldsToShow)("phase",
a.TriagePhase.IN_PROGRESS)("showAssignToSelf",a.SET_IN_PROGRESS.showAssignToSelf))},K3a=function(a){if(a&1){var b=y();L(0,"div",12)(1,"div",13);U(2,"Move to Expected");M();L(3,"verify-fields",16);Q("cancelAction",function(){z(b);var c=R();return B(c.cancelAction.emit())})("completeAction",function(c){z(b);var d=R();return B(d.finalizeAction.emit(c))});M()()}a&2&&(a=R(),E(3),K("fields",a.SET_EXPECTED.fieldsToShow)("phase",a.TriagePhase.IN_PROGRESS)("showAssignToSelf",a.SET_EXPECTED.showAssignToSelf))},
L3a=function(a){if(a&1){var b=y();L(0,"div",12)(1,"div",13);U(2,"Move to Planned");M();L(3,"verify-fields",16);Q("cancelAction",function(){z(b);var c=R();return B(c.cancelAction.emit())})("completeAction",function(c){z(b);var d=R();return B(d.finalizeAction.emit(c))});M()()}a&2&&(a=R(),E(3),K("fields",a.SET_PLANNED.fieldsToShow)("phase",a.TriagePhase.IN_PROGRESS)("showAssignToSelf",a.SET_PLANNED.showAssignToSelf))},M3a=function(a){if(a&1){var b=y();L(0,"div",12)(1,"div",13);U(2,"Move to Committed");
M();L(3,"verify-fields",16);Q("cancelAction",function(){z(b);var c=R();return B(c.cancelAction.emit())})("completeAction",function(c){z(b);var d=R();return B(d.finalizeAction.emit(c))});M()()}a&2&&(a=R(),E(3),K("fields",a.SET_COMMITTED.fieldsToShow)("phase",a.TriagePhase.IN_PROGRESS)("showAssignToSelf",a.SET_COMMITTED.showAssignToSelf))},N3a=function(a){if(a&1){var b=y();L(0,"div",12)(1,"div",13);U(2,"Move to Fixed");M();L(3,"verify-fields",17);Q("cancelAction",function(){z(b);var c=R();return B(c.cancelAction.emit())})("completeAction",
function(c){z(b);var d=R();return B(d.finalizeAction.emit(c))});M()()}a&2&&(a=R(),E(3),K("fields",a.SET_FIXED.fieldsToShow)("phase",a.TriagePhase.FIXED)("automaticChanges",a.SET_FIXED.automaticChanges))},O3a=function(a){if(a&1){var b=y();L(0,"div",12)(1,"div",13);U(2,"Move to New");M();L(3,"verify-fields",17);Q("cancelAction",function(){z(b);var c=R();return B(c.cancelAction.emit())})("completeAction",function(c){z(b);var d=R();return B(d.finalizeAction.emit(c))});M()()}a&2&&(a=R(),E(3),K("fields",
a.SET_NEW.fieldsToShow)("phase",a.TriagePhase.NEW)("automaticChanges",a.SET_NEW.automaticChanges))},P3a=function(a){if(a&1){var b=y();L(0,"div",12)(1,"div",13);U(2,"Move to Won't fix");M();L(3,"verify-fields",18);Q("cancelAction",function(){z(b);var c=R();return B(c.cancelAction.emit())})("completeAction",function(c){z(b);var d=R();return B(d.finalizeAction.emit(c))});M()()}a&2&&(a=R(),E(3),K("fields",a.SET_WONT_FIX.fieldsToShow)("automaticChanges",a.SET_WONT_FIX.automaticChanges))},R3a=function(a){var b,
c,d,e;a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;(a=Ac(a,a[Ra]|0,lr,1,Kc))||(a=lr[Tba]||(lr[Tba]=Uba(lr)));return{output:(e=(b=ie(a,Q3a,1,Rd())[0])==null?void 0:(c=b.getContent())==null?void 0:(d=c.getPartsList()[0])==null?void 0:d.getText())!=null?e:""}},S3a=function(a,b){if(a&1){var c=y();L(0,"iframe",6);Q("load",function(){z(c);var d=R();return B(d.contentLoaded=!0)});M()}a&2&&(a=R(),rk("loading",!a.contentLoaded),K("src",b,joa))},T3a=function(a){a&1&&N(0,"mat-spinner",2)},V3a=
function(a){return U3a.some(function(b){return b.test(a)})},Z3a=function(a,b){var c;var d=(c=a.formContent)==null?void 0:c.locale;c=d==null?void 0:d.split("-")[0];d=d&&W3a.includes(d)?d:c&&W3a.includes(c)?c:void 0;d=(d!=null?d:"en").replaceAll("-","_").toLowerCase();var e;a=((e=a.initializationData)==null?0:e.useNightlyRelease)?"nightly":"live";var f;return(b==null?0:(f=b.getEnableAlohaBinarySplit)==null?0:f.call(b))?sd(X3a,a):sd(Y3a,a,d)},b4a=function(a,b,c,d){if($3a&&a4a===b)return $3a;a4a=b;var e=
Z3a(a,d);return $3a=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var k=mr(document,"SCRIPT");kd(k,e);k.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h(Error("ne"))};k.onerror=function(){h(Error("oe`"+e.toString()))};c.body.appendChild(k)})},e4a=function(a,b,c,d){if(c4a&&d4a===b)return c4a;d4a=b;var e=Z3a(a,d);return c4a=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var k=mr(document,
"SCRIPT");kd(k,e);k.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h(Error("ne"))};k.onerror=function(){h(Error("oe`"+e.toString()))};c.body.appendChild(k)})},f4a=function(a,b,c,d,e){e=e===void 0?!0:e;var f,h,k,q,u;return v(function(A){switch(A.nextAddress){case 1:return f=Date.now(),w(A,b4a(a,c,d,b),2);case 2:h=A.yieldResult;if(!(e||((q=a.initializationData)==null?0:q.useNightlyRelease)||((u=a.initializationData)==null?0:u.isLocalServer))){k=h.initializeFeedbackClient(a,f,
b);A.jumpTo(3);break}return w(A,h.initializeFeedbackClientAsync(a,f,b),4);case 4:k=A.yieldResult;case 3:return k.initiateAloha(),A.return(k)}})},g4a=function(a,b,c,d){var e,f,h;return v(function(k){if(k.nextAddress==1)return e=Date.now(),w(k,e4a(a,c,d.document,b),2);if(k.nextAddress!=3)return f=k.yieldResult,w(k,f.initializeFeedbackClientAsync(a,e,b,d),3);h=k.yieldResult;h.initiateAloha();return k.return(h)})},h4a=function(a,b,c){var d=!0;d=d===void 0?!0:d;var e,f,h,k,q,u,A,D;return v(function(H){e=
c||da;if((f=b)==null?0:(k=(h=f).getEnableAlohaBinarySplit)==null?0:k.call(h)){q=e;if(q.isFormOpened)throw new nr;q.isFormOpened=!0;a.callbacks=a.callbacks||{};u=a.callbacks.onClose||function(){};a.callbacks.onClose=function(O){q.isFormOpened=!1;u(O)};try{return H.return(g4a(a,b,q,e))}catch(O){throw q.isFormOpened=!1,O;}}else{A=e;if(A.isFormOpened)throw new nr;A.isFormOpened=!0;a.callbacks=a.callbacks||{};D=a.callbacks.onClose||function(){};a.callbacks.onClose=function(O){A.isFormOpened=!1;D(O)};try{return H.return(f4a(a,
b,A,e.document,d))}catch(O){throw A.isFormOpened=!1,O;}}ji(H)})},m4a=function(a,b){return v(function(c){return c.return(new Promise(function(d,e){Number.isInteger(Number(a))&&Number(a)>0?(e=i4a(b!=null?b:"")+"/aloha_form_properties?productId="+a,j4a(e,function(f){f=f.target;var h=null;try{h=Oda(k4a,JSON.stringify(f.getResponseJson(")]}'\n")))}catch(k){f=new k4a,h=l4a(),h=Dl(h,13,!1),h=Dl(h,14,!0),h=Dl(h,15,!0),h=Dl(h,20,!1),h=t(f,or,1,h)}d(h)},"GET","",{},2E3,!0)):e(Error("pe`"+a))}))})},i4a=function(a){return V3a(a)?
a:"https://www.google.com/tools/feedback"},n4a=function(a){return a.toLocaleString("en-US",{timeZone:"America/Los_Angeles"})+" (US Pacific time)"},o4a=function(a){a&1&&(L(0,"button",6,1),N(2,"mat-icon",7),M());if(a&2){a=R();var b=T(2);sk(a.buttonSize);K("matTooltip",a.buttonLabel)("matMenuTriggerFor",b);Hj("aria-label",a.buttonLabel);E(2);K("svgIcon",a.buttonIcon)}},p4a=function(a){a&1&&(L(0,"div",5),U(1),M());a&2&&(a=R(),E(),tk(a.header))},q4a=function(a){a&1&&N(0,"mat-icon",7);a&2&&(a=R(2).$implicit,
K("svgIcon",a.icon))},r4a=function(a){a&1&&(L(0,"span",9),U(1),M());a&2&&(a=R(2).$implicit,E(),tk(a.hintText))},s4a=function(a){a&1&&N(0,"mat-icon",7);a&2&&(a=R(2).$implicit,K("svgIcon",a.icon))},t4a=function(a){a&1&&(L(0,"span",9),U(1),M());a&2&&(a=R(2).$implicit,E(),tk(a.hintText))},u4a=function(a){if(a&1){var b=y();L(0,"button",12);Q("click",function(d){z(b);var e=R().$implicit,f=R(3);return B(f.onAction(d,e))})("mouseup",function(d){z(b);var e=R().$implicit,f=R(3);return B(f.onAction(d,e))});
I(1,s4a,1,1,"mat-icon",7);U(2);I(3,t4a,2,1,"span",9);M()}if(a&2){a=R().$implicit;var c=R(2).$implicit;sk(c.className);K("disabled",a.disabled);Hj("title",a.title);E();J(a.icon?1:-1);E();V(" ",a.label," ");E();J(a.hintText?3:-1)}},v4a=function(a){if(a&1){var b=y();L(0,"button",13);Q("click",function(d){z(b);var e=R().$implicit,f=R(3);return B(f.onAction(d,e))})("mouseup",function(d){z(b);var e=R().$implicit,f=R(3);return B(f.onAction(d,e))});L(1,"span",14);N(2,"mat-icon",15);M();U(3);M()}if(a&2){a=
R().$implicit;var c=R(2).$implicit;sk(c.className);rk("b-menu-item-checked",a.selected);K("disabled",a.disabled);Hj("title",a.title);E(3);V(" ",a.label," ")}},w4a=function(a,b){a&1&&(I(0,u4a,4,7,"button",10),I(1,v4a,4,7,"button",11));a&2&&(a=b.$implicit,J(a.type==="action"?0:-1),E(),J(a.type==="select"?1:-1))},x4a=function(a){a&1&&(L(0,"button",8),I(1,q4a,1,1,"mat-icon",7),U(2),I(3,r4a,2,1,"span",9),M(),L(4,"mat-menu",null,2),Mj(6,w4a,2,2,null,null,Kj),M());if(a&2){a=T(5);var b=R().$implicit;K("matMenuTriggerFor",
a);E();J(b.icon?1:-1);E();V(" ",b.label," ");E();J(b.hintText?3:-1);E(3);Nj(b.items)}},y4a=function(a){a&1&&N(0,"mat-icon",7);a&2&&(a=R(3).$implicit,K("svgIcon",a.icon))},z4a=function(a){a&1&&(L(0,"span",9),U(1),M());a&2&&(a=R(3).$implicit,E(),tk(a.hintText))},A4a=function(a){if(a&1){var b=y();L(0,"button",12);Q("click",function(c){z(b);var d=R(2).$implicit,e=R();return B(e.onAction(c,d))})("mouseup",function(c){z(b);var d=R(2).$implicit,e=R();return B(e.onAction(c,d))});I(1,y4a,1,1,"mat-icon",7);
U(2);I(3,z4a,2,1,"span",9);M()}a&2&&(a=R(2).$implicit,sk(a.className),K("disabled",a.disabled),Hj("title",a.title),E(),J(a.icon?1:-1),E(),V(" ",a.label," "),E(),J(a.hintText?3:-1))},B4a=function(a){if(a&1){var b=y();L(0,"button",13);Q("click",function(c){z(b);var d=R(2).$implicit,e=R();return B(e.onAction(c,d))})("mouseup",function(c){z(b);var d=R(2).$implicit,e=R();return B(e.onAction(c,d))});L(1,"span",14);N(2,"mat-icon",15);M();U(3);M()}a&2&&(a=R(2).$implicit,sk(a.className),rk("b-menu-item-checked",
a.selected),K("disabled",a.disabled),Hj("title",a.title)("aria-label",a.label+" results per page"),E(3),V(" ",a.label," "))},C4a=function(a){a&1&&(I(0,A4a,4,7,"button",10),I(1,B4a,4,8,"button",11));a&2&&(a=R().$implicit,J(a.type==="action"?0:-1),E(),J(a.type==="select"?1:-1))},D4a=function(a,b){a&1&&(I(0,x4a,8,4),I(1,C4a,2,2));a&2&&(a=b.$implicit,J(a.type==="submenu"?0:-1),E(),J(a.type!=="submenu"?1:-1))},E4a=function(a){var b=a.userIsExternal;a=a.issueIsExternal;return b&&a},F4a=function(a){a=a.bugId+
"-comment"+a.comment;var b,c,d=(b=window)==null?void 0:(c=b.location)==null?void 0:c.href;b=d?encodeURIComponent(d):"";return"http://reportcontent.google.com/troubleshooter?product=issue_tracker&content_id="+a+"&url="+b},G4a=function(a,b){a&1&&(L(0,"div",17)(1,"h4",34),U(2,"Summary"),M(),L(3,"p",35),U(4),M()());a&2&&(E(4),tk(b))},H4a=function(a){if(a&1){var b=y();L(0,"th",36)(1,"mat-checkbox",37);W(2,"async");W(3,"async");Q("change",function(c){z(b);var d=R();return B(d.toggleAll(c))});M()()}a&2&&
(a=R(),E(),K("checked",X(2,2,a.areAllChecked$))("indeterminate",!X(3,4,a.areAllChecked$)&&a.checkedIssueIds.size>0))},I4a=function(a,b){if(a&1){var c=y();L(0,"td",38)(1,"mat-checkbox",39);W(2,"async");Q("change",function(d){var e=z(c).$implicit,f=R(),h;((h=d==null?void 0:d.checked)!=null?h:!f.checkedIssueIds.has(e.id))?f.checkedIssueIds.add(e.id):f.checkedIssueIds.delete(e.id);return B()});M()()}a&2&&(a=b.$implicit,b=R(),E(),K("checked",X(2,1,Tq(b.checkedIssueIds,a.id))))},J4a=function(a){a&1&&(L(0,
"th",36),U(1," Title "),M())},K4a=function(a,b){a&1&&(L(0,"td",38),N(1,"b-issue-title-cell",40),W(2,"async"),M());a&2&&(a=b.$implicit,E(),K("issue",X(2,2,a.issue$))("enableHovercard",!0))},L4a=function(a){a&1&&(L(0,"th",36),U(1," Phase "),M())},M4a=function(a){a&1&&(L(0,"span",41),U(1),M());if(a&2){a=R();R(2);E();var b;b=((b=a.snapshot[0])==null?void 0:b.status)==="DUPLICATE"?"Duplicate":(b=Fp(a))?pr.get(b):"";tk(b)}},N4a=function(a){a&1&&I(0,M4a,2,1,"span",41);a&2&&(R(2),J(0))},O4a=function(a,b){a&
1&&(L(0,"td",38),I(1,N4a,1,1),W(2,"async"),M());if(a&2){var c;a=b.$implicit;E();J((c=X(2,1,a.issue$))?1:-1,c)}},P4a=function(a){a&1&&(L(0,"th",42),U(1," Modified "),M())},Q4a=function(a){a&1&&N(0,"b-formatted-date-time",44);if(a&2){a=R();var b;K("timestamp",((b=a.aggregatedData==null?null:a.aggregatedData.modifiedTimeMicros)!=null?b:0)/1E3)("mode","relativepasttiny")("paddingLeftPx",4)}},R4a=function(a){a&1&&I(0,Q4a,1,3,"b-formatted-date-time",44);a&2&&(R(2),J(0))},S4a=function(a,b){a&1&&(L(0,"td",
43),I(1,R4a,1,1),W(2,"async"),M());if(a&2){var c;a=b.$implicit;E();J((c=X(2,1,a.issue$))?1:-1,c)}},T4a=function(a){a&1&&N(0,"th",36)},U4a=function(a,b){if(a&1){var c=y();L(0,"td",38)(1,"b-actions-menu",45);Q("click",function(d){z(c);return B(d.stopPropagation())});M()()}a&2&&(a=b.$implicit,b=R(),E(),K("menuItems",b.getMenuItems(a)))},V4a=function(a){a&1&&N(0,"tr",46)},W4a=function(a,b){a&1&&(N(0,"tr",47),W(1,"async"));a&2&&(a=b.$implicit,b=R(),rk("closed",b.isClosed(X(1,2,a.issue$))))},X4a=function(a,
b){a&1&&(L(0,"a",32),U(1," View as search results "),M());a&2&&K("routerLink",b.path)("queryParams",b.params)},Y4a=function(a){if(a&1){var b=y();L(0,"secondary-footer",49);Q("cancelAction",function(){z(b);var c=R(2);return B(c.cancelAction())})("finalizeAction",function(c){z(b);var d=R(2);return B(d.finalizeSecondaryAction(c))});M()}a&2&&(a=R(2),K("selectedTriageAction",a.selectedTriageAction))},Z4a=function(a){if(a&1){var b=y();L(0,"triage-action-selector",50);Q("onSelect",function(d){z(b);var e=
R(2);return B(e.openSecondaryActionFooter(d.key))});M();L(1,"button",51);W(2,"async");W(3,"async");Q("click",function(){z(b);var d=R(2);return B(d.openDupeDialog())});Wj(4);W(5,"async");U(6);M()}if(a&2){a=R();var c=R();K("phase",a);E();K("disabled",!X(2,3,c.hasAclToEdit$)||!X(3,5,c.checkedIssueIds.size$));a=X(5,7,c.checkedIssueIds.size$)||0;E(5);V(" Mark ",a===1?"1 issue":a>1?a+" issues":""," as duplicate ")}},$4a=function(a){a&1&&I(0,Y4a,1,1,"secondary-footer",48)(1,Z4a,7,9);a&2&&(a=R(),J(a.displaySecondaryFooter?
0:1))},a5a=function(a){a&1&&(L(0,"div",5),N(1,"b-spinner"),M())},b5a=function(a){a&1&&N(0,"code",16);a&2&&(a=R(2).$implicit,K("innerHtml",a.formattingModeDiff,Mi))},c5a=function(a){a&1&&(L(0,"code",17),U(1),M());a&2&&(a=R(2).$implicit,E(),V(" ",a.formattingMode," "))},d5a=function(a){a&1&&(L(0,"p",15),U(1," Formatting: "),I(2,b5a,1,1,"code",16)(3,c5a,2,1,"code",17),M());a&2&&(a=R(3),E(2),J(a.diffView?2:3))},e5a=function(a){if(a&1){var b=y();L(0,"div")(1,"span",18)(2,"b-person-hovercard",19);W(3,"omitObfuscatedEmail");
U(4);W(5,"appendDomain");M()();L(6,"a",20);Q("click",function(c){z(b);var d=R().$implicit,e=R(2);d=d.version;c.stopPropagation();c=Jq(e.issueId)+("#comment"+e.commentNumber+"version"+d);e.location.replaceState(c);return B()});U(7);M()()}a&2&&(a=R().$implicit,R(2),E(2),K("email",X(3,7,Jd(a.lastEditorUser))),E(2),V(" <",X(5,9,Jd(a.lastEditorUser)),"> "),E(2),Hj("aria-label",zk("Comment version ",a.version)),K("id",zk("bv2-edit-issue-comment-",a.version)),E(),V(" #",a.version))},f5a=function(a){a&1&&
(L(0,"div",21),U(1),M());a&2&&(a=R(2).$implicit,E(),tk(a.preview))},g5a=function(a){a&1&&(L(0,"div",22),U(1,"Comment deleted."),M())},h5a=function(a){a&1&&(L(0,"div",23),U(1,"Comment history restricted."),M())},i5a=function(a){a&1&&(I(0,f5a,2,1,"div",21),I(1,g5a,2,0,"div",22),I(2,h5a,2,0,"div",23));a&2&&(a=R().$implicit,J(a.restricted||a.deleted?-1:0),E(),J(!a.restricted&&a.deleted?1:-1),E(),J(a.restricted?2:-1))},j5a=function(a){a&1&&(L(0,"div",24),U(1,"Comment deleted."),M())},k5a=function(a){a&
1&&(N(0,"div",26),W(1,"async"));if(a&2){a=R(2).$implicit;var b=R(2);rk("codefont",X(1,3,b.codefont.codefont$));K("innerHtml",a.unlinkifiedComment,Mi)}},l5a=function(a){a&1&&(N(0,"div",26),W(1,"async"));if(a&2){a=R(2).$implicit;var b=R(2);rk("codefont",X(1,3,b.codefont.codefont$));K("innerHtml",a.diff,Mi)}},m5a=function(a){a&1&&(L(0,"div",23),U(1," This comment is not available due to present or past restrictions on the comment. "),M())},n5a=function(a){a&1&&(I(0,j5a,2,0,"div",24),I(1,k5a,2,5,"div",
25),I(2,l5a,2,5,"div",25),I(3,m5a,2,0,"div",23));if(a&2){a=R().$implicit;var b=R(2);J(!a.restricted&&a.deleted?0:-1);E();J(b.diffView||a.restricted||a.deleted?-1:1);E();J(!b.diffView||a.restricted||a.deleted?-1:2);E();J(a.restricted?3:-1)}},o5a=function(a,b){if(a&1){var c=y();L(0,"li",9)(1,"div",10);N(2,"b-user-image",11);M();L(3,"div",12);Q("click",function(){var d=z(c).$implicit;return B(d.open=!d.open)});N(4,"b-user-display",13)(5,"b-formatted-date-time",14);I(6,d5a,4,1,"p",15);I(7,e5a,8,11,"div")(8,
i5a,3,3);M();I(9,n5a,4,4);M()}a&2&&(a=b.$implicit,R(2),rk("comment-version-open",a.open),E(2),K("email",Jd(a.lastEditorUser)),E(2),K("model",a.lastEditorUser),E(),K("timestamp",a.lastModified),E(),J(a.deleted?-1:6),E(),J(a.open?7:8),E(2),J(a.open?9:-1))},p5a=function(a){a&1&&(L(0,"ul",6),Mj(1,o5a,10,8,"li",8,Kj),M());a&2&&(a=R(),E(),Nj(a.history))},s5a=function(a,b){var c=new q5a;a=qr(c,a,b);r5a(c,a);c=a.map(function(d){var e=d[0];d=d[1];switch(e){case -1:return qd("span",{"class":"diff-removed"},
d);case 1:return qd("span",{"class":"diff-added"},d);case 0:return qd("span",{"class":void 0},d);default:throw Error("re`"+e);}});return od(c)},t5a=function(a){var b;return((b=a.entityStatus)==null?void 0:b.status)==="DELETED"},u5a=function(a){a&1&&(L(0,"div",2),U(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. "),L(2,"a",12),U(3," Learn more "),M()());a&2&&(a=R(2),E(2),K("href",a.getRestrictedAccessHelpLink(),
Ni))},w5a=function(a){a&1&&(Sj(0),I(1,u5a,4,1,"div",2),Tj());a&2&&(a=R(),E(),J(v5a(a)?1:-1))},x5a=function(a){a&1&&(L(0,"div",2)(1,"span",13),U(2," You do not have access to view this attachment. "),M()())},y5a=function(a){a&1&&N(0,"mat-spinner",8)},z5a=function(){this.blockSize=-1},rr=function(a,b){this.blockSize=-1;this.blockSize=64;this.chunk_=da.Uint8Array?new Uint8Array(this.blockSize):Array(this.blockSize);this.total_=this.inChunk_=0;this.hash_=[];this.numHashBlocks_=a;this.initHashBlocks_=
b;this.w_=da.Int32Array?new Int32Array(64):Array(64);A5a===void 0&&(da.Int32Array?A5a=new Int32Array(B5a):A5a=B5a);this.reset()},D5a=function(){rr.call(this,8,C5a)},E5a=function(a,b){b=b===void 0?!0:b;var c;return v(function(d){if(d.nextAddress==1)if(b&&((c=window.crypto)==null?0:c.subtle))d=w(d,crypto.subtle.digest("SHA-256",a),3);else{var e=d.return;var f=new D5a;f.update(new Uint8Array(a));f=(new Uint8Array(f.digest())).buffer;d=e.call(d,f)}else d=d.return(d.yieldResult);return d})},I5a=function(a){var b=
a.useSubtleCrypto===void 0?!0:a.useSubtleCrypto;var c=a.parts;var d,e,f,h;return v(function(k){if(k.nextAddress==1){if(c.length===0)throw Error("xe");d=[];for(e=0;e<c.length;e++)f=c[e],typeof f==="string"?d.push(F5a.encode(f).buffer):d.push(f),e<c.length-1&&d.push(G5a);h=H5a.apply(null,p(d));return w(k,E5a(h,b),2)}return k.return(k.yieldResult)})},J5a=function(){var a=new Uint8Array(10);crypto.getRandomValues(a);return a},K5a=function(a){return a.reduce(function(b,c){return BigInt(256)*b+BigInt(c)},
BigInt(0)).toString(36)},H5a=function(){for(var a=rd.apply(0,arguments),b=0,c=l(a),d=c.next();!d.done;d=c.next())b+=d.value.byteLength;b=new Uint8Array(b);c=0;a=l(a);for(d=a.next();!d.done;d=a.next())d=d.value,b.set(new Uint8Array(d),c),c+=d.byteLength;return b.buffer},L5a=function(a){var b=a.product;var c=a.trustedOrigin;var d=a.salt;var e=a.useSubtleCrypto===void 0?!0:a.useSubtleCrypto;var f,h,k;return v(function(q){if(q.nextAddress==1)return f=d?d:new ArrayBuffer(0),w(q,I5a({useSubtleCrypto:e,
parts:[b,f,c]}),2);h=q.yieldResult;k=new Uint8Array(h);return q.return(K5a(k).padStart(50,"0").slice(0,50))})},M5a=function(a){for(var b=a.trustedOrigin,c=a.product,d=a.fileHash+"-h"+a.version+".scf.usercontent.goog",e=l(d.split(".")),f=e.next();!f.done;f=e.next());a=a.cache?"&cache=1":"";return"https://"+d+"/"+c+"/shim.html?origin="+encodeURIComponent(b)+a},N5a=function(){var a=window.origin;return typeof a==="string"&&(a.startsWith("https://")||a.startsWith("http://")||a.startsWith("chrome-extension://"))},
O5a=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(),rk("muted",a.isGreyedOut),E(),V(" ",a.displayName))},P5a=function(a){if(a&1){var b=y();L(0,"a",2);Q("click",function(c){z(b);var d=R();return B(d.handleClick(c))});U(1);M()}a&2&&(a=R(),K("href",a.linkUrl,Ni)("rel",a.EXTERNAL_LINK_REL),E(),V(" ",a.displayName))},Q5a=function(a){a&1&&(L(0,"span",3),U(1),M());a&2&&(a=R(),Hj("aria-label",a.expandableTabsTitle),E(),tk(a.expandableTabsTitle))},R5a=function(a){a&1&&N(0,"mat-icon",9)},T5a=function(a){a&
1&&Uj(0,10);if(a&2){a=R().$implicit;R();var b=T(14);K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,S5a,a))}},U5a=function(){},V5a=function(a){a&1&&G(0,U5a,0,0,"ng-template")},W5a=function(a){a&1&&G(0,V5a,1,0,null,11);a&2&&(a=R(2).$implicit,K("ngTemplateOutlet",a.tabIconTemplate))},X5a=function(a){a&1&&(I(0,W5a,1,1),Uj(1,10));if(a&2){a=R().$implicit;var b=R(),c=T(14);J(b.showIcons&&a.tabIconTemplate?0:-1);E();K("ngTemplateOutlet",c)("ngTemplateOutletContext",Dk(3,S5a,a))}},Z5a=function(a,b){if(a&
1){var c=y();L(0,"button",8);W(1,"async");W(2,"async");W(3,"async");Q("click",function(){var d=z(c).$implicit,e=R();return B(Y5a(e,d.key))});I(4,R5a,1,0,"mat-icon",9);W(5,"async");I(6,T5a,1,4,"ng-container",10);W(7,"async");Jj(8,X5a,2,5);M()}a&2&&(a=b.$implicit,b=R(),rk("has-icon",!(!b.showIcons||!a.tabIconTemplate))("expanded",!!X(1,11,Tq(b.internalExpandedTabs,a.key))),Hj("aria-controls",zk("expandable-tabs-",a.key,"-content"))("aria-label",a.ariaLabel)("aria-expanded",!!X(2,13,Tq(b.internalExpandedTabs,
a.key)))("aria-selected",!!X(3,15,Tq(b.internalExpandedTabs,a.key))),E(4),J(b.showIcons&&X(5,17,Tq(b.internalExpandedTabs,a.key))?4:-1),E(2),J(X(7,19,Tq(b.internalExpandedTabs,a.key))?6:8))},$5a=function(a,b){if(a&1){var c=y();L(0,"button",13);Q("click",function(){z(c);var d=R(2);return B(d.toggleAll())});U(1);M()}a&2&&(a=R(2),rk("expandable-tabs-hide-all",b.allTabsExpanded)("expandable-tabs-show-all",!b.allTabsExpanded),Hj("aria-label",(b.allTabsExpanded?"Hide all":"Show all")+" "+a.ariaLabel),E(),
V(" ",b.allTabsExpanded?"Hide all":"Show all"," "))},b6a=function(a){a&1&&(I(0,$5a,2,6,"button",12),W(1,"async"));if(a&2){var b;a=R();J((b=Dk(3,a6a,X(1,1,a.allTabsExpanded$)))?0:-1,b)}},c6a=function(a){if(a&1){var b=y();L(0,"button",17);Q("click",function(){z(b);var c=R(2);return B(c.hideAll())});U(1," Hide ");M()}a&2&&(a=R(2),Hj("aria-label","Hide "+a.ariaLabel))},d6a=function(a){if(a&1){var b=y();I(0,c6a,2,1,"button",14);W(1,"async");L(2,"button",15);Q("click",function(){z(b);R().showAllClicked.emit(void 0);
return B()});U(3," Show all ");N(4,"mat-icon",16);M()}if(a&2){a=R();var c;J(((c=X(1,2,a.internalExpandedTabs.size$))!=null?c:0)>0?0:-1);E(2);Hj("aria-label","Show all "+a.ariaLabel)}},e6a=function(){},f6a=function(a){a&1&&G(0,e6a,0,0,"ng-template")},g6a=function(a){a&1&&G(0,f6a,1,0,null,11);a&2&&(a=R(3).$implicit,K("ngTemplateOutlet",a.tabIconTemplate))},h6a=function(a){a&1&&(L(0,"h4"),I(1,g6a,1,1),Uj(2,10),M());if(a&2){a=R(2).$implicit;var b=R(),c=T(14);E();J(b.showIcons&&a.tabIconTemplate?1:-1);
E();K("ngTemplateOutlet",c)("ngTemplateOutletContext",Dk(3,S5a,a))}},i6a=function(a){a&1&&N(0,"span",20)},j6a=function(a){a&1&&N(0,"span",20)},k6a=function(){},l6a=function(a){a&1&&G(0,k6a,0,0,"ng-template")},m6a=function(a){a&1&&G(0,l6a,1,0,null,11);a&2&&(a=R(2).$implicit,K("ngTemplateOutlet",a.tabContentTemplate))},o6a=function(a){a&1&&(L(0,"div",19),I(1,h6a,3,5,"h4"),W(2,"async"),Jj(3,i6a,1,0,"span",20),G(4,j6a,1,0,"ng-template",null,1,Gk),I(6,m6a,1,1),M());if(a&2){a=R().$implicit;var b=R();sk(zk("expandable-tab-content ",
a.key));K("id",zk("expandable-tabs-",a.key,"-content"));E();var c;J(((c=X(2,7,b.visibleExpandedTabs$))!=null?c:Ck(9,n6a)).length>1?1:3);E(5);J(a.tabContentTemplate?6:-1)}},p6a=function(a,b){a&1&&(I(0,o6a,7,10,"div",18),W(1,"async"));a&2&&(a=b.$implicit,b=R(),J(X(1,1,Tq(b.internalExpandedTabs,a.key))?0:-1))},q6a=function(){},r6a=function(a){a&1&&G(0,q6a,0,0,"ng-template")},s6a=function(a){a&1&&G(0,r6a,1,0,null,11);a&2&&(a=R().tab,K("ngTemplateOutlet",a.tabHeaderTemplate))},t6a=function(a){a&1&&U(0);
a&2&&(a=R().tab,V(" ",a.key," "))},u6a=function(a,b){a&1&&I(0,s6a,1,1)(1,t6a,1,1);a&2&&J(b.tab.tabHeaderTemplate?0:1)},v6a=function(a){a&1&&(L(0,"mat-icon",9),U(1),M());a&2&&(a=R(2),E(),tk(a.actionBtnIcon))},w6a=function(a){if(a&1){var b=y();L(0,"button",6);Q("click",function(){z(b);var c=R();return B(c.action.emit())});L(1,"span",7);U(2);G(3,v6a,2,1,"mat-icon",8);M()()}a&2&&(a=R(),E(2),V(" ",a.actionBtnText," "),E(),K("ngIf",a.actionBtnIcon))},x6a=function(a){if(a&1){var b=y();L(0,"onedev-feature-tooltip-body",
1);Q("action",function(){z(b);var c=R();return B(c.action.emit())})("dismiss",function(){z(b);var c=R();c.hideFeatureTooltip();c.dismiss.emit();return B()});ak(1);M()}a&2&&(a=R(),K("actionBtnText",a.actionBtnText)("actionBtnIcon",a.actionBtnIcon)("color",a.color)("pointerPosition",a.pointerPosition)("widthOffset",a.widthOffset))},z6a=function(a){a&1&&(L(0,"onedev-feature-tooltip-controller")(1,"onedev-feature-tooltip",4)(2,"p",5),U(3,"Attachment analysis"),M(),U(4," See agent-generated attachment analysis alongside your files. "),
M()());a&2&&(a=R(),E(),K("customPositions",Ek(2,y6a,a.TOOLTIP_POSITIONS.BOTTOM_LEFT,a.TOOLTIP_POSITIONS.TOP_LEFT))("tooltipId",a.ATTACHMENT_ENRICHMENTS_FEATURE_TOOLTIP_ID))},B6a=function(a){a&1&&(U(0),W(1,"async"));if(a&2){a=R().$implicit;var b=R(),c;V(" ",(c=a.customDisplayName)!=null?c:X(1,1,A6a(b,a.category))," ")}},C6a=function(a){a&1&&(L(0,"span",25),N(1,"b-actions-menu",28),M());a&2&&(R(),a=Yj(25),E(),K("menuItems",a)("buttonLabel","Enrichment actions")("matTooltip","Enrichment actions"))},
D6a=function(a){a&1&&N(0,"b-spinner")},E6a=function(a){a&1&&N(0,"b-markdown-format-presenter",29);a&2&&(R(2),a=Yj(30),K("content",a.formattedContent.markdownFormat))},F6a=function(a){a&1&&N(0,"b-literal-format-presenter",29);a&2&&(R(2),a=Yj(30),K("content",a.formattedContent.literalFormat))},G6a=function(a){a&1&&N(0,"b-plain-format-presenter",29);a&2&&(R(2),a=Yj(30),K("content",a.formattedContent.plainFormat))},H6a=function(a){a&1&&(I(0,E6a,1,1,"b-markdown-format-presenter",29),I(1,F6a,1,1,"b-literal-format-presenter",
29),I(2,G6a,1,1,"b-plain-format-presenter",29));a&2&&(R(),a=Yj(30),J(a.formattedContent.markdownFormat?0:-1),E(),J(a.formattedContent.literalFormat?1:-1),E(),J(a.formattedContent.plainFormat?2:-1))},J6a=function(a){if(a&1){var b=y();L(0,"table",8)(1,"tr",9)(2,"td",10);N(3,"b-user-display",11)(4,"mat-icon",12);L(5,"onedev-hovercard",null,0)(7,"div",13)(8,"div",14)(9,"span",15);U(10);W(11,"async");N(12,"br")(13,"br");U(14);W(15,"async");M()()()()();L(16,"td",16)(17,"span",17);N(18,"b-formatted-date-time",
18);M();L(19,"button",19);Q("click",function(){z(b);var e=R().$implicit,f=R();return B(f.copyContent(e))});N(20,"mat-icon",20);M();L(21,"button",21);Q("click",function(){z(b);var e=R().$implicit,f=R();return B(f.trackThumbsUp(e))});N(22,"mat-icon",22);M();L(23,"button",23);Q("click",function(){z(b);var e=R().$implicit,f=R();return B(f.trackThumbsDown(e))});N(24,"mat-icon",24);M();Wj(25);I(26,C6a,2,3,"span",25);M()();L(27,"tr",26)(28,"td",27);I(29,D6a,1,0,"b-spinner");Wj(30);I(31,H6a,3,3);M()()()}if(a&
2){var c=T(6);a=R().$implicit;var d=R();E(3);K("model",a.author);E();K("onedevHovercardTrigger",c)("onedevHovercardActive",!0)("onedevHovercardConfig",d.CATEGORY_INFO_HOVERCARD_CONFIG);E(6);V(" ",X(11,16,A6a(d,a.category))," ");E(4);V(" ",X(15,18,I6a(d,a.category))," ");E(4);K("timestamp",a.timestamp);E(3);K("disabled",d.hasReacted(a));E();rk("has-reacted-icon",d.thumbsUpClicked(a));E();K("disabled",d.hasReacted(a));E();rk("has-reacted-icon",d.thumbsDownClicked(a));E();c=Xj(d.categoryToActionMenuItems.get(a.category));
E();J(c&&c.length>0?26:-1);E(3);J(d.isLoading(a.category)?29:-1);E();c=Xj(d.enrichmentCategoryToContent.get(a.category));E();J(c&&!d.isLoading(a.category)?31:-1)}},K6a=function(a,b){a&1&&(L(0,"expandable-tab",3),G(1,B6a,2,3,"ng-template",6)(2,J6a,32,22,"ng-template",7),M());a&2&&(a=b.$implicit,b=R(),K("key",a.category)("ariaLabel","Toggle "+a.category+" attachment enrichment category for attachment id "+b.attachmentId))},L6a=function(a){return a.issueId+"_"+a.attachmentId+"_"+a.category},O6a=function(a){a&
1&&(L(0,"span"),U(1),L(2,"b"),U(3),M(),U(4," on "),L(5,"b"),U(6),W(7,"date"),M(),U(8,". "),M());a&2&&(a=R(4),E(),V(" Currently, the ",a.contentType," is scheduled for deletion in "),E(2),tk(M6a(N6a(a).getTime(),!0)),E(3),tk(Fk(7,3,N6a(a),"longDate")))},P6a=function(a){a&1&&(U(0," The retention has "),L(1,"b"),U(2,"expired"),M(),U(3),L(4,"b"),U(5),W(6,"date"),M(),U(7,". "));a&2&&(a=R(4),E(3),V(" and the ",a.contentType," was scheduled for deletion on "),E(2),tk(Fk(6,2,N6a(a),"longDate")))},Q6a=function(a){a&
1&&(L(0,"span")(1,"b"),U(2,"Retention:"),M(),U(3),L(4,"b"),U(5),M(),U(6," from the last modification of the issue. "),I(7,O6a,9,6,"span")(8,P6a,8,5),M());a&2&&(a=R(3),E(3),V(" This ",a.contentType," has a retention period of "),E(2),tk(a.getRetentionPeriod()),E(2),J(N6a(a).getTime()<(new Ad).getTime()?8:7))},R6a=function(a){a&1&&(L(0,"b"),U(1,"Retention:"),M(),U(2));a&2&&(a=R(3),E(2),V(" This ",a.contentType," has an indefinite retention period. "))},S6a=function(a){a&1&&(U(0),L(1,"b"),U(2,"overridden"),
M(),U(3," retention period set to match the issue retention period. "));a&2&&(a=R(3),V(" The ",a.contentType," has an "))},T6a=function(a){a&1&&(L(0,"p"),I(1,Q6a,9,3,"span")(2,R6a,3,1),I(3,S6a,4,1),M());a&2&&(a=R(2),E(),J(a.retentionState&&!a.retentionState.scheduledDeletionTime?2:1),E(2),J(a.retention===a.retentionModel.INDEFINITE?3:-1))},U6a=function(a){a&1&&(L(0,"div",5)(1,"p")(2,"b"),U(3,"Restricted Access:"),M(),U(4),L(5,"a",6),U(6," Learn More "),M()(),I(7,T6a,4,2,"p"),M());a&2&&(a=R(),E(4),
V(" This ",a.contentType," is only available to users with the appropriate permissions. "),E(),K("rel",a.EXTERNAL_LINK_REL),Hj("href",a.documentationLinks.getRestrictedAccessHelpLink(),Ni),E(2),J(a.retentionState?7:-1))},V6a=function(a,b){return new Promise(function(c){var d=function(e){e.source===a.contentWindow&&e.data===b&&(window.removeEventListener("message",d),c(e))};window.addEventListener("message",d)})},X6a=function(a){var b=mr(document,"IFRAME");if(!b.sandbox)throw Error("Ge");b.sandbox.value=
"allow-scripts";b.sandbox.supports&&b.sandbox.add&&b.sandbox.supports("allow-downloads")&&b.sandbox.add("allow-downloads");if(W6a==""){var c=lea('<!DOCTYPE html><body><input type="hidden" id="nonce" value="'+md(a)+'" /><script nonce="'+md(jea(document))+'">var g=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},h=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("Cannot find global object");},k=h(this),l=function(a,b){if(b)a:{var c=k;a=a.split(".");for(var d=0;d<a.length-\n1;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&&b!=null&&g(c,a,{configurable:!0,writable:!0,value:b})}},m=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};l("globalThis",function(a){return a||k});/*\n\n Copyright Google LLC\n SPDX-License-Identifier: Apache-2.0\n*/\nvar n=globalThis.trustedTypes,p;function q(){var a=null;if(!n)return a;try{var b=function(c){return c};a=n.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a};var r=function(a){this.g=a};r.prototype.toString=function(){return this.g+""};function t(a){var b;p===void 0&&(p=q());a=(b=p)?b.createScript(a):a;return new r(a)}function u(a){if(a instanceof r)return a.g;throw Error("");};function v(a,b){a.textContent=u(b);var c;b=a.ownerDocument;b=b===void 0?document:b;var d;b=(d=(c=b).querySelector)==null?void 0:d.call(c,"script[nonce]");(c=b==null?"":b.nonce||b.getAttribute("nonce")||"")&&a.setAttribute("nonce",c)};var w=function(a){var b=m.apply(1,arguments),c,d;"evalCspCompatiblyData"in window||(window.evalCspCompatiblyData={index:0});var e=window.evalCspCompatiblyData.index++;window.evalCspCompatiblyData[e]={args:b,callback:function(f,x){c=f;d=x}};b=document.createElement("script");b.async=!1;b.setAttribute("data-index",e);e=\'"use strict";\\v(function(){var idx=parseInt((document.currentScript||Array.prototype.slice.call(document.querySelectorAll("head script[data-index]"),-1)[0]).getAttribute("data-index"),10),curEvalData=evalCspCompatiblyData[idx];delete evalCspCompatiblyData[idx];(function(){var callback=curEvalData.callback;try{callback(true,(\'+\nString(u(a))+"\\n));}catch(ex){callback(false, ex);}}).apply(this, curEvalData.args);})()";e=t(e);v(b,e);e=function(f){c=!1;d=f.error||f};window.addEventListener("error",e);document.head.appendChild(b);window.removeEventListener("error",e);document.head.removeChild(b);if(!c)throw d;return d};var y=document.getElementById("nonce"),z=y?y.value:(new URL(location.href)).searchParams.get("nonce");function A(){if(self.origin)return self.origin=="null";if(location.host!="")return!1;try{return window.parent.escape(""),!1}catch(a){return!0}}\n(function(){if(!A())throw"sandboxing error";var a=new MessageChannel;a.port1.onmessage=function(c){try{var d=w.apply(null,[t("(function("+c.data.paramNames.join(", ")+") {\\n"+c.data.code+"\\n}).apply(null, arguments)")].concat(c.data.values));c.ports[0].postMessage({result:d})}catch(e){c.ports[0].postMessage({error:e.toString()})}};var b="*";location.protocol=="chrome-extension:"&&(b=location.origin);window.parent.postMessage(z,b,[a.port2])})();\n\x3c/script></body>');
a=Yc("data:text/html;charset=UTF-8;base64,"+btoa(c.toString()));b.srcdoc=id(c)}else{c=new Map([["nonce",a]]);var d=Zc(W6a).toString();var e=d.split(/[?#]/),f=/[?]/.test(d)?"?"+e[1]:"";a=e[0];d=/[#]/.test(d)?"#"+(f?e[2]:e[1]):"";a=sea(a,f,d,c)}iea(b,a);b.style.cssText="border: 0; height: 0; left: 0; position: absolute; top: 0; width: 0;";b.setAttribute("aria-hidden","true");return b},Y6a=function(){return new Promise(function(a){setTimeout(a,500)})},Z6a=function(a){a&1&&N(0,"b-restricted-chip",6);
a&2&&(a=R(),K("label",a.getRestrictedLabel())("retentionState",a.attachment==null?null:a.attachment.piiRetentionState)("contentType","attachment"))},$6a=function(a){a&1&&(L(0,"span",7),N(1,"b-actions-menu",13),M());a&2&&(a=R(),E(),K("menuItems",a.actionMenuItems)("buttonLabel","Attachment actions")("matTooltip","Attachment actions"))},c7a=function(a){if(a&1){var b=y();L(0,"span")(1,"b-conditional-link",14);Q("customHandler",function(){z(b);var c=R();return B(c.viewAttachment())});M()()}a&2&&(a=R(),
sk(zk("bv2-issue-attachment-link ",a7a(a))),E(),K("isGreyedOut",!a.hasViewAccess)("displayName","View")("linkUrl",b7a(a,!1))("linkEnabled",!0)("useCustomHandler",!0))},e7a=function(a){if(a&1){var b=y();L(0,"span")(1,"b-conditional-link",14);Q("customHandler",function(){z(b);var c=R();return B(d7a(c))});M()();L(2,"span",15)(3,"button",16);Q("click",function(){z(b);var c=R(),d;if((d=c.attachment)==null||!d.attachmentId)throw Error("He");d=sr(c.trackerHelpers,c.issueId)+"#attachment"+c.attachment.attachmentId;
c.clipboard.copy(d);c.snackBar.open("Link to attachment copied to clipboard","",{duration:2E3});return B()});N(4,"b-icon",17);M()()}a&2&&(a=R(),sk(zk("bv2-issue-attachment-link ",a7a(a))),E(),K("isGreyedOut",!a.hasViewAccess)("displayName","Download")("linkUrl",b7a(a,!0))("linkEnabled",!0)("useCustomHandler",!0))},f7a=function(a){a&1&&(L(0,"span",11)(1,"a",18),N(2,"mat-icon",19),M()());a&2&&(a=R(),E(),K("href",a.documentationLinks.getRestrictedAccessHelpLink(),Ni)("disableRipple",!0),E(),K("svgIcon",
"help-outline"))},g7a=function(a){a&1&&(L(0,"div",20),U(1," You do not have access to this restricted attachment. "),L(2,"a",21),U(3,"Learn more"),M()());a&2&&(a=R(),E(2),K("href",a.documentationLinks.getRestrictedAccessHelpLink(),Ni))},h7a=function(a){a&1&&N(0,"attachment-preview",12);a&2&&(a=R(),K("issueId",a.issueId)("attachmentId",a.attachment==null?null:a.attachment.attachmentId.toString())("mimeType",a.attachment==null?null:a.attachment.contentType))},i7a=function(a){a&1&&N(0,"b-attachment-enrichments",
22);if(a&2){a=R();var b=R();K("issueId",b.issueId)("attachmentId",b.attachment.attachmentId.toString())("attachmentEnrichments",a)}},j7a=function(a,b){a&1&&I(0,i7a,1,3,"b-attachment-enrichments",22);a&2&&(a=R(),b=a.isActive()&&a.hasViewAccess&&b&&b.length>0,J(b?0:-1))},l7a=function(a){if(a&1){var b=y();L(0,"button",16,1);Q("click",function(){z(b);var c=R(2);return B(k7a(c))});U(2," Edit ");M()}},m7a=function(a,b){a&1&&(N(0,"b-user-display",17),L(1,"onedev-hovercard",null,2),N(3,"b-issue-person-card",
18),W(4,"async"),M(),U(5," created issue "));if(a&2){a=T(2);var c=R(2);K("onedevHovercardTrigger",a)("model",b);E(3);var d;K("email",(d=X(4,3,c.originalAuthorEmail$))!=null?d:"")}},n7a=function(a,b){a&1&&(U(0," on behalf of "),N(1,"b-user-display-name",19),W(2,"emailToUser"));a&2&&(E(),K("user",X(2,2,b))("showEmail",!1))},o7a=function(a){a&1&&(I(0,n7a,3,4),W(1,"async"));if(a&2){var b;a=R(2);J((b=X(1,1,a.onBehalfOfEmail$))?0:-1,b)}},p7a=function(a,b){if(a&1){var c=y();L(0,"a",20);Q("click",function(d){var e=
z(c);R(2).issueReferenceResolver.visit({issueId:e,elementId:"comment1",event:d});return B()});U(1);M()}a&2&&(a=R(),R(),K("routerLinkObj",xIa(b,{comment:1})),Hj("aria-label","Comment number"+a.commentNumber),E(),V(" #",a.commentNumber))},q7a=function(a,b){a&1&&(U(0," by "),N(1,"b-user-display",17),L(2,"onedev-hovercard",null,3),N(4,"b-issue-person-card",18),M());if(a&2){a=T(3);E();K("onedevHovercardTrigger",a)("model",b);E(3);var c;K("email",(c=b.emailAddress)!=null?c:"")}},r7a=function(a){a&1&&(L(0,
"span",12),W(1,"async"),U(2," \u2022 Edited "),I(3,q7a,5,3),W(4,"async"),M());if(a&2){var b;a=R(2);K("matTooltip",X(1,2,a.editedTooltipText$));E(3);J((b=X(4,4,a.lastNonCreatorCommentEditorUser$))?3:-1,b)}},s7a=function(a){a&1&&(L(0,"p",15),U(1," Description has been deleted. "),M())},t7a=function(a){if(a&1){var b=y();L(0,"b-restricted-comment-placeholder",22);W(1,"async");Q("onConfirm",function(){z(b);var c=R(),d=R(3),e=R();return B(e.loadRestrictedComment(c,d))});M()}a&2&&(a=R(5),K("disabled",!X(1,
1,a.mayReadPii$)))},u7a=function(a){a&1&&(I(0,t7a,2,3,"b-restricted-comment-placeholder",21),W(1,"async"));a&2&&(a=R(4),J(X(1,1,a.shouldShowRestrictedPlaceholder$)?0:-1))},v7a=function(a){a&1&&(I(0,u7a,2,3),W(1,"async"));if(a&2){var b;a=R(3);J((b=X(1,1,a.id$))?0:-1,b)}},w7a=function(a,b){a&1&&(N(0,"b-note-container",24),W(1,"async"),W(2,"async"),W(3,"async"));if(a&2){a=R();var c=R(4),d,e;K("issueId",a)("issueAccessLevel",X(1,5,c.accessLevel$))("note",b)("formattingMode",(d=X(2,7,c.formattingMode$))!=
null?d:c.FormattingMode.PLAIN)("canEditComment",(e=X(3,9,c.canEditComment$))!=null?e:!1)}},x7a=function(a){a&1&&(I(0,w7a,4,11,"b-note-container",24),W(1,"async"),W(2,"async"));if(a&2){var b;a=R(4);J((b=X(1,1,a.hasDescription$)&&X(2,3,a.firstNote$))?0:-1,b)}},y7a=function(a){a&1&&U(0," Add one. ")},z7a=function(a){a&1&&(L(0,"p",23),U(1," No description yet. "),I(2,y7a,1,0),W(3,"async"),M());a&2&&(a=R(4),E(2),J(X(3,1,a.canEditComment$)?2:-1))},A7a=function(a){a&1&&(I(0,x7a,3,5),W(1,"async"),I(2,z7a,
4,3,"p",23),W(3,"async"));if(a&2){var b;a=R(3);J((b=X(1,2,a.id$))?0:-1,b);E(2);J(X(3,4,a.hasDescription$)?-1:2)}},B7a=function(a){a&1&&(I(0,v7a,2,3),W(1,"async"),Jj(2,A7a,4,6));a&2&&(a=R(2),J(X(1,1,a.isRedacted$)?0:2))},C7a=function(a,b){a&1&&(N(0,"b-attachment-viewer",27),W(1,"async"));if(a&2){a=R().$implicit;var c=R(4),d;K("issueId",b)("attachment",a)("attachmentUploader",(d=X(1,3,c.originalAuthorEmail$))!=null?d:"")}},D7a=function(a,b){a&1&&(L(0,"div",26),I(1,C7a,2,5,"b-attachment-viewer",27),
W(2,"async"),M());if(a&2){var c;a=b.$implicit;b=R(4);K("id",zk("attachment",a.attachmentId));E();J((c=X(2,3,b.id$))?1:-1,c)}},E7a=function(a){a&1&&(L(0,"div",25),Mj(1,D7a,3,5,"div",26,Lj),M());a&2&&(a=R(),E(),Nj(a))},F7a=function(a,b){a&1&&I(0,E7a,3,0,"div",25);a&2&&J(b.length?0:-1)},H7a=function(a,b){a&1&&(L(0,"div",4),N(1,"mat-icon",5),L(2,"div",6)(3,"div",7)(4,"div",8)(5,"h4",9),U(6,"Description"),M(),I(7,l7a,3,0,"button",10),W(8,"async"),I(9,m7a,6,5),W(10,"async"),I(11,o7a,2,3),W(12,"async"),
I(13,p7a,2,3,"a",11),W(14,"async"),I(15,r7a,5,6,"span",12),W(16,"async"),M(),L(17,"div"),N(18,"b-formatted-date-time",13)(19,"b-actions-menu",14,0),W(21,"async"),M()(),I(22,s7a,2,0,"p",15),W(23,"async"),Jj(24,B7a,3,3),I(25,F7a,1,1),W(26,"async"),M()());if(a&2){var c,d,e;a=R();E(7);J(X(8,10,a.canEditComment$)?7:-1);E(2);J((c=X(10,12,a.originalAuthor$))?9:-1,c);E(2);J(X(12,14,a.isAuthorNotReporter$)?11:-1);E(2);J((d=b.commentNumber&&X(14,16,a.id$))?13:-1,d);E(2);J(X(16,18,a.isShowCommentHistoryActionInMenu$)?
15:-1);E(3);K("timestamp",b.modifiedDate);E();var f;K("buttonLabel","Description actions")("menuItems",(f=X(21,20,a.commentActionMenuItems$))!=null?f:Ck(26,G7a));E(3);J(X(23,22,a.isDeleted$)?22:24);E(3);J((e=X(26,24,a.attachments$))?25:-1,e)}},I7a=function(a){a&1&&N(0,"b-spinner")},J7a=function(a){a&1&&(Sj(0),U(1," reacted"),Tj())},K7a=function(a){a&1&&(Sj(0),U(1,", "),N(2,"br"),Tj())},L7a=function(a,b){a&1&&(L(0,"div"),Sj(1),U(2),Tj(),I(3,J7a,2,0,"ng-container")(4,K7a,3,0,"ng-container"),M());if(a&
2){a=b.$implicit;var c=b.$index;b=b.$count;E(2);V(" ",a);E();J(c===b-1?3:4)}},M7a=function(a){a&1&&(Sj(0),U(1),Tj());a&2&&(a=R(2),E(),V(" by ",Gd(a.event.lastCommentEditorUser)))},N7a=function(a){a&1&&(Sj(0),U(1,"Message last modified"),Tj(),I(2,M7a,2,1,"ng-container"),Sj(3),U(4," on "),N(5,"b-formatted-date-time",0),Tj());a&2&&(a=R(),E(2),J(a.event.version===0&&a.event.lastCommentEditorUser?2:-1),E(3),K("timestamp",a.event.commentLastModifiedAtDate))},O7a=function(a){a&1&&N(0,"b-user-email",0);a&
2&&(a=R().$implicit,K("email",a.text)("withProfile",!0))},P7a=function(a){a&1&&(L(0,"b-issue-reference-widget",1),U(1),M());if(a&2){a=R().$implicit;var b=R();K("href",Hq.viewIssue.makeHref(a.text))("issueId",b.getIssueId(a));E();tk(a.text)}},Q7a=function(a){a&1&&(Sj(0),U(1),Tj());a&2&&(a=R().$implicit,E(),tk(a.text))},R7a=function(a,b){a&1&&I(0,O7a,1,2,"b-user-email",0)(1,P7a,2,3,"b-issue-reference-widget",1)(2,Q7a,2,1,"ng-container");if(a&2){var c;J((c=b.$implicit.tag)==="user"?0:c==="bug"?1:2)}},
tr=function(a){var b;a=a==null?void 0:(b=a.accessLimit)==null?void 0:b.accessLevel;return a==="EXTERNAL_PARTNER"||a==="EXTERNAL_PUBLIC"},S7a=function(a){var b;return(a==null?void 0:(b=a.accessLimit)==null?void 0:b.accessLevel)==="EXTERNAL_PARTNER"},ur=function(a){var b;return(a==null?void 0:(b=a.accessLimit)==null?void 0:b.accessLevel)==="EXTERNAL_PUBLIC"},T7a=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""}},U7a=function(a){a&1&&(Sj(0),N(1,"b-component-card",4,1),Tj());if(a&2){a=T(2);var b=R();E();K("onedevIsHovercardReady",a.init)("componentId",b.id)}},V7a=function(a){a&1&&(L(0,"span"),U(1),M());if(a&2){a=R(5);E();var b;tk((b=a.effortSpecName)!=null?b:"Estimated Effort")}},W7a=function(a){a&1&&(L(0,"span"),U(1,"Estimated Effort (disabled)"),
M())},X7a=function(a){a&1&&(L(0,"label"),I(1,V7a,2,1,"span")(2,W7a,2,0,"span"),U(3," :\u200b "),M());a&2&&(a=R(4),E(),J(a.effortEnabled?1:2))},Y7a=function(a){a&1&&(L(0,"label"),U(1),M());a&2&&(a=R(3).$implicit,E(),V("",a.displayName,":\u200b"))},Z7a=function(a){a&1&&(L(0,"span"),N(1,"b-user-display-name",7),W(2,"emailToUser"),M());a&2&&(a=R(),E(),K("user",X(2,2,a))("showEmail",!0))},$7a=function(a){a&1&&N(0,"plain-component-path",5);a&2&&(a=R(4).$implicit,K("id",a.oldValue))},a8a=function(a){a&1&&
N(0,"b-formatted-date-time",8);if(a&2){a=R(2);var b=R(4);K("timestamp",b.asNumber(a)*1E3)}},b8a=function(a){a&1&&(L(0,"span"),U(1,"[Issue creation date]"),M())},c8a=function(a){a&1&&(L(0,"span"),I(1,a8a,1,1,"b-formatted-date-time",8),I(2,b8a,2,0,"span"),M());a&2&&(a=R(),E(),J(a!=="<none>"?1:-1),E(),J(a==="<none>"?2:-1))},d8a=function(a){a&1&&N(0,"b-formatted-date-time",8);if(a&2){a=R(2);var b=R(4);K("timestamp",b.asNumber(a)*1E3)}},e8a=function(a){a&1&&(L(0,"span"),U(1,"[Unset]"),M())},f8a=function(a){a&
1&&(L(0,"span"),I(1,d8a,1,1,"b-formatted-date-time",8),I(2,e8a,2,0,"span"),M());a&2&&(a=R(),E(),J(a!=="<none>"?1:-1),E(),J(a==="<none>"?2:-1))},g8a=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(),R(4),E(),tk(N1a(a)))},h8a=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(),E(),tk(a))},i8a=function(a){a&1&&(I(0,Z7a,3,4,"span"),I(1,$7a,1,1,"plain-component-path",5),I(2,c8a,3,2,"span"),I(3,f8a,3,2,"span"),I(4,g8a,2,1,"span"),I(5,h8a,2,1,"span"),Sj(6),U(7,"\u00a0"),Tj(),N(8,"span",6),Sj(9),U(10,"\u00a0"),
Tj());a&2&&(a=R(3).$implicit,J(a.isUser?0:-1),E(),J(a.name==="component"?1:-1),E(),J(a.name=="sloStartTime"?2:-1),E(),J(a.name=="sloEndTime"?3:-1),E(),J(a.name==="access_limit"?4:-1),E(),J(a.isUser||a.name==="component"||a.name==="sloStartTime"||a.name==="sloEndTime"||a.name==="access_limit"?-1:5))},j8a=function(a){a&1&&(N(0,"b-user-display-name",7),W(1,"emailToUser"));a&2&&(a=R(),K("user",X(1,2,a))("showEmail",!0))},k8a=function(a){a&1&&(L(0,"span"),N(1,"plain-component-path",5),M());a&2&&(a=R(4).$implicit,
E(),K("id",a.newValue))},l8a=function(a){a&1&&N(0,"b-formatted-date-time",8);if(a&2){a=R(2);var b=R(4);K("timestamp",b.asNumber(a)*1E3)}},m8a=function(a){a&1&&(L(0,"span"),U(1,"[Issue creation date]"),M())},n8a=function(a){a&1&&(L(0,"span"),I(1,l8a,1,1,"b-formatted-date-time",8),I(2,m8a,2,0,"span"),M());a&2&&(a=R(),E(),J(a!=="<none>"?1:-1),E(),J(a==="<none>"?2:-1))},o8a=function(a){a&1&&N(0,"b-formatted-date-time",8);if(a&2){a=R(2);var b=R(4);K("timestamp",b.asNumber(a)*1E3)}},p8a=function(a){a&1&&
(L(0,"span"),U(1,"[Unset]"),M())},q8a=function(a){a&1&&(L(0,"span"),I(1,o8a,1,1,"b-formatted-date-time",8),I(2,p8a,2,0,"span"),M());a&2&&(a=R(),E(),J(a!=="<none>"?1:-1),E(),J(a==="<none>"?2:-1))},r8a=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(),R(4),E(),tk(N1a(a)))},s8a=function(a){a&1&&(L(0,"span"),U(1),M());if(a&2){a=R();var b=R(3).$implicit;rk("bv2-diff-newvalue-nextline",b.oldValue&&b.name=="title");E();tk(a)}},t8a=function(a){a&1&&(I(0,j8a,2,4,"b-user-display-name",7),I(1,k8a,2,1,"span"),
I(2,n8a,3,2,"span"),I(3,q8a,3,2,"span"),I(4,r8a,2,1,"span"),I(5,s8a,2,3,"span",9));a&2&&(a=R(3).$implicit,J(a.isUser?0:-1),E(),J(a.name==="component"?1:-1),E(),J(a.name==="sloStartTime"?2:-1),E(),J(a.name==="sloEndTime"?3:-1),E(),J(a.name==="access_limit"?4:-1),E(),J(a.isUser||a.name=="component"||a.name=="sloStartTime"||a.name=="sloEndTime"||a.name=="access_limit"?-1:5))},u8a=function(a){a&1&&(L(0,"div",4),I(1,X7a,4,1,"label")(2,Y7a,2,1,"label"),I(3,i8a,11,6),I(4,t8a,6,6),M());if(a&2){var b,c;a=
R(2).$implicit;E();J(a.name==="effort"?1:2);E(2);J((b=a.oldValue)?3:-1,b);E();J((c=a.newValue)?4:-1,c)}},v8a=function(a){a&1&&(L(0,"span"),U(1,", "),M())},w8a=function(a,b){a&1&&(L(0,"span"),N(1,"b-user-display-name",7),W(2,"emailToUser"),I(3,v8a,2,0,"span"),M());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;E();K("user",X(2,3,a))("showEmail",!0);E(2);J(c!==b-1?3:-1)}},x8a=function(a){a&1&&(L(0,"span"),Mj(1,w8a,4,5,"span",null,Lj),M());a&2&&(a=R(4).$implicit,E(),Nj(a.added))},y8a=function(a){a&
1&&(L(0,"span"),U(1,", "),M())},z8a=function(a,b){a&1&&(L(0,"span")(1,"span"),U(2),M(),I(3,y8a,2,0,"span"),M());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;E(2);tk(a);E();J(c!==b-1?3:-1)}},A8a=function(a){a&1&&(L(0,"span"),Mj(1,z8a,4,2,"span",null,Lj),M());a&2&&(a=R(4).$implicit,E(),Nj(a.added))},B8a=function(a){a&1&&(L(0,"div")(1,"label"),U(2),M(),I(3,x8a,3,0,"span")(4,A8a,3,0,"span"),M());a&2&&(a=R(3).$implicit,E(2),V("+",a.displayName,":\u200b"),E(),J(a.isUser?3:4))},C8a=function(a){a&1&&(L(0,
"span"),U(1,", "),M())},D8a=function(a,b){a&1&&(L(0,"span"),N(1,"b-user-display-name",7),W(2,"emailToUser"),I(3,C8a,2,0,"span"),M());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;E();K("user",X(2,3,a))("showEmail",!0);E(2);J(c!==b-1?3:-1)}},E8a=function(a){a&1&&(L(0,"span"),Mj(1,D8a,4,5,"span",null,Lj),M());a&2&&(a=R(4).$implicit,E(),Nj(a.removed))},F8a=function(a){a&1&&(L(0,"span"),U(1,", "),M())},G8a=function(a,b){a&1&&(L(0,"span")(1,"span"),U(2),M(),I(3,F8a,2,0,"span"),M());if(a&2){a=b.$implicit;
var c=b.$index;b=b.$count;E(2);tk(a);E();J(c!==b-1?3:-1)}},H8a=function(a){a&1&&(L(0,"span"),Mj(1,G8a,4,2,"span",null,Lj),M());a&2&&(a=R(4).$implicit,E(),Nj(a.removed))},I8a=function(a){a&1&&(L(0,"div")(1,"label"),U(2),M(),I(3,E8a,3,0,"span")(4,H8a,3,0,"span"),M());a&2&&(a=R(3).$implicit,E(2),V("-",a.displayName,":\u200b"),E(),J(a.isUser?3:4))},J8a=function(a){a&1&&(L(0,"div",4),I(1,B8a,5,2,"div"),I(2,I8a,5,2,"div"),M());if(a&2){a=R(2).$implicit;var b=R();E();J(a.added&&a.added.length&&b.isStringArray(a.added)?
1:-1);E();J(a.removed&&a.removed.length&&b.isStringArray(a.removed)?2:-1)}},K8a=function(a){a&1&&Uj(0)},M8a=function(a,b){a&1&&(L(0,"span"),G(1,K8a,1,0,"ng-container",10),M());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;var d=R(4).$implicit;R();var e=T(4);E();K("ngTemplateOutlet",e)("ngTemplateOutletContext",fsa(L8a,d,a,c===b-1))}},N8a=function(a){a&1&&(L(0,"div")(1,"label"),U(2),M(),Mj(3,M8a,2,6,"span",null,Lj),M());a&2&&(a=R(3).$implicit,E(2),V("+",a.displayName,":\u200b"),E(),Nj(a.added))},
O8a=function(a){a&1&&Uj(0)},P8a=function(a,b){a&1&&(L(0,"span"),G(1,O8a,1,0,"ng-container",10),M());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;var d=R(4).$implicit;R();var e=T(4);E();K("ngTemplateOutlet",e)("ngTemplateOutletContext",fsa(L8a,d,a,c===b-1))}},Q8a=function(a){a&1&&(L(0,"div")(1,"label"),U(2),M(),Mj(3,P8a,2,6,"span",null,Lj),M());a&2&&(a=R(3).$implicit,E(2),V("-",a.displayName,":\u200b"),E(),Nj(a.removed))},R8a=function(a){a&1&&(L(0,"div",4),I(1,N8a,5,1,"div"),I(2,Q8a,5,1,"div"),
M());if(a&2){a=R(2).$implicit;var b=R();E();J(a.added&&a.added.length&&b.isLinkedItemArray(a.added)?1:-1);E();J(a.removed&&a.removed.length&&b.isLinkedItemArray(a.removed)?2:-1)}},S8a=function(a){a&1&&N(0,"b-formatted-date-time",8);a&2&&(a=R(),K("timestamp",a))},T8a=function(a){a&1&&(L(0,"span"),U(1," - "),M())},U8a=function(a,b){a&1&&(L(0,"span"),N(1,"b-formatted-date-time",8),I(2,T8a,2,0,"span"),M());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;E();K("timestamp",a);E();J(c!==b-1?2:-1)}},V8a=
function(a){a&1&&(L(0,"span"),Mj(1,U8a,3,2,"span",null,Lj),M());a&2&&(a=R(4).$implicit,E(),Nj(a.oldValue.split(", ")))},W8a=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(),E(),tk(a))},Z8a=function(a){a&1&&(I(0,S8a,1,1,"b-formatted-date-time",8),I(1,V8a,3,0,"span"),I(2,W8a,2,1,"span"),Sj(3),U(4,"\u00a0"),Tj(),N(5,"span",6),Sj(6),U(7,"\u00a0"),Tj());if(a&2){a=R(3).$implicit;var b=R();J(X8a(b,a,"oldValue")?0:-1);E();J(Y8a(b,a,"oldValue")?1:-1);E();J(X8a(b,a,"oldValue")||Y8a(b,a,"oldValue")?-1:2)}},
$8a=function(a){a&1&&N(0,"b-formatted-date-time",8);a&2&&(a=R(),K("timestamp",a))},a9a=function(a){a&1&&(L(0,"span"),U(1," - "),M())},b9a=function(a,b){a&1&&(L(0,"span"),N(1,"b-formatted-date-time",8),I(2,a9a,2,0,"span"),M());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;E();K("timestamp",a);E();J(c!==b-1?2:-1)}},c9a=function(a){a&1&&(L(0,"span"),Mj(1,b9a,3,2,"span",null,Lj),M());a&2&&(a=R(4).$implicit,E(),Nj(a.newValue.split(", ")))},d9a=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(),E(),
tk(a))},e9a=function(a){a&1&&(I(0,$8a,1,1,"b-formatted-date-time",8),I(1,c9a,3,0,"span"),I(2,d9a,2,1,"span"));if(a&2){a=R(3).$implicit;var b=R();J(X8a(b,a,"newValue")?0:-1);E();J(Y8a(b,a,"newValue")?1:-1);E();J(X8a(b,a,"newValue")||Y8a(b,a,"newValue")?-1:2)}},f9a=function(a){a&1&&(L(0,"div",4)(1,"label"),U(2),M(),I(3,Z8a,8,3),I(4,e9a,3,3),M());if(a&2){var b,c;a=R(2).$implicit;var d=R();E();Hj("title",d.customFieldName(a));E();V("",d.customFieldName(a),":\u200b");E();J((b=a.oldValue)?3:-1,b);E();J((c=
a.newValue)?4:-1,c)}},g9a=function(a){a&1&&(L(0,"span",11),U(1,"Updated"),M())},h9a=function(a){a&1&&(L(0,"span"),U(1,"Deleted"),M())},i9a=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(),E(),V("Edited (unknown status '",a.status,"')"))},j9a=function(a,b){a&1&&I(0,g9a,2,0,"span",11)(1,h9a,2,0,"span")(2,i9a,2,1,"span");if(a&2){var c;J((c=b.status)==="ACTIVE"?0:c==="DELETED"?1:2)}},k9a=function(a){a&1&&(L(0,"div",4)(1,"label"),U(2),M(),I(3,j9a,3,1),M());if(a&2){var b;a=R(2).$implicit;E(2);V("",a.displayName,
":\u200b");E();J((b=a.statusUpdateDiff==null?null:a.statusUpdateDiff.entityStatus)?3:-1,b)}},l9a=function(a){a&1&&(L(0,"div",4)(1,"label"),U(2),M(),L(3,"pre",12),U(4),W(5,"json"),M()());a&2&&(a=R(2).$implicit,E(2),V("",a.displayName,":\u200b"),E(2),tk(X(5,2,a)))},m9a=function(a){a&1&&(N(0,"b-formatted-date-time",3),I(1,u8a,5,3,"div",4)(2,J8a,3,2,"div",4)(3,R8a,3,2,"div",4)(4,f9a,5,4,"div",4)(5,k9a,4,2,"div",4)(6,l9a,6,4,"div",4));if(a&2){a=R().$implicit;var b=R();K("timestamp",a.timestamp);E();J(!0===
(a.type===b.DiffType.SINGLE_VALUE)?1:!0===(a.type===b.DiffType.COLLECTION||a.type===b.DiffType.USER_COLLECTION)?2:!0===(a.type===b.DiffType.LINKED_COLLECTION)?3:!0===(a.type===b.DiffType.CUSTOM_FIELD)?4:!0===(a.type===b.DiffType.STATUS_UPDATE)?5:6)}},n9a=function(a,b){a&1&&(L(0,"div",2),I(1,m9a,7,2),M());a&2&&(a=b.$implicit,b=R(),E(),J(((a==null?void 0:a.name)==="sloStartTime"||(a==null?void 0:a.name)==="sloEndTime"?b.activeSession.isInternalSession():1)?1:-1))},o9a=function(a){a&1&&(L(0,"b-issue-reference-widget",
13),U(1),M());if(a&2){a=R();var b=R().change;K("href",b.href)("issueId",a);E();tk(a)}},p9a=function(a){a&1&&N(0,"hotlist-link",5);a&2&&(a=R(),K("id",a))},q9a=function(a){a&1&&(L(0,"a",14),U(1),M());if(a&2){a=R();var b=R().change;K("href",b.href,Ni);E();tk(a)}},r9a=function(a){a&1&&(L(0,"span"),U(1,", "),M())},s9a=function(a){a&1&&(I(0,o9a,2,3,"b-issue-reference-widget",13)(1,p9a,1,1,"hotlist-link",5)(2,q9a,2,2,"a",14),I(3,r9a,2,0,"span"));if(a&2){var b=R();a=b.diff;b=b.isLast;var c=R();J(c.isIssueDiff(a)?
0:c.isHotlistDiff(a)?1:2);E(3);J(b?-1:3)}},t9a=function(a,b){a&1&&I(0,s9a,4,2);if(a&2){var c;J((c=b.change.value)?0:-1,c)}},u9a=function(a){a&1&&N(0,"b-user-image",6);a&2&&(a=R(2),K("email",a.userToLossyEmail(a.event.userPerformingActionUser)))},v9a=function(a){a&1&&(N(0,"b-user-membership-chip",9),W(1,"async"),W(2,"async"));if(a&2){a=R(2);var b;K("user",a.event.userPerformingActionUser)("email",a.userToLossyEmail(a.event.userPerformingActionUser))("teamId",(b=X(1,4,a.teamId$))!=null?b:"");Hj("aria-label",
X(2,6,a.ariaLabelHeading$))}},w9a=function(a){a&1&&(N(0,"b-user-display",10),W(1,"async"));a&2&&(a=R(2),K("model",a.event.userPerformingActionUser),Hj("aria-label",X(1,2,a.ariaLabelHeading$)))},x9a=function(a){a&1&&Uj(0)},y9a=function(a){a&1&&(L(0,"span",33),G(1,x9a,1,0,"ng-container",34),M(),L(2,"onedev-hovercard",null,1),N(4,"b-issue-person-card",35),M());if(a&2){a=T(3);R();var b=T(9),c=R();K("onedevHovercardTrigger",a);E();K("ngTemplateOutlet",b);E(3);K("email",c.userToLossyEmail(c.event.userPerformingActionUser))}},
z9a=function(a){a&1&&(L(0,"span",11),U(1),M());a&2&&(a=R(2),E(),V(" <",Gd(a.event.userPerformingActionUser),"> "))},A9a=function(a){a&1&&(L(0,"span",11),U(1),M());a&2&&(a=R(2),E(),V(" <",Gd(a.event.userPerformingActionUser),"> "))},B9a=function(a){if(a&1){var b=y();L(0,"span")(1,"a",36);Q("click",function(c){z(b);var d=R(2);return B(d.scrollCommentIntoView(c,d.event.commentNumber))});U(2);M()()}a&2&&(a=R(2),E(),K("routerLinkObj",a.getCommentNumberLink(a.event.commentNumber)),Hj("aria-label","Comment number"+
a.event.commentNumber),E(),V(" #",a.event.commentNumber))},D9a=function(a){if(a&1){var b=y();L(0,"button",37);Q("click",function(){z(b);var c=R(2);return B(C9a(c.issueCommentDialogsService,c.issueId,c.deobfuscatedEvent$.value||c.event))});M()}},E9a=function(a){a&1&&N(0,"b-restricted-chip",14);if(a&2){a=R(2);var b,c;K("label",a.getRestrictedLabel())("retention",(b=a.event.commentRetention)!=null?b:void 0)("retentionState",(c=a.event.commentRetentionState)!=null?c:void 0)}},G9a=function(a){a&1&&(N(0,
"b-actions-menu",16,2),W(2,"async"));if(a&2){a=R(2);var b;K("buttonLabel","Comment actions")("menuItems",(b=X(2,2,a.commentActionMenuItems$))!=null?b:Ck(4,F9a))}},H9a=function(a){a&1&&(L(0,"div",18),N(1,"b-tagged-text",38),M());a&2&&(a=R(2),E(),K("texts",a.event.taggedSummary))},I9a=function(a){a&1&&(N(0,"b-issue-event-details",19),W(1,"async"),W(2,"async"),W(3,"async"));if(a&2){var b;a=R();var c=R(),d;K("diffs",(d=X(1,4,c.preEventDiffs$))!=null?d:Ck(10,F9a))("customFieldMap",a.customFieldMap)("effortSpecName",
(b=X(2,6,c.effortSpec$))==null?null:b.name)("effortEnabled",!!X(3,8,c.isEffortEnabled$))}},J9a=function(a){a&1&&(L(0,"div",22),U(1," Comment has been deleted. "),M())},K9a=function(a){if(a&1){var b=y();L(0,"b-restricted-comment-placeholder",39);W(1,"async");Q("onConfirm",function(){z(b);var c=R(2);return B(c.loadRestrictedComment())});M()}a&2&&(a=R(2),K("disabled",!X(1,1,a.mayReadPii$)))},M9a=function(a){a&1&&(N(0,"b-note-container",25),W(1,"async"),W(2,"async"),W(3,"async"));if(a&2){a=R(2);var b,
c,d;K("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",(b=X(1,5,a.eventAsNote$))!=null?b:Ck(11,L9a))("formattingMode",(c=X(2,7,a.formattingMode$))!=null?c:a.FormattingMode.PLAIN)("canEditComment",(d=X(3,9,a.canEditComment$))!=null?d:!1)}},N9a=function(a){if(a&1){var b=y();N(0,"b-summarized-note-container",40);W(1,"async");W(2,"async");L(3,"button",41);Q("click",function(){z(b);var e=R(2);e.wasSummarized$.next(!0);e.isSummarized=!e.isSummarized;return B()});N(4,"mat-icon",42);U(5,
"Expand details");M()}if(a&2){a=R(2);var c,d;K("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",(c=X(1,5,a.eventAsNote$))!=null?c:Ck(9,L9a))("summaryType",a.getSummaryType())("formattingMode",(d=X(2,7,a.formattingMode$))!=null?d:a.FormattingMode.PLAIN)}},O9a=function(a){if(a&1){var b=y();L(0,"button",41);Q("click",function(){z(b);var c=R(2);c.wasSummarized$.next(!0);c.isSummarized=!c.isSummarized;return B()});N(1,"mat-icon",43);U(2,"Collapse details");M()}},P9a=function(a){a&1&&
N(0,"b-formatted-date-time",29);a&2&&(a=R(2),K("timestamp",a.event.modifiedDate))},Q9a=function(a){a&1&&N(0,"mat-icon",45)},R9a=function(a){a&1&&N(0,"mat-icon",46)},S9a=function(a,b){a&1&&(L(0,"span"),U(1),M());a&2&&(E(),tk(b))},T9a=function(a){a&1&&N(0,"b-comment-reaction-responders-card",47);a&2&&(a=R(3),K("reactionState",a.event.commentReactions==null?null:a.event.commentReactions.get(a.ReactionType.UPVOTE))("issueId",a.issueId)("commentNumber",a.event.commentNumber))},X9a=function(a){if(a&1){var b=
y();L(0,"div",30)(1,"button",44,3);W(3,"async");W(4,"async");W(5,"async");W(6,"async");Q("click",function(){z(b);var e=R(2);return B(U9a(e))});I(7,Q9a,1,0,"mat-icon",45)(8,R9a,1,0,"mat-icon",46);I(9,S9a,2,1,"span");W(10,"async");M();L(11,"onedev-hovercard",null,4);I(13,T9a,1,3,"b-comment-reaction-responders-card",47);W(14,"async");M()()}if(a&2){var c;a=T(12);var d=R(2);E();rk("no-upvote-reactions",X(3,11,d.noUpvoteReactions$));K("ariaLabel",V9a(d,d.ReactionType.UPVOTE));Gj("aria-disabled",!X(4,13,
d.hasAclToUpvoteReact$)||d.commentReactionIsSaving);K("disabled",!X(5,15,d.hasAclToUpvoteReact$)||d.commentReactionIsSaving)("onedevHovercardTrigger",a)("onedevHovercardConfig",d.commentReactionsHovercardConfig)("onedevHovercardActive",!!X(6,17,d.showCommentReactionHovercard$));E(6);J(W9a(d,d.ReactionType.UPVOTE)?7:8);E(2);J((c=X(10,19,d.upvoteReactionCountDisplayString$))?9:-1,c);E(4);J(X(14,21,d.noUpvoteReactions$)?-1:13)}},Y9a=function(a){if(a&1){var b=y();L(0,"a",49);Q("click",function(){z(b);
var c=R(3);return B(c.showCommentHistoryDialog(c.event.commentNumber))});U(1," Show History ");M()}},Z9a=function(a){a&1&&(L(0,"div",31),N(1,"b-comment-edit-timestamp-message",48),I(2,Y9a,2,0,"a"),M());a&2&&(a=R(2),E(),K("event",a.event),E(),J(a.commentHistoryEnabled?2:-1))},$9a=function(a){a&1&&(N(0,"b-issue-event-details",19),W(1,"async"),W(2,"async"),W(3,"async"));if(a&2){var b;a=R();var c=R(),d;K("diffs",(d=X(1,4,c.postEventDiffs$))!=null?d:Ck(10,F9a))("customFieldMap",a.customFieldMap)("effortSpecName",
(b=X(2,6,c.effortSpec$))==null?null:b.name)("effortEnabled",!!X(3,8,c.isEffortEnabled$))}},a$a=function(a,b){a&1&&(L(0,"div",50),N(1,"b-attachment-viewer",51),M());a&2&&(a=b.$implicit,b=R(3),K("id",zk("attachment",a.attachmentId)),E(),K("issueId",b.issueId)("attachment",a)("attachmentUploader",b.userToLossyEmail(b.event.userPerformingActionUser)))},b$a=function(a){a&1&&(L(0,"div",32),Mj(1,a$a,2,5,"div",50,Lj),M());a&2&&(a=R(2),E(),Nj(a.event.attachments))},d$a=function(a){a&1&&(L(0,"div",5),I(1,u9a,
1,1,"b-user-image",6),M(),L(2,"div",7)(3,"h4",8),I(4,v9a,3,8,"b-user-membership-chip",9)(5,w9a,2,4,"b-user-display",10),I(6,y9a,5,3)(7,z9a,2,1,"span",11),G(8,A9a,2,1,"ng-template",null,0,Gk),I(10,B9a,3,3,"span"),I(11,D9a,1,0,"button",12),W(12,"async"),L(13,"span",13),I(14,E9a,1,3,"b-restricted-chip",14),N(15,"b-formatted-date-time",15),I(16,G9a,3,5,"b-actions-menu",16),M()(),N(17,"div",17),I(18,H9a,2,1,"div",18),I(19,I9a,4,11,"b-issue-event-details",19),W(20,"async"),N(21,"div",17),L(22,"div",20)(23,
"div",21),I(24,J9a,2,0,"div",22),I(25,K9a,2,3,"b-restricted-comment-placeholder",23),L(26,"div",24),I(27,M9a,4,12,"b-note-container",25),I(28,N9a,6,10),I(29,O9a,3,0,"button",26),W(30,"async"),M(),L(31,"div",27),Wj(32),W(33,"async"),L(34,"div",28),I(35,P9a,1,1,"b-formatted-date-time",29),M(),I(36,X9a,15,23,"div",30),M()(),I(37,Z9a,3,2,"div",31),M(),I(38,$9a,4,11,"b-issue-event-details",19),W(39,"async"),N(40,"div",17),I(41,b$a,3,0,"div",32),N(42,"div",17),M());if(a&2){a=R();E();J(a.event.userPerformingActionUser?
1:-1);E(3);J(a.enableTeamAnnotations&&a.event.userPerformingActionUser?4:5);E(2);J(a.isNonObfuscatedEmail(a.userToLossyEmail(a.event.userPerformingActionUser))?6:7);E(4);J(a.isCommentEvent(a.event)?10:-1);E();J(X(12,22,a.canEditComment$)&&!a.isRedacted()?11:-1);E(3);J(a.isRestricted(a.event)?14:-1);E();K("timestamp",a.event.modifiedDate);E();J(a.isCommentEvent(a.event)?16:-1);E(2);J(a.event.taggedSummary&&a.event.taggedSummary.length?18:-1);E();J(X(20,24,a.showFullHistoryFromFiltering$)==="FULL_HISTORY"?
19:-1);E(5);J(a.isDeleted()?24:-1);E();J(a.isRedacted()&&!a.isDeleted()?25:-1);E(2);J(!c$a(a)||a.isRedacted()||a.isDeleted()||a.isSummarized?-1:27);E();J(c$a(a)&&!a.isRedacted()&&!a.isDeleted()&&a.isSummarized?28:-1);E();J(X(30,26,a.wasSummarized$)&&!a.isSummarized?29:-1);var b,c=(b=X(33,28,a.isShowingCommentTimestamp$))!=null?b:!1;E(5);rk("hasCommentTimestamp",c);E();J(c?35:-1);E();var d;b=a.ReactionType.UPVOTE;var e;c=!a.issuePermissionService.hasAclToComment()&&((d=a.event.commentReactions)==null?
void 0:(e=d.get(b))==null?void 0:e.count)===0;d=a.isInternalSession&&a.commentReactionsEnabled&&c$a(a)&&!a.isDeleted()&&!a.isRedacted()&&!c;J(d?36:-1);E();J(a.isCommentEvent(a.event)&&(a.event.commentVersion||0)>0&&!a.isRedacted()?37:-1);E();J(X(39,30,a.showFullHistoryFromFiltering$)==="FULL_HISTORY"?38:-1);E(3);J(a.event.attachments.length?41:-1)}},e$a=function(a){a&1&&(L(0,"aside",0),N(1,"b-spinner"),M())},f$a=function(a){a&1&&U(0);if(a&2){var b;a=R(2).$index;var c=R();V(" ",(b=c.foldedCommentsCounts.get(a))==
null?null:b.commentFoldedCount," updates ")}},g$a=function(a){a&1&&U(0);if(a&2){var b;a=R(2).$index;var c=R();V(" ",(b=c.foldedCommentsCounts.get(a))==null?null:b.commentFoldedCount," update ")}},h$a=function(a){if(a&1){var b=y();L(0,"div",2)(1,"button",4);Q("click",function(){z(b);var f=R().$index,h=R(),k,q,u=(q=(k=h.foldedCommentsCounts.get(f))==null?void 0:k.eventFoldedCount)!=null?q:0;for(k=0;k<u&&((ag(h.internalEvents[f-k])||bg(h.internalEvents[f-k]))&&h.eventDisplayMode.set(f-k,"full"),f-k!==
0);k++);h.foldedCommentsCounts.delete(f);return B()});I(2,f$a,1,1)(3,g$a,1,1);M();N(4,"div",5);M()}if(a&2){var c;a=R().$index;var d=R();E(2);var e;J(((e=(c=d.foldedCommentsCounts.get(a))==null?null:c.commentFoldedCount)!=null?e:1)>1?2:3)}},i$a=function(a){a&1&&(L(0,"div",3),N(1,"b-history-event",6),M());if(a&2){var b=R();a=b.$implicit;b=b.$index;var c=R();E();K("issueId",c.internalIssueId)("issueAccessLevel",c.issueAccessLevel)("event",a)("isSummarized",c.eventDisplayMode.get(b)===c.eventDisplayModes.SUMMARIZED)}},
k$a=function(a,b){a&1&&(I(0,h$a,5,1,"div",2),I(1,i$a,2,4,"div",3));if(a&2){var c;a=b.$index;b=R();var d;J(b.foldedCommentsCounts.has(a)&&((d=(c=b.foldedCommentsCounts.get(a))==null?null:c.commentFoldedCount)!=null?d:0)>0?0:-1);E();J(b.internalIssueId&&j$a(b.eventDisplayMode.get(a))?1:-1)}},l$a=function(a){a&1&&(L(0,"aside",0),N(1,"b-spinner"),M())},m$a=function(a){return!(!xha(a.userPerformingAction)||!a.isMajorEvent)},o$a=function(a){if(a&1){var b=y();L(0,"div",0);N(1,"mat-icon",1);L(2,"button",
2);Q("click",function(){z(b);var c=R(3);c.llmIssueSummaryService.trackEvent("click","issueDetailsPage");n$a(c.llmIssueSummaryService);return B()});U(3," Summarize ");M()()}},p$a=function(a,b){a&1&&I(0,o$a,4,0,"div",0);a&2&&(a=R(2),J(b===a.BUTTON?0:-1))},q$a=function(a){a&1&&(I(0,p$a,1,1),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.stage$))?0:-1,b)}},r$a=function(a,b){a&1&&(L(0,"mat-option",5)(1,"div",8),U(2),M(),L(3,"div",9),U(4),M()());a&2&&(a=b.$implicit,K("value",a),E(2),tk(a.name),E(2),tk(a.description))},
w$a=function(a){switch(a){case "FULL_HISTORY":return s$a;case "ALL_COMMENTS":return t$a;case "HUMAN_ONLY":return u$a;case "TEAM_AND_ASSIGNEE":return v$a;default:return t$a}},x$a=function(a){if(a&1){var b=y();L(0,"button",6);Q("click",function(){z(b);var c=R(2);return B(c.removeHotlist.emit())});N(1,"mat-icon",7);M()}a&2&&(a=R(2),rk("invisible",a.disabled),Hj("aria-disabled",a.disabled)("aria-label","Remove the hotlist "+a.hotlist.name))},y$a=function(a){a&1&&(L(0,"span",1)(1,"span",2)(2,"a",3),U(3),
M()(),I(4,x$a,2,4,"button",4),M(),L(5,"onedev-hovercard",null,0),N(7,"b-hotlist-card",5),M());if(a&2){a=T(6);var b=R();rk("muted",b.disabled);K("onedevHovercardTrigger",a)("onedevHovercardActive",b.showHovercard);E(2);K("href",b.ROUTES.viewHotlist.makeHref(b.hotlist.hotlistId),Ni);Hj("aria-label",b.getAriaLabel(b.hotlist));E();tk(b.hotlist.name);E();J(b.removable?4:-1);E(3);K("hotlist",b.hotlist)}},A$a=function(a){if(a&1){var b=y();L(0,"span",1)(1,"div")(2,"button",2);Q("click",function(){z(b);var d=
R();return B(d.addHotlist(d.hotlist.hotlistId))});N(3,"mat-icon",3);M();N(4,"mat-icon",4);M();L(5,"span",5)(6,"a",6);U(7);M()()();L(8,"onedev-hovercard",null,0)(10,"b-hotlist-recommendation-card",7);Q("onAccept",function(d){z(b);var e=R();return B(e.addHotlist(d))})("onDismiss",function(){z(b);var d=R();return B(z$a(d))});M()()}if(a&2){a=T(9);var c=R();qk("padding-right","10px");K("onedevHovercardTrigger",a)("onedevHovercardActive",c.showHovercard)("onedevHovercardConfig",c.hovercardConfig);E(2);
Hj("aria-label","Add the suggested hotlist "+c.hotlist.name);E(4);K("href",c.ROUTES.viewHotlist.makeHref(c.hotlist.hotlistId),Ni);Hj("aria-label",c.getAriaLabel(c.hotlist));E();tk(c.hotlist.name);E(3);K("hotlist",c.hotlist)}},C$a=function(a,b){if(a&1){var c=y();L(0,"b-hotlist-chip-smart",4);Q("removeHotlist",function(){var d=z(c).$implicit,e=R(2);return B(B$a(e,d))});M()}a&2&&K("id",b.$implicit)},D$a=function(a,b){a&1&&(N(0,"b-hotlist-recommendation-chip",5),W(1,"async"));a&2&&(a=b.$implicit,b=R(4),
K("hotlist",a.content==null?null:a.content.recommendedHotlist)("recommendationId",a.name)("issueId",X(1,3,b.issueId$)))},F$a=function(a,b){a&1&&Mj(0,D$a,2,5,"b-hotlist-recommendation-chip",5,E$a);a&2&&Nj(b)},G$a=function(a){a&1&&(I(0,F$a,2,0),W(1,"async"));if(a&2){var b;a=R(2);J((b=X(1,1,a.recommendations$))?0:-1,b)}},H$a=function(a){if(a&1){var b=y();L(0,"div",0);ak(1);L(2,"button",1);W(3,"async");Q("onHotkey",function(){z(b);var c=R();return B(c.openHotlistModal())})("click",function(){z(b);var c=
R();return B(c.openHotlistModal())});N(4,"mat-icon",2);U(5);W(6,"async");M();Mj(7,C$a,1,1,"b-hotlist-chip-smart",3,Lj);W(9,"async");I(10,G$a,2,3);M()}a&2&&(a=R(),E(2),rk("icon-only",!X(3,5,a.textOfHotlistBtn$)),K("hotkey",a.HOTKEYS.OPEN_HOTLIST_PICKER),E(3),V(" ",X(6,7,a.textOfHotlistBtn$)," "),E(2),Nj(X(9,9,a.hotlistIds$)),E(3),J(a.isInternalSession?10:-1))},J$a=function(a){if(a&1){var b=y();L(0,"mat-form-field",7);W(1,"async");L(2,"input",8,0);Q("keydown",function(c){z(b);var d=R();c.key==="Enter"?
d.saveTitle():c.key==="Escape"||c.key==="Esc"?I$a(d):d.bannedWordsChecker.reset();return B()})("blur",function(){z(b);var c=R();return B(c.onInputBlur())});M()()}a&2&&(a=R(),rk("banned-words-warning",X(1,3,a.bannedWordsChecker.showWarning$)),E(2),K("value",a.titlePlain))},K$a=function(a){a&1&&(L(0,"h3",4,1),U(2),M());a&2&&(a=R(),Hj("title",a.isLongTitle?a.titlePlain:""),E(2),V(" ",a.titleTruncated," "))},L$a=function(a){if(a&1){var b=y();L(0,"button",9);Q("click",function(){z(b);var c=R();return B(c.isEditMode?
c.saveTitle():I$a(c))});N(1,"mat-icon",10);M()}a&2&&(a=R(),K("disabled",a.disabled||a.isSaving))},M$a=function(a){a&1&&(L(0,"p",6),U(1),L(2,"a",11),U(3," Learn more "),M()());a&2&&(a=R(),E(),V(" ",Sq(a.bannedWordsChecker)," is restricted. Press 'Esc' to cancel or 'Enter' to skip check and save title. "))},N$a=function(a){if(a&1){var b=y();L(0,"mat-checkbox",10);Q("change",function(c){z(b);var d=R().$implicit,e=R();d.enabled=c.checked;e.detectChanges();return B()});M()}a&2&&(a=R().$implicit,Gj("aria-label",
zk("Enable column '",a.name,"'")),K("checked",a.enabled))},Q$a=function(a,b){if(a&1){var c=y();L(0,"li",2);Q("keydown",function(e){var f=z(c).$index,h=R();return B(h.onKeyDown(e,f))})("focus",function(){var e=z(c).$index,f=R();return B(f.onFocus(e))});I(1,N$a,1,3,"mat-checkbox",3);N(2,"mat-icon",4);L(3,"span");U(4);M();L(5,"div",5)(6,"button",6);Q("click",function(){var e=z(c).$index,f=R();return B(O$a(f,e))});N(7,"mat-icon",7);M();L(8,"button",8);Q("click",function(){var e=z(c).$index,f=R();return B(P$a(f,
e))});N(9,"mat-icon",9);M()()()}if(a&2){a=b.$implicit;b=b.$index;var d=R();Hj("aria-label",a.name)("aria-grabbed",b===d.grabbedIndex);E();J(d.allowRemoval?1:-1);E(3);tk(a.name);E(2);rk("invisible",b===0);E(2);rk("invisible",b===d.items.length-1)}},R$a=function(a){a&1&&N(0,"mat-icon",1)},S$a=function(a){a&1&&(L(0,"span",2),W(1,"date"),U(2),M());a&2&&(a=R(2),K("title",zk("Start Date: ",Fk(1,4,a.startDate,"longDate"))),E(2),uk(" ",a.startDateShortStr," ",a.JOINING_ARROW," "))},T$a=function(a){a&1&&(L(0,
"span",3),W(1,"date"),U(2),M());a&2&&(a=R(2),K("title",zk("End Date: ",Fk(1,3,a.endDate,"longDate"))),E(2),V(" ",a.endDateShortStr," "))},U$a=function(a){a&1&&(L(0,"span",4),U(1,"?"),M())},V$a=function(a){a&1&&(L(0,"div",0),I(1,R$a,1,0,"mat-icon",1),I(2,S$a,3,7,"span",2),I(3,T$a,3,6,"span",3)(4,U$a,2,0,"span",4),M());a&2&&(a=R(),E(),J(a.showIcon?1:-1),E(),J(a.startDate?2:-1),E(),J(a.endDate?3:4))},W$a=function(a,b){b=b===void 0?[]:b;return"http://cl/search/cl:("+[].concat(p(a),p(b.map(function(c){return String(c.changelistNumber)}))).join("|")+
")"},X$a=function(a,b,c){c=c===void 0?22:c;return["display: inline-block; border-radius: 50%;","width: "+c+"px;","min-width: "+c+"px;","height: "+c+"px;","background: conic-gradient(var(--"+(b===void 0?"good-gfx":b)+") "+a*100+"%, var(--divider) 0 100%);","box-shadow: inset 0 0 0 2px var(--divider);"].join(" ")},Y$a=function(a){return"hotlist-"+a},Z$a=function(a){return"savedsearch-"+a},wr=function(a){if(a!=null){if($$a.includes(a))return a;var b=a.match(/\bhotlists?\b/)?vr(a):void 0;if(b)return"hotlist";
b=a.match(/\bsavedsearch(?:es|)\b/)?vr(a):void 0;if(b)return"savedsearch";b=/\bb\/\d+\b/;b=a.match(/\bissues?\b/)||a.match(b)?vr(a):void 0;b||(a=a.trim(),b=a.length<3?!1:!!a.match(/^\d+$/));if(b)return"issue"}},aab=function(a){switch(wr(a)){case "hotlist":return"Hotlist";case "savedsearch":return"Saved Search";case "issue":return"Issue"}},vr=function(a){if(a!=null)return a.split(/[^\d]+/).filter(Boolean).pop()},bab=function(a){var b=vr(a);if(b!=null)switch(wr(a)){case "hotlist":return"/hotlists/"+
b;case "savedsearch":return"/savedsearches/"+b;default:return"/issues/"+b}},cab=function(a){var b=vr(a);if(b!=null&&wr(a)==="issue")return"/issues?q="+encodeURIComponent("id:"+b+" OR parentid:"+b+"+")},dab=function(a){for(var b={},c={},d=l(a),e=d.next();!e.done;e=d.next())e=e.value,c[e.issueId]=e;d=a.slice();d.sort(function(q,u){var A,D;return(((A=u.descendantCount)!=null?A:0)-((D=q.descendantCount)!=null?D:0))*-1});d=l(d);for(e=d.next();!e.done;e=d.next()){var f=e.value,h=void 0;e=(h=b[f.issueId])!=
null?h:0;h=void 0;f=l((h=f.parentIssueIds)!=null?h:[]);for(h=f.next();!h.done;h=f.next())if(h=c[h.value],h!=null){var k=void 0;b[h.issueId]=(k=b[h.issueId])!=null?k:0;b[h.issueId]+=1+e}}return a.map(function(q){var u,A=(u=b[q.issueId])!=null?u:0;return[[A,q.openDescendantCount+A*10],q]})},eab=function(a,b){a=a.results;if(a.length<(b===void 0?50:b))return[];a=dab(a);a.sort(function(f,h){f=l(f);f=l(f.next().value);f.next();f=f.next().value;h=l(h);h=l(h.next().value);h.next();return h.next().value-f});
b=a.filter(function(f){f=l(f);return l(f.next().value).next().value>0}).map(function(f){f=l(f);f.next();return f.next().value}).filter(function(f){return f.descendantCount>=2}).filter(oia);var c={};a=l(a);for(var d=a.next();!d.done;d=a.next()){var e=l(d.value);d=e.next().value;e=e.next().value;c[e.issueId]=d}return b.map(function(f){var h,k;return{title:(h=f.snapshot)==null?void 0:(k=h[0])==null?void 0:k.title,ref:f.issueId,suggestionRationale:f.descendantCount+" descendants and "+c[f.issueId][0]+
" recent personal touchpoints."}})},fab=function(a){if(a&1){var b=y();L(0,"div",1);Q("click",function(){z(b);var c=R();return B(c.useXofYLabel=!c.useXofYLabel)});N(1,"div",2);L(2,"span");U(3);W(4,"number");M();L(5,"span");U(6);M()()}a&2&&(a=R(),K("title",Ak("",a.closed," of ",a.total," issues closed in this work area")),E(),Hj("style",a.makePie(a.closed/a.total),ioa),E(),rk("display-none",a.useXofYLabel),E(),V("",Fk(4,11,a.closed/a.total*100,"1.0-0"),"% complete"),E(2),rk("display-none",!a.useXofYLabel),
E(),uk("",a.closed," of ",a.total," closed"))},gab=function(a,b,c){var d=c[b];return d==null?!1:[].concat(p(a)).map(function(e){return xr[e]}).every(function(e){return e==null?!0:e.check(d,b,c)})},hab=function(a){return!!xr[a]},iab=function(a){a&1&&(Gh(),Pj(0,"svg",3),Rj(1,"path",4),Qj())},jab=function(a){a&1&&(Pj(0,"div",2),ak(1,1,null,iab,2,0),Qj())},kab=function(a){a&1&&N(0,"th",26)},lab=function(a){a&1&&N(0,"td",27)},nab=function(a){if(a&1){var b=y();L(0,"th",26)(1,"button",28);Q("click",function(){z(b);
var c=R(2);return B(mab(c))});N(2,"mat-icon",29);M()()}},oab=function(a){a&1&&N(0,"td",27)},pab=function(a){a&1&&(L(0,"th",26),U(1," ID "),M())},qab=function(a){a&1&&N(0,"b-issue-id-cell",31);a&2&&(a=R().$implicit,K("id",a.issueIds[0]))},rab=function(a,b){a&1&&(L(0,"td",30),I(1,qab,1,1,"b-issue-id-cell",31),M());a&2&&(a=b.$implicit,E(),J(a.issueIds.length===1?1:-1))},tab=function(a){if(a&1){var b=y();L(0,"th",26)(1,"mat-checkbox",32);Q("change",function(d){z(b);var e=R(),f=R();return B(d?f.toggleAllRows(e):
null)});M()()}if(a&2){a=R();var c=R();E();K("checked",c.selection.selected.length>0&&sab(c,a))("indeterminate",c.selection.selected.length>0&&!sab(c,a))}},uab=function(a,b){if(a&1){var c=y();L(0,"td",30)(1,"mat-checkbox",33);Q("click",function(d){z(c);return B(d.stopPropagation())})("change",function(){var d=z(c).$implicit,e=R(2);e.selection.toggle(d.issueIds[0]);e.selectedIssuesChange.emit(e.selection);return B()});M()()}a&2&&(a=b.$implicit,b=R(2),E(),K("checked",b.selection.isSelected(a.issueIds[0])),
Hj("aria-label","Select issue "+a.issueIds[0])("aria-checked",b.selection.isSelected(a.issueIds[0])))},vab=function(a){if(a&1){var b=y();L(0,"th",26)(1,"mat-checkbox",32);Q("change",function(d){z(b);var e=R(),f=R();return B(d?f.toggleAllRows(e):null)});M()()}if(a&2){a=R();var c=R();E();K("checked",c.selection.selected.length>0&&sab(c,a))("indeterminate",c.selection.selected.length>0&&!sab(c,a))}},wab=function(a){a&1&&N(0,"td",30)},xab=function(a){a&1&&(L(0,"th",26),U(1),M());a&2&&(a=R(2),E(),V(" ",
a.getDisplayName(a.IssueFieldType.TITLE)," "))},yab=function(a,b){if(a&1){var c=y();L(0,"td",30)(1,"b-issue-title-cell",34);W(2,"async");W(3,"async");W(4,"async");Q("issueNavigated",function(f){z(c);var h=R(2);return B(h.issueNavigated.emit(f))});M()()}if(a&2){var d;a=b.$implicit;b=R(2);E();rk("bold",b.showReadStatus&&b.isUnread(X(2,9,a.issue$)));var e;K("anchorTarget",yk((b.options.navigationOptions==null?0:b.options.navigationOptions.alwaysOpenNewTab)?"_blank":"_self"))("issue",X(3,11,a.issue$))("issueUrlFactory",
b.issueUrlFactory)("enableHovercard",(e=b.options.enableIssueHovercard)!=null?e:!1)("useButtonToNavigate",(b.options.navigationOptions==null?null:b.options.navigationOptions.clickTargets)===b.ClickTargetsForNavigation.NONE)("trailingChip",b.options.showTrending?(d=X(4,13,b.trendingChipsById$))==null?null:d[a.issueIds[0]]:void 0)}},zab=function(a){a&1&&(L(0,"th",26),U(1),M());a&2&&(a=R(2),E(),V(" ",a.getDisplayName(a.IssueFieldType.TITLE)," "))},Aab=function(a,b){a&1&&(L(0,"td",30)(1,"b"),U(2),W(3,
"async"),M()());a&2&&(a=b.$implicit,E(2),uk("",X(3,2,a.summaryTitle$)," (",a.issueIds.length,")"))},Bab=function(a){a&1&&(L(0,"th",35),U(1),M());a&2&&(a=R(2),K("mat-sort-header",a.IssueFieldType.TYPE),E(),V(" ",a.getDisplayName(a.IssueFieldType.TYPE)," "))},Cab=function(a,b){a&1&&(L(0,"td",30),N(1,"b-issue-type-cell",36),W(2,"async"),M());a&2&&(a=b.$implicit,E(),K("issue",X(2,1,a.issue$)))},Dab=function(){},Eab=function(a){a&1&&U(0);a&2&&(a=R(3),V(" ",a.getDisplayName(a.IssueFieldType.ASSIGNEE)," "))},
Fab=function(a){a&1&&(L(0,"th",35),I(1,Dab,0,0)(2,Eab,1,1),M());a&2&&(a=R(2),K("mat-sort-header",a.IssueFieldType.ASSIGNEE),E(),J((a.options.modes==null?null:a.options.modes.assignee)==="avatar-if-open"?1:2))},Gab=function(a,b){a&1&&N(0,"b-user-image",37);a&2&&K("email",b)},Hab=function(a){a&1&&I(0,Gab,1,1,"b-user-image",37);if(a&2){var b;a=R();var c=R(4);J((b=c.getAssigneeString(a))?0:-1,b)}},Iab=function(a,b){a&1&&I(0,Hab,1,1);a&2&&(a=R(4),J(a.isOpen(b)?0:-1))},Jab=function(a){a&1&&(I(0,Iab,1,1),
W(1,"async"));if(a&2){var b;a=R().$implicit;J((b=X(1,1,a.issue$))?0:-1,b)}},Kab=function(a){a&1&&(N(0,"b-issue-assignee-cell",36),W(1,"async"));a&2&&(a=R().$implicit,K("issue",X(1,1,a.issue$)))},Lab=function(a){a&1&&(L(0,"td",30),I(1,Jab,2,3)(2,Kab,2,3,"b-issue-assignee-cell",36),M());a&2&&(a=R(2),E(),J((a.options.modes==null?null:a.options.modes.assignee)==="avatar-if-open"?1:2))},Mab=function(a){a&1&&(L(0,"th",35),U(1),M());a&2&&(a=R(2),K("mat-sort-header",a.IssueFieldType.REPORTER),E(),V(" ",a.getDisplayName(a.IssueFieldType.REPORTER),
" "))},Nab=function(a,b){a&1&&(L(0,"td",30),N(1,"b-issue-reporter-cell",36),W(2,"async"),M());a&2&&(a=b.$implicit,E(),K("issue",X(2,1,a.issue$)))},Oab=function(a){a&1&&(L(0,"th",38),U(1),M());a&2&&(a=R(2),K("mat-sort-header",a.IssueFieldType.PRIORITY),E(),V(" ",a.getDisplayName(a.IssueFieldType.PRIORITY)," "))},Pab=function(a){a&1&&N(0,"b-issue-priority-display",39);a&2&&(R(),a=Yj(1),K("issuePriority",a==null?null:a.snapshot==null?null:a.snapshot[0]==null?null:a.snapshot[0].priority))},Qab=function(a,
b){a&1&&(L(0,"td",30),Wj(1),W(2,"async"),I(3,Pab,1,1,"b-issue-priority-display",39),M());a&2&&(a=b.$implicit,R(2),E(),Xj(X(2,1,a.issue$)),E(2),J(3))},Rab=function(a){a&1&&N(0,"th",40)},Sab=function(a){a&1&&(L(0,"td",30),N(1,"mat-icon",41),M())},Uab=function(a){a&1&&(L(0,"th",35),U(1),M());a&2&&(a=R(2),K("mat-sort-header",a.IssueFieldType.STATUS),E(),V(" ",a.getDisplayName(a.IssueFieldType.STATUS)," "))},Vab=function(a,b){a&1&&(L(0,"td",30),N(1,"b-issue-status-cell",36),W(2,"async"),M());a&2&&(a=b.$implicit,
E(),K("issue",X(2,1,a.issue$)))},Wab=function(a){a&1&&(L(0,"th",26),U(1),M());a&2&&(a=R(2),E(),V(" ",a.getDisplayName(a.IssueFieldType.TEAM)," "))},Xab=function(a,b){a&1&&(L(0,"td",30),N(1,"b-issue-team-cell",36),W(2,"async"),M());a&2&&(a=b.$implicit,E(),K("issue",X(2,1,a.issue$)))},Yab=function(a){a&1&&(L(0,"th",26),U(1),M());a&2&&(a=R(2),E(),V(" ",a.getDisplayName(a.IssueFieldType.DUPLICATE_COUNT)," "))},Zab=function(a){a&1&&U(0);if(a&2){a=R();var b;V(" ",(b=a.snapshot[0].duplicateIssueId==null?
null:a.snapshot[0].duplicateIssueId.length)!=null?b:0," ")}},$ab=function(a){a&1&&I(0,Zab,1,1);a&2&&(R(3),J(0))},abb=function(a,b){a&1&&(L(0,"td",30),I(1,$ab,1,1),W(2,"async"),M());if(a&2){var c;a=b.$implicit;E();J((c=X(2,1,a.issue$))?1:-1,c)}},bbb=function(a){a&1&&(L(0,"th",26),U(1),M());a&2&&(a=R(2),E(),V(" ",a.getDisplayName(a.IssueFieldType.VOTE_COUNT)," "))},cbb=function(a){a&1&&(L(0,"span",42),U(1),M());a&2&&(a=R(),K("title",zk("",a.aggregatedData==null?null:a.aggregatedData.voteCount," votes")),
E(),V(" ",a.aggregatedData==null?null:a.aggregatedData.voteCount," "))},dbb=function(a){a&1&&I(0,cbb,2,3,"span",42);a&2&&(R(3),J(0))},ebb=function(a,b){a&1&&(L(0,"td",30),I(1,dbb,1,1),W(2,"async"),M());if(a&2){var c;a=b.$implicit;E();J((c=X(2,1,a.issue$))?1:-1,c)}},fbb=function(a){a&1&&(L(0,"th",26),U(1),M());a&2&&(a=R(2),E(),V(" ",a.getDisplayName(a.IssueFieldType.SEVEN_DAY_VIEW_COUNT)," "))},gbb=function(a){a&1&&(L(0,"span",42),U(1),M());a&2&&(a=R(),K("title",zk("",a.userActivityStats==null?null:
a.userActivityStats.sevenDayViewCount," views in last 7 days")),E(),V(" ",a.userActivityStats==null?null:a.userActivityStats.sevenDayViewCount," "))},hbb=function(a){a&1&&I(0,gbb,2,3,"span",42);a&2&&(R(3),J(0))},ibb=function(a,b){a&1&&(L(0,"td",30),I(1,hbb,1,1),W(2,"async"),M());if(a&2){var c;a=b.$implicit;E();J((c=X(2,1,a.issue$))?1:-1,c)}},jbb=function(a){a&1&&(L(0,"th",43),U(1),M());a&2&&(a=R(2),K("mat-sort-header",a.IssueFieldType.CREATED_TIME),E(),V(" ",a.getDisplayName(a.IssueFieldType.CREATED_TIME),
" "))},kbb=function(a,b){a&1&&(L(0,"td",30),N(1,"b-issue-created-time-cell",44),W(2,"async"),M());if(a&2){a=b.$implicit;b=R(2);E();var c;K("issue",X(2,2,a.issue$))("mode",(c=b.options.modes==null?null:b.options.modes.createdTime)!=null?c:b.DEFAULT_DATETIME_MODE)}},lbb=function(a){a&1&&(L(0,"th",43),U(1),M());a&2&&(a=R(2),K("mat-sort-header",a.IssueFieldType.MODIFIED_TIME),E(),V(" ",a.getDisplayName(a.IssueFieldType.MODIFIED_TIME)," "))},mbb=function(a,b){a&1&&N(0,"b-formatted-date-time",45);if(a&
2){a=R(3);var c;K("timestamp",b/1E3)("mode",(c=a.options.modes==null?null:a.options.modes.modifiedTime)!=null?c:a.DEFAULT_DATETIME_MODE)("paddingLeftPx",0)}},nbb=function(a,b){a&1&&(L(0,"td",30),Wj(1),W(2,"async"),I(3,mbb,1,3,"b-formatted-date-time",45),M());if(a&2){var c;a=b.$implicit;R(2);a=X(2,1,a.issue$);E(3);J((c=a==null?null:a.aggregatedData==null?null:a.aggregatedData.modifiedTimeMicros)?3:-1,c)}},obb=function(a){a&1&&(L(0,"th",46),U(1),M());a&2&&(a=R(2),K("mat-sort-header",a.IssueFieldType.RELATIVE_MODIFIED_TIME),
E(),V(" ",a.getDisplayName(a.IssueFieldType.RELATIVE_MODIFIED_TIME)," "))},pbb=function(a,b){a&1&&N(0,"b-formatted-date-time",45);a&2&&K("timestamp",b/1E3)("mode","relativepasttiny")("paddingLeftPx",4)},qbb=function(a,b){a&1&&(L(0,"td",47),Wj(1),W(2,"async"),I(3,pbb,1,3,"b-formatted-date-time",45),M());if(a&2){var c;a=b.$implicit;R(2);a=X(2,1,a.issue$);E(3);J((c=a==null?null:a.aggregatedData==null?null:a.aggregatedData.modifiedTimeMicros)?3:-1,c)}},rbb=function(a){a&1&&(L(0,"th",48),U(1),M());a&2&&
(a=R(2),E(),V(" ",a.getDisplayName(a.IssueFieldType.TRIAGER)," "))},sbb=function(a){a&1&&N(0,"b-issue-triager-cell",36);a&2&&(a=R(),K("issue",a))},tbb=function(a){a&1&&I(0,sbb,1,1,"b-issue-triager-cell",36);a&2&&(R(3),J(0))},ubb=function(a,b){a&1&&(L(0,"td",47),I(1,tbb,1,1),W(2,"async"),M());if(a&2){var c;a=b.$implicit;E();J((c=X(2,1,a.issue$))?1:-1,c)}},vbb=function(a){a&1&&(L(0,"th",26),U(1),M());a&2&&(a=R(2),E(),tk(a.getDisplayName(a.IssueFieldType.ALERTS)))},wbb=function(a){a&1&&N(0,"b-issue-alerts-cell",
50);if(a&2){a=R();var b=R(4);K("alerts",b.alerts)("issue",a)}},xbb=function(a){a&1&&I(0,wbb,1,2,"b-issue-alerts-cell",50);a&2&&(R(4),J(0))},ybb=function(a){a&1&&(I(0,xbb,1,1),W(1,"async"));if(a&2){var b;a=R().$implicit;J((b=X(1,1,a.issue$))?0:-1,b)}},zbb=function(a){a&1&&N(0,"b-signal-chip",49)},Abb=function(a,b){a&1&&(L(0,"td",47),I(1,ybb,2,3)(2,zbb,1,0,"b-signal-chip",49),M());a&2&&(a=b.$implicit,E(),J(a.issueIds.length===1?1:2))},Bbb=function(a){a&1&&(L(0,"th",51),U(1),M());a&2&&(a=R(2),K("mat-sort-header",
a.IssueFieldType.TIMEFRAME),E(),V(" ",a.getDisplayName(a.IssueFieldType.TIMEFRAME)," "))},Cbb=function(a,b){a&1&&(L(0,"td",30),N(1,"issue-timeframe",52),W(2,"async"),M());a&2&&(a=b.$implicit,E(),K("issue",X(2,2,a.issue$))("showIcon",!1))},Dbb=function(a){a&1&&(L(0,"th",43),U(1),M());a&2&&(a=R(2),K("mat-sort-header",a.IssueFieldType.PROGRESS),E(),V(" ",a.getDisplayName(a.IssueFieldType.PROGRESS)," "))},Ebb=function(a,b){a&1&&(L(0,"td",30),N(1,"progress-pie",36),W(2,"async"),M());a&2&&(a=b.$implicit,
E(),K("issue",X(2,1,a.issue$)))},Fbb=function(a){a&1&&N(0,"th",26)},Gbb=function(a,b){if(a&1){var c=y();L(0,"td",30)(1,"b-actions-menu",53);Q("click",function(f){z(c);return B(f.stopPropagation())});M()()}if(a&2){a=b.$implicit;b=R(2);E();var d,e;K("buttonLabel",(d=b.options.menu==null?null:b.options.menu.buttonLabel)!=null?d:b.DEFAULT_MENU_OPTIONS.buttonLabel)("buttonIcon",(e=b.options.menu==null?null:b.options.menu.buttonIcon)!=null?e:b.DEFAULT_MENU_OPTIONS.buttonIcon)("menuItems",b.getMenuItems(a.issueIds[0]))}},
Hbb=function(a){a&1&&(L(0,"th",26),U(1),M());a&2&&(a=R(2),E(),V(" ",a.getDisplayName(a.IssueFieldType.COMPONENT_PATH)," "))},Ibb=function(a,b){a&1&&(L(0,"td",30),N(1,"b-issue-component-name-cell",36),W(2,"async"),M());a&2&&(a=b.$implicit,E(),K("issue",X(2,1,a.issue$)))},Jbb=function(a){a&1&&(L(0,"th",26),U(1),M());a&2&&(a=R(2),E(),V(" ",a.getDisplayName(a.IssueFieldType.ENRICHMENT_CATEGORIES)," "))},Kbb=function(a,b){a&1&&(L(0,"td",30),N(1,"b-enrichment-categories-cell",54),M());a&2&&(a=b.$implicit,
b=R(2),E(),K("enrichmentCategoryNames",b.enrichmentCategoriesFunction(a.issueIds[0])))},Lbb=function(a){a&1&&(L(0,"th",26)(1,"span"),U(2),M()());if(a&2){a=R().$implicit;var b=R(2);E(2);V(" ",b.getCustomFieldName(a)," ")}},Mbb=function(a){a&1&&(L(0,"span"),U(1),M());if(a&2){a=R();var b=R(2).$implicit,c=R(2);E();V(" ",c.getCustomFieldValue(a,b)," ")}},Nbb=function(a){a&1&&I(0,Mbb,2,1,"span");a&2&&(R(4),J(0))},Obb=function(a,b){a&1&&(L(0,"td",30),I(1,Nbb,1,1),W(2,"async"),M());if(a&2){var c;a=b.$implicit;
E();J((c=X(2,1,a.issue$))?1:-1,c)}},Pbb=function(a,b){a&1&&(Sj(0,8),G(1,Lbb,3,1,"th",5)(2,Obb,3,3,"td",9),Tj());a&2&&(a=b.$implicit,b=R(2),K("matColumnDef",Ak("",b.IssueFieldType.CUSTOM_FIELD,"-",a)))},Qbb=function(a){a&1&&N(0,"tr",55)},Sbb=function(a,b){if(a&1){var c=y();L(0,"tr",56,0);W(2,"async");Q("click",function(d){z(c);var e=T(1),f=R(2);return B(Rbb(f,d,e))})("mouseup",function(d){z(c);var e=T(1),f=R(2);return B(Rbb(f,d,e))})("focusin",function(){var d=z(c).$implicit,e=R(2);return B(e.focusManager==
null?null:Uq(e.focusManager,d))})("keydown",function(d){var e=z(c).$implicit,f=R(2);return B(f.onRowKeydown(e,d))});M()}a&2&&(a=b.$implicit,b=R(2),rk("closed",b.options.deEmphasizeClosedIssues&&b.isClosed(X(2,5,a.issue$)))("active",b.options.activeRowMode===b.ActiveRowMode.REMAIN_ACTIVE&&b.idsToString(b.focusManager==null?null:b.focusManager.activeItem==null?null:b.focusManager.activeItem.row==null?null:b.focusManager.activeItem.row.issueIds)===b.idsToString(a.issueIds)),K("row",a))},Tbb=function(a,
b){if(a&1){var c=y();L(0,"tr",56,0);Q("click",function(d){z(c);var e=T(1),f=R(2);return B(Rbb(f,d,e))})("mouseup",function(d){z(c);var e=T(1),f=R(2);return B(Rbb(f,d,e))})("focusin",function(){var d=z(c).$implicit,e=R(2);return B(e.focusManager==null?null:Uq(e.focusManager,d))})("keydown",function(d){var e=z(c).$implicit,f=R(2);return B(f.onRowKeydown(e,d))});M()}a&2&&(a=b.$implicit,b=R(2),rk("active",b.options.activeRowMode===b.ActiveRowMode.REMAIN_ACTIVE&&b.idsToString(b.focusManager==null?null:
b.focusManager.activeItem==null?null:b.focusManager.activeItem.row==null?null:b.focusManager.activeItem.row.issueIds)===b.idsToString(a.issueIds)),K("row",a))},Vbb=function(a,b){if(a&1){var c=y();L(0,"table",3);W(1,"async");W(2,"async");Q("matSortChange",function(h){z(c);var k=R();return B(k.onSortChange(h))});Sj(3,4);G(4,kab,1,0,"th",5)(5,lab,1,0,"td",6);Tj();Sj(6,7);G(7,nab,3,0,"th",5)(8,oab,1,0,"td",6);Tj();Sj(9,8);G(10,pab,2,0,"th",5)(11,rab,2,1,"td",9);Tj();Sj(12,10);G(13,tab,2,2,"th",5)(14,
uab,2,3,"td",9);Tj();Sj(15,11);G(16,vab,2,2,"th",5)(17,wab,1,0,"td",9);Tj();Sj(18,8);G(19,xab,2,1,"th",5)(20,yab,5,15,"td",9);Tj();Sj(21,12);G(22,zab,2,1,"th",5)(23,Aab,4,4,"td",9);Tj();Sj(24,8);G(25,Bab,2,2,"th",13)(26,Cab,3,3,"td",9);Tj();Sj(27,8);G(28,Fab,3,2,"th",13)(29,Lab,3,1,"td",9);Tj();Sj(30,8);G(31,Mab,2,2,"th",13)(32,Nab,3,3,"td",9);Tj();Sj(33,8);G(34,Oab,2,2,"th",14)(35,Qab,4,4,"td",9);Tj();Sj(36,15);G(37,Rab,1,0,"th",16)(38,Sab,2,0,"td",9);Tj();Sj(39,8);G(40,Uab,2,2,"th",13)(41,Vab,3,
3,"td",9);Tj();Sj(42,8);G(43,Wab,2,1,"th",5)(44,Xab,3,3,"td",9);Tj();Sj(45,8);G(46,Yab,2,1,"th",5)(47,abb,3,3,"td",9);Tj();Sj(48,8);G(49,bbb,2,1,"th",5)(50,ebb,3,3,"td",9);Tj();Sj(51,8);G(52,fbb,2,1,"th",5)(53,ibb,3,3,"td",9);Tj();Sj(54,8);G(55,jbb,2,2,"th",17)(56,kbb,3,4,"td",9);Tj();Sj(57,8);G(58,lbb,2,2,"th",17)(59,nbb,4,3,"td",9);Tj();Sj(60,8);G(61,obb,2,2,"th",18)(62,qbb,4,3,"td",19);Tj();Sj(63,8);G(64,rbb,2,1,"th",20)(65,ubb,3,3,"td",19);Tj();Sj(66,8);G(67,vbb,2,1,"th",5)(68,Abb,3,1,"td",19);
Tj();Sj(69,8);G(70,Bbb,2,2,"th",21)(71,Cbb,3,4,"td",9);Tj();Sj(72,8);G(73,Dbb,2,2,"th",17)(74,Ebb,3,3,"td",9);Tj();Sj(75,22);G(76,Fbb,1,0,"th",5)(77,Gbb,2,3,"td",9);Tj();Sj(78,8);G(79,Hbb,2,1,"th",5)(80,Ibb,3,3,"td",9);Tj();Sj(81,8);G(82,Jbb,2,1,"th",5)(83,Kbb,2,1,"td",9);Tj();Mj(84,Pbb,3,3,"ng-container",8,Lj);G(86,Qbb,1,0,"tr",23)(87,Sbb,3,7,"tr",24)(88,Tbb,2,3,"tr",25);M()}if(a&2){var d,e;a=R();rk("hide-header",a.options.hideColumnHeaders);var f;K("dataSource",b)("trackBy",a.trackBy)("matSortDisabled",
a.options.sortMode===a.SortMode.DISABLED)("matSortActive",(f=(d=X(1,32,a.activeSort$))==null?null:d.column)!=null?f:"")("matSortDirection",a.toMatSortDirection((e=X(2,34,a.activeSort$))==null?null:e.direction));E(9);K("matColumnDef",a.IssueFieldType.ISSUE_ID);E(9);K("matColumnDef",a.IssueFieldType.TITLE);E(6);K("matColumnDef",a.IssueFieldType.TYPE);E(3);K("matColumnDef",a.IssueFieldType.ASSIGNEE);E(3);K("matColumnDef",a.IssueFieldType.REPORTER);E(3);K("matColumnDef",a.IssueFieldType.PRIORITY);E(6);
K("matColumnDef",a.IssueFieldType.STATUS);E(3);K("matColumnDef",a.IssueFieldType.TEAM);E(3);K("matColumnDef",a.IssueFieldType.DUPLICATE_COUNT);E(3);K("matColumnDef",a.IssueFieldType.VOTE_COUNT);E(3);K("matColumnDef",a.IssueFieldType.SEVEN_DAY_VIEW_COUNT);E(3);K("matColumnDef",a.IssueFieldType.CREATED_TIME);E(3);K("matColumnDef",a.IssueFieldType.MODIFIED_TIME);E(3);K("matColumnDef",a.IssueFieldType.RELATIVE_MODIFIED_TIME);E(3);K("matColumnDef",a.IssueFieldType.TRIAGER);E(3);K("matColumnDef",a.IssueFieldType.ALERTS);
E(3);K("matColumnDef",a.IssueFieldType.TIMEFRAME);E(3);K("matColumnDef",a.IssueFieldType.PROGRESS);E(6);K("matColumnDef",a.IssueFieldType.COMPONENT_PATH);E(3);K("matColumnDef",a.IssueFieldType.ENRICHMENT_CATEGORIES);E(3);Nj(a.customFieldIds);E(2);K("matHeaderRowDef",a.tableColumns);E();K("matRowDefColumns",a.tableColumns)("matRowDefWhen",a.isSingleIssue);E();K("matRowDefColumns",Ubb(a))("matRowDefWhen",a.isMultiIssue)}},Wbb=function(a){if(a&1){var b=y();L(0,"button",58);Q("click",function(){z(b);
var c=R(5);return B(c.rowLimit$.next(void 0))});U(1," Show more ");M()}},Xbb=function(a){a&1&&I(0,Wbb,2,0,"button",57);if(a&2){a=R();var b=R();J(a.length<b?0:-1)}},Ybb=function(a){if(a&1){var b=y();L(0,"button",58);Q("click",function(){z(b);var c=R(5);return B(c.rowLimit$.next(c.options.rowLimit))});U(1," Show less ");M()}},Zbb=function(a){a&1&&I(0,Ybb,2,0,"button",57);if(a&2){a=R();var b=R(3);J(a.length>b.options.rowLimit?0:-1)}},$bb=function(a){a&1&&(I(0,Xbb,1,1),W(1,"async"),Jj(2,Zbb,1,1));if(a&
2){var b;a=R(3);J((b=X(1,1,a.rowLimit$))?0:2,b)}},acb=function(a){a&1&&(I(0,$bb,3,3),W(1,"async"));if(a&2){var b;a=R(2);J((b=X(1,1,a.rows$))?0:-1,b)}},bcb=function(a){a&1&&(L(0,"div",2),I(1,acb,2,3),W(2,"async"),M());if(a&2){var b;a=R();E();J((b=X(2,1,a.rowCountAfterFilters$))?1:-1,b)}},ccb=function(a,b){return a===b?!0:a&&b?oCa(a.issueIds,b.issueIds):!1},dcb=function(a){var b;return(b=a==null?void 0:a.join(";"))!=null?b:""},gg=function(a){return tp(a.issue$)},ecb=function(a,b){if(!b)return a;switch(b.column){case "STATUS":return $ha()(a,
b.direction);case "ASSIGNEE":return aia()(a,b.direction);case "REPORTER":return cia()(a,b.direction);case "TYPE":return bia()(a,b.direction);case "CREATED_TIME":return dia(gg)(a,b.direction);case "MODIFIED_TIME":case "RELATIVE_MODIFIED_TIME":return eia(gg)(a,b.direction);case "PRIORITY":return jia(gg)(a,b.direction);case "PROGRESS":return kia()(a,b.direction);default:return console.warn("b-issues-table sort by '"+b.column+"' not implemented"),a}},fcb=function(a,b){var c=a.views24h;var d=a.views7d;
a=a.views30d;if($f(c[b],c))return{title:"Trending 24h",tooltip:c[b]+" Views in 24 hours",cssClass:"cyan"};if($f(d[b],d))return{title:"Trending 7d",tooltip:d[b]+" Views in 7 days",cssClass:"purple"};if($f(a[b],a))return{title:"Trending 30d",tooltip:a[b]+" Views in the last 30 days",cssClass:"blue"}},hcb=function(a,b){if(a&1){var c=y();L(0,"b-issues-table",1);Q("issueNavigated",function(d){z(c);var e=R();return B(gcb(e,e.EventType.EVENT_TYPE_GO_TO_ISSUE,d,e.EnrichmentFeedbackType.GO_TO_ISSUE))});M()}a&
2&&(a=R(),K("issueIds",b.issueIds)("tableColumns",b.tableColumns)("options",a.tableOptions)("enrichmentCategoriesFunction",b.categoriesFunction)("menuItemFactory",a.menuItemFactory))},icb=function(a){a&1&&(L(0,"div"),N(1,"b-spinner"),M())},ncb=function(a){var b=yr(a.resource);if(!b)return[];var c=[],d=0;switch(a.type){case "ISSUE_DEDUPLICATION":var e=yr(a.recommendation);if(!e)break;c.push({issueId:b,actionKey:d++,fieldName:"duplicateOfIssueId",value:e,actionType:"ADD"});break;case "HOTLIST":e=jcb(a.recommendation);
if(!e)break;c.push({issueId:b,actionKey:d++,fieldName:"hotlists",value:e,actionType:"ADD"});break;case "NEEDS_INFO":case "COMPONENT_ROUTING":case "ANY_ISSUE_EDIT":if((e=a.content)==null?0:e.issueModification)e=kcb(a.content.issueModification),c.push.apply(c,p(e.map(function(H){return Object.assign({},{issueId:b,actionKey:d++},H)})));break;case "ISSUE_DEDUPLICATION_BATCH":var f,h;e=(f=a.content)==null?void 0:(h=f.issueDeduplicationBatch)==null?void 0:h.recommendedCanonicalIssue;if(!e||!e.issueId)break;
var k,q,u;f=l((u=(k=a.content)==null?void 0:(q=k.issueDeduplicationBatch)==null?void 0:q.entries)!=null?u:[]);for(k=f.next();!k.done;k=f.next()){k=k.value;if(!k.issue.issueId)break;k.issue.issueId!==e.issueId&&c.push({issueId:k.issue.issueId,actionKey:d++,fieldName:"duplicateOfIssueId",value:e.issueId,actionType:"ADD"})}break;case "TYPE_UNSPECIFIED":return[]}var A=lcb[a.type],D=mcb[a.type];return c.map(function(H){A.has(H.fieldName)&&(H.allowEdit=!0);D.has(H.fieldName)&&(H.allowExclude=!0);return H})},
kcb=function(a){var b=[];b.push.apply(b,p(ocb(a.addState,a.addMask,!0)));b.push.apply(b,p(ocb(a.removeState,a.removeMask,!1)));a.comment&&b.push({fieldName:"comment",value:a.comment.unlinkifiedComment,formattingMode:a.comment.formattingMode});return b},ocb=function(a,b,c){var d=[];b=l(b);for(var e=b.next();!e.done;e=b.next())switch(e=e.value,e){case "assignee":var f=void 0;d.push({fieldName:e,value:Jd((f=a)==null?void 0:f.assigneeUser),actionType:c?"ADD":"REMOVE"});break;case "attachments":break;
case "blockedByIssueId":var h=f=void 0;d.push({fieldName:e,value:(f=a)==null?void 0:(h=f.blockedByIssueId)==null?void 0:h.join(","),actionType:c?"ADD":"REMOVE"});break;case "blockingIssueId":h=f=void 0;d.push({fieldName:e,value:(f=a)==null?void 0:(h=f.blockingIssueId)==null?void 0:h.join(","),actionType:c?"ADD":"REMOVE"});break;case "ccs":h=f=void 0;d.push({fieldName:e,value:(f=a)==null?void 0:(h=f.ccUsers)==null?void 0:h.map(Jd).join(","),actionType:c?"ADD":"REMOVE"});break;case "changelists":h=
f=void 0;d.push({fieldName:e,value:(f=a)==null?void 0:(h=f.changelist)==null?void 0:h.join(","),actionType:c?"ADD":"REMOVE"});break;case "collaborators":h=f=void 0;d.push({fieldName:e,value:(f=a)==null?void 0:(h=f.collaboratorsUsers)==null?void 0:h.map(Jd).join(","),actionType:c?"ADD":"REMOVE"});break;case "comment":break;case "componentId":c&&(f=void 0,d.push({fieldName:e,value:((f=a)==null?0:f.componentId)?String(a.componentId):void 0,actionType:"ADD"}));break;case "customField":f=void 0;if((f=
a)==null?0:f.customField)for(f=l(a.customField),h=f.next();!h.done;h=f.next())d.push({fieldName:e,customFieldValue:h.value,actionType:c?"ADD":"REMOVE"});break;case "deletionReason":f=void 0;d.push({fieldName:e,value:((f=a)==null?void 0:f.deletionReason)||void 0,actionType:c?"ADD":"REMOVE"});break;case "duplicateOfIssueId":f=void 0;d.push({fieldName:e,value:((f=a)==null?void 0:f.duplicateOfIssueId)||void 0,actionType:c?"ADD":"REMOVE"});break;case "effortEstimate":h=f=void 0;d.push({fieldName:e,value:((f=
a)==null?void 0:(h=f.effort)==null?void 0:h.estimate)||void 0,actionType:c?"ADD":"REMOVE"});break;case "foundInVersion":h=f=void 0;d.push({fieldName:e,value:(f=a)==null?void 0:(h=f.foundInVersion)==null?void 0:h.join(","),actionType:c?"ADD":"REMOVE"});break;case "gerritChanges":h=f=void 0;d.push({fieldName:e,gerritChangeValue:(h=(f=a)==null?void 0:f.gerritChanges)!=null?h:void 0,actionType:c?"ADD":"REMOVE"});break;case "hotlists":h=f=void 0;d.push({fieldName:e,value:(f=a)==null?void 0:(h=f.hotlistId)==
null?void 0:h.join(","),actionType:c?"ADD":"REMOVE"});break;case "inProd":f=void 0;d.push({fieldName:e,value:((f=a)==null?0:f.inProd)?"true":"false",actionType:c?"ADD":"REMOVE"});break;case "isArchived":f=void 0;d.push({fieldName:e,value:((f=a)==null?0:f.isArchived)?"true":"false",actionType:c?"ADD":"REMOVE"});break;case "isDeleted":f=void 0;d.push({fieldName:e,value:((f=a)==null?0:f.isDeleted)?"true":"false",actionType:c?"ADD":"REMOVE"});break;case "parentId":break;case "priority":c&&(h=f=void 0,
d.push({fieldName:e,value:(h=(f=a)==null?void 0:f.priority)!=null?h:void 0,actionType:"ADD"}));break;case "readState":break;case "reporter":c&&(f=void 0,d.push({fieldName:e,value:Jd((f=a)==null?void 0:f.reporterUser),actionType:"ADD"}));break;case "severity":c&&(h=f=void 0,d.push({fieldName:e,value:(h=(f=a)==null?void 0:f.severity)!=null?h:void 0,actionType:"ADD"}));break;case "sloEndTime":h=f=void 0;d.push({fieldName:e,value:((f=a)==null?0:(h=f.sloEndTime)==null?0:h.seconds)?String(a.sloEndTime.seconds):
void 0,actionType:c?"ADD":"REMOVE"});break;case "sloSnoozeType":h=f=void 0;d.push({fieldName:e,value:(h=(f=a)==null?void 0:f.sloSnoozeType)!=null?h:void 0,actionType:c?"ADD":"REMOVE"});break;case "sloStartTime":h=f=void 0;d.push({fieldName:e,value:((f=a)==null?0:(h=f.sloStartTime)==null?0:h.seconds)?String(a.sloStartTime.seconds):void 0,actionType:c?"ADD":"REMOVE"});break;case "staffing":h=f=void 0;d.push({fieldName:e,staffingValue:(h=(f=a)==null?void 0:f.staffing)!=null?h:void 0,actionType:c?"ADD":
"REMOVE"});break;case "status":c&&(h=f=void 0,d.push({fieldName:e,value:(h=(f=a)==null?void 0:f.status)!=null?h:void 0,actionType:"ADD"}));break;case "targetedToVersion":h=f=void 0;d.push({fieldName:e,value:(f=a)==null?void 0:(h=f.targetedToVersion)==null?void 0:h.join(","),actionType:c?"ADD":"REMOVE"});break;case "title":c&&(h=f=void 0,d.push({fieldName:e,value:(h=(f=a)==null?void 0:f.title)!=null?h:"",actionType:"ADD"}));break;case "type":c&&(h=f=void 0,d.push({fieldName:e,value:(h=(f=a)==null?
void 0:f.type)!=null?h:void 0,actionType:"ADD"}));break;case "verifiedInVersion":h=f=void 0;d.push({fieldName:e,value:(f=a)==null?void 0:(h=f.verifiedInVersion)==null?void 0:h.join(","),actionType:c?"ADD":"REMOVE"});break;case "verifier":f=void 0;d.push({fieldName:e,value:((f=a)==null?0:f.verifierUser)?Jd(a.verifierUser):void 0,actionType:c?"ADD":"REMOVE"});break;default:qb(e)}return d},rcb=function(a){var b={addMask:[],removeMask:[],addState:wia(),removeState:wia()};a=l(a);for(var c=a.next();!c.done;c=
a.next())if(c=c.value,pcb(c))if(c.actionType==="REMOVE")qcb(c,b.removeState),b.removeMask.push(c.fieldName);else{if(c.actionType!=="ADD"&&c.actionType!=="ACTION_TYPE_UNSPECIFIED"&&c.actionType)throw Error("Ke");qcb(c,b.addState);b.addMask.push(c.fieldName)}return b},qcb=function(a,b){switch(a.fieldName){case "assignee":b.assigneeUser=Kd(a.value);break;case "attachments":break;case "blockedByIssueId":var c,d;b.blockedByIssueId=(d=(c=a.value)==null?void 0:c.split(",").filter(fe))!=null?d:[];break;case "blockingIssueId":var e,
f;b.blockingIssueId=(f=(e=a.value)==null?void 0:e.split(",").filter(fe))!=null?f:[];break;case "ccs":var h,k;b.ccUsers=(k=(h=a.value)==null?void 0:h.split(",").map(Kd).filter(fe))!=null?k:[];break;case "changelists":var q,u;b.changelist=(u=(q=a.value)==null?void 0:q.split(",").filter(fe))!=null?u:[];break;case "collaborators":var A,D;b.collaboratorsUsers=(D=(A=a.value)==null?void 0:A.split(",").map(Kd).filter(fe))!=null?D:[];break;case "comment":break;case "componentId":b.componentId=a.value||null;
break;case "customField":var H;b.customField=(H=b.customField)!=null?H:[];a.customFieldValue&&b.customField.push(a.customFieldValue);break;case "deletionReason":var O;b.deletionReason=(O=a.value)!=null?O:null;break;case "duplicateOfIssueId":b.duplicateOfIssueId=a.value||null;break;case "effortEstimate":var P;b.effort=(P=b.effort)!=null?P:{estimate:void 0};b.effort.estimate=a.value||void 0;break;case "foundInVersion":var S,aa;b.foundInVersion=(aa=(S=a.value)==null?void 0:S.split(",").filter(fe))!=
null?aa:[];break;case "gerritChanges":var ia;b.gerritChanges=(ia=a.gerritChangeValue)!=null?ia:[];break;case "hotlists":var la,ya;b.hotlistId=(ya=(la=a.value)==null?void 0:la.split(",").map(Number).filter(fe))!=null?ya:[];break;case "inProd":b.inProd=a.value==="true";break;case "isArchived":b.isArchived=a.value==="true";break;case "isDeleted":b.isDeleted=a.value==="true";break;case "parentId":break;case "priority":var Ia;b.priority=(Ia=a.value)!=null?Ia:null;break;case "readState":break;case "reporter":b.reporterUser=
Kd(a.value);break;case "severity":var Pa;b.severity=(Pa=a.value)!=null?Pa:null;break;case "sloEndTime":b.sloEndTime=a.value?Afa(Number(a.value)*1E3):null;break;case "sloSnoozeType":var gb;b.sloSnoozeType=(gb=a.value)!=null?gb:null;break;case "sloStartTime":b.sloStartTime=a.value?Afa(Number(a.value)*1E3):null;break;case "staffing":var ua;b.staffing=(ua=a.staffingValue)!=null?ua:null;break;case "status":var Ea;b.status=(Ea=a.value)!=null?Ea:null;break;case "targetedToVersion":var Ha,mb;b.targetedToVersion=
(mb=(Ha=a.value)==null?void 0:Ha.split(",").filter(fe))!=null?mb:[];break;case "title":b.title=a.value||"";break;case "type":var nb;b.type=(nb=a.value)!=null?nb:null;break;case "verifiedInVersion":var Lb,bc;b.verifiedInVersion=(bc=(Lb=a.value)==null?void 0:Lb.split(",").filter(fe))!=null?bc:[];break;case "verifier":b.verifierUser=Kd(a.value);break;default:qb(a.fieldName)}},pcb=function(a){var b=a.value!=null&&a.value!==""||a.customFieldValue!=null||a.staffingValue!=null||a.formattingMode!=null||a.gerritChangeValue!=
null;return scb.has(a.fieldName)&&(a.actionType==="REMOVE"||!b)||a.actionType==="ADD"&&!b||tcb.has(a.fieldName)&&!b?!1:!0},ucb=function(a){switch(a.type){case "ISSUE_DEDUPLICATION":return"canonical-recommendation";case "HOTLIST":return"hotlist-recommendation";case "ISSUE_DEDUPLICATION_BATCH":return"canonical-batch-recommendation";case "NEEDS_INFO":return"needs-info-recommendation";case "ANY_ISSUE_EDIT":return"any-issue-edit-recommendation";default:return a.type.toLowerCase()+"-recommendation"}},vcb=
function(a){a&1&&N(0,"b-issue-card",13,1);if(a&2){a=T(1);var b=R(2);K("onedevIsHovercardReady",a.init)("issueId",b)}},wcb=function(a){a&1&&(L(0,"span",11),U(1,"CURRENT ISSUE"),M())},xcb=function(a,b){a&1&&U(0);a&2&&uk(" ",b.length," comment",b.length===1?"":"s"," ")},ycb=function(a,b){a&1&&U(0);a&2&&uk(" \u00b7 ",b.length," dupe",b.length===1?"":"s"," ")},zcb=function(a,b){a&1&&(L(0,"div",5),N(1,"div",6)(2,"b-issue-id-cell",7),L(3,"a",8)(4,"span",9),U(5),M()(),L(6,"onedev-hovercard",null,0),G(8,vcb,
2,2,"b-issue-card",10),M(),I(9,wcb,2,0,"span",11),L(10,"div",12),I(11,xcb,1,2),W(12,"async"),I(13,ycb,1,2),W(14,"async"),U(15),M()());if(a&2){var c,d;a=T(7);var e=R(),f=R();E(2);K("id",e);E();K("href",f.getIssueLink(e),Ni);E();K("onedevHovercardTrigger",a);E();tk(b.snapshot[0].title);E(4);J(e===f.currentIssue.issueId?9:-1);E(2);J((c=X(12,9,f.canonicalComments$))?11:-1,c);E(2);J((d=X(14,11,f.canonicalDuplicates$))?13:-1,d);b=(b==null?null:b.aggregatedData==null?null:b.aggregatedData.voteCount)||0;
E(2);uk(" \u00b7 ",b>9999?"9999+":b," vote",b===1?"":"s"," ")}},Acb=function(a,b){a&1&&(I(0,zcb,16,13,"div",5),W(1,"async"));if(a&2){var c;a=R();J((c=X(1,1,a.issue$(b)))?0:-1,c)}},Bcb=function(a){a&1&&(L(0,"span",15),U(1," \u2b90 "),M())},Ccb=function(a){a&1&&N(0,"span",17)},Dcb=function(a){a&1&&N(0,"b-issue-card",13,3);if(a&2){a=T(1);var b=R();K("onedevIsHovercardReady",a.init)("issueId",b.issueId)}},Ecb=function(a){a&1&&(L(0,"span",11),U(1,"CURRENT ISSUE"),M())},Hcb=function(a,b){if(a&1){var c=
y();L(0,"div",14);I(1,Bcb,2,0,"span",15);L(2,"div",16);I(3,Ccb,1,0,"span",17);N(4,"mat-icon",18);M();N(5,"b-issue-id-cell",7);L(6,"a",19)(7,"span",20);U(8);M()();L(9,"onedev-hovercard",null,2);G(11,Dcb,2,2,"b-issue-card",10);M();I(12,Ecb,2,0,"span",11);L(13,"div",21)(14,"button",22);Q("click",function(){var f=z(c),h=R(2);return B(Fcb(h,f))});N(15,"mat-icon",23);M();L(16,"button",24);Q("click",function(){var f=z(c),h=R(2);return B(Gcb(h,f.issueId))});N(17,"mat-icon",25);M()()()}if(a&2){a=T(10);var d=
R().$index,e=R();E();J(d===0?1:-1);E(2);J(d!==0?3:-1);E(2);K("id",b.issueId);E();K("href",e.getIssueLink(b.issueId),Ni);E();K("onedevHovercardTrigger",a);E();tk(b.snapshot[0].title);E(4);J(b.issueId===e.currentIssue.issueId?12:-1);E(2);Hj("aria-label","Make "+b.snapshot[0].title+" the canonical issue");E(2);K("disabled",e.draftActions.length<2);Hj("aria-label","Remove "+b.snapshot[0].title)}},Icb=function(a,b){a&1&&(I(0,Hcb,18,10,"div",14),W(1,"async"));if(a&2){var c;a=b.$implicit;b=R();J((c=X(1,
1,b.issue$(a.issueId)))?0:-1,c)}},Jcb=function(a){if(a&1){var b=y();L(0,"div")(1,"button",26);Q("click",function(){z(b);R().showExpansionOption=!1;return B()});L(2,"span");U(3);M()()()}a&2&&(a=R(),E(),Hj("aria-label","View "+a.hiddenActionCount+" more issues"),E(2),V("View ",a.hiddenActionCount," more"))},Kcb=function(a){a&1&&Uj(0)},Ncb=function(a){if(a&1){var b=y();L(0,"div",1);Q("keydown",function(c){z(b);var d=R();return B(d.processKeydown(c))});L(1,"div",2);G(2,Kcb,1,0,"ng-container",3);M();L(3,
"div",4)(4,"button",5);Q("click",function(){z(b);var c=R();return B(Lcb(c))});U(5,"Save");M();L(6,"button",6);Q("click",function(){z(b);var c=R();return B(Mcb(c))});U(7,"Cancel");M()()()}a&2&&(a=R(),K("cdkTrapFocusAutoCapture",!0),E(2),K("ngTemplateOutlet",a.editorTemplate),E(2),K("disabled",a.saveDisabled()))},Ocb=function(a){if(a&1){var b=y();L(0,"input",4,2);Q("peoplekitAutocompleteSelectionChange",function(c){z(b);var d=R();return B(d.selectAutocomplete(c))});M()}a&2&&(a=R(),K("required",a.required)("peoplekitAutocompleteConfig",
a.mergedAutocompleteConfig)("peoplekitSearchSessionOptions",a.sessionOptions)("formControl",a.inputValue))},Pcb=function(a){a&1&&U(0);a&2&&(a=R(),V(" ",a.displayValueOverride," "))},Qcb=function(a){a&1&&Uj(0)},Scb=function(a){a&1&&G(0,Qcb,1,0,"ng-container",4);a&2&&(a=R(),K("ngTemplateOutlet",a.selectedUserTemplate)("ngTemplateOutletContext",Dk(2,Rcb,a.email)))},Tcb=function(a){a&1&&U(0);a&2&&(a=R(),V(" ",a.email," "))},Ucb=function(a){a&1&&(Gh(),L(0,"svg",5),N(1,"path",6),M())},Vcb=function(a){a&
1&&N(0,"b-user-membership-chip",3);if(a&2){a=R().$implicit;var b=R(),c;K("user",b.user)("email",a)("teamId",(c=b.teamId)!=null?c:"")("enableSmallChip",!0)}},Wcb=function(a,b){a&1&&I(0,Vcb,1,4,"b-user-membership-chip",3);a&2&&(a=b.$implicit,b=R(),J(a&&b.user?0:-1))},Xcb=function(a,b){return this.groupTrackBy(b)},Ycb=function(a){a&1&&N(0,"b-user-picker",12);if(a&2){R(2);a=Yj(3);R(2);var b=Yj(1),c=R();K("user",a)("teamId",c.getTeamId(b))("disabled",!0)}},Zcb=function(a){a&1&&(L(0,"span",13),U(1,"<none>"),
M())},$cb=function(a){a&1&&(I(0,Ycb,1,3,"b-user-picker",12)(1,Zcb,2,0,"span",13),L(2,"mat-icon",14),U(3," -> "),M());a&2&&(R(),a=Yj(3),J(a?0:1))},adb=function(a){a&1&&(L(0,"span",10),U(1,"Reporter"),M())},cdb=function(a){if(a&1){var b=y();L(0,"button",15);Q("click",function(){z(b);R();var f=T(6);return B(f.openPopOver())});N(1,"mat-icon",16);M();Uj(2,17)}if(a&2){a=R(3).$implicit;var c=Yj(0),d=R(),e=T(4);K("disabled",d.excludedActions.has(c.actionKey));E(2);K("ngTemplateOutlet",e)("ngTemplateOutletContext",
Dk(3,bdb,a))}},edb=function(a){if(a&1){var b=y();L(0,"span",7);U(1,"Assignee");M();L(2,"div",8);Wj(3);I(4,$cb,4,1);L(5,"b-user-picker",9,1);W(7,"emailToUser");Q("emailChange",function(h){z(b);R(2);var k=Yj(0),q=R();return B(ddb(q,k,h))});M();I(8,adb,2,0,"span",10);M();L(9,"div",11);I(10,cdb,3,5);M()}if(a&2){R(2);a=Yj(0);var c=Yj(1),d=R();E(3);var e=Xj(d.getAssignee(c)),f=e&&!a.value&&a.actionType===d.ActionType.REMOVE;E();J(f||a.value&&(e==null?null:e.emailAddress)!=a.value?4:-1);E();K("user",f?void 0:
a.value?X(7,8,a.value):e)("displayValueOverride",f?"<none>":"")("teamId",d.getTeamId(c))("disabled",!a.allowEdit||d.excludedActions.has(a.actionKey));E(3);J(a.value===d.userToLossyEmail(d.getReporter(c))?8:-1);E(2);J(a.allowEdit?10:-1)}},fdb=function(a){a&1&&(N(0,"b-edit-field",20),L(1,"mat-icon",14),U(2," -> "),M());if(a&2){R(3);a=Yj(1);var b=R(),c;K("type",b.FieldType.ENUM)("value",(c=b.getPriority(a))!=null?c:null)("choices",b.priorityChoices)("readonly",!0)}},hdb=function(a){if(a&1){var b=y();
L(0,"button",21);Q("click",function(f){z(b);R();var h=T(5);return B(pq(h,f,!0,!0))});N(1,"mat-icon",16);M();Uj(2,17)}if(a&2){a=R(3).$implicit;var c=Yj(0),d=R(),e=T(4);K("disabled",d.excludedActions.has(c.actionKey));E(2);K("ngTemplateOutlet",e)("ngTemplateOutletContext",Dk(3,gdb,a))}},idb=function(a){if(a&1){var b=y();L(0,"span",7);U(1,"Priority");M();L(2,"div",18);I(3,fdb,3,4);L(4,"b-edit-field",19,2);Q("valueChange",function(h){z(b);R(2);var k=Yj(0),q=R();return B(ddb(q,k,h!=null?h:q.IssuePriority.P2))});
M()();L(6,"div",11);I(7,hdb,3,5);M()}if(a&2){R(2);a=Yj(0);var c=Yj(1),d=R();c=d.getPriority(c);E(3);J(a.value&&c!==a.value?3:-1);E();var e,f;K("type",d.FieldType.ENUM)("value",(f=(e=a.value)!=null?e:c)!=null?f:null)("choices",d.priorityChoices)("readonly",!a.allowEdit);E(3);J(a.allowEdit?7:-1)}},ldb=function(a){if(a&1){var b=y();L(0,"button",24);Q("click",function(){z(b);R(4);var f=Yj(0),h=Yj(1),k=R();return B(jdb(k,f,h))});N(1,"mat-icon",16);M();Uj(2,17)}if(a&2){a=R(4).$implicit;var c=Yj(0),d=R(),
e=T(4);K("disabled",d.excludedActions.has(c.actionKey));E(2);K("ngTemplateOutlet",e)("ngTemplateOutletContext",Dk(3,kdb,a))}},mdb=function(a){a&1&&I(0,ldb,3,5);a&2&&(R(3),a=Yj(0),J(a.allowEdit?0:-1))},ndb=function(a){if(a&1){var b=y();L(0,"button",25);Q("click",function(){z(b);R(3);var c=Yj(0),d=R();d.dirtyCommentActions.add(c.actionKey);d.excludedActions.delete(c.actionKey);d.updateActionsToAccept();return B()});N(1,"mat-icon",26);U(2," to accept ");M()}},odb=function(a){a&1&&(L(0,"div",7),U(1,"Comment"),
M(),L(2,"div",18),N(3,"b-live-preview",22),W(4,"async"),M(),L(5,"div",11),I(6,mdb,1,1)(7,ndb,3,0,"button",23),M());if(a&2){R(2);a=Yj(0);var b=R();E(2);rk("unaccepted-comment",!b.dirtyCommentActions.has(a.actionKey)&&!b.includeCommentByDefault);E();var c,d;K("comment",a.value)("issueId",a.issueId)("audience",(c=X(4,9,b.formattingAudience$))!=null?c:void 0)("formattingMode",(d=a.formattingMode)!=null?d:b.FormattingMode.PLAIN);E(2);rk("unaccepted-comment",!b.dirtyCommentActions.has(a.actionKey)&&!b.includeCommentByDefault);
E();J(b.includeCommentByDefault||b.dirtyCommentActions.has(a.actionKey)?6:7)}},pdb=function(a){a&1&&(N(0,"b-component-breadcrumb-chip",28),L(1,"mat-icon",14),U(2," -> "),M());if(a&2){R(3);a=Yj(0);var b=Yj(1),c=R();K("issueId",a.issueId)("componentId",c.getComponentId(b))("compactMode",!0)("readOnly",!0)}},rdb=function(a){if(a&1){var b=y();L(0,"button",29);Q("click",function(){z(b);R();var f=T(5);f.editing=!0;f.cdr.markForCheck();return B()});N(1,"mat-icon",16);M();Uj(2,17)}if(a&2){a=R(3).$implicit;
var c=Yj(0),d=R(),e=T(4);K("disabled",d.excludedActions.has(c.actionKey));E(2);K("ngTemplateOutlet",e)("ngTemplateOutletContext",Dk(3,qdb,a))}},sdb=function(a){if(a&1){var b=y();L(0,"span",7);U(1,"Component");M();L(2,"div",18);I(3,pdb,3,4);L(4,"b-component-breadcrumb-chip",27,3);Q("componentChanged",function(d){z(b);R(2);var e=Yj(0),f=R();return B(ddb(f,e,d))});M()();L(6,"div",11);I(7,rdb,3,5);M()}if(a&2){R(2);a=Yj(0);var c=Yj(1);c=R().getComponentId(c);E(3);J(c!==a.value?3:-1);E();K("issueId",a.issueId)("componentId",
a.value)("compactMode",!0)("handleSave",!1)("showPickerOverlayAbove",!1)("readOnly",!0);E(3);J(a.allowEdit?7:-1)}},tdb=function(a){a&1&&(L(0,"mat-icon",31),U(1," + "),M(),N(2,"b-hotlist-chip",32));a&2&&(R(2),a=Yj(1),E(2),K("hotlist",a)("removable",!1))},udb=function(a){a&1&&I(0,tdb,3,2);a&2&&(R(),a=Yj(1),J(a?0:-1))},vdb=function(a){a&1&&(L(0,"mat-icon",33),U(1," - "),M(),N(2,"b-hotlist-chip",32));a&2&&(R(),a=Yj(1),E(2),K("hotlist",a)("removable",!1))},wdb=function(a,b){a&1&&(L(0,"div",30),Wj(1),W(2,
"async"),I(3,udb,1,1)(4,vdb,3,2),M());if(a&2){a=b.$implicit;b=R().$implicit;R(3);var c=Yj(1),d=R();E();Xj(X(2,1,d.hotlist$(a)));E(2);J(b.actionType!==d.ActionType.ADD||d.hasHotlist(c,a)?b.actionType===d.ActionType.REMOVE&&d.hasHotlist(c,a)?4:-1:3)}},xdb=function(a,b){a&1&&Mj(0,wdb,5,4,"div",30,Lj);a&2&&(a=b.$implicit,b=R(4),Nj(b.split(a.value)))},zdb=function(a){if(a&1){var b=y();L(0,"button",34);Q("click",function(){z(b);var f=R(3).$implicit,h=R();return B(h.openHotlistPicker(f))});N(1,"mat-icon",
16);M();Uj(2,17)}if(a&2){a=R(3).$implicit;var c=Yj(0),d=R(),e=T(4);K("disabled",d.excludedActions.has(c.actionKey));E(2);K("ngTemplateOutlet",e)("ngTemplateOutletContext",Dk(3,ydb,a))}},Bdb=function(a){a&1&&(L(0,"span",7),U(1,"Hotlist"),M(),L(2,"div",18),Mj(3,xdb,2,0,null,null,Adb),M(),L(5,"div",11),I(6,zdb,3,5),M());if(a&2){a=R(2).$implicit;var b=Yj(0);E(3);Nj(a);E(3);J(b.allowEdit?6:-1)}},Cdb=function(a){a&1&&(L(0,"mat-icon",35),U(1," + "),M(),N(2,"b-user-picker",12),W(3,"emailToUser"));if(a&2){a=
R().$implicit;R(4);var b=Yj(1),c=R();E(2);K("user",X(3,3,a)||void 0)("teamId",c.getTeamId(b))("disabled",!0)}},Ddb=function(a){a&1&&(L(0,"mat-icon",36),U(1," - "),M(),N(2,"b-user-picker",12),W(3,"emailToUser"));if(a&2){a=R().$implicit;R(4);var b=Yj(1),c=R();E(2);K("user",X(3,3,a)||void 0)("teamId",c.getTeamId(b))("disabled",!0)}},Fdb=function(a,b){a&1&&(L(0,"div",30),I(1,Cdb,4,5)(2,Ddb,4,5),M());if(a&2){a=b.$implicit;b=R().$implicit;R(3);var c=Yj(1),d=R();E();J(b.actionType!==d.ActionType.ADD||Edb(c,
a)?b.actionType===d.ActionType.REMOVE&&Edb(c,a)?2:-1:1)}},Gdb=function(a,b){a&1&&Mj(0,Fdb,3,1,"div",30,Lj);a&2&&(a=b.$implicit,b=R(4),Nj(b.split(a.value)))},Idb=function(a){a&1&&(L(0,"span",7),U(1,"CCs"),M(),L(2,"div",8),Mj(3,Gdb,2,0,null,null,Adb),M(),L(5,"div",11),Uj(6,17),M());if(a&2){a=R(2).$implicit;R();var b=T(4);E(3);Nj(a);E(3);K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,Hdb,a))}},Jdb=function(a){a&1&&I(0,edb,11,10)(1,idb,8,6)(2,odb,8,11)(3,sdb,8,8)(4,Bdb,7,1)(5,Idb,7,4);if(a&2){var b;
R();a=Yj(0);var c=R();J((b=a.fieldName)===c.IssueFieldName.ASSIGNEE?0:b===c.IssueFieldName.PRIORITY?1:b===c.IssueFieldName.COMMENT?2:b===c.IssueFieldName.COMPONENT_ID?3:b===c.IssueFieldName.HOTLISTS?4:b===c.IssueFieldName.CCS?5:-1)}},Kdb=function(a,b){a&1&&(Wj(0)(1),W(2,"async"),L(3,"div",6),I(4,Jdb,6,1),M());if(a&2){b=b.$implicit;a=R();b=Xj(b[0]);E();var c=Xj(X(2,4,a.issue$(b.issueId)));E(2);rk("excluded",a.excludedActions.has(b.actionKey));E();J(c?4:-1)}},Ldb=function(a){if(a&1){var b=y();L(0,"button",
39);Q("click",function(){z(b);var c=R(2).group,d=R();c=l(c);for(var e=c.next();!e.done;e=c.next())d.excludedActions.delete(e.value.actionKey);d.updateActionsToAccept();return B()});N(1,"mat-icon",40);M()}a&2&&(a=R(2).fieldName,K("matTooltip",zk("Include ",a)),Hj("aria-label","Include "+a))},Mdb=function(a){if(a&1){var b=y();L(0,"button",41);Q("click",function(){z(b);var c=R(2).group,d=R();c=l(c);for(var e=c.next();!e.done;e=c.next())d.excludedActions.add(e.value.actionKey);d.updateActionsToAccept();
return B()});N(1,"mat-icon",42);M()}a&2&&(a=R(2).fieldName,K("matTooltip",zk("Exclude ",a)),Hj("aria-label","Exclude "+a))},Ndb=function(a){a&1&&I(0,Ldb,2,3,"button",37)(1,Mdb,2,3,"button",38);if(a&2){R();a=Yj(0);var b=R();J(b.excludedActions.has(a.actionKey)?0:1)}},Odb=function(a,b){a&1&&(Wj(0),I(1,Ndb,2,1));a&2&&(a=Xj(b.group[0]),E(),J(a.allowExclude?1:-1))},Pdb=function(a,b){a=Yf(a,function(f){return f.actionKey});var c=[];b=l(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=a.get(d.actionKey);
e&&e.isDirty?c.push(e):c.push(d)}return wd(c)},Rdb=function(a,b){if(a&1){var c=y();L(0,"b-dedupe-actions-component",11);W(1,"async");Q("actionsToAccept",function(e){z(c);var f=R(2);return B(f.updateActionsToAccept(e))});M()}if(a&2){a=R(2);var d;K("currentIssue",b)("actions",(d=X(1,2,a.actions$))!=null?d:Ck(4,Qdb))}},Sdb=function(a){a&1&&(I(0,Rdb,2,5,"b-dedupe-actions-component",10),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.currentIssue$))?0:-1,b)}},Tdb=function(a){if(a&1){var b=y();L(0,"b-issue-actions-component",
12);W(1,"async");Q("actionsToAccept",function(d){z(b);var e=R();return B(e.updateActionsToAccept(d))});M()}if(a&2){a=R();var c;K("actions",(c=X(1,2,a.actions$))!=null?c:Ck(4,Qdb))("includeCommentByDefault",a.recommendation.type!==a.RecommendationType.ANY_ISSUE_EDIT)}},Udb=function(a){a&1&&N(0,"b-formatted-comment-presenter",14);a&2&&(a=R(2),K("formattedComment",a.recommendation.rationale.formattedText)("canEditComment",!1))},Vdb=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(2),E(),tk(a.recommendation.rationale.text))},
Wdb=function(a){a&1&&(N(0,"mat-divider"),L(1,"div",13)(2,"b"),U(3,"Rationale: "),M(),I(4,Udb,1,2,"b-formatted-comment-presenter",14)(5,Vdb,2,1,"span"),M());a&2&&(a=R(),E(4),J(a.recommendation.rationale.formattedText?4:5))},Xdb=function(a){a&1&&N(0,"b-spinner",8)},Ydb=function(a){if(a&1){var b=y();L(0,"div",9)(1,"button",15);Q("click",function(){z(b);var c=R(),d=Yj(16);return B(c.openLink(d))});N(2,"mat-icon",16);M()()}},Zdb=function(a){a&1&&N(0,"div",2)},$db=function(a){a&1&&(Sj(0),ak(1),Tj())},aeb=
function(a){a&1&&(Gh(),L(0,"svg",1),N(1,"path",2),M());a&2&&(a=R(),K("matTooltip",a.warning))},beb=function(a){a&1&&N(0,"b-availability-chip",3);a&2&&(a=R(),K("user",a.user))},ceb=function(a){a&1&&(L(0,"div",4),ak(1,1),M());a&2&&(a=R(),K("id",zk("expansion-panel-content-",a.instance)),Hj("aria-labelledby","expansion-panel-header-"+a.instance))},deb=function(a,b){a&1&&(L(0,"div")(1,"span",16),U(2,"Phase:\u00a0"),M(),L(3,"span",17),U(4),M()());a&2&&(E(4),tk(b))},eeb=function(a,b){a&1&&(L(0,"div")(1,
"span",16),U(2,"Subphase:\u00a0"),M(),L(3,"span",17),U(4),M()());a&2&&(E(4),tk(b))},feb=function(a){a&1&&N(0,"b-issue-card",20,1);if(a&2){a=T(1);var b=R();K("onedevIsHovercardReady",a.init)("issueId",b)}},geb=function(a,b){a&1&&(L(0,"span",18),U(1),M(),L(2,"onedev-hovercard",null,0),G(4,feb,2,2,"b-issue-card",19),M());a&2&&(a=T(3),K("onedevHovercardTrigger",a),E(),V("Duplicate of ",b))},ieb=function(a,b){if(a&1){var c=y();L(0,"span",16);U(1,"Triager:\u00a0");M();N(2,"b-user-image",22);L(3,"b-single-user-control",
23,3);W(5,"async");Q("valueChange",function(f){z(c);var h=R(3);return B(heb(h,f.newEmail))})("emailChange",function(f){z(c);var h=R(3);return B(heb(h,f))});M();L(6,"button",24);Q("click",function(f){z(c);T(4).openEditor();return B(f.stopPropagation())});N(7,"mat-icon",25);M()}if(a&2){R();a=T(1);var d=R(2);E(2);K("email",b);E();var e;K("name","triager")("anchor",a)("title","Triager")("value",b)("user",(e=X(5,6,d.triager$))!=null?e:void 0)}},jeb=function(a){if(a&1){var b=y();L(0,"button",26);Q("click",
function(){z(b);var c=R(3);return B(c.claim())});U(1," Claim ");M()}},keb=function(a){a&1&&(L(0,"div",10,2),I(2,ieb,8,8),W(3,"async"),Jj(4,jeb,2,0,"button",21),M());if(a&2){var b;a=R(2);E(2);J((b=X(3,1,a.triagerEmail$))?2:4,b)}},leb=function(a,b){a&1&&(L(0,"span",45),U(1,"Reporter:"),M(),N(2,"b-user-image",22)(3,"b-user-display",51),L(4,"onedev-hovercard",null,5),N(6,"b-issue-person-card",52),M());if(a&2){a=T(5);var c=R();E(2);K("email",b);E();K("onedevHovercardTrigger",a)("model",c);E(3);K("email",
b)}},meb=function(a){a&1&&(I(0,leb,7,4),W(1,"async"));if(a&2){var b;a=R(3);J((b=X(1,1,a.reporterEmail$))?0:-1,b)}},neb=function(a){if(a&1){var b=y();L(0,"b-event-stream-header",53);Q("click",function(c){z(b);return B(c.stopPropagation())});M()}},oeb=function(a,b){a&1&&(L(0,"b-expansion-panel",36),Sj(1,37),L(2,"div",42),N(3,"mat-icon",54),L(4,"h4",44),U(5,"Deduplicate"),M()(),Tj(),N(6,"b-recommendation",55),M());a&2&&(K("expanded",!0),E(6),K("recommendation",b))},peb=function(a,b){a&1&&(L(0,"b-expansion-panel",
36),Sj(1,37),L(2,"div",42),N(3,"mat-icon",54),L(4,"h4",44),U(5,"Buganizer AI"),M()(),Tj(),N(6,"b-recommendation",55),M());a&2&&(K("expanded",!0),E(6),K("recommendation",b))},qeb=function(a){a&1&&(I(0,peb,7,2,"b-expansion-panel",36),W(1,"async"));if(a&2){var b;a=R(3);J((b=X(1,1,a.triageRecommendation$))?0:-1,b)}},seb=function(a){a&1&&N(0,"suggested-similar-issues",56);if(a&2){a=R();var b=R(2),c=R();K("issueId",b)("similarIssueIds",a)("similarIssuesEnrichments",Ck(4,reb))("limit",c.MAX_SIMILAR_ISSUES)}},
teb=function(a,b){a&1&&I(0,seb,1,5,"suggested-similar-issues",56);a&2&&J(b.length?0:-1)},ueb=function(a,b){if(a&1){var c=y();L(0,"secondary-footer",58);Q("cancelAction",function(){z(c);var d=R(4);return B(d.cancelAction())})("finalizeAction",function(d){z(c);var e=R(4);return B(e.finalizeSecondaryAction(d))});M()}a&2&&(a=R(4),K("needsInfoAutomaticChanges",b)("selectedTriageAction",a.selectedTriageAction))},veb=function(a){a&1&&(I(0,ueb,1,2,"secondary-footer",57),W(1,"async"));if(a&2){var b;a=R(3);
J((b=X(1,1,a.needsInfoAutomaticChanges$))?0:-1,b)}},web=function(a,b){if(a&1){var c=y();L(0,"button",61);W(1,"async");Q("click",function(){var d=z(c).$implicit,e=R(4),f=R();return B(f.openSecondaryActionFooter(d.key,e))});U(2);M()}a&2&&(a=b.$implicit,b=R(5),K("disabled",!X(1,2,b.hasAclToEdit$)),E(2),V(" ",a.displayAs," "))},yeb=function(a,b){if(a&1){var c=y();L(0,"triage-action-selector",59);Q("onSelect",function(d){z(c);var e=R(3),f=R();return B(f.openSecondaryActionFooter(d.key,e))});M();Mj(1,web,
3,4,"button",60,xeb)}a&2&&(a=R(4),K("phase",b),E(),Nj(a.PHASE_TO_ACTIONS.get(b)))},zeb=function(a){a&1&&(I(0,yeb,3,1),W(1,"async"));if(a&2){var b;a=R(3);J((b=X(1,1,a.issuePhase$))?0:-1,b)}},Aeb=function(a,b){a&1&&(L(0,"div",27)(1,"div",28),N(2,"issue-title",29),W(3,"async"),L(4,"div",30)(5,"div")(6,"span",31),U(7),W(8,"enumToHuman"),M()(),L(9,"div")(10,"span",32),N(11,"b-issue-priority-display",33),M()(),N(12,"mat-divider",34)(13,"b-issue-hotlists",35),M()(),L(14,"b-expansion-panel",36),Sj(15,37),
L(16,"div",38),N(17,"mat-icon",39),L(18,"h4",40),U(19,"Description"),M(),I(20,meb,2,3),W(21,"async"),M(),Tj(),N(22,"b-issue-description",41),M(),L(23,"b-expansion-panel",36,4),Sj(25,37),L(26,"div",42),N(27,"mat-icon",43),L(28,"h4",44),U(29),W(30,"async"),M(),I(31,neb,1,0,"b-event-stream-header",45),W(32,"async"),M(),Tj(),N(33,"b-event-stream",46),W(34,"async"),W(35,"async"),W(36,"async"),W(37,"async"),M(),I(38,oeb,7,2,"b-expansion-panel",36),W(39,"async"),I(40,qeb,2,3),L(41,"b-expansion-panel",36),
Sj(42,37),L(43,"div",42),N(44,"mat-icon",47),L(45,"h4",48),U(46),W(47,"async"),M(),N(48,"mat-icon",49),W(49,"async"),M(),Tj(),I(50,teb,1,1),W(51,"async"),M()(),L(52,"div",50),I(53,veb,2,3)(54,zeb,2,3),M());if(a&2){var c,d,e,f,h,k;a=T(24);var q=R(),u=R();E(2);K("title",b.snapshot[0].title)("issueId",q)("componentId",b.snapshot[0].componentId)("hasAclToEdit",X(3,27,u.hasAclToEdit$));E(5);tk(X(8,29,b.snapshot[0].type));E(4);K("issuePriority",b.snapshot[0].priority);E();K("vertical",!0);E();K("issueId",
q);E();K("expanded",!0);E(6);J((c=X(21,31,u.reporterUser$))?20:-1,c);E(2);K("id",q);E();K("expanded",!0);E(6);V("Comments (",(d=X(30,33,u.comments$))==null?null:d.length,")");E(2);J(a.expanded&&((e=X(32,35,u.comments$))==null?0:e.length)?31:-1);E(2);K("issueId",q)("events",X(34,37,u.events$))("issueAccessLevel",X(35,39,u.accessLevel$))("showFullHistory",X(36,41,u.preferences.showFullHistory$));Hj("data-will-inline-screenshots",X(37,43,u.enableInlineScreenshots$)?!0:null);E(5);J((f=X(39,45,u.dedupeRecommendation$))?
38:-1,f);E(2);J(u.isPlaybookEnabled?40:-1);E();K("expanded",!0);E(5);V(" Similar issues (",(h=X(47,47,u.similarIssueIds$))==null?null:h.length,") ");E(2);var A;K("matTooltip",zk("Similar issues found in query: ",(A=X(49,49,u.triageScope$))!=null?A:""));E(2);J((k=X(51,51,u.similarIssueIds$))?50:-1,k);E(3);J(u.displaySecondaryFooter?53:54)}},Beb=function(a,b){if(a&1){var c=y();L(0,"div",6)(1,"div",7)(2,"div",8);N(3,"b-issue-id-picker",9);I(4,deb,5,1,"div");W(5,"async");I(6,eeb,5,1,"div");W(7,"async");
I(8,geb,5,2);W(9,"async");I(10,keb,5,3,"div",10);W(11,"async");M();L(12,"div",11)(13,"a",12);N(14,"mat-icon",13);M();L(15,"button",14);Q("click",function(){z(c);var k=R();return B(k.triageService.closeSidebar())});N(16,"mat-icon",15);M()()();I(17,Aeb,55,53);W(18,"async");M()}if(a&2){var d,e,f,h;a=R();E(3);K("issueId",b)("showCopyOptions",!1);E();J((d=X(5,9,a.issuePhaseDisplay$))?4:-1,d);E(2);J((e=X(7,11,a.issueSubphaseDisplay$))?6:-1,e);E(2);J((f=X(9,13,a.canonicalIssueId$))?8:-1,f);E(2);J(X(11,15,
a.issuePhase$)===a.TriagePhase.NEW?10:-1);E(3);K("href",zk("/issues/",b),Ni);E(4);J((h=X(18,17,a.issue$))?17:-1,h)}},Deb=function(a,b){if(a&1){var c=y();Wj(0);W(1,"async");Wj(2);W(3,"async");L(4,"button",1);Q("click",function(){var e=z(c),f=Yj(0),h=R();return B(Ceb(h,e,f))});U(5);M()}if(a&2){a=R();Xj(X(1,3,a.hasUserClaimedIssues$));var d=X(3,6,a.buttonText$);E(4);K("ariaLabel",d+" "+b.length+" issues")("disabled",a.isSaving);E();tk(d)}},Eeb=function(a,b){a&1&&(L(0,"div",2)(1,"span",8),U(2,"Phase:\u00a0"),
M(),L(3,"span",9),U(4),M()());a&2&&(E(4),tk(b))},Feb=function(a,b){a&1&&(L(0,"span",10),U(1),M());a&2&&(a=b.$implicit,E(),tk(a))},Geb=function(a){a&1&&(L(0,"div")(1,"span",8),U(2,"Subphase:\u00a0"),M(),Mj(3,Feb,2,1,"span",10,Lj),M());a&2&&(a=R(),E(3),Nj(a))},Heb=function(a,b){a&1&&I(0,Geb,5,0,"div");a&2&&J(b.length?0:-1)},Ieb=function(a){if(a&1){var b=y();L(0,"secondary-footer",12);Q("cancelAction",function(){z(b);var c=R(3);return B(c.cancelAction())})("finalizeAction",function(c){z(b);var d=R(3);
return B(d.finalizeSecondaryAction(c))});M()}a&2&&(a=R(3),K("selectedTriageAction",a.selectedTriageAction))},Jeb=function(a,b){if(a&1){var c=y();L(0,"button",15);W(1,"async");Q("click",function(){var d=z(c).$implicit,e=R(3),f=R();return B(f.openSecondaryActionFooter(d.key,e))});U(2);M()}a&2&&(a=b.$implicit,b=R(4),K("disabled",!X(1,2,b.hasAclToEdit$)),E(2),V(" ",a.displayAs," "))},Keb=function(a){a&1&&N(0,"claim-issues-button")},Meb=function(a){if(a&1){var b=y();L(0,"triage-action-selector",13);Q("onSelect",
function(d){z(b);var e=R(2),f=R();return B(f.openSecondaryActionFooter(d.key,e))});M();Mj(1,Jeb,3,4,"button",14,Leb);I(3,Keb,1,0,"claim-issues-button")}if(a&2){a=R();var c=R(2);K("phase",a);E();Nj(c.PHASE_TO_ACTIONS.get(a));E(2);J(a===c.TriagePhase.NEW?3:-1)}},Neb=function(a){a&1&&I(0,Ieb,1,1,"secondary-footer",11)(1,Meb,4,2);a&2&&(a=R(2),J(a.displaySecondaryFooter?0:1))},Oeb=function(a){a&1&&(I(0,Neb,2,1),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.issuePhase$))?0:-1,b)}},Peb=function(a){a&1&&
N(0,"b-formatted-date-time",2);a&2&&(a=R(),K("date",a.value))},Qeb=function(a){a&1&&(Sj(0),U(1,"---"),Tj())},Reb=function(a,b){if(a&1){var c=y();L(0,"div",4)(1,"mat-checkbox",8);Q("change",function(){var d=z(c).$implicit,e=R();return B(e.changeSelection(d))})("click",function(d){z(c);return B(d.stopPropagation())});U(2);M()()}a&2&&(a=b.$implicit,b=R(),K("title",b.getDisplayString(a)),E(),K("checked",!!b.valueMap.get(a))("indeterminate",b.valueMap.get(a)===null),E(),V(" ",b.getDisplayString(a)," "))},
Teb=function(a){if(a&1){var b=y();L(0,"input",9,1);Q("keydown",function(c){z(b);var d=R();c.key==="Enter"&&(Seb(d)&&d.addValue(),c.preventDefault());return B()})("click",function(c){z(b);return B(c.stopPropagation())});xk("ngModelChange",function(c){z(b);var d=R();wk(d.filterValue,c)||(d.filterValue=c);return B(c)});M()}a&2&&(a=R(),K("type",a.type==="REPEATED_NUMERIC"?"number":"text"),vk("ngModel",a.filterValue),K("placeholder",a.type==="REPEATED_ENUM"?"Filter values":"Add or filter values"))},Ueb=
function(a){a&1&&N(0,"mat-divider")},Veb=function(a){if(a&1){var b=y();L(0,"div",10);Q("click",function(c){z(b);var d=R();c.stopPropagation();return B(d.addValue())});U(1," Add ");M()}},Web=function(a){if(a&1){var b=y();L(0,"div")(1,"b-date-time-input",11);xk("valueChange",function(c){z(b);var d=R();wk(d.currentSelectedDate,c)||(d.currentSelectedDate=c);return B(c)});M();L(2,"div",12);Q("click",function(c){z(b);var d=R();c.stopPropagation();if(c=d.currentSelectedDate)d.filterValue=c?c.getMonth()+
1+"/"+c.getDate()+"/"+c.getFullYear():"",d.addValue(),d.currentSelectedDate=void 0;return B()});U(3," Add ");M()()}a&2&&(a=R(),E(),vk("value",a.currentSelectedDate))},Xeb=function(a){if(a&1){var b=y();L(0,"div",6);Gh();L(1,"svg",7);N(2,"path",8);M();Hh();L(3,"input",9,0);Q("input",function(){z(b);var c=T(4),d=R();return B(d.filterText$.next(c.value))});M()()}},Yeb=function(a){a&1&&Uj(0)},$eb=function(a){if(a&1){var b=y();L(0,"div",12);Q("click",function(){z(b);var d=R(2);return B(d.select(d.emptyOptionValue))});
G(1,Yeb,1,0,"ng-container",13);M()}if(a&2){R();a=T(4);var c=R();K("option",c.emptyOptionValue);Hj("aria-selected",c.isSelected(c.emptyOptionValue));E();K("ngTemplateOutlet",a)("ngTemplateOutletContext",Dk(4,Zeb,c.emptyOptionValue))}},afb=function(a){a&1&&Uj(0)},bfb=function(a){if(a&1){var b=y();L(0,"div",12);Q("click",function(){z(b);var e=R().$implicit,f=R(2);return B(f.select(e))});G(1,afb,1,0,"ng-container",13);M()}if(a&2){a=R().$implicit;R();var c=T(4),d=R();K("option",a);Hj("aria-selected",d.isSelected(a));
E();K("ngTemplateOutlet",c)("ngTemplateOutletContext",Dk(4,Zeb,a))}},cfb=function(a,b){a&1&&(Sj(0),G(1,bfb,2,6,"div",10),Tj());a&2&&(a=b.$implicit,E(),K("ngIf",a))},dfb=function(a){a&1&&(Sj(0),U(1),Tj());a&2&&(a=R(2).$implicit,E(),V(" ",a," "))},efb=function(a){a&1&&(L(0,"span",15),U(1,"--"),M())},ffb=function(a){a&1&&(Sj(0),G(1,dfb,2,1,"ng-container",14)(2,efb,2,0,"ng-template",null,3,Gk),Tj());if(a&2){a=T(3);var b=R().$implicit;E();K("ngIf",b!=null)("ngIfElse",a)}},gfb=function(a){a&1&&Uj(0)},hfb=
function(a){a&1&&G(0,gfb,1,0,"ng-container",13);if(a&2){a=R().$implicit;var b=R(2);K("ngTemplateOutlet",b.optionTemplate)("ngTemplateOutletContext",Dk(2,Zeb,a))}},ifb=function(a){a&1&&G(0,ffb,4,2,"ng-container",14)(1,hfb,1,4,"ng-template",null,2,Gk);if(a&2){a=T(2);var b=R(2);K("ngIf",!b.optionTemplate)("ngIfElse",a)}},jfb=function(a,b){a&1&&(Sj(0),G(1,$eb,2,6,"div",10)(2,cfb,2,1,"ng-container",11)(3,ifb,3,2,"ng-template",null,1,Gk),Tj());a&2&&(a=b.ngIf,b=R(),E(),K("ngIf",b.includeEmptyOption),E(),
K("ngForOf",a))},kfb=function(a){a&1&&Uj(0)},mfb=function(a){a&1&&(Sj(0),G(1,kfb,1,0,"ng-container",11),Tj());a&2&&(a=R(),E(),K("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Dk(2,lfb,a.value)))},nfb=function(a){a&1&&Uj(0)},ofb=function(a){a&1&&(Sj(0),G(1,nfb,1,0,"ng-container",11),Tj());a&2&&(a=R(2),E(),K("ngTemplateOutlet",a.optionTemplate)("ngTemplateOutletContext",Dk(2,lfb,a.value)))},pfb=function(a){a&1&&G(0,ofb,2,4,"ng-container",7);if(a&2){a=R();var b=T(8);K("ngIf",a.optionTemplate)("ngIfElse",
b)}},qfb=function(a){a&1&&(Sj(0),U(1),Tj());a&2&&(a=R(2),E(),V(" ",a.value," "))},rfb=function(a){a&1&&(L(0,"span",12),U(1,"--"),M())},sfb=function(a){a&1&&G(0,qfb,2,1,"ng-container",7)(1,rfb,2,0,"ng-template",null,4,Gk);if(a&2){a=T(2);var b=R();K("ngIf",b.value!=null)("ngIfElse",a)}},tfb=function(a){a&1&&(Gh(),L(0,"svg",13),N(1,"path",14),M())},ufb=function(a){a&1&&(L(0,"div"),U(1," The selected issues have no custom fields in common. "),M())},vfb=function(a){a&1&&(L(0,"span"),U(1,"*"),M())},xfb=
function(a){if(a&1){var b=y();L(0,"input",10);xk("ngModelChange",function(c){z(b);var d=R(2).$implicit;wk(d.textValue,c)||(d.textValue=c);return B(c)});M()}a&2&&(a=R(2).$implicit,R(),vk("ngModel",a.textValue),Hj("aria-labelledby",wfb(a)))},yfb=function(a){if(a&1){var b=y();L(0,"input",11);xk("ngModelChange",function(c){z(b);var d=R(2).$implicit;wk(d.numericValue,c)||(d.numericValue=c);return B(c)});M()}a&2&&(a=R(2).$implicit,R(),vk("ngModel",a.numericValue),Hj("aria-labelledby",wfb(a)))},Afb=function(a){if(a&
1){var b=y();L(0,"div")(1,"b-date-time-input",12);Q("valueChange",function(e){z(b);var f=R(2).$implicit;R();return B(f.dateValue=e?DEa(e):void 0)});M()()}if(a&2){a=R(2).$implicit;var c=R();E();var d;K("value",(d=zfb(a.dateValue))!=null?d:void 0)("required",c.isCustomFieldRequired(a))("customAriaLabelledBy",wfb(a))("customFormId","bv2-custom-field-"+a.customFieldId)}},Cfb=function(a){if(a&1){var b=y();L(0,"onedev-single-select",13);xk("valueChange",function(d){z(b);var e=R(2).$implicit;wk(e.enumValue,
d)||(e.enumValue=d);return B(d)});M()}if(a&2){a=R(2).$implicit;R();vk("value",a.enumValue);var c;K("options",(c=a.allowedValue)!=null?c:Ck(3,Bfb))("labelledById",wfb(a))}},Efb=function(a){if(a&1){var b=y();L(0,"b-bulk-repeated-field-picker",14);Q("onSave",function(e){z(b);var f=R(2).$implicit,h=R();return B(Dfb(h,f.customFieldId,e))});M()}if(a&2){a=R(2).$implicit;var c=R(),d;K("type",c.getCustomFieldType(a))("originalValueMap",c.repeatedCustomFieldsMap.get(a.customFieldId))("enumChoices",(d=a.allowedValue)!=
null?d:Ck(3,Bfb))}},Ffb=function(a){a&1&&I(0,xfb,1,2,"input",6)(1,yfb,1,2,"input",7)(2,Afb,2,4,"div")(3,Cfb,1,4,"onedev-single-select",8)(4,Efb,1,4,"b-bulk-repeated-field-picker",9);if(a&2){var b;a=R().$implicit;var c=R();J((b=c.getCustomFieldType(a))==="TEXT"?0:b==="NUMERIC"?1:b==="DATE"?2:b==="ENUM"?3:4)}},Gfb=function(a){if(a&1){var b=y();L(0,"span");U(1," Multiple values ");M();L(2,"a",15);Q("click",function(){z(b);var c=R().$implicit,d=R();return B(d.clearCustomFieldValue(c))});U(3,"X");M()}},
Hfb=function(a,b){a&1&&(L(0,"div",1)(1,"div",4)(2,"label",5),U(3),I(4,vfb,2,0,"span"),M()(),I(5,Ffb,5,1)(6,Gfb,4,0),M());a&2&&(a=b.$implicit,R(),E(2),K("matTooltip",(a.description||"")+" [ID: "+a.customFieldId+"]"),Hj("id",wfb(a)),E(),V(" ",a.name," "),E(),J(a.required?4:-1),E(),J(a.hasMultipleValues?6:5))},Jfb=function(a){if(a&1){var b=y();L(0,"b-list-field",2);Q("valuesChange",function(d){z(b);var e=R(2);return B(e.save.emit(d.values))});M()}if(a&2){a=R();var c=R();K("readonly",c.readonly)("defaultLineCount",
3)("title",c.field.name)("type",c.field.type)("customFieldId",c.field.customFieldId)("tooltip",c.getTooltip())("values",Ifb(c))("displayValuesOverride",a.displayValues)("enumChoices",a.choices)("listFieldDisabled",c.disabled)}},Mfb=function(a){if(a&1){var b=y();L(0,"b-edit-field",3);Q("valueChange",function(e){z(b);var f=R(2);return B(f.save.emit(e))});M()}if(a&2){a=R();var c=R(),d;K("readonly",c.readonly)("name","customField"+c.field.customFieldId)("title",c.field.name)("type",c.field.type)("tooltip",
c.getTooltip())("clearable",!c.field.required)("value",Kfb(c))("displayValueOverride",c.getDisplayValue())("choices",(d=a.choices)!=null?d:Ck(12,Lfb))("showEnumTitle",!0)("disabled",c.disabled)("customFieldId",c.field.customFieldId)}},Nfb=function(a,b){a&1&&I(0,Jfb,1,10,"b-list-field",0)(1,Mfb,1,13,"b-edit-field",1);a&2&&J(b.isRepeated()?0:1)},Qfb=function(a,b){var c=new Ofb;Pfb(c,a,b);return c},Pfb=function(a,b,c){var d=Aa(b.snapshot),e=b.aggregatedData,f=b.userActivityStats;var h=b&&b.accessLimit?
b.accessLimit.accessLevel:void 0;a.accessLevel=h;a.id=b.issueId;a.issueId=b.issueId;a.trackerId=b.trackerId;d.componentId&&(a.componentId=d.componentId);c&&c.componentPathInfo&&c.componentPathInfo.componentPathName?a.componentPath=c.componentPathInfo:a.componentPath=[String(d.componentId)];d.type&&(a.type=d.type);if(d.status){a.status=d.status;var k;a.isClosed=!((k=dg.get(d.status))==null?0:k.open)||b.isArchived}a.priority=d.priority.substr(1);a.severity=d.severity.substr(1);a.reporter=Gd(d.reporterUser);
a.assignee=Gd(d.assigneeUser);a.assigneeEmail=Jd(d.assigneeUser);a.verifier=Gd(d.verifierUser);a.verifierEmail=Jd(d.verifierUser);a.cc=Hd(d.ccUsers);a.collaborator=Hd(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:"";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.duplicateCount=d.duplicateIssueId?d.duplicateIssueId.length:0;a.ccCount=d.ccUsers?d.ccUsers.length:0;a.collaboratorCount=d.collaboratorsUsers?d.collaboratorsUsers.length:0;var q;a.lastModifier=Gd((q=b.aggregatedData)==null?void 0:q.lastModifier);a.customFieldMap={};a.customFieldNameToIdMap={};a.customFieldValueMap={};if(c&&c.componentPathInfo&&
c.componentPathInfo.allCustomField)for(c=l(c.componentPathInfo.allCustomField),h=c.next();!h.done;h=c.next())h=h.value,a.customFieldMap[String(h.customFieldId)]=h,a.customFieldNameToIdMap[h.name.toLowerCase()]=h.customFieldId;if(d.customField)for(c=l(d.customField),h=c.next();!h.done;h=c.next())h=h.value,a.customFieldValueMap[String(h.customFieldId)]=h;a.retentionState=e?e.retentionState:void 0;a.sloId=e?""+e.sloId:"";a.sloStatus=e?e.sloStatus||null:null;a.sloStartTime=d.sloStartTime;a.sloEndTime=
d.sloEndTime;a.isRead=!!a.lastViewedTime&&a.lastViewedTime>=a.majorModifiedTime;d.effort&&(a.effort=d.effort);a.issueAccessLevel=d.issueAccessLimitLevel;a.descendantCount=b.descendantCount;a.openDescendantCount=b.openDescendantCount;a.oneDayViewCount=f?f.oneDayViewCount:0;a.sevenDayViewCount=f?f.sevenDayViewCount:0;a.thirtyDayViewCount=f?f.thirtyDayViewCount:0;a.escalationOwner=Gd(b.escalationOwner)},Sfb=function(a){if(a&1){var b=y();L(0,"div",0)(1,"div",1)(2,"div",2)(3,"label");U(4," Custom fields ");
M()();L(5,"button",3);Q("click",function(){var c=z(b),d=R(2);return B(Rfb(d,c))});U(6,"Edit custom fields");M()()()}},Tfb=function(a){a&1&&(I(0,Sfb,7,0,"div",0),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.updatedIssueRows$))?0:-1,b)}},Ufb=function(a,b){if(a&1){var c=y();L(0,"b-custom-field-editor",5);Jqa();Q("save",function(d){var e=z(c).$implicit,f=R(2);return B(f.updateCustomField(e.customFieldId,d))});M()}a&2&&(a=b.$implicit,b=R(2),K("issue",b.editableIssue),Nqa(a))},Vfb=function(a){a&1&&(Mj(0,
Ufb,1,2,"b-custom-field-editor",4,Lj),W(2,"async"));a&2&&(a=R(),Nj(X(2,0,a.customFields$)))},Wfb=function(a){if(a&1){var b=y();L(0,"input",2,0);Q("input",function(){z(b);var c=R();c.manualAutocomplete&&c.findWordAroundCursor()&&(c.candidateDenylist.includes(c.wordInfo.word)?c.manualAutocomplete.cancel():c.manualAutocomplete.query=c.wordInfo.word);return B(c.emitValueChange())})("blur",function(){z(b);var c=R();return B(c.cancel())})("peoplekitAutocompleteSelectionChange",function(c){z(b);var d=R();
return B(d.handleSelectionChange(c))});M()}a&2&&(a=R(),K("placeholder",a.placeholder)("ngModel",a.internalValue)("peoplekitAutocompleteConfig",AYa(a.autocompleteConfigService))("peoplekitSearchSessionOptions",a.sessionOptions),Hj("aria-label",a.ariaLabel))},Xfb=function(a){a&1&&(L(0,"mat-error"),U(1),M());a&2&&(a=R(),Hj("aria-label",Ak("",a.title," error: ",a.invalidMessage)),E(),V(" ",a.invalidMessage," "))},Yfb=function(a){if(a&1){var b=y();L(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,
"b-person-lookup-form",11);Q("onAddItems",function(c){z(b);var d=R();return B(d.handleAddItems(c))})("onCancel",function(){z(b);var c=R();return B(c.closeAddPopup())});M()()()}a&2&&(a=R(),E(2),K("actionName","addition")("inputValidator",a.inputValidator)("isAllowedToEditCollection",a.isAllowedToEditCollection)("title",a.title))},agb=function(a){if(a&1){var b=y();L(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-person-lookup-form",11);Q("onAddItems",function(c){z(b);var d=R();Zfb(c,d.onRemoveUsers);
$fb(d);return B()})("onCancel",function(){z(b);var c=R();return B($fb(c))});M()()()}a&2&&(a=R(),E(2),K("actionName","remove")("inputValidator",a.inputValidator)("isAllowedToEditCollection",a.isAllowedToEditCollection)("title",a.title))},bgb=function(a,b){if(a&1){var c=y();L(0,"b-hotlist-chip-smart",7);Q("removeHotlist",function(){var d=z(c).$implicit,e=R(3);return B(e.removeHotlists([d]))});M()}a&2&&K("id",b.$implicit)},cgb=function(a){a&1&&Mj(0,bgb,1,1,"b-hotlist-chip-smart",6,Lj);a&2&&(a=R(2),Nj(a.hotlistIdSet))},
dgb=function(a){a&1&&(L(0,"div",5),U(1,"Multiple hotlists selected"),M())},fgb=function(a){if(a&1){var b=y();L(0,"b-hotlist-recommendation-chip",9);W(1,"async");Q("onAccept",function(){z(b);var d=R().$implicit,e=R(3);return B(egb(e,d))});M()}if(a&2){a=R().$implicit;var c=R(3);K("hotlist",a.content==null?null:a.content.recommendedHotlist)("recommendationId",a.name)("issueId",X(1,4,c.issueId$))("updateHotlistsInstantly",!1)}},ggb=function(a,b){a&1&&I(0,fgb,2,6,"b-hotlist-recommendation-chip",8);if(a&
2){b=b.$implicit;a=R(3);var c,d;var e=(b=b==null?void 0:(e=b.content)==null?void 0:(c=e.recommendedHotlist)==null?void 0:(d=c.hotlistId)==null?void 0:d.toString())&&!a.hotlistIdSet.has(b);J(e?0:-1)}},jgb=function(a,b){a&1&&Mj(0,ggb,1,1,null,null,igb);a&2&&Nj(b)},lgb=function(a){if(a&1){var b=y();L(0,"div",0)(1,"div",1)(2,"label");U(3,"Hotlists");M()();L(4,"div",2)(5,"button",3);Q("click",function(){z(b);var d=R();return B(kgb(d))});N(6,"mat-icon",4);U(7," Add ");M();I(8,cgb,2,0)(9,dgb,2,0,"div",5);
I(10,jgb,2,0);W(11,"async");M()()}if(a&2){var c;a=R();E(8);J(a.areAllHotlistsEqual?8:9);E(2);J((c=X(11,2,a.recommendations$))?10:-1,c)}},pgb=function(a){if(a&1){var b=y();L(0,"input",3);Q("ngModelChange",function(c){z(b);var d=R(2);return B(d.emailChange.emit(c))})("peoplekitAutocompleteSelectionChange",function(c){z(b);var d=R(2);return B(mgb(d,c))})("focusin",function(){z(b);var c=R(2);return B(ngb(c))})("focusout",function(c){z(b);var d=R(2);return B(ogb(d,c))});M()}a&2&&(a=R(2),K("name",a.name)("required",
a.required)("placeholder",a.placeholder)("disabled",a.disabled)("ngModel",a.email)("peoplekitAutocompleteConfig",a.getConfig())("peoplekitSearchSessionOptions",a.sessionOptions)("peoplekitAutocompleteInputSearchDelay",0),Hj("name",a.name)("aria-label",a.ariaLabel)("cdkFocusInitial",a.cdkFocusInitial||null))},qgb=function(a){if(a&1){var b=y();L(0,"input",4);Q("ngModelChange",function(c){z(b);var d=R(2);return B(d.emailChange.emit(c))})("peoplekitAutocompleteSelectionChange",function(c){z(b);var d=
R(2);return B(mgb(d,c))})("focusin",function(){z(b);var c=R(2);return B(ngb(c))})("focusout",function(c){z(b);var d=R(2);return B(ogb(d,c))});M()}a&2&&(a=R(2),K("name",a.name)("required",a.required)("placeholder",a.placeholder)("disabled",a.disabled)("ngModel",a.email)("peoplekitAutocompleteConfig",a.getConfig())("peoplekitSearchSessionOptions",a.sessionOptions)("peoplekitAutocompleteInputSearchDelay",0),Hj("name",a.name)("aria-label",a.ariaLabel)("cdkFocusInitial",a.cdkFocusInitial||null))},rgb=
function(a){a&1&&I(0,pgb,1,11,"input",1)(1,qgb,1,11,"input",2);a&2&&(a=R(),J(a.asMatInput?0:1))},zr=function(a){var b=b===void 0?sgb:b;var c=Haa(a),d=function(e){e=l(e);e.next();e=rta(e);return b(c,e)};return function(){var e=rd.apply(0,arguments),f=this||da,h=tgb.get(f);h||(h={},tgb.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 k=l(h);h=k.next().value;k=rta(k);h=a.apply(h,k);f=f[e]=h}return f}},Ar=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(":");e<0||(b[d.substring(0,e)]=d.substring(e+2,d.length))}return b},Br=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase())return a[c]},ugb=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase()){delete a[c];break}},wgb=function(a){a=Wc(a);for(var b=0;b<vgb.length;++b){var c=vgb[b],d=Br(a,c);d&&(a["X-Goog-Upload-Header-"+c]=d,ugb(a,c))}return a},xgb=function(a){a=Wc(a);ugb(a,"X-Goog-Upload-Status");return a},
ygb=function(){return Cr?"Webkit":Dr?"Moz":null},zgb=function(a,b){if(b&&a in b)return a;var c=ygb();return c?(c=c.toLowerCase(),a=c+Fd(a),b===void 0||a in b?a:null):null},Er=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d},Bgb=function(a){if(a&1){var b=y();L(0,"button",3);Q("fileSelected",function(c){z(b);var d=R();return B(Agb(d,c))});N(1,"mat-icon",4);M()}a&2&&(a=R(),K("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},Cgb=
function(a){if(a&1){var b=y();L(0,"button",5);Q("fileSelected",function(c){z(b);var d=R();return B(Agb(d,c))});N(1,"mat-icon",4);U(2," Add attachments ");M()}a&2&&(a=R(),K("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},Dgb=function(a){a&1&&(L(0,"span"),U(1),W(2,"humanFileSize"),W(3,"humanFileSize"),M());if(a&2){a=R().$implicit;E();var b;uk(" ",X(2,2,a.transferredBytes)," of ",X(3,4,(b=a.size)!=null?b:0)," ")}},Egb=function(a){a&1&&(L(0,"span",
7),U(1),M());a&2&&(a=R().$implicit,E(),V(" ",a.errorMessage," "))},Fgb=function(a){a&1&&(L(0,"span",7),U(1),W(2,"humanFileSize"),M());if(a&2){a=R().$implicit;E();var b;V(" ",X(2,1,(b=a.size)!=null?b:0)," ")}},Ggb=function(a,b){if(a&1){var c=y();L(0,"div",2)(1,"div",3);N(2,"mat-icon",4);L(3,"span",5);U(4);M();L(5,"span",6);I(6,Dgb,4,6,"span");I(7,Egb,2,1,"span",7);I(8,Fgb,3,3,"span",7);M()();L(9,"button",8);Q("click",function(){var d=z(c).$implicit,e=R(2);return B(e.cancel(d))});M()()}a&2&&(a=b.$implicit,
b=R(2),rk("attachment-error",a.state===b.uploadStates.ERROR),E(3),K("matTooltip",a.name),E(),tk(a.name),E(2),J(a.state===b.uploadStates.UPLOADING?6:-1),E(),J(a.state===b.uploadStates.ERROR?7:-1),E(),J(a.state===b.uploadStates.COMPLETE?8:-1),E(),K("matTooltip",a.state===b.uploadStates.UPLOADING?"Cancel upload":"Remove attachment"),Hj("aria-label","Remove attachment"+a.name))},Hgb=function(a){a&1&&(L(0,"div",0),Mj(1,Ggb,10,9,"div",1,Lj),M());a&2&&(a=R(),E(),Nj(a.uploads))},Gr=function(a){Fr.call(this,
a||"all")},Jgb=function(a){Igb.call(this,a)},Kgb=function(a){this.action=a;this.wfv=!1},Lgb=function(a,b){Kgb.call(this,"set-drive-options");this.appId=a;this.appOrigin=b},Mgb=function(a){Kgb.call(this,"visibility");this.visible=a},Ngb=function(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc},Pgb=function(a,b){var c=b&&b.getWindow()||window;if(Ngb(b))a();else if(Ogb)Ogb.push(a);else var d=Ogb=[a],e=c.setInterval(function(){if(Ngb(b)){c.clearInterval(e);for(var f=0;f<d.length;f++)d[f]();
Ogb=null}},100)},Qgb=function(a,b,c){Hr.call(this,a,b,c)},Tgb=function(a,b){var c=new Rgb(a);Ir(b,c);var d={passive:!1};b.listen(c,"mousewheel",function(e){return void Sgb(a,e)},d).listen(a,"scroll",function(e){return void Sgb(a,e)},d)},Sgb=function(a,b){var c;a:{for(c=b.target;c;){if(c.nodeType==1){var d=Jr(c,"overflowY");if(d=="auto"||d=="scroll")break a}c=c.parentNode}c=null}if(!c||!Ugb(a,c)||c.scrollHeight==c.clientHeight||b.deltaY>0&&Math.abs(c.scrollTop-(c.scrollHeight-c.clientHeight))<=1||
b.deltaY<0&&c.scrollTop==0)b.preventDefault(),b.stopPropagation()},Qr=function(a,b,c,d,e,f,h,k,q){k=k===void 0?!1:k;q=q===void 0?!1:q;Hr.call(this,void 0,void 0,void 0);Hr.call(this,f?f+" picker modal-dialog":"picker modal-dialog",!0,c);Vgb(a,"protocol");this.iframeManager_=new Wgb;this.targetId_=Xgb();this.rpcToken_=Xgb();a=Kr(a);Lr(a,"hostId");this.useGapi_=!q;k&&Mr(a,"fv2","true");this.setUrl(a.toString());this.preferredDialogWidth_=d;this.preferredDialogHeight_=e;d!==void 0||e!==void 0?d=!0:(d=
Lr(Kr(a.toString()),"hostId"),Ygb||(Ygb=new Set("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" "))),d=!Ygb.has(d));this.autoSizeDialog_=d;this.gadgetsDomHelper_=h||this.getDomHelper();b&&(h=this.gadgetsDomHelper_,b=Lr(Kr(this.url_),"grugl")=="true"?Zgb:$gb,Ngb(h)||(h=h||Nr(document),d=h.createElement("SCRIPT"),kd(d,b),d.type="text/javascript",h.document_.body.appendChild(d)));a=a.toString();b=null;h=a.indexOf("/picker?");
h>-1?b=a.substring(0,h+8-1):fa(a,"/picker")&&(b=a);b&&this.setRelayUrl(b+"/resources/rpc_relay.html");this.escapeToCancel_=!1;this.buttons_=null;this.buttonEl_&&(this.buttons_?(a=this.buttons_,a.element_=this.buttonEl_,a.render()):kea(this.buttonEl_,Or),Pr(this.buttonEl_,!!this.buttons_))},ahb=function(a){if(a&1){var b=y();L(0,"div",0);N(1,"mat-icon",1);L(2,"div",2);U(3," Comment and vote +1 on this issue to increase visibility ");M();L(4,"div",3)(5,"button",4);Q("click",function(c){z(b);var d=R();
return B(d.onClick(c))});U(6,"Comment and vote +1");M()()()}a&2&&(E(),K("matTooltip","The +1 button is located in the top right corner of the issue details page"))},bhb=function(a){if(a&1){var b=y();L(0,"b-plus-one-comment-callout",7);Q("onSubmitComment",function(c){z(b);R().onSubmit.emit(c);return B()});M()}a&2&&(a=R(),K("isPlusOneText",a.comment.value.trim()==="+1"))},chb=function(a){if(a&1){var b=y();L(0,"b-drive-attachment",11);Q("onPickDoc",function(c){z(b);var d=R(2);d.comment&&(d.comment.value=
d.comment.formattingMode==="MARKDOWN"?d.comment.value+("\n\n["+c.name+"]("+c.url+")"):d.comment.value+("\n\n"+c.name+" - "+c.url));return B()})("onCloneBlob",function(c){z(b);var d=R(2);return B(d.addUpload(c))});M()}a&2&&(a=R(2),K("disabled",a.attachmentsDisabled))},dhb=function(a){if(a&1){var b=y();L(0,"button",14);Q("click",function(){z(b);var c=R(3);return B(c.onRestrict.emit())});N(1,"mat-icon",15);M()}a&2&&(a=R(3),K("disabled",a.attachmentsDisabled))},ehb=function(a){if(a&1){var b=y();L(0,"button",
16);Q("click",function(){z(b);var c=R(3);return B(c.onRestrict.emit())});N(1,"mat-icon",15);U(2);M()}a&2&&(a=R(3),E(2),V(" ",a.getRestrictedLabel()," "))},fhb=function(a){a&1&&(L(0,"div",10),I(1,dhb,2,1,"button",12)(2,ehb,3,1,"button",13),M());a&2&&(a=R(2),E(),J(a.isRestricted()?2:1))},ghb=function(a){if(a&1){var b=y();L(0,"div",6);ak(1,2,[1,"goog-inline-block"]);L(2,"b-attachment-selector",8);Q("onSelect",function(c){z(b);var d=R();return B(d.uploadFile(c))});M();I(3,chb,1,1,"b-drive-attachment",
9);I(4,fhb,3,1,"div",10);M()}a&2&&(a=R(),E(2),K("disabled",a.attachmentsDisabled),E(),J(a.currentTracker?-1:3),E(),J(a.showRestrictionOptions?4:-1))},hhb=function(a){a&1&&(L(0,"div"),N(1,"b-live-preview",17),M());a&2&&(a=R(),E(),K("comment",a.comment.value)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.comment.formattingMode))},ihb=function(a){a&1&&(L(0,"p",6),U(1),L(2,"a",14),U(3," Learn more "),M()());a&2&&(a=R(4),E(),V(" Your comment contains restricted words: ",Sq(a.bannedWordsChecker),
". Review your comment before posting. "))},jhb=function(a){if(a&1){var b=y();L(0,"div",7)(1,"b-recaptcha",15);Q("onUpdate",function(c){z(b);var d=R(4);return B(d.recaptchaResponse$.next(c))});M()()}},khb=function(a){a&1&&Uj(0)},lhb=function(a){a&1&&G(0,khb,1,0,"ng-container",16);a&2&&(R(4),a=T(3),K("ngTemplateOutlet",a))},nhb=function(a){if(a&1){var b=y();L(0,"span")(1,"mat-checkbox",17);W(2,"async");W(3,"async");Q("change",function(){z(b);var c=R(4);return B(mhb(c))});U(4," CC Me ");M()()}a&2&&
(a=R(4),E(),K("checked",!!X(2,2,a.autoCcOnComment$))("disabled",!!X(3,4,a.isCurrentUserCCd$)))},ohb=function(a){a&1&&(L(0,"mat-checkbox",18),U(1," CC Me "),M());a&2&&K("checked",!0)("disabled",!0)},phb=function(a){a&1&&(L(0,"span",10),I(1,ohb,2,2,"mat-checkbox",18),W(2,"async"),M());a&2&&(a=R(4),E(),J(X(2,1,a.isCurrentUserCCd$)?1:-1))},qhb=function(a){if(a&1){var b=y();L(0,"b-markdown-toggle",19);Q("change",function(c){z(b);var d=R();return B(d.formattingMode=c)});M()}a&2&&(a=R(),K("initialValue",
a.formattingMode))},rhb=function(a){a&1&&(N(0,"b-access-limits-chip",12),W(1,"async"));a&2&&(a=R(4),K("issueId",a.issueId)("componentId",a.componentIdString)("accessLimitLevel",X(1,3,a.issueAccessLimitLevel$)))},shb=function(a,b){if(a&1){var c=y();L(0,"b-comment-box",5,1);W(2,"async");W(3,"async");W(4,"async");W(5,"async");W(6,"async");W(7,"async");Q("onHotkey",function(){z(c);var u=T(1);return B(R2a(u,"editpage-hotkey"))})("onChange",function(){z(c);var u=R(3);return B(u.saveCommentDraft())})("onFocusEvent",
function(){z(c);var u=R(3);return B(u.wasFocused=!0)})("onSubmit",function(u){z(c);var A=R(3);return B(A.submitCommentBox(u))})("onRestrict",function(){z(c);var u=R(3);return B(u.showNewContentJudgementDialog())})("onPlusOneTextEntered",function(u){z(c);var A=R(3);return B(A.isPlusOneText$.next(u))});I(8,ihb,4,1,"p",6);W(9,"async");I(10,jhb,2,0,"div",7);W(11,"async");L(12,"div",8);I(13,lhb,1,1,"ng-container");L(14,"div",9);ak(15);I(16,nhb,5,6,"span");W(17,"async");W(18,"async");I(19,phb,3,3,"span",
10);W(20,"async");W(21,"async");I(22,qhb,1,1,"b-markdown-toggle",11);W(23,"async");I(24,rhb,2,5,"b-access-limits-chip",12);W(25,"async");M();N(26,"b-issue-visibility-chip",13);M()()}if(a&2){a=R(2);var d=R(),e,f,h,k,q;K("hotkey",d.HOTKEYS.FOCUS_COMMENT_BOX)("supportsPreview",!0)("issueId",a.issueId)("comment",b)("placeholder",(e=X(2,19,d.commentPlaceholderText$))!=null?e:void 0)("judgementForNewContent",(f=X(3,21,d.judgementForNewContent$))!=null?f:void 0)("audience",(h=X(4,23,d.audience$))!=null?
h:void 0)("disabled",X(5,25,d.commentBoxEnabled$)===!1)("isPlusOneCalloutEnabled",(k=X(6,27,d.isPlusOneCalloutEnabled$))!=null?k:!1)("warn",(q=X(7,29,d.bannedWordsChecker.showWarning$))!=null?q:!1)("isLiteralModeSupported",!0);E(8);J(X(9,31,d.bannedWordsChecker.showWarning$)?8:-1);E(2);J(X(11,33,d.showRecaptcha$)?10:-1);E(3);J(d.showActionsAfterPreview?-1:13);E(3);J(!X(17,35,d.isCurrentUserCCd$)&&X(18,37,d.hasAclToEdit$)?16:-1);E(3);J(X(20,39,d.isCurrentUserCCd$)||!X(21,41,d.hasAclToEdit$)?19:-1);
E(3);J(X(23,43,d.hasAclToComment$)?22:-1);E(2);J(X(25,45,d.isAccessLimited$)?24:-1);E(2);K("issueId",d.issueId)}},thb=function(a){a&1&&Uj(0)},uhb=function(a){a&1&&G(0,thb,1,0,"ng-container",16);a&2&&(R(3),a=T(3),K("ngTemplateOutlet",a))},vhb=function(a){a&1&&(L(0,"h3",2),U(1,"Add comment"),M(),L(2,"div",3),W(3,"async"),I(4,shb,27,47,"b-comment-box",4),W(5,"async"),M(),I(6,uhb,1,1,"ng-container"));if(a&2){var b;a=R(2);E(2);rk("empty",X(3,6,a.empty$))("never-focused",!a.wasFocused);E(2);J((b=X(5,8,
a.comment$))?4:-1,b);E(2);J(a.showActionsAfterPreview?6:-1)}},whb=function(a,b){a&1&&I(0,vhb,7,10);a&2&&J(b.isDeleted?-1:0)},xhb=function(a){if(a&1){var b=y();L(0,"b-button",21);W(1,"async");W(2,"async");W(3,"async");Q("onAction",function(d){z(b);var e=R(2);return B(e.submitCommentBox(d))})("click",function(d){z(b);var e=R(2);return B(e.submitCommentBox(d))});U(4);W(5,"async");M()}if(a&2){a=R(2);var c;K("format",(c=X(1,4,a.commentButtonStyle$))!=null?c:"fill")("disabled",X(2,6,a.commentButtonEnabled$)===
!1)("color",X(3,8,a.bannedWordsChecker.showWarning$)?"warn":"primary");E(4);V(" ",X(5,10,a.bannedWordsChecker.showWarning$)?"Comment Anyway":"Comment"," ")}},yhb=function(a){a&1&&I(0,xhb,6,12,"b-button",20);a&2&&(a=R(),J(a.showCommentButton?0:-1))},zhb=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(3),E(),V(" ",a.removeSelfActionDescription," "))},Ahb=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(3),E(),V(" ",a.includeSelfActionDescription," "))},Bhb=function(a){if(a&1){var b=y();L(0,"div",
20);Q("click",function(){z(b);var c=R(2);return B(c.userInclusionToggle.emit())})("keydown.enter",function(c){z(b);R(2).userInclusionToggle.emit();c.stopPropagation();c.preventDefault();return B()})("keydown.space",function(c){z(b);R(2).userInclusionToggle.emit();c.stopPropagation();c.preventDefault();return B()});I(1,zhb,2,1,"span");I(2,Ahb,2,1,"span");M()}a&2&&(a=R(2),rk("disabled",!!a.isSaving),K("matTooltip",a.isCurrentUserInCollection?a.removeSelfActionLongDescription:a.includeSelfActionLongDescription),
Hj("aria-disabled",!!a.isSaving)("aria-label",a.isCurrentUserInCollection?a.removeSelfActionLongDescription:a.includeSelfActionLongDescription),E(),J(a.isCurrentUserInCollection?1:-1),E(),J(!a.isCurrentUserInCollection&&a.isAllowedToEditCollection?2:-1))},Chb=function(a){a&1&&(L(0,"div",18),I(1,Bhb,3,7,"div",19),M());a&2&&(a=R(),E(),J(a.isCurrentUserInCollection||!a.isCurrentUserInCollection&&a.isAllowedToEditCollection?1:-1))},Dhb=function(a){if(a&1){var b=y();L(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,
"b-person-lookup-form",21);Q("onAddItems",function(c){z(b);var d=R();return B(d.handleAddItems(c))})("onCancel",function(){z(b);var c=R();return B(c.closeAddPopup(!0))});M()()()}a&2&&(a=R(),E(2),K("actionName","addition")("inputValidator",a.inputValidator)("isAllowedToEditCollection",a.isAllowedToEditCollection)("title",a.title))},Ehb=function(a){a&1&&(N(0,"b-user-membership-chip",23),W(1,"async"));if(a&2){a=R().$implicit;var b=R(),c;K("user",b.getUser(a))("email",a)("teamId",(c=X(1,5,b.teamId$))!=
null?c:"")("enableSmallChip",!0)("enableGroupIcon",!0)}},Fhb=function(a){a&1&&N(0,"b-icon",25)},Ghb=function(a){a&1&&(I(0,Fhb,1,0,"b-icon",25),W(1,"async"),L(2,"b-person-hovercard",26),U(3),M());if(a&2){var b;a=R().$implicit;var c=R();J(((b=X(1,3,c.groups$))==null?0:b.has(a))?0:-1);E(2);K("email",a);E();V(" ",a," ")}},Hhb=function(a){if(a&1){var b=y();L(0,"button",27);W(1,"async");Q("click",function(){z(b);var c=R(2);return B(c.toggleAccessLimits.emit())});N(2,"b-icon",28);W(3,"async");M()}a&2&&(a=
R(2),K("disabled",!X(1,3,a.hasAclToAdmin$)),E(2),rk("disabled-icon",!X(3,5,a.hasAclToAdmin$)))},Ihb=function(a){if(a&1){var b=y();L(0,"button",30,4);Q("click",function(){z(b);var d=R(2).$index,e=R();return B(e.removeItem(d))});M()}if(a&2){a=R(2).$implicit;var c=R();Hj("aria-label",Ak("Remove ",a," from ",c.title));K("matTooltip","Remove item")}},Jhb=function(a){a&1&&I(0,Ihb,2,4,"button",29);a&2&&(a=R(2),J(a.isAllowedToEditCollection?0:-1))},Khb=function(a,b){a&1&&(L(0,"div",10)(1,"div",22),I(2,Ehb,
2,7,"b-user-membership-chip",23)(3,Ghb,4,5),M(),I(4,Hhb,4,7,"button",24),W(5,"async"),Jj(6,Jhb,1,1),M());if(a&2){var c;a=b.$implicit;b=R();E(2);J(b.enableTeamAnnotations?2:3);E(2);J(b.toggleAccessLimits.observed&&((c=X(5,2,b.groups$))==null?0:c.has(a))?4:6)}},Lhb=function(a){a&1&&(L(0,"button",12),U(1,"Add "),M());if(a&2){a=R();var b=T(3);Hj("aria-label",zk("Add item to ",a.title));K("dialogLabel",zk("Add item to ",a.title))("matTooltip",zk("Add item to ",a.title))("xapInlineDialogClick",b)("overlayPositions",
a.overlayPosition)}},Mhb=function(a){a&1&&Uj(0)},Nhb=function(a,b){return{originX:a,originY:b}},Ohb=function(a,b){return{overlayX:a,overlayY:b}},Qhb=function(a){a&1&&Uj(0,9);if(a&2){a=R(2);R();var b=T(5);K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,Phb,a))}},Rhb=function(a){a&1&&(L(0,"div",5),N(1,"mat-icon",6),L(2,"div",7),Uj(3,8),I(4,Qhb,1,4,"ng-container",9),M()());if(a&2){a=R(2);var b=T(3);E(3);K("ngTemplateOutlet",b);E();J(a.isIssueSummaryExpanded?4:-1)}},Shb=function(a,b){a&1&&I(0,
Rhb,5,2,"div",5);a&2&&(a=R(),J(b===a.GENERATING||b===a.SUMMARY_VISIBLE?0:-1))},Thb=function(a){a&1&&(L(0,"div"),U(1," AI-generated summaries may contain inaccurate or offensive information that doesn't represent Google's views. Buganizer and other AI API usage does not store or log the issue's contents for any training purposes. "),M())},Uhb=function(a){a&1&&N(0,"mat-icon",15)},Vhb=function(a){a&1&&N(0,"mat-icon",16)},Whb=function(a){if(a&1){var b=y();L(0,"span",10)(1,"h4",11);U(2," AI-generated summary ");
L(3,"xap-bubble",12)(4,"xap-icon-trigger");N(5,"mat-icon",13);M();G(6,Thb,2,0,"ng-template",null,4,Gk);M()();L(8,"button",14);Q("click",function(){z(b);var d=R();return B(d.isIssueSummaryExpanded=!d.isIssueSummaryExpanded)});I(9,Uhb,1,0,"mat-icon",15)(10,Vhb,1,0,"mat-icon",16);M()()}if(a&2){a=T(7);var c=R();E(3);K("panelTemplate",a);E(5);Hj("aria-expanded",c.isIssueSummaryExpanded);E();J(c.isIssueSummaryExpanded?9:10)}},Xhb=function(a){a&1&&N(0,"b-spinner")},Zhb=function(a,b){a&1&&Uj(0,9);a&2&&(R(3),
a=T(9),K("ngTemplateOutlet",a)("ngTemplateOutletContext",Dk(2,Yhb,b)))},$hb=function(a){a&1&&(I(0,Zhb,1,4,"ng-container",9),W(1,"async"));if(a&2){var b;a=R(2);J((b=X(1,1,a.summary$))?0:-1,b)}},aib=function(a,b){a&1&&I(0,Xhb,1,0,"b-spinner")(1,$hb,2,3);a&2&&(a=b.stage,b=R(),J(a===b.GENERATING?0:a===b.SUMMARY_VISIBLE?1:-1))},bib=function(a){a&1&&N(0,"b-markdown-format-presenter",17);a&2&&(a=R().summary,K("content",a.formattedSummary))},cib=function(a){a&1&&(L(0,"div",18),U(1),M());a&2&&(a=R().summary,
E(),V(" ",a.summary," "))},dib=function(a,b){a&1&&I(0,bib,1,1,"b-markdown-format-presenter",17)(1,cib,2,1,"div",18);a&2&&J(b.summary.formattedSummary?0:1)},eib=function(a){if(a&1){var b=y();Uj(0,9);L(1,"div",19);N(2,"span",20);L(3,"div",21)(4,"button",22);Q("click",function(){z(b);var e=R().summary,f=R();return B(f.copySummary(e))});N(5,"mat-icon",23);M();L(6,"button",24);Q("click",function(){z(b);var e=R().summary,f=R();return B(f.openFeedbackDialog(e))});N(7,"mat-icon",25);M();L(8,"button",26);
Q("click",function(){z(b);var e=R().summary,f=R();return B(f.trackThumbsUp(e))});N(9,"mat-icon",27);M();L(10,"button",28);Q("click",function(){z(b);var e=R().summary,f=R();return B(f.trackThumbsDown(e))});N(11,"mat-icon",29);M()()()}if(a&2){a=R().summary;var c=R(),d=T(7);K("ngTemplateOutlet",d)("ngTemplateOutletContext",Dk(8,Yhb,a));E(8);K("disabled",c.hasReacted);E();rk("has-reacted-icon",c.thumbsUpClicked);E();K("disabled",c.hasReacted);E();rk("has-reacted-icon",c.thumbsDownClicked)}},fib=function(a){if(a&
1){var b=y();L(0,"div",19)(1,"div",30);U(2," Issue can not be summarized for now. ");M();L(3,"div",21)(4,"button",31);Q("click",function(){z(b);var c=R().summary,d=R();return B(d.openFeedbackDialog(c))});N(5,"mat-icon",32);M()()()}},gib=function(a,b){a&1&&I(0,eib,12,10)(1,fib,6,0,"div",19);a&2&&J(b.summary.summary?0:1)},hib=function(a,b){a&1&&N(0,"b-user-image",0);a&2&&K("email",b.$implicit)},iib=function(a,b){if(a&1){var c=y();L(0,"button",2);Q("click",function(){z(c);var d=R(2);return B(d.limit+=
d.LIMIT_INCREMENT)});U(1);M()}a&2&&(K("title",zk("",b," more participant(s). Click to show.")),E(),V("",b," more"))},jib=function(a){a&1&&I(0,iib,2,3,"button",1);if(a&2){var b;a=R();J((b=a.emails.length-a.limit)?0:-1,b)}},lib=function(a){a&1&&(L(0,"a",3),U(1),M());a&2&&(a=R(2),K("href",a.makeCritiqueUrl(Ck(2,kib),a.pending),Ni),E(),V("(",a.pending.length," pending)"))},mib=function(a,b){a&1&&(L(0,"div",0),N(1,"img",1),U(2," \u00a0 "),L(3,"a",2),U(4),M(),U(5," \u00a0 "),I(6,lib,2,3,"a",3),M());a&2&&
(a=R(),E(3),K("href",a.makeCritiqueUrl(a.submitted,a.pending),Ni),E(),V("",b," CLs"),E(2),J(a.pending.length>0?6:-1))},nib=function(a){a&1&&(L(0,"a",2),U(1),M());a&2&&(a=R(2),K("routerLink",a.searchPageUrl),E(),V(" ",a.count," Issues "))},oib=function(a){a&1&&I(0,nib,2,2,"a",2);a&2&&(a=R(),J(a.count!=null?0:-1))},pib=function(a){a&1&&U(0);a&2&&(a=R(),V(" ",a.count," Issues "))},qib=function(){},rib=function(a){a&1&&(Pj(0,"span",1),Gh(),Pj(1,"svg",2),Rj(2,"path",3),Qj()())},sib=function(a){a&1&&(L(0,
"div",0),N(1,"img",2),M());a&2&&(a=R(2),E(),K("src",a.SPACE_EMPTY_STATE,Ni))},tib=function(a,b){a&1&&(L(0,"mat-panel-title"),U(1),M());a&2&&(a=R().$index,E(),V(" ",b[a]," "))},uib=function(a){a&1&&N(0,"mat-panel-title",3)},vib=function(a,b){a&1&&(L(0,"mat-expansion-panel")(1,"mat-expansion-panel-header"),I(2,tib,2,1,"mat-panel-title"),W(3,"async"),Jj(4,uib,1,0,"mat-panel-title",3),L(5,"mat-panel-description"),U(6),M()(),N(7,"b-issues-table",4),M());if(a&2){var c;a=b.$implicit;b=R(3);E(2);J((c=X(3,
5,b.titles$))?2:4,c);E(4);V("",a.length," issues");E();K("issueIds",a)("tableColumns",b.tableColumns)("options",b.tableOptions)}},wib=function(a){a&1&&(L(0,"div",1),Mj(1,vib,8,7,"mat-expansion-panel",null,Lj),M());a&2&&(a=R(),E(),Nj(a))},xib=function(a,b){a&1&&I(0,sib,2,1,"div",0)(1,wib,3,0,"div",1);a&2&&J(b.length===0?0:1)},yib=function(a){a&1&&(L(0,"div",2,1)(2,"div",5)(3,"span",6),U(4),M()()());a&2&&(a=R(),E(4),tk(a.valueIndicatorText))},zib=function(a,b){a&1&&N(0,"div");if(a&2){a=b.$implicit;
b=b.$index;var c=R(3);sk(a===0?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive");qk("transform",c._calcTickMarkTransform(b))}},Aib=function(a){a&1&&Mj(0,zib,1,4,"div",8,Kj);a&2&&(a=R(2),Nj(a._tickMarks))},Bib=function(a){a&1&&(L(0,"div",6,1),I(2,Aib,2,0),M());a&2&&(a=R(),E(2),J(a._cachedWidth?2:-1))},Cib=function(a){a&1&&N(0,"mat-slider-visual-thumb",7);a&2&&(a=R(),K("discrete",a.discrete)("thumbPosition",1)("valueIndicatorText",a.startValueIndicatorText))},Dib=function(a){a&1&&(L(0,
"span"),U(1,"All Components"),M())},Eib=function(a){a&1&&(L(0,"span"),U(1,"Selected Components"),M())},Fib=function(a,b){if(a&1){var c=y();L(0,"button",19);Q("click",function(d){var e=z(c).$implicit;R().onCheckboxChange(e);return B(d.stopPropagation())});L(1,"mat-checkbox",27);U(2);M()()}a&2&&(a=b.$implicit,b=R(),E(),K("checked",b.selectComponents$.has(a)),E(),V(" ",a.name," "))},Gib=function(a,b){if(a&1){var c=y();L(0,"button",19);Q("click",function(){var d=z(c).$implicit;R().selectedDateRangeFilter$.next(d);
return B()});U(1);M()}a&2&&(a=b.$implicit,E(),V(" ",a.displayAs," "))},Hib=function(a,b){if(a&1){var c=y();L(0,"div",6)(1,"a",7);U(2);W(3,"async");M();L(4,"button",8);Q("click",function(){var e=z(c),f=R(),h=R();Rr(h.router,Hq.viewTriage.makeHref(f,e,Sr[h.phase$.value]));return B()});U(5," View issues ");N(6,"mat-icon",9);M()()}if(a&2){a=R();var d=R();E();K("href",d.ROUTES.viewTriage.makeHref(a,b,d.phaseToUrlSlug[d.phase$.value]),Ni);E();V(" ",X(3,2,d.heading$)," ")}},Iib=function(a){a&1&&(I(0,Hib,
7,4,"div",6),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.triageId$))?0:-1,b)}},Jib=function(a,b){a&1&&U(0);a&2&&(a=R(),uk(" ",b.length,"",b.length===a.FETCH_SIZE?"+":""," "))},Kib=function(a){a&1&&U(0," ... ")},Lib=function(a,b){a&1&&N(0,"i",11);if(a&2){a=b.$implicit;b=b.$index;var c=R(2);a=zk("height: ",a*100,"%;");Kra(Ira,Jra,a,!1);K("title",Ak("Modified ",b," days ago: ",c[b]," Issues"))}},Mib=function(a,b){a&1&&Mj(0,Lib,1,6,"i",10,Kj);a&2&&Nj(b)},Nib=function(a){a&1&&(I(0,Mib,2,0),W(1,"async"));
if(a&2){var b;a=R();J((b=X(1,1,a.ratioDaysOld$))?0:-1,b)}},Pib=function(a){return(Oib-a/1E3)/864E5},Qib=function(a,b){a&1&&(L(0,"span",5),U(1),M());a&2&&(K("title",b.description),E(),tk(b.name))},Rib=function(a){a&1&&(L(0,"code",6),U(1),W(2,"async"),M());a&2&&(a=R(),E(),tk(X(2,1,a.id$)))},Sib=function(a,b){a&1&&(L(0,"div",7),N(1,"phase-card-contents",8)(2,"phase-card-contents",8)(3,"phase-card-contents",8)(4,"phase-card-contents",8)(5,"phase-card-contents",8),M());if(a&2){a=R();var c=R();E();K("phase",
c.TriagePhase.NEW)("teamId",a)("triageId",b);E();K("phase",c.TriagePhase.CONFIRMED)("teamId",a)("triageId",b);E();K("phase",c.TriagePhase.IN_PROGRESS)("teamId",a)("triageId",b);E();K("phase",c.TriagePhase.FIXED)("teamId",a)("triageId",b);E();K("phase",c.TriagePhase.WONT_FIX)("teamId",a)("triageId",b)}},Tib=function(a){a&1&&(I(0,Sib,6,15,"div",7),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.triageId$))?0:-1,b)}},Uib=function(a){if(!a.unlinkifiedComment)return oe("Can't getClMetadata from an event with no unlinkifiedComment",
a),{};if(lia(a))if(ig(a)){var b=a.unlinkifiedComment;var c=b.trim().split("\n");if(a.formattingMode==="MARKDOWN"){var d,e;var f=(e=(d=c[5])==null?void 0:d.trim())!=null?e:"";var h;c=(h=b.match(/^Link: &nbsp;&nbsp;&nbsp;&nbsp; (.+)/m))==null?void 0:h[1];var k;var q=(k=b.match(/^Author: .* \\<(.+)\\>/m))==null?void 0:k[1]}else{var u,A;f=(A=(u=c[7])==null?void 0:u.trim())!=null?A:"";var D,H;c=(H=(D=c[c.length-1])==null?void 0:D.trim())!=null?H:"";var O;q=(O=b.match(/^Author: .* <(.+)>/m))==null?void 0:
O[1]}f||oe("failed to parse a title from GitWatcher comment, which is unexpected.",b);c||oe("failed to parse a link from GitWatcher comment, which is unexpected.",b);q?q=q.endsWith("@google.com")?q.split("@")[0]:q:oe("failed to parse an author from GitWatcher comment, which is unexpected.",b);b={author:q,title:f,link:c,reviewer:void 0,delta:void 0}}else b={};else{k=a.unlinkifiedComment;h=k.trim().split("\n");var P,S;O=(S=(P=h[0])==null?void 0:P.trim())!=null?S:"";var aa;h=(aa=h[2])==null?void 0:aa.trim();
D=(q=O.match(/^Change\s+(\d+)/))==null?void 0:q[1];D==null&&oe("failed to parse an id from Critique comment, which is unexpected.",k);O=(c=O.match(/^Change.*by (\S+)@/))==null?void 0:c[1];O==null&&oe("failed to parse an author from Critique comment, which is unexpected.",k);c=(f=k.match(/[\^\s]R=(\S+)/))==null?void 0:f[1];f=(b=k.match(/[\^\s]DELTA=(\d+)/))==null?void 0:b[1];b={id:be(D),author:O,title:h,reviewer:c,delta:be(f),link:"cl/"+D}}return b},Vib=function(a){var b;return(b=Uib(a).id)!=null?
b:0},Wib=function(a){var b;return(b=Uib(a).link)!=null?b:""},Xib=function(a){return[].concat(p(a.preDiffs),p(a.postDiffs)).map(function(b){return"Changed "+(b.displayName||b.name)+" "+(b.newValue?"to "+b.newValue:"")}).join("\n")},Zib=function(a){if(a==null)return"";var b,c,d,e,f=(e=(d=(b=a.userPerformingActionUser)==null?void 0:b.emailAddress)!=null?d:(c=a.userPerformingActionUser)==null?void 0:c.obfuscatedEmailAddress)!=null?e:"";if(hg(a)||ig(a)){if(a=Uib(a).author)return a.includes("@")?a:a+"@google.com"}else if(f===
"product-feedback-gathering@prod.google.com")return Yib(a,"reporter")||f;return f},$ib=function(a,b){var c,d,e;return(e=[].concat(p((c=a.preDiffs)!=null?c:[]),p((d=a.postDiffs)!=null?d:[])).find(function(f){return f.name===b}))==null?void 0:e.oldValue},Yib=function(a,b){var c,d,e;return(e=[].concat(p((c=a.preDiffs)!=null?c:[]),p((d=a.postDiffs)!=null?d:[])).find(function(f){return f.name===b}))==null?void 0:e.newValue},ajb=function(a){if(a==null)return"default";if(ag(a)&&a.commentNumber===1)return"create";
if(hg(a)||ig(a))return"changelist";var b,c=(b=a.preDiffs)!=null?b:[],d;b=(d=a.postDiffs)!=null?d:[];c=new Set([].concat(p(c),p(b)).map(function(f){return f.name}));if(c.has("statusUpdate"))return"statusUpdate";if(c.has("assignee")){var e;c=(e=a.userPerformingActionUser)==null?void 0:e.emailAddress;e=Yib(a,"assignee");a=$ib(a,"assignee");return c===e?"self-assign":c===a&&e==="<none>"?"self-unassign":e==="<none>"?"unassign":"assignee"}return c.has("status")?"status":c.has("priority")?"priority":ag(a)?
"comment":c.has("component")?"component":"default"},bjb=function(a){a&1&&(U(0," created "),L(1,"b-issue-reference-widget",1),U(2),M(),N(3,"b-formatted-date-time",2));a&2&&(a=R(),E(),K("href",Jq(a.event.issueId))("issueId",a.event.issueId),E(),V("b/",a.event.issueId),E(),K("timestamp",a.event.modifiedDate))},cjb=function(a){a&1&&N(0,"changelist-link-plain",3);a&2&&(a=R(2),K("id",a.getChangelistNumber(a.event)))},djb=function(a){a&1&&(L(0,"a",4),U(1),M());a&2&&(a=R(2),K("href",a.getLink(a.event),Ni),
E(),tk(a.getLink(a.event)))},ejb=function(a,b){a&1&&(U(0," \u2014 "),L(1,"span",5),U(2),M());a&2&&(E(),K("title",b),E(),tk(b))},fjb=function(a){a&1&&(U(0," submitted "),I(1,cjb,1,1,"changelist-link-plain",3),I(2,djb,2,2,"a",4),N(3,"b-formatted-date-time",2),I(4,ejb,3,2));if(a&2){var b;a=R();E();J(a.isCritiqueComment(a.event)?1:-1);E();J(a.isFullGerritComment(a.event)?2:-1);E();K("timestamp",a.event.modifiedDate);E();J((b=a.getClMetadata(a.event).title)?4:-1,b)}},gjb=function(a){a&1&&(U(0," commented on "),
L(1,"b-issue-reference-widget",1),U(2),M(),N(3,"b-formatted-date-time",2));a&2&&(a=R(),E(),K("href",Jq(a.event.issueId))("issueId",a.event.issueId),E(),V("b/",a.event.issueId),E(),K("timestamp",a.event.modifiedDate))},hjb=function(a){a&1&&(U(0," set priority "),N(1,"b-issue-priority-display",6),U(2," on "),L(3,"b-issue-reference-widget",1),U(4),M(),N(5,"b-formatted-date-time",2));a&2&&(a=R(),E(),K("issuePriority",a.toIssuePriority(a.getNewDiffValue(a.event,"priority"))),E(2),K("href",Jq(a.event.issueId))("issueId",
a.event.issueId),E(),V("b/",a.event.issueId),E(),K("timestamp",a.event.modifiedDate))},ijb=function(a,b){a&1&&(U(0," set status "),L(1,"span"),U(2),M(),U(3," on "));a&2&&(a=R(2),E(),sk(zk("chippy xs status-",a.STATUS_CODE_FROM_DISPLAY_STRING[b])),E(),V(" ",b," "))},jjb=function(a){a&1&&(I(0,ijb,4,4),L(1,"b-issue-reference-widget",1),U(2),M(),N(3,"b-formatted-date-time",2));if(a&2){var b;a=R();J((b=a.getNewDiffValue(a.event,"status"))?0:-1,b);E();K("href",Jq(a.event.issueId))("issueId",a.event.issueId);
E();V("b/",a.event.issueId);E();K("timestamp",a.event.modifiedDate)}},kjb=function(a,b){a&1&&(U(0," \u2014 "),L(1,"span",7),U(2),M());a&2&&(E(),K("title",b),E(),tk(b))},ljb=function(a){a&1&&(U(0," set status update on "),L(1,"b-issue-reference-widget",1),U(2),M(),N(3,"b-formatted-date-time",2),I(4,kjb,3,2));if(a&2){var b;a=R();E();K("href",Jq(a.event.issueId))("issueId",a.event.issueId);E();V("b/",a.event.issueId);E();K("timestamp",a.event.modifiedDate);E();J((b=a.event.statusUpdate==null?null:a.event.statusUpdate.updateText)?
4:-1,b)}},mjb=function(a){a&1&&(U(0," assigned "),L(1,"b-issue-reference-widget",1),U(2),M(),U(3," to "),N(4,"b-user-email",0)(5,"b-formatted-date-time",2));if(a&2){a=R();E();K("href",Jq(a.event.issueId))("issueId",a.event.issueId);E();V("b/",a.event.issueId);E(2);var b;K("ldapOnly",!0)("email",(b=a.getNewDiffValue(a.event,"assignee"))!=null?b:"");E();K("timestamp",a.event.modifiedDate)}},njb=function(a){a&1&&(U(0," self-assigned "),L(1,"b-issue-reference-widget",1),U(2),M(),N(3,"b-formatted-date-time",
2));a&2&&(a=R(),E(),K("href",Jq(a.event.issueId))("issueId",a.event.issueId),E(),V("b/",a.event.issueId),E(),K("timestamp",a.event.modifiedDate))},ojb=function(a){a&1&&(U(0," unassigned self from "),L(1,"b-issue-reference-widget",1),U(2),M(),N(3,"b-formatted-date-time",2));a&2&&(a=R(),E(),K("href",Jq(a.event.issueId))("issueId",a.event.issueId),E(),V("b/",a.event.issueId),E(),K("timestamp",a.event.modifiedDate))},Ujb=function(a){a&1&&(U(0," unassigned "),N(1,"b-user-email",0),U(2," from "),L(3,"b-issue-reference-widget",
1),U(4),M(),N(5,"b-formatted-date-time",2));if(a&2){a=R();E();var b;K("ldapOnly",!0)("email",(b=a.getPreviousDiffValue(a.event,"assignee"))!=null?b:"");E(2);K("href",Jq(a.event.issueId))("issueId",a.event.issueId);E();V("b/",a.event.issueId);E();K("timestamp",a.event.modifiedDate)}},Vjb=function(a){a&1&&(U(0," moved "),L(1,"b-issue-reference-widget",1),U(2),M(),U(3," to another component "),N(4,"b-formatted-date-time",2));a&2&&(a=R(),E(),K("href",Jq(a.event.issueId))("issueId",a.event.issueId),E(),
V("b/",a.event.issueId),E(2),K("timestamp",a.event.modifiedDate))},Wjb=function(a){a&1&&(L(0,"span",8),U(1," updated "),M(),L(2,"b-issue-reference-widget",1),U(3),M(),N(4,"b-formatted-date-time",2));a&2&&(a=R(),K("title",a.shorthandAllDiffs(a.event)),E(2),K("href",Jq(a.event.issueId))("issueId",a.event.issueId),E(),V("b/",a.event.issueId),E(),K("timestamp",a.event.modifiedDate))},Xjb=function(a,b){a&1&&(U(0," \u2014 "),L(1,"span",9),U(2),M());a&2&&(E(),K("title",b),E(),tk(b))},Yjb=function(a){a&1&&
I(0,Xjb,3,2);if(a&2){var b;a=R();J((b=a.getComment())?0:-1,b)}},Zjb=function(a,b){a&1&&(U(0," \u2014 "),L(1,"span",10),U(2),M());a&2&&(E(),K("title",b),E(),tk(b))},$jb=function(a){a&1&&I(0,Zjb,3,2);if(a&2){a=R();var b,c;a=(b=a.issueFullFridge.peek(a.event.issueId))==null?void 0:(c=b.snapshot[0])==null?void 0:c.title;J(a?0:-1,a)}},akb=function(a,b){a&1&&N(0,"recent-event-row",4);a&2&&K("event",b.$implicit)},bkb=function(a,b){a&1&&(L(0,"p",3),U(1),M(),Mj(2,akb,1,1,"recent-event-row",4,Lj));if(a&2){a=
R();var c=R(3);E();V("Last 24 hours ",c.printStats(a["<24h"]));E();Nj(b)}},ckb=function(a,b){a&1&&N(0,"recent-event-row",4);a&2&&K("event",b.$implicit)},dkb=function(a,b){a&1&&(L(0,"p",5),U(1),M(),Mj(2,ckb,1,1,"recent-event-row",4,Lj));if(a&2){a=R();var c=R(3);E();V("1-7 days ago ",c.printStats(a["24h-7d"]));E();Nj(b)}},ekb=function(a,b){a&1&&N(0,"recent-event-row",4);a&2&&K("event",b.$implicit)},fkb=function(a,b){a&1&&(L(0,"p",5),U(1),M(),Mj(2,ekb,1,1,"recent-event-row",4,Lj));if(a&2){a=R();var c=
R(3);E();V("1-4 weeks ago ",c.printStats(a["7d-30d"]));E();Nj(b)}},gkb=function(a,b){a&1&&N(0,"recent-event-row",4);a&2&&K("event",b.$implicit)},hkb=function(a,b){a&1&&(L(0,"p",5),U(1),M(),Mj(2,gkb,1,1,"recent-event-row",4,Lj));if(a&2){a=R();var c=R(3);E();V(">30 days ago ",c.printStats(a[">30d"]));E();Nj(b)}},ikb=function(a){if(a&1){var b=y();L(0,"button",6);Q("click",function(){z(b);var c=R(4);c.numDisplayed$.value<100?c.numDisplayed$.next(100):c.numDisplayed$.next(c.defaultNumEvents);return B()});
U(1);M()}a&2&&(a=R(4),E(),V(" ",a.numDisplayed$.value>a.defaultNumEvents?"Show less":"Show more"," "))},jkb=function(a){a&1&&(I(0,bkb,4,1),I(1,dkb,4,1),I(2,fkb,4,1),I(3,hkb,4,1),I(4,ikb,2,1,"button",2),W(5,"async"));if(a&2){var b,c,d,e,f;a=R();var h=R(2);J((b=a["<24h"])?0:-1,b);E();J((c=a["24h-7d"])?1:-1,c);E();J((d=a["7d-30d"])?2:-1,d);E();J((e=a[">30d"])?3:-1,e);E();var k;J(((k=(f=X(5,5,h.events$))==null?null:f.length)!=null?k:0)>h.defaultNumEvents?4:-1)}},kkb=function(a){a&1&&(I(0,jkb,6,7),W(1,
"async"));if(a&2){var b;a=R(2);J((b=X(1,1,a.bucketedEventStats$))?0:-1,b)}},lkb=function(a){a&1&&(L(0,"div",0),U(1," Recent activity "),N(2,"input",1),M(),I(3,kkb,2,3),W(4,"async"));if(a&2){var b;a=R();E(2);K("formControl",a.quickFilter);E();J((b=X(4,2,a.bucketedEvents$))?3:-1,b)}},mkb=function(a){return function(b){var c;if(a){var d="";if(hg(b)||ig(b)){var e=Uib(b);d="submitted "+e.link+" "+e.title}e="b/"+b.issueId;var f=Zib(b),h=ajb(b),k=Xib(b);b=b==null||hg(b)||ig(b)?"":((c=b.unlinkifiedComment)!=
null?c:"").slice(0,999);c=[e,f,h,d,k,b].join(" ").toLowerCase().includes(a.toLowerCase())}else c=!0;return c}},nkb=function(a){if(a==null||a.n<=1)return"";var b=Object.keys(a.pptCounts).length;a=[a.clCount?a.clCount+" CLs":void 0,a.fixed?a.fixed+" issues fixed":void 0,b>1?b+" participants":void 0].filter(fe);return a.length===0?"":"\u2014 "+a.join(", ")},okb=function(a){var b={};a.forEach(function(c){var d=Date.now()-c.modifiedDate,e=">30d";d<864E5?e="<24h":d<6048E5?e="24h-7d":d<2592E6&&(e="7d-30d");
b[e]==null&&(b[e]=[]);b[e].push(c)});return b},pkb=function(a,b){var c;a=(c=b[a])!=null?c:[];var d={n:a.length,pptCounts:{}};a.forEach(function(e){var f=ajb(e),h=Zib(e);if(f!=="changelist"?e.isCommentEvent:e.unlinkifiedComment){var k;d.comment=((k=d.comment)!=null?k:0)+1;var q;d.pptCounts[h]=((q=d.pptCounts[h])!=null?q:0)+1}if(f==="changelist"){var u;d.clCount=((u=d.clCount)!=null?u:0)+1;var A;d.pptCounts[h]=((A=d.pptCounts[h])!=null?A:0)+1}else if(f==="create"){var D;d.created=((D=d.created)!=null?
D:0)+1;var H;d.pptCounts[h]=((H=d.pptCounts[h])!=null?H:0)+1}else if(f==="status"&&Yib(e,"status")==="Fixed"){var O;d.fixed=((O=d.fixed)!=null?O:0)+1}});return d},qkb=function(a){a&1&&(L(0,"p",11),U(1),M());a&2&&(a=R().$implicit,E(),tk(a.description))},rkb=function(a,b){a&1&&(L(0,"mat-list-option",8)(1,"div",9)(2,"label",10),U(3),M()(),I(4,qkb,2,1,"p",11),M());a&2&&(a=b.$implicit,b=R(2),qk("height","auto"),K("selected",b.selectedIds.has(a.searchId))("value",a.searchId),E(3),tk(a.name),E(),J(a.description?
4:-1))},ukb=function(a,b){if(a&1){var c=y();L(0,"mat-selection-list",6);Q("selectionChange",function(d){z(c);var e=R();return B(skb(e,d))});Mj(1,rkb,5,6,"mat-list-option",7,tkb);M()}a&2&&(E(),Nj(b))},vkb=function(a,b){a&1&&N(0,"avatar-bunch",4);a&2&&K("emails",b)},wkb=function(a,b){a&1&&(L(0,"a",6),U(1," View in TaskFlow "),N(2,"mat-icon",7),M());a&2&&K("href",b,Ni)},xkb=function(a,b){a&1&&N(0,"progress-pie",1);a&2&&K("closed",b.closed)("total",b.total)},zkb=function(a,b){a&1&&(N(0,"cl-counts",3),
W(1,"async"));if(a&2){a=R();var c;K("submitted",b.changelists)("pending",(c=X(1,2,a.pendingCls$))!=null?c:Ck(4,ykb))}},Akb=function(a){a&1&&N(0,"gerrit-changes-count",4);a&2&&(a=R(),K("changes",a))},Bkb=function(a,b){a&1&&I(0,Akb,1,1,"gerrit-changes-count",4);a&2&&J(b&&b.length>0?0:-1)},Ckb=function(a){a&1&&N(0,"avatar-bunch",5);a&2&&(a=R(),K("emails",a))},Dkb=function(a,b){a&1&&I(0,Ckb,1,1,"avatar-bunch",5);a&2&&J(b.length>0?0:-1)},Ekb=function(a){return a},Fkb=function(a){a==="UNKNOWN_SOURCE"&&
console.error("an UNKNOWN TaskSources snuck in");return a},Gkb=function(a,b){return b.buganizerSignals.reduce(function(c,d){return c.set(d,a.includes(d))},new Map)},Hkb=function(a,b){return a?b.buganizerSignals.filter(function(c){return a.get(c)!==!1}):b.buganizerSignals},Ikb=function(a,b){return b.changelistSignals.reduce(function(c,d){return c.set(d,a.includes(d))},new Map)},Jkb=function(a,b){return a?b.changelistSignals.filter(function(c){return a.get(c)!==!1}):b.changelistSignals},Kkb=function(a,
b){return b.driveSignals.reduce(function(c,d){return c.set(d,a.includes(d))},new Map)},Lkb=function(a,b){return a?b.driveSignals.filter(function(c){return a.get(c)!==!1}):b.driveSignals},Mkb=function(a,b){return b.gerritSignals.reduce(function(c,d){return c.set(d,a.includes(d))},new Map)},Nkb=function(a,b){return a?b.gerritSignals.filter(function(c){return a.get(c)!==!1}):b.gerritSignals},Okb=function(a,b){return a?b.googleTasksSignals.filter(function(c){return a.get(c)!==!1}):b.googleTasksSignals},
Pkb=function(a,b){return a?b.irmSignals.filter(function(c){return a.get(c)!==!1}):b.irmSignals},Qkb=function(a,b){return b.googleTasksSignals.reduce(function(c,d){return c.set(d,a.includes(d))},new Map)},Rkb=function(a,b){return b.irmSignals.reduce(function(c,d){return c.set(d,a.includes(d))},new Map)},Skb=function(a){a&1&&(L(0,"div",2),U(1),M());if(a&2){a=R();rk("muted",!a.isNumeric(a.countDisplay)||a.isDisabled());E();var b;tk((b=a.countDisplay)!=null?b:"\u00a0")}},Tkb=function(a){a&1&&(L(0,"div",
0),N(1,"qif-stat",1),W(2,"async"),N(3,"qif-stat",1),W(4,"async"),M());a&2&&(a=R(),E(),K("key",a.QuickFilterKey.OPEN)("prefKey",a.id)("metadata",X(2,6,a.metadata$)),E(2),K("key",a.QuickFilterKey.BROAD_IN_PROGRESS)("prefKey",a.id)("metadata",X(4,8,a.metadata$)))},Ukb=function(a,b){return a===b?!0:(a==null?void 0:a.type)===(b==null?void 0:b.type)&&!(a==null||!a.ancestorChain.equals(b==null?void 0:b.ancestorChain))},Vkb=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:qb(a)}},Xkb=function(a,b){var c=function(){return{position:d,rowElement:b}};if(b.classList.contains("dragging")||b.classList.contains("nodrop")||b.classList.contains("mat-mdc-header-row")){var d="none";return c()}var e=Wkb(b),f=b.nextElementSibling&&Wkb(b.nextElementSibling),h=b.previousElementSibling&&Wkb(b.previousElementSibling);if(a==="top"){var k;if(((k=b.previousElementSibling)==null?0:k.classList.contains("dragging"))&&h===e)return d=
"none",c();d="before";return c()}if(a==="bottom"){if(f!=null&&e<f){var q;if((q=b.nextElementSibling)==null?0:q.classList.contains("dragging"))return d="none",c();b=b.nextElementSibling;d="before";return c()}var u;if(((u=b.nextElementSibling)==null?0:u.classList.contains("dragging"))&&e===f)return d="none",c();d="after";return c()}d="current";return c()},Wkb=function(a){return Number(a.dataset.level)},Ykb=function(a){var b;return Tr((b=a.dataset.ancestorchain)!=null?b:"")},Zkb=function(a){a&1&&N(0,
"th",25)},$kb=function(a){if(a&1){var b=y();L(0,"td",26,0);Q("click",function(c){var d=z(b).$implicit,e=T(1),f=R();e.focus();Uq(f.focusManager,d);return B(c.stopPropagation())});M()}},alb=function(a){a&1&&N(0,"th",25)},blb=function(a){if(a&1){var b=y();L(0,"td",27,1);Q("click",function(c){var d=z(b).$implicit,e=T(1),f=R();e.focus();Uq(f.focusManager,d);return B(c.stopPropagation())})("dragstart",function(c){z(b);var d=R();return B(d.handleDragStart(c))});N(2,"mat-icon",28);M()}},clb=function(a){a&
1&&(L(0,"th",25),U(1," Id "),M())},dlb=function(a,b){a&1&&(L(0,"td",29),N(1,"b-issue-id-cell",30),M());a&2&&(a=b.$implicit,E(),K("id",a.id))},elb=function(a){a&1&&(L(0,"th",25),U(1," Id "),M())},flb=function(a){a&1&&(L(0,"td",29),U(1,"--"),M())},glb=function(a){a&1&&(L(0,"th",25),U(1," Title "),M())},hlb=function(a,b){if(a&1){var c=y();L(0,"td",29)(1,"b-expandable-issue-title-cell",31);W(2,"async");W(3,"async");Q("expansionChange",function(){var d=z(c).$implicit,e=R();return B(e.toggleExpansion(d))})("onSaveOutput",
function(){var d=z(c).$implicit;return B(d.isEditMode=!1)})("onCancelOutput",function(){var d=z(c).$implicit;return B(d.isEditMode=!1)});M()()}a&2&&(a=b.$implicit,E(),K("isEditMode",a.isEditMode)("issue",X(2,5,a.issue$))("expandable",X(3,7,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},ilb=function(a){a&1&&(L(0,"th",25),U(1," Type "),M())},jlb=function(a,b){a&1&&(L(0,"td",29),N(1,"b-issue-type-cell",32),W(2,"async"),M());a&2&&(a=b.$implicit,E(),K("issue",X(2,1,a.issue$)))},klb=
function(){},llb=function(a){a&1&&U(0," Assignee ")},mlb=function(a){a&1&&(L(0,"th",25),I(1,klb,0,0)(2,llb,1,0),M());a&2&&(a=R(),E(),J((a.options.modes==null?null:a.options.modes.assignee)==="avatar-if-open"?1:2))},nlb=function(a,b){a&1&&N(0,"b-user-image",33);a&2&&K("email",b)},olb=function(a){a&1&&I(0,nlb,1,1,"b-user-image",33);if(a&2){var b;a=R();var c=R(3);J((b=c.getAssigneeString(a))?0:-1,b)}},plb=function(a,b){a&1&&I(0,olb,1,1);a&2&&(a=R(3),J(a.isOpen(b)?0:-1))},qlb=function(a){a&1&&(I(0,plb,
1,1),W(1,"async"));if(a&2){var b;a=R().$implicit;J((b=X(1,1,a.issue$))?0:-1,b)}},rlb=function(a){a&1&&(N(0,"b-issue-assignee-cell",32),W(1,"async"));a&2&&(a=R().$implicit,K("issue",X(1,1,a.issue$)))},slb=function(a){a&1&&(L(0,"td",29),I(1,qlb,2,3)(2,rlb,2,3,"b-issue-assignee-cell",32),M());a&2&&(a=R(),E(),J((a.options.modes==null?null:a.options.modes.assignee)==="avatar-if-open"?1:2))},tlb=function(a){a&1&&(L(0,"th",25),U(1," Status "),M())},ulb=function(a,b){a&1&&(L(0,"td",29),N(1,"b-issue-status-cell",
34),W(2,"async"),M());a&2&&(a=b.$implicit,E(),K("issue",X(2,2,a.issue$))("showPendingFix",!0))},vlb=function(a){a&1&&(L(0,"th",25),U(1," Team "),M())},wlb=function(a,b){a&1&&(L(0,"td",29),N(1,"b-issue-team-cell",32),W(2,"async"),M());a&2&&(a=b.$implicit,E(),K("issue",X(2,1,a.issue$)))},xlb=function(a){a&1&&N(0,"th",25)},zlb=function(a,b){if(a&1){var c=y();L(0,"td",29)(1,"b-actions-menu",35);W(2,"async");Q("click",function(e){z(c);return B(e.stopPropagation())});M()()}if(a&2){a=b.$implicit;b=R();E();
var d;K("menuItems",(d=X(2,1,b.getMenuItems(a)))!=null?d:Ck(3,ylb))}},Alb=function(a){a&1&&N(0,"th",25)},Clb=function(a){if(a&1){var b=y();L(0,"b-actions-menu",35);Q("click",function(d){z(b);return B(d.stopPropagation())});M()}if(a&2){a=R().$implicit;var c=R();K("menuItems",Blb(c,a))}},Dlb=function(a){a&1&&N(0,"b-spinner")},Elb=function(a){a&1&&N(0,"b-spinner")},Flb=function(a,b){a&1&&(L(0,"td",36),I(1,Clb,1,1,"b-actions-menu",37)(2,Dlb,1,0,"b-spinner"),G(3,Elb,1,0,"ng-template",null,2,Gk),M());a&
2&&(a=b.$implicit,E(),J(a.saving?2:1))},Hlb=function(a,b){if(a&1){var c=y();L(0,"td",29)(1,"b-async-data-placeholder",38);W(2,"async");L(3,"b-button",39);Q("onAction",function(){var d=z(c).$implicit,e=R();return B(Glb(e,d))});L(4,"span",40);U(5);M()()()()}a&2&&(a=b.$implicit,b=R(),qk("padding-left",a.level*24+b.TITLE_FIXED_OFFSET_PX,"px"),Hj("colspan",b.tableColumns.length),E(),K("isReady",!!X(2,5,a.parentIssue$)),E(4),V("Display ",a.truncatedSiblingCount," more"))},Ilb=function(a){a&1&&(L(0,"th",
25),U(1," Title "),M())},Klb=function(a,b){if(a&1){var c=y();L(0,"td",29)(1,"div",41)(2,"b-text-input-cell",42);xk("valueChange",function(d){var e=z(c).$implicit;wk(e.title,d)||(e.title=d);return B(d)});Q("commit",function(){var d=z(c).$implicit,e=R();return B(e.saveDraft(d))});M();L(3,"b-button",43);Q("onAction",function(){var d=z(c).$implicit,e=R();return B(e.saveDraft(d))});U(4," Create ");M();L(5,"b-button",44);Q("onAction",function(){var d=z(c).$implicit,e=R();return B(Jlb(e,d))});U(6," Cancel ");
M()()()}a&2&&(a=b.$implicit,b=R(),qk("padding-left",(a.level+1)*24+b.EDITABLE_TITLE_OFFSET_PX,"px"),E(2),vk("value",a.title),K("readonly",a.saving),E(),K("disabled",!a.title||a.saving),E(2),K("disabled",a.saving))},Llb=function(a){a&1&&N(0,"tr",18)},Mlb=function(a){a&1&&G(0,Llb,1,0,"tr",45);a&2&&(a=R(),K("matHeaderRowDef",a.tableColumns))},Olb=function(a,b){if(a&1){var c=y();L(0,"tr",46);W(1,"async");W(2,"async");Q("click",function(d){var e=z(c).$implicit,f=R();return B(f.navigateToIssue(d,e))})("mouseup",
function(d){var e=z(c).$implicit,f=R();return B(f.navigateToIssue(d,e))})("focusin",function(){var d=z(c).$implicit,e=R();return B(Uq(e.focusManager,d))})("keydown",function(d){var e=z(c).$implicit,f=R();return B(f.onRowKeydown(e,d))});M()}a&2&&(a=b.$implicit,b=R(),rk("selected",X(1,8,Nlb(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(X(2,10,a.issue$))),K("row",a),Hj("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},Plb=function(a,b){if(a&1){var c=y();
L(0,"tr",47);Q("focusin",function(){var d=z(c).$implicit,e=R();return B(Uq(e.focusManager,d))})("keydown",function(d){var e=z(c).$implicit,f=R();return B(f.onRowKeydown(e,d))});M()}a&2&&(a=b.$implicit,K("row",a),Hj("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},Qlb=function(a,b){if(a&1){var c=y();L(0,"tr",48);Q("keydown",function(d){var e=z(c).$implicit,f=R();return B(f.onRowKeydown(e,d))})("keydown.escape",function(){var d=z(c).$implicit,e=R();return B(Jlb(e,
d))})("keydown.backspace",function(d){var e=z(c).$implicit,f=R();return B(e.title||d.repeat||Jlb(f,e))})("focusin",function(){var d=z(c).$implicit,e=R();return B(Uq(e.focusManager,d))});M()}a&2&&(a=b.$implicit,K("row",a),Hj("data-type",a.type))},Rlb=function(a,b){if(a&&a.length)return a.map(b)},Slb=function(a){var b=a.getFilename();var c=Sd(a,2,Rd($d));return{filename:b,lineNumber:c,changeNumber:pe(a.getChangeNumber())}},Ulb=function(a){var b=Oc(a,1);a=ie(a,Tlb,2,Rd($d));return{packageName:b,fileMentionSet:Rlb(a,
Slb)}},Wlb=function(a){var b=Pd(a,1,void 0,Kc),c=De(a,2,void 0,Kc);a=ie(a,Vlb,3,Rd($d),Kc);return{totalMentions:b,truncated:c,packageMentionSet:Rlb(a,Ulb)}},Ylb=function(a){return{issueId:Number(a.getIssueId()),responseId:a.getResponseId(),response:a.getResponse(),issueCategory:Xlb[a.getIssueCategory()]}},Zlb=function(a){return{issueId:Number(a.getIssueId()),issueCategory:Xlb[a.getIssueCategory()]}},amb=function(a){var b=$lb(a.open);a=$lb(a.total);return b===a?"("+b+")":"("+b+"/"+a+")"},$lb=function(a){var b=
a.count;a=a.exact;return b===0||a?""+b:b+"+"},bmb=function(a){return"("+$lb(a)+")"},Ur=function(a){return{count:a>99?99:a,exact:a>99?!1:!0}},cmb=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:qb(b)}},dmb=function(a){a&1&&Uj(0)},emb=function(a){a&1&&G(0,dmb,1,0,"ng-container",6);a&2&&(R(),a=T(14),
K("ngTemplateOutlet",a))},fmb=function(a,b){a&1&&N(0,"b-issues-table",7);a&2&&(a=R(2),K("issueIds",b)("tableColumns",a.tableColumns)("menuItemFactory",a.getMenuItems)("filters",a.filters)("initialSort",a.initialSort)("options",a.tableOptions))},gmb=function(a){a&1&&(I(0,fmb,1,6,"b-issues-table",7),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.blockerIds$))?0:-1,b)}},hmb=function(a){a&1&&Uj(0)},imb=function(a){a&1&&(L(0,"div")(1,"span",5),U(2,"This issue is not blocked "),L(3,"span",8),U(4,"\ud83c\udf89"),
M()(),G(5,hmb,1,0,"ng-container",6),M());a&2&&(R(),a=T(14),E(5),K("ngTemplateOutlet",a))},jmb=function(a,b){if(a&1){var c=y();L(0,"p",5);U(1);L(2,"button",9);Q("click",function(){z(c);var d=R();return B(d.shouldResetFilters.next())});U(3,"Show all");M()()}a&2&&(E(),uk(" Filtering ",b," issue",b===1?"":"s",". "))},lmb=function(a){if(a&1){var b=y();L(0,"b-button",10);W(1,"async");Q("onAction",function(){z(b);var c=R();return B(kmb(c))});U(2," Add blocker ");M()}a&2&&(a=R(),K("disabled",!X(1,1,a.canEdit$)))},
mmb=function(a,b){a&1&&N(0,"b-issues-table",0);a&2&&(a=R(),K("issueIds",b)("tableColumns",a.tableColumns)("options",a.tableOptions)("filters",a.filters)("issueUrlFactory",a.ROUTES.issueDependencies.makeHref)("menuItemFactory",a.getMenuItems))},nmb=function(a,b){a&1&&(L(0,"span",8),U(1),M());a&2&&(K("title",zk("",b," applied filter(s)")),E(),tk(b))},omb=function(a){a&1&&(I(0,nmb,2,3,"span",8),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.internalSelectedOptions.size$))?0:-1,b)}},pmb=function(a){a&
1&&(L(0,"h1",6),U(1),M());a&2&&(a=R(),E(),tk(a.overlayTitle))},qmb=function(a){a&1&&(L(0,"h1"),U(1),M());a&2&&(a=R().$implicit,E(),tk(a.title))},rmb=function(a){a&1&&(L(0,"p"),U(1),M());a&2&&(a=R().$implicit,E(),tk(a.description))},smb=function(a,b){if(a&1){var c=y();L(0,"div",7)(1,"div",9)(2,"mat-checkbox",10);W(3,"async");Q("change",function(d){var e=z(c).$implicit,f=R();e=e.key;d.checked?f.internalSelectedOptions.add(e):f.internalSelectedOptions.delete(e);f.onChange.emit(new Set(f.internalSelectedOptions));
return B()});M();L(4,"div");I(5,qmb,2,1,"h1");I(6,rmb,2,1,"p");M()()()}a&2&&(a=b.$implicit,b=R(),E(2),K("checked",X(3,3,Tq(b.internalSelectedOptions,a.key))),E(3),J(a.title?5:-1),E(),J(a.description?6:-1))},tmb=function(a){if(a&1){var b=y();N(0,"mat-divider");L(1,"div",11)(2,"button",12);Q("click",function(){z(b);var c=R(),d=T(1);return B(c.cancel(d))});U(3);M();L(4,"button",13);Q("click",function(){z(b);var c=R(),d=T(1);return B(c.confirm(d))});U(5);M()()}a&2&&(a=R(),E(3),tk(a.cancelButtonLabel),
E(2),tk(a.confirmButtonLabel))},umb=function(a){a&1&&N(0,"b-spinner")},vmb=function(a){a&1&&Uj(0)},wmb=function(a){a&1&&G(0,vmb,1,0,"ng-container",23);a&2&&(R(2),a=T(12),K("ngTemplateOutlet",a))},xmb=function(a){a&1&&(N(0,"b-parents-table",15),W(1,"async"),W(2,"async"));if(a&2){a=R();var b=R();K("issueId",a)("parentIds",X(1,3,b.parentIds$))("filters",X(2,5,b.issueFilters.value$))}},ymb=function(a){a&1&&Uj(0)},zmb=function(a){a&1&&(L(0,"div")(1,"span",24),U(2,"This issue has no parents"),M(),G(3,ymb,
1,0,"ng-container",23),M());a&2&&(R(2),a=T(12),E(3),K("ngTemplateOutlet",a))},Amb=function(a){a&1&&Uj(0)},Cmb=function(a){a&1&&(G(0,Amb,1,0,"ng-container",25),W(1,"async"));if(a&2){a=R(2);var b=T(10);K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(4,Bmb,X(1,2,a.parentsTable==null?null:a.parentsTable.hiddenRowCount$)))}},Dmb=function(a){a&1&&Uj(0)},Emb=function(a){a&1&&G(0,Dmb,1,0,"ng-container",23);a&2&&(R(2),a=T(14),K("ngTemplateOutlet",a))},Fmb=function(a){a&1&&(L(0,"div",20)(1,"section",26)(2,
"div",27),U(3," Progress: "),M(),L(4,"div",27),U(5),W(6,"async"),W(7,"number"),W(8,"async"),W(9,"number"),M(),L(10,"div",28),W(11,"async"),L(12,"div",29),N(13,"div",30),W(14,"async"),L(15,"onedev-hovercard",null,3)(17,"div",31)(18,"div",32),U(19),W(20,"async"),M()()()()(),N(21,"mat-icon",33),L(22,"onedev-hovercard",null,4)(24,"div",31)(25,"div",34)(26,"p"),U(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. "),
M()()()()()());if(a&2){a=T(16);var b=T(23),c=R(2);E(5);uk(" ",Fk(7,11,X(6,9,c.totalDaysComplete$),"1.0-2")," of ",Fk(9,16,X(8,14,c.totalDaysCount$),"1.0-2")," days complete ");E(5);Hj("aria-label",zk("",X(11,19,c.totalDaysDisplayPercent$)," Percentage of effort completed"));E(2);K("onedevHovercardTrigger",a);E();qk("width",X(14,21,c.totalDaysDisplayPercent$),"%");E(6);V(" ",X(20,23,c.progressHovercardContent$)," ");E(2);K("onedevHovercardTrigger",b)}},Gmb=function(a){a&1&&N(0,"rollups-project",21);
a&2&&(a=R(),K("id",a))},Hmb=function(a){a&1&&Uj(0)},Imb=function(a){a&1&&(G(0,Hmb,1,0,"ng-container",25),W(1,"async"));if(a&2){a=R(2);var b=T(10);K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(4,Bmb,X(1,2,a.relationsTable==null?null:a.relationsTable.hiddenRowCount$)))}},Jmb=function(a){a&1&&Uj(0)},Kmb=function(a){a&1&&(L(0,"span",24),U(1,"This issue has no children"),M(),G(2,Jmb,1,0,"ng-container",23));a&2&&(R(3),a=T(14),E(2),K("ngTemplateOutlet",a))},Lmb=function(a){a&1&&(L(0,"p",35)(1,"a",
36),U(2," View as search results "),M()());if(a&2){a=R(2);var b=R();E();K("href",b.makeIlpUrlForParentIssue(a),Ni)}},Mmb=function(a){a&1&&(I(0,Kmb,3,1),W(1,"async"),W(2,"async"),Jj(3,Lmb,3,1,"p",35));if(a&2){var b;a=R(2);J(X(1,1,a.unarchivedChildIssueCount$)===0&&(((b=X(2,3,a.relationsTable==null?null:a.relationsTable.rows$))==null?null:b.length)||0)===0?0:3)}},Nmb=function(a,b){if(a&1){var c=y();L(0,"div",9)(1,"section",10)(2,"div",11)(3,"h4",12)(4,"div",13);N(5,"mat-icon",14);M();U(6);W(7,"async");
M();I(8,wmb,1,1,"ng-container");W(9,"async");M();I(10,xmb,3,7,"b-parents-table",15);W(11,"async");Jj(12,zmb,4,1,"div");I(13,Cmb,2,6,"ng-container");W(14,"async");M();L(15,"section")(16,"b-blockers-table",16);W(17,"async");Q("shouldResetFilters",function(){z(c);var f=R();return B(f.shouldResetFilters())});M()();L(18,"section")(19,"div",17)(20,"h4",12)(21,"div",18);N(22,"mat-icon",19);M();U(23);W(24,"async");M();I(25,Emb,1,1,"ng-container");W(26,"async");W(27,"async");M();I(28,Fmb,28,25,"div",20);W(29,
"async");W(30,"async");I(31,Gmb,1,1,"rollups-project",21);N(32,"b-issue-relations-table",22);W(33,"async");W(34,"async");W(35,"async");I(36,Imb,2,6,"ng-container");W(37,"async");I(38,Mmb,4,5);W(39,"async");M()()}if(a&2){var d,e;a=R();E(6);V(" Parents ",X(7,17,a.counts.countParentsDisplay$)," ");E(2);J(X(9,19,a.parentsCount$)?8:-1);E(2);J(X(11,21,a.parentsCount$)?10:12);E(3);J(X(14,23,a.issueFilters.value$)?13:-1);E(3);K("filters",X(17,25,a.issueFilters.value$));E(7);V(" Child issues ",X(24,27,a.counts.countChildrenDisplay$),
" ");E(2);J(X(26,29,a.unarchivedChildIssueCount$)||(((d=X(27,31,a.relationsTable==null?null:a.relationsTable.rows$))==null?null:d.length)||0)>0?25:-1);E(3);J(a.isTotalEstimatesEnabled&&X(29,33,a.unarchivedChildIssueCount$)&&X(30,35,a.totalDaysCount$)?28:-1);E(3);J(a.isInternalSession&&a.enableRollupStatsUi?31:-1);E();rk("hidden",!((e=X(33,37,a.relationsTable==null?null:a.relationsTable.rows$))==null?0:e.length)&&!X(34,39,a.relationsTable==null?null:a.relationsTable.hiddenRowCount$));K("saveExpansionAtKey",
zk("project-expansion-",b))("rootIssueId",b)("filters",X(35,41,a.issueFilters.value$));E(4);J(X(37,43,a.issueFilters.value$)?36:-1);E(2);J(X(39,45,a.unarchivedChildIssueCount$)!==null?38:-1)}},Omb=function(a){if(a&1){var b=y();L(0,"p",24);U(1);L(2,"button",37);Q("click",function(){z(b);var c=R(2);return B(c.issueFilters.reset([]))});U(3,"Show all");M()()}a&2&&(a=R().filteredCount,E(),uk(" Filtering ",a," issue",a===1?"":"s",". "))},Pmb=function(a,b){a&1&&I(0,Omb,4,2,"p",24);a&2&&J(b.filteredCount?
0:-1)},Rmb=function(a){if(a&1){var b=y();L(0,"b-button",38);W(1,"async");Q("onAction",function(){z(b);var c=R();return B(Qmb(c))});U(2," Add parent ");M()}a&2&&(a=R(),K("disabled",!X(1,1,a.canEdit$)))},Smb=function(a){if(a&1){var b=y();L(0,"b-button",41);W(1,"async");Q("onAction",function(){z(b);var c=R(2);return B(c.createChild())});U(2," Create new child ");M()}a&2&&(a=R(2),K("disabled",!X(1,1,a.canEdit$)))},Tmb=function(a){if(a&1){var b=y();I(0,Smb,3,3,"b-button",39);L(1,"b-button",40);W(2,"async");
Q("onAction",function(){z(b);var c=R();return B(c.addChild())});U(3," Add existing child ");M()}a&2&&(a=R(),J(a.isNonPublicSession?0:-1),E(),K("disabled",!X(2,2,a.canEdit$)))},Umb=function(a,b){return si([a,b]).pipe(C(function(c){var d=l(c);c=d.next().value;d=d.next().value;return d===0?0:Math.round(c*100/d*100)/100}))},Vmb=function(a){return a===1?a+" day":a+" days"},Wmb=function(a){a&1&&(N(0,"one-work-area-list",0),W(1,"async"));a&2&&(a=R(2),K("searchString",X(1,5,a.issueFilter$))("prefKey",a.entityReference)("reference",
a.entityReference)("onlyShowTableWhenFiltered",a.onlyShowTableWhenFiltered)("entityType",a.entityType))},Xmb=function(a){a&1&&N(0,"rollups-project",2)(1,"stat-cards-project",2);a&2&&(a=R(2),K("id",a),E(),K("id",a))},Zmb=function(a){if(a&1){var b=y();L(0,"aside",4)(1,"p",5);U(2,"This issue has no children.");M();L(3,"button",6);Q("click",function(){z(b);var c;(c=R(5).relationsTable)==null||Ymb(c);return B()});U(4," Create new child ");M();L(5,"button",7);Q("click",function(){z(b);var c;(c=R(5).relationsTable)==
null||c.addExistingChild();return B()});U(6," Add existing ");M()()}},$mb=function(a,b){a&1&&(I(0,Zmb,7,0,"aside",4),W(1,"async"));if(a&2){var c;a=R(4);J(b.descendantCount===0&&(((c=X(1,1,a.relationsTable==null?null:a.relationsTable.rows$))==null?null:c.length)||0)===0?0:-1)}},anb=function(a){a&1&&(N(0,"b-issue-relations-table",3),I(1,$mb,2,3),W(2,"async"));if(a&2){var b;a=R(2);var c=R();K("saveExpansionAtKey",zk("project-expansion-",a))("rootIssueId",a)("filters",c.getFilters())("tableColumns",c.TREE_COLUMNS)("options",
c.TREE_OPTIONS)("defaultExpansionLevel",0);E();J((b=X(2,8,c.issue$))?1:-1,b)}},bnb=function(a){a&1&&(I(0,Xmb,2,2),I(1,anb,3,10));a&2&&(a=R(2),J(a.isInternalSession?0:-1),E(),J(a.showTable()?1:-1))},cnb=function(a){a&1&&U(0);a&2&&(a=R(2),V(" Unhandled entity type: ",a.entityType," "))},dnb=function(a){a&1&&(N(0,"recent-events",1),W(1,"async"));a&2&&(a=R(2),K("query",X(1,2,a.issueFilter$))("numEvents",a.numRecentActivityEvents))},enb=function(a){a&1&&(I(0,Wmb,2,7,"one-work-area-list",0)(1,bnb,2,2)(2,
cnb,1,1),I(3,dnb,2,4,"recent-events",1));a&2&&(a=R(),J(a.entityType==="hotlist"||a.entityType==="savedsearch"?0:a.entityType==="issue"?1:2),E(3),J(a.hideRecentActivity?-1:3))},fnb=function(a){return{filter:a!=null?a:void 0,pageSize:500,sort:"modified_time:desc"}},gnb=function(a){a&1&&(N(0,"rollups-list",0),W(1,"async"),N(2,"stat-cards-list",1),W(3,"async"));a&2&&(a=R(),K("ref",a.reference)("query",X(1,5,a.issueQuery$)),E(2),K("prefKey",a.prefKey)("query",X(3,7,a.issueQuery$))("entityType",a.entityType))},
hnb=function(a,b){a&1&&N(0,"b-issues-table",2);a&2&&(a=R(2),K("issueIds",b)("options",a.TABLE_OPTIONS)("filters",a.getFilters())("tableColumns",a.getFilters()[0]==="PROGRESS"?a.PROGRESS_COLUMNS:a.DEFAULT_COLUMNS)("initialSort",a.INITIAL_SORT))},inb=function(a){a&1&&(I(0,hnb,1,5,"b-issues-table",2),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.issueIds$))?0:-1,b)}},jnb=function(a){a&1&&(L(0,"button",9),N(1,"mat-icon",13),U(2," Add "),M());a&2&&(R(),a=T(9),K("matMenuTriggerFor",a))},knb=function(a){a&
1&&N(0,"b-tracker-chip-smart",17);a&2&&(a=R(2).$implicit,K("trackerId",a.trackerId)("compactMode",!0))},lnb=function(a){a&1&&(L(0,"a",28),N(1,"mat-icon",29),U(2," View Issue "),M(),L(3,"a",30),N(4,"mat-icon",29),U(5," View as search results "),M());if(a&2){a=R(2).$implicit;var b=R(2);K("routerLink",b.makeBuganizerUrl(a.workAreaUrl));E(3);K("href",b.makeIlpUrlForParentIssue(a.workAreaUrl),Ni)}},mnb=function(a){a&1&&(L(0,"a",21),N(1,"mat-icon",29),U(2),M());if(a&2){a=R(2).$implicit;var b=R(2);K("routerLink",
b.makeBuganizerUrl(a.workAreaUrl));E(2);V(" View ",b.getEntityTypeName(a.workAreaUrl)," ")}},nnb=function(a,b){if(a&1){var c=y();L(0,"button",10);Q("click",function(){var d=z(c),e=R(4);e.clipboard.copy(d);hq(e.butterBar,"ID copied",2E3);return B()});N(1,"mat-icon",31);U(2);M()}a&2&&(E(2),V(" Copy ID: ",b," "))},pnb=function(a){if(a&1){var b=y();I(0,knb,1,2,"b-tracker-chip-smart",17);U(1);L(2,"button",18);Q("click",function(k){z(b);return B(k.stopPropagation())});N(3,"mat-icon",19);M();L(4,"mat-menu",
20,1);I(6,lnb,6,2)(7,mnb,3,2,"a",21);I(8,nnb,3,1,"button",22);N(9,"mat-divider");L(10,"button",23);Q("click",function(){z(b);var k=R().$implicit,q=R(2);return B(onb(q.prefsService,k.workAreaUrl,-1))});N(11,"mat-icon",24);U(12," Move Left ");M();L(13,"button",23);Q("click",function(){z(b);var k=R().$implicit,q=R(2);return B(onb(q.prefsService,k.workAreaUrl,1))});N(14,"mat-icon",25);U(15," Move Right ");M();L(16,"button",26);Q("click",function(){z(b);var k=R().$implicit,q=R(2).prefsService,u=k.workAreaUrl;
if(u!=null){var A;k=((A=q.prefs.workAreaUrls)!=null?A:[]).slice();A=k.indexOf(u);A<0||(k.splice(A,1),Vr(q,{workAreaUrls:k}))}return B()});N(17,"mat-icon",27);U(18," Remove ");M()()}if(a&2){var c;a=T(5);var d=R(),e=d.$implicit,f=d.$index;d=d.$count;var h=R(2);J(h.currentTrackerId&&h.currentTrackerId!==e.trackerId&&h.inferEntityType(e.workAreaUrl)==="issue"?0:-1);E();V(" ",h.titles[e.workAreaUrl]||e.workAreaUrl," ");E();K("matMenuTriggerFor",a);E(4);J(h.inferEntityType(e.workAreaUrl)==="issue"?6:7);
E(2);J((c=h.extractLastDigits(e.workAreaUrl))?8:-1,c);E(2);K("disabled",f===0);E(3);K("disabled",f===d-1);E(3);K("title",zk("Hide the work area '",e.workAreaUrl,"' from this section"))}},qnb=function(a){a&1&&N(0,"one-work-area",32);if(a&2){a=R().$implicit;var b=R(2);K("reference",a.workAreaUrl)("refreshWorkArea",b.refreshData)}},rnb=function(a){a&1&&(L(0,"mat-tab"),G(1,pnb,19,9,"ng-template",15)(2,qnb,1,2,"ng-template",16),M())},unb=function(a){if(a&1){var b=y();L(0,"mat-tab-group",14);Q("selectedIndexChange",
function(c){z(b);var d=R();return B(snb(d.prefsService,d.SECTION_SLUG,c))});Mj(1,rnb,3,0,"mat-tab",null,tnb);W(3,"async");M()}a&2&&(a=R(),K("selectedIndex",a.INITIAL_TAB_INDEX),E(),Nj(X(3,1,a.refsForTemplate$)))},vnb=function(a){a&1&&N(0,"b-issue-card",44);a&2&&(a=R().$implicit,K("issueId",a.ref))},xnb=function(a,b){if(a&1){var c=y();L(0,"li",41);Q("click",function(){var d=z(c).$implicit,e=R(3);return B(wnb(e,d.ref))});L(1,"p",42);U(2);M();L(3,"p",43);U(4);M();L(5,"onedev-hovercard",null,2);I(7,vnb,
1,1,"b-issue-card",44);M()()}a&2&&(a=b.$implicit,b=T(6),K("title",zk("Click to add\n\rWhy this? ",a.suggestionRationale)),E(2),tk(a.title),E(),K("onedevHovercardTrigger",b),E(),V("b/",a.ref),E(3),J(a.ref?7:-1))},ynb=function(a){a&1&&(L(0,"div",35)(1,"h4"),U(2,"Suggestions:"),M(),L(3,"ol",39),Mj(4,xnb,8,6,"li",40,Lj),M()());a&2&&(a=R(2),E(4),Nj(a.suggestions))},znb=function(a){a&1&&(L(0,"section",12)(1,"div",33),N(2,"img",34),I(3,ynb,6,0,"div",35),M(),L(4,"p",36),U(5," Use work areas to closely monitor a hotlist, saved search, or a parent/child project issue. "),
M(),L(6,"button",37),N(7,"mat-icon",38),U(8," Add work area "),M()());if(a&2){a=R();var b=T(9);E(2);K("src",a.EMPTY_STATE_IMG,Ni);E();J(a.suggestions.length>0?3:-1);E(3);K("matMenuTriggerFor",b)}},Anb=function(a){if(a&1){var b=y();L(0,"div",1);Q("click",function(){z(b);var c=R();return B(c._onBackdropClicked())});M()}a&2&&(a=R(),rk("mat-drawer-shown",a._isShowingBackdrop()))},Bnb=function(a){a&1&&(L(0,"mat-drawer-content"),ak(1,2),M())},Cnb=function(a){if(a&1){var b=y();L(0,"div",1);Q("click",function(){z(b);
var c=R();return B(c._onBackdropClicked())});M()}a&2&&(a=R(),rk("mat-drawer-shown",a._isShowingBackdrop()))},Dnb=function(a){a&1&&(L(0,"mat-sidenav-content"),ak(1,2),M())},Enb=function(a,b){if(a&1){var c=y();L(0,"button",9);Q("click",function(){var d=z(c).$implicit,e=R(2);return B(e.pageSizeChange.emit(d))});L(1,"span",10);N(2,"mat-icon",11);M();U(3);M()}a&2&&(a=b.$implicit,b=R(2),rk("b-menu-item-checked",a===b.pageSize),Hj("aria-checked",a===b.pageSize),E(3),V(" ",a," "))},Fnb=function(a){a&1&&(L(0,
"button",5),N(1,"mat-icon",6),M(),L(2,"mat-menu",null,0)(4,"div",7),U(5,"Results per page:"),M(),Mj(6,Enb,4,4,"button",8,Lj),M());if(a&2){a=T(3);var b=R();K("matMenuTriggerFor",a);E(6);Nj(b.pageSizeOptions)}},Gnb=function(a){a&1&&(L(0,"span"),U(1," - "),L(2,"strong"),U(3),M()());a&2&&(a=R(),E(3),tk(a.endIndex))},Hnb=function(a,b){a&1&&(L(0,"span",27),U(1),M());a&2&&(E(),V("",b," "))},Inb=function(a){a&1&&(I(0,Hnb,2,1,"span",27),W(1,"async"),U(2," \u00a0/\u00a0 "));if(a&2){var b;a=R();J((b=X(1,1,a.attentionCount$))?
0:-1,b)}},Jnb=function(a,b){a&1&&(L(0,"div",9)(1,"h2",7),U(2),M(),L(3,"span",26),I(4,Inb,3,3),W(5,"async"),L(6,"span"),U(7),W(8,"async"),M()()());if(a&2){var c;E(2);tk(b.displayName);E(2);J((c=X(5,3,b.attentionCount$))?4:-1,c);E(3);tk(X(8,5,b.totalCount$))}},Lnb=function(a,b){if(a&1){var c=y();L(0,"button",13);Q("click",function(){var d=z(c).$implicit,e=R();return B(Knb(e,d))});U(1);M()}a&2&&(a=b.$implicit,b=R(),E(),V(" ",b.SUBPHASE_TO_DISPLAY_NAME[a]," "))},Mnb=function(a){a&1&&N(0,"mat-progress-bar",
21)},Nnb=function(a){a&1&&U(0);a&2&&(a=R().$implicit,V(" (",a.count,") "))},Onb=function(a,b){a&1&&(L(0,"mat-chip-option",30),W(1,"async"),L(2,"span",31),U(3),I(4,Nnb,1,1),M()());a&2&&(a=b.$implicit,b=R(4),K("value",a.key)("selected",X(1,5,Tq(b.selectedFilterKeys,a.key))),E(2),K("matTooltip",a.tooltip),E(),V(" ",a.displayAs," "),E(),J(a.showCount?4:-1))},Qnb=function(a){if(a&1){var b=y();L(0,"mat-chip-listbox",29);Q("change",function(c){z(b);R(3).selectedFilterKeys.reset(c.value.filter(fe));return B()});
Mj(1,Onb,5,7,"mat-chip-option",30,Pnb);M()}a&2&&(a=R(),K("multiple",!0),E(),Nj(a))},Rnb=function(a,b){a&1&&I(0,Qnb,3,1,"mat-chip-listbox",28);a&2&&J(b.length?0:-1)},Snb=function(a){a&1&&(I(0,Rnb,1,1),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.availableFiltersInCurrentPhase$))?0:-1,b)}},Tnb=function(a){a&1&&Uj(0)},Vnb=function(a,b){a&1&&G(0,Tnb,1,0,"ng-container",32);if(a&2){a=R();var c=T(53);K("ngTemplateOutlet",c)("ngTemplateOutletContext",Ek(2,Unb,b,a.teamId))}},Wnb=function(a){if(a&1){var b=
y();L(0,"selection-triage-sidebar",33);Q("refreshTable",function(){z(b);var c=R(3);return B(c.refreshTable())});M()}},Xnb=function(a){if(a&1){var b=y();L(0,"issue-triage-sidebar",33);Q("refreshTable",function(){z(b);var c=R(4);return B(c.refreshTable())});M()}},Ynb=function(a){if(a&1){var b=y();L(0,"cluster-triage-sidebar",33);Q("refreshTable",function(){z(b);var c=R(4);return B(c.refreshTable())});M()}},Znb=function(a){a&1&&I(0,Xnb,1,0,"issue-triage-sidebar")(1,Ynb,1,0,"cluster-triage-sidebar");
a&2&&(a=R(),J(a.length===1?0:a.length>1?1:-1))},$nb=function(a){a&1&&I(0,Wnb,1,0,"selection-triage-sidebar")(1,Znb,2,1);a&2&&(a=R(2),J(a.triageService.mode===a.TriageServiceMode.SELECTION?0:a.triageService.mode===a.TriageServiceMode.ACTIVATION?1:-1))},aob=function(a){a&1&&(I(0,$nb,2,1),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.triageService.currentIssueIds$))?0:-1,b)}},eob=function(a){if(a&1){var b=y();L(0,"b-issues-table",36);W(1,"async");W(2,"async");W(3,"async");Q("activeIssueChange",function(k){z(b);
var q=R(2);return B(bob(q,k))})("rowClick",function(k){z(b);var q=R(2);return B(bob(q,k))})("selectedIssuesChange",function(k){z(b);var q=R(2);q.selectedIssues=k;k=q.selectedIssues.selected;q.triageService.setIssueIds(k);k.length?(q.triageService.setMode(1),q.triageService.openSidebar()):(q.triageService.setMode(0),q.triageService.closeSidebar());return B()})("sortChange",function(k){z(b);var q=R(2);return B(q.onSortChange(k))})("columnsChange",function(k){z(b);var q=R(2);return B(q.onColumnsChange(k))});
M()}if(a&2){var c=R();a=c.issueIds;c=c.teamId;var d=R(),e,f,h;K("issueIds",a)("tableColumns",(e=X(1,7,d.tableColumns$))!=null?e:Ck(13,cob))("editableColumns",!0)("options",(f=X(2,9,d.tableOptions$))!=null?f:Ck(14,dob))("teamId",c)("showReadStatus",!0)("alerts",(h=X(3,11,d.issueAlertsForCurrentPhase$))!=null?h:Ck(15,cob))}},fob=function(a){a&1&&(L(0,"div",35),N(1,"img",37),U(2," All clean! There are no issues in this phase. "),M());a&2&&(a=R(2),E(),K("src",a.EMPTY_STATE_IMG,Ni))},gob=function(a,b){a&
1&&I(0,eob,4,16,"b-issues-table",34)(1,fob,3,1,"div",35);a&2&&J(b.issueIds.length?0:1)},hob=function(a,b,c){var d=b.find(function(e){return e.key==="LAST_30_DAYS"});b=b.filter(function(e){return e.key!=="LAST_30_DAYS"});return uLa(a,b).filter(function(e){return!d||d.check(e)||c.some(function(f){return sLa(e,f)})?!0:!1})},job=function(a,b,c,d){return c?function(){switch(c.column){case "CREATED_TIME":return dia(eha)(a,c.direction);case "RELATIVE_MODIFIED_TIME":return eia(eha)(a,c.direction);case "PRIORITY":return jia(eha)(a,
c.direction);case "TRIAGER":return gia()(a,c.direction);default:return console.warn("b-triage-phase sort by '"+c.column+"' not implemented"),a}}().map(function(e){return e.issueId}):iob(a,b,d)},iob=function(a,b,c){var d=kob.get(c),e=new Map(a.map(function(f){return[f.issueId,d.findIndex(function(h){return sLa(f,h)})]}));c=a.filter(function(f){return e.get(f.issueId)!==-1}).map(function(f){return f.issueId}).sort(function(f,h){return e.get(f)-e.get(h)});return no([].concat(p(b),p(c),p(a.map(function(f){return f.issueId}))),
function(f){return Array.isArray(f)?f.join(";"):f})},lob=function(a){a&1&&(L(0,"span",8),U(1," > "),M())},oob=function(a,b){if(a&1){var c=y();L(0,"span")(1,"a",7);Q("click",function(e){var f=z(c).$implicit,h=R(2);f=new mob(f.pathIds,f.pathNames);h.onTeamSelect.emit(f);e.stopPropagation();e.preventDefault();nob(h.autocompleteTrigger);return B()});U(2);M();I(3,lob,2,0,"span",8);M()}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;E();K("matTooltip",a.pathNameText);E();tk(a.name);E();J(d!==b-1?3:-1)}},
pob=function(a,b){a&1&&(L(0,"mat-option",5)(1,"div"),Mj(2,oob,4,3,"span",null,Lj),M(),L(4,"span",6),U(5),W(6,"slice"),M()());a&2&&(a=b.$implicit,K("value",a),E(2),Nj(a.teamPath),E(2),K("matTooltip",a.description),E(),V("",hsa(6,3,a.description,100)," "))},qob=function(a){a&1&&U(0," Search results ")},rob=function(a){a&1&&U(0," Recommended ")},sob=function(a){a&1&&(L(0,"th",18)(1,"span",19),U(2,"Starred"),M()())},tob=function(a,b){if(a&1){var c=y();L(0,"td",20)(1,"b-star-toggle",21);Q("starClicked",
function(){var e=z(c).$implicit,f=R(2),h=R();return B(h.toggleStar(e.triageId,e.teamId,f))});M()()}if(a&2){a=b.$implicit;b=R(2);var d=R();E();K("disabled",d.starInProgress["row.triageId:row.teamId"])("starred",d.isTriageStarred(a.triageId,a.teamId,b))("starMessage","Star this triage view")("unStarMessage","Un-star this triage view")}},uob=function(a){a&1&&(L(0,"th",18),U(1,"Name"),M())},vob=function(a,b){a&1&&(L(0,"td",22)(1,"a",23),U(2),M()());a&2&&(a=b.$implicit,b=R(3),E(),K("href",b.getTriageLink(a.triageId,
a.teamId),Ni),E(),V(" ",a.triageName||a.teamName+" triage"," "))},wob=function(a){a&1&&(L(0,"th",18),U(1,"Team"),M())},xob=function(a,b){a&1&&(L(0,"td",24),U(1),M());a&2&&(a=b.$implicit,E(),V(" ",a.teamName," "))},yob=function(a){a&1&&(L(0,"th",18),U(1,"Scope"),M())},zob=function(a,b){a&1&&(L(0,"td",25),U(1),M());a&2&&(a=b.$implicit,E(),V(" ",a.scope," "))},Aob=function(a){a&1&&N(0,"tr",26)},Bob=function(a){a&1&&N(0,"tr",27)},Cob=function(a,b){a&1&&(L(0,"table",6),Sj(1,7),G(2,sob,3,0,"th",8)(3,tob,
2,4,"td",9),Tj(),Sj(4,10),G(5,uob,2,0,"th",8)(6,vob,3,2,"td",11),Tj(),Sj(7,12),G(8,wob,2,0,"th",8)(9,xob,2,1,"td",13),Tj(),Sj(10,14),G(11,yob,2,0,"th",8)(12,zob,2,1,"td",15),Tj(),G(13,Aob,1,0,"tr",16)(14,Bob,1,0,"tr",17),M());a&2&&(a=R(2),K("dataSource",b)("fixedLayout",!0),E(13),K("matHeaderRowDef",a.tableColumns),E(),K("matRowDefColumns",a.tableColumns))},Dob=function(a){a&1&&N(0,"b-spinner")},Eob=function(a){a&1&&(I(0,Cob,15,4,"table",6),W(1,"async"),Jj(2,Dob,1,0,"b-spinner"));if(a&2){var b;a=
R();J((b=X(1,1,a.triageRows$))?0:2,b)}},Fob=function(a){a&1&&(L(0,"button",9)(1,"span"),U(2,"Edit"),M(),N(3,"b-icon",14),M());if(a&2){a=R();var b=T(7);K("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},Gob=function(a){a&1&&(L(0,"button",9)(1,"span"),U(2,"Link"),M(),N(3,"b-icon",14),M());if(a&2){a=R();var b=T(74);K("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},Hob=function(a){a&1&&(L(0,"button",9)(1,"span"),U(2,"CC"),M(),N(3,"b-icon",14),M());if(a&2){a=R();var b=T(90);K("disabled",a.isAnonymous)("matMenuTriggerFor",
b)}},Iob=function(a){if(a&1){var b=y();L(0,"button",11);Q("click",function(){z(b);var c=R();return B(c.bulkEdit("ESTIMATED_EFFORT"))});U(1,"Estimated Effort");M()}},Job=function(a,b){if(a&1){var c=y();L(0,"button",11);Q("click",function(){var d=z(c).$implicit,e=R();return B(e.quickBulkEdit("PRIORITY",d))});U(1);M()}a&2&&(a=b.$implicit,E(),V(" ",a," "))},Kob=function(a,b){if(a&1){var c=y();L(0,"button",11);Q("click",function(){var d=z(c).$implicit,e=R();return B(e.quickBulkEdit("SEVERITY",d))});U(1);
M()}a&2&&(a=b.$implicit,E(),V(" ",a," "))},Lob=function(a,b){if(a&1){var c=y();L(0,"button",11);Q("click",function(){var d=z(c).$implicit,e=R();return B(e.quickBulkEdit("STATUS",d))});U(1);M()}a&2&&(a=b.$implicit,b=R(),E(),V(" ",b.STATUS_JS_FULL_TEXT.get(a)," "))},Mob=function(a){a&1&&N(0,"mat-divider")},Nob=function(a){a&1&&N(0,"mat-icon",16);a&2&&(a=R().$implicit,K("svgIcon",a.icon))},Oob=function(a,b){if(a&1){var c=y();I(0,Mob,1,0,"mat-divider");L(1,"button",15);Q("click",function(){var f=z(c).$implicit,
h=R();return B(h.quickBulkEdit("TYPE",f.value))});I(2,Nob,1,1,"mat-icon",16);U(3);M()}if(a&2){a=b.$implicit;b=b.$index;R();var d=Yj(58);J(b>0&&d[b].group!=d[b-1].group?0:-1);E();var e;K("matTooltip",(e=a.altText)!=null?e:"");E();J(a.icon?2:-1);E();V(" ",a.displayText," ")}},Pob=function(a){if(a&1){var b=y();L(0,"button",4);Q("click",function(){z(b);var c=R(2);return B(c.exportCsvClicked.emit())});U(1,"Export issues to CSV ");M()}},Qob=function(a){if(a&1){var b=y();L(0,"button",4);Q("click",function(){z(b);
var c=R(2);return B(c.flagAsSpamClicked.emit())});U(1,"Flag issues as spam ");M()}},Rob=function(a){a&1&&(L(0,"button",1)(1,"span"),U(2,"More"),M(),N(3,"b-icon",2),M(),L(4,"mat-menu",null,0),I(6,Pob,2,0,"button",3),I(7,Qob,2,0,"button",3),M());if(a&2){a=T(5);var b=R();K("disabled",b.isAnonymous)("matMenuTriggerFor",a);E(6);J(b.showExportCsv?6:-1);E();J(b.showFlagIssuesAsSpam?7:-1)}},Sob=function(a){a&1&&U(0," Network connection has been interrupted. ")},Tob=function(a){a&1&&U(0," Network connection has been interrupted or login credentials may have expired. ")},
Vob=function(a){if(a&1){var b=y();L(0,"button",2);Q("click",function(c){z(b);R(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=ad("/refreshSso")?"/refreshSso":dd(typeof"/refreshSso".href!="undefined"?"/refreshSso".href:"/refreshSso");var f=self.crossOriginIsolated!==void 0,h="strict-origin-when-cross-origin";window.Request&&(h=(new Request("/")).referrerPolicy);var k=
d.noreferrer;if(f&&k&&h==="unsafe-url")throw Error("af");h=k&&!f;k=d.target||"/refreshSso".target;var q=[],u=[],A=!1;for(H in d){var D=d[H];switch(H){case "width":case "height":case "top":case "left":q.push(H+"="+D);break;case "target":break;case "noopener":case "noreferrer":D?u.push(H):(A=!0,u.push(H+"=false"));break;case "attributionsrc":q.push(H+(D?"="+D:""));break;default:q.push(H+"="+(D?1:0))}}var H=k!==void 0&&!["_blank","_self","_top","_parent",""].includes(k);H=ta()&&H;Uob&&f&&q.length===
0&&u.length>0&&!H&&!A?(u.length===2&&(u=["noreferrer"]),jd(c,e,k,u[0])):(f=q.join(","),xa()&&c.navigator&&c.navigator.standalone&&k&&k!="_self"?(f=mr(document,"A"),hea(f,e),f.target=k,h&&(f.rel="noreferrer"),((d=d.attributionsrc)||d==="")&&f.setAttribute("attributionsrc",d),d=document.createEvent("MouseEvent"),d.initMouseEvent("click",!0,!0,c,1),f.dispatchEvent(d)):h?(c=jd(c,"",k,f),d=bd(e),c&&(c.opener=null,d===""&&(d="javascript:''"),d=lea('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+
Wr(d)+'">'),(c=c.document)&&c.write&&(c.write(id(d)),c.close()))):((c=jd(c,e,k,f))&&d.noopener&&(c.opener=null),c&&d.noreferrer&&(c.opener=null)));return B()});U(1," Log in again ");M()}},Wob=function(a){a&1&&(L(0,"b-callout",0)(1,"b-callout-body"),I(2,Sob,1,0)(3,Tob,1,0),M(),L(4,"b-callout-actions"),I(5,Vob,2,0,"button",1),M()());a&2&&(a=R(),K("messageType","error"),E(2),J(a.isAnonymous?2:3),E(3),J(a.isAnonymous?-1:5))},Xob=function(a){a&1&&(L(0,"a",0),U(1," Hiring! "),M())},Yob=function(a,b){a&
1&&(L(0,"tr")(1,"td",4),U(2),M(),L(3,"td"),U(4,":"),M(),L(5,"td",5),U(6),M()());a&2&&(a=b.$implicit,E(2),tk(a.displayAs),E(4),tk(a.description))},Zob=function(a,b){a&1&&(L(0,"thead")(1,"tr"),N(2,"th",2),L(3,"th",3),U(4),M()(),Mj(5,Yob,7,2,"tr",null,Lj),M());a&2&&(a=b.$implicit,E(4),tk(a.title),E(),Nj(a.hotkeys))},$ob=function(a){a=a===void 0?!1:a;var b=AGa(),c=b.total,d=b.redundancyRatio;Yo("after-60s","xhr","redundant",b.redundant);Yo("after-60s","xhr","total",c);Yo("after-60s","xhr","redundancyRatio",
d);a&&(console.table(zGa()),console.log(b))},Yr=function(a){a==="duplicateOfIssueId"&&(a="canonicalIssueId");var b=Number(a);isNaN(b)?a=new Xr({type:String(a).replace(/([A-Z])/g,"_$1").toUpperCase()}):b===0?a=null:(a={customFieldId:b},a=new Xr({type:"CUSTOM_FIELD",customFieldId:a.customFieldId,customFieldName:a.name}));return a},apb=function(a){a=Zr(a);if(ja(a))return null;var b=a.split(":");if(b.length!==2||ja(b[1]))return null;a=b[1].toLowerCase()==="asc"?"ASCENDING":"DESCENDING";return(b=Yr(b[0]))&&
a?new $r(b,a):null},as=function(a,b){b=b===void 0?Nf():b;var c,d=(c=b.tracker)==null?void 0:c.name;b=b.config.appName;d=d||b;return a?a+" - "+d:d},bpb=function(a){a&1&&N(0,"bug-screensaver")},cpb=function(a){a&1&&(N(0,"img",3),L(1,"span",4),U(2),M(),U(3," Powered by Google "),L(4,"span",1),U(5,"|"),M());a&2&&(a=R(2),K("src",a.trackerLogo,Ni),E(2),V("",a.trackerName," Issue Tracker"))},dpb=function(a){a&1&&(L(0,"div")(1,"span",1),U(2,"|"),M(),L(3,"a",5),U(4,"Code of Conduct"),M()());a&2&&(a=R(2),E(3),
K("href",a.trackerCoc,Ni))},epb=function(a){a&1&&(L(0,"footer"),I(1,cpb,6,2),L(2,"a",0),U(3,"Privacy"),M(),L(4,"span",1),U(5,"|"),M(),L(6,"a",2),U(7,"Terms"),M(),I(8,dpb,5,1,"div"),M());a&2&&(a=R(),E(),J(a.currentTracker?1:-1),E(7),J(a.trackerCoc?8:-1))},fpb=function(a,b){if(a&1){var c=y();L(0,"b-fab-segmented",1);Q("clickMain",function(e){z(c);var f=R(2);return B(f.trackClick(e))})("clickSegment",function(e){z(c);var f=R(2);return B(f.trackClick(e))});M()}if(a&2){a=R();var d=R();K("label",b)("icon",
d.buttonIcon)("href",d.createIssuePath)("segments",a)}},gpb=function(a){a&1&&(I(0,fpb,1,4,"b-fab-segmented",0),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.buttonLabel$))?0:-1,b)}},hpb=function(a){a&1&&Uj(0)},ipb=function(a){a&1&&Uj(0)},jpb=function(a){a&1&&G(0,ipb,1,0,"ng-container",1);a&2&&(a=R(),K("ngTemplateOutlet",a.content))},kpb=function(a){a&1&&(L(0,"ul",5)(1,"li")(2,"a",6),N(3,"mat-icon",7),U(4," Triage "),M()()());a&2&&(a=R(2),E(),rk("selected",a.location.path().startsWith(Hq.triageSettings.makeHref())),
E(),K("href",a.ROUTES.triageSettings.makeHref(),Ni))},lpb=function(a){if(a&1){var b=y();L(0,"button",13);Q("click",function(){z(b);var c=R(4);return B(c.goToTriageSettingsPage())});U(1," Configure triage ");M()}},mpb=function(a){if(a&1){var b=y();U(0," Triage ");L(1,"span",9);U(2,"New");M();L(3,"button",10);Q("click",function(c){z(b);return B(c.stopPropagation())});N(4,"mat-icon",11);M();L(5,"mat-menu",null,2);G(7,lpb,2,0,"ng-template",12);M()}a&2&&(a=T(6),E(3),K("matMenuTriggerFor",a))},npb=function(a){a&
1&&(L(0,"div",17)(1,"span",18),U(2),W(3,"async"),M()());a&2&&(a=R().$implicit,E(2),tk(X(3,1,a.displayName$)))},opb=function(a,b){a&1&&(L(0,"span",26),U(1),M());a&2&&(E(),V(" ",b," "))},ppb=function(a,b){if(a&1){var c=y();L(0,"a",25);Q("click",function(f){var h=z(c),k=R(8);return B(k.onAnchorClick(h,f))});L(1,"span");U(2);M();I(3,opb,2,1,"span",26);W(4,"async");M()}if(a&2){var d;a=R().$implicit;var e=R();K("href",b,Ni);E(2);V(" ",e.phase(a).displayName," ");E();J((d=X(4,3,e.phase(a).attentionCount$))?
3:-1,d)}},qpb=function(a,b){a&1&&(L(0,"li",24),I(1,ppb,5,5,"a",22),M());if(a&2){var c;a=b.$implicit;b=R();var d=R(2).$implicit,e=R(4);rk("selected-indented",e.isTriageUrlFor(d.teamId,a,d.triageId));K("title",b.phase(a).displayName);E();J((c=e.ROUTES.viewTriage.makeHref(d.teamId,d.triageId,e.phaseToUrlSlug[a]))?1:-1,c)}},rpb=function(a){a&1&&(L(0,"ul",19),Mj(1,qpb,2,4,"li",20,Lj),L(3,"li",21)(4,"a",22)(5,"span"),U(6," Issue Themes "),N(7,"mat-icon",23),M()()()());if(a&2){a=R(2).$implicit;var b=R(4);
E();Nj(b.ALL_PHASES);E(2);rk("selected-indented",b.location.path().endsWith("issue-themes"));E();K("href",b.ROUTES.viewIssueThemes.makeHref(a.teamId,a.triageId),Ni)}},spb=function(a){a&1&&I(0,rpb,8,3,"ul",19);if(a&2){var b;a=R().$implicit;var c=R(4);J((b=c.triageService.triageDataFactory.get(a.teamId,a.triageId))?0:-1,b)}},upb=function(a,b){if(a&1){var c=y();L(0,"li",15);W(1,"async");L(2,"sidebar-zippy",16);W(3,"async");Q("onExpand",function(){var h=z(c).$implicit;R(4).bLocation.setUrl(Hq.viewTriage.makeHref(h.teamId,
h.triageId));return B()});G(4,npb,4,3,"ng-template",null,3,Gk)(6,spb,1,1,"ng-template",null,4,Gk);M()()}if(a&2){a=b.$implicit;b=T(5);var d=T(7),e=R(4);K("title",X(1,4,a.displayName$));E(2);var f;K("header",b)("content",d)("expanded",(f=X(3,6,tpb(e,a.teamId,a.triageId)))!=null?f:!1)}},vpb=function(a){a&1&&(L(0,"ul",14),Mj(1,upb,8,8,"li",15,Lj),M());a&2&&(a=R(2),E(),Nj(a))},wpb=function(a){a&1&&(N(0,"hr"),L(1,"sidebar-zippy",8),G(2,mpb,8,1,"ng-template",null,0,Gk)(4,vpb,3,0,"ng-template",null,1,Gk),
M());if(a&2){a=T(3);var b=T(5);E();K("header",a)("content",b)}},xpb=function(a,b){a&1&&I(0,kpb,5,3,"ul",5)(1,wpb,6,2);a&2&&J(b.length===0?0:1)},ypb=function(a){a&1&&U(0," Archived ")},zpb=function(a){if(a&1){var b=y();L(0,"button",15);Q("click",function(c){z(b);return B(c.stopPropagation())});N(1,"mat-icon",16);M()}a&2&&(R(),a=T(5),K("matMenuTriggerFor",a))},Apb=function(a){if(a&1){var b=y();L(0,"button",17);Q("click",function(){z(b);var c=R(3).$implicit;return B(c.unstar())});U(1," Unstar ");M()}},
Bpb=function(a){if(a&1){var b=y();L(0,"button",17);Q("click",function(){z(b);var c=R(3).$implicit;return B(c.unarchive())});U(1," Unarchive ");M()}},Cpb=function(a){if(a&1){var b=y();L(0,"button",17);Q("click",function(){z(b);var c=R(2).$implicit,d=R(3);return B(d.handleBookmarkGroupOpen(c.id))});U(1," Open ");M();L(2,"button",17);Q("click",function(){z(b);var c=R(2).$implicit,d=R(3);return B(d.handleBookmarkGroupDashboard(c.id))});U(3," Dashboard ");M();L(4,"button",17);Q("click",function(){z(b);
var c=R(2).$implicit,d=R(3);return B(d.openEditBookmarkGroup(c.id))});U(5," Settings ");M();I(6,Apb,2,0,"button",18);I(7,Bpb,2,0,"button",18)}a&2&&(a=R(2).$implicit,E(6),J(a.isUnstarable()?6:-1),E(),J(a.isEditable()?7:-1))},Dpb=function(a){a&1&&(L(0,"div",11)(1,"span",12),U(2),M(),I(3,zpb,2,1,"button",13),L(4,"mat-menu",null,4),G(6,Cpb,8,2,"ng-template",14),M()());a&2&&(a=R().$implicit,Hj("id",zk("bv2-user-archived-bookmarkgroup-item-",a.id)),E(2),tk(a.name),E(),J(a?3:-1))},Epb=function(a,b){if(a&
1){var c=y();L(0,"li",21)(1,"a",22);Q("click",function(d){var e=z(c).$implicit,f=R(5);return B(f.onAnchorClick(e.href,d))});L(2,"span",12);U(3);M()()()}a&2&&(a=b.$implicit,b=R(2).$implicit,rk("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item",a.type=="HOTLIST")("bv2-bookmark-group-saved-search-item",a.type=="SAVED_SEARCH"),Hj("id",Wra("bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id)),K("title",a.name),E(),K("href",a.href,Ni),E(2),V(" ",a.name," "))},Fpb=function(a){a&1&&(L(0,"ul",
19),Mj(1,Epb,4,13,"li",20,Lj),M());a&2&&(a=R().$implicit,E(),Nj(a.items))},Gpb=function(a,b){a&1&&(L(0,"li",8)(1,"sidebar-zippy",10),G(2,Dpb,7,4,"ng-template",null,2,Gk)(4,Fpb,3,0,"ng-template",null,3,Gk),M()());if(a&2){a=b.$implicit;b=T(3);var c=T(5);K("title",a.name);E();K("header",b)("content",c)}},Hpb=function(a){a&1&&(L(0,"button",25),N(1,"mat-icon",16),M());a&2&&(R(),a=T(6),K("matMenuTriggerFor",a))},Ipb=function(a){if(a&1){var b=y();L(0,"button",17);Q("click",function(){z(b);var c=R(2).$implicit;
return B(c.unstar())});U(1," Unstar ");M()}},Jpb=function(a){if(a&1){var b=y();L(0,"button",17);Q("click",function(){z(b);var c=R(2).$implicit;return B(c.unarchive())});U(1," Unarchive ");M()}},Kpb=function(a){if(a&1){var b=y();L(0,"button",17);Q("click",function(){z(b);var c=R().$implicit,d=R(3);return B(d.openEditHotlist(c.id))});U(1," Settings ");M();I(2,Ipb,2,0,"button",18);I(3,Jpb,2,0,"button",18)}a&2&&(a=R().$implicit,E(2),J(a.isUnstarable()?2:-1),E(),J(a.isEditable()?3:-1))},Lpb=function(a,
b){if(a&1){var c=y();L(0,"li",23)(1,"a",24);Q("click",function(d){var e=z(c).$implicit,f=R(3);return B(f.onAnchorClick(e.href,d))});L(2,"span",12);U(3);M()();I(4,Hpb,2,1,"button",25);L(5,"mat-menu",null,5);G(7,Kpb,4,2,"ng-template",14);M()()}a&2&&(a=b.$implicit,rk("selected",a.isSelected()),K("id",zk("bv2-user-hotlists-archived-hotlist-item-",a.id))("title",a.name),E(),K("href",a.href,Ni),E(2),tk(a.name),E(),J(a?4:-1))},Mpb=function(a){a&1&&(L(0,"ul",7),Mj(1,Gpb,6,3,"li",8,Lj),Mj(3,Lpb,8,8,"li",9,
Lj),M());a&2&&(a=R(2),E(),Nj(a.bookmarkGroups),E(2),Nj(a.hotlists))},Npb=function(a){a&1&&(L(0,"div"),N(1,"hr"),L(2,"sidebar-zippy",6),G(3,ypb,1,0,"ng-template",null,0,Gk)(5,Mpb,5,0,"ng-template",null,1,Gk),M()());if(a&2){a=T(4);var b=T(6);E(2);K("header",a)("content",b)}},Opb=function(a){a&1&&N(0,"b-spinner")},Ppb=function(a){if(a&1){var b=y();L(0,"b-star-toggle",13);Q("starClicked",function(){z(b);var c=R().$implicit,d=R();return B(d.toggleStar(c))});M()}a&2&&(a=R().$implicit,K("starMessage","Star this item")("unStarMessage",
"Un-star this item")("starred",a.isStarred))},Qpb=function(a){a&1&&N(0,"b-hotlist-card",10);a&2&&(a=R().$implicit,K("hotlist",a))},Rpb=function(a){a&1&&N(0,"b-bookmark-group-card",11);a&2&&(a=R().$implicit,K("bookmarkGroup",a))},Spb=function(a,b){a&1&&(L(0,"mat-option",6)(1,"div",8),I(2,Ppb,1,3,"b-star-toggle",9),L(3,"onedev-hovercard",null,2),I(5,Qpb,1,1,"b-hotlist-card",10)(6,Rpb,1,1,"b-bookmark-group-card",11),M(),L(7,"span",12),U(8),M()()());if(a&2){a=b.$implicit;b=T(4);var c=R();K("value",a);
E();rk("bv2-bookmark-group",c.showHotlists&&a.isGroup);E();J(c.shouldShowStar(a)?2:-1);E(3);J(a.isGroup?6:5);E(2);K("onedevHovercardTrigger",b);E();tk(a.name)}},Tpb=function(a){if(a&1){var b=y();L(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-hotlist-search",3);Q("itemSelect",function(c){z(b);var d=R();d.itemSelect.emit(c);d.dialog.disabled=!0;d.dialog.disabled=!1;return B()});M()()()}a&2&&(a=R(),E(2),K("showGroups",a.showGroups)("showHotlists",a.showHotlists)("allowStarring",a.allowStarring)("focusOnInit",
!0))},Upb=function(a){if(a&1){var b=y();L(0,"span");U(1,"Bookmark groups");M();L(2,"b-hotlist-search-popup",8);Q("itemSelect",function(c){z(b);var d=R();c.isGroup&&d.handleBookmarkGroupOpen(c.bookmarkGroupId);return B()})("click",function(c){z(b);return B(c.stopPropagation())});M()}a&2&&(E(2),K("showHotlists",!1))},Vpb=function(a){if(a&1){var b=y();L(0,"button",16);Q("click",function(c){z(b);return B(c.stopPropagation())});N(1,"mat-icon",17);M()}a&2&&(R(),a=T(5),K("matMenuTriggerFor",a))},Wpb=function(a){if(a&
1){var b=y();L(0,"button",18);Q("click",function(){z(b);var c=R(3).$implicit;return B(c.unstar())});U(1," Unstar ");M()}},Xpb=function(a){if(a&1){var b=y();L(0,"button",18);Q("click",function(){z(b);var c=R(3).$implicit;return B(c.archive())});U(1," Archive ");M()}},Ypb=function(a){if(a&1){var b=y();L(0,"button",18);Q("click",function(){z(b);var c=R(3).$implicit;return B(c.setAsPreferredHomepage())});U(1," Set as homepage ");M()}},Zpb=function(a){if(a&1){var b=y();L(0,"button",18);Q("click",function(){z(b);
var c=R(2).$implicit,d=R(3);return B(d.handleBookmarkGroupOpen(c.id))});U(1," Open ");M();L(2,"button",18);Q("click",function(){z(b);var c=R(2).$implicit,d=R(3);return B(d.handleBookmarkGroupDashboard(c.id))});U(3," Dashboard ");M();L(4,"button",18);Q("click",function(){z(b);var c=R(2).$implicit,d=R(3);return B(d.editBookmarkGroup(c.id))});U(5," Settings ");M();I(6,Wpb,2,0,"button",19);I(7,Xpb,2,0,"button",19);I(8,Ypb,2,0,"button",19)}a&2&&(a=R(2).$implicit,E(6),J(a.isUnstarable()?6:-1),E(),J(a.isEditable()?
7:-1),E(),J(a.isPreferredHomepage()?-1:8))},$pb=function(a){a&1&&(L(0,"div",12)(1,"span",13),U(2),M(),I(3,Vpb,2,1,"button",14),L(4,"mat-menu",null,4),G(6,Zpb,9,3,"ng-template",15),M()());a&2&&(a=R().$implicit,Hj("id",zk("bv2-user-bookmarkgroup-item-",a.id)),E(2),tk(a.name),E(),J(a?3:-1))},aqb=function(a){a&1&&(L(0,"button",24),N(1,"mat-icon",17),M());a&2&&(R(),a=T(6),K("matMenuTriggerFor",a))},bqb=function(a){if(a&1){var b=y();L(0,"button",18);Q("click",function(){z(b);var c=R(2).$implicit;return B(c.unstar())});
U(1," Unstar ");M()}},cqb=function(a){if(a&1){var b=y();L(0,"button",18);Q("click",function(){z(b);var c=R(2).$implicit;return B(c.setAsPreferredHomepage())});U(1," Set as homepage ");M()}},dqb=function(a){if(a&1){var b=y();L(0,"button",18);Q("click",function(){z(b);var c=R().$implicit,d=R(5);c.type==="HOTLIST"?d.location.setUrl(Hq.editHotlist.makeHref(c.id)):d.location.setUrl(d.paths.editSavedSearch(c.id));return B()});U(1," Settings ");M();I(2,bqb,2,0,"button",19);I(3,cqb,2,0,"button",19)}a&2&&
(a=R().$implicit,E(2),J(a.isUnstarable()?2:-1),E(),J(a.isPreferredHomepage()?-1:3))},eqb=function(a,b){if(a&1){var c=y();L(0,"li",22)(1,"a",23);Q("click",function(d){var e=z(c).$implicit,f=R(5);return B(f.onAnchorClick(e.href,d))});L(2,"span",13);U(3);M()();I(4,aqb,2,1,"button",24);L(5,"mat-menu",null,5);G(7,dqb,4,2,"ng-template",15);M()()}a&2&&(a=b.$implicit,b=R(2).$implicit,rk("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item",a.type=="HOTLIST")("bv2-bookmark-group-saved-search-item",
a.type=="SAVED_SEARCH"),Hj("id",Wra("bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id)),K("title",a.getDisplayName()),E(),K("href",a.href,Ni),E(2),V(" ",a.getDisplayName()," "),E(),J(b?4:-1))},fqb=function(a){a&1&&(L(0,"ul",20),Mj(1,eqb,8,14,"li",21,Lj),M());a&2&&(a=R().$implicit,E(),Nj(a.items))},gqb=function(a,b){a&1&&(L(0,"li",10)(1,"sidebar-zippy",11),G(2,$pb,7,4,"ng-template",null,2,Gk)(4,fqb,3,0,"ng-template",null,3,Gk),M()());if(a&2){a=b.$implicit;b=T(3);var c=T(5);K("title",a.name);E();K("header",
b)("content",c)("expanded",!1)}},hqb=function(a){a&1&&(L(0,"ul",9),Mj(1,gqb,6,4,"li",10,Lj),M());a&2&&(a=R(2),E(),Nj(a.bookmarkGroups))},iqb=function(a){a&1&&I(0,hqb,3,0,"ul",9);a&2&&(a=R(),J(a.bookmarkGroups?0:-1))},jqb=function(a){if(a&1){var b=y();L(0,"span");U(1,"Hotlists");M();L(2,"b-hotlist-search-popup",5);Q("itemSelect",function(c){z(b);var d=R();d.analytics.trackEvent("hotlistSearch","goToHotlist");d.location.setUrl(c.href);return B()})("click",function(c){z(b);return B(c.stopPropagation())});
M()}a&2&&(E(2),K("showGroups",!1))},kqb=function(a){a&1&&(L(0,"button",11),N(1,"mat-icon",13),M());a&2&&(R(),a=T(6),K("matMenuTriggerFor",a))},lqb=function(a){if(a&1){var b=y();L(0,"button",15);Q("click",function(){z(b);var c=R(2).$implicit,d=R(3);return B(d.addToMissionControl(c.id))});N(1,"mat-icon",17);U(2," Add to 'Home' screen ");M()}},mqb=function(a){if(a&1){var b=y();L(0,"button",15);Q("click",function(){z(b);var c=R(2).$implicit;return B(c.setAsPreferredHomepage())});N(1,"mat-icon",18);U(2,
" Set as homepage ");M()}},nqb=function(a){if(a&1){var b=y();L(0,"button",15);Q("click",function(){z(b);var c=R(2).$implicit;return B(c.unstar())});N(1,"mat-icon",19);U(2," Unstar ");M()}},oqb=function(a){if(a&1){var b=y();I(0,lqb,3,0,"button",14);I(1,mqb,3,0,"button",14);L(2,"button",15);Q("click",function(){z(b);var d=R().$implicit,e=R(3);return B(e.openEditHotlist(d.id))});N(3,"mat-icon",16);U(4," Settings ");M();I(5,nqb,3,0,"button",14)}if(a&2){a=R().$implicit;var c=R(3);J(c.ENABLE_MISSION_CONTROL?
0:-1);E();J(a.isPreferredHomepage()?-1:1);E(4);J(a.isUnstarable()?5:-1)}},pqb=function(a,b){if(a&1){var c=y();L(0,"li",8)(1,"a",9);Q("click",function(d){var e=z(c).$implicit,f=R(3);return B(f.onAnchorClick(e.href,d))});L(2,"span",10);U(3);M()();I(4,kqb,2,1,"button",11);L(5,"mat-menu",null,2);G(7,oqb,6,3,"ng-template",12);M()()}a&2&&(a=b.$implicit,rk("selected",a.isSelected()),K("id",zk("bv2-user-hotlists-hotlist-item-",a.id))("title",a.name),E(),K("href",a.href,Ni),E(2),tk(a.name),E(),J(a?4:-1))},
qqb=function(a){a&1&&(L(0,"ul",6),Mj(1,pqb,8,8,"li",7,Lj),M());a&2&&(a=R(2),E(),Nj(a.hotlists))},rqb=function(a){a&1&&I(0,qqb,3,0,"ul",6);a&2&&(a=R(),J(a.hotlists?0:-1))},sqb=function(a){a&1&&(L(0,"span"),U(1,"Saved searches"),M())},tqb=function(a){if(a&1){var b=y();L(0,"button",14);Q("click",function(){z(b);var c=R(2).$implicit,d=R(3);return B(d.addToMissionControl(c.id))});N(1,"mat-icon",17);U(2," Add to 'Home' screen ");M()}},uqb=function(a){if(a&1){var b=y();L(0,"button",14);Q("click",function(){z(b);
var c=R(2).$implicit;return B(c.setAsPreferredHomepage())});N(1,"mat-icon",18);U(2," Set as homepage ");M()}},wqb=function(a){if(a&1){var b=y();I(0,tqb,3,0,"button",13);I(1,uqb,3,0,"button",13);L(2,"button",14);Q("click",function(){z(b);var d=R().$implicit,e=R(3);return B(e.openEditSavedSearch(d.id))});N(3,"mat-icon",15);U(4," Settings ");M();L(5,"button",14);Q("click",function(){z(b);var d=R().$implicit,e=R(3);return B(vqb(e,d))});N(6,"mat-icon",16);U(7," Delete ");M()}if(a&2){a=R().$implicit;var c=
R(3);J(c.ENABLE_MISSION_CONTROL?0:-1);E();J(a.isPreferredHomepage()?-1:1)}},xqb=function(a,b){if(a&1){var c=y();L(0,"li",7)(1,"a",8);Q("click",function(d){var e=z(c).$implicit,f=R(3);return B(f.onAnchorClick(e.href,d))});L(2,"span",9);U(3);M()();L(4,"button",10);N(5,"mat-icon",11);M();L(6,"mat-menu",null,2);G(8,wqb,8,2,"ng-template",12);M()()}a&2&&(a=b.$implicit,b=T(7),rk("selected",a.isSelected()),Hj("id",zk("bv2-saved-searches-search-item-",a.id)),K("title",a.name),E(),K("href",a.href,Ni),E(2),
tk(a.name),E(),K("matMenuTriggerFor",b))},yqb=function(a){a&1&&(L(0,"ul",5),Mj(1,xqb,9,8,"li",6,Lj),M());a&2&&(a=R(2),E(),Nj(a.searches))},zqb=function(a){a&1&&I(0,yqb,3,0,"ul",5);a&2&&(a=R(),J(a.searches?0:-1))},Aqb=function(a,b){a&1&&N(0,"mat-icon",23);a&2&&K("matBadge",b>99?"99+":b)("matBadgeHidden",b===0)("matBadgeDescription","Badge indicating "+b+" tasks need attention")},Bqb=function(a){a&1&&N(0,"mat-icon",24)},Cqb=function(a){a&1&&(L(0,"button",25),N(1,"mat-icon",26),M());a&2&&(R(),a=T(10),
K("matMenuTriggerFor",a))},Eqb=function(a){if(a&1){var b=y();L(0,"button",27);Q("click",function(){z(b);var c=R(2);Dqb(c,"MISSION_CONTROL");return B()});U(1," Set as homepage ");M()}},Fqb=function(a){if(a&1){var b=y();L(0,"li",22)(1,"a",8);Q("click",function(d){z(b);var e=R();e.onAnchorClick(e.missionControlPath,d);return B()});I(2,Aqb,1,3,"mat-icon",23);W(3,"async");W(4,"async");Jj(5,Bqb,1,0,"mat-icon",24);U(6," Home ");M();I(7,Cqb,2,1,"button",25);W(8,"async");L(9,"mat-menu",null,1);G(11,Eqb,2,
0,"ng-template",11);M()()}if(a&2){var c;a=R();rk("selected",!!a.location.path().match(/^\/home\b/));E();K("href",a.missionControlPath,Ni);E();J((c=!X(3,5,a.hideBadgeInNav$)&&X(4,7,a.missionControlTaskCount$))?2:5,c);E(5);J(X(8,9,a.isHomepageMissionControl$)?-1:7)}},Gqb=function(a){a&1&&(L(0,"button",10),N(1,"mat-icon",26),M());a&2&&(R(),a=T(13),K("matMenuTriggerFor",a))},Hqb=function(a){if(a&1){var b=y();L(0,"button",27);Q("click",function(){z(b);var c=R();Dqb(c,"ASSIGNED_TO_ME");return B()});U(1,
" Set as homepage ");M()}},Iqb=function(a){a&1&&N(0,"nav-sidebar-triage")},Jqb=function(a,b){b=b===void 0?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},Kqb=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)},Mqb=function(a,b,c){b=b===void 0?"#ccc":b;c=c===void 0?400:c;Lqb++;var d=156;d+=(Lqb-1)*12;return function(e){e=e===void 0?b:e;var f,h=(f=document.getElementById(a))!=null?f:Jqb(a,d);Kqb(h,e,c)}},Yqb=function(a,b){b=b===void 0?[]:b;var c=c===void 0?{}:c;if(a==null)return"(undefined)";var d=a.snapshot[0],e,f=(e=b[0])!=null?e:a.description;b=b.slice(1);b.sort(function(h,k){return k.modifiedDate-h.modifiedDate});return["## "+d.title,"ID: http://b/"+a.issueId,
"Priority: "+d.priority,"Status: "+d.status,"Modified: "+qq(a.majorModifiedTimeMicros/1E3/1E3),Nqb(a),Oqb(a),Pqb(a,c),Qqb(a),Rqb(a),Sqb(a),Tqb(a),Uqb(a),Vqb(f),Wqb(a),Xqb(b)].filter(Boolean).join("\n").trim()+"\n\n---\n\n"},Pqb=function(a,b){a=a.snapshot[0].hotlistId;if(a!=null&&a.length!==0)return"Hotlists: "+a.map(function(c){var d;return(d=b[c])!=null?d:"["+c+"]"}).join(", ")},Xqb=function(a){if(a.length!==0){var b=a.map(function(c){a:{if(c!=null){var d=Zqb(c);d=$qb(d);if(d!=null){var e,f=(e=c.lastCommentEditorUser)==
null?void 0:e.emailAddress;c=qq(c.modifiedDate/1E3);c=f+": "+d+" ("+c+")";break a}}c=void 0}return c}).filter(Boolean).join("\n\n");return"\n### Comments ("+a.length+")\n"+b}},$qb=function(a,b){b=b===void 0?300:b;if(a!=null)return a=a.replaceAll(/\n/g," "),a=eMa(a,b)},Zqb=function(a){var b=a.unlinkifiedComment;a=a.formattedComment;if(b)return b;if(a)return Qf(a)},Vqb=function(a){if(a!=null&&(a=Zqb(a),a=$qb(a,600),a!=null))return"\n### Description\n"+a},Sqb=function(a){a=a.descendantCount;if(!(a<=
0))return"Descendant count: "+a},Qqb=function(a){var b;a=((b=l(a.snapshot).next().value.blockingIssueId)!=null?b:[]).length;if(!(a<=0))return"Blocking "+a+" issue(s)"},Rqb=function(a){var b;a=((b=l(a.snapshot).next().value.blockedByIssueId)!=null?b:[]).length;if(!(a<=0))return"Blocked by "+a+" issue(s)"},Nqb=function(a){var b;return(a=((b=l(a.snapshot).next().value.assigneeUser)!=null?b:{}).emailAddress)?"Assignee: "+a:void 0},Oqb=function(a){var b;return(a=((b=l(a.snapshot).next().value.reporterUser)!=
null?b:{}).emailAddress)?"Reporter: "+a:void 0},Tqb=function(a){var b,c;a=(c=(b=a.aggregatedData)==null?void 0:b.voteCount)!=null?c:0;if(!(a<=0))return"Upvotes: "+a},Wqb=function(a){var b=a.statusUpdate;if(b!=null){a=b.updateText;var c,d=(c=b.author)==null?void 0:c.emailAddress,e;c=(e=b.updateTime)!=null?e:{};e=qq((c.seconds===void 0?0:c.seconds)+(c.nanos===void 0?0:c.nanos)/1E3/1E3/1E3);return"\n### Status Update\n"+d+": "+a+" ("+e+")"}},Uqb=function(a){var b,c;a=(c=(b=a.userActivityStats)==null?
void 0:b.thirtyDayViewCount)!=null?c:0;if(!(a<=10))return"30 day views: "+a},arb=function(a,b){b=b===void 0?0:b;var c=new Date;c.setDate(c.getDate()+b);document.cookie="tracker_override="+a+(b?"; expires="+c.toUTCString():"")},brb=function(a){a&1&&(L(0,"div",0),N(1,"router-outlet"),M())},crb=function(a){a&1&&(L(0,"div",0),N(1,"app-root-body"),M())},erb=function(a){if(a&1){var b=y();L(0,"a",8);Q("keydown.enter",function(){z(b);var c=R(2);return B(drb(c))})("keydown.space",function(){z(b);var c=R(2);
return B(drb(c))})("click",function(){z(b);var c=R(2);return B(drb(c))});U(1," Dismiss");M()}},frb=function(a){a&1&&(L(0,"div",1)(1,"div",5),N(2,"span",6),I(3,erb,2,0,"a",7),M()());a&2&&(a=R(),E(2),K("innerHtml",a.announcement.message,Mi),E(),J(a.announcement.dismissible?3:-1))},hrb=function(a){if(a&1){var b=y();L(0,"b-resizable-sidebar",9,0);Q("widthChanged",function(c){z(b);var d=R();return B(grb(d,c))});N(2,"b-sidebar");M()}a&2&&(a=R(),K("size",a.sidebarWidth))},irb=function(a){switch(a){case "COMFORTABLE":return"d-comfort";
case "COZY":return"d-cozy";case "COMPACT":return"d-compact";default:return"d-comfort"}},jrb=function(a){return new Set(a.map(function(b){return zd(b)}))},bs=function(a,b,c){return a.has(b)?c:""},krb=function(a,b,c){return a.has(b)?c:[]},cs=function(a,b,c){return{fieldName:a,diffType:"SINGLE_VALUE",diff:{oldValue:b,newValue:c}}},nrb=function(a){if(!a)return"";var b=lrb.get(a.retentionSelection),c=a.retentionPeriodDays,d="Issue Retention: "+b;b=d;c&&(b=d+(", Days: "+c));d=mrb.get(a.piiRetentionSelection);
c=a.piiRetentionPeriodDays;a=a.spiiRetentionPeriodDays;d=", Restricted Retention: "+d;c&&(d+=", Restricted Days: "+c);a&&(d+=", Restricted+ Days: "+a);return b+d},prb=function(a){if(!a)return"";var b=a.inherit,c=orb.get(a.source),d=a.comment;a="Inherit: "+b+", Source: "+c+", ID: "+a.id;return d?a+(", Justification: "+d):a},qrb=function(a){return a?"Inherit: "+a.inherit+", ID: "+a.id:""},rrb=function(a,b){a&1&&(L(0,"mat-option",17),U(1),M());a&2&&(a=b.$implicit,K("value",a),E(),V(" ",a," "))},srb=
function(a){if(a&1){var b=y();L(0,"mat-form-field",14)(1,"mat-select",16,0);Q("selectionChange",function(c){z(b);var d=R(2);return B(d._changePageSize(c.value))});Mj(3,rrb,2,2,"mat-option",17,Lj);M();L(5,"div",18);Q("click",function(){z(b);var c=T(2);return B(c.open())});M()()}a&2&&(a=R(2),K("appearance",a._formFieldAppearance)("color",a.color),E(),K("value",a.pageSize)("disabled",a.disabled),Gj("aria-labelledby",a._pageSizeLabelId),K("panelClass",a.selectConfig.panelClass||"")("disableOptionCentering",
a.selectConfig.disableOptionCentering),E(2),Nj(a._displayedPageSizeOptions))},trb=function(a){a&1&&(L(0,"div",15),U(1),M());a&2&&(a=R(2),E(),tk(a.pageSize))},urb=function(a){a&1&&(L(0,"div",3)(1,"div",13),U(2),M(),I(3,srb,6,7,"mat-form-field",14),I(4,trb,2,1,"div",15),M());a&2&&(a=R(),E(),Hj("id",a._pageSizeLabelId),E(),V(" ",a._intl.itemsPerPageLabel," "),E(),J(a._displayedPageSizeOptions.length>1?3:-1),E(),J(a._displayedPageSizeOptions.length<=1?4:-1))},vrb=function(a){if(a&1){var b=y();L(0,"button",
19);Q("click",function(){z(b);var c=R();return B(c._buttonClicked(0,c._previousButtonsDisabled()))});Gh();L(1,"svg",8);N(2,"path",20);M()()}a&2&&(a=R(),K("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("disabled",a._previousButtonsDisabled())("tabindex",a._previousButtonsDisabled()?-1:null),Hj("aria-label",a._intl.firstPageLabel))},wrb=function(a){if(a&1){var b=y();L(0,"button",21);Q("click",function(){z(b);var c=R();return B(c._buttonClicked((c.pageSize?Math.ceil(c.length/
c.pageSize):0)-1,c._nextButtonsDisabled()))});Gh();L(1,"svg",8);N(2,"path",22);M()()}a&2&&(a=R(),K("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("disabled",a._nextButtonsDisabled())("tabindex",a._nextButtonsDisabled()?-1:null),Hj("aria-label",a._intl.lastPageLabel))},xrb=function(a){if(a&1){var b=y();L(0,"mat-paginator",3);Q("page",function(c){z(b);var d=R(),e=c.pageIndex*c.pageSize;d.childrenOnPage=d.children.slice(e,e+c.pageSize);return B()});M()}a&2&&(a=R(),
K("length",a.children.length)("pageSize",a.pageSize)("pageSizeOptions",a.pageSizeOptions))},yrb=function(a,b){if(a&1){var c=y();L(0,"li")(1,"a",4);Q("click",function(){var e=z(c).$implicit,f=R();return B(f.onVisit.emit(e))});U(2);M();L(3,"onedev-hovercard",null,0);N(5,"b-component-card",5);M()()}if(a&2){a=b.$implicit;b=T(4);var d=R();E();K("onedevHovercardTrigger",b)("href",d.ROUTES.editComponent.makeHref(a.componentId),Ni);E();V(" ",a.name," ");E(3);K("componentId",a.componentId)}},zrb=function(a){if(a&
1){var b=y();L(0,"button",6);Q("click",function(){z(b);var c=R();return B(c.onClickCopyIssueShortLinks.emit())});U(1);M()}a&2&&(a=R(),E(),V(" Copy '",a.shortLinkPrefix,"'' links "))},Arb=function(a){if(a&1){var b=y();L(0,"div",2)(1,"button",3);Q("click",function(){z(b);var c=R();return B(c.action())});U(2);M()()}a&2&&(a=R(),E(2),tk(a.data.action))},Brb=function(){},Crb=function(a){if(a&1){var b=y();L(0,"a",17);Q("click",function(){z(b);var c=R().$implicit;return B(c.showChildren=!1)});N(1,"mat-icon",
18);M()}},Drb=function(a){if(a&1){var b=y();L(0,"a",19);Q("click",function(){z(b);var c=R().$implicit,d=R();return B(d.showChildren(c))});N(1,"mat-icon",20);M()}},Erb=function(a){a&1&&(L(0,"span"),U(1,"[Archived]"),M())},Grb=function(a){a&1&&(L(0,"a",10),U(1," (Recent Issues) "),M());if(a&2){a=R().$implicit;var b=R();K("href",b.paths.listIssues(Dk(1,Frb,"status:open componentid:"+a.componentId)),Ni)}},Hrb=function(a){a&1&&(L(0,"a",15),U(1," Create issue "),M());if(a&2){a=R().$implicit;var b=R();K("href",
b.paths.createIssue()+"?component="+a.componentId,Ni)}},Irb=function(a){a&1&&(L(0,"div",21),U(1," No child components found. "),M())},Jrb=function(a){a&1&&(L(0,"div",22),N(1,"b-spinner"),M())},Krb=function(a){if(a&1){var b=y();L(0,"component-subtree-list",24);Q("childClosed",function(d){z(b);var e=R(3);return B(e.onSubtreeChildClosed(d))});M()}if(a&2){a=R(2).$implicit;var c=R();K("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},
Lrb=function(a){a&1&&(L(0,"div",16),I(1,Irb,2,0,"div",21),I(2,Jrb,2,0,"div",22),I(3,Krb,1,4,"component-subtree-list",23),M());a&2&&(a=R().$implicit,E(),J(a.noChildren?1:-1),E(),J(a.noChildren||a.children?-1:2),E(),J(a.children?3:-1))},Mrb=function(a,b){if(a&1){var c=y();L(0,"li",2);Q("click",function(d){var e=z(c).$implicit,f=R();return B(f.setSelected(e.componentId,d))});L(1,"div",3);N(2,"div",4);L(3,"div",5);I(4,Crb,2,0,"a",6)(5,Drb,2,0,"a",7);M();L(6,"div",8)(7,"div")(8,"a",9);U(9);M();I(10,Erb,
2,0,"span")(11,Grb,2,3,"a",10);N(12,"b-component-access-level-indicator",11)(13,"b-tracker-chip-smart",12);M();L(14,"div",13);U(15);M()();L(16,"div",14);I(17,Hrb,2,1,"a",15);M()();I(18,Lrb,4,3,"div",16);M()}a&2&&(a=b.$implicit,b=R(),K("id",zk("component-",a.componentId)),E(4),J(a.showChildren?4:5),E(4),K("href",b.ROUTES.editComponent.makeHref(a.componentId),Ni),E(),V(" ",a.name," "),E(),J(a.archived?10:11),E(2),K("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel),E(),K("trackerId",
a.trackerId),E(2),tk(a.description),E(2),J(a.archived?-1:17),E(),J(a.showChildren?18:-1))},Nrb=function(a){if(a&1){var b=y();L(0,"a",17);Q("click",function(){z(b);var c=R().$implicit;return B(c.showChildren=!1)});N(1,"mat-icon",18);M()}},Orb=function(a){if(a&1){var b=y();L(0,"a",19);Q("click",function(){z(b);var c=R().$implicit,d=R();return B(d.showChildren(c))});N(1,"mat-icon",20);M()}},Prb=function(a){a&1&&(L(0,"span"),U(1,"[Archived]"),M())},Rrb=function(a){a&1&&(L(0,"a",10),U(1," (Recent Issues) "),
M());if(a&2){a=R().$implicit;var b=R();K("href",b.paths.listIssues(Dk(1,Qrb,"status:open componentid:"+a.componentId)),Ni)}},Srb=function(a){a&1&&(L(0,"a",15),U(1," Create issue "),M());if(a&2){a=R().$implicit;var b=R();K("href",b.paths.createIssue()+"?component="+a.componentId,Ni)}},Trb=function(a){a&1&&(L(0,"div",21),U(1," No child components found. "),M())},Urb=function(a){a&1&&(L(0,"div",22),N(1,"b-spinner"),M())},Vrb=function(a){if(a&1){var b=y();L(0,"component-subtree-list",24);Q("childClosed",
function(d){z(b);var e=R(3);return B(e.onSubtreeChildClosed(d))});M()}if(a&2){a=R(2).$implicit;var c=R();K("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},Wrb=function(a){a&1&&(L(0,"div",16),I(1,Trb,2,0,"div",21),I(2,Urb,2,0,"div",22),I(3,Vrb,1,4,"component-subtree-list",23),M());a&2&&(a=R().$implicit,E(),J(a.noChildren?1:-1),E(),J(a.noChildren||a.children?-1:2),E(),J(a.children?3:-1))},Xrb=function(a,b){if(a&1){var c=y();L(0,
"li",2);Q("click",function(d){var e=z(c).$implicit,f=R();return B(f.setSelected(e.componentId,d))});L(1,"div",3);N(2,"div",4);L(3,"div",5);I(4,Nrb,2,0,"a",6)(5,Orb,2,0,"a",7);M();L(6,"div",8)(7,"div")(8,"a",9);U(9);M();I(10,Prb,2,0,"span")(11,Rrb,2,3,"a",10);N(12,"b-component-access-level-indicator",11)(13,"b-tracker-chip-smart",12);M();L(14,"div",13);U(15);M()();L(16,"div",14);I(17,Srb,2,1,"a",15);M()();I(18,Wrb,4,3,"div",16);M()}a&2&&(a=b.$implicit,b=R(),K("id","component-"+a.componentId),E(4),
J(a.showChildren?4:5),E(4),K("href",b.ROUTES.editComponent.makeHref(a.componentId),Ni),E(),V(" ",a.name," "),E(),J(a.archived?10:11),E(2),K("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel),E(),K("trackerId",a.trackerId),E(2),tk(a.description),E(2),J(a.archived?-1:17),E(),J(a.showChildren?18:-1))},Yrb=function(a){a&1&&(L(0,"div"),U(1," Loading custom fields... "),M())},Zrb=function(a){a&1&&(L(0,"div"),U(1),M());a&2&&(a=R(2),E(),V(" There are no custom fields in component ",a.selectedComponent.name,
". "))},$rb=function(a,b){a&1&&(L(0,"mat-option",6),U(1),M());a&2&&(a=b.$implicit,K("value",a),E(),V(" ",a.name," "))},asb=function(a){if(a&1){var b=y();L(0,"div")(1,"mat-form-field",4)(2,"mat-label");U(3,"Custom field");M();L(4,"mat-select",5);Q("selectionChange",function(c){z(b);var d=R(2);return B(d.fieldSelected.emit(c.value))});Mj(5,$rb,2,2,"mat-option",6,Lj);M()()()}a&2&&(a=R(2),E(5),Nj(a.customFields))},bsb=function(a){a&1&&(L(0,"div",3),I(1,Yrb,2,0,"div"),I(2,Zrb,2,1,"div"),I(3,asb,7,0,"div"),
M());a&2&&(a=R(),E(),J(a.customFields==null?1:-1),E(),J(a.customFields&&!a.customFields.length?2:-1),E(),J((a.customFields==null?0:a.customFields.length)?3:-1))},csb=function(a){a&1&&Uj(0)},dsb=function(){},esb=function(a){a&1&&(Sj(0),U(1),Tj());a&2&&(a=R().value,E(),tk(a.textValue))},fsb=function(a){a&1&&N(0,"b-formatted-date-time",4);if(a&2){a=R().value;var b=R();K("date",b.toDate(a.dateValue))}},gsb=function(a){a&1&&(Sj(0),U(1),Tj());a&2&&(a=R().value,E(),tk(a.enumValue))},hsb=function(a){a&1&&
(Sj(0),U(1),Tj());a&2&&(a=R().value,E(),tk(a.numericValue))},isb=function(a,b){a&1&&(Sj(0),U(1),Tj());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;E();uk("",a,"",c===b-1?"":", ")}},jsb=function(a){a&1&&Mj(0,isb,2,2,"ng-container",null,Lj);a&2&&(a=R().value,Nj(a.repeatedTextValue.values))},ksb=function(a,b){a&1&&(Sj(0),N(1,"b-formatted-date-time",4),U(2),Tj());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;var d=R(3);E();K("date",d.toDate(a));E();tk(c===b-1?"":", ")}},lsb=function(a){a&1&&Mj(0,
ksb,3,2,"ng-container",null,Lj);a&2&&(a=R().value,Nj(a.repeatedDateValue.values))},msb=function(a,b){a&1&&(Sj(0),U(1),Tj());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;E();uk("",a,"",c===b-1?"":", ")}},nsb=function(a){a&1&&Mj(0,msb,2,2,"ng-container",null,Lj);a&2&&(a=R().value,Nj(a.repeatedEnumValue.values))},osb=function(a,b){a&1&&(Sj(0),U(1),Tj());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;E();uk("",a,"",c===b-1?"":", ")}},psb=function(a){a&1&&Mj(0,osb,2,2,"ng-container",null,Lj);a&2&&
(a=R().value,Nj(a.repeatedNumericValue.values))},qsb=function(a,b){a&1&&(I(0,esb,2,1,"ng-container"),I(1,fsb,1,1,"b-formatted-date-time",4),I(2,gsb,2,1,"ng-container"),I(3,hsb,2,1,"ng-container"),I(4,jsb,2,0),I(5,lsb,2,0),I(6,nsb,2,0),I(7,psb,2,0));a&2&&(a=b.value,b=R(),J(a.textValue!=null?0:-1),E(),J(b.isNonemptyJsonDateValue(a.dateValue)?1:-1),E(),J(a.enumValue!=null?2:-1),E(),J(a.numericValue!=null?3:-1),E(),J(a.repeatedTextValue!=null?4:-1),E(),J(a.repeatedDateValue!=null?5:-1),E(),J(a.repeatedEnumValue!=
null?6:-1),E(),J(a.repeatedNumericValue!=null?7:-1))},rsb=function(a){a&1&&(L(0,"div")(1,"p"),U(2),M()());a&2&&(a=R(),E(2),uk(" Checking if you have permissions to mark these issues as spam. Checked ",a.issuesChecked," of ",a.issuesToFlag.length,"... "))},ssb=function(a,b){a&1&&(L(0,"li"),U(1),M());a&2&&(a=b.$implicit,E(),uk(" ",a.issueId," - ",a.title," "))},tsb=function(a){a&1&&(L(0,"div")(1,"p"),U(2),M(),L(3,"ul"),Mj(4,ssb,2,2,"li",null,Lj),M()());a&2&&(a=R(),E(2),V(" You do not have permissions to mark ",
a.protectedIssues.length," issues. These will not be flagged as spam. "),E(2),Nj(a.protectedIssues))},usb=function(a){if(a&1){var b=y();L(0,"div",1)(1,"label");U(2);M();L(3,"onedev-single-select",4);xk("valueChange",function(c){z(b);var d=R();wk(d.currentEnumLabel,c)||(d.currentEnumLabel=c);return B(c)});M()()}a&2&&(a=R(),E(2),V(" ",a.effortSpecName," "),E(),vk("value",a.currentEnumLabel),K("includeEmptyOption",!0)("options",a.allowedLabels))},vsb=function(a){if(a&1){var b=y();L(0,"mat-dialog-content")(1,
"mat-form-field")(2,"mat-label");U(3);M();L(4,"input",5);xk("ngModelChange",function(c){z(b);var d=R();wk(d.numericEstimatedEffort,c)||(d.numericEstimatedEffort=c);return B(c)});Q("keypress",function(c){z(b);var d=R();return B(/^(\d*\.)?\d*$/.test(d.numericEstimatedEffort+c.key))});M()()()}a&2&&(a=R(),E(3),V(" ",a.effortSpecName," "),E(),vk("ngModel",a.numericEstimatedEffort))},Bsb=function(a,b){if(a&1){var c=y();L(0,"div",20,4);Q("click",function(){var e=z(c).$implicit,f=R(2);wsb(f,e)||xsb(f,e);
return B()});L(2,"mat-pseudo-checkbox",21);Q("click",function(e){var f=z(c).$implicit,h=R(2);e.stopPropagation();return B(ysb(h,f))});M();L(3,"span");U(4);M()()}if(a&2){a=b.$implicit;b=b.$index;var d=R(2);qk("display",d.shouldShowHotlist[a.hotlistId]?"block":"none");rk("focused",b===d.focusedRowIndex);K("title",yk(a.name));Hj("id","hotlist-item-"+a.hotlistId)("aria-checked",zsb(d.selectedHotlistMap[a.hotlistId]))("aria-disabled",wsb(d,a));E(2);K("state",Asb(d.selectedHotlistMap[a.hotlistId]))("disabled",
wsb(d,a));E(2);V(" ",a.name," ")}},Csb=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(2),E(),V(" (",a.filterText,")"))},Dsb=function(a){if(a&1){var b=y();L(0,"div",22,5);Q("click",function(){z(b);var c=R(2);return B(c.loadHotlist())})("keydown.enter",function(){z(b);var c=R(2);return B(c.loadHotlist())});U(2,"Load hotlist from id ");L(3,"span");U(4);M()()}a&2&&(a=R(2),rk("focused",a.focusedRowIndex===a.choices.length+1),Hj("aria-label","Load hotlist from"+a.filterText),E(4),V("(",a.filterText,
")"))},Fsb=function(a){if(a&1){var b=y();L(0,"div",23,6);Q("click",function(){z(b);var c=R(2);return B(Esb(c))})("keydown.enter",function(){z(b);var c=R(2);return B(Esb(c))});U(2,"Apply");M()}a&2&&(a=R(2),rk("focused",a.focusedRowIndex===a.choices.length+2))},Gsb=function(a){if(a&1){var b=y();L(0,"div",11)(1,"div",15,2);Mj(3,Bsb,5,12,"div",16,Lj);M()();N(5,"mat-divider");L(6,"div",17,3);Q("click",function(){z(b);var c=R();return B(c.createHotlist())})("keydown.enter",function(){z(b);var c=R();return B(c.createHotlist())});
U(8,"Create new hotlist ");I(9,Csb,2,1,"span");M();I(10,Dsb,5,4,"div",18);I(11,Fsb,3,2,"div",19)}a&2&&(a=R(),E(3),Nj(a.choices),E(3),rk("focused",a.focusedRowIndex===a.choices.length),K("disabled",!a.canCreate),Hj("aria-label","Create new hotlist"+a.filterText),E(3),J(a.filterText?9:-1),E(),J(a.canLoad?10:-1),E(),J(a.pendingChanges?11:-1))},Hsb=function(a){a&1&&(L(0,"li")(1,"a",1),U(2),M(),N(3,"b-issue-visibility-chip",2),M());a&2&&(a=R().$implicit,E(),K("href",zk("issues/",a.issueId),Ni),E(),V("b/",
a.issueId),E(),K("issueId",a.issueId))},Isb=function(a,b){a&1&&I(0,Hsb,4,4,"li");a&2&&J(b.$implicit.type==="issue"?0:-1)},Jsb=function(a){a&1&&(L(0,"li"),U(1),N(2,"b-component-access-level-indicator",3),M());a&2&&(a=R().$implicit,E(),V(" ",a.path," "),E(),K("accessLevel",a.accessLevel))},Ksb=function(a,b){a&1&&I(0,Jsb,3,2,"li");a&2&&J(b.$implicit.type==="component"?0:-1)},Lsb=function(a){a&1&&(L(0,"div",0)(1,"div")(2,"strong"),U(3,"You are editing issues in components that may have external viewers:"),
M()(),L(4,"ul"),Mj(5,Isb,1,1,null,null,Kj),M(),U(7," within: "),L(8,"ul"),Mj(9,Ksb,1,1,null,null,Kj),M()());a&2&&(a=R(),E(5),Nj(a.externalWarnings),E(4),Nj(a.externalWarnings))},Nsb=function(a,b){if(a&1){var c=y();L(0,"button",12);Q("click",function(){var d=z(c).$implicit,e=R(3);return B(Msb(e.issueEditBuilder,d))});U(1);M()}a&2&&(a=b.$implicit,b=R(3),K("disabled",b.issueEditBuilder.issueState==a),E(),V(" ",a.displayValue," "))},Osb=function(a){if(a&1){var b=y();L(0,"div",19)(1,"span");U(2,"Multiple");
M();L(3,"a",22);Q("click",function(){z(b);var c=R(4);return B(c.issueEditBuilder.clearAssignee())});U(4,"X");M()()}},Psb=function(a){if(a&1){var b=y();L(0,"div",19)(1,"span");U(2,"Possibly multiple");M();L(3,"a",22);Q("click",function(){z(b);var c=R(4);return B(c.issueEditBuilder.clearAssignee())});U(4,"X");M()()}},Qsb=function(a){if(a&1){var b=y();L(0,"div")(1,"b-peoplekit-single",23);Q("emailChange",function(c){z(b);var d=R(4);return B(d.setAssignee(c))})("keydown.control.enter",function(){z(b);
var c=R(4);return B(ds(c))})("keydown.meta.enter",function(){z(b);var c=R(4);return B(ds(c))});M()()}a&2&&(a=R(4),E(),K("cdkFocusInitial",a.focus===a.FocusableField.ASSIGNEE)("email",a.issueEditBuilder.commonAssignee))},Ssb=function(a){if(a&1){var b=y();L(0,"div",19)(1,"span");U(2);M();L(3,"a",24);Q("click",function(){z(b);var c=R(4);return B(c.issueEditBuilder.clearVerifier())});U(4,"X");M()()}a&2&&(a=R(4),rk("bv2-invalid-multiple-user-chip",!Rsb(a.issueEditBuilder)),E(2),V(" Multiple ",Rsb(a.issueEditBuilder)?
"":"(some unset)"," "))},Tsb=function(a){if(a&1){var b=y();L(0,"div",19)(1,"span");U(2);M();L(3,"a",24);Q("click",function(){z(b);var c=R(4);return B(c.issueEditBuilder.clearVerifier())});U(4,"X");M()()}a&2&&(a=R(4),rk("bv2-invalid-multiple-user-chip",!Rsb(a.issueEditBuilder)),E(2),V(" Possibly multiple ",Rsb(a.issueEditBuilder)?"":"(some unset)"," "))},Usb=function(a){if(a&1){var b=y();L(0,"div")(1,"b-peoplekit-single",25);Q("emailChange",function(c){z(b);var d=R(4);return B(d.issueEditBuilder.commonVerifier=
c)})("keydown.control.enter",function(){z(b);var c=R(4);return B(ds(c))})("keydown.meta.enter",function(){z(b);var c=R(4);return B(ds(c))});M()()}a&2&&(a=R(4),E(),K("cdkFocusInitial",a.focus===a.FocusableField.VERIFIER)("email",a.issueEditBuilder.commonVerifier)("required",(a.issueEditBuilder.issueState==null?null:a.issueEditBuilder.issueState.status)=="VERIFIED"))},Vsb=function(a){a&1&&(L(0,"div")(1,"div",14)(2,"label",18),U(3," Assignee "),M(),L(4,"div"),I(5,Osb,5,0,"div",19)(6,Psb,5,0,"div",19)(7,
Qsb,2,2,"div"),M()(),L(8,"div",14)(9,"label",20),U(10," Verifier "),M(),L(11,"div"),I(12,Ssb,5,3,"div",21)(13,Tsb,5,3,"div",21)(14,Usb,2,3,"div"),M()()());if(a&2){var b,c;a=R(3);E(5);J((b=a.issueEditBuilder.selectedAssigneesStatus)==="MULTIPLE"?5:b==="POSSIBLY_MULTIPLE"?6:7);E(7);J((c=a.issueEditBuilder.selectedVerifiersStatus)==="MULTIPLE"?12:c==="POSSIBLY_MULTIPLE"?13:14)}},Wsb=function(a){if(a&1){var b=y();L(0,"div",14)(1,"label",26);U(2," Issue ID ");M();L(3,"input",27);Q("ngModelChange",function(c){z(b);
var d=R(3).issueEditBuilder;c=lMa(c);return B(d.commonDuplicateOf=c.length===1?c[0]:"")})("keydown.control.enter",function(){z(b);var c=R(3);return B(ds(c))})("keydown.meta.enter",function(){z(b);var c=R(3);return B(ds(c))});M()()}a&2&&(a=R(3),E(3),K("ngModel",a.issueEditBuilder.commonDuplicateOf),Hj("cdkFocusInitial",a.focus===a.FocusableField.DUPE_ID||null))},Xsb=function(a){if(a&1){var b=y();L(0,"div",5)(1,"button",10)(2,"span");U(3);M();N(4,"b-icon",11);M();L(5,"mat-menu",null,2)(7,"button",12);
Q("click",function(){z(b);var d=R(2);return B(d.issueEditBuilder.issueState=void 0)});U(8,"No change ");M();Mj(9,Nsb,2,2,"button",13,Lj);M();L(11,"div");I(12,Vsb,15,2,"div")(13,Wsb,4,2,"div",14);M();L(14,"div")(15,"b-comment-box",15);Q("onSubmit",function(){z(b);var d;(d=R(2).matDialogRef)==null||d.close(!0);return B()});M()();N(16,"div",16)(17,"b-external-warnings",17);M()}if(a&2){a=T(6);var c=R(2);E();K("matMenuTriggerFor",a);E(2);tk(c.issueEditBuilder.issueState?c.issueEditBuilder.issueState.displayValue:
"No change");E(4);K("disabled",!c.issueEditBuilder.issueState);E(2);Nj(c.issueStates);E(3);J((!c.issueEditBuilder.issueState||c.issueEditBuilder.issueState.status!=="DUPLICATE")===!0?12:13);E(3);K("comment",c.comment)("showToolbar",!1)("isLiteralModeSupported",!0);E(2);K("externalWarnings",c.externalWarnings)}},Ysb=function(a){if(a&1){var b=y();L(0,"div",6)(1,"b-recaptcha",28);Q("onUpdate",function(c){z(b);var d=R(2);return B(d.issueEditBuilder.recaptchaResponse=c)});M()()}},$sb=function(a){a&1&&
(L(0,"form",null,1)(2,"h1",3),U(3,"Change issue status"),M(),L(4,"div",4)(5,"span"),U(6,"Enter updated issue status information below"),M(),I(7,Xsb,18,8,"div",5),M(),I(8,Ysb,2,0,"div",6),L(9,"div",7)(10,"button",8),U(11," Cancel "),M(),L(12,"button",9),U(13," Save "),M()()());a&2&&(a=R(),E(7),J(a.issueEditBuilder?7:-1),E(),J(a.issueEditBuilder&&a.enableRecaptcha?8:-1),E(2),K("mat-dialog-close",!1),E(2),K("mat-dialog-close",!0)("disabled",!Zsb(a)))},btb=function(a){if(a&1){var b=y();L(0,"b-app-bar-bulk-edit-menus",
6);W(1,"async");Q("onBulkEdit",function(d){z(b);var e=R();return B(e.bulkEdit(d))})("onQuickBulkEdit",function(d){z(b);var e=R();return B(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){z(b);var e=R();return B(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){z(b);var d=R();return B(d.bulkMarkIssueRead())});M()}if(a&2){a=R();var c;K("readStatePrompt",atb(a))("enableBulkEstimatedEffortOption",(c=X(1,2,a.enableBulkEstimatedEffortOption$))!=null?c:!1)}},ftb=function(a){if(a&
1){var b=y();L(0,"b-copy-issue-id-button",7);Q("onClickCopyIssueIds",function(){z(b);var c=R();return B(ctb(c.copyIssueIdService,es(c)))})("onClickCopyIssueShortLinks",function(){z(b);var c=R();return B(dtb(c.copyIssueIdService,es(c)))})("onClickCopyAsIssueSearch",function(){z(b);var c=R();return B(etb(c.copyIssueIdService,es(c)))});M()}a&2&&(a=R(),K("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},gtb=function(a){if(a&
1){var b=y();L(0,"div",3)(1,"b-hotlist-picker",8);Q("onApply",function(c){z(b);var d=R();return B(d.handleHotlistPickerSave(c))})("onCreate",function(c){z(b);var d=R();return B(d.onCreateHotlist.emit(c))})("onLoad",function(c){z(b);var d=R();return B(d.onLoadHotlist.emit(c))});M()()}a&2&&(a=R(),E(),K("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},itb=function(a){if(a&1){var b=y();L(0,"b-comment-box",15);xk("commentChange",function(c){z(b);var d=R(2);wk(d.comment,c)||(d.comment=
c);return B(c)});Q("onSubmit",function(){z(b);var c=R(2);return B(htb(c))});M()}a&2&&(a=R(2),vk("comment",a.comment),K("showToolbar",!1)("isLiteralModeSupported",!0))},jtb=function(a){if(a&1){var b=y();L(0,"div",12)(1,"b-recaptcha",16);Q("onUpdate",function(c){z(b);var d=R(2);return B(d.recaptchaResponse=c)});M()()}},ktb=function(a){a&1&&(L(0,"h1",9),U(1,"Add comment"),M(),L(2,"mat-dialog-content"),I(3,itb,1,3,"b-comment-box",10),N(4,"b-external-warnings",11),M(),I(5,jtb,2,0,"div",12),L(6,"mat-dialog-actions")(7,
"button",13),U(8," Cancel "),M(),L(9,"button",14),U(10," Save "),M()());a&2&&(a=R(),E(3),J(a.comment?3:-1),E(),K("externalWarnings",a.externalWarnings),E(),J(a.enableRecaptcha?5:-1),E(2),K("mat-dialog-close",!1),E(2),K("disabled",a.enableRecaptcha&&a.recaptchaResponse==="")("mat-dialog-close",!0))},ltb=function(a){a&1&&N(0,"tr",16)},mtb=function(a){a&1&&N(0,"tr",17)},ntb=function(a){a&1&&(L(0,"th",18),U(1,"User"),M())},otb=function(a,b){a&1&&(L(0,"div",20),N(1,"b-user-image",21)(2,"b-user-display-name",
22),M());a&2&&(a=R(2),E(),K("email",a.userToLossyEmail(b)),E(),K("user",b)("hovercardFocusEnabled",!0)("availabilityChipEnabled",!1))},ptb=function(a,b){a&1&&(L(0,"td",19),I(1,otb,3,4,"div",20),M());if(a&2){var c;a=b.$implicit;E();J((c=a[0].user.user)?1:-1,c)}},qtb=function(a){a&1&&(L(0,"th",18)(1,"span",23),U(2," Role "),N(3,"b-icon",24),M()());a&2&&(R(),a=Yj(10),E(3),K("matTooltip",a),Hj("aria-label",a))},rtb=function(a,b){a&1&&(L(0,"mat-option",26),U(1),M());a&2&&(a=b.$implicit,K("value",a.value),
E(),tk(a.displayText))},vtb=function(a,b){if(a&1){var c=y();L(0,"td",19)(1,"mat-select",25);Q("selectionChange",function(d){var e=z(c).$implicit,f=R();return B(stb(f,e[0],d.value))});L(2,"mat-select-trigger");U(3);M();Mj(4,rtb,2,2,"mat-option",26,ttb);W(6,"async");M()()}a&2&&(a=b.$implicit,b=R(),E(),K("disabled",!b.isAllowedToEdit)("value",a[0].user.role),E(2),V(" ",utb(a[0])," "),E(),Nj(X(6,3,b.roleOptions$)))},wtb=function(a){a&1&&(L(0,"th",18)(1,"span",27),U(2," Lead "),N(3,"b-icon",24),M()());
a&2&&(R(),a=Yj(14),E(3),K("matTooltip",a),Hj("aria-label",a))},ytb=function(a,b){if(a&1){var c=y();L(0,"td",19)(1,"mat-checkbox",28);Q("change",function(e){var f=z(c).$implicit,h=R();return B(xtb(h,f[0],e.checked))});M()()}if(a&2){a=b.$implicit;b=R();var d="Click to "+(a[0].user.isLead?"unset ":"set ")+a[0].user.user.emailAddress+" as a lead for this issue.";E();Gj("aria-label",yk(d));K("checked",a[0].user.isLead)("disabled",!b.isAllowedToEdit)}},ztb=function(a){a&1&&(L(0,"th",18)(1,"span",29),U(2,
" Involvement "),N(3,"b-icon",24),M()());a&2&&(R(),a=Yj(18),E(3),K("matTooltip",a),Hj("aria-label",a))},Atb=function(a,b){a&1&&(L(0,"mat-option",26),U(1),M());a&2&&(a=b.$implicit,K("value",a.value),E(),tk(a.displayText))},Btb=function(a){a&1&&(L(0,"mat-option",26),U(1,"Percentage"),M());a&2&&(a=R(2),K("value",a.Involvement.INVOLVEMENT_UNSPECIFIED))},Dtb=function(a,b){if(a&1){var c=y();L(0,"td",19)(1,"mat-select",30);Q("selectionChange",function(d){var e=z(c).$implicit,f=R();return B(Ctb(f,e,e[0],
d.value))});Mj(2,Atb,2,2,"mat-option",26,ttb);I(4,Btb,2,1,"mat-option",26);M()()}a&2&&(a=b.$implicit,b=R(),E(),K("disabled",!b.isAllowedToEdit)("value",a[0].allocation.involvement),E(),Nj(b.involvementOptions),E(2),J(b.staffingEnhancementsEnabled?4:-1))},Etb=function(a){a&1&&(L(0,"th",18)(1,"span",31),U(2," Involvement "),N(3,"b-icon",24),M()());a&2&&(R(),a=Yj(22),E(3),K("matTooltip",a),Hj("aria-label",a))},Htb=function(a){if(a&1){var b=y();L(0,"button",33,0);Q("click",function(){z(b);var d=R().$implicit,
e=R();return B(Ftb(e,d[0]))});U(2);N(3,"mat-icon",34);M()}if(a&2){a=R().$implicit;var c=R();K("disabled",!c.isAllowedToEdit);E(2);V(" ",Gtb(a[0])," ")}},Itb=function(a,b){a&1&&(L(0,"mat-option",26),U(1),M());a&2&&(a=b.$implicit,K("value",a.displayText),E(),tk(a.displayText))},Ktb=function(a){if(a&1){var b=y();L(0,"input",35,1);xk("ngModelChange",function(d){z(b);var e=R(2);wk(e.allocationFromInputPlain,d)||(e.allocationFromInputPlain=d);return B(d)});Q("keydown",function(d){z(b);var e=R().$implicit,
f=R();return B(fs(f,e,d))})("input",function(){z(b);var d=R(2);return B(d.allocationInputChanges$.next(d.allocationFromInputPlain||""))})("blur",function(d){z(b);var e=R().$implicit,f=R();d.relatedTarget&&fs(f,e);return B()});M();L(2,"mat-autocomplete",36,2);Q("optionSelected",function(d){z(b);var e=R().$implicit,f=R();f.allocationFromInputPlain=lg[d.option.value];fs(f,e);return B()});Mj(4,Itb,2,2,"mat-option",26,Jtb);M()}if(a&2){a=T(3);var c=R(2);K("matAutocomplete",a);vk("ngModel",c.allocationFromInputPlain);
K("disabled",!c.isAllowedToEdit);E(4);Nj(c.involvementOptions)}},Ltb=function(a,b){a&1&&(L(0,"td",19),I(1,Htb,4,2,"button",32)(2,Ktb,6,3),M());a&2&&(a=b.$implicit,b=R(),E(),J(b.allocationUnderEdit===a[0]?2:1))},Mtb=function(a){a&1&&(L(0,"th",18),U(1),N(2,"b-icon",24),M());if(a&2){var b=R();a=b.$implicit;b=b.$index;var c=Yj(1);sk(zk("timebound-allocation ",b%2===1?"blue":""));E();V(" ",a.displayText," ");E();K("matTooltip",c);Hj("aria-label",c)}},Ntb=function(a){if(a&1){var b=y();L(0,"button",42,0);
Q("click",function(){z(b);R(2);var d=Yj(1),e=R(2);return B(Ftb(e,d))});U(2);N(3,"mat-icon",34);M()}if(a&2){R(2);a=Yj(1);var c=R(2);K("disabled",!c.isAllowedToEdit);E(2);V(" ",Gtb(a)," ")}},Otb=function(a,b){a&1&&(L(0,"mat-option",26),U(1),M());a&2&&(a=b.$implicit,K("value",a.displayText),E(),tk(a.displayText))},Qtb=function(a){if(a&1){var b=y();L(0,"input",43,1);xk("ngModelChange",function(d){z(b);var e=R(4);wk(e.allocationFromInputPlain,d)||(e.allocationFromInputPlain=d);return B(d)});Q("keydown",
function(d){z(b);var e=R(2).$implicit,f=R(2);return B(fs(f,e,d))})("keyup",function(){z(b);var d=R(4);return B(Ptb(d))})("blur",function(d){z(b);var e=R(2).$implicit,f=R(2);d.relatedTarget&&fs(f,e);return B()});M();L(2,"mat-autocomplete",36,2);Q("optionSelected",function(d){z(b);var e=R(2).$implicit,f=R(2);f.allocationFromInputPlain=lg[d.option.value];fs(f,e);return B()});Mj(4,Otb,2,2,"mat-option",26,Jtb);M()}if(a&2){a=T(3);var c=R(4);K("matAutocomplete",a);vk("ngModel",c.allocationFromInputPlain);
K("disabled",!c.isAllowedToEdit);E(4);Nj(c.involvementOptions)}},Rtb=function(a){a&1&&I(0,Ntb,4,2,"button",41)(1,Qtb,6,3);if(a&2){R();a=Yj(1);var b=R(2);J(b.allocationUnderEdit===a?1:0)}},Stb=function(a,b){a&1&&(L(0,"mat-option",26),U(1),M());a&2&&(a=b.$implicit,K("value",a.value),E(),tk(a.displayText))},Ttb=function(a){if(a&1){var b=y();L(0,"mat-select",30);Q("selectionChange",function(d){z(b);var e=R().$implicit,f=Yj(1),h=R(2);return B(Ctb(h,e,f,d.value))});Mj(1,Stb,2,2,"mat-option",26,ttb);L(3,
"mat-option",26);U(4,"Percentage");M()()}if(a&2){R();a=Yj(1);var c=R(2);K("disabled",!c.isAllowedToEdit)("value",a.allocation==null?null:a.allocation.involvement);E();Nj(c.involvementOptions);E(2);K("value",c.Involvement.INVOLVEMENT_UNSPECIFIED)}},Utb=function(a,b){a&1&&(L(0,"td",39),Wj(1),I(2,Rtb,2,1)(3,Ttb,5,3,"mat-select",40),M());if(a&2){a=b.$implicit;b=R();var c=b.$implicit;sk(zk("timebound-allocation ",b.$index%2===1?"blue":""));E();Xj(c.extractPlannedAllocation(a));E();J(c.displayInvolvementAsPercentage?
2:3)}},Vtb=function(a,b){a&1&&(Sj(0,14),Wj(1),G(2,Mtb,3,6,"th",37)(3,Utb,4,5,"td",38),Tj());a&2&&(a=b.$implicit,K("matColumnDef",a.columnDef),E(),Xj("Set the involvement level of people\n        allocated to this issue during "+a.displayText+". Zero involvement levels are\n        useful when a person is either not involved during this quarter or the person is involved in\n        the work but does not spend a significant portion of their time on it."))},Wtb=function(a){a&1&&(L(0,"th",18),U(1,"Delete"),
M())},Ytb=function(a){if(a&1){var b=y();L(0,"td",19)(1,"button",44);Q("click",function(){var c=z(b).$implicit,d=R();return B(Xtb(d,c[0]))});N(2,"mat-icon",45);M()()}a&2&&(a=R(),E(),K("disabled",!a.isAllowedToEdit))},Ztb=function(a,b){a&1&&(L(0,"span",5)(1,"mat-option",11)(2,"span",12),U(3),M()()());a&2&&(a=b.$implicit,K("matTooltip","The "+a.displayText+" role has already been allocated.")("matTooltipDisabled",!a.disabled),E(),K("value",a.value)("disabled",a.disabled),E(2),V(" ",a.displayText," "))},
$tb=function(a){a&1&&(L(0,"mat-error"),U(1," Must be an integer between 1 and 300,000. "),M())},aub=function(a){a&1&&(L(0,"b-callout",2)(1,"b-callout-body"),U(2," You do not have edit access "),M()())},cub=function(a,b){if(a&1){var c=y();L(0,"b-placeholder-chip",15);Q("editPlaceholder",function(){var e=z(c).$implicit,f=R(),h=Yj(6);return B(bub(f,h,e.role))})("removePlaceholder",function(){var e=z(c).$implicit,f=R();return B(f.removePlaceholder(e))});M()}if(a&2){a=b.$implicit;b=R();var d=Yj(2);K("placeholder",
a)("isAllowedToEdit",b.isAllowedToEdit&&!d)}},dub=function(a){var b=a.assigneeUser===a.currentUserEmail,c=a.verifierUser===a.currentUserEmail,d,e=!((d=a.collaboratorsUsers)==null||!d.some(function(h){return h===a.currentUserEmail})),f;d=!((f=a.ccUsers)==null||!f.some(function(h){return h===a.currentUserEmail}));return!b&&!c&&!e&&!d},eub=function(a){a&1&&(L(0,"span"),U(1,"Cancel"),M())},fub=function(a){a&1&&(L(0,"span"),U(1,"Edit"),M())},mub=function(a){if(a&1){var b=y();L(0,"td")(1,"div")(2,"div",
16);U(3);M();L(4,"div",17)(5,"a",18);U(6);M()()()();L(7,"td",12)(8,"mat-radio-button",19);Q("change",function(d){z(b);var e=R(2);return B(gub(e,d.value))});M()();L(9,"td",12)(10,"b-button",20);Q("onAction",function(){z(b);var d=R().$implicit,e=R();return B(hub(e,d))});I(11,eub,2,0,"span")(12,fub,2,0,"span");M()();L(13,"td",12)(14,"b-button",21);Q("onAction",function(){z(b);var d=R().$implicit,e=R();return B(iub(e,d))});U(15," Delete ");M()()}if(a&2){a=R().$implicit;var c=R();E(2);rk("selected",jub(c,
a));E();V(" ",a.name," ");E(2);K("href",kub(c,a),Ni);Hj("aria-label",a.name+"- Click to create a new issue");E();V(" ",kub(c,a)," ");E(2);K("id",zk("template-default-radio-",a.index))("checked",c.defaultIndex===a.index);Gj("aria-label","Make template "+a.name+" as default template");K("value",a.index);E(2);K("bAriaLabel",jub(c,a)?"Cancel editing "+a.name:"Edit "+a.name);E();J(jub(c,a)?11:12);E(3);K("bAriaLabel","Delete "+a.name)("disabled",!lub(c,a))}},nub=function(a){a&1&&(L(0,"h2",23),U(1," Create Template "),
M())},oub=function(a){a&1&&(L(0,"h2",23),U(1),M());a&2&&(a=R(2).$implicit,E(),uk(' Edit template "',a.name,'" ',a.editableTemplate.isDirty()?"(changed)":""," "))},pub=function(a){if(a&1){var b=y();L(0,"div",24)(1,"b-slide-toggle",75);Q("modelChange",function(){z(b);var c=R(2).$implicit.editableTemplate;c.inheritable=!c.inheritable;c.dirty=!0;return B()});M();L(2,"span",25)(3,"label",76);U(4,"Inherited by all child components");M();N(5,"mat-icon",77);M()()}a&2&&(a=R(2).$implicit,E(),K("model",a.editableTemplate.inheritable))},
qub=function(a,b){a&1&&(L(0,"mat-option",82),U(1),M());a&2&&(a=b.$implicit,K("value",yk(a)),E(),V(" ",a," "))},rub=function(a){if(a&1){var b=y();L(0,"div",35)(1,"div",25)(2,"label",78);U(3,"Collaborator Groups");M();N(4,"mat-icon",79);M();L(5,"mat-form-field",80)(6,"mat-select",81);xk("ngModelChange",function(d){z(b);var e=R(2).$implicit;wk(e.editableTemplate.collaboratorGroups,d)||(e.editableTemplate.collaboratorGroups=d);return B(d)});Q("ngModelChange",function(){z(b);R(2).$implicit.editableTemplate.dirty=
!0;return B()});L(7,"mat-select-trigger");U(8);M();Mj(9,qub,2,3,"mat-option",82,Lj);M()()()}if(a&2){a=R(2).$implicit;var c=R();E(4);K("matTooltip",yk(c.COLLABORATOR_GROUPS_TOOLTIP));E(2);vk("ngModel",a.editableTemplate.collaboratorGroups);E(2);V(" ",a.editableTemplate.getCollaboratorGroupsString()," ");E();Nj(c.trackerCollaboratorGroups)}},tub=function(a,b){if(a&1){var c=y();L(0,"button",83);Q("click",function(){var e=z(c).$implicit,f=R(2).$implicit,h=R();f.issueType=e.value;return B(sub(h))});U(1);
M()}if(a&2){a=b.$implicit;b=R(2).$implicit;var d;K("disabled",b.issueType===a.value)("matTooltip",(d=a.altText)!=null?d:"");E();V(" ",a.displayText," ")}},uub=function(a,b){if(a&1){var c=y();L(0,"button",84);Q("click",function(){var d=z(c).$implicit,e=R(2).$implicit;e.editableTemplate.priority=d.value;e.editableTemplate.dirty=!0;return B()});U(1);M()}a&2&&(a=b.$implicit,b=R(2).$implicit,K("disabled",b.editableTemplate.priority===a.value),E(),V(" ",a.displayText," "))},vub=function(a,b){if(a&1){var c=
y();L(0,"button",84);Q("click",function(){var d=z(c).$implicit,e=R(2).$implicit;e.editableTemplate.severity=d.value;e.editableTemplate.dirty=!0;return B()});U(1);M()}a&2&&(a=b.$implicit,b=R(2).$implicit,K("disabled",b.editableTemplate.severity===a.value),E(),V(" ",a.displayText," "))},wub=function(a,b){if(a&1){var c=y();L(0,"div",52)(1,"b-hotlist-chip",85);Q("removeHotlist",function(){var d=z(c).$implicit,e=R(3);return B(e.removeHotlist(d.hotlistId))});M()()}a&2&&(a=b.$implicit,E(),K("hotlist",a))},
xub=function(a){if(a&1){var b=y();Wj(0);W(1,"staffingSummary");L(2,"div",69)(3,"div",25)(4,"label",86);U(5,"Staffing");M();N(6,"mat-icon",87);M();L(7,"button",88);Q("click",function(){z(b);var c=R(3);return B(c.editStaffing())});L(8,"span",89);U(9);M();N(10,"div",90);M()()}a&2&&(a=R(2).$implicit,a=X(1,2,a.editableTemplate.staffing==null?null:a.editableTemplate.staffing.plannedAllocations),E(7),Hj("aria-label","Staffing: "+a),E(2),V(" ",a," "))},yub=function(a){a&1&&(L(0,"h3"),U(1,"Custom issue fields"),
M())},zub=function(a){if(a&1){var b=y();L(0,"input",97);xk("ngModelChange",function(d){z(b);var e=R().$implicit,f=R(2).$implicit;wk(f.editableTemplate.customFieldValues[e.id].textValue,d)||(f.editableTemplate.customFieldValues[e.id].textValue=d);return B(d)});Q("ngModelChange",function(){z(b);R(3).$implicit.editableTemplate.dirty=!0;return B()});M()}if(a&2){a=R().$implicit;var c=R(2).$implicit;Hj("id",zk("template-cf-",a.id));vk("ngModel",c.editableTemplate.customFieldValues[a.id].textValue)}},Aub=
function(a){if(a&1){var b=y();L(0,"input",98);xk("ngModelChange",function(d){z(b);var e=R().$implicit,f=R(2).$implicit;wk(f.editableTemplate.customFieldValues[e.id].numericValue,d)||(f.editableTemplate.customFieldValues[e.id].numericValue=d);return B(d)});Q("ngModelChange",function(){z(b);R(3).$implicit.editableTemplate.dirty=!0;return B()});M()}if(a&2){a=R().$implicit;var c=R(2).$implicit;Hj("id",zk("template-cf-",a.id));vk("ngModel",c.editableTemplate.customFieldValues[a.id].numericValue)}},Cub=
function(a){if(a&1){var b=y();L(0,"b-edit-field",99);Q("valueChange",function(h){z(b);var k=R().$implicit,q=R(2).$implicit,u=R();return B(u.setCustomField(q,k.id,h))});M()}if(a&2){a=R().$implicit;var c=R(2).$implicit,d=R();Hj("id",zk("template-cf-",a.id));var e,f;K("type",d.FieldType.ENUM)("name",a.name)("clearable",!0)("value",(e=c.editableTemplate.customFieldValues[a.id]==null?null:c.editableTemplate.customFieldValues[a.id].enumValue)!=null?e:null)("choices",(f=a.enumFields)!=null?f:Ck(7,Bub))}},
Dub=function(a){if(a&1){var b=y();L(0,"bv2-input-date-picker",100);Q("boundValueChange",function(e){z(b);var f=R().$implicit,h=R(2).$implicit,k=R();return B(h.editableTemplate.customFieldValues[f.id].dateValue=k.getDateValue(e))})("boundValueChange",function(){z(b);R(3).$implicit.editableTemplate.dirty=!0;return B()});M()}if(a&2){a=R().$implicit;var c=R(2).$implicit;Hj("id",zk("template-cf-",a.id));var d;K("boundValue",(d=c.editableTemplate.customFieldValues[a.id].dateValue)!=null?d:void 0)}},Fub=
function(a){if(a&1){var b=y();L(0,"b-list-field",101);Q("valuesChange",function(e){z(b);var f=R().$implicit,h=R(2).$implicit,k=R();return B(k.setCustomField(h,f.id,e.values))});M()}if(a&2){a=R().$implicit;var c=R(2).$implicit,d=R();Hj("id",zk("template-cf-",a.id));K("defaultLineCount",2)("type",d.getListFieldType(a.type))("values",Eub(c.editableTemplate.customFieldValues[a.id]))("enumChoices",a.enumFields)("truncate",!0)}},Gub=function(a,b){a&1&&(L(0,"div")(1,"div",25)(2,"label",91),U(3),M()(),L(4,
"div"),I(5,zub,1,3,"input",92)(6,Aub,1,3,"input",93)(7,Cub,1,8,"b-edit-field",94)(8,Dub,1,3,"bv2-input-date-picker",95)(9,Fub,1,7,"b-list-field",96),M()());if(a&2){var c;a=b.$implicit;sk(zk("cell-",a.cellType));E(2);K("for",zk("template-cf-",a.id));E();uk("",a.name," (id=",a.id,")");E(2);J((c=a.type)==="TEXT"?5:c==="NUMERIC"?6:c==="ENUM"?7:c==="DATE"?8:9)}},Mub=function(a){if(a&1){var b=y();L(0,"td",15)(1,"div",22);I(2,nub,2,0,"h2",23)(3,oub,2,2,"h2",23);L(4,"div",24)(5,"div",25)(6,"label",26);U(7,
"Template Name");M()();L(8,"input",27);xk("ngModelChange",function(h){z(b);var k=R().$implicit;wk(k.editableTemplate.name,h)||(k.editableTemplate.name=h);return B(h)});Q("ngModelChange",function(){z(b);R().$implicit.editableTemplate.dirty=!0;return B()});M()();I(9,pub,6,1,"div",24);L(10,"div",24)(11,"div",25)(12,"label",28);U(13,"Description of Template");M()();L(14,"input",29);xk("ngModelChange",function(h){z(b);var k=R().$implicit;wk(k.editableTemplate.description,h)||(k.editableTemplate.description=
h);return B(h)});Q("ngModelChange",function(){z(b);R().$implicit.editableTemplate.dirty=!0;return B()});M()();L(15,"div",30)(16,"h3");U(17," Standard issue fields ");M();L(18,"div",31)(19,"div",32)(20,"div",25)(21,"label",33);U(22,"Issue Access Level");M()();L(23,"b-issue-access-limits-dropdown",34);Q("updatedAccessLimitLevel",function(h){z(b);var k=R().$implicit;return B(k.editableTemplate.onAccessLimitLevelSelected(h))});M()();I(24,rub,11,4,"div",35);M();L(25,"div",24)(26,"div",25)(27,"label",36);
U(28,"Title");M()();L(29,"input",37);xk("ngModelChange",function(h){z(b);var k=R().$implicit;wk(k.editableTemplate.title,h)||(k.editableTemplate.title=h);return B(h)});Q("ngModelChange",function(){z(b);R().$implicit.editableTemplate.dirty=!0;return B()});M()();L(30,"div",38)(31,"div",25)(32,"label",39);U(33,"Type");M()();L(34,"button",40)(35,"span");U(36);M();N(37,"b-icon",41);M();L(38,"mat-menu",42,2);Mj(40,tub,2,3,"button",43,Lj);M()();L(42,"div",38)(43,"div",25)(44,"label",44);U(45,"Priority");
M()();L(46,"button",45)(47,"span");U(48);M();N(49,"b-icon",41);M();L(50,"mat-menu",42,3);Mj(52,uub,2,2,"button",46,Lj);M()();L(54,"div",38)(55,"div",25)(56,"label",47);U(57,"Severity");M()();L(58,"button",48)(59,"span");U(60);M();N(61,"b-icon",41);M();L(62,"mat-menu",42,4);Mj(64,vub,2,2,"button",46,Lj);M()();L(66,"div",49)(67,"div",25)(68,"label",50);U(69,"Default Hotlists");M()();L(70,"b-hotlist-picker",51);Q("onApply",function(h){z(b);var k=R(2);return B(k.handleHotlistPickerSave(h))})("onCreate",
function(h){z(b);var k=R(2);return B(k.createHotlist(h))})("onLoad",function(h){z(b);var k=R(2);return B(k.loadHotlist(h))});M();Mj(71,wub,2,1,"div",52,Lj);M();N(73,"div",53);L(74,"div",54)(75,"div",25)(76,"label",55);U(77,"Assignee");M()();L(78,"b-peoplekit-single",56);Q("emailChange",function(h){z(b);var k=R().$implicit,q=R();return B(q.handleAutocompleteSelection(h,k,"assignee"))});M()();L(79,"div",54)(80,"div",25)(81,"label",57);U(82,"Verifier");M()();L(83,"b-peoplekit-single",58);Q("emailChange",
function(h){z(b);var k=R().$implicit,q=R();return B(q.handleAutocompleteSelection(h,k,"verifier"))});M()();L(84,"div",24)(85,"div",25)(86,"label",59);U(87,"Collaborators");M();N(88,"mat-icon",60);M();L(89,"b-peoplekit-multi",61,5);Q("valueChange",function(h){z(b);var k=R().$implicit;return B(Hub(k.editableTemplate,h))});M()();L(91,"div",24)(92,"div",25)(93,"label",62);U(94,"CC");M()();L(95,"b-peoplekit-multi",63,6);Q("valueChange",function(h){z(b);var k=R().$implicit;return B(Iub(k.editableTemplate,
h))});M()();L(97,"div",24)(98,"div",25)(99,"label",64);U(100,"Initial Comment");M()();L(101,"textarea",65);xk("ngModelChange",function(h){z(b);var k=R().$implicit;wk(k.editableTemplate.comment,h)||(k.editableTemplate.comment=h);return B(h)});Q("ngModelChange",function(){z(b);R().$implicit.editableTemplate.dirty=!0;return B()});U(102,"                  ");M();L(103,"b-markdown-toggle",66);Q("change",function(h){z(b);var k=R().$implicit;return B(k.editableTemplate.setFormattingMode(h))});M()();L(104,
"div",24)(105,"div",25)(106,"label",67);U(107,"In Prod");M()();L(108,"b-slide-toggle",68);Q("modelChange",function(){z(b);var h=R().$implicit.editableTemplate;h.inProd=!h.inProd;h.dirty=!0;return B()});M()();I(109,xub,11,4,"div",69);M();L(110,"div",70);I(111,yub,2,0,"h3");Mj(112,Gub,10,8,"div",71,Lj);M();L(114,"div",72)(115,"b-button",73);Q("onAction",function(){z(b);var h=R(2);return B(Jub(h))});U(116," Save ");M();L(117,"b-button",74);Q("onAction",function(){z(b);var h=R(2);return B(Kub(h))});U(118,
" Cancel ");M()()()()}if(a&2){a=T(39);var c=T(51),d=T(63),e=R().$implicit,f=R();E(2);J(e.editableTemplate.new?2:3);E(6);vk("ngModel",e.editableTemplate.name);E();J(f.enableTemplateInheritance?9:-1);E(5);vk("ngModel",e.editableTemplate.description);E(9);K("disabled",!1)("defaultAccessLimitLevel",e.editableTemplate.issueAccessLimitLevel)("implicitAccessEnabled",f.implicitAccessEnabled);E();J(f.trackerCollaboratorGroups.length?24:-1);E(5);vk("ngModel",e.editableTemplate.title);E(5);K("matMenuTriggerFor",
a);E(2);tk(Lub(e.issueType));E(2);K("overlapTrigger",!0);E(2);Nj(f.issueTypeChoices);E(6);K("matMenuTriggerFor",c);E(2);tk(e.editableTemplate.priority);E(2);K("overlapTrigger",!0);E(2);Nj(f.priorityChoices);E(6);K("matMenuTriggerFor",d);E(2);tk(e.editableTemplate.severity);E(2);K("overlapTrigger",!0);E(2);Nj(f.severityChoices);E(6);K("selectedHotlistIds",f.selectedHotlistIds)("choices",f.hotlists);E();Nj(f.selectedHotlists);E(7);K("ariaLabel","The user assigned to this issue")("email",e.editableTemplate.assignee);
E(5);K("ariaLabel","The user who will verify this issue")("email",e.editableTemplate.verifier);E(6);K("ariaLabel","Addition to Collaborators")("value",e.editableTemplate.collaborators.join(", "));E(6);K("ariaLabel","Addition to CCs")("value",e.editableTemplate.cc.join(", "));E(6);vk("ngModel",e.editableTemplate.comment);E(2);K("initialValue",e.editableTemplate.formattingMode);E(5);K("model",e.editableTemplate.inProd);E();J(f.sessionIsInternal?109:-1);E(2);J(f.customFieldRows.length>0?111:-1);E();
Nj(f.customFieldRows);E(3);K("disabled",!e.editableTemplate.isDirty())}},Nub=function(a,b){a&1&&(L(0,"tr"),I(1,mub,16,15)(2,Mub,119,34,"td",15),M());a&2&&(a=b.$implicit,E(),J(a.editableTemplate?2:1))},Oub=function(a){a&1&&(L(0,"tr")(1,"td",15)(2,"div",102)(3,"strong"),U(4,"Templates inherited from parent components"),M()()()())},Pub=function(a){a&1&&(Sj(0),N(1,"b-component-card",108,8),Tj());if(a&2){a=T(2);var b=R().$implicit;E();K("onedevIsHovercardReady",a.init)("componentId",b.componentId)}},Qub=
function(a,b){if(a&1){var c=y();L(0,"tr")(1,"td")(2,"div")(3,"div",16);U(4);M();L(5,"div",17)(6,"a",18);U(7);M()()()();L(8,"td",12)(9,"mat-radio-button",19);Q("change",function(e){z(c);var f=R(2);return B(gub(f,e.value))});M()();L(10,"td",103)(11,"div",104)(12,"div",105);U(13,"Inherited From");M();L(14,"a",106);U(15);M();L(16,"onedev-hovercard",null,7);G(18,Pub,3,2,"ng-container",107);M()()()()}if(a&2){a=b.$implicit;b=T(17);var d=R(2);E(3);rk("selected",jub(d,a));E();V(" ",a.name," ");E(2);K("href",
kub(d,a),Ni);Hj("aria-label",a.name+"- Click to create a new issue");E();V(" ",kub(d,a)," ");E(2);K("id",zk("template-default-radio-",a.index))("checked",d.defaultIndex===a.index);Gj("aria-label","Make template "+a.name+" as default template");K("value",a.index);E(5);K("onedevHovercardTrigger",b)("href",d.ROUTES.editComponentTemplates.makeHref(a.componentId),Ni);Hj("aria-label","Inherited from "+d.componentIdsToPaths[a.componentId]);E();V(" ",d.componentIdsToPaths[a.componentId]," ")}},Rub=function(a,
b){a&1&&(I(0,Oub,5,0,"tr"),Mj(1,Qub,19,15,"tr",null,Lj));a&2&&(J(b.length?0:-1),E(),Nj(b))},Sub=function(a,b){a&1&&(L(0,"div",109),U(1),M(),L(2,"div",110)(3,"button",111),U(4," Cancel "),M(),L(5,"button",112),U(6," Confirm "),M()());a&2&&(a=b.$implicit,E(),V(' Are you sure you want to delete the template "',a.name,'"? '),E(2),K("mat-dialog-close",!1),E(2),K("mat-dialog-close",!0))},Tub=function(a,b){a&1&&(L(0,"div",109),U(1),M(),L(2,"div",110)(3,"button",113),U(4," Cancel "),M(),L(5,"button",113),
U(6," Don't Save "),M(),L(7,"button",114),U(8," Save "),M()());a&2&&(a=b.$implicit,E(),V(' Do you want to save changes to template "',a.name,'" before closing? '),E(2),K("mat-dialog-close",void 0),E(2),K("mat-dialog-close",!1),E(2),K("mat-dialog-close",!0))},Uub=function(a){a&1&&(L(0,"div"),U(1),M(),L(2,"div"),U(3),M());a&2&&(a=R(),E(),V(" Policy: ",a.rawObjectiveDisplayText," (business) "),E(2),V("Effective: ",a.objectiveDisplayText," (calendar)"))},Vub=function(a){a&1&&(L(0,"div"),U(1),M());a&2&&
(a=R(),E(),V("Policy: ",a.rawObjectiveDisplayText," (calendar)"))},Wub=function(a){a&1&&(L(0,"div"),N(1,"b-slo-time-indicator",0),M());a&2&&(a=R(),E(),K("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.assignmentSlo)("includeObjective",!0))},Xub=function(a){a&1&&(L(0,"div"),N(1,"b-slo-time-indicator",1),M());a&2&&(a=R(),E(),K("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.responseSlo)("includeObjective",!0))},Yub=function(a){a&1&&(L(0,"div"),N(1,"b-slo-time-indicator",
2),M());a&2&&(a=R(),E(),K("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.closureSlo)("includeObjective",!0))},Zub=function(a){a&1&&(L(0,"div",5),N(1,"b-slo-status-summary",7),M());a&2&&(a=R(),E(),K("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric",a.onlyShowMetric))},$ub=function(a){a&1&&U(0," No applicable SLO rules ")},avb=function(a){a&1&&U(0," No SLO set on issue component ")},bvb=function(a){a&1&&(L(0,"div",6),I(1,$ub,1,0)(2,avb,1,0),M());a&2&&
(a=R(),E(),J(a.editSloLink?1:2))},cvb=function(a){if(a&1){var b=y();L(0,"a",9);Q("click",function(){z(b);var c=R(2);return B(c.trackOpenSlo())});U(1);M()}a&2&&(a=R(2),K("href",a.editSloLink,Ni),E(),V(" ",a.sloName," "))},dvb=function(a){a&1&&(L(0,"span"),U(1," (private) "),M())},evb=function(a){a&1&&(L(0,"span"),U(1," SLO definition: "),I(2,cvb,2,2,"a",8)(3,dvb,2,0,"span"),M());a&2&&(a=R(),E(2),J(a.sloName?2:3))},hvb=function(a){if(a.type==="CUSTOM_FIELD")return new gs({name:a.customFieldId?String(a.customFieldId):
a.customFieldName||"",label:a.customFieldName||"",fullLabel:a.customFieldName||"",isCustomField:!0,sortable:a.customFieldId!==void 0,tooltip:""});a=zd(a.type);a==="canonicalIssueId"&&(a="duplicateOfIssueId");return fvb.includes(a)?gvb(a):null},jvb=function(a){return ivb(a.map(hvb).filter(function(b){return!!b}))},kvb=function(a){return a.map(function(b){b.isCustomField?b={type:"CUSTOM_FIELD",customFieldId:Bd(b.name),customFieldName:void 0}:(b=(b.name||"").replace(/([A-Z])/g,"_$1").toUpperCase(),b===
"DUPLICATE_OF_ISSUE_ID"&&(b="CANONICAL_ISSUE_ID"),b={type:b,customFieldId:void 0,customFieldName:void 0});return b})},ivb=function(a){return no(a,function(b){return b.name})},gvb=function(a){var b={name:a,label:a.toUpperCase()},c=lvb[a];c?Object.assign(b,c):fvb.includes(a)||(b.isCustomField=!0);b.fullLabel=b.fullLabel||b.label.charAt(0).toUpperCase()+b.label.slice(1).toLowerCase();return new gs(b)},mvb=function(a,b){a&1&&N(0,"col");a&2&&sk(zk("",b.$implicit.name,"-col"))},nvb=function(a){a&1&&Uj(0)},
pvb=function(a,b){a&1&&G(0,nvb,1,0,"ng-container",7);a&2&&(a=b.$implicit,b=R(),K("ngTemplateOutlet",b.headerCellTemplates[a.name]||b.defaultHeaderCellTemplate)("ngTemplateOutletContext",Dk(2,ovb,a)))},qvb=function(a){a&1&&Uj(0)},svb=function(a,b){a&1&&G(0,qvb,1,0,"ng-container",7);if(a&2){a=b.$implicit;b=b.$index;var c=R(),d=c.$implicit;c=c.$index;var e=R();K("ngTemplateOutlet",e[b])("ngTemplateOutletContext",fsa(rvb,d,a,c))}},uvb=function(a,b){if(a&1){var c=y();L(0,"tr",9,3);Q("click",function(){var e=
z(c).$index,f=R(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return B()})("focus",function(){var e=z(c).$index,f=R(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return B()})("mouseover",function(){var e=z(c).$index;R(2).hoveredRowIndex.emit(e);return B()})("mouseleave",function(){z(c);R(2).hoveredRowIndex.emit(null);return B()});Mj(2,svb,1,6,"ng-container",null,tvb);M()}if(a&2){a=b.$implicit;b=b.$index;var d=R(2);rk("selected",a.selected)("unread",
!d.readUnreadOptOut&&!a.isRead&&!a.isClosed)("closed",a.isClosed)("grid-focus",d.focusedRowIndex===b);Hj("data-row-id",a.id)("data-is-read",a.isRead)("aria-label",d.renderRowLabel(a,b)+(a.selected?", row starred":""));E(2);Nj(d.columns)}},wvb=function(a){a&1&&Mj(0,uvb,4,11,"tr",8,vvb);a&2&&(a=R(),Nj(a.list))},xvb=function(a,b){a&1&&(L(0,"th"),N(1,"pop-grid-default-th",10),M());a&2&&(a=b.column,E(),K("column",a))},yvb=function(a,b){a&1&&(L(0,"td"),N(1,"pop-grid-default-cell",11),M());a&2&&(a=b.row,
b=b.column,E(),K("row",a)("column",b))},zvb=function(a){if(a&1){var b=y();L(0,"b-sortable-header",3);Q("sortChanged",function(c){z(b);var d=R();d.grid&&d.grid.sortChange.emit(c);return B()});M()}a&2&&(a=R(),K("columnLabel",a.column.label)("columnName",a.column.name)("defaultSortDirection",a.column.defaultSortDirection||"ASC")("sort",a.grid==null?null:a.grid.sort)("matTooltip",a.column.tooltip||""))},Avb=function(a){a&1&&(L(0,"span",4),U(1),M());a&2&&(a=R(2),E(),V("column-",a.column.name))},Bvb=function(a){a&
1&&(L(0,"div",2),I(1,Avb,2,1,"span",4),U(2),M());a&2&&(a=R(),Hj("aria-label",a.column.label),E(),J(a.column.label?-1:1),E(),V(" ",a.column.label," "))},Cvb=function(a){if(a&1){var b=y();L(0,"div",13,3);Q("menuOpened",function(){z(b);var d=R();return B(d.menuOpen=!0)})("menuClosed",function(){z(b);var d=R();return B(d.menuOpen=!1)})("keydown.enter",function(d){z(b);T(1).openMenu();d.preventDefault();return B(d.stopPropagation())})("keydown.space",function(){z(b);var d=T(1);return B(d.openMenu())});
M()}if(a&2){a=R();var c=T(5);rk("columnpicker-button-active",a.menuOpen);Hj("aria-label",zk("",a.column.fullLabel," column configuration"));K("matMenuTriggerFor",c)}},Fvb=function(a,b){if(a&1){var c=y();L(0,"button",14);Q("click",function(){var d=z(c).$implicit,e=R();return B(Dvb(e,d.name))});N(1,"b-icon",15);L(2,"span",16);U(3);M()()}a&2&&(a=b.$implicit,b=R(),rk("b-menu-item-checked",Evb(a.name).get(b.listViewPrefs)),E(3),V(" ",a.menuItem," "))},Gvb=function(a){a&1&&N(0,"mat-divider")},Hvb=function(a){if(a&
1){var b=y();L(0,"button",19);Q("click",function(){z(b);var c=R().$implicit,d=R().before,e=R();return B(e.add(c,d))})("keydown.enter",function(c){z(b);var d=R().$implicit,e=R().before;R().add(d,e);c.preventDefault();return B(c.stopPropagation())});U(1);M()}a&2&&(a=R().$implicit,K("matTooltip",a.tooltip),E(),V(" ",a.fullLabel," "))},Jvb=function(a){a&1&&(L(0,"button",11)(1,"span"),U(2),M()());if(a&2){a=R().$implicit;var b=R().before;R();var c=T(19);K("matMenuTriggerFor",c)("matMenuTriggerData",Ek(3,
Ivb,a.columns,b));E(2);tk(a.label)}},Kvb=function(a,b){a&1&&I(0,Hvb,2,2,"button",18)(1,Jvb,3,6,"button",11);a&2&&(a=b.$implicit,b=R(2),J(b.isIssueGridColumn(a)?0:1))},Mvb=function(a){if(a&1){var b=y();L(0,"button",17);Q("click",function(){var c=z(b).before,d=R();return B(Lvb(d,c))});U(1," Custom Field ");M();N(2,"mat-divider");Mj(3,Kvb,2,1,null,null,Lj)}a&2&&(a=R(),E(3),Nj(a.currentAvailableItems))},Nvb=function(a,b){if(a&1){var c=y();L(0,"button",21);Q("click",function(){var d=z(c).$implicit,e=R().before,
f=R();return B(f.add(d,e))})("keydown.enter",function(d){var e=z(c).$implicit,f=R().before;R().add(e,f);d.preventDefault();return B(d.stopPropagation())});U(1);M()}a&2&&(a=b.$implicit,E(),V(" ",a.fullLabel," "))},Ovb=function(a,b){a&1&&Mj(0,Nvb,2,1,"button",20,Lj);a&2&&Nj(b.columns)},Evb=function(a){switch(a){case "id-link":return{get:function(b){var c;return((c=b.modeForField)==null?void 0:c.id)==="link"},set:function(b,c){b.modeForField=b.modeForField||{};b.modeForField.id=c?"link":void 0}};case "id-copy":return{get:function(b){var c;
return((c=b.modeForField)==null?void 0:c.id)==="copy"},set:function(b,c){b.modeForField=b.modeForField||{};b.modeForField.id=c?"copy":void 0}};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((c=b.fieldStatus)==null?void 0:c.mode)==="icon"},set:function(b,c){var d;b.fieldStatus=(d=b.fieldStatus)!=null?d:{};b.fieldStatus.mode=c?"icon":void 0}};case "status-plain":return{get:function(b){var c;return((c=b.fieldStatus)==null?void 0:c.mode)==="plain"},set:function(b,c){var d;b.fieldStatus=(d=b.fieldStatus)!=null?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("ef`"+
a);}},Pvb=function(a){a&1&&(L(0,"p",5),U(1),M());a&2&&(a=R(),E(),V(" * Status update must be less than ",a.CHAR_LIMIT," characters. "))},Qvb=function(a){a&1&&(L(0,"p",6),U(1),L(2,"a",12),U(3," Learn more "),M()());a&2&&(a=R(),E(),V(" Your status update contains restricted words: ",Sq(a.bannedWordsChecker),". Review your status update before posting. "))},Rvb=function(a){a&1&&(L(0,"div",8),N(1,"b-live-preview",13),M());a&2&&(a=R(),E(),K("comment",a.newStatusUpdate.updateText)("issueId",a.origStatusUpdate.issueId)("formattingMode",
a.newStatusUpdate.formattingMode)("audience",a.formattingAudience))},Tvb=function(a){return function(b){b=r(b,Svb,1);var c,d=b==null?void 0:(c=b.getData())==null?void 0:c.getWorkspacesMap(),e,f;return((f=b==null?void 0:(e=b.getContextsMap().get("b/"+a))==null?void 0:e.getTypedWorkspaceIdsList())!=null?f:[]).map(function(h){h=h.getWorkspaceId();var k=d==null?void 0:d.get(h),q;return{workspaceId:pe(h),workspaceName:(q=k==null?void 0:k.getName())!=null?q:"",issueId:a}})}},Uvb=function(a){a&1&&Uj(0)},
Wvb=function(a){a&1&&(Sj(0),G(1,Uvb,1,0,"ng-container",8),Tj());a&2&&(a=R(),E(),K("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Dk(2,Vvb,a.value)))},Xvb=function(a){a&1&&U(0);a&2&&(a=R(),tk(a.value!=null?a.value:"--"))},Yvb=function(a){a&1&&(Gh(),L(0,"svg",9),N(1,"path",10),M())},Zvb=function(a){a&1&&N(0,"input",11);a&2&&(a=R(),K("required",a.required())("formControl",a.editingValue),Hj("aria-labelledby",a.labelledById))},$vb=function(a){return a!=null?Number(a):void 0},awb=function(a){a&
1&&N(0,"mat-icon",4);a&2&&(R(),a=T(5),K("onedevHovercardTrigger",a))},bwb=function(a){if(a&1){var b=y();L(0,"onedev-numeric-field",10);Q("valueChange",function(d){z(b);var e=R(2);e.selectedNumericEstimate=d;d==null?e.effortChange.emit(void 0):e.effortChange.emit({estimate:String(d)});return B()});M()}if(a&2){a=R(2);var c=T(2);K("value",a.selectedNumericEstimate)("valueTemplate",c)("disabled",a.disabled)("displayEditIcon",!a.disabled)}},cwb=function(a){a&1&&U(0);a&2&&(a=R().$implicit,V(" ",a.label,
" "))},dwb=function(a){a&1&&U(0," -- ")},ewb=function(a,b){a&1&&I(0,cwb,1,1)(1,dwb,1,0);a&2&&J(b.$implicit?0:1)},gwb=function(a){if(a&1){var b=y();L(0,"onedev-single-select",11);Q("valueChange",function(e){z(b);var f=R(2);return B(f.selectOption(e))});M();G(1,ewb,2,1,"ng-template",null,2,Gk)}if(a&2){a=T(2);var c=R(2),d;K("value",c.selectedOption)("options",(d=c.effortSpec.enumSpec==null?null:c.effortSpec.enumSpec.options)!=null?d:Ck(6,fwb))("includeEmptyOption",!0)("optionTemplate",a)("disabled",
c.disabled)("displayArrowIcon",!c.disabled)}},hwb=function(a){a&1&&U(0);a&2&&(a=R(2),V(" ",a.effort==null?null:a.effort.estimate," "))},iwb=function(a){a&1&&(L(0,"onedev-edit-field")(1,"onedev-field-label",3),U(2),I(3,awb,1,1,"mat-icon",4),M(),L(4,"onedev-hovercard",null,1)(6,"div",5)(7,"div",6),U(8," This estimate was made under a different configuration and needs to be updated. "),L(9,"a",7),U(10,"Learn more"),M()()()(),L(11,"onedev-field-value",8),I(12,bwb,1,4,"onedev-numeric-field",9)(13,gwb,
3,7)(14,hwb,1,1),M()());if(a&2){var b;a=R();E();K("thinking",a.thinking);E();V(" ",a.fieldName," ");E();J(a.isCompatibleValue?-1:3);E(8);K("thinking",a.thinking);E();J((b=a.fieldType)==="NUMERIC"?12:b==="DROPDOWN"?13:14)}},jwb=function(a){a&1&&U(0);a&2&&(a=R(2),V(" ",a.effort==null?null:a.effort.estimate," "))},kwb=function(a){a&1&&U(0);a&2&&(a=R().$implicit,V(" ",a!=null?a:"--"," "))},lwb=function(a,b){a&1&&I(0,jwb,1,1)(1,kwb,1,1);a&2&&(a=b.$implicit,b=R(),J(b.isNaN(a)?0:1))},mwb=function(a){a&1&&
U(0," -- ")},nwb=function(a){a&1&&(L(0,"div",12),U(1),M(),L(2,"div",13),U(3),M());a&2&&(a=R(),E(),tk(a.staffingUserSummary),E(2),tk(a.staffingPlaceholderSummary))},owb=function(a){a&1&&N(0,"mat-icon",4)},pwb=function(a){a&1&&N(0,"mat-icon",11)},qwb=function(a){a&1&&N(0,"mat-icon",12)},rwb=function(a){a&1&&(L(0,"span"),N(1,"b-formatted-date-time",22),M());a&2&&(a=R(2),E(),K("timestamp",a.sloStartTime))},swb=function(a){a&1&&(L(0,"span"),N(1,"b-formatted-date-time",22),L(2,"span"),U(3," (default)"),
M()());a&2&&(a=R(2),E(),K("timestamp",a.issueCreationTimestamp/1E3))},twb=function(a){if(a&1){var b=y();L(0,"slo-edit-date-time-picker",23);Q("closePicker",function(){z(b);var c=R(2);return B(c.isSloStartEditTimePickerOpen=!1)})("sloEditCommit",function(c){z(b);var d=R(2);return B(d.updateSloStartTime(c))});M()}a&2&&(a=R(2),K("sloStatus",a.sloStatus)("sloEditTime",a.sloStartTime)("noneButtonEnabled",a.hasSloStartTime))},uwb=function(a){if(a&1){var b=y();L(0,"div",14)(1,"a",18);U(2," Start Date: ");
M();L(3,"div",19)(4,"a",20,0);Q("keydown.enter",function(){z(b);var d=R();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return B()})("keydown.space",function(){z(b);var d=R();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return B()})("click",function(){z(b);var d=R();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return B()});I(6,rwb,2,1,"span")(7,swb,4,1,"span");M();G(8,twb,1,3,"ng-template",21);M()()}if(a&2){a=T(5);var c=R();E(6);J(c.hasSloStartTime?
6:7);E(2);K("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",c.isSloStartEditTimePickerOpen)}},vwb=function(a){a&1&&(L(0,"span"),U(1," Set closure SLO "),M())},wwb=function(a){a&1&&(L(0,"span"),N(1,"b-formatted-date-time",22),M());a&2&&(a=R(2),E(),K("timestamp",a.sloEndTime))},xwb=function(a){a&1&&(L(0,"span"),N(1,"b-formatted-date-time",22),L(2,"span"),U(3," (default)"),M()());a&2&&(a=R(2),E(),K("timestamp",a.closureSloTarget*1E3))},ywb=function(a){if(a&1){var b=y();L(0,"slo-edit-date-time-picker",
23);Q("closePicker",function(){z(b);var c=R(2);return B(c.isSloEndEditTimePickerOpen=!1)})("sloEditCommit",function(c){z(b);var d=R(2);return B(d.updateSloEndTime(c))});M()}a&2&&(a=R(2),K("sloStatus",a.sloStatus)("sloEditTime",a.sloEndTime)("noneButtonEnabled",a.hasSloEndTime))},zwb=function(a){if(a&1){var b=y();L(0,"div",15)(1,"a",18);U(2," End Date: ");M();L(3,"div",19)(4,"a",24,0);Q("click",function(){z(b);var d=R();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return B()})("keydown.enter",
function(){z(b);var d=R();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return B()})("keydown.space",function(){z(b);var d=R();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return B()});I(6,vwb,2,0,"span");I(7,wwb,2,1,"span");I(8,xwb,4,1,"span");M();G(9,ywb,1,3,"ng-template",21);M()()}if(a&2){a=T(5);var c=R();E(6);J(c.hasClosureSlo?-1:6);E();J(c.hasClosureSlo&&c.hasSloEndTime?7:-1);E();J(c.hasClosureSlo&&!c.hasSloEndTime?8:-1);E();K("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",
c.isSloEndEditTimePickerOpen)}},Awb=function(a){a&1&&N(0,"b-user-membership-chip",28);a&2&&(a=R(2),K("user",a.escalationOwner)("email",a.userToDisplayString(a.escalationOwner))("enableSmallChip",!0))},Bwb=function(a){a&1&&U(0," None ")},Cwb=function(a){a&1&&(L(0,"div",16)(1,"span",25),U(2," Owner: "),M(),L(3,"onedev-hovercard",null,1)(5,"div",26),U(6," Escalation owner for SLO accounting and other purposes. "),L(7,"a",27),U(8,"Learn more."),M()()(),L(9,"div",19),I(10,Awb,1,3,"b-user-membership-chip",
28)(11,Bwb,1,0),M()());if(a&2){a=T(4);var b=R();E();K("onedevHovercardTrigger",a);E(9);J(b.escalationOwner?10:11)}},Dwb=function(a,b){if(a&1){var c=y();L(0,"a",30);Q("click",function(){z(c);var d=R(2);return B(d.trackOpenSlo())});U(1);M()}a&2&&(a=R(2),Hj("href",a.editSloLink,Ni),E(),V(" ",b.name," "))},Ewb=function(a){a&1&&(L(0,"div",17),U(1," SLO definition: "),I(2,Dwb,2,2,"a",29),W(3,"async"),M());if(a&2){var b;a=R();E(2);J((b=X(3,1,a.slo$))?2:-1,b)}},Fwb=function(a){if(a&1){var b=y();L(0,"div",
17)(1,"a",31);Q("click",function(){z(b);R();Yo("component","open","fromIssueSloBox");return B()});U(2,"Select an SLO");M()()}a&2&&(a=R(),E(),Hj("href",a.componentSloLink,Ni))},Gwb=function(a){return a&&a.teamId!=="0"?a.deleted?"DELETED":"VALID":"MISSING"},Hwb=function(a){a&1&&Uj(0)},Iwb=function(a){if(a&1){var b=y();L(0,"div",3);U(1," Select a team from the suggestions below, or edit in ");L(2,"a",6);Q("click",function(){z(b);var d=R();return B(d.trackClick("viewTeamAssociationOnComponent"))});U(3,
"component settings");M();U(4,". ");L(5,"mat-radio-group",7);xk("ngModelChange",function(d){z(b);var e=R();wk(e.teamAction,d)||(e.teamAction=d);return B(d)});L(6,"p")(7,"mat-radio-button",8);U(8," Don't make any changes ");M()();L(9,"p")(10,"mat-radio-button",9);U(11," Map component to selected team ");M()()();G(12,Hwb,1,0,"ng-container",10);M()}if(a&2){a=R();var c=T(5);E(2);K("href",a.componentSetting,Ni);E(3);vk("ngModel",a.teamAction);E(7);K("ngTemplateOutlet",c)}},Jwb=function(a){a&1&&Uj(0)},
Kwb=function(a){a&1&&(L(0,"div",3),U(1," Assigned team no longer exists, select a different team from the suggestions below, or edit/opt out of team mapping in "),L(2,"a",11),U(3,"component settings"),M(),U(4,". "),G(5,Jwb,1,0,"ng-container",10),M());if(a&2){a=R();var b=T(5);E(2);K("href",a.componentSetting,Ni);E(3);K("ngTemplateOutlet",b)}},Lwb=function(a){a&1&&(L(0,"span",16),U(1),M());a&2&&(a=R().$implicit,E(),tk(a.teamPath))},Mwb=function(a){a&1&&U(0," -- ")},Nwb=function(a,b){a&1&&I(0,Lwb,2,
1,"span",16)(1,Mwb,1,0);a&2&&J(b.$implicit?0:1)},Owb=function(a){if(a&1){var b=y();L(0,"div",12)(1,"onedev-single-select",13);xk("valueChange",function(d){z(b);var e=R(2);wk(e.selectedTeam,d)||(e.selectedTeam=d);return B(d)});Q("valueChange",function(d){z(b);var e=R(2);return B(e.selectOption(d))});M();G(2,Nwb,2,1,"ng-template",null,1,Gk);L(4,"a",14);Q("click",function(){z(b);var d=R(2);return B(d.trackClick("viewTeamInMoma"))});N(5,"mat-icon",15);M()()}if(a&2){a=T(3);var c=R(2);E();K("disabled",
c.teamAction==="NONE");vk("value",c.selectedTeam);K("options",c.teamOptions)("includeEmptyOption",!1)("optionTemplate",a);E(3);Hj("href",c.getMomaTeamLink(),Ni)}},Pwb=function(a){a&1&&I(0,Owb,6,6,"div",12);a&2&&(a=R(),J(a.teamOptions.length>0?0:-1))},Qwb=function(a){if(a&1){var b=y();L(0,"b-callout-actions")(1,"b-button",1);Q("click",function(){z(b);var c=R();return B(c.openDialog())});U(2);M()()}a&2&&(a=R(),E(2),tk(a.buttonName))},Rwb=function(a){a&1&&Uj(0)},Swb=function(a){a&1&&G(0,Rwb,1,0,"ng-container",
47);a&2&&(R(),a=T(97),K("ngTemplateOutlet",a))},Uwb=function(a,b){a&1&&(N(0,"b-list-field",48),W(1,"async"));a&2&&(a=R(3),K("readonly",!0)("defaultLineCount",3)("title","Team")("type",a.ListFieldType.TEAM)("values",Dk(8,Twb,b))("showInternalOnlyFieldBadge",!X(1,6,a.issueIsOnInternalComponent$)))},Vwb=function(a){a&1&&(I(0,Uwb,2,10,"b-list-field",48),W(1,"async"));if(a&2){var b;a=R(2);J((b=X(1,1,a.teamHovercardInputs$))?0:-1,b)}},Xwb=function(a){if(a&1){var b=y();L(0,"div",49)(1,"b-team-warning",50);
W(2,"async");W(3,"async");Q("updateTeam",function(){z(b);var h=R(3);h.issueFullFridge.poke(h.issueId);return B()});M()()}if(a&2){var c;a=R();var d=R(),e=R();E();var f;K("warningType",a)("componentId",d.componentId||void 0)("parentComponentId",((c=X(2,4,e.component$))==null?null:c.parentComponentId)||void 0)("teamSuggestions",(f=X(3,6,e.teamSuggestions$))!=null?f:Ck(8,Wwb))}},Ywb=function(a){a&1&&(I(0,Xwb,4,9,"div",49),W(1,"async"));a&2&&(a=R(2),J(X(1,1,a.shouldDisplayTeamSuggestions$)?0:-1))},Zwb=
function(a){a&1&&Uj(0)},$wb=function(a){a&1&&G(0,Zwb,1,0,"ng-container",47);a&2&&(R(),a=T(99),K("ngTemplateOutlet",a))},axb=function(a,b){if(a&1){var c=y();L(0,"div",51);N(1,"div",52);L(2,"span",53);W(3,"async");W(4,"async");Q("click",function(){var d=z(c),e=R(3);return B(hs(e,d))})("keydown.enter",function(d){var e=z(c);hs(R(3),e);d.stopPropagation();return B(d.preventDefault())})("keydown.space",function(d){var e=z(c);hs(R(3),e);d.stopPropagation();return B(d.preventDefault())});U(5);M()()}a&2&&
(a=R(3),E(2),rk("disabled",!!X(3,6,a.isSaving$(a.IssueFieldName.STATUS))),K("matTooltip",b.description||""),Hj("aria-disabled",!!X(4,8,a.isSaving$(a.IssueFieldName.STATUS)))("aria-label",b.displayText||null),E(3),V(" ",b.displayText," "))},bxb=function(a){a&1&&(I(0,axb,6,10,"div",51),W(1,"async"));if(a&2){var b;a=R(2);J((b=X(1,1,a.issueStatusQuickAction$))?0:-1,b)}},cxb=function(a){a&1&&(L(0,"div",24),N(1,"b-edit-field",54,15),W(3,"async"),L(4,"div",51),N(5,"div",52),L(6,"a",55),W(7,"async"),U(8,
" Open triage "),M()()());a&2&&(a=R(2),E(),K("name","phase")("title","Triage phase")("type",a.FieldType.ENUM)("value",X(3,8,a.triagePhase$))("choices",a.phaseChoices)("showHotkeyHint",!1)("disabled",!0),E(5),K("href",X(7,10,a.triagePhaseUrl$),Ni))},dxb=function(a){a&1&&(N(0,"b-issue-card",56,16),W(2,"async"));if(a&2){a=T(1);var b=R(2);K("onedevIsHovercardReady",a.init)("issueId",X(2,2,b.canonicalIssueId$))}},fxb=function(a){if(a&1){var b=y();L(0,"b-estimated-effort-row",57);W(1,"async");W(2,"async");
W(3,"async");Q("effortChange",function(e){z(b);var f=R(2);return B(exb(f.editIssueService,f.issueId,e))});M()}if(a&2){a=R(2);var c,d;K("effort",(c=X(1,3,a.effort$))!=null?c:void 0)("effortSpec",(d=X(2,5,a.effortSpec$))!=null?d:void 0)("disabled",!X(3,7,a.hasAclToEdit$))}},gxb=function(a){a&1&&(L(0,"div"),U(1," Expanded access is turned on for this component. Assignees, verifiers and collaborators can edit issues in this component, and CC'd users can comment on them. "),L(2,"a",61),U(3,"Learn more"),
M()());a&2&&(a=R(3),E(2),K("href",Dq(a.documentationLinks)+"#expanded-access",Ni))},hxb=function(a){a&1&&(L(0,"div",38)(1,"span",58),U(2,"Expanded Access"),M(),L(3,"xap-bubble",59)(4,"xap-icon-trigger"),N(5,"mat-icon",60),M(),G(6,gxb,4,1,"ng-template",null,17,Gk),M()());a&2&&(a=T(7),E(3),K("panelTemplate",a))},ixb=function(a){a&1&&(L(0,"span",65),W(1,"async"),U(2),M());if(a&2){a=R();var b=R(3);rk("disabled",!!X(1,3,b.isSaving$(b.IssueFieldName.ASSIGNEE)));E(2);V(" ",a.displayText," ")}},jxb=function(a,
b){if(a&1){var c=y();L(0,"div",63);W(1,"async");Q("onHotkey",function(){var d=z(c),e=R(3);return B(hs(e,d))})("click",function(){var d=z(c),e=R(3);return B(hs(e,d))})("keydown.enter",function(d){var e=z(c);hs(R(3),e);d.stopPropagation();return B(d.preventDefault())})("keydown.space",function(d){var e=z(c);hs(R(3),e);d.stopPropagation();return B(d.preventDefault())});N(2,"div",52);I(3,ixb,3,5,"span",64);W(4,"async");M()}a&2&&(a=R(3),K("hotkey",a.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",
b.description),Hj("aria-disabled",!!X(1,5,a.isSaving$(a.IssueFieldName.ASSIGNEE)))("aria-label",b.description),E(3),J(X(4,7,a.hasAclToEdit$)?3:-1))},kxb=function(a){a&1&&(I(0,jxb,5,9,"div",62),W(1,"async"));if(a&2){var b;a=R(2);J((b=X(1,1,a.issueAssigneeQuickAction$))?0:-1,b)}},lxb=function(a){a&1&&Uj(0)},mxb=function(a){a&1&&G(0,lxb,1,0,"ng-container",47);a&2&&(R(),a=T(101),K("ngTemplateOutlet",a))},nxb=function(a){a&1&&N(0,"b-list-field",44);if(a&2){a=R();var b=R(2);K("readonly",!0)("defaultLineCount",
3)("title","TaskFlow Workspaces")("type",b.ListFieldType.WORKSPACES)("values",a)("tooltip","Links to TaskFlow workspaces this issue belongs to")}},oxb=function(a,b){a&1&&(I(0,nxb,1,6,"b-list-field",44),W(1,"async"));a&2&&(a=R(2),J(X(1,1,a.shouldDisplayWtdmUi$)&&b.length?0:-1))},pxb=function(a){a&1&&(N(0,"b-staffing-row",43),W(1,"async"),W(2,"async"));if(a&2){a=R(2);var b;K("staffing",(b=X(1,3,a.staffing$))!=null?b:void 0)("issueId",a.issueId)("isAllowedToEdit",X(2,5,a.hasAclToEdit$))}},qxb=function(a){a&
1&&N(0,"b-list-field",44);if(a&2){a=R();var b=R();K("readonly",!0)("defaultLineCount",3)("title","Postmortems")("type",b.ListFieldType.POSTMORTEMS)("values",a.postmortems)("tooltip","Postmortems (auto-populated from a daily dump of Requiem)")}},sxb=function(a,b){a&1&&(L(0,"div"),Uj(1,66),M());a&2&&(a=b.$implicit,R(),b=T(113),E(),K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,rxb,a)))},txb=function(a,b){a&1&&(L(0,"div"),Uj(1,66),M());a&2&&(a=b.$implicit,R(),b=T(113),E(),K("ngTemplateOutlet",
b)("ngTemplateOutletContext",Dk(2,rxb,a)))},uxb=function(a){a&1&&Uj(0)},vxb=function(a){a&1&&G(0,uxb,1,0,"ng-container",47);a&2&&(R(),a=T(111),K("ngTemplateOutlet",a))},wxb=function(a){a&1&&N(0,"hr",45)},xxb=function(a){a&1&&Uj(0)},yxb=function(a){a&1&&G(0,xxb,1,0,"ng-container",47);a&2&&(R(2),a=T(97),K("ngTemplateOutlet",a))},zxb=function(a){a&1&&Uj(0)},Axb=function(a){a&1&&G(0,zxb,1,0,"ng-container",47);a&2&&(R(2),a=T(99),K("ngTemplateOutlet",a))},Bxb=function(a){a&1&&Uj(0)},Cxb=function(a){a&1&&
G(0,Bxb,1,0,"ng-container",47);a&2&&(R(2),a=T(101),K("ngTemplateOutlet",a))},Dxb=function(a,b){a&1&&(L(0,"div"),Uj(1,66),M());a&2&&(a=b.$implicit,R(2),b=T(113),E(),K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,rxb,a)))},Exb=function(a){a&1&&Uj(0)},Fxb=function(a){a&1&&G(0,Exb,1,0,"ng-container",47);a&2&&(R(2),a=T(111),K("ngTemplateOutlet",a))},Gxb=function(a){a&1&&(L(0,"collapsible-panel",46),W(1,"async"),I(2,yxb,1,1,"ng-container"),W(3,"async"),I(4,Axb,1,1,"ng-container"),W(5,"async"),I(6,
Cxb,1,1,"ng-container"),W(7,"async"),Mj(8,Dxb,2,4,"div",null,y()[15][8].trackCustomField,!0),W(10,"async"),I(11,Fxb,1,1,"ng-container"),W(12,"async"),M());if(a&2){a=R(2);var b;K("titleWhenCollapsed",(b=X(1,6,a.showHiddenFieldsLabel$))!=null?b:"")("titleWhenExpanded","Hide additional fields");E(2);J(a.showSloStatus&&!X(3,8,a.isSloStatusPrimary$)?2:-1);E(2);J(X(5,10,a.isSeverityPrimary$)?-1:4);E(2);J(a.showCodeChanges&&!X(7,12,a.isChangelistPrimary$)?6:-1);E(2);Nj(X(10,14,a.hiddenCustomFields$));E(3);
J(X(12,16,a.isForgottenFourPrimary$)?-1:11)}},Hxb=function(a){if(a&1){var b=y();L(0,"b-issue-slo-box",68);W(1,"async");W(2,"async");W(3,"async");W(4,"async");W(5,"async");Q("onSloStartTimeChange",function(h){z(b);var k=R(3);return B(k.editIssueService.updateSloStartTime(k.issueId,h.date))})("onSloEndTimeChange",function(h){z(b);var k=R(3);return B(k.editIssueService.updateSloEndTime(k.issueId,h.date))});M()}if(a&2){a=R(2);var c=R(),d,e,f;K("sloStatus",(d=X(1,9,c.sloStatus$))!=null?d:void 0)("sloStartTime",
a.sloStartTime)("sloEndTime",a.sloEndTime)("sloId",(e=X(2,11,c.sloId$))!=null?e:void 0)("componentId",a.componentId||void 0)("isEditable",!!X(3,13,c.hasAclToEdit$))("issueCreationTimestamp",(f=X(4,15,c.createdTimeMicros$))!=null?f:0)("showInternalOnlyFieldBadge",!X(5,17,c.issueIsOnInternalComponent$))("escalationOwner",a.escalationOwner)}},Ixb=function(a){a&1&&G(0,Hxb,6,19,"ng-template",67);a&2&&(a=R(2),K("refreshable",a.refreshMonitor.getObservable()))},Kxb=function(a){if(a&1){var b=y();L(0,"b-edit-field",
69);W(1,"async");W(2,"async");Q("valueChange",function(d){z(b);var e=R(2);return B(Jxb(e.editIssueService,e.issueId,d!=null?d:""))});M()}if(a&2){a=R();var c=R();K("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",!X(1,8,c.hasAclToEdit$))("disabled",!!X(2,10,c.isSaving$(c.IssueFieldName.SEVERITY)))}},Nxb=function(a){if(a&1){var b=y();
L(0,"b-list-field",70);W(1,"async");W(2,"async");Q("valuesChange",function(h){z(b);var k=R(2),q=[],u=[];h=l(h.values);for(var A=h.next();!A.done;A=h.next()){A=A.value;var D=Po(A);D?q.push(D):u.push(A)}Lxb(k.editIssueService,k.issueId,u);Mxb(k.editIssueService,k.issueId,q);return B()});M();N(3,"b-list-field",44);W(4,"async");W(5,"async");W(6,"async")}if(a&2){var c,d,e;a=R();var f=R();K("readonly",!X(1,15,f.hasAclToEdit$))("defaultLineCount",3)("title","Code Changes")("inputValidator",f.codeChangesValidator)("type",
f.ListFieldType.CODE_CHANGES)("values",M2a(a,f.sessionIsExternal))("listFieldDisabled",!!X(2,17,f.isSaving$(f.IssueFieldName.CHANGELISTS)));E(3);rk("bv2-issue-metadata-error",(c=X(4,19,f.pendingCodeChanges$))==null?null:c.hasError);K("readonly",!0)("defaultLineCount",3)("title","Pending Code Changes")("type",f.ListFieldType.CODE_CHANGES)("values",((d=X(5,21,f.pendingCodeChanges$))==null?null:d.changes)||Ck(25,Wwb))("tooltip",((e=X(6,23,f.pendingCodeChanges$))==null?0:e.hasError)?"Error fetching pending changelists":
"Pending code changes (auto-populated)")}},Pxb=function(a){if(a&1){var b=y();L(0,"b-edit-field",71);W(1,"csv");W(2,"async");W(3,"async");Q("valueChange",function(d){z(b);var e=R(2);return B(Oxb(e.editIssueService,e.issueId,d!=null?d:""))});M()}if(a&2){a=R();var c=R();K("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",X(1,8,a.foundInVersion))("readonly",!X(2,10,
c.hasAclToEdit$))("disabled",!!X(3,12,c.isSaving$(c.IssueFieldName.FOUND_IN_VERSION)))}},Rxb=function(a){if(a&1){var b=y();L(0,"b-edit-field",72);W(1,"csv");W(2,"async");W(3,"async");Q("valueChange",function(d){z(b);var e=R(2);return B(Qxb(e.editIssueService,e.issueId,d!=null?d:""))});M()}if(a&2){a=R();var c=R();K("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",
X(1,8,a.targetedToVersion))("readonly",!X(2,10,c.hasAclToEdit$))("disabled",!!X(3,12,c.isSaving$(c.IssueFieldName.TARGETED_TO_VERSION)))}},Txb=function(a){if(a&1){var b=y();L(0,"b-edit-field",71);W(1,"csv");W(2,"async");W(3,"async");Q("valueChange",function(d){z(b);var e=R(2);return B(Sxb(e.editIssueService,e.issueId,d!=null?d:""))});M()}if(a&2){a=R();var c=R();K("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",
X(1,8,a.verifiedInVersion))("readonly",!X(2,10,c.hasAclToEdit$))("disabled",!!X(3,12,c.isSaving$(c.IssueFieldName.VERIFIED_IN_VERSION)))}},Vxb=function(a){if(a&1){var b=y();L(0,"b-edit-field",73);W(1,"async");W(2,"async");Q("valueChange",function(d){z(b);var e=R(2);return B(Uxb(e.editIssueService,e.issueId,d!=null?d:!1))});M()}if(a&2){a=R();var c=R();K("name","inProd")("title","In Prod")("type",c.FieldType.BOOL)("value",a.inProd)("tooltip","Set if this issue occurs in production")("readonly",!X(1,
7,c.hasAclToEdit$))("disabled",!!X(2,9,c.isSaving$(c.IssueFieldName.IN_PROD)))}},Wxb=function(a){a&1&&Uj(0)},Xxb=function(a){a&1&&Uj(0)},Yxb=function(a){a&1&&Uj(0)},Zxb=function(a){a&1&&Uj(0)},$xb=function(a){a&1&&(L(0,"div",20),G(1,Wxb,1,0,"ng-container",47)(2,Xxb,1,0,"ng-container",47)(3,Yxb,1,0,"ng-container",47)(4,Zxb,1,0,"ng-container",47),M());if(a&2){R();a=T(103);var b=T(105),c=T(107),d=T(109);E();K("ngTemplateOutlet",a);E();K("ngTemplateOutlet",b);E();K("ngTemplateOutlet",c);E();K("ngTemplateOutlet",
d)}},byb=function(a,b){if(a&1){var c=y();L(0,"b-custom-field-editor",74);W(1,"async");W(2,"async");Jqa();Q("save",function(e){var f=z(c).$implicit,h=R(2);return B(h.editIssueService.updateCustomField(h.issueId,f.customFieldId,e))});M()}if(a&2){a=b.$implicit;b=R();var d=R();K("issue",b);Nqa(a);K("readonly",!X(1,4,d.hasAclToEdit$))("disabled",!!X(2,6,d.isSaving$(Dk(8,ayb,a.customFieldId))))}},oyb=function(a,b){if(a&1){var c=y();I(0,Swb,1,1,"ng-container");W(1,"async");I(2,Vwb,2,3);I(3,Ywb,2,3);W(4,
"async");L(5,"b-single-user-control",18);W(6,"async");Q("valueChange",function(D){z(c);var H=R();return B(cyb(H,D))})("emailChange",function(D){z(c);var H=R();return B(dyb(H.editIssueService,H.issueId,D))});M();L(7,"b-edit-field",19,0);W(9,"async");W(10,"async");Q("valueChange",function(D){z(c);var H=T(8),O=R();return B(eyb(O,H,D!=null?D:""))});M();L(11,"div",20)(12,"b-edit-field",21,1);W(14,"async");W(15,"async");Q("onHotkey",function(){z(c);var D=T(13);return B(pq(D,null,!0,!1))})("valueChange",
function(D){z(c);var H=R();return B(fyb(H.editIssueService,H.issueId,D!=null?D:""))});M();I(16,$wb,1,1,"ng-container");W(17,"async");M();L(18,"div",22)(19,"b-edit-field",23,2);W(21,"async");W(22,"async");W(23,"async");W(24,"async");Q("onHotkey",function(){z(c);var D=T(20);return B(pq(D,null,!0,!1))})("valueChange",function(D){z(c);var H=R();return B(gyb(H,D!=null?D:""))});M();I(25,bxb,2,3);W(26,"async");M();I(27,cxb,9,12,"div",24);W(28,"async");L(29,"onedev-hovercard",null,3);G(31,dxb,3,4,"b-issue-card",
25);M();I(32,fxb,4,9,"b-estimated-effort-row",26);W(33,"async");W(34,"async");L(35,"div",27)(36,"div",28)(37,"div",29)(38,"label");U(39,"Access");M()();L(40,"div",30)(41,"span",31);U(42);W(43,"async");M();L(44,"div",32);W(45,"async");W(46,"async");Q("click",function(){z(c);var D=R();return B(D.toggleAccessLimits())})("keydown.enter",function(D){z(c);var H=R();return B(H.toggleAccessLimitsWithKeystroke(D))})("keydown.space",function(D){z(c);var H=R();return B(H.toggleAccessLimitsWithKeystroke(D))});
L(47,"span");U(48);W(49,"async");M()()()();L(50,"onedev-hovercard",null,4)(52,"div",33)(53,"div",34)(54,"span",35);U(55," Issue access level can only be set by Issue admins and it enables issue-level access control. ");L(56,"a",36);U(57,"Learn more");M()()()()()();L(58,"div",37);W(59,"async");I(60,hxb,8,1,"div",38);W(61,"async");L(62,"b-single-user-control",39,5);W(64,"async");Q("onHotkey",function(){z(c);var D=T(63);return B(D.openEditor())})("valueChange",function(D){z(c);var H=R();return B(hyb(H,
D))})("emailChange",function(D){z(c);var H=R();return B(iyb(H.editIssueService,H.issueId,D))});M();I(65,kxb,2,3);W(66,"async");L(67,"b-single-user-control",40);W(68,"async");Q("valueChange",function(D){z(c);var H=R();return B(jyb(H,D))})("emailChange",function(D){z(c);var H=R();return B(kyb(H.editIssueService,H.issueId,D))});M();Sj(69);L(70,"b-multi-user-control",41);W(71,"async");W(72,"async");W(73,"async");Q("userInclusionToggle",function(){z(c);var D=R();return B(D.toggleCollaborators())})("valueChange",
function(D){z(c);var H=R();return B(lyb(H,D))})("toggleAccessLimits",function(){z(c);var D=R();return B(D.toggleAccessLimits())});M();L(74,"b-multi-user-control",42);W(75,"async");W(76,"async");W(77,"async");Q("userInclusionToggle",function(){z(c);var D=R();return B(myb(D))})("valueChange",function(D){z(c);var H=R();return B(nyb(H,D))});M();Tj();M();I(78,mxb,1,1,"ng-container");W(79,"async");I(80,oxb,2,3);W(81,"async");I(82,pxb,3,7,"b-staffing-row",43);I(83,qxb,1,6,"b-list-field",44);Mj(84,sxb,2,
4,"div",null,y()[15][8].trackCustomField,!0);W(86,"async");Mj(87,txb,2,4,"div",null,y()[15][8].trackCustomField,!0);W(89,"async");I(90,vxb,1,1,"ng-container");W(91,"async");I(92,wxb,1,0,"hr",45);W(93,"async");I(94,Gxb,13,18,"collapsible-panel",46);W(95,"async");G(96,Ixb,1,1,"ng-template",null,6,Gk)(98,Kxb,3,12,"ng-template",null,7,Gk)(100,Nxb,7,26,"ng-template",null,8,Gk)(102,Pxb,4,14,"ng-template",null,9,Gk)(104,Rxb,4,14,"ng-template",null,10,Gk)(106,Txb,4,14,"ng-template",null,11,Gk)(108,Vxb,3,
11,"ng-template",null,12,Gk)(110,$xb,5,4,"ng-template",null,13,Gk)(112,byb,3,10,"ng-template",null,14,Gk)}if(a&2){var d,e;a=T(30);var f=T(51),h=R();J(h.showSloStatus&&X(1,97,h.isSloStatusPrimary$)?0:-1);E(2);J(h.sessionIsInternal?2:-1);E();J((d=X(4,99,h.teamWarningType$))?3:-1,d);E(2);var k;K("name","reporter")("title","Reporter")("value",b.reporter)("user",(k=b.reporterUser)!=null?k:void 0)("isSaving",X(6,101,h.isSaving$(h.IssueFieldName.REPORTER)));E(2);K("name","type")("title","Type")("type",h.FieldType.ENUM)("value",
b.type)("choices",h.typeChoices)("readonly",!X(9,103,h.hasAclToEdit$))("disabled",!!X(10,105,h.isSaving$(h.IssueFieldName.TYPE)));E(5);K("name","priority")("title","Priority")("type",h.FieldType.ENUM)("tooltip","Set priority, which reflects how soon the issue should be fixed")("value",b.priority)("choices",h.priorityChoices)("hotkey",h.HOTKEYS.OPEN_ISSUE_PRIORITY_MENU)("readonly",!X(14,107,h.hasAclToEdit$))("disabled",!!X(15,109,h.isSaving$(h.IssueFieldName.PRIORITY)))("showHotkeyHint",!0);E(4);J(X(17,
111,h.isSeverityPrimary$)?16:-1);E(3);var q;K("name","status")("title","Status")("type",h.FieldType.ENUM)("value",b.status)("choices",(q=X(21,113,h.statusChoices$))!=null?q:Ck(173,Wwb))("showHotkeyHint",!0)("hotkey",h.HOTKEYS.OPEN_ISSUE_STATUS_MENU)("readonly",!X(22,115,h.hasAclToEdit$))("disabled",!!X(23,117,h.isSaving$(h.IssueFieldName.STATUS)))("onedevHovercardActive",!!X(24,119,h.canonicalIssueId$))("onedevHovercardTrigger",a);E(6);J(X(26,121,h.hasAclToEdit$)?25:-1);E(2);J(X(28,123,h.showTriagePhaseRow$)?
27:-1);E(5);J(X(33,125,h.isEffortEnabled$)&&X(34,127,h.shouldDisplayEffort$)?32:-1);E(4);K("onedevHovercardTrigger",f)("onedevHovercardActive",!0)("onedevHovercardConfig",h.ACCESS_LIMITS_HOVERCARD_CONFIG);E(6);tk(h.getAccessLimitLevelDisplay(X(43,129,h.accessLimitLevel$)));E(2);K("matTooltip",X(45,131,h.hasAclToAdmin$)?"Manage issue level access limits(Press Alt + Right arrow for more information)":"View issue level access limits(Press Alt + Right arrow for more information)");Hj("aria-label",X(46,
133,h.hasAclToAdmin$)?"Edit":"View");E(4);V(" ",X(49,135,h.hasAclToAdmin$)?"Edit":"View"," ");E(8);K("href",h.documentationLinks.getIssueAccessLimit(),Ni);E(2);rk("implicit-access-box",X(59,137,h.isImplicitAccessEnabled$));E(2);J(X(61,139,h.isImplicitAccessEnabled$)?60:-1);E(2);var u;K("name","assignee")("title","Assignee")("hotkey",h.HOTKEYS.CHANGE_ASSIGNEE)("value",b.assignee)("user",(u=b.assigneeUser)!=null?u:void 0)("isSaving",X(64,141,h.isSaving$(h.IssueFieldName.ASSIGNEE)));E(3);J(h.defaultAssigneeQuickActionEnabled&&
X(66,143,h.hasAclToEdit$)?65:-1);E(2);var A;K("name","verifier")("title","Verifier")("value",b.verifier)("user",(A=b.verifierUser)!=null?A:void 0)("isSaving",X(68,145,h.isSaving$(h.IssueFieldName.VERIFIER)));E(3);K("title","Collaborators")("values",b.collaborators)("users",b.collaboratorsUsers)("includeSelfActionDescription","Add me")("includeSelfActionLongDescription","Add yourself to collaborators")("removeSelfActionDescription","Remove me")("removeSelfActionLongDescription","Remove yourself from collaborators")("collectionHovercardDescription",
"Collaborators are people directly working on this issue.")("isSaving",X(71,147,h.isSaving$(h.IssueFieldName.COLLABORATORS)))("isCurrentUserInCollection",X(72,149,h.isCurrentUserCollaborator$))("isAllowedToEditCollection",X(73,151,h.hasAclToEdit$))("iconName","groups_24px")("inputValidator",h.collaboratorUserPrincipalValidator)("checkAccessLimits",!0);E(4);K("title","CC")("values",b.cc)("users",b.ccUsers)("includeSelfActionDescription","CC me")("includeSelfActionLongDescription","Add yourself to CC")("removeSelfActionDescription",
"Un-CC me")("removeSelfActionLongDescription","Remove yourself from CC")("collectionHovercardDescription","CC are users who want to receive updates.")("isSaving",X(75,153,h.isSaving$(h.IssueFieldName.CCS)))("isCurrentUserInCollection",X(76,155,h.isCurrentUserCCd$))("isAllowedToEditCollection",X(77,157,h.isAllowedToEditCC$))("inputValidator",h.emailsValidator)("iconName","add_alert_24px");E(4);J(h.showCodeChanges&&X(79,159,h.isChangelistPrimary$)?78:-1);E(2);J((e=X(81,161,h.workspaces$))?80:-1,e);
E(2);J(h.sessionIsInternal?82:-1);E();J(!h.sessionIsExternal&&(b.postmortems==null?0:b.postmortems.length)?83:-1);E();Nj(X(86,163,h.visibleGlobalCustomFields$));E(3);Nj(X(89,165,h.visibleCustomFields$));E(3);J(X(91,167,h.isForgottenFourPrimary$)?90:-1);E(2);J(X(93,169,h.hasHiddenFields$)?92:-1);E(2);J(X(95,171,h.hasHiddenFields$)?94:-1)}},pyb=function(a,b){if(a&1){var c=y();L(0,"a",18);Q("click",function(){z(c);R().analytics.trackEvent("issueSidebar","navigate","issueDetailsPage");return B()});L(1,
"span",19);U(2,"Navigate to issue ");M();U(3);M();L(4,"button",20);Q("click",function(){var d=z(c),e=R();return B(e.copyIssueId(d))});N(5,"mat-icon",21);M()}a&2&&(K("href",zk("/issues/",b),Ni),E(3),V(" ",b," "))},qyb=function(a,b){if(a&1){var c=y();L(0,"b-app-vote-button",22);Q("onVote",function(d){z(c);var e=R();return B(e.upvoted(d))});M()}a&2&&K("issueId",b.issueId)("upvoted",!(b.userData==null||!b.userData.voted))("voteCount",(b.aggregatedData==null?null:b.aggregatedData.voteCount)||0)},syb=function(a){if(a&
1){var b=y();L(0,"span");U(1);M();L(2,"button",24);Q("click",function(){z(b);var c=R(2);return B(ryb(c))});N(3,"mat-icon",25);M()}a&2&&(a=R(),Hj("title",a.snapshot[0].title),E(),V(" ",a.snapshot[0].title," "))},uyb=function(a){if(a&1){var b=y();L(0,"button",31);Q("click",function(){z(b);var c=R(3);return B(tyb(c))});U(1,"Cancel");M()}},vyb=function(a){a&1&&U(0," Update title ")},wyb=function(a){a&1&&Uj(0)},xyb=function(a){a&1&&G(0,wyb,1,0,"ng-container",32);a&2&&(R(3),a=T(23),K("ngTemplateOutlet",
a))},yyb=function(a){if(a&1){var b=y();L(0,"mat-form-field",26)(1,"textarea",27);xk("ngModelChange",function(c){z(b);var d=R(2);wk(d.draftTitle,c)||(d.draftTitle=c);return B(c)});M()();L(2,"div",28);I(3,uyb,2,0,"button",29);L(4,"button",30);Q("click",function(){z(b);var c=R(2);return B(c.saveTitle())});I(5,vyb,1,0)(6,xyb,1,1,"ng-container");M()()}a&2&&(a=R(2),E(),K("cdkTextareaAutosize",!0)("cdkAutosizeMinRows",1),vk("ngModel",a.draftTitle),K("bFocus",!0),E(2),J(a.isSavingTitle?-1:3),E(),K("disabled",
a.isSavingTitle),E(),J(a.isSavingTitle?6:5))},zyb=function(a){a&1&&(L(0,"div",15)(1,"div",23),I(2,syb,4,2),I(3,yyb,7,7),M()());a&2&&(a=R(),E(2),J(a.editTitleMode?-1:2),E(),J(a.editTitleMode?3:-1))},Ayb=function(a){a&1&&(L(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"div"),U(3," AI-generated summaries may contain inaccurate or offensive information that does not represent Google's views. Buganizer and other AI API usage does not store or log the issue's contents for any training purposes. "),
M()()())},Byb=function(a){if(a&1){var b=y();L(0,"button",54);Q("click",function(){z(b);var c=R(5);return B(c.generateIssueSummary())});U(1," Generate ");M()}},Cyb=function(a){a&1&&N(0,"mat-icon",44)},Dyb=function(a){a&1&&N(0,"mat-icon",45)},Eyb=function(a){if(a&1){var b=y();L(0,"button",55);Q("click",function(){z(b);var c=R(5);return B(c.isIssueSummaryExpanded=!c.isIssueSummaryExpanded)});I(1,Cyb,1,0,"mat-icon",44);I(2,Dyb,1,0,"mat-icon",45);M()}a&2&&(a=R(5),Hj("aria-expanded",a.isIssueSummaryExpanded),
E(),J(a.isIssueSummaryExpanded?-1:1),E(),J(a.isIssueSummaryExpanded?2:-1))},Fyb=function(a){a&1&&Uj(0,56);a&2&&(R(6),a=T(23),K("ngTemplateOutlet",a))},Gyb=function(a){a&1&&N(0,"b-markdown-format-presenter",57);a&2&&(a=R(),K("content",a.formattedSummary))},Hyb=function(a){a&1&&(L(0,"div"),U(1),M());a&2&&(a=R(),E(),V(" ",a.summary," "))},Iyb=function(a,b){if(a&1){var c=y();I(0,Gyb,1,1,"b-markdown-format-presenter",57)(1,Hyb,2,1,"div");L(2,"div",58)(3,"button",59);Q("click",function(){var d=z(c),e=R(7);
return B(e.copySummary(d))});N(4,"mat-icon",60);M();L(5,"button",61);Q("click",function(){var d=z(c),e=R(7);return B(e.openFeedbackDialog(d))});N(6,"mat-icon",62);M();L(7,"button",63);Q("click",function(){var d=z(c),e=R(7);return B(e.trackThumbsUp(d))});N(8,"mat-icon",64);M();L(9,"button",65);Q("click",function(){var d=z(c),e=R(7);return B(e.trackThumbsDown(d))});N(10,"mat-icon",66);M()()}a&2&&(a=R(7),J(b.formattedSummary?0:1),E(7),K("disabled",a.hasRatedSummary),E(),rk("has-reacted-icon",a.summaryThumbsUp),
E(),K("disabled",a.hasRatedSummary),E(),rk("has-reacted-icon",a.summaryThumbsDown))},Jyb=function(a){a&1&&(I(0,Iyb,11,7),W(1,"async"));if(a&2){var b;a=R(6);J((b=X(1,1,a.issueSummary$))?0:-1,b)}},Kyb=function(a){a&1&&(L(0,"div",53),I(1,Fyb,1,1,"ng-container",56)(2,Jyb,2,3),M());if(a&2){a=R(2);var b=R(3);E();J(a===b.GENERATING?1:a===b.SUMMARY_VISIBLE?2:-1)}},Lyb=function(a){a&1&&(L(0,"div",47)(1,"div",34)(2,"div",35),N(3,"mat-icon",48),L(4,"span"),U(5,"AI-GENERATED SUMMARY"),M(),L(6,"button",49),N(7,
"mat-icon",50),M(),G(8,Ayb,4,0,"ng-template",null,2,Gk),M(),I(10,Byb,2,0,"button",51),I(11,Eyb,3,3,"button",52),M(),I(12,Kyb,3,1,"div",53),M());if(a&2){a=T(9);var b=R(),c=R(3);E(6);K("xapInlineDialog",a)("dialogTabIndex",0);E(4);J(b===c.BUTTON?10:-1);E();J(b===c.SUMMARY_VISIBLE?11:-1);E();J(c.isIssueSummaryExpanded?12:-1)}},Myb=function(a,b){a&1&&I(0,Lyb,13,5,"div",47);a&2&&(a=R(3),J(b!==a.HIDDEN?0:-1))},Nyb=function(a){a&1&&(I(0,Myb,1,1),W(1,"async"));if(a&2){var b;a=R(2);J((b=X(1,1,a.stage$))?0:
-1,b)}},Oyb=function(a){a&1&&(L(0,"span"),U(1," No update yet "),M())},Pyb=function(a){if(a&1){var b=y();L(0,"button",67);Q("click",function(){z(b);var c=R(2);return B(c.editStatusUpdate())});N(1,"mat-icon",25);M()}},Qyb=function(a){a&1&&N(0,"mat-icon",44)},Ryb=function(a){a&1&&N(0,"mat-icon",45)},Syb=function(a){if(a&1){var b=y();L(0,"button",68);Q("click",function(){z(b);var c=R(2);return B(c.isStatusUpdateExpanded=!c.isStatusUpdateExpanded)});I(1,Qyb,1,0,"mat-icon",44);I(2,Ryb,1,0,"mat-icon",45);
M()}a&2&&(a=R(2),Hj("aria-expanded",a.isStatusUpdateExpanded),E(),J(a.isStatusUpdateExpanded?-1:1),E(),J(a.isStatusUpdateExpanded?2:-1))},Tyb=function(a,b){a&1&&(N(0,"b-note-container",70),W(1,"async"));if(a&2){a=R();var c=R(),d=R(2);K("issueId",b)("note",c)("issueAccessLevel",X(1,4,d.accessLevel$))("formattingMode",a.formattingMode)}},Uyb=function(a){a&1&&(L(0,"div",69),I(1,Tyb,2,6,"b-note-container",70),W(2,"async"),M());if(a&2){var b;a=R();var c=R(2);E();J((b=a.unlinkifiedComment!==""&&X(2,1,c.issueId$))?
1:-1,b)}},Vyb=function(a){a&1&&(I(0,Uyb,3,3,"div",69),W(1,"async"));if(a&2){var b;a=R(2);J((b=X(1,1,a.statusUpdate$))?0:-1,b)}},Wyb=function(a){a&1&&(L(0,"span"),U(1," No description yet "),M())},Yyb=function(a){if(a&1){var b=y();L(0,"button",74);Q("click",function(){z(b);var c=R(3);return B(Xyb(c))});N(1,"mat-icon",25);M()}},Zyb=function(a){a&1&&N(0,"mat-icon",44)},$yb=function(a){a&1&&N(0,"mat-icon",45)},azb=function(a){if(a&1){var b=y();L(0,"button",75);Q("click",function(){z(b);var c=R(3);return B(c.isDescriptionExpanded=
!c.isDescriptionExpanded)});I(1,Zyb,1,0,"mat-icon",44);I(2,$yb,1,0,"mat-icon",45);M()}a&2&&(a=R(3),Hj("aria-expanded",a.isDescriptionExpanded),E(),J(a.isDescriptionExpanded?-1:1),E(),J(a.isDescriptionExpanded?2:-1))},bzb=function(a,b){a&1&&(N(0,"b-note-container",70),W(1,"async"));if(a&2){a=R();var c=R(2),d=R(2),e;K("issueId",b)("note",a)("issueAccessLevel",X(1,4,d.accessLevel$))("formattingMode",(e=c[0].formattingMode)!=null?e:d.FormattingMode.PLAIN)}},czb=function(a){if(a&1){var b=y();L(0,"div",
77)(1,"a",78);Q("click",function(){z(b);var c=R(5);c.analytics.trackEvent("issueSidebar","showMoreDescription");c.showFullDescription=!0;return B()});U(2," Show more ");M()()}},dzb=function(a){a&1&&(L(0,"div",76),I(1,bzb,2,6,"b-note-container",70),W(2,"async"),W(3,"async"),M(),I(4,czb,3,0,"div",77));if(a&2){var b;a=R(4);rk("full-height",a.showFullDescription);E();J((b=X(2,4,a.hasDescription$)&&X(3,6,a.issueId$))?1:-1,b);E(3);J(!a.showFullDescription&&a.descriptionHasMore?4:-1)}},ezb=function(a){a&
1&&(L(0,"div",73,3),I(2,dzb,5,8),W(3,"async"),W(4,"async"),M());if(a&2){var b;a=R(3);E(2);J((b=X(3,1,a.hasDescription$)&&X(4,3,a.firstNote$))?2:-1,b)}},fzb=function(a){a&1&&(L(0,"div",40)(1,"div",34)(2,"div",35)(3,"span"),U(4,"DESCRIPTION"),M()(),L(5,"div",37),I(6,Wyb,2,0,"span"),W(7,"async"),I(8,Yyb,2,0,"button",71),W(9,"async"),W(10,"async"),I(11,azb,3,3,"button",72),W(12,"async"),M()(),I(13,ezb,5,5,"div",73),M());a&2&&(a=R(2),E(6),J(X(7,4,a.hasDescription$)?-1:6),E(2),J(!a.isDescriptionExpanded&&
X(9,6,a.hasDescription$)||!X(10,8,a.userCanEditDescription$)?-1:8),E(3),J(X(12,10,a.hasDescription$)?11:-1),E(2),J(a.isDescriptionExpanded?13:-1))},gzb=function(a){a&1&&Uj(0)},hzb=function(a){a&1&&G(0,gzb,1,0,"ng-container",32);a&2&&(R(2),a=T(23),K("ngTemplateOutlet",a))},izb=function(a,b){a&1&&(L(0,"div",79)(1,"div",34)(2,"div",35),N(3,"mat-icon",80),L(4,"span"),U(5," BUGANIZER AI "),M()(),L(6,"div",37),U(7," 1 suggestion available "),M()(),L(8,"div",81),N(9,"b-recommendation",82),M()());a&2&&(E(9),
K("recommendation",b))},jzb=function(a){a&1&&(I(0,izb,10,1,"div",79),W(1,"async"));if(a&2){var b;a=R(2);J((b=X(1,1,a.recommendation$))?0:-1,b)}},kzb=function(a){a&1&&N(0,"mat-icon",44)},lzb=function(a){a&1&&N(0,"mat-icon",45)},mzb=function(a){a&1&&(L(0,"div",46),N(1,"edit-issue-metadata",83),M());a&2&&(a=R(),E(),K("issueId",a.issueId))},nzb=function(a){if(a&1){var b=y();L(0,"div",17);I(1,Nyb,2,3);L(2,"div",33)(3,"div",34)(4,"div",35);N(5,"mat-icon",36);L(6,"span");U(7," STATUS UPDATE ");M()();L(8,
"div",37);I(9,Oyb,2,0,"span");W(10,"async");I(11,Pyb,2,0,"button",38);W(12,"async");W(13,"async");I(14,Syb,3,3,"button",39);W(15,"async");M()();I(16,Vyb,2,3);W(17,"async");M();I(18,fzb,14,12,"div",40);W(19,"async");Jj(20,hzb,1,1,"ng-container");I(21,jzb,2,3);L(22,"div",41)(23,"div",34)(24,"div",35);N(25,"mat-icon",42);L(26,"span");U(27,"FIELDS");M()();L(28,"button",43);Q("click",function(){z(b);var e=R();return B(e.isFieldsExpanded=!e.isFieldsExpanded)});I(29,kzb,1,0,"mat-icon",44);I(30,lzb,1,0,"mat-icon",
45);M()();I(31,mzb,2,1,"div",46);M()()}if(a&2){var c,d;a=R();E();J(a.enableIssueSummarizationNoButton?1:-1);E(8);J(X(10,11,a.hasStatusUpdate$)?-1:9);E(2);J(!a.isStatusUpdateExpanded&&X(12,13,a.hasStatusUpdate$)||!X(13,15,a.userCanEditStatusUpdate$)?-1:11);E(3);J(X(15,17,a.hasStatusUpdate$)?14:-1);E(2);J((c=a.isStatusUpdateExpanded&&X(17,19,a.statusUpdateNote$))?16:-1,c);E(2);J((d=X(19,21,a.events$))?18:20,d);E(3);J(a.isPlaybookEnabled?21:-1);E(7);Hj("aria-expanded",a.isFieldsExpanded);E();J(a.isFieldsExpanded?
-1:29);E();J(a.isFieldsExpanded?30:-1);E();J(a.isFieldsExpanded?31:-1)}},ozb=function(a){a&1&&Uj(0)},pzb=function(a){a&1&&G(0,ozb,1,0,"ng-container",32);a&2&&(R(),a=T(23),K("ngTemplateOutlet",a))},qzb=function(a){a&1&&(L(0,"div",84),N(1,"b-spinner"),M())},rzb=function(a){a&1&&(U(0," This issue has not been modified since "),N(1,"b-formatted-date-time",1),U(2," and is scheduled for deletion on "),L(3,"strong"),N(4,"b-formatted-date-time",1),M(),U(5,". "));a&2&&(a=R(2),E(),K("mode","date")("timestamp",
a.modifiedTime)("paddingLeftPx",0),E(3),K("mode","date")("timestamp",a.retentionExpireTime)("paddingLeftPx",0))},szb=function(a){a&1&&U(0," This issue is retained indefinitely. ")},tzb=function(a){a&1&&(I(0,rzb,6,6)(1,szb,1,0),L(2,"a",0),U(3,"Learn more"),M());a&2&&(a=R(),J(a.retentionState.retentionPeriod?0:1),E(2),K("href",a.documentationLink,Ni))},uzb=function(a){a&1&&(L(0,"b-base-chip",0)(1,"div",1),N(2,"retention-text",2),M(),L(3,"div",3),N(4,"retention-help-text",4),M()());a&2&&(a=R(),K("compactMode",
a.compactMode)("labelClass",a.dangerZone?"danger":"expiring")("labelOnlyMode",a.labelOnlyMode),E(2),K("retentionState",a.retentionState)("compactMode",a.compactMode),E(2),K("retentionState",a.retentionState)("modifiedTime",a.modifiedTime))},vzb=function(a){var b=b===void 0?new Date:b;var c=a.retentionPeriod;return b.getTime()>=Sf(a.scheduledDeletionTime)-Math.max(12096E5,.2*(c?c.seconds*1E3+(c.nanos||0)/1E6:0))},yzb=function(a){if(a&1){var b=y();L(0,"issue-sidebar",10);Q("closeSidebar",function(){z(b);
var d=R(2);return B(d.isIssueSidebarOpen=!1)})("navigateToNextIssue",function(){z(b);var d=R(2);return B(wzb(d))})("navigateToPreviousIssue",function(){z(b);var d=R(2);return B(xzb(d))});M()}if(a&2){var c;a=R(2);K("issueId",(c=a.getFocusedIssue())==null?null:c.issueId)}},zzb=function(a){a&1&&Uj(0)},Azb=function(a){if(a&1){var b=y();L(0,"mat-sidenav-container",6,2)(2,"mat-sidenav",7);Q("openedChange",function(d){z(b);R().anayltics.trackEvent("issueSidebar",d?"open":"close");return B()});I(3,yzb,1,
1,"issue-sidebar",8);M();L(4,"mat-sidenav-content");G(5,zzb,1,0,"ng-container",9);M()()}if(a&2){a=R();var c=T(4);rk("sidebar-enabled",a.isIssueSidebarEnabled);E(2);K("opened",a.isIssueSidebarOpen)("disableClose",!0);E();J(a.isIssueSidebarOpen?3:-1);E(2);K("ngTemplateOutlet",c)}},Bzb=function(a){a&1&&Uj(0)},Czb=function(a){a&1&&G(0,Bzb,1,0,"ng-container",9);a&2&&(R(),a=T(4),K("ngTemplateOutlet",a))},Dzb=function(a,b){a&1&&N(0,"th",32);a&2&&Hj("data-stable-column-name",b.column.name)},Ezb=function(a,
b){a&1&&N(0,"th",33);a&2&&Hj("data-stable-column-name",b.column.name)},Izb=function(a){if(a&1){var b=y();L(0,"mat-pseudo-checkbox",36);Q("click",function(c){z(b);var d=R(3);c.stopPropagation();return B(Fzb(d))})("keydown.enter",function(c){z(b);var d=R(3);c.stopPropagation();return B(Fzb(d))})("keydown.space",function(c){z(b);var d=R(3);c.stopPropagation();return B(Fzb(d))});M()}a&2&&(a=R(3),K("state",Gzb(a)),Hj("aria-checked",Hzb(a)))},Jzb=function(a,b){a&1&&(L(0,"th",34),I(1,Izb,1,2,"mat-pseudo-checkbox",
35),M());a&2&&(a=b.column,b=R(2),Hj("data-stable-column-name",a.name),E(),J(b.isIssueGridColumn(a)?1:-1))},Kzb=function(a,b){a&1&&N(0,"th");a&2&&Hj("data-stable-column-name",b.column.name)},Lzb=function(a){a&1&&N(0,"pop-grid-default-th",37);a&2&&(a=R().column,K("column",a))},Mzb=function(a,b){a&1&&(L(0,"th"),I(1,Lzb,1,1,"pop-grid-default-th",37),M());a&2&&(a=b.column,b=R(2),Hj("data-stable-column-name",a.name),E(),J(b.isIssueGridColumn(a)?1:-1))},Nzb=function(a){if(a&1){var b=y();L(0,"b-column-picker",
39);Q("selectedColumnsChange",function(d){z(b);var e=R(4);e.columns=d;e.columnsChange.emit(d);e.cdr.detectChanges();return B()});M()}if(a&2){a=R(2).column;var c=R(2);K("column",a)("availableColumns",c.availableColumns)("selectedColumns",c.columns)}},Ozb=function(a){a&1&&N(0,"pop-grid-default-th",37);a&2&&(a=R(2).column,K("column",a))},Pzb=function(a){a&1&&I(0,Nzb,1,3,"b-column-picker",38)(1,Ozb,1,1,"pop-grid-default-th",37);a&2&&(a=R(3),J(a.enableColumnSaving?0:1))},Qzb=function(a,b){a&1&&(L(0,"th"),
I(1,Pzb,2,1),M());a&2&&(a=b.column,b=R(2),Hj("data-stable-column-name",a.name),E(),J(b.isIssueGridColumn(a)?1:-1))},Rzb=function(a){a&1&&N(0,"td",32)},Szb=function(a){a&1&&N(0,"td",40)},Tzb=function(a){if(a&1){var b=y();L(0,"mat-pseudo-checkbox",42);Q("click",function(c){z(b);var d=R(),e=d.row;d=d.index;var f=R(2);c.stopPropagation();if(c.shiftKey&&(c=e.selected,f.lastCheckedIndex!==null&&f.searchResults)){if(d<f.lastCheckedIndex){var h=d+1;var k=f.lastCheckedIndex+1}else h=f.lastCheckedIndex,k=d;
h=l(f.searchResults.issues.slice(h,k));for(k=h.next();!k.done;k=h.next())k.value.selected=!c;is(f)}e.selected=!e.selected;f.lastCheckedIndex=d;is(f);return B()});M()}a&2&&(a=R().row,K("state",a.selected?"checked":"unchecked"),Hj("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},Uzb=function(a){a&1&&(L(0,"td",34),I(1,Tzb,1,3,"mat-pseudo-checkbox",41),M());a&2&&(R(2),E(),J(1))},Vzb=function(a){if(a&1){var b=y();L(0,"b-star-toggle",45);Q("starClicked",function(){z(b);var d=R().row,
e=R(2);return B(e.toggleStar(d))});M()}if(a&2){a=R().row;var c=R(2);K("starred",a.starred)("disabled",c.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue")}},Wzb=function(a){a&1&&(L(0,"td",43),I(1,Vzb,1,4,"b-star-toggle",44),M());a&2&&(R(2),E(),J(1))},Xzb=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R().row,Hj("title",a.position),E(),V(" ",a.position," "))},Yzb=function(a){a&1&&(L(0,"td"),I(1,Xzb,2,2,"span"),M());a&2&&(R(2),E(),J(1))},Zzb=function(a){if(a&
1){var b=y();L(0,"b-issue-id-picker",49);Q("click",function(c){z(b);return B(c.stopPropagation())});M()}a&2&&(a=R(2).row,K("issueId",a.issueId)("showCopyOptions",!1),Hj("title",a.title))},$zb=function(a){a&1&&(L(0,"a",48),U(1),M());a&2&&(a=R(2).row,R(2),K("href",Jq(a.issueId),Ni),Hj("title",a.title),E(),V(" ",a.issueId," "))},aAb=function(a){a&1&&I(0,Zzb,1,3,"b-issue-id-picker",47)(1,$zb,2,3,"a",48);a&2&&(a=R(3),J((a.listViewPrefs==null?null:a.listViewPrefs.modeForField==null?null:a.listViewPrefs.modeForField.id)===
"copy"?0:1))},bAb=function(a){a&1&&(L(0,"td",46),I(1,aAb,2,1),M());a&2&&(R(2),E(),J(1))},cAb=function(a){a&1&&N(0,"archived-issue-indicator")},dAb=function(a){a&1&&N(0,"mat-icon",58)},eAb=function(a,b){a&1&&N(0,"b-hotlist-chip-smart",60);a&2&&K("id",b.$implicit)("removable",!1)},fAb=function(a){a&1&&(L(0,"div",59),Mj(1,eAb,1,2,"b-hotlist-chip-smart",60,Lj),M());a&2&&(a=R(2).row,E(),Nj(a.hotlistId))},gAb=function(a,b){if(a&1){var c=y();L(0,"recommendation-chip",62);Q("onClick",function(){z(c);var e=
R(6);e.isIssueSidebarOpen=!0;e.cdr.detectChanges();return B()});M()}if(a&2){a=R(4).index;var d=R(2);K("recommendation",b)("isParentRowActive",d.hoveredRowIndex===a||d.focusedRowIndex===a&&d.isIssueSidebarOpen)}},iAb=function(a){a&1&&(I(0,gAb,1,2,"recommendation-chip",61),W(1,"async"));if(a&2){var b;a=R(3).row;var c=R(2);J((b=X(1,1,hAb(c,a)))?0:-1,b)}},jAb=function(a){a&1&&(I(0,iAb,2,3),W(1,"async"));a&2&&(a=R(4),J(X(1,1,a.hasPlaybook$)?0:-1))},kAb=function(a){a&1&&(L(0,"div",52),I(1,cAb,1,0,"archived-issue-indicator"),
N(2,"b-issue-visibility-chip",53)(3,"b-tracker-chip-smart",54)(4,"b-retention-chip",55),L(5,"div",56)(6,"a",57),U(7),I(8,dAb,1,0,"mat-icon",58),M()(),I(9,fAb,3,0,"div",59),I(10,jAb,2,3),M());if(a&2){a=R().row;var b=R(2);rk("bv2-grid-cell-flex-wrap",b.listViewPrefs&&b.listViewPrefs.wrapTitles);E();J(a.archived?1:-1);E();K("issueId",a.issueId)("compactMode",!0);E();K("trackerId",a.trackerId)("compactMode",!0);E();K("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",
a.modifiedTime);E(2);K("href",Jq(a.issueId),Ni);Hj("title",a.title);E();V(" ",a.title," ");E();J(b.isIssueSidebarEnabled?8:-1);E();J(b.listViewPrefs&&b.listViewPrefs.showHotlists?9:-1);E();J(b.isPlaybookEnabled?10:-1)}},lAb=function(a){a&1&&(L(0,"td",50),I(1,kAb,11,17,"div",51),M());a&2&&(a=R(2),rk("bv2-grid-cell-variable-height",a.listViewPrefs&&a.listViewPrefs.wrapTitles)("bv2-grid-cell-recommendation",a.isPlaybookEnabled),E(),J(1))},mAb=function(a){a&1&&(L(0,"div",65),U(1),M());a&2&&(a=R().row,
R(2),rk("low",Number(a.priority)>=2)("high",Number(a.priority)<2)("p0",Number(a.priority)===0),E(),V(" P",a.priority," "))},nAb=function(a){a&1&&(L(0,"td",63),I(1,mAb,2,7,"div",64),M());a&2&&(R(2),E(),J(1))},oAb=function(a){a&1&&(L(0,"div",65),U(1),M());a&2&&(a=R().row,R(2),rk("low",Number(a.severity)>=2)("high",Number(a.severity)<2)("p0",Number(a.severity)===0),E(),V(" S",a.severity," "))},pAb=function(a){a&1&&(L(0,"td",66),I(1,oAb,2,7,"div",64),M());a&2&&(R(2),E(),J(1))},qAb=function(a){a&1&&N(0,
"mat-icon",69);if(a&2){a=R();var b=R(4),c;K("svgIcon",(c=b.ISSUE_STATUS_JS_ICON_NAME.get(a))!=null?c:"")}},rAb=function(a){a&1&&U(0);if(a&2){a=R();var b=R(4),c;V(" ",(c=b.STATUS_JS_TERSE.get(a))!=null?c:""," ")}},sAb=function(a){a&1&&(L(0,"span"),U(1),M());if(a&2){a=R();var b=R(4);sk(zk("chippy status-",a," margin-left-auto"));E();var c;V(" ",(c=b.STATUS_JS_TERSE.get(a))!=null?c:""," ")}},tAb=function(a,b){a&1&&(L(0,"span",68),I(1,qAb,1,1,"mat-icon",69)(2,rAb,1,1)(3,sAb,2,4,"span",70),M());if(a&2){var c;
a=R(4);var d,e,f;K("title",((d=a.STATUS_JS_FULL_TEXT.get(b))!=null?d:"")===((e=a.STATUS_JS_TERSE.get(b))!=null?e:"")?"":(f=a.STATUS_JS_FULL_TEXT.get(b))!=null?f:"");E();J((c=a.listViewPrefs==null?null:a.listViewPrefs.fieldStatus==null?null:a.listViewPrefs.fieldStatus.mode)==="icon"?1:c==="plain"?2:3)}},uAb=function(a){a&1&&I(0,tAb,4,2,"span",68);if(a&2){var b;a=R().row;J((b=a.status)?0:-1,b)}},vAb=function(a){a&1&&(L(0,"td",67),I(1,uAb,1,1),M());a&2&&(R(2),E(),J(1))},wAb=function(a){a&1&&(U(0),W(1,
"enumToHuman"));a&2&&(a=R().row,V(" ",X(1,1,a.type)," "))},xAb=function(a){a&1&&(L(0,"td",71),I(1,wAb,2,3),M());a&2&&(R(2),E(),J(1))},yAb=function(a){a&1&&(L(0,"b-person-hovercard",73),W(1,"omitObfuscatedEmail"),U(2),M());a&2&&(a=R(2).row,K("email",X(1,2,a.reporter)),E(2),V(" ",a.reporter," "))},zAb=function(a){a&1&&(L(0,"span"),U(1,"--"),M())},AAb=function(a){a&1&&(I(0,yAb,3,4,"b-person-hovercard",73),W(1,"omitObfuscatedEmail"),I(2,zAb,2,0,"span"));a&2&&(a=R().row,J(X(1,2,a.reporter)?0:-1),E(2),
J(a.reporter?-1:2))},BAb=function(a){a&1&&(L(0,"td",72),I(1,AAb,3,4),M());a&2&&(R(2),E(),J(1))},CAb=function(a){a&1&&(L(0,"b-person-hovercard",73),W(1,"omitObfuscatedEmail"),U(2),M());a&2&&(a=R(2).row,K("email",X(1,2,a.assignee)),E(2),V(" ",a.assignee," "))},DAb=function(a){a&1&&(L(0,"span"),U(1,"--"),M())},EAb=function(a){a&1&&(I(0,CAb,3,4,"b-person-hovercard",73),W(1,"omitObfuscatedEmail"),I(2,DAb,2,0,"span"));a&2&&(a=R().row,J(X(1,2,a.assignee)?0:-1),E(2),J(a.assignee?-1:2))},FAb=function(a){a&
1&&(L(0,"td",72),I(1,EAb,3,4),M());a&2&&(R(2),E(),J(1))},GAb=function(a){a&1&&(L(0,"b-person-hovercard",73),W(1,"omitObfuscatedEmail"),U(2),M());a&2&&(a=R(2).row,K("email",X(1,2,a.verifier)),E(2),V(" ",a.verifier," "))},HAb=function(a){a&1&&(L(0,"span"),U(1,"--"),M())},IAb=function(a){a&1&&(I(0,GAb,3,4,"b-person-hovercard",73),W(1,"omitObfuscatedEmail"),I(2,HAb,2,0,"span"));a&2&&(a=R().row,J(X(1,2,a.verifier)?0:-1),E(2),J(a.verifier?-1:2))},JAb=function(a){a&1&&(L(0,"td",72),I(1,IAb,3,4),M());a&2&&
(R(2),E(),J(1))},KAb=function(a){a&1&&(L(0,"span"),W(1,"arrayToHuman"),U(2),W(3,"arrayToHuman"),M());a&2&&(a=R().row,Hj("title",X(1,2,a.cc)),E(2),V(" ",X(3,4,a.cc)," "))},LAb=function(a){a&1&&(L(0,"td",72),I(1,KAb,4,6,"span"),M());a&2&&(R(2),E(),J(1))},MAb=function(a){a&1&&(L(0,"span"),W(1,"arrayToHuman"),U(2),W(3,"arrayToHuman"),M());a&2&&(a=R().row,Hj("title",X(1,2,a.changelist)),E(2),V(" ",X(3,4,a.changelist)," "))},NAb=function(a){a&1&&(L(0,"td",72),I(1,MAb,4,6,"span"),M());a&2&&(R(2),E(),J(1))},
OAb=function(a){a&1&&(L(0,"span"),W(1,"arrayToHuman"),U(2),W(3,"arrayToHuman"),M());a&2&&(a=R().row,Hj("title",X(1,2,a.postmortem)),E(2),V(" ",X(3,4,a.postmortem)," "))},PAb=function(a){a&1&&(L(0,"td",72),I(1,OAb,4,6,"span"),M());a&2&&(R(2),E(),J(1))},QAb=function(a){a&1&&Uj(0)},RAb=function(a){a&1&&(L(0,"span"),U(1,", "),M())},TAb=function(a,b){a&1&&(G(0,QAb,1,0,"ng-container",74),I(1,RAb,2,0,"span"));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;R(4);var d=T(6);K("ngTemplateOutlet",d)("ngTemplateOutletContext",
Dk(3,SAb,a));E();J(c!==b-1?1:-1)}},UAb=function(a){a&1&&Mj(0,TAb,2,5,null,null,Lj);a&2&&(a=R().row,Nj(a.blockingIssueId))},VAb=function(a){a&1&&(L(0,"td",72),I(1,UAb,2,0),M());a&2&&(R(2),E(),J(1))},WAb=function(a){a&1&&Uj(0)},XAb=function(a){a&1&&(L(0,"span"),U(1,", "),M())},YAb=function(a,b){a&1&&(G(0,WAb,1,0,"ng-container",74),I(1,XAb,2,0,"span"));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;R(4);var d=T(6);K("ngTemplateOutlet",d)("ngTemplateOutletContext",Dk(3,SAb,a));E();J(c!==b-1?1:-1)}},
ZAb=function(a){a&1&&Mj(0,YAb,2,5,null,null,Lj);a&2&&(a=R().row,Nj(a.blockedByIssueId))},$Ab=function(a){a&1&&(L(0,"td",72),I(1,ZAb,2,0),M());a&2&&(R(2),E(),J(1))},aBb=function(a){a&1&&Uj(0)},bBb=function(a){a&1&&G(0,aBb,1,0,"ng-container",74);if(a&2){a=R(2).row;R(2);var b=T(6);K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,SAb,a.duplicateOfIssueId))}},cBb=function(a){a&1&&I(0,bBb,1,4,"ng-container");a&2&&(a=R().row,J(a.duplicateOfIssueId?0:-1))},dBb=function(a){a&1&&(L(0,"td",72),I(1,cBb,
1,1),M());a&2&&(R(2),E(),J(1))},eBb=function(a){a&1&&N(0,"b-formatted-date-time",76);a&2&&(a=R().row,K("timestamp",a.createdTime))},fBb=function(a){a&1&&(L(0,"td",75),I(1,eBb,1,1,"b-formatted-date-time",76),M());a&2&&(R(2),E(),J(1))},gBb=function(a){a&1&&N(0,"b-formatted-date-time",76);a&2&&(a=R().row,K("timestamp",a.modifiedTime))},hBb=function(a){a&1&&(L(0,"td",75),I(1,gBb,1,1,"b-formatted-date-time",76),M());a&2&&(R(2),E(),J(1))},iBb=function(a){a&1&&N(0,"b-formatted-date-time",76);a&2&&(a=R().row,
K("timestamp",a.resolvedTime))},jBb=function(a){a&1&&(L(0,"td",75),I(1,iBb,1,1,"b-formatted-date-time",76),M());a&2&&(R(2),E(),J(1))},kBb=function(a){a&1&&N(0,"b-formatted-date-time",76);a&2&&(a=R().row,K("timestamp",a.verifiedTime))},lBb=function(a){a&1&&(L(0,"td",75),I(1,kBb,1,1,"b-formatted-date-time",76),M());a&2&&(R(2),E(),J(1))},mBb=function(a){a&1&&(L(0,"span"),W(1,"arrayToHuman"),U(2),W(3,"arrayToHuman"),M());a&2&&(a=R().row,Hj("title",X(1,2,a.foundInVersion)),E(2),V(" ",X(3,4,a.foundInVersion),
" "))},nBb=function(a){a&1&&(L(0,"td",72),I(1,mBb,4,6,"span"),M());a&2&&(R(2),E(),J(1))},oBb=function(a){a&1&&(L(0,"span"),W(1,"arrayToHuman"),U(2),W(3,"arrayToHuman"),M());a&2&&(a=R().row,Hj("title",X(1,2,a.targetedToVersion)),E(2),V(" ",X(3,4,a.targetedToVersion)," "))},pBb=function(a){a&1&&(L(0,"td",72),I(1,oBb,4,6,"span"),M());a&2&&(R(2),E(),J(1))},qBb=function(a){a&1&&(L(0,"span"),W(1,"arrayToHuman"),U(2),W(3,"arrayToHuman"),M());a&2&&(a=R().row,Hj("title",X(1,2,a.verifiedInVersion)),E(2),V(" ",
X(3,4,a.verifiedInVersion)," "))},rBb=function(a){a&1&&(L(0,"td",72),I(1,qBb,4,6,"span"),M());a&2&&(R(2),E(),J(1))},sBb=function(a){a&1&&(U(0),W(1,"yesNo"));a&2&&(a=R().row,V(" ",X(1,1,a.inProd)," "))},tBb=function(a){a&1&&(L(0,"td",72),I(1,sBb,2,3),M());a&2&&(R(2),E(),J(1))},uBb=function(a){a&1&&(U(0),W(1,"yesNo"));a&2&&(a=R().row,V(" ",X(1,1,a.archived)," "))},vBb=function(a){a&1&&(L(0,"td",72),I(1,uBb,2,3),M());a&2&&(R(2),E(),J(1))},wBb=function(a){a&1&&(L(0,"div",52)(1,"div",56)(2,"span"),U(3),
M()()());if(a&2){a=R().row;var b=R(2);E(2);Hj("title",b.getComponentPath(a.componentPath));E();tk(b.getComponentPath(a.componentPath))}},xBb=function(a){a&1&&(L(0,"td",77),I(1,wBb,4,2,"div",52),M());if(a&2){var b=R(2);a=rk("bv2-grid-cell-variable-height",b.listViewPrefs&&b.listViewPrefs.wrapComponents);var c;b=!((c=b.listViewPrefs)==null||!c.rtlComponentPath);a("rtl-component-path",b);E();J(1)}},yBb=function(a){a&1&&(L(0,"slo-status-card",79),N(1,"b-aggregated-slo-status-indicator",80),M());a&2&&
(a=R(2).row,K("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime),E(),K("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime))},zBb=function(a){a&1&&I(0,yBb,2,5,"slo-status-card",79);a&2&&(a=R().row,J(a.sloStatus?0:-1))},ABb=function(a){a&1&&(L(0,"td",78),I(1,zBb,1,1),M());a&2&&(R(2),E(),J(1))},BBb=function(a){a&1&&(L(0,"slo-status-card",81),N(1,"b-slo-time-indicator",82),M());a&2&&(a=R(2).row,K("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric",
"RESPONSE"),E(),K("sloBounds",a.sloStatus.responseBounds))},CBb=function(a){a&1&&I(0,BBb,2,5,"slo-status-card",81);a&2&&(a=R().row,J(a.sloStatus?0:-1))},DBb=function(a){a&1&&(L(0,"td",78),I(1,CBb,1,1),M());a&2&&(R(2),E(),J(1))},EBb=function(a){a&1&&(L(0,"slo-status-card",81),N(1,"b-slo-time-indicator",82),M());a&2&&(a=R(2).row,K("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","ASSIGNMENT"),E(),K("sloBounds",a.sloStatus.assignmentBounds))},FBb=function(a){a&
1&&I(0,EBb,2,5,"slo-status-card",81);a&2&&(a=R().row,J(a.sloStatus?0:-1))},GBb=function(a){a&1&&(L(0,"td",78),I(1,FBb,1,1),M());a&2&&(R(2),E(),J(1))},HBb=function(a){a&1&&(L(0,"slo-status-card",81),N(1,"b-slo-time-indicator",82),M());a&2&&(a=R(2).row,K("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","CLOSURE"),E(),K("sloBounds",a.sloStatus.closureBounds))},IBb=function(a){a&1&&I(0,HBb,2,5,"slo-status-card",81);a&2&&(a=R().row,J(a.sloStatus?0:-1))},JBb=function(a){a&
1&&(L(0,"td",78),I(1,IBb,1,1),M());a&2&&(R(2),E(),J(1))},KBb=function(a,b){a&1&&N(0,"b-formatted-date-time",83);a&2&&(R(4),K("timestamp",b.seconds*1E3))},LBb=function(a){a&1&&I(0,KBb,1,1,"b-formatted-date-time",83);if(a&2){var b;a=R().row;J((b=a.retentionState==null?null:a.retentionState.scheduledDeletionTime)?0:-1,b)}},MBb=function(a){a&1&&(L(0,"td",72),I(1,LBb,1,1),M());a&2&&(R(2),E(),J(1))},NBb=function(a){a&1&&N(0,"div",84)},OBb=function(a){a&1&&(L(0,"div"),N(1,"b-team-display",85),M());a&2&&
(a=R(2).row,E(),K("teamId",a.teamId.toString())("componentId",a.componentId)("anchorLinkEnabled",!1))},PBb=function(a){a&1&&I(0,NBb,1,0,"div",84)(1,OBb,2,3,"div");a&2&&(a=R(3),J(a.isLoadingTeams?0:1))},QBb=function(a){a&1&&(L(0,"td",72),I(1,PBb,2,1),M());a&2&&(R(2),E(),J(1))},RBb=function(a){a&1&&U(0);a&2&&(a=R().row,V(" ",a.effort==null?null:a.effort.estimate," "))},SBb=function(a){a&1&&(L(0,"td",72),I(1,RBb,1,1),M());a&2&&(R(2),E(),J(1))},TBb=function(a){a&1&&U(0);if(a&2){a=R().row;var b=R(2);V(" ",
b.isTotalEstimatesEnabled?(a.effort==null?null:a.effort.totalOpen)||"":""," ")}},UBb=function(a){a&1&&(L(0,"td",72),I(1,TBb,1,1),M());a&2&&(R(2),E(),J(1))},VBb=function(a){a&1&&U(0);if(a&2){a=R().row;var b=R(2);V(" ",b.isTotalEstimatesEnabled?(a.effort==null?null:a.effort.totalComplete)||"":""," ")}},WBb=function(a){a&1&&(L(0,"td",72),I(1,VBb,1,1),M());a&2&&(R(2),E(),J(1))},XBb=function(a){a&1&&U(0);if(a&2){a=R().row;var b=R(2);V(" ",b.GET_ISSUE_ACCESS_LEVEL_TITLE(a.issueAccessLevel)," ")}},YBb=function(a){a&
1&&(L(0,"td",78),I(1,XBb,1,1),M());a&2&&(R(2),E(),J(1))},ZBb=function(a){a&1&&U(0);a&2&&(a=R().row,V(" ",a.descendantCount," "))},$Bb=function(a){a&1&&(L(0,"td",72),I(1,ZBb,1,1),M());a&2&&(R(2),E(),J(1))},aCb=function(a){a&1&&U(0);a&2&&(a=R().row,V(" ",a.openDescendantCount," "))},bCb=function(a){a&1&&(L(0,"td",72),I(1,aCb,1,1),M());a&2&&(R(2),E(),J(1))},cCb=function(a){a&1&&U(0);a&2&&(a=R().row,V(" ",a.oneDayViewCount," "))},dCb=function(a){a&1&&(L(0,"td",72),I(1,cCb,1,1),M());a&2&&(a=R(2),E(),J(a.enableAddViewCountColumnsOnIlp?
1:-1))},eCb=function(a){a&1&&U(0);a&2&&(a=R().row,V(" ",a.sevenDayViewCount," "))},fCb=function(a){a&1&&(L(0,"td",72),I(1,eCb,1,1),M());a&2&&(R(2),E(),J(1))},gCb=function(a){a&1&&U(0);a&2&&(a=R().row,V(" ",a.thirtyDayViewCount," "))},hCb=function(a){a&1&&(L(0,"td",72),I(1,gCb,1,1),M());a&2&&(R(2),E(),J(1))},iCb=function(a){a&1&&U(0);a&2&&(a=R().row,V(" ",a.voteCount&&a.voteCount>0?a.voteCount:""," "))},jCb=function(a){a&1&&(L(0,"td",72),I(1,iCb,1,1),M());a&2&&(R(2),E(),J(1))},kCb=function(a){a&1&&
U(0);a&2&&(a=R().row,V(" ",a.position," "))},lCb=function(a){a&1&&(L(0,"td",72),I(1,kCb,1,1),M());a&2&&(R(2),E(),J(1))},mCb=function(a){a&1&&(L(0,"b-person-hovercard",73),W(1,"omitObfuscatedEmail"),U(2),M());a&2&&(a=R(2).row,K("email",X(1,2,a.escalationOwner)),E(2),V(" ",a.escalationOwner," "))},nCb=function(a){a&1&&(L(0,"span"),U(1,"--"),M())},oCb=function(a){a&1&&(I(0,mCb,3,4,"b-person-hovercard",73),W(1,"omitObfuscatedEmail"),I(2,nCb,2,0,"span"));a&2&&(a=R().row,J(X(1,2,a.escalationOwner)?0:-1),
E(2),J(a.escalationOwner?-1:2))},pCb=function(a){a&1&&(L(0,"td",72),I(1,oCb,3,4),M());a&2&&(R(2),E(),J(1))},rCb=function(a){if(a&1){var b=y();L(0,"pop-grid",11);Q("columnsChange",function(c){z(b);var d=R();d.columns=c;d.columnsChange.emit(c);d.cdr.detectChanges();return B()})("focusedRowIndexChange",function(c){z(b);var d=R();d.focusedRowIndex=c;return B(d.focusedRowIndexChange.emit(d.focusedRowIndex))})("hoveredRowIndex",function(c){z(b);R().hoveredRowIndex=c;return B()})("sortChange",function(c){z(b);
var d=R();return B(d.sortChange.emit(c))})("rowClick",function(c){z(b);var d=R(),e=c.event.target,f,h=(f=e==null?void 0:e.closest(".title-cell"))!=null?f:!1,k;f=(k=e==null?void 0:e.closest(".issue-id-cell"))!=null?k:!1;var q;e=(q=e==null?void 0:e.closest(".recommendation-chip"))!=null?q:!1;h&&!e||f||zn(c.event)||!d.isIssueSidebarEnabled?d.rowClick.emit(c):(d.isIssueSidebarOpen=!0,d.cdr.detectChanges());return B()});G(1,Dzb,1,1,"th",12)(2,Ezb,1,1,"th",13)(3,Jzb,2,2,"th",14)(4,Kzb,1,1,"th",15)(5,Mzb,
2,2,"th",15)(6,Qzb,2,2,"th",16)(7,Rzb,1,0,"td",17)(8,Szb,1,0,"td",18)(9,Uzb,2,1,"td",19)(10,Wzb,2,1,"td",20)(11,Yzb,2,1,"td",21)(12,bAb,2,1,"td",22)(13,lAb,2,5,"td",23)(14,nAb,2,1,"td",24)(15,pAb,2,1,"td",25)(16,vAb,2,1,"td",26)(17,xAb,2,1,"td",27)(18,BAb,2,1,"td",28)(19,FAb,2,1,"td",28)(20,JAb,2,1,"td",28)(21,LAb,2,1,"td",28)(22,NAb,2,1,"td",28)(23,PAb,2,1,"td",28)(24,VAb,2,1,"td",28)(25,$Ab,2,1,"td",28)(26,dBb,2,1,"td",28)(27,fBb,2,1,"td",29)(28,hBb,2,1,"td",29)(29,jBb,2,1,"td",29)(30,lBb,2,1,"td",
29)(31,nBb,2,1,"td",28)(32,pBb,2,1,"td",28)(33,rBb,2,1,"td",28)(34,tBb,2,1,"td",28)(35,vBb,2,1,"td",28)(36,xBb,2,5,"td",30)(37,ABb,2,1,"td",31)(38,DBb,2,1,"td",31)(39,GBb,2,1,"td",31)(40,JBb,2,1,"td",31)(41,MBb,2,1,"td",28)(42,QBb,2,1,"td",28)(43,SBb,2,1,"td",28)(44,UBb,2,1,"td",28)(45,WBb,2,1,"td",28)(46,YBb,2,1,"td",31)(47,$Bb,2,1,"td",28)(48,bCb,2,1,"td",28)(49,dCb,2,1,"td",28)(50,fCb,2,1,"td",28)(51,hCb,2,1,"td",28)(52,jCb,2,1,"td",28)(53,lCb,2,1,"td",28)(54,pCb,2,1,"td",28);M()}a&2&&(a=R(),rk("sidebar-open",
a.isIssueSidebarOpen),K("list",(a.searchResults==null?null:a.searchResults.issues)||Ck(61,qCb))("columns",a.columns)("focusedRowIndex",a.focusedRowIndex)("scrollContainer",".bv2-view")("sort",a.sort)("rowLabelRenderer",a.issueDescription),E(),K("forHeaderCell","focused"),E(),K("forHeaderCell","draghandle"),E(),K("forHeaderCell","selected"),E(),K("forHeaderCell","starred"),E(),K("forHeaderCell","position"),E(2),K("forViewCell","focused"),E(),K("forViewCell","draghandle"),E(),K("forViewCell","selected"),
E(),K("forViewCell","starred"),E(),K("forViewCell","position"),E(),K("forViewCell","issueId"),E(),K("forViewCell","title"),E(),K("forViewCell","priority"),E(),K("forViewCell","severity"),E(),K("forViewCell","status"),E(),K("forViewCell","type"),E(),K("forViewCell","reporter"),E(),K("forViewCell","assignee"),E(),K("forViewCell","verifier"),E(),K("forViewCell","cc"),E(),K("forViewCell","changelist"),E(),K("forViewCell","postmortem"),E(),K("forViewCell","blockingIssueId"),E(),K("forViewCell","blockedByIssueId"),
E(),K("forViewCell","duplicateOfIssueId"),E(),K("forViewCell","createdTime"),E(),K("forViewCell","modifiedTime"),E(),K("forViewCell","resolvedTime"),E(),K("forViewCell","verifiedTime"),E(),K("forViewCell","foundInVersion"),E(),K("forViewCell","targetedToVersion"),E(),K("forViewCell","verifiedInVersion"),E(),K("forViewCell","inProd"),E(),K("forViewCell","archived"),E(),K("forViewCell","componentPath"),E(),K("forViewCell","minSlo"),E(),K("forViewCell","responseSlo"),E(),K("forViewCell","assignmentSlo"),
E(),K("forViewCell","closureSlo"),E(),K("forViewCell","deletionTime"),E(),K("forViewCell","team"),E(),K("forViewCell","estimate"),E(),K("forViewCell","estimateTotalOpen"),E(),K("forViewCell","estimateTotalComplete"),E(),K("forViewCell","accessLevel"),E(),K("forViewCell","descendantCount"),E(),K("forViewCell","openDescendantCount"),E(),K("forViewCell","oneDayViewCount"),E(),K("forViewCell","sevenDayViewCount"),E(),K("forViewCell","thirtyDayViewCount"),E(),K("forViewCell","voteCount"),E(),K("forViewCell",
"position"),E(),K("forViewCell","escalationOwner"))},sCb=function(a){a&1&&N(0,"b-issue-card",88,4);if(a&2){a=T(1);var b=R().id;K("onedevIsHovercardReady",a.init)("issueId",b)}},tCb=function(a,b){a&1&&(L(0,"onedev-hovercard",null,3),G(2,sCb,2,2,"b-issue-card",86),M(),L(3,"span",87),U(4),M());a&2&&(a=b.id,b=T(1),E(3),K("onedevHovercardTrigger",b),E(),tk(a))},uCb=function(a){if(a&1){var b=y();L(0,"b-app-bar-bulk-edit-menus",10);W(1,"async");Q("onBulkEdit",function(d){z(b);var e=R();return B(e.bulkEdit(d))})("onQuickBulkEdit",
function(d){z(b);var e=R();return B(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){z(b);var e=R();return B(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){z(b);var d=R();return B(d.bulkMarkIssueRead())});M()}if(a&2){a=R();var c;K("enableBulkEstimatedEffortOption",(c=X(1,2,a.enableBulkEstimatedEffortOption$))!=null?c:!1)("readStatePrompt",atb(a))}},wCb=function(a){a&1&&N(0,"playbook-controls",4);a&2&&(a=R(),K("issueIds",vCb(a)))},xCb=function(a){if(a&1){var b=y();L(0,"b-copy-issue-id-button",
11);Q("onClickCopyIssueIds",function(){z(b);var c=R();return B(ctb(c.copyIssueIdService,es(c)))})("onClickCopyIssueShortLinks",function(){z(b);var c=R();return B(dtb(c.copyIssueIdService,es(c)))})("onClickCopyAsIssueSearch",function(){z(b);var c=R();return B(etb(c.copyIssueIdService,es(c)))});M()}a&2&&(a=R(),K("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},yCb=function(a){if(a&1){var b=y();L(0,"div",6)(1,"b-hotlist-picker",
12);Q("onApply",function(c){z(b);var d=R();return B(d.handleHotlistPickerSave(c))})("onCreate",function(c){z(b);var d=R();return B(d.onCreateHotlist.emit(c))})("onLoad",function(c){z(b);var d=R();return B(d.onLoadHotlist.emit(c))});M()()}a&2&&(a=R(),E(),K("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},zCb=function(a){if(a&1){var b=y();L(0,"hotlist-add-issue-btn",14);Q("issueAddedToHotlist",function(){z(b);var c=R(2);return B(c.refresh())});M()}a&2&&(a=R(2),K("hotlistId",a.currentHotlistId))},
ACb=function(a){a&1&&N(0,"hotlist-archive-btn",13);a&2&&(a=R(2),K("hotlistId",a.currentHotlistId))},BCb=function(a){a&1&&(I(0,zCb,1,1,"hotlist-add-issue-btn",13),I(1,ACb,1,1,"hotlist-archive-btn",13));a&2&&(a=R(),J(a.enableBulkEditUi?0:-1),E(),J(a.isHotlistAdmin?1:-1))},CCb=function(a){a&1&&(L(0,"span",17),U(1,"Reporting"),M())},DCb=function(a){if(a&1){var b=y();L(0,"b-button",15);Q("onAction",function(){z(b);var c=R();return B(c.openInEstado())});N(1,"b-icon",16);I(2,CCb,2,0,"span",17);M()}a&2&&
(a=R(),K("size",a.hasSelectedIssues()?"large":"medium")("format",a.hasSelectedIssues()?"icon":"flat"),E(2),J(a.hasSelectedIssues()?-1:2))},ECb=function(a){if(a&1){var b=y();L(0,"b-comment-box",24);xk("commentChange",function(c){z(b);var d=R(2);wk(d.comment,c)||(d.comment=c);return B(c)});Q("onSubmit",function(){z(b);var c=R(2);return B(htb(c))});M()}a&2&&(a=R(2),vk("comment",a.comment),K("showToolbar",!1)("isLiteralModeSupported",!0))},FCb=function(a){if(a&1){var b=y();L(0,"div",21)(1,"b-recaptcha",
25);Q("onUpdate",function(c){z(b);var d=R(2);return B(d.recaptchaResponse=c)});M()()}},GCb=function(a){a&1&&(L(0,"h1",18),U(1,"Add comment"),M(),L(2,"mat-dialog-content"),I(3,ECb,1,3,"b-comment-box",19),N(4,"b-external-warnings",20),M(),I(5,FCb,2,0,"div",21),L(6,"mat-dialog-actions")(7,"button",22),U(8," Cancel "),M(),L(9,"button",23),U(10," Save "),M()());a&2&&(a=R(),E(3),J(a.comment?3:-1),E(),K("externalWarnings",a.externalWarnings),E(),J(a.enableRecaptcha?5:-1),E(2),K("mat-dialog-close",!1),E(2),
K("disabled",a.enableRecaptcha&&a.recaptchaResponse==="")("mat-dialog-close",!0))},HCb=function(a){if(a&1){var b=y();L(0,"div",6)(1,"button",7);Q("click",function(){z(b);var c=R();return B(c.onPressSave())});U(2," Save ");M();L(3,"button",8);Q("click",function(){z(b);var c=R();return B(c.onPressRevert())});U(4," Revert changes ");M()()}a&2&&(a=R(),E(),K("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving()||a.isInvalid())("matTooltip",a.isInvalid()?"Invalid form data":a.hasNoChanges()?
"No changes":"Save these changes"),E(2),K("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state"))},ICb=function(a){if(a&1){var b=y();L(0,"div",6)(1,"button",7);Q("click",function(){z(b);var d=R();return B(d.save())});U(2," Save ");M();L(3,"button",8);Q("click",function(){z(b);var d=R();return B(d.revert())});U(4," Revert changes ");M();N(5,"hotlist-archive-btn",9);W(6,"async");M()}if(a&2){a=R();E();K("disabled",
a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Save these changes");E(2);K("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state");E(2);var c;K("hotlistId",(c=X(6,5,a.id$))!=null?c:void 0)}},JCb=function(a,b){a&1&&U(0);a&2&&V(" ",b.name," ")},KCb=function(a){a&1&&(L(0,"strong",2),U(1,"(archived)"),M())},LCb=function(a){a&1&&N(0,"b-spinner")},MCb=function(a){a&1&&(N(0,"hotlist-add-issue-btn",
4),W(1,"async"));if(a&2){a=R();var b;K("hotlistId",(b=X(1,1,a.id$))!=null?b:void 0)}},NCb=function(a){a&1&&(L(0,"p",6),U(1," This hotlist cannot be edited because you are not an administrator of it. "),M())},OCb=function(a){a&1&&(N(0,"b-edit-hotlist-toolbar",0),L(1,"div",1),N(2,"b-edit-hotlist-header",0),L(3,"mat-tab-group",2)(4,"mat-tab",3),N(5,"b-edit-hotlist-basic",4),W(6,"async"),M(),L(7,"mat-tab",5),N(8,"b-edit-hotlist-acl",4),W(9,"async"),M()(),I(10,NCb,2,0,"p",6),W(11,"async"),M());a&2&&(a=
R(),K("hotlistId",a.id),E(2),K("hotlistId",a.id),E(),K("selectedIndex",a.tabIndex),E(2),K("hotlistId",a.id)("isReadOnly",X(6,8,a.isAdmin$)===!1),E(3),K("hotlistId",a.id)("isReadOnly",X(9,10,a.isAdmin$)===!1),E(2),J(X(11,12,a.isAdmin$)===!1?10:-1))},PCb=function(a,b){a&1&&(N(0,"empty-toolbar"),L(1,"div",7)(2,"h2"),U(3,"Error"),M(),L(4,"p"),U(5),M()());a&2&&(E(5),tk(b))},QCb=function(a){a&1&&(L(0,"b-callout",0)(1,"b-callout-body"),U(2),M()());a&2&&(a=R(),E(2),tk(a.error))},RCb=function(a){a&1&&(Sj(0),
U(1,", "),Tj())},SCb=function(a,b){a&1&&(U(0),I(1,RCb,2,0,"ng-container"));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;var d=R(2);V(" ",d.convertUserToString(a)," ");E();J(c!==b-1?1:-1)}},TCb=function(a,b){if(a&1){var c=y();L(0,"tr",7);Q("click",function(){var e=z(c).$implicit,f=R();return B(f.editHotlist(e))})("focus",function(){var e=z(c).$index,f=R();return B(f.setFocusOnIndex(e))});N(1,"td",2);L(2,"td",8)(3,"a",9);Q("click",function(e){z(c);return B(e.stopPropagation())});U(4);M()();L(5,"td",
10);U(6);M();L(7,"td",11);Mj(8,SCb,2,2,null,null,Lj);M();L(10,"td",12);U(11);M()()}if(a&2){a=b.$implicit;b=b.$index;var d=R();rk("grid-focus",d.isFocused(b));Hj("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));E(3);K("href",Hq.editHotlist.makeHref(a.hotlistId),Ni);E();V(" ",a.name," ");E(2);V(" ",a.description," ");E(2);Nj(a.adminUsers);E(3);V(" ",a.hotlistId," ")}},UCb=function(a){if(a&1){var b=y();L(0,"button",9);Q("click",function(){z(b);var c=R(2);return B(c.appEvents.dashboardPanels.moveToTop.next(c.panelId))});
U(1," Move to top ");M()}},VCb=function(a){if(a&1){var b=y();L(0,"button",10);Q("click",function(){z(b);var c=R(2);return B(c.appEvents.dashboardPanels.moveUp.next(c.panelId))});U(1," Move up ");M()}},WCb=function(a){if(a&1){var b=y();L(0,"button",11);Q("click",function(){z(b);var c=R(2);return B(c.appEvents.dashboardPanels.moveDown.next(c.panelId))});U(1," Move down ");M()}},XCb=function(a){if(a&1){var b=y();L(0,"button",12);Q("click",function(){z(b);var c=R(2);return B(c.appEvents.dashboardPanels.moveToBottom.next(c.panelId))});
U(1," Move to bottom ");M()}},YCb=function(a){if(a&1){var b=y();I(0,UCb,2,0,"button",4);I(1,VCb,2,0,"button",5);I(2,WCb,2,0,"button",6);I(3,XCb,2,0,"button",7);L(4,"button",8);Q("click",function(){z(b);var c=R();return B(c.removePanel())});U(5," Remove ");M()}a&2&&(a=R(),J(a.first?-1:0),E(),J(a.first?-1:1),E(),J(a.last?-1:2),E(),J(a.last?-1:3))},ZCb=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(),Hj("title",a.getValue()),E(),V(" ",a.getValue()," "))},$Cb=function(a){a&1&&N(0,"b-custom-field-value-display",
0);a&2&&(a=R(),K("customFieldValue",a.getCustomFieldValue()))},aDb=function(a){a&1&&N(0,"edit-issue-metadata",4);a&2&&(a=R(),K("issueId",a.issueId))},bDb=function(a){a&1&&N(0,"b-actions-menu",1);a&2&&(a=R(),K("menuItems",a.menuItems))},cDb=function(a){a&1&&(L(0,"span",2)(1,"strong"),U(2),M(),U(3,"\u00a0of\u00a0"),L(4,"strong"),U(5),M()());a&2&&(a=R(),E(2),uk("",a.searchResults.startIndex,"\u00a0-\u00a0",a.searchResults.endIndex),E(3),tk(a.searchResults.totalText))},dDb=function(a){a&1&&(L(0,"div"),
U(1," Hotlist not found. "),M())},eDb=function(a){a&1&&(L(0,"div"),U(1," Loading details... "),M())},fDb=function(a){a&1&&N(0,"b-panel-controls",5);a&2&&(a=R(2),K("panelId",a.panel.panelId))},gDb=function(a){a&1&&(L(0,"span",9),U(1," \u00a0(changed) "),M())},hDb=function(a){a&1&&(L(0,"div"),I(1,fDb,1,1,"b-panel-controls",5),L(2,"span",6),U(3," Hotlist: "),L(4,"a",7)(5,"span",8),U(6),M()()(),I(7,gDb,2,0,"span",9),M());a&2&&(a=R(),E(),J(a.isDashboardEditable?1:-1),E(3),K("href",a.ROUTES.viewHotlist.makeHref(a.hotlistId),
Ni),E(),K("matTooltip",yk(a.resource.description)),E(),tk(a.resource.name),E(),J(a.hasParamChanges()?7:-1))},iDb=function(a){if(a&1){var b=y();L(0,"div",3)(1,"button",10);Q("click",function(){z(b);var c=R();return B(c.save())});U(2,"Save ");M();L(3,"button",11);Q("click",function(){z(b);var c=R();return B(c.discardChanges())});U(4," Discard changes ");M()()}},jDb=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(3),E(),V("Searching for ",a.searchParams.query," ..."))},kDb=function(a){a&1&&(L(0,"div",
12),N(1,"b-spinner",15),I(2,jDb,2,1,"span"),M());a&2&&(a=R(2),E(),K("large",!1),E(),J(a.searchParams&&a.searchParams.query?2:-1))},lDb=function(a){a&1&&(L(0,"div",13),U(1," No issues in hotlist. "),M())},nDb=function(a){if(a&1){var b=y();L(0,"div",14)(1,"b-issues-grid",16);Q("init",function(c){z(b);var d=R(2);return B(mDb(d,c))});xk("focusedRowIndexChange",function(c){z(b);var d=R(2);wk(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return B(c)})("columnsChange",function(c){z(b);var d=R(2);wk(d.issueColumns,
c)||(d.issueColumns=c);return B(c)});Q("sortChange",function(c){z(b);var d=R(2);return B(d.setSort(c.field,c.direction))})("onRowDragDrop",function(c){z(b);var d=R(2);return B(d.repositionIssue(c.srcIndex,c.destIndex))})("rowClick",function(c){z(b);var d=R(2);return B(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){z(b);var c=R(2);return B(c.goToPage(c.page+1))})("onPrevPage",function(){z(b);var c=R(2);return B(c.goToPage(c.page-1))});M()()}a&2&&(a=R(2),E(),K("searchResults",a.searchResults),
vk("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns),K("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},oDb=function(a){a&1&&(L(0,"div"),I(1,kDb,3,2,"div",12),I(2,lDb,2,0,"div",13),I(3,nDb,2,5,"div",14),M());a&2&&(a=R(),E(),J(a.isLoading?1:-1),E(),J(a.isLoading||(a.searchResults==null?0:a.searchResults.issues==null?0:a.searchResults.issues.length)?-1:2),E(),J(!a.isLoading&&(a.searchResults==null?0:a.searchResults.issues==null?0:a.searchResults.issues.length)?3:-1))},
pDb=function(a){a&1&&(L(0,"div"),U(1," Saved search not found. "),M())},qDb=function(a){a&1&&(L(0,"div"),U(1," Loading details... "),M())},rDb=function(a){a&1&&N(0,"b-panel-controls",5);a&2&&(a=R(2),K("panelId",a.panel.panelId))},sDb=function(a){a&1&&(L(0,"span",8),U(1," \u00a0(changed) "),M())},tDb=function(a){a&1&&(L(0,"div",3),I(1,rDb,1,1,"b-panel-controls",5),L(2,"span",3),U(3," Saved search: "),L(4,"a",6)(5,"span",7),U(6),M()()(),I(7,sDb,2,0,"span",8),M());a&2&&(a=R(),E(),J(a.isDashboardEditable?
1:-1),E(3),K("href",a.paths.viewSavedSearch(a.savedSearchId),Ni),E(),K("matTooltip",yk(a.resource.description)),E(),tk(a.resource.name),E(),J(a.hasParamChanges()?7:-1))},uDb=function(a,b){a&1&&(L(0,"span"),U(1),M());a&2&&(E(),V("Searching for ",b,"..."))},vDb=function(a){a&1&&(L(0,"div",9),N(1,"b-spinner",12),I(2,uDb,2,1,"span"),M());if(a&2){var b;a=R(2);E();K("large",!1);E();J((b=a.searchParams==null?null:a.searchParams.query)?2:-1,b)}},wDb=function(a){a&1&&(L(0,"div",10),U(1," No issues in saved search. "),
M())},xDb=function(a){if(a&1){var b=y();L(0,"div",11)(1,"b-issues-grid",13);Q("init",function(c){z(b);var d=R(2);return B(mDb(d,c))});xk("focusedRowIndexChange",function(c){z(b);var d=R(2);wk(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return B(c)});Q("columnsChange",function(c){z(b);var d=R(2);return B(d.columnsChange(c))})("sortChange",function(c){z(b);var d=R(2);return B(d.setSort(c.field,c.direction))})("rowClick",function(c){z(b);var d=R(2);return B(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",
function(){z(b);var c=R(2);return B(c.goToPage(c.page+1))})("onPrevPage",function(){z(b);var c=R(2);return B(c.goToPage(c.page-1))});M()()}a&2&&(a=R(2),E(),K("searchResults",a.searchResults),vk("focusedRowIndex",a.focusedRowIndex),K("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},yDb=function(a){a&1&&(L(0,"div"),I(1,vDb,3,2,"div",9),I(2,wDb,2,0,"div",10),I(3,xDb,2,5,"div",11),M());a&2&&(a=R(),E(),J(a.isLoading?1:-1),E(),J(!a.isLoading&&a.searchResults&&
a.searchResults.issues.length===0?2:-1),E(),J(!a.isLoading&&a.searchResults&&a.searchResults.issues.length!==0?3:-1))},zDb=function(a,b){a&1&&(L(0,"span",2)(1,"a",3),U(2),M()());a&2&&(a=b.$implicit,E(),K("routerLink",zk("/teams/",a.id,"/edit"))("preserveFragment",!0),E(),tk(a.name))},ADb=function(a){a&1&&(L(0,"p")(1,"span",5),U(2,"NOTE:"),M(),U(3),L(4,"a",6),U(5,"Learn more"),M()());a&2&&(a=R(),E(3),V(" ",a.data.noteText," "),E(),K("href",a.getDisablingFieldsHelpLink(),Ni))},BDb=function(a){a&1&&
N(0,"span",25)(1,"b-icon",26);a&2&&(a=R(),K("innerHTML",a.menuLabel,Mi))},CDb=function(a){a&1&&(L(0,"div",27),U(1," This includes emails about major updates and: "),L(2,"ul",28)(3,"li"),U(4,"All title, hotlist, and status changes."),M(),L(5,"li"),U(6,"Blocking, Blocked By, or Duplicate changes."),M(),L(7,"li"),U(8,"Changes to Reporter, Verifier, and CCs."),M(),L(9,"li"),U(10,"Changes to Type, Found In, Targeted To, Verified In, and In Prod. "),M(),L(11,"li"),U(12,"Changes to custom fields marked as minor."),
M()()())},DDb=function(a){a&1&&(L(0,"div",29),U(1," This includes emails about: "),L(2,"ul",28)(3,"li"),U(4,"New comments."),M(),L(5,"li"),U(6,"New status updates."),M(),L(7,"li"),U(8,"Priority or Severity changes."),M(),L(9,"li"),U(10,"Assignee changes."),M(),L(11,"li"),U(12,"Component changes."),M(),L(13,"li"),U(14,"Issue closure or reopening."),M(),L(15,"li"),U(16,"Changes to custom fields marked as major."),M()()())},EDb=function(a,b){a&1&&(L(0,"mat-option",5),U(1),M());a&2&&(a=b.$implicit,K("value",
a),E(),V(" ",a.name," "))},FDb=function(a){a&1&&(L(0,"span",3),U(1," (must be between 30 days and 20 years) "),M())},HDb=function(a){if(a&1){var b=y();L(0,"div",4)(1,"b-duration-picker",12);Q("durationDaysChange",function(c){z(b);var d=R();d.model.retentionPeriodDays=c!=null?c:null;d.modelChange.emit(d.model);js(d);return B()});M();L(2,"div",13);U(3);M()()}a&2&&(a=R(),E(),K("disabled",a.issueRetentionDisabled)("durationDays",a.model.retentionPeriodDays),E(2),V(" Issues will be marked for deletion when they have not been modified for ",
GDb(a.model.retentionPeriodDays),". "))},IDb=function(a){a&1&&(L(0,"div",5)(1,"p"),U(2,"Please note this extended retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),L(3,"b"),U(4,"one or more"),M(),U(5," of the following is true:"),M(),L(6,"ol")(7,"li"),U(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),M(),L(9,"li"),U(10,"You have a process in place to manually delete this data within an approved period of time."),
M(),L(11,"li"),U(12,"Legal and Privacy have approved this non-standard retention period."),M()()())},JDb=function(a){a&1&&(L(0,"div",7)(1,"p"),U(2,"Please note indefinite retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),L(3,"b"),U(4,"one or more"),M(),U(5," of the following is true:"),M(),L(6,"ol")(7,"li"),U(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),M(),L(9,"li"),U(10,"You have a process in place to manually delete this data within an approved period of time."),
M(),L(11,"li"),U(12,"Legal and Privacy have approved this non-standard retention period."),M()()())},KDb=function(a){a&1&&(L(0,"span",3),U(1," (Issue Retention is shorter than default Restricted Retention) "),M())},MDb=function(a){a&1&&(L(0,"span",3),U(1),M());a&2&&(a=R(),E(),V(" ",LDb(a)," "))},NDb=function(a){a&1&&(L(0,"div",18)(1,"p"),U(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."),
M()())},QDb=function(a){if(a&1){var b=y();L(0,"div",4)(1,"div")(2,"span",14);U(3,"Restricted retention:");M();L(4,"b-duration-picker",15);Q("durationDaysChange",function(c){z(b);var d=R();d.model.piiRetentionPeriodDays=c!=null?c:null;d.modelChange.emit(d.model);js(d);return B()});M()();L(5,"div",16)(6,"p");U(7);M()();L(8,"div")(9,"span",14);U(10,"Restricted+ retention:");M();L(11,"b-duration-picker",17);Q("durationDaysChange",function(c){z(b);var d=R();d.model.spiiRetentionPeriodDays=c!=null?c:null;
d.modelChange.emit(d.model);js(d);return B()});M()();L(12,"div",16)(13,"p");U(14);M()();I(15,NDb,3,0,"div",18);M()}a&2&&(a=R(),E(4),K("disabled",!ODb(a))("durationDays",a.model.piiRetentionPeriodDays),E(3),V(" Restricted comments and attachments will be marked for deletion when the containing issue has not been modified for ",GDb(a.model.piiRetentionPeriodDays),". "),E(4),K("disabled",!ODb(a))("durationDays",a.model.spiiRetentionPeriodDays),E(3),V(" Restricted+ comments and attachments will be marked for deletion when the containing issue has not been modified for ",
GDb(a.model.spiiRetentionPeriodDays),". "),E(),J(a.model.piiRetentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&PDb(a)?15:-1))},RDb=function(a){a&1&&(L(0,"div",11)(1,"p"),U(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."),M()())},SDb=function(a,b,c){a=
ks(a.slice(b),c,"[()|]","[()|,\\s]");a.idx+=b;return a},ks=function(a,b,c,d){var e=TDb(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}},TDb=function(a,b){b=new RegExp(b,"gi");for(var c,d=null;(c=b.exec(a))!=null;)d=c,d.index=b.lastIndex;return d},ls=function(a,b){return(b===void 0?0:b)?a.search(/^\d+\+?$/)>-1:a.search(/^\d+$/)>-1},UDb=function(a){return a.charAt(0)==="-"?{negated:!0,token:a.slice(1)}:{negated:!1,
token:a}},ms=function(a,b,c,d){c=c===void 0?!1:c;d=d===void 0?!1:d;var e=b.val.toLowerCase();a=a.filter(function(q){q=q.name.toLowerCase();return q!==e||d?c?q.startsWith(e):ka(q,e):!1});b=b.idx;for(var f=b+e.length,h=l(a),k=h.next();!k.done;k=h.next())k=k.value.completionCfg,k.startIdx=b,k.endIdx=f,k.matchingString=e;return a},ns=function(a){var b=a.name;var c=a.label;var d=a.type;var e=a.enableShadowPlaceholder;var f=a.id;var h;return{trackId:((h=a.trackIdPrefix)!=null?h:d)+":"+b,name:b,id:f!=null?
f:b,label:c,completionCfg:{enableShadowPlaceholder:e!=null?e:!0,completionValue:f!=null?f:b,type:d}}},XDb=function(a,b){if(a&1){var c=y();L(0,"div",7)(1,"div",9);Q("click",function(d){var e=z(c).$implicit,f=R();e=e.key;if(d=d===void 0?null:d)d.preventDefault(),d.stopPropagation();d=f.options.propertyValues[e];d.value=!d.value;VDb(f);WDb(f);f.optionsChange.emit(f.options);return B()});L(2,"mat-checkbox",10);Q("change",function(d){var e=z(c).$implicit,f=R();e.value.value=d.checked;VDb(f);WDb(f);f.optionsChange.emit(f.options);
return B()})("click",function(d){z(c);return B(d.stopPropagation())});U(3);M()()()}a&2&&(a=b.$implicit,Hj("aria-checked",a.value.value),E(2),K("checked",a.value.value),E(),V(" ",a.value.displayString," "))},YDb=function(a){a&1&&(L(0,"div",8),U(1),M());a&2&&(a=R(),E(),V(" ",a.errorString," "))},ZDb=function(a){a&1&&(L(0,"span",2),U(1),M());a&2&&(a=R(2),E(),uk(" ",a.objectiveBusinessDays," day",a.objectiveBusinessDays!=1?"s":""," "))},$Db=function(a){a&1&&(L(0,"span"),U(1,", "),M())},bEb=function(a){a&
1&&(L(0,"span"),I(1,$Db,2,0,"span"),L(2,"span"),U(3),M()());a&2&&(a=R(2),E(),J(a.objectiveBusinessDays?1:-1),E(2),uk("",a.intervalString," ",aEb(a,a.intervalUnit)))},cEb=function(a){a&1&&(L(0,"span",0),I(1,ZDb,2,2,"span",2),I(2,bEb,4,3,"span"),M());a&2&&(a=R(),E(),J(a.objectiveBusinessDays?1:-1),E(),J(a.intervalString&&a.intervalString!="0"?2:-1))},eEb=function(a){if(a&1){var b=y();L(0,"span",3)(1,"input",4);xk("ngModelChange",function(c){z(b);var d=R(2);wk(d.businessDayString,c)||(d.businessDayString=
c);return B(c)});Q("ngModelChange",function(){z(b);var c=R(2);return B(dEb(c))});M();L(2,"span",7);U(3,"days,");M()()}a&2&&(a=R(2),E(),rk("ng-invalid",!!a.errorString),vk("ngModel",a.businessDayString))},fEb=function(a,b){a&1&&(L(0,"mat-option",6),U(1),M());a&2&&(a=b.$implicit,b=R(2),K("value",a),E(),V(" ",aEb(b,a)," "))},mEb=function(a){if(a&1){var b=y();L(0,"span",1);I(1,eEb,4,3,"span",3);L(2,"span",3)(3,"input",4);xk("ngModelChange",function(c){z(b);var d=R();wk(d.intervalString,c)||(d.intervalString=
c);return B(c)});Q("ngModelChange",function(){z(b);var c=R();return B(dEb(c))});M();L(4,"mat-select",5);xk("ngModelChange",function(c){z(b);var d=R();wk(d.intervalUnit,c)||(d.intervalUnit=c);return B(c)});Q("selectionChange",function(){z(b);var c=R();gEb(c);hEb(c);return B()});Mj(5,fEb,2,2,"mat-option",6,Lj);M()()()}a&2&&(a=R(),E(),J(iEb(a)?1:-1),E(2),rk("invalid",!!a.errorString),vk("ngModel",a.intervalString),E(),vk("ngModel",a.intervalUnit),E(),Nj(iEb(a)?[jEb,kEb]:[jEb,kEb,lEb]))},oEb=function(a){if(a&
1){var b=y();L(0,"b-icon",22);Q("click",function(){z(b);var c=R(2);return B(nEb(c,0))});M()}a&2&&K("name","add")("size","small")},qEb=function(a){if(a&1){var b=y();L(0,"span",5)(1,"span",18)(2,"span",19);I(3,oEb,1,2,"b-icon",20);M();L(4,"span",19)(5,"b-icon",21);Q("click",function(c){z(b);var d=R();return B(pEb(d,c))});M()()()()}a&2&&(a=R(),E(3),J(a.canPerformActions?3:-1),E(2),K("name","delete")("size","small"))},rEb=function(a){a&1&&N(0,"td",26)},sEb=function(a){a&1&&N(0,"td",27)},tEb=function(a){if(a&
1){var b=y();L(0,"td",28)(1,"slo-element-property-picker",42);xk("optionsChange",function(c){z(b);var d=R().$implicit;wk(d.typePickerValues,c)||(d.typePickerValues=c);return B(c)});M()()}a&2&&(a=R().$implicit,E(),K("selectAllText","Any type")("validator",a.validateTypePicker),vk("options",a.typePickerValues))},uEb=function(a){a&1&&(L(0,"div"),U(1),M());a&2&&(a=R(2).$implicit,E(),V("ERROR: ",a.parseResult.error))},vEb=function(a,b){a&1&&(L(0,"span",44)(1,"span",45),U(2),M()());a&2&&(a=b.$implicit,
E(2),tk(a))},xEb=function(a){a&1&&(L(0,"span",43),Mj(1,vEb,3,1,"span",44,Lj),M());if(a&2){a=R(2).$implicit;E();if(a.parseResult.types.length===0)a=["Any"];else{for(var b=[],c=l(a.controllerReference.sloParseService.enumTypeToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.types.includes(d)&&b.push(wEb(a.controllerReference,d));a=b}Nj(a)}},yEb=function(a){a&1&&(L(0,"td",29),I(1,uEb,2,1,"div")(2,xEb,3,0,"span",43),M());a&2&&(a=R().$implicit,E(),J(a.parseResult.error?1:2))},zEb=
function(a){if(a&1){var b=y();L(0,"td",30)(1,"slo-element-property-picker",46);xk("optionsChange",function(c){z(b);var d=R().$implicit;wk(d.priorityPickerValues,c)||(d.priorityPickerValues=c);return B(c)});M()()}a&2&&(a=R().$implicit,E(),K("selectAllText","Any priority")("validator",a.validatePriorityPicker),vk("options",a.priorityPickerValues))},AEb=function(a){a&1&&(L(0,"div"),U(1),M());a&2&&(a=R(2).$implicit,E(),V("ERROR: ",a.parseResult.error))},BEb=function(a,b){a&1&&(L(0,"span",44)(1,"span",
45),U(2),M()());a&2&&(a=b.$implicit,E(2),tk(a))},DEb=function(a){a&1&&(L(0,"span",43),Mj(1,BEb,3,1,"span",44,Lj),M());if(a&2){a=R(2).$implicit;E();if(a.parseResult.priorities.length===0)a=["Any"];else{for(var b=[],c=l(a.controllerReference.sloParseService.enumPriorityToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.priorities.includes(d)&&b.push(CEb(a.controllerReference,d));a=b}Nj(a)}},EEb=function(a){a&1&&(L(0,"td",31),I(1,AEb,2,1,"div")(2,DEb,3,0,"span",43),M());a&2&&(a=R().$implicit,
E(),J(a.parseResult.error?1:2))},FEb=function(a){if(a&1){var b=y();L(0,"td",32)(1,"slo-element-property-picker",47);xk("optionsChange",function(d){z(b);var e=R().$implicit;wk(e.postmortemPickerValues,d)||(e.postmortemPickerValues=d);return B(d)});M()()}if(a&2){a=R().$implicit;var c=R(2);E();K("selectAllText",c.postmortemAllSummaryValue)("validator",a.validatePostmortemPicker);vk("options",a.postmortemPickerValues)}},GEb=function(a){a&1&&(L(0,"div"),U(1),M());a&2&&(a=R(2).$implicit,E(),V("ERROR: ",
a.parseResult.error))},HEb=function(a,b){a&1&&(L(0,"span",44)(1,"span",45),U(2),M()());a&2&&(a=b.$implicit,E(2),tk(a))},IEb=function(a){a&1&&(L(0,"span",43),Mj(1,HEb,3,1,"span",44,Lj),M());if(a&2){a=R(2).$implicit;E();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])];Nj(a)}},JEb=function(a){a&1&&(L(0,"td",33),I(1,GEb,2,1,"div")(2,IEb,3,0,"span",
43),M());a&2&&(a=R().$implicit,E(),J(a.parseResult.error?1:2))},LEb=function(a,b){a&1&&(L(0,"mat-option",50),U(1),M());a&2&&(a=b.$implicit,R(4),K("value",a),E(),V(" ",KEb(a)," "))},MEb=function(a){if(a&1){var b=y();L(0,"td",34)(1,"mat-form-field",48)(2,"mat-select",49);xk("ngModelChange",function(d){z(b);var e=R().$implicit;wk(e.selectedMetric,d)||(e.selectedMetric=d);return B(d)});Mj(3,LEb,2,2,"mat-option",50,Lj);M()()()}if(a&2){a=R().$implicit;var c=R(2);E(2);vk("ngModel",a.selectedMetric);K("customValidators",
a.metricValidators);E();Nj(c.metricChoices)}},NEb=function(a){a&1&&(L(0,"td",35),U(1),M());a&2&&(a=R().$implicit,R(2),E(),V(" ",KEb(a.sloElement.metric)," "))},OEb=function(a){if(a&1){var b=y();L(0,"td",36)(1,"slo-objective-selector",51);xk("objectiveDurationChange",function(c){z(b);var d=R().$implicit;wk(d.selectedObjectiveDuration,c)||(d.selectedObjectiveDuration=c);return B(c)})("objectiveBusinessDaysChange",function(c){z(b);var d=R().$implicit;wk(d.selectedObjectiveBusinessDays,c)||(d.selectedObjectiveBusinessDays=
c);return B(c)});M()()}a&2&&(a=R().$implicit,E(),K("dayType",a.selectedDayType),vk("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays),K("validator",a.validateObjective)("isDisabled",!1))},PEb=function(a){if(a&1){var b=y();L(0,"td",37)(1,"slo-objective-selector",52);xk("objectiveDurationChange",function(c){z(b);var d=R().$implicit;wk(d.selectedObjectiveDuration,c)||(d.selectedObjectiveDuration=c);return B(c)})("objectiveBusinessDaysChange",function(c){z(b);
var d=R().$implicit;wk(d.selectedObjectiveBusinessDays,c)||(d.selectedObjectiveBusinessDays=c);return B(c)});M()()}a&2&&(a=R().$implicit,E(),K("dayType",a.selectedDayType),vk("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays),K("isDisabled",!a.isEditing()))},REb=function(a,b){a&1&&(L(0,"mat-option",50),U(1),M());a&2&&(a=b.$implicit,R(4),K("value",a),E(),V(" ",QEb.get(a||"CALENDAR")," "))},SEb=function(a){if(a&1){var b=y();L(0,"td",38)(1,"mat-form-field",
48)(2,"mat-select",53);xk("ngModelChange",function(d){z(b);var e=R().$implicit;wk(e.selectedDayType,d)||(e.selectedDayType=d);return B(d)});Q("selectionChange",function(){z(b);var d=R().$implicit;d.selectedDayType==="BUSINESS"?d.selectedObjectiveDuration.seconds%86400===0&&(d.selectedObjectiveBusinessDays=d.selectedObjectiveDuration.seconds/86400,d.selectedObjectiveDuration.seconds=0):(d.selectedObjectiveDuration.seconds===0&&(d.selectedObjectiveDuration.seconds=d.selectedObjectiveBusinessDays*86400),
d.selectedObjectiveBusinessDays=0);return B()});Mj(3,REb,2,2,"mat-option",50,Lj);M()()()}if(a&2){a=R().$implicit;var c=R(2);E(2);vk("ngModel",a.selectedDayType);E();Nj(c.dayTypes)}},TEb=function(a){a&1&&(L(0,"td",39),U(1),M());a&2&&(a=R().$implicit,R(2),E(),V(" ",QEb.get(a.sloElement.dayType||"CALENDAR")," "))},XEb=function(a){if(a&1){var b=y();L(0,"td",40)(1,"span",18)(2,"span",19)(3,"b-icon",54);Q("click",function(){z(b);var c=R(3);if(c.openRow)if(c.openRow.isValid())UEb(c.openRow.typePickerValues)&&
UEb(c.openRow.priorityPickerValues)&&UEb(c.openRow.postmortemPickerValues)?c.confirmationDialogService.open({title:"SLO validation error",content:md("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}):VEb(c);else{var d=c.openRow;(d.selectedDayType!=="BUSINESS"?d.selectedObjectiveDuration.seconds>0:d.selectedObjectiveDuration.seconds>
0||d.selectedObjectiveBusinessDays>0)||c.confirmationDialogService.open({title:"SLO validation error",content:md('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 B()});M()();L(4,"span",19)(5,"b-icon",55);Q("click",function(){z(b);var c=R().$implicit,d=R(2);return B(WEb(d,c))});M()()()()}a&2&&(E(3),
K("name","done")("size","small"),E(2),K("name","delete")("size","small"))},ZEb=function(a){if(a&1){var b=y();L(0,"b-icon",63);Q("click",function(c){z(b);var d=R(2).$implicit,e=R(2);return B(YEb(e,d,c))});M()}a&2&&K("name","edit")("size","small")},$Eb=function(a){a&1&&N(0,"b-icon",57);a&2&&(R(),a=T(8),K("name","more-settings-vertical")("size","small")("matMenuTriggerFor",a))},bFb=function(a){if(a&1){var b=y();L(0,"button",64);Q("click",function(){z(b);var c=R(2).$implicit,d=R(2);return B(aFb(d,c,1))});
U(1," Move row down ");M()}},cFb=function(a){if(a&1){var b=y();L(0,"button",65);Q("click",function(){z(b);var c=R(2).$implicit,d=R(2);return B(aFb(d,c,-1))});U(1," Move row up ");M()}},eFb=function(a){if(a&1){var b=y();L(0,"td",41)(1,"span",18)(2,"span",19);I(3,ZEb,1,2,"b-icon",56);M();L(4,"span",19)(5,"span");I(6,$Eb,1,3,"b-icon",57);M();L(7,"mat-menu",null,0);I(9,bFb,2,0,"button",58);I(10,cFb,2,0,"button",59);L(11,"button",60);Q("click",function(){z(b);var d=R().$implicit,e=R(2);nEb(e,e.collection.indexOf(d)+
1);return B()});U(12," Add row below ");M();L(13,"button",61);Q("click",function(){z(b);var d=R().$implicit,e=R(2);nEb(e,e.collection.indexOf(d)+-1+1);return B()});U(14," Add row above ");M();L(15,"button",62);Q("click",function(){z(b);var d=R().$implicit,e=R(2);return B(WEb(e,d))});U(16," Remove ");M()()()()()}if(a&2){a=R().$implicit;var c=R(2);E(3);J(a.canEdit?3:-1);E(3);J(a.canEdit?6:-1);E(3);J(dFb(c,a,1).valid?9:-1);E();J(dFb(c,a,-1).valid?10:-1)}},fFb=function(a,b){a&1&&(L(0,"tr",25),I(1,rEb,
1,0,"td",26)(2,sEb,1,0,"td",27),I(3,tEb,2,3,"td",28)(4,yEb,3,1,"td",29),I(5,zEb,2,3,"td",30)(6,EEb,3,1,"td",31),I(7,FEb,2,3,"td",32)(8,JEb,3,1,"td",33),I(9,MEb,5,2,"td",34)(10,NEb,2,1,"td",35),I(11,OEb,2,5,"td",36)(12,PEb,2,4,"td",37),I(13,SEb,5,1,"td",38)(14,TEb,2,1,"td",39),I(15,XEb,6,4,"td",40)(16,eFb,17,4,"td",41),M());a&2&&(a=b.$implicit,b=R(2),rk("draggable",!b.isDisabled&&b.openRow==null),E(),J(a.isEditing()?1:2),E(2),J(a.isEditing()?3:4),E(2),J(a.isEditing()?5:6),E(2),J(a.isEditing()?7:8),
E(2),J(a.isEditing()?9:10),E(2),J(a.isEditing()?11:12),E(2),J(a.isEditing()?13:14),E(2),J(a.isEditing()?15:16))},gFb=function(a){if(a&1){var b=y();L(0,"tbody",23);Q("cdkDropListDropped",function(c){z(b);var d=R();return B(d.onDrop(c))});Mj(1,fFb,17,10,"tr",24,Lj);M()}a&2&&(a=R(),K("cdkDropListData",a.collection)("cdkDropListDisabled",a.isDisabled||a.openRow!=null),E(),Nj(a.collection))},hFb=function(a){a&1&&(L(0,"div",17),U(1," There are currently no rules for this SLO "),M())},iFb=function(a,b){if(a&
1){var c=y();L(0,"tr",7);Q("click",function(){var e=z(c).$implicit,f=R();return B(f.editSlo(e))})("focus",function(){var e=z(c).$index,f=R();return B(f.setFocusOnIndex(e))});N(1,"td",2);L(2,"td",8)(3,"a",9);U(4);M()();L(5,"td",10);U(6);M()()}if(a&2){a=b.$implicit;b=b.$index;var d=R();rk("grid-focus",d.isFocused(b));Hj("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));E(3);K("href",Hq.editSlo.makeHref(a.sloId),Ni);E();V(" ",a.name," ");E(2);V(" ",a.description," ")}},jFb=function(a){if(a)return(Array.isArray(a)?
a.map(function(b){return Bd(b)}):[Bd(a)]).filter(function(b){return!isNaN(b)})},kFb=function(a,b){if(b&&!Array.isArray(b))return a.find(function(c){return!ha(c,b)})},lFb=function(a,b){typeof a==="string"&&(a=a.trim())&&b(Kd(a))},mFb=function(a,b){if(!a)return[];a=l(typeof a==="string"?a.split(","):a);for(var c=a.next();!c.done;c=a.next())lFb(c.value,function(d){return b.push(d)});return Fea(b)},nFb=function(a){return a===null?function(){}:function(b){a:{if(Array.isArray(b)&&b.length===1&&(b=b[0],
Array.isArray(b))){b=new a(b);break a}b=void 0}if(b!==void 0)return b;throw Error("hf");}},oFb=function(a){a&1&&(L(0,"a",1),U(1),W(2,"async"),M());if(a&2){var b;a=R();K("href",a.manageComponentLink,Ni);E();tk((b=X(2,2,a.component$))==null?null:b.name)}},pFb=function(a){a&1&&(L(0,"output"),U(1),M());a&2&&(a=R(),E(),tk(a.componentId))},qFb=function(a){a&1&&Uj(0)},rFb=function(a){a&1&&G(0,qFb,1,0,"ng-container",4);a&2&&(R(),a=T(6),K("ngTemplateOutlet",a))},sFb=function(a){a&1&&Uj(0)},tFb=function(a){a&
1&&G(0,sFb,1,0,"ng-container",4);a&2&&(R(),a=T(8),K("ngTemplateOutlet",a))},uFb=function(a){a&1&&(L(0,"li")(1,"label"),U(2,"Component"),M(),N(3,"b-async-component",8),M());a&2&&(a=R(2),E(3),K("componentId",a.issueComponentId))},vFb=function(a){a&1&&(L(0,"li")(1,"label"),U(2,"Team"),M(),N(3,"b-team-display",9),M());a&2&&(a=R(2),E(3),K("teamId",a.issueTeamId))},wFb=function(a){a&1&&(L(0,"ol",5)(1,"li")(2,"label"),U(3,"ID"),M(),L(4,"output"),U(5),M()(),L(6,"li")(7,"label"),U(8,"Type"),M(),L(9,"output"),
U(10),M()(),L(11,"li")(12,"label"),U(13,"Priority"),M(),N(14,"b-issue-priority-display",6),M(),L(15,"li")(16,"label"),U(17,"Severity"),M(),L(18,"output"),U(19),M()(),L(20,"li")(21,"label"),U(22,"Status"),M(),L(23,"output"),U(24),M()(),L(25,"li")(26,"label"),U(27,"Last modified"),M(),L(28,"output"),U(29),W(30,"date"),M()(),L(31,"li")(32,"label"),U(33,"Issue access limit"),M(),L(34,"output"),U(35),L(36,"a",7),U(37,"Learn more"),M()()(),I(38,uFb,4,1,"li"),I(39,vFb,4,1,"li"),M());a&2&&(a=R(),E(5),tk(a.issueId),
E(5),tk(a.issueType),E(4),K("issuePriority",a.issuePriority),E(5),tk(a.issueSeverity),E(5),tk(a.issueStatus),E(5),tk(Fk(30,10,a.issueLastModified,"medium")),E(6),V("",a.accessLimitLevel," "),E(),K("href",a.documentationLinks.getIssueAccessLimit(),Ni),E(2),J(a.issueComponentId?38:-1),E(),J(a.issueTeamId?39:-1))},xFb=function(a){a&1&&(Sj(0),U(1,"Signing in..."),Tj(),N(2,"b-spinner"))},yFb=function(a){a&1&&(Sj(0),U(1,"Sign in"),Tj())},zFb=function(a){if(a&1){var b=y();L(0,"button",11);Q("click",function(){z(b);
var c=R(2);c.signInProgressing=!0;c.loginRedirector.redirect();return B()});I(1,xFb,3,0)(2,yFb,2,0,"ng-container");M()}a&2&&(a=R(2),E(),J(a.signInProgressing?1:2))},AFb=function(a){a&1&&(L(0,"h3"),U(1,"Access to this issue may be resolved by signing in."),M(),I(2,zFb,3,1,"button",10));a&2&&(a=R(),E(2),J(a.enableSignInAnonymousAccessDenied?2:-1))},BFb=function(a){return a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'")?a.toLowerCase().substr(1,a.length-2):a.toLowerCase()},CFb=
function(a){a.label||(a=wd(a),a.label={customFieldId:void 0,field:"_TEXT_"});return a},EFb=function(a){return{type:DFb[a.getType()],value:a.getValue()}},GFb=function(a){var b,c=FFb[a.getType()],d=((b=a.getValuesList())!=null?b:[]).map(GFb);a=ie(a,HFb,3,Rd());return{type:c,values:d,simpleValues:(a!=null?a:[]).map(EFb)}},LFb=function(a){var b,c=IFb[a.getType()],d=((b=a.getValuesList())!=null?b:[]).map(GFb);b=De(a,3);if(a.hasLabel()){var e=a.getLabel();e={field:JFb[e.getField()],customFieldId:Number(e.getCustomFieldId_asString())}}else e=
void 0;return{type:c,values:d,negated:b,label:e,operator:KFb[Zd(a,5)]}},QFb=function(a){switch(a.getKindCase()){case 2:var b=Zk(a,MFb,2,NFb,Kc);return{syntaxErrorResponse:{syntaxError:Oc(b,1,void 0,Kc)},queryBuilderResponse:void 0};case 1:return a=Zk(a,os,1,NFb,Kc),{syntaxErrorResponse:void 0,queryBuilderResponse:{type:OFb[a.getType()],expressions:((b=ie(a,PFb,2,Rd(),Kc))!=null?b:[]).map(LFb)}};default:return{syntaxErrorResponse:void 0,queryBuilderResponse:void 0}}},RFb=function(a,b){a&1&&(L(0,"mat-option",
4)(1,"div",5),U(2),M()());a&2&&(a=b.$implicit,K("value",a),E(2),V(" ",a.name," "))},SFb=function(a,b){a&1&&(L(0,"mat-option",11),U(1),M());a&2&&(a=b.$implicit,K("value",a.key),E(),V(" ",a.value," "))},TFb=function(a){if(a&1){var b=y();L(0,"mat-form-field",4)(1,"mat-select",10);xk("ngModelChange",function(c){z(b);var d=R(2);wk(d.expressionType,c)||(d.expressionType=c);return B(c)});Mj(2,SFb,2,2,"mat-option",11,Lj);W(4,"keyvalue");M()()}a&2&&(a=R(2),E(),vk("ngModel",a.expressionType),E(),Nj(X(4,1,a.globalTypeLabels)))},
UFb=function(a,b){a&1&&(L(0,"mat-option",11),U(1),M());a&2&&(a=b.$implicit,K("value",a[0]),E(),V(" ",a[1]," "))},VFb=function(a,b){a&1&&(L(0,"mat-option",11),U(1),M());if(a&2){a=b.$implicit;b=R(2).$implicit;var c=R(2);K("value",a);E();V(" ",c.getTypeLabel(b,a)," ")}},WFb=function(a){if(a&1){var b=y();L(0,"mat-form-field",4)(1,"mat-select",18);xk("ngModelChange",function(c){z(b);var d=R().$implicit;wk(d.type,c)||(d.type=c);return B(c)});Mj(2,VFb,2,2,"mat-option",11,Lj);M()()}a&2&&(a=R().$implicit,
E(),vk("ngModel",a.type),E(),Nj(a.getLegalTypes()))},YFb=function(a){if(a&1){var b=y();L(0,"div",26);Q("click",function(){z(b);var c=R(2).$implicit,d=R(5);return B(XFb(d,c))});L(1,"span",27);U(2);M()()}a&2&&(a=R(2).$implicit,R(5),K("title",a.value),E(2),V(" ",a.value.replace(/"/g,"")," "))},ZFb=function(a){if(a&1){var b=y();L(0,"div",24)(1,"b-custom-repeated-enum-picker",28);Q("onValueChange",function(e){z(b);var f=R(7);f.chipUnderEdit.value='"'+e+'"';ps(f);return B()});M()()}if(a&2){a=R(2).$implicit;
var c=R(3).$implicit,d=R(2);E();K("showPlaceholder",!0)("customFieldTitle",d.getCustomFieldName(c))("currentInputValue",a.value.replace(/"/g,""))("allowedValues",c.getOptions())}},$Fb=function(a){if(a&1){var b=y();L(0,"div",22);I(1,YFb,3,2,"div",23);I(2,ZFb,2,4,"div",24);L(3,"button",25);Q("click",function(){z(b);var d=R().$implicit,e=R(3).$implicit,f=R(2);return B(qs(f,e,d))});M()()}if(a&2){a=R().$implicit;var c=R(5);E();J(c.chipUnderEdit===a?-1:1);E();J(c.chipUnderEdit===a?2:-1)}},aGb=function(a,
b){a&1&&I(0,$Fb,4,2,"div",22);a&2&&(a=b.$implicit,b=R(5),J(b.chipUnderEdit===a||a.value?0:-1))},bGb=function(a){if(a&1){var b=y();L(0,"button",29);Q("click",function(){z(b);var c=R(3).$implicit,d=R(2);return B(rs(d,c))});U(1);M()}a&2&&(a=R(3).$implicit,E(),V(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},cGb=function(a){a&1&&(L(0,"div",19),Mj(1,aGb,1,1,null,null,Lj),I(3,bGb,2,1,"button",21),M());a&2&&(a=R(2).$implicit,E(),Nj(a.values),E(2),J(a.type?3:-1))},dGb=function(a,b){if(a&1){var c=y();
L(0,"div",30)(1,"mat-checkbox",31);Q("change",function(d){var e=z(c).$implicit,f=R(3).$implicit;return B(f.enumValues[e.id]=d.checked)});U(2);M()()}a&2&&(a=b.$implicit,b=R(3).$implicit,E(),K("checked",b.enumValues[a.id])("matTooltip",a.tooltip),E(),V(" ",a.label||a.id," "))},eGb=function(a){a&1&&(L(0,"div",20),Mj(1,dGb,3,3,"div",30,Lj),M());a&2&&(a=R(2).$implicit,E(),Nj(a.getOptions()))},fGb=function(a){if(a&1){var b=y();L(0,"div")(1,"b-peoplekit-multi",32);xk("valueChange",function(d){z(b);var e=
R(3).$implicit;wk(e.csv,d)||(e.csv=d);return B(d)});M()()}if(a&2){a=R(3).$implicit;var c=R(2);E();vk("value",a.csv);K("candidateDenylist",c.candidateEmailAutocompleteDenylist)}},gGb=function(a){if(a&1){var b=y();L(0,"div")(1,"input",33);xk("ngModelChange",function(c){z(b);var d=R(3).$implicit;wk(d.csv,c)||(d.csv=c);return B(c)});M()()}a&2&&(a=R(3).$implicit,E(),vk("ngModel",a.csv))},hGb=function(a){if(a&1){var b=y();L(0,"div")(1,"input",34);xk("ngModelChange",function(c){z(b);var d=R(3).$implicit;
wk(d.csv,c)||(d.csv=c);return B(c)});M()()}a&2&&(a=R(3).$implicit,E(),vk("ngModel",a.csv))},iGb=function(a){if(a&1){var b=y();L(0,"div")(1,"input",35);xk("ngModelChange",function(c){z(b);var d=R(3).$implicit;wk(d.csv,c)||(d.csv=c);return B(c)});M()()}a&2&&(a=R(3).$implicit,E(),vk("ngModel",a.csv))},jGb=function(a){a&1&&(L(0,"div"),I(1,fGb,2,2,"div"),I(2,gGb,2,1,"div"),I(3,hGb,2,1,"div"),I(4,iGb,2,1,"div"),M());a&2&&(a=R(2).$implicit,E(),J(a.getWidgetType()=="user"?1:-1),E(),J(a.getWidgetType()=="csv"?
2:-1),E(),J(a.getWidgetType()=="id"?3:-1),E(),J(a.getWidgetType()=="number"?4:-1))},kGb=function(a,b){if(a&1){var c=y();L(0,"div",36)(1,"div",24)(2,"input",35);xk("ngModelChange",function(d){var e=z(c).$implicit;wk(e.value,d)||(e.value=d);return B(d)});M()();L(3,"button",37);Q("click",function(){var d=z(c).$implicit,e=R(3).$implicit,f=R(2);return B(qs(f,e,d))});M()()}a&2&&(a=b.$implicit,E(2),vk("ngModel",a.value))},lGb=function(a){if(a&1){var b=y();L(0,"button",29);Q("click",function(){z(b);var c=
R(3).$implicit,d=R(2);return B(rs(d,c))});U(1);M()}a&2&&(a=R(3).$implicit,E(),V(" + ",a.type=="OR"||a.type=="NOR"?"OR":"AND"," "))},mGb=function(a){a&1&&(L(0,"div",19),Mj(1,kGb,4,1,"div",36,Lj),I(3,lGb,2,1,"button",21),M());a&2&&(a=R(2).$implicit,E(),Nj(a.values),E(2),J(a.type?3:-1))},oGb=function(a){if(a&1){var b=y();L(0,"div",26);Q("click",function(){z(b);var d=R(2).$implicit,e=R(5);return B(nGb(e,d))});L(1,"span",27);U(2);M()()}if(a&2){a=R(2).$implicit;var c=R(5);K("title",c.getComponentPath(c.components[a.value]));
E(2);V(" ",c.getComponentPath(c.components[a.value])," ")}},pGb=function(a){if(a&1){var b=y();L(0,"div",24)(1,"b-team-component-picker",41);Q("selectedComponentChange",function(c){z(b);var d=R(7);d.componentUnderEdit=c!=null?c:null;d.componentUnderEdit&&(d.chipUnderEdit.value=d.componentUnderEdit.componentId,d.components[d.componentUnderEdit.componentId]=d.componentUnderEdit);d.componentUnderEdit=null;ps(d);return B()});M()()}a&2&&(a=R(7),E(),K("selectedComponent",a.componentUnderEdit)("placeholder",
"Choose Component")("isRequired",!0))},qGb=function(a){if(a&1){var b=y();L(0,"div",38);I(1,oGb,3,2,"div",23);I(2,pGb,2,3,"div",24);L(3,"button",39);Q("click",function(){z(b);var d=R().$implicit;R(5);d.includeSubs=!d.includeSubs;return B()});N(4,"mat-icon",40);M();L(5,"button",25);Q("click",function(){z(b);var d=R().$implicit,e=R(3).$implicit,f=R(2);return B(qs(f,e,d))});M()()}if(a&2){a=R().$implicit;var c=R(5);E();J(c.chipUnderEdit===a?-1:1);E();J(c.chipUnderEdit===a?2:-1);E();K("title",a.includeSubs?
"Subcomponents are included":"Subcomponents are not included");Hj("aria-checked",a.includeSubs);E();K("svgIcon",a.includeSubs?"child-components-24px":"child-components-hide-24px")}},rGb=function(a,b){a&1&&I(0,qGb,6,5,"div",38);a&2&&(a=b.$implicit,b=R(5),J(b.chipUnderEdit===a||a.value?0:-1))},sGb=function(a){if(a&1){var b=y();L(0,"button",29);Q("click",function(){z(b);var c=R(3).$implicit,d=R(2);return B(rs(d,c))});U(1);M()}a&2&&(a=R(3).$implicit,E(),V(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND",
" "))},tGb=function(a){a&1&&(L(0,"div",19),Mj(1,rGb,1,1,null,null,Lj),I(3,sGb,2,1,"button",21),M());a&2&&(a=R(2).$implicit,E(),Nj(a.values),E(2),J(a.type?3:-1))},vGb=function(a){if(a&1){var b=y();L(0,"div",26);Q("click",function(){z(b);var d=R(2).$implicit,e=R(5);return B(uGb(e,d))});L(1,"span",27);U(2);M()()}if(a&2){a=R(2).$implicit;var c=R(5);K("title",c.trackers[a.value]==null?null:c.trackers[a.value].name);E(2);V(" ",c.trackers[a.value]==null?null:c.trackers[a.value].name," ")}},wGb=function(a){if(a&
1){var b=y();L(0,"div",24)(1,"b-tracker-picker",43);Q("onTrackerSelect",function(c){z(b);var d=R(7);d.analytics.trackEvent("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;ps(d);return B()});M()()}a&2&&(a=R(7),E(),K("selectedTracker",a.trackerUnderEdit))},xGb=function(a){if(a&1){var b=y();L(0,"div",42);I(1,vGb,3,2,"div",23);I(2,wGb,2,1,"div",24);L(3,"button",25);Q("click",
function(){z(b);var d=R().$implicit,e=R(3).$implicit,f=R(2);return B(qs(f,e,d))});M()()}if(a&2){a=R().$implicit;var c=R(5);E();J(c.chipUnderEdit===a?-1:1);E();J(c.chipUnderEdit===a?2:-1)}},yGb=function(a,b){a&1&&I(0,xGb,4,2,"div",42);a&2&&(a=b.$implicit,b=R(5),J(b.chipUnderEdit===a||a.value?0:-1))},zGb=function(a){if(a&1){var b=y();L(0,"button",29);Q("click",function(){z(b);var c=R(3).$implicit,d=R(2);return B(rs(d,c))});U(1);M()}a&2&&(a=R(3).$implicit,E(),V(" + ",a.type=="OR"||a.type=="NAND"?"OR":
"AND"," "))},AGb=function(a){a&1&&(L(0,"div",19),Mj(1,yGb,1,1,null,null,Lj),I(3,zGb,2,1,"button",21),M());a&2&&(a=R(2).$implicit,E(),Nj(a.values),E(2),J(a.type?3:-1))},CGb=function(a){if(a&1){var b=y();L(0,"div",26);W(1,"teamPath");Q("click",function(){z(b);var d=R(2).$implicit,e=R(6);return B(BGb(e,d))});L(2,"span",27);U(3);W(4,"teamPath");M()()}if(a&2){a=R(2).$implicit;var c=R(6);K("title",X(1,2,c.teams[a.value]));E(3);V(" ",X(4,4,c.teams[a.value])," ")}},EGb=function(a){if(a&1){var b=y();L(0,"div",
24)(1,"b-team-picker",46);Q("onTeamSelect",function(c){z(b);var d=R(8);return B(DGb(d,c))});M()()}a&2&&(a=R(8),E(),K("teamSelected",a.teamUnderEdit))},FGb=function(a){if(a&1){var b=y();L(0,"div",44);I(1,CGb,5,6,"div",23);I(2,EGb,2,1,"div",24);L(3,"button",45);Q("click",function(){z(b);var d=R().$implicit;R(6);d.includeSubs=!d.includeSubs;return B()});N(4,"mat-icon",40);M();L(5,"button",25);Q("click",function(){z(b);var d=R().$implicit,e=R(4).$implicit,f=R(2);return B(qs(f,e,d))});M()()}if(a&2){a=
R().$implicit;var c=R(6);E();J(c.chipUnderEdit===a?-1:1);E();J(c.chipUnderEdit===a?2:-1);E();K("title",a.includeSubs?"Subteams are included":"Subteams are not included");Hj("aria-checked",a.includeSubs);E();K("svgIcon",a.includeSubs?"child-teams-24px":"child-teams-hide-24px")}},GGb=function(a,b){a&1&&I(0,FGb,6,5,"div",44);a&2&&(a=b.$implicit,b=R(6),J(b.chipUnderEdit===a||a.value?0:-1))},HGb=function(a){if(a&1){var b=y();L(0,"button",29);Q("click",function(){z(b);var c=R(4).$implicit,d=R(2);return B(rs(d,
c))});U(1);M()}a&2&&(a=R(4).$implicit,E(),V(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},IGb=function(a){a&1&&(Mj(0,GGb,1,1,null,null,Lj),I(2,HGb,2,1,"button",21));a&2&&(a=R(3).$implicit,Nj(a.values),E(2),J(a.type?2:-1))},JGb=function(a){a&1&&(L(0,"div",19),I(1,IGb,3,1),M());a&2&&(a=R(4),E(),J(a.sessionIsInternal?1:-1))},LGb=function(a){if(a&1){var b=y();L(0,"div")(1,"bv2-input-date-picker",47);Q("boundValueChange",function(d){z(b);R(3).$implicit.dateFrom=KGb(d);return B()});M();U(2," and ");
L(3,"bv2-input-date-picker",47);Q("boundValueChange",function(d){z(b);R(3).$implicit.dateTo=KGb(d);return B()});M()()}if(a&2){a=R(3).$implicit;var c=R(2);E();K("boundValue",c.getDateValue(a.dateFrom))("isRequired",!0);E(2);K("boundValue",c.getDateValue(a.dateTo))("isRequired",!0)}},MGb=function(a){if(a&1){var b=y();L(0,"div");U(1," the last ");L(2,"input",48);xk("ngModelChange",function(c){z(b);var d=R(3).$implicit;wk(d.duration,c)||(d.duration=c);return B(c)});M();U(3," days. ");M()}a&2&&(a=R(3).$implicit,
E(2),vk("ngModel",a.duration))},NGb=function(a){if(a&1){var b=y();L(0,"div")(1,"bv2-input-date-picker",47);Q("boundValueChange",function(d){z(b);R(3).$implicit.dateFrom=KGb(d);return B()});M()()}if(a&2){a=R(3).$implicit;var c=R(2);E();K("boundValue",c.getDateValue(a.dateFrom))("isRequired",!0)}},OGb=function(a){a&1&&(L(0,"div"),I(1,LGb,4,4,"div"),I(2,MGb,4,1,"div"),I(3,NGb,2,2,"div"),M());a&2&&(a=R(2).$implicit,E(),J(a.type=="RANGE"||a.type=="NRANGE"?1:-1),E(),J(a.type=="DURATION"||a.type=="NDURATION"?
2:-1),E(),J(a.type=="LE"||a.type=="LT"||a.type=="GE"||a.type=="GT"||a.type=="OR"?3:-1))},PGb=function(a){if(a&1){var b=y();L(0,"div",26);Q("click",function(){z(b);var d=R(2).$implicit,e=R(5);return B(ss(e,d))});L(1,"span",27);U(2);M()()}if(a&2){a=R(2).$implicit;var c=R(5);K("title",(c.hotlists[a.value]==null?null:c.hotlists[a.value].name)||a.value);E(2);V(" ",(c.hotlists[a.value]==null?null:c.hotlists[a.value].name)||a.value," ")}},QGb=function(a,b){a&1&&(L(0,"mat-option",11),U(1),M());a&2&&(a=b.$implicit,
K("value",a.hotlistId),E(),V(" ",a.name," "))},RGb=function(a){if(a&1){var b=y();L(0,"mat-form-field",50)(1,"mat-select",51);xk("ngModelChange",function(d){z(b);var e=R(2).$implicit;wk(e.value,d)||(e.value=d);return B(d)});Q("selectionChange",function(){z(b);var d=R(7);return B(ps(d))});Mj(2,QGb,2,2,"mat-option",11,Lj);M()()}if(a&2){a=R(2).$implicit;var c=R(5);E();vk("ngModel",a.value);E();Nj(c.userHotlists)}},SGb=function(a){if(a&1){var b=y();L(0,"div",49);I(1,PGb,3,2,"div",23);I(2,RGb,4,1,"mat-form-field",
50);L(3,"button",25);Q("click",function(){z(b);var d=R().$implicit,e=R(3).$implicit,f=R(2);return B(qs(f,e,d))});M()()}if(a&2){a=R().$implicit;var c=R(5);E();J(c.chipUnderEdit===a?-1:1);E();J(c.chipUnderEdit===a?2:-1)}},TGb=function(a,b){a&1&&I(0,SGb,4,2,"div",49);a&2&&(a=b.$implicit,b=R(5),J(b.chipUnderEdit===a||a.value?0:-1))},UGb=function(a){if(a&1){var b=y();L(0,"button",29);Q("click",function(){z(b);var c=R(3).$implicit,d=R(2);return B(rs(d,c))});U(1);M()}a&2&&(a=R(3).$implicit,E(),V(" + ",a.type==
"OR"||a.type=="NAND"?"OR":"AND"," "))},VGb=function(a){a&1&&(L(0,"div",19),Mj(1,TGb,1,1,null,null,Lj),I(3,UGb,2,1,"button",21),M());a&2&&(a=R(2).$implicit,E(),Nj(a.values),E(2),J(a.type?3:-1))},WGb=function(a){if(a&1){var b=y();L(0,"div",26);Q("click",function(){z(b);var d=R(2).$implicit,e=R(5);return B(ss(e,d))});L(1,"span",27);U(2);M()()}if(a&2){a=R(2).$implicit;var c=R(5);K("title",(c.savedSearches[a.value]==null?null:c.savedSearches[a.value].name)||a.value);E(2);V(" ",(c.savedSearches[a.value]==
null?null:c.savedSearches[a.value].name)||a.value," ")}},XGb=function(a,b){a&1&&(L(0,"mat-option",11),U(1),M());a&2&&(a=b.$implicit,K("value",a.searchId),E(),V(" ",a.name," "))},YGb=function(a){if(a&1){var b=y();L(0,"mat-form-field",50)(1,"mat-select",52);xk("ngModelChange",function(d){z(b);var e=R(2).$implicit;wk(e.value,d)||(e.value=d);return B(d)});Q("selectionChange",function(){z(b);var d=R(7);return B(ps(d))});Mj(2,XGb,2,2,"mat-option",11,Lj);M()()}if(a&2){a=R(2).$implicit;var c=R(5);E();vk("ngModel",
a.value);E();Nj(c.userSavedSearches)}},ZGb=function(a){if(a&1){var b=y();L(0,"div",49);I(1,WGb,3,2,"div",23);I(2,YGb,4,1,"mat-form-field",50);L(3,"button",25);Q("click",function(){z(b);var d=R().$implicit,e=R(3).$implicit,f=R(2);return B(qs(f,e,d))});M()()}if(a&2){a=R().$implicit;var c=R(5);E();J(c.chipUnderEdit===a?-1:1);E();J(c.chipUnderEdit===a?2:-1)}},$Gb=function(a,b){a&1&&I(0,ZGb,4,2,"div",49);a&2&&(a=b.$implicit,b=R(5),J(b.chipUnderEdit===a||a.value?0:-1))},aHb=function(a){if(a&1){var b=y();
L(0,"button",29);Q("click",function(){z(b);var c=R(3).$implicit,d=R(2);return B(rs(d,c))});U(1);M()}a&2&&(a=R(3).$implicit,E(),V(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},bHb=function(a){a&1&&(L(0,"div",19),Mj(1,$Gb,1,1,null,null,Lj),I(3,aHb,2,1,"button",21),M());a&2&&(a=R(2).$implicit,E(),Nj(a.values),E(2),J(a.type?3:-1))},cHb=function(a){a&1&&(L(0,"div",14),I(1,cGb,4,1,"div",19),I(2,eGb,3,0,"div",20),I(3,jGb,5,4,"div"),I(4,mGb,4,1,"div",19),I(5,tGb,4,1,"div",19),I(6,AGb,4,1,"div",19),
I(7,JGb,2,1,"div",19),I(8,OGb,4,3,"div"),I(9,VGb,4,1,"div",19),I(10,bHb,4,1,"div",19),M());if(a&2){a=R().$implicit;var b=R(2);E();J(a.getWidgetType()==="repeated-enum"?1:-1);E();J(a.getWidgetType()==="enum"?2:-1);E();J(a instanceof ts?3:-1);E();J(a.getWidgetType()=="text"?4:-1);E();J(a.getWidgetType()=="component"?5:-1);E();J(b.isTrackerSearchEnabled&&a.getWidgetType()=="tracker"?6:-1);E();J(a.getWidgetType()=="team"?7:-1);E();J(a.getWidgetType()==="date"?8:-1);E();J(a.getWidgetType()=="hotlist"?
9:-1);E();J(a.getWidgetType()=="savedsearch"?10:-1)}},dHb=function(a){a&1&&(L(0,"div",15),U(1),M());if(a&2){a=R().$implicit;var b=R(2);E();V(" ",b.getCustomFieldName(a)," ")}},gHb=function(a){if(a&1){var b=y();L(0,"div",16)(1,"b-custom-field-picker",53);Q("fieldSelected",function(c){z(b);var d=R().$index,e=R(2),f=c.customFieldId;e.customFields[f]=c;e.expressions[d]=eHb(e.searchRuleFactory,"CUSTOM_FIELD",e.customFields[f]);fHb(e,e.expressions[d]);return B()});M()()}},iHb=function(a,b){if(a&1){var c=
y();L(0,"div",5)(1,"div",12)(2,"mat-form-field",4)(3,"mat-select",13);xk("ngModelChange",function(d){var e=z(c).$implicit;wk(e.label.field,d)||(e.label.field=d);return B(d)});Q("selectionChange",function(){var d=z(c).$index,e=R(2);return B(hHb(e,d))});Mj(4,UFb,2,2,"mat-option",11,Lj);M()();I(6,WFb,4,1,"mat-form-field",4);M();I(7,cHb,11,10,"div",14);I(8,dHb,2,1,"div",15);I(9,gHb,2,0,"div",16);L(10,"button",17);Q("click",function(){var d=z(c).$implicit,e=R(2);return B(e.removeExpression(d))});M()()}a&
2&&(a=b.$implicit,b=R(2),E(3),vk("ngModel",a.label.field),E(),Nj(b.availableLabels),E(2),J(a.isPendingCustomField?-1:6),E(),J(a.isPendingCustomField?-1:7),E(),J(a.label.customFieldId?8:-1),E(),J(a.isPendingCustomField?9:-1))},jHb=function(a,b){if(a&1){var c=y();L(0,"button",54);Q("click",function(){var d=z(c).$implicit,e=R(2);e.expressions.push({label:{field:d[0]}});hHb(e,e.expressions.length-1);return B()});U(1);M()}a&2&&(a=b.$implicit,E(),V(" ",a[1]," "))},kHb=function(a){a&1&&(L(0,"div",1)(1,"div",
2)(2,"span",3),U(3,"Advanced search query builder"),M(),I(4,TFb,5,3,"mat-form-field",4),M(),Mj(5,iHb,11,5,"div",5,Kj),L(7,"div",6)(8,"button",7),U(9),M(),L(10,"mat-menu",8,0),Mj(12,jHb,2,1,"button",9,Lj),M()()());if(a&2){a=T(11);var b=R();E(4);J(b.expressions.length?4:-1);E();Nj(b.expressions);E(3);K("matMenuTriggerFor",a);E();V(" ",b.expressionType," ... ");E(3);Nj(b.availableLabels)}},mHb=function(a){if(a&1){var b=y();L(0,"button",2);Q("click",function(){z(b);var c=R();return B(lHb(c))});U(1);M()}a&
2&&(a=R(),E(),V(" ",a.buttonLabel," "))},nHb=function(a){if(a&1){var b=y();L(0,"button",3);Q("click",function(){z(b);var c=R();return B(lHb(c))});N(1,"mat-icon",4);U(2);M()}a&2&&(a=R(),K("matTooltip","Open release notes"),E(),K("svgIcon",a.alertMode?"release-notes-alert":"release-notes-default"),E(),V(" ",a.buttonLabel," "))},oHb=function(a){if(a&1){var b=y();L(0,"button",9);Q("click",function(c){z(b);var d=R();return B(d.manageSlos(c))});U(1,"Manage SLOs");M()}},pHb=function(a){a&1&&N(0,"mat-divider")(1,
"b-whats-new-button",11);a&2&&(E(),K("menuMode",!0))},qHb=function(a){a&1&&N(0,"b-whats-new-button",0);a&2&&(a=R(),K("alertMode",a.majorReleaseNotesUpdated))},rHb=function(a){if(a&1){var b=y();L(0,"button",4);Q("click",function(){z(b);var c=R();return B(c.openFeedbackDialog())});N(1,"mat-icon",5);M()}},sHb=function(a){if(a&1){var b=y();L(0,"button",5);Q("click",function(){z(b);var c=R();return B(c.clickMenu.emit())});N(1,"mat-icon",6);M()}},vHb=function(a,b){a&1&&(L(0,"output",7),U(1),M());a&2&&(a=
b.$implicit,sk(a.color?Dk(3,tHb,a.color):Ck(5,uHb)),E(),tk(a.name))},wHb=function(a){a&1&&(L(0,"span"),U(1," Currently selected hotlist: "),L(2,"strong"),U(3),M()());a&2&&(a=R(3),E(3),tk(a.header.hotlist.name))},xHb=function(a){a&1&&U(0," Showing your subscribed hotlists. Start typing a hotlist name or ID to filter. ")},yHb=function(a){a&1&&I(0,wHb,4,1,"span")(1,xHb,1,0);a&2&&(a=R(2),J(a.header.hotlist?0:1))},zHb=function(a){a&1&&(L(0,"span"),U(1,"Currently selected saved search: "),L(2,"strong"),
U(3),M()());a&2&&(a=R(3),E(3),tk(a.header.savedSearch.name))},AHb=function(a){a&1&&U(0," Showing your saved searches. Start typing a saved search name or ID to filter. ")},BHb=function(a){a&1&&I(0,zHb,4,1,"span")(1,AHb,1,0);a&2&&(a=R(2),J(a.header.savedSearch?0:1))},CHb=function(a){a&1&&(L(0,"span"),U(1," and "),L(2,"strong"),U(3,"subcomponents"),M()())},DHb=function(a){a&1&&(L(0,"span"),U(1," Currently selected component: "),L(2,"strong",3),U(3),M(),N(4,"b-component-access-level-indicator",4)(5,
"b-tracker-chip-smart",5),I(6,CHb,4,0,"span"),M());if(a&2){a=R(3);E(3);var b=a.header.component,c=us(a.trackerHelpers,b.componentPathInfo);tk(c&&c.componentPathName?c.componentPathName.join(" > "):b.name);E();K("accessLevel",a.header.component.accessLimit==null?null:a.header.component.accessLimit.accessLevel);E();K("trackerId",a.header.component.trackerId);E();J(a.header.includeChildren?6:-1)}},EHb=function(a){a&1&&U(0," Start typing a component name or ID to see auto-complete suggestions. ")},FHb=
function(a){a&1&&I(0,DHb,7,4,"span")(1,EHb,1,0);a&2&&(a=R(2),J(a.header.component?0:1))},GHb=function(a){a&1&&(L(0,"span"),U(1," Currently selected tracker: "),L(2,"strong"),U(3),M()());a&2&&(a=R(3),E(3),tk(a.header.tracker.name))},HHb=function(a){a&1&&U(0," Start typing a tracker name or ID to see auto-complete suggestions. ")},IHb=function(a){a&1&&I(0,GHb,4,1,"span")(1,HHb,1,0);a&2&&(a=R(2),J(a.header.tracker?0:1))},JHb=function(a){a&1&&(L(0,"span"),U(1," and "),L(2,"strong"),U(3,"subteams"),M()())},
KHb=function(a){a&1&&(L(0,"span"),U(1," Currently selected team: "),L(2,"strong"),U(3),M(),I(4,JHb,4,0,"span"),M());a&2&&(a=R(3),E(3),tk(a.header.team.name),E(),J(a.header.includeChildren?4:-1))},LHb=function(a){a&1&&U(0," Start typing a team name or ID to see auto-complete suggestions. ")},MHb=function(a){a&1&&I(0,KHb,5,2,"span")(1,LHb,1,0);a&2&&(a=R(2),J(a.header.team?0:1))},NHb=function(a,b){a&1&&(L(0,"span"),U(1," Currently selected custom field: "),L(2,"strong"),U(3),M(),U(4," of type "),L(5,
"strong"),U(6),W(7,"lowercase"),M(),U(8,". "),M());a&2&&(E(3),tk(b.name),E(3),tk(X(7,2,b.type)))},OHb=function(a){a&1&&U(0," Start typing a custom field name or ID to see auto-complete suggestions. ")},PHb=function(a){a&1&&I(0,NHb,9,4,"span")(1,OHb,1,0);if(a&2){var b;a=R(2);J((b=a.header.customField)?0:1,b)}},QHb=function(a){a&1&&(L(0,"div",0),I(1,yHb,2,1),I(2,BHb,2,1),I(3,FHb,2,1),I(4,IHb,2,1),I(5,MHb,2,1),I(6,PHb,2,1),M());a&2&&(a=R(),E(),J(a.header.type==="hotlist"?1:-1),E(),J(a.header.type===
"savedsearch"?2:-1),E(),J(a.header.type==="component"?3:-1),E(),J(a.header.type==="tracker"?4:-1),E(),J(a.header.type==="team"?5:-1),E(),J(a.header.type==="customfield"?6:-1))},RHb=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R().$implicit,E(),uk(" ",a.id,": ",a.name," "))},SHb=function(a){a&1&&(L(0,"span"),U(1),L(2,"span"),U(3),M()());a&2&&(a=R().$implicit,E(),V(" Hotlist ",a.id,": "),E(2),tk(a.name))},THb=function(a){a&1&&(L(0,"span"),U(1),L(2,"span"),U(3),M(),N(4,"br"),L(5,"span",7),U(6),M()());
a&2&&(a=R().$implicit,E(),V(" Saved search ",a.id,": "),E(2),tk(a.name),E(3),tk(a.query))},UHb=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R().$implicit,E(),V(" ",a.name," "))},VHb=function(a){a&1&&(L(0,"span"),U(1," > "),M())},XHb=function(a,b){if(a&1){var c=y();L(0,"span",9);Q("click",function(e){var f=z(c).$implicit;WHb(f);return B(e.stopPropagation())});U(1);M();I(2,VHb,2,0,"span")}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;K("title",Ak("",a.id,": ",a.name));E();tk(a.name);E();J(d!==
b-1?2:-1)}},YHb=function(a){a&1&&(L(0,"span"),U(1," Component "),L(2,"strong",3),U(3),M(),N(4,"b-component-access-level-indicator",4)(5,"b-tracker-chip-smart",5),L(6,"span",8),Mj(7,XHb,3,5,null,null,Lj),M()());a&2&&(a=R().$implicit,E(3),tk(a.id),E(),K("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel),E(),K("trackerId",a.trackerId),E(2),Nj(a.componentPath))},ZHb=function(a){a&1&&(L(0,"span"),U(1),L(2,"span"),U(3),M()());a&2&&(a=R().$implicit,E(),V(" Tracker ",a.id,": "),E(2),tk(a.name))},
$Hb=function(a){a&1&&(L(0,"span"),U(1," > "),M())},aIb=function(a,b){if(a&1){var c=y();L(0,"span",9);Q("click",function(e){var f=z(c).$implicit;WHb(f);return B(e.stopPropagation())});U(1);M();I(2,$Hb,2,0,"span")}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;K("title",Ak("",a.id,": ",a.name));E();tk(a.name);E();J(d!==b-1?2:-1)}},bIb=function(a){a&1&&(L(0,"span"),U(1," Team "),L(2,"strong"),U(3),M(),L(4,"span",8),Mj(5,aIb,3,5,null,null,Lj),M()());a&2&&(a=R().$implicit,E(3),tk(a.id),E(2),Nj(a.teamPath))},
cIb=function(a){a&1&&(L(0,"span"),U(1," > "),M())},dIb=function(a,b){a&1&&(L(0,"span"),U(1),M(),I(2,cIb,2,0,"span"));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;E();tk(a);E();J(c!==b-1?2:-1)}},eIb=function(a){a&1&&(L(0,"span"),U(1),L(2,"span"),U(3),M(),L(4,"span",10),Mj(5,dIb,3,2,null,null,Lj),M()());a&2&&(a=R().$implicit,E(),V(" Custom Field ",a.id,": "),E(2),tk(a.name),E(2),Nj(a.componentPathNames))},fIb=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R().$implicit,E(),uk(" ",a.label,": ",a.name,
" "))},hIb=function(a,b){if(a&1){var c=y();L(0,"b-app-search-auto-complete-option",6);Q("optionClicked",function(e){z(c);var f=R();e>=0&&e<f.items.length&&(e=f.items[e],e.id&&e.completionCfg&&gIb(e),f.itemSelected.emit(e));return B()});I(1,RHb,2,2,"span");I(2,SHb,4,2,"span");I(3,THb,7,3,"span");I(4,UHb,2,1,"span");I(5,YHb,9,3,"span");I(6,ZHb,4,2,"span");I(7,bIb,7,1,"span");I(8,eIb,7,2,"span");I(9,fIb,2,2,"span");M()}if(a&2){a=b.$implicit;b=b.$index;var d=R();Hj("id",zk("b-app-search-option-",b));
K("index",b)("isActive",b>=0&&b<d.items.length?b===d.activeItemIndex:!1);E();J(a.completionCfg.type==="issue"?1:-1);E();J(a.completionCfg.type==="hotlist"?2:-1);E();J(a.completionCfg.type==="savedsearch"?3:-1);E();J(a.completionCfg.type==="atom"?4:-1);E();J(a.completionCfg.type==="component"?5:-1);E();J(a.completionCfg.type==="tracker"?6:-1);E();J(a.completionCfg.type==="team"?7:-1);E();J(a.completionCfg.type==="customField"?8:-1);E();J(d.SPECIAL_ITEM_TYPES.includes(a.completionCfg.type)?-1:9)}},
jIb=function(a,b){var c=0,d=0;iIb(a)&&(c=a.selectionStart,d=b?-1:a.selectionEnd);return[c,d]},iIb=function(a){try{return typeof a.selectionStart=="number"}catch(b){return!1}},lIb=function(a){if(a&1){var b=y();L(0,"div",21)(1,"input",22,2);xk("ngModelChange",function(c){z(b);var d=R();wk(d.searchName,c)||(d.searchName=c);return B(c)});Q("keydown.Tab",function(){z(b);var c=R();return B(kIb(c))})("keydown.enter",function(){z(b);var c=R();return B(c.saveSearch())});M();L(3,"button",18);Q("click",function(){z(b);
var c=R();return B(c.saveSearch())});U(4," Save ");M()()}a&2&&(a=R(),E(),vk("ngModel",a.searchName),E(2),K("disabled",!a.searchName))},mIb=function(a){a&1&&(L(0,"span",9),U(1),M());a&2&&(a=R(),rk("muted",a.disabled),E(),tk(a.cardTitle))},nIb=function(a){a&1&&(L(0,"mat-select-trigger"),N(1,"mat-icon",15),L(2,"span"),U(3),M()());a&2&&(a=R(3),E(),K("svgIcon",a.selectedOption.icon),E(2),tk(a.selectedOption.displayText))},oIb=function(a){a&1&&N(0,"mat-icon",15);a&2&&(a=R().$implicit,K("svgIcon",a.icon))},
pIb=function(a,b){a&1&&(L(0,"mat-option",14),I(1,oIb,1,1,"mat-icon",15),U(2),M());a&2&&(a=b.$implicit,K("value",a),E(),J(a.icon?1:-1),E(),V(" ",a.displayText," "))},qIb=function(a){if(a&1){var b=y();L(0,"mat-form-field",12)(1,"mat-label");U(2," Choose type... ");M();L(3,"mat-select",13);xk("valueChange",function(c){z(b);var d=R(2);wk(d.selectedOption,c)||(d.selectedOption=c);return B(c)});Q("selectionChange",function(c){z(b);R(2).dropdownSelectionChanged.emit(c.value);return B()});I(4,nIb,4,2,"mat-select-trigger");
Mj(5,pIb,3,3,"mat-option",14,Lj);M()()}a&2&&(a=R(2),E(3),K("disabled",a.disabled),vk("value",a.selectedOption),E(),J(a.selectedOption&&a.selectedOption.icon?4:-1),E(),Nj(a.dropdownOptions))},rIb=function(a){if(a&1){var b=y();L(0,"mat-form-field",10)(1,"input",11);Q("ngModelChange",function(c){z(b);var d=R();return B(d.cardTitleChange.emit(c))});M()();I(2,qIb,7,3,"mat-form-field",12)}a&2&&(a=R(),E(),rk("muted",a.disabled||!a.selected),K("placeholder",a.placeholderForCardTitle)("disabled",a.disabled||
!a.selected)("ngModel",a.cardTitle),Hj("aria-label",a.ariaLabelForCardTitle),E(),J(a.dropdownOptions.length?2:-1))},sIb=function(a){a&1&&N(0,"mat-icon",5)},tIb=function(a){a&1&&N(0,"mat-icon",6)},uIb=function(a){a&1&&(L(0,"div",7),ak(1),M())},vIb=function(a){a&1&&(L(0,"button",18),N(1,"mat-icon",22),M());a&2&&(a=R(2),K("disabled",a.disabled))},wIb=function(a){a&1&&N(0,"mat-divider",19);a&2&&K("vertical",!0)},xIb=function(a){a&1&&(L(0,"mat-slide-toggle",20),U(1," Required "),M());a&2&&(a=R(2),K("disabled",
a.disabled))},yIb=function(a){if(a&1){var b=y();L(0,"mat-slide-toggle",23);Q("change",function(c){z(b);var d=R(2);return B(d.isInheritedChange.emit(c))});U(1," Inherited ");M()}a&2&&(a=R(2),K("checked",a.isInherited)("disabled",a.inheritedDisabled)("matTooltip",a.inheritedDisabledTooltipText)("matTooltipDisabled",!a.inheritedDisabled))},zIb=function(a){if(a&1){var b=y();L(0,"div",8)(1,"button",16);Q("click",function(){z(b);var c=R();return B(c.onSave())});U(2," Save ");M();L(3,"button",17);Q("click",
function(){z(b);var c=R();return B(c.onCancel())});U(4," Cancel ");M();I(5,vIb,2,1,"button",18);I(6,wIb,1,1,"mat-divider",19);I(7,xIb,2,1,"mat-slide-toggle",20);I(8,yIb,2,4,"mat-slide-toggle",21);M()}a&2&&(a=R(),E(),K("disabled",a.isSaveButtonDisabled),E(2),K("disabled",a.disabled),E(2),J(a.showDeleteButton?5:-1),E(),J(a.showDeleteButton&&a.showRequiredToggle?6:-1),E(),J(a.showRequiredToggle?7:-1),E(),J(a.showInheritedToggle?8:-1))},AIb=function(a,b){a&1&&(L(0,"mat-option",6),U(1),M());a&2&&(a=b.$implicit,
K("value",a),E(),tk(a.name))},BIb=function(a){if(a&1){var b=y();L(0,"mat-form-field")(1,"mat-select",5);xk("valueChange",function(c){z(b);var d=R();wk(d.selected,c)||(d.selected=c);return B(c)});Mj(2,AIb,2,2,"mat-option",6,Lj);M()()}a&2&&(a=R(),E(),vk("value",a.selected),E(),Nj(a.options))},CIb=function(a){a&1&&U(0," All the available shared fields have been activated. ")},DIb=function(a){a&1&&(L(0,"div"),U(1," Once activated, the shared field will appear in the right panel of all issues. This only affects the visibility of the shared field in Buganizer UI. "),
L(2,"a",7),U(3,"Learn more"),M()())},EIb=function(a){return eza(a.getIt())},FIb=function(a){a&1&&(L(0,"h3"),U(1),M());a&2&&(a=R(2),E(),V(" Edit Custom Field ",a.editableField.customFieldId," "))},GIb=function(a){a&1&&(L(0,"h3"),U(1," Create Custom Field "),M())},HIb=function(a){a&1&&(L(0,"div",11),U(1),M());a&2&&(a=R(2),E(),V(" ",a.serverError," "))},JIb=function(a,b){a&1&&(L(0,"button",25),U(1),W(2,"enumToHuman"),M());a&2&&(a=b.$implicit,R(),b=T(33),K("matMenuTriggerFor",b)("matMenuTriggerData",
Dk(5,IIb,a)),E(),V(" ",X(2,3,a)," "))},KIb=function(a,b){if(a&1){var c=y();L(0,"button",41);Q("click",function(){var d=z(c).$implicit,e=R().type,f=R(2);return B(f.setType(e,d==="Multiple"))});U(1);M()}a&2&&(a=b.$implicit,E(),V(" ",a," "))},LIb=function(a){a&1&&Mj(0,KIb,2,1,"button",40,Lj);a&2&&(a=R(2),Nj(a.secondaryTypes))},NIb=function(a){if(a&1){var b=y();L(0,"td",13)(1,"label",42);U(2," Allowed Values: ");M();L(3,"b-list-field",43);Q("valuesChange",function(c){z(b);var d=R(2);return B(MIb(d,c.values))});
M()()}a&2&&(a=R(2),E(3),K("defaultLineCount",3)("type",a.ListFieldType.REPEATED_TEXT)("values",a.editableField.allowedValue||null)("listFieldDisabled",a.isSaving)("preventDuplicates",!0)("isDefaultOrAllowedValues",!0)("truncate",!0))},OIb=function(a){a&1&&(L(0,"label",27),U(1," Default Value: "),M())},RIb=function(a,b){if(a&1){var c=y();L(0,"b-edit-field",44);Q("valueChange",function(d){z(c);var e=R(2);PIb(e,d);return B()});M()}a&2&&(a=R(2),K("name","Default")("type",b)("tooltip","Set default value")("value",
QIb(a))("choices",a.allowedValues)("showEnumTitle",!0)("disabled",a.isSaving)("truncate",!0)("clearable",!0))},SIb=function(a){a&1&&(L(0,"label",29),U(1," Default Values: "),M())},TIb=function(a,b){if(a&1){var c=y();L(0,"b-list-field",45);Q("valuesChange",function(d){z(c);var e=R(2);PIb(e,d.values);return B()});M()}a&2&&(a=R(2),K("defaultLineCount",3)("type",b)("tooltip","Set default values")("values",a.getListFieldValues())("enumChoices",a.allowedValues)("isDefaultOrAllowedValues",!0)("listFieldDisabled",
a.isSaving)("truncate",!0))},UIb=function(a,b){if(a&1){var c=y();L(0,"button",46);Q("click",function(){var d=z(c).$implicit,e=R(2);return B(e.setFieldSignificance(d))});U(1);W(2,"enumToHuman");M()}a&2&&(a=b.$implicit,E(),V(" ",X(2,1,a)," "))},VIb=function(a){if(a&1){var b=y();L(0,"div",9);I(1,FIb,2,1,"h3")(2,GIb,2,0,"h3");I(3,HIb,2,1,"div",11);L(4,"form",12)(5,"div",13)(6,"label",14);U(7,"Name:");M();L(8,"input",15);xk("ngModelChange",function(q){z(b);var u=R();wk(u.editableField.name,q)||(u.editableField.name=
q);return B(q)});M()();L(9,"div",13)(10,"label",16);U(11,"Description:");M();L(12,"textarea",17);xk("ngModelChange",function(q){z(b);var u=R();wk(u.editableField.description,q)||(u.editableField.description=q);return B(q)});M()();L(13,"table",18)(14,"tr")(15,"td",13)(16,"div",19)(17,"label",20);U(18," Type: ");M();L(19,"onedev-hovercard",null,0)(21,"div",21)(22,"div",22);U(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. ");
M()()()();L(24,"button",23);U(25);W(26,"enumToHuman");N(27,"b-icon",24);M();L(28,"mat-menu",null,1);Mj(30,JIb,3,7,"button",25,Lj);M();L(32,"mat-menu",null,2);G(34,LIb,2,0,"ng-template",26);M()();I(35,NIb,4,7,"td",13);L(36,"td",13);I(37,OIb,2,0,"label",27);I(38,RIb,1,9,"b-edit-field",28);I(39,SIb,2,0,"label",29);I(40,TIb,1,8,"b-list-field",30);M();L(41,"td",13)(42,"label",31);U(43," Required: ");M();L(44,"b-edit-field",32);Q("valueChange",function(q){z(b);var u=R();return B(u.editableField.required=
!!q)});M()();L(45,"td",13)(46,"div",19)(47,"label",33);U(48," Field Significance: ");M();L(49,"onedev-hovercard",null,3)(51,"div",34)(52,"div",22);U(53," This affects whether users will receive notifications when changes are made to this field. ");N(54,"br");U(55," See\u00a0 ");L(56,"a",35);U(57,"Email Settings ");M()()()()();L(58,"button",36);U(59);W(60,"enumToHuman");N(61,"b-icon",24);M();L(62,"mat-menu",null,4);Mj(64,UIb,3,3,"button",37,Lj);M()()()();L(66,"button",38);Q("click",function(){z(b);
var q=R();return B(q.save())});U(67," Save ");M();L(68,"button",39);Q("click",function(){z(b);var q=R();return B(q.cancel())});U(69," Cancel ");M()()()}if(a&2){var c,d;a=T(20);var e=T(29),f=T(50),h=T(63),k=R();E();J(k.editableField.customFieldId?1:2);E(2);J(k.serverError?3:-1);E(5);K("bFocus",k.editableField&&!k.isLoading);vk("ngModel",k.editableField.name);K("disabled",k.isSaving);E(4);vk("ngModel",k.editableField.description);K("disabled",k.isSaving);E(5);K("onedevHovercardTrigger",a);E(7);K("matMenuTriggerFor",
e)("disabled",!!k.editableField.customFieldId);E();V(" ",X(26,25,k.editableField.type)," ");E(5);Nj(k.typeChoices);E(5);J(["REPEATED_ENUM","ENUM"].includes(k.editableField.type)?35:-1);E(2);J(k.isRepeated(k.editableField)?-1:37);E();J((c=k.getSingleEditFieldType(k.editableField))?38:-1,c);E();J(k.isRepeated(k.editableField)?39:-1);E();J((d=k.getListFieldType(k.editableField))?40:-1,d);E(4);K("name","Required")("type",k.FieldType.BOOL)("tooltip","Whether the field is required")("value",k.editableField.required);
E(3);K("onedevHovercardTrigger",f);E(9);K("href",k.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",Ni);E(2);K("matMenuTriggerFor",h);E();V(" ",X(60,27,k.editableField.fieldSignificance)," ");E(5);Nj(k.significanceChoices);E(2);K("disabled",!k.hasUnsavedChanges()||!k.editableField.name)}},WIb=function(a){a&1&&(L(0,"div",10),N(1,"b-spinner",47),M());a&2&&(E(),K("large",!0))},XIb=function(a){a&1&&(L(0,"th"),U(1,"Actions"),M())},ZIb=function(a){if(a&1){var b=y();L(0,"td",52)(1,"button",
53);Q("click",function(){z(b);var c=R().$index,d=R(2);return B(d.editField(c))});U(2,"Edit");M();L(3,"button",53);Q("click",function(){z(b);var c=R().$index,d=R(2);return B(YIb(d,c))});U(4,"Delete");M()()}},$Ib=function(a,b){a&1&&(L(0,"tr")(1,"td"),U(2),M(),L(3,"td"),U(4),M(),L(5,"td"),U(6),W(7,"enumToHuman"),M(),L(8,"td"),U(9),M(),L(10,"td"),U(11),W(12,"yesNo"),M(),L(13,"td"),N(14,"b-custom-field-value-display",51),M(),L(15,"td"),U(16),W(17,"arrayToHuman"),M(),L(18,"td"),U(19),W(20,"enumToHuman"),
M(),I(21,ZIb,5,0,"td",52),M());a&2&&(a=b.$implicit,b=R(2),sk(a.enabledOnIssues||b.isFieldConfigurationV2Enabled?"enabled-field":"disabled-field"),E(2),tk(a.name),E(2),tk(a.customFieldId),E(2),tk(X(7,11,a.type)),E(3),tk(a.description),E(2),tk(X(12,13,a.required)),E(3),K("customFieldValue",a.typedDefaultValue),E(2),tk(X(17,15,a.allowedValue)),E(3),tk(X(20,17,a.fieldSignificance)),E(2),J(b.editMode?21:-1))},aJb=function(a){a&1&&(L(0,"tr")(1,"td",54),U(2," There are no custom fields defined on this component. "),
M()())},bJb=function(a){a&1&&(L(0,"tr")(1,"td",55)(2,"strong"),U(3,"Fields inherited from parent components"),M()()())},cJb=function(a){a&1&&(Sj(0),N(1,"b-component-card",61,6),Tj());if(a&2){a=T(2);var b=R().$implicit;E();K("onedevIsHovercardReady",a.init)("componentId",b.componentId.toString())}},eJb=function(a){if(a&1){var b=y();L(0,"b-field-state-menu",62,7);Q("fieldStateChange",function(d){z(b);var e=R(),f=e.$implicit;e=e.$index;var h=R(3);return B(h.updateCustomFieldState(f,d,e))});M()}if(a&
2){a=R().$implicit;var c=R(3);K("fieldName",a.name)("fieldState",a.stateOnIssues)("enabledOnParent",dJb(c,a.customFieldId))("disabled",!c.editMode)("matTooltip",c.msgFieldStateTip);Hj("aria-label",c.msgFieldStateTip)}},fJb=function(a,b){if(a&1){var c=y();L(0,"tr")(1,"td");U(2);M();L(3,"td");U(4);M();L(5,"td");U(6);W(7,"enumToHuman");M();L(8,"td");U(9);M();L(10,"td");U(11);W(12,"yesNo");M();L(13,"td");N(14,"b-custom-field-value-display",51);M();L(15,"td");U(16);W(17,"arrayToHuman");M();L(18,"td");
U(19);W(20,"enumToHuman");M();L(21,"td",52)(22,"div",56)(23,"div",57);U(24,"Inherited From");M();L(25,"a",58);Q("click",function(){z(c);var e=R(3);return B(e.trackClick("parentCustomFields"))});U(26);M();L(27,"onedev-hovercard",null,5);G(29,cJb,3,2,"ng-container",59);M()();I(30,eJb,2,6,"b-field-state-menu",60);M()()}if(a&2){a=b.$implicit;b=T(28);var d=R(3);sk(a.enabledOnIssues?"enabled-field":"disabled-field");E(2);tk(a.name);E(2);tk(a.customFieldId);E(2);tk(X(7,14,a.type));E(3);tk(a.description);
E(2);tk(X(12,16,a.required));E(3);K("customFieldValue",a.typedDefaultValue);E(2);tk(X(17,18,a.allowedValue));E(3);tk(X(20,20,a.fieldSignificance));E(6);K("onedevHovercardTrigger",b)("href",d.ROUTES.editComponentFields.makeHref(a.componentId),Ni);E();V(" ",d.componentIdsToNames[a.componentId]," ");E(4);J(d.editMode&&!d.isFieldConfigurationV2Enabled?30:-1)}},gJb=function(a){a&1&&Mj(0,fJb,31,22,"tr",49,Lj);a&2&&(a=R(2),Nj(a.inheritedCustomFields))},hJb=function(a){a&1&&(L(0,"tr")(1,"td",55)(2,"strong"),
U(3,"Shared fields"),M()()())},jJb=function(a){if(a&1){var b=y();L(0,"div",52)(1,"button",64);Q("click",function(){z(b);var d=R().$implicit,e=R(3);return B(iJb(e,d.customFieldId))});U(2," Deactivate ");M()()}if(a&2){a=R().$implicit;var c=R(3);E();K("disabled",c.fieldsEnabledOnParentComponent.has(a.customFieldId))("matTooltip",c.fieldsEnabledOnParentComponent.has(a.customFieldId)?a.name+" is inherited from its parent component.\n        To deactivate this field, go to the parent component\n        that activates this shared field.":
"")}},kJb=function(a,b){a&1&&(L(0,"tr",63)(1,"td"),U(2),M(),L(3,"td"),U(4),M(),L(5,"td"),U(6),W(7,"enumToHuman"),M(),L(8,"td"),U(9),M(),L(10,"td"),U(11),W(12,"yesNo"),M(),L(13,"td"),N(14,"b-custom-field-value-display",51),M(),L(15,"td"),U(16),W(17,"arrayToHuman"),M(),L(18,"td"),U(19),W(20,"enumToHuman"),M(),L(21,"td"),I(22,jJb,3,2,"div",52),M()());a&2&&(a=b.$implicit,b=R(3),E(2),tk(a.name),E(2),tk(a.customFieldId),E(2),tk(X(7,9,a.type)),E(3),tk(a.description),E(2),tk(X(12,11,a.required)),E(3),K("customFieldValue",
a.typedDefaultValue),E(2),tk(X(17,13,a.allowedValue)),E(3),tk(X(20,15,a.fieldSignificance)),E(3),J(b.editMode?22:-1))},lJb=function(a){a&1&&Mj(0,kJb,23,17,"tr",63,Lj);a&2&&(a=R(2),Nj(a.sharedFields))},mJb=function(a){a&1&&(L(0,"tfoot")(1,"tr")(2,"td",55),U(3," Custom fields in this table are sorted alphabetically. To see or modify field ordering, go to the "),L(4,"a",65),U(5,"Field Ordering"),M(),U(6," tab."),N(7,"br"),U(8," Before removing custom fields or adding/changing required state, ensure that no automation depends on them. "),
M()()())},pJb=function(a){if(a&1){var b=y();L(0,"div",50)(1,"button",66);Q("click",function(){z(b);var c=R(2);c.editableField={customFieldId:0,componentId:void 0,name:"",type:"TEXT",description:"",typedDefaultValue:void 0,required:!1,fieldSignificance:"MINOR",allowedValue:void 0,stateOnIssues:"INHERIT",enabledOnIssues:!1,shared:!1};c.originalEditableFieldValue=wd(c.editableField);c.setType("TEXT");c.allowedValues=[];c.serverError=null;return B()});U(2," Add a Custom Field ");M();L(3,"button",67);
Q("click",function(){z(b);var c=R(2);return B(nJb(c))});U(4," Activate a Shared Field ");M()()}a&2&&(a=R(2),E(3),K("disabled",oJb(a).length==0))},qJb=function(a){a&1&&(L(0,"div")(1,"table",48)(2,"tr")(3,"th"),U(4,"Name"),M(),L(5,"th"),U(6,"ID"),M(),L(7,"th"),U(8,"Type"),M(),L(9,"th"),U(10,"Description"),M(),L(11,"th"),U(12,"Required?"),M(),L(13,"th"),U(14,"Default Value"),M(),L(15,"th"),U(16,"Allowed Values"),M(),L(17,"th"),U(18,"Field Significance"),M(),I(19,XIb,2,0,"th"),M(),Mj(20,$Ib,22,19,"tr",
49,Lj),I(22,aJb,3,0,"tr"),I(23,bJb,4,0,"tr"),I(24,gJb,2,0),I(25,hJb,4,0,"tr"),I(26,lJb,2,0),I(27,mJb,9,0,"tfoot"),M(),I(28,pJb,5,1,"div",50),M());a&2&&(a=R(),E(19),J(a.editMode?19:-1),E(),Nj(a.customFields),E(2),J(a.customFields.length?-1:22),E(),J(a.inheritedCustomFields.length?23:-1),E(),J(a.inheritedCustomFields.length?24:-1),E(),J(a.sharedFields.length?25:-1),E(),J(a.sharedFields.length?26:-1),E(),J(a.customFields.length?27:-1),E(),J(a.editMode?28:-1))},rJb=function(a){if(a&1){var b=y();L(0,"button",
17);Q("click",function(){z(b);var c=R().$index,d=R();return B(d.removeAtIndex.emit(c))});N(1,"mat-icon",18);M()}a&2&&(a=R().$implicit,Hj("aria-label","Delete row "+a.label))},sJb=function(a,b){if(a&1){var c=y();L(0,"div",9)(1,"div",11);N(2,"mat-icon",12);L(3,"div",3)(4,"mat-form-field",13)(5,"input",14,0);Q("change",function(d){var e=z(c).$index,f=R();f.options[e].label=d.target.value;f.optionsChange.emit(f.options);return B()});M()()();L(7,"div",3)(8,"mat-form-field",13)(9,"input",15,1);Q("change",
function(d){var e=z(c).$index,f=R();return B(f.valueChange(d,e))});M()()();I(11,rJb,2,1,"button",16);M()()}a&2&&(a=b.$implicit,b=R(),E(4),K("appearance","outline"),E(),rk("muted",b.disabled),K("value",a.label)("placeholder",a.label==null?"Dropdown value":"")("disabled",b.disabled),E(3),K("appearance","outline"),E(),rk("muted",b.disabled),K("value",a.value)("placeholder",a.value==null?"Average days":"")("disabled",b.disabled),E(2),J(b.disabled?-1:11))},tJb=function(a){if(a&1){var b=y();L(0,"button",
19);Q("click",function(){z(b);var c=R();return B(c.addRow.emit())});U(1," Add row ");M()}},uJb=function(a){a&1&&Uj(0)},vJb=function(a){a&1&&G(0,uJb,1,0,"ng-container",5);a&2&&(R(),a=T(7),K("ngTemplateOutlet",a))},wJb=function(a){if(a&1){var b=y();L(0,"b-numeric-config",6);xk("valueChange",function(c){z(b);var d=R();wk(d.numericSpecMultiplier,c)||(d.numericSpecMultiplier=c);return B(c)});M()}a&2&&(a=R(),K("disabled",a.disabled),vk("value",a.numericSpecMultiplier))},xJb=function(){},yJb=function(a){if(a&
1){var b=y();L(0,"div",4)(1,"label",7);U(2,"Aggregation Rule");M();L(3,"a",8);N(4,"mat-icon",9);M();N(5,"br");L(6,"mat-form-field",10)(7,"mat-select",11);xk("valueChange",function(c){z(b);var d=R();wk(d.selectedAggregationRule,c)||(d.selectedAggregationRule=c);return B(c)});L(8,"mat-select-trigger");U(9);W(10,"aggregationRuleText");M();L(11,"mat-option",12)(12,"div",13);U(13);W(14,"aggregationRuleText");M();L(15,"div",14);U(16,"All parents and children are added to the total");M()();L(17,"mat-option",
12)(18,"div",13);U(19);W(20,"aggregationRuleText");M();L(21,"div",14);U(22,"Take the assigned estimate if larger than total of all immediate children");M()()()()()}a&2&&(a=R(),E(7),vk("value",a.selectedAggregationRule),K("disabled",a.disabled),E(2),V(" ",X(10,7,a.selectedAggregationRule)," "),E(2),K("value",a.aggregationRules.SUM),E(2),tk(X(14,9,a.aggregationRules.SUM)),E(4),K("value",a.aggregationRules.MAX),E(2),tk(X(20,11,a.aggregationRules.MAX)))},zJb=function(a){if(a&1){var b=y();L(0,"b-config-grid",
15);xk("optionsChange",function(c){z(b);var d=R();wk(d.enumSpecOptions,c)||(d.enumSpecOptions=c);return B(c)});Q("addRow",function(){z(b);var c=R();return B(c.addRow())})("removeAtIndex",function(c){z(b);R().enumSpecOptions.splice(c,1);return B()});M()}a&2&&(a=R(),vk("options",a.enumSpecOptions),K("disabled",a.disabled||a.inherit))},AJb=function(a){a&1&&(L(0,"div",4),N(1,"b-team-warning",5),M());a&2&&(a=R(),E(),K("warningType",a)("messageOnly",!0))},BJb=function(a,b){a&1&&I(0,AJb,2,2,"div",4);a&2&&
(a=R(),J(!a.isAdmin||b!=="MISSING"&&b!=="DELETED"?-1:0))},CJb=function(a){if(a&1){var b=y();L(0,"div",0)(1,"mat-checkbox",6);Q("change",function(c){z(b);var d=R();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 B()});U(2," Override the inherited team ");M()()}a&2&&(a=R(),E(),K("disabled",!a.isAdmin)("checked",!a.inherit))},EJb=function(a){if(a&1){var b=y();L(0,
"a",8);Q("click",function(){z(b);R(2);Yo("component","navigate","to-internal-team-page");return B()});N(1,"mat-icon",9);M()}a&2&&(a=R(2),K("routerLink",DJb(a)?"/teams/"+a.model.id+"/edit":null)("target",a.anchorTarget))},FJb=function(a){a&1&&I(0,EJb,2,2,"a",7);a&2&&(a=R(),J(DJb(a)?0:-1))},GJb=function(a){if(a&1){var b=y();L(0,"a",11);Q("click",function(){z(b);var c=R(2);Yo("component","linkout-moma","team",Number(c.model.id));return B()});N(1,"mat-icon",9);M()}a&2&&(a=R(2),Hj("href",a.getMomaTeamLink(),
Ni))},HJb=function(a){a&1&&I(0,GJb,2,1,"a",10);a&2&&(a=R(),J(DJb(a)?0:-1))},IJb=function(a){a&1&&(L(0,"th",14),U(1," Order"),M())},JJb=function(a,b){a&1&&(L(0,"td",15),U(1),M());a&2&&(a=b.index,E(),V(" ",a+1," "))},KJb=function(a){a&1&&(L(0,"th",14),U(1," Name"),M())},LJb=function(a,b){a&1&&(L(0,"td",15),U(1),M());a&2&&(a=b.$implicit,E(),V(" ",a.name," "))},MJb=function(a){a&1&&(L(0,"th",14),U(1," Type"),M())},NJb=function(a,b){a&1&&(L(0,"td",15),U(1),W(2,"toCustomFieldTypeDisplayValue"),M());a&2&&
(a=b.$implicit,E(),V(" ",X(2,1,a.type)," "))},OJb=function(a){a&1&&(L(0,"th",14),U(1," Required"),M())},PJb=function(a,b){a&1&&(L(0,"td",15),U(1),M());a&2&&(a=b.$implicit,E(),V(" ",a.required?"Yes":"No"," "))},QJb=function(a){a&1&&(L(0,"th",14),U(1," ID"),M())},RJb=function(a,b){a&1&&(L(0,"td",15),U(1),M());a&2&&(a=b.$implicit,E(),V(" ",a.customFieldId," "))},SJb=function(a){a&1&&N(0,"tr",16)},TJb=function(a){a&1&&N(0,"tr",17)},UJb=function(a){a&1&&(L(0,"div",12),U(1," There are no custom fields defined on this component. "),
M())},XJb=function(a){if(a&1){var b=y();L(0,"div",13)(1,"div")(2,"button",18);Q("click",function(){z(b);var c=R();return B(VJb(c))});U(3," Reorder fields ");M();L(4,"button",18);Q("click",function(){z(b);var c=R();return B(WJb(c))});U(5," Reset ordering ");M()()()}a&2&&(a=R(),E(2),K("disabled",a.fields.length===0),E(2),K("disabled",a.fieldOrdering!=="CUSTOMIZED"))},YJb=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(),E(),a=a.lineNumbers.length,V(" (",a+(a==1?" TODO":" TODOs"),") "))},$Jb=function(a,
b){if(a&1){var c=y();L(0,"li",3)(1,"a",4);Q("click",function(){z(c);var d=R(2);return B(d.trackClick("lineNumber"))});U(2);M()()}a&2&&(a=b.$implicit,b=R(2),E(),K("href",ZJb(b,a),Ni),E(),tk(a))},aKb=function(a){a&1&&(L(0,"span"),U(1," ("),L(2,"ul",2),Mj(3,$Jb,3,2,"li",3,Lj),M(),U(5,") "),M());a&2&&(a=R(),E(3),Nj(a.lineNumbers))},bKb=function(a,b){a&1&&(L(0,"button",8),N(1,"mat-icon",9),M(),L(2,"onedev-hovercard",null,0)(4,"div",10)(5,"div",11)(6,"span",12),U(7),N(8,"br")(9,"br"),U(10),M()()()());if(a&
2){a=T(3);var c=R();K("onedevHovercardTrigger",a)("onedevHovercardActive",!0)("onedevHovercardConfig",c.CATEGORY_INFO_HOVERCARD_CONFIG);E(7);V(" ",b.displayName," ");E(3);V(" ",b.description," ")}},cKb=function(a){if(a&1){var b=y();L(0,"button",13);Q("click",function(){z(b);var c=R();return B(c.copyContent())});N(1,"mat-icon",14);M()}},dKb=function(a){a&1&&N(0,"mat-icon",16)},eKb=function(a){a&1&&N(0,"mat-icon",17)},fKb=function(a){a&1&&N(0,"mat-icon",19)},gKb=function(a){a&1&&N(0,"mat-icon",20)},
kKb=function(a,b){if(a&1){var c=y();L(0,"button",15);Q("click",function(){z(c);var d=R();return B(hKb(d))});I(1,dKb,1,0,"mat-icon",16)(2,eKb,1,0,"mat-icon",17);M();L(3,"button",18);Q("click",function(){z(c);var d=R();return B(iKb(d))});I(4,fKb,1,0,"mat-icon",19)(5,gKb,1,0,"mat-icon",20);M()}a&2&&(a=R(),K("disabled",a.hasFeedbackBeenGiven(b)),E(),J(jKb(a.insightsActionsService,b,a.enrichment.category).hasThumbsUpped?1:2),E(2),K("disabled",a.hasFeedbackBeenGiven(b)),E(),J(jKb(a.insightsActionsService,
b,a.enrichment.category).hasThumbsDowned?4:5))},lKb=function(a){a&1&&N(0,"b-actions-menu",7);a&2&&(R(),a=Yj(10),K("menuItems",a))},mKb=function(a){a&1&&(L(0,"section",2)(1,"div",4),N(2,"img",5),L(3,"p",6),U(4," This issue has no insights "),M(),L(5,"p",7),U(6," Automated tools can provide insights with detailed information about an issue. No insights were found for this issue. "),M()()());a&2&&(a=R(),E(2),K("src",a.ROBOT_SLEEPING,Ni))},nKb=function(a){a&1&&N(0,"img",13);a&2&&(a=R(3),K("src",a.LOGO_PURPLE,
Ni))},oKb=function(a,b){a&1&&N(0,"b-formatted-comment-presenter",14);a&2&&K("formattedComment",b)},pKb=function(a,b){a&1&&N(0,"b-formatted-comment-presenter",14,1);a&2&&K("formattedComment",b.formattedContent)},qKb=function(a){a&1&&N(0,"b-spinner")},rKb=function(a){a&1&&(I(0,pKb,2,1,"b-formatted-comment-presenter",14),W(1,"async"),Jj(2,qKb,1,0,"b-spinner"));if(a&2){var b;a=R().$implicit;J((b=X(1,1,a.asyncContent))?0:2,b)}},sKb=function(a){a&1&&(L(0,"div"),U(1,"No content was found for this enrichment."),
M())},tKb=function(a,b){if(a&1){var c=y();L(0,"mat-expansion-panel",12,0);Q("opened",function(){var e=z(c).$implicit,f=T(1),h=R(2);return B(h.onExpand(e,f))})("closed",function(){var e=z(c).$implicit,f=R(2);f.logIssueUserEventForIssueEnrichment("EVENT_TYPE_CLOSE",e.category);var h=f.onScreenSubscriptions.get(e.category);h&&(h.unsubscribe(),f.onScreenSubscriptions.delete(e.category));return B()});L(2,"mat-expansion-panel-header")(3,"mat-panel-title");I(4,nKb,1,1,"img",13);U(5);M()();I(6,oKb,1,1,"b-formatted-comment-presenter",
14)(7,rKb,3,3)(8,sKb,2,0,"div");L(9,"mat-action-row")(10,"span",15);N(11,"b-formatted-date-time",16);M();N(12,"insights-actions",17);M()()}if(a&2){var d;a=b.$implicit;b=R(2);K("id",zk("insight-",a.category))("expanded",!0);E(4);J(b.FIRST_PARTY_ENRICHMENTS.includes(a.category)?4:-1);E();V(" ",a.displayName," ");E();J((d=a.general==null?null:a.general.formattedContent)?6:a.asyncContent?7:8,d);E(5);K("timestamp",a.timestamp);E();K("enrichment",a)}},vKb=function(a){if(a&1){var b=y();L(0,"button",8);Q("click",
function(){z(b);var c=R().accordion;c.multi&&c._openCloseAllActions.next(!0);return B()});U(1," Expand all ");M();L(2,"button",9);Q("click",function(){z(b);R().accordion.closeAll();return B()});U(3," Collapse all ");M();L(4,"mat-accordion",10);Mj(5,tKb,13,8,"mat-expansion-panel",11,uKb);M()}a&2&&(R(),a=Yj(0),E(5),Nj(a))},wKb=function(a){a&1&&(L(0,"div",3),N(1,"b-spinner"),M())},xKb=function(a){a&1&&(L(0,"a",4),U(1," Create Component "),M());a&2&&(a=R(),K("href",a.createComponentPath,Ni))},yKb=function(a){if(a&
1){var b=y();L(0,"xap-dialog-layout",10)(1,"xap-dialog-layout-content")(2,"b-team-component-picker",11);W(3,"async");Q("selectedComponentChange",function(d){z(b);var e=R();d=d!=null?d:null;var f="openFromSearch";f=f===void 0?null:f;d&&(f&&e.analytics.trackEvent("listComponents",f),e.bLocation.setUrl(Hq.editComponent.makeHref(d.componentId)));return B()});M()()()}if(a&2){a=R();E(2);var c;K("includeArchived",(c=X(3,4,a.includeArchived$))!=null?c:!1)("placeholder","Choose Component to navigate to that component")("shouldFocus",
!0)("isRequired",!1)}},AKb=function(a){if(a&1){var b=y();L(0,"div",6)(1,"b-slide-toggle",12);W(2,"async");Q("modelChange",function(d){z(b);var e=R();e.includeArchived$.next(d);d=e.componentTree;(d=d.focusedController?d.focusedController.selectedId?d.focusedController.selectedId:null:d.rootController.selectedId?d.rootController.selectedId:null)&&zKb(e,d,pi(e.topLevelComponents$));return B()});M()()}if(a&2){a=R();E();var c;K("model",(c=X(2,2,a.includeArchived$))!=null?c:!1)("tooltip",a.includeArchived?
"Show archived components.":"Hide archived components.")}},BKb=function(a){a&1&&(L(0,"div",8),N(1,"b-spinner",13),M())},CKb=function(a){a&1&&(L(0,"p",1),U(1),M());a&2&&(a=R(),E(),tk(a.packageMentionSet.packageName))},DKb=function(a,b){a&1&&(L(0,"li"),N(1,"b-file-mention",2),M());a&2&&(a=b.$implicit,b=R(),E(),K("issueId",b.issueId)("packageName",b.packageMentionSet.packageName)("filename",a.filename)("lineNumbers",a.lineNumber)("changeNumber",a.changeNumber))},EKb=function(a){a&1&&(L(0,"div",4),U(1),
M());a&2&&(a=R(),E(),V(" Signed in as ",a.activeSession.getUserEmail()," "))},FKb=function(a){a&1&&(L(0,"span",3),U(1," Select at least one tracker "),M())},GKb=function(a,b){if(a&1){var c=y();L(0,"div",5)(1,"mat-checkbox",6);Q("change",function(d){var e=z(c).$implicit,f=R();return B(f.trackerCheckboxValues[e.trackerId]=d.checked)});U(2);M()()}a&2&&(a=b.$implicit,b=R(),E(),K("checked",b.trackerCheckboxValues[a.trackerId]||!1),E(),V(" ",a.name," "))},HKb=function(a){a&1&&N(0,"b-top-bar-outlet-body")},
IKb=function(a){a&1&&(N(0,"b-tracker-search",1),W(1,"async"));a&2&&(a=R(),K("currentTrackerId",a.currentTracker.trackerId)("availableTrackers",X(1,2,a.availableTrackers$)))},JKb=function(a){a&1&&(L(0,"div",3),N(1,"b-spinner"),L(2,"span"),U(3,"Initializing query builder..."),M()())},KKb=function(a){a&1&&(L(0,"div",6),N(1,"mat-icon",7),L(2,"p"),U(3," The query is too complex to show in the query builder. You can still perform the search or save the search. "),M()())},LKb=function(a){a&1&&(L(0,"div"),
U(1," We cannot understand your query because it seems to be incorrect (syntactically). Make sure all parentheses are balanced and all labels have values. "),M())},MKb=function(a){a&1&&(L(0,"div",4),I(1,KKb,4,0,"div",6),I(2,LKb,2,0,"div"),M());a&2&&(a=R(),E(),J((a.advancedSearchCtrl==null?null:a.advancedSearchCtrl.getState())==="NOT_REPRESENTABLE"?1:-1),E(),J((a.advancedSearchCtrl==null?null:a.advancedSearchCtrl.getState())==="SYNTAX_ERROR"?2:-1))},NKb=function(a){a&1&&(L(0,"div",4),U(1," We encountered a problem while retrieving the interpretation of the search query from the server. Please try again. "),
M())},OKb=function(a){a&1&&N(0,"b-tracker-account-menu-hack",5);a&2&&(a=R(),K("trackerInternalBaseUrl",a.currentTracker.internalBaseUrl)("trackerExternalBaseUrl",a.currentTracker.externalBaseUrl))},PKb=function(a){a&1&&N(0,"b-user-display-name",8);a&2&&(a=R().$implicit,K("user",a.author))},QKb=function(a){a&1&&(L(0,"span"),U(1),N(2,"span",13),M());a&2&&(a=R(2).$implicit,E(),V(" ",a.diff.oldValue," "))},RKb=function(a){a&1&&(L(0,"span")(1,"label"),U(2),M(),I(3,QKb,3,1,"span"),U(4),M());a&2&&(a=R().$implicit,
E(2),V("",a.fieldName,":"),E(),J(a.diff.oldValue?3:-1),E(),V(" ",a.diff.newValue," "))},SKb=function(a,b){a&1&&(L(0,"div")(1,"label"),U(2),M(),U(3),M());a&2&&(a=b.$implicit,b=R(3).$implicit,E(2),V("-",b.fieldName,":"),E(),V(" ",a," "))},TKb=function(a){a&1&&Mj(0,SKb,4,2,"div",null,Lj);a&2&&(a=R(2).$implicit,Nj(a.diff.removed))},UKb=function(a,b){a&1&&(L(0,"div")(1,"label"),U(2),M(),U(3),M());a&2&&(a=b.$implicit,b=R(3).$implicit,E(2),V("+",b.fieldName,":"),E(),V(" ",a," "))},VKb=function(a){a&1&&Mj(0,
UKb,4,2,"div",null,Lj);a&2&&(a=R(2).$implicit,Nj(a.diff.added))},WKb=function(a){a&1&&(L(0,"div"),I(1,TKb,2,0),I(2,VKb,2,0),M());a&2&&(a=R().$implicit,E(),J(a.diff.removed?1:-1),E(),J(a.diff.added?2:-1))},XKb=function(a,b){a&1&&(L(0,"div",12),I(1,RKb,5,3,"span"),I(2,WKb,3,2,"div"),M());a&2&&(a=b.$implicit,b=R(2),E(),J(a.diffType==b.DiffType.SINGLE_VALUE?1:-1),E(),J(a.diffType==b.DiffType.COLLECTION?2:-1))},YKb=function(a,b){a&1&&(L(0,"li",2)(1,"div",5),N(2,"b-user-image",6),M(),L(3,"div",7)(4,"h4"),
I(5,PKb,1,1,"b-user-display-name",8),L(6,"span",9),N(7,"b-formatted-date-time",10),M()(),L(8,"div",11),Mj(9,XKb,3,2,"div",12,Lj),M()()());a&2&&(a=b.$implicit,b=R(),E(2),K("email",b.userToDisplay(a.author)),E(3),J(a.author?5:-1),E(2),K("timestamp",a.timestamp),E(2),Nj(a.diffs))},ZKb=function(a){a.stack&&(a.stack=a.stack.replace(/ \[angular\]/g,""))},$Kb=function(){var a=window.navigator.platform,b=window.navigator.userAgent;if(["Macintosh","MacIntel","MacPPC","Mac68K"].includes(a))return"Mac";if(["iPhone",
"iPad","iPod"].includes(a))return"iOS";if(["Win32","Win64","Windows","WinCE"].includes(a))return"Windows";if(/Android/.test(b))return"Android";if(/Linux/.test(a))return"Linux";if(/\bCrOS\b/.test(b))return"ChromeOS"},aLb=function(a,b){a&1&&(L(0,"mat-option",2),U(1),N(2,"br"),L(3,"span",3),U(4),M()());a&2&&(a=b.$implicit,K("value",a),E(),V(" ",a.title),E(3),tk(a.description))},cLb=function(a,b){a&1&&Uj(0,4);a&2&&(a=b.$implicit,R(),b=T(3),K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,bLb,a)))},
dLb=function(a){a&1&&Uj(0,4);if(a&2){a=R().question;R();var b=T(5);K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,bLb,a))}},eLb=function(a){a&1&&Uj(0,4);if(a&2){a=R().question;R();var b=T(7);K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,bLb,a))}},fLb=function(a){a&1&&Uj(0,4);if(a&2){a=R().question;R();var b=T(9);K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,bLb,a))}},gLb=function(a,b){a&1&&I(0,dLb,1,4,"ng-container",4)(1,eLb,1,4,"ng-container",4)(2,fLb,1,4,"ng-container",
4);if(a&2){var c;a=b.question;b=R();J((c=a.type)===b.CustomQuestionType.INPUT?0:c===b.CustomQuestionType.TEXT?1:c===b.CustomQuestionType.SELECT?2:-1)}},iLb=function(a,b){if(a&1){var c=y();N(0,"h4",5);L(1,"mat-form-field",6)(2,"input",7);Q("ngModelChange",function(d){var e=z(c).question,f=R();e.response=d;return B(hLb(f))});M()()}a&2&&(a=b.question,K("innerHtml",a.question,Mi),E(2),K("ngModel",a.response),Hj("aria-label",a.question))},jLb=function(a,b){if(a&1){var c=y();N(0,"h4",5);L(1,"mat-form-field",
8)(2,"textarea",7);Q("ngModelChange",function(d){var e=z(c).question,f=R();e.response=d;return B(hLb(f))});U(3,"    ");M()()}a&2&&(a=b.question,K("innerHtml",a.question,Mi),E(2),K("ngModel",a.response),Hj("aria-label",a.question))},lLb=function(a,b){a&1&&(L(0,"mat-option",10),U(1),M());a&2&&(a=b.$implicit,R(2),K("value",a),E(),V(" ",kLb(a)?a.text:a," "))},mLb=function(a){a&1&&Uj(0,4);if(a&2){a=R().question;R();var b=T(3);K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,bLb,a.response.child))}},
nLb=function(a,b){if(a&1){var c=y();N(0,"h4",5);L(1,"mat-form-field",6)(2,"mat-select",9);Q("valueChange",function(d){var e=z(c).question,f=R();e.response=d;return B(hLb(f))});Mj(3,lLb,2,2,"mat-option",10,Lj);M()();I(5,mLb,1,4,"ng-container",4)}a&2&&(a=b.question,R(),K("innerHtml",a.question,Mi),E(),Hj("aria-label",a.question),E(),K("value",a.response),E(),Nj(a.options),E(2),J(kLb(a.response)?5:-1))},oLb=function(a){a&1&&ak(0)},qLb=function(a){a&1&&Uj(0,2);a&2&&(a=R(),K("ngTemplateOutlet",a.iconOverrides[a.state])("ngTemplateOutletContext",
fsa(pLb,a.index,a.active,a.optional)))},rLb=function(a){a&1&&(L(0,"span",7),U(1),M());a&2&&(a=R(2),E(),tk(a._getDefaultTextForState(a.state)))},sLb=function(a){a&1&&(L(0,"span",8),U(1),M());a&2&&(a=R(3),E(),tk(a._intl.completedLabel))},tLb=function(a){a&1&&(L(0,"span",8),U(1),M());a&2&&(a=R(3),E(),tk(a._intl.editableLabel))},uLb=function(a){a&1&&(I(0,sLb,2,1,"span",8)(1,tLb,2,1,"span",8),L(2,"mat-icon",7),U(3),M());a&2&&(a=R(2),J(a.state==="done"?0:a.state==="edit"?1:-1),E(3),tk(a._getDefaultTextForState(a.state)))},
vLb=function(a){a&1&&I(0,rLb,2,1,"span",7)(1,uLb,4,2);a&2&&(a=R(),J(a.state==="number"?0:1))},wLb=function(a,b){a&1&&(L(0,"div",4),Uj(1,9),M());a&2&&(E(),K("ngTemplateOutlet",b.template))},xLb=function(a){a&1&&(L(0,"div",4),U(1),M());a&2&&(a=R(),E(),tk(a.label))},yLb=function(a){a&1&&(L(0,"div",5),U(1),M());a&2&&(a=R(),E(),tk(a._intl.optionalLabel))},zLb=function(a){a&1&&(L(0,"div",6),U(1),M());a&2&&(a=R(),E(),tk(a.errorMessage))},ALb=function(){},BLb=function(a){a&1&&(ak(0),G(1,ALb,0,0,"ng-template",
0));a&2&&(a=R(),E(),K("cdkPortalOutlet",a._portal))},CLb=function(a){a&1&&ak(0)},DLb=function(a){a&1&&N(0,"div",8)},FLb=function(a,b){a&1&&(Uj(0,7),I(1,DLb,1,0,"div",8));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;R(2);var d=T(4);K("ngTemplateOutlet",d)("ngTemplateOutletContext",Dk(3,ELb,a));E();J(c!==b-1?1:-1)}},GLb=function(a,b){a&1&&(L(0,"div",9,1),Uj(2,10),M());if(a&2){a=b.$implicit;b=b.$index;var c=R(2);sk("mat-horizontal-stepper-content-"+c._getAnimationDirection(b));K("id",c._getStepContentId(b));
Hj("aria-labelledby",c._getStepLabelId(b))("inert",c.selectedIndex===b?null:"");E(2);K("ngTemplateOutlet",a.content)}},HLb=function(a){a&1&&(L(0,"div",2)(1,"div",4),Mj(2,FLb,2,5,null,null,Lj),M(),L(4,"div",5),Mj(5,GLb,3,6,"div",6,Lj),M()());a&2&&(a=R(),E(2),Nj(a.steps),E(3),Nj(a.steps))},ILb=function(a,b){a&1&&(L(0,"div",11),Uj(1,7),L(2,"div",12,1)(4,"div",13)(5,"div",14),Uj(6,10),M()()()());if(a&2){a=b.$implicit;var c=b.$index,d=b.$index;b=b.$count;var e=R(2),f=T(4);E();K("ngTemplateOutlet",f)("ngTemplateOutletContext",
Dk(10,ELb,a));E();rk("mat-stepper-vertical-line",d!==b-1)("mat-vertical-content-container-active",e.selectedIndex===c);Hj("inert",e.selectedIndex===c?null:"");E(2);K("id",e._getStepContentId(c));Hj("aria-labelledby",e._getStepLabelId(c));E(2);K("ngTemplateOutlet",a.content)}},JLb=function(a){a&1&&(L(0,"div",3),Mj(1,ILb,7,12,"div",11,Lj),M());a&2&&(a=R(),E(),Nj(a.steps))},KLb=function(a,b){if(a&1){var c=y();L(0,"mat-step-header",15);Q("click",function(){var d=z(c).step;return B(d.select())})("keydown",
function(d){z(c);var e=R();return B(e._onKeydown(d))});M()}a&2&&(a=b.step,b=R(),rk("mat-horizontal-stepper-header",b.orientation==="horizontal")("mat-vertical-stepper-header",b.orientation==="vertical"),K("tabIndex",b._getFocusIndex()===a.index()?0:-1)("id",b._getStepLabelId(a.index()))("index",a.index())("state",a.indicatorType())("label",a.stepLabel||a.label)("selected",a.isSelected())("active",a.isNavigable())("optional",a.optional)("errorMessage",a.errorMessage)("iconOverrides",b._iconOverrides)("disableRipple",
b.disableRipple||!a.isNavigable())("color",a.color||b.color),Hj("role",b.orientation==="horizontal"?"tab":"button")("aria-posinset",b.orientation==="horizontal"?a.index()+1:null)("aria-setsize",b.orientation==="horizontal"?b.steps.length:null)("aria-selected",b.orientation==="horizontal"?a.isSelected():null)("aria-current",b.orientation==="vertical"&&a.isSelected()?"step":null)("aria-disabled",b.orientation==="vertical"&&a.isSelected()?"true":null)("aria-expanded",b.orientation==="vertical"?a.isSelected():
null)("aria-controls",b._getStepContentId(a.index()))("aria-label",a.ariaLabel||null)("aria-labelledby",!a.ariaLabel&&a.ariaLabelledby?a.ariaLabelledby:null)("aria-disabled",a.isNavigable()?null:!0))},LLb=function(a){a&1&&(L(0,"li"),U(1,"I have read "),L(2,"a",57),U(3,"Chrome Security FAQ"),M(),U(4,"."),M(),L(5,"li"),U(6,"I have read "),L(7,"a",58),U(8,"Reporting Security Bugs"),M(),U(9,"."),M(),L(10,"li"),U(11,"I understand reports may be eligible for reward payments under the "),L(12,"a",59),U(13,
"Chrome VRP"),M(),U(14,"."),M(),L(15,"li"),U(16,"I understand issues are normally publicized once a fix has been widely deployed."),M())},NLb=function(a){if(a&1){var b=y();L(0,"h4",5);U(1,"Which of the following best describes the issue that you are reporting?");M();L(2,"wizard-category-select",52);xk("categoryChange",function(c){z(b);var d=R();wk(d.model.category,c)||(d.model.category=c);return B(c)});M();L(3,"mat-card",53)(4,"mat-card-header");U(5," Ensure quality of issue reports: ");M();L(6,"mat-card-content")(7,
"mat-checkbox",54);xk("ngModelChange",function(c){z(b);var d=R();wk(d.ackIssueQuality,c)||(d.ackIssueQuality=c);return B(c)});U(8," By checking this box, I'm acknowledging that: ");L(9,"ul")(10,"li");U(11,"I have searched for ");L(12,"a",55);U(13,"existing issues");M();U(14," that already report this problem.");M();I(15,LLb,17,0);M()()()();L(16,"div",36)(17,"button",39);U(18," Next ");N(19,"mat-icon",56);M()()}a&2&&(a=R(),E(2),K("persona",a.model.persona),vk("category",a.model.category),E(5),vk("ngModel",
a.ackIssueQuality),E(5),K("href",a.existingIssuesLink,Ni),E(3),J(a.model.persona===a.Persona.VULN_REPORTER?15:-1),E(2),K("disabled",!MLb(a,0)))},PLb=function(a){a&1&&(L(0,"div")(1,"h3"),U(2,"Prefer to file an issue manually?"),M(),L(3,"p"),U(4," It's usually best to work through this short wizard so that your issue is given the labels needed for the right team to see it. Otherwise it might take longer for your issue to be triaged and resolved. "),M(),L(5,"p"),U(6," However, if you are a Chromium contributor and none of the other options apply, you may use the regular issue entry "),
L(7,"a",55),U(8,"form"),M(),U(9,". "),M()());a&2&&(a=R(),E(7),K("href",a.paths.createIssue(Ck(1,OLb)),Ni))},QLb=function(a){a&1&&(L(0,"mat-error"),U(1," Summary is required "),M())},RLb=function(a){a&1&&(L(0,"mat-error"),U(1," Steps to reproduce are required "),M())},SLb=function(a){a&1&&(L(0,"mat-error"),U(1," Issue description is required "),M())},TLb=function(a){if(a&1){var b=y();L(0,"wizard-custom-questions",60);Q("responses",function(c){z(b);var d=R();return B(d.model.customQuestionResponses=
c)});M()}a&2&&(a=R(),K("category",a.model.category.value))},ULb=function(a){if(a&1){var b=y();L(0,"div",47)(1,"b-recaptcha",61);Q("onUpdate",function(c){z(b);var d=R();return B(d.recaptchaResponse=c)});M()()}},VLb=function(){},WLb=function(){},XLb=function(){},YLb=function(a,b){var c=[{customFieldId:b.version,textValue:a.version}];a=a.os.filter(function(d){return d!=="Unknown"});a.length>0&&c.push({customFieldId:b.os,repeatedEnumValue:{values:a}});return c},$Lb=function(a){return a.length?"# Custom Questions\n"+
ZLb(a).map(function(b){var c;return"#### "+((c=b.answerPrefix)!=null?c:b.question)+"\n"+b.response}).join("\n\n"):""},ZLb=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,kLb(c.response)?(b.push({type:c.type,question:c.question,response:c.response.text}),b.push.apply(b,p(ZLb([c.response.child])))):b.push(c);return b},aMb=function(a){a&1&&(L(0,"a",8),U(1," Create Component "),M())},bMb=function(a){a&1&&(L(0,"p",16),U(1," None found. "),L(2,"a",18),U(3,"Learn More"),M()())},
cMb=function(a){a&1&&(Sj(0),N(1,"b-component-path-card",28,1),Tj());if(a&2){a=T(2);var b=R().$implicit;E();K("onedevIsHovercardReady",a.init)("componentId",b.componentId)}},dMb=function(a,b){a&1&&(L(0,"li")(1,"a",19)(2,"div",20)(3,"span",21),U(4),N(5,"b-component-access-level-indicator",22)(6,"b-tracker-chip-smart",23),M(),L(7,"p",24),U(8),M()(),L(9,"div",25)(10,"a",26),U(11," Edit "),M(),L(12,"a",26),U(13," Create Issue "),M()()(),L(14,"onedev-hovercard",null,0),G(16,cMb,3,2,"ng-container",27),M()());
if(a&2){a=b.$implicit;b=T(15);var c=R(2);E();K("routerLinkObj",c.viewIssues(a.componentId));E();K("onedevHovercardTrigger",b);E(2);V(" ",a.name||a.componentId," ");E();K("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel)("labelOnlyMode",!0);E();K("trackerId",a.trackerId)("showHovercard",!1);E(2);tk(a.description);E(2);K("routerLinkObj",c.componentSettings(a.componentId));E(2);K("routerLinkObj",c.createIssue(a.componentId))}},eMb=function(a,b){a&1&&(I(0,bMb,4,0,"p",16),L(1,"ol",17),
Mj(2,dMb,17,10,"li",null,Lj),M());a&2&&(J(b.length===0?0:-1),E(2),Nj(b))},gMb=function(a){a&1&&(L(0,"a",23),U(1," Learn more "),M());a&2&&(R(),K("href",fMb(),Ni))},hMb=function(a){a&1&&(U(0),W(1,"async"));a&2&&(a=R(2),V(" ",X(1,1,a.suggestedTitle$)," "))},iMb=function(a){a&1&&N(0,"b-spinner")},jMb=function(a,b){if(a&1){var c=y();L(0,"button",17);Q("click",function(){var d=z(c).$implicit;R();var e=T(19),f=R();f.llmSuggestTitleService.generatedTitle.next(null);f.analytics.trackEvent("llm","reject",
"title-"+String(d));hq(f.butterBar,"Thanks for the feedback!",3E3);var h;(h=e.trigger)==null||h.close();return B()});L(1,"span");U(2);M()()}a&2&&(a=b.$implicit,b=R(2),E(2),tk(b.REJECT_REASON_TO_DISPLAY.get(a)))},lMb=function(a){if(a&1){var b=y();L(0,"div",1)(1,"div",2)(2,"div",3)(3,"span",4);U(4,"Suggested title");M();L(5,"div",5)(6,"button",6);Q("click",function(){z(b);R().llmSuggestTitleService.suggestTitleRequested.next();return B()});N(7,"mat-icon",7);M();L(8,"button",8);Q("click",function(){z(b);
var c=R();return B(c.close())});N(9,"mat-icon",9);M()()();L(10,"div",10);I(11,hMb,2,3);W(12,"async");Jj(13,iMb,1,0,"b-spinner");M();L(14,"div",11)(15,"button",12);W(16,"async");Q("click",function(){z(b);var c=R();return B(kMb(c))});U(17," Accept ");M();L(18,"split-button",13,0);W(20,"async");L(21,"button",14);W(22,"async");Q("click",function(){z(b);var c=R();c.llmSuggestTitleService.generatedTitle.next(null);c.analytics.trackEvent("llm","reject","title");return B()});U(23," Reject ");M();L(24,"div",
15);Mj(25,jMb,3,1,"button",16,Lj);M()()()()()}a&2&&(a=R(),E(11),J(X(12,5,a.isGeneratingTitle$)?13:11),E(4),K("disabled",X(16,7,a.isGeneratingTitle$)),E(3),K("size","small")("disabled",!!X(20,9,a.isGeneratingTitle$)),E(3),K("disabled",X(22,11,a.isGeneratingTitle$)),E(4),Nj(a.suggestedTitleRejectionReasons))},mMb=function(a){a&1&&(L(0,"a",3),N(1,"mat-icon",5),M())},nMb=function(a){a&1&&N(0,"b-spinner")},oMb=function(a,b){a&1&&N(0,"b-issues-table",4);a&2&&(a=R(),K("issueIds",b)("tableColumns",a.tableColumns)("options",
a.tableOptions))},pMb=function(a){var b=a.similarIssues;var c=a.scores;return b.filter(function(d,e){return c[e]>=.65})},qMb=function(a){a&1&&Uj(0)},sMb=function(a){a&1&&(Sj(0),G(1,qMb,1,0,"ng-container",9),Tj());a&2&&(a=R(),E(),K("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Dk(2,rMb,a.value)))},tMb=function(a){a&1&&U(0);a&2&&(a=R(),tk(a.value||"--"))},uMb=function(a){a&1&&(Gh(),L(0,"svg",10),N(1,"path",11),M());a&2&&(a=R(),rk("centered",a.centerEditIcon))},vMb=function(a){a&1&&N(0,
"textarea",15);a&2&&(a=R(3),K("formControl",a.editingValue)("required",a.required())("cdkAutosizeMaxRows",a.multilineMaxLines),Hj("aria-labelledby",a.labelledById))},wMb=function(a){a&1&&N(0,"input",16);a&2&&(a=R(3),K("formControl",a.editingValue),Hj("aria-labelledby",a.labelledById))},xMb=function(a){a&1&&(Sj(0),L(1,"div",13),G(2,vMb,1,4,"textarea",14)(3,wMb,1,2,"ng-template",null,4,Gk),M(),Tj());if(a&2){a=T(4);var b=R(2);E(2);K("ngIf",b.allowMultipleLines)("ngIfElse",a)}},yMb=function(a){a&1&&Uj(0)},
AMb=function(a){a&1&&(Sj(0),G(1,yMb,1,0,"ng-container",9),Tj());a&2&&(a=R(2),E(),K("ngTemplateOutlet",a.editorTemplate)("ngTemplateOutletContext",Dk(2,zMb,a.editingValue)))},BMb=function(a){a&1&&G(0,xMb,5,2,"ng-container",12)(1,AMb,2,4,"ng-container",12);a&2&&(a=R(),K("ngIf",!a.editorTemplate),E(),K("ngIf",a.editorTemplate))},CMb=function(a){if(a&1){var b=y();L(0,"b-hotlist-picker",28);Q("onApply",function(c){z(b);var d=R();return B(d.handleHotlistPickerSave(c))})("onLoad",function(c){z(b);var d=
R();return B(d.loadHotlist(c))})("onCreate",function(c){z(b);var d=R();return B(d.createHotlist(c))});M()}a&2&&(a=R(),K("selectedHotlistIds",a.selectedHotlistIds)("choices",a.hotlists))},DMb=function(a,b){a&1&&(L(0,"a",13),U(1,"View recent issues"),M());a&2&&(a=R(),K("routerLinkObj",a.recentIssuesInComponent(b)))},HMb=function(a){a&1&&(L(0,"div",29),N(1,"b-icon",30),L(2,"span"),U(3),M(),L(4,"a",31),U(5,"View access settings"),M()());a&2&&(a=R(),rk("partner",EMb(a))("public",FMb(a)),E(),K("name","alert")("size",
"small"),E(2),V("",GMb(a),"\u00a0"),E(),K("href",a.selectedComponent?Hq.editComponentAccess.makeHref(a.selectedComponent.componentId):"",Ni))},KMb=function(a){a&1&&(L(0,"div",32),U(1),M());a&2&&(a=R(2),E(),V(" Error: The following required field(s) have not been filled: ",IMb(a).concat(JMb(a)).join(", ")," "))},LMb=function(a){a&1&&(L(0,"li"),U(1),M());if(a&2){a=R(3);E();var b=[];a.isBlockedByIssueIdValid||b.push('"Blocked by"');a.isBlockingIssueIdValid||b.push('"Blocking"');a.isParentIssueIdsValid||
b.push('"Parents"');tk(b?b.join(" & ")+" must be"+((b.length<=1?" a":"")+" comma separated list")+((b.length>1?"s":"")+" of issue IDs"):"")}},MMb=function(a){a&1&&(L(0,"li"),U(1),M());a&2&&(a=R(3),E(),V(" Collaborators: you cannot add ",a.invalidCollaboratorsInput.join(", ")," "))},NMb=function(a){a&1&&(L(0,"div",32),U(1," Error: The following field(s) have invalid values: "),L(2,"ul"),I(3,LMb,2,1,"li"),I(4,MMb,2,1,"li"),M()());a&2&&(a=R(2),E(3),J(a.isBlockedByIssueIdValid&&a.isBlockingIssueIdValid&&
a.isParentIssueIdsValid?-1:3),E(),J(a.isCollaboratorsValid?-1:4))},OMb=function(a){a&1&&(L(0,"div",32),U(1," Error: There is at least one upload ongoing. Please cancel or wait for it to be finished. "),M())},QMb=function(a){a&1&&(L(0,"div",18),I(1,KMb,2,1,"div",32),I(2,NMb,5,2,"div",32),I(3,OMb,2,0,"div",32),M());a&2&&(a=R(),E(),J(IMb(a).length!==0||JMb(a).length!==0?1:-1),E(),J(a.isBlockedByIssueIdValid&&a.isBlockingIssueIdValid&&a.isParentIssueIdsValid&&a.isCollaboratorsValid?-1:2),E(),J(PMb(a.comment)?
3:-1))},RMb=function(a,b){if(a&1){var c=y();L(0,"div",33)(1,"b-hotlist-chip",34);Q("removeHotlist",function(){var d=z(c).$implicit,e=R(2);return B(e.removeHotlist(d.hotlistId))});M()()}a&2&&(a=b.$implicit,E(),K("hotlist",a))},SMb=function(a){a&1&&(L(0,"div",19),Mj(1,RMb,2,1,"div",33,Lj),M());a&2&&(a=R(),E(),Nj(a.selectedHotlists))},TMb=function(a,b){if(a&1){var c=y();L(0,"button",40);Q("click",function(){var d=z(c).$implicit;R(2).selectedTemplate=d;return B()});U(1);M()}a&2&&(a=b.$implicit,E(),tk(a.name))},
UMb=function(a){if(a&1){var b=y();L(0,"button",40);Q("click",function(){z(b);var c=R(2);c.selectedTemplate=c.availableExistingIssueTemplate;return B()});U(1);M()}a&2&&(a=R(2),E(),tk(a.availableExistingIssueTemplate.name))},VMb=function(a){a&1&&(L(0,"div",26)(1,"div",22)(2,"label",35),U(3,"Template"),M()(),L(4,"button",36),U(5),N(6,"mat-icon",37),M(),L(7,"mat-menu",38,2),Mj(9,TMb,2,1,"button",39,Lj),I(11,UMb,2,1,"button",39),M()());if(a&2){a=T(8);var b=R();E(4);K("matMenuTriggerFor",a);E();var c;V("",
(c=b.selectedTemplate==null?null:b.selectedTemplate.name)!=null?c:""," ");E(2);K("overlapTrigger",!0);E(2);Nj(b.availablePredefinedTemplates);E(2);J(b.availableExistingIssueTemplate?11:-1)}},WMb=function(a){a&1&&(L(0,"div",27)(1,"div",32),U(2," You do not have permission to create issues in this component. "),M()())},XMb=function(a){a&1&&N(0,"llm-suggest-title-button",44);a&2&&(a=R(2),K("description",a.comment))},ZMb=function(a){if(a&1){var b=y();L(0,"llm-suggest-title-preview",63);Q("suggestionAccepted",
function(c){z(b);var d=R(2);d.setTitle(c);return B(YMb(d))});M()}},$Mb=function(a){a&1&&(L(0,"p",45),U(1),L(2,"a",64),U(3," Learn more "),M()());a&2&&(a=R(2),E(),V(" Your title contains restricted words: ",Sq(a.titleBannedWordsChecker),". Review your title before posting. "))},aNb=function(a,b){if(a&1){var c=y();L(0,"button",67);Q("click",function(){var d=z(c).$implicit,e=R(3);return B(e.setPriority(d.value))});U(1);M()}a&2&&(a=b.$implicit,E(),tk(a.displayText))},bNb=function(a){if(a&1){var b=y();
L(0,"div",26)(1,"div",22)(2,"label",65);U(3,"Priority");M()();L(4,"button",66);U(5);N(6,"mat-icon",37);M();L(7,"mat-menu",38,3)(9,"button",67);Q("click",function(){z(b);var d=R(2);return B(d.setPriority())});U(10,"--");M();Mj(11,aNb,2,1,"button",68,Lj);M()()}if(a&2){a=T(8);var c=R(2);E(4);K("matMenuTriggerFor",a);Hj("aria-label","Priority, required"+(c.issue.priority?", "+c.issue.priority:""));E();V("",c.issue.priority?c.issue.priority:"--"," ");E(2);K("overlapTrigger",!0);E(4);Nj(c.priorityChoices)}},
cNb=function(a){a&1&&N(0,"mat-divider")},dNb=function(a){a&1&&N(0,"mat-icon",71);a&2&&(a=R().$implicit,K("svgIcon",a.icon))},eNb=function(a,b){if(a&1){var c=y();I(0,cNb,1,0,"mat-divider");L(1,"button",70);Q("click",function(){var e=z(c).$implicit,f=R(3);return B(f.setIssueType(e.value))});I(2,dNb,1,1,"mat-icon",71);U(3);M()}if(a&2){a=b.$implicit;b=b.$index;var d=R(3);J(b>0&&d.issueTypeChoices[b].group!=d.issueTypeChoices[b-1].group?0:-1);E();K("matTooltip",a.altText||"");E();J(a.icon?2:-1);E();V(" ",
a.displayText," ")}},fNb=function(a){if(a&1){var b=y();L(0,"div",26)(1,"div",22)(2,"label",69);U(3,"Type");M()();L(4,"button",66);W(5,"enumToHuman");U(6);W(7,"enumToHuman");N(8,"mat-icon",37);M();L(9,"mat-menu",38,4)(11,"button",67);Q("click",function(){z(b);var d=R(2);return B(d.setIssueType())});U(12,"--");M();Mj(13,eNb,4,4,null,null,Lj);M()()}if(a&2){a=T(10);var c=R(2);E(4);K("matMenuTriggerFor",a);Hj("aria-label","Type, required"+(c.issue.type?X(5,4,", "+c.issue.type):""));E(2);V("",X(7,6,c.issue.type||
"--")," ");E(3);K("overlapTrigger",!0);E(4);Nj(c.issueTypeChoices)}},gNb=function(a){if(a&1){var b=y();L(0,"div",46)(1,"div",22)(2,"label",72);U(3,"Assignee");M()();L(4,"div",73)(5,"b-peoplekit-single",74);Q("emailChange",function(d){z(b);var e=R(2);return B(e.handleAutocompleteSelection(d,"assignee"))});M()()()}if(a&2){a=R(2);E(5);var c;K("email",(c=a.assigneeText)!=null?c:"")}},hNb=function(a){a&1&&(L(0,"mat-error"),U(1," Collaborators only accepts individual users. "),M())},iNb=function(a){if(a&
1){var b=y();L(0,"div",47)(1,"div",22)(2,"label",75);U(3,"Collaborators");M();N(4,"mat-icon",76);M();L(5,"div",73)(6,"b-peoplekit-multi",77,5);xk("valueChange",function(c){z(b);var d=R(2);wk(d.collaboratorsText,c)||(d.collaboratorsText=c);return B(c)});M()();I(8,hNb,2,0,"mat-error");M()}a&2&&(a=R(2),E(6),rk("invalid",!a.isCollaboratorsValid),K("ariaLabel","Addition to Collaborators"),vk("value",a.collaboratorsText),E(2),J(!a.isCollaboratorsValid&&a.submitRequested?8:-1))},jNb=function(a){if(a&1){var b=
y();L(0,"div",48)(1,"div",22)(2,"label",78);U(3,"CC");M()();L(4,"div",73)(5,"b-peoplekit-multi",79,5);xk("valueChange",function(c){z(b);var d=R(2);wk(d.ccsText,c)||(d.ccsText=c);return B(c)});M()()()}a&2&&(a=R(2),E(5),K("ariaLabel","Addition to CCs"),vk("value",a.ccsText))},kNb=function(a){a&1&&(L(0,"p",52),U(1),L(2,"a",64),U(3," Learn more "),M()());a&2&&(a=R(2),E(),V(" Your description contains restricted words: ",Sq(a.descriptionBannedWordsChecker),". Review your description before posting. "))},
lNb=function(a){a&1&&Uj(0)},mNb=function(a){a&1&&(L(0,"div",21)(1,"div",22)(2,"label",82),U(3," Collaborator Groups "),M(),N(4,"mat-icon",83),M(),G(5,lNb,1,0,"ng-container",84),M());if(a&2){a=R(3);var b=T(30);E(4);K("matTooltip",yk(a.COLLABORATOR_GROUPS_TOOLTIP));E();K("ngTemplateOutlet",b)}},nNb=function(a){if(a&1){var b=y();L(0,"div",54)(1,"div",21)(2,"div",22)(3,"label",80);U(4," Issue access level ");M()();L(5,"b-issue-access-limits-dropdown",81);Q("updatedAccessLimitLevel",function(c){z(b);var d=
R(2);return B(d.onAccessLimitLevelSelected(c))});M()();I(6,mNb,6,3,"div",21);M()}a&2&&(a=R(2),E(5),K("disabled",!1)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled)("defaultAccessLimitLevel",a.selectedAccessLimitLevel),E(),J(a.trackerCollaboratorGroups.length>0?6:-1))},oNb=function(a,b){if(a&1){var c=y();L(0,"button",67);Q("click",function(){var d=z(c).$implicit,e=R(3);return B(e.issue.severity=e.toIssueSeverity(d.value))});U(1);M()}a&2&&(a=b.$implicit,E(),tk(a.displayText))},qNb=function(a){if(a&
1){var b=y();L(0,"div",108)(1,"div",22)(2,"label",109);U(3," Staffing ");M()();L(4,"button",110);W(5,"staffingSummary");Q("click",function(){z(b);var d=R(3);return B(d.editStaffing())});L(6,"span",111);U(7);W(8,"staffingSummary");M();N(9,"mat-icon",112);M()();N(10,"div",55)}if(a&2){a=R(3);E(4);var c;Hj("aria-label","Staffing: "+X(5,2,(c=a.issue.staffing==null?null:a.issue.staffing.plannedAllocations)!=null?c:Ck(6,pNb)));E(3);V(" ",X(8,4,a.issue.staffing==null?null:a.issue.staffing.plannedAllocations),
" ")}},rNb=function(a){a&1&&(L(0,"span"),U(1,"*"),M())},sNb=function(a){a&1&&(L(0,"span"),U(1,"*"),M())},tNb=function(a){a&1&&(L(0,"span"),U(1,"*"),M())},vNb=function(a){if(a&1){var b=y();L(0,"div",92)(1,"div",22)(2,"label",113);U(3," Parents ");I(4,tNb,2,0,"span");M()();L(5,"input",114);Q("ngModelChange",function(c){z(b);var d=R(3);d.parentIssueIds=uNb(d,c).map(qRa);d.isParentIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(vs(d.parentIssueIds));return B()});M()()}a&2&&(a=R(3),E(4),J(a.isParentIssueIdsValid?
-1:4),E(),K("ngModel",a.joinStringArray(a.parentIssueIds)))},wNb=function(a){a&1&&(L(0,"span"),U(1,"*"),M())},xNb=function(a){if(a&1){var b=y();L(0,"div",92)(1,"div",22)(2,"label",115);U(3," Children ");I(4,wNb,2,0,"span");M()();L(5,"input",116);Q("ngModelChange",function(c){z(b);var d=R(3);d.childrenIssueIds=uNb(d,c).map(qRa);d.isChildIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(vs(d.childrenIssueIds));return B()});M()()}a&2&&(a=R(3),E(4),J(a.isChildIssueIdsValid?-1:4),E(),K("ngModel",a.joinStringArray(a.childrenIssueIds)))},
yNb=function(a){if(a&1){var b=y();L(0,"div",92)(1,"div",22)(2,"label",80);U(3," Issue access level ");M()();L(4,"b-issue-access-limits-dropdown",117);Q("updatedAccessLimitLevel",function(c){z(b);var d=R(3);return B(d.onAccessLimitLevelSelected(c))});M()()}a&2&&(a=R(3),E(4),K("disabled",!1)("defaultAccessLimitLevel",a.selectedAccessLimitLevel)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled))},zNb=function(a){a&1&&Uj(0)},ANb=function(a){a&1&&(L(0,"div",21)(1,"div",22)(2,"label",82),U(3,
" Collaborator Groups "),M(),N(4,"mat-icon",83),M(),G(5,zNb,1,0,"ng-container",84),M());if(a&2){a=R(3);var b=T(30);E(4);K("matTooltip",yk(a.COLLABORATOR_GROUPS_TOOLTIP));E();K("ngTemplateOutlet",b)}},BNb=function(a){if(a&1){var b=y();L(0,"onedev-text-field",122);Q("valueChange",function(d){z(b);var e=R(2).$implicit,f=R(3);return B(f.setCustomFieldValue(e,d))});M()}if(a&2){a=R(2).$implicit;var c=R(3);K("id",zk("bv2-custom-field-",a.customFieldId))("value",a.textValue)("required",c.isCustomFieldRequired(a))("labelledById",
"bv2-custom-field-"+a.customFieldId+"-label")}},CNb=function(a){if(a&1){var b=y();L(0,"onedev-numeric-field",123);Q("valueChange",function(d){z(b);var e=R(2).$implicit,f=R(3);return B(f.setCustomFieldValue(e,d))});M()}if(a&2){a=R(2).$implicit;var c=R(3);K("id",zk("bv2-custom-field-",a.customFieldId))("value",a.numericValue)("required",c.isCustomFieldRequired(a));Hj("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},DNb=function(a){if(a&1){var b=y();L(0,"div")(1,"bv2-input-date-picker",
124);Q("boundValueChange",function(d){z(b);var e=R(2).$implicit,f=R(3);return B(f.setCustomFieldValue(e,d))});M()()}if(a&2){a=R(2).$implicit;var c=R(3);E();K("bv2AriaLabelledby",yk("bv2-custom-field-"+a.customFieldId+"-label"))("boundValue",a.dateValue)("isRequired",c.isCustomFieldRequired(a))("bv2Id","bv2-custom-field-"+a.customFieldId)}},ENb=function(a){if(a&1){var b=y();L(0,"onedev-single-select",125);Q("valueChange",function(d){z(b);var e=R(2).$implicit,f=R(3);return B(f.setCustomFieldValue(e,
d))});M()}if(a&2){a=R(2).$implicit;var c=R(3);K("value",a.enumValue)("options",c.getCustomFieldAllowedValues(a))("includeEmptyOption",!0)("labelledById","bv2-custom-field-"+a.customFieldId+"-label")}},FNb=function(a,b){a&1&&(L(0,"div"),I(1,BNb,1,5,"onedev-text-field",119),I(2,CNb,1,5,"onedev-numeric-field",120),I(3,DNb,2,5,"div"),I(4,ENb,1,4,"onedev-single-select",121),M());a&2&&(a=R(4),E(),J(b===a.FieldType.TEXT?1:-1),E(),J(b===a.FieldType.NUMERIC?2:-1),E(),J(b===a.FieldType.DATE?3:-1),E(),J(b===
a.FieldType.ENUM?4:-1))},GNb=function(a,b){if(a&1){var c=y();L(0,"div")(1,"b-list-field",126);Q("valuesChange",function(e){z(c);var f=R().$implicit,h=R(3);return B(h.setCustomFieldValue(f,e.values))});M()()}if(a&2){a=R().$implicit;var d=R(3);E();K("defaultLineCount",2)("type",b)("values",d.getListFieldValues(a))("enumChoices",d.customFieldAllowedValuesMap[a.customFieldId]||null)("truncate",!0)("isRequired",d.isCustomFieldRequired(a));Hj("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},
HNb=function(a,b){a&1&&(L(0,"div",92)(1,"div",22)(2,"label",118),U(3),M()(),I(4,FNb,5,4,"div"),I(5,GNb,2,7,"div"),M());if(a&2){var c,d;a=b.$implicit;b=R(3);E(2);rk("required",b.isCustomFieldRequired(a));var e=K("id",zk("bv2-custom-field-",a.customFieldId,"-label")),f=b.customFieldMap[a.customFieldId];e("matTooltip",yk((f&&f.description?f.description:"Custom Field")+" [ID: "+a.customFieldId+"]"));f=(e=b.customFieldMap[a.customFieldId])?e.name:"";e&&b.canEditIssuesInComponent&&b.customFieldMap[a.customFieldId].required&&
(f+=", required field");Hj("aria-label",f);E();V(" ",b.getCustomFieldName(a)," ");E();J((c=b.getSingleEditFieldType(b.customFieldMap[a.customFieldId]))?4:-1,c);E();J((d=b.getListFieldType(b.customFieldMap[a.customFieldId]))?5:-1,d)}},INb=function(a){if(a&1){var b=y();L(0,"mat-expansion-panel",57)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",85);U(4,"Advanced fields (Required fields marked with");L(5,"span",86);U(6,"*");M();U(7,")");M()()();L(8,"div",87)(9,"div",88)(10,"div",22)(11,
"label",89);U(12," Severity ");M()();L(13,"button",90);U(14);N(15,"b-icon",91);M();L(16,"mat-menu",38,6);Mj(18,oNb,2,1,"button",68,Lj);M()();L(20,"div",92)(21,"div",22)(22,"label",93);U(23," Found in ");M()();L(24,"input",94);Q("ngModelChange",function(f){z(b);var h=R(2);return B(h.issue.foundInVersion=h.parseStringArray(f))});M()();L(25,"div",95)(26,"div",22)(27,"label",96);U(28," In prod ");M()();L(29,"mat-slide-toggle",97);xk("ngModelChange",function(f){z(b);var h=R(2);wk(h.issue.inProd,f)||(h.issue.inProd=
f);return B(f)});M()();N(30,"div",55);I(31,qNb,11,7);L(32,"div",92)(33,"div",22)(34,"label",98);U(35," Reporter ");M()();L(36,"b-peoplekit-single",99);Q("emailChange",function(f){z(b);var h=R(2);return B(h.handleAutocompleteSelection(f,"reporter"))});M()();L(37,"div",92)(38,"div",22)(39,"label",100);U(40," Verifier ");M()();L(41,"b-peoplekit-single",101);Q("emailChange",function(f){z(b);var h=R(2);return B(h.handleAutocompleteSelection(f,"verifier"))});M()();L(42,"div",92)(43,"div",22)(44,"label",
102);U(45," Targeted to ");M()();L(46,"input",103);Q("ngModelChange",function(f){z(b);var h=R(2);return B(h.issue.targetedToVersion=h.parseStringArray(f))});M()();N(47,"div",55);L(48,"div",92)(49,"div",22)(50,"label",104);U(51," Blocked by ");I(52,rNb,2,0,"span");M()();L(53,"input",105);Q("ngModelChange",function(f){z(b);var h=R(2);h.issue.blockedByIssueId=uNb(h,f);h.isBlockedByIssueIdValid=h.ISSUE_ID_LIST_PATTERN.test(vs(h.issue.blockedByIssueId));return B()});M()();L(54,"div",92)(55,"div",22)(56,
"label",106);U(57," Blocking ");I(58,sNb,2,0,"span");M()();L(59,"input",107);Q("ngModelChange",function(f){z(b);var h=R(2);h.issue.blockingIssueId=uNb(h,f);h.isBlockingIssueIdValid=h.ISSUE_ID_LIST_PATTERN.test(vs(h.issue.blockingIssueId));return B()});M()();I(60,vNb,6,2,"div",92);I(61,xNb,6,2,"div",92);N(62,"div",55);I(63,yNb,5,3,"div",92);I(64,ANb,6,3,"div",21);N(65,"div",55);Mj(66,HNb,6,10,"div",92,Lj);M()()}if(a&2){a=T(17);var c=R(2);E(13);K("matMenuTriggerFor",a);Hj("aria-label","Severity"+(c.issue.severity?
", "+c.issue.severity:""));E();tk(c.issue.severity);E(2);K("overlapTrigger",!0);E(2);Nj(c.severityChoices);E(6);K("ngModel",c.joinStringArray(c.originalIssueCopy.foundInVersion));E(5);vk("ngModel",c.issue.inProd);E(2);J(c.sessionIsExternal?-1:31);E(5);var d;K("email",(d=c.reporterText)!=null?d:"");E(5);var e;K("email",(e=c.verifierText)!=null?e:"");E(5);K("ngModel",c.joinStringArray(c.originalIssueCopy.targetedToVersion));E(6);J(c.isBlockedByIssueIdValid?-1:52);E();K("ngModel",c.joinStringArray(c.issue.blockedByIssueId));
E(5);J(c.isBlockingIssueIdValid?-1:58);E();K("ngModel",c.joinStringArray(c.issue.blockingIssueId));E();J(c.sessionIsExternal?-1:60);E();J(c.sessionIsExternal?-1:61);E(2);J(ur(c.selectedComponent)?-1:63);E();J(c.trackerCollaboratorGroups.length>0&&!ur(c.selectedComponent)?64:-1);E(2);Nj(c.issue.customField)}},JNb=function(a,b){a&1&&N(0,"similar-issues",127);a&2&&(a=R(3),K("context",b)("componentId",a.issue.componentId))},KNb=function(a){a&1&&(I(0,JNb,1,2,"similar-issues",127),W(1,"async"));if(a&2){var b;
a=R(2);J((b=X(1,1,a.similarIssuesSearchString$))?0:-1,b)}},LNb=function(a){a&1&&(L(0,"div",29),N(1,"b-icon",30),L(2,"span"),U(3),M(),L(4,"a",31),U(5,"View access settings"),M()());a&2&&(a=R(2),rk("partner",EMb(a))("public",FMb(a)),E(),K("name","alert")("size","small"),E(2),V("",GMb(a),"\u00a0"),E(),K("href",a.selectedComponent?Hq.editComponentAccess.makeHref(a.selectedComponent.componentId):"",Ni))},MNb=function(a){if(a&1){var b=y();L(0,"div",58)(1,"b-recaptcha",128);Q("onUpdate",function(c){z(b);
var d=R(2);return B(d.recaptchaResponse=c)});M()()}},QNb=function(a){if(a&1){var b=y();L(0,"div")(1,"div",20)(2,"div",21)(3,"div",22)(4,"label",41);U(5,"Title");M()();L(6,"div",42)(7,"input",43);W(8,"async");Q("ngModelChange",function(e){z(b);var f=R();return B(f.setTitle(e))})("blur",function(){z(b);var e=R();return B(YMb(e))});M();I(9,XMb,1,1,"llm-suggest-title-button",44);M();I(10,ZMb,1,0,"llm-suggest-title-preview");I(11,$Mb,4,1,"p",45);W(12,"async");M();I(13,bNb,13,4,"div",26);I(14,fNb,15,8,
"div",26);M();Sj(15);L(16,"div",20);I(17,gNb,6,1,"div",46);I(18,iNb,9,5,"div",47);M();L(19,"div",20);I(20,jNb,7,2,"div",48);M();Tj();L(21,"div",49)(22,"div",20)(23,"div",21)(24,"div",22)(25,"label",50);U(26,"Description");M()();L(27,"b-comment-box",51);W(28,"async");xk("commentChange",function(e){z(b);var f=R();wk(f.comment,e)||(f.comment=e);return B(e)});Q("onChange",function(){z(b);var e=R();return B(e.saveCommentDraft())})("onSubmit",function(e){z(b);var f=R();return B(NNb(f,e,!e.shiftKey))})("onRestrict",
function(){z(b);var e=R();return B(e.showNewContentJudgementDialog())});I(29,kNb,4,1,"p",52);W(30,"async");L(31,"b-markdown-toggle",53);Q("change",function(e){z(b);var f=R();return B(f.comment.formattingMode=e)});M()()()();I(32,nNb,7,4,"div",54);N(33,"div",55);L(34,"div",56);I(35,INb,68,18,"mat-expansion-panel",57);M();I(36,KNb,2,3);I(37,LNb,6,8,"div",17);I(38,MNb,2,0,"div",58);L(39,"div",59)(40,"b-button",60);W(41,"async");W(42,"async");Q("onAction",function(e){z(b);var f=R();return B(NNb(f,e,!0))});
U(43);W(44,"async");W(45,"async");M();L(46,"b-button",61);W(47,"async");W(48,"async");Q("onAction",function(e){z(b);var f=R();return B(NNb(f,e,!1))});U(49);W(50,"async");W(51,"async");M();L(52,"b-button",62);Q("onAction",function(){z(b);var e=R();e.draftStore.$window.sessionStorage.removeItem(Kp("0"));ONb(e.reloadService);return B()});U(53," Discard ");M()()()()}if(a&2){a=R();E(7);var c;rk("invalid",(c=X(8,39,a.titleBannedWordsChecker.showWarning$))!=null?c:!1);K("ngModel",a.issue.title)("bFocus",
a.newIssueStarted);E(2);J(a.enableSuggestTitle?9:-1);E();J(a.enableSuggestTitle?10:-1);E();J(X(12,41,a.titleBannedWordsChecker.showWarning$)?11:-1);E(2);J(a.canEditIssuesInComponent?13:-1);E();J(a.canEditIssuesInComponent?14:-1);E(3);J(a.canEditIssuesInComponent?17:-1);E();J(a.canEditIssuesInComponent?18:-1);E(2);J(a.canEditIssuesInComponent?20:-1);E(7);rk("bv2-upload-ongoing",PMb(a.comment));K("supportsPreview",!0);vk("comment",a.comment);var d;K("disabled",a.isSaving)("judgementForNewContent",a.judgementForNewContent)("placeholder",
a.piiWarningMessage)("idForAriaLabel",a.descriptionBoxId)("audience",a.audience)("showRestrictionOptions",a.canEditIssuesInComponent)("warn",(d=X(28,43,a.descriptionBannedWordsChecker.showWarning$))!=null?d:!1)("canEditIssuesInComponent",a.canEditIssuesInComponent)("isLiteralModeSupported",a.isLiteralModeSupported());E(2);J(X(30,45,a.descriptionBannedWordsChecker.showWarning$)?29:-1);E(2);K("initialValue",a.comment.formattingMode);E();J(a.canEditIssuesInComponent&&ur(a.selectedComponent)?32:-1);E(3);
J(a.canEditIssuesInComponent?35:-1);E();J(a.issue.componentId&&!a.submitRequested?36:-1);E();J(EMb(a)||FMb(a)?37:-1);E();J(a.enableRecaptcha?38:-1);E(2);K("disabled",PNb(a))("color",X(41,47,a.titleBannedWordsChecker.showWarning$)||X(42,49,a.descriptionBannedWordsChecker.showWarning$)?"warn":"primary");E(3);V(" ",X(44,51,a.titleBannedWordsChecker.showWarning$)||X(45,53,a.descriptionBannedWordsChecker.showWarning$)?"Create Anyway":"Create"," ");E(3);K("disabled",PNb(a))("color",X(47,55,a.titleBannedWordsChecker.showWarning$)||
X(48,57,a.descriptionBannedWordsChecker.showWarning$)?"warn":"primary");E(3);V(" ",X(50,59,a.titleBannedWordsChecker.showWarning$)||X(51,61,a.descriptionBannedWordsChecker.showWarning$)?"Create Anyway & Start Another":"Create & Start Another"," ");E(3);K("disabled",PNb(a))}},RNb=function(a,b){a&1&&(L(0,"h2",129),U(1,"This component has a default description"),M(),L(2,"mat-dialog-content"),U(3," You have already entered a description, but the component you chose has a default description: "),L(4,"div",
130),U(5),M()(),L(6,"mat-dialog-actions")(7,"button",131),U(8,"Use component description"),M(),L(9,"button",132),U(10,"Keep my description"),M()());a&2&&(a=b.$implicit,E(5),tk(a),E(2),K("mat-dialog-close",!0))},SNb=function(a,b){a&1&&(L(0,"mat-option",135),U(1),M());a&2&&(a=b.$implicit,K("value",yk(a)),E(),V(" ",a," "))},UNb=function(a){if(a&1){var b=y();L(0,"mat-form-field",133)(1,"mat-select",134);xk("ngModelChange",function(c){z(b);var d=R();wk(d.collaboratorGroupsText,c)||(d.collaboratorGroupsText=
c);return B(c)});L(2,"mat-select-trigger");U(3);M();Mj(4,SNb,2,3,"mat-option",135,Lj);M()()}a&2&&(a=R(),E(),vk("ngModel",a.collaboratorGroupsText),K("ngModelOptions",Ck(3,TNb)),E(2),tk(a.getCollaboratorGroupsString()),E(),Nj(a.trackerCollaboratorGroups))},VNb=function(a,b){b.assigneeText=Gd(a.assigneeUser);b.reporterText=Gd(a.reporterUser);b.verifierText=Gd(a.verifierUser);var c;b.collaboratorsText=vs(((c=a.collaboratorsUsers)!=null?c:[]).map(Gd));var d;b.ccsText=vs(((d=a.ccUsers)!=null?d:[]).map(Gd))},
WNb=function(a,b){var c=a.assigneeText;c===null?c=null:(c=c.trim(),c=c.endsWith(",")?c.slice(0,c.length-1):c);a.assigneeText=c;a.assigneeText!=null&&(b.assigneeUser=Kd(a.assigneeText));a.reporterText!=null&&(b.reporterUser=Kd(a.reporterText));a.verifierText!=null&&(b.verifierUser=Kd(a.verifierText));b.collaboratorsUsers=Xea(ws(a.collaboratorsText));b.ccUsers=Xea(ws(a.ccsText))},YNb=function(a,b){for(var c=l(Object.keys(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=b[d],f=XNb[d];d==="customField"||
vd(e,f)||(Array.isArray(e)?a[d]?(e=Fea([].concat(p(e),p(a[d]))),a[d]=e):a[d]=e:e!==""&&(a[d]=e))}},ZNb=function(a){a=Object.assign({},a);return delete a.hotlistId,a},$Nb=function(a){var b={};a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.customFieldId]=c;return b},aOb=function(a){var b={};a=l(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},bOb=function(a){return function(b){var c=
Yf(b.snapshot.customField,function(k){return k.customFieldId}),d=[],e,f,h=(f=(e=a.componentPathInfo)==null?void 0:e.allCustomField)!=null?f:[];e=l(h);for(f=e.next();!f.done;f=e.next())f=f.value,h=f.customFieldId,f.enabledOnIssues&&(c.has(h)?d.push(c.get(h)):f.typedDefaultValue?d.push(f.typedDefaultValue):d.push({customFieldId:h}));return Object.assign({},b,{snapshot:Object.assign({},b.snapshot,{customField:d})})}},ws=function(a){return a.split(",").map(function(b){return b.trim()}).filter(Boolean)},
vs=function(a){return a?a.join(", "):""},cOb=function(a){a&1&&N(0,"b-star-toggle",6);a&2&&K("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)},dOb=function(a){if(a&1){var b=y();L(0,"b-star-toggle",10);Q("starClicked",function(){z(b);var c=R(2);return B(c.toggleStar())});M()}a&2&&(a=R(2),K("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",
a.isStarred))},eOb=function(a){if(a&1){var b=y();L(0,"div")(1,"div",5);I(2,cOb,1,4,"b-star-toggle",6)(3,dOb,1,3,"b-star-toggle",7);L(4,"span",8);U(5);L(6,"span")(7,"button",9);Q("click",function(){z(b);var c=R();return B(c.editBookmarkGroup())});M()()()()()}a&2&&(a=R(),E(2),J(a.isAdmin?2:3),E(3),V("",a.bookmarkGroup.name," "))},hOb=function(a){if(a&1){var b=y();L(0,"b-saved-search-panel",13);Q("focusedRowIndexChange",function(f){z(b);var h=R().$implicit,k=R();return B(fOb(k,h,f))})("selectionChange",
function(f){z(b);var h=R(2);return B(gOb(h,f))})("resultsLoaded",function(f){z(b);var h=R(2);return B(h.loadHotlists(f))});M()}if(a&2){var c=R();a=c.$implicit;var d=c.$index;c=c.$count;var e=R();K("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("savedSearchId",e.String(a.resourceId))("first",d===0)("last",d===c-1)}},iOb=function(a){if(a&1){var b=y();L(0,"b-hotlist-panel",14);Q("focusedRowIndexChange",function(f){z(b);var h=R().$implicit,k=R();return B(fOb(k,h,f))})("selectionChange",
function(f){z(b);var h=R(2);return B(gOb(h,f))})("resultsLoaded",function(f){z(b);var h=R(2);return B(h.loadHotlists(f))});M()}if(a&2){var c=R();a=c.$implicit;var d=c.$index;c=c.$count;var e=R();K("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("hotlistId",e.Number(a.resourceId))("first",d===0)("last",d===c-1)}},jOb=function(a,b){a&1&&(L(0,"div"),I(1,hOb,1,6,"b-saved-search-panel",11)(2,iOb,1,6,"b-hotlist-panel",12),M());if(a&2){var c;a=b.$implicit;E();J((c=a.type)===
"SAVED_SEARCH"?1:c==="HOTLIST"?2:-1)}},kOb=function(a){if(a&1){var b=y();L(0,"button",10);Q("click",function(){z(b);var c=R();return B(c.archive())});U(1," Archive bookmark group ");M()}a&2&&(a=R(),K("disabled",a.hasUnsavedChanges()||a.isSaving()))},lOb=function(a){if(a&1){var b=y();L(0,"button",10);Q("click",function(){z(b);var c=R();return B(c.unarchive())});U(1," Unarchive bookmark group ");M()}a&2&&(a=R(),K("disabled",a.hasUnsavedChanges()||a.isSaving()))},mOb=function(a){a&1&&(L(0,"span",12),
U(1," (archived) "),M())},oOb=function(a,b){if(a&1){var c=y();L(0,"div")(1,"b-hotlist-chip-smart",44);Q("removeHotlist",function(){var d=z(c),e=R(4);return B(nOb(e,d))});M()()}a&2&&(E(),K("id",b))},qOb=function(a,b){if(a&1){var c=y();L(0,"div",42)(1,"a",45);U(2);M();L(3,"span",46);Q("click",function(){var e=z(c),f=R(4);return B(pOb(f,e))})("keydown.enter",function(){var e=z(c),f=R(4);return B(pOb(f,e))})("keydown.space",function(){var e=z(c),f=R(4);return B(pOb(f,e))});U(4," \u00d7 ");M()()}if(a&
2){a=R().$implicit;var d=R(3);E();K("href",d.paths.viewSavedSearch(b),Ni)("matTooltip","Go to saved search: "+d.getDisplayName(a));E();V(" S: ",d.getDisplayName(a)," ");E();K("matTooltip","Remove item: "+d.getDisplayName(a));Hj("aria-label","Remove item: "+d.getDisplayName(a))}},rOb=function(a){a&1&&(L(0,"span",43),U(1,"<None>"),M())},sOb=function(a,b){a&1&&(L(0,"div",33),I(1,oOb,2,1,"div"),I(2,qOb,5,5,"div",42),I(3,rOb,2,0,"span",43),M());if(a&2){var c;a=b.$implicit;b=R(3);E();var d;var e=a.resourceType===
"HOTLIST"?(d=a.hotlistId)==null?void 0:d.toString():void 0;J(e?1:-1,e);E();J((c=a.resourceType==="SAVED_SEARCH"?a.savedSearchId:void 0)?2:-1,c);E();J(b.bookmarkGroupUnderEdit.item.length?-1:3)}},uOb=function(a,b){if(a&1){var c=y();L(0,"button",53);Q("click",function(){var d=z(c).$implicit,e=R(5);return B(tOb(e,d))});U(1);M()}a&2&&(a=b.$implicit,E(),V("",a.name," "))},vOb=function(a){a&1&&Mj(0,uOb,2,1,"button",52,Lj);a&2&&(a=R(4),Nj(a.savedSearchChoices))},wOb=function(a){a&1&&(L(0,"div",41)(1,"label",
47),U(2,"Add from saved searches:"),M(),L(3,"button",48)(4,"span",49),U(5,"Select"),M(),N(6,"mat-icon",50),M(),L(7,"mat-menu",null,2),G(9,vOb,2,0,"ng-template",51),M()());a&2&&(a=T(8),E(3),K("matMenuTriggerFor",a))},BOb=function(a){if(a&1){var b=y();L(0,"div",18)(1,"label",31)(2,"span",20);U(3,"Selected items");M()();L(4,"div",32,1);Mj(6,sOb,4,3,"div",33,Lj);M()();L(8,"div",34)(9,"div",35)(10,"label",36);U(11,"Add hotlist from favorites:");M();L(12,"b-hotlist-picker",37);Q("onApply",function(c){z(b);
var d=R(2);return B(xOb(d,c))})("onCreate",function(c){z(b);var d=R(2);return B(yOb(d,c))})("onLoad",function(c){z(b);var d=R(2);return B(zOb(d,c))});M()();L(13,"div",38)(14,"label",39);U(15,"Add hotlist by query:");M();L(16,"b-hotlist-search",40);Q("itemSelect",function(c){z(b);var d=R(2);"hotlistId"in c&&!d.selectedHotlistIds[0].includes(c.hotlistId)&&(AOb(d,c.hotlistId),d.bookmarkGroupUnderEdit.item.push({name:c.name,resourceType:"HOTLIST",hotlistId:c.hotlistId}));return B()});M()();I(17,wOb,10,
1,"div",41);M()}a&2&&(a=R(2),E(6),Nj(a.bookmarkGroupUnderEdit.item),E(6),K("selectedHotlistIds",a.selectedHotlistIds)("choices",a.userHotlists)("checkEditAcl",!1),E(4),K("showGroups",!1)("allowStarring",!1),E(),J(a.savedSearchChoices.length>0?17:-1))},DOb=function(a){a&1&&(L(0,"span"),U(1),L(2,"a",55),U(3),M()());if(a&2){a=R().$implicit;var b=R(3);E();V(" Hotlist ",a.hotlistId,": ");E();K("href",COb(b,a),Ni);E();V(" ",a.name||"(name not available)"," ")}},EOb=function(a){a&1&&(L(0,"span"),U(1),L(2,
"a",55),U(3),M()());if(a&2){a=R().$implicit;var b=R(3);E();V(" Saved search ",a.savedSearchId,": ");E();K("href",COb(b,a),Ni);E();V(" ",a.name||"(name not available)"," ")}},FOb=function(a,b){a&1&&(L(0,"li"),I(1,DOb,4,3,"span"),I(2,EOb,4,3,"span"),M());a&2&&(a=b.$implicit,E(),J(a.resourceType==="HOTLIST"?1:-1),E(),J(a.resourceType==="SAVED_SEARCH"?2:-1))},GOb=function(a){a&1&&(L(0,"div",24)(1,"label")(2,"span",20),U(3,"Items"),M()(),L(4,"div",54)(5,"ul"),Mj(6,FOb,3,2,"li",null,Lj),M()()());a&2&&(a=
R(2),E(6),Nj(a.bookmarkGroup.item))},HOb=function(a){if(a&1){var b=y();L(0,"div",25)(1,"button",56);Q("click",function(){z(b);var c=R(2);return B(c.saveMetadata())});U(2," Update ");M();L(3,"button",57);Q("click",function(){z(b);var c=R(2);return B(c.revertMetadataChanges())});U(4," Revert changes ");M()()}a&2&&(a=R(2),E(),K("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},IOb=function(a){if(a&1){var b=y();L(0,"div",25)(1,"button",56);Q("click",function(){z(b);var c=R(2);return B(c.saveAccessPolicy())});
U(2," Update ");M();L(3,"button",57);Q("click",function(){z(b);var c=R(2);return B(c.revertAccessPolicyChanges())});U(4," Revert changes ");M()()}a&2&&(a=R(2),E(),K("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},LOb=function(a){if(a&1){var b=y();L(0,"div",11)(1,"h2");U(2);M();I(3,mOb,2,0,"span",12);L(4,"a",13);U(5," (View Dashboard)");M()();L(6,"mat-tab-group",14);xk("selectedIndexChange",function(c){z(b);var d=R();wk(d.selectedTabIndex,
c)||(d.selectedTabIndex=c);return B(c)});Q("selectedIndexChange",function(c){z(b);var d=R();return B(d.tabChange(c))});L(7,"mat-tab",15)(8,"div",16);N(9,"b-error-banner",17);L(10,"div",18)(11,"label",19)(12,"span",20);U(13,"Name");M()();L(14,"input",21,0);xk("ngModelChange",function(c){z(b);var d=R();wk(d.bookmarkGroupUnderEdit.name,c)||(d.bookmarkGroupUnderEdit.name=c);return B(c)});M()();L(16,"div",18)(17,"label",22)(18,"span",20);U(19,"Description");M()();L(20,"textarea",23);xk("ngModelChange",
function(c){z(b);var d=R();wk(d.bookmarkGroupUnderEdit.description,c)||(d.bookmarkGroupUnderEdit.description=c);return B(c)});M()();I(21,BOb,18,6)(22,GOb,8,0,"div",24);I(23,HOb,5,1,"div",25);M()();L(24,"mat-tab",26)(25,"div",16)(26,"div",18)(27,"label")(28,"span",20);U(29,"Admins");M();L(30,"p",27);U(31," Edit access controls, edit name and description, reorder items, add/remove items ");M()();L(32,"b-multi-user-input",28);Q("usersChange",function(c){z(b);var d=R();return B(d.accessPolicyUnderEdit.admins=
c)})("isValid",function(c){z(b);var d=R();return B(d.isAdminsFieldValid=c)});M()();L(33,"div",18)(34,"label")(35,"span",20);U(36,"View only");M();L(37,"p",27);U(38," View the bookmark group ");M();L(39,"b-multi-user-input",29);Q("usersChange",function(c){z(b);var d=R();return B(d.accessPolicyUnderEdit.readers=c)})("isValid",function(c){z(b);var d=R();return B(d.isReaderFieldValid=c)});M()()();L(40,"div",18);U(41," See ");L(42,"a",30);U(43,"access control documentation");M();U(44," for an explanation of the settings. ");
M();I(45,IOb,5,1,"div",25);M()()()}a&2&&(a=R(),E(2),uk(" Bookmark group ",a.bookmarkGroup.bookmarkGroupId,": ",a.bookmarkGroup.name," "),E(),J(a.isArchived()?3:-1),E(),K("href",Kq(Hq.viewDashboard.routeDeclarationPath,{id:a.bookmarkGroup.bookmarkGroupId}),Ni),E(2),vk("selectedIndex",a.selectedTabIndex),E(3),K("error",a.error),E(),rk("bv2-edit-resource-readonly",a.isEditDisabled()),E(4),vk("ngModel",a.bookmarkGroupUnderEdit.name),K("disabled",a.isEditDisabled()),E(2),rk("bv2-edit-resource-readonly",
a.isEditDisabled()),E(4),vk("ngModel",a.bookmarkGroupUnderEdit.description),K("disabled",a.isEditDisabled()),E(),J(a.isAdmin?21:22),E(2),J(a.isAdmin?23:-1),E(3),rk("bv2-edit-resource-readonly",a.isEditDisabled()),E(6),rk("disabled",a.isEditDisabled()),K("users",a.accessPolicyUnderEdit.admins),E(),rk("bv2-edit-resource-readonly",a.isEditDisabled()),E(6),rk("disabled",a.isEditDisabled()),K("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Dk(33,
JOb,Dk(31,KOb,a.accessPolicyUnderEdit.admins))),E(3),K("href",Dq(a.documentationLinks)+"#bookmark-groups",Ni),E(3),J(a.isAdmin?45:-1))},MOb=function(a){if(a&1){var b=y();L(0,"button",9);Q("click",function(){z(b);var c=R();return B(c.delete())});U(1," Delete saved search ");M()}a&2&&(a=R(),K("disabled",a.hasUnsavedChanges()||a.isSaving()))},NOb=function(a){a&1&&(L(0,"div",8)(1,"h2"),U(2," Saved search not found "),M()())},OOb=function(a){if(a&1){var b=y();L(0,"div",25)(1,"button",32);Q("click",function(){z(b);
var c=R(2);return B(c.saveMetadata())});U(2," Update ");M();L(3,"button",33);Q("click",function(){z(b);var c=R(2);return B(c.revertMetadataChanges())});U(4," Revert changes ");M()()}a&2&&(a=R(2),E(),K("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},POb=function(a){if(a&1){var b=y();L(0,"div",25)(1,"button",32);Q("click",function(){z(b);var c=R(2);return B(c.saveAccessPolicy())});U(2," Update ");M();L(3,"button",33);Q("click",function(){z(b);var c=R(2);return B(c.revertAccessPolicyChanges())});
U(4," Revert changes ");M()()}a&2&&(a=R(2),E(),K("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},SOb=function(a){if(a&1){var b=y();L(0,"div",8)(1,"h2");U(2);M();L(3,"a",10);U(4," (View Issues)");M()();L(5,"mat-tab-group",11);xk("selectedIndexChange",function(c){z(b);var d=R();wk(d.selectedTabIndex,c)||(d.selectedTabIndex=c);return B(c)});Q("selectedIndexChange",function(c){z(b);var d=R();return B(d.tabChange(c))});L(6,"mat-tab",12)(7,"div",
13);N(8,"b-error-banner",14);L(9,"div",15)(10,"label",16)(11,"span",17);U(12,"Name");M()();L(13,"input",18,0);xk("ngModelChange",function(c){z(b);var d=R();wk(d.savedSearchUnderEdit.name,c)||(d.savedSearchUnderEdit.name=c);return B(c)});M()();L(15,"div",15)(16,"label",19)(17,"span",17);U(18,"Description");M()();L(19,"textarea",20);xk("ngModelChange",function(c){z(b);var d=R();wk(d.savedSearchUnderEdit.description,c)||(d.savedSearchUnderEdit.description=c);return B(c)});U(20,"            ");M()();
L(21,"div",21)(22,"label",22)(23,"span",17);U(24,"Query");M();L(25,"p",23);U(26," To modify query and display preferences, run the saved search and modify its parameters ");M();L(27,"div",24);U(28);M()()();I(29,OOb,5,1,"div",25);M()();L(30,"mat-tab",26)(31,"div",13)(32,"div",15)(33,"label",27)(34,"span",17);U(35,"Admins");M();L(36,"p",23);U(37," Edit access controls, edit name and description, edit query ");M()();L(38,"b-multi-user-input",28);Q("usersChange",function(c){z(b);var d=R();return B(d.accessPolicyUnderEdit.admins=
c)})("isValid",function(c){z(b);var d=R();return B(d.isAdminsFieldValid=c)});M()();L(39,"div",15)(40,"label",29)(41,"span",17);U(42,"View and execute search");M()();L(43,"b-multi-user-input",30);Q("usersChange",function(c){z(b);var d=R();return B(d.accessPolicyUnderEdit.readers=c)})("isValid",function(c){z(b);var d=R();return B(d.isReaderFieldValid=c)});M()();L(44,"div",15);U(45," See ");L(46,"a",31);U(47,"access control documentation");M();U(48," for an explanation of the settings. ");M();I(49,POb,
5,1,"div",25);M()()()}a&2&&(a=R(),E(2),uk(" Saved search ",a.savedSearch.searchId,": ",a.savedSearch.name," "),E(),K("href",a.paths.viewSavedSearch(a.savedSearch.searchId),Ni),E(2),vk("selectedIndex",a.selectedTabIndex),E(3),K("error",a.error),E(),rk("bv2-edit-resource-readonly",a.isEditDisabled()),E(4),vk("ngModel",a.savedSearchUnderEdit.name),K("disabled",a.isEditDisabled()),E(2),rk("bv2-edit-resource-readonly",a.isEditDisabled()),E(4),vk("ngModel",a.savedSearchUnderEdit.description),K("disabled",
a.isEditDisabled()),E(9),V(" ",a.savedSearch.query," "),E(),J(a.isAdmin?29:-1),E(3),rk("bv2-edit-resource-readonly",a.isEditDisabled()),E(6),rk("disabled",a.isEditDisabled()),K("users",a.accessPolicyUnderEdit.admins),E(),rk("bv2-edit-resource-readonly",a.isEditDisabled()),E(4),rk("disabled",a.isEditDisabled()),K("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Dk(32,QOb,Dk(30,ROb,a.accessPolicyUnderEdit.admins))),E(3),K("href",Dq(a.documentationLinks)+
"#saved-searches",Ni),E(3),J(a.isAdmin?49:-1))},TOb=function(a){a&1&&(L(0,"div",6),N(1,"b-spinner"),M())},UOb=function(a){if(a&1){var b=y();L(0,"div",35)(1,"span",36)(2,"mat-checkbox",37);Q("change",function(c){z(b);var d=R(2);return B(d.alertState.setValue(c.checked))});M()();L(3,"div")(4,"strong",38);U(5,"SLO Notifications");M();L(6,"div",39);U(7," When checked, admins will be notified when any component that would be automatically assigned this SLO overrides their SLO settings. ");M()()()}a&2&&
(a=R(2),rk("bv2-edit-resource-readonly",a.isEditDisabled()),E(2),K("checked",a.alertState.getValue())("disabled",a.isEditDisabled()))},VOb=function(a){a&1&&(L(0,"div",20),U(1," Action is required to keep your SLO definitions in Buganizer and BugScope in sync. "),L(2,"a",40),U(3," Learn more "),M()())},XOb=function(a){if(a&1){var b=y();L(0,"b-button",45);Q("onAction",function(){z(b);var c=R(3);return B(WOb(c,!0))});U(1," Archive ");M()}a&2&&(a=R(3),K("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},
YOb=function(a){if(a&1){var b=y();L(0,"b-button",46);Q("onAction",function(){z(b);var c=R(3);return B(WOb(c,!1))});U(1," Unarchive ");M()}a&2&&(a=R(3),K("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},ZOb=function(a){if(a&1){var b=y();L(0,"div",24)(1,"b-button",41);Q("onAction",function(){z(b);var d=R(2);return B(d.saveMetadata())});U(2," Update ");M();L(3,"b-button",42);Q("onAction",function(){z(b);var d=R(2);return B(d.revertMetadataChanges())});U(4," Revert changes ");M();I(5,XOb,2,1,
"b-button",43);I(6,YOb,2,1,"b-button",44);M()}if(a&2){R();a=T(9);var c=R();E();K("disabled",!c.hasUnsavedMetadataChanges()||c.isSaving()||!c.elementPickerIsValid||!!a.pending||!!a.invalid);E(2);K("disabled",!c.hasUnsavedMetadataChanges()||c.isSaving()||!!a.pending||!!a.invalid);E(2);J(c.slo&&!c.slo.isArchived?5:-1);E();J(c.slo&&c.slo.isArchived?6:-1)}},$Ob=function(a){if(a&1){var b=y();L(0,"div",23)(1,"b-button",47);Q("onAction",function(){z(b);var c=R(2);return B(c.saveAccessPolicy())});U(2," Update ");
M();L(3,"b-button",48);Q("onAction",function(){z(b);var c=R(2);return B(c.revertAccessPolicyChanges())});U(4," Revert changes ");M()()}a&2&&(a=R(2),E(),K("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||a.isInvalid()))},cPb=function(a){if(a&1){var b=y();L(0,"div")(1,"div",7)(2,"h2")(3,"span",8);U(4);M()()();L(5,"mat-tab-group",9);xk("selectedIndexChange",function(c){z(b);var d=R();wk(d.selectedTabIndex,c)||(d.selectedTabIndex=c);return B(c)});Q("selectedIndexChange",function(c){z(b);var d=
R();return B(d.tabChange(c))});L(6,"mat-tab",10)(7,"div",11)(8,"form",12,0)(10,"div",13)(11,"label",14)(12,"span",15);U(13,"Name");M()();L(14,"input",16);Q("ngModelChange",function(c){z(b);var d=R();return B(d.editableCopy.name=c)});M()();L(15,"div",13)(16,"label",17)(17,"span",15);U(18,"Description");M()();L(19,"textarea",18);Q("ngModelChange",function(c){z(b);var d=R();return B(d.editableCopy.description=c)});U(20,"                ");M()();I(21,UOb,8,4,"div",19);M();I(22,VOb,4,0,"div",20);L(23,
"div",13)(24,"slo-elements-picker",21);Q("onCollectionUpdate",function(c){z(b);var d=R();return B(d.updateCollection(c))})("onValidation",function(c){z(b);var d=R();return B(d.elementPickerIsValid=c)});M()();L(25,"div",22)(26,"div",23)(27,"div",24)(28,"b-button",25);Q("onAction",function(){z(b);var c=R();return B(c.showUpdateHistoryModal())});U(29," View history ");M()()();L(30,"div",23);I(31,ZOb,7,4,"div",24);M()()()();L(32,"mat-tab",26)(33,"div",27)(34,"form",28)(35,"div",13)(36,"label",29)(37,
"span",15);U(38,"Admins");M();L(39,"p",30);U(40," Edit name, description and metrics ");M()();L(41,"b-multi-user-input",31);Q("usersChange",function(c){z(b);var d=R();return B(d.editableAccessPolicy.admins=c)})("isValid",function(c){z(b);var d=R();return B(d.validity.admins=c)});M()();L(42,"div",13)(43,"label",32)(44,"span",15);U(45,"Readers");M();L(46,"p",30);U(47," View the SLO definition (this is not required to see an issue's SLO status) ");M()();L(48,"b-multi-user-input",33);Q("usersChange",
function(c){z(b);var d=R();return B(d.editableAccessPolicy.readers=c)})("isValid",function(c){z(b);var d=R();return B(d.validity.readers=c)});M()()();L(49,"div",13);U(50," See ");L(51,"a",34);U(52,"access control documentation");M();U(53," for an explanation of the settings. ");M();I(54,$Ob,5,1,"div",23);M()()()()}a&2&&(a=R(),E(4),uk(" SLO ",a.slo.sloId,": ",a.slo.name," "),E(),vk("selectedIndex",a.selectedTabIndex),E(5),rk("bv2-edit-resource-readonly",a.isEditDisabled()),E(4),K("required",!0)("ngModel",
a.editableCopy.name)("disabled",a.isEditDisabled()),E(),rk("bv2-edit-resource-readonly",a.isEditDisabled()),E(4),K("ngModel",a.editableCopy.description)("disabled",a.isEditDisabled()),E(2),J(a.isImportedFromBugScope||a.alertState.getSavedValue()?21:-1),E(),J(a.isUneditedFromBugScope&&a.isAdmin()?22:-1),E(),rk("bv2-edit-resource-readonly",a.isEditDisabled()),E(),K("isDisabled",a.isEditDisabled())("collection",a.editableCopy.elements),E(7),J(a.isAdmin()?31:-1),E(4),rk("bv2-edit-resource-readonly",a.isEditDisabled()),
E(6),K("users",a.editableAccessPolicy.admins),Hj("disabled",a.isEditDisabled()?!0:null),E(),rk("bv2-edit-resource-readonly",a.isEditDisabled()),E(6),K("users",a.editableAccessPolicy.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Dk(35,aPb,Dk(33,bPb,a.editableAccessPolicy.admins))),Hj("disabled",a.isEditDisabled()?!0:null),E(3),K("href",zk("",Dq(a.documentationLinks),"#slos"),Ni),E(3),J(a.isAdmin()?54:-1))},ePb=function(a){if(a&1){var b=y();L(0,"div",2);N(1,"img",3)(2,"img",
4);L(3,"p",5);U(4," This issue is not blocking anything \u00a0\ud83e\udd73 ");M();L(5,"p",6);U(6," If this issue blocks other issues, this issue should be resolved before the others. ");L(7,"a",7);U(8,"Learn more");M()();L(9,"button",8);Q("click",function(){z(b);var c=R(2);return B(dPb(c))});U(10," Add ");M()()}a&2&&(a=R(2),E(),K("src",a.TEA_LIGHT,Ni),E(),K("src",a.TEA_DARK,Ni))},fPb=function(a,b){a&1&&N(0,"b-issues-table",13);a&2&&(a=R(6),K("issueIds",b)("menuItemFactory",a.getMenuItems))},gPb=function(a){a&
1&&(I(0,fPb,1,2,"b-issues-table",13),W(1,"async"));if(a&2){var b;a=R(5);J((b=X(1,1,a.blockedAndOpenIds$))?0:-1,b)}},hPb=function(a){a&1&&(L(0,"p",12),U(1,"Not blocking any open issues \ud83e\udd73"),M())},iPb=function(a,b){a&1&&(L(0,"h4",11),U(1),M(),I(2,gPb,2,3)(3,hPb,2,0,"p",12));a&2&&(E(),V("Open (",b.length,")"),E(),J(b.length>0?2:3))},jPb=function(a,b){a&1&&N(0,"b-issues-table",13);a&2&&(a=R(6),K("issueIds",b)("menuItemFactory",a.getMenuItems))},kPb=function(a){a&1&&(L(0,"h4",11),U(1),M(),I(2,
jPb,1,2,"b-issues-table",13),W(3,"async"));if(a&2){var b;a=R();var c=R(4);E();V("Closed (",a.length,")");E();J((b=X(3,2,c.blockedAndClosedIds$))?2:-1,b)}},lPb=function(a,b){a&1&&I(0,kPb,4,4);a&2&&J(b.length>0?0:-1)},mPb=function(a){a&1&&(I(0,iPb,4,2),W(1,"async"),I(2,lPb,1,1),W(3,"async"));if(a&2){var b,c;a=R(3);J((b=X(1,2,a.blockedAndOpen$))?0:-1,b);E(2);J((c=X(3,4,a.blockedAndClosed$))?2:-1,c)}},nPb=function(a,b){a&1&&(L(0,"li")(1,"a",15)(2,"span",6),U(3),M(),L(4,"aside",16),N(5,"button",17),M()()());
a&2&&(a=b.$implicit,E(),Hj("aria-label",zk("Issue ",a)),K("routerLink",zk("/issues/",a)),E(2),V("b/",a))},oPb=function(a){a&1&&(L(0,"h4",11),U(1,"Loading..."),M(),L(2,"ol",14),Mj(3,nPb,6,5,"li",null,Lj),M());a&2&&(a=R(2),E(3),Nj(a))},pPb=function(a,b){a&1&&(L(0,"a",10),U(1," View as search results "),M());a&2&&K("routerLink",b.path)("queryParams",b.params)},qPb=function(a){if(a&1){var b=y();I(0,mPb,4,6);W(1,"async");Jj(2,oPb,5,0);L(3,"aside",9)(4,"button",8);Q("click",function(){z(b);var d=R(2);return B(dPb(d))});
U(5," Add ");M();I(6,pPb,2,2,"a",10);W(7,"async");M()}if(a&2){var c;a=R(2);J(X(1,2,a.issuesBeingBlocked$)?0:2);E(6);J((c=X(7,4,a.searchUrl$))?6:-1,c)}},rPb=function(a,b){a&1&&I(0,ePb,11,2,"div",2)(1,qPb,8,6);a&2&&J(b.length===0?0:1)},sPb=function(a){a&1&&(L(0,"aside",1),N(1,"b-spinner"),M())},tPb=function(a){a&1&&(L(0,"div",1),N(1,"mat-icon",3),L(2,"span",4),U(3),M()());a&2&&(a=R(),E(3),V("",a.length," parent issues"))},uPb=function(a){a&1&&(L(0,"div",1),N(1,"mat-icon",5),L(2,"span",4),U(3),M()());
a&2&&(a=R(),E(3),V("Blocked by ",a.length," issues"))},vPb=function(a,b){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(4),sk(zk("chippy status-",b," margin-s-left")),E(),V(" ",a.STATUS_JS_TERSE.get(b)," "))},wPb=function(a){a&1&&(L(0,"a",6)(1,"div",7)(2,"div",8)(3,"div",9),U(4),M(),L(5,"div",10),U(6),M()(),L(7,"div",8)(8,"div",11),U(9),M(),I(10,vPb,2,4,"span",12),M()()());if(a&2){var b,c=R();a=c.$implicit;var d=c.$index;c=c.$count;var e=R(2);K("routerLink",zk("/issues/",a.issueId));E();rk("border-bottom",
d!==c-1);E(3);tk(a.issueId);E(2);tk(a.snapshot[0].title);E(2);sk(e.priorityClass(a.snapshot[0].priority));E();tk(a.snapshot[0].priority);E();J((b=a.snapshot[0].status)?10:-1,b)}},xPb=function(a,b){a&1&&I(0,wPb,11,10,"a",6);a&2&&J(b.$index<5?0:-1)},zPb=function(a){if(a&1){var b=y();L(0,"div",2)(1,"button",13);Q("click",function(){z(b);var c=R(2);return B(yPb(c))});U(2,"View all parent issues");M()()}},APb=function(a){if(a&1){var b=y();L(0,"div",2)(1,"button",13);Q("click",function(){z(b);var c=R(2),
d;(d=c.hovercardInstance)==null||d.closeHovercard$.next();Rr(c.router,"/issues/"+c.currentIssueId+"/dependencies");return B()});U(2,"View all blockers");M()()}},CPb=function(a,b){a&1&&(L(0,"div",0),I(1,tPb,4,1,"div",1),I(2,uPb,4,1,"div",1),L(3,"div"),Mj(4,xPb,1,1,null,null,BPb),I(6,zPb,3,0,"div",2),I(7,APb,3,0,"div",2),M()());a&2&&(a=R(),E(),J(a.mode===a.ListIssuesHovercardMode.PARENT_ISSUES?1:-1),E(),J(a.mode===a.ListIssuesHovercardMode.BLOCKED_BY_ISSUES?2:-1),E(2),Nj(b),E(2),J(b.length>5&&a.mode===
a.ListIssuesHovercardMode.PARENT_ISSUES?6:-1),E(),J(b.length>5&&a.mode===a.ListIssuesHovercardMode.BLOCKED_BY_ISSUES?7:-1))},DPb=function(a){a&1&&N(0,"mat-icon",4)},EPb=function(a){a&1&&(Sj(0),N(1,"b-list-issues-card",6,1),Tj());if(a&2){a=T(2);R();var b=T(4),c=R();E();K("onedevIsHovercardReady",a.init)("hovercardInstance",b)("currentIssueId",c.issueId)("issueIds",c.multiParentIssueIds)("mode",c.ListIssuesHovercardMode.PARENT_ISSUES)}},FPb=function(a){a&1&&(L(0,"a",3),U(1),M(),I(2,DPb,1,0,"mat-icon",
4),L(3,"onedev-hovercard",null,0),G(5,EPb,3,5,"ng-container",5),M());if(a&2){a=T(4);var b=R();K("title",zk("",b.multiParentIssueIds.length," parents at this position"))("onedevHovercardTrigger",a);E();V("",b.multiParentIssueIds.length," Parents\u2026");E();J(b.multiParentIssueIds.length>1?2:-1)}},GPb=function(a,b){a&1&&(L(0,"b-issue-reference-widget",7),U(1),M(),N(2,"mat-icon",4));if(a&2){var c=b.$implicit;a=b.$index;b=b.$count;var d=R();K("href",d.getIssueLink(c))("issueId",c);E();d.issueIdToTitle.has(c)?
(c=d.issueIdToTitle.get(c),c=eMa(c)):c=String(c);tk(c);E();rk("last",a===b-1)}},IPb=function(a,b){if(a&1){var c=y();L(0,"button",1);W(1,"async");Q("click",function(){z(c);var d=R();return B(HPb(d))});U(2);M()}a&2&&(a=R(),K("disabled",a.disabled||a.issueFullFridge.isSaving(a.internalIssueId)||X(1,3,a.canEdit$)===!1)("title",b.isDupe?a.TOOLTIP_UNMARK_DUPE:a.TOOLTIP_MARK_DUPE),E(2),V(" ",b.isDupe?"Unmark Duplicate":"Mark as Duplicate"," "))},JPb=function(a){a&1&&Uj(0)},KPb=function(a){a&1&&G(0,JPb,1,
0,"ng-container",4);a&2&&(a=R(),K("ngTemplateOutlet",a.content))},LPb=function(a,b){if(a&1){var c=y();L(0,"button",12);Q("click",function(e){var f=z(c).$implicit,h=R(2);return B(h.onAction(f,e))});N(1,"mat-icon",13);U(2);M()}if(a&2){a=b.$implicit;K("disabled",a.disabled)("title",a.title);Hj("aria-label",a.title);E();var d;K("svgIcon",(d=a.icon)!=null?d:"");E();V(" ",a.label," ")}},MPb=function(a){if(a&1){var b=y();L(0,"button",14);Q("click",function(d){z(b);var e=R(2);d.stopPropagation();d.preventDefault();
var f;(f=e.helpHover)==null||f.toggle();return B()});N(1,"mat-icon",15);U(2," Retention: ");N(3,"retention-text",16);U(4," \u00a0 ");N(5,"help-hover",17);M()}if(a&2){a=R();var c=T(13);E(3);K("retentionState",a.retentionState);E(2);K("content",c)}},NPb=function(a){a&1&&N(0,"retention-help-text",18);a&2&&(a=R(2),K("retentionState",a.retentionState)("modifiedTime",a.modifiedTimeMilliseconds))},OPb=function(a){a&1&&I(0,NPb,1,2,"retention-help-text",18);a&2&&(a=R(),J(a.retentionState&&a.modifiedTimeMilliseconds?
0:-1))},QPb=function(a,b){if(a&1){var c=y();N(0,"b-app-vote-button",3)(1,"hotlist-picker-btn",4);L(2,"smart-dupe-btn",5,0);Q("onHotkey",function(){z(c);var e=T(3);return B(HPb(e))});M();L(4,"b-notification-menu",6);Q("subscriptionChange",function(e){z(c);var f=R();return B(f.updateSubscription(e))})("showNotificationSettings",function(e){z(c);var f=R();return B(f.showNotificationSettings(e))});M();L(5,"button",7);N(6,"mat-icon",8);M();L(7,"mat-menu",9,1);Mj(9,LPb,3,5,"button",10,PPb);I(11,MPb,6,2,
"button",11);M();G(12,OPb,1,1,"ng-template",null,2,Gk)}if(a&2){a=T(8);var d=R();K("issueId",b.issueId)("voteCount",b.voteCount)("upvoted",b.voted);E();K("issueId",b.issueId);E();K("issueId",b.issueId)("hotkey",d.HOTKEYS.TOGGLE_MARK_AS_DUPLICATE);E(2);K("subscription",b.notificationSubscription)("issueId",b.issueId)("iconOnly",!0);E();K("matMenuTriggerFor",a);E(4);Nj(b.menuItems);E(2);J(d.retentionEnabled?11:-1)}},RPb=function(){},SPb=function(a){a&1&&(L(0,"output"),U(1),W(2,"async"),M());if(a&2){a=
R();var b=R();E();uk(" ",a," of ",X(2,2,b.currentSearchResults.totalText$)," ")}},VPb=function(a,b){if(a&1){var c=y();I(0,SPb,3,4,"output");L(1,"span")(2,"button",0);W(3,"async");Q("onHotkey",function(){z(c);var d=R();return B(TPb(d.currentSearchResults))})("click",function(){z(c);var d=R();return B(TPb(d.currentSearchResults))});N(4,"mat-icon",1);M();L(5,"button",2);W(6,"async");Q("onHotkey",function(){z(c);var d=R();return B(UPb(d.currentSearchResults))})("click",function(){z(c);var d=R();return B(UPb(d.currentSearchResults))});
N(7,"mat-icon",3);M()()}a&2&&(a=R(),J(b!==-1?0:-1),E(),rk("invisible",b===-1)("zero-width",b===-1),E(),K("hotkey",a.HOTKEYS.GO_TO_PREVIOUS_ISSUE)("disabled",!X(3,9,a.currentSearchResults.hasPreviousIssue$)),E(3),K("hotkey",a.HOTKEYS.GO_TO_NEXT_ISSUE)("disabled",!X(6,11,a.currentSearchResults.hasNextIssue$)))},WPb=function(a){a&1&&N(0,"b-issue-visibility-chip",1);a&2&&(a=R(2),K("issueId",a.issueId))},XPb=function(a){a&1&&N(0,"b-access-limits-chip",2);a&2&&(a=R(2),K("issueId",a.issueId)("componentId",
a.componentId)("accessLimitLevel",a.issueAccessLimitLevel))},YPb=function(a){a&1&&N(0,"b-retention-chip",3);a&2&&(a=R(2),K("retentionState",a.retentionState)("compactMode",!1)("modifiedTime",a.modifiedTime))},ZPb=function(a){a&1&&(L(0,"div",0),I(1,WPb,1,1,"b-issue-visibility-chip",1),I(2,XPb,1,3,"b-access-limits-chip",2),I(3,YPb,1,3,"b-retention-chip",3),M());a&2&&(a=R(),E(),J(a.hasAccessIndicator?1:-1),E(),J(a.isAccessLimited?2:-1),E(),J(a.isShowingRetention?3:-1))},$Pb=function(a,b){a&1&&I(0,ZPb,
4,3,"div",0);a&2&&J(b.isShowingPublicPartner||b.isShowingRetention||b.isAccessLimited?0:-1)},aQb=function(a){a&1&&(L(0,"div",2),N(1,"mat-icon",4),U(2),W(3,"async"),M());if(a&2){a=R();var b=T(4);K("onedevHovercardTrigger",b);E(2);V("",X(3,2,a.teamName$)," ")}},bQb=function(a){a&1&&Uj(0)},cQb=function(a){a&1&&G(0,bQb,1,0,"ng-container",20);a&2&&(R(),a=T(13),K("ngTemplateOutlet",a))},dQb=function(a){a&1&&(N(0,"b-component-breadcrumb-chip",22),W(1,"async"),L(2,"div",23),N(3,"b-issue-id-picker",24),W(4,
"async"),W(5,"async"),W(6,"async"),M());a&2&&(a=R(2),K("componentId",X(1,6,a.componentId$))("issueId",a.issueId),E(3),K("issueId",a.issueId)("componentId",X(4,8,a.componentId$))("issueTitle",X(5,10,a.issueTitle$))("isExternalIssue",!!X(6,12,a.isWithinExternalComponent$)))},eQb=function(a){if(a&1){var b=y();L(0,"b-team-chip",21);W(1,"async");W(2,"async");Q("onTeamLoaded",function(){z(b);var c=R();return B(c.isTeamLoaded=!0)});M();I(3,dQb,7,14)}a&2&&(a=R(),K("componentId",X(1,3,a.componentId$))("teamId",
X(2,5,a.teamId$)),E(3),J(a.isTeamLoaded?3:-1))},fQb=function(a,b){a&1&&N(0,"ancestors-breadcrumbs",27);a&2&&(a=R(3),K("ancestors",b)("issueId",a.issueId))},gQb=function(a){a&1&&(N(0,"b-component-breadcrumb-chip",25),W(1,"async"),L(2,"div",26),I(3,fQb,1,2,"ancestors-breadcrumbs",27),W(4,"async"),N(5,"b-issue-id-picker",28),W(6,"async"),W(7,"async"),W(8,"async"),M());if(a&2){var b;a=R(2);K("componentId",X(1,8,a.componentId$))("compactMode",!0)("issueId",a.issueId);E(3);J((b=X(4,10,a.ancestors$))?3:
-1,b);E(2);K("issueId",a.issueId)("componentId",X(6,12,a.componentId$))("issueTitle",X(7,14,a.issueTitle$))("isExternalIssue",!!X(8,16,a.isWithinExternalComponent$))}},hQb=function(a){if(a&1){var b=y();L(0,"b-team-chip",21);W(1,"async");W(2,"async");Q("onTeamLoaded",function(){z(b);var c=R();return B(c.isTeamLoaded=!0)});M();I(3,gQb,9,18)}a&2&&(a=R(),K("componentId",X(1,3,a.componentId$))("teamId",X(2,5,a.teamId$)),E(3),J(a.isTeamLoaded?3:-1))},iQb=function(a,b){a&1&&(L(0,"div",17),N(1,"mat-icon",
29),U(2),M());a&2&&(R(),a=T(36),K("onedevHovercardTrigger",a),E(2),V(" ",b," "))},jQb=function(a){a&1&&(Sj(0),N(1,"b-list-issues-card",30,2),W(3,"async"),Tj());if(a&2){a=T(2);var b=R(),c=T(36);E();K("onedevIsHovercardReady",a.init)("hovercardInstance",c)("currentIssueId",b.issueId)("issueIds",X(3,5,b.blockedByids$))("mode",b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES)}},kQb=function(a){if(a.length!==0)return a.length===1?Hq.viewIssue.makeHref(a[0]):Hq.listIssues.makeHref()},nQb=function(a){return{eligibilityState:lQb[Zd(a,
1,void 0,Kc)],runMetadata:Me(a,xs,2,Kc)?mQb(r(a,xs,2,Kc)):void 0}},mQb=function(a){return{runId:a.getRunId(),issueId:String(a.getIssueId()),startTimestamp:te(r(a,ue,3,Kc))}},sQb=function(a){var b=a.hasMetadata()?mQb(a.getMetadata()):void 0;if(a.hasResults()){a=a.getResults();if(a.hasSummary()){var c=a.getSummary();c={problemIdentificationSection:Me(c,ys,1,Kc)?oQb(r(c,ys,1,Kc)):void 0,solutionSection:Me(c,ys,2,Kc)?oQb(r(c,ys,2,Kc)):void 0,codeChangeSection:Me(c,ys,3,Kc)?oQb(r(c,ys,3,Kc)):void 0}}else c=
void 0;if(Me(a,pQb,2,Kc)){var d=r(a,pQb,2,Kc);var e=Oc(d,1,void 0,Kc);d=ie(d,zs,2,Rd(),Kc);e={prompt:e,steps:d.map(qQb)}}else e=void 0;Me(a,rQb,3,Kc)?(d=r(a,rQb,3,Kc),d={buildInvocationId:Oc(d,1,void 0,Kc),testSpongeInvocationId:Oc(d,2,void 0,Kc)}):d=void 0;a={summary:c,trajectory:e,validation:d,oclNumber:Qe(a,4,Kc)?String(Re(a,4,void 0,Kc)):void 0}}else a=void 0;return{metadata:b,results:a}},oQb=function(a){return{entries:[].concat(p(a.getEntriesList()))}},qQb=function(a){var b=a.getText();a=ie(a,
As,2,Rd(),Kc);return{text:b,functionCalls:a.map(tQb)}},tQb=function(a){return{name:a.getName(),arguments:Object.fromEntries(rc(a,2,Vb,Kc).entries()),outputs:Object.fromEntries(rc(a,3,Vb,Kc).entries())}},vQb=function(a){return{issueRunStatuses:ie(a,Bs,1,Rd(),Kc).map(uQb)}},uQb=function(a){return{issueId:String(a.getIssueId()),runId:a.getRunId(),runStatus:wQb[Zd(a,3,void 0,Kc)]}},xQb=function(a,b){return Math.min(a,b)},yQb=function(a,b){return Math.pow(2,a)*b},zQb=function(){var a={initialInterval:6E4,
maxRetries:9};a=typeof a==="number"?{initialInterval:a}:a;var b=a.initialInterval,c=a.maxRetries===void 0?Infinity:a.maxRetries,d=a.maxInterval===void 0?Infinity:a.maxInterval,e=a.shouldRetry===void 0?function(){return!0}:a.shouldRetry,f=a.resetOnSuccess===void 0?!1:a.resetOnSuccess,h=a.backoffDelay===void 0?yQb:a.backoffDelay;return function(k){return wi(function(){var q=0;return k.pipe(Zpa(function(u){return u.pipe(ej(function(A){var D=q++;return Uma(function(){return D<c&&e(A)},Ai(xQb(h(D,b),d)),
mi(A))}))}),uj(function(){f&&(q=0)}))})}},AQb=function(a){a&1&&(L(0,"h3",10),U(1,"Thinking text:"),M(),L(2,"p",11),U(3),M());a&2&&(a=R().$implicit,E(3),V(" ",a.text," "))},BQb=function(a){a&1&&(L(0,"span",14),U(1),M(),U(2," : "),L(3,"span",15),U(4),M(),U(5,", "));a&2&&(a=R().$implicit,E(),tk(a.key),E(3),V('"',a.value,'"'))},CQb=function(a,b){a&1&&I(0,BQb,6,2);a&2&&J(b.$implicit.value?0:-1)},DQb=function(a){a&1&&(L(0,"p"),U(1," [ "),Mj(2,CQb,1,1,null,null,Lj),W(4,"keyvalue"),U(5," ] "),M());a&2&&(a=
R().$implicit,E(2),Nj(X(4,0,a.arguments)))},EQb=function(a){a&1&&(L(0,"p",16)(1,"span",14),U(2),M(),U(3," : "),L(4,"span",15),U(5),M(),U(6,", "),M());a&2&&(a=R().$implicit,E(2),tk(a.key),E(3),V('"',a.value,'"'))},FQb=function(a,b){a&1&&I(0,EQb,7,2,"p",16);a&2&&J(b.$implicit.value?0:-1)},GQb=function(a,b){a&1&&(L(0,"div",12)(1,"p")(2,"span",13),U(3),M(),U(4," was called with: "),M(),I(5,DQb,6,2,"p"),L(6,"p")(7,"span",13),U(8,"Output:"),M()(),Mj(9,FQb,1,1,null,null,Lj),W(11,"keyvalue"),M());a&2&&(a=
b.$implicit,E(3),tk(a.name),E(2),J(a.arguments?5:-1),E(4),Nj(X(11,2,a.outputs)))},HQb=function(a){a&1&&Mj(0,GQb,12,4,"div",12,Lj);a&2&&(a=R().$implicit,Nj(a.functionCalls))},IQb=function(a,b){a&1&&(L(0,"div",6)(1,"p",9),U(2),M(),I(3,AQb,4,1),I(4,HQb,2,0),M());a&2&&(a=b.$implicit,b=b.$index,E(2),V("Step ",b+1),E(),J(a.text?3:-1),E(),J(a.functionCalls?4:-1))},JQb=function(a,b){a&1&&N(0,"li",4);a&2&&K("innerHTML",b.$implicit,Mi)},KQb=function(a){a&1&&(L(0,"div",1),N(1,"mat-icon",2),L(2,"h2"),U(3,"Problem Identification"),
M()(),L(4,"ul",3),Mj(5,JQb,1,1,"li",4,Kj),M());a&2&&(a=R(),E(5),Nj(a.problemIdentificationSummaries))},LQb=function(a,b){a&1&&N(0,"li",4);a&2&&K("innerHTML",b.$implicit,Mi)},MQb=function(a){a&1&&(L(0,"div",1),N(1,"mat-icon",2),L(2,"h2"),U(3,"Solution summary"),M()(),L(4,"ul",3),Mj(5,LQb,1,1,"li",4,Kj),M());a&2&&(a=R(),E(5),Nj(a.solutionSummaries))},NQb=function(a,b){a&1&&N(0,"li",4);a&2&&K("innerHTML",b.$implicit,Mi)},OQb=function(a){a&1&&(L(0,"div",1),N(1,"mat-icon",2),L(2,"h2"),U(3,"Code change"),
M()(),L(4,"ul",3),Mj(5,NQb,1,1,"li",4,Kj),M());a&2&&(a=R(),E(5),Nj(a.codeChangeSummaries))},PQb=function(a){if(a&1){var b=y();L(0,"button",10);Q("click",function(){z(b);var c=R(3),d=R();return B(d.openTailwindInfoDialog(c.trajectory))});U(1," View Details ");M()}},QQb=function(a){a&1&&I(0,PQb,2,0,"button",9);a&2&&(a=R(2),J(a.trajectory.prompt!==""&&a.trajectory.steps.length>0?0:-1))},RQb=function(a){if(a&1){var b=y();L(0,"button",11);Q("click",function(){var c=z(b),d=R(3);c&&(d.domSafe.openInNewTab("https://cider.corp.google.com/?createWs=tailwind-"+
c+"&patchCl="+c),d.analytics.trackEvent("tailwind","editInCider",d.issueId));return B()});U(1,"Edit in Cider");M();L(2,"button",12);Q("click",function(){var c=z(b),d=R(3);return B(d.handleViewInCritique(c))});U(3,"View in Critique");M()}},SQb=function(a,b){a&1&&(L(0,"div",1),N(1,"mat-icon",2),L(2,"h2"),U(3,"Validation passed"),M()(),L(4,"ul",3)(5,"li",5)(6,"a",6),U(7,"View build results."),M()(),L(8,"li",5)(9,"a",6),U(10,"View test results."),M()()(),N(11,"span",7),L(12,"div",8),I(13,QQb,1,1),I(14,
RQb,4,0),M());if(a&2){var c;a=R();E(6);K("href",zk("https://fusion2.corp.google.com/invocations/",b.buildInvocationId),Ni);E(3);K("href",zk("https://fusion2.corp.google.com/invocations/",b.testSpongeInvocationId),Ni);E(4);J(a.trajectory?13:-1);E();J((c=a.runResults==null?null:a.runResults.oclNumber)?14:-1,c)}},TQb=function(a,b){a&1&&(I(0,KQb,7,0),I(1,MQb,7,0),I(2,OQb,7,0),I(3,SQb,15,6));if(a&2){var c;J(b.problemIdentificationSummaries?0:-1);E();J(b.solutionSummaries?1:-1);E();J(b.codeChangeSummaries?
2:-1);E();J((c=b.runResults==null?null:b.runResults.validation)?3:-1,c)}},UQb=function(a,b){a&1&&N(0,"b-bug2code-sidebar",9);a&2&&K("issueId",b)},VQb=function(a){a&1&&(L(0,"div",10),U(1,"View an issue details to gain AI insights."),M())},WQb=function(a,b){a&1&&(L(0,"div",0),N(1,"img",1),L(2,"h3"),U(3),M(),L(4,"a",2),W(5,"async"),U(6),M()());a&2&&(a=R(),E(),K("src",b.branding==null?null:b.branding.logoUrl,Ni),E(2),V("This issue is a part of the ",b.name," tracker."),E(),K("href",X(5,4,a.trackerRedirectUrl$),
Ni),E(2),V(" View in ",b.name," Tracker "))},XQb=function(a){a&1&&(L(0,"div")(1,"ol")(2,"li")(3,"label"),U(4,"Issue ID"),M(),L(5,"output"),U(6),M()(),L(7,"li")(8,"label"),U(9,"Type"),M(),L(10,"output"),U(11),M()(),L(12,"li")(13,"label"),U(14,"Status"),M(),L(15,"output"),U(16),M()()()());a&2&&(a=R(2),E(6),tk(a.issueId),E(5),tk(a.issueType),E(5),tk(a.issueStatus))},YQb=function(a){a&1&&(L(0,"div",0)(1,"div",1),N(2,"img",2),W(3,"async"),N(4,"mat-icon",3)(5,"img",2),W(6,"async"),M(),L(7,"h3",4),U(8),
W(9,"async"),M(),I(10,XQb,17,3,"div"),L(11,"div",5)(12,"a",6),W(13,"async"),U(14,"Continue"),M()()());a&2&&(a=R(),E(2),K("src",X(3,5,a.currentTrackerLogo$),Ni),E(3),K("src",X(6,7,a.trackerLogo$),Ni),E(3),V(" Redirecting to ",X(9,9,a.trackerName$)," "),E(2),J(a.issue!=null?10:-1),E(2),K("href",X(13,11,a.trackerRedirectUrl$),Ni))},ZQb=function(a,b){if(a instanceof Element){var c=be(window.sessionStorage.getItem(b));if(c!=null){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)}}},$Qb=function(a,b){a&1&&(L(0,"h2",7),U(1),M());a&2&&(E(),V("Issue ",b))},aRb=function(a){a&1&&Uj(0,9);a&2&&(R(3),a=T(12),K("ngTemplateOutlet",a))},bRb=function(a){a&1&&Uj(0,9);a&2&&(R(4),a=T(16),K("ngTemplateOutlet",a))},dRb=function(a){a&1&&Uj(0,11);if(a&2){a=R(2);R(3);var b=T(14);K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,cRb,a.monorailRedirectUrl))}},eRb=function(a){a&1&&I(0,dRb,1,4,"ng-container",11);a&2&&(a=
R(),J(a.monorailRedirectUrl?0:-1))},fRb=function(a,b){a&1&&I(0,bRb,1,1,"ng-container",9)(1,eRb,1,1);if(a&2){var c;J((c=b.status)===403?0:c===404?1:-1)}},gRb=function(a,b){a&1&&(I(0,aRb,1,1,"ng-container",9),I(1,fRb,2,1),W(2,"async"));if(a&2){var c;a=R(2);J(b.success?0:-1);E();J((c=X(2,2,a.mainIssueLoadError$))?1:-1,c)}},hRb=function(a){a&1&&(I(0,gRb,3,4),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.readyForView$))?0:-1,b)}},iRb=function(a){a&1&&N(0,"tailwind-sidebar")},jRb=function(a,b){a&1&&I(0,
iRb,1,0,"tailwind-sidebar");a&2&&J(b.enableTailwindSidebar&&b.isIssueDetailsPageSidebarOpen?0:-1)},kRb=function(a){a&1&&(I(0,jRb,1,1),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.issueDetailsOptions$))?0:-1,b)}},lRb=function(a){a&1&&(L(0,"a",23),U(1,"Learn more"),M())},mRb=function(a){if(a&1){var b=y();L(0,"button",25);Q("click",function(){var c=z(b),d=R(4);return B(d.editIssueService.unarchive(c))});U(1," Unarchive ");M()}},nRb=function(a){a&1&&(L(0,"b-callout",15)(1,"b-callout-body"),U(2,"This issue has been archived. "),
I(3,lRb,2,0,"a",23),M(),L(4,"b-callout-actions"),I(5,mRb,2,0,"button",24),W(6,"async"),M()());if(a&2){var b;a=R(3);K("messageType","caution")("format","app")("iconOverride","archive_24px");E(3);J(a.activeSession.isInternalSession()?3:-1);E(2);J((b=X(6,5,a.id$))?5:-1,b)}},oRb=function(a){a&1&&(L(0,"a",26),U(1,"Learn more"),M())},pRb=function(a){a&1&&(L(0,"b-callout",16)(1,"b-callout-body"),U(2," This issue is in an archived component. "),I(3,oRb,2,0,"a",26),M()());a&2&&(a=R(3),K("format","app")("iconOverride",
"archive_24px"),E(3),J(a.activeSession.isInternalSession()?3:-1))},qRb=function(a,b){a&1&&(U(0," Reason: "),L(1,"code"),U(2),M(),U(3,". "));a&2&&(E(2),tk(b))},rRb=function(a){a&1&&(L(0,"a",27),U(1,"Learn more"),M())},tRb=function(a){if(a&1){var b=y();L(0,"button",29);W(1,"async");W(2,"async");Q("click",function(){var d=z(b),e=R(4);return B(sRb(e.editIssueService,d))});U(3," Undelete ");M()}if(a&2){a=R(4);var c;K("matTooltip",(c=X(1,2,a.undeleteButtonTooltip$))!=null?c:"")("disabled",!X(2,4,a.permissions.canUndeleteIssue$))}},
uRb=function(a){a&1&&(L(0,"b-callout",17)(1,"b-callout-body"),U(2," This issue has been deleted. "),I(3,qRb,4,1),W(4,"async"),I(5,rRb,2,0,"a",27),M(),L(6,"b-callout-actions"),I(7,tRb,4,6,"button",28),W(8,"async"),M()());if(a&2){var b,c;a=R(3);E(3);J((b=(b=X(4,3,a.snapshot$))==null?null:b.deletionReason)?3:-1,b);E(2);J(a.activeSession.isInternalSession()?5:-1);E(2);J((c=X(8,5,a.id$))?7:-1,c)}},vRb=function(a){a&1&&(L(0,"a",30),U(1,"Major updates"),M())},wRb=function(a){a&1&&(L(0,"a",31),U(1,"Major edits"),
M())},xRb=function(a){a&1&&(L(0,"a",32),U(1,"Learn more"),M())},yRb=function(a){a&1&&(L(0,"b-callout",18)(1,"b-callout-body"),U(2," This issue has been marked as inactive. "),I(3,vRb,2,0,"a",30)(4,wRb,2,0,"a",31),U(5," will reopen the issue. "),I(6,xRb,2,0,"a",32),M()());a&2&&(a=R(3),K("format","app"),E(3),J(a.activeSession.isInternalSession()?3:4),E(3),J(a.activeSession.isInternalSession()?6:-1))},zRb=function(a,b){a&1&&(L(0,"output",36),U(1),M());a&2&&(E(),V(" ",b," "))},BRb=function(a,b){a&1&&
(L(0,"a",35,6),U(2),I(3,zRb,2,1,"output",36),W(4,"async"),M());if(a&2){var c;a=b.$implicit;b=T(1);K("routerLink",a.link)("active",b.isActive)("routerLinkActiveOptions",Ck(7,ARb));E(2);V(" ",a.title," ");E();J((c=X(4,5,a.count$))?3:-1,c)}},CRb=function(a,b){a&1&&(L(0,"header",19),N(1,"b-tracker-banner",33),W(2,"async"),W(3,"async"),N(4,"issue-header",22),L(5,"nav",34),Mj(6,BRb,5,8,"a",35,Lj),M(),N(8,"mat-tab-nav-panel",null,5),M());if(a&2){a=T(9);var c=R(3);E();K("issueId",X(2,4,c.id$))("trackerId",
X(3,6,c.issueTrackerId$));E(3);K("issueId",b);E();K("tabPanel",a);E();Nj(c.tabs)}},DRb=function(a,b){a&1&&N(0,"issue-metadata-sidebar",22);a&2&&K("issueId",b)},ERb=function(a){a&1&&(L(0,"div",14),W(1,"async"),I(2,nRb,7,7,"b-callout",15),W(3,"async"),I(4,pRb,4,3,"b-callout",16),W(5,"async"),I(6,uRb,9,7,"b-callout",17),W(7,"async"),I(8,yRb,7,3,"b-callout",18),W(9,"async"),I(10,CRb,10,8,"header",19),W(11,"async"),L(12,"div",20)(13,"article",21),N(14,"router-outlet"),M(),I(15,DRb,1,1,"issue-metadata-sidebar",
22),W(16,"async"),M()());if(a&2){var b,c;a=R(2);rk("issue-editor-false",!X(1,8,a.permissions.hasAclToEdit$));E(2);J(X(3,10,a.archived$)?2:-1);E(2);J(X(5,12,a.inArchivedComponent$)?4:-1);E(2);J(X(7,14,a.deleted$)?6:-1);E(2);J(X(9,16,a.isInactive$)?8:-1);E(2);J((b=X(11,18,a.id$))?10:-1,b);E(5);J((c=X(16,20,a.id$))?15:-1,c)}},FRb=function(a){a&1&&(L(0,"div",13),N(1,"b-tracker-redirect",37),W(2,"async"),M());a&2&&(a=R(2),E(),K("issue",X(2,1,a.issue$)))},GRb=function(a){a&1&&(I(0,ERb,17,22,"div",12),W(1,
"async"),Jj(2,FRb,3,3,"div",13));a&2&&(a=R(),J(X(1,1,a.showTrackerRedirect$)?2:0))},HRb=function(a,b){a&1&&(L(0,"h3"),U(1," Redirecting to "),L(2,"a",38),U(3),M()());a&2&&(a=b.monorailRedirectUrl,E(2),K("href",a,Ni),E(),V(" ",a," "))},IRb=function(a){a&1&&(N(0,"b-access-denied-metadata",39),W(1,"async"));a&2&&(a=R(2),K("issueMetadata",X(1,1,a.issueMetadata$)))},JRb=function(a){a&1&&N(0,"b-access-denied-metadata",40)},KRb=function(a){a&1&&(L(0,"div",13),I(1,IRb,2,3,"b-access-denied-metadata",39)(2,
JRb,1,0,"b-access-denied-metadata",40),M());a&2&&(a=R(),E(),J(a.activeSession.isInternalSession()?1:2))},LRb=function(a,b){a&1&&N(0,"b-issues-table",0);a&2&&(a=R(),K("issueIds",b)("menuItemFactory",a.getMenuItems)("tableColumns",a.tableColumns)("initialSort",a.initialSort))},NRb=function(a){if(a&1){var b=y();L(0,"div",2);N(1,"img",3);L(2,"p",4);U(3," This issue has no duplicates ");M();L(4,"p",5);U(5," A duplicate is an issue with similar content. ");M();L(6,"p",5);U(7,' Any issue added here will be closed as a duplicate of this one, making this the "canonical issue". ');
L(8,"a",6);U(9,"Learn more");M()();L(10,"button",7);Q("click",function(){z(b);var c=R(2);return B(MRb(c))});U(11," Add ");M()()}a&2&&(a=R(2),E(),K("src",a.ROBOT_SLEEPING,Ni))},ORb=function(a,b){a&1&&N(0,"b-duplicates-table",10);a&2&&(a=R(2),K("issueId",b)("duplicateIds",a))},PRb=function(a,b){a&1&&(L(0,"a",12),U(1," View as search results "),M());a&2&&K("routerLink",b.path)("queryParams",b.params)},QRb=function(a){if(a&1){var b=y();L(0,"h4",8);U(1);W(2,"async");L(3,"button",9);Q("click",function(){z(b);
var e=R(2);return B(MRb(e))});U(4," Add ");M()();I(5,ORb,1,2,"b-duplicates-table",10);W(6,"async");L(7,"aside",11);I(8,PRb,2,2,"a",12);W(9,"async");M()}if(a&2){var c,d;a=R(2);E();V("Duplicates ",X(2,3,a.counts.countDuplicateDisplay$)," ");E(4);J((c=X(6,5,a.id$))?5:-1,c);E(3);J((d=X(9,7,a.dupeUrl$))?8:-1,d)}},RRb=function(a){a&1&&(I(0,NRb,12,1,"div",2),W(1,"async"),Jj(2,QRb,10,9));a&2&&(a=R(),J(X(1,1,a.showTable$)?2:0))},SRb=function(a){a&1&&(L(0,"aside",1),N(1,"b-spinner"),M())},TRb=function(a,b){a&
1&&(L(0,"span",9),U(1," of "),L(2,"a",10),U(3),M()());a&2&&(R(2),a=T(11),E(2),K("routerLink",zk("/issues/",b))("onedevHovercardTrigger",a),E(),V(" ",b," "))},URb=function(a,b){a&1&&(L(0,"div")(1,"div",8),W(2,"async"),U(3),M(),I(4,TRb,4,4,"span",9),W(5,"async"),M());if(a&2){var c;a=R();E();sk(zk("chippy ",X(2,6,a.statusCssClass$)));var d;K("title",(d=a.STATUS_JS_FULL_TEXT.get(b))!=null?d:"");E(2);var e;V(" ",(e=a.STATUS_JS_TERSE.get(b))!=null?e:""," ");E();J((c=X(5,8,a.canonicalId$))?4:-1,c)}},VRb=
function(a,b){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(),sk(zk("b-chip squared issue-type-",b)),E(),V(" ",a.issueTypeToDisplay(b)," "))},WRb=function(a,b){a&1&&N(0,"b-issue-hotlists",6);a&2&&K("issueId",b)},XRb=function(a){a&1&&(N(0,"b-issue-card",11,1),W(2,"async"));if(a&2){a=T(1);var b=R();K("onedevIsHovercardReady",a.init)("issueId",X(2,2,b.canonicalId$))}},YRb=function(a){a&1&&(L(0,"div",0),N(1,"llm-summary"),M())},ZRb=function(a){a&1&&Uj(0)},aSb=function(a){a&1&&(L(0,"mat-expansion-panel",7)(1,
"mat-expansion-panel-header")(2,"mat-panel-title"),U(3,"View Steps Taken"),M()(),G(4,ZRb,1,0,"ng-container",12),M());if(a&2){a=R();var b=T(23);E(4);K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,$Rb,a.data.trajectory))}},bSb=function(a){a&1&&(L(0,"h3",19),U(1,"Thinking text:"),M(),L(2,"p",20),U(3),M());a&2&&(a=R().$implicit,E(3),V(" ",a.text," "))},cSb=function(a){a&1&&(L(0,"span",23),U(1),M(),U(2," : "),L(3,"span",24),U(4),M(),U(5,", "));a&2&&(a=R().$implicit,E(),tk(a.key),E(3),V('"',a.value,
'"'))},dSb=function(a,b){a&1&&I(0,cSb,6,2);a&2&&J(b.$implicit.value?0:-1)},eSb=function(a){a&1&&(L(0,"p"),U(1," [ "),Mj(2,dSb,1,1,null,null,Lj),W(4,"keyvalue"),U(5," ] "),M());a&2&&(a=R().$implicit,E(2),Nj(X(4,0,a.arguments)))},fSb=function(a){a&1&&(L(0,"p",25)(1,"span",23),U(2),M(),U(3," : "),L(4,"span",24),U(5),M(),U(6,", "),M());a&2&&(a=R().$implicit,E(2),tk(a.key),E(3),V('"',a.value,'"'))},gSb=function(a,b){a&1&&I(0,fSb,7,2,"p",25);a&2&&J(b.$implicit.value?0:-1)},hSb=function(a,b){a&1&&(L(0,"div",
21)(1,"p")(2,"span",22),U(3),M(),U(4," was called with: "),M(),I(5,eSb,6,2,"p"),L(6,"p")(7,"span",22),U(8,"Output:"),M()(),Mj(9,gSb,1,1,null,null,Lj),W(11,"keyvalue"),M());a&2&&(a=b.$implicit,E(3),tk(a.name),E(2),J(a.arguments?5:-1),E(4),Nj(X(11,2,a.outputs)))},iSb=function(a){a&1&&Mj(0,hSb,12,4,"div",21,Lj);a&2&&(a=R().$implicit,Nj(a.functionCalls))},jSb=function(a,b){a&1&&(L(0,"div",17)(1,"p",18),U(2),M(),I(3,bSb,4,1),I(4,iSb,2,0),M());a&2&&(a=b.$implicit,b=b.$index,E(2),V("Step ",b+1),E(),J(a.text?
3:-1),E(),J(a.functionCalls?4:-1))},kSb=function(a,b){a&1&&(L(0,"div",13)(1,"div",14)(2,"h3",15),U(3,"Prompt:"),M(),L(4,"p",16),U(5),M()(),Mj(6,jSb,5,3,"div",17,Lj),M());a&2&&(a=b.data,E(5),V(" ",a.prompt," "),E(),Nj(a.steps))},lSb=function(a){a&1&&N(0,"div",9)},mSb=function(a){a&1&&(L(0,"div"),U(1," AI-generated code changes may contain inaccurate or offensive information that doesn't represent Google's views. "),M())},nSb=function(a){a&1&&Uj(0)},oSb=function(a){a&1&&G(0,nSb,1,0,"ng-container",17);
a&2&&(R(2),a=T(5),K("ngTemplateOutlet",a))},pSb=function(a){a&1&&Uj(0)},qSb=function(a){a&1&&G(0,pSb,1,0,"ng-container",17);a&2&&(R(2),a=T(7),K("ngTemplateOutlet",a))},rSb=function(a){a&1&&Uj(0)},sSb=function(a){a&1&&G(0,rSb,1,0,"ng-container",18);if(a&2){R(2);a=T(9);var b=Yj(0);K("ngTemplateOutlet",a)("ngTemplateOutletContext",Dk(2,Cs,b))}},tSb=function(a){a&1&&Uj(0)},uSb=function(a){a&1&&G(0,tSb,1,0,"ng-container",18);if(a&2){R(2);a=T(9);var b=Yj(0);K("ngTemplateOutlet",a)("ngTemplateOutletContext",
Dk(2,Cs,b))}},vSb=function(a){a&1&&Uj(0)},wSb=function(a){a&1&&G(0,vSb,1,0,"ng-container",18);if(a&2){R(2);a=T(11);var b=Yj(0);K("ngTemplateOutlet",a)("ngTemplateOutletContext",Dk(2,Cs,b))}},xSb=function(a){a&1&&Uj(0)},ySb=function(a){a&1&&G(0,xSb,1,0,"ng-container",18);if(a&2){R(2);a=T(11);var b=Yj(0);K("ngTemplateOutlet",a)("ngTemplateOutletContext",Dk(2,Cs,b))}},zSb=function(a){a&1&&(L(0,"div",6)(1,"div",7),N(2,"mat-icon",8),I(3,lSb,1,0,"div",9),M(),L(4,"h4",10),U(5),W(6,"async"),L(7,"xap-bubble",
11)(8,"xap-icon-trigger",12),N(9,"mat-icon",13),M(),G(10,mSb,2,0,"ng-template",null,5,Gk),M(),L(12,"a",14),N(13,"mat-icon",15),M()(),L(14,"div",16),I(15,oSb,1,1,"ng-container")(16,qSb,1,1,"ng-container")(17,sSb,1,4,"ng-container")(18,uSb,1,4,"ng-container")(19,wSb,1,4,"ng-container")(20,ySb,1,4,"ng-container"),M()());if(a&2){a=T(11);var b=R(),c=Yj(0);E(3);J(c===b.LlmSuggestionStatus.GENERATING||c===b.LlmSuggestionStatus.LOADING?3:-1);E(2);V(" ",X(6,4,b.statusMessage$)," ");E(2);K("panelTemplate",
a);E(8);J(c===b.LlmSuggestionStatus.INITIAL?15:c===b.LlmSuggestionStatus.GENERATING?16:c===b.LlmSuggestionStatus.GENERATION_SUCCESS?17:c===b.LlmSuggestionStatus.GENERATION_SUCCESS_INELIGIBLE?18:c===b.LlmSuggestionStatus.ERROR?19:c===b.LlmSuggestionStatus.GENERATION_FAILED_INELIGIBLE?20:-1)}},BSb=function(a){if(a&1){var b=y();L(0,"button",19);Q("click",function(){z(b);var c=R();return B(ASb(c))});U(1," Start AI fix ");M();L(2,"button",20);Q("click",function(){z(b);var c=R();return B(c.ignore())});
U(3," Ignore ");M()}},CSb=function(){},DSb=function(a){a&1&&Uj(0)},FSb=function(a,b){if(a&1){var c=y();L(0,"button",21);Q("click",function(){z(c);var d=R();d.openSidebar();d.analytics.trackEvent("tailwind","display",d.issueId);ESb(d.issueId);return B()});U(1," View Summary ");M();L(2,"button",22);Q("click",function(){z(c);var d=R();return B(d.handleViewInCritique())});U(3," View in Critique ");M();G(4,DSb,1,0,"ng-container",18)}a&2&&(a=b.status,R(),b=T(13),E(4),K("ngTemplateOutlet",b)("ngTemplateOutletContext",
Dk(2,Cs,a)))},GSb=function(a){if(a&1){var b=y();L(0,"button",24);Q("click",function(){z(b);var c=R(2);return B(c.openTailwindInfoDialog())});U(1," View details ");M()}},HSb=function(a){a&1&&Uj(0)},JSb=function(a,b){a&1&&(I(0,GSb,2,0,"button",23),G(1,HSb,1,0,"ng-container",18));if(a&2){a=b.status;b=R();var c=T(13);J(ISb(b)?0:-1);E();K("ngTemplateOutlet",c)("ngTemplateOutletContext",Dk(3,Cs,a))}},LSb=function(a){if(a&1){var b=y();L(0,"button",26);Q("click",function(){z(b);var c=R(2);return B(KSb(c))});
U(1," Retry ");M()}},MSb=function(a,b){a&1&&I(0,LSb,2,0,"button",25);a&2&&(a=b.status,b=R(),J(a!==b.LlmSuggestionStatus.GENERATION_FAILED_INELIGIBLE?0:-1))},NSb=function(a){a&1&&U(0);a&2&&(a=R().$implicit,V(" ",a.displayName," "))},OSb=function(a,b){a&1&&N(0,"b-formatted-comment-presenter",12,0);a&2&&(a=R(5),rk("truncated",a.shouldTruncate&&a.isTruncated),K("formattedComment",b))},QSb=function(a,b){if(a&1){var c=y();L(0,"b-formatted-comment-presenter",13,0);Q("contentRendered",function(){z(c);var d=
R(6);return B(PSb(d))});M()}a&2&&(a=R(6),rk("truncated",a.shouldTruncate&&a.isTruncated),K("formattedComment",b.formattedContent))},RSb=function(a){a&1&&N(0,"b-spinner")},SSb=function(a){a&1&&(I(0,QSb,2,3,"b-formatted-comment-presenter",8),W(1,"async"),Jj(2,RSb,1,0,"b-spinner"));if(a&2){var b;a=R(2).$implicit;J((b=X(1,1,a.asyncContent))?0:2,b)}},TSb=function(a){a&1&&(L(0,"div"),U(1,"No content was found for this enrichment."),M())},USb=function(a){if(a&1){var b=y();L(0,"button",14);Q("click",function(){z(b);
var c=R(5);c.isTruncated=!c.isTruncated;c.maybeSetupOnScreenDetection();return B()});U(1);M()}a&2&&(a=R(5),E(),V(" ",a.isTruncated?"Show more":"Show less"," "))},VSb=function(a){a&1&&(I(0,OSb,2,3,"b-formatted-comment-presenter",8)(1,SSb,3,3)(2,TSb,2,0,"div"),L(3,"div",9),I(4,USb,2,1,"button",10),N(5,"insights-actions",11),M());if(a&2){var b;a=R().$implicit;var c=R(3);J((b=a.general==null?null:a.general.formattedContent)?0:a.asyncContent?1:2,b);E(4);J(c.shouldTruncate?4:-1);E();K("enrichment",a)}},
WSb=function(a,b){a&1&&(L(0,"expandable-tab",5),G(1,NSb,1,1,"ng-template",6)(2,VSb,6,3,"ng-template",7),M());a&2&&(a=b.$implicit,K("key",a.displayName)("ariaLabel",a.displayName))},aTb=function(a,b){if(a&1){var c=y();Wj(0);W(1,"async");L(2,"expandable-tabs",4);Q("expandedTabsChanged",function(e){z(c);var f=R(2);f.manualSelectedTab$.next([].concat(p(e)));PSb(f);XSb(f);return B()})("showAllClicked",function(){z(c);var e=R(2);return B(YSb(e))});Mj(3,WSb,3,2,"expandable-tab",5,ZSb);M()}if(a&2){a=R();
var d=X(1,4,R().tabKeys$)||Ck(6,$Sb);E(2);K("showMultiple",!1)("showIcons",!1)("tabKeys",d)("expandedTabs",b);E();Nj(a)}},bTb=function(a){a&1&&(I(0,aTb,5,7,"expandable-tabs",3),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.expandedTab$))?0:-1,b)}},cTb=function(a,b){a&1&&N(0,"b-issue-person-card",4);a&2&&K("email",b)},dTb=function(a,b){a&1&&(L(0,"span",3),U(1),W(2,"shortenEmail"),M(),L(3,"onedev-hovercard",null,0),I(5,cTb,1,1,"b-issue-person-card",4),M());if(a&2){var c;a=T(4);var d=R(2);K("onedevHovercardTrigger",
a);E();V(" ",Fk(2,3,d.userToLossyEmail(b),30)," ");E(4);J((c=b.emailAddress)?5:-1,c)}},eTb=function(a,b){if(a&1){var c=y();L(0,"a",5);Q("click",function(d){var e=z(c),f=R(2);return B(f.scrollCommentIntoView(d,e))});U(1);M()}a&2&&(a=R(2),Hj("aria-label",zk("Comment number ",b)),K("routerLinkObj",a.getCommentNumberLink(b)),E(),V(" #",b))},fTb=function(a){a&1&&(Sj(0),U(1,","),Tj())},gTb=function(a,b){a&1&&(L(0,"span",1),I(1,dTb,6,6),L(2,"span"),I(3,eTb,2,4,"a",2),I(4,fTb,2,0,"ng-container"),M()());if(a&
2){var c,d;a=b.$implicit;var e=b.$index;b=b.$count;E();J((c=a.userPerformingActionUser)?1:-1,c);E(2);J((d=a.commentNumber)?3:-1,d);E();J(e!==b-1?4:-1)}},hTb=function(a,b){a&1&&(L(0,"div",2)(1,"a",3),W(2,"removePngExtension"),N(3,"b-secure-image-widget",4),M(),N(4,"comments-info",5),M());a&2&&(a=b.$implicit,b=R(3),E(),K("href",yk(X(2,6,a.src)),Ni),E(2),K("showByDefault",!0)("src",a.srcCorp),E(),K("issueId",b.issueId)("comments",a.comments))},jTb=function(a){if(a&1){var b=y();L(0,"button",8);Q("click",
function(){z(b);var c=R(2),d=R(2);return B(iTb(d,c.length))});U(1," Load more ");M()}},kTb=function(a){if(a&1){var b=y();L(0,"button",9);Q("click",function(){z(b);var c=R(4);return B(c.goToResourcesTab())});U(1," See all screenshots ");M()}},lTb=function(a){a&1&&I(0,jTb,2,0,"button",6)(1,kTb,2,0,"button",7);a&2&&(a=R(3),J(a.paginate?0:1))},mTb=function(a,b){a&1&&(L(0,"div",1),Mj(1,hTb,5,8,"div",2,Kj),W(3,"async"),M(),I(4,lTb,2,1));if(a&2){a=R();var c=R();rk("show-all-images",c.paginate);E();Nj(X(3,
3,c.imagesToRender$));E(3);J(a.length!==b.length?4:-1)}},nTb=function(a){a&1&&(I(0,mTb,5,5),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.imagesToRender$))?0:-1,b)}},oTb=function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0,e=(d=b.get(c.src))!=null?d:[];e.push(c.comment);b.set(c.src,e)}return Array.from(b.entries()).map(function(f){var h=l(f);f=h.next().value;h=h.next().value;return{src:f,comments:oo(h)}})},pTb=function(a){a&1&&(L(0,"span",1)(1,"span",4),
U(2),M()());a&2&&(a=R(),E(2),V(" ",a.leftText," "))},qTb=function(a){a&1&&(L(0,"b-external-hyperlink-widget",2),U(1),M());a&2&&(a=R(),K("href",a.redirectedHref)("originalHref",a.originalHref),E(),tk(a.linkText))},rTb=function(a){a&1&&(L(0,"b-issue-reference-widget",5),U(1),M());a&2&&(a=R(2),K("href",a.redirectedHref)("issueId",a.issueId),E(),tk(a.linkText))},sTb=function(a){a&1&&(L(0,"a",6),U(1),M());a&2&&(a=R(2),K("href",yk(a.redirectedHref),Ni),E(),tk(a.linkText))},tTb=function(a){a&1&&I(0,rTb,
2,3,"b-issue-reference-widget",5)(1,sTb,2,3,"a",6);a&2&&(a=R(),J(a.issueId?0:1))},uTb=function(a){a&1&&(L(0,"span",3),U(1),M());a&2&&(a=R(),E(),tk(a.rightText))},vTb=function(a){var b=document.createElement("div");a&&kea(b,a);return b},wTb=function(a){a&1&&(L(0,"td"),N(1,"b-issue-priority-display",0),M(),L(2,"td",1)(3,"span",2),U(4),M(),N(5,"mentioned-link-with-context",3),M(),L(6,"td"),N(7,"comments-info",4),W(8,"toComments"),M());if(a&2){a=R().$implicit;var b=R(3);E();K("matTooltip",a.hasViewAccess?
"":"Access is denied to this issue")("issuePriority",a.priority);E(2);K("matTooltip",a.hasViewAccess?"":"Access is denied to this issue");E();var c;V(" ",(c=a.title)!=null?c:"--"," ");E();K("sourceComment",a.sourceComments[0].issueEvent)("relatedLink",a.relatedLinks[0]);E(2);K("issueId",b.issueId)("comments",X(8,8,a.sourceComments))}},xTb=function(a,b){a&1&&(L(0,"tr"),I(1,wTb,9,10),M());a&2&&(a=b.$implicit,E(),J(a.sourceComments&&a.relatedLinks?1:-1))},yTb=function(a){if(a&1){var b=y();L(0,"button",
7);Q("click",function(){z(b);var c=R(4);c.lastRenderedMentionedIssueIndex$.next(c.lastRenderedMentionedIssueIndex$.value+100);return B()});U(1," Load more ");M()}},zTb=function(a){if(a&1){var b=y();L(0,"button",8);Q("click",function(){z(b);var c=R(4);return B(c.goToResourcesTab())});U(1," See all mentioned issues ");M()}},ATb=function(a){a&1&&(L(0,"div"),I(1,yTb,2,0,"button",5)(2,zTb,2,0,"button",6),M());a&2&&(a=R(3),E(),J(a.paginate?1:2))},BTb=function(a,b){a&1&&(L(0,"section")(1,"table"),Mj(2,xTb,
2,1,"tr",null,Lj),M(),I(4,ATb,3,1,"div"),M());a&2&&(a=R(),E(2),Nj(a),E(2),J(b.length!==a.length?4:-1))},CTb=function(a){a&1&&(I(0,BTb,5,1,"section"),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.allMentionedIssues$))?0:-1,b)}},DTb=function(a,b){a&1&&(L(0,"div",0),N(1,"mentioned-link-with-context",1)(2,"comments-info",2),W(3,"toComments"),M());a&2&&(a=b.$implicit,b=R(3),E(),K("sourceComment",a[0].comment)("relatedLink",a[0]),E(),K("issueId",b.issueId)("comments",X(3,4,a)))},ETb=function(a){if(a&1){var b=
y();L(0,"button",5);Q("click",function(){z(b);var c=R(4);c.lastRenderedRelatedLinkIndex$.next(c.lastRenderedRelatedLinkIndex$.value+100);return B()});U(1," Load more ");M()}},FTb=function(a){if(a&1){var b=y();L(0,"button",6);Q("click",function(){z(b);var c=R(4);return B(c.goToResourcesTab())});U(1," See all related links ");M()}},GTb=function(a){a&1&&(L(0,"div"),I(1,ETb,2,0,"button",3)(2,FTb,2,0,"button",4),M());a&2&&(a=R(3),E(),J(a.paginate?1:2))},ITb=function(a,b){a&1&&(Mj(0,DTb,4,6,"div",0,HTb),
I(2,GTb,3,1,"div"));a&2&&(a=R(),Nj(b),E(2),J(a.length!==b.length?2:-1))},JTb=function(a){a&1&&(I(0,ITb,3,1),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.linkGroupsToRender$))?0:-1,b)}},LTb=function(a,b){var c=a.filter(function(d){return FOa(d[0])});a=a.filter(function(d){return!FOa(d[0])});return KTb([].concat(p(c),p(a)).slice(0,b),"ASCENDING")},MTb=function(a){a&1&&N(0,"mat-icon",13)},NTb=function(a){a&1&&(U(0),W(1,"async"));if(a&2){a=R(2);var b;V("Screenshots (",(b=X(1,1,a.distinctImageLinksCount$))!=
null?b:0,")")}},QTb=function(a,b){if(a&1){var c=y();L(0,"inline-images-summary",15);W(1,"async");Q("click",function(){z(c);var e=R(3);OTb(e.issueSummaryTracking,e.issueId,e.TabKeys.IMAGES);return B()});M()}if(a&2){a=R(3);var d;K("issueId",b)("imageLinks",(d=X(1,2,a.imageLinks$))!=null?d:Ck(4,PTb))}},RTb=function(a){a&1&&(I(0,QTb,2,5,"inline-images-summary",14),W(1,"async"));if(a&2){var b;a=R(2);J((b=X(1,1,a.issueId$))?0:-1,b)}},STb=function(a){a&1&&N(0,"mat-icon",16)},TTb=function(a){a&1&&(U(0),W(1,
"async"));if(a&2){a=R(2);var b;V("Mentioned issues (",(b=X(1,1,a.distinctIssuesCount$))!=null?b:0,")")}},UTb=function(a,b){if(a&1){var c=y();L(0,"b-mentioned-issues",18);Q("click",function(){z(c);var d=R(3);OTb(d.issueSummaryTracking,d.issueId,d.TabKeys.MENTIONED_ISSUES);return B()});M()}a&2&&(a=R(3),K("issueReferences",b)("currentIssueId",a.issueId))},VTb=function(a){a&1&&(I(0,UTb,1,2,"b-mentioned-issues",17),W(1,"async"));if(a&2){var b;a=R(2);J((b=X(1,1,a.issues$))?0:-1,b)}},WTb=function(a){a&1&&
N(0,"mat-icon",19)},XTb=function(a){a&1&&(U(0),W(1,"async"));if(a&2){a=R(2);var b;V("Links (",(b=X(1,1,a.distinctOtherLinksCount$))!=null?b:0,")")}},YTb=function(a){if(a&1){var b=y();L(0,"related-links-widget",20);W(1,"async");Q("click",function(){z(b);var d=R(2);OTb(d.issueSummaryTracking,d.issueId,d.TabKeys.LINKS);return B()});M()}if(a&2){a=R(2);var c;K("links",(c=X(1,2,a.otherLinks$))!=null?c:Ck(4,PTb))("issueId",a.issueId)}},ZTb=function(a){a&1&&N(0,"mat-icon",21)},$Tb=function(a){a&1&&U(0,"Similar issues")},
aUb=function(a,b){if(a&1){var c=y();L(0,"suggested-similar-issues",23);Q("click",function(){z(c);var e=R(5);OTb(e.issueSummaryTracking,e.issueId,e.TabKeys.SIMILAR_ISSUES);return B()});M()}if(a&2){a=R();var d=R(4);K("issueId",d.issueId)("similarIssueIds",a)("similarIssuesEnrichments",b)}},bUb=function(a){a&1&&(I(0,aUb,1,3,"suggested-similar-issues",22),W(1,"async"));if(a&2){var b;a=R(4);J((b=X(1,1,a.similarIssuesEnrichments$))?0:-1,b)}},cUb=function(a){a&1&&(I(0,bUb,2,3),W(1,"async"));if(a&2){var b;
a=R(3);J((b=X(1,1,a.similarIssueIds$))?0:-1,b)}},dUb=function(a){a&1&&(L(0,"expandable-tab",9),G(1,ZTb,1,0,"ng-template",4)(2,$Tb,1,0,"ng-template",5)(3,cUb,2,3,"ng-template",6),M());a&2&&(a=R(2),K("key",a.TabKeys.SIMILAR_ISSUES))},eUb=function(a){a&1&&N(0,"mat-icon",24)},fUb=function(a){a&1&&U(0,"Deduplicate")},gUb=function(a,b){a&1&&N(0,"b-recommendation",25);a&2&&K("recommendation",b)},hUb=function(a){a&1&&(I(0,gUb,1,1,"b-recommendation",25),W(1,"async"));if(a&2){var b;a=R(2);J((b=X(1,1,a.dedupeRecommendation$))?
0:-1,b)}},iUb=function(a){a&1&&N(0,"mat-icon",26)},jUb=function(a){a&1&&U(0,"Assign to reporter")},kUb=function(a,b){a&1&&N(0,"b-recommendation",25);a&2&&K("recommendation",b)},lUb=function(a){a&1&&(I(0,kUb,1,1,"b-recommendation",25),W(1,"async"));if(a&2){var b;a=R(3);J((b=X(1,1,a.assignToReporterRecommendation$))?0:-1,b)}},mUb=function(a){a&1&&(L(0,"expandable-tab",11),G(1,iUb,1,0,"ng-template",4)(2,jUb,1,0,"ng-template",5)(3,lUb,2,3,"ng-template",6),M());a&2&&(a=R(2),K("key",a.TabKeys.ASSIGN_TO_REPORTER))},
nUb=function(a){a&1&&N(0,"mat-icon",27)},oUb=function(a){a&1&&U(0,"Reroute")},pUb=function(a,b){a&1&&N(0,"b-recommendation",25);a&2&&K("recommendation",b)},qUb=function(a){a&1&&(I(0,pUb,1,1,"b-recommendation",25),W(1,"async"));if(a&2){var b;a=R(3);J((b=X(1,1,a.componentRoutingRecommendation$))?0:-1,b)}},rUb=function(a){a&1&&(L(0,"expandable-tab",12),G(1,nUb,1,0,"ng-template",4)(2,oUb,1,0,"ng-template",5)(3,qUb,2,3,"ng-template",6),M());a&2&&(a=R(2),K("key",a.TabKeys.COMPONENT_ROUTING))},tUb=function(a,
b){if(a&1){var c=y();L(0,"expandable-tabs",2);Q("expandedTabsChanged",function(d){var e=z(c),f=R();return B(f.onTabExpanded$.emit({expandedTabKeys:d,allTabKeys:e}))})("contentShownChanged",function(d){z(c);var e=R(),f=e.issueSummaryTracking;e=e.issueId;for(var h=l(sUb),k=h.next();!k.done;k=h.next())k=k.value,d.has(k)?(Ds(f.issueInteractionsTracking,e,k+"-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete(k+"-content-not-shown")):(Ds(f.issueInteractionsTracking,e,k+"-content-not-shown"),
f.issueInteractionsTracking.getState(e).variations.delete(k+"-content-shown"));d.size>0?(f.recordImpressionOnce(),Ds(f.issueInteractionsTracking,e,"SW-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-not-shown")):(Ds(f.issueInteractionsTracking,e,"SW-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-shown"));return B()});L(1,"expandable-tab",3);G(2,MTb,1,0,"ng-template",4)(3,NTb,2,3,"ng-template",5)(4,RTb,2,3,"ng-template",
6);M();L(5,"expandable-tab",7);G(6,STb,1,0,"ng-template",4)(7,TTb,2,3,"ng-template",5)(8,VTb,2,3,"ng-template",6);M();L(9,"expandable-tab",8);G(10,WTb,1,0,"ng-template",4)(11,XTb,2,3,"ng-template",5)(12,YTb,2,5,"ng-template",6);M();I(13,dUb,4,1,"expandable-tab",9);W(14,"async");L(15,"expandable-tab",10);G(16,eUb,1,0,"ng-template",4)(17,fUb,1,0,"ng-template",5)(18,hUb,2,3,"ng-template",6);M();I(19,mUb,4,1,"expandable-tab",11);I(20,rUb,4,1,"expandable-tab",12);M()}a&2&&(a=R(),K("tabKeys",b)("expandedTabs",
a.initiallyExpandedTabs),E(),K("key",a.TabKeys.IMAGES),E(4),K("key",a.TabKeys.MENTIONED_ISSUES),E(4),K("key",a.TabKeys.LINKS),E(4),J(X(14,9,a.shouldShowSimilarIssues$)?13:-1),E(2),K("key",a.TabKeys.DUPES),E(4),J(a.enableNeedsInfoUi?19:-1),E(),J(a.enableComponentRoutingUi?20:-1))},uUb=function(a,b){a&1&&(L(0,"li",3)(1,"div",6),N(2,"b-user-image",7),M(),L(3,"div",8),N(4,"b-user-display",9)(5,"b-formatted-date-time",10),L(6,"p",11),U(7," Formatting: "),L(8,"code",12),U(9),M()(),N(10,"br"),L(11,"span",
13)(12,"b-person-hovercard",14),W(13,"omitObfuscatedEmail"),U(14),W(15,"appendDomain"),M()(),U(16),M(),L(17,"pre"),U(18),M()());a&2&&(a=b.$implicit,b=b.$index,E(2),K("email",a.author==null?null:a.author.emailAddress),E(2),K("model",a.author),E(),K("timestamp",a.updateTime),E(4),V(" ",a.formattingMode," "),E(3),K("email",X(13,8,a.author==null?null:a.author.emailAddress)),E(2),V(" <",X(15,10,a.author==null?null:a.author.emailAddress),"> "),E(2),V(" #",b+1," "),E(2),tk(a.updateText))},vUb=function(a){if(a&
1){var b=y();L(0,"button",9);Q("click",function(){z(b);var c=R(3);return B(c.editStatusUpdate())});U(1," Edit ");M()}},wUb=function(a){a&1&&(L(0,"header",4)(1,"h4",6),U(2,"Status Update"),M(),L(3,"p",7),U(4,"No update yet."),M(),I(5,vUb,2,0,"button",8),W(6,"async"),M());a&2&&(a=R(2),E(5),J(X(6,1,a.showEditButton$)?5:-1))},yUb=function(a){if(a&1){var b=y();L(0,"button",18);Q("click",function(){z(b);var c=R(4);return B(xUb(c))});U(1," Mark as fresh ");M()}},zUb=function(a){if(a&1){var b=y();L(0,"button",
16);Q("click",function(){z(b);var c=R(3);return B(c.editStatusUpdate())});U(1," Edit ");M();I(2,yUb,2,0,"button",17);W(3,"async")}a&2&&(a=R(3),E(2),J(X(3,1,a.freshnessIndicator$)===a.Freshness.STALE?2:-1))},AUb=function(a){a&1&&N(0,"mat-icon",19)},BUb=function(a,b){a&1&&(I(0,AUb,1,0,"mat-icon",19),W(1,"async"),U(2," Updated by "),L(3,"span",20),U(4),W(5,"shortenEmail"),M(),N(6,"b-formatted-date-time",21),L(7,"onedev-hovercard",null,0),N(9,"b-issue-person-card",22),M());if(a&2){a=T(8);var c=R(3);J(X(1,
5,c.freshnessIndicator$)===c.Freshness.FRESH?0:-1);E(3);K("onedevHovercardTrigger",a);E();var d;V(" ",X(5,7,(d=b.author==null?null:b.author.emailAddress)!=null?d:"")," ");E(2);K("timestamp",b.updateTime);E(3);var e;K("email",(e=b.author==null?null:b.author.emailAddress)!=null?e:"")}},CUb=function(a,b){a&1&&N(0,"b-actions-menu",14);a&2&&K("buttonLabel","Status Update actions")("menuItems",b)},DUb=function(a,b){a&1&&(N(0,"b-note-container",23),W(1,"async"),W(2,"async"));if(a&2){a=R();var c=R(3),d;K("issueId",
a.issueId)("issueAccessLevel",X(1,4,c.accessLevel$))("note",b)("formattingMode",(d=X(2,6,c.formattingMode$))!=null?d:c.FormattingMode.PLAIN)}},EUb=function(a){if(a&1){var b=y();L(0,"button",25);Q("click",function(){z(b);var c=R(4);return B(c.isCollapsed=!1)});U(1," Show More ");M()}},FUb=function(a){a&1&&(L(0,"div",15)(1,"div",null,1),I(3,DUb,3,8,"b-note-container",23),W(4,"async"),M(),I(5,EUb,2,0,"button",24),M());if(a&2){var b;a=R(3);E();rk("collapsed",a.isCollapsed);E(2);J((b=X(4,4,a.statusUpdateAsNote$))?
3:-1,b);E(2);J(a.isCollapsed?5:-1)}},GUb=function(a){a&1&&(L(0,"div",5)(1,"header",10)(2,"div",11)(3,"h4",12),U(4,"Status Update"),M(),I(5,zUb,4,3),W(6,"async"),M(),L(7,"div",13),I(8,BUb,10,9),W(9,"async"),I(10,CUb,1,2,"b-actions-menu",14),W(11,"async"),M()(),I(12,FUb,6,6,"div",15),W(13,"async"),M());if(a&2){var b,c,d;a=R(2);E(5);J(X(6,4,a.showEditButton$)?5:-1);E(3);J((b=X(9,6,a.statusUpdate$))?8:-1,b);E(2);J((c=X(11,8,a.menuItems$))?10:-1,c);E(2);J((d=X(13,10,a.statusUpdate$))?12:-1,d)}},IUb=function(a,
b){a&1&&(L(0,"div"),W(1,"async"),N(2,"mat-icon",3),I(3,wUb,7,3,"header",4),I(4,GUb,14,12,"div",5),M());a&2&&(a=R(),sk(zk("carded margin-s-sides margin-s-bottom bg-main highlighted-left flex-kids-x ",X(1,9,a.semanticClass$))),rk("display-none",Dk(11,HUb,a.UiState.LOADING).includes(b))("short-height",a.UiState.EMPTY===b),E(3),J(b===a.UiState.EMPTY?3:-1),E(),J(b===a.UiState.NORMAL?4:-1))},JUb=function(a){switch(a){case 1:return"noUpdate";case 2:return"hasUpdate";case 0:return"";default:return""}},KUb=
function(a){a&1&&N(0,"llm-suggested-bug-fix",6);a&2&&(a=R(),K("issueId",a))},LUb=function(a,b){a&1&&(N(0,"issue-description-area",5)(1,"b-insights-enrichments",null,0),W(3,"async"),N(4,"status-update",6),I(5,KUb,1,1,"llm-suggested-bug-fix",6),N(6,"b-issue-description",7));if(a&2){a=T(2);var c=R();K("id",b);E();rk("hidden",!X(3,6,a.shouldShowInsights$));E(3);K("issueId",b);E();J(c.enableTailwind?5:-1);E();K("id",b)}},MUb=function(a,b){a&1&&(N(0,"issue-summary-card",8,1),W(2,"async"));a&2&&(a=T(1),
rk("hidden",!X(2,3,a.shouldShowSummaryCard$)),K("issueId",b))},NUb=function(a){a&1&&N(0,"issue-event-list",10);a&2&&(a=R(),K("id",a))},OUb=function(a){a&1&&N(0,"issue-event-list",10);a&2&&(a=R(),K("id",a))},PUb=function(a,b){a&1&&(L(0,"div",9),N(1,"b-event-stream-header"),I(2,NUb,1,1,"issue-event-list",10),N(3,"b-post-comment",6),I(4,OUb,1,1,"issue-event-list",10),M());a&2&&(a=R(),rk("recent-first",a.showRecentEventsFirst),E(2),J(a.showRecentEventsFirst?-1:2),E(),K("issueId",b),E(),J(a.showRecentEventsFirst?
4:-1))},QUb=function(a){a&1&&(L(0,"section")(1,"h4"),N(2,"mat-icon",1),U(3),M(),N(4,"inline-images-summary",2)(5,"br")(6,"hr",3),M());if(a&2){a=R(2);var b=R();E(3);V(" Screenshots (",a.length,") ");E();K("issueId",b.issueId)("imageLinks",a)("paginate",!0)}},RUb=function(a){a&1&&I(0,QUb,7,4,"section");a&2&&(a=R(),J(a.length?0:-1))},SUb=function(a){a&1&&I(0,RUb,1,1);a&2&&(a=R(2),J(a.isInternalSession?0:-1))},TUb=function(a){a&1&&(L(0,"section")(1,"h4"),N(2,"mat-icon",4),U(3),M(),N(4,"b-mentioned-issues",
5)(5,"br")(6,"hr",3),M());if(a&2){a=R();var b=R();E(3);V(" Mentioned issues (",a.length,") ");E();K("issueReferences",a)("currentIssueId",b.issueId)("paginate",!0)}},UUb=function(a,b){a&1&&I(0,TUb,7,4,"section");a&2&&J(b.length?0:-1)},VUb=function(a){a&1&&(L(0,"section")(1,"h4"),N(2,"mat-icon",6),U(3),M(),N(4,"related-links-widget",7),M());if(a&2){a=R();var b=R();E(3);V(" Links (",a.length,") ");E();K("links",a)("issueId",b.issueId)("paginate",!0)}},WUb=function(a,b){a&1&&I(0,VUb,5,4,"section");a&
2&&J(b.length?0:-1)},XUb=function(a){a&1&&(I(0,SUb,1,1),W(1,"async"),I(2,UUb,1,1),W(3,"async"),I(4,WUb,1,1),W(5,"async"));if(a&2){var b,c,d;a=R();J((b=X(1,3,a.imageLinks$))?0:-1,b);E(2);J((c=X(3,5,a.issueReferences$))?2:-1,c);E(2);J((d=X(5,7,a.otherLinks$))?4:-1,d)}},YUb=function(a,b){a&1&&N(0,"b-package-mentions-listing",2);if(a&2){a=b.$implicit;b=R(2);var c=R(),d=R();K("issueId",c)("packageMentionSet",a)("displayPackageName",d.displayPackageNames(b))}},ZUb=function(a){if(a&1){var b=y();Mj(0,YUb,
1,3,"b-package-mentions-listing",2,Lj);L(2,"p",3)(3,"a",4);Q("click",function(){z(b);var c=R(3);return B(c.trackSqueegeeClick())});U(4,"View in Squeegee");M()()}a&2&&(a=R(),Nj(a.mentions.packageMentionSet),E(3),K("href",a.link,Ni))},$Ub=function(a){a&1&&(L(0,"div",1),N(1,"img",5),L(2,"p",6),U(3," This issue has no TODOs "),M(),L(4,"p",7),U(5," Buganizer uses a separate service to look for TODOs in the codebase. It didn't find any. "),L(6,"a",8),U(7,"Learn more"),M()()());a&2&&(a=R(3),E(),K("src",
a.ROBOT_SLEEPING,Ni))},aVb=function(a,b){a&1&&I(0,ZUb,5,1)(1,$Ub,8,1,"div",1);a&2&&J(b.mentions&&b.mentions.totalMentions>0?0:1)},bVb=function(a){a&1&&(I(0,aVb,2,1),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.codeMentionsState$))?0:-1,b)}},cVb=function(a){a&1&&N(0,"b-spinner",4);a&2&&K("large",!0)},dVb=function(a){a&1&&N(0,"b-hotlist-grid",5);a&2&&(a=R(),K("hotlists",a.hotlists))},eVb=function(a){a&1&&(L(0,"div",6),N(1,"b-spinner"),L(2,"span"),U(3),M()());a&2&&(a=R(),E(3),V(" Searching",a.query?
" for "+a.query:"","..."))},fVb=function(a){a&1&&U(0," No issues match your search. ")},gVb=function(a){a&1&&U(0," Use search box to find issues. ")},iVb=function(a){a&1&&(L(0,"a",10),U(1," Click to see all open issues"),M());a&2&&K("queryParams",Ck(1,hVb))},jVb=function(a){a&1&&(L(0,"a",11),U(1,"Learn more about searching"),M())},kVb=function(a){a&1&&(L(0,"div",7),N(1,"img",9),I(2,fVb,1,0)(3,gVb,1,0),I(4,iVb,2,2,"a",10)(5,jVb,2,0,"a",11),M());a&2&&(a=R(),K("bFocus",!0),E(),K("src",a.SPACE_EMPTY_STATE,
Ni),E(),J(a.query?2:3),E(2),J(a.currentTracker?4:5))},lVb=function(a){if(a&1){var b=y();L(0,"div",8)(1,"b-issues-grid",12);Q("init",function(c){z(b);var d=R();return B(d.resultsGrid=c)});xk("columnsChange",function(c){z(b);var d=R();wk(d.issueColumns,c)||(d.issueColumns=c);return B(c)});Q("columnsChange",function(){z(b);var c=R();return B(c.onColumnsChange())})("sortChange",function(c){z(b);var d=R();return B(d.setSort(c.field,c.direction))})("rowClick",function(c){z(b);var d=R();return B(d.goToIssue(c.id,
c.isRead,c.event))})("onNextPage",function(){z(b);var c=R();return B(Es(c,c.page,1))})("onPrevPage",function(){z(b);var c=R();return B(Es(c,c.page,-1))});M()()}a&2&&(a=R(),E(),K("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex),vk("columns",a.issueColumns),K("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},mVb=function(a){a&1&&(L(0,"div",3)(1,"h2"),U(2,"Manage SLOs"),M(),L(3,"p",5),U(4,"You have admin rights for all SLOs listed below."),M()())},
nVb=function(a){a&1&&N(0,"b-spinner",4);a&2&&K("large",!0)},oVb=function(a){a&1&&N(0,"b-slo-grid",6);a&2&&(a=R(2),K("slos",a.activeSlos))},pVb=function(a){a&1&&(L(0,"div",7),U(1,"You have no Active SLOs"),M())},qVb=function(a){a&1&&N(0,"b-slo-grid",6);a&2&&(a=R(3),K("slos",a.archivedSlos))},rVb=function(a){a&1&&(L(0,"p",12),U(1," You have no archived SLOs. "),M())},sVb=function(a){a&1&&(L(0,"div",11),I(1,qVb,1,1,"b-slo-grid",6)(2,rVb,2,0,"p",12),M());a&2&&(a=R(2),E(),J(a.archivedSlos.length?1:2))},
tVb=function(a){if(a&1){var b=y();I(0,oVb,1,1,"b-slo-grid",6)(1,pVb,2,0,"div",7);L(2,"button",8);Q("click",function(){z(b);var c=R();c.areArchivedSlosExpanded=!c.areArchivedSlosExpanded;return B()});L(3,"h4",9);N(4,"mat-icon",10);U(5);M()();I(6,sVb,3,1,"div",11)}a&2&&(a=R(),J(a.activeSlos.length?0:1),E(4),rk("rotate-180",a.areArchivedSlosExpanded),K("svgIcon","arrow-dropdown"),E(),V(" Archived SLOs (",a.archivedSlos.length,") "),E(),J(a.areArchivedSlosExpanded?6:-1))},uVb=function(a){if(a&1){var b=
y();L(0,"button",21);Q("click",function(){z(b);var c=R();return B(c.save())});U(1," Save ");M()}a&2&&(a=R(),K("disabled",a.validationForm.invalid))},vVb=function(a,b){a&1&&(L(0,"b-callout",22)(1,"b-callout-body"),U(2),M()());a&2&&(E(2),V(" Other existing configurations in this component already apply for these issue types: ",b," "))},wVb=function(a){a&1&&N(0,"mat-icon",28);a&2&&(R(),a=Yj(2),K("svgIcon",a))},xVb=function(a,b){a&1&&(L(0,"mat-checkbox",26)(1,"div",27),Wj(2),I(3,wVb,1,1,"mat-icon",28),
U(4),M()());if(a&2){var c=b.$implicit;a=R(2);b=c.key;K("formControl",c.value);E(2);c=Xj(a.constants.issueTypeIcons.get(b));E();J(c?3:-1);E();V(" ",a.issueTypeToDisplay(b)," ")}},zVb=function(a){a&1&&(I(0,vVb,3,1,"b-callout",22),W(1,"async"),L(2,"h2",23),U(3,"Issue types"),M(),L(4,"div",24),U(5," Select one or more issue types that this field configuration applies to. "),M(),L(6,"div",25),Mj(7,xVb,5,4,"mat-checkbox",26,yVb),W(9,"keyvalue"),M());if(a&2){var b;a=R();J((b=X(1,1,a.conflictingIssueTypes$))?
0:-1,b);E(7);Nj(X(9,3,a.issueTypesForms))}},AVb=function(a,b){a&1&&(L(0,"td",29)(1,"strong"),U(2),M()());a&2&&(a=b.$implicit,b=R(),Hj("colspan",b.displayedColumns.length),E(2),tk(a.text))},BVb=function(a){if(a&1){var b=y();L(0,"th",30)(1,"mat-checkbox",31);Q("change",function(){z(b);var d=R(),e=Yj(11);d=l(d.customFieldRows);for(var f=d.next();!f.done;f=d.next())f.value.formControl.setValue((e==="all"?"hidden":"visible")==="visible");return B()});U(2," Is Visible? ");M()()}if(a&2){a=R();var c=Yj(11);
E();K("disabled",a.isReadOnly)("checked",c==="all")("indeterminate",c==="some")}},CVb=function(a,b){a&1&&(L(0,"td",29),N(1,"mat-checkbox",32),M());a&2&&(a=b.$implicit,E(),K("formControl",a.formControl))},DVb=function(a){a&1&&(L(0,"th",30),U(1," Name"),M())},EVb=function(a,b){a&1&&(L(0,"td",29),U(1),M());a&2&&(a=b.$implicit,E(),V(" ",a.customField.name," "))},FVb=function(a){a&1&&(L(0,"th",30),U(1," ID"),M())},GVb=function(a,b){a&1&&(L(0,"td",29)(1,"strong"),U(2),M()());a&2&&(a=b.$implicit,E(2),tk(a.customField.customFieldId))},
HVb=function(a){a&1&&(L(0,"th",30),U(1," Type"),M())},IVb=function(a,b){a&1&&(L(0,"td",29),U(1),W(2,"enumToHuman"),M());if(a&2){a=b.$implicit;E();var c;V(" ",X(2,1,(c=a.customField.type)!=null?c:null)," ")}},JVb=function(a){a&1&&(L(0,"th",30),U(1," Description"),M())},KVb=function(a,b){a&1&&(L(0,"td",29),U(1),M());a&2&&(a=b.$implicit,E(),V(" ",a.customField.description," "))},LVb=function(a){a&1&&(L(0,"th",30),U(1," Required?"),M())},MVb=function(a,b){a&1&&(L(0,"td",29),U(1),W(2,"yesNo"),M());a&2&&
(a=b.$implicit,E(),V(" ",X(2,1,a.customField.required)," "))},NVb=function(a){a&1&&(L(0,"th",30),U(1," Default"),M())},OVb=function(a,b){a&1&&(L(0,"td",29),N(1,"b-custom-field-value-display",33),M());a&2&&(a=b.$implicit,E(),K("customFieldValue",a.customField.typedDefaultValue))},PVb=function(a){a&1&&N(0,"tr",34)},QVb=function(a,b){a&1&&N(0,"tr",35);a&2&&rk("disabled-field",!b.$implicit.formControl.value)},RVb=function(a){a&1&&N(0,"tr",35)},VVb=function(a){if(a&1){var b=y();L(0,"b-field-configuration-editor",
8);Q("onSave",function(e){z(b);var f=R(2),h=Yj(0);return B(SVb(f,h.config,e))})("onCancel",function(){z(b);var e=R(2);return B(TVb(e))});M()}if(a&2){a=R(2);var c=Yj(0),d=UVb(a,c.config);K("currentComponentId",a.currentComponentId)("customFields",a.customFields)("configUnderEdit",c.config)("isReadOnly",!a.isAdmin)("existingConfiguredIssueTypes",d)}},XVb=function(a){if(a&1){var b=y();L(0,"b-field-configuration-editor",9);Q("onCancel",function(){z(b);var d=R(2);return B(TVb(d))});M()}if(a&2){a=R(2);
var c=Yj(0);K("currentComponentId",c.config.componentId)("customFields",WVb(a,c.config))("configUnderEdit",c.config)("isReadOnly",!0)}},ZVb=function(a){if(a&1){var b=y();L(0,"b-field-configuration-editor",10);Q("onSave",function(e){z(b);var f=R(2);return B(YVb(f,e))})("onCancel",function(){z(b);var e=R(2);return B(TVb(e))});M()}if(a&2){a=R(2);var c=Yj(0),d=UVb(a,c.config);K("currentComponentId",a.currentComponentId)("customFields",a.customFields)("disallowIssueTypes",c.disallowIssueTypes)("configUnderEdit",
c.config)("existingConfiguredIssueTypes",d)}},aWb=function(a){a&1&&(L(0,"a",12),U(1," Learn more "),M());a&2&&(R(3),K("href",$Vb(),Ni))},bWb=function(a,b){a&1&&(L(0,"td",29)(1,"strong"),U(2),M()());a&2&&(a=b.$implicit,Hj("colspan",5),E(2),tk(a.text))},cWb=function(a){a&1&&(L(0,"th",30),U(1," Name"),M())},dWb=function(a,b){a&1&&(L(0,"td",29),U(1),M());a&2&&(a=b.$implicit,E(),V(" ",a.name," "))},eWb=function(a){a&1&&(L(0,"th",30)(1,"div",31),U(2," Applicable Issue Types "),N(3,"mat-icon",32),L(4,"onedev-hovercard",
null,3)(6,"div",33)(7,"div",34),U(8," Configurations with applicable issue types appearing crossed out will not be applied to those types, due to another configuration taking precedence. "),M()()()()());a&2&&(a=T(5),E(3),K("onedevHovercardTrigger",a))},fWb=function(a){a&1&&Uj(0)},hWb=function(a,b){a&1&&(L(0,"td",29),G(1,fWb,1,0,"ng-container",35),M());a&2&&(a=b.$implicit,R(),b=T(36),E(),K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,gWb,a)))},iWb=function(a){a&1&&(L(0,"th",30),U(1," Inherited From"),
M())},jWb=function(a){a&1&&(Sj(0),N(1,"b-component-card",40,4),Tj());if(a&2){a=T(2);R(2);var b=Yj(1);E();K("onedevIsHovercardReady",a.init)("componentId",b.toString())}},kWb=function(a){a&1&&(L(0,"div",36)(1,"div",37),U(2,"Inherited From"),M(),L(3,"a",38),U(4),M(),L(5,"onedev-hovercard",null,3),G(7,jWb,3,2,"ng-container",39),M()());if(a&2){a=T(6);R();var b=Yj(1),c=Yj(2),d=R(3);E(3);K("onedevHovercardTrigger",a)("href",d.ROUTES.editComponentFieldConfigurations.makeHref(b),Ni);Hj("aria-label","Inherited from "+
c);E();V(" ",c," ")}},lWb=function(a,b){a&1&&(L(0,"td",29),Wj(1)(2),I(3,kWb,8,4,"div",36),M());a&2&&(b=b.$implicit,a=R(3),E(),b=Xj(b.owningComponentId),E(),Xj(a.componentIdsToPaths[b]),E(),J(b!==a.currentComponentId?3:-1))},mWb=function(a){a&1&&(L(0,"th",30),U(1," Actions"),M())},nWb=function(a){a&1&&Uj(0)},oWb=function(a,b){a&1&&(L(0,"td",29),G(1,nWb,1,0,"ng-container",35),M());a&2&&(a=b.$implicit,R(),b=T(34),E(),K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,gWb,a)))},pWb=function(a){a&
1&&N(0,"tr",41)},qWb=function(a){a&1&&N(0,"tr",42)},rWb=function(a){a&1&&N(0,"tr",43)},sWb=function(a){a&1&&(L(0,"div",24),U(1," No custom fields found in this component. Please add custom fields to create a field configuration. "),M())},tWb=function(a,b){a&1&&(L(0,"div",44),U(1),M(),L(2,"div",45)(3,"button",46),U(4," Cancel "),M(),L(5,"button",47),U(6," Confirm "),M()());a&2&&(a=b.$implicit,E(),V(' Are you sure you want to delete the config "',a.name,'"? '),E(2),K("mat-dialog-close",!1),E(2),K("mat-dialog-close",
!0))},uWb=function(a){if(a&1){var b=y();L(0,"button",51);Q("click",function(){z(b);var c=R(2).row,d=R(3);c=wd(c.data);c.name+=" (Copy)";YVb(d,c);return B()});U(1," Create Copy ");M()}},wWb=function(a){if(a&1){var b=y();L(0,"button",52);Q("click",function(){z(b);var c=R(2).row;R(3).state$.next({view:"edit",config:c.data});return B()});U(1," Edit ");M();L(2,"button",53);Q("click",function(){z(b);var c=R(2).row,d=R(3);return B(vWb(d,c.data))});U(3," Delete ");M()}},xWb=function(a){a&1&&(I(0,uWb,2,0,
"button",50),I(1,wWb,4,0));a&2&&(a=R().row,J(a.isDefault?-1:0),E(),J(a.inherited?-1:1))},yWb=function(a){if(a&1){var b=y();L(0,"button",54);Q("click",function(){z(b);var c=R().row;R(3).state$.next({view:"readonly",config:c.data});return B()});U(1," View ");M()}},zWb=function(a,b){a&1&&(L(0,"div",48),I(1,xWb,2,2),I(2,yWb,2,0,"button",49),M());a&2&&(a=b.row,b=R(3),E(),J(b.isAdmin?1:-1),E(),J(a.inherited||!b.isAdmin?2:-1))},AWb=function(a){a&1&&N(0,"mat-icon",57);if(a&2){R();a=Yj(1);var b=Yj(2);rk("non-applicable",
a);K("svgIcon",b)}},BWb=function(a,b){a&1&&(L(0,"div",31),Wj(1)(2),I(3,AWb,1,3,"mat-icon",56),L(4,"span"),U(5),M()());if(a&2){a=b.$implicit;var c=R().row;b=R(3);E();c=Xj(!c.effectiveIssueTypes.has(a));E();var d=Xj(b.constants.issueTypeIcons.get(a));E();J(d?3:-1);E();rk("non-applicable",c);E();tk(b.issueTypeToDisplay(a))}},CWb=function(a,b){a&1&&(L(0,"div",55),Mj(1,BWb,6,6,"div",31,Lj),M());a&2&&(a=b.row,E(),Nj(a.issueTypes))},GWb=function(a){if(a&1){var b=y();L(0,"div")(1,"div",11);U(2," Field visibility is determined by configurations made on a per-issue-type basis. Matching configurations higher in the table will supersede those further down. ");
I(3,aWb,2,1,"a",12);M();L(4,"table",13);Sj(5,14);G(6,bWb,3,2,"td",15);Tj();Sj(7,16);G(8,cWb,2,0,"th",17)(9,dWb,2,1,"td",15);Tj();Sj(10,18);G(11,eWb,9,1,"th",17)(12,hWb,2,4,"td",15);Tj();Sj(13,19);G(14,iWb,2,0,"th",17)(15,lWb,4,3,"td",15);Tj();Sj(16,20);G(17,mWb,2,0,"th",17)(18,oWb,2,4,"td",15);Tj();G(19,pWb,1,0,"tr",21)(20,qWb,1,0,"tr",22)(21,rWb,1,0,"tr",23);M();N(22,"mat-divider");I(23,sWb,2,0,"div",24);L(24,"div",25)(25,"button",26);Q("click",function(){z(b);var c=R(2);return B(DWb(c))});U(26,
" Create New Typed Configuration ");M();L(27,"button",27);Q("click",function(){z(b);var c=R(2);DWb(c,void 0,"disallowIssueTypes");return B()});U(28," Create New Default Configuration ");M();L(29,"button",28);Q("click",function(){z(b);var c=R(2);return B(EWb(c))});U(30," Reorder Configurations ");M()();G(31,tWb,7,3,"ng-template",null,0,Gk)(33,zWb,3,2,"ng-template",null,1,Gk)(35,CWb,3,0,"ng-template",null,2,Gk);M()}a&2&&(a=R(2),E(3),J(a.isInternalSession?3:-1),E(),K("dataSource",a.allTableRows$),E(15),
K("matHeaderRowDef",a.displayedColumns),E(),K("matRowDefColumns",a.displayedColumns),E(),K("matRowDefColumns",Ck(10,FWb))("matRowDefWhen",a.isSectionTitleRow),E(2),J(a.customFields.length?-1:23),E(2),K("disabled",!a.isAdmin||!a.customFields.length),E(2),K("disabled",!a.isAdmin||!a.customFields.length||a.ownDefaultFieldConfig),E(2),K("disabled",!a.isAdmin||a.ownTypedFieldConfigs.length<2))},HWb=function(a){a&1&&I(0,VVb,1,5,"b-field-configuration-editor",5)(1,XVb,1,4,"b-field-configuration-editor",
6)(2,ZVb,1,5,"b-field-configuration-editor",7)(3,GWb,37,11,"div");a&2&&(R(),a=Yj(0),J(a.view=="edit"?0:a.view=="readonly"?1:a.view=="create"?2:3))},IWb=function(a){a&1&&(L(0,"p"),U(1,"Team inheritance path:"),M(),N(2,"b-team-breadcrumb",0));a&2&&(a=R(),E(2),K("teamPath",a.teamPath))},JWb=function(a){a&1&&(L(0,"p"),U(1,"Component inheritance path:"),M(),N(2,"b-component-breadcrumb",1));a&2&&(a=R(),E(2),K("componentPathInfo",a.componentPath))},KWb=function(a){var b={};a=l(a.groupMetadata);for(var c=
a.next();!c.done;c=a.next())c=c.value,b[c.groupEmail]=c;return b},NWb=function(a){return{approximateSize:pe(Re(a,2)),groupEmail:Oc(a,1),sizeCategory:LWb[Zd(a,3)],permissionCategory:MWb[Zd(a,5)]}},PWb=function(a){a=ie(a,OWb,1,Rd(),Kc);return{groupMetadata:(a!=null?a:[]).map(NWb)}},RWb=function(a,b){var c=[];if(!b||!a)return c;for(var d=l(QWb),e=d.next();!e.done;e=d.next()){e=e.value;var f=Dd(e.accessor(b)||[],e.accessor(a)||[]);f.length&&c.push({field:e.field,addedPrincipals:f})}return c},TWb=function(a,
b){if(!a.appenders||!b||vd(b.appenders,a.appenders))return!1;a=l(a.appenders||[]);for(var c=a.next();!c.done;c=a.next())if(c=c.value,SWb.has(c)&&!b.appenders.includes(c))return!0;return!1},UWb=function(a){var b=new Map;a=l(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},VWb=function(a,b){return a!==0&&b!==0?"Adding large and open groups to a public component":a!==0?a===1?"Adding a large group to a public component":
"Adding large groups to a public component":b===1?"Adding an open group to a public component":"Adding open groups to a public component"},WWb=function(a){if(a.size===0)return Or;for(var b=a.size===1?qd("p",{},"The following large group is added: "):qd("p",{},"The following large groups are added: "),c=[],d=l(a.keys()),e=d.next();!e.done;e=d.next()){e=e.value;var f=a.get(e).approximateSize;c.push(qd("p",{},pd([qd("b",{},e)," has approximately ",qd("b",{},f)," Googlers."])))}return pd([b].concat(p(c)))},
XWb=function(a){if(a.size===0)return Or;var b=a.size===1?qd("p",{},"The following open group is added: "):qd("p",{},"The following open groups are added: "),c=[];a=l(a.keys());for(var d=a.next();!d.done;d=a.next())c.push(qd("p",{},qd("b",{},d.value)));return pd([b].concat(p(c)))},YWb=function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.permissionCategory==="OPEN_TO_JOIN"&&b.set(c.groupEmail,c);return b},ZWb=function(a,b){var c=b.restrictedPlusReaders;return a.restrictedPlusReaders.filter(function(d){return!c.includes(d)}).filter(function(d){return d.startsWith("GROUP:")}).length>
0},$Wb=function(a,b,c){a="USER:"+a;var d=c.admins.concat(c.inheritedAdmins);b=b.admins.concat(b.inheritedAdmins).filter(function(f){return!d.includes(f)});c=b.filter(function(f){return f.startsWith("GROUP:")});var e=b.filter(function(f){return f.startsWith("USER:")});return d.includes(a)||b.length===0?!1:e.includes(a)?!0:c.length?!0:!1},Fs=function(a){var b=a.split(":");a=b[0];return a==="ALIAS"?(b=b[1],{value:b,displayText:Vea(b),principalType:a,detailedUserType:null}):{value:b[1],displayText:b[1],
principalType:a,detailedUserType:null}},aXb=function(a,b){a&1&&N(0,"b-contact-chip",4);a&2&&(a=b.$implicit,b=R(2),K("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},bXb=function(a,b){a&1&&(L(0,"tr",2)(1,"th",3),U(2),M(),L(3,"td"),Mj(4,aXb,1,5,"b-contact-chip",4,Lj),M()());a&2&&(a=b.$implicit,E(2),tk(a.permission),E(2),Nj(a.principals))},fXb=function(a){var b="minimal";b=b===void 0?"expanded":b;a=cXb(a);
a=Hha(a,function(c){c=dXb(c);return eXb(c,b)});return cXb(a)},hXb=function(a){a=cXb(a);a=Hha(a,function(b){b=gXb(b);return dXb(b)});return cXb(a)},eXb=function(a,b){var c=b==="expanded"?iXb:jXb;return new Set([].concat(p(a)).flatMap(function(d){return[].concat(p(c.get(d)))}))},gXb=function(a){return new Set(kXb.filter(function(b){return Dea(a,jXb.get(b))}))},dXb=function(a){a=eXb(a,"expanded");var b=gXb(a);return new Set([].concat(p(b)).filter(function(c){return[].concat(p(lXb.get(c))).every(function(d){return!b.has(d)})}))},
cXb=function(a){var b=new Map;a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;d=l(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=void 0;b.set(e,((f=b.get(e))!=null?f:new Set).add(c))}}return b},nXb=function(){function a(f,h){c.has(f)||c.set(f,new Set);var k=c.get(f);k.add(h);var q;h=l((q=b.get(h))!=null?q:[]);for(q=h.next();!q.done;q=h.next())q=q.value,k.has(q)||a(f,q)}var b=mXb,c=new Map,d=[].concat(p(b.values())).flatMap(function(f){return[].concat(p(f))});
d=l(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},oXb=function(a){var b=fXb(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((e=b.get(d))!=null?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")}}},pXb=function(a){var b=a.componentAccessPolicy;a=a.issueAccessPolicy;return oo([].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()},rXb=function(a){function b(e){var f;return[].concat(p((f=d.get(e))!=null?f:[])).sort()}
if(!a)return qXb;var c=a.issueAccessPolicy;a=a.componentAccessPolicy;var d=hXb(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}},sXb=function(a,b){var c;(c=!b)||(c=!(!vd([].concat(p(b.admins)).sort(),[].concat(p(a.admins)).sort())||
!vd([].concat(p(b.appenders)).sort(),[].concat(p(a.appenders)).sort())||!vd(b.implicitAccess,a.implicitAccess)));return!c},tXb=function(a,b){return b&&a?!vd([].concat(p(a.admins)).sort(),[].concat(p(b.admins)).sort())||!vd([].concat(p(a.editors)).sort(),[].concat(p(b.editors)).sort())||!vd([].concat(p(a.appenders)).sort(),[].concat(p(b.appenders)).sort())||!vd([].concat(p(a.readers)).sort(),[].concat(p(b.readers)).sort())||!vd([].concat(p(a.restrictedReaders)).sort(),[].concat(p(b.restrictedReaders)).sort())||
!vd([].concat(p(a.restrictedPlusReaders)).sort(),[].concat(p(b.restrictedPlusReaders)).sort()):!1},uXb=function(a,b){var c=Object.keys(a);c=l(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!pCa(a[d],b[d]))return!0;return!1},vXb=function(a){if(a&1){var b=y();L(0,"input",15);xk("ngModelChange",function(c){z(b);var d=R(2);wk(d.rolesEditor.component.accessLimit.accessLevel,c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return B(c)});M()}a&2&&(a=R(2),K("disabled",!a.rolesEditor.isAdmin),
vk("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},wXb=function(a){if(a&1){var b=y();L(0,"input",16);xk("ngModelChange",function(c){z(b);var d=R(2);wk(d.rolesEditor.component.accessLimit.accessLevel,c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return B(c)});M()}a&2&&(a=R(2),K("disabled",!a.rolesEditor.isAdmin||!a.isParentPartner()),vk("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},xXb=function(a){if(a&1){var b=y();L(0,"input",17);xk("ngModelChange",function(c){z(b);
var d=R(2);wk(d.rolesEditor.component.accessLimit.accessLevel,c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return B(c)});M()}a&2&&(a=R(2),K("disabled",!a.rolesEditor.isAdmin||!a.isParentPublic()),vk("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},yXb=function(a,b){a&1&&(L(0,"p",14)(1,"a",18),U(2," Learn more "),M()());a&2&&(E(),K("href",b,Ni))},zXb=function(a){a&1&&(L(0,"div",0)(1,"div",3)(2,"span",4),U(3,"Component visibility: "),M()(),L(4,"div",5)(5,"div",6),I(6,vXb,1,2,
"input",7),L(7,"label",8),U(8),M()(),L(9,"div",6),I(10,wXb,1,2,"input",9),L(11,"label",10),U(12),M()(),L(13,"div",11),I(14,xXb,1,2,"input",12),L(15,"label",13),U(16),M()()(),I(17,yXb,3,1,"p",14),M());if(a&2){var b;a=R();E(6);J(a.rolesEditor.component&&a.rolesEditor.component.accessLimit?6:-1);E(2);V(" ",T7a(a.AccessLevelStrings.INTERNAL)," ");E(2);J(a.rolesEditor.component&&a.rolesEditor.component.accessLimit?10:-1);E(2);V(" ",T7a(a.AccessLevelStrings.EXTERNAL_PARTNER)," ");E(2);J(a.rolesEditor.component&&
a.rolesEditor.component.accessLimit?14:-1);E(2);V(" ",T7a(a.AccessLevelStrings.EXTERNAL_PUBLIC)," ");E();J((b=TYa(a.documentationLinks))?17:-1,b)}},EXb=function(a,b){if(a&1){var c=y();L(0,"tr")(1,"td")(2,"div",1)(3,"div",2)(4,"label",3);U(5);M();L(6,"button",4);N(7,"mat-icon",5);M()();L(8,"b-multi-user-input",6);Q("usersChange",function(e){var f=z(c).$implicit,h=R();return B(h.updateRolesMap(f.roleType,e))})("isValid",function(e){var f=z(c).$implicit,h=R();h.aclFormValidity.set(f.roleType,e);e=[].concat(p(h.aclFormValidity.values())).every(Boolean);
h.formIsValid.emit(e);return B()});M()()();L(9,"td");N(10,"b-icon",7);M();L(11,"td");N(12,"b-icon",7);M();L(13,"td");N(14,"b-icon",8);M();L(15,"td");N(16,"b-icon",8);M();L(17,"td");N(18,"b-icon",8);M();L(19,"td");N(20,"b-icon",8);M();L(21,"td");N(22,"b-icon",8);M();L(23,"td");N(24,"b-icon",8);M()()}if(a&2){a=b.$implicit;b=R();E(2);rk("bv2-edit-resource-readonly",b.canEdit);E(2);K("htmlFor",a.roleType);E();tk(a.label);E();K("matTooltip",a.tooltip);E(2);var d;K("idForInputBox",a.roleType)("users",a.users)("ariaLabel",
a.ariaLabel)("accessLevel",b.accessLevel)("customValidators",(d=a.customValidators)!=null?d:Ck(24,AXb))("includeAliases",a.includeAliases)("includeViewAliases",a.includeViewAliases)("containerChips",(a.chips==null?0:a.chips.values)&&a.chips.values.length>0?Dk(28,BXb,Ek(25,CXb,a.chips.displayText,a.chips.values)):Ck(30,DXb));Hj("disabled",b.canEdit?null:!0);E(2);K("name",b.getIconName(a,"componentAdmin"))("matTooltip",b.getTooltip(a,"componentAdmin"));E(2);K("name",b.getIconName(a,"createIssues"))("matTooltip",
b.getTooltip(a,"createIssues"));E(2);K("name",b.getIconName(a,"issueAdmin"));E(2);K("name",b.getIconName(a,"issueEditor"));E(2);K("name",b.getIconName(a,"issueCommenter"));E(2);K("name",b.getIconName(a,"issueReader"));E(2);K("name",b.getIconName(a,"restrictedReader"));E(2);K("name",b.getIconName(a,"restrictedPlusReader"))}},FXb=function(a){a&1&&(L(0,"div",0),N(1,"b-spinner"),M())},HXb=function(a){if(a&1){var b=y();L(0,"div")(1,"div",1)(2,"mat-tab-group",2);Q("selectedIndexChange",function(c){z(b);
var d=R();return B(d.tabChange(c))});L(3,"mat-tab",3)(4,"roles-view",4);Q("saveRolesMap",function(c){z(b);var d=R();GXb(d.rolesEditor,c);return B()});M()();L(5,"mat-tab",5);N(6,"permissions-view",6);M()()()()}a&2&&(a=R(),E(2),K("selectedIndex",a.selectedTabIndex),E(2),K("rolesMap",a.rolesEditor.rolesMap)("isSaving",a.isSaving())("component",a.rolesEditor.component)("rolesEditor",a.rolesEditor),E(2),K("componentReaders",a.rolesEditor.componentReaders)("componentAccessPolicy",a.rolesEditor.componentFlattenedAccessPolicy)("issueAccessPolicy",
a.rolesEditor.issueDefaultFlattenedAccessPolicy)("accessLevel",a.rolesEditor.component==null?null:a.rolesEditor.component.accessLimit==null?null:a.rolesEditor.component.accessLimit.accessLevel))},JXb=function(a){if(a&1){var b=y();L(0,"b-button",20,1);Q("onAction",function(){z(b);var c=R(3);return B(IXb(c))});U(2);M()}a&2&&(a=R(3),K("disabled",a.isSaving()),E(2),V(" ",a.archiveAction," Component "))},KXb=function(a){if(a&1){var b=y();L(0,"b-button",21);Q("onAction",function(){z(b);var c=R(3);return B(c.createIssue())});
U(1," Create Issue ");M()}a&2&&(a=R(3),K("tooltip",a.isArchived()?"Cannot create issue in archived component":"")("disabled",a.isArchived()))},LXb=function(a){a&1&&(L(0,"a",17),U(1," Browse Components "),M(),I(2,JXb,3,2,"b-button",18),I(3,KXb,2,2,"b-button",19));a&2&&(a=R(2),K("routerLinkObj",a.componentListRoute(a.component.componentId)),E(2),J(a.isAdmin()?2:-1),E(),J(a.isAnonymous?-1:3))},MXb=function(a){a&1&&(L(0,"div",16),N(1,"b-spinner"),M())},NXb=function(a){a&1&&(L(0,"span",23),U(1," (archived) "),
M())},OXb=function(a){a&1&&Uj(0)},PXb=function(a){a&1&&Uj(0)},QXb=function(a){a&1&&Uj(0)},RXb=function(a){a&1&&Uj(0)},SXb=function(a){a&1&&(L(0,"mat-tab",35),G(1,RXb,1,0,"ng-container",32),M());if(a&2){R();a=T(31);var b=R(2);K("id",b.tabsService.Tab.FIELD_VISIBILITY);E();K("ngTemplateOutlet",a)}},TXb=function(a){a&1&&Uj(0)},UXb=function(a){a&1&&Uj(0)},WXb=function(a){if(a&1){var b=y();L(0,"div",54)(1,"div",46)(2,"label",70)(3,"span",43);U(4,"Parent Component");M()();L(5,"span",48)(6,"div",71)(7,"strong");
U(8,"Careful!");M();U(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. ");L(10,"div",50);N(11,"div",51)(12,"div",52);M()()()();L(13,"b-team-component-picker",72);Q("selectedComponentChange",function(c){z(b);var d=R(4);return B(d.parentComponent=c!=null?c:null)});M()()}a&2&&(a=R(4),E(2),rk("required",a.isParentComponentRequired&&
!VXb(a)),E(11),K("selectedComponent",a.parentComponent)("placeholder","Choose Component")("isRequired",a.isParentComponentRequired&&!VXb(a)))},XXb=function(a){a&1&&(L(0,"a",60),U(1," Learn more "),M());a&2&&(R(4),K("href",fMb(),Ni))},YXb=function(a){if(a&1){var b=y();L(0,"div",73)(1,"label",74)(2,"span",43);U(3,"Retention Settings");M()();L(4,"div",75)(5,"p");U(6,"Please choose a period of time to retain the data stored in this component.");N(7,"br");L(8,"a",76);U(9," Learn more ");M()()();L(10,"div",
77)(11,"b-retention-settings-form",78);Q("modelChange",function(c){z(b);var d=R(4);return B(d.component.retentionSettings=c)})("validChange",function(c){z(b);R(4).retentionIsValid=c;return B()});M()()()}a&2&&(a=R(4),rk("bv2-edit-resource-readonly",!a.isAdmin()),E(8),K("href",Gs(),Ni),E(3),K("issueRetentionDisabled",a.isAccessEditDisabled())("isExternal",a.isExternal())("componentPathInfo",a.component.componentPathInfo)("componentId",a.component.componentId)("initialModel",a.component.retentionSettings))},
$Xb=function(a){if(a&1){var b=y();L(0,"div",81)(1,"b-component-team-picker",82);Q("modelChange",function(c){z(b);var d=R(5);d.component.team=c;d.componentTeam$.next(d.component.team);d.component.slo.inherit&&ZXb(d);return B()});M()()}a&2&&(a=R(5),E(),K("anchorTarget",yk(a.hasUnsavedChanges()?"_blank":"_self"))("isAdmin",a.isAdmin())("isTopLevel",!a.isParentComponentRequired)("parentModel",a.parentComponent==null?null:a.parentComponent.team)("useInternalLink",!0)("model",a.component.team))},aYb=function(a){a&
1&&(L(0,"div",79)(1,"label",80)(2,"span",43),U(3,"Team Configuration"),M()(),I(4,$Xb,2,7,"div",81),M());a&2&&(a=R(4),rk("bv2-edit-resource-readonly",!a.isAdmin()),E(4),J(a.component.team?4:-1))},bYb=function(a){a&1&&(L(0,"a",92),U(1),M());if(a&2){a=R();var b=R(5);K("routerLinkObj",b.getSloManagementLink(a.id));E();var c;V(" ",(c=a.slo==null?null:a.slo.name)!=null?c:a.id," ")}},cYb=function(a){a&1&&U(0," None ")},dYb=function(a,b){a&1&&(L(0,"div",87),U(1," Inherited SLO Policy: "),I(2,bYb,2,2,"a",
92)(3,cYb,1,0),M());a&2&&(E(2),J(b.id!=="0"?2:3))},eYb=function(a){a&1&&(L(0,"a",93),U(1),W(2,"titlecase"),M());a&2&&(a=R(),K("routerLinkObj",a.link),E(),uk(" (",X(2,3,a.type),") ",a.name," "))},fYb=function(a){a&1&&U(0," None ")},gYb=function(a){a&1&&(L(0,"div",95),N(1,"slo-inheritance-breadcrumbs",96),M());a&2&&(a=R(),E(),K("componentPath",a.componentPath)("teamPath",a.teamPath))},hYb=function(a){a&1&&I(0,gYb,2,2,"div",95);a&2&&(a=R(6),J(a.showSloInheritancePath?0:-1))},iYb=function(a,b){if(a&1){var c=
y();L(0,"div",88);U(1," Policy Source: ");I(2,eYb,3,5,"a",93)(3,fYb,1,0);L(4,"button",94);Q("click",function(){z(c);var e=R(5);return B(e.showSloInheritancePath=!e.showSloInheritancePath)});U(5);M();I(6,hYb,1,1);W(7,"async");M()}if(a&2){var d;a=R(5);E(2);J(b.link?2:3);E(2);Hj("aria-expanded",a.showSloInheritancePath);E();V(" ",a.showSloInheritancePath?"Hide":"Show"," full path ");E();J((d=X(7,4,a.policySourcePath$))?6:-1,d)}},jYb=function(a){a&1&&(U(0," , "),L(1,"a",97),U(2,"Team Leads"),M());a&2&&
(a=R(6),E(),K("routerLinkObj",{path:"/teams/"+a.component.team.id+"/edit",fragment:a.tabsService.Tab.ACCESS}))},kYb=function(a){a&1&&(L(0,"div",89),U(1," SLO Admins: "),L(2,"a",97),U(3,"Component Admins"),M(),I(4,jYb,3,1),M());a&2&&(a=R(5),E(2),K("routerLinkObj",a.componentPermissions(a.componentId)),E(2),J(a.component.team&&a.component.team.id!=="0"?4:-1))},lYb=function(a){a&1&&(N(0,"mat-icon",98),U(1," on "))},mYb=function(a){a&1&&(N(0,"mat-icon",99),U(1," off "))},nYb=function(a){a&1&&(U(0," Lock: "),
I(1,lYb,2,0),W(2,"async"),Jj(3,mYb,2,0));a&2&&(a=R(5),E(),J(X(2,1,a.sloLocked$)?1:3))},pYb=function(a){if(a&1){var b=y();L(0,"div",91)(1,"mat-checkbox",100);Q("change",function(c){z(b);var d=R(5);c=c.checked;d.component.slo.inherit=!c;c||ZXb(d);return B()});L(2,"span");U(3,"Override the inherited SLO policy");M()()()}a&2&&(a=R(5),E(),K("checked",!a.component.slo.inherit)("disabled",!oYb(a)))},rYb=function(a){if(a&1){var b=y();L(0,"div",101)(1,"label",107);U(2," Justification ");M();N(3,"mat-icon",
108);L(4,"textarea",109);xk("ngModelChange",function(c){z(b);var d=R(6);wk(d.component.slo.comment,c)||(d.component.slo.comment=c);return B(c)});M()()}a&2&&(a=R(6),E(4),vk("ngModel",a.component.slo.comment),K("disabled",!qYb(a)))},sYb=function(a){a&1&&(L(0,"a",106),N(1,"mat-icon",110),M());a&2&&(a=R(6),K("target",yk(a.hasUnsavedChanges()?"_blank":"_self"))("routerLinkObj",a.getSloManagementLink(a.component.slo.id)))},wYb=function(a){if(a&1){var b=y();I(0,rYb,5,2,"div",101);L(1,"mat-slide-toggle",
102);xk("ngModelChange",function(d){z(b);var e=R(5);wk(e.isEnableSloChecked,d)||(e.isEnableSloChecked=d);return B(d)});Q("change",function(d){z(b);var e=R(5);d=d.checked;e.isEnableSloChecked=d;d||(e.component.slo.id=void 0);return B()});U(2," Enable SLO ");M();L(3,"div",103)(4,"label",104);U(5,"SLO policy");M();L(6,"slo-picker",105);Q("onSloSelect",function(d){z(b);var e=R(5);return B(e.onSloChange(d))});M();I(7,sYb,2,3,"a",106);M()}if(a&2){a=R(5);J(tYb(a)?0:-1);E();rk("indented",uYb(a));vk("ngModel",
a.isEnableSloChecked);K("disabled",!vYb(a));E(5);var c;K("bv2Disabled",!a.isEnableSloChecked||!vYb(a))("boundId",(c=a.component.slo.id)!=null?c:null)("bv2Placeholder",a.isEnableSloChecked&&vYb(a)?"Type to search for an SLO":"SLO disabled");E();J(a.component.slo.id&&a.component.slo.id!=="0"?7:-1)}},xYb=function(a){a&1&&(L(0,"div",83)(1,"div",46)(2,"label",84)(3,"span",43),U(4,"SLO Configuration"),M()(),L(5,"span",48)(6,"div",85)(7,"strong"),U(8,"Careful!"),M(),U(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. "),
L(10,"div",50),N(11,"div",51)(12,"div",52),M()()()(),L(13,"div",86),I(14,dYb,4,1,"div",87),W(15,"async"),I(16,iYb,8,6,"div",88),W(17,"async"),I(18,kYb,5,2,"div",89),L(19,"div",90),I(20,nYb,4,3),M()(),I(21,pYb,4,2,"div",91),I(22,wYb,8,9),M());if(a&2){var b,c;a=R(4);rk("bv2-edit-resource-readonly",!qYb(a));E(14);J((b=X(15,8,a.inheritedSlo$))?14:-1,b);E(2);J((c=X(17,10,a.sloPolicySource$))?16:-1,c);E(2);J(a.sessionIsInternal?18:-1);E(2);J(a.enableSloLockingUi?20:-1);E();J(uYb(a)?21:-1);E();a.component&&
a.component.slo?(b=!!a.component.team&&a.component.team.id!=="0",c=!a.component.slo.inherit,a=!a.component.parentComponentId&&!b||c):a=!1;J(a?22:-1)}},yYb=function(a){if(a&1){var b=y();L(0,"mat-slide-toggle",111);Q("change",function(c){z(b);R(4).component.spamProtection=c.checked?"ALL_PROTECTIONS":"NO_PROTECTIONS";return B()});U(1," Enable Spam Protections ");M()}a&2&&(a=R(4),K("checked",a.sessionIsInternal&&a.getComponentAccessLevel()==="EXTERNAL_PUBLIC"?a.component.spamProtection==="ALL_PROTECTIONS"||
a.component.spamProtection==="SPAM_PROTECTION_UNSPECIFIED":!1)("disabled",a.isAccessEditDisabled()))},zYb=function(a){if(a&1){var b=y();L(0,"div",66)(1,"b-button",112);Q("onAction",function(){z(b);var c=R(4);return B(c.saveMetadata())});U(2," Update ");M();L(3,"b-button",113);Q("onAction",function(){z(b);var c=R(4);return B(c.revertMetadataChanges())});U(4," Revert Changes ");M();L(5,"b-button",113);Q("onAction",function(){z(b);var c=R(4);return B(c.createChild())});U(6," Create Child Component ");
M()()}a&2&&(a=R(4),E(),K("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),E(2),K("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),E(2),K("disabled",a.hasUnsavedMetadataChanges()))},AYb=function(a){if(a&1){var b=y();L(0,"b-button",114);Q("onAction",function(){z(b);var c=R(4);return B(c.showUpdateHistoryModal())});U(1," View History ");M()}},BYb=function(a){a&1&&N(0,"b-spinner")},CYb=function(a){if(a&1){var b=y();L(0,"b-component-children-list",115);Q("onVisit",function(){z(b);var c=
R(4);return B(c.trackClick("openChildComponent"))});M()}a&2&&(a=R(4),K("children",a.childComponents))},DYb=function(a){a&1&&(L(0,"span"),U(1," No child components. "),M())},FYb=function(a){if(a&1){var b=y();L(0,"div",38)(1,"form",39,8);N(3,"b-error-banner",40);L(4,"div",41)(5,"label",42)(6,"span",43);U(7,"Name");M()();L(8,"input",44);xk("ngModelChange",function(c){z(b);var d=R(3);wk(d.component.name,c)||(d.component.name=c);return B(c)});M()();L(9,"div",45)(10,"div",46)(11,"label",47)(12,"span",43);
U(13,"Description");M()();L(14,"span",48)(15,"div",49);U(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. ");L(17,"div",50);N(18,"div",51)(19,"div",52);M()()()();L(20,"textarea",53);xk("ngModelChange",function(c){z(b);var d=R(3);wk(d.component.description,c)||(d.component.description=c);return B(c)});U(21,"                ");M()();I(22,WXb,14,5,"div",54);L(23,"div",55)(24,"div",56)(25,"mat-checkbox",
57);Q("change",function(c){z(b);var d=R(3);return B(d.setCommentEditState(c.checked))});M()();L(26,"div")(27,"strong",58);U(28,"Editable Comments");M();L(29,"div",59);U(30," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");N(31,"br");I(32,XXb,2,1,"a",60);M()()();I(33,YXb,12,8,"div",61);I(34,aYb,5,3,"div",62);I(35,xYb,23,12,"div",63);I(36,yYb,2,2,"mat-slide-toggle",64);L(37,"div",65);I(38,zYb,7,3,"div",66);L(39,"div",66);
I(40,AYb,2,0,"b-button",67);M()();L(41,"div",68)(42,"label")(43,"span",43);U(44,"Child Components");M()();I(45,BYb,1,0,"b-spinner");I(46,CYb,1,1,"b-component-children-list",69);I(47,DYb,2,0,"span");M()()()}a&2&&(a=R(3),E(),rk("show-errors",a.error),E(2),K("error",a.error),E(),rk("bv2-edit-resource-readonly",EYb(a)),E(4),vk("ngModel",a.component.name),K("disabled",EYb(a)),E(),rk("bv2-edit-resource-readonly",EYb(a)),E(11),vk("ngModel",a.component.description),K("disabled",EYb(a)),E(2),J(a.isAdmin()?
22:-1),E(),rk("bv2-edit-resource-readonly",a.isAccessEditDisabled()),E(2),K("checked",a.commentEditsEnabled)("disabled",EYb(a)),E(7),J(a.sessionIsExternal?-1:32),E(),J(a.sessionIsExternal?-1:33),E(),J(a.sessionIsInternal?34:-1),E(),J(a.component.slo&&a.sessionIsInternal?35:-1),E(),J(a.sessionIsInternal&&a.getComponentAccessLevel()==="EXTERNAL_PUBLIC"?36:-1),E(2),J(a.isEditorInternal||qYb(a)?38:-1),E(2),J(a.componentHistoryUiEnabled?40:-1),E(5),J(a.childComponents===void 0?45:-1),E(),J(a.childComponents&&
a.childComponents.length>0?46:-1),E(),J(a.childComponents&&a.childComponents.length===0?47:-1))},GYb=function(a){a&1&&(L(0,"div",116),U(1," Standard Fields "),M())},IYb=function(a){if(a&1){var b=y();L(0,"b-component-standard-fields",120);Q("updateComponent",function(c){z(b);var d=R(4);return B(HYb(d,c))});M()}a&2&&(a=R(4),K("effortSpec",a.component.effortSpec)("parentEffortSpec",a.parentComponent==null?null:a.parentComponent.effortSpec)("disabled",!a.isEditorInternal))},JYb=function(a){a&1&&(L(0,
"div",118),U(1," Custom Fields "),M())},LYb=function(a){a&1&&(I(0,GYb,2,0,"div",116),I(1,IYb,1,3,"b-component-standard-fields",117),I(2,JYb,2,0,"div",118),N(3,"b-component-custom-fields",119));a&2&&(a=R(3),J(KYb(a)?0:-1),E(),J(KYb(a)?1:-1),E(),J(KYb(a)?2:-1),E(),K("editMode",a.isEditorInternal)("isSaving",a.isSaving())("component",a.component)("parentComponent",a.parentComponent))},MYb=function(a){a&1&&(L(0,"a",122),U(1," Learn more "),M());a&2&&(R(4),K("href",$Vb(),Ni))},OYb=function(a){if(a&1){var b=
y();L(0,"div",38)(1,"div",121);U(2," Field ordering will be applied to all issues and templates in this component, including the right panel on the Issue Detail page. ");I(3,MYb,2,1,"a",122);M();L(4,"b-field-reorder",123);Q("onReload",function(){z(b);var c=R(3);return B(NYb(c))});M()()}a&2&&(a=R(3),E(3),J(a.sessionIsInternal?3:-1),E(),K("fields",a.orderedCustomFields)("componentId",a.componentId)("fieldOrdering",a.component.fieldOrdering)("isAdmin",a.isAdmin()))},PYb=function(a){a&1&&(L(0,"div",38),
N(1,"b-field-configuration",124),M());a&2&&(a=R(4),E(),K("isAdmin",a.isAdmin())("componentPathInfo",a.component.componentPathInfo))},QYb=function(a){a&1&&I(0,PYb,2,2,"div",38);a&2&&(a=R(3),J(a.component.componentPathInfo?0:-1))},RYb=function(a){a&1&&N(0,"b-edit-templates",125);a&2&&(a=R(4),K("componentId",a.componentId)("supportCustomFields",!0))},SYb=function(a){a&1&&(L(0,"div"),U(1),M());a&2&&(a=R().$implicit,E(),tk(a.description))},TYb=function(a,b){a&1&&(L(0,"div",126)(1,"label"),U(2),M(),I(3,
SYb,2,1,"div"),L(4,"div")(5,"a",127),U(6),M()()());a&2&&(a=b.$implicit,E(2),tk(a.name),E(),J(a.description?3:-1),E(2),K("href",a.url,Ni),Hj("aria-label","Click to open the template "+a.name),E(),tk(a.url))},UYb=function(a){a&1&&Mj(0,TYb,7,5,"div",126,Lj);a&2&&(a=R(4),Nj(a.templates))},VYb=function(a){a&1&&(L(0,"div",38),I(1,RYb,1,2,"b-edit-templates",125)(2,UYb,2,0),M());a&2&&(a=R(3),E(),J(a.isEditorInternal?1:2))},XYb=function(a){if(a&1){var b=y();L(0,"role-based-permissions",128);Q("onTabChange",
function(c){z(b);var d=R(3).tabsService;d.selectedAccessSubTabIndex=c;WYb(d);return B()});M()}a&2&&(a=R(3),K("tabIndex",a.tabsService.selectedAccessSubTabIndex))},YYb=function(a){if(a&1){var b=y();L(0,"div")(1,"div",22)(2,"h2");U(3);M();I(4,NXb,2,0,"span",23);L(5,"a",24);Q("click",function(){z(b);var k=R(2);return B(k.trackClick("recentIssues"))});U(6," (Recent Issues)");M();N(7,"b-component-access-level-indicator",25)(8,"b-tracker-chip-smart",26);M();L(9,"div",27);N(10,"b-component-breadcrumb",28)(11,
"div",29);M();L(12,"mat-tab-group",30);Q("selectedIndexChange",function(k){z(b);var q=R(2);return B(q.tabsService.tabChange(k))});L(13,"mat-tab",31);G(14,OXb,1,0,"ng-container",32);M();L(15,"mat-tab",33);G(16,PXb,1,0,"ng-container",32);M();L(17,"mat-tab",34);G(18,QXb,1,0,"ng-container",32);M();I(19,SXb,2,2,"mat-tab",35);L(20,"mat-tab",36);G(21,TXb,1,0,"ng-container",32);M();L(22,"mat-tab",37);G(23,UXb,1,0,"ng-container",32);M()();G(24,FYb,48,26,"ng-template",null,2,Gk)(26,LYb,4,7,"ng-template",null,
3,Gk)(28,OYb,5,5,"ng-template",null,4,Gk)(30,QYb,1,1,"ng-template",null,5,Gk)(32,VYb,3,1,"ng-template",null,6,Gk)(34,XYb,1,1,"ng-template",null,7,Gk);M()}if(a&2){a=T(25);var c=T(27),d=T(29),e=T(33),f=T(35),h=R(2);E(3);uk(" Component ",h.component.componentId,": ",h.currentName," ");E();J(h.isArchived()?4:-1);E();K("routerLinkObj",h.getRecentIssuesLink());E(2);K("accessLevel",h.getComponentAccessLevel());E();K("trackerId",h.component.trackerId);E(2);K("componentPathInfo",h.component.componentPathInfo)("isArchived",
h.isArchived())("label","Parent Component");E(2);K("selectedIndex",h.tabsService.selectedTabIndex);E();K("id",h.tabsService.Tab.BASIC);E();K("ngTemplateOutlet",a);E();K("id",h.tabsService.Tab.CUSTOM_FIELDS)("label",KYb(h)?"Fields":"Custom Fields");E();K("ngTemplateOutlet",c);E();K("id",h.tabsService.Tab.FIELD_ORDERING);E();K("ngTemplateOutlet",d);E();J(h.isFieldConfigurationV2Enabled?19:-1);E();K("id",h.tabsService.Tab.TEMPLATES);E();K("ngTemplateOutlet",e);E();K("id",h.tabsService.Tab.ACCESS);E();
K("ngTemplateOutlet",f)}},ZYb=function(a){a&1&&(L(0,"span")(1,"p"),U(2," Archiving a component causes it and its subcomponents and all issues in those components to be hidden from normal use."),N(3,"br"),L(4,"strong"),U(5,"This action cannot be easily reverted."),M(),L(6,"a",133),U(7," Learn more "),M()(),L(8,"p"),U(9," If you no longer have a reason to retain the data stored in these components, please change the retention period as needed "),N(10,"br"),U(11," so they can be scheduled for deletion. "),
L(12,"a",134),U(13," Learn more "),M()()());a&2&&(R(3),E(6),K("href","http://go/archived-components",Ni),E(6),K("href",Gs(),Ni))},$Yb=function(a){a&1&&(L(0,"span")(1,"p"),U(2," Unarchiving a component will NOT cause its subcomponents to be unarchived."),N(3,"br"),U(4," If you need to recursively unarchive subcomponents please use the buganizer_admin tool. "),L(5,"a",135),U(6," Learn more "),M()()());a&2&&(R(3),E(5),K("href","http://go/buganizer-admin",Ni))},aZb=function(a,b){a&1&&(L(0,"span")(1,"span"),
U(2),M(),L(3,"span"),U(4," : "),L(5,"b"),U(6),M()(),N(7,"br"),M());a&2&&(a=b.$implicit,b=R(4),E(2),tk(a.componentPath),E(),rk("b-archive-warning-indef",!a.retentionSettings.retentionPeriodDays),E(3),tk(b.getRetentionPeriod(a)))},bZb=function(a){a&1&&(L(0,"span"),Mj(1,aZb,8,4,"span",null,Lj),M());a&2&&(a=R(3),E(),Nj(a.descendants))},cZb=function(a){a&1&&(L(0,"span")(1,"span"),U(2),M()());a&2&&(a=R(3),E(2),tk(a.descendants[0].componentPath))},dZb=function(a){if(a&1){var b=y();L(0,"h2",129);U(1);M();
L(2,"mat-dialog-content");I(3,ZYb,14,2,"span");I(4,$Yb,7,1,"span");L(5,"p");U(6," The following components will be affected: ");M();L(7,"div",130);I(8,bZb,3,0,"span");I(9,cZb,3,1,"span");M()();L(10,"mat-dialog-actions")(11,"button",131);Q("click",function(){z(b);R(2).isArchiving=!1;return B()});U(12," Cancel ");M();L(13,"button",132);Q("click",function(){z(b);var c=R(2);c.archive();c.isArchiving=!1;return B()});U(14," Confirm ");M()()}a&2&&(a=R(2),E(),tk(a.component&&a.archiveAction?"Are you sure you want to "+
a.archiveAction.toLowerCase()+' "'+a.component.name+'"'+(a.archiveAction==="Archive"?" and its subcomponents?":"?"):""),E(2),J(a.archiveAction==="Archive"?3:-1),E(),J(a.archiveAction==="Unarchive"?4:-1),E(4),J(a.archiveAction==="Archive"?8:-1),E(),J(a.archiveAction==="Unarchive"?9:-1))},eZb=function(a){if(a&1){var b=y();L(0,"div",10)(1,"div",11)(2,"div",12)(3,"b-button",13);Q("onAction",function(){z(b);var c=R();return B(c.back())});N(4,"b-icon",14);M();I(5,LXb,4,3);M()()();L(6,"div",15);I(7,MXb,
2,0,"div",16);I(8,YYb,36,22,"div");M();G(9,dZb,15,5,"ng-template",null,0,Gk)}a&2&&(a=R(),E(5),J(a.component?5:-1),E(2),J(a.isLoading?7:-1),E(),J(!a.isLoading&&a.component&&a.component.componentId?8:-1))},fZb=function(a){a&1&&(L(0,"div",9),N(1,"b-tracker-redirect",136),M());a&2&&(a=R(),E(),K("component",a.component))},gZb=function(a){var b=null;if(a.containerType==="TEAM"){var c;var d=(c=a.content.sourceTeamId)!=null?c:null}else{var e;d=(e=a.content.sourceTeamId)!=null?e:null;var f;b=(f=a.content.sourceComponentId)!=
null?f:null}return{sourceTeamId:d,sourceComponentId:b}},hZb=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:c==null?void 0:c.slice(d),fieldConfigsMap:new Map,fieldConfigsV2Map:new Map}},iZb=function(a,b,c,d){(c==null?0:c.inherit)||(c==null?void 0:c.id)!=="0"||!d||(a=d);if(!a)return null;c=a.pathNames;a=a.pathIds;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},jZb=function(a,b){return a?b?a.filter(function(c){return!c.shared}):a.filter(function(c){return c.enabledOnIssues&&!c.shared}):[]},kZb=function(a,b){a&1&&(L(0,"div",10),N(1,"b-team-breadcrumb",38),M());a&2&&(E(),K("teamPath",b))},lZb=function(a,b){a&1&&(Sj(0),U(1),Tj());a&2&&(E(),tk(b.trim()))},mZb=function(a){a&1&&U(0," No description ")},nZb=function(a,b){a&1&&N(0,"b-multi-user-input",25);a&2&&(K("users",b),Hj("disabled",!0))},oZb=function(a){a&
1&&(L(0,"p"),U(1,"No child teams"),M())},pZb=function(a,b){a&1&&(N(0,"br"),L(1,"a",39),U(2),M());a&2&&(a=b.$implicit,E(),K("routerLink",zk("/teams/",a.id,"/edit")),E(),tk(a.name))},qZb=function(a){a&1&&Mj(0,pZb,3,3,null,null,Lj);a&2&&(a=R(),Nj(a))},rZb=function(a,b){a&1&&I(0,oZb,2,0,"p")(1,qZb,2,0);a&2&&J(b.length===0?0:1)},sZb=function(a){a&1&&(L(0,"a",40),U(1),M());if(a&2){a=R();K("routerLinkObj",a.link);E();var b;V(" ",(b=a.slo==null?null:a.slo.name)!=null?b:a.id," ")}},tZb=function(a){a&1&&U(0,
" None ")},uZb=function(a,b){a&1&&(L(0,"div",29),U(1," Inherited SLO Policy: "),I(2,sZb,2,2,"a",40)(3,tZb,1,0),M());a&2&&(E(2),J(b.link?2:3))},vZb=function(a,b){a&1&&(L(0,"a",31),U(1),M());a&2&&(K("routerLinkObj",b.link),E(),V(" ",b.name," "))},wZb=function(a){a&1&&U(0," None ")},xZb=function(a){a&1&&(N(0,"mat-icon",41),U(1," on "))},yZb=function(a){a&1&&(N(0,"mat-icon",42),U(1," off "))},zZb=function(a){a&1&&(U(0," Lock: "),I(1,xZb,2,0)(2,yZb,2,0));a&2&&(a=R(2),E(),J(a.originalSloLock?1:2))},AZb=
function(a){if(a&1){var b=y();L(0,"div",43)(1,"mat-checkbox",44);Q("change",function(c){z(b);var d=R(3);d.isSloInheritEnabled=!c.checked;d.isSloInheritEnabled&&(d.sloId=d.parentTeam.slo.sloId);return B()});L(2,"span");U(3,"Override the inherited SLO");M()()()}a&2&&(a=R(3),E(),K("disabled",!a.hasSloEditAccess)("checked",!a.isSloInheritEnabled))},BZb=function(a){if(a&1){var b=y();L(0,"div",45)(1,"label",49);U(2," Justification to override the org SLO ");M();N(3,"mat-icon",50);L(4,"textarea",51);W(5,
"async");Q("ngModelChange",function(c){z(b);var d=R(4);return B(d.sloJustification$.next(c))});M()()}a&2&&(a=R(4),E(3),K("matTooltip",a.justificationRequiredText),Hj("aria-label",a.justificationRequiredText),E(),K("ngModel",X(5,4,a.sloJustification$))("disabled",!a.hasSloEditAccess))},CZb=function(a,b){a&1&&(L(0,"a",48),W(1,"async"),N(2,"mat-icon",9),M());a&2&&(a=R(4),K("target",yk(X(1,3,a.hasUnsavedChanges$)?"_blank":"_self"))("routerLinkObj",b))},DZb=function(a){if(a&1){var b=y();I(0,BZb,6,6,"div",
45);L(1,"div",14)(2,"mat-slide-toggle",46);xk("ngModelChange",function(e){z(b);var f=R(3);wk(f.enableSloChecked,e)||(f.enableSloChecked=e);return B(e)});Q("change",function(e){z(b);var f=R(3);return B(f.enableSloChecked=e.checked)});U(3," Enable SLO ");M();L(4,"slo-picker",47);Q("onSloSelect",function(e){z(b);var f=R(3);return B(f.onSloChange(e))});M();I(5,CZb,3,5,"a",48);W(6,"async");M()}if(a&2){var c;a=R();var d=R(2);J(a.value?-1:0);E(2);rk("indented",!a.value);vk("ngModel",d.enableSloChecked);
K("disabled",!d.hasSloEditAccess);E(2);K("boundId",d.sloId)("bv2Disabled",!d.hasSloEditAccess||!d.enableSloChecked||d.isSloInheritEnabled)("bv2Placeholder",d.enableSloChecked?"Type to search for an SLO":"SLO disabled");E();J((c=X(6,9,d.sloPickerLink$))?5:-1,c)}},EZb=function(a,b){a&1&&(I(0,AZb,4,2,"div",43),I(1,DZb,7,11));a&2&&(a=R(2),J(b.value?-1:0),E(),J(a.isSloInheritEnabled?-1:1))},FZb=function(a){if(a&1){var b=y();L(0,"div",14)(1,"mat-checkbox",52);Q("change",function(c){z(b);var d=R(2);return B(d.sloLocked=
c.checked)});L(2,"span");U(3,"Lock for all child teams");M()()()}a&2&&(a=R(2),E(),K("checked",a.sloLocked)("disabled",!a.canEditSloLock))},HZb=function(a){if(a&1){var b=y();L(0,"div",14)(1,"mat-checkbox",55);Q("change",function(c){z(b);var d=R(3);d.isOwnerInheritEnabled=!c.checked;d.isOwnerInheritEnabled&&GZb(d);return B()});L(2,"span");U(3,"Override the inherited owner");M()()()}a&2&&(a=R(3),E(),K("checked",!a.isOwnerInheritEnabled)("disabled",!a.hasSloEditAccess))},KZb=function(a,b){if(a&1){var c=
y();I(0,HZb,4,2,"div",14);L(1,"div",14)(2,"div")(3,"label");U(4);M();L(5,"b-multi-user-input",53);Q("usersChange",function(d){z(c);var e=R(2);d.length>1||(e.escalationOwner=d.length===1?d[0]:"");return B()})("isValid",function(d){z(c);var e=R(2);return B(e.isEscalationOwnerValid=d)});M();L(6,"div",54);U(7);M()()()}a&2&&(a=R(2),J(b.value?-1:0),E(4),tk(a.isOwnerInheritEnabled&&!b.value?"Inherited owner":"Owner"),E(),K("users",a.escalationOwner?Dk(9,IZb,a.escalationOwner):Ck(11,JZb))("customValidators",
a.escalationOwnerUserValidators)("detailedUserValidators",a.escalationOwnerGooglerValidators)("maxUserAllowed",1),Hj("disabled",a.isOwnerInheritEnabled||!a.hasSloEditAccess?!0:null),E(),Hj("aria-hidden",!a.escalationOwnerInvalidErrorMessage),E(),V(" ",a.escalationOwnerInvalidErrorMessage," "))},NZb=function(a){if(a&1){var b=y();L(0,"div",34)(1,"div",56)(2,"button",57);W(3,"async");Q("click",function(){z(b);var c=R(),d=R();return B(LZb(d,c))});U(4," Update ");M();L(5,"button",58);W(6,"async");Q("click",
function(){z(b);var c=R(2);return B(MZb(c))});U(7," Revert changes ");M()()()}a&2&&(a=R(2),E(2),K("disabled",!X(3,2,a.hasUnsavedChanges$)),E(3),K("disabled",!X(6,4,a.hasUnsavedChanges$)))},OZb=function(a){a&1&&(L(0,"p"),U(1,"No mapped components"),M())},PZb=function(a,b){a&1&&(L(0,"ul")(1,"li")(2,"a",39),U(3),M()()());a&2&&(a=b.$implicit,E(2),K("routerLink",zk("/components/",a.componentId,"/edit")),E(),V(" ",a.name," "))},QZb=function(a){a&1&&(Mj(0,PZb,4,3,"ul",null,Lj),W(2,"async"));a&2&&(a=R(3),
Nj(X(2,0,a.associatedComponents$)))},RZb=function(a,b){a&1&&I(0,OZb,2,0,"p")(1,QZb,3,2);a&2&&J(b.length===0?0:1)},SZb=function(a){a&1&&(L(0,"th",69)(1,"span",70),U(2,"Starred"),M()())},TZb=function(a,b){if(a&1){var c=y();L(0,"td",71)(1,"b-star-toggle",72);Q("starClicked",function(){var f=z(c).$implicit,h=R(),k=R(2),q=R();return B(q.toggleStar(f.id,k.teamId,h))});M()()}if(a&2){a=b.$implicit;b=R();var d=R(2),e=R();E();K("starred",e.isTriageStarred(a.id,d.teamId,b))("starMessage","Star this triage view")("unStarMessage",
"Un-star this triage view")}},UZb=function(a){a&1&&(L(0,"th",69),U(1,"Name"),M())},VZb=function(a,b){a&1&&(L(0,"td",73)(1,"a",74),U(2),M()());if(a&2){a=b.$implicit;b=R(3);var c=R();E();K("href",c.getTriageLink(a.id,b.teamId),Ni);E();V(" ",a.displayName||b.name+" triage"," ")}},WZb=function(a){a&1&&(L(0,"th",69)(1,"span",70),U(2,"Actions"),M()())},XZb=function(a){a&1&&N(0,"div",78)},ZZb=function(a){if(a&1){var b=y();L(0,"button",80);Q("click",function(){z(b);var c=R().$implicit,d=R(4);return B(YZb(d,
c))});N(1,"mat-icon",81);M()}a&2&&(a=R(5),K("disabled",!a.hasTeamEditAccess&&!a.enableTeamAdmin))},a_b=function(a,b){if(a&1){var c=y();L(0,"td",71)(1,"div",75)(2,"button",76);Q("click",function(){var d=z(c).$implicit,e=R(3),f=R();return B($Zb(f,d.id,e))});N(3,"mat-icon",77);M();I(4,XZb,1,0,"div",78)(5,ZZb,2,1,"button",79);M()()}a&2&&(a=b.$implicit,b=R(4),E(2),K("disabled",!b.hasTeamEditAccess&&!b.enableTeamAdmin),E(2),J(a.id===0?4:5))},b_b=function(a){a&1&&N(0,"tr",82)},c_b=function(a){a&1&&N(0,"tr",
83)},e_b=function(a){if(a&1){var b=y();L(0,"h3");U(1,"Triage views");M();L(2,"table",59);Sj(3,60);G(4,SZb,3,0,"th",61)(5,TZb,2,3,"td",62);Tj();Sj(6,63);G(7,UZb,2,0,"th",61)(8,VZb,3,2,"td",64);Tj();Sj(9,65);G(10,WZb,3,0,"th",61)(11,a_b,6,2,"td",62);Tj();G(12,b_b,1,0,"tr",66)(13,c_b,1,0,"tr",67);M();L(14,"button",68);Q("click",function(){z(b);var c=R(2),d=R();return B(d_b(d,c))});U(15," Add new view ");M()}a&2&&(a=R(3),E(2),K("dataSource",a.teamExperiments.triage),E(10),K("matHeaderRowDef",a.tableColumns),
E(),K("matRowDefColumns",a.tableColumns),E(),K("disabled",!a.hasTeamEditAccess&&!a.enableTeamAdmin))},f_b=function(a){a&1&&(L(0,"mat-tab",36)(1,"div",13),I(2,e_b,16,4),W(3,"async"),M()());if(a&2){var b;a=R(2);K("id",a.Tab.TRIAGE);E(2);J((b=X(3,2,a.starredTriageViews$))?2:-1,b)}},i_b=function(a){if(a&1){var b=y();L(0,"div",34)(1,"div",56)(2,"button",57);Q("click",function(){z(b);var c=R(3);return B(g_b(c))});U(3," Update ");M();L(4,"button",58);Q("click",function(){z(b);var c=R(3);return B(h_b(c))});
U(5," Revert changes ");M()()()}a&2&&(a=R(3),E(2),K("disabled",a.sloDelegates==a.originalSloDelegates$.getValue()),E(2),K("disabled",a.sloDelegates==a.originalSloDelegates$.getValue()))},j_b=function(a){if(a&1){var b=y();L(0,"mat-tab",37)(1,"div",13)(2,"div",14)(3,"div",18)(4,"label",19)(5,"span",16);U(6," SLO delegates ");M();L(7,"span",20)(8,"div",21);U(9," SLO delegates can manage the SLO policy for the team and its children, as well as all associated components and their children. ");L(10,"div",
22);N(11,"div",23)(12,"div",24);M()()()()();L(13,"b-multi-user-input",84);Q("usersChange",function(c){z(b);R(2).sloDelegates=c;return B()});M()();I(14,i_b,6,2,"div",34);M()()}a&2&&(a=R(2),K("id",a.Tab.ACCESS),E(13),K("users",a.sloDelegates)("includeAliases",!0)("includeViewAliases",!0),Hj("disabled",a.hasTeamEditAccess?null:!0),E(),J(a.hasTeamEditAccess?14:-1))},l_b=function(a,b){if(a&1){var c=y();L(0,"div",7)(1,"h2");U(2);L(3,"a",8);U(4);N(5,"mat-icon",9);M()()();I(6,kZb,2,1,"div",10);W(7,"async");
L(8,"mat-tab-group",11);xk("selectedIndexChange",function(H){z(c);var O=R();wk(O.selectedTabIndex,H)||(O.selectedTabIndex=H);return B(H)});Q("selectedIndexChange",function(H){z(c);var O=R();return B(O.tabChange(H))});L(9,"mat-tab",12)(10,"div",13);U(11," Team information on this page comes from ");L(12,"a",8);U(13," Team Graph ");N(14,"mat-icon",9);M();U(15," and is view only. ");L(16,"div",14)(17,"div",15)(18,"label")(19,"span",16);U(20,"Description");M()();L(21,"div",17);I(22,lZb,2,1,"ng-container")(23,
mZb,1,0);M()()();L(24,"div",14)(25,"div",18)(26,"label",19)(27,"span",16);U(28," Team admins ");M();L(29,"span",20)(30,"div",21);U(31," Team admins are team leads from Team Graph. ");L(32,"div",22);N(33,"div",23)(34,"div",24);M()()()();I(35,nZb,1,2,"b-multi-user-input",25);W(36,"async");M()();L(37,"div",14)(38,"div",15)(39,"label")(40,"span",16);U(41,"Child team(s)");M()();I(42,rZb,2,1);W(43,"async");M()()()();L(44,"mat-tab",26)(45,"div",13)(46,"div",18)(47,"label",19)(48,"span",16);U(49,"SLO configuration");
M()();L(50,"span",20)(51,"div",27)(52,"strong");U(53,"Careful!");M();U(54," 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. ");L(55,"div",22);N(56,"div",23)(57,"div",24);M()()()();L(58,"div",28);I(59,uZb,4,1,"div",29);W(60,"async");L(61,"div",30);U(62," Policy Source: ");I(63,vZb,2,2,"a",31);W(64,"async");Jj(65,wZb,1,0);M();L(66,"div",32);I(67,zZb,3,1);M()();N(68,"b-error-banner",33);I(69,EZb,
2,2);W(70,"async");I(71,FZb,4,2,"div",14);L(72,"div",14)(73,"div",18)(74,"label",19)(75,"span",16);U(76," Owner configuration ");M()();L(77,"span",20)(78,"div",21);U(79," Single team lead receiving SLO reports of unassigned issues. ");L(80,"div",22);N(81,"div",23)(82,"div",24);M()()()()();I(83,KZb,8,12);W(84,"async");I(85,NZb,8,6,"div",34);M()();L(86,"mat-tab",35)(87,"div",13)(88,"div",14)(89,"div",15)(90,"label")(91,"span",16);U(92," Component(s) that have mapped to this team ");M()()();I(93,RZb,
2,1);W(94,"async");M()()();I(95,f_b,4,4,"mat-tab",36);I(96,j_b,15,6,"mat-tab",37);M()}if(a&2){var d,e,f,h,k,q,u,A,D;a=R();E(2);V(" Team ",b.teamId,": ");E();K("href",zk("https://moma.corp.google.com/team/",b.teamId),Ni);E();V(" ",b.name," ");E(2);J((d=X(7,25,a.teamPath$))?6:-1,d);E(2);vk("selectedIndex",a.selectedTabIndex);E();K("id",a.Tab.BASIC);E(3);K("href",zk("https://moma.corp.google.com/team/",b.teamId),Ni);E(10);J((e=b.description)?22:23,e);E(13);J((f=X(36,27,a.adminsAndLeads$))?35:-1,f);E(7);
J((h=X(43,29,a.childTeams$))?42:-1,h);E(2);K("id",a.Tab.SLO);E(15);J((k=X(60,31,a.inheritedSlo$))?59:-1,k);E(4);J((q=X(64,33,a.sloPolicySource$))?63:65,q);E(4);J(a.enableSloLockingUi?67:-1);E();K("error",a.error);E();J((u=Dk(41,k_b,X(70,35,a.isRootTeam$)))?69:-1,u);E(2);J(a.enableSloLockingUi?71:-1);E(12);J((A=Dk(43,k_b,X(84,37,a.isRootTeam$)))?83:-1,A);E(2);J(a.hasSloEditAccess?85:-1);E();K("id",a.Tab.MAPPINGS);E(7);J((D=X(94,39,a.associatedComponents$))?93:-1,D);E(2);J(a.enableTeamScope?95:-1);
E();J(a.enableSloDelegatesUi?96:-1)}},m_b=function(a,b){a&1&&(L(0,"div",85),U(1),M(),L(2,"div",86)(3,"button",87),U(4," Cancel "),M(),L(5,"button",88),U(6," Confirm "),M()());a&2&&(a=b.$implicit,E(),V(' Are you sure you want to delete this triage view: "',a.displayName,'"? '),E(2),K("mat-dialog-close",!1),E(2),K("mat-dialog-close",!0))},n_b=function(a){a&1&&(L(0,"a",9),U(1,"Learn more"),M())},o_b=function(a){a&1&&(L(0,"mat-error"),U(1),M());a&2&&(a=R(2),E(),tk(a.validationErrorMessage))},p_b=function(a){if(a&
1){var b=y();L(0,"div",8)(1,"p");U(2," Input a URL from a supported source to add a task. ");I(3,n_b,2,0,"a",9);M()();L(4,"mat-form-field",10);N(5,"input",11,3);I(7,o_b,2,1,"mat-error");M();L(8,"div",12)(9,"div",13)(10,"button",14);Q("click",function(){z(b);var c=R();return B(c.cancelClicked.emit())});U(11,"Cancel");M();L(12,"button",15);Q("click",function(){z(b);var c=R();return B(c.saveChanges())});U(13,"Add Task");M()()()}a&2&&(a=R(),E(3),J(a.isInternalSession?3:-1),E(2),K("formControl",a.addTasksForm)("placeholder",
a.urlPlaceholder),E(2),J(a.validationErrorMessage?7:-1),E(5),K("disabled",a.addTasksForm.invalid||a.saving))},q_b=function(a){a&1&&(L(0,"mat-error"),U(1,"Title is required"),M())},r_b=function(a,b){a&1&&(L(0,"mat-option",25),U(1),M());a&2&&(a=b.$implicit,K("value",a.id),E(),V(" ",a.title," "))},s_b=function(a){a&1&&(L(0,"mat-error",26),U(1,"Task list is required"),M())},u_b=function(a){if(a&1){var b=y();L(0,"div",16)(1,"form",17);Q("ngSubmit",function(){z(b);var f=R();return B(f.onSubmit())});L(2,
"mat-form-field",18);N(3,"input",19,3);L(5,"mat-hint",20);U(6);M();I(7,q_b,2,0,"mat-error");M();L(8,"mat-form-field",18);N(9,"textarea",21,4);L(11,"mat-hint",20);U(12);M()();L(13,"mat-form-field",22);N(14,"mat-icon",23);L(15,"mat-select",24);Mj(16,r_b,2,2,"mat-option",25,t_b);W(18,"async");M();I(19,s_b,2,0,"mat-error",26);M();L(20,"mat-form-field",27);N(21,"mat-datepicker-toggle",28);L(22,"input",29);Q("click",function(){z(b);var f=T(24);return B(f.open())});M();N(23,"mat-datepicker",null,5);M();
L(25,"div",30)(26,"button",14);Q("click",function(){z(b);var f=R();return B(f.cancelClicked.emit())});U(27,"Cancel");M();L(28,"button",31);U(29,"Add");M()()()()}if(a&2){a=T(4);var c=T(10),d=T(24),e=R();E();K("formGroup",e.gTaskForm);E(5);V("",a.value.length," / 1024");E();J((e.title==null?0:e.title.hasError("required"))?7:-1);E(5);V("",c.value.length," / 8192");E(4);Nj(X(18,8,e.gtaskListIds$));E(3);J((e.taskListId==null?0:e.taskListId.hasError("required"))?19:-1);E(2);K("for",d);E();K("matDatepicker",
d);E(6);K("disabled",e.gTaskForm.invalid)}},v_b=function(a){a&1&&Uj(0)},w_b=function(a){a&1&&Uj(0)},x_b=function(a){a&1&&(L(0,"mat-tab-group",7)(1,"mat-tab",32),G(2,v_b,1,0,"ng-container",33),M(),L(3,"mat-tab",34),G(4,w_b,1,0,"ng-container",33),M()());if(a&2){R();a=T(3);var b=T(5);E(2);K("ngTemplateOutlet",a);E(2);K("ngTemplateOutlet",b)}},y_b=function(a){a&1&&Uj(0)},z_b=function(a){a&1&&G(0,y_b,1,0,"ng-container",33);a&2&&(R(),a=T(3),K("ngTemplateOutlet",a))},A_b=function(a){a&1&&(L(0,"div",0)(1,
"div",1),N(2,"mat-icon",2),U(3),M(),L(4,"div",3),N(5,"mat-icon",4),L(6,"span")(7,"a",5),U(8),M(),U(9," \u00b7 "),N(10,"b-formatted-date-time",6),U(11," \u2010 "),N(12,"b-formatted-date-time",6),M()()());if(a&2){a=R();E(3);V(" ",a.iteration.workspace.name," ");E(4);var b,c,d;var e=a.getBaseUrl()+"/workspaces/"+((b=a.iteration)==null?void 0:(c=b.workspace)==null?void 0:c.workspaceId)+"/iterations/"+((d=a.iteration)==null?void 0:d.iterationId);K("href",e,Ni);E();V(" ",a.iteration.name," ");E(2);K("paddingLeftPx",
0)("timestamp",a.iteration.startTimestamp);E(2);K("paddingLeftPx",0)("timestamp",a.iteration.endTimestamp)}},B_b=function(a){a&1&&N(0,"iteration-card",4,1);if(a&2){a=T(1);var b=R(2);K("onedevIsHovercardReady",a.hovercardReady$)("iteration",b.iteration)}},C_b=function(a){if(a&1){var b=y();L(0,"div",2);Q("onedevHovercardShown",function(){z(b);var c=R();return B(c.trackHoverEvent())})("click",function(c){z(b);var d=R();c.stopPropagation();d.analytics.trackEvent("missionControl","click","iteration-chip");
var e,f,h;c=d.iteration||d.iteration.workspace||d.iteration.iterationId?d.getBaseUrl()+"/workspaces/"+((e=d.iteration)==null?void 0:(f=e.workspace)==null?void 0:f.workspaceId)+"/iterations/"+((h=d.iteration)==null?void 0:h.iterationId):d.getBaseUrl();d.domSafe.openInNewTab(c);return B()});U(1," Current ");M();L(2,"onedev-hovercard",null,0);G(4,B_b,2,2,"iteration-card",3);M()}a&2&&(a=T(3),K("onedevHovercardTrigger",a))},J_b=function(a,b,c,d,e){return D_b(a).map(function(f){var h=f.task,k=E_b(f.signals,
b,e);if(h&&k&&k.length!==0){var q,u,A,D,H,O,P=h.taskId,S=h.taskResourceType,aa=h.title,ia=F_b(k);f=G_b(f,k);if(h.issueResource){var la=h.issueResource.priority;la=la==="P0"||la==="P1"?la:null}else la=null;return{id:P,type:S,description:aa,lastAlertTimestamp:ia,signals:f,link:h.externalLink,icon:MFa(h),priority:la,accessLevel:(A=(q=h.issueResource)==null?void 0:q.accessLevel)!=null?A:null,hotlistIds:h.issueResource?h.issueResource.hotlistIds:[],issueId:lMa(h.taskId).length===1?lMa(h.taskId)[0]:null,
futureAvailability:H_b(k),reviewEstimate:I_b(k),lastMentionLink:((u=h.driveResource)==null?0:u.lastMentionLink)&&h.driveResource.lastMentionLink!==""?h.driveResource.lastMentionLink:void 0,isStaleTask:(D=h.isStaleTask)!=null?D:!1,snoozeUntilTimestamp:(H=h.snoozeUntilTimestamp)!=null?H:void 0,manualSignalTimestamp:(O=h.manualSignalTimestamp)!=null?O:void 0,iteration:c.get(h.taskId),okrIds:d.get(h.taskId)}}}).filter(fe)},E_b=function(a,b,c){return K_b(a).filter(function(d){var e;if(e=d.signalStatus===
b)e=d.driveAlert?c.driveSignals.includes(d.driveAlert.signal):d.changelistAlert?c.changelistSignals.includes(d.changelistAlert.signal):d.issueAlert?c.buganizerSignals.includes(d.issueAlert.signal):d.gerritAlert?c.gerritSignals.includes(d.gerritAlert.signal):d.googleTasksAlert?c.googleTasksSignals.includes(d.googleTasksAlert.signal):d.irmAlert?c.irmSignals.includes(d.irmAlert.signal):!1;return e})},D_b=function(a){return a.results.map(function(b){var c=b.task,d,e;return((e=c==null?void 0:(d=c.snoozeUntilTimestamp)==
null?void 0:d.seconds)!=null?e:0)!==0?{task:c,signals:b.signals.map(function(f){return Object.assign({},f,{signalStatus:2})})}:b})},G_b=function(a,b){return b.map(function(c){var d={timestamp:c.timestamp,type:"DRIVE_SIGNAL_UNSPECIFIED"};if(c.driveAlert){d.type=c.driveAlert.signal;d.driveFileId=a.task.taskId.split("/")[1];d.driveCommentId=c.driveAlert.commentId;var e;d.driveCommentLink=(e=a.task.driveResource)==null?void 0:e.lastMentionLink}c.changelistAlert&&(d.type=c.changelistAlert.signal);c.issueAlert&&
(d.type=c.issueAlert.signal,d.commentNumbers=c.issueAlert.commentNumbers,d.configurableAlertSubscriptionId=c.issueAlert.configurableAlertSubscriptionId);c.googleTasksAlert&&(d.type=c.googleTasksAlert.signal);c.gerritAlert&&(d.type=c.gerritAlert.signal);c.irmAlert&&(d.type=c.irmAlert.signal);return d})},K_b=function(a){var b=a.some(function(c){var d;return((d=c.issueAlert)==null?void 0:d.signal)==="MENTIONED_NEEDS_RESPONSE"});return a.filter(function(c){var d;return!b||((d=c.issueAlert)==null?void 0:
d.signal)!=="COMMENT_MENTIONS_ME"})},F_b=function(a){return a.sort(function(b,c){var d,e;return((d=Sf(c.timestamp))!=null?d:0)-((e=Sf(b.timestamp))!=null?e:0)})[0].timestamp},L_b=function(a){switch(a.type){case "NEEDS_ATTENTION":case "GERRIT_CHANGE_NEEDS_ATTENTION":case "DUE_DATE_EXPIRED":case "MENTIONED_NEEDS_RESPONSE":return 0;case "REQUIRES_APPROVAL":case "READY_TO_SUBMIT":case "GERRIT_CHANGE_READY_TO_SUBMIT":case "NEAR_SLO":case "REPLIED_TO_MENTION":case "NEWLY_ASSIGNED_TO_ME":case "COMMENT_MENTIONS_ME":case "NEEDS_REPORTER_INPUT":case "CONFIGURABLE_ALERT":case "THREAD_MENTIONS_ME":case "TAGGED_IN_COMMENT":return 1;
default:return 2}},M_b=function(a){var b=a[0],c=L_b(b);a=l(a);for(var d=a.next();!d.done;d=a.next())d=d.value,L_b(d)<c&&(b=d,c=L_b(b));return b},H_b=function(a){return a.map(function(b){var c,d;return(c=b.changelistAlert)==null?void 0:(d=c.clAuthorAvailability)==null?void 0:d.futureAvailability}).find(fe)},I_b=function(a){return a.map(function(b){var c;return(c=b.changelistAlert)==null?void 0:c.reviewEstimate}).find(fe)},N_b=function(a){var b=cIa(a.getFrequency()),c=a.getTimeZone(),d=a.getTimeOfDay(),
e=a.getLastUpdatedTimestamp();if(!b)throw Error("Qc");if(!c)throw Error("Rc");if(!d)throw Error("Sc");if(!e)throw Error("tf");return{id:a.getId_asString(),frequency:b,ordinal:a.getOrdinal(),timeZone:eIa(c),timeOfDay:gIa(d),displayName:a.getDisplayName(),query:a.getQuery(),sendEmail:De(a,8),showInBuganizerHome:De(a,9),baselineIssueIds:[].concat(p(ge(a,10))),isOverflowing:De(a,11),lastUpdated:te(e)}},O_b=function(a){var b=(new Hs).setId(a.id).setFrequency(dIa(a.frequency)).setOrdinal(a.ordinal).setTimeZone(fIa(a.timeZone)).setTimeOfDay(hIa(a.timeOfDay)).setDisplayName(a.displayName).setQuery(a.query);
b=Dl(b,8,a.sendEmail);b=Dl(b,9,a.showInBuganizerHome);b=op(b,10,a.baselineIssueIds);b=Dl(b,11,a.isOverflowing);a=ve(a.lastUpdated);return t(b,ue,12,a)},T_b=function(a,b){a&1&&(L(0,"div",0)(1,"h1"),U(2),M(),L(3,"div",1)(4,"pre"),U(5),M()(),L(6,"div",2)(7,"a",3),U(8," Edit alert "),M(),L(9,"a",4),U(10," View issues "),M()()());a&2&&(E(2),tk(b.displayName),E(3),tk(b.query),E(2),K("routerLinkObj",Dk(6,P_b,Dk(4,Q_b,b.id))),E(2),K("routerLinkObj",Dk(10,R_b,Dk(8,S_b,b.query))))},U_b=function(a){if(a&1){var b=
y();L(0,"a",5);Q("click",function(){z(b);R(2).analytics.trackEvent("mentionsCard","navigate","comment");return B()});U(1," a comment ");M()}a&2&&(a=R(2),K("href",a.lastMentionLink,Ni))},V_b=function(a){a&1&&U(0," a comment ")},W_b=function(a,b){a&1&&(L(0,"div",0)(1,"div",1)(2,"span"),N(3,"b-user-display",2),U(4," mentioned you in "),I(5,U_b,2,1,"a",3)(6,V_b,1,0),M(),L(7,"span"),N(8,"b-formatted-date-time",4),M()(),L(9,"div"),U(10),M()());a&2&&(a=R(),E(3),K("model",{emailAddress:b.authorDisplayName}),
E(2),J(a.lastMentionLink?5:6),E(3),K("timestamp",b.lastModifiedTimestamp),E(2),tk(b.content))},X_b=function(a,b){if(a&1){var c=y();L(0,"a",7);W(1,"async");Q("click",function(){z(c);R(3).analytics.trackEvent("mentionsCard","navigate","commentNumber");return B()});U(2);M()}if(a&2){a=R(3);var d;K("routerLinkObj",a.getCommentNumberLink((d=X(1,2,a.issueId$))!=null?d:"",b));E(2);V(" comment #",b," ")}},Y_b=function(a){if(a&1){var b=y();L(0,"div",9)(1,"span",10);U(2," Was this 'Needs Response' alert accurate? ");
M();L(3,"button",11);Q("click",function(){z(b);var c=R(4);return B(c.trackThumbsUp())});N(4,"mat-icon",12);M();L(5,"button",13);Q("click",function(){z(b);var c=R(4);return B(c.trackThumbsDown())});N(6,"mat-icon",14);M()()}a&2&&(a=R(4),E(3),K("disabled",a.hasReacted),E(),rk("has-reacted-icon",a.thumbsUpClicked),E(),K("disabled",a.hasReacted),E(),rk("has-reacted-icon",a.thumbsDownClicked))},Z_b=function(a,b){a&1&&(L(0,"div"),N(1,"b-note-container",8),W(2,"async"),I(3,Y_b,7,6,"div",9),M());if(a&2){a=
R().$implicit;var c=R(2);E();var d;K("issueId",(d=X(2,4,c.issueId$))!=null?d:"")("note",b)("formattingMode",a.formattingMode);E(2);J(c.needsResponse&&!a.commentRedacted?3:-1)}},$_b=function(a,b){a&1&&(L(0,"div")(1,"div",2)(2,"span",3),N(3,"b-user-display",4),L(4,"span"),U(5," mentioned you in "),I(6,X_b,3,4,"a",5),M()(),L(7,"span"),N(8,"b-formatted-date-time",6),M()(),I(9,Z_b,4,6,"div"),M());if(a&2){var c;a=b.$implicit;var d=b.$index;b=b.$count;R(2);rk("margin-s-bottom",d!==b-1)("padded-s-bottom",
d!==b-1)("border-bottom",d!==b-1);E(3);K("model",a.lastCommentEditorUser);E(3);J((c=a.commentNumber)?6:-1,c);E(2);K("timestamp",a.commentLastModifiedAtDate);E();var e;c={commentNumber:(e=a.commentNumber)!=null?e:void 0,unlinkifiedComment:a.commentRedacted?"Comment access restricted. Please reach out to the issue owner to view.":a.unlinkifiedComment,formattedComment:a.commentRedacted?void 0:a.formattedComment};J(c?9:-1,c)}},b0b=function(a,b){a&1&&(L(0,"div",0),Mj(1,$_b,10,10,"div",1,a0b),L(3,"div"),
Uj(4),M()());a&2&&(E(),Nj(b))},c0b=function(a){a&1&&Uj(0)},e0b=function(a){a&1&&G(0,c0b,1,0,"ng-container",5);if(a&2){a=R().$implicit;R(2);var b=T(3);K("ngTemplateOutlet",b)("ngTemplateOutletContext",Dk(2,d0b,a))}},f0b=function(a,b){a&1&&I(0,e0b,1,4,"ng-container");a&2&&(a=b.$implicit,b=R(2),J(b.SIGNAL_TO_DISPLAY_TEXT.has(a.type)?0:-1))},h0b=function(a){a&1&&(L(0,"div",4),Mj(1,f0b,1,1,null,null,g0b),M());a&2&&(a=R(),E(),Nj(a.signals))},i0b=function(a){a&1&&Uj(0)},k0b=function(a,b){a&1&&(L(0,"div",
6),G(1,i0b,1,0,"ng-container",5),L(2,"div",7),U(3),M()());if(a&2){a=R(2);var c=T(3);E();K("ngTemplateOutlet",c)("ngTemplateOutletContext",Dk(4,d0b,b));E();K("matTooltip",j0b(a.signals,b));E();V(" and ",a.signals.length-1," more ")}},l0b=function(a){a&1&&I(0,k0b,4,6,"div",6);if(a&2){var b;a=R();J((b=a.getHighestPrioritySignal(a.signals))?0:-1,b)}},m0b=function(a){a&1&&U(0);if(a&2){var b=R().signal;a=R();b=b.type;a=a.tailwindRunStatus&&b==="ISSUE_SNOOZE_EXPIRED"?"AI Fix":Is.get(b);V(" ",a," ")}},n0b=
function(a){a&1&&U(0);if(a&2){a=R().signal;var b=R();V(" ",b.SIGNAL_TO_DISPLAY_TEXT.get(a.type)," ")}},p0b=function(a){a&1&&N(0,"mentioned-issue-comments-card",9,3);if(a&2){a=T(1);var b=R(2).signal,c=R(),d;K("onedevIsHovercardReady",a.contentReady$)("issueId",c.issueId)("commentNumbers",(d=b.commentNumbers)!=null?d:Ck(4,o0b))("needsResponse",b.type==="MENTIONED_NEEDS_RESPONSE")}},q0b=function(a){a&1&&G(0,p0b,2,5,"mentioned-issue-comments-card",12)},r0b=function(a){a&1&&N(0,"mentioned-drive-comments-card",
10,3);if(a&2){a=T(1);var b=R(2).signal;K("onedevIsHovercardReady",a.contentReady$)("fileId",b.driveFileId)("commentId",b.driveCommentId)("lastMentionLink",b.driveCommentLink)}},s0b=function(a){a&1&&G(0,r0b,2,4,"mentioned-drive-comments-card",13)},t0b=function(a){a&1&&N(0,"configurable-alert-card",11,3);if(a&2){a=T(1);var b=R(2).signal;K("onedevIsHovercardReady",a.contentReady$)("subscriptionId",b.configurableAlertSubscriptionId)}},u0b=function(a){a&1&&G(0,t0b,2,2,"configurable-alert-card",14)},z0b=
function(a,b){if(a&1){var c=y();Wj(0);L(1,"div",8,1);Q("mouseenter",function(){z(c);var f=T(2),h=Yj(0);return B(h?f.disabled=!0:null)})("mouseleave",function(){z(c);var f=T(2),h=Yj(0);return B(h?f.disabled=!1:null)});I(3,m0b,1,1)(4,n0b,1,1);M();L(5,"onedev-hovercard",null,2);I(7,q0b,1,0,"mentioned-issue-comments-card",9)(8,s0b,1,0,"mentioned-drive-comments-card",10)(9,u0b,1,0,"configurable-alert-card",11);M()}if(a&2){a=b.signal;b=T(6);var d=R(),e=Xj(v0b(d,a)||w0b(a)||x0b(a));E();sk(zk("signal-chip type-button urgent-",
d.getSignalUrgency(a)));rk("keep-focus-ring",e);K("onedevHovercardActive",e)("onedevHovercardTrigger",b)("matTooltip",v0b(d,a)||w0b(a)||x0b(a)?'Press "Alt/Option + Right Arrow Key" to show comment':d.enableTailwindMissionControl&&d.tailwindRunStatus&&a.type==="ISSUE_SNOOZE_EXPIRED"?"This issue has a AI Fix":y0b.get(a.type));Hj("tabindex",e?"0":"-1");E(2);J(d.enableTailwindMissionControl?3:4);E(4);J(v0b(d,a)?7:w0b(a)?8:x0b(a)?9:-1)}},B0b=function(a,b){a&1&&(L(0,"div",3)(1,"div",5),U(2),M(),L(3,"div")(4,
"a",6),U(5),M()()());a&2&&(R(3),E(2),V(" O ",A0b(b==null?null:b.priorityRating)),E(2),K("href",b==null?null:b.url,Ni),E(),tk(b==null?null:b.title))},C0b=function(a,b){a&1&&(L(0,"div",4)(1,"div",7),U(2),M(),L(3,"div")(4,"a",6),U(5),M()()());a&2&&(R(3),E(2),V(" KR ",A0b(b.priorityRating)),E(2),K("href",b.url,Ni),E(),V(" ",b==null?null:b.title))},F0b=function(a,b){a&1&&(L(0,"div",2),I(1,B0b,6,3,"div",3),I(2,C0b,6,3,"div",4),M());if(a&2){var c,d;a=b.$implicit;b=R();R();E();J((c=D0b(b,a))?1:-1,c);E();
J((d=E0b(b,a))?2:-1,d)}},G0b=function(a){a&1&&(L(0,"div",0)(1,"div",1),Mj(2,F0b,3,2,"div",2,Lj),M()());a&2&&(a=R(),E(2),Nj(a.okrIds))},H0b=function(a){a&1&&N(0,"okr-card",4,1);if(a&2){a=T(1);var b=R(2);K("onedevIsHovercardReady",a.hovercardReady$)("okrIds",b.okrIds)}},I0b=function(a){if(a&1){var b=y();L(0,"div",2);Q("onedevHovercardShown",function(){z(b);var c=R();return B(c.trackHoverEvent())});U(1,"OKR");M();L(2,"onedev-hovercard",null,0);G(4,H0b,2,2,"okr-card",3);M()}a&2&&(a=T(3),K("onedevHovercardTrigger",
a))},J0b=function(a){a&1&&(L(0,"div",0)(1,"div",1)(2,"div",2)(3,"div"),U(4," Your response time is longer than usual for similar items. Respond to unblock others ("),L(5,"a",3),U(6,"see more"),M(),U(7,"). "),M()()()())},K0b=function(a){a&1&&N(0,"stale-task-card",5,1);if(a&2){a=T(1);var b=R();K("onedevIsHovercardReady",a.hovercardReady$)("taskId",b.taskId)}},L0b=function(a,b){if(a&1){var c=y();L(0,"button",5);Q("click",function(d){var e=z(c).$implicit;R().onCheckboxChange(e);return B(d.stopPropagation())});
L(1,"mat-checkbox",8);U(2);M()()}a&2&&(a=b.$implicit,b=R(),E(),K("checked",b.currentSelectedSignals.has(a)),E(),V(" ",b.SIGNAL_TO_DISPLAY_TEXT.get(a)," "))},M0b=function(a){a&1&&N(0,"mat-icon",7);a&2&&(a=R(),sk(zk("icon-s checkmark ",a.displayName)))},P0b=function(a,b){if(a&1){var c=y();L(0,"span",2)(1,"button",3);Q("click",function(){z(c);var e=R().$implicit,f=R();return B(f.sourceFilterChange(e))});I(2,M0b,1,3,"mat-icon",4);L(3,"span",5);U(4);M()();L(5,"signal-list-dropdown",6);Q("changeFilteredSignals",
function(e){z(c);var f=R().$implicit,h=R();return B(h.signalFilterChange(e,f))})("chipSelectionStateChanged",function(e){z(c);var f=R().$implicit;R().chipsSelected[f]=e;return B()});M()()}if(a&2){a=R().$implicit;var d=R();rk("expanded",d.chipsSelected[a]);E();Hj("aria-pressed",d.chipsSelected[a]);E();J(d.chipsSelected[a]?2:-1);E();K("matTooltip",b.tooltipText);E();V(" ",d.activeSession.isInternalSession()?b.displayName:b.externalDisplayName," ");E();K("signalFilterKeys",N0b(d,a))("selectedSignals",
O0b(d,a))("source",a)}},Q0b=function(a,b){a&1&&I(0,P0b,6,9,"span",1);if(a&2){var c;a=b.$implicit;b=R();J((c=b.DEFINITIONS[a])?0:-1,c)}},R0b=function(a,b){if(a&1){var c=y();L(0,"button",7);Q("click",function(){var d=z(c).$implicit,e=R();d=d.numberOfDays;e.selectedTimeBoundary=d;e.change.emit(d);return B()});U(1);M()}a&2&&(a=b.$implicit,b=R(),K("disabled",a.numberOfDays===b.selectedTimeBoundary),E(),V(" ",a.label," "))},S0b=function(a){if(a&1){var b=y();L(0,"button",4);Q("click",function(){z(b);var c=
R();c.unsnooze.emit();c.onOpen(!1);return B()});N(1,"mat-icon",12);U(2,"Unsnooze now ");M()}},T0b=function(a){if(a&1){var b=y();L(0,"div",13);Q("clickOutside",function(){z(b);R().timePickerOpen=!1;return B()});L(1,"b-date-time-picker-content",14);Q("cancelClicked",function(){z(b);R().timePickerOpen=!1;return B()})("dateTimeChange",function(c){z(b);R().currentPickerDateTime=c;return B()})("saveClicked",function(){z(b);var c=R(),d=c.currentPickerDateTime;d&&c.snooze.emit(d);c.timePickerOpen=!1;return B()});
M()()}a&2&&(a=R(),E(),K("required",!0)("renderPanel",!0)("dateTime",a.currentPickerDateTime)("includeTimePicker",!0)("todayButtonEnabled",!1))},U0b=function(a){if(a&1){var b=y();Sj(0);L(1,"div",1)(2,"span",2)(3,"a",3);Q("click",function(){z(b);R().onChipClicked.emit();return B()});U(4,"DMA");M()()();Tj()}a&2&&(a=R(),E(),K("matTooltip",a.DMA_TOOLTIP_TEXT))},V0b=function(a){a&1&&(L(0,"label",12),U(1),M());a&2&&(a=R().$implicit,K("matTooltip",a.description),E(),tk(a.label))},W0b=function(a){a&1&&(L(0,
"mat-tab"),G(1,V0b,2,2,"ng-template",11),M())},X0b=function(a){if(a&1){var b=y();L(0,"mat-tab-group",10);Q("selectedIndexChange",function(c){z(b);var d=R();return B(d.onTabIndexChange(c))});Mj(1,W0b,2,0,"mat-tab",null,Lj);M()}a&2&&(a=R(),K("selectedIndex",0),E(),Nj(a.tabData))},Y0b=function(a,b){if(a&1){var c=y();L(0,"signal-filter-chips",14);Q("changeSourceAndFilteredSignals",function(e){z(c);var f=R(2).missionControlPrefs,h=e.selectedSignals;f.prefs.needsAttentionSources=e.selectedSources.map(Ekb);
f.prefs.needsAttentionBuganizerFilteredSignals=Gkb(h.buganizerSignals,f.filteredSignalsOptions);f.prefs.needsAttentionDriveFilteredSignals=Kkb(h.driveSignals,f.filteredSignalsOptions);f.prefs.needsAttentionGerritFilteredSignals=Mkb(h.gerritSignals,f.filteredSignalsOptions);f.prefs.needsAttentionChangelistFilteredSignals=Ikb(h.changelistSignals,f.filteredSignalsOptions);f.prefs.needsAttentionGoogleTasksFilteredSignals=Qkb(h.googleTasksSignals,f.filteredSignalsOptions);f.prefs.needsAttentionIrmFilteredSignals=
Rkb(h.irmSignals,f.filteredSignalsOptions);Vr(f,{needsAttentionSources:f.prefs.needsAttentionSources,isNeedsAttentionSourcesConfigured:!0,needsAttentionBuganizerFilteredSignals:f.prefs.needsAttentionBuganizerFilteredSignals,needsAttentionDriveFilteredSignals:f.prefs.needsAttentionDriveFilteredSignals,needsAttentionGerritFilteredSignals:f.prefs.needsAttentionGerritFilteredSignals,needsAttentionGoogleTasksFilteredSignals:f.prefs.needsAttentionGoogleTasksFilteredSignals,needsAttentionChangelistFilteredSignals:f.prefs.needsAttentionChangelistFilteredSignals,
needsAttentionIrmFilteredSignals:f.prefs.needsAttentionIrmFilteredSignals});return B()})("changeSourceFilter",function(e){z(c);var f=R(2).missionControlPrefs;e=e.map(Ekb);f.prefs.needsAttentionSources=e;Vr(f,{needsAttentionSources:e,isNeedsAttentionSourcesConfigured:!0});return B()});M()}if(a&2){a=R();var d=R();K("sourceFilterKeys",d.SOURCE_FILTERS)("selectedSources",a)("selectedSignals",b)}},Z0b=function(a){a&1&&(I(0,Y0b,1,3,"signal-filter-chips",13),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,
a.filteredSignals$))?0:-1,b)}},$0b=function(a,b){if(a&1){var c=y();L(0,"time-boundary-filter",15);Q("change",function(d){z(c);var e=R().missionControlPrefs;e.prefs.needsAttentionDaysOld=d;Vr(e,{needsAttentionDaysOld:d});return B()});M()}a&2&&K("selectedTimeBoundary",b)},a1b=function(a){if(a&1){var b=y();L(0,"div",8)(1,"button",16,0);Q("taskAdded",function(){z(b);var c=R();return B(c.refreshTaskData())});U(3," Add a task ");M()()}},b1b=function(a){a&1&&(L(0,"p",17),U(1," No alerts "),M())},c1b=function(a){if(a&
1){var b=y();L(0,"th",33)(1,"mat-checkbox",34);Q("change",function(d){z(b);var e=R(2),f=R(2);return B(d?f.toggleAllRows(e):null)});M()()}if(a&2){a=R(2);var c=R(2);E();K("checked",c.selection.hasValue()&&c.selection.selected.length===a.length)("indeterminate",c.selection.hasValue()&&c.selection.selected.length!==a.length)}},d1b=function(a,b){if(a&1){var c=y();L(0,"td",35)(1,"mat-checkbox",36);Q("click",function(d){z(c);return B(d.stopPropagation())})("change",function(d){var e=z(c).$implicit,f=R(4);
return B(d?f.selection.toggle(e.id):null)});M()()}a&2&&(a=b.$implicit,b=R(4),E(),K("checked",b.selection.isSelected(a.id)))},e1b=function(a){a&1&&(L(0,"th",33),U(1),M());a&2&&(a=R(4),E(),tk(a.selection.hasValue()?"":"Source"))},f1b=function(a,b){a&1&&(L(0,"td",35),N(1,"mat-icon",37),M());a&2&&(a=b.$implicit,E(),sk(zk("product-icon ",a.icon)),K("matTooltip",a.type)("svgIcon",a.icon),Hj("aria-label",a.type))},h1b=function(a){if(a&1){var b=y();L(0,"button",40);Q("click",function(){z(b);var c=R(5);g1b(c,
c.selection.selected);c.selection.clear();return B()});U(1);W(2,"async");M()}a&2&&(a=R(5),E(),tk(X(2,1,a.dismissButtonLabel$)))},i1b=function(a){a&1&&(L(0,"span"),U(1,"Description"),M())},k1b=function(a){if(a&1){var b=y();L(0,"button",41,1);U(2);W(3,"async");M();L(4,"snooze-menu",42,2);Q("snooze",function(e){z(b);var f=R(5);j1b(f,f.selection.selected,e);f.selection.clear();return B()})("unsnooze",function(){z(b);var e=R(5);j1b(e,e.selection.selected);e.selection.clear();return B()});M()}if(a&2){a=
T(1);var c=T(5),d=R(5);K("matMenuTriggerFor",c.menu);E(2);tk(X(3,4,d.snoozeButtonLabel$));E(2);K("isSnoozed",d.signalStatusFilter$.getValue()===d.SignalStatus.SNOOZED)("datePickerAnchor",a)}},n1b=function(a){if(a&1){var b=y();L(0,"button",43);Q("click",function(){z(b);var c=R(5);return B(l1b(c))});U(1);M()}a&2&&(a=R(5),E(),tk(m1b(a)?"Trigger manual signal":"Remove manual signal"))},o1b=function(a){a&1&&(L(0,"th",33),I(1,h1b,3,3,"button",38)(2,i1b,2,0,"span"),I(3,k1b,6,6),I(4,n1b,2,1,"button",39),
M());a&2&&(a=R(4),E(),J(a.selection.hasValue()?1:2),E(2),J(a.selection.hasValue()?3:-1),E(),J(a.selection.hasValue()?4:-1))},p1b=function(a){a&1&&N(0,"b-issue-visibility-chip",46);if(a&2){a=R(2).$implicit;var b=R(4);K("issueId",b.extractLastDigits(a.id))}},q1b=function(a){a&1&&N(0,"okr-chip",47);a&2&&(a=R(2).$implicit,K("okrIds",a.okrIds))},r1b=function(a){a&1&&N(0,"iteration-chip",48);a&2&&(a=R(2).$implicit,K("iteration",a.iteration))},s1b=function(a){a&1&&(L(0,"div",49),W(1,"futureAvailability"),
N(2,"mat-icon",54),M());a&2&&(a=R(2).$implicit,K("matTooltip",X(1,1,a.futureAvailability)))},t1b=function(a){a&1&&(L(0,"div",50),U(1),W(2,"number"),M());a&2&&(a=R(2).$implicit,E(),V(" <",Fk(2,1,a.reviewEstimate.seconds/60,"1.0-0"),"m "))},u1b=function(a){a&1&&N(0,"b-issue-priority-display",51);a&2&&(a=R(2).$implicit,K("issuePriority",a.priority))},w1b=function(a){if(a&1){var b=y();L(0,"div",44);I(1,p1b,1,1,"b-issue-visibility-chip",46);I(2,q1b,1,1,"okr-chip",47);I(3,r1b,1,1,"iteration-chip",48);I(4,
s1b,3,3,"div",49);I(5,t1b,3,4,"div",50);I(6,u1b,1,1,"b-issue-priority-display",51);L(7,"a",52);Q("auxclick",function(){z(b);var d=R().$implicit,e=R(2),f=R(2);return B(f.sendClickAnalytics(d,e.slice(0,f.numDisplayedRows)))});U(8);M();L(9,"onedev-dma-chip",53);Q("onChipClicked",function(){z(b);var d=R(5);return B(d.sendDmaAnalytics())});M()()}if(a&2){a=R().$implicit;var c=R(4);E();J(a.type===c.TaskResourceType.ISSUE?1:-1);E();J(c.enableOkrChip&&a.okrIds&&a.okrIds.length>0?2:-1);E();J(c.enableIterationChip&&
a.iteration?3:-1);E();J(c.hasFutureAvailability(a)?4:-1);E();J(a.reviewEstimate&&a.reviewEstimate.seconds>=60?5:-1);E();J(a.priority?6:-1);E();K("href",v1b(a),Ni);Hj("target",a.type!==c.TaskResourceType.ISSUE?"_blank":null);E();V(" ",a.description," ");E();K("hotlistIds",a.hotlistIds)}},x1b=function(a){a&1&&(L(0,"span",45),U(1,"No access to linked file"),M())},y1b=function(a,b){a&1&&(L(0,"td",35),I(1,w1b,10,10,"div",44)(2,x1b,2,0,"span",45),M());a&2&&(a=b.$implicit,E(),J(a.description&&a.description!==
""?1:2))},z1b=function(a){a&1&&(L(0,"th",33),U(1),M());a&2&&(a=R(4),E(),tk(a.selection.hasValue()?"":"Most recent alert"))},A1b=function(a){if(a&1){var b=y();L(0,"div")(1,"stale-task-indicator",55);Q("click",function(){z(b);R();R(4).analytics.trackEvent("missionControl","click","stalenessChip-{{row.type}}");return B()});M()()}a&2&&(a=R().$implicit,E(),K("taskId",a.id)("lastAlertTimestamp",a.lastAlertTimestamp))},B1b=function(a){a&1&&N(0,"b-formatted-date-time",56);a&2&&(a=R(2).$implicit,K("timestamp",
a.lastAlertTimestamp)("paddingLeftPx",6))},C1b=function(a){a&1&&I(0,B1b,1,2,"b-formatted-date-time",56);a&2&&(a=R().$implicit,J(a.lastAlertTimestamp?0:-1))},D1b=function(a,b){a&1&&(L(0,"td",35),I(1,A1b,2,2,"div")(2,C1b,1,1),M());a&2&&(a=b.$implicit,b=R(4),E(),J(b.enableStaleTasks&&a.isStaleTask?1:2))},E1b=function(a){a&1&&(L(0,"th",33),U(1),M());a&2&&(a=R(4),E(),V(" ",a.selection.hasValue()?"":"Alert"," "))},F1b=function(a,b){a&1&&(L(0,"td",35),N(1,"needs-attention-signals-cell",57),M());a&2&&(a=
b.$implicit,E(),K("issueId",a.issueId)("signals",a.signals)("tailwindRunStatus",a.tailwindRunStatus))},G1b=function(a){a&1&&(L(0,"th",33),U(1),M());a&2&&(a=R(4),E(),tk(a.selection.hasValue()?"":"Action"))},H1b=function(a){a&1&&(L(0,"a",58),U(1),M());if(a&2){a=R().$implicit;var b=R(4);K("href",v1b(a),Ni);Hj("target",a.type!==b.TaskResourceType.ISSUE?"_blank":null)("aria-label",a.action+(a.type!==b.TaskResourceType.ISSUE?", opens in new tab":""));E();V(" ",a.action," ")}},I1b=function(a){a&1&&(L(0,
"a",58),U(1),M());if(a&2){a=R().$implicit;var b=R(4),c=b.SIGNAL_TO_ACTION_TEXT.get(b.getHighestPrioritySignal(a.signals).type);K("href",v1b(a),Ni);Hj("target",a.type!==b.TaskResourceType.ISSUE?"_blank":null)("aria-label",c+(a.type!==b.TaskResourceType.ISSUE?", opens in new tab":""));E();V(" ",c," ")}},J1b=function(a,b){a&1&&(L(0,"td",35),I(1,H1b,2,4,"a",58)(2,I1b,2,4,"a",58),M());a&2&&(a=b.$implicit,b=R(4),E(),J(b.enableTailwindMissionControl&&a.action?1:2))},K1b=function(a){a&1&&(L(0,"th",59),U(1),
M());a&2&&(a=R(4),E(),tk(a.selection.hasValue()?"":a.signalStatusFilter$.getValue()!==a.SignalStatus.SNOOZED?"Options":"Snooze Until"))},M1b=function(a){a&1&&(L(0,"span",60),U(1),M());a&2&&(a=R().$implicit,R(4),E(),V("",L1b(a)," "))},N1b=function(a,b){if(a&1){var c=y();L(0,"td",35);I(1,M1b,2,1,"span",60);L(2,"div",61)(3,"button",62);Q("click",function(k){var q=z(c).$implicit,u=R(4);k.preventDefault();return B(u.copyIdOrLink(q))});N(4,"mat-icon",63);M();Wj(5);W(6,"async");L(7,"button",64);Q("click",
function(k){var q=z(c).$implicit,u=R(4);k.preventDefault();return B(u.dismissAlert(q))});N(8,"mat-icon",65);M();Wj(9);W(10,"async");L(11,"button",66,3);Q("click",function(k){z(c);return B(k.preventDefault())});N(13,"mat-icon",67);M();L(14,"snooze-menu",42,2);Q("snooze",function(k){var q=z(c).$implicit,u=R(4);j1b(u,[q.id],k);return B()})("unsnooze",function(){var k=z(c).$implicit,q=R(4);j1b(q,[k.id]);return B()});M()()()}if(a&2){var d=b.$implicit;a=T(12);b=T(15);var e=R(4);E();J(e.signalStatusFilter$.getValue()===
e.SignalStatus.SNOOZED?1:-1);E(2);K("matTooltip",d.type===e.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard");Hj("aria-label",d.type===e.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard");var f;d=(f=X(6,10,e.dismissButtonTooltip$))!=null?f:"";E(4);K("ariaLabel",d)("matTooltip",d);var h;f=(h=X(10,12,e.snoozeButtonTooltip$))!=null?h:"";E(4);K("ariaLabel",f)("matTooltip",f)("matMenuTriggerFor",b.menu);E(3);K("isSnoozed",e.signalStatusFilter$.getValue()===e.SignalStatus.SNOOZED)("datePickerAnchor",
a)}},O1b=function(a){a&1&&N(0,"tr",68)},P1b=function(a){if(a&1){var b=y();L(0,"tr",69);Q("click",function(c){var d=z(b).$implicit,e=R(2),f=R(2);return B(f.navigateToResource(c,d,e.slice(0,f.numDisplayedRows)))});M()}},Q1b=function(a){a&1&&(L(0,"tr",70)(1,"td",71),U(2," No alerts found "),M()())},R1b=function(a){a&1&&N(0,"mat-icon",73)},S1b=function(a){a&1&&N(0,"mat-icon",74)},T1b=function(a){if(a&1){var b=y();L(0,"button",72);Q("click",function(){z(b);var d=R(2),e=R(2);return B(e.setNumDisplayedRows(d))});
U(1);I(2,R1b,1,0,"mat-icon",73);I(3,S1b,1,0,"mat-icon",74);M()}if(a&2){a=R(2);var c=R(2);E();V(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");E();J(a.length>c.numDisplayedRows?2:-1);E();J(a.length===c.numDisplayedRows?3:-1)}},U1b=function(a){a&1&&(L(0,"table",18),Sj(1,19),G(2,c1b,2,2,"th",20)(3,d1b,2,1,"td",21),Tj(),Sj(4,22),G(5,e1b,2,1,"th",20)(6,f1b,2,6,"td",21),Tj(),Sj(7,23),G(8,o1b,5,3,"th",20)(9,y1b,3,1,"td",21),Tj(),Sj(10,24),G(11,z1b,2,1,"th",20)(12,D1b,3,1,"td",21),Tj(),Sj(13,
25),G(14,E1b,2,1,"th",20)(15,F1b,2,3,"td",21),Tj(),Sj(16,26),G(17,G1b,2,1,"th",20)(18,J1b,3,1,"td",21),Tj(),Sj(19,27),G(20,K1b,2,1,"th",28)(21,N1b,16,14,"td",21),Tj(),G(22,O1b,1,0,"tr",29)(23,P1b,1,0,"tr",30)(24,Q1b,3,0,"tr",31),M(),I(25,T1b,4,3,"button",32));if(a&2){a=R();var b=R(2);K("dataSource",a.slice(0,b.numDisplayedRows));E(22);K("matHeaderRowDef",b.displayedColumns);E();K("matRowDefColumns",b.displayedColumns);E(2);J(a.length>b.DEFAULT_NUM_ROWS_DISPLAYED?25:-1)}},V1b=function(a,b){a&1&&(I(0,
b1b,2,0,"p",17),I(1,U1b,26,4));a&2&&(J(b.length===0?0:-1),E(),J(b.length>0?1:-1))},W1b=function(a){a&1&&(I(0,V1b,2,2),W(1,"async"));if(a&2){var b;a=R();J((b=X(1,1,a.allNeedsAttention$))?0:-1,b)}},X1b=function(a){a&1&&(L(0,"div",9),N(1,"b-spinner",75),M());a&2&&(E(),K("ariaLabel","loading needs attention alerts"))},Y1b=function(a,b){var c=a.signals.map(function(d){return d.type});a=b.flatMap(function(d){return d.signals.map(function(e){return e.type})});a=oo(a).filter(function(d){return!c.includes(d)}).sort();
return[c.join(","),a.join(",")]},Z1b=function(a){return a.reduce(function(b,c){c.iterations!==void 0&&c.iterations.length>0&&b.set(c.workItemId,c.iterations[0]);return b},new Map)},$1b=function(a){return a.reduce(function(b,c){c.okrIds!==void 0&&c.okrIds.length>0&&b.set(c.workItemId,c.okrIds);return b},new Map)},a2b=function(a){return a.filter(function(b){return b.task&&b.task.taskResourceType==="ISSUE"}).map(function(b){var c;return(c=b.task)==null?void 0:c.taskId}).filter(fe)},b2b=function(a,b){return a.issueId&&
a.type==="ISSUE"&&b.has(a.issueId)&&a.signals.some(function(c){return c.type==="ISSUE_SNOOZE_EXPIRED"})},c2b=function(a,b){a&1&&(L(0,"div",6)(1,"span",8),U(2),M()());a&2&&(E(2),tk(b))},d2b=function(a){a&1&&(L(0,"div",7),N(1,"b-needs-attention-table",9),M());a&2&&(a=R(),E(),K("refreshTable",a.refreshData))},e2b=function(a,b){a&1&&(L(0,"mat-chip-option",1)(1,"span",2),U(2),M()());if(a&2){a=R().$implicit;var c=R();K("value",a)("selected",c.selectedSources.includes(a));E();K("matTooltip",b.tooltipText);
E();V(" ",b.displayName," ")}},f2b=function(a,b){a&1&&I(0,e2b,3,4,"mat-chip-option",1);if(a&2){var c;a=b.$implicit;b=R();J((c=b.DEFINITIONS[a])?0:-1,c)}},g2b=function(a,b){return{label:"Viewed",description:"Issues you recently viewed",issues:a.watchMany({custom:"viewed",pageSize:50}).pipe(C(function(c){c=c.results;return b?c.filter(function(d){return d.trackerId===b}):c})),loading:!1}},h2b=function(a){return a.includes("WTDM")&&!a.includes("NON_WTDM")?"WTDM_TYPES":a.includes("NON_WTDM")&&!a.includes("WTDM")?
"STANDARD_TYPES":"ISSUE_TYPE_GROUPS_UNSPECIFIED"},i2b=function(a){a&1&&(L(0,"label",11),U(1),M());a&2&&(a=R().$implicit,K("matTooltip",a.description),E(),tk(a.label))},j2b=function(a,b){if(a&1){var c=y();L(0,"source-filter-chips",14);Q("change",function(d){z(c);var e=R(5).prefsService;d=d.map(Ekb);e.prefs.myTasksSources=d;Vr(e,{myTasksSources:d,isMyTasksSourcesConfigured:!0});return B()});M()}a&2&&(a=R(5),K("sourceFilterKeys",a.MY_TASK_FILTERS)("selectedSources",b))},k2b=function(a){a&1&&(L(0,"span",
2),U(1,"Sources"),M(),I(2,j2b,1,2,"source-filter-chips",13),W(3,"async"));if(a&2){var b;a=R(4);E(2);J((b=X(3,1,a.sources$))?2:-1,b)}},l2b=function(a,b){if(a&1){var c=y();L(0,"time-boundary-filter",15);Q("change",function(d){z(c);var e=R(4).prefsService;e.prefs.myTasksDaysOld=d;Vr(e,{myTasksDaysOld:d});return B()});M()}a&2&&K("selectedTimeBoundary",b)},m2b=function(a){a&1&&(L(0,"div",9),I(1,k2b,4,3),I(2,l2b,1,1,"time-boundary-filter",12),W(3,"async"),M());if(a&2){var b;a=R(3);E();J(a.isInternalSession?
1:-1);E();J((b=X(3,2,a.timeBoundary$))?2:-1,b)}},n2b=function(a,b){a&1&&N(0,"b-issues-table",16);a&2&&(a=R(4),K("issueIds",a.getIds(b))("tableColumns",a.tableColumns)("options",a.tableOptions))},o2b=function(a,b){a&1&&(L(0,"p",18),U(1),M());a&2&&(E(),V(" ",b.length===0?"Enable source filters to see tasks":"No tasks"," "))},p2b=function(a){a&1&&(I(0,o2b,2,1,"p",18),W(1,"async"));if(a&2){var b;a=R(5);J((b=X(1,1,a.sources$))?0:-1,b)}},q2b=function(a){a&1&&(L(0,"th",36),U(1,"Source"),M())},r2b=function(a,
b){a&1&&(L(0,"td",37),N(1,"mat-icon",38),M());a&2&&(a=b.$implicit,b=R(6),E(),sk(zk("product-icon ",b.taskResourceTypeToIcon(a))),K("matTooltip",a.taskResourceType)("svgIcon",b.taskResourceTypeToIcon(a)))},s2b=function(a){a&1&&(L(0,"th",36),U(1,"Description"),M())},t2b=function(a){a&1&&N(0,"b-issue-visibility-chip",40);a&2&&(a=R(2).$implicit,K("issueId",a.issueId)("compactMode",!0))},u2b=function(a){a&1&&N(0,"b-issue-priority-display",41);a&2&&(a=R(2).$implicit,K("issuePriority",a.issueResource.priority))},
v2b=function(a){if(a&1){var b=y();L(0,"onedev-dma-chip",44);Q("onChipClicked",function(){z(b);var c=R(8);return B(c.sendDmaAnalytics())});M()}a&2&&(a=R(2).$implicit,K("hotlistIds",a.issueResource.hotlistIds))},x2b=function(a){if(a&1){var b=y();I(0,t2b,1,2,"b-issue-visibility-chip",40);I(1,u2b,1,1,"b-issue-priority-display",41);L(2,"a",42);Q("auxclick",function(){z(b);var d=R().$implicit,e=R(6);return B(e.sendClickAnalytics(d))});U(3);M();I(4,v2b,1,1,"onedev-dma-chip",43)}if(a&2){a=R().$implicit;var c=
R(6);J(a.issueId?0:-1);E();J(a.issueResource&&a.issueResource.priority&&w2b(a.issueResource.priority)?1:-1);E();K("href",a.taskResourceType===c.TaskResourceType.ISSUE?"/issues/"+c.extractLastDigits(a.taskId):a.externalLink,Ni);Hj("target",a.taskResourceType!==c.TaskResourceType.ISSUE?"_blank":null);E();tk(a.title);E();J(a.issueResource&&a.issueResource.hotlistIds?4:-1)}},y2b=function(a){a&1&&(L(0,"span",39),U(1,"No access to linked file"),M())},z2b=function(a,b){a&1&&(L(0,"td",37),I(1,x2b,5,6)(2,
y2b,2,0,"span",39),M());a&2&&(a=b.$implicit,E(),J(a.title&&a.title!==""?1:2))},A2b=function(a){a&1&&(L(0,"th",36),U(1,"Last modified"),M())},B2b=function(a){a&1&&N(0,"b-formatted-date-time",45);a&2&&(a=R().$implicit,K("timestamp",a.lastModifiedTimestamp)("paddingLeftPx",0))},C2b=function(a,b){a&1&&(L(0,"td",37),I(1,B2b,1,2,"b-formatted-date-time",45),M());a&2&&(a=b.$implicit,E(),J(a.lastModifiedTimestamp?1:-1))},D2b=function(a){a&1&&(L(0,"th",36),U(1,"My role"),M())},E2b=function(a,b){a&1&&(L(0,"td",
37),U(1),M());a&2&&(a=b.$implicit,E(),tk(a.resourceRelationships[0].roleName))},F2b=function(a){a&1&&(L(0,"th",36),U(1,"Creation date"),M())},G2b=function(a){a&1&&N(0,"b-formatted-date-time",45);a&2&&(a=R().$implicit,K("timestamp",a.createdTimestamp)("paddingLeftPx",0))},H2b=function(a){a&1&&U(0," -- ")},I2b=function(a,b){a&1&&(L(0,"td",37),I(1,G2b,1,2,"b-formatted-date-time",45)(2,H2b,1,0),M());a&2&&(a=b.$implicit,E(),J(a.createdTimestamp?1:2))},J2b=function(a){a&1&&(L(0,"th",46),U(1," Options "),
M())},L2b=function(a,b){if(a&1){var c=y();L(0,"td",47)(1,"div",48)(2,"button",49);Q("click",function(d){var e=z(c).$implicit,f=R(6);d.preventDefault();return B(K2b(f,e))});N(3,"mat-icon",50);M();L(4,"button",51);Q("click",function(d){var e=z(c).$implicit,f=R(6);d.preventDefault();return B(f.copyIdOrLink(e))});N(5,"mat-icon",52);M()()()}a&2&&(a=b.$implicit,b=R(6),E(2),K("disabled",b.isSavingManualSignal)("matTooltip","Trigger a needs attention alert on this task"),E(2),K("matTooltip",a.taskResourceType===
b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"),Hj("aria-label",a.taskResourceType===b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"))},M2b=function(a){a&1&&N(0,"tr",53)},N2b=function(a){if(a&1){var b=y();L(0,"tr",54);Q("click",function(c){var d=z(b).$implicit,e=R(6);return B(e.navigateToResource(c,d))});M()}},O2b=function(a){a&1&&N(0,"mat-icon",58)},P2b=function(a){a&1&&N(0,"mat-icon",59)},Q2b=function(a){if(a&1){var b=y();L(0,"button",57);Q("click",
function(){z(b);var d=R(3),e=R(4);return B(e.setNumDisplayedRows(d))});U(1);I(2,O2b,1,0,"mat-icon",58);I(3,P2b,1,0,"mat-icon",59);M()}if(a&2){a=R(3);var c=R(4);E();V(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");E();J(a.length>c.numDisplayedRows?2:-1);E();J(a.length===c.numDisplayedRows?3:-1)}},R2b=function(a){a&1&&(L(0,"td",55),I(1,Q2b,4,3,"button",56),M());if(a&2){a=R(2);var b=R(4);E();J(a.length>b.DEFAULT_NUM_ROWS_DISPLAYED?1:-1)}},S2b=function(a){a&1&&N(0,"tr",60);if(a&2){a=R(2);
var b=R(4);K("hidden",!(a.length>b.DEFAULT_NUM_ROWS_DISPLAYED))}},T2b=function(a,b){a&1&&(L(0,"td",62),U(1),M());a&2&&(E(),V(" ",b.length===0?"Enable source filters to see tasks":"No tasks found"," "))},U2b=function(a){a&1&&(L(0,"tr",61),I(1,T2b,2,1,"td",62),W(2,"async"),M());if(a&2){var b;a=R(6);E();J((b=X(2,1,a.sources$))?1:-1,b)}},X2b=function(a){a&1&&(L(0,"table",19),Sj(1,20),G(2,q2b,2,0,"th",21)(3,r2b,2,5,"td",22),Tj(),Sj(4,23),G(5,s2b,2,0,"th",21)(6,z2b,3,1,"td",22),Tj(),Sj(7,24),G(8,A2b,2,
0,"th",21)(9,C2b,2,1,"td",22),Tj(),Sj(10,25),G(11,D2b,2,0,"th",21)(12,E2b,2,1,"td",22),Tj(),Sj(13,26),G(14,F2b,2,0,"th",21)(15,I2b,3,1,"td",22),Tj(),Sj(16,27),G(17,J2b,2,0,"th",28)(18,L2b,6,4,"td",29),Tj(),G(19,M2b,1,0,"tr",30)(20,N2b,1,0,"tr",31),Sj(21,32),G(22,R2b,2,1,"td",33),Tj(),G(23,S2b,1,1,"tr",34)(24,U2b,3,3,"tr",35),M());if(a&2){a=R();var b=R(2).$implicit,c=R(2);sk(zk("table-",b.label));K("dataSource",a.slice(0,c.numDisplayedRows)||Ck(7,V2b));E(19);K("matHeaderRowDef",c.displayColumns);E();
K("matRowDefColumns",c.displayColumns);E(3);K("matFooterRowDef",Ck(8,W2b))}},Y2b=function(a,b){a&1&&(I(0,p2b,2,3),I(1,X2b,25,9,"table",17));a&2&&(J(b.length===0?0:-1),E(),J(b.length>0?1:-1))},Z2b=function(a){a&1&&(I(0,n2b,1,3,"b-issues-table",16),W(1,"async"),I(2,Y2b,2,2),W(3,"async"));if(a&2){var b,c;a=R().$implicit;J((b=X(1,2,a.issues))?0:-1,b);E(2);J((c=X(3,4,a.liteTasks))?2:-1,c)}},$2b=function(a){a&1&&(L(0,"div",10),N(1,"b-spinner",63),M());a&2&&(E(),K("ariaLabel","loading tasks"))},a3b=function(a,
b){a&1&&(L(0,"mat-tab"),G(1,i2b,2,2,"ng-template",8),I(2,m2b,4,4,"div",9),I(3,Z2b,4,6)(4,$2b,2,1,"div",10),M());a&2&&(a=b.$implicit,E(2),J(a.liteTasks?2:-1),E(),J(a.loading?4:3))},b3b=function(a){if(a&1){var b=y();L(0,"div",6)(1,"mat-tab-group",7);Q("selectedIndexChange",function(c){z(b);var d=R();return B(d.onTabIndexChange(c))});Mj(2,a3b,5,2,"mat-tab",null,Lj);M()()}a&2&&(a=R(),E(),K("selectedIndex",a.INITIAL_TAB_INDEX),E(),Nj(a.tabData))},c3b=function(a,b){return a.lastModifiedTimestamp?b.lastModifiedTimestamp?
Sf(b.lastModifiedTimestamp)-Sf(a.lastModifiedTimestamp):1:-1},e3b=function(a){if(a&1){var b=y();L(0,"div",8)(1,"button",9);Q("click",function(){z(b);var c=R();d3b(c.userFeedback);return B()});U(2,"Give feedback");M()()}},f3b=function(a,b){a&1&&(L(0,"mat-option",2),U(1),M());a&2&&(a=b.$implicit,K("value",a.id),E(),V(" ",a.displayName," "))},g3b=function(a,b){return a.gmt===b.gmt?a.id>b.id?1:-1:a.gmt>b.gmt?1:-1},h3b=function(a,b){a&1&&(L(0,"mat-option",2),U(1),M());a&2&&(a=b.$implicit,K("value",a.frequency),
E(),V(" ",a.display," "))},i3b=function(a,b){if(a&1){var c=y();L(0,"div")(1,"mat-form-field",0)(2,"mat-label");U(3," Frequency ");M();L(4,"mat-select",1);Q("ngModelChange",function(d){z(c);var e=R();return B(e.frequency$.next(d))});Mj(5,h3b,2,2,"mat-option",2,Lj);M()()()}a&2&&(a=R(),E(4),K("ngModel",b),E(),Nj(a.frequencyOptions))},j3b=function(a,b){a&1&&(L(0,"mat-option",2),U(1),M());a&2&&(a=b.$implicit,K("value",a.ordinal),E(),V(" ",a.display," "))},k3b=function(a,b){if(a&1){var c=y();L(0,"div")(1,
"mat-form-field",0)(2,"mat-label");U(3," Repeat on ");M();L(4,"mat-select",1);Q("ngModelChange",function(d){z(c);var e=R();return B(e.ordinal$.next(d))});Mj(5,j3b,2,2,"mat-option",2,Lj);M()()()}a&2&&(a=R(),E(4),K("ngModel",b),E(),Nj(a.repeatOnOptions.get(a.frequency$.value)))},l3b=function(a,b){a&1&&(L(0,"mat-option",2),U(1),M());a&2&&(a=b.$implicit,K("value",a.timeOfDay),E(),V(" ~",a.display," "))},m3b=function(a,b){if(a&1){var c=y();L(0,"div")(1,"mat-form-field",0)(2,"mat-label");U(3," Repeat at ");
M();L(4,"mat-select",3);Q("ngModelChange",function(d){z(c);var e=R();return B(e.timeOfDay$.next(d))});Mj(5,l3b,2,2,"mat-option",2,Lj);M()()()}a&2&&(a=R(),E(4),K("ngModel",b)("compareWith",a.compareTimeOfDay),E(),Nj(a.repeatAtOptions))},n3b=function(a,b){if(a&1){var c=y();L(0,"div")(1,"b-timezone-picker",4);Q("timezoneIdChange",function(d){z(c);var e=R();return B(e.timeZoneId$.next(d))});M()()}a&2&&(E(),K("timezoneId",b)("fullWidth",!0))},o3b=function(a,b){return a.hours===b.hours&&a.minutes===b.minutes&&
a.seconds===b.seconds&&a.nanos===b.nanos},p3b=function(a){a&1&&Uj(0)},q3b=function(a){a&1&&(L(0,"th",17),U(1,"Name"),M())},r3b=function(a,b){a&1&&(L(0,"td",18),U(1),M());a&2&&(a=b.$implicit,E(),V(" ",a.displayName," "))},s3b=function(a){a&1&&(L(0,"th",17),U(1,"Status"),M())},t3b=function(a){a&1&&N(0,"mat-icon",19);a&2&&(a=R(3),K("matTooltip",a.warningTooltipText))},u3b=function(a,b){a&1&&(L(0,"td",18),I(1,t3b,1,1,"mat-icon",19),M());a&2&&(a=b.$implicit,E(),J(a.isOverflowing?1:-1))},v3b=function(a){a&
1&&(L(0,"th",17),U(1,"Actions"),M())},w3b=function(a,b){if(a&1){var c=y();L(0,"td",18)(1,"button",20);N(2,"mat-icon",21);M();L(3,"mat-menu",null,2)(5,"a",22);U(6," Search issues with query ");M();N(7,"mat-divider");L(8,"button",23);Q("click",function(){var d=z(c).$implicit,e=R(2);return B(e.openDialog(d))});U(9," Edit subscription ");M();L(10,"button",24);Q("click",function(){var d=z(c).$implicit,e=R(2);return B(e.openConfirmDeleteDialog(d))});U(11," Delete subscription ");M()()()}a&2&&(a=b.$implicit,
b=T(4),R(2),E(),K("matMenuTriggerFor",b),E(4),K("routerLinkObj",{path:"/issues",queryParams:{q:a.query,s:"modified_time:desc"}}))},x3b=function(a){a&1&&N(0,"tr",25)},y3b=function(a,b){a&1&&N(0,"tr",26);a&2&&(a=b.$implicit,Hj("aria-label","Subscription "+a.id+": "+a.displayName))},z3b=function(a){a&1&&(L(0,"div",8)(1,"table",9),Sj(2,10),G(3,q3b,2,0,"th",11)(4,r3b,2,1,"td",12),Tj(),Sj(5,13),G(6,s3b,2,0,"th",11)(7,u3b,2,1,"td",12),Tj(),Sj(8,14),G(9,v3b,2,0,"th",11)(10,w3b,12,2,"td",12),Tj(),G(11,x3b,
1,0,"tr",15)(12,y3b,1,1,"tr",16),M()());a&2&&(a=R(),E(),K("dataSource",a.ownedSubscriptions$),E(10),K("matHeaderRowDef",a.columnsToDisplay),E(),K("matRowDefColumns",a.columnsToDisplay))},A3b=function(a){a&1&&U(0," Add configurable alert ")},B3b=function(a){a&1&&U(0," Update configurable alert ")},C3b=function(a){a&1&&U(0," Create a new configurable alert. ")},D3b=function(a){a&1&&U(0," Update a configurable alert. ")},E3b=function(a){a&1&&U(0);a&2&&(a=R().$implicit,V(" Subscription ID: ",a.id," "))},
F3b=function(a){a&1&&N(0,"b-spinner")},G3b=function(a,b){if(a&1){var c=y();L(0,"h1",27);I(1,A3b,1,0)(2,B3b,1,0);M();L(3,"mat-dialog-content")(4,"p",28);I(5,C3b,1,0)(6,D3b,1,0);M();L(7,"mat-form-field",29)(8,"mat-label");U(9,"Name");M();L(10,"input",30);xk("ngModelChange",function(d){var e=z(c).$implicit;wk(e.displayName,d)||(e.displayName=d);return B(d)});M()();L(11,"mat-form-field",29)(12,"mat-label");U(13,"Search query");M();L(14,"input",31);xk("ngModelChange",function(d){var e=z(c).$implicit;wk(e.query,
d)||(e.query=d);return B(d)});M()();L(15,"b-delivery-frequency-subform",32);Q("frequencyChange",function(d){var e=z(c).$implicit,f=R();return B(f.setFrequency(e,d))});xk("ordinalChange",function(d){var e=z(c).$implicit;wk(e.ordinal,d)||(e.ordinal=d);return B(d)})("timeOfDayChange",function(d){var e=z(c).$implicit;wk(e.timeOfDay,d)||(e.timeOfDay=d);return B(d)})("timeZoneIdChange",function(d){var e=z(c).$implicit;wk(e.timeZone.id,d)||(e.timeZone.id=d);return B(d)});M();L(16,"div",29)(17,"mat-slide-toggle",
33);Q("change",function(d){var e=z(c).$implicit;return B(e.sendEmail=d.checked)});U(18," Send email when newly matching issues are found. ");M()();L(19,"div",34)(20,"span",35);I(21,E3b,1,1);M();I(22,F3b,1,0,"b-spinner");W(23,"async");M()();L(24,"mat-dialog-actions")(25,"button",36);U(26,"Cancel");M();L(27,"button",7);Q("click",function(){var d=z(c).$implicit,e=R();return B(e.save(d))});U(28);M()()}a&2&&(a=b.$implicit,b=R(),E(),J(a.id==="0"?1:2),E(4),J(a.id==="0"?5:6),E(5),vk("ngModel",a.displayName),
E(4),vk("ngModel",a.query),E(),K("frequency",a.frequency),vk("ordinal",a.ordinal)("timeOfDay",a.timeOfDay)("timeZoneId",a.timeZone.id),E(2),K("checked",a.sendEmail),E(4),J(a.id!=="0"?21:-1),E(),J(X(23,12,b.isSaving$)?22:-1),E(6),V(" ",a.id==="0"?"Add":"Update"," "))},H3b=function(a){a&1&&(L(0,"mat-option",20),U(1),M());a&2&&(a=R().$implicit,K("value",a),E(),V(" ",a.name," "))},I3b=function(a,b){a&1&&I(0,H3b,2,2,"mat-option",20);a&2&&J(b.$implicit.shouldDisplay()?0:-1)},J3b=function(a,b){a&1&&(L(0,
"mat-option",22),U(1),M());a&2&&(a=b.$implicit,K("value",a.id),E(),V(" ",a.name," "))},L3b=function(a){if(a&1){var b=y();L(0,"mat-form-field",5)(1,"mat-select",21);xk("ngModelChange",function(c){z(b);var d=R();wk(d.preferredHomepage.selectedOptionId,c)||(d.preferredHomepage.selectedOptionId=c);return B(c)});Q("selectionChange",function(){z(b);var c=R();return B(K3b(c.preferredHomepage))});Mj(2,J3b,2,2,"mat-option",22,Lj);M()()}a&2&&(a=R(),E(),vk("ngModel",a.preferredHomepage.selectedOptionId),E(),
Nj(a.preferredHomepage.selectedMainOption.options))},M3b=function(a){if(a&1){var b=y();L(0,"div")(1,"mat-slide-toggle",23);Q("change",function(c){z(b);var d=R();c=c.checked;if(d.userPreferences){var e;d.userPreferences.missionControlPreferences=(e=d.userPreferences.missionControlPreferences)!=null?e:{};e=!c;d.userPreferences.missionControlPreferences.hideBadgeInNav=e;d.save("hideBadgeInNav",String(e))}return B()});U(2,' Show red "attention" badge in left navigation ');M()()}a&2&&(a=R(),E(),K("checked",
!a.hideBadgeInNav))},N3b=function(a,b){a&1&&(L(0,"mat-option",12),U(1),M());a&2&&(a=b.$implicit,K("value",a.value),E(),V(" ",a.label," "))},O3b=function(a,b){a&1&&(L(0,"mat-option",12),U(1),M());a&2&&(a=b.$implicit,K("value",a.value),E(),V(" ",a.label," "))},P3b=function(a,b){a&1&&(L(0,"mat-option",12),U(1),M());a&2&&(a=b.$implicit,K("value",a.value),E(),V(" ",a.label," "))},Q3b=function(a){if(a&1){var b=y();L(0,"div",18)(1,"mat-slide-toggle",24);Q("change",function(c){z(b);var d=R();c=c.checked;
d.userPreferences.showInlineImages=c;d.save("showInlineImages",c.toString());return B()});U(2," Show trusted images (e.g. SnipIt screenshots) inline in comments ");M()()}a&2&&(a=R(),E(),K("checked",a.getShowInlineImages()))},T3b=function(a){if(a&1){var b=y();N(0,"hr",8);L(1,"div",0)(2,"div",1)(3,"p",2);U(4,"Comment formatting settings");M()();L(5,"div")(6,"div",18)(7,"mat-slide-toggle",25);Q("change",function(c){z(b);var d=R();d.userPreferences.commentFormattingPreferences&&(d.userPreferences.commentFormattingPreferences.commentDisplayOverride=
c.checked?"LITERAL_FORMATTING_MODE":void 0,d.save("saveCommentFormattingPreferences.commentDisplayOverride"));return B()});U(8," Force comments to display as plain text ");M()();L(9,"div",18)(10,"mat-slide-toggle",26);Q("change",function(c){z(b);var d=R();d.userPreferences.commentFormattingPreferences&&(d.userPreferences.commentFormattingPreferences.commentCreateOverride=c.checked?"LITERAL_FORMATTING_MODE":void 0,d.save("saveCommentFormattingPreferences.commentCreateOverride"));return B()});U(11,
" Force comments to be created as plain text ");M()()()()}a&2&&(a=R(),E(7),K("checked",R3b(a)),E(3),K("checked",S3b(a)))},U3b=function(a){if(a&1){var b=y();L(0,"div",0)(1,"div",1)(2,"p",2);U(3,"Other");M()();L(4,"div")(5,"div")(6,"mat-slide-toggle",27);Q("change",function(c){z(b);var d=R();d.userPreferences.bugScreensaverPreferences.enableBugScreensaver=c.checked;return B(d.save("saveBugScreensaverPreferences"))});U(7," Enable bug screensaver ");M()()()()}a&2&&(a=R(),E(6),K("checked",a.userPreferences.bugScreensaverPreferences.enableBugScreensaver))},
V3b=function(a,b){a&1&&(L(0,"mat-option",8),U(1),W(2,"toNewEmailPreference"),M());a&2&&(a=b.$implicit,K("value",a),E(),V(" ",X(2,2,a)," "))},W3b=function(a,b){a&1&&(L(0,"mat-option",8),U(1),W(2,"toNewEmailPreference"),M());a&2&&(a=b.$implicit,K("value",a),E(),V(" ",X(2,2,a)," "))},X3b=function(a,b){a&1&&(L(0,"mat-option",8),U(1),W(2,"toNewEmailPreference"),M());a&2&&(a=b.$implicit,K("value",a),E(),V(" ",X(2,2,a)," "))},Y3b=function(a,b){a&1&&(L(0,"mat-option",8),U(1),W(2,"toNewEmailPreference"),M());
a&2&&(a=b.$implicit,K("value",a),E(),V(" ",X(2,2,a)," "))},Z3b=function(a,b){a&1&&(L(0,"mat-option",8),U(1),W(2,"toNewEmailPreference"),M());a&2&&(a=b.$implicit,K("value",a),E(),V(" ",X(2,2,a)," "))},$3b=function(a,b){a&1&&(L(0,"mat-option",8),U(1),W(2,"toNewEmailPreference"),M());a&2&&(a=b.$implicit,K("value",a),E(),V(" ",X(2,2,a)," "))},a4b=function(a){a&1&&N(0,"b-spinner")},b4b=function(a){a&1&&(L(0,"mat-hint"),U(1,"This field is read-only"),M())},c4b=function(a,b){a&1&&(L(0,"mat-option",21),U(1),
M());a&2&&(a=b.$implicit,K("value",a.value),E(),tk(a.displayText))},e4b=function(a,b){if(a&1){var c=y();L(0,"div",24)(1,"a",26);U(2);M();L(3,"button",27);Q("click",function(){var d=z(c).$implicit,e=R(2),f=R(2);return B(d4b(f,e,d))});N(4,"mat-icon",28);M()()}a&2&&(a=b.$implicit,E(),K("href","/slos/"+a,Ni),E(),tk(a),E(),K("matTooltip","Remove SLO ID "+a))},f4b=function(a){a&1&&(L(0,"div",25),U(1),M());a&2&&(a=R(2),E(),V(" Subscription ID: ",a.id," "))},h4b=function(a){if(a&1){var b=y();L(0,"b-delivery-frequency-subform",
17);Q("frequencyChange",function(e){z(b);var f=R(),h=R(2);return B(h.setFrequency(e,f))})("ordinalChange",function(e){z(b);var f=R(),h=R(2);Js(h,Object.assign({},f,{ordinal:e}));return B()})("timeOfDayChange",function(e){z(b);var f=R(),h=R(2);Js(h,Object.assign({},f,{timeOfDay:e}));return B()})("timeZoneIdChange",function(e){z(b);var f=R(),h=R(2);return B(h.setTimeZone(e,f))});M();L(1,"div")(2,"mat-form-field",18)(3,"mat-label");U(4,"Days remaining");M();L(5,"input",19);xk("ngModelChange",function(e){z(b);
var f=R(3);wk(f.inputDaysRemaining,e)||(f.inputDaysRemaining=e);return B(e)});Q("blur",function(){z(b);var e=R(),f=R(2);return B(f.setDaysRemaining(e))})("keydown.enter",function(){z(b);var e=R(),f=R(2);return B(f.setDaysRemaining(e))});M()()();L(6,"div")(7,"mat-form-field",18)(8,"mat-label");U(9,"Types");M();L(10,"mat-select",20);Q("ngModelChange",function(e){z(b);var f=R(),h=R(2);return B(h.setIssueType(e,f))});Mj(11,c4b,2,2,"mat-option",21,Lj);M()()();L(13,"div",8)(14,"mat-form-field",22)(15,"mat-label");
U(16,"Add SLO ID");M();L(17,"input",23);xk("ngModelChange",function(e){z(b);var f=R(3);wk(f.newSloId,e)||(f.newSloId=e);return B(e)});Q("keydown.enter",function(){z(b);var e=R(),f=R(2);return B(g4b(f,e))})("blur",function(){z(b);var e=R(),f=R(2);return B(g4b(f,e))});M()();Mj(18,e4b,5,3,"div",24,Lj);M();I(20,f4b,2,1,"div",25)}if(a&2){a=R();var c=R(2),d;K("frequency",a.frequency)("ordinal",(d=a.ordinal)!=null?d:0)("timeOfDay",a.timeOfDay)("timeZoneId",a.timeZone.id);E(5);vk("ngModel",c.inputDaysRemaining);
E(5);K("ngModel",a.types);E();Nj(c.typeChoices);E(6);vk("ngModel",c.newSloId);E();Nj(a.sloIds);E(2);J(a.id?20:-1)}},j4b=function(a,b){if(a&1){var c=y();L(0,"div")(1,"div",8)(2,"mat-slide-toggle",14);W(3,"async");Q("change",function(){z(c);var d=R(2);return B(i4b(d))});U(4," Subscribe to your own reports ");I(5,a4b,1,0,"b-spinner");W(6,"async");M()();L(7,"div")(8,"mat-form-field",15)(9,"mat-label");U(10,"Scope");M();L(11,"input",16);Q("focus",function(){z(c);var d=R(2);return B(d.inputHasFocus=!0)})("blur",
function(){z(c);var d=R(2);return B(d.inputHasFocus=!1)});M();I(12,b4b,2,0,"mat-hint");M()();I(13,h4b,21,8);M()}a&2&&(a=R(2),E(2),K("disabled",X(3,6,a.isThinking$))("checked",b.id!==0),E(3),J(X(6,8,a.isThinking$)?5:-1),E(6),K("ngModel",a.currentUser.email),E(),J(a.inputHasFocus?12:-1),E(),J(b.id!==0?13:-1))},k4b=function(a){a&1&&(L(0,"div",2)(1,"div",3)(2,"p",4),U(3,"Frequency settings"),M(),L(4,"p",11),U(5," Choose when to receive your own reports. "),L(6,"a",12),U(7,"Learn more"),M()()(),I(8,j4b,
14,10,"div"),W(9,"async"),M(),N(10,"hr",13));if(a&2){var b;a=R();E(8);J((b=X(9,1,a.userSubscription$))?8:-1,b)}},l4b=function(a){a&1&&N(0,"b-spinner")},m4b=function(a){a&1&&(L(0,"th",36),U(1,"Scope"),M())},n4b=function(a,b){a&1&&(L(0,"td",37),U(1),M());a&2&&(a=b.$implicit,E(),V(" ",a.lead.emailAddress," "))},o4b=function(a){a&1&&(L(0,"th",36),U(1,"Frequency"),M())},q4b=function(a,b){a&1&&(L(0,"td",37),U(1),W(2,"async"),W(3,"async"),M());if(a&2){var c;a=b.$implicit;b=R(2);E();var d=b.frequencyDisplayMap.get(a.frequency);
if(a.ordinal)if(a.frequency==="weekly")var e="- "+p4b[a.ordinal-1].display;else if(a.frequency==="monthly"){e=a.ordinal;var f=e%10,h=e%100;e="- "+(f===1&&h!==11?String(e)+"st":f===2&&h!==12?String(e)+"nd":f===3&&h!==13?String(e)+"rd":String(e)+"th")}else e="";else e="";Vra(" ",d," ",e," - ",(c=X(2,4,b.hourOfDayDisplayMap$))==null?null:c.get(a.timeOfDay.hours)," - ",(c=X(3,6,b.timeZoneDisplayMap$))==null?null:c.get(a.timeZone.id)," ")}},r4b=function(a){a&1&&N(0,"th",36)},s4b=function(a){if(a&1){var b=
y();L(0,"td",37)(1,"button",38);N(2,"mat-icon",39);M();L(3,"mat-menu",null,1)(5,"button",40);Q("click",function(){var c=z(b).$implicit,d=R(2);return B(d.openDialog(c))});U(6," Edit subscription ");M();L(7,"button",41);Q("click",function(){var c=z(b).$implicit,d=R(2);return B(d.openConfirmDeleteDialog(c))});U(8," Delete subscription ");M()()()}a&2&&(a=T(4),E(),K("matMenuTriggerFor",a))},t4b=function(a){a&1&&N(0,"tr",42)},u4b=function(a,b){a&1&&N(0,"tr",43);a&2&&(a=b.$implicit,Hj("aria-label","Subscription with ID "+
a.id+" and scoped to "+a.lead.emailAddress))},v4b=function(a){a&1&&(L(0,"table",10),Sj(1,29),G(2,m4b,2,0,"th",30)(3,n4b,2,1,"td",31),Tj(),Sj(4,32),G(5,o4b,2,0,"th",30)(6,q4b,4,8,"td",31),Tj(),Sj(7,33),G(8,r4b,1,0,"th",30)(9,s4b,9,1,"td",31),Tj(),G(10,t4b,1,0,"tr",34)(11,u4b,1,1,"tr",35),M());a&2&&(a=R(),K("dataSource",a.subscriptions$),E(10),K("matHeaderRowDef",a.columns),E(),K("matRowDefColumns",a.columns))},w4b=function(a){a&1&&(L(0,"mat-error"),U(1,"Please select a valid, single user"),M())},x4b=
function(a){a&1&&(L(0,"mat-error"),U(1,"Report for sundar@ cannot be generated"),M())},y4b=function(a,b){a&1&&(L(0,"mat-option",21),U(1),M());a&2&&(a=b.$implicit,K("value",a.value),E(),tk(a.displayText))},A4b=function(a,b){if(a&1){var c=y();L(0,"div",24)(1,"a",26);U(2);M();L(3,"button",27);Q("click",function(){var d=z(c).$implicit,e=R().$implicit;R();return B(z4b(e,d))});N(4,"mat-icon",28);M()()}a&2&&(a=b.$implicit,E(),K("href","/slos/"+a,Ni),E(),tk(a),E(),K("matTooltip","Remove SLO ID "+a))},B4b=
function(a){a&1&&(L(0,"div",25),U(1),M());a&2&&(a=R().$implicit,E(),V(" Subscription ID: ",a.id," "))},E4b=function(a,b){if(a&1){var c=y();L(0,"h1",44);U(1,"Add report subscription");M();L(2,"mat-dialog-content")(3,"p",45);U(4," Select the user (scope) and frequency of the report you wish to receive. ");M();L(5,"div")(6,"mat-form-field",46)(7,"mat-label");U(8,"Scope");M();L(9,"b-peoplekit-single",47);Q("emailChange",function(f){var h=z(c).$implicit,k=R();return B(h.lead=k.emailToUser(f))});M();I(10,
w4b,2,0,"mat-error");I(11,x4b,2,0,"mat-error");M()();L(12,"b-delivery-frequency-subform",17);Q("frequencyChange",function(f){var h=z(c).$implicit;R();h.frequency=f;f!=="daily"?h.ordinal=1:delete h.ordinal;return B()})("ordinalChange",function(f){var h=z(c).$implicit;return B(h.ordinal=f)});xk("timeOfDayChange",function(f){var h=z(c).$implicit;wk(h.timeOfDay,f)||(h.timeOfDay=f);return B(f)})("timeZoneIdChange",function(f){var h=z(c).$implicit;wk(h.timeZone.id,f)||(h.timeZone.id=f);return B(f)});M();
L(13,"div")(14,"mat-form-field",15)(15,"mat-label");U(16,"Days remaining");M();L(17,"input",48);xk("ngModelChange",function(f){var h=z(c).$implicit;wk(h.daysRemaining,f)||(h.daysRemaining=f);return B(f)});M()()();L(18,"div")(19,"mat-form-field",15)(20,"mat-label");U(21,"Types");M();L(22,"mat-select",20);xk("ngModelChange",function(f){var h=z(c).$implicit;wk(h.types,f)||(h.types=f);return B(f)});Mj(23,y4b,2,2,"mat-option",21,Lj);M()()();L(25,"div",8)(26,"mat-form-field",49)(27,"mat-label");U(28,"Add SLO ID");
M();L(29,"input",23);xk("ngModelChange",function(f){z(c);var h=R();wk(h.newSloId,f)||(h.newSloId=f);return B(f)});Q("keydown.enter",function(){var f=z(c).$implicit,h=R();return B(C4b(h,f))})("blur",function(){var f=z(c).$implicit,h=R();return B(C4b(h,f))});M()();Mj(30,A4b,5,3,"div",24,Lj);M();I(32,B4b,2,1,"div",25);L(33,"p",50);U(34," You are the only recipient of your subscription. Anyone else wishing to receive this report will need to subscribe for themselves. ");M();L(35,"a",51);U(36,"Learn more");
M()();L(37,"mat-dialog-actions")(38,"button",52);U(39,"Cancel");M();L(40,"button",9);Q("click",function(){var f=z(c).$implicit,h=R();return B(D4b(h,f))});U(41);M()()}if(a&2){a=b.$implicit;b=R();E(9);var d;K("asMatInput",!0)("email",(d=a.lead==null?null:a.lead.emailAddress)!=null?d:"")("required",!0)("placeholder","Search users...");E();J(b.dialogInvalidEmailFormat?10:-1);E();J(b.ceoSelected?11:-1);E();var e;K("frequency",a.frequency)("ordinal",(e=a.ordinal)!=null?e:0);vk("timeOfDay",a.timeOfDay)("timeZoneId",
a.timeZone.id);E(5);vk("ngModel",a.daysRemaining);E(5);vk("ngModel",a.types);E();Nj(b.typeChoices);E(6);vk("ngModel",b.newSloId);E();Nj(a.sloIds);E(2);J(a.id?32:-1);E(8);K("disabled",!a.lead||!a.lead.emailAddress);E();V(" ",a.id===0?"Add":"Update"," ")}},F4b=function(a){a&1&&(L(0,"div",7),N(1,"b-general-settings"),M())},G4b=function(a){a&1&&(L(0,"div",7),N(1,"b-notification-settings"),M())},H4b=function(a){a&1&&(L(0,"div",7),N(1,"b-configurable-alert-settings"),M())},I4b=function(a){a&1&&(L(0,"div",
7),N(1,"b-slo-reports-settings"),M())},J4b=function(a){a&1&&(L(0,"mat-tab",6),G(1,I4b,2,0,"ng-template",3),M())},K4b=function(a){a&1&&N(0,"b-star-toggle",5);a&2&&K("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)},L4b=function(a){if(a&1){var b=y();L(0,"b-star-toggle",11);Q("starClicked",function(){z(b);var c=R(2);return B(c.toggleStar())});M()}a&2&&
(a=R(2),K("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},M4b=function(a,b){a&1&&(L(0,"li")(1,"a",12),U(2),M()());a&2&&(a=b.$implicit,b=R(2),E(),K("href",b.getUrl(a),Ni),E(),tk(b.getDisplayName(a)))},N4b=function(a){if(a&1){var b=y();L(0,"div")(1,"div",3)(2,"div",4);I(3,K4b,1,4,"b-star-toggle",5)(4,L4b,1,3,"b-star-toggle",6);L(5,"span",7);U(6);M();L(7,"button",8);Q("click",function(){z(b);var c=R();return B(c.openEditBookmarkGroup())});
M()();L(8,"div",9);U(9);M()();L(10,"ul",10);Mj(11,M4b,3,2,"li",null,Lj);M()()}a&2&&(a=R(),E(3),J(a.userIsAdmin?3:4),E(3),V("Bookmark Group: ",a.bookmarkGroup.name," "),E(3),tk(a.bookmarkGroup.description),E(2),Nj(a.bookmarkGroup.item))},O4b=function(a){if(a&1){var b=y();L(0,"button",10);Q("click",function(){z(b);var c=R(2);return B(c.addToMissionControl(c.hotlistId))});U(1," Hotlist insights in Home ");M()}},P4b=function(a,b){a&1&&I(0,O4b,2,0,"button",9);a&2&&(a=R(),J(a.showAddToMcButton(b)?0:-1))},
Q4b=function(a){if(a&1){var b=y();L(0,"b-star-toggle",16);Q("starClicked",function(){z(b);var c=R(2);return B(c.toggleStar())})("keydown.space",function(c){z(b);return B(c.stopPropagation())})("keydown.enter",function(c){z(b);return B(c.stopPropagation())});M()}a&2&&(a=R(2),K("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("starred",a.isStarred))},R4b=function(a){a&1&&N(0,"b-star-toggle",12);a&2&&K("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)},S4b=function(a){a&1&&N(0,"b-star-toggle",12);a&2&&K("starMessage","")("unStarMessage","")("starred",!1)("disabled",!0)},T4b=function(a){a&1&&(L(0,"div",14),U(1," Hotlist not found. "),M());a&2&&K("bFocus",!0)},U4b=function(a){a&1&&(L(0,"div"),U(1," Loading details... "),M())},V4b=function(a){a&1&&(L(0,"span",19),U(1," (archived) "),M())},W4b=function(a){a&1&&(L(0,"span",22),U(1," \u00a0(changed) "),M())},
X4b=function(a){if(a&1){var b=y();L(0,"div")(1,"span",17);U(2," Hotlist: ");L(3,"span",18);U(4);M()();I(5,V4b,2,0,"span",19);L(6,"div",20)(7,"button",21);Q("click",function(){z(b);var c=R(2);return B(c.openEditHotlist())});M()();I(8,W4b,2,0,"span",22);M()}a&2&&(a=R(2),E(3),K("matTooltip",a.hotlist.description),E(),V(" ",a.hotlist.name," "),E(),J(a.hotlist.archived?5:-1),E(3),J(a.hasParamChanges()?8:-1))},Y4b=function(a){if(a&1){var b=y();L(0,"div",15)(1,"button",23);Q("click",function(){z(b);var c=
R(2);return B(c.save())});U(2,"Save ");M();L(3,"button",24);Q("click",function(){z(b);var c=R(2);return B(c.discardChanges())});U(4,"Discard changes ");M()()}},Z4b=function(a){a&1&&(L(0,"div",5),I(1,Q4b,1,3,"b-star-toggle",11),I(2,R4b,1,4,"b-star-toggle",12),I(3,S4b,1,4,"b-star-toggle",12),L(4,"div",13),I(5,T4b,2,1,"div",14),I(6,U4b,2,0,"div"),I(7,X4b,9,4,"div"),M(),I(8,Y4b,5,0,"div",15),M());a&2&&(a=R(),E(),J(a.isDirectAdmin()||!a.hotlist||a.hotlist.archived?-1:1),E(),J(a.isDirectAdmin()&&a.hotlist&&
!a.hotlist.archived?2:-1),E(),J(a.hotlist?-1:3),E(2),J(a.hotlist||a.hotlistLoading?-1:5),E(),J(a.hotlistLoading?6:-1),E(),J(a.hotlist&&!a.hotlistLoading?7:-1),E(),J(a.hasParamChanges()?8:-1))},$4b=function(a){a&1&&(L(0,"div",6),N(1,"b-spinner"),L(2,"span"),U(3),M()());a&2&&(a=R(),E(3),V(" Loading hotlist: ",a.hotlistId))},a5b=function(a){a&1&&U(0);a&2&&(a=R(2),V(" No issues found on this page for hotlist ",a.hotlistId,". There may be issues visible on the next page. "))},b5b=function(a){a&1&&U(0);
a&2&&(a=R(2),V(" No issues in hotlist ",a.hotlistId,". "))},c5b=function(a){a&1&&(L(0,"div",7),I(1,a5b,1,1)(2,b5b,1,1),M());a&2&&(a=R(),K("bFocus",!0),E(),J((a.searchResults==null?0:a.searchResults.hasNextPage())?1:2))},d5b=function(a){if(a&1){var b=y();L(0,"div",8)(1,"b-issues-grid",25);Q("init",function(c){z(b);var d=R();return B(d.resultsGrid=c)});xk("focusedRowIndexChange",function(c){z(b);var d=R();wk(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return B(c)})("columnsChange",function(c){z(b);
var d=R();wk(d.issueColumns,c)||(d.issueColumns=c);return B(c)});Q("sortChange",function(c){z(b);var d=R();return B(d.setSort(c.field,c.direction))})("rowClick",function(c){z(b);var d=R();return B(d.goToIssue(c.id,c.isRead,c.event))})("onRowDragDrop",function(c){z(b);var d=R();return B(d.repositionIssue(c.srcIndex,c.destIndex))})("onNextPage",function(){z(b);var c=R();return B(Es(c,c.page,1))})("onPrevPage",function(){z(b);var c=R();return B(Es(c,c.page,-1))});M()()}a&2&&(a=R(),E(),K("searchResults",
a.searchResults),vk("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns),K("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},e5b=function(a){if(a&1){var b=y();L(0,"button",9);Q("click",function(){z(b);var c=R(2);return B(c.addToMissionControl(c.savedSearchId))});U(1," Saved Search insights in Home ");M()}},f5b=function(a,b){a&1&&I(0,e5b,2,0,"button",8);a&2&&(a=R(),J(a.showAddToMcButton(b)?0:-1))},g5b=function(a){a&1&&(L(0,"span",13),U(1," \u00a0(changed) "),
M())},h5b=function(a){if(a&1){var b=y();L(0,"div",10);U(1," Saved search: ");L(2,"span",11);U(3);M();L(4,"button",12);Q("click",function(){z(b);var c=R(2);return B(c.openEditSavedSearch())});M();I(5,g5b,2,0,"span",13);M()}a&2&&(a=R(2),E(2),K("matTooltip",a.savedSearch.description),E(),V(" ",a.savedSearch.name," "),E(2),J(a.hasParamChanges()?5:-1))},i5b=function(a){a&1&&(L(0,"div"),U(1," Loading details... "),M())},j5b=function(a){a&1&&(L(0,"div"),U(1," Saved search not found. "),M())},k5b=function(a){a&
1&&I(0,i5b,2,0,"div")(1,j5b,2,0,"div");a&2&&(a=R(2),J(a.isLoading?0:1))},l5b=function(a){a&1&&(L(0,"div",6),I(1,h5b,6,3,"div",10)(2,k5b,2,1),M());a&2&&(a=R(),E(),J(a.savedSearch?1:2))},m5b=function(a){if(a&1){var b=y();L(0,"button",18);Q("click",function(){z(b);var c=R(2);return B(c.save())});U(1,"Save ");M()}},n5b=function(a){if(a&1){var b=y();L(0,"div",7);I(1,m5b,2,0,"button",14);L(2,"button",15);Q("click",function(){z(b);var c=R();return B(c.discardChanges())});U(3,"Discard changes ");M();L(4,
"span",16)(5,"a",17);Q("click",function(){z(b);var c=R();c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"backToNormalSearch");return B()});U(6," Back to normal search");M()()()}a&2&&(a=R(),E(),J(a.isEditable()?1:-1),E(4),K("href",a.exitLink,Ni))},o5b=function(a){a&1&&(L(0,"span"),U(1),M());a&2&&(a=R(3),E(),V(" Searching",a.searchParams.query?" for "+a.searchParams.query:"","..."))},p5b=function(a){a&1&&(L(0,"div",19),N(1,"b-spinner"),I(2,o5b,2,1,"span"),M());a&2&&(a=R(2),E(2),J(a.searchParams?2:-1))},
q5b=function(a){if(a&1){var b=y();L(0,"div",20)(1,"b-issues-grid",22);Q("init",function(c){z(b);var d=R(3);return B(d.resultsGrid=c)});xk("focusedRowIndexChange",function(c){z(b);var d=R(3);wk(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return B(c)})("columnsChange",function(c){z(b);var d=R(3);wk(d.issueColumns,c)||(d.issueColumns=c);return B(c)});Q("sortChange",function(c){z(b);var d=R(3);return B(d.setSort(c.field,c.direction))})("rowClick",function(c){z(b);var d=R(3);return B(d.goToIssue(c.id,
c.isRead,c.event))})("onNextPage",function(){z(b);var c=R(3);return B(Es(c,c.page,1))})("onPrevPage",function(){z(b);var c=R(3);return B(Es(c,c.page,-1))});M()()}a&2&&(a=R(3),E(),K("searchResults",a.searchResults),vk("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns),K("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},r5b=function(a){a&1&&(L(0,"div",21),U(1," No issues in saved search. "),M());a&2&&K("bFocus",!0)},s5b=function(a){a&1&&I(0,q5b,2,6,
"div",20)(1,r5b,2,1,"div",21);a&2&&(a=R(2),J(a.hasResults()?0:1))},t5b=function(a){a&1&&(L(0,"div"),I(1,p5b,3,1,"div",19)(2,s5b,2,1),M());a&2&&(a=R(),E(),J(a.isLoading?1:2))},v5b=function(a,b){return u5b(function(){return REa(a)},b)},u5b=function(a,b){return a()?[b]:[]},w5b=function(){var a=x(Ks).getEnvironmentType(),b={};return(b.DEV="Dev",b.NIGHTLY="Autopush",b.QA="Dev",b.PROD="Prod",b)[a]},y5b=function(a){a=a.internal;var b,c,d;(b=r(a,x5b,11))==null?d=void 0:d=$e(b,1,Rd($d)).sort().join("-");b=
(c=d)!=null?c:"";var e,f,h;(e=r(a,x5b,11))==null?h=void 0:h=$e(e,2,Rd($d)).sort().join("-");c=(f=h)!=null?f:"";return Oc(a,10,"all_features")+(":enabled-"+b)+(":disabled-"+c)},B5b=function(a,b){for(var c=[],d=a.length,e=0,f=[],h,k,q=0;q<d;){switch(e){case 0:var u=a.indexOf("<",q);if(u<0){if(c.length===0)return a;c.push(a.substring(q));q=d}else c.push(a.substring(q,u)),k=u,q=u+1,z5b?(A5b.lastIndex=q,u=A5b.exec(a)):(A5b.lastIndex=0,u=A5b.exec(a.substring(q))),u?(f=["<",u[0]],h=u[1],e=1,q+=u[0].length):
c.push("<");break;case 1:u=a.charAt(q++);switch(u){case "'":case '"':var A=a.indexOf(u,q);A<0?q=d:(f.push(u,a.substring(q,A+1)),q=A+1);break;case ">":f.push(u);c.push(b(f.join(""),h));e=0;f=[];k=h=null;break;default:f.push(u)}break;default:throw Error();}e===1&&q>=d&&(q=k+1,c.push("<"),e=0,f=[],k=h=null)}return c.join("")},Ls=function(a,b){b=a(b||C5b,void 0);a=Nr();if(b&&b.renderAsElement)a=b.renderAsElement();else{a=a.createElement("DIV");b:if(La(b)){if(b.toSafeHtml&&(b=b.toSafeHtml(),b instanceof
fd))break b;b=md("zSoyz")}else b=md(String(b));a.innerHTML=id(b)}a.childNodes.length==1&&(b=a.firstChild,b.nodeType==1&&(a=b));return a},Ms=function(a,b){return a.querySelector('[peoplekit-id="'+b+'"]')},D5b=function(a,b){return Array.from(a.querySelectorAll('[peoplekit-id="'+b+'"]'))},E5b=function(a){return Array.from(a.querySelectorAll("[autofocus], [tabindex], a, input, textarea, select, button")).filter(function(b){return!(b.getAttribute("aria-hidden")==="true"||b.hasAttribute("disabled")||b.hasAttribute("hidden"))})},
H5b=function(a,b){if(/-[a-z]/.test(b))return null;if(F5b&&a.dataset){if(saa()&&!(b in a.dataset))return null;a=a.dataset[b];return a===void 0?null:a}return a.getAttribute("data-"+G5b(b))},I5b=function(a){var b=new Image;b.src=a;a=b.complete;b.src="";return a},Ns=function(a,b,c,d,e,f){e=e===void 0?new J5b:e;f=(f===void 0?"":f)||"https://lh3.googleusercontent.com/a/default-user";b=b.length?b.map(function(h){return h||"https://lh3.googleusercontent.com/a/default-user"}):[f];c=Ls(K5b,{imageUrls:b,backupUrl:f,
size:c,preloadSize:d,pixelRatio:L5b()});e=new M5b(c,e);a.appendChild(c);return e},O5b=function(a,b){var c="",d=0;b=l(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 N5b(N5b(Wr(c),"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3","<b>"),"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3","</b>")},P5b=function(a){var b=a.getDisplayName();
return b?O5b(b,a.getMatchInfo().getDisplayNameMatches()):""},Q5b=function(a){var b=a.getDisplayValue();return b?O5b(b,a.getMatchInfo().getDisplayValueMatches()):""},R5b=function(a,b){var c=b?P5b(a):Wr(a.getDisplayName());b=b?Q5b(a):Wr(a.getDisplayValue());c=c||b;b=b||Wr(a.getDescription());var d=a.getPrimaryTarget();return{hovercardId:d.getTargetType()===1||d.getTargetType()===6?a.getDisplayValue():d.getProfileId(),label:c,sublabel:b,photos:[a.getPhotoUrl()]}},S5b=function(a){var b=a.result();b=R5b(b,
!1);a=a.getDisplayNameWithOverrideApplied();return{label:Wr(a)||b.sublabel,sublabel:b.sublabel,name:a,photos:b.photos,hovercardId:b.hovercardId}},T5b=function(a){var b;switch(((b=a.statefulChipConfig)==null?void 0:b.chipState)||0){case 3:return"isError";default:return""}},U5b=function(a){var b;return((b=a.statefulChipConfig)==null?void 0:b.customChipClass)||""},W5b=function(a,b,c){var d=S5b(a),e=a.result().getPrimaryTarget();a=b.getWarnForExternalSelections()&&e.getOrgState()===2;e=b.getShouldDisplayExternalSelectionIcon()&&
a&&e.getDataSource()!==1?["https://www.gstatic.com/people/peoplekit/icons/light_theme/out_of_domain_yellow500.svg"]:d.photos;var f=T5b(c);c=U5b(c);return{id:Os(V5b),label:d.label,name:d.name,photos:e,hovercardId:d.hovercardId,stateClass:f,isWarning:a,isDeletionDisabled:!b.getAllowChipDeletion(),customChipClass:c}},Y5b=function(a,b,c,d){var e="",f=Wr(a.getDescription()),h=!1,k=a.getMemberList().length;if(k>1||a.getDisplayName())e=a.getMemberList().map(function(q){var u=q.getPrimaryTarget().getName(),
A="";if(u){if(b){var D;var H=(u=(H=q.getPrimaryTarget())==null?void 0:(D=H.getName())==null?void 0:D.getGivenName())?O5b(u,q.getMatchInfo().getGivenNameMatches()):""}else H=Wr(u.getGivenName());(A=H)||(A=b?P5b(q):Wr(q.getDisplayName()))}A||(A=b?Q5b(q):Wr(q.getDisplayValue()));return A}),c&&(e=e.reverse()),e=b?P5b(a)||e.join(", "):Wr(a.getDisplayName())||e.join(", "),f||d||a.getTotalMemberCount()===null||(f=Number(a.getTotalMemberCount()),f=X5b({memberCount:f}),h=!0);else if(k===1)return e=a.getMemberList()[0],
f=R5b(e,b),Object.assign({},f,{type:a.getPrimaryTarget().getTargetType(),flatResult:e,allowSublabelTranslation:!1});c=a.getPhotoUrl();c=a.getDisplayName()&&c?[c]:a.getMemberList().map(function(q){return q.getPhotoUrl()});return{hovercardId:"",label:e,sublabel:f,type:a.getPrimaryTarget().getTargetType(),photos:c,allowSublabelTranslation:h}},Qs=function(a){return new Ps(a)},Z5b=function(a,b,c){b=b.ownerDocument.createEvent(c);b.initEvent(a,!0,!0);return b},$5b=function(a,b){return Z5b(a,b,"CustomEvent")},
a6b=function(a){return a.resultType===4||a.resultType===5},e6b=function(a){Rs.addCoreFactory({type:0,configurationKey:a,factory:{create:function(b){var c=b.selection;var d=b.chipConfig;var e=b.chipCustomization,f=b.isRightToLeft;f=Y5b(c.result(),!1,f,!1);if(f.flatResult){var h=Object;c=h.assign;var k=f.flatResult,q=k.getPrimaryTarget(),u=d.getWarnForExternalSelections()&&q.getOrgState()===2;q=d.getShouldDisplayExternalSelectionIcon()&&u&&q.getDataSource()!==1?["https://www.gstatic.com/people/peoplekit/icons/light_theme/out_of_domain_yellow500.svg"]:
f.photos;var A=T5b(e);e=U5b(e);d={id:Os(V5b),label:f.label,name:k.getDisplayName(),photos:q,hovercardId:f.hovercardId,stateClass:A,isWarning:u,isDeletionDisabled:!d.getAllowChipDeletion(),customChipClass:e};d=c.call(h,{},d,{type:f.type})}else k=c.result().getPrimaryTarget(),c=d.getWarnForExternalSelections()&&k.getOrgState()===2,k=d.getShouldDisplayExternalSelectionIcon()&&c&&k.getDataSource()!==1?["https://www.gstatic.com/people/peoplekit/icons/light_theme/out_of_domain_yellow500.svg"]:f.photos,
d=Object.assign({},{id:Os(b6b),isDeletionDisabled:!d.getAllowChipDeletion(),stateClass:"",isWarning:c,name:f.label},f,{customChipClass:((h=e.statefulChipConfig)==null?void 0:h.customChipClass)||"",photos:k});f=Ls(c6b,d);Ns(Ms(f,"d6MZcd"),d.photos,b.avatarSize,b.resultListItemAvatarSize,b.appearanceConfig);b.parent.appendChild(f);return{chip:new d6b(f,b.selection,b.selectionsState),root:f,state:0}},shouldCreate:a6b}})},f6b=function(a){return 0===a.resultType},i6b=function(a){Rs.addCoreFactory({type:1,
configurationKey:a,factory:{create:function(b){var c=W5b(b.selection,b.chipConfig,b.chipCustomization);c=Ls(g6b,Object.assign({},c,{avatarSize:b.avatarSize}));b.parent.appendChild(c);return{chip:new h6b(c,b.selection,b.selectionsState),root:c,state:0}},shouldCreate:f6b}})},x6b=function(a,b,c,d,e){var f;if(f=c.offsetParent){var h=f.tagName=="HTML"||f.tagName=="BODY";if(!h||j6b(f)!="static"){var k=Ss(f);if(!h){h=Ts(f);var q;if(q=h){q=k6b&&naa(l6b,10)>=0;var u;if(u=m6b)u=naa(n6b,10)>=0;var A=o6b&&naa(l6b,
85)>=0;q=Dr||q||u||A}h=q?-f.scrollLeft:h&&Jr(f,"overflowX")!="visible"?f.scrollWidth-f.clientWidth-f.scrollLeft:f.scrollLeft;k=p6b(k,new Us(h,f.scrollTop))}}}f=k||new Us;k=q6b(a);(h=r6b(a))&&k.intersection(s6b(h));h=Nr(a);q=Nr(c);if(h.document_!=q.document_){h=h.document_.body;q=q.getWindow();u=new Us(0,0);A=Vs(Ws(h));if(t6b(A,"parent")){var D=h;do{if(A==q)var H=Ss(D);else H=u6b(D),H=new Us(H.left,H.top);u.x+=H.x;u.y+=H.y}while(A&&A!=q&&A!=A.parent&&(D=A.frameElement)&&(A=A.parent))}h=p6b(u,Ss(h));
k.left+=h.x;k.top+=h.y}a=v6b(a,b);b=k.left;a&4?b+=k.width:a&2&&(b+=k.width/2);b=new Us(b,k.top+(a&1?k.height:0));b=p6b(b,f);a=v6b(c,d);k=w6b(c);b=b.clone();k=k.clone();a!=0&&(a&4?b.x-=k.width:a&2&&(b.x-=k.width/2),a&1&&(b.y-=k.height));a=new Xs(0,0,0,0);a.left=b.x;a.top=b.y;a.width=k.width;a.height=k.height;c=r6b(c);c.top-=f.y;c.right-=f.x;c.bottom-=f.y;c.left-=f.x;a.left<c.left?a.left=c.left:a.left+a.width>c.right&&(a.left=c.right-a.width);e&&(e=a,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)),a=e);return a},y6b=function(a,b){Ys(a,new Us(b.left,b.top));b=b.getSize();var c=w6b(a);c==b||c&&b&&c.width==b.width&&c.height==b.height||(a=a.style,Dr?a.MozBoxSizing="border-box":Cr?a.WebkitBoxSizing="border-box":a.boxSizing="border-box",a.width=Math.max(b.width,0)+"px",a.height=Math.max(b.height,0)+"px")},z6b=function(a,b){return new Zs(a,b)},D6b=function(a,b,c){b=Ls(A6b,{label:c.label,id:b,ariaLabel:c.ariaLabel});a.appendChild(b);a=c.showDelayMs;
c=c.hideDelayMs;c=new B6b(b,a===void 0?500:a,c===void 0?300:c);return new C6b(b,c)},E6b=function(a){return!a.chipCustomization.statefulChipConfig||a.chipCustomization.statefulChipConfig.chipState===0||a.chipConfig.getWarnForExternalSelections()&&a.chipCustomization.statefulChipConfig.chipState!==3?!1:!0},F6b=function(a){Rs.addDecoratorFactory({type:0,factory:{create:function(b,c){return{chip:new $s(c.chip,b.chipCustomization.statefulChipConfig.tooltipLabel,b.chipCustomization.statefulChipConfig.ariaLabel),
root:c.root,state:b.chipCustomization.statefulChipConfig.chipState}},shouldCreate:E6b},configurationKey:a})},J6b=function(a,b,c){var d=Ls(G6b,{icon:c.icon,tooltipLabel:c.tooltipLabel,ariaLabel:c.ariaLabel});a.appendChild(d);a=d.classList;var e=a.add;a:{var f=c.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("Ff`"+f);}}e.call(a,f);if(c.tooltipLabel){var h=
d.getAttribute("data-tooltip-id")||"";h=D6b(b,h,{label:c.tooltipLabel,ariaLabel:c.ariaLabel});H6b(h,d)}return new I6b(d,c.icon,c.disabledIcon,h,c.disableDomNavigation,c.onClick)},at=function(a){var b=a.element,c=a.veid,d=a.actions,e=a.pairs;if(b){var f="";d&&d.length&&(f="; track:"+d.join(",").trim());d="";e&&e.length&&(d="; "+e.join("; ").trim());b.setAttribute("jslog",c+f+d);b.LSWHIf=void 0}a.mutable&&(b=a.element,c=b.getAttribute("jslog").concat("; mutable:true"),b.setAttribute("jslog",c));b=a.element;
a=a.componentId;a=b.getAttribute("jslog").concat("; cid:",a);b.setAttribute("jslog",a)},bt=function(a){return $5b("pcw-click",a)},L6b=function(a,b,c,d,e){var f=Object.assign({},c);f.onClick=function(h){d.select(a.getSelection(),1);var k;(k=c.onClick)==null||k.call(c,h)};return new K6b(a,b,f,e)},M6b=function(a){ct.addDecoratorFactory({type:1,factory:{create:function(b,c){return L6b(c,b.appearanceConfig,b.resultCustomizationConfig.secondaryActionButtonConfig,b.interactions,b.popupsContainer)},shouldCreate:function(b){return!!b.resultCustomizationConfig.secondaryActionButtonConfig}},
configurationKey:a})},N6b=function(a){a=y5b(a);i6b(a);F6b(a);e6b(a);M6b(a)},O6b=function(a,b,c){var d=Math.max(b,c);return a>Math.min(b,c)&&a<d},P6b=function(a,b,c){b=[b,c].map(function(d){return d!=null?d:""}).join(";");a.setAttribute("pkd-ac-state",String(md(b)))},Q6b=function(a,b){b=[String(b.getId()),b.getValue()].join(";");a.setAttribute("pkd-target",String(md(b)))},R6b=function(a,b){a.setAttribute("pkd-ps-state",String(md("1")));b.warmUpCache().then(function(){a.setAttribute("pkd-ps-state",
String(md("2")))},function(){a.setAttribute("pkd-ps-state",String(md("3")))})},U6b=function(a,b){S6b(T6b,b).create(a)},X6b=function(a){a=a===void 0?new V6b:a;return new W6b(a)},Z6b=function(a,b,c,d,e){var f=X6b(new V6b(function(){var k=e();k&&!k.hasFocus()&&k.getNavigatable().reset()})),h=new Y6b;U6b({injectableAutocompleteGrouping:h,injectableResultConfig:f,autocompleteConfig:a,clientConfig:b,peopleStore:c,searchSession:d,getAutocomplete:e},y5b(b));return{injectableResultConfig:f,injectableAutocompleteGrouping:h}},
c7b=function(a){var b=Ls($6b,{id:Os(a7b)});a.appendChild(b);return new b7b(b)},f7b=function(a){if(dt){var b=d7b(a);e7b(a,b)}else a.scrollIntoView({block:"nearest"})},h7b=function(a){return new g7b(a)},k7b=function(a,b){b=Ls(i7b,{label:b.label});a.appendChild(b);return new j7b(b)},m7b=function(a,b){for(var c=l(l7b.values()),d=c.next();!d.done;d=c.next())a.classList.remove(d.value);(b=l7b.get(b))&&a.classList.add(b)},o7b=function(a,b){for(var c=l(["peoplekitThemeLight","peoplekitThemeDark"]),d=c.next();!d.done;d=
c.next())a.classList.remove(d.value);(b=n7b.get(b))&&a.classList.add(b)},r7b=function(a,b,c,d){b=Ls(p7b,{content:b,header:d});a.appendChild(b);a=Ms(b,"Sx9Kwc");d=k7b(Ms(b,"IbE0S"),{label:"Close"});o7b(b,c.getTheme());m7b(a,c.getStyle());return new q7b(b,d)},w7b=function(a,b){var c=a.headerText,d=a.infoGroupConfig;a=a.collapsibleGroupConfig;if(c){var e=Os(et.getInstance());e=Ls(s7b,{id:e,header:c});c=new t7b(e,c);d&&(e={},d.infoType===1&&(e={infoIconVeId:185198,learnMoreLinkVeId:185199}),c=new u7b(c,
d,b,e));a&&(c=new ft(c,a.isInitiallyCollapsed));c.getActionItems().length>0&&(b=c,b.getRoot().setAttribute("role","group"),c=new v7b(b));return c}},y7b=function(){return new (Function.prototype.bind.apply(x7b,[null].concat(p(rd.apply(0,arguments)))))},z7b=function(a){var b,c;return(c=a==null?void 0:(b=a.collapsibleGroupConfig)==null?void 0:b.isDemoted)!=null?c:!1},B7b=function(){return new (Function.prototype.bind.apply(A7b,[null].concat(p(rd.apply(0,arguments)))))},C7b=function(a){return Object.values(a).filter(function(b){return b!=
null}).length},D7b=function(a){return Object.values(a.groupConfigs).every(function(b){return b&&C7b(b)!==0?b.headerText!=null&&C7b(b)===1:!0})},G7b=function(a,b,c,d,e,f){f?D7b(f)?f=B7b(a,b,c,d,e,f):(a.isInteractive!==!1&&(a.isInteractive=!1,a.isInteractive?(a.root.setAttribute("role","listbox"),a.root.setAttribute("aria-multiselectable","true")):(a.root.removeAttribute("role"),a.root.removeAttribute("aria-multiselectable"))),a=y7b(a,b,c,d,e,f),Object.values(f.groupConfigs).some(z7b)&&(a=new E7b(a,
f)),f=a):f=new F7b(a,b,c,e);return f},H7b=function(a){switch(a){case 0:return 40;case 1:return 32;case 2:return 28;default:throw Error("Ff`"+a);}},I7b=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";default:throw Error("Ff`"+a);}},ht=function(a){return a==null?"":typeof a==="number"?isFinite(a)?String(a):"":a&&(a=String(a),a.length<=254)?a:""},M7b=function(){var a=it("gapi.config.get");
if((a=ht(a&&a("googleapis.config/sessionIndex")))||(a=ht(da.__X_GOOG_AUTHUSER))||(a=ht(it("google.authuser"))))return a;var b=da.location.href||"",c=J7b.exec(b);try{a=ht(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;c=K7b.exec(b);try{a=ht(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;a=L7b.exec(b);return(a=ht(a&&a[1]))?a:""},N7b=function(){var a=it("gapi.auth.getToken");a=(a=a?a():null)&&a.access_token;var b=null;if(!a){a=(a=it("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}},P7b=function(a){a=a===void 0?"":a;var b;if(!(b=N7b())){b=a;var c=c===void 0?M7b():c;a={};var d=O7b([]);d&&(a.Authorization=d);b||(b=(b=it("gapi.config.get"))&&b("client/apiKey"));b&&(a["X-Goog-Api-Key"]=b);c&&(a["X-Goog-AuthUser"]=String(c));b=a}return b},Q7b=function(a,b){b=b===void 0?0:b;var c;if(c=b===0)c=(c=it("gapi.config.get"))?(c=c("oauth-flow/authUrl"))&&
(c.indexOf("staging")>0||c.indexOf("test")>0)?2:1:0,c=c===2;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=it("gapi.config.get"))&&b("client/rewrite"))&&b[a]&&(a=String(b[a]));return a},R7b=function(){var a=a===void 0?10:a;var b="";if(a<1)return b;for(;b.length<a;)b+=String(Math.random().toString(36).substring(2));return b.length>
a?b.substring(0,a):b},S7b=function(a){var b,c=(b=a.getClient())==null?void 0:b.getApplication();a=a.getRequestType();return c&&a?[c,a]:null},T7b=function(a){return(a=S7b(a))?JSON.stringify(a):null},U7b=function(a,b){b=b===void 0?null:b;b=a.getProfileId()||b;return b?(a=S7b(a))?JSON.stringify([a,b]):null:null},V7b=function(a){this.storage_=a;this.cachedIsStorageAvailable_=null},W7b=function(){var a=null;try{a=da.localStorage||null}catch(b){}V7b.call(this,a)},jt=function(a,b){this.mechanism_=a;this.prefix_=
b+"::"},Y7b=function(a){return X7b.map(function(b){return new jt(a,b)})},Z7b=function(a,b){window.setTimeout(a,b)},$7b=function(a,b){return new Promise(function(c){b>0?Z7b(function(){return c(a)},b):c(a)})},a8b=function(a){return new Promise(function(b,c){a>0?Z7b(function(){return c("TIMEOUT")},a):c("TIMEOUT")})},b8b=function(a,b,c){b=$7b(b,c);return Promise.race([a,b])},c8b=function(a,b){b=a8b(b);return Promise.race([a,b])},d8b=function(a){a=Math.round(a*1E3);return isFinite(a)?a:null},e8b=function(a){var b=
new kt;if(a instanceof lt)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.");break;case 7:b.setErrorMessage("Failed to load flags from server"),b.setStatusCode(a.statusCode)}else b.setErrorType(5),b.setErrorMessage(a.message);return b},
g8b=function(a){a=a===void 0?null:a;var b=(new f8b).setExperimentFlags(new mt).setSource(3);a&&b.setError(e8b(a));return b},q8b=function(a){var b=b===void 0?new W7b:b;if(h8b)return h8b;var c=new i8b(a),d=new j8b(a),e;k8b(b)?e=new l8b(a,b):e=new m8b(a);b=e;try{b.clean()}catch(f){}c=new n8b(new o8b(b,c),d,a.runtime_);return h8b=new p8b(a,c)},s8b=function(a){var b=a.resultCustomizationConfig,c=R5b(a.result,!0);a=r8b(a,c);c=a.sublabel;var d=a.allowSublabelTranslation;b.customSublabel&&(c=b.customSublabel.sublabel,
d=b.customSublabel.shouldAllowTranslation);return{id:a.id,hovercardId:a.hovercardId,label:a.label,sublabel:b.shouldHideSublabel?"":c,photos:a.photos,densityClass:a.densityClass,tags:a.tags,allowSublabelTranslation:d}},r8b=function(a,b){var c=a.result,d=a.resultConfig;a=I7b(a.appearanceConfig.getDensity());var e=[],f=t8b.getExperiments();De(f,3)&&d.getWarnForExternalSelections()&&c.getPrimaryTarget().getOrgState()===2&&e.push({iconUrl:"https://www.gstatic.com/people/peoplekit/icons/light_theme/domain_disabled_grey900.svg",
altText:"External",style:1});return{id:Os(u8b),hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,photos:b.photos,densityClass:a,tags:e,allowSublabelTranslation:!1}},w8b=function(a){var b=a.result,c=a.resultCustomizationConfig,d=a.appearanceConfig,e=a.isRightToLeft,f=De(a.clientConfig.internal,6);d=I7b(d.getDensity());b=Y5b(b,!0,e,f);if(b.flatResult)return d=Object.assign({},a,{result:b.flatResult}),d=r8b(d,b),a=d.sublabel,e=d.allowSublabelTranslation,c.customSublabel&&(a=c.customSublabel.sublabel,
e=c.customSublabel.shouldAllowTranslation),{id:d.id,hovercardId:d.hovercardId,label:d.label,sublabel:c.shouldHideSublabel?"":a,photos:d.photos,densityClass:d.densityClass,tags:d.tags,type:b.type,allowSublabelTranslation:e};a=b.sublabel;e=b.allowSublabelTranslation;c.customSublabel&&(a=c.customSublabel.sublabel,e=c.customSublabel.shouldAllowTranslation);return{id:Os(v8b),hovercardId:b.hovercardId,label:b.label,sublabel:c.shouldHideSublabel?"":a,type:b.type,photos:b.photos,densityClass:d,tags:[],allowSublabelTranslation:e}},
y8b=function(a,b,c){return Qq(new x8b(a===void 0?0:a,b!=null?b:[],c!=null?c:null))},nt=function(a){return(a||"").trim()},A8b=function(a,b,c,d){return new z8b(a,b===void 0?"":b,c===void 0?!1:c,d===void 0?null:d)},B8b=function(a){return a.resultCustomizationConfig.shouldDisable?2:a.selectionsState.get(a.result.getPrimaryTarget().getId())&&!a.resultConfig.getAllowResultDeselection()?1:0},D8b=function(a){return new C8b(a)},F8b=function(a,b,c,d){return new E8b(a,b===void 0?"":b,c===void 0?!1:c,d===void 0?
null:d)},G8b=function(a){var b=-1;(a=ot(a))&&Fe(a,2)&&(b=Pd(a,2));return"index:"+b},I8b=function(a,b,c,d,e,f,h,k,q){return new H8b(a,b,c,d,e,f,h,k,q)},K8b=function(){return new (Function.prototype.bind.apply(J8b,[null].concat(p(rd.apply(0,arguments)))))},pt=function(a){return a instanceof TypeError?4:3},L8b=function(){return"https://support.google.com/contacts/answer/7345608"},N8b=function(a){return M8b.some(function(b){return a instanceof b})},T8b=function(a,b,c,d,e,f,h,k,q,u,A,D){var H=d.getAutocompleteHeader(),
O=d.getAutocompleteCustomGrouping();if(k.internal.getEnableAutocompleteLegalese()){var P=d.getAutocompleteGroupingType()===4||d.getAutocompleteGroupingType()===5;var S=O&&N8b(O);P=P&&S?O:new O8b}else switch(d.getAutocompleteGroupingType()){case 1:P=new O8b;break;case 2:P=new P8b(d.getAutocompleteGroupingLabel());break;case 3:P=new Q8b(d.getAutocompleteGroupingLabel());break;case 4:case 5:P=O}O=d.getAutocompleteGroupingType();e=l(e.groupingDecorators);for(S=e.next();!S.done;S=e.next())S=S.value,P=
S(O,P);e=P;H=Ls(R8b,{header:H||""});a.appendChild(H);a=c7b(Ms(H,"tjneg"));b=K8b(a,f,h,d,k,b,c,q,u,A,e);return new S8b(b,c,D)},U8b=function(a){var b=za()&&a.event.keyCode===121&&a.event.shiftKey;b||(b=za()&&a.event.ctrlKey&&a.event.keyCode===13);b||(b=a.event.shiftKey&&a.event.ctrlKey&&a.event.keyCode===88);b||(b=za()&&a.event.metaKey&&a.event.shiftKey&&a.event.keyCode===220);b||(b=a.event.shiftKey&&a.event.ctrlKey&&a.event.keyCode===220);return b},V8b=function(a,b){return new qt(a,b)},W8b=function(a){return a.getAttribute("peoplekit-id")===
"XLuqBd"},Y8b=function(a,b){return new X8b(a,b)},Z8b=function(){return!1},$8b=function(){},b9b=function(){return new (Function.prototype.bind.apply(a9b,[null].concat(p(rd.apply(0,arguments)))))},e9b=function(a,b){b=Ls(c9b,b);a.appendChild(b);return new d9b},k9b=function(a,b,c,d,e,f,h,k,q,u,A){var D=Ls(f9b);at({element:D,veid:85843,actions:["impression"],componentId:"peoplekitweb"});m7b(D,h.getStyle());a.appendChild(D);a=Ms(D,"tjneg");var H=new g9b(D),O;A||(A=Z6b(h,k,u,c,function(){return O}));u=A;
d=T8b(a,d,e,h,u.injectableAutocompleteGrouping,h,u.injectableResultConfig,k,q,b,H,f);e=Ms(a,"rymPhb");b.setAttribute("aria-owns",e.id);b.setAttribute("aria-controls",e.id);e.setAttribute("aria-labelledby",b.id);q=h.getNoResultsMessage();e=Ls(h9b);q=q?q.display?new i9b(e,q):e9b(e,q):new j9b;D.appendChild(e);return O=b9b(D,b,d,c,f,h,q,k)},n9b=function(a,b,c,d,e,f,h,k,q,u){var A=Ls(l9b);m7b(A,h.getStyle());a.appendChild(A);var D;a=Z6b(h,k,u,c,function(){return D});c=k9b(A,b,c,d,e,f,h,k,q,u,a);return D=
new m9b(A,b,c,d,h)},p9b=function(a,b){return new o9b(a,b)},q9b=function(a){return a.map(function(b){return b.getLoggingToken()}).filter(Boolean)},rt=function(a){return a.filter(function(b){return!b.isPlaceholder()}).map(function(b){return b.selectionToken().getLoggingToken()}).filter(Boolean)},r9b=function(a,b,c){switch(b){case 1:a.reporter.reportProceed(rt(c));break;case 2:a.dismiss(c);break;case 3:a.save(c);break;case 4:a.send(c);break;case 5:a.reporter.reportSecondaryAction(rt(c))}},t9b=function(a,
b,c){return new s9b(a,b,c)},z9b=function(a,b){a=a.internal.getClearcut();b=new u9b(a,b);b=new v9b(w9b(b));a=a.getInterfaceType();return new x9b(new y9b(b,a))},A9b=function(a,b,c,d){var e;d=l(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;},B9b=function(a,b,c,d,e){e=l(e);for(var f=e.next();!f.done;f=e.next())f=f.value,f(a,b,c,d)},D9b=function(a){if(C9b.has(a))return C9b.get(a);throw Error("Tf`"+a);},F9b=function(a){if(E9b.has(a))return E9b.get(a);throw Error("Uf`"+
a);},G9b=function(a){for(var b=new Map,c=l(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,b.set(a[d].string,a[d].xid);return b},H9b=function(){this.nextPtr_=0;this.maxSize_=50;this.buff_=[]},J9b=function(a){return a?a.__owner?a.__owner:a.parentNode&&a.parentNode.nodeType===11?a.parentNode.host:I9b(a):null},K9b=function(a,b,c){for(c||(a=J9b(a));a&&!b(a);)a=J9b(a)},L9b=function(a){st.call(this);this.domHelper_=a||Nr();if(this.eventType_=this.getBrowserEventType_())this.eventKey_=tt(this.domHelper_.document_,
this.eventType_,ut(this.handleChange_,this))},S9b=function(a,b,c){var d=new vt,e=M7b();c=(new M9b).setClientId(b.getClientId()).setApplication(b.getSocialApplicationOrUndefined()).setEntryPoint(c).setVersionName("1.0").setBaselineCl(819825842);d=new N9b(d,1394,e,void 0,void 0,void 0,new O9b(c));d.setClientSideLogOnlyForDevelopment(!b.getEnableClearcut()||!1);b=P9b(new Q9b,t8b.getExperimentIds());d.clearcut_.setClearExperimentIds(b);d.setComponentID("peoplekitweb");d.clearcut_.setProductID(109303191);
return new R9b(a,d)},Z9b=function(a){var b=a.clientConfig,c=a.initializeIoC,d=b.internal;a=a.commonConfig.getEnvironmentConfig();var e=a.experimentsConfig_.getProfileId();if(e)if(d.getExperiments().getIsEnabled()){var f=T9b(U9b||(U9b=V9b('[null,null,null,null,null,null,null,"AIzaSyBAMHkvD9gqERVdYmGsYLnAtfzigZdAqJQ"]')));f=new W9b(f,7)}else f=new wt;else f=new wt;d=d.getExperiments();a=f.loadExperiments(d.getApplication(),(new X9b).setPeopleApiEnv(a.apiEnv_),e);t8b=new Y9b(d,a);c&&c(b)},a$b=function(a,
b,c,d,e,f){var h=c.beginSession(function(){},f.sessionOptions||new xt);return $9b(a,b,c,h,d,e,f)},$9b=function(a,b,c,d,e,f,h){Z9b({clientConfig:f,commonConfig:e,initializeIoC:N6b});f.internal.getClearcut().setInterfaceType(4);f.internal.getClearcut().setComponentFlow(7);var k=Ls(b$b,{classes:"aU4VQc"});a.appendChild(k);De(f.internal,14,!0)&&e.setStyle(1);o7b(k,e.getTheme());at({element:k,veid:64611,actions:["impression"],componentId:"peoplekitweb"});a=new yt;var q=t9b(d,a,e.getEntryPoint()),u=z9b(f,
e.getEntryPoint());b=n9b(k,b,d,a,q,u,e,f,new c$b(h.intelligence),c);R6b(b.getRoot(),c);c=S9b(k,f.internal.getClearcut(),e.getEntryPoint());c.start(d$b);return new e$b(k,b,a,q,c,e)},f$b=function(a){switch(a){case 0:return 28;case 1:return 24;case 2:return 20;default:throw Error("Ff`"+a);}},g$b=function(a){var b=Number("2"),c=Number("4");return f$b(a)+2*b+2*c},h$b=function(a){var b;return Object.freeze({id:"jCCvxc",iconUrl:(b=zt.get(a))==null?void 0:b.get("jCCvxc"),label:"Copy",keyboardShortcut:[512,
67],veid:108906})},i$b=function(a){var b;return Object.freeze({id:"UkZFS",iconUrl:(b=zt.get(a))==null?void 0:b.get("UkZFS"),label:"Cut",keyboardShortcut:[512,88],veid:119506})},j$b=function(a){var b;return Object.freeze({id:"YCRBfe",iconUrl:(b=zt.get(a))==null?void 0:b.get("YCRBfe"),label:"Change name",keyboardShortcut:[16,69],veid:120676})},k$b=function(a){var b;return Object.freeze({id:"l1309",iconUrl:(b=zt.get(a))==null?void 0:b.get("l1309"),label:"Change email address",keyboardShortcut:[16,70],
veid:135428})},l$b=function(a){var b=At?"Option":"Alt",c,d=Object,e=d.freeze;a=(c=zt.get(a))==null?void 0:c.get("xTCd3");return e.call(d,{id:"xTCd3",iconUrl:a,label:"More info",keyboardShortcut:[18,39],veid:119507,ariaLabel:"More info, "+b+" + right arrow key"})},m$b=function(a){return a.map(function(b){if(At)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)}})},
p$b=function(a,b){var c=Os(et.getInstance()),d=Object,e=d.assign;c=c+":"+a.id;var f=m$b(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("Ff`"+b);}d=Ls(n$b,e.call(d,{},a,{id:c,keyboardShortcut:f,densityClass:b}));a.veid&&at({element:d,veid:a.veid,actions:["impression","pcw-click"],componentId:"peoplekitweb"});return new o$b(d,
a)},s$b=function(a,b,c,d){var e=Ls(q$b);at({element:e,veid:28041,actions:["impression"],componentId:"peoplekitweb"});var f=new r$b(e);a.appendChild(e);return new Bt(e,b,c,f,d)},A$b=function(a,b){var c=a.getPrimaryTarget().getContactId(),d=a.getPrimaryTarget().getProfileId();if(c)return t$b(u$b(v$b(),w$b(c).setEdit(!0)));if(d)return t$b(x$b(v$b(),(new Ct).setObfuscatedGaiaId(d).setEdit(!0)));var e;c=((e=a.getPrimaryTarget().getName())==null?void 0:e.getGivenName())||b;var f;b=((f=a.getPrimaryTarget().getName())==
null?void 0:f.getFamilyName())||"";f=a.getTargetList().filter(function(h){return h.getTargetType()===1||h.getTargetType()===6}).map(function(h){return h.getDisplayValue()});a=a.getTargetList().filter(function(h){return h.getTargetType()===2||h.getTargetType()===7}).map(function(h){return h.getDisplayValue()});return t$b(y$b(new Dt,z$b((new Et).setGivenName(c).setFamilyName(b).setEmailList(f),a)))},B$b=function(a){return(a==null?0:Ft(a).isValid())?{isValid:!1,errorMessage:"Name can't be an email address"}:
{isValid:!0}},H$b=function(a,b,c,d){var e=S5b(b);var f=A$b(b.result(),b.getDisplayNameWithOverrideApplied());var h=e.hovercardId;var k=e.label;var q=e.sublabel;b=e.photos;e=e.name;var u=d.description;d='<div peoplekit-id="'+Gt("bN97Pc")+'"><div class="'+Gt("peoplekitComponentsNameeditdialogImplDescription")+'">';u?(d+=Ht(u)+" ",f='To edit this contact permanently, use <a href="'+(Gt(It(f))+'" target="_blank" class="'+Gt("peoplekitComponentsNameeditdialogImplGoogleContactsLink")+'">Google Contacts</a>.'),
d+=f):(f='Show a different name to recipients of this message. To edit this contact permanently, use <a href="'+(Gt(It(f))+'" target="_blank" class="'+Gt("peoplekitComponentsNameeditdialogImplGoogleContactsLink")+'">Google Contacts</a>.'),d+=f);d+='</div><div peoplekit-id="'+Gt("PN08Xe")+'"></div></div>';f=Jt(d);h=Kt(Lt(),'<div peoplekit-id="'+Gt("tJHJj")+'" class="'+Gt("peoplekitComponentsDialogImplAvatarHeader")+'" data-hovercard-id="'+Gt(h)+'" data-name="'+Gt(e)+'"><div class="'+Gt("peoplekitComponentsDialogImplHeaderRow")+
'"><div class="'+Gt("peoplekitComponentsDialogImplLeft")+'" aria-hidden="true">');d=Jt('<div class="'+Gt("peoplekitComponentsDialogImplAvatar")+'"><div class="'+Gt("peoplekitComponentsDialogImplAvatarContainer")+'" peoplekit-id="'+Gt("d6MZcd")+'"></div></div>');h=Kt(Mt(h,d),'</div><div class="'+Gt("peoplekitComponentsDialogImplCenter")+'">');k=Jt('<div class="'+Gt("peoplekitComponentsDialogImplLabelContainer")+'"><div peoplekit-id="'+Gt("E0kCZc")+'" class="'+Gt("peoplekitComponentsDialogImplLabel")+
" "+Gt("peoplekitComponentsDialogImplLabelRow")+'" translate="no">'+C$b(Nt(k))+"</div>"+(q?'<div class="'+Gt("peoplekitComponentsDialogImplSublabel")+" "+Gt("peoplekitComponentsDialogImplLabelRow")+'" translate="no">'+C$b(Nt(q))+"</div>":"")+"</div>");k=Kt(Mt(h,k),"</div></div></div>");k=Ls(p7b,{content:f,header:k,confirmAction:!0,labelId:void 0});a.appendChild(k);a=Ms(k,"Sx9Kwc");q=k7b(Ms(k,"IbE0S"),{label:"Cancel"});h=h={confirmButtonText:void 0};h=h.confirmButtonText;f="";switch(La(h)?h.toString():
h){case "Confirm":f+="Confirm";break;case "Hide":f+="Hide";break;case "Show":f+="Show";break;default:f+="Apply"}h=k7b(Ms(k,"McfNlf"),{label:f});o7b(k,c.getTheme());m7b(a,c.getStyle());h.getRoot();a=new D$b(k,q,h);k=Ms(a.getRoot(),"d6MZcd");Ns(k,b,36,36,c);c=Ms(a.getRoot(),"PN08Xe");b=Ls(E$b,{label:"Name",initialValue:e||"",id:Os(F$b)});c.appendChild(b);c=new Ot(b);return new G$b(a,c)},I$b=function(a,b,c,d,e,f,h,k,q,u){a={resultType:c.result().getResultType(),avatarSize:f$b(f.getDensity()),resultListItemAvatarSize:H7b(f.getDensity()),
parent:a,ariaParent:b,selection:c,selectionsState:d,actionRequestCallbacks:e,appearanceConfig:f,chipConfig:h,chipCustomization:q,isRightToLeft:u,clientConfig:k};k=y5b(k);return S6b(Rs,k).create(a)},J$b=function(a){return JSON.stringify(a.map(function(b){return{id:String(b.getId()),dn:b.getDisplayName()||void 0,fdn:b.getForceDisplayNameOverride()?"f":void 0}}))},M$b=function(a){return JSON.parse(a).map(function(b){var c=K$b(Pt(b.id));b.dn&&c.setDisplayName(b.dn);b.fdn&&L$b(c,!0);return c})},N$b=function(a){return L$b(K$b(a.id()).setDisplayName(a.getDisplayNameOverride()),
a.getForceDisplayNameOverride())},P$b=function(a,b,c,d,e,f,h,k,q,u){return new O$b(a,b,c,d,e,f,h,k,q,u)},S$b=function(a,b){var c=b.ownerDocument.defaultView.navigator;if(c.clipboard&&c.clipboard.writeText)c.clipboard.writeText(a);else if(c=b.ownerDocument,b=b.ownerDocument.defaultView,c.queryCommandSupported("copy"))try{var d=c.createElement("div");d.setAttribute("peoplekit-id","wbLqpc");d.textContent=a;a=d;var e,f=Q$b.height;if(!f){var h=R$b();f=h;if(a.style[h]===void 0){var k=ygb()+Fd(h);a.style[k]!==
void 0&&(f=k)}Q$b.height=f}(e=f)&&(a.style[e]=0);c.body.appendChild(d);var q=b.getSelection();q&&(q.selectAllChildren(d),c.execCommand("copy"))}finally{d&&c.body.removeChild(d)}},T$b=function(a,b){a=a.map(function(c){var d=c.result(),e=c.getDisplayNameWithOverrideApplied();switch(c.id().getType()){case 3:case 8:e=e||"Google User"}c=d.getDisplayValue();return new Qt(c,e)});S$b(a.join(", "),b)},V$b=function(a,b,c,d,e,f,h,k,q,u,A){a=new Rt(a,b,c,d,e,f,h,k,q,u,A);return new U$b(a,A)},Y$b=function(a,b,
c,d,e,f,h,k,q,u,A){var D=new r$b(a),H=new W$b({getPrevKeyCode:function(){return Ts(a)?39:37},getNextKeyCode:function(){return Ts(a)?37:39},navigatePastBegin:q.navigatePastBegin,navigatePastEnd:q.navigatePastEnd});e=V$b(b,c,D,d,e,f,h,k,{chipClick:function(O,P){return H.onClick(O,new St(P))},chipContextMenu:function(O,P){H.onContextMenu(new St(P))},chipDrop:q.chipDrop||function(){},chipEditContactMethod:q.chipEditContactMethod||function(){}},u,A);H.attach(a,e.getNavigatable());return new X$b(e,b,c,
d,u,A)},Z$b=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";default:throw Error("Ff`"+a);}},aac=function(a){a=a.replace(/\\"/g,"%%").matchAll($$b);return[].concat(p(a)).map(function(b){var c=b[0].replace(RegExp("%%","g"),'\\"');return{value:c,startIndex:b.index||0,length:c.length}})},bac=function(a,b){var c=aac(a);c=l(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,b<=d.startIndex+
d.length)return d;return{startIndex:0,length:a.length,value:a}},cac=function(a,b){return a.length!==b.length?!1:a.length===b.length&&a.every(function(c,d){return c.equals(b[d])})},iac=function(a,b,c,d,e,f,h,k,q){var u=new dac(c,new Tt(c,d,k,q),f),A=Ls(eac,{max_height:void 0});m7b(A,e.getStyle());a.appendChild(A);a=Ms(A,"kE8AEc");var D=Ls(fac,{multiSelectable:!0,orientation:"horizontal",isKeyboardFocusable:!1,ariaLabel:"Search Field"});a.appendChild(D);a=Ls(gac,{id:Os(hac),ariaLabel:"",helpText:e.helpText,
shouldAutofocus:e.shouldAutofocus,height:g$b(e.getDensity()),densityClass:Z$b(e.getDensity())});var H=Ms(a,"BbVjBd");D.appendChild(a);f=Y$b(D,c,u,d,h,e,e,f,{navigatePastEnd:function(){H.focus()},chipDrop:function(){H.focus()},chipEditContactMethod:function(O){H.value=O;O=H.dispatchEvent;var P=Z5b("input",H,"Event");O.call(H,P);H.focus()}},k,q);b=b(H);return new Ut(A,f,a,b,c,u,d,k,e,q)},mac=function(a,b,c,d,e,f){e.internal.getClearcut().setInterfaceType(4);e.internal.getClearcut().setComponentFlow(4);
d.setAllowContactMethodEditing(De(e.internal,5));var h=Ls(jac,{classes:"aU4VQc"});a.appendChild(h);De(e.internal,14,!0)&&d.setStyle(1);o7b(h,d.getTheme());at({element:h,veid:64611,actions:["impression"],componentId:"peoplekitweb"});R6b(h,b);var k=z9b(e,d.getEntryPoint()),q=new yt,u=t9b(c,q,d.getEntryPoint()),A=new c$b(f.intelligence);a=(new kac).setFilter(c.options_.getFilter()).setUseOriginalDisplayValue(d.getUseOriginalDisplayValue());a=iac(h,function(D){return n9b(h,D,c,q,u,k,d,e,A,b)},q,b,d,e,
A,a,k);f=S9b(h,e.internal.getClearcut(),d.getEntryPoint());f.start(d$b);return new lac(h,a,q,u,f)},oac=function(a,b,c,d,e){var f=b.beginSession(function(){},e.sessionOptions||new xt);return nac(a,b,f,c,d,e)},nac=function(a,b,c,d,e,f){Z9b({clientConfig:e,commonConfig:d,initializeIoC:N6b});return mac(a,b,c,d,e,f)},pac=function(a,b){return isFinite(a.fieldAffinity)?a.fieldAffinity:b&&Vt(a.id)&&a.id.getType()!==9?isFinite(a.itemAffinity)?a.itemAffinity:-Infinity:-Infinity},sac=function(a,b,c){if(Vt(a.id)||
Vt(b.id)){var d=qac.has(a.id.getType()),e=qac.has(b.id.getType());if(d!==e)return d?-1:1;if(Vt(a.id)&&Vt(b.id))return rac(a,b,c,!1)}d=pac(a,c);c=pac(b,c);(c=d!==c?d>c?-1:1:0)||(a=!!a.isPrimary,c=a!==!!b.isPrimary?a?-1:1:0);return c},rac=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?sac(a,b,c):0},uac=function(a){return a?tac.get(a)||0:0},yac=function(a){switch(a.getValueCase()){case 2:return Wt(a.getEmail().getValue()||
"");case 3:var b=a.getPhone();return b.getOriginalValue()&&b.getCanonicalValue()?(a=vac(b.getOriginalValue()||""),b=vac(b.getCanonicalValue()||""),!a.equals(b)&&a.getValue().startsWith(b.getValue())?a:b):vac(b.getCanonicalValue()||b.getDisplayValue()||b.getOriginalValue()||"");case 4:a=Zk(a,wac,4,Xt);if(a.hasProfileId())return a=a.getProfileId()||"",new Yt(8,Pq(a).toLowerCase(),a);switch(al(a,Zt)){case 2:return a=a.getEmail()||"",new Yt(6,Pq(a).toLowerCase(),a);case 3:return xac(a.getPhone()||"")}}return $t},
Cac=function(a){return ie(a,zac,5,Rd()).map(function(b){switch(b.getIdCase()){case 1:return Aac(b.getProfileId()||"");case 2:return Bac(b.getContactId()||"");default:return null}}).filter(Boolean)},Dac=function(a,b){return Me(a,au,3)&&r(a,au,3).getIsPlaceholder()?3:bu(b,8)?1:0},Eac=function(a){return a&&a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},Fac=function(a){return a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},Gac=function(a){return!!a&&
!!bu(a,4)},Iac=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"+Hac(a):""},Mac=function(a){var b=void 0;if(r(a,au,3)){var c;b=(c=b)!=null?c:new cu;du(b,Jac,r(a,au,3))}if(r(a,Kac,5)){var d;b=(d=b)!=null?d:new cu;du(b,Lac,r(a,Kac,5))}return b},Pac=function(a){var b=
void 0;if(r(a,Nac,9)){var c;b=(c=b)!=null?c:new cu;du(b,Oac,r(a,Nac,9))}return b},Rac=function(a){var b=new eu,c=a?2:1;Qac(b.setEventType(4),c).setToken(a);return b},Tac=function(a,b){var c=new fu;c=(new eu).setLookupInfo(c);gu(c.setEventType(6),9).setItemCount(a.length).setQueryScope(Sac.get(b)||0);return c},Uac=function(){var a=new eu;gu(a.setEventType(6),10);return a},Vac=function(){var a=new eu;gu(a.setEventType(6),2);return a},Wac=function(){var a=new eu;gu(a.setEventType(6),13);return a},Xac=
function(a,b){var c=new eu;gu(c.setEventType(6),6).setQueryLength(a.length).setQueryScope(Sac.get(b)||0);return c},Yac=function(a){var b=new eu;gu(b.setEventType(6),5).setQueryScope(Sac.get(a)||0);return b},Zac=function(a,b){switch(a){case 8:case 3:case 17:return(new hu).setProfileId(b);case 1:case 6:return(new hu).setEmail(b);case 7:case 2:return(new hu).setPhone(b);case 13:case 14:return a=new hu,fl(a,4,iu,b);case 4:case 9:return(new hu).setContactId(b);default:return null}},bbc=function(a){return((a=
ie(a,$ac,2,Rd()).find(function(b){return ju(b,1)===1}))?abc.get(ju(a,2)):0)||0},ku=function(a){return(a||"").trim()},gbc=function(a,b){if(b.hasAffinity()){var c=a.setFieldLoggingId;var d=b.getAffinity();d=Lda(Ke(d,1,void 0,lu,qc));c.call(a,cbc(ku(d)))}if(b.hasName()){var e=b.getName();c=a.setName;d=(new dbc).setDisplayName(e.getValue()).setGivenName(e.getGivenName()).setFamilyName(e.getFamilyName());var f=d.setSourceType;a:switch(e.getSourceType()){case 1:e=3;break a;case 2:e=4;break a;default:e=
0}c.call(a,f.call(d,e))}b.hasPhoto()&&(b=b.getPhoto(),a.setPhoto((new ebc).setUrl(b.getUrl()).setGlyph(b.getGlyph()).setType(fbc.get(b.getType())||0)))},ibc=function(a,b){if(b.hasProfileId())switch(al(b,Zt)){case 2:var c=ku(b.getEmail());return hbc(mu(a.id).setValue(ku(b.getProfileId())),(new nu).setType(1).setValue(c));case 3:return c=ku(b.getPhone()),hbc(mu(a.id).setValue(ku(b.getProfileId())),(new nu).setType(2).setValue(c));default:return b=ku(b.getProfileId()),mu(a.id).setValue(b)}switch(al(b,
Zt)){case 2:return b=ku(b.getEmail()),hbc(mu(a.id).setValue(b),(new nu).setType(1).setValue(b));case 3:return b=ku(b.getPhone()),hbc(mu(a.id).setValue(b),(new nu).setType(2).setValue(b));default:return b=ku(b.getProfileId()),mu(a.id).setValue(b)}},lbc=function(a,b){var c=mu(a.id).setIsMe(!!a.isMe);a.containerIds&&(c.sourceIds_=a.containerIds||[]);b&&gbc(c,b);a.group&&((b=ie(a.group,jbc,6,Rd()).find(function(d){return fp(d,1,kbc)!=null}))?c.setValue(ku(ou(b,1,kbc))):a.group.hasGroupId()&&c.setValue(ku(a.group.getGroupId())));
a.targetExtendedData&&c.setExtendedData(a.targetExtendedData);a.target=c},obc=function(a){return function c(){var d,e;return mbc(c,function(f){switch(f.nextAddress){case 1:gi(f,2),d=0;case 4:if(!(d<a)){f.jumpTo(2);break}e=nbc;return w(f,d,7);case 7:e(f.yieldResult);d++;f.jumpTo(4);break;case 2:fi(f),hi(f,0)}})}()},qbc=function(a){return new pbc(a)},tbc=function(a){if(a.getTargetType()===8){var b=a.getOriginatingField();if(b&&(b=b.getType(),b=rbc.get(b)))return b}return(b=sbc.get(a.getTargetType()))?
b:Vt(a.getId())?8:0},vbc=function(a,b,c){var d=new pu,e=new qu;t(d,qu,2,e);e.setProvenance(b);b=new ru;t(d,ru,1,b);hf(b,9,c===1);b.setProfileId(a.getProfileId()||null);b.setContactId(a.getContactId()||null);c=tbc(a)===8?8:a.getProfileId()?3:4;mf(b,8,c);c=null;a.getTargetType()===8&&(e=a.getOriginatingField())&&rbc.has(e.getType())&&(c=e.getValue());c||(c=a.getValue());c&&b.setFieldValue(c);Vt(a.getId())||b.setName(a.getName()?a.getName().getDisplayName():null);c=tbc(a);mf(b,7,c);b.setFieldLoggingId(a.getFieldLoggingId()||
null);b.setPersonLoggingId(a.getPersonLoggingId()||null);b.setIsPlaceholder(a.getDataSource()===3);$l(b,7)===8&&b.setGroupId(a.getId().getValue());return new ubc(a,d)},xbc=function(a){a=wbc.indexOf(a.provenance);return a<0?wbc.length:a},ybc=function(a){return a.containerIds&&a.containerIds.some(function(b){return b.getType()===3})},zbc=function(a){var b;return(new Set(((b=a.containerIds)!=null?b:[]).map(String))).size},Bbc=function(a,b){b.getUseOriginalDisplayValue()&&(a=new Map(Array.from(a,function(c){var d=
l(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=mYa(d,new Abc(f,e))}return[c,d]})));return a},Ebc=function(a){return De(a,21)?new Cbc:Dbc},Fbc=function(a){return a!==0&&a!==12},Hbc=function(a){var b=[],c=a.indexOf("@");if(c>=0&&a.length-c>1){var d=a.substring(c);b.push(d);c===0&&d.indexOf(".")<0&&Gbc(b,d.substring(c+
1));a=a.substring(0,c+1)}if(a==="@")return b;Gbc(b,a);return b},Gbc=function(a,b){a.push(b);var c=b.length+1;Ibc.lastIndex=0;for(var d=Ibc.exec(b);d&&d.index<c;d=Ibc.exec(b))a.push(b.substring(Number(Ibc.lastIndex)))},su=function(a){a=Jbc(a);for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);if(e<192||e>382)e=null;else{var f=Kbc[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))}b.length>0&&(b.push(a.substr(c)),a=b.join(""));return a.replace(Lbc,"").toUpperCase().toLowerCase()},Nbc=function(a){a=Array.from(a).flatMap(function(f){return(f||"").split(Mbc)}).filter(Boolean);if(!a.length)return a;var b=new Set;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=su(c.value);c=l(Hbc(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})},Obc=function(a){return a.substring(a.indexOf("@")+1)},Pbc=function(a){return a.substring(0,a.indexOf("@")+1)},Sbc=function(a,b){a=a.match(Qbc);b=Wt(b);return a&&a.length&&(a=a[0]||"")&&!b.equals(Wt(a.replace(Rbc,"")))?!0:!1},Tbc=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()||e.getCode()!==0)c++,b(d)}}},Xbc=function(a,
b,c,d){b=Ubc(a,b).map(function(e){var f=l(e);e=f.next().value;f=f.next().value;return new Vbc(e,f)});c=Ubc(a,c).map(function(e){var f=l(e);e=f.next().value;f=f.next().value;return new Vbc(e,f)});a=Ubc(a,d).map(function(e){var f=l(e);e=f.next().value;f=f.next().value;return new Vbc(e,f)});return new Wbc(b,c,a)},Ybc=function(a){switch(a.getType()){case 1:case 6:return 1;case 2:case 7:return 2;case 17:case 3:case 8:case 5:return 3;case 13:case 14:return 13;case 4:case 9:return 4;default:return 0}},Zbc=
function(a){return a.reduce(function(b,c){var d=Ybc(c);if(b.has(d)){var e;(e=b.get(d))==null||e.push(c)}else b.set(d,[c]);return b},new Map)},$bc=function(a,b){b=b===void 0?new tu:b;var c=new Map;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;for(var e=l(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}},bcc=function(a,b){return!a||a instanceof acc?a:new acc(a,b)},dcc=function(a){var b=new ccc,c=b.setQueryId(qe(Ob(Ke(a,3)))).setSelectionId(qe(Ob(Ke(a,
4)))),d=qe(Ob(Ke(a,5)));Ze(c,3,d).setInstanceId(a.getInstanceIdOrUndefined()).setAffinityVersion(a.getAffinityVersionOrUndefined());return b},fcc=function(a){var b=new ecc,c;if(a=(c=r(a,uu,18))==null?void 0:c.getSessionState())c=dcc(a),t(b,ccc,2,c);return b},hcc=function(a){return gcc.get(a)||0},kcc=function(a,b){var c=icc(jcc("PeopleStore").setLogSource(Zd(a,4,574)).setApplication(a.getSocialApplication()).setEnvironment(b.getPeopleApiEnv()).setVersion("1004").setBaselineCl(819825842).setEnableClearcut(a.getEnableClearcut()),
[].concat(p(b.getExperiments().getExperimentIdsList()),p(vu?vu.getExperimentIds():[]))).setClientAgent(2);b.getClearcutUrl()&&c.setClearcutUrl(b.getClearcutUrl());if(a=ie(a,wu,5,Rd()).find(function(d){return d.getEntryPoint()===0}))c.setEventSource($l(a,4)),c.setEventSourceId($l(a,4));return c},mcc=function(a,b){return new lcc(a,b)},ncc=function(a){Me(a,xu,12)?(a=r(a,xu,12),a=r(a,wu,2)):a=r(a,wu,10);return a||new wu},occ=function(a){Me(a,xu,12)?(a=r(a,xu,12),a=r(a,wu,3)):a=r(a,wu,10);return a||new wu},
pcc=function(a){return a.filter(function(b){var c,d=(c=ot(b))==null?void 0:Zd(c,4),e;return((e=r(b,ru,1))==null?void 0:Zd(e,8))!==3||d!==2&&d!==1?!0:!1})},rcc=function(a){return a.filter(function(b){var c;return(b=(c=r(b,ru,1))==null?void 0:c.getFieldType())&&qcc.has(b)?!1:!0})},scc=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)},tcc=function(a){if(!a.hasSessionState())return"";a=a.getSessionState();return Re(a,3)+":"+Re(a,4)+":"+Re(a,
5)+":"+a.getInstanceId()},ucc=function(a){return Me(a,qu,2)?ot(a).getContext()||0:0},vcc=function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getSessionState();d=d?Re(d,3)+"-"+Re(d,4)+"-"+Re(d,5)+"-"+d.getInstanceId():"";b.has(d)?b.get(d).push(c):b.set(d,[c])}return Array.from(b.values())},yu=function(a,b,c,d){d=d===void 0?!1:d;a=a.filter(function(h){return!De(h,4)});if(d){d=l(a);for(var e=d.next();!e.done;e=d.next())hf(e.value,4,!0)}if(c)for(d=a.filter(function(h){return h&&
!h.hasSessionState()}),d=l(d),e=d.next();!e.done;e=d.next())e.value.setSessionState(c.clone());a=vcc(a);c=[];a=l(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 wcc;f.setSessionState(e);f.setEventType(b);Ol(f,3,d);f.setEventSources(r(e,wu,10));c.push(f)}return c},xcc=function(a){var b;a=a.getMetadata();a.hasCacheState()&&(a=a.getCacheState(),a.hasSource()&&(b=a.getSource()));return b||new zu},Bcc=function(a,b,
c){var d=ycc(b.getTargetType(),b.getValue()),e=[],f=e.concat;var h=Qd(b,5,Rd());h=p(h.map(Aac));var k=p(Qd(b,6,Rd()).map(Bac));var q=Qd(b,13,Rd());e=f.call(e,h,k,p(q.map(zcc)));Acc.includes(d.getType())&&e.push(d);return{id:d,containerIds:e,dataSource:Qd(b,6,Rd()).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}},Ccc=function(a){return(a||"").trim()},Fcc=function(a){var b=a.resultData,c=a.targetData,d=mu(a.id).setDataSource(a.dataSource||0).setIsMe(!!a.isMe);a.containerIds&&(d.sourceIds_=a.containerIds||[]);He(b,1)&&d.setResultType(b.getResultType());c.hasValue()&&d.setValue(Ccc(c.getValue()));c.hasCanonicalValue()&&d.setCanonicalValue(Ccc(c.getCanonicalValue()));c.hasDescription()&&d.setDescription(c.getDescription());if(c.hasName()){var e=c.getName();
d.setName((new dbc).setDisplayName(e.getDisplayName()).setGivenName(e.getGivenName()).setFamilyName(e.getFamilyName()).setSourceType(e.getSourceType()))}c.hasPhoto()&&(e=c.getPhoto(),d.setPhoto((new ebc).setUrl(e.getUrl()).setType(e.getType()).setSourceType(e.getSourceType()).setGlyph(e.getGlyph())));if(Fe(b,4)){var f;a.totalMemberCount=(f=b.getTotalMemberCount())!=null?f:void 0}b.hasAffinity()&&d.setPersonLoggingId(b.getAffinity().getLoggingId()||"");c.hasAffinity()&&d.setFieldLoggingId(c.getAffinity().getLoggingId()||
"");He(c,10)&&d.setOrgState(c.getOrgState());c.hasDataSource()&&d.setDataSource(c.getDataSource());c.getTagList().length&&d.setTagList(c.getTagList().map(function(h){return(new Au).setAltText(h.getAltText()).setIconUrl(h.getIconUrl())}));c.hasExtendedData()&&d.setExtendedData(c.getExtendedData());Me(c,Bu,9)&&(a=c.getEmailSecurityInfo(),d.setEmailSecurityInfo(Dcc(a.getCertificateStatus(),pe(a.getCertificateExpirySec()),a.getEncryptionSupport()==4||a.getEncryptionSupport()==2)));Me(c,Cu,17)&&(c=c.getReachabilityInfo(),
d.setReachabilityInfo(new Ecc(c.getReachabilityStatus(),c.getClientData())));return d},Hcc=function(a){a.cacheConfigurators_.push(new Gcc);return a},Icc=function(){var a=window.gapi;if(!a)return Promise.reject(Error("cg"));if(a.client&&a.client.load)return Promise.resolve(a);me("loading gapi client");return new Promise(function(b,c){a.load("client",{callback:function(){me("gapi client has finished loading");b(a)},onerror:c})})},Jcc=function(a,b){var c={};return qd("a",(c.href=b,c.target="_blank",
c.rel="noopener noreferrer nofollow",c),a)},Mcc=function(){return x(Ks).getEnvironmentType()==="QA"?Kcc:Lcc},Pcc=function(){return x(Ks).getEnvironmentType()==="QA"?Ncc:Occ},Scc=function(){return x(Ks).getEnvironmentType()==="QA"?Qcc:Rcc},Tcc=typeof Object.create=="function"?Object.create:function(a){var b=function(){};b.prototype=a;return new b},Ucc=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},
Vcc=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");},pg=Vcc(this),Wcc="Int8 Uint8 Uint8Clamped Int16 Uint16 Int32 Uint32 Float32 Float64".split(" ");pg.BigInt64Array&&(Wcc.push("BigInt64"),Wcc.push("BigUint64"));
var Ycc=function(a,b){if(b)for(var c=0;c<Wcc.length;c++)Xcc(Wcc[c]+"Array.prototype."+a,b)},Du=function(a,b){b&&Xcc(a,b)},Xcc=function(a,b){var c=pg;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))return;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&b!=null&&Ucc(c,a,{configurable:!0,writable:!0,value:b})},Zcc=function(){function a(){function c(){}new c;Reflect.construct(c,[],function(){});return new c instanceof c}if(typeof Reflect!="undefined"&&Reflect.construct){if(a())return Reflect.construct;
var b=Reflect.construct;return function(c,d,e){c=b(c,d);e&&Reflect.setPrototypeOf(c,e.prototype);return c}}return function(c,d,e){e===void 0&&(e=c);e=Tcc(e.prototype||Object.prototype);return Function.prototype.apply.call(c,e,d)||e}}(),$cc;if(typeof Object.setPrototypeOf=="function")$cc=Object.setPrototypeOf;else{var adc;a:{var bdc={a:!0},cdc={};try{cdc.__proto__=bdc;adc=cdc.a;break a}catch(a){}adc=!1}$cc=adc?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError("b`"+a);return a}:null}
var Eu=$cc,Y=function(a,b){a.prototype=Tcc(b.prototype);a.prototype.constructor=a;if(Eu)Eu(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.superClass_=b.prototype},ddc=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},l=function(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:ddc(a)};
throw Error("c`"+String(a));},rta=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c},p=function(a){return a instanceof Array?a:rta(l(a))},Fu=function(a){return edc(a,a)},edc=function(a,b){a.raw=b;Object.freeze&&(Object.freeze(a),Object.freeze(b));return a},Gu=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},fdc=typeof Object.assign=="function"?Object.assign:function(a,b){if(a==null)throw new TypeError("d");a=Object(a);for(var c=1;c<arguments.length;c++){var d=
arguments[c];if(d)for(var e in d)Gu(d,e)&&(a[e]=d[e])}return a};Du("Object.assign",function(a){return a||fdc});var Hu=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};Hu.prototype.start_=function(){if(this.isRunning_)throw new TypeError("f");this.isRunning_=!0};Hu.prototype.next_=function(a){this.yieldResult=a};
Hu.prototype.throw_=function(a){this.abruptCompletion_={exception:a,isException:!0};this.nextAddress=this.catchAddress_||this.finallyAddress_};Hu.prototype.return=function(a){this.abruptCompletion_={return:a};this.nextAddress=this.finallyAddress_};var w=function(a,b,c){a.nextAddress=c;return{value:b}};Hu.prototype.jumpTo=function(a){this.nextAddress=a};
var ji=function(a){a.nextAddress=0},ei=function(a,b,c){a.catchAddress_=b;c!=void 0&&(a.finallyAddress_=c)},gi=function(a,b){a.catchAddress_=0;a.finallyAddress_=b||0},Iu=function(a,b){a.nextAddress=b;a.catchAddress_=0},ii=function(a){a.catchAddress_=0;var b=a.abruptCompletion_.exception;a.abruptCompletion_=null;return b},fi=function(a,b,c,d){d?a.finallyContexts_[d]=a.abruptCompletion_:a.finallyContexts_=[a.abruptCompletion_];a.catchAddress_=b||0;a.finallyAddress_=c||0},hi=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_:c.jumpTo!=void 0&&a.finallyAddress_<c.jumpTo?(a.nextAddress=c.jumpTo,a.abruptCompletion_=null):a.nextAddress=a.finallyAddress_:a.nextAddress=b},gdc=function(a){this.context_=new Hu;this.program_=a};
gdc.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return hdc(this,this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return idc(this)};var jdc=function(a,b){a.context_.start_();var c=a.context_.yieldAllIterator_;if(c)return hdc(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.context_.return);a.context_.return(b);return idc(a)};
gdc.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return hdc(this,this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return idc(this)};
var hdc=function(a,b,c,d){try{var e=b.call(a.context_.yieldAllIterator_,c);if(!(e instanceof Object))throw new TypeError("e`"+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),idc(a)}a.context_.yieldAllIterator_=null;d.call(a.context_,f);return idc(a)},idc=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}},kdc=function(a){this.next=function(b){return a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b){return jdc(a,b)};this[Symbol.iterator]=function(){return this}},mbc=function(a,b){b=new kdc(new gdc(b));Eu&&a.prototype&&Eu(b,a.prototype);
return b},ldc=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())})},v=function(a){return ldc(new kdc(new gdc(a)))};
Du("Symbol",function(a){if(a)return a;var b=function(f,h){this.$jscomp$symbol$id_=f;Ucc(this,"description",{configurable:!0,writable:!0,value:h})};b.prototype.toString=function(){return this.$jscomp$symbol$id_};var c="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("g");return new b(c+(f||"")+"_"+d++,f)};return e});
Du("Symbol.iterator",function(a){if(a)return a;a=Symbol("h");Ucc(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return mdc(ddc(this))}});return a});Du("Symbol.asyncIterator",function(a){return a?a:Symbol("i")});Du("Symbol.toStringTag",function(a){return a?a:Symbol("j")});
var mdc=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},zma=function(a){this[Symbol.asyncIterator]=function(){return this};this[Symbol.iterator]=function(){return a};this.next=function(b){return Promise.resolve(a.next(b))};this["throw"]=function(b){return new Promise(function(c,d){var e=a["throw"];e!==void 0?c(e.call(a,b)):(c=a["return"],c!==void 0&&c.call(a),d(new TypeError("k")))})};a["return"]!==void 0&&(this["return"]=function(b){return Promise.resolve(a["return"](b))})},
rd=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b},nbc=function(a){return a};Du("globalThis",function(a){return a||pg});Du("Reflect",function(a){return a?a:{}});Du("Reflect.construct",function(){return Zcc});Du("Reflect.setPrototypeOf",function(a){return a?a:Eu?function(b,c){try{return Eu(b,c),!0}catch(d){return!1}}:null});
Du("Promise",function(a){function b(){this.batch_=null}function c(h){return h instanceof e?h:new e(function(k){k(h)})}if(a)return a;b.prototype.asyncExecute=function(h){if(this.batch_==null){this.batch_=[];var k=this;this.asyncExecuteFunction(function(){k.executeBatch_()})}this.batch_.push(h)};var d=pg.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 k=0;k<h.length;++k){var q=
h[k];h[k]=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 k=this.createResolveAndReject_();try{h(k.resolve,k.reject)}catch(q){k.reject(q)}};e.prototype.createResolveAndReject_=function(){function h(u){return function(A){q||(q=!0,u.call(k,A))}}var k=this,q=!1;return{resolve:h(this.resolveTo_),
reject:h(this.reject_)}};e.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("l"));else if(h instanceof e)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var k=h!=null;break a;case "function":k=!0;break a;default:k=!1}k?this.resolveToNonPromiseObj_(h):this.fulfill_(h)}};e.prototype.resolveToNonPromiseObj_=function(h){var k=void 0;try{k=h.then}catch(q){this.reject_(q);return}typeof k=="function"?this.settleSameAsThenable_(k,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,k){if(this.state_!=0)throw Error("m`"+h+"`"+k+"`"+this.state_);this.state_=h;this.result_=k;this.state_===2&&this.scheduleUnhandledRejectionCheck_();this.executeOnSettledCallbacks_()};e.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;d(function(){if(h.notifyUnhandledRejection_()){var k=pg.console;typeof k!=="undefined"&&k.error(h.result_)}},1)};e.prototype.notifyUnhandledRejection_=
function(){if(this.isRejectionHandled_)return!1;var h=pg.CustomEvent,k=pg.Event,q=pg.dispatchEvent;if(typeof q==="undefined")return!0;typeof h==="function"?h=new h("unhandledrejection",{cancelable:!0}):typeof k==="function"?h=new k("unhandledrejection",{cancelable:!0}):(h=pg.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.result_;return q(h)};e.prototype.executeOnSettledCallbacks_=function(){if(this.onSettledCallbacks_!=null){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 k=this.createResolveAndReject_();h.callWhenSettled_(k.resolve,k.reject)};e.prototype.settleSameAsThenable_=function(h,k){var q=this.createResolveAndReject_();try{h.call(k,q.resolve,q.reject)}catch(u){q.reject(u)}};e.prototype.then=function(h,k){function q(H,O){return typeof H=="function"?function(P){try{u(H(P))}catch(S){A(S)}}:
O}var u,A,D=new e(function(H,O){u=H;A=O});this.callWhenSettled_(q(h,u),q(k,A));return D};e.prototype.catch=function(h){return this.then(void 0,h)};e.prototype.callWhenSettled_=function(h,k){function q(){switch(u.state_){case 1:h(u.result_);break;case 2:k(u.result_);break;default:throw Error("n`"+u.state_);}}var u=this;this.onSettledCallbacks_==null?f.asyncExecute(q):this.onSettledCallbacks_.push(q);this.isRejectionHandled_=!0};e.resolve=c;e.reject=function(h){return new e(function(k,q){q(h)})};e.race=
function(h){return new e(function(k,q){for(var u=l(h),A=u.next();!A.done;A=u.next())c(A.value).callWhenSettled_(k,q)})};e.all=function(h){var k=l(h),q=k.next();return q.done?c([]):new e(function(u,A){function D(P){return function(S){H[P]=S;O--;O==0&&u(H)}}var H=[],O=0;do H.push(void 0),O++,c(q.value).callWhenSettled_(D(H.length-1),A),q=k.next();while(!q.done)})};return e});var Ju=function(a,b,c){if(a==null)throw new TypeError("o`"+c);if(b instanceof RegExp)throw new TypeError("p`"+c);return a+""};
Du("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Ju(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}});Du("Object.setPrototypeOf",function(a){return a||Eu});Du("Symbol.dispose",function(a){return a?a:Symbol("q")});var ndc=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}};
Du("Array.prototype.find",function(a){return a?a:function(b,c){return ndc(this,b,c).v}});
Du("WeakMap",function(a){function b(){}function c(q){var u=typeof q;return u==="object"&&q!==null||u==="function"}function d(q){if(!Gu(q,f)){var u=new b;Ucc(q,f,{value:u})}}function e(q){var u=Object[q];u&&(Object[q]=function(A){if(A instanceof b)return A;Object.isExtensible(A)&&d(A);return u(A)})}if(function(){if(!a||!Object.seal)return!1;try{var q=Object.seal({}),u=Object.seal({}),A=new a([[q,2],[u,3]]);if(A.get(q)!=2||A.get(u)!=3)return!1;A.delete(q);A.set(u,4);return!A.has(q)&&A.get(u)==4}catch(D){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var h=0,k=function(q){this.id_=(h+=Math.random()+1).toString();if(q){q=l(q);for(var u;!(u=q.next()).done;)u=u.value,this.set(u[0],u[1])}};k.prototype.set=function(q,u){if(!c(q))throw Error("r");d(q);if(!Gu(q,f))throw Error("s`"+q);q[f][this.id_]=u;return this};k.prototype.get=function(q){return c(q)&&Gu(q,f)?q[f][this.id_]:void 0};k.prototype.has=function(q){return c(q)&&Gu(q,f)&&Gu(q[f],this.id_)};k.prototype.delete=
function(q){return c(q)&&Gu(q,f)&&Gu(q[f],this.id_)?delete q[f][this.id_]:!1};return k});
Du("Map",function(a){if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var k=Object.seal({x:4}),q=new a(l([[k,"s"]]));if(q.get(k)!="s"||q.size!=1||q.get({x:4})||q.set({x:4},"t")!=q||q.size!=2)return!1;var u=q.entries(),A=u.next();if(A.done||A.value[0]!=k||A.value[1]!="s")return!1;A=u.next();return A.done||A.value[0].x!=4||A.value[1]!="t"||!u.next().done?!1:!0}catch(D){return!1}}())return a;var b=new WeakMap,c=function(k){this[0]={};this[1]=
f();this.size=0;if(k){k=l(k);for(var q;!(q=k.next()).done;)q=q.value,this.set(q[0],q[1])}};c.prototype.set=function(k,q){k=k===0?0:k;var u=d(this,k);u.list||(u.list=this[0][u.id]=[]);u.entry?u.entry.value=q:(u.entry={next:this[1],previous:this[1].previous,head:this[1],key:k,value:q},u.list.push(u.entry),this[1].previous.next=u.entry,this[1].previous=u.entry,this.size++);return this};c.prototype.delete=function(k){k=d(this,k);return k.entry&&k.list?(k.list.splice(k.index,1),k.list.length||delete this[0][k.id],
k.entry.previous.next=k.entry.next,k.entry.next.previous=k.entry.previous,k.entry.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].previous=f();this.size=0};c.prototype.has=function(k){return!!d(this,k).entry};c.prototype.get=function(k){return(k=d(this,k).entry)&&k.value};c.prototype.entries=function(){return e(this,function(k){return[k.key,k.value]})};c.prototype.keys=function(){return e(this,function(k){return k.key})};c.prototype.values=function(){return e(this,
function(k){return k.value})};c.prototype.forEach=function(k,q){for(var u=this.entries(),A;!(A=u.next()).done;)A=A.value,k.call(q,A[1],A[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(k,q){var u=q&&typeof q;u=="object"||u=="function"?b.has(q)?u=b.get(q):(u=""+ ++h,b.set(q,u)):u="p_"+q;var A=k[0][u];if(A&&Gu(k[0],u))for(k=0;k<A.length;k++){var D=A[k];if(q!==q&&D.key!==D.key||q===D.key)return{id:u,list:A,index:k,entry:D}}return{id:u,list:A,index:-1,entry:void 0}},e=function(k,
q){var u=k[1];return mdc(function(){if(u){for(;u.head!=k[1];)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 k={};return k.previous=k.next=k.head=k},h=0;return c});
Du("Set",function(a){if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(l([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)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||f.value[0].x!=4||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=
l(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.map_.size};b.prototype.add=function(c){c=c===0?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});Du("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)Gu(b,d)&&c.push(b[d]);return c}});Du("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});
Du("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(c<0&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});Du("String.prototype.includes",function(a){return a?a:function(b,c){return Ju(this,b,"includes").indexOf(b,c||0)!==-1}});
Du("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(k){return k};var e=[],f=typeof Symbol!="undefined"&&Symbol.iterator&&b[Symbol.iterator];if(typeof f=="function"){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}});Du("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)Gu(b,d)&&c.push([d,b[d]]);return c}});
Du("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});Du("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});Du("Number.MIN_SAFE_INTEGER",function(){return-9007199254740991});Du("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});Du("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});
Du("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=Ju(this,b,"endsWith");c===void 0&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;e>0&&c>0;)if(d[--c]!=b[--e])return!1;return e<=0}});var odc=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};
Du("Array.prototype.entries",function(a){return a?a:function(){return odc(this,function(b,c){return[b,c]})}});Du("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||b===Infinity||b===-Infinity||b===0)return b;var c=Math.floor(Math.abs(b));return b<0?-c:c}});Du("Number.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}});Du("Array.prototype.keys",function(a){return a?a:function(){return odc(this,function(b){return b})}});
Du("Array.prototype.values",function(a){return a?a:function(){return odc(this,function(b,c){return c})}});Du("Array.prototype.fill",function(a){return a?a:function(b,c,d){var e=this.length||0;c<0&&(c=Math.max(0,e+c));if(d==null||d>e)d=e;d=Number(d);d<0&&(d=Math.max(0,e+d));for(c=Number(c||0);c<d;c++)this[c]=b;return this}});Ycc("fill",function(a){return a?a:Array.prototype.fill});
Du("Object.fromEntries",function(a){return a?a:function(b){var c={};if(!(Symbol.iterator in b))throw new TypeError("t`"+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("u");c[d[0]]=d[1]}return c}});
Du("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("v");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c)}});Du("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});
Du("String.prototype.repeat",function(a){return a?a:function(b){var c=Ju(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("w");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});Du("String.prototype.codePointAt",function(a){return a?a:function(b){var c=Ju(this,null,"codePointAt"),d=c.length;b=Number(b)||0;if(b>=0&&b<d){b|=0;var e=c.charCodeAt(b);if(e<55296||e>56319||b+1===d)return e;b=c.charCodeAt(b+1);return b<56320||b>57343?e:(e-55296)*1024+b+9216}}});
Du("String.fromCodePoint",function(a){return a?a:function(b){for(var c="",d=0;d<arguments.length;d++){var e=Number(arguments[d]);if(e<0||e>1114111||e!==Math.floor(e))throw new RangeError("x`"+e);e<=65535?c+=String.fromCharCode(e):(e-=65536,c+=String.fromCharCode(e>>>10&1023|55296),c+=String.fromCharCode(e&1023|56320))}return c}});
Du("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;})})}});Du("Array.prototype.findIndex",function(a){return a?a:function(b,c){return ndc(this,b,c).i}});
Du("Array.prototype.flat",function(a){return a?a:function(b){b=b===void 0?1:b;var c=[];Array.prototype.forEach.call(this,function(d){Array.isArray(d)&&b>0?(d=Array.prototype.flat.call(d,b-1),c.push.apply(c,d)):c.push(d)});return c}});Du("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)}});
Du("Math.imul",function(a){return a?a:function(b,c){b=Number(b);c=Number(c);var d=b&65535,e=c&65535;return d*e+((b>>>16&65535)*e+d*(c>>>16&65535)<<16>>>0)|0}});Du("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}});
Du("String.prototype.matchAll",function(a){return a?a:function(b){if(b instanceof RegExp&&!b.global)throw new TypeError("y");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}});var pdc=function(a){a=Math.trunc(a)||0;a<0&&(a+=this.length);if(!(a<0||a>=this.length))return this[a]};
Du("Array.prototype.at",function(a){return a?a:pdc});Ycc("at",function(a){return a?a:pdc});Du("String.prototype.at",function(a){return a?a:pdc});Du("Reflect.isExtensible",function(a){return a?a:typeof Object.isExtensible=="function"?Object.isExtensible:function(){return!0}});Du("Reflect.getOwnPropertyDescriptor",function(a){return a||Object.getOwnPropertyDescriptor});Du("Reflect.getPrototypeOf",function(a){return a||Object.getPrototypeOf});
var qdc=function(a,b){for(;a;){var c=Reflect.getOwnPropertyDescriptor(a,b);if(c)return c;a=Reflect.getPrototypeOf(a)}};Du("Reflect.set",function(a){return a?a:function(b,c,d,e){var f=qdc(b,c);return f?f.set?(f.set.call(arguments.length>3?e:b,d),!0):f.writable&&!Object.isFrozen(b)?(b[c]=d,!0):!1:Reflect.isExtensible(b)?(b[c]=d,!0):!1}});Du("Reflect.get",function(a){return a?a:function(b,c,d){if(arguments.length<=2)return b[c];var e=qdc(b,c);if(e)return e.get?e.get.call(d):e.value}});
var rdc=function(a,b){a=a!==void 0?String(a):" ";return b>0&&a?a.repeat(Math.ceil(b/a.length)).substring(0,b):""};Du("String.prototype.padStart",function(a){return a?a:function(b,c){var d=Ju(this,null,"padStart");return rdc(c,b-d.length)+d}});
Du("Set.prototype.intersection",function(a){return a?a:function(b){if(!(this instanceof Set))throw new TypeError("B");if(typeof b!=="object"||b===null||typeof b.size!=="number"||b.size<0||typeof b.keys!=="function"||typeof b.has!=="function")throw new TypeError("z");var c=new Set;if(this.size<=b.size)b={smallerSetIterator:this.keys(),largerSet:b};else{b=b.keys();if(typeof b!=="object"||b===null||typeof b.next!=="function")throw new TypeError("A");b={smallerSetIterator:b,largerSet:this}}var d=b;b=
d.smallerSetIterator;d=d.largerSet;for(var e=b.next();!e.done;)d.has(e.value)&&c.add(e.value),e=b.next();return c}});
Du("Math.hypot",function(a){return a?a:function(b){if(arguments.length<2)return arguments.length?Math.abs(arguments[0]):0;var c,d,e;for(c=e=0;c<arguments.length;c++)e=Math.max(e,Math.abs(arguments[c]));if(e>1E100||e<1E-100){if(!e)return e;for(c=d=0;c<arguments.length;c++){var f=Number(arguments[c])/e;d+=f*f}return Math.sqrt(d)*e}for(c=d=0;c<arguments.length;c++)f=Number(arguments[c]),d+=f*f;return Math.sqrt(d)}});Du("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});
Du("String.prototype.padEnd",function(a){return a?a:function(b,c){var d=Ju(this,null,"padStart");return d+rdc(c,b-d.length)}});var sdc=sdc||{},da=this||self,tdc=function(a,b){a=a.split(".");for(var c=da,d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},udc=function(a,b){var c=it("WIZ_global_data.oxN3nb");a=c&&c[a];return a!=null?a:b},vdc=da._F_toggles_default_b||[],it=function(a,b){a=a.split(".");b=b||da;for(var c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b},zba=function(a){var b=typeof a;return b!="object"?b:a?Array.isArray(a)?"array":b:"null"},Ka=function(a){var b=
zba(a);return b=="array"||b=="object"&&typeof a.length=="number"},La=function(a){var b=typeof a;return b=="object"&&a!=null||b=="function"},Haa=function(a){return Object.prototype.hasOwnProperty.call(a,wdc)&&a[wdc]||(a[wdc]=++xdc)},wdc="closure_uid_"+(Math.random()*1E9>>>0),xdc=0,ydc=function(a,b,c){return a.call.apply(a.bind,arguments)},zdc=function(a,b,c){if(!a)throw Error();if(arguments.length>2){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)}},ut=function(a,b,c){ut=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?ydc:zdc;return ut.apply(null,arguments)},Ku=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)}},Adc=function(a){(0,eval)(a)},Zb=function(a){return a},Lu=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),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return b.prototype[e].apply(d,h)}};Lu(ba,Error);ba.prototype.name="CustomError";var Bdc;Lu(aaa,ba);aaa.prototype.name="AssertionError";var faa=void 0,daa,eaa,Cdc=typeof TextDecoder!=="undefined",jaa,iaa=typeof String.prototype.isWellFormed==="function",haa=typeof TextEncoder!=="undefined";var na=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Ddc=/&/g,Edc=/</g,Fdc=/>/g,Gdc=/"/g,Hdc=/'/g,Idc=/\x00/g,Jdc=/[\x00&<>"']/;var Kdc=!!(vdc[0]>>15&1),Ldc=!!(vdc[0]&1024),Mdc=!!(vdc[0]>>16&1),Ndc=!!(vdc[0]&16),Odc=!!(vdc[0]&128);var pa=Kdc?Mdc:udc(610401301,!1),Uob=Kdc?Ndc:udc(1331761403,!1),Oca=Kdc?Ldc||!Odc:udc(748402147,!0);var qa,Pdc=da.navigator;qa=Pdc?Pdc.userAgentData||null:null;var Ca=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Ba=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)},Qdc=Array.prototype.filter?function(a,b){return Array.prototype.filter.call(a,
b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,f=typeof a==="string"?a.split(""):a,h=0;h<c;h++)if(h in f){var k=f[h];b.call(void 0,k,h,a)&&(d[e++]=k)}return d},Rdc=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=typeof a==="string"?a.split(""):a,f=0;f<c;f++)f in e&&(d[f]=b.call(void 0,e[f],f,a));return d},Sdc=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,
d=typeof a==="string"?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 Tdc=function(a){Tdc[" "](a);return a};Tdc[" "]=function(){};var t6b=function(a,b){try{return Tdc(a[b]),!0}catch(c){}return!1};var Udc=paa(),dt=qaa(),Vdc=ra("Edge"),Dr=ra("Gecko")&&!(ma(oa(),"WebKit")&&!ra("Edge"))&&!(ra("Trident")||ra("MSIE"))&&!ra("Edge"),Cr=ma(oa(),"WebKit")&&!ra("Edge"),Wdc=Cr&&ra("Mobile"),At=za(),Xdc=xaa(),Ydc=(wa()?qa.platform==="Linux":ra("Linux"))||yaa(),Zdc=vaa(),$dc=waa(),aec=ra("iPad"),bec=ra("iPod"),m6b=xa();ma(oa(),"KaiOS");var cec;
a:{var dec="",eec=function(){var a=oa();if(Dr)return/rv:([^\);]+)(\)|;)/.exec(a);if(Vdc)return/Edge\/([\d\.]+)/.exec(a);if(dt)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Cr)return/WebKit\/(\S+)/.exec(a);if(Udc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();eec&&(dec=eec?eec[1]:"");if(dt){var fec,gec=da.document;fec=gec?gec.documentMode:void 0;if(fec!=null&&fec>parseFloat(dec)){cec=String(fec);break a}}cec=dec}var hec=cec;var iec=ta(),jec=waa()||ra("iPod"),kec=ra("iPad"),lec=saa(),o6b=va(),k6b=raa()&&!xa();var mec={},nec=null,oec=Dr||Cr||!k6b&&typeof da.atob=="function",qec=function(a,b){b===void 0&&(b=0);pec();b=mec[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],k=a[e+1],q=a[e+2],u=b[h>>2];h=b[(h&3)<<4|k>>4];k=b[(k&15)<<2|q>>6];q=b[q&63];c[f++]=u+h+k+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("")},cbc=function(a){if(oec)return da.atob(a);var b="";rec(a,function(c){b+=String.fromCharCode(c)});
return b},Raa=function(a){var b=a.length,c=b*3/4;c%3?c=Math.floor(c):ka("=.",a[b-1])&&(c=ka("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;rec(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},rec=function(a,b){function c(q){for(;d<a.length;){var u=a.charAt(d++),A=nec[u];if(A!=null)return A;if(!ja(u))throw Error("F`"+u);}return q}pec();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),k=c(64);if(k===64&&e===-1)break;b(e<<2|f>>4);h!=64&&(b(f<<4&240|h>>2),k!=64&&b(h<<6&192|k))}},pec=function(){if(!nec){nec=
{};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));mec[c]=d;for(var e=0;e<d.length;e++){var f=d[e];nec[f]===void 0&&(nec[f]=e)}}}};var Uaa=typeof Uint8Array!=="undefined",Qaa=!dt&&typeof btoa==="function",Saa=/[-_.]/g,Oaa={"-":"+",_:"/",".":"="},Ya={},sec=typeof structuredClone!="undefined";var Xa=function(a,b){if(b!==Ya)throw Error("H");this.value_=a;if(a!=null&&a.length===0)throw Error("G");},fba=function(a){return a?new Xa(a,Ya):Wa()},Wa=function(){return tec||(tec=new Xa(null,Ya))},Eca=function(a){var b=a.value_;if(b==null)a="";else if(typeof b==="string")a=b;else{if(Qaa){for(var c="",d=0,e=b.length-10240;d<e;)c+=String.fromCharCode.apply(null,b.subarray(d,d+=10240));c+=String.fromCharCode.apply(null,d?b.subarray(d):b);b=btoa(c)}else b=qec(b);a=a.value_=b}return a};
Xa.prototype.isEmpty=function(){return this.value_==null};Xa.prototype.sizeBytes=function(){var a=Fc(this);return a?a.length:0};
var Vta=function(a){var b={};b=b.parsingErrorsAreFatal===void 0?!0:b.parsingErrorsAreFatal;if(a=Fc(a)){var c=a.length;b=Cdc?gaa(a,0,c,b):caa(a,0,c,b)}else b="";return b},uec=function(a,b){if(!a.value_||!b.value_||a.value_===b.value_)return a.value_===b.value_;if(typeof a.value_==="string"&&typeof b.value_==="string"){var c=a.value_,d=b.value_;b.value_.length>a.value_.length&&(d=a.value_,c=b.value_);if(c.lastIndexOf(d,0)!==0)return!1;for(b=d.length;b<c.length;b++)if(c[b]!=="=")return!1;return!0}c=
Fc(a);b=Fc(b);return Vaa(c,b)},Fc=function(a){if(Ya!==Ya)throw Error("H");var b=a.value_;b=b==null||Ma(b)?b:typeof b==="string"?Taa(b):null;return b==null?b:a.value_=b},cca=function(a,b){if(typeof b==="string")b=fba(b);else if(b instanceof Uint8Array)b=new Xa(b,Ya);else if(!(b instanceof Xa))return!1;return uec(a,b)},tec;var Yaa=void 0;var Qa=typeof Symbol==="function"&&typeof Symbol()==="symbol",vec=Oa("jas",void 0,!0),Tba=Oa(void 0,"0di"),zc=Oa(void 0,"1oa"),Yca=Oa(void 0,"0dg"),$b=Oa(void 0,Symbol()),uca=Oa(void 0,"0ub"),wca=Oa(void 0,"0ubs"),Kda=Oa(void 0,"0ubsb"),Qca=Oa(void 0,"0actk"),Za=Oa("m_m","messagePrototypeMarker",!0),Gca=Oa(void 0,"vps"),rca=Oa();var aba={internalArrayState:{value:0,configurable:!0,writable:!0,enumerable:!1}},$aa=Object.defineProperties,Ra=Qa?vec:"internalArrayState",lc,wec=[];Ta(wec,7);lc=Object.freeze(wec);var $a={},bb={},xec=function(a,b,c){this.iterable=a;this.mapper=b;this.thisArg=c};xec.prototype.next=function(){var a=this.iterable.next();a.done||(a.value=this.mapper.call(this.thisArg,a.value));return a};xec.prototype[Symbol.iterator]=function(){return this};var $d=Object.freeze({}),yec=Object.freeze({}),Kc={};var oba=hb(function(a){return typeof a==="number"}),nba=hb(function(a){return typeof a==="string"}),qba=hb(function(a){return typeof a==="boolean"}),kLb=hb(function(a){return!!a&&(typeof a==="object"||typeof a==="function")}),lba=hb(function(a){return Array.isArray(a)});var pba=typeof da.BigInt==="function"&&typeof da.BigInt(0)==="bigint";var Oba=hb(function(a){return pba?a>=zec&&a<=Aec:a[0]==="-"?rba(a,Bec):rba(a,Cec)}),Bec=Number.MIN_SAFE_INTEGER.toString(),zec=pba?BigInt(Number.MIN_SAFE_INTEGER):void 0,Cec=Number.MAX_SAFE_INTEGER.toString(),Aec=pba?BigInt(Number.MAX_SAFE_INTEGER):void 0;var Dec=typeof Uint8Array.prototype.slice==="function",jb=0,kb=0;var Db=typeof BigInt==="function"?BigInt.asIntN:void 0,Jb=typeof BigInt==="function"?BigInt.asUintN:void 0,Ib=Number.isSafeInteger,vb=Number.isFinite,Hb=Math.trunc,Vba=ib(0),Aba=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;var Hca={};var nca={},Eec=function(){try{var a=function(){return Zcc(Map,[],this.constructor)};Y(a,Map);Tdc(new a);return!1}catch(b){return!0}}(),Fec=function(){this.map_=new Map};g=Fec.prototype;g.get=function(a){return this.map_.get(a)};g.set=function(a,b){this.map_.set(a,b);this.size=this.map_.size;return this};g.delete=function(a){a=this.map_.delete(a);this.size=this.map_.size;return a};g.clear=function(){this.map_.clear();this.size=this.map_.size};g.has=function(a){return this.map_.has(a)};g.entries=function(){return this.map_.entries()};
g.keys=function(){return this.map_.keys()};g.values=function(){return this.map_.values()};g.forEach=function(a,b){return this.map_.forEach(a,b)};Fec.prototype[Symbol.iterator]=function(){return this.entries()};
var Mu=function(){if(Eec)return Object.setPrototypeOf(Fec.prototype,Map.prototype),Object.defineProperties(Fec.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),Fec;var a=function(){return Zcc(Map,[],this.constructor)};Y(a,Map);return a}(),Yb=function(a,b,c,d){c=c===void 0?gca:c;d=d===void 0?gca:d;var e=Mu.call(this)||this;e.arrayState=a[Ra]|0;e.valueCtor=b;e.keyToApi=c;e.valueToApi=e.valueCtor?hca:d;for(var f=0;f<a.length;f++){var h=a[f],k=c(h[0],!1,!0),q=h[1];b?q===void 0&&(q=
null):q=d(h[1],!1,!0,void 0,void 0,e.arrayState);Mu.prototype.set.call(e,k,q)}return e};Y(Yb,Mu);var Gec=function(a){if(a.arrayState&2)throw Error("K");},Fca=function(a,b){return cba(Array.from(Mu.prototype.entries.call(a),b))};g=Yb.prototype;g.clear=function(){Gec(this);Mu.prototype.clear.call(this)};g.delete=function(a){Gec(this);return Mu.prototype.delete.call(this,this.keyToApi(a,!0,!1))};
g.entries=function(){if(this.valueCtor){var a=Mu.prototype.keys.call(this);a=new xec(a,lca,this)}else a=Mu.prototype.entries.call(this);return a};g.values=function(){if(this.valueCtor){var a=Mu.prototype.keys.call(this);a=new xec(a,Yb.prototype.get,this)}else a=Mu.prototype.values.call(this);return a};g.forEach=function(a,b){this.valueCtor?Mu.prototype.forEach.call(this,function(c,d,e){a.call(b,e.get(d),d,e)}):Mu.prototype.forEach.call(this,a,b)};
g.set=function(a,b){Gec(this);a=this.keyToApi(a,!0,!1);return a==null?this:b==null?(Mu.prototype.delete.call(this,a),this):Mu.prototype.set.call(this,a,this.valueToApi(b,!0,!0,this.valueCtor,!1,this.arrayState))};g.has=function(a){return Mu.prototype.has.call(this,this.keyToApi(a,!1,!1))};
g.get=function(a){a=this.keyToApi(a,!1,!1);var b=Mu.prototype.get.call(this,a);if(b!==void 0){var c=this.valueCtor;return c?(c=this.valueToApi(b,!1,!0,c,this.callToMutableOnAccess,this.arrayState),c!==b&&Mu.prototype.set.call(this,a,c),c):b}};var bca=function(a,b,c){return b instanceof Yb?ica(a,b,c):kca(a,b,c)};Yb.prototype[Symbol.iterator]=function(){return this.entries()};Yb.prototype.toJSON=void 0;var mca;var Aca=function(){},yca=function(a,b){for(var c in a)!isNaN(c)&&b(a,+c,a[c])},Bca=function(a){var b=new Aca;yca(a,function(c,d,e){b[d]=pb(e)});b.reviveUnknownFields=a.reviveUnknownFields;return b},sca={reviveIntoImmutable:!0};var HGa=sec?structuredClone:function(a){return ac(a,0,cc)},zca;var Jca,Kca;var Hec=ib(0),lu={},Ke=function(a,b,c,d,e){b=pc(a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,b,c,e);if(b!==null||d&&a.noLegacyNull!==bb)return b},pc=function(a,b,c,d){if(b===-1)return null;var e=b+(c?0:-1),f=a.length-1;if(!(f<1+(c?0:-1))){if(e>=f){var h=a[f];if(h!=null&&typeof h==="object"&&h.constructor===Object){c=h[b];var k=!0}else if(e===f)c=h;else return}else c=a[e];if(d&&c!=null){d=d(c);if(d==null)return d;if(!Object.is(d,c))return k?h[b]=d:a[e]=d,d}return c}},Np=function(a,b,c,
d){hc(a);var e=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;jc(e,e[Ra]|0,b,c,d);return a},Me=function(a,b,c,d){a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;return Ac(a,a[Ra]|0,b,c,d)!==void 0},Yk=function(a,b,c,d){var e=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;return Ac(e,e[Ra]|0,b,rl(a,d,c))!==void 0},Iec=function(a,b,c){var d=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;return dda(a,d,d[Ra]|0,b,c,3).length},Nu=function(a,b,c,d,e,f){Bc(a,b,c,
f,e,d,1);return a},Rd=function(a){return a===$d?2:4},Mp=function(a,b,c,d){a=Ke(a,b,d,void 0,qc);return a==null?c===null?c:c===void 0?Wa():fba(c):a},Ou=function(a,b,c){return Np(a,b,void 0,c)},Jec=function(a,b){hc(a);var c=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;cda(c,c[Ra]|0,b,0);return a},ul=function(a,b,c,d){hc(a);var e=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,f=e[Ra]|0;if(d==null){var h=ada(e);if(bda(h,e,f,c)===b)h.set(c,0);else return a}else f=cda(e,f,c,b);jc(e,
f,b,d);return a},rl=function(a,b,c,d){return al(a,b,d)===c?c:-1},al=function(a,b,c){a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;return bda(ada(a),a,void 0,b,c)},Pu=function(a,b,c,d){hc(a);a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;var e=a[Ra]|0,f=pc(a,c,d),h=void 0===yec;b=Rb(f,b,!h,e);if(!h||b)return b=Xb(b),f!==b&&(e=jc(a,e,c,b,d),ic(a,e)),b},Kec=function(a,b,c){var d=a[Ra]|0,e=d&128?Kc:void 0,f=pc(a,c,e);if(ab(f)){if(!db(f))return fc(f),f.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;
var h=f.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows}else Array.isArray(f)&&(h=f);if(h){var k=h[Ra]|0;k&2&&(h=ec(h,k))}h=Nca(h,b);h!==f&&jc(a,d,c,h,e);return h},Lec=function(a,b,c){a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;return Ac(a,a[Ra]|0,b,c)},r=function(a,b,c,d){var e=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,f=e[Ra]|0;b=Ac(e,f,b,c,d);if(b==null)return b;f=e[Ra]|0;if(!db(a,f)){var h=Xb(b);h!==b&&(fc(a)&&(e=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,
f=e[Ra]|0),b=h,f=jc(e,f,c,b,d),ic(e,f))}return b},ie=function(a,b,c,d,e){var f=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;return dda(a,f,f[Ra]|0,b,c,d,e,!1,!0)},t=function(a,b,c,d,e){d=eda(d);Np(a,c,d,e);d&&!db(d)&&ic(a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows);return a},Bl=function(a,b,c,d){d=eda(d);ul(a,b,c,d);d&&!db(d)&&ic(a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows);return a},Ol=function(a,b,c,d){hc(a);var e=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,
f=e[Ra]|0;if(c==null)return jc(e,f,b,void 0,d),a;for(var h=c===lc?7:c[Ra]|0,k=h,q=oc(h),u=q||Object.isFrozen(c),A=!0,D=!0,H=0;H<c.length;H++){var O=c[H];q||(O=db(O),A&&(A=!O),D&&(D=O))}q||(h=A?13:5,h=D?h&-4097:h|4096);u&&h===k||(c=pb(c),k=0,h=mc(h,f));h!==k&&Ta(c,h);f=jc(e,f,b,c,d);2&h||!(4096&h||16&h)||ic(e,f);return a},rm=function(a,b,c,d,e,f){Bc(a,b,c,f,d,e);return a},Qu=function(a,b,c,d,e){Bc(a,b,c,e,void 0,d,1,!0);return a},qm=function(a,b,c,d,e){hc(a);var f=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;
b=dda(a,f,f[Ra]|0,c,b,2,e,!0);e=c=0;if(Array.isArray(d))for(var h=d.length,k=0;k<h;k++){var q=d[k];b.push(q);(q=db(q))&&!c++&&(b[Ra]&=-9);q||e++||Sa(b,4096)}else for(d=l(d),h=d.next();!h.done;h=d.next())h=h.value,b.push(h),(h=db(h))&&!c++&&(b[Ra]&=-9),h||e++||Sa(b,4096);e&&ic(f);return a},Ru=function(a,b,c){return Mb(Ke(a,b,c),!0)},Su=function(a,b,c){a=Ke(a,b,void 0,c);b=typeof a;a=a==null?a:b==="bigint"?ib(Jb(64,a)):wb(a)?b==="string"?Nba(a):Lba(a):void 0;return a},kIa=function(a,b,c){return nc(a,
b,Kb,c,void 0,0)},Tu=function(a,b,c,d,e){return nc(a,b,Ob,c,e,1024,d)},ge=function(a,b,c){return nc(a,b,fda,1,void 0,512,c)},Uu=function(a,b,c,d){return Bb(Ke(a,b,c,d))},Vu=function(a,b,c,d){return Qb(Ke(a,b,c,d))},$l=function(a,b,c,d){return zb(Ke(a,b,c,d))},De=function(a,b,c,d){c=c===void 0?!1:c;var e;return(e=ub(Ke(a,b,d)))!=null?e:c},Pd=function(a,b,c,d){c=c===void 0?0:c;var e;return(e=Uu(a,b,d))!=null?e:c},gm=function(a,b,c,d){c=c===void 0?0:c;var e;return(e=Kb(Ke(a,b,d)))!=null?e:c},Mec=function(a,
b){var c=c===void 0?"0":c;var d;return(d=Mb(Ke(a,b)))!=null?d:c},Re=function(a,b,c,d){c=c===void 0?Hec:c;var e;return(e=Ob(Ke(a,b,d)))!=null?e:c},Nec=function(a){var b=b===void 0?Hec:b;var c;return(c=Su(a,23))!=null?c:b},wl=function(a,b,c){c=c===void 0?0:c;var d;return(d=Ke(a,b,void 0,void 0,sb))!=null?d:c},Oc=function(a,b,c,d){c=c===void 0?"":c;var e;return(e=Vu(a,b,d))!=null?e:c},Zd=function(a,b,c,d){c=c===void 0?0:c;var e;return(e=$l(a,b,d))!=null?e:c},Xe=function(a,b,c,d){c=c===void 0?"0":c;var e;
return(e=Ru(a,b,d))!=null?e:c},Le=function(a,b,c,d){c=c===void 0?"0":c;var e;return(e=Ru(a,b,d))!=null?e:c},Sd=function(a,b,c,d,e){return nc(a,b,Bb,c,e,void 0,d)},Wu=function(a,b,c){a=Sd(a,b,3,void 0,!0);fb(a,c);return a[c]},Oec=function(a,b){a=Tu(a,b,3,void 0,!0);fb(a);return a[void 0]},Qd=function(a,b,c,d,e){return nc(a,b,Qb,c,e,void 0,d)},Xu=function(a,b,c,d){a=Qd(a,b,3,d,!0);fb(a,c);return a[c]},$e=function(a,b,c,d,e){return nc(a,b,zb,c,e,void 0,d)},Pec=function(a,b,c){a=$e(a,b,3,void 0,!0);fb(a,
c);return a[c]},cl=function(a,b,c){return Oc(a,rl(a,c,b))},ou=function(a,b,c){return xf(a,rl(a,c,b))},Zk=function(a,b,c,d,e){return r(a,b,rl(a,d,c,e),e)},W0a=function(a,b){b=rl(a,ar,b);return Ru(a,b)},fp=function(a,b,c){b=rl(a,c,b);return Vu(a,b)},X0a=function(a,b){b=rl(a,ar,b);return Ke(a,b,void 0,void 0,qc)},bu=function(a,b){return ub(Ke(a,b,void 0,lu))},Yu=function(a,b){return Uu(a,b,void 0,lu)},Zu=function(a,b){return Ob(Ke(a,b,void 0,lu))},$u=function(a,b){return Ke(a,b,void 0,lu,sb)},xf=function(a,
b){return Vu(a,b,void 0,lu)},ju=function(a,b){return $l(a,b,void 0,lu)},hf=function(a,b,c){return Np(a,b,c==null?c:tb(c))},Dl=function(a,b,c,d){return vc(a,b,c==null?c:tb(c),!1,d)},jf=function(a,b,c){return Np(a,b,c==null?c:Ab(c))},se=function(a,b,c){return vc(a,b,c==null?c:Ab(c),0)},Ze=function(a,b,c,d,e){return Np(a,b,Gb(c,d===void 0?0:d),e)},ll=function(a,b,c){return vc(a,b,Gb(c,0),"0")},Qec=function(a,b,c){c=c==null?c:Pba(c);return Np(a,b,c)},rf=function(a,b,c,d,e){return Np(a,b,Gb(c,d===void 0?
0:d),e)},av=function(a,b,c){return Np(a,b,c==null?c:rb(c))},Vl=function(a,b,c){return vc(a,b,c==null?c:rb(c),0)},fua=function(a,b,c,d){ul(a,b,c,d==null?d:rb(d))},lf=function(a,b,c,d){return Np(a,b,Sba(c),d)},Vd=function(a,b,c,d){return vc(a,b,Sba(c),"",d)},fl=function(a,b,c,d){return ul(a,b,c,Sba(d))},ql=function(a,b,c){return vc(a,b,eb(c,!1,!0),Wa())},mf=function(a,b,c,d){return Np(a,b,Bba(c),d)},Xd=function(a,b,c,d){return vc(a,b,Bba(c),0,d)},Rec=function(a,b,c){return wc(a,b,Ab,void 0,c,Bb,void 0,
1)},op=function(a,b,c,d){return tc(a,b,c,Fb,d)},bv=function(a,b,c,d,e){return wc(a,b,Fb,c,d,Kb,e)},Sec=function(a,b,c){return wc(a,b,Fb,void 0,c,Kb,void 0,1,!1,!0)},cv=function(a,b,c){xc(a,b,Fb,c,Kb)},Tec=function(a,b,c){wc(a,b,Fb,void 0,c,Mb,void 0,1)},Wd=function(a,b,c,d){return tc(a,b,c,Pb,d)},dv=function(a,b,c,d){return wc(a,b,Pb,d,c,Qb,void 0,1)},np=function(a,b,c){return tc(a,b,c,xb)},Ce=function(a,b){return ub(Ke(a,b))!=null},Fe=function(a,b){return Uu(a,b)!=null},Qe=function(a,b,c){return Kb(Ke(a,
b,c))!=null},Ge=function(a,b,c){return Vu(a,b,c)!=null},He=function(a,b,c){return $l(a,b,c)!=null};var Dc=function(a,b,c){this.buffer=a;if(c&&!b)throw Error();this.isImmutable=b};var Uec=function(a,b,c,d){this.buffer_=this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.init(a,b,c,d)};g=Uec.prototype;
g.init=function(a,b,c,d){var e=d===void 0?{}:d;d=e.aliasBytesFields===void 0?!1:e.aliasBytesFields;e=e.treatNewDataAsImmutable===void 0?!1:e.treatNewDataAsImmutable;this.aliasBytesFields=d;this.treatNewDataAsImmutable=e;a&&(this.buffer_=a=hda(a,this.treatNewDataAsImmutable),this.bytes_=a.buffer,this.bytesAreImmutable_=a.isImmutable,this.start_=b||0,this.end_=c!==void 0?this.start_+c:this.bytes_.length,this.cursor_=this.start_)};g.free=function(){this.clear();Vec.length<100&&Vec.push(this)};
g.clear=function(){this.buffer_=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){Wec(this,this.cursor_+a)};
var Wec=function(a,b){a.cursor_=b;if(b>a.end_)throw Error();},ev=function(a){var b=a.bytes_,c=a.cursor_,d=b[c++],e=d&127;if(d&128&&(d=b[c++],e|=(d&127)<<7,d&128&&(d=b[c++],e|=(d&127)<<14,d&128&&(d=b[c++],e|=(d&127)<<21,d&128&&(d=b[c++],e|=d<<28,d&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128)))))throw Error();Wec(a,c);return e},Xec=function(a){var b=a.bytes_,c=a.cursor_,d=b[c],e=b[c+1],f=b[c+2];b=b[c+3];a.advance(4);return(d<<0|e<<8|f<<16|b<<24)>>>0},Yec=function(a){for(var b=0,
c=a.cursor_,d=c+10,e=a.bytes_;c<d;){var f=e[c++];b|=f;if((f&128)===0)return Wec(a,c),!!(b&127)}throw Error();},Zec=function(a,b){if(b<0)throw Error();var c=a.cursor_;b=c+b;if(b>a.end_)throw Error();a.cursor_=b;return c};Uec.prototype.readString=function(a,b){var c=Zec(this,a),d=this.bytes_;return Cdc?gaa(d,c,a,b):caa(d,c,a,b)};
Uec.prototype.readByteString=function(a){if(a==0)return Wa();var b=Zec(this,a);if(this.aliasBytesFields&&this.bytesAreImmutable_)b=this.bytes_.subarray(b,b+a);else{var c=this.bytes_;a=b+a;b=b===a?new Uint8Array(0):Dec?c.slice(b,a):new Uint8Array(c.subarray(b,a))}return eba(b)};var Vec=[];var $ec=function(a,b,c,d){if(Vec.length){var e=Vec.pop();e.init(a,b,c,d);a=e}else a=new Uec(a,b,c,d);this.decoder_=a;this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextTag_=this.nextField_=-1;this.setOptions(d)};$ec.prototype.setOptions=function(a){a=a===void 0?{}:a;this.discardUnknownFields=a.discardUnknownFields===void 0?!1:a.discardUnknownFields};
var Cda=function(a,b,c,d){if(afc.length){var e=afc.pop();e.setOptions(d);e.decoder_.init(a,b,c,d);return e}return new $ec(a,b,c,d)};g=$ec.prototype;g.free=function(){this.decoder_.clear();this.nextWireType_=this.nextField_=this.nextTag_=-1;afc.length<100&&afc.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 xda=function(a){var b=a.decoder_;if(b.cursor_==b.end_)return!1;a.fieldCursor_=a.decoder_.getCursor();b=ev(a.decoder_)>>>0;var c=b>>>3,d=b&7;if(!(d>=0&&d<=5))throw Error();if(c<1)throw Error();a.nextTag_=b;a.nextField_=c;a.nextWireType_=d;return!0},zda=function(a){switch(a.nextWireType_){case 0:a.nextWireType_!=0?zda(a):Yec(a.decoder_);break;case 1:a.decoder_.advance(8);break;case 2:if(a.nextWireType_!=2)zda(a);else{var b=ev(a.decoder_)>>>0;a.decoder_.advance(b)}break;case 5:a.decoder_.advance(4);
break;case 3:b=a.nextField_;do{if(!xda(a))throw Error();if(a.nextWireType_==4){if(a.nextField_!=b)throw Error();break}zda(a)}while(1);break;default:throw Error();}},bfc=function(a,b,c){var d=a.decoder_.getEnd(),e=ev(a.decoder_)>>>0;e=a.decoder_.getCursor()+e;var f=e-d;f<=0&&(a.decoder_.setEnd(e),c(b,a,void 0,void 0,void 0),f=e-a.decoder_.getCursor());if(f)throw Error();a.decoder_.cursor_=e;a.decoder_.setEnd(d)};$ec.prototype.readString=function(){return cfc(this)};
var cfc=function(a){var b=ev(a.decoder_)>>>0;return a.decoder_.readString(b,!0)};$ec.prototype.readByteString=function(){var a=ev(this.decoder_)>>>0;return this.decoder_.readByteString(a)};var afc=[];var dfc=function(a,b){this.lo=a>>>0;this.hi=b>>>0},ffc=function(a){if(!a)return efc||(efc=new dfc(0,0));if(!/^\d+$/.test(a))return null;yba(a);return new dfc(jb,kb)},efc,gfc=function(a,b){this.lo=a>>>0;this.hi=b>>>0},ifc=function(a){if(!a)return hfc||(hfc=new gfc(0,0));if(!/^-?\d+$/.test(a))return null;yba(a);return new gfc(jb,kb)},hfc;var fv=function(){this.buffer_=[]};fv.prototype.length=function(){return this.buffer_.length};fv.prototype.end=function(){var a=this.buffer_;this.buffer_=[];return a};fv.prototype.writeSplitVarint64=function(a,b){for(;b>0||a>127;)this.buffer_.push(a&127|128),a=(a>>>7|b<<25)>>>0,b>>>=7;this.buffer_.push(a)};fv.prototype.writeSplitFixed64=function(a,b){this.writeUint32(a);this.writeUint32(b)};
var jfc=function(a,b){for(;b>127;)a.buffer_.push(b&127|128),b>>>=7;a.buffer_.push(b)},kfc=function(a,b){if(b>=0)jfc(a,b);else{for(var c=0;c<9;c++)a.buffer_.push(b&127|128),b>>=7;a.buffer_.push(1)}};g=fv.prototype;g.writeUint32=function(a){this.buffer_.push(a>>>0&255);this.buffer_.push(a>>>8&255);this.buffer_.push(a>>>16&255);this.buffer_.push(a>>>24&255)};g.writeUint64=function(a){sba(a);this.writeUint32(jb);this.writeUint32(kb)};
g.writeInt32=function(a){this.buffer_.push(a>>>0&255);this.buffer_.push(a>>>8&255);this.buffer_.push(a>>>16&255);this.buffer_.push(a>>>24&255)};g.writeInt64=function(a){lb(a);this.writeSplitFixed64(jb,kb)};g.writeBool=function(a){this.buffer_.push(a?1:0)};g.writeEnum=function(a){kfc(this,a)};var lfc=function(){this.blocks_=[];this.totalLength_=0;this.encoder_=new fv},Jc=function(a,b){b.length!==0&&(a.blocks_.push(b),a.totalLength_+=b.length)},mfc=function(a){Jc(a,a.encoder_.end());for(var b=new Uint8Array(a.totalLength_),c=a.blocks_,d=c.length,e=0,f=0;f<d;f++){var h=c[f];b.set(h,e);e+=h.length}a.blocks_=[b];return b},Ic=function(a,b,c){jfc(a.encoder_,b*8+c)};g=lfc.prototype;g.writeInt32=function(a,b){b!=null&&b!=null&&(Ic(this,a,0),kfc(this.encoder_,b))};
g.writeInt64=function(a,b){if(b!=null){switch(typeof b){case "string":ifc(b)}if(b!=null)switch(Ic(this,a,0),typeof b){case "number":a=this.encoder_;lb(b);a.writeSplitVarint64(jb,kb);break;case "bigint":b=BigInt.asUintN(64,b);b=new gfc(Number(b&BigInt(4294967295)),Number(b>>BigInt(32)));this.encoder_.writeSplitVarint64(b.lo,b.hi);break;default:b=ifc(b),this.encoder_.writeSplitVarint64(b.lo,b.hi)}}};g.writeUint32=function(){};g.writeUint64=function(){};
g.writeBool=function(a,b){b!=null&&(Ic(this,a,0),this.encoder_.writeBool(b))};g.writeEnum=function(a,b){b!=null&&(b=parseInt(b,10),Ic(this,a,0),kfc(this.encoder_,b))};g.writeSplitFixed64=function(a,b){Ic(this,a,1);this.encoder_.writeSplitFixed64(b)};g.writeSplitVarint64=function(a,b){Ic(this,a,0);this.encoder_.writeSplitVarint64(b)};var kda=Gc(),nfc=Gc(),ofc=Gc(),pfc=Gc(),qfc=Gc(),rfc=Gc(),sfc=Gc(),tfc=Gc();var n=function(a,b,c){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,b,c)};n.prototype.toJSON=function(){return Ica(this)};n.prototype.serialize=function(a){return JSON.stringify(Ica(this,a))};var Oda=function(a,b){if(b==null||b=="")return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("U");return new a(dba(b))};
n.prototype.getExtension=function(a){vca(this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,a.fieldIndex);tca(this,a.fieldIndex);return a.ctor?a.isRepeated?a.getExtensionFn(this,a.ctor,a.fieldIndex,Rd(),a.hasMessageId):a.getExtensionFn(this,a.ctor,a.fieldIndex,a.hasMessageId):a.isRepeated?a.getExtensionFn(this,a.fieldIndex,Rd(),a.hasMessageId):a.getExtensionFn(this,a.fieldIndex,a.defaultValue,a.hasMessageId)};
var ufc=function(a,b){vca(a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,b.fieldIndex);tca(a,b.fieldIndex);a=b.ctor?b.getExtensionFn(a,b.ctor,b.fieldIndex,b.hasMessageId):b.getExtensionFn(a,b.fieldIndex,null,b.hasMessageId);return a===null?void 0:a};n.prototype.hasExtension=function(a){vca(this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,a.fieldIndex);tca(this,a.fieldIndex);return a.ctor?Me(this,a.ctor,a.fieldIndex,a.hasMessageId):ufc(this,a)!==void 0};
n.prototype.clone=function(){var a=this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,b=a[Ra]|0;return Vca(this,a,b)?Uca(this,a,!0):new this.constructor(ec(a,b,!1))};n.prototype.isMutable=function(){return!db(this)};n.prototype.isImmutable=function(){return db(this)};var T9b=function(a){return Xb(a)},du=function(a,b,c){qca(a,b.fieldIndex);b.ctor?b.setExtensionFn(a,b.ctor,b.fieldIndex,c,b.hasMessageId):b.setExtensionFn(a,b.fieldIndex,c,b.hasMessageId)};n.prototype[Za]=$a;
n.prototype.toString=function(){return this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows.toString()};var Hc=function(a,b,c){this.$$binaryReaderFn=a;this.$$binaryWriterFn=b;a=Zb(kda);this.$$isMsg=!!a&&c===a||!1},oda=lda(function(a,b,c,d,e){if(a.nextWireType_!==2)return!1;bfc(a,Kec(b,d,c),e);return!0}),qda=lda(function(a,b,c,d,e){if(a.nextWireType_!==2)return!1;bfc(a,Kec(b,d,c),e);return!0}),Dda=Symbol(),tda=Symbol(),wda=Symbol(),Hda=Symbol(),Ada=Symbol(),mda,nda;var vfc=Mc(function(a,b,c){if(a.nextWireType_!==0)return!1;a=a.decoder_;var d=0,e=0,f=0,h=a.bytes_,k=a.cursor_;do{var q=h[k++];d|=(q&127)<<f;f+=7}while(f<32&&q&128);if(f>32)for(e|=(q&127)>>4,f=3;f<32&&q&128;f+=7)q=h[k++],e|=(q&127)<<f;Wec(a,k);if(q&128)throw Error();a=vba(d>>>0,e>>>0);Nc(b,c,a);return!0},function(a,b,c){a.writeInt64(c,Qba(b))},rfc),gv=Mc(function(a,b,c){if(a.nextWireType_!==0)return!1;Nc(b,c,ev(a.decoder_));return!0},function(a,b,c){a.writeInt32(c,Bb(b))},pfc),wfc;
wfc=new Hc(function(a,b,c){if(a.nextWireType_!==0&&a.nextWireType_!==2)return!1;var d=b[Ra]|0;if(d&2)throw Error();var e=d&128?Kc:void 0,f=Wca(b,c,e),h=f===lc?7:f[Ra]|0,k=Xca(h,d);if(2&k||oc(k)||16&k)k===h||oc(k)||Ta(f,k),f=pb(f),h=0,k=mc(k,d),jc(b,d,c,f,e);k&=-13;k!==h&&Ta(f,k);b=f;if(a.nextWireType_==2)for(c=ev(a.decoder_)>>>0,c=a.decoder_.getCursor()+c;a.decoder_.getCursor()<c;)b.push(ev(a.decoder_));else b.push(ev(a.decoder_));return!0},function(a,b,c){if(Array.isArray(b)){var d=b[Ra]|0;if(!(d&
4)){for(var e=0,f=0;e<b.length;e++){var h=Bb(b[e]);h!=null&&(b[f++]=h)}f<e&&(b.length=f);e=(d|5)&-1537;e!==d&&Ta(b,e);e&2&&Object.freeze(b)}}else b=void 0;if(b!=null)for(d=0;d<b.length;d++)e=a,f=c,h=b[d],h!=null&&(Ic(e,f,0),kfc(e.encoder_,h))},pfc);
var xfc=Mc(function(a,b,c){if(a.nextWireType_!==1)return!1;var d=a.decoder_;a=Xec(d);d=Xec(d);Nc(b,c,ob(a,d));return!0},function(a,b,c){b=Rba(b);if(b!=null){switch(typeof b){case "string":ffc(b)}Ic(a,c,1);switch(typeof b){case "number":a.encoder_.writeUint64(b);break;case "bigint":c=BigInt.asUintN(64,b);c=new dfc(Number(c&BigInt(4294967295)),Number(c>>BigInt(32)));a.encoder_.writeSplitFixed64(c.lo,c.hi);break;default:c=ffc(b),a.encoder_.writeSplitFixed64(c.lo,c.hi)}}},sfc),yfc=Mc(function(a,b,c){if(a.nextWireType_!==
5)return!1;Nc(b,c,Xec(a.decoder_));return!0},function(a,b,c){b=Dba(b);b!=null&&(Ic(a,c,5),a.encoder_.writeUint32(b))},qfc),hv=Mc(function(a,b,c){if(a.nextWireType_!==0)return!1;Nc(b,c,Yec(a.decoder_));return!0},function(a,b,c){a.writeBool(c,ub(b))},nfc),zfc=Mc(function(a,b,c){if(a.nextWireType_!==2)return!1;Nc(b,c,cfc(a));return!0},function(a,b,c){b=Qb(b);b!=null&&(b=kaa(b,!1),Ic(a,c,2),jfc(a.encoder_,b.length),Jc(a,a.encoder_.end()),Jc(a,b))},ofc),Afc=Mc(function(a,b,c){if(a.nextWireType_!==0)return!1;
Nc(b,c,ev(a.decoder_));return!0},function(a,b,c){a.writeEnum(c,Bb(b))},tfc);var iv=function(a,b,c){this.fieldIndex=a;this.ctor=c;this.isRepeated=0;this.getExtensionFn=r;this.setExtensionFn=t;this.defaultValue=void 0;this.hasMessageId=b.messageId!=null?Kc:void 0};iv.prototype.register=function(){Tdc(this)};var jv=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(jv,n);jv.prototype.getId=function(){return Oc(this,1)};jv.prototype.setId=function(a){return Vd(this,1,a)};jv.prototype.getSourceId=function(){return Zd(this,2)};jv.prototype.setSourceId=function(a){return Xd(this,2,a)};var we=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(we,n);g=we.prototype;g.getSeconds=function(){return Re(this,1)};g.getSeconds_asString=function(){return Xe(this,1)};g.setSeconds=function(a){return ll(this,1,a)};g.getNanos=function(){return Pd(this,2)};g.setNanos=function(a){return se(this,2,a)};g.fromMillis=function(a){if(!Number.isFinite(a))throw Error();var b=Math.trunc(a);a=(a-b+b%1E3)*1E6;return this.setSeconds(Math.trunc(b/1E3)).setNanos(Math.trunc(a))};var ue=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ue,n);g=ue.prototype;g.getSeconds=function(){return Re(this,1)};g.getSeconds_asString=function(){return Xe(this,1)};g.setSeconds=function(a){return ll(this,1,a)};g.getNanos=function(){return Pd(this,2)};g.setNanos=function(a){return se(this,2,a)};g.toDate=function(){var a=Number(this.getSeconds_asString()),b=this.getNanos();return new Date(a*1E3+b/1E6)};
g.fromMillis=function(a){Number.isFinite(a)||(a=0);return this.setSeconds(Math.floor(a/1E3)).setNanos((a%1E3+1E3)%1E3*1E6)};var Bfc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Bfc,n);g=Bfc.prototype;g.getUrl=function(){return Oc(this,1)};g.setUrl=function(a){return Vd(this,1,a)};g.getHeight=function(){return Pd(this,2)};g.setHeight=function(a){return se(this,2,a)};g.getWidth=function(){return Pd(this,3)};g.setWidth=function(a){return se(this,3,a)};var Cfc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Cfc,n);var Dfc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Dfc,n);var Efc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Efc,n);g=Efc.prototype;g.getEmailList=function(){return Qd(this,1,Rd())};g.setEmailList=function(a){return Wd(this,1,a)};g.addEmail=function(a){return wc(this,1,Pb,a,void 0,Qb)};g.removeEmail=function(a){return wc(this,1,Pb,void 0,a,Qb,void 0,1,!1,!0)};g.getEmail=function(){return Xu(this,1)};g.setEmail=function(a){return dv(this,1,a)};g.getGroupId=function(a){return Xu(this,2,a)};
g.setGroupId=function(a){dv(this,2,a)};var Ffc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ffc,n);var Gfc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Gfc,n);Gfc.prototype.getDownloadUrl=function(){return Oc(this,5)};var Hfc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Hfc,n);var Ifc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ifc,n);var Jfc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Jfc,n);Jfc.prototype.getPhotoId=function(){return Oc(this,1)};var Kfc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Kfc,n);var Lfc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Lfc,n);var kv=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(kv,n);kv.prototype.getAgentId=function(){return Zd(this,3)};kv.prototype.setAgentId=function(a){return Xd(this,3,a)};var lv=[2,4,5,6,7];var Mfc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Mfc,n);var Ko=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ko,n);Ko.prototype.getTypeName=function(){return Oc(this,1).split("/").pop()};Ko.prototype.getValue=function(){var a=Ke(this,2);if(Array.isArray(a)||a instanceof n)throw Error("V");return Mp(this,2)};Ko.prototype.setValue=function(a){if(a==null)a=this;else if(Array.isArray(a))a=Np(this,2,ac(a,0,cc));else if(typeof a==="string"||a instanceof Xa||Ma(a))a=ql(this,2,a);else throw Error("T`"+a);return a};var mv=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(mv,n);g=mv.prototype;g.getId=function(){return r(this,jv,1)};g.setId=function(a){return t(this,jv,1,a)};g.getName=function(){return Oc(this,2)};g.setName=function(a){return Vd(this,2,a)};g.getDescription=function(){return Oc(this,3)};g.setDescription=function(a){return Vd(this,3,a)};g.getParentId=function(){return Oc(this,4)};g.setParentId=function(a){return Vd(this,4,a)};g.getType=function(){return Zd(this,6)};
g.setType=function(a){return Xd(this,6,a)};g.getMimeType=function(){return Oc(this,7)};g.setMimeType=function(a){return Vd(this,7,a)};g.getUrl=function(){return Oc(this,8)};g.setUrl=function(a){return Vd(this,8,a)};g.getIconUrl=function(){return Oc(this,11)};g.setIconUrl=function(a){return Vd(this,11,a)};var nv=function(a){return ie(a,Bfc,10,Rd())};g=mv.prototype;g.getLastModifiedTimestamp=function(){return r(this,ue,12)};g.getVideoMetadata=function(){return r(this,Cfc,34)};
g.hasVideoMetadata=function(){return Me(this,Cfc,34)};g.setOwnedByMe=function(a){return Dl(this,39,a)};g.getOwner=function(){return Xu(this,40)};g.setOwner=function(a){return dv(this,40,a)};g.getStarred=function(){return De(this,44)};g.getVersion=function(){return Re(this,45)};g.setVersion=function(a){return ll(this,45,a)};var ov=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ov,n);g=ov.prototype;g.getShared=function(){return De(this,1)};
g.setShared=function(a){Dl(this,1,a)};g.getVideoMetadata=function(){return r(this,Cfc,3)};g.hasVideoMetadata=function(){return Me(this,Cfc,3)};g.getDownloadUrl=function(){return Oc(this,10)};var Nfc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Nfc,n);Nfc.prototype.getLabel=function(){return Oc(this,2)};Nfc.prototype.setLabel=function(a){return Vd(this,2,a)};var Ofc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ofc,n);g=Ofc.prototype;g.getStatus=function(){return Zd(this,1)};g.setStatus=function(a){return Xd(this,1,a)};g.getItemList=function(a){return ie(this,mv,2,Rd(a))};g.addItem=function(a,b){return rm(this,2,mv,a,b)};g.setItem=function(a,b){return Nu(this,2,mv,a,b)};g.removeItem=function(a){return Qu(this,2,mv,a)};g.getItemCount=function(){return Iec(this,mv,2)};
g.getInternalOnlyV1ViewInfo=function(){return r(this,Nfc,7)};var pv=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(pv,n);g=pv.prototype;g.getSourceId=function(){return Zd(this,1)};g.setSourceId=function(a){return Xd(this,1,a)};g.getName=function(){return Oc(this,8)};g.setName=function(a){return Vd(this,8,a)};g.getInternalOnlyV1ViewInfo=function(){return r(this,Nfc,18)};var Pfc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Pfc,n);g=Pfc.prototype;g.getCommand=function(){return Zd(this,1)};g.setCommand=function(a){return Xd(this,1,a)};g.getSource=function(){return r(this,pv,2)};g.setSource=function(a){return t(this,pv,2,a)};g.hasSource=function(){return Me(this,pv,2)};g.getSourceOrUndefined=function(){return Lec(this,pv,2)};g.setVisible=function(a){return Dl(this,5,a)};g.getItemList=function(a){return ie(this,mv,7,Rd(a))};
g.addItem=function(a,b){return rm(this,7,mv,a,b)};g.setItem=function(a,b){return Nu(this,7,mv,a,b)};g.removeItem=function(a){return Qu(this,7,mv,a)};g.getItemCount=function(){return Iec(this,mv,7)};g.getQuery=function(){return Oc(this,8)};g.setQuery=function(a){return Vd(this,8,a)};g.clearQuery=function(){Ou(this,8)};g.getAppId=function(){return Oc(this,9)};g.setAppId=function(a){Vd(this,9,a)};var Qfc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Qfc,n);g=Qfc.prototype;g.getCommand=function(){return Zd(this,1)};g.setCommand=function(a){return Xd(this,1,a)};g.getItemList=function(a){return ie(this,mv,4,Rd(a))};g.addItem=function(a,b){return rm(this,4,mv,a,b)};g.setItem=function(a,b){return Nu(this,4,mv,a,b)};g.removeItem=function(a){return Qu(this,4,mv,a)};g.getItemCount=function(){return Iec(this,mv,4)};var Rfc=Qc(Qfc);var Sfc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Sfc,n);var Tfc=[0,vfc,yfc,-1];var qv=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(qv,n);var rv=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(rv,n);var tEa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(tEa,n);tEa.prototype.getValue=function(){return Re(this,1)};tEa.prototype.setValue=function(a){return ll(this,1,a)};var re=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(re,n);g=re.prototype;g.getYear=function(){return Pd(this,1)};g.setYear=function(a){return se(this,1,a)};g.getMonth=function(){return Pd(this,2)};g.setMonth=function(a){return se(this,2,a)};g.getDay=function(){return Pd(this,3)};var wo=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(wo,n);var xo=function(a,b){wc(a,1,Pb,b,void 0,Qb)};var sEa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(sEa,n);sEa.prototype.getValue=function(){return Pd(this,1)};sEa.prototype.setValue=function(a){return se(this,1,a)};var vEa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(vEa,n);vEa.prototype.getValue=function(){return De(this,1)};vEa.prototype.setValue=function(a){return Dl(this,1,a)};var kp=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(kp,n);g=kp.prototype;g.getHours=function(){return Pd(this,1)};g.setHours=function(a){return se(this,1,a)};g.getMinutes=function(){return Pd(this,2)};g.setMinutes=function(a){return se(this,2,a)};g.getSeconds=function(){return Pd(this,3)};g.setSeconds=function(a){return se(this,3,a)};g.getNanos=function(){return Pd(this,4)};g.setNanos=function(a){return se(this,4,a)};var qha=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(qha,n);var uEa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(uEa,n);uEa.prototype.getValue=function(){return Oc(this,1)};uEa.prototype.setValue=function(a){return Vd(this,1,a)};var Ufc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ufc,n);g=Ufc.prototype;g.getCode=function(){return Pd(this,1)};g.setCode=function(a){return jf(this,1,a)};g.getCodeOrUndefined=function(){return Uu(this,1)};g.getMessage=function(){return Oc(this,3)};g.setMessage=function(a){return lf(this,3,a)};var Vfc=[0,Tfc,vfc];var Wda="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var Wfc=globalThis.trustedTypes,Yda=Wfc,$da;var Xc=function(a){this.privateDoNotAccessOrElseWrappedResourceUrl=a};Xc.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedResourceUrl+""};var Xfc=Fu([""]),Yfc=edc(["\x00"],["\\0"]),Zfc=edc(["\n"],["\\n"]),$fc=edc(["\x00"],["\\u0000"]);bea(function(a){return a(Xfc)})||bea(function(a){return a(Yfc)})||bea(function(a){return a(Zfc)})||bea(function(a){return a($fc)});var $c=function(a){this.privateDoNotAccessOrElseWrappedUrl=a};$c.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedUrl};var eea=new $c("about:invalid#zClosurez");var cea=function(a){this.isValid=a},dea=[cd("data"),cd("http"),cd("https"),cd("mailto"),cd("ftp"),new cea(function(a){return/^[^:]*([/?#]|$)/.test(a)})],fea=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;var fd=function(a){this.privateDoNotAccessOrElseWrappedHtml=a};fd.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedHtml+""};var Or=new fd(Wfc?Wfc.emptyHTML:"");var agc="alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");var dgc=function(a){var b=it("window.location.href");a==null&&(a='Unknown Error of type "null/undefined"');if(typeof a==="string")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=bgc(a);if(!(!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name)){c=a.message;
if(c==null){if(a.constructor&&a.constructor instanceof Function){if(a.constructor.name)c=a.constructor.name;else if(c=a.constructor,cgc[c])c=cgc[c];else{c=String(c);if(!cgc[c]){var f=/function\s+([^\(]+)/m.exec(c);cgc[c]=f?f[1]:"[Anonymous]"}c=cgc[c]}c='Unknown Error of type "'+c+'"'}else c="Unknown Error of unknown type";typeof a.toString==="function"&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())}return{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"}}return{message:a.message,
name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:b}},bgc=function(a,b){b||(b={});b[egc(a)]=!0;var c=a.stack||"",d=a.cause;d&&!b[egc(d)]&&(c+="\nCaused by: ",d.stack&&d.stack.indexOf(d.toString())==0||(c+=typeof d==="string"?d:d.message+"\n"),c+=bgc(d,b));a=a.errors;if(Array.isArray(a)){d=1;var e;for(e=0;e<a.length&&!(d>4);e++)b[egc(a[e])]||(c+="\nInner error "+d++ +": ",a[e].stack&&a[e].stack.indexOf(a[e].toString())==0||(c+=typeof a[e]==="string"?a[e]:a[e].message+"\n"),c+=bgc(a[e],
b));e<a.length&&(c+="\n... "+(a.length-e)+" more inner errors")}return c},egc=function(a){var b="";typeof a.toString==="function"&&(b=""+a);return b+a.stack},cgc={};var fgc=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&c.length>1;)d+=c.shift()+e.shift();return d+c.join("%s")},ggc=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},dPa=function(a){return!/[^0-9]/.test(a)},sv=function(a){return encodeURIComponent(String(a))},Wr=function(a){Jdc.test(a)&&(a.indexOf("&")!=-1&&(a=a.replace(Ddc,"&amp;")),a.indexOf("<")!=-1&&(a=a.replace(Edc,"&lt;")),a.indexOf(">")!=-1&&(a=a.replace(Fdc,"&gt;")),a.indexOf('"')!=
-1&&(a=a.replace(Gdc,"&quot;")),a.indexOf("'")!=-1&&(a=a.replace(Hdc,"&#39;")),a.indexOf("\x00")!=-1&&(a=a.replace(Idc,"&#0;")));return a},hgc=function(a,b){for(var c=b.length,d=0;d<c;d++){var e=c==1?b:b.charAt(d);if(a.charAt(0)==e&&a.charAt(a.length-1)==e)return a.substring(1,a.length-1)}return a},N5b=function(a,b,c){return a.replace(new RegExp(oq(b),"g"),c.replace(/\$/g,"$$$$"))},oq=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},igc=String.prototype.repeat?
function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},tv=function(a,b){if(!Number.isFinite(a))return String(a);a=String(a);var c=a.indexOf(".");c===-1&&(c=a.length);var d=a[0]==="-"?"-":"";d&&(a=a.substring(1));return d+igc("0",Math.max(0,b-c))+a},Zr=function(a){return a==null?"":String(a)},Xgb=function(){return Math.floor(Math.random()*2147483648).toString(36)+Math.abs(Math.floor(Math.random()*2147483648)^Date.now()).toString(36)},$k=function(a){var b=Number(a);return b==0&&
ja(a)?NaN:b},R$b=function(){return"height".replace(/\-([a-z])/g,function(a,b){return b.toUpperCase()})},G5b=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()},Fd=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},Bd=function(a){isFinite(a)&&(a=String(a));return typeof a==="string"?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},jgc=function(a){var b=1;a=a.split(":");for(var c=[];b>0&&a.length;)c.push(a.shift()),b--;a.length&&
c.push(a.join(":"));return c};var kgc=function(a){this.streamzService=a;this.metricName="/client_streamz/buganizer/load_time";a.addNewEventMetric(this.metricName,ld("action"),ld("frontend_access_mode"),ld("environment_type"))};kgc.prototype.record=function(a,b,c,d){this.streamzService.record(this.metricName,a,b,c,d)};kgc.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};
var lgc=function(a){this.streamzService=a;this.metricName="/client_streamz/buganizer/user_action_counts";a.addNewCounter(this.metricName,ld("action"),ld("frontend_access_mode"),ld("environment_type"))};lgc.prototype.increment=function(a,b,c){this.streamzService.incrementCounter(this.metricName,a,b,c)};lgc.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};
var mgc=function(a){this.streamzService=a;this.metricName="/client_streamz/buganizer/user_latency";a.addNewEventMetric(this.metricName,ld("action"),ld("frontend_access_mode"),ld("environment_type"))};mgc.prototype.record=function(a,b,c,d){this.streamzService.record(this.metricName,a,b,c,d)};mgc.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};var ngc=function(a){this.streamzService=a;this.metricName="/client_streamz/one_developer_workflow/events/usage";a.addNewCounter(this.metricName,ld("name"),ld("source"),{fieldType:1,fieldName:"state"})};ngc.prototype.increment=function(a,b,c){this.streamzService.incrementCounter(this.metricName,a,b,c)};ngc.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};
var ogc=function(a){this.streamzService=a;this.metricName="/client_streamz/one_developer_workflow/events/performance";a.addNewEventMetric(this.metricName,ld("source"),ld("name"))};ogc.prototype.record=function(a,b,c){this.streamzService.record(this.metricName,a,b,c)};ogc.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};
var pgc=function(a){this.streamzService=a;this.metricName="/client_streamz/one_developer_workflow/rpc/request_count";a.addNewCounter(this.metricName,ld("source"),ld("method_id"))};pgc.prototype.increment=function(a,b){this.streamzService.incrementCounter(this.metricName,a,b)};pgc.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};
var qgc=function(a){this.streamzService=a;this.metricName="/client_streamz/one_developer_workflow/rpc/error_count";a.addNewCounter(this.metricName,ld("source"),ld("method_id"),{fieldType:2,fieldName:"code"})};qgc.prototype.increment=function(a,b,c){this.streamzService.incrementCounter(this.metricName,a,b,c)};qgc.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};var uv=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(uv,n);uv.prototype.getResourcePath=function(){return Oc(this,2)};uv.prototype.setResourcePath=function(a){return Vd(this,2,a)};var Us=function(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0};Us.prototype.clone=function(){return new Us(this.x,this.y)};Us.prototype.equals=function(a){return a instanceof Us&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};var p6b=function(a,b){return new Us(a.x-b.x,a.y-b.y)};g=Us.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 Us?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),typeof b==="number"&&(this.y+=b));return this};g.scale=function(a,b){this.x*=a;this.y*=typeof b==="number"?b:a;return this};var vv=function(a,b){this.width=a;this.height=b};g=vv.prototype;g.clone=function(){return new vv(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*=typeof b==="number"?b:a;return this};var tgc=function(a,b){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a===rgc&&b||"";this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=sgc};tgc.prototype.toString=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};var sgc={},rgc={};var mea=/^[a-z][a-z\d-]*$/i,nea="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),qea="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),rea=["action","formaction","href"];var Nr=function(a){return a?new wv(Ws(a)):Bdc||(Bdc=new wv)},xv=function(a,b){return(b||document).getElementsByTagName(String(a))},yv=function(a,b,c,d){a=d||a;return(b=b&&b!="*"?String(b).toUpperCase():"")||c?a.querySelectorAll(b+(c?"."+c:"")):a.getElementsByTagName("*")},vgc=function(a,b){Rc(b,function(c,d){d=="style"?a.style.cssText=c:d=="class"?a.className=c:d=="for"?a.htmlFor=c:ugc.hasOwnProperty(d)?a.setAttribute(ugc[d],c):d.lastIndexOf("aria-",0)==0||d.lastIndexOf("data-",0)==0?a.setAttribute(d,
c):a[d]=c})},ugc={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"},zv=function(a){a=(a||window).document;a=a.compatMode=="CSS1Compat"?a.documentElement:a.body;return new vv(a.clientWidth,a.clientHeight)},wgc=function(a){return a.scrollingElement?a.scrollingElement:Cr||a.compatMode!="CSS1Compat"?a.body||a.documentElement:
a.documentElement},Vs=function(a){return a?a.defaultView:window},ygc=function(a,b,c){return xgc(document,arguments)},xgc=function(a,b){var c=b[1],d=mr(a,String(b[0]));c&&(typeof c==="string"?d.className=c:Array.isArray(c)?d.className=c.join(" "):vgc(d,c));b.length>2&&zgc(a,d,b,2);return d},zgc=function(a,b,c,d){function e(k){k&&b.appendChild(typeof k==="string"?a.createTextNode(k):k)}for(;d<c.length;d++){var f=c[d];if(!Ka(f)||La(f)&&f.nodeType>0)e(f);else{a:{if(f&&typeof f.length=="number"){if(La(f)){var h=
typeof f.item=="function"||typeof f.item=="string";break a}if(typeof f==="function"){h=typeof f.item=="function";break a}}h=!1}Ba(h?Ja(f):f,e)}}},mr=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)},Agc=function(a,b){zgc(Ws(a),a,arguments,1)},Av=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},Bv=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Bgc=function(a){return La(a)&&a.nodeType==1},I9b=function(a){return a.parentElement||
null},Ugb=function(a,b){if(!a||!b)return!1;if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a},Ws=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},Cgc=function(a){return a.contentDocument||a.contentWindow.document},Dgc=function(a,b){if("textContent"in a)a.textContent=b;else if(a.nodeType==3)a.data=String(b);else if(a.firstChild&&a.firstChild.nodeType==
3){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else Av(a),a.appendChild(Ws(a).createTextNode(String(b)))},Egc={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Fgc={IMG:" ",BR:"\n"},Ggc=function(a){a=a.tabIndex;return typeof a==="number"&&a>=0&&a<32768},Igc=function(a){var b=[];Hgc(a,b,!0);a=b.join("");a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");a=a.replace(/ +/g," ");a!=" "&&(a=a.replace(/^\s*/,""));return a},Hgc=function(a,b,c){if(!(a.nodeName in
Egc))if(a.nodeType==3)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in Fgc)b.push(Fgc[a.nodeName]);else for(a=a.firstChild;a;)Hgc(a,b,c),a=a.nextSibling},L5b=function(){var a=Vs();return a.devicePixelRatio!==void 0?a.devicePixelRatio:a.matchMedia?Jgc(3)||Jgc(2)||Jgc(1.5)||Jgc(1)||.75:1},Jgc=function(a){return Vs().matchMedia("(min-resolution: "+a+"dppx),(min--moz-device-pixel-ratio: "+a+"),(min-resolution: "+a*96+"dpi)").matches?a:0},wv=function(a){this.document_=
a||da.document||document};g=wv.prototype;g.getDomHelper=Nr;g.getElement=function(a){var b=this.document_;return typeof a==="string"?b.getElementById(a):a};g.$=wv.prototype.getElement;g.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};g.getElementsByTagNameAndClass=function(a,b,c){return yv(this.document_,a,b,c)};g.$$=wv.prototype.getElementsByTagNameAndClass;g.setProperties=vgc;g.getViewportSize=function(a){return zv(a||this.getWindow())};
g.createDom=function(a,b,c){return xgc(this.document_,arguments)};g.createElement=function(a){return mr(this.document_,a)};g.createTextNode=function(a){return this.document_.createTextNode(String(a))};g.getWindow=function(){return this.document_.defaultView};var Kgc=function(a){var b=a.document_;a=wgc(b);b=b.defaultView;return new Us((b==null?void 0:b.pageXOffset)||a.scrollLeft,(b==null?void 0:b.pageYOffset)||a.scrollTop)};g=wv.prototype;g.appendChild=function(a,b){a.appendChild(b)};g.append=Agc;
g.canHaveChildren=function(a){if(a.nodeType!=1)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.removeNode=Bv;
g.getChildren=function(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes,function(b){return b.nodeType==1})};g.getParentElement=I9b;g.contains=Ugb;g.isFocusable=function(a){return a.tagName=="A"&&a.hasAttribute("href")||a.tagName=="INPUT"||a.tagName=="TEXTAREA"||a.tagName=="SELECT"||a.tagName=="BUTTON"?!a.disabled&&(!a.hasAttribute("tabindex")||Ggc(a)):a.hasAttribute("tabindex")&&Ggc(a)};var Cv=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:function(a){return a};var Lgc=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};Lgc.prototype.get=function(){if(this.occupants_>0){this.occupants_--;var a=this.head_;this.head_=a.next;a.next=null}else a=this.create_();return a};Lgc.prototype.put=function(a){this.reset_(a);this.occupants_<this.limit_&&(this.occupants_++,a.next=this.head_,this.head_=a)};var Mgc=[],Ngc=[],Ogc=!1,Pgc=function(a){Mgc[Mgc.length]=a;if(Ogc)for(var b=0;b<Ngc.length;b++)a(ut(Ngc[b].wrap,Ngc[b]))};Pgc(function(){});var Qgc=function(){this.workTail_=this.workHead_=null};Qgc.prototype.add=function(a,b){var c=uea.get();c.set(a,b);this.workTail_?this.workTail_.next=c:this.workHead_=c;this.workTail_=c};Qgc.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 uea=new Lgc(function(){return new Rgc},function(a){return a.reset()}),Rgc=function(){this.next=this.scope=this.fn=null};
Rgc.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};Rgc.prototype.reset=function(){this.next=this.scope=this.fn=null};var Sgc,vea=!1,tea=new Qgc,Dv=function(a,b){Sgc||Tgc();vea||(Sgc(),vea=!0);tea.add(a,b)},Tgc=function(){var a=Promise.resolve(void 0);Sgc=function(){a.then(wea)}};var Ugc=function(a){return function(){return a}},Ev=function(){},Vgc=function(a){return a},Fv=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)}},Wgc=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 k=e;e=[];a.apply(void 0,k)};return function(k){e=arguments;c?d=!0:h()}},Xgc=function(a){var b=0,c=function(){b=0};return function(d){b||(b=da.setTimeout(c,1E3),a.apply(void 0,
arguments))}};var Ygc=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Hv=function(a){this.state_=0;this.result_=void 0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.hadUnhandledRejection_=this.executing_=!1;if(a!=Ev)try{var b=this;a.call(void 0,function(c){Gv(b,2,c)},function(c){Gv(b,3,c)})}catch(c){Gv(this,3,c)}},Zgc=function(){this.next=this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};Zgc.prototype.reset=function(){this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};
var $gc=new Lgc(function(){return new Zgc},function(a){a.reset()}),ahc=function(a,b,c){var d=$gc.get();d.onFulfilled=a;d.onRejected=b;d.context=c;return d},bhc=function(a){if(a instanceof Hv)return a;var b=new Hv(Ev);Gv(b,2,a);return b},chc=function(a){return new Hv(function(b,c){c(a)})},ehc=function(a,b,c){dhc(a,b,c,null)||Dv(Ku(b,a))},fhc=function(a){return new Hv(function(b,c){var d=a.length,e=[];if(d)for(var f=function(u,A){d--;e[u]=A;d==0&&b(e)},h=function(u){c(u)},k,q=0;q<a.length;q++)k=a[q],
ehc(k,Ku(f,q),h);else b(e)})},ghc=function(a){return new Hv(function(b,c){var d=a.length,e=[];if(d)for(var f=function(u){b(u)},h=function(u,A){d--;e[u]=A;d==0&&c(e)},k,q=0;q<a.length;q++)k=a[q],ehc(k,f,Ku(h,q));else b(void 0)})},ihc=function(){var a,b,c=new Hv(function(d,e){a=d;b=e});return new hhc(c,a,b)};Hv.prototype.then=function(a,b,c){return jhc(this,Cv(typeof a==="function"?a:null),Cv(typeof b==="function"?b:null),c)};Hv.prototype.$goog_Thenable=!0;
var lhc=function(a,b,c,d){khc(a,ahc(b||Ev,c||null,d))};Hv.prototype.finally=function(a){var b=this;a=Cv(a);return new Hv(function(c,d){lhc(b,function(e){a();c(e)},function(e){a();d(e)})})};Hv.prototype.thenCatch=function(a,b){return jhc(this,null,Cv(a),b)};Hv.prototype.catch=Hv.prototype.thenCatch;Hv.prototype.cancel=function(a){if(this.state_==0){var b=new mhc(a);Dv(function(){nhc(this,b)},this)}};
var nhc=function(a,b){if(a.state_==0)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&&d>1)));h=h.next)e||(f=h);e&&(c.state_==0&&d==1?nhc(c,b):(f?(d=f,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):ohc(c),phc(c,e,3,b)))}a.parent_=null}else Gv(a,3,b)},khc=function(a,b){a.callbackEntries_||a.state_!=2&&a.state_!=3||qhc(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_=
b;a.callbackEntriesTail_=b},jhc=function(a,b,c,d){var e=ahc(null,null,null);e.child=new Hv(function(f,h){e.onFulfilled=b?function(k){try{var q=b.call(d,k);f(q)}catch(u){h(u)}}:f;e.onRejected=c?function(k){try{var q=c.call(d,k);q===void 0&&k instanceof mhc?h(k):f(q)}catch(u){h(u)}}:h});e.child.parent_=a;khc(a,e);return e.child};Hv.prototype.unblockAndFulfill_=function(a){this.state_=0;Gv(this,2,a)};Hv.prototype.unblockAndReject_=function(a){this.state_=0;Gv(this,3,a)};
var Gv=function(a,b,c){a.state_==0&&(a===c&&(b=3,c=new TypeError("ba")),a.state_=1,dhc(c,a.unblockAndFulfill_,a.unblockAndReject_,a)||(a.result_=c,a.state_=b,a.parent_=null,qhc(a),b!=3||c instanceof mhc||rhc(a,c)))},dhc=function(a,b,c,d){if(a instanceof Hv)return lhc(a,b,c,d),!0;if(Ygc(a))return a.then(b,c,d),!0;if(La(a))try{var e=a.then;if(typeof e==="function")return shc(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},shc=function(a,b,c,d,e){var f=!1,h=function(q){f||(f=!0,c.call(e,q))},
k=function(q){f||(f=!0,d.call(e,q))};try{b.call(a,h,k)}catch(q){k(q)}},qhc=function(a){a.executing_||(a.executing_=!0,Dv(a.executeCallbacks_,a))},ohc=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};Hv.prototype.executeCallbacks_=function(){for(var a;a=ohc(this);)phc(this,a,this.state_,this.result_);this.executing_=!1};
var phc=function(a,b,c,d){if(c==3&&b.onRejected&&!b.always)for(;a&&a.hadUnhandledRejection_;a=a.parent_)a.hadUnhandledRejection_=!1;if(b.child)b.child.parent_=null,thc(b,c,d);else try{b.always?b.onFulfilled.call(b.context):thc(b,c,d)}catch(e){uhc.call(null,e)}$gc.put(b)},thc=function(a,b,c){b==2?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},rhc=function(a,b){a.hadUnhandledRejection_=!0;Dv(function(){a.hadUnhandledRejection_&&uhc.call(null,b)})},uhc=ea,mhc=function(a){ba.call(this,
a);this.reportErrorToServer=!1};Lu(mhc,ba);mhc.prototype.name="cancel";var hhc=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};var vhc=function(a){this.servicePromise_=a;a.then(ut(function(){},this),function(){},this)},whc=function(a,b,c){return a.servicePromise_.then(function(d){var e=d[b];if(!e)throw Error("ca`"+b);return e.apply(d,c)})},zhc=function(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];e=xhc(a,b).then(function(f){return f.apply(null,d)},function(f){f=Error("da`"+b+"`"+a+"`"+f,{cause:f});delete yhc[b];return chc(f)});return new vhc(e)},yhc={},xhc=function(a,b){var c=
yhc[b];if(c)return c;c=(c=it(b))?bhc(c):(new Hv(function(d,e){var f=(new wv(document)).createElement("SCRIPT");f.async=!0;kd(f,Yc(a instanceof tgc&&a.constructor===tgc&&a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===sgc?a.stringConstValueWithSecurityContract__googStringSecurityPrivate_:"type_error:Const"));f.onload=f.onreadystatechange=function(){f.readyState&&f.readyState!="loaded"&&f.readyState!="complete"||d()};f.onerror=function(h){e(Error("ea`"+b+"`"+a,{cause:h}))};(document.head||
document.getElementsByTagName("head")[0]).appendChild(f)})).then(function(){var d=it(b);if(!d)throw Error("fa`"+b+"`"+a);return d});return yhc[b]=c};var Ahc={GOOGLE:"https://www.google.com",SUPPORT:"https://support.google.com",PLAY:"https://play.google.com"},Chc=function(){var a=this;this.rsaForList=[];this.rsaForPromises=[];this.initialize=xea(function(){return v(function(b){if(b.nextAddress==1)return typeof document==="undefined"||document.requestStorageAccessFor===void 0||navigator.permissions===void 0||navigator.permissions.query===void 0||location.hostname.match(".+\\.google\\.com$")?b.return(Promise.resolve()):w(b,Bhc(a),2);a.rsaForList.length>
0&&document.addEventListener("click",a.requestAccessForHelpPanel);ji(b)})});this.requestAccessForHelpPanel=function(){if(!(a.rsaForPromises.length>0)){for(var b=l(a.rsaForList),c=b.next();!c.done;c=b.next()){c=c.value;try{a.rsaForPromises.push(document.requestStorageAccessFor(c))}catch(d){}}Promise.all(a.rsaForPromises).then(function(){}).catch(function(){}).finally(function(){a.reset()})}}};Chc.prototype.reset=function(){document.removeEventListener("click",this.requestAccessForHelpPanel)};
var Bhc=function(a){var b,c,d,e;return v(function(f){switch(f.nextAddress){case 1:b=l(Object.values(Ahc)),c=b.next();case 2:if(c.done){f.jumpTo(0);break}d=c.value;ei(f,5);return w(f,navigator.permissions.query({name:"top-level-storage-access",requestedOrigin:d}),7);case 7:e=f.yieldResult;e.state!=="granted"&&a.rsaForList.push(d);Iu(f,3);break;case 5:ii(f);f.jumpTo(0);break;case 3:c=b.next(),f.jumpTo(2)}})};(new Chc).initialize();var Dhc=function(a){this.loader_=a};Dhc.prototype.startFeedback=function(a){whc(this.loader_,"startFeedback",arguments)};Dhc.prototype.requestSurvey=function(a){whc(this.loader_,"requestSurvey",arguments).thenCatch(function(){},this)};Dhc.prototype.presentSurvey=function(a){whc(this.loader_,"presentSurvey",arguments).thenCatch(function(){},this)};var Ehc=new tgc(rgc,"https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");xhc(Ehc,"help.service.Lazy.create").thenCatch(function(){});var Fhc={ACCESS_LEVEL_UNSPECIFIED:"ACCESS_LEVEL_UNSPECIFIED",INTERNAL:"INTERNAL",EXTERNAL_PARTNER:"EXTERNAL_PARTNER",EXTERNAL_PUBLIC:"EXTERNAL_PUBLIC"},yta={0:"ACCESS_LEVEL_UNSPECIFIED",1:"INTERNAL",2:"EXTERNAL_PARTNER",3:"EXTERNAL_PUBLIC"},Ghc={},Ata=(Ghc.ACCESS_LEVEL_UNSPECIFIED=0,Ghc.INTERNAL=1,Ghc.EXTERNAL_PARTNER=2,Ghc.EXTERNAL_PUBLIC=3,Ghc),Hhc={ACTION_TYPE_UNSPECIFIED:"ACTION_TYPE_UNSPECIFIED",ADD:"ADD",REMOVE:"REMOVE"},Ihc={},uDa=(Ihc.ACTION_TYPE_UNSPECIFIED=0,Ihc.ADD=1,Ihc.REMOVE=2,Ihc),
nHa={0:"CATEGORY_UNSPECIFIED",1:"OWNER",2:"COLLABORATOR",3:"FOLLOWING"},Sga={0:"CHANGELIST_SIGNAL_UNSPECIFIED",1:"THREAD_MENTIONS_ME",2:"IDLE_FOR_HOURS",3:"AUTHOR_GOING_OOO",4:"NEEDS_ATTENTION",5:"NUDGED",6:"READY_TO_SUBMIT",7:"CHANGELIST_MANUAL_SIGNAL",8:"CHANGELIST_SNOOZE_EXPIRED"},Iv={},Jga=(Iv.CHANGELIST_SIGNAL_UNSPECIFIED=0,Iv.THREAD_MENTIONS_ME=1,Iv.IDLE_FOR_HOURS=2,Iv.AUTHOR_GOING_OOO=3,Iv.NEEDS_ATTENTION=4,Iv.NUDGED=5,Iv.READY_TO_SUBMIT=6,Iv.CHANGELIST_MANUAL_SIGNAL=7,Iv.CHANGELIST_SNOOZE_EXPIRED=
8,Iv),rHa={0:"CHANGELIST_SIGNAL_UNSPECIFIED",1:"THREAD_MENTIONS_ME",2:"IDLE_FOR_HOURS",3:"AUTHOR_GOING_OOO",4:"NEEDS_ATTENTION",5:"NUDGED",6:"READY_TO_SUBMIT",7:"CHANGELIST_MANUAL_SIGNAL",8:"CHANGELIST_SNOOZE_EXPIRED"},Jv={},LHa=(Jv.CHANGELIST_SIGNAL_UNSPECIFIED=0,Jv.THREAD_MENTIONS_ME=1,Jv.IDLE_FOR_HOURS=2,Jv.AUTHOR_GOING_OOO=3,Jv.NEEDS_ATTENTION=4,Jv.NUDGED=5,Jv.READY_TO_SUBMIT=6,Jv.CHANGELIST_MANUAL_SIGNAL=7,Jv.CHANGELIST_SNOOZE_EXPIRED=8,Jv),rfa={COMMENT_FORMATTING_MODE_UNSPECIFIED:"COMMENT_FORMATTING_MODE_UNSPECIFIED",
PLAIN_FORMATTING_MODE:"PLAIN_FORMATTING_MODE",MARKDOWN_FORMATTING_MODE:"MARKDOWN_FORMATTING_MODE",LITERAL_FORMATTING_MODE:"LITERAL_FORMATTING_MODE"},Wfa={0:"COMMENT_FORMATTING_MODE_UNSPECIFIED",1:"PLAIN_FORMATTING_MODE",2:"MARKDOWN_FORMATTING_MODE",3:"LITERAL_FORMATTING_MODE"},Jhc={},qga=(Jhc.COMMENT_FORMATTING_MODE_UNSPECIFIED=0,Jhc.PLAIN_FORMATTING_MODE=1,Jhc.MARKDOWN_FORMATTING_MODE=2,Jhc.LITERAL_FORMATTING_MODE=3,Jhc),Kva={0:"CONFIDENCE_LEVEL_UNSPECIFIED",1:"VERY_HIGH",2:"HIGH",3:"MEDIUM",4:"LOW"},
Kv={},Nva=(Kv.CONFIDENCE_LEVEL_UNSPECIFIED=0,Kv.VERY_HIGH=1,Kv.HIGH=2,Kv.MEDIUM=3,Kv.LOW=4,Kv),Khc={DAY_TYPE_UNSPECIFIED:"DAY_TYPE_UNSPECIFIED",CALENDAR:"CALENDAR",BUSINESS:"BUSINESS"},Gua={0:"DAY_TYPE_UNSPECIFIED",1:"CALENDAR",2:"BUSINESS"},Lhc={},Iua=(Lhc.DAY_TYPE_UNSPECIFIED=0,Lhc.CALENDAR=1,Lhc.BUSINESS=2,Lhc),gva={0:"DELETION_REASON_UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"RESTRICTED",4:"RETENTION",5:"ACCOUNT_CAPABILITIES"},Lv={},nva=(Lv.DELETION_REASON_UNSPECIFIED=0,Lv.USER_REQUEST=1,Lv.ABUSE=
2,Lv.RESTRICTED=3,Lv.RETENTION=4,Lv.ACCOUNT_CAPABILITIES=5,Lv),Mhc={COMFORTABLE:"COMFORTABLE",COZY:"COZY",COMPACT:"COMPACT"},Ifa={1:"COMFORTABLE",2:"COZY",3:"COMPACT"},Nhc={},oga=(Nhc.COMFORTABLE=1,Nhc.COZY=2,Nhc.COMPACT=3,Nhc),ZHa={0:"NO_DETAILED_TYPE",1:"UNRESTRICTED_GOOGLER",2:"TVC",3:"EXTERNAL",4:"PUBLIC",5:"ISSUE_CREATION_ONLY"},kHa={0:"DRIVE_FILE_TYPE_UNSPECIFIED",1:"DOCUMENT",2:"SPREADSHEET",3:"PRESENTATION"},Qga={0:"DRIVE_SIGNAL_UNSPECIFIED",1:"TAGGED_IN_COMMENT",2:"REQUIRES_APPROVAL",3:"COMMENTS_REQUIRE_ATTENTION",
4:"DRIVE_MANUAL_SIGNAL",5:"DRIVE_SNOOZE_EXPIRED"},Mv={},Fga=(Mv.DRIVE_SIGNAL_UNSPECIFIED=0,Mv.TAGGED_IN_COMMENT=1,Mv.REQUIRES_APPROVAL=2,Mv.COMMENTS_REQUIRE_ATTENTION=3,Mv.DRIVE_MANUAL_SIGNAL=4,Mv.DRIVE_SNOOZE_EXPIRED=5,Mv),pHa={0:"DRIVE_SIGNAL_UNSPECIFIED",1:"TAGGED_IN_COMMENT",2:"REQUIRES_APPROVAL",3:"COMMENTS_REQUIRE_ATTENTION",4:"DRIVE_MANUAL_SIGNAL",5:"DRIVE_SNOOZE_EXPIRED"},Nv={},JHa=(Nv.DRIVE_SIGNAL_UNSPECIFIED=0,Nv.TAGGED_IN_COMMENT=1,Nv.REQUIRES_APPROVAL=2,Nv.COMMENTS_REQUIRE_ATTENTION=3,
Nv.DRIVE_MANUAL_SIGNAL=4,Nv.DRIVE_SNOOZE_EXPIRED=5,Nv),iua={0:"EDIT_SIGNIFICANCE_UNSPECIFIED",1:"SILENT",2:"MINOR",3:"MAJOR",4:"BULK",5:"CLOSING"},Qv={},mua=(Qv.EDIT_SIGNIFICANCE_UNSPECIFIED=0,Qv.SILENT=1,Qv.MINOR=2,Qv.MAJOR=3,Qv.BULK=4,Qv.CLOSING=5,Qv),lQb={0:"ELIGIBILITY_STATE_UNSPECIFIED",1:"INELIGIBLE",2:"ELIGIBLE_NOT_STARTED",3:"EXISTING",4:"INELIGIBLE_EXISTING"},Vfa={0:"UNKNOWN_PRIORITY",4:"CLOSURE_ONLY",1:"MINIMAL",2:"IMPORTANT",3:"ALL"},Rv={},nf=(Rv.UNKNOWN_PRIORITY=0,Rv.CLOSURE_ONLY=4,Rv.MINIMAL=
1,Rv.IMPORTANT=2,Rv.ALL=3,Rv),Ohc={ENRICHMENT_FEEDBACK_TYPE_UNSPECIFIED:"ENRICHMENT_FEEDBACK_TYPE_UNSPECIFIED",THUMBS_UP:"THUMBS_UP",THUMBS_DOWN:"THUMBS_DOWN",OPEN:"OPEN",CLOSE:"CLOSE",COPY:"COPY",CLOSE_AS_DUPLICATE:"CLOSE_AS_DUPLICATE",ISSUE_HOVERCARD:"ISSUE_HOVERCARD",GO_TO_ISSUE:"GO_TO_ISSUE",DELETE:"DELETE",VIEW:"VIEW",IMPRESSION:"IMPRESSION",COPY_DEEP_LINK:"COPY_DEEP_LINK"},Sv={},Gya=(Sv.ENRICHMENT_FEEDBACK_TYPE_UNSPECIFIED=0,Sv.THUMBS_UP=1,Sv.THUMBS_DOWN=2,Sv.OPEN=3,Sv.CLOSE=4,Sv.COPY=5,Sv.CLOSE_AS_DUPLICATE=
6,Sv.ISSUE_HOVERCARD=7,Sv.GO_TO_ISSUE=8,Sv.DELETE=9,Sv.VIEW=10,Sv.IMPRESSION=11,Sv.COPY_DEEP_LINK=12,Sv),Hfa={0:"DEFAULT",1:"ASSIGNMENT",2:"RESPONSE",3:"CLOSURE"},Phc={},nga=(Phc.DEFAULT=0,Phc.ASSIGNMENT=1,Phc.RESPONSE=2,Phc.CLOSURE=3,Phc),Qhc={EVENT_TYPE_UNSPECIFIED:"EVENT_TYPE_UNSPECIFIED",EVENT_TYPE_IMPRESSION:"EVENT_TYPE_IMPRESSION",EVENT_TYPE_VIEW:"EVENT_TYPE_VIEW",EVENT_TYPE_ACCEPT:"EVENT_TYPE_ACCEPT",EVENT_TYPE_PARTIALLY_ACCEPT:"EVENT_TYPE_PARTIALLY_ACCEPT",EVENT_TYPE_REJECT:"EVENT_TYPE_REJECT",
EVENT_TYPE_OPEN:"EVENT_TYPE_OPEN",EVENT_TYPE_CLOSE:"EVENT_TYPE_CLOSE",EVENT_TYPE_THUMBS_UP:"EVENT_TYPE_THUMBS_UP",EVENT_TYPE_THUMBS_DOWN:"EVENT_TYPE_THUMBS_DOWN",EVENT_TYPE_COPY:"EVENT_TYPE_COPY",EVENT_TYPE_FEEDBACK:"EVENT_TYPE_FEEDBACK",EVENT_TYPE_DELETE:"EVENT_TYPE_DELETE",EVENT_TYPE_DISPLAYED_DURING_ISSUE_CREATION:"EVENT_TYPE_DISPLAYED_DURING_ISSUE_CREATION",EVENT_TYPE_CLOSE_AS_DUPLICATE:"EVENT_TYPE_CLOSE_AS_DUPLICATE",EVENT_TYPE_ISSUE_HOVERCARD:"EVENT_TYPE_ISSUE_HOVERCARD",EVENT_TYPE_GO_TO_ISSUE:"EVENT_TYPE_GO_TO_ISSUE",
EVENT_TYPE_COPY_DEEP_LINK:"EVENT_TYPE_COPY_DEEP_LINK"},Tv={},Rhc=(Tv.EVENT_TYPE_UNSPECIFIED=0,Tv.EVENT_TYPE_IMPRESSION=5,Tv.EVENT_TYPE_VIEW=1,Tv.EVENT_TYPE_ACCEPT=2,Tv.EVENT_TYPE_PARTIALLY_ACCEPT=6,Tv.EVENT_TYPE_REJECT=3,Tv.EVENT_TYPE_OPEN=7,Tv.EVENT_TYPE_CLOSE=8,Tv.EVENT_TYPE_THUMBS_UP=9,Tv.EVENT_TYPE_THUMBS_DOWN=10,Tv.EVENT_TYPE_COPY=11,Tv.EVENT_TYPE_FEEDBACK=12,Tv.EVENT_TYPE_DELETE=13,Tv.EVENT_TYPE_DISPLAYED_DURING_ISSUE_CREATION=4,Tv.EVENT_TYPE_CLOSE_AS_DUPLICATE=14,Tv.EVENT_TYPE_ISSUE_HOVERCARD=
15,Tv.EVENT_TYPE_GO_TO_ISSUE=16,Tv.EVENT_TYPE_COPY_DEEP_LINK=17,Tv),Shc={},RDa=(Shc.QUERY_UNSPECIFIED=0,Shc.QUERY_TRIAGE_PHASE=1,Shc.QUERY_CLUSTER=2,Shc),Thc={},UDa=(Thc.SORT_UNSPECIFIED=0,Thc.SORT_TRIAGE_PHASE=1,Thc),Uv={},Uhc=(Uv.FEATURE_UNSPECIFIED=0,Uv.FEATURE_ISSUE_DEDUPLICATION=1,Uv.FEATURE_HOTLIST=2,Uv.FEATURE_ISSUE_DEDUPLICATION_BATCH=3,Uv.FEATURE_NEEDS_INFO=4,Uv.FEATURE_COMPONENT_ROUTING=5,Uv.FEATURE_ANY_ISSUE_EDIT=11,Uv.FEATURE_INSIGHT=6,Uv.FEATURE_ATTACHMENT_ANALYSIS=7,Uv.FEATURE_SIMILAR_ISSUES=
8,Uv.FEATURE_SUMMARY=10,Uv.FEATURE_HELP_ME_FIX=9,Uv),JFb={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",70:"INSIGHT",
71:"ATTACHMENT_ANALYSIS",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",69:"ATTACHMENT_COUNT",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",58:"ACCESS_LEVEL",59:"DESCENDANT_COUNT",60:"OPEN_DESCENDANT_COUNT",61:"ONE_DAY_VIEW_COUNT",62:"SEVEN_DAY_VIEW_COUNT",63:"THIRTY_DAY_VIEW_COUNT",64:"STAFFING_USER",65:"STAFFING_USER_COUNT",66:"STAFFING_PLACEHOLDER",67:"STAFFING_PLACEHOLDER_COUNT",68:"ESCALATION_OWNER"},Aza={0:"FIELD_ORDERING_UNSPECIFIED",1:"INHERITED",2:"CUSTOMIZED"},Vhc={},Whc=(Vhc.FIELD_ORDERING_UNSPECIFIED=0,Vhc.INHERITED=1,Vhc.CUSTOMIZED=2,Vhc),Xhc={FIELD_STATE_UNSPECIFIED:"FIELD_STATE_UNSPECIFIED",INHERIT:"INHERIT",
DISABLED:"DISABLED",ENABLED:"ENABLED"},dza={0:"FIELD_STATE_UNSPECIFIED",1:"INHERIT",2:"DISABLED",3:"ENABLED"},Yhc={},Zhc=(Yhc.FIELD_STATE_UNSPECIFIED=0,Yhc.INHERIT=1,Yhc.DISABLED=2,Yhc.ENABLED=3,Yhc),$hc={},aic=($hc.UNSPECIFIED_FORMATTING_AUDIENCE=0,$hc.INTERNAL=1,$hc.EXTERNAL=2,$hc),ke={UNSPECIFIED_FORMATTING_MODE:"UNSPECIFIED_FORMATTING_MODE",PLAIN:"PLAIN",MARKDOWN:"MARKDOWN",LITERAL:"LITERAL"},Iza={0:"UNSPECIFIED_FORMATTING_MODE",1:"PLAIN",2:"MARKDOWN",3:"LITERAL"},Rga={0:"GERRIT_CHANGE_SIGNAL_UNSPECIFIED",
1:"GERRIT_CHANGE_NEEDS_ATTENTION",2:"GERRIT_CHANGE_READY_TO_SUBMIT",3:"GERRIT_MANUAL_SIGNAL",4:"GERRIT_SNOOZE_EXPIRED"},Vv={},Hga=(Vv.GERRIT_CHANGE_SIGNAL_UNSPECIFIED=0,Vv.GERRIT_CHANGE_NEEDS_ATTENTION=1,Vv.GERRIT_CHANGE_READY_TO_SUBMIT=2,Vv.GERRIT_MANUAL_SIGNAL=3,Vv.GERRIT_SNOOZE_EXPIRED=4,Vv),BHa={0:"GERRIT_CHANGE_SIGNAL_UNSPECIFIED",1:"GERRIT_CHANGE_NEEDS_ATTENTION",2:"GERRIT_CHANGE_READY_TO_SUBMIT",3:"GERRIT_MANUAL_SIGNAL",4:"GERRIT_SNOOZE_EXPIRED"},Wv={},NHa=(Wv.GERRIT_CHANGE_SIGNAL_UNSPECIFIED=
0,Wv.GERRIT_CHANGE_NEEDS_ATTENTION=1,Wv.GERRIT_CHANGE_READY_TO_SUBMIT=2,Wv.GERRIT_MANUAL_SIGNAL=3,Wv.GERRIT_SNOOZE_EXPIRED=4,Wv),Tga={0:"GOOGLE_TASKS_SIGNAL_UNSPECIFIED",1:"DUE_SOON",2:"DUE_DATE_EXPIRED",3:"GOOGLE_TASKS_MANUAL_SIGNAL",4:"GOOGLE_TASKS_SNOOZE_EXPIRED"},Xv={},Lga=(Xv.GOOGLE_TASKS_SIGNAL_UNSPECIFIED=0,Xv.DUE_SOON=1,Xv.DUE_DATE_EXPIRED=2,Xv.GOOGLE_TASKS_MANUAL_SIGNAL=3,Xv.GOOGLE_TASKS_SNOOZE_EXPIRED=4,Xv),bic={INVOLVEMENT_UNSPECIFIED:"INVOLVEMENT_UNSPECIFIED",HIGH:"HIGH",MEDIUM:"MEDIUM",
LOW:"LOW",ZERO:"ZERO"},Uga={0:"IRM_SIGNAL_UNSPECIFIED",1:"IRM_MANUAL_SIGNAL",2:"IRM_SNOOZE_EXPIRED",3:"IRM_SEND_POSTMORTEM_FOR_REVIEW",4:"IRM_REVIEW_POSTMORTEM"},Yv={},Nga=(Yv.IRM_SIGNAL_UNSPECIFIED=0,Yv.IRM_MANUAL_SIGNAL=1,Yv.IRM_SNOOZE_EXPIRED=2,Yv.IRM_SEND_POSTMORTEM_FOR_REVIEW=3,Yv.IRM_REVIEW_POSTMORTEM=4,Yv),Xlb={0:"ISSUE_CATEGORY_UNSPECIFIED",1:"ISSUE_CATEGORY_UNSUPPORTED",2:"ISSUE_CATEGORY_STACK_TRACES",3:"ISSUE_CATEGORY_ADS",4:"ISSUE_CATEGORY_GAR",5:"ISSUE_CATEGORY_PIXEL",6:"ISSUE_CATEGORY_BORG_SRE",
7:"ISSUE_CATEGORY_CLOUD_SRE",8:"ISSUE_CATEGORY_GCP",9:"ISSUE_CATEGORY_DIALER",10:"ISSUE_CATEGORY_EDSENSE",11:"ISSUE_CATEGORY_VERTEX_AI_SUPPORT",12:"ISSUE_CATEGORY_CLOUD_AI_RETAIL_SUPPORT",13:"ISSUE_CATEGORY_ANDROID_BLUE_SIGHT",14:"ISSUE_CATEGORY_ANDROID_COASTGUARD",15:"ISSUE_CATEGORY_CORE_PROCUREMENT_WORKS",16:"ISSUE_CATEGORY_NEXUS_ERROR_HELPER",17:"ISSUE_CATEGORY_CORE_BOQ_WEB",18:"ISSUE_CATEGORY_CORE_WIPEOUT_COMPLIANCE",19:"ISSUE_CATEGORY_ANDROID_SILICON_ENGPROD",20:"ISSUE_CATEGORY_CORE_LOGS_SRE",
21:"ISSUE_CATEGORY_GEO_DATA_ACCESS_API_ONBOARDING",22:"ISSUE_CATEGORY_CLOUD_NETWORKING_STAGING",23:"ISSUE_CATEGORY_FIREBASE_MESSAGING",24:"ISSUE_CATEGORY_GAR_MOBILE_PLATFORM",25:"ISSUE_CATEGORY_CLOUD_VERTEX_VECTOR_SEARCH",26:"ISSUE_CATEGORY_GCS_METERING_SUPPORT",27:"ISSUE_CATEGORY_WCAG_WEB_PLATFORM",28:"ISSUE_CATEGORY_DEFAULT_DEBUG_DEITY",29:"ISSUE_CATEGORY_THREAD_NETWORK",30:"ISSUE_CATEGORY_EDACLOUD_OPS",31:"ISSUE_CATEGORY_MESSAGES_ENGOPS_TRIAGE",32:"ISSUE_CATEGORY_BAP_SRE",33:"ISSUE_CATEGORY_GCP_RIDGELINE_ENGINEERING",
34:"ISSUE_CATEGORY_GCBP_WEB",35:"ISSUE_CATEGORY_YOUTUBE_ORCA",36:"ISSUE_CATEGORY_CLOUD_PLATFORM_APIGEE",37:"ISSUE_CATEGORY_FITBIT_LABS"},cic={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",INCIDENT:"INCIDENT",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",ESCALATION_OWNER:"ESCALATION_OWNER",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",ACCESS_LEVEL:"ACCESS_LEVEL",DESCENDANT_COUNT:"DESCENDANT_COUNT",OPEN_DESCENDANT_COUNT:"OPEN_DESCENDANT_COUNT",ONE_DAY_VIEW_COUNT:"ONE_DAY_VIEW_COUNT",SEVEN_DAY_VIEW_COUNT:"SEVEN_DAY_VIEW_COUNT",
THIRTY_DAY_VIEW_COUNT:"THIRTY_DAY_VIEW_COUNT",RELATIVE_MODIFIED_TIME:"RELATIVE_MODIFIED_TIME",ALERTS:"ALERTS",TIMEFRAME:"TIMEFRAME",PROGRESS:"PROGRESS",TRIAGER:"TRIAGER",ENRICHMENT_CATEGORIES:"ENRICHMENT_CATEGORIES"},Ufa={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",58:"INCIDENT",32:"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:"CANONICAL_ISSUE_ID",51:"ESCALATION_OWNER",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",33:"MIN_SLO",35:"ASSIGNMENT_SLO",36:"RESPONSE_SLO",37:"CLOSURE_SLO",39:"TEAM",40:"ESTIMATE",41:"ESTIMATE_TOTAL_OPEN",42:"ESTIMATE_TOTAL_COMPLETE",45:"ACCESS_LEVEL",
46:"DESCENDANT_COUNT",47:"OPEN_DESCENDANT_COUNT",48:"ONE_DAY_VIEW_COUNT",49:"SEVEN_DAY_VIEW_COUNT",50:"THIRTY_DAY_VIEW_COUNT",52:"RELATIVE_MODIFIED_TIME",53:"ALERTS",54:"TIMEFRAME",55:"PROGRESS",56:"TRIAGER",57:"ENRICHMENT_CATEGORIES"},Zv={},xga=(Zv.ISSUE_ID=1,Zv.COMPONENT_PATH=2,Zv.TYPE=3,Zv.STATUS=4,Zv.PRIORITY=5,Zv.SEVERITY=6,Zv.REPORTER=7,Zv.ASSIGNEE=8,Zv.VERIFIER=9,Zv.CC=10,Zv.COLLABORATOR=43,Zv.CHANGELIST=11,Zv.INCIDENT=58,Zv.POSTMORTEM=32,Zv.BLOCKING_ISSUE_ID=12,Zv.BLOCKED_BY_ISSUE_ID=13,Zv.CREATED_TIME=
14,Zv.MODIFIED_TIME=15,Zv.RESOLVED_TIME=16,Zv.VERIFIED_TIME=17,Zv.DELETION_TIME=38,Zv.TITLE=18,Zv.FOUND_IN_VERSION=19,Zv.TARGETED_TO_VERSION=20,Zv.VERIFIED_IN_VERSION=21,Zv.IN_PROD=22,Zv.CANONICAL_ISSUE_ID=23,Zv.ESCALATION_OWNER=51,Zv.CUSTOM_FIELD=24,Zv.POSITION=25,Zv.VOTE_COUNT=26,Zv.DUPLICATE_COUNT=27,Zv.CC_COUNT=28,Zv.COLLABORATOR_COUNT=44,Zv.MODIFIED_BY=29,Zv.LAST_MODIFIER=30,Zv.ARCHIVED=31,Zv.MIN_SLO=33,Zv.ASSIGNMENT_SLO=35,Zv.RESPONSE_SLO=36,Zv.CLOSURE_SLO=37,Zv.TEAM=39,Zv.ESTIMATE=40,Zv.ESTIMATE_TOTAL_OPEN=
41,Zv.ESTIMATE_TOTAL_COMPLETE=42,Zv.ACCESS_LEVEL=45,Zv.DESCENDANT_COUNT=46,Zv.OPEN_DESCENDANT_COUNT=47,Zv.ONE_DAY_VIEW_COUNT=48,Zv.SEVEN_DAY_VIEW_COUNT=49,Zv.THIRTY_DAY_VIEW_COUNT=50,Zv.RELATIVE_MODIFIED_TIME=52,Zv.ALERTS=53,Zv.TIMEFRAME=54,Zv.PROGRESS=55,Zv.TRIAGER=56,Zv.ENRICHMENT_CATEGORIES=57,Zv),dic={},$v=(dic.ISSUE_RELATIONSHIP_TYPE_UNSPECIFIED=0,dic.CHILD=1,dic.DEPENDENCY=2,dic.LINKED=3,dic),Pga={0:"ISSUE_SIGNAL_UNSPECIFIED",1:"NEAR_SLO",2:"COMMENT_MENTIONS_ME",8:"MENTIONED_NEEDS_RESPONSE",
3:"BLOCKERS_CLOSED",4:"NEWLY_BLOCKING",5:"NEEDS_REPORTER_INPUT",6:"REPLIED_TO_MENTION",7:"NEWLY_ASSIGNED_TO_ME",9:"ISSUE_MANUALLY_SIGNALED",10:"ISSUE_SNOOZE_EXPIRED",11:"CONFIGURABLE_ALERT"},aw={},Dga=(aw.ISSUE_SIGNAL_UNSPECIFIED=0,aw.NEAR_SLO=1,aw.COMMENT_MENTIONS_ME=2,aw.MENTIONED_NEEDS_RESPONSE=8,aw.BLOCKERS_CLOSED=3,aw.NEWLY_BLOCKING=4,aw.NEEDS_REPORTER_INPUT=5,aw.REPLIED_TO_MENTION=6,aw.NEWLY_ASSIGNED_TO_ME=7,aw.ISSUE_MANUALLY_SIGNALED=9,aw.ISSUE_SNOOZE_EXPIRED=10,aw.CONFIGURABLE_ALERT=11,aw),
xHa={0:"ISSUE_SIGNAL_UNSPECIFIED",1:"NEAR_SLO",2:"COMMENT_MENTIONS_ME",8:"MENTIONED_NEEDS_RESPONSE",3:"BLOCKERS_CLOSED",4:"NEWLY_BLOCKING",5:"NEEDS_REPORTER_INPUT",6:"REPLIED_TO_MENTION",7:"NEWLY_ASSIGNED_TO_ME",9:"ISSUE_MANUALLY_SIGNALED",10:"ISSUE_SNOOZE_EXPIRED",11:"CONFIGURABLE_ALERT"},bw={},HHa=(bw.ISSUE_SIGNAL_UNSPECIFIED=0,bw.NEAR_SLO=1,bw.COMMENT_MENTIONS_ME=2,bw.MENTIONED_NEEDS_RESPONSE=8,bw.BLOCKERS_CLOSED=3,bw.NEWLY_BLOCKING=4,bw.NEEDS_REPORTER_INPUT=5,bw.REPLIED_TO_MENTION=6,bw.NEWLY_ASSIGNED_TO_ME=
7,bw.ISSUE_MANUALLY_SIGNALED=9,bw.ISSUE_SNOOZE_EXPIRED=10,bw.CONFIGURABLE_ALERT=11,bw),cw={},eic=(cw.ISSUE_SUMMARY_FEEDBACK_TYPE_UNSPECIFIED=0,cw.THUMBS_UP=1,cw.THUMBS_DOWN=2,cw.COPY=3,cw.FEEDBACK=4,cw),qEa={0:"ISSUE_SUMMARY_TYPE_UNSPECIFIED",1:"COMMENTS_SHORT",2:"COMMENTS_LONG"},fic={},gic=(fic.ISSUE_SUMMARY_TYPE_UNSPECIFIED=0,fic.COMMENTS_SHORT=1,fic.COMMENTS_LONG=2,fic),IFb={0:"NODE_JOIN_TYPE_UNSPECIFIED",1:"AND",2:"OR",3:"ERR",4:"NIL"},hic={UNKNOWN_SUBSCRIPTION:"UNKNOWN_SUBSCRIPTION",UNSUBSCRIBED:"UNSUBSCRIBED",
SUBSCRIBED_CLOSURE_ONLY:"SUBSCRIBED_CLOSURE_ONLY",SUBSCRIBED_MAJOR_UPDATES:"SUBSCRIBED_MAJOR_UPDATES",SUBSCRIBED_ALL_UPDATES:"SUBSCRIBED_ALL_UPDATES"},tva={0:"UNKNOWN_SUBSCRIPTION",1:"UNSUBSCRIBED",2:"SUBSCRIBED_CLOSURE_ONLY",3:"SUBSCRIBED_MAJOR_UPDATES",4:"SUBSCRIBED_ALL_UPDATES"},dw={},ADa=(dw.UNKNOWN_SUBSCRIPTION=0,dw.UNSUBSCRIBED=1,dw.SUBSCRIBED_CLOSURE_ONLY=2,dw.SUBSCRIBED_MAJOR_UPDATES=3,dw.SUBSCRIBED_ALL_UPDATES=4,dw),bDa={0:"UNSPECIFIED",1:"ADD",2:"REMOVE"},iic={},XCa=(iic.UNSPECIFIED=0,iic.ADD=
1,iic.REMOVE=2,iic),KFb={0:"OPERATOR_UNSPECIFIED",1:"EQ",2:"GT",3:"LT",4:"GE",5:"LE"},MWb={0:"UNKNOWN_PERMISSION",1:"OPEN_TO_JOIN"},YHa={0:"PRINCIPAL_TYPE_UNSPECIFIED",1:"NON_GAIA",2:"USER",3:"GROUP",4:"ALIAS"},jic={PRIORITY_UNSPECIFIED:"PRIORITY_UNSPECIFIED",P0:"P0",P1:"P1",P2:"P2",P3:"P3",P4:"P4"},cm={0:"PRIORITY_UNSPECIFIED",1:"P0",2:"P1",3:"P2",4:"P3",5:"P4"},ew={},kva=(ew.PRIORITY_UNSPECIFIED=0,ew.P0=1,ew.P1=2,ew.P2=3,ew.P3=4,ew.P4=5,ew),kic={REACTION_TYPE_UNSPECIFIED:"REACTION_TYPE_UNSPECIFIED",
UPVOTE:"UPVOTE"},lic={},mic=(lic.REACTION_TYPE_UNSPECIFIED=0,lic.UPVOTE=1,lic),fw={},nic=(fw.UNSPECIFIED=0,fw.USER_REQUEST=1,fw.ABUSE=2,fw.RESTRICTED=3,fw.RETENTION=4,fw.ACCOUNT_CAPABILITIES=5,fw),gw={},Uva=(gw.REJECTION_REASON_UNSPECIFIED=0,gw.REVERSED=1,gw.SIMILAR=2,gw.NOT_SIMILAR=3,gw.OTHER=4,gw),oic={},ZDa=(oic.UNSPECIFIED_RELATION=0,oic.AND=1,oic.OR=2,oic),pic={RESTRICTION_SEVERITY_UNSPECIFIED:"RESTRICTION_SEVERITY_UNSPECIFIED",NONE_DETECTED:"NONE_DETECTED",RESTRICTED:"RESTRICTED",RESTRICTED_PLUS:"RESTRICTED_PLUS"},
qic={RETENTION_UNSPECIFIED:"RETENTION_UNSPECIFIED",COMPONENT_DEFAULT:"COMPONENT_DEFAULT",INDEFINITE:"INDEFINITE"},hva={0:"RETENTION_UNSPECIFIED",1:"COMPONENT_DEFAULT",2:"INDEFINITE"},ric={UNSPECIFIED_RETENTION:"UNSPECIFIED_RETENTION",BUGANIZER_DEFAULT:"BUGANIZER_DEFAULT",CUSTOM_PERIOD:"CUSTOM_PERIOD",INDEFINITE_RETENTION:"INDEFINITE_RETENTION"},Pta={0:"UNSPECIFIED_RETENTION",1:"BUGANIZER_DEFAULT",2:"CUSTOM_PERIOD",3:"INDEFINITE_RETENTION"},sic={},Rta=(sic.UNSPECIFIED_RETENTION=0,sic.BUGANIZER_DEFAULT=
1,sic.CUSTOM_PERIOD=2,sic.INDEFINITE_RETENTION=3,sic),wQb={0:"RUN_STATUS_UNSPECIFIED",1:"RUN_STATUS_IN_PROGRESS",2:"RUN_STATUS_SUCCESS",3:"RUN_STATUS_FAILURE"},Sfa={0:"UNSPECIFIED",1:"COMPONENT",2:"TEAM"},tic={},uga=(tic.UNSPECIFIED=0,tic.COMPONENT=1,tic.TEAM=2,tic),uic={},vic=(uic.SENTIMENT_UNSPECIFIED=0,uic.SENTIMENT_POSITIVE=1,uic.SENTIMENT_NEGATIVE=2,uic),wic={SEVERITY_UNSPECIFIED:"SEVERITY_UNSPECIFIED",S0:"S0",S1:"S1",S2:"S2",S3:"S3",S4:"S4"},eva={0:"SEVERITY_UNSPECIFIED",1:"S0",2:"S1",3:"S2",
4:"S3",5:"S4"},hw={},lva=(hw.SEVERITY_UNSPECIFIED=0,hw.S0=1,hw.S1=2,hw.S2=3,hw.S3=4,hw.S4=5,hw),DFb={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",16:"TODAY"},LWb={0:"UNKNOWN",1:"NORMAL",2:"LARGE",3:"HUGE",4:"ENORMOUS"},dva={0:"SLO_SNOOZE_TYPE_UNSPECIFIED",1:"STARTS_ON",2:"ASSIGNMENT_ETA",3:"RESPONSE_ETA",4:"CLOSURE_ETA"},iw={},ova=(iw.SLO_SNOOZE_TYPE_UNSPECIFIED=
0,iw.STARTS_ON=1,iw.ASSIGNMENT_ETA=2,iw.RESPONSE_ETA=3,iw.CLOSURE_ETA=4,iw),zza={0:"SLO_SOURCE_UNSPECIFIED",1:"USER",2:"BUGSCOPE"},xic={},Kua=(xic.SLO_SOURCE_UNSPECIFIED=0,xic.USER=1,xic.BUGSCOPE=2,xic),aua={0:"STANDARD_FIELD_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",
19:"INCIDENTS"},jw={},cua=(jw.STANDARD_FIELD_UNSPECIFIED=0,jw.REPORTER=1,jw.ASSIGNEE=2,jw.VERIFIER=3,jw.CC=4,jw.TYPE=5,jw.STATUS=6,jw.PRIORITY=7,jw.SEVERITY=8,jw.CHANGELISTS=9,jw.PENDING_CHANGELISTS=10,jw.POSTMORTEMS=11,jw.FOUND_IN=12,jw.TARGETED_TO=13,jw.VERIFIED_IN=14,jw.IN_PRODUCTION=15,jw.SLO_STATUS=16,jw.TEAM=17,jw.COLLABORATORS=18,jw.INCIDENTS=19,jw),PEa={STATE_UNSPECIFIED:"STATE_UNSPECIFIED",PENDING:"PENDING",MERGED:"MERGED"},qva={0:"STATE_UNSPECIFIED",1:"PENDING",2:"MERGED"},yic={},rva=(yic.STATE_UNSPECIFIED=
0,yic.PENDING=1,yic.MERGED=2,yic),zic={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",INACTIVE:"INACTIVE"},bm={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",11:"INACTIVE"},
kw={},jva=(kw.STATUS_UNSPECIFIED=0,kw.NEW=1,kw.ASSIGNED=2,kw.ACCEPTED=3,kw.FIXED=4,kw.VERIFIED=5,kw.NOT_REPRODUCIBLE=6,kw.INTENDED_BEHAVIOR=7,kw.OBSOLETE=8,kw.INFEASIBLE=9,kw.DUPLICATE=10,kw.INACTIVE=11,kw),Aic={TASK_RESOURCE_TYPE_UNSPECIFIED:"TASK_RESOURCE_TYPE_UNSPECIFIED",CHANGELIST:"CHANGELIST",DRIVE:"DRIVE",ISSUE:"ISSUE",LAUNCH:"LAUNCH",GERRIT:"GERRIT",GOOGLE_TASKS:"GOOGLE_TASKS",IRM:"IRM"},aga={0:"UNKNOWN_SOURCE",1:"WTDM",2:"NON_WTDM",3:"CRITIQUE",4:"DRIVE",5:"BUGANIZER",6:"ARIANE",7:"GERRIT",
8:"GOOGLE_TASKS",9:"IRM"},lw={},Oga=(lw.UNKNOWN_SOURCE=0,lw.WTDM=1,lw.NON_WTDM=2,lw.CRITIQUE=3,lw.DRIVE=4,lw.BUGANIZER=5,lw.ARIANE=6,lw.GERRIT=7,lw.GOOGLE_TASKS=8,lw.IRM=9,lw),mfa={0:"THEME_UNSPECIFIED",1:"GOOGLE",2:"OPEN_SOURCE"},Bic={UNSPECIFIED:"UNSPECIFIED",NEW:"NEW",CONFIRMED:"CONFIRMED",IN_PROGRESS:"IN_PROGRESS",FIXED:"FIXED",WONT_FIX:"WONT_FIX"},HCa={0:"UNSPECIFIED",1:"NEW",2:"CONFIRMED",3:"IN_PROGRESS",4:"FIXED",5:"WONT_FIX"},mw={},KCa=(mw.UNSPECIFIED=0,mw.NEW=1,mw.CONFIRMED=2,mw.IN_PROGRESS=
3,mw.FIXED=4,mw.WONT_FIX=5,mw),Cic={TRIAGE_SUBPHASE_UNSPECIFIED:"TRIAGE_SUBPHASE_UNSPECIFIED",NEEDS_INFO:"NEEDS_INFO",PENDING_TRIAGE:"PENDING_TRIAGE",REPORTER_RESPONDED:"REPORTER_RESPONDED",PENDING_OWNER:"PENDING_OWNER",EXPECTED:"EXPECTED",PLANNED:"PLANNED",COMMITTED:"COMMITTED",REOPENED:"REOPENED"},ICa={0:"TRIAGE_SUBPHASE_UNSPECIFIED",1:"NEEDS_INFO",2:"PENDING_TRIAGE",3:"REPORTER_RESPONDED",4:"PENDING_OWNER",5:"EXPECTED",6:"PLANNED",7:"COMMITTED",8:"REOPENED"},nw={},LCa=(nw.TRIAGE_SUBPHASE_UNSPECIFIED=
0,nw.NEEDS_INFO=1,nw.PENDING_TRIAGE=2,nw.REPORTER_RESPONDED=3,nw.PENDING_OWNER=4,nw.EXPECTED=5,nw.PLANNED=6,nw.COMMITTED=7,nw.REOPENED=8,nw),OFb={0:"QUERY_BUILDER_RESPONSE_TYPE_UNSPECIFIED",1:"AND",2:"OR"},hua={0:"TYPE_UNSPECIFIED",1:"TEXT",2:"DATE",3:"ENUM",4:"NUMERIC",9:"TEAM",10:"PRODUCT",11:"USER",5:"REPEATED_TEXT",6:"REPEATED_DATE",7:"REPEATED_ENUM",8:"REPEATED_NUMERIC",12:"REPEATED_TEAM",13:"REPEATED_PRODUCT",14:"REPEATED_USER"},ow={},lua=(ow.TYPE_UNSPECIFIED=0,ow.TEXT=1,ow.DATE=2,ow.ENUM=3,
ow.NUMERIC=4,ow.TEAM=9,ow.PRODUCT=10,ow.USER=11,ow.REPEATED_TEXT=5,ow.REPEATED_DATE=6,ow.REPEATED_ENUM=7,ow.REPEATED_NUMERIC=8,ow.REPEATED_TEAM=12,ow.REPEATED_PRODUCT=13,ow.REPEATED_USER=14,ow),Dic={TYPE_UNSPECIFIED:"TYPE_UNSPECIFIED",BUG:"BUG",FEATURE_REQUEST:"FEATURE_REQUEST",CUSTOMER_ISSUE:"CUSTOMER_ISSUE",INTERNAL_CLEANUP:"INTERNAL_CLEANUP",PROCESS:"PROCESS",VULNERABILITY:"VULNERABILITY",PRIVACY_ISSUE:"PRIVACY_ISSUE",PORTFOLIO:"PORTFOLIO",PROGRAM:"PROGRAM",PROJECT:"PROJECT",FEATURE:"FEATURE",
MILESTONE:"MILESTONE",EPIC:"EPIC",STORY:"STORY",TASK:"TASK"},pw={},fDa=(pw.TYPE_UNSPECIFIED=0,pw.BUG=1,pw.FEATURE_REQUEST=2,pw.CUSTOMER_ISSUE=3,pw.INTERNAL_CLEANUP=4,pw.PROCESS=5,pw.VULNERABILITY=6,pw.PRIVACY_ISSUE=7,pw.PORTFOLIO=8,pw.PROGRAM=9,pw.PROJECT=10,pw.FEATURE=11,pw.MILESTONE=12,pw.EPIC=13,pw.STORY=14,pw.TASK=15,pw),Eic={TYPE_UNSPECIFIED:"TYPE_UNSPECIFIED",ISSUE_DEDUPLICATION:"ISSUE_DEDUPLICATION",HOTLIST:"HOTLIST",ISSUE_DEDUPLICATION_BATCH:"ISSUE_DEDUPLICATION_BATCH",NEEDS_INFO:"NEEDS_INFO",
COMPONENT_ROUTING:"COMPONENT_ROUTING",ANY_ISSUE_EDIT:"ANY_ISSUE_EDIT"},Jva={0:"TYPE_UNSPECIFIED",1:"ISSUE_DEDUPLICATION",2:"HOTLIST",3:"ISSUE_DEDUPLICATION_BATCH",4:"NEEDS_INFO",5:"COMPONENT_ROUTING",6:"ANY_ISSUE_EDIT"},qw={},Mva=(qw.TYPE_UNSPECIFIED=0,qw.ISSUE_DEDUPLICATION=1,qw.HOTLIST=2,qw.ISSUE_DEDUPLICATION_BATCH=3,qw.NEEDS_INFO=4,qw.COMPONENT_ROUTING=5,qw.ANY_ISSUE_EDIT=6,qw),rw={},Tva=(rw.TYPE_UNSPECIFIED=0,rw.VIEWED=1,rw.PARTIALLY_ACCEPTED=4,rw.ACCEPTED=2,rw.REJECTED=3,rw),sw={},Fic=(sw.USER_ACTIVITY_TYPE_UNDEFINED=
0,sw.VIEW=1,sw.RELOAD=2,sw.EDIT=3,sw.MARK_AS_READ_OR_UNREAD=4,sw),FFb={0:"VALUE_TYPE_UNSPECIFIED",1:"NOT",2:"OR",3:"AND",4:"RANGE",5:"SIMPLE"},Gic={},Hic=(Gic.VIEW_UNSPECIFIED=0,Gic.BASIC=1,Gic.FULL=2,Gic);var Vua=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Vua,n);Vua.prototype.getStartDate=function(){return r(this,re,4)};var Wl=[1,2];var ml=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ml,n);ml.prototype.getStatus=function(){return Zd(this,1)};ml.prototype.setStatus=function(a){return Xd(this,1,a)};ml.prototype.getReason=function(){return Zd(this,2)};ml.prototype.setReason=function(a){return Xd(this,2,a)};var em=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(em,n);var Rl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Rl,n);g=Rl.prototype;g.getStartTime=function(){return r(this,ue,1)};g.setStartTime=function(a){t(this,ue,1,a)};g.getEndTime=function(){return r(this,ue,2)};g.setEndTime=function(a){t(this,ue,2,a)};g.getObjective=function(){return r(this,we,4)};g.setObjective=function(a){return t(this,we,4,a)};g.getBusinessDays=function(){return Pd(this,5)};g.setBusinessDays=function(a){return se(this,5,a)};
g.getDayType=function(){return Zd(this,6)};g.setDayType=function(a){return Xd(this,6,a)};var Co=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Co,n);var Do=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Do,n);Do.prototype.getSourceIssueIdsList_asString=function(){return ge(this,1)};Do.prototype.setSourceIssueIdsList=function(a){return op(this,1,a)};var Ava=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ava,n);var il=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(il,n);il.prototype.getAccessLevel=function(){return Zd(this,1)};il.prototype.setAccessLevel=function(a){return Xd(this,1,a)};var Xta=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Xta,n);var jl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(jl,n);jl.prototype.getSeverity=function(){return Zd(this,1)};jl.prototype.setSeverity=function(a){return Xd(this,1,a)};var pm=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(pm,n);var nl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(nl,n);nl.prototype.getRetentionPeriod=function(){return r(this,we,1)};var pl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(pl,n);g=pl.prototype;g.getAttachmentId_asString=function(){return Xe(this,1)};g.setAttachmentId=function(a){return ll(this,1,a)};g.getLength=function(){return Re(this,3)};g.getFilename=function(){return Oc(this,4)};g.setFilename=function(a){return Vd(this,4,a)};g.getEntityStatus=function(){return r(this,ml,6)};g.setEntityStatus=function(a){return t(this,ml,6,a)};g.getEtag=function(){return Mp(this,7)};
g.setEtag=function(a){return ql(this,7,a)};g.getContentVerdict=function(){return r(this,pm,10)};g.setContentVerdict=function(a){t(this,pm,10,a)};g.getRestrictedRetentionState=function(){return r(this,nl,11)};g.setRestrictedRetentionState=function(a){t(this,nl,11,a)};g.getRestrictedRetention=function(){return Zd(this,12)};g.setRestrictedRetention=function(a){return Xd(this,12,a)};var zl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(zl,n);zl.prototype.getValuesList=function(a){return ie(this,re,1,Rd(a))};zl.prototype.setValuesList=function(a){return Ol(this,1,a)};zl.prototype.setValues=function(a,b){Nu(this,1,re,a,b)};var yl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(yl,n);yl.prototype.getValuesList=function(a){return nc(this,1,sb,Rd(a))};yl.prototype.setValuesList=function(a){return tc(this,1,a,rb)};yl.prototype.getValues=function(a){var b=nc(this,1,sb,3,!0);fb(b,a);return b[a]};yl.prototype.setValues=function(a,b){wc(this,1,rb,b,a,sb,void 0,1)};var xl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(xl,n);xl.prototype.getValuesList=function(a){return Qd(this,1,Rd(a))};xl.prototype.setValuesList=function(a){return Wd(this,1,a)};xl.prototype.getValues=function(a){return Xu(this,1,a)};xl.prototype.setValues=function(a,b){dv(this,1,a,b)};var Ud=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ud,n);Ud.prototype.getEmailAddress=function(){return Oc(this,1)};var wf=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(wf,n);var Al=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Al,n);g=Al.prototype;g.getValueCase=function(){return al(this,vl)};g.getCustomFieldId=function(){return Re(this,1)};g.getCustomFieldId_asString=function(){return Xe(this,1)};g.setCustomFieldId=function(a){return ll(this,1,a)};g.getDateValue=function(){return Zk(this,re,3,vl)};g.getDisplayString=function(){return Oc(this,10)};var vl=[2,3,4,5,6,7,8,9,12,13,14,15,16,17];var Cl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Cl,n);g=Cl.prototype;g.getCustomFieldId=function(){return Re(this,1)};g.getCustomFieldId_asString=function(){return Xe(this,1)};g.setCustomFieldId=function(a){return ll(this,1,a)};g.getComponentId=function(){return Re(this,2)};g.getComponentId_asString=function(){return Xe(this,2)};g.setComponentId=function(a){return ll(this,2,a)};g.getType=function(){return Zd(this,3)};g.setType=function(a){return Xd(this,3,a)};
g.getName=function(){return Oc(this,5)};g.setName=function(a){return Vd(this,5,a)};g.getDescription=function(){return Oc(this,6)};g.setDescription=function(a){return Vd(this,6,a)};g.getEnumValues=function(a){return Xu(this,8,a)};g.setFieldSignificance=function(a){return Xd(this,9,a)};g.getShared=function(){return De(this,11)};g.setShared=function(a){Dl(this,11,a)};var tl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(tl,n);tl.prototype.getCustomFieldId=function(){return Re(this,rl(this,sl,1))};tl.prototype.getCustomFieldId_asString=function(){return Xe(this,rl(this,sl,1))};tl.prototype.setCustomFieldId=function(a){return ul(this,1,sl,Gb(a,0))};tl.prototype.hasCustomFieldId=function(){var a=rl(this,sl,1);return Kb(Ke(this,a))!=null};var sl=[1,2];var Ql=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ql,n);Ql.prototype.getCount=function(){return Re(this,2)};Ql.prototype.setCount=function(a){return ll(this,2,a)};Ql.prototype.getType=function(){return Zd(this,4)};Ql.prototype.setType=function(a){return Xd(this,4,a)};var Hl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Hl,n);var Ml=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ml,n);Ml.prototype.getContent=function(){return r(this,wf,1)};Ml.prototype.setContent=function(a){return t(this,wf,1,a)};Ml.prototype.hasContent=function(){return Me(this,wf,1)};var Ll=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ll,n);Ll.prototype.getContent=function(){return r(this,wf,1)};Ll.prototype.setContent=function(a){return t(this,wf,1,a)};Ll.prototype.hasContent=function(){return Me(this,wf,1)};var Kl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Kl,n);Kl.prototype.getContent=function(){return r(this,wf,2)};Kl.prototype.setContent=function(a){return t(this,wf,2,a)};Kl.prototype.hasContent=function(){return Me(this,wf,2)};var yua=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(yua,n);var Nl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Nl,n);Nl.prototype.getKindCase=function(){return al(this,Jl)};var Jl=[1,2,3];var Iic=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Iic,n);Iic.prototype.getState=function(){return Zd(this,2)};Iic.prototype.setState=function(a){return Xd(this,2,a)};var om=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(om,n);g=om.prototype;g.getIssueId=function(){return Re(this,6)};g.getIssueId_asString=function(){return Xe(this,6)};g.setIssueId=function(a){return ll(this,6,a)};g.getCommentNumber=function(){return Pd(this,7)};g.setCommentNumber=function(a){return se(this,7,a)};g.getComment=function(){return Oc(this,1)};g.setComment=function(a){return Vd(this,1,a)};g.getFormattedComment=function(){return r(this,Nl,16)};
g.setFormattedComment=function(a){t(this,Nl,16,a)};g.hasFormattedComment=function(){return Me(this,Nl,16)};g.getMentionsList=function(a){return ie(this,Iic,14,Rd(a))};g.getFormattingMode=function(){return Zd(this,9)};g.setFormattingMode=function(a){return Xd(this,9,a)};g.getAttachmentsList=function(){return ie(this,pl,2,Rd())};g.setAttachmentsList=function(a){return Ol(this,2,a)};g.addAllAttachments=function(a){qm(this,2,pl,a)};g.getModifiedTime=function(){return r(this,ue,4)};
g.setModifiedTime=function(a){return t(this,ue,4,a)};g.getEntityStatus=function(){return r(this,ml,5)};g.setEntityStatus=function(a){return t(this,ml,5,a)};g.getVersion=function(){return Pd(this,8)};g.setVersion=function(a){return se(this,8,a)};g.getContentVerdict=function(){return r(this,pm,10)};g.setContentVerdict=function(a){t(this,pm,10,a)};g.getRestrictedRetentionState=function(){return r(this,nl,11)};g.setRestrictedRetentionState=function(a){t(this,nl,11,a)};
g.getRestrictedRetention=function(){return Zd(this,12)};g.setRestrictedRetention=function(a){return Xd(this,12,a)};g.getEtag=function(){return Mp(this,15)};g.setEtag=function(a){return ql(this,15,a)};var fm=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(fm,n);g=fm.prototype;g.getChangeNumber=function(){return Re(this,3)};g.getChangeNumber_asLegacyNumberOrString=function(){return gm(this,3)};g.setChangeNumber=function(a){return ll(this,3,a)};g.getState=function(){return Zd(this,4)};g.setState=function(a){return Xd(this,4,a)};var hl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(hl,n);hl.prototype.getAccessLevel=function(){return Zd(this,1)};hl.prototype.setAccessLevel=function(a){return Xd(this,1,a)};var Xl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Xl,n);Xl.prototype.getRole=function(){return Zd(this,1)};Xl.prototype.setRole=function(a){return Xd(this,1,a)};Xl.prototype.getCount=function(){return wl(this,2)};Xl.prototype.setCount=function(a){return Vl(this,2,a)};var Uua=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Uua,n);g=Uua.prototype;g.getUser=function(){return r(this,Ud,1)};g.setUser=function(a){return t(this,Ud,1,a)};g.hasUser=function(){return Me(this,Ud,1)};g.getRole=function(){return Zd(this,2)};g.setRole=function(a){return Xd(this,2,a)};g.getIsLead=function(){return De(this,3)};g.setIsLead=function(a){return Dl(this,3,a)};var Ul=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ul,n);Ul.prototype.getUser=function(){return Zk(this,Uua,1,Yl)};Ul.prototype.setUser=function(a){return Bl(this,1,Yl,a)};Ul.prototype.hasUser=function(){return Yk(this,Uua,1,Yl)};Ul.prototype.getPlaceholder=function(){return Zk(this,Xl,2,Yl)};var Yl=[1,2];var Zl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Zl,n);var dm=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(dm,n);g=dm.prototype;g.getComponentId=function(){return Re(this,1)};g.getComponentId_asString=function(){return Xe(this,1)};g.setComponentId=function(a){return ll(this,1,a)};g.getType=function(){return Zd(this,2)};g.setType=function(a){return Xd(this,2,a)};g.getStatus=function(){return Zd(this,3)};g.setStatus=function(a){return Xd(this,3,a)};g.getPriority=function(){return Zd(this,4)};
g.setPriority=function(a){return Xd(this,4,a)};g.getSeverity=function(){return Zd(this,5)};g.setSeverity=function(a){return Xd(this,5,a)};g.getTitle=function(){return Oc(this,6)};g.setTitle=function(a){return Vd(this,6,a)};g.getReporter=function(){return r(this,Ud,7)};g.setReporter=function(a){t(this,Ud,7,a)};g.getAssignee=function(){return r(this,Ud,8)};g.setAssignee=function(a){return t(this,Ud,8,a)};g.clearAssignee=function(){return Ou(this,8)};g.getVerifier=function(){return r(this,Ud,9)};
g.setVerifier=function(a){t(this,Ud,9,a)};g.clearVerifier=function(){return Ou(this,9)};g.getCcsList=function(){return ie(this,Ud,10,Rd())};g.setCcsList=function(a){Ol(this,10,a)};g.addAllCcs=function(a){qm(this,10,Ud,a)};g.setCcs=function(a,b){return Nu(this,10,Ud,a,b)};g.getCollaboratorsList=function(){return ie(this,Ud,31,Rd())};g.setCollaboratorsList=function(a){Ol(this,31,a)};g.addAllCollaborators=function(a){qm(this,31,Ud,a)};g.setCollaborators=function(a,b){return Nu(this,31,Ud,a,b)};
g.getStaffing=function(){return r(this,Zl,36)};g.setStaffing=function(a){t(this,Zl,36,a)};g.getCanonicalIssueId_asString=function(){return Xe(this,11)};g.setCanonicalIssueId=function(a){ll(this,11,a)};g.getBlockedByIssueIdsList=function(){return Tu(this,12,1)};g.getBlockedByIssueIdsList_asString=function(){return ge(this,12)};g.setBlockedByIssueIdsList=function(a){op(this,12,a)};g.addAllBlockedByIssueIds=function(a){cv(this,12,a)};g.getBlockingIssueIdsList=function(){return Tu(this,13,1)};
g.getBlockingIssueIdsList_asString=function(){return ge(this,13)};g.setBlockingIssueIdsList=function(a){op(this,13,a)};g.addAllBlockingIssueIds=function(a){cv(this,13,a)};g.getHotlistIdsList_asLegacyNumberOrString=function(a){return kIa(this,14,Rd(a))};g.getHotlistIdsList_asString=function(){return ge(this,14)};g.setHotlistIdsList=function(a){return op(this,14,a)};g.addHotlistIds=function(a,b){return bv(this,14,a,b)};g.addAllHotlistIds=function(a){cv(this,14,a)};
g.removeHotlistIds=function(a){return Sec(this,14,a)};g.getCustomFieldsList=function(){return ie(this,Al,15,Rd())};g.setCustomFieldsList=function(a){return Ol(this,15,a)};g.addCustomFields=function(a){rm(this,15,Al,a)};g.getCodeChangesList=function(a){return Qd(this,16,Rd(a))};g.setCodeChangesList=function(a){Wd(this,16,a)};g.addAllCodeChanges=function(a){xc(this,16,Pb,a,Qb)};g.setCodeChanges=function(a,b){return dv(this,16,a,b)};g.getGerritChangesList=function(){return ie(this,fm,35,Rd())};
g.setGerritChangesList=function(a){Ol(this,35,a)};g.addAllGerritChanges=function(a){qm(this,35,fm,a)};g.getInProd=function(){return De(this,20)};g.setInProd=function(a){Dl(this,20,a)};g.getIsArchived=function(){return De(this,21)};g.setIsArchived=function(a){return Dl(this,21,a)};g.getDuplicateIssueIdsList_asString=function(){return ge(this,22)};g.setDuplicateIssueIdsList=function(a){op(this,22,a)};g.getIsDeleted=function(){return De(this,23)};g.setIsDeleted=function(a){Dl(this,23,a)};
g.setDeletionReason=function(a){Xd(this,24,a)};g.getEntityStatus=function(){return r(this,ml,25)};g.setEntityStatus=function(a){return t(this,ml,25,a)};g.getSloSnoozeUntil=function(){return r(this,ue,26)};g.setSloSnoozeUntil=function(a){t(this,ue,26,a)};g.getSloEndTime=function(){return r(this,ue,34)};g.setSloEndTime=function(a){t(this,ue,34,a)};g.hasSloEndTime=function(){return Me(this,ue,34)};g.setSloSnoozeType=function(a){Xd(this,30,a)};g.getRetention=function(){return Zd(this,28)};
g.setRetention=function(a){return Xd(this,28,a)};g.getEffort=function(){return r(this,em,29)};g.setEffort=function(a){t(this,em,29,a)};g.hasEffort=function(){return Me(this,em,29)};g.getAccessLimit=function(){return r(this,hl,32)};g.setAccessLimit=function(a){return t(this,hl,32,a)};var zDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(zDa,n);zDa.prototype.setNotificationSubscription=function(a){return Xd(this,4,a)};var yva=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(yva,n);var xva=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(xva,n);g=xva.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return Ze(this,1,a)};g.getCommentNumber=function(){return Pd(this,2)};g.setCommentNumber=function(a){return jf(this,2,a)};var Bva=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Bva,n);var wva=[1,2];var am=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(am,n);g=am.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getFormattingMode=function(){return Zd(this,4)};g.setFormattingMode=function(a){return Xd(this,4,a)};g.getAuthor=function(){return r(this,Ud,5)};g.setAuthor=function(a){t(this,Ud,5,a)};g.hasAuthor=function(){return Me(this,Ud,5)};
g.getUpdateTime=function(){return r(this,ue,6)};g.setUpdateTime=function(a){t(this,ue,6,a)};g.hasUpdateTime=function(){return Me(this,ue,6)};g.getVersion=function(){return Pd(this,7)};g.setVersion=function(a){return se(this,7,a)};g.getEntityStatus=function(){return r(this,ml,8)};g.setEntityStatus=function(a){return t(this,ml,8,a)};var lm=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(lm,n);g=lm.prototype;g.getIssueId=function(){return Re(this,2)};g.getIssueId_asString=function(){return Xe(this,2)};g.setIssueId=function(a){return ll(this,2,a)};g.getIssueState=function(){return r(this,dm,3)};g.setIssueState=function(a){return t(this,dm,3,a)};g.getIssueComment=function(){return r(this,om,4)};g.setIssueComment=function(a){t(this,om,4,a)};g.hasIssueComment=function(){return Me(this,om,4)};
g.getAttachmentsList=function(){return ie(this,pl,18,Rd())};g.setAttachmentsList=function(a){return Ol(this,18,a)};g.addAllAttachments=function(a){qm(this,18,pl,a)};g.getDescription=function(){return r(this,om,44)};g.setDescription=function(a){return t(this,om,44,a)};g.hasDescription=function(){return Me(this,om,44)};g.getStatusUpdate=function(){return r(this,am,43)};g.setStatusUpdate=function(a){t(this,am,43,a)};g.hasStatusUpdate=function(){return Me(this,am,43)};
g.getCreatedTime=function(){return r(this,ue,5)};g.setCreatedTime=function(a){return t(this,ue,5,a)};g.getModifiedTime=function(){return r(this,ue,6)};g.setModifiedTime=function(a){return t(this,ue,6,a)};g.getMajorModifiedTime=function(){return r(this,ue,35)};g.setMajorModifiedTime=function(a){return t(this,ue,35,a)};g.getResolvedTime=function(){return r(this,ue,7)};g.setResolvedTime=function(a){return t(this,ue,7,a)};g.getVerifiedTime=function(){return r(this,ue,8)};
g.setVerifiedTime=function(a){return t(this,ue,8,a)};g.getUserData=function(){return r(this,zDa,9)};g.getParentIssueIdsList_asString=function(){return ge(this,37)};g.setParentIssueIdsList=function(a){return op(this,37,a)};g.getAccessLimit=function(){return r(this,il,11)};g.setAccessLimit=function(a){return t(this,il,11,a)};g.getVersion=function(){return Pd(this,12)};g.setVersion=function(a){return se(this,12,a)};g.getEtag=function(){return Mp(this,13)};g.setEtag=function(a){return ql(this,13,a)};
g.getCustomFieldsList=function(){return ie(this,Cl,15,Rd())};g.setCustomFieldsList=function(a){return Ol(this,15,a)};g.addCustomFields=function(a){rm(this,15,Cl,a)};g.getSloStatus=function(){return r(this,Co,16)};g.setSloStatus=function(a){t(this,Co,16,a)};g.getSloId_asLegacyNumberOrString=function(){return gm(this,17)};g.getSloId_asString=function(){return Xe(this,17)};g.setSloId=function(a){return ll(this,17,a)};g.getTeamId=function(){return Re(this,33)};
g.getTeamId_asLegacyNumberOrString=function(){return gm(this,33)};g.getTeamId_asString=function(){return Xe(this,33)};g.setTeamId=function(a){return ll(this,33,a)};g.getEscalationOwner=function(){return r(this,Ud,48)};g.setEscalationOwner=function(a){t(this,Ud,48,a)};g.getRetentionState=function(){return r(this,nl,29)};g.setRetentionState=function(a){t(this,nl,29,a)};g.getAncestorsMap=function(){return sc(this,38,Do,Ub)};g.getChildIssueCount=function(){return Pd(this,39)};
g.setChildIssueCount=function(a){return se(this,39,a)};g.getDescendantIssueCount=function(){return Pd(this,45)};g.setDescendantIssueCount=function(a){return se(this,45,a)};g.getOpenDescendantIssueCount=function(){return Pd(this,46)};g.setOpenDescendantIssueCount=function(a){return se(this,46,a)};g.getIsArchived=function(){return De(this,40)};g.setIsArchived=function(a){return Dl(this,40,a)};g.getTrackerId=function(){return Re(this,42)};g.getTrackerId_asString=function(){return Xe(this,42)};
g.setTrackerId=function(a){ll(this,42,a)};var tw=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(tw,n);tw.prototype.getCode=function(){return Zd(this,1)};tw.prototype.setCode=function(a){return mf(this,1,a)};tw.prototype.getCodeOrUndefined=function(){return $l(this,1)};var cu=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,1)};Y(cu,n);var uw=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(uw,n);g=uw.prototype;g.getLoggingId=function(){return Oc(this,1)};g.setLoggingId=function(a){lf(this,1,a)};g.getValue=function(){return wl(this,2)};g.setValue=function(a){return av(this,2,a)};g.hasValue=function(){return Ke(this,2,void 0,void 0,sb)!=null};var Bu=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Bu,n);Bu.prototype.getEncryptionSupport=function(){return Zd(this,1)};Bu.prototype.getCertificateStatus=function(){return Zd(this,2)};Bu.prototype.getCertificateExpirySec=function(){return Re(this,3)};var vw=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(vw,n);g=vw.prototype;g.getDisplayName=function(){return Oc(this,1)};g.setDisplayName=function(a){return lf(this,1,a)};g.getGivenName=function(){return Oc(this,2)};g.setGivenName=function(a){return lf(this,2,a)};g.hasGivenName=function(){return Ge(this,2)};g.getFamilyName=function(){return Oc(this,3)};g.setFamilyName=function(a){return lf(this,3,a)};g.hasFamilyName=function(){return Ge(this,3)};
g.getSourceType=function(){return Zd(this,4)};g.setSourceType=function(a){return mf(this,4,a)};var Jic=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Jic,n);g=Jic.prototype;g.getUrl=function(){return Oc(this,1)};g.setUrl=function(a){return lf(this,1,a)};g.hasUrl=function(){return Ge(this,1)};g.getType=function(){return Zd(this,2)};g.setType=function(a){return mf(this,2,a)};g.hasType=function(){return He(this,2)};g.getSourceType=function(){return Zd(this,3)};g.setSourceType=function(a){return mf(this,3,a)};g.getGlyph=function(){return Oc(this,4)};
g.setGlyph=function(a){return lf(this,4,a)};var Cu=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Cu,n);Cu.prototype.getReachabilityStatus=function(){return Zd(this,1)};Cu.prototype.getClientData=function(){return Oc(this,2)};Cu.prototype.hasClientData=function(){return Ge(this,2)};var ww=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ww,n);ww.prototype.getAltText=function(){return Oc(this,1)};ww.prototype.setAltText=function(a){return lf(this,1,a)};ww.prototype.getIconUrl=function(){return Oc(this,2)};ww.prototype.setIconUrl=function(a){return lf(this,2,a)};var xw=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(xw,n);g=xw.prototype;g.getTargetType=function(){return Zd(this,1,18)};g.getValue=function(){return Oc(this,2)};g.setValue=function(a){return lf(this,2,a)};g.hasValue=function(){return Ge(this,2)};g.getName=function(){return r(this,vw,3)};g.setName=function(a){return t(this,vw,3,a)};g.hasName=function(){return Me(this,vw,3)};g.getNameOrUndefined=function(){return Lec(this,vw,3)};
g.getPhoto=function(){return r(this,Jic,4)};g.setPhoto=function(a){t(this,Jic,4,a)};g.hasPhoto=function(){return Me(this,Jic,4)};g.getProfileId=function(){return Xu(this,5)};g.setProfileId=function(a){return dv(this,5,a)};g.getContactId=function(){return Xu(this,6)};g.setContactId=function(a){return dv(this,6,a)};g.getIsMe=function(){return De(this,7)};g.setIsMe=function(a){return hf(this,7,a)};g.getAffinity=function(){return r(this,uw,8)};g.hasAffinity=function(){return Me(this,uw,8)};
g.getEmailSecurityInfo=function(){return r(this,Bu,9)};g.setEmailSecurityInfo=function(a){t(this,Bu,9,a)};g.getOrgState=function(){return Zd(this,10)};g.setOrgState=function(a){mf(this,10,a)};g.getDataSource=function(){return Zd(this,11)};g.setDataSource=function(a){return mf(this,11,a)};g.hasDataSource=function(){return He(this,11)};g.getDescription=function(){return Oc(this,12)};g.setDescription=function(a){return lf(this,12,a)};g.hasDescription=function(){return Ge(this,12)};
g.getTagList=function(){return ie(this,ww,14,Rd())};g.setTagList=function(a){Ol(this,14,a)};g.addTag=function(a){rm(this,14,ww,a)};g.getExtendedData=function(){return r(this,cu,15)};g.setExtendedData=function(a){t(this,cu,15,a)};g.hasExtendedData=function(){return Me(this,cu,15)};g.getCanonicalValue=function(){return Oc(this,16)};g.setCanonicalValue=function(a){return lf(this,16,a)};g.hasCanonicalValue=function(){return Ge(this,16)};g.getReachabilityInfo=function(){return r(this,Cu,17)};
g.setReachabilityInfo=function(a){t(this,Cu,17,a)};var Kic=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Kic,n);g=Kic.prototype;g.getResultType=function(){return Zd(this,1,7)};g.setResultType=function(a){return mf(this,1,a)};g.getTargetList=function(){return ie(this,xw,2,Rd())};g.setTarget=function(a){Nu(this,2,xw,a)};g.getTargetCount=function(){return Iec(this,xw,2)};g.getMemberList=function(){return ie(this,Kic,3,Rd())};g.getTotalMemberCount=function(){return Pd(this,4)};
g.getIsBoosted=function(){return De(this,5)};g.setIsBoosted=function(a){hf(this,5,a)};g.getAffinity=function(){return r(this,uw,6)};g.hasAffinity=function(){return Me(this,uw,6)};g.getExtendedData=function(){return r(this,cu,7)};g.setExtendedData=function(a){t(this,cu,7,a)};g.hasExtendedData=function(){return Me(this,cu,7)};var yw=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(yw,n);var Lic=function(a,b){Ol(a,1,b)};yw.prototype.getMetadata=function(){return r(this,tw,2)};yw.prototype.getMutableMetadata=function(){return Pu(this,tw,2)};yw.prototype.setMetadata=function(a){t(this,tw,2,a)};yw.prototype.hasMetadata=function(){return Me(this,tw,2)};var Eea=Object.prototype.hasOwnProperty;var Mic={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},zw=Mic;zw=Mic;var Nic=RegExp("^((?:[-+]\\d*)?\\d{4})(?:(?:-?(\\d{2})(?:-?(\\d{2}))?)|(?:-?(\\d{3}))|(?:-?W(\\d{2})(?:-?([1-7]))?))?$"),Oic=/^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/,Pic=/Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/,Qic=function(a,b){switch(b){case 1:return a%4!=0||a%100==0&&a%400!=0?28:29;case 5:case 8:case 10:case 3:return 30}return 31},Ric=function(a,b,c,d,e){a=new Date(a,b,c);d=d!==void 0?d:3;e=e||0;b=((a.getDay()+6)%7-e+7)%7;return a.valueOf()+((d-e+7)%7-b)*864E5},Aw=function(a,b,c,d,e,f){typeof a===
"string"?(this.years=a=="y"?b:0,this.months=a=="m"?b:0,this.days=a=="d"?b:0,this.hours=a=="h"?b:0,this.minutes=a=="n"?b:0,this.seconds=a=="s"?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=Aw.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(b<0&&c>0)return null;if(!a&&b==0&&c==0)return"PT0S";c=[];b<0&&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 Aw(this.years,this.months,this.days,this.hours,this.minutes,this.seconds)};
g.isZero=function(){return this.years==0&&this.months==0&&this.days==0&&this.hours==0&&this.minutes==0&&this.seconds==0};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 Ad=function(a,b,c){typeof a==="number"?(this.date=Sic(a,b||0,c||1),Tic(this,c||1)):La(a)?(this.date=Sic(a.getFullYear(),a.getMonth(),a.getDate()),Tic(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),Tic(this,a))},Sic=function(a,b,c){b=new Date(a,b,c);a>=0&&a<100&&b.setFullYear(b.getFullYear()-1900);return b};g=Ad.prototype;g.firstDayOfWeek_=zw.FIRSTDAYOFWEEK;
g.firstWeekCutOffDay_=zw.FIRSTWEEKCUTOFFDAY;g.clone=function(){var a=new Ad(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 Uic=function(a){return Qic(a.getFullYear(),a.getMonth())};g=Ad.prototype;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+a.years*12,c=this.getYear()+Math.floor(b/12);b%=12;b<0&&(b+=12);var d=Math.min(Qic(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.days&&(c=this.getYear(),b=c>=0&&c<=99?-1900:0,c=new Date(c,this.getMonth(),this.getDate(),12),a=new Date(c.getTime()+a.days*864E5),this.setDate(1),this.setFullYear(a.getFullYear()+b),this.setMonth(a.getMonth()),this.setDate(a.getDate()),Tic(this,a.getDate()))};
g.toIsoString=function(a){var b=this.getFullYear(),c=b<0?"-":b>=1E4?"+":"";return[c+tv(Math.abs(b),c?6:4),tv(this.getMonth()+1,2),tv(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 Tic=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};Ad.prototype.valueOf=function(){return this.date.valueOf()};
var Uf=function(a,b,c,d,e,f,h){this.date=typeof a==="number"?new Date(a,b||0,c||1,d||0,e||0,f||0,h||0):new Date(a&&a.getTime?a.getTime():Date.now())};Lu(Uf,Ad);g=Uf.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){Ad.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=Ad.prototype.toIsoString.call(this,a);return a?b+"T"+tv(this.getHours(),2)+":"+tv(this.getMinutes(),2)+":"+tv(this.getSeconds(),2):b+"T"+tv(this.getHours(),2)+tv(this.getMinutes(),2)+tv(this.getSeconds(),2)};g.equals=function(a){return this.getTime()==a.getTime()};g.toString=function(){return this.toIsoString()};g.clone=function(){var a=new Uf(this.date),b=this.getFirstDayOfWeek();a.firstDayOfWeek_=b;a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};var Vic={SINGLE_VALUE:"SINGLE_VALUE",COLLECTION:"COLLECTION",USER_COLLECTION:"USER_COLLECTION",LINKED_COLLECTION:"LINKED_COLLECTION",CUSTOM_FIELD:"CUSTOM_FIELD",STATUS_UPDATE:"STATUS_UPDATE"},SWb=new Set([{alias:"googlers_unrestricted"},{alias:"google_domain"}].map(function(a){return"ALIAS:"+a.alias})),Wic={ASSIGNEE:"assignee",ATTACHMENTS:"attachments",BLOCKED_BY_ISSUE_ID:"blockedByIssueId",BLOCKING_ISSUE_ID:"blockingIssueId",CCS:"ccs",CHANGELISTS:"changelists",COLLABORATORS:"collaborators",COMMENT:"comment",
COMPONENT_ID:"componentId",CUSTOM_FIELD:"customField",DELETION_REASON:"deletionReason",DUPLICATE_OF_ISSUE_ID:"duplicateOfIssueId",EFFORT_ESTIMATE:"effortEstimate",FOUND_IN_VERSION:"foundInVersion",GERRIT_CHANGES:"gerritChanges",HOTLISTS:"hotlists",IN_PROD:"inProd",IS_ARCHIVED:"isArchived",IS_DELETED:"isDeleted",PARENT_ID:"parentId",PRIORITY:"priority",READ_STATE:"readState",REPORTER:"reporter",SEVERITY:"severity",SLO_END_TIME:"sloEndTime",SLO_SNOOZE_TYPE:"sloSnoozeType",SLO_START_TIME:"sloStartTime",
STAFFING:"staffing",STATUS:"status",TARGETED_TO_VERSION:"targetedToVersion",TITLE:"title",TYPE:"type",VERIFIED_IN_VERSION:"verifiedInVersion",VERIFIER:"verifier"},Xic={AGGREGATION_TYPE_UNSPECIFIED:"AGGREGATION_TYPE_UNSPECIFIED",SUM:"SUM",MAX:"MAX"},Yic={ASSIGNED_TO_ME_AND_OPEN:"ASSIGNED_TO_ME_AND_OPEN",ASSIGNED_TO_ME:"ASSIGNED_TO_ME",OPEN:"OPEN",FIXED:"FIXED",BROAD_IN_PROGRESS:"BROAD_IN_PROGRESS",NEWLY_FILED:"NEWLY_FILED",RECENTLY_ACTIVE:"RECENTLY_ACTIVE",HIGH_PRIORITY:"HIGH_PRIORITY",TRENDING:"TRENDING",
PROGRESS:"PROGRESS"};var mFa=new Map([[1,"Bug"],[3,"Customer Issue"],[13,"Epic"],[11,"Feature"],[2,"Feature Request"],[4,"Internal Cleanup"],[12,"Milestone"],[7,"Privacy Issue"],[5,"Process"],[9,"Program"],[10,"Project"],[14,"Story"],[15,"Task"],[0,"Unspecified"],[6,"Vulnerability"]]),Uo=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)"],[11,"Inactive"],
[10,"Duplicate"],[0,""]]),Bw=new Map([[1,"New"],[2,"Assigned"],[3,"In Progress"],[4,"Fixed"],[5,"Verified"],[6,"Can't Repro"],[7,"WAI"],[8,"Obsolete"],[9,"Infeasible"],[11,"Inactive"],[10,"Duplicate"],[0,""]]),Zic=new Map([[1,"High"],[2,"Medium"],[3,"Low"],[4,"Zero"],[0,"--"]]),Cw=new Map([[1,"SWE"],[2,"SRE"],[3,"PM"],[4,"T/PgM"],[5,"UX"],[6,"UXD"],[7,"UXR"],[8,"DataSci"],[9,"L&D"],[10,"DevRel"],[11,"TW"],[12,"GTM"],[13,"CE"],[14,"Other"],[0,"--"]]),Dw=new Map([[1,"Software Engineer (SWE)"],[2,"Site Reliability Engineer (SRE)"],
[3,"Product Manager (PM)"],[4,"Technical Program Manager (T/PgM)"],[5,"User Experience (UX)"],[6,"User Experience Designer (UXD)"],[7,"User Experience Researcher (UXR)"],[8,"Data Scientist (DataSci)"],[9,"Learning & Development (L&D)"],[10,"Developer Relations (DevRel)"],[11,"Technical Writer (TW)"],[12,"Go To Market (GTM)"],[13,"Customer Engagement (CE)"],[14,"Other"],[0,"--"]]);var $ic=new Map([["STATUS_UNSPECIFIED",Bw.get(0)],["NEW",Bw.get(1)],["ASSIGNED",Bw.get(2)],["ACCEPTED",Bw.get(3)],["FIXED",Bw.get(4)],["VERIFIED",Bw.get(5)],["DUPLICATE",Bw.get(10)],["INFEASIBLE",Bw.get(9)],["INACTIVE",Bw.get(11)],["NOT_REPRODUCIBLE",Bw.get(6)],["OBSOLETE",Bw.get(8)],["INTENDED_BEHAVIOR",Bw.get(7)]]),ajc={New:1,Assigned:2,"In Progress (Accepted)":3,Fixed:4,Verified:5},Zha=new Map([["STATUS_UNSPECIFIED",0],["NEW",10],["ASSIGNED",20],["ACCEPTED",30],["FIXED",40],["VERIFIED",50],["DUPLICATE",
60],["INFEASIBLE",70],["INACTIVE",75],["NOT_REPRODUCIBLE",80],["OBSOLETE",90],["INTENDED_BEHAVIOR",100]]),Ew={},bjc=(Ew.ASSIGNED=!0,Ew.ACCEPTED=!0,Ew.FIXED=!0,Ew.VERIFIED=!0,Ew.DUPLICATE=!0,Ew.INFEASIBLE=!0,Ew.INACTIVE=!0,Ew.NOT_REPRODUCIBLE=!0,Ew.OBSOLETE=!0,Ew.INTENDED_BEHAVIOR=!0,Ew),Nd=new Map([["STATUS_UNSPECIFIED",Uo.get(0)],["NEW",Uo.get(1)],["ASSIGNED",Uo.get(2)],["ACCEPTED",Uo.get(3)],["FIXED",Uo.get(4)],["VERIFIED",Uo.get(5)],["DUPLICATE",Uo.get(10)],["INFEASIBLE",Uo.get(9)],["INACTIVE",
Uo.get(11)],["NOT_REPRODUCIBLE",Uo.get(6)],["OBSOLETE",Uo.get(8)],["INTENDED_BEHAVIOR",Uo.get(7)]]),Fw={},cjc=(Fw.P0="P0",Fw.P1="P1",Fw.P2="P2",Fw.P3="P3",Fw.P4="P4",Fw.PRIORITY_UNSPECIFIED="--",Fw),Gw={},iia=(Gw.P0=0,Gw.P1=10,Gw.P2=20,Gw.P3=30,Gw.P4=40,Gw.PRIORITY_UNSPECIFIED=99,Gw),Hw={},djc=(Hw.S0="S0",Hw.S1="S1",Hw.S2="S2",Hw.S3="S3",Hw.S4="S4",Hw.SEVERITY_UNSPECIFIED="--",Hw),ejc=new Map([["STATUS_UNSPECIFIED","issue-status-wont-fix"],["NEW","issue-status-new"],["ASSIGNED","issue-status-assigned"],
["ACCEPTED","issue-status-accepted"],["FIXED","issue-status-fixed"],["VERIFIED","issue-status-verified"],["DUPLICATE","issue-status-duplicate"],["INFEASIBLE","issue-status-wont-fix"],["INACTIVE","issue-status-wont-fix"],["NOT_REPRODUCIBLE","issue-status-wont-fix"],["OBSOLETE","issue-status-wont-fix"],["INTENDED_BEHAVIOR","issue-status-wont-fix"]]),Iw={},lg=(Iw.INVOLVEMENT_UNSPECIFIED=Zic.get(0),Iw.HIGH=Zic.get(1),Iw.MEDIUM=Zic.get(2),Iw.LOW=Zic.get(3),Iw.ZERO=Zic.get(4),Iw),Jw={},Ro=(Jw.JOB_ROLE_UNSPECIFIED=
Cw.get(0),Jw.SWE=Cw.get(1),Jw.SRE=Cw.get(2),Jw.PM=Cw.get(3),Jw.TPGM=Cw.get(4),Jw.UX=Cw.get(5),Jw.UXD=Cw.get(6),Jw.UXR=Cw.get(7),Jw.DATASCI=Cw.get(8),Jw.LD=Cw.get(9),Jw.DEVREL=Cw.get(10),Jw.TW=Cw.get(11),Jw.GTM=Cw.get(12),Jw.CE=Cw.get(13),Jw.OTHER=Cw.get(14),Jw),Kw={},Lw=(Kw.JOB_ROLE_UNSPECIFIED=Dw.get(0),Kw.SWE=Dw.get(1),Kw.SRE=Dw.get(2),Kw.PM=Dw.get(3),Kw.TPGM=Dw.get(4),Kw.UX=Dw.get(5),Kw.UXD=Dw.get(6),Kw.UXR=Dw.get(7),Kw.DATASCI=Dw.get(8),Kw.LD=Dw.get(9),Kw.DEVREL=Dw.get(10),Kw.TW=Dw.get(11),Kw.GTM=
Dw.get(12),Kw.CE=Dw.get(13),Kw.OTHER=Dw.get(14),Kw);var Yea=Od("NEW",!0,"FORBIDDEN",10),Zea=Od("ASSIGNED",!0,"REQUIRED",20),$ea=Od("ACCEPTED",!0,"REQUIRED",30),afa=Od("FIXED",!1,"REQUIRED",40),bfa=Od("VERIFIED",!1,"REQUIRED",50),cfa=Od("DUPLICATE",!1,"ALLOWED",60),dfa=Od("INFEASIBLE",!1,"ALLOWED",70),hfa=Od("INACTIVE",!1,"ALLOWED",75),efa=Od("NOT_REPRODUCIBLE",!1,"ALLOWED",80),ffa=Od("OBSOLETE",!1,"ALLOWED",90),gfa=Od("INTENDED_BEHAVIOR",!1,"ALLOWED",100),dg=new Map(ifa().map(function(a){return[a.status,a]})),fjc=ifa().map(function(a){return{value:a.status,
displayText:a.displayValue}}),gjc=new Set(ifa().filter(function(a){return a.assigneeRequirement==="REQUIRED"}));var hjc=function(){},Td=function(a){if(typeof a=="number"){var b=new hjc;b.standardOffset_=a;var c=a;if(c==0)c="Etc/GMT";else{var d=["Etc/GMT",c<0?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;c!=0&&d.push(":",tv(c,2));c=d.join("")}b.timeZoneId_=c;c=a;c==0?c="UTC":(d=["UTC",c<0?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,c!=0&&d.push(":",c),c=d.join(""));a=ijc(a);b.tzNames_=[c,c];b.tzNamesExt_={STD_LONG_NAME_GMT:a,STD_GENERIC_LOCATION:a};b.transitions_=[];return b}b=new hjc;
b.timeZoneId_=a.id;b.standardOffset_=-a.std_offset;b.tzNames_=a.names;b.tzNamesExt_=a.names_ext;b.transitions_=a.transitions;return b},ijc=function(a){var b=["GMT"];b.push(a<=0?"+":"-");a=Math.abs(a);b.push(tv(Math.floor(a/60)%100,2),":",tv(a%60,2));return b.join("")},jjc=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 c==0?0:a.transitions_[c-1]},kjc=function(a,
b){a=a.standardOffset_-jjc(a,b);return a===-1440?0:a};var he=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(he,n);he.prototype.getLogoUrl=function(){return Oc(this,1)};he.prototype.getTheme=function(){return Zd(this,2)};he.prototype.setTheme=function(a){Xd(this,2,a)};var Mw=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Mw,n);g=Mw.prototype;g.getTrackerId=function(){return Re(this,1)};g.getTrackerId_asString=function(){return Xe(this,1)};g.setTrackerId=function(a){ll(this,1,a)};g.getComponentId=function(){return Re(this,2)};g.getComponentId_asString=function(){return Xe(this,2)};g.setComponentId=function(a){return ll(this,2,a)};g.getName=function(){return Oc(this,3)};g.setName=function(a){return Vd(this,3,a)};
g.getInternalBaseUrl=function(){return Oc(this,8)};g.getExternalBaseUrl=function(){return Oc(this,9)};g.getEtag=function(){return Mp(this,7)};g.setEtag=function(a){return ql(this,7,a)};var Mf=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Mf.messageId)};Y(Mf,n);Mf.prototype.getIt=function(){return r(this,Mw,9,Kc)};Mf.prototype.setIt=function(a){return t(this,Mw,9,a,Kc)};Mf.messageId="b.Tracker";var Nw={showFullHistory:void 0,useCodefont:void 0,resultsPerPage:50,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},commentFormattingPreferences:{},bugScreensaverPreferences:{announcementDismissed:!1,enableBugScreensaver:!1},g3nPreferences:{},teamWarningPreferences:{componentTeamWarnings:[]},dismissalTimestamps:{},showRecentEventsFirst:!1,commentFilterPreferences:{commentFilter:void 0},
showInlineImages:!0,missionControlPreferences:{}};var br=function(a,b){this.low_=a|0;this.high_=b|0},Ow=function(a){return a.high_*4294967296+(a.low_>>>0)};g=br.prototype;g.isSafeInteger=function(){var a=this.high_>>21;return a==0||a==-1&&!(this.low_==0&&this.high_==-2097152)};
g.toString=function(a){a=a||10;if(a<2||36<a)throw Error("ha`"+a);if(this.isSafeInteger()){var b=Ow(this);return a==10?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=Pw(c,c/4294967296);c=this.div(d);d=Math.abs(Ow(Qw(this,c.multiply(d))));var e=a==10?""+d:d.toString(a);e.length<b&&(e="0000000000000".slice(e.length-b)+e);d=Ow(c);return(a==10?d:d.toString(a))+e};g.isZero=function(){return this.low_==0&&this.high_==0};g.equals=function(a){return a==null?!1: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 Rw=function(a){var b=~a.low_+1|0;return Pw(b,~a.high_+!b|0)};br.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 Pw((h&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};var Qw=function(a,b){return a.add(Rw(b))};
g=br.prototype;g.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,k=a.low_>>>16;a=a.low_&65535;var q=e*a;var u=(q>>>16)+d*a;var A=u>>>16;u=(u&65535)+e*k;A+=u>>>16;A+=c*a;var D=A>>>16;A=(A&65535)+d*k;D+=A>>>16;A=(A&65535)+e*h;D=D+(A>>>16)+(b*a+c*k+d*h+e*f)&65535;return Pw((u&65535)<<16|q&65535,D<<16|A&65535)};
g.div=function(a){if(a.isZero())throw Error("ia");if(this.high_<0){if(this.equals(ljc)){if(a.equals(mjc)||a.equals(njc))return ljc;if(a.equals(ljc))return mjc;var b=this.high_;b=Pw(this.low_>>>1|b<<31,b>>1);b=b.div(a).shiftLeft(1);if(b.equals(Sw))return a.high_<0?mjc:njc;var c=Qw(this,a.multiply(b));return b.add(c.div(a))}return a.high_<0?Rw(this).div(Rw(a)):Rw(Rw(this).div(a))}if(this.isZero())return Sw;if(a.high_<0)return a.equals(ljc)?Sw:Rw(this.div(Rw(a)));b=Sw;for(c=this;c.compare(a)>=0;){var d=
Math.max(1,Math.floor(Ow(c)/Ow(a))),e=Math.ceil(Math.log(d)/Math.LN2);e=e<=48?1:Math.pow(2,e-48);for(var f=Tw(d),h=f.multiply(a);h.high_<0||h.compare(c)>0;)d-=e,f=Tw(d),h=f.multiply(a);f.isZero()&&(f=mjc);b=b.add(f);c=Qw(c,h)}return b};g.and=function(a){return Pw(this.low_&a.low_,this.high_&a.high_)};g.or=function(a){return Pw(this.low_|a.low_,this.high_|a.high_)};g.xor=function(a){return Pw(this.low_^a.low_,this.high_^a.high_)};
g.shiftLeft=function(a){a&=63;if(a==0)return this;var b=this.low_;return a<32?Pw(b<<a,this.high_<<a|b>>>32-a):Pw(0,b<<a-32)};
var Tw=function(a){return a>0?a>=0x7fffffffffffffff?ojc:new br(a,a/4294967296):a<0?a<=-0x7fffffffffffffff?ljc:Rw(new br(-a,-a/4294967296)):Sw},Pw=function(a,b){return new br(a,b)},dr=function(a,b){if(a.charAt(0)=="-")return Rw(dr(a.substring(1),b));var c=parseInt(a,b||10);if(c<=9007199254740991)return new br(c%4294967296|0,c/4294967296|0);if(a.length==0)throw Error("ja");if(a.indexOf("-")>=0)throw Error("ka`"+a);b=b||10;if(b<2||36<b)throw Error("ha`"+b);c=Tw(Math.pow(b,8));for(var d=Sw,e=0;e<a.length;e+=
8){var f=Math.min(8,a.length-e),h=parseInt(a.substring(e,e+f),b);f<8?(f=Tw(Math.pow(b,f)),d=d.multiply(f).add(Tw(h))):(d=d.multiply(c),d=d.add(Tw(h)))}return d},Sw=Pw(0,0),mjc=Pw(1,0),njc=Pw(-1,-1),ojc=Pw(4294967295,2147483647),ljc=Pw(0,2147483648);var We=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(We,n);We.prototype.getOpen=function(){return De(this,1,!0)};We.prototype.setOpen=function(a){return hf(this,1,a)};var Oe=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Oe,n);var Te=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Te,n);var Ne=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ne,n);var tf=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(tf,n);g=tf.prototype;g.getType=function(){return Zd(this,1,1)};g.setType=function(a){return mf(this,1,a)};g.hasType=function(){return He(this,1)};g.getCustomFieldId=function(){return Re(this,2)};g.getCustomFieldId_asString=function(){return Xe(this,2)};g.setCustomFieldId=function(a){return Ze(this,2,a)};g.hasCustomFieldId=function(){return Qe(this,2)};var pf=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(pf,n);pf.prototype.getTimeZone=function(){return Oc(this,5)};pf.prototype.setTimeZone=function(a){return lf(this,5,a)};pf.prototype.hasTimeZone=function(){return Ge(this,5)};var sf=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(sf,n);sf.prototype.getColumnList=function(){return ie(this,tf,1,Rd())};sf.prototype.setColumnList=function(a){return Ol(this,1,a)};sf.prototype.setColumn=function(a){return Nu(this,1,tf,a)};var mga=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(mga,n);var Gfa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Gfa,n);var uf=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(uf,n);uf.prototype.getColumn=function(){return r(this,tf,1)};uf.prototype.setColumn=function(a){return t(this,tf,1,a)};var kf=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(kf,n);kf.prototype.getColumnList=function(){return ie(this,uf,1,Rd())};kf.prototype.setColumnList=function(a){return Ol(this,1,a)};kf.prototype.setColumn=function(a){return Nu(this,1,uf,a)};var Je=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Je,n);Je.prototype.getDensity=function(){return Zd(this,1,1)};Je.prototype.setDensity=function(a){return mf(this,1,a)};var Pe=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Pe,n);var qf=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(qf,n);qf.prototype.setResourceId=function(a){rf(this,2,a)};var Kfa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Kfa,n);var df=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(df,n);df.prototype.getSignal=function(){return Zd(this,1)};df.prototype.setSignal=function(a){return mf(this,1,a)};df.prototype.getChecked=function(){return De(this,2)};df.prototype.setChecked=function(a){return hf(this,2,a)};var bf=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(bf,n);bf.prototype.getSignal=function(){return Zd(this,1)};bf.prototype.setSignal=function(a){return mf(this,1,a)};bf.prototype.getChecked=function(){return De(this,2)};bf.prototype.setChecked=function(a){return hf(this,2,a)};var cf=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(cf,n);cf.prototype.getSignal=function(){return Zd(this,1)};cf.prototype.setSignal=function(a){return mf(this,1,a)};cf.prototype.getChecked=function(){return De(this,2)};cf.prototype.setChecked=function(a){return hf(this,2,a)};var ef=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ef,n);ef.prototype.getSignal=function(){return Zd(this,1)};ef.prototype.setSignal=function(a){return mf(this,1,a)};ef.prototype.getChecked=function(){return De(this,2)};ef.prototype.setChecked=function(a){return hf(this,2,a)};var ff=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ff,n);ff.prototype.getSignal=function(){return Zd(this,1)};ff.prototype.setSignal=function(a){return mf(this,1,a)};ff.prototype.getChecked=function(){return De(this,2)};ff.prototype.setChecked=function(a){return hf(this,2,a)};var af=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(af,n);af.prototype.getSignal=function(){return Zd(this,1)};af.prototype.setSignal=function(a){return mf(this,1,a)};af.prototype.getChecked=function(){return De(this,2)};af.prototype.setChecked=function(a){return hf(this,2,a)};var Ue=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ue,n);Ue.prototype.getCollapsedMap=function(){return rc(this,2,Sb)};var zga=function(a,b){np(a,7,b)},Bga=function(a,b){np(a,8,b)};Ue.prototype.getMyTasksSources=function(){return Pec(this,8)};var Cga=function(a,b){Ol(a,18,b)},Ega=function(a,b){Ol(a,19,b)},Gga=function(a,b){Ol(a,20,b)},Iga=function(a,b){Ol(a,21,b)},Kga=function(a,b){Ol(a,22,b)},Mga=function(a,b){Ol(a,24,b)};var Ffa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ffa,n);var Ye=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ye,n);Ye.prototype.getTeamId=function(){return Re(this,1)};Ye.prototype.getTeamId_asLegacyNumberOrString=function(){return gm(this,1)};Ye.prototype.getTeamId_asString=function(){return Xe(this,1)};Ye.prototype.setTeamId=function(a){return Ze(this,1,a)};var Ve=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ve,n);var Yfa=function(a,b){return op(a,1,b)},Zfa=function(a,b){t(a,ue,2,b)},Xfa=function(a,b){return Ol(a,3,b)};var Se=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Se,n);Se.prototype.getComponentId=function(){return Re(this,1)};Se.prototype.getComponentId_asString=function(){return Xe(this,1)};Se.prototype.setComponentId=function(a){return Ze(this,1,a)};Se.prototype.hasComponentId=function(){return Qe(this,1)};var Mfa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Mfa,n);var yga=function(a,b){Ol(a,1,b)};var gf=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,500)};Y(gf,n);g=gf.prototype;g.getDisplayColumns=function(){return r(this,sf,4)};g.setDisplayColumns=function(a){t(this,sf,4,a)};g.getSortColumns=function(){return r(this,kf,6)};g.getLayoutPreferences=function(){return r(this,mga,10)};g.getDateTimePreferences=function(){return r(this,pf,11)};g.getHomepagePreferences=function(){return r(this,qf,13)};g.getCollapsedMap=function(){return rc(this,27,Sb)};
g.getShowInlineImages=function(){return De(this,29)};var zf=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(zf,n);g=zf.prototype;g.getAppName=function(){return Oc(this,2)};g.getDocumentationBaseUrl=function(){return Oc(this,3)};g.getEnvironmentType=function(){return Oc(this,5)};g.setEnvironmentType=function(a){return lf(this,5,a)};g.getOnePickUrl=function(){return Oc(this,7)};g.getOnePickSecretToken=function(){return Oc(this,12)};g.getCommentNumberLimit=function(){return Pd(this,8)};
g.getCreateComponentRedirectDelay=function(){return wl(this,9)};g.getCreateRestrictedSubresourcesComponentIds=function(){return Oec(this,13)};g.getIndefiniteRetentionComponentsAllowlist=function(){return Oec(this,20)};g.getBatchDedupeComponentAllowlist=function(){return Oec(this,28)};g.getInternalBaseUrl=function(){return Oc(this,24)};g.getExternalBaseUrl=function(){return Oc(this,25)};var Bf=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Bf,n);g=Bf.prototype;g.getEmail=function(){return Oc(this,1)};g.setEmail=function(a){return lf(this,1,a)};g.hasEmail=function(){return Ge(this,1)};g.getSessionIdentifier=function(){return Oc(this,3)};g.getUserTypeLabel=function(){return Oc(this,5)};var Kf=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Kf.messageId)};Y(Kf,n);Kf.prototype.getId=function(){return Oc(this,1,void 0,Kc)};Kf.prototype.setId=function(a){return lf(this,1,a,Kc)};Kf.messageId="b.TimeZoneData";var Lf=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Lf.messageId)};Y(Lf,n);g=Lf.prototype;g.getMessage=function(){return Oc(this,1,void 0,Kc)};g.setMessage=function(a){return lf(this,1,a,Kc)};g.getMessageId=function(){return Oc(this,2,void 0,Kc)};g.hasMessageId=function(){return Ge(this,2,Kc)};g.getTagsList=function(a){return Qd(this,4,Rd(a),Kc)};g.getTags=function(a){return Xu(this,4,a,Kc)};Lf.messageId="b.Announcement";var Af=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Af,n);Af.prototype.getAnnouncement=function(){return r(this,Lf,2)};var Yga=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Yga,n);g=Yga.prototype;g.getUser=function(){return r(this,Bf,1)};g.setUser=function(a){return t(this,Bf,1,a)};g.hasUser=function(){return Me(this,Bf,1)};g.getConfig=function(){return r(this,zf,2)};g.setConfig=function(a){t(this,zf,2,a)};g.getXsrfToken=function(){return Oc(this,3)};g.getCspNonce=function(){return Oc(this,8)};g.getFrontendAccessMode=function(){return Oc(this,4)};
g.setFrontendAccessMode=function(a){return lf(this,4,a)};g.getMustAcknowledgeTerms=function(){return De(this,5)};g.getShowNewFeaturesDialog=function(){return De(this,6)};g.getUserPreferences=function(){return r(this,gf,7)};g.getAppBaseHref=function(){return Oc(this,10)};g.getTracker=function(){return r(this,Mf,11)};g.getPassiveLoginIframeUrl=function(){return r(this,qha,12)};var Zga=window,yf;var aha=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var pjc={clear:function(){},getItem:function(){return null},removeItem:function(){},setItem:function(){},length:0,key:function(){return null}},Ef=pjc;try{Ef=window.localStorage||pjc}catch(a){}
var qjc=function(a){return function(){var b=Ef.getItem(a);if(b!=null)return b=Number(b),isNaN(b)?void 0:b}},Gf=function(a){return function(){var b=Ef.getItem(a);if(b!=null)return String(b)}},rjc=function(a){return function(b){b==null?Ef.removeItem(a):Ef.setItem(a,String(b))}},sjc=function(a){return function(b){b==null?Ef.removeItem(a):Ef.setItem(a,b)}},tjc=function(a){return function(){var b=Ff(a)();fha(a)(!b);return!b}},If=function(a){return function(){var b=Ef.getItem(a);if(b!=null)try{return JSON.parse(b)}catch(c){console.warn("JSON.parse("+
a+")"),console.warn(c)}}},Jf=function(a){return function(b){b==null?Ef.removeItem(a):Ef.setItem(a,JSON.stringify(b))}};var pha=Df(function(){var a=kha(),b,c=(b=$ga().getConfig())==null?void 0:rc(b,4,Sb);if(a&&c){b=l(a.overrides);for(var d=b.next();!d.done;d=b.next())d=d.value,c.set(d.flagName,d.value);console.warn("Active flag overrides:");console.table(a.overrides);iha()}});var oha;var wha=RegExp("^[^\\.\\s]{2}\\.{3}@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$","i"),vha=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])?$","i"),ujc=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])?","i"),vjc=RegExp("^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*(?:@?(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.?)*)?$",
"i"),Aha=["@twosync.google.com","@twosync-src.google.com","@twosync-loas.google.com"];var Mha=new WeakMap;var fia=Nf().user.email,nia=new WeakMap,pia=new WeakMap;var wjc=new Map;var ng=globalThis;var qg=Object.getOwnPropertyDescriptor,Kia=Object.defineProperty,Nia=Object.getPrototypeOf,cja=Object.create,dja=Array.prototype.slice,xja=og("addEventListener"),yja=og("removeEventListener"),xg=og(""),xjc=typeof window!=="undefined",wg=xjc?window:void 0,sg=xjc&&wg||globalThis,yjc=typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope,Wia=!("nw"in sg)&&typeof sg.process!=="undefined"&&sg.process.toString()==="[object process]",eja=!Wia&&!yjc&&!(!xjc||!wg.HTMLElement),fja=typeof sg.process!==
"undefined"&&sg.process.toString()==="[object process]"&&!yjc&&!(!xjc||!wg.HTMLElement),Iia={},zjc=og("enable_beforeunload"),Jia=function(a){if(a=a||sg.event){var b=Iia[a.type];b||(b=Iia[a.type]=og("ON_PROPERTY"+a.type));var c=this||a.target||sg;b=c[b];eja&&c===wg&&a.type==="error"?(c=a,c=b&&b.call(this,c.message,c.filename,c.lineno,c.colno,c.error),c===!0&&a.preventDefault()):(c=b&&b.apply(this,arguments),a.type==="beforeunload"&&sg[zjc]&&typeof c==="string"?a.returnValue=c:c==void 0||c||a.preventDefault());
return c}},tg=og("originalInstance"),Pia=!1,Qia=!1;var Yia={useG:!0},yg={},Xia={},$ia=new RegExp("^"+xg+"(\\w+)(true|false)$"),Via=og("propagationStopped");var hja,ija,jja,kja,Ag;var sja=[].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(" ")));var wja=og("zoneTask");var Uw=function(a,b){this.key_=a;this.value_=b},Ajc=function(a){throw Error("za`"+a.key_);},Bjc=function(a,b){return new TypeError("Aa`"+b+"`"+a.key_+"`"+a.value_+"`"+typeof a.value_)};Uw.prototype.string=function(a){if(arguments.length==0)var b=Cjc(this);else{var c;b=(c=Djc(this))!=null?c:a}return b};var Cjc=function(a){var b=Djc(a);b===null&&Ajc(a);return b},Djc=function(a){var b=a.value_;if(b==null)return null;if(typeof b==="string")return b;throw Bjc(a,"string");};
Uw.prototype.bool=function(a){if(arguments.length==0){var b=Ejc(this);b===null&&Ajc(this)}else b=Fjc(this,a);return b};var Fjc=function(a,b){var c;return(c=Ejc(a))!=null?c:b},Ejc=function(a){var b=a.value_;if(b==null)return null;if(typeof b==="boolean")return b;if(typeof b==="string"){b=b.toLowerCase();if(b==="true"||b==="1")return!0;if(b==="false"||b==="0")return!1}throw Bjc(a,"boolean");};
Uw.prototype.number=function(a){if(arguments.length==0){var b=Gjc(this);b===null&&Ajc(this)}else{var c;b=(c=Gjc(this))!=null?c:a}return b};var Gjc=function(a){var b=a.value_;if(b==null)return null;if(typeof b==="number")return b;if(typeof b==="string"){var c=Number(b);if(!isNaN(c)&&(c!==0||b.trim().length!==0))return c}throw Bjc(a,"number");};Uw.prototype.toString=function(){return Cjc(this)};
Uw.prototype.array=function(a){if(arguments.length==0){var b=Hjc(this);b===null&&Ajc(this);return b}b=Hjc(this);return b==null?a:b};var Hjc=function(a){var b=a.value_;if(b==null)return null;Array.isArray(b)||(typeof b!=="string"?b=[b]:(b=b.trim(),b=b==""?[]:b.split(",").map(function(c){return c.trim()})));return Ijc(a,b)},Ijc=function(a,b){var c=a.key_+"[";return Array.from(b,function(d,e){return new Uw(c+e+"]",d)})};
Uw.prototype.object=function(a){var b=this.value_;if(b==null)return a===void 0&&Ajc(this),a;if(typeof b==="object"&&b.constructor===Object){a={};var c=this.key_+".",d;for(d in b)a[d]=new Uw(c+d,b[d]);return a}throw Bjc(this,"object");};var Jjc;if(!(Jjc=typeof window==="undefined")){var Kjc,Ljc=Kjc=Kjc===void 0?window:Kjc;Ljc=Ljc===void 0?window:Ljc;var Mjc,Njc=Ljc;Njc=Njc===void 0?window:Njc;Mjc=Njc.WIZ_global_data;Jjc=Fjc(new Uw("mXaIFf",Mjc&&"mXaIFf"in Mjc?Mjc.mXaIFf:null),!0)}if(Jjc){var Vw=globalThis,Ojc=Vw[og("forceDuplicateZoneCheck")]===!0;if(Vw.Zone&&(Ojc||typeof Vw.Zone.__symbol__!=="function"))throw Error("Ea");Vw.Zone!=null||(Vw.Zone=Dia());var zg=Vw.Zone;Bja();Cja();Dja();gja();uja();zja();Aja()};var Eja=Cg({"\u0275prov":Cg}),Hja=Cg({"\u0275inj":Cg});var Fg=null,Kja=!1,Jg=1,Pg=Symbol("Fa"),Ww={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:function(){return!1},producerRecomputeValue:function(){},consumerMarkedDirty:function(){},consumerOnSignalRead:function(){}};var Xw=Symbol("Ga"),Yw=Symbol("Ha"),Og=Symbol("Ia"),Qja=Object.assign({},Ww,{value:Xw,dirty:!0,error:null,equal:Jja,kind:"computed",producerMustRecompute:function(a){return a.value===Xw||a.value===Yw},producerRecomputeValue:function(a){if(a.value===Yw)throw Error("$");var b=a.value;a.value=Yw;var c=Lg(a),d=!1;try{var e=a.computation();Gg(null);d=b!==Xw&&b!==Og&&e!==Og&&a.equal(b,e)}catch(f){e=Og,a.error=f}finally{Mg(a,c)}d?a.value=b:(a.value=e,a.version++)}});var Pjc=Object.assign({},Ww,{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});var Tja=function(){throw Error();};var Sja=Object.assign({},Ww,{equal:Jja,value:void 0,kind:"signal"});var Vja=Object.assign({},Ww,{value:Xw,dirty:!0,error:null,equal:Jja,kind:"linkedSignal",producerMustRecompute:function(a){return a.value===Xw||a.value===Yw},producerRecomputeValue:function(a){if(a.value===Yw)throw Error("$");var b=a.value;a.value=Yw;var c=Lg(a);try{var d=a.source();var e=a.computation(d,b===Xw||b===Og?void 0:{source:a.sourceValue,value:b});a.sourceValue=d}catch(f){e=Og,a.error=f}finally{Mg(a,c)}b!==Xw&&e!==Og&&a.equal(b,e)?a.value=b:(a.value=e,a.version++)}});Object.assign({},Ww,{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:function(a){a.schedule!==null&&a.schedule(a.ref)},cleanupFn:function(){}});var kh=function(a,b){this._desc=a;this.ngMetadataName="InjectionToken";this.\u0275prov=void 0;typeof b=="number"?this.__NG_ELEMENT_ID__=b:b!==void 0&&(this.\u0275prov=Dg({token:this,providedIn:b.providedIn||"root",factory:b.factory}))};kh.prototype.toString=function(){return"InjectionToken "+this._desc};pg.Object.defineProperties(kh.prototype,{multi:{configurable:!0,enumerable:!0,get:function(){return this}}});new kh("",{providedIn:"root",factory:function(){return!1}});var pna=new kh("",{providedIn:"root",factory:function(){return{queue:new Set,isScheduled:!1}}});new kh("",{providedIn:"root",factory:function(){return 4E3}});var Ug=function(a,b){b=Error.call(this,"NG0"+Math.abs(a)+(b?": "+b:""));this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a};Y(Ug,Error);var gh=Cg({"\u0275cmp":Cg}),npa=Cg({"\u0275dir":Cg}),ika=Cg({"\u0275pipe":Cg}),Qjc=Cg({"\u0275mod":Cg}),kka=Cg({"\u0275fac":Cg}),mla=Cg({__NG_ELEMENT_ID__:Cg}),Rjc=Cg({__NG_ENV_ID__:Cg});var Zja=Cg({ngErrorCode:Cg}),$ja=Cg({ngErrorMessage:Cg});Cg({ngTokenPath:Cg});var Wg;var Yg=void 0;var cka=Symbol("Ja");var fka=Cg({__forward_ref__:Cg});var Ki=globalThis;var Zw={},Hka=function(a){this.injector=a};Hka.prototype.retrieve=function(a,b){b=ch(b)||0;try{return this.injector.get(a,b&8?null:Zw,b)}catch(c){if(dka(c))return c;throw c;}};var ih=new kh("");var Sjc=new kh("",-1);var uka=new kh("");var yka=function(){};yka.prototype.get=function(a,b){b=b===void 0?Zw:b;if(b===Zw)throw a=aka(-201),a.name="\u0275NotFound",a;return b};var qh={},hh=[];var vka=Cg({provide:String,useValue:Cg});var Gsa=new kh("");var Dka={},Tjc={},xka=void 0,Vi=function(){},mh=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;Gka(a,function(f){return Ujc(e,f)});this.records.set(Sjc,lh(void 0,this));d.has("environment")&&this.records.set(Vi,lh(void 0,this));a=this.records.get(Gsa);a!=null&&typeof a.value==="string"&&this.scopes.add(a.value);this.injectorDefTypes=new Set(this.get(uka,hh,{self:!0}))};Y(mh,Vi);
g=mh.prototype;g.retrieve=function(a,b){b=ch(b)||0;try{return this.get(a,Zw,b)}catch(c){if(dka(c))return c;throw c;}};g.destroy=function(){Fka(this);this._destroyed=!0;var a=Gg(null);try{for(var b=l(this._ngOnDestroyHooks),c=b.next();!c.done;c=b.next())c.value.ngOnDestroy();var d=this._onDestroyHooks;this._onDestroyHooks=[];for(var e=l(d),f=e.next();!f.done;f=e.next()){var h=f.value;h()}}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Gg(a)}};
g.onDestroy=function(a){var b=this;Fka(this);this._onDestroyHooks.push(a);return function(){var c=b._onDestroyHooks.indexOf(a);c!==-1&&b._onDestroyHooks.splice(c,1)}};
g.get=function(a,b,c){b=b===void 0?Zw:b;Fka(this);if(a.hasOwnProperty(Rjc))return a[Rjc](this);c=ch(c);var d=Zg(this),e=Xg();try{if(!(c&4)){var f=this.records.get(a);if(f===void 0){var h=(typeof a==="function"||typeof a==="object"&&a.ngMetadataName==="InjectionToken")&&Fja(a),k;if(k=h)if(h.providedIn){var q=ah(h.providedIn);k=typeof q==="string"?q==="any"||this.scopes.has(q):this.injectorDefTypes.has(q)}else k=!1;k?f=lh(Bka(a),Dka):f=null;this.records.set(a,f)}if(f!=null){a:{b=f;var u=Gg(null);try{if(b.value===
Tjc)throw Sg(a),aka(-200);b.value===Dka&&(b.value=Tjc,b.value=b.factory(void 0,c));var A;if(A=typeof b.value==="object"&&b.value){var D=b.value;A=D!==null&&typeof D==="object"&&typeof D.ngOnDestroy==="function"}A&&this._ngOnDestroyHooks.add(b.value);var H=b.value;break a}finally{Gg(u)}H=void 0}return H}}var O=c&2?zka():this.parent;b=c&8&&b===Zw?null:b;return O.get(a,b)}catch(S){var P=S[Zja];if(P===-200||P===-201)throw new Ug(P,null);throw S;}finally{Xg(e),Zg(d)}};
g.resolveInjectorInitializers=function(){var a=Gg(null),b=Zg(this),c=Xg();try{for(var d=this.get(ih,hh,{self:!0}),e=l(d),f=e.next();!f.done;f=e.next()){var h=f.value;h()}}finally{Zg(b),Xg(c),Gg(a)}};g.toString=function(){for(var a=[],b=l(this.records.keys()),c=b.next();!c.done;c=b.next())a.push(Sg(c.value));return"R3Injector["+a.join(", ")+"]"};
var Ujc=function(a,b){b=ah(b);var c=jh(b)?b:ah(b&&b.provide),d=Eka(b);if(!jh(b)&&b.multi===!0){var e=a.records.get(c);e||(e=lh(void 0,Dka,!0),e.factory=function(){return hka(e.multi)},a.records.set(c,e));c=b;e.multi.push(b)}a.records.set(c,d)};pg.Object.defineProperties(mh.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});var Lka=function(a,b,c){this.previousValue=a;this.currentValue=b;this.firstChange=c};var $w=function(){var a=function(){return Kka};a.ngInherit=!0;return a}();var Vjc=[],Jh=function(a,b,c){b=b===void 0?null:b;for(var d=0;d<Vjc.length;d++)(0,Vjc[d])(a,b,c)};var yh=Zka(null),Si=null,Tka=!1,Pi=!0;var Bla=function(a,b){var c=Ui;this.factory=a;this.name=null;this.resolving=!1;this.canSeeViewProviders=b;this.injectImpl=c};var kla=!0,nla=0,Lh={},Mh=function(a,b){this._tNode=a;this._lView=b};Mh.prototype.get=function(a,b,c){return xla(this._tNode,this._lView,a,ch(c),b)};var ax=function(a){var b=this;this.attributeName=a;this.__NG_ELEMENT_ID__=function(){return ula(b.attributeName)}};ax.prototype.toString=function(){return"HostAttributeToken "+this.attributeName};var Wjc=function(){var a=new kh("");a.__NG_ELEMENT_ID__=function(b){var c=Ah();if(c===null)throw new Ug(204,!1);if(c.type&2)return c.value;if(b&8)return null;throw new Ug(204,!1);};return a}();var Xjc=dh(Ela("Inject",function(a){return{token:a}}),-1),Yjc=dh(Ela("Optional"),8);dh(Ela("Self"),2);var Zjc=dh(Ela("SkipSelf"),4);dh(Ela("Host"),1);Cg({provide:String,useValue:Cg});var yj=function(){},Rk=function(a){if(Array.isArray(a))return Gla({name:""},void 0,a,"");var b,c=(b=a.name)!=null?b:"";return Gla({name:c},a.parent,a.providers,c)},$jc=new yka;yj.\u0275prov=Dg({token:yj,providedIn:"any",factory:function(){return bh(Sjc)}});yj.__NG_ELEMENT_ID__=-1;var akc=function(){};var bx=function(){},XBa=function(){};var Xi=function(){},qsa=new kh("",{providedIn:"root",factory:function(){return!0}});new kh("",{providedIn:"root",factory:function(){return!1}});var rsa=new kh("");/*

 Copyright 2024 Google, Inc
 SPDX-License-Identifier: MIT
*/
Symbol.for("propagationStopped");var Lla=void 0;var bkc=new kh("",{providedIn:"root",factory:function(){return"ng"}}),Hsa=new kh(""),ckc=new kh("",{providedIn:"platform",factory:function(){return"unknown"}}),en=new kh(""),dkc=new kh("",{providedIn:"root",factory:function(){var a,b;return((a=Mla().body)==null?void 0:(b=a.querySelector("[ngCspNonce]"))==null?void 0:b.getAttribute("ngCspNonce"))||null}}),ekc={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1};
new kh("",{providedIn:"root",factory:function(){return ekc}});new kh("",{providedIn:"root",factory:function(){return{}}});new kh("");var ooa=new kh("",{providedIn:"root",factory:function(){return!1}});new kh("");new kh("");new kh("");new kh("",{providedIn:"root",factory:function(){return new Map}});var fkc=new kh("");new kh("");var Pla=new Map,Gna=0;var gkc=function(){},hkc=function(){};var Ph=function(a){this.nativeElement=a};Ph.__NG_ELEMENT_ID__=function(){return Qh(Ah(),y())};new kh("",{providedIn:"root",factory:function(){return!0}});var Wi=function(){},$m=function(){this.destroyNode=null};$m.__NG_ELEMENT_ID__=function(){var a=y(),b=th(Ah().index,a);return(oh(b)?b:a)[11]};var ikc={};var hpa=function(a,b){this.injector=a;this.parentInjector=b};hpa.prototype.get=function(a,b,c){var d=this.injector.get(a,ikc,c);return d!==ikc||b===ikc?d:this.parentInjector.get(a,b,c)};var Tla=/^>|^->|\x3c!--|--\x3e|--!>|<!-$/g,Ula=/(<|>)/g;var Sh={};var Mm=new kh("");var Cj=function(){};Cj.__NG_ELEMENT_ID__=bma;Cj.__NG_ENV_ID__=function(a){return a};var Wh=function(a){this._lView=a};Y(Wh,Cj);Wh.__NG_ENV_ID__=Cj.__NG_ENV_ID__;Wh.__NG_ELEMENT_ID__=Cj.__NG_ELEMENT_ID__;Wh.prototype.onDestroy=function(a){var b=this._lView;Qka(b,a);return function(){if(b[21]!==null){var c=b[21].indexOf(a);c!==-1&&b[21].splice(c,1)}}};pg.Object.defineProperties(Wh.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return(this._lView[2]&256)===256}}});var jkc=function(a){var b=Error.call(this,a?a.length+" errors occurred during unsubscription:\n"+a.map(function(c,d){return d+1+") "+c.toString()}).join("\n  "):"");this.message=b.message;"stack"in b&&(this.stack=b.stack);this.errors=a;Object.setPrototypeOf(this,this.constructor.prototype);this.name="UnsubscriptionError"};Y(jkc,Error);var Yh=function(a){this.initialTeardown=a;this.closed=!1;this._teardowns=this._parentage=null};g=Yh.prototype;
g.unsubscribe=function(){if(!this.closed){this.closed=!0;var a=this._parentage;if(Array.isArray(a))for(var b=l(a),c=b.next();!c.done;c=b.next())c.value.remove(this);else a==null||a.remove(this);b=this.initialTeardown;if(Xh(b))try{b()}catch(f){var d=f instanceof jkc?f.errors:[f]}var e=this._teardowns;if(e)for(this._teardowns=null,b=l(e),c=b.next();!c.done;c=b.next()){c=c.value;try{Xh(c)?c():c.unsubscribe()}catch(f){c=void 0,d=(c=d)!=null?c:[],f instanceof jkc?d=[].concat(p(d),p(f.errors)):d.push(f)}}if(d)throw new jkc(d);
}};g.add=function(a){if(a&&a!==this)if(this.closed)Xh(a)?a():a.unsubscribe();else{if(a instanceof Yh){if(a.closed||a._hasParent(this))return;a._addParent(this)}var b;(this._teardowns=(b=this._teardowns)!=null?b:[]).push(a)}};g._hasParent=function(a){var b=this._parentage;return b===a||Array.isArray(b)&&b.includes(a)};g._addParent=function(a){var b=this._parentage;this._parentage=Array.isArray(b)?(b.push(a),b):b?[b,a]:a};
g._removeParent=function(a){var b=this._parentage;b===a?this._parentage=null:Array.isArray(b)&&cma(b,a)};g.remove=function(a){var b=this._teardowns;b&&cma(b,a);a instanceof Yh&&a._removeParent(this)};var kkc=new Yh;kkc.closed=!0;Yh.EMPTY=kkc;var ema=function(){setTimeout.apply(null,p(rd.apply(0,arguments)))};var cx=function(a){Yh.call(this);this.isStopped=!1;this.destination=a instanceof cx?a:new lkc(!a||Xh(a)?{next:a!=null?a:void 0}:a);dma(a)&&a.add(this)};Y(cx,Yh);cx.EMPTY=Yh.EMPTY;cx.create=function(a,b,c){return new ni(a,b,c)};g=cx.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,Yh.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 lkc=function(a){this.partialObserver=a};lkc.prototype.next=function(a){var b=this.partialObserver;if(b.next)try{b.next(a)}catch(c){fma(c)}};lkc.prototype.error=function(a){var b=this.partialObserver;if(b.error)try{b.error(a)}catch(c){fma(c)}else fma(a)};
lkc.prototype.complete=function(){var a=this.partialObserver;if(a.complete)try{a.complete()}catch(b){fma(b)}};var ni=function(a,b,c){cx.call(this);var d;Xh(a)||!a?d={next:a!=null?a:void 0,error:b!=null?b:void 0,complete:c!=null?c:void 0}:d=a;this.destination=new lkc(d)};Y(ni,cx);ni.EMPTY=cx.EMPTY;ni.create=cx.create;var nma=typeof Symbol==="function"&&Symbol.observable||"@@observable";var bi=function(a){a&&(this._subscribe=a)};g=bi.prototype;g.lift=function(a){var b=new bi;b.source=this;b.operator=a;return b};g.subscribe=function(a,b,c){a=a&&a instanceof cx||a&&Xh(a.next)&&Xh(a.error)&&Xh(a.complete)&&dma(a)?a:new ni(a,b,c);b=this.operator;c=this.source;a.add(b?b.call(a,c):c?this._subscribe(a):this._trySubscribe(a));return a};g._trySubscribe=function(a){try{return this._subscribe(a)}catch(b){a.error(b)}};
g.forEach=function(a,b){var c=this;b=hma(b);return new b(function(d,e){var f=c.subscribe(function(h){try{a(h)}catch(k){e(k),f==null||f.unsubscribe()}},e,d)})};g._subscribe=function(a){var b;return(b=this.source)==null?void 0:b.subscribe(a)};bi.prototype[nma]=function(){return this};bi.prototype.pipe=function(){var a=rd.apply(0,arguments);return a.length?gma(a)(this):this};bi.create=function(a){return new bi(a)};var mkc=function(){var a=Error.call(this,"object unsubscribed");this.message=a.message;"stack"in a&&(this.stack=a.stack);Object.setPrototypeOf(this,this.constructor.prototype);this.name="ObjectUnsubscribedError"};Y(mkc,Error);var oj=function(){this.observers=[];this.hasError=this.isStopped=this.closed=!1;this.thrownError=null};Y(oj,bi);g=oj.prototype;g.lift=function(a){var b=new dx(this,this);b.operator=a;return b};g._throwIfClosed=function(){if(this.closed)throw new mkc;};g.next=function(a){this._throwIfClosed();if(!this.isStopped)for(var b=l(this.observers.slice()),c=b.next();!c.done;c=b.next())c.value.next(a)};
g.error=function(a){this._throwIfClosed();if(!this.isStopped){this.hasError=this.isStopped=!0;this.thrownError=a;for(var b=this.observers;b.length;)b.shift().error(a)}};g.complete=function(){this._throwIfClosed();if(!this.isStopped){this.isStopped=!0;for(var a=this.observers;a.length;)a.shift().complete()}};g.unsubscribe=function(){this.isStopped=this.closed=!0;this.observers=null};g._trySubscribe=function(a){this._throwIfClosed();return bi.prototype._trySubscribe.call(this,a)};
g._subscribe=function(a){this._throwIfClosed();this._checkFinalizedStatuses(a);return this._innerSubscribe(a)};g._innerSubscribe=function(a){var b=this,c=this.isStopped,d=this.observers;return this.hasError||c?Yh.EMPTY:(d.push(a),new Yh(function(){return cma(b.observers,a)}))};g._checkFinalizedStatuses=function(a){var b=this.thrownError,c=this.isStopped;this.hasError?a.error(b):c&&a.complete()};var ex=function(a){var b=new bi;b.source=a;return b};
pg.Object.defineProperties(oj.prototype,{observed:{configurable:!0,enumerable:!0,get:function(){var a;return((a=this.observers)==null?void 0:a.length)>0}}});oj.create=function(a,b){return new dx(a,b)};var dx=function(a,b){oj.call(this);this.destination=a;this.source=b};Y(dx,oj);dx.create=oj.create;dx.prototype.next=function(a){var b,c;(b=this.destination)==null||(c=b.next)==null||c.call(b,a)};dx.prototype.error=function(a){var b,c;(b=this.destination)==null||(c=b.error)==null||c.call(b,a)};
dx.prototype.complete=function(){var a,b;(a=this.destination)==null||(b=a.complete)==null||b.call(a)};dx.prototype._subscribe=function(a){var b,c;return(c=(b=this.source)==null?void 0:b.subscribe(a))!=null?c:Yh.EMPTY};var $n=function(a){oj.call(this);this._value=a};Y($n,oj);$n.create=oj.create;$n.prototype._subscribe=function(a){var b=oj.prototype._subscribe.call(this,a);!b.closed&&a.next(this._value);return b};$n.prototype.getValue=function(){var a=this.thrownError,b=this._value;if(this.hasError)throw a;this._throwIfClosed();return b};$n.prototype.next=function(a){oj.prototype.next.call(this,this._value=a)};pg.Object.defineProperties($n.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});var Bi=new bi(function(a){return a.complete()});var lma=typeof Symbol==="function"&&Symbol.iterator?Symbol.iterator:"@@iterator";var rma=function(a){return a&&typeof a.length==="number"&&typeof a!=="function"};var nkc={now:function(){return(nkc.delegate||Date).now()},delegate:void 0};var nj=function(a,b,c){a=a===void 0?Infinity:a;b=b===void 0?Infinity:b;c=c===void 0?nkc:c;oj.call(this);this.bufferSize=a;this.windowTime=b;this.timestampProvider=c;this.buffer=[];this.infiniteTimeWindow=b===Infinity;this.bufferSize=Math.max(1,a);this.windowTime=Math.max(1,b)};Y(nj,oj);nj.create=oj.create;
nj.prototype.next=function(a){var b=this.buffer,c=this.infiniteTimeWindow,d=this.timestampProvider,e=this.windowTime;this.isStopped||(b.push(a),!c&&b.push(d.now()+e));okc(this);oj.prototype.next.call(this,a)};nj.prototype._subscribe=function(a){this._throwIfClosed();okc(this);for(var b=this._innerSubscribe(a),c=this.infiniteTimeWindow,d=this.buffer.slice(),e=0;e<d.length&&!a.closed;e+=c?1:2)a.next(d[e]);this._checkFinalizedStatuses(a);return b};
var okc=function(a){var b=a.bufferSize,c=a.timestampProvider,d=a.buffer;a=a.infiniteTimeWindow;var e=(a?1:2)*b;b<Infinity&&e<d.length&&d.splice(0,d.length-e);if(!a){b=c.now();c=0;for(a=1;a<d.length&&d[a]<=b;a+=2)c=a;c&&d.splice(0,c+1)}};var qkc=function(a,b){b=b===void 0?pkc:b;this.schedulerActionCtor=a;this.now=b};qkc.prototype.schedule=function(a,b,c){b=b===void 0?0:b;return(new this.schedulerActionCtor(this,a)).schedule(c,b)};var pkc=nkc.now;var oi=function(){var a=Error.call(this,"no elements in sequence");this.message=a.message;"stack"in a&&(this.stack=a.stack);Object.setPrototypeOf(this,this.constructor.prototype);this.name="EmptyError"};Y(oi,Error);var ri=function(a,b,c,d,e){cx.call(this,a);this.onUnsubscribe=e;b&&(this._next=function(f){try{b(f)}catch(h){this.destination.error(h)}});c&&(this._error=function(f){try{c(f)}catch(h){this.destination.error(h)}this.unsubscribe()});d&&(this._complete=function(){try{d()}catch(f){this.destination.error(f)}this.unsubscribe()})};Y(ri,cx);ri.EMPTY=cx.EMPTY;ri.create=cx.create;ri.prototype.unsubscribe=function(){var a;this.closed||(a=this.onUnsubscribe)!=null&&a.call(this);cx.prototype.unsubscribe.call(this)};var mj=function(a,b){this.source=a;this.subjectFactory=b;this._subject=null;this._refCount=0;this._connection=null};Y(mj,bi);mj.create=bi.create;mj.prototype._subscribe=function(a){return rkc(this).subscribe(a)};var rkc=function(a){var b=a._subject;if(!b||b.isStopped)a._subject=a.subjectFactory();return a._subject};mj.prototype._teardown=function(){this._refCount=0;var a=this._connection;this._subject=this._connection=null;a==null||a.unsubscribe()};
mj.prototype.connect=function(){var a=this,b=this._connection;if(!b){b=this._connection=new Yh;var c=rkc(this);b.add(this.source.subscribe(new ri(c,void 0,function(d){a._teardown();c.error(d)},function(){a._teardown();c.complete()},function(){return a._teardown()})));b.closed&&(this._connection=null,b=Yh.EMPTY)}return b};mj.prototype.refCount=function(){return Cma()(this)};var Dma=Array.isArray;var Fma=Array.isArray,skc=Object,Gma=skc.getPrototypeOf,Hma=skc.prototype,Ima=skc.keys;var Mma=function(a,b,c){cx.call(this,a);this._next=b;this.shouldComplete=c};Y(Mma,cx);Mma.EMPTY=cx.EMPTY;Mma.create=cx.create;Mma.prototype._complete=function(){this.shouldComplete()?cx.prototype._complete.call(this):this.unsubscribe()};var tkc=function(){return requestAnimationFrame.apply(null,p(rd.apply(0,arguments)))},ukc=function(){cancelAnimationFrame.apply(null,p(rd.apply(0,arguments)))};var Qma=["addListener","removeListener"],Pma=["addEventListener","removeEventListener"],Sma=["on","off"];var fx=function(){Yh.call(this)};Y(fx,Yh);fx.EMPTY=Yh.EMPTY;fx.prototype.schedule=function(){return this};var vkc=function(a,b){return setInterval.apply(null,[a,b].concat(p(rd.apply(2,arguments))))};var gx=function(a,b){Yh.call(this);this.scheduler=a;this.work=b;this.pending=!1};Y(gx,fx);gx.EMPTY=fx.EMPTY;g=gx.prototype;g.schedule=function(a,b){b=b===void 0?0:b;if(this.closed)return this;this.state=a;a=this.id;var c=this.scheduler;a!=null&&(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=c===void 0?0:c;return vkc(a.flush.bind(a,this),c)};
g.recycleAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!=null&&this.delay===c&&this.pending===!1)return b;clearInterval(b)};g.execute=function(a,b){if(this.closed)return Error("Pa");this.pending=!1;if(a=this._execute(a,b))return a;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))};g._execute=function(a){var b=!1;try{this.work(a)}catch(d){b=!0;var c=!!d&&d||Error(d)}if(b)return this.unsubscribe(),c};
g.unsubscribe=function(){if(!this.closed){var a=this.id,b=this.scheduler,c=b.actions;this.work=this.state=this.scheduler=null;this.pending=!1;cma(c,this);a!=null&&(this.id=this.recycleAsyncId(b,a,null));this.delay=null;fx.prototype.unsubscribe.call(this)}};var hx=function(a,b){b=b===void 0?pkc:b;qkc.call(this,a,b);this.actions=[];this.active=!1;this.scheduled=void 0};Y(hx,qkc);hx.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 zi=new hx(gx);var ix=new bi(Zh);var Wma=Array.isArray;var $ma=function(a){var b=Error.call(this,"Timeout has occurred");this.message=b.message;"stack"in b&&(this.stack=b.stack);this.info=a===void 0?null:a;Object.setPrototypeOf(this,this.constructor.prototype);this.name="TimeoutError"};Y($ma,Error);var wkc=function(a,b){gx.call(this,a,b);this.scheduler=a;this.work=b};Y(wkc,gx);wkc.EMPTY=gx.EMPTY;wkc.prototype.requestAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!==null&&c>0)return gx.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=tkc(function(){return a.flush(void 0)}))};
wkc.prototype.recycleAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!=null&&c>0||c==null&&this.delay>0)return gx.prototype.recycleAsyncId.call(this,a,b,c);a.actions.length===0&&(ukc(b),a.scheduled=void 0)};var xkc=function(){hx.apply(this,arguments)};Y(xkc,hx);xkc.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 ykc=new xkc(wkc);var zkc=1,Akc,ana={},Bkc=function(a){var b=zkc++;ana[b]=!0;Akc||(Akc=Promise.resolve());Akc.then(function(){return bna(b)&&a()});return b};var Ckc=function(){return Bkc.apply(null,p(rd.apply(0,arguments)))};var Dkc=function(a,b){gx.call(this,a,b);this.scheduler=a;this.work=b};Y(Dkc,gx);Dkc.EMPTY=gx.EMPTY;Dkc.prototype.requestAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!==null&&c>0)return gx.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=Ckc(a.flush.bind(a,void 0)))};
Dkc.prototype.recycleAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!=null&&c>0||c==null&&this.delay>0)return gx.prototype.recycleAsyncId.call(this,a,b,c);a.actions.length===0&&(bna(b),a.scheduled=void 0)};var Ekc=function(){hx.apply(this,arguments)};Y(Ekc,hx);Ekc.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 xp=new Ekc(Dkc);var Nk=function(){this.taskId=0;this.pendingTasks=new Set;this.destroyed=!1;this.pendingTask=new $n(!1)};Nk.prototype.add=function(){this.hasPendingTasks||this.destroyed||this.pendingTask.next(!0);var a=this.taskId++;this.pendingTasks.add(a);return a};Nk.prototype.has=function(a){return this.pendingTasks.has(a)};Nk.prototype.remove=function(a){this.pendingTasks.delete(a);this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)};
Nk.prototype.ngOnDestroy=function(){this.pendingTasks.clear();this.hasPendingTasks&&this.pendingTask.next(!1);this.destroyed=!0;this.pendingTask.unsubscribe()};pg.Object.defineProperties(Nk.prototype,{hasPendingTasks:{configurable:!0,enumerable:!0,get:function(){return this.destroyed?!1:this.pendingTask.value}},hasPendingTasksObservable:{configurable:!0,enumerable:!0,get:function(){return this.destroyed?new bi(function(a){a.next(!1);a.complete()}):this.pendingTask}}});
Nk.\u0275prov=Dg({token:Nk,providedIn:"root",factory:function(){return new Nk}});var Lp=function(a){a=a===void 0?!1:a;oj.call(this);this.pendingTasks=this.destroyRef=void 0;this.__isAsync=a;if(Wg!==void 0||Yg!=null){var b;this.destroyRef=(b=x(Cj,{optional:!0}))!=null?b:void 0;var c;this.pendingTasks=(c=x(Nk,{optional:!0}))!=null?c:void 0}};Y(Lp,oj);Lp.create=oj.create;Lp.prototype.emit=function(a){var b=Gg(null);try{oj.prototype.next.call(this,a)}finally{Gg(b)}};
Lp.prototype.subscribe=function(a,b,c){var d=a;b=b||function(){return null};if(a&&typeof a==="object"){var e;d=(e=a.next)==null?void 0:e.bind(a);var f;b=(f=a.error)==null?void 0:f.bind(a);var h;c=(h=a.complete)==null?void 0:h.bind(a)}this.__isAsync&&(b=Fkc(this,b),d&&(d=Fkc(this,d)),c&&(c=Fkc(this,c)));d=oj.prototype.subscribe.call(this,{next:d,error:b,complete:c});a instanceof Yh&&a.add(d);return d};
var Fkc=function(a,b){return function(c){var d,e=(d=a.pendingTasks)==null?void 0:d.add();setTimeout(function(){try{b(c)}finally{if(e!==void 0){var f;(f=a.pendingTasks)==null||f.remove(e)}}})}};var jna=0,Kk=function(a){this.hasPendingMicrotasks=this.hasPendingMacrotasks=!1;this.isStable=!0;this.onUnstable=new Lp(!1);this.onMicrotaskEmpty=new Lp(!1);this.onStable=new Lp(!1);this.onError=new Lp(!1);var b=a.enableLongStackTrace===void 0?!1:a.enableLongStackTrace,c=a.shouldCoalesceEventChangeDetection===void 0?!1:a.shouldCoalesceEventChangeDetection,d=a.shouldCoalesceRunChangeDetection===void 0?!1:a.shouldCoalesceRunChangeDetection;a=a.scheduleInRootZone===void 0?!1:a.scheduleInRootZone;if(typeof Zone==
"undefined")throw new Ug(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=!d&&c;this.shouldCoalesceRunChangeDetection=d;this.callbackScheduled=!1;this.scheduleInRootZone=a;mna(this)},Gkc=function(){return typeof Zone!=="undefined"&&Zone.current.get("isAngularZone")===
!0},Hkc=function(){if(Gkc())throw new Ug(909,!1);};Kk.prototype.run=function(a,b,c){return this._inner.run(a,b,c)};Kk.prototype.runTask=function(a,b,c,d){var e=this._inner;a=e.scheduleEventTask("NgZoneEvent: "+d,a,Ikc,dna,dna);try{return e.runTask(a,b,c)}finally{e.cancelTask(a)}};Kk.prototype.runGuarded=function(a,b,c){return this._inner.runGuarded(a,b,c)};Kk.prototype.runOutsideAngular=function(a){return this._outer.run(a)};
var Ikc={},jx=function(){this.hasPendingMacrotasks=this.hasPendingMicrotasks=!1;this.isStable=!0;this.onUnstable=new Lp;this.onMicrotaskEmpty=new Lp;this.onStable=new Lp;this.onError=new Lp};jx.prototype.run=function(a,b,c){return a.apply(b,c)};jx.prototype.runGuarded=function(a,b,c){return a.apply(b,c)};jx.prototype.runOutsideAngular=function(a){return a()};jx.prototype.runTask=function(a,b,c){return a.apply(b,c)};var kx=function(){this._console=console};kx.prototype.handleError=function(a){this._console.error("ERROR",a)};var Ri=new kh("",{providedIn:"root",factory:function(){var a=x(Kk),b=x(Vi),c;return function(d){a.runOutsideAngular(function(){b.destroyed&&!c?setTimeout(function(){throw d;}):(c!=null||(c=b.get(kx)),c.handleError(d))})}}}),Jkc={provide:ih,useValue:function(){x(kx,{optional:!0})},multi:!0};
new kh("",{providedIn:"root",factory:function(){var a=x(Mm).defaultView;if(a){var b=x(Ri),c=function(f){b(f.reason);f.preventDefault()},d=function(f){f.error?b(f.error):b(Error(f.message,{cause:f}));f.preventDefault()},e=function(){a.addEventListener("unhandledrejection",c);a.addEventListener("error",d)};typeof Zone!=="undefined"?Zone.root.run(e):e();x(Cj).onDestroy(function(){a.removeEventListener("error",d);a.removeEventListener("unhandledrejection",c)})}}});var yna=new Set;var Hi=function(a){this.changingThisBreaksApplicationSecurity=a};Hi.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss)"};var Kkc=function(){Hi.apply(this,arguments)};Y(Kkc,Hi);Kkc.prototype.getTypeName=function(){return"HTML"};var Lkc=function(){Hi.apply(this,arguments)};Y(Lkc,Hi);Lkc.prototype.getTypeName=function(){return"URL"};
var Mkc=function(){Hi.apply(this,arguments)};Y(Mkc,Hi);Mkc.prototype.getTypeName=function(){return"ResourceURL"};var Lna;var Xna=function(a){this.inertDocumentHelper=a};Xna.prototype.getInertBodyElement=function(a){a="<body><remove></remove>"+a;try{var b=(new window.DOMParser).parseFromString(Nna(a),"text/html").body;if(b===null)return this.inertDocumentHelper.getInertBodyElement(a);var c;(c=b.firstChild)==null||c.remove();return b}catch(d){return null}};var Wna=function(a){this.defaultDoc=a;this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")};
Wna.prototype.getInertBodyElement=function(a){var b=this.inertDocument.createElement("template");b.innerHTML=Nna(a);return b};var Ona=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Nkc=Li("area,br,col,hr,img,wbr"),Okc=Li("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Pkc=Li("rp,rt"),Qkc=Qna(Pkc,Okc),Rkc=Qna(Okc,Li("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")),Skc=Qna(Pkc,Li("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")),
Zna=Qna(Nkc,Rkc,Skc,Qkc),aoa=Li("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Tkc=Li("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"),
Ukc=Li("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"),
$na=Qna(aoa,Tkc,Ukc),boa=Li("script,style,template"),Yna=function(){this.buf=[]};Yna.prototype.endElement=function(a){a=Rna(a).toLowerCase();Zna.hasOwnProperty(a)&&!Nkc.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))};var Sna=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Tna=/([^#-~ |!])/g,Vna;var Vkc={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 doa;var mpa=Symbol("Ua");new kh("");var Xoa=[],Yoa=Object.assign({},Ww,{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:function(a){vh(a.lView)},consumerOnSignalRead:function(){this.lView[24]=this}}),Zoa=Object.assign({},Ww,{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:function(a){for(a=wh(a.lView);a&&a[1].type===2;)a=wh(a);a&&Nka(a)},consumerOnSignalRead:function(){this.lView[24]=this}});var Jk=function(a,b){this._lView=a;this._cdRefInjectingView=b;this._appRef=null;this._attachedToViewContainer=!1};g=Jk.prototype;g.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var a=this._lView[3];if(ph(a)){var b=a[8],c=b?b.indexOf(this):-1;c>-1&&(dpa(a,c),mka(b,c))}this._attachedToViewContainer=!1}xna(this._lView[1],this._lView)};g.onDestroy=function(a){Qka(this._lView,a)};
g.markForCheck=function(){ama(this._cdRefInjectingView||this._lView,4)};g.detach=function(){this._lView[2]&=-129};g.detectChanges=function(){this._lView[2]|=1024;Voa(this._lView)};
pg.Object.defineProperties(Jk.prototype,{rootNodes:{configurable:!0,enumerable:!0,get:function(){var a=this._lView,b=a[1];return Roa(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(this._lView[2]&256)===256}}});var jpa=function(){};jpa.\u0275prov=Dg({token:jpa,providedIn:"root",factory:function(){return null}});var Wkc=function(a){this.ngModule=a};Y(Wkc,akc);var Xkc=function(a,b){return new Vk(b[gh]||null,a.ngModule)},Vk=function(a,b){this.componentDef=a;this.ngModule=b;this.cachedOutputs=this.cachedInputs=null;this.componentType=a.type;this.selector=a.selectors.map(Kla).join(",");var c;this.ngContentSelectors=(c=a.ngContentSelectors)!=null?c:[];this.isBoundToModule=!!b};Y(Vk,hkc);
Vk.prototype.create=function(a,b,c,d,e,f){Jh(22);var h=Gg(null);try{var k=this.componentDef,q=ppa(c,k,f,e),u=ipa(k,d||this.ngModule,a),A=kpa(u),D=A.rendererFactory.createRenderer(null,k),H=c?poa(D,c,k.encapsulation,u):lpa(k,D),O=(f==null?void 0:f.some(qpa))||(e==null?void 0:e.some(function(aa){return typeof aa!=="function"&&aa.bindings.some(qpa)})),P=Hna(null,q,null,512|Ina(k),null,null,A,D,u,null,null);P[27]=H;Yka(P);a=null;try{var S=Poa(27,P,2,"#host",function(){return q.directiveRegistry},0);Wla(D,
H,S);Oh(H,P);moa(q,P,S);Foa(q,S,P);Qoa(q,S);b!==void 0&&rpa(S,this.ngContentSelectors,b);a=th(S.index,P);P[8]=a[8];Hoa(q,P,null)}catch(aa){throw a!==null&&Pla.delete(a[19]),Pla.delete(P[19]),aa;}finally{Jh(23),ala()}return new lx(this.componentType,P,!!O)}finally{Gg(h)}};
pg.Object.defineProperties(Vk.prototype,{inputs:{configurable:!0,enumerable:!0,get:function(){this.cachedInputs!=null||(this.cachedInputs=fpa(this.componentDef.inputs));return this.cachedInputs}},outputs:{configurable:!0,enumerable:!0,get:function(){this.cachedOutputs!=null||(this.cachedOutputs=gpa(this.componentDef.outputs));return this.cachedOutputs}}});
var lx=function(a,b,c){this._rootLView=b;this._hasInputBindings=c;this.previousInputValues=null;this._tNode=b[1].data[27];this.location=Qh(this._tNode,b);this.instance=th(this._tNode.index,b)[8];this.hostView=this.changeDetectorRef=new Jk(b,void 0);this.componentType=a};Y(lx,gkc);
lx.prototype.setInput=function(a,b){var c=this._tNode;this.previousInputValues!=null||(this.previousInputValues=new Map);if(!this.previousInputValues.has(a)||!Object.is(this.previousInputValues.get(a),b)){var d=this._rootLView;Oi(c,d[1],d,a,b);this.previousInputValues.set(a,b);a=th(c.index,d);ama(a,1)}};lx.prototype.destroy=function(){this.hostView.destroy()};lx.prototype.onDestroy=function(a){this.hostView.onDestroy(a)};
pg.Object.defineProperties(lx.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return new Mh(this._tNode,this._rootLView)}}});var mx=function(a,b,c,d){d=d===void 0?!0:d;this.ngModuleType=a;this._parent=b;this._bootstrapComponents=[];this.destroyCbs=[];this.componentFactoryResolver=new Wkc(this);var e=(a[Qjc]||null).bootstrap;this._bootstrapComponents=e instanceof Function?e():e;this._r3Injector=Fla(a,b,[{provide:bx,useValue:this},{provide:akc,useValue:this.componentFactoryResolver}].concat(p(c)),Sg(a),new Set(["environment"]));d&&this.resolveInjectorInitializers()};Y(mx,bx);
mx.prototype.resolveInjectorInitializers=function(){this._r3Injector.resolveInjectorInitializers();this.instance=this._r3Injector.get(this.ngModuleType)};mx.prototype.destroy=function(){var a=this._r3Injector;!a.destroyed&&a.destroy();this.destroyCbs.forEach(function(b){return b()});this.destroyCbs=null};mx.prototype.onDestroy=function(a){this.destroyCbs.push(a)};pg.Object.defineProperties(mx.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._r3Injector}}});
var YBa=function(a){this.moduleType=a};Y(YBa,XBa);YBa.prototype.create=function(a){return new mx(this.moduleType,a,[])};var spa=function(a){this.componentFactoryResolver=new Wkc(this);this.instance=null;var b=new mh([].concat(p(a.providers),[{provide:bx,useValue:this},{provide:akc,useValue:this.componentFactoryResolver}]),a.parent||zka(),a.debugName,new Set(["environment"]));this.injector=b;a.runEnvironmentInitializers&&b.resolveInjectorInitializers()};Y(spa,bx);spa.prototype.destroy=function(){this.injector.destroy()};
spa.prototype.onDestroy=function(a){this.injector.onDestroy(a)};var wpa=function(a){this._injector=a;this.cachedInjectors=new Map};wpa.prototype.ngOnDestroy=function(){try{for(var a=l(this.cachedInjectors.values()),b=a.next();!b.done;b=a.next()){var c=b.value;c!==null&&c.destroy()}}finally{this.cachedInjectors.clear()}};wpa.\u0275prov=Dg({token:wpa,providedIn:"environment",factory:function(){return new wpa(bh(Vi))}});var upa=new Set;var Dpa=new kh(""),Ok=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=(b=x(Dpa,{optional:!0}))!=null?b:[];this.injector=x(yj)},vsa=function(a){if(!a.initialized){for(var b=[],c=l(a.appInits),d=c.next(),e={};!d.done;e={initResult:void 0},d=c.next())e.initResult=nh(a.injector,d.value),Bpa(e.initResult)?b.push(e.initResult):Cpa(e.initResult)&&(d=new Promise(function(f){return function(h,k){f.initResult.subscribe({complete:h,
error:k})}}(e)),b.push(d));Promise.all(b).then(function(){a.done=!0;a.resolve()}).catch(function(f){a.reject(f)});b.length===0&&(a.done=!0,a.resolve());a.initialized=!0}};Ok.\u0275fac=function(a){return new (a||Ok)};Ok.\u0275prov=Dg({token:Ok,factory:Ok.\u0275fac,providedIn:"root"});var Bj=new kh("");var nx=function(){};nx.prototype.log=function(a){console.log(a)};nx.prototype.warn=function(a){console.warn(a)};nx.\u0275fac=function(a){return new (a||nx)};nx.\u0275prov=Dg({token:nx,factory:nx.\u0275fac,providedIn:"platform"});var zj=function(){this.impl=null};zj.prototype.execute=function(){var a;(a=this.impl)==null||a.execute()};zj.\u0275prov=Dg({token:zj,providedIn:"root",factory:function(){return new zj}});var Ykc=[0,1,2,3],Aj=function(){this.ngZone=x(Kk);this.scheduler=x(Xi);this.errorHandler=x(kx,{optional:!0});this.sequences=new Set;this.deferredRegistrations=new Set;this.executing=!1;x(Bj,{optional:!0})};
Aj.prototype.execute=function(){var a=this.sequences.size>0;a&&Jh(16);this.executing=!0;for(var b=l(Ykc),c=b.next(),d={};!c.done;d={phase:void 0},c=b.next()){d.phase=c.value;c=l(this.sequences);for(var e=c.next(),f={};!e.done;f={sequence$jscomp$1:void 0},e=c.next())if(f.sequence$jscomp$1=e.value,!f.sequence$jscomp$1.erroredOrDestroyed&&f.sequence$jscomp$1.hooks[d.phase])try{f.sequence$jscomp$1.pipelinedValue=this.ngZone.runOutsideAngular(function(h,k){return function(){return Zkc(function(){return(0,h.sequence$jscomp$1.hooks[k.phase])(h.sequence$jscomp$1.pipelinedValue)},
h.sequence$jscomp$1.snapshot)}}(f,d))}catch(h){f.sequence$jscomp$1.erroredOrDestroyed=!0,e=void 0,(e=this.errorHandler)==null||e.handleError(h)}}this.executing=!1;b=l(this.sequences);for(d=b.next();!d.done;d=b.next())d=d.value,d.afterRun(),d.once&&(this.sequences.delete(d),d.destroy());b=l(this.deferredRegistrations);for(d=b.next();!d.done;d=b.next())this.sequences.add(d.value);this.deferredRegistrations.size>0&&this.scheduler.notify(7);this.deferredRegistrations.clear();a&&Jh(17)};
Aj.prototype.register=function(a){var b=a.view;if(b!==void 0){var c;((c=b[25])!=null?c:b[25]=[]).push(a);vh(b);b[2]|=8192}else this.executing?this.deferredRegistrations.add(a):(this.sequences.add(a),this.scheduler.notify(7))};Aj.prototype.unregister=function(a){this.executing&&this.sequences.has(a)?(a.erroredOrDestroyed=!0,a.pipelinedValue=void 0,a.once=!0):(this.sequences.delete(a),this.deferredRegistrations.delete(a))};var Zkc=function(a,b){return b?b.run(1,a):a()};
Aj.\u0275prov=Dg({token:Aj,providedIn:"root",factory:function(){return new Aj}});var Dj=function(a,b,c,d,e,f){var h=this;this.impl=a;this.hooks=b;this.view=c;this.once=d;this.snapshot=f===void 0?null:f;this.erroredOrDestroyed=!1;this.pipelinedValue=void 0;this.unregisterOnDestroy=e==null?void 0:e.onDestroy(function(){return h.destroy()})};Dj.prototype.afterRun=function(){this.erroredOrDestroyed=!1;this.pipelinedValue=void 0;var a;(a=this.snapshot)==null||a.dispose();this.snapshot=null};
Dj.prototype.destroy=function(){var a=this;this.impl.unregister(this);var b;(b=this.unregisterOnDestroy)==null||b.call(this);var c;(b=(c=this.view)==null?void 0:c[25])&&(this.view[25]=b.filter(function(d){return d!==a}))};var Ksa=function(){};Ksa.\u0275prov=Dg({token:Ksa,providedIn:"root",factory:function(){return new $kc}});var $kc=function(){this.dirtyEffectCount=0;this.queues=new Map};g=$kc.prototype;g.add=function(a){this.enqueue(a);this.schedule(a)};g.schedule=function(a){a.dirty&&this.dirtyEffectCount++};g.remove=function(a){var b=this.queues.get(a.zone);b.has(a)&&(b.delete(a),a.dirty&&this.dirtyEffectCount--)};
g.enqueue=function(a){var b=a.zone;this.queues.has(b)||this.queues.set(b,new Set);b=this.queues.get(b);b.has(a)||b.add(a)};g.flush=function(){for(var a=this;this.dirtyEffectCount>0;){for(var b=!1,c=l(this.queues),d=c.next(),e={};!d.done;e={queue$jscomp$5:void 0},d=c.next()){var f=l(d.value);d=f.next().value;f=f.next().value;e.queue$jscomp$5=f;d===null?b||(b=alc(this,e.queue$jscomp$5)):b||(b=d.run(function(h){return function(){return alc(a,h.queue$jscomp$5)}}(e)))}b||(this.dirtyEffectCount=0)}};
var alc=function(a,b){var c=!1;b=l(b);for(var d=b.next();!d.done;d=b.next())d=d.value,d.dirty&&(a.dirtyEffectCount--,c=!0,d.run());return c};var blc=new kh(""),clc=new kh(""),ox=function(a,b,c){var d=this;this._ngZone=a;this.registry=b;this._isZoneStable=!0;this._callbacks=[];this._taskTrackingZone=null;if(Wg!==void 0||Yg!=null){var e;this._destroyRef=(e=x(Cj,{optional:!0}))!=null?e:void 0}dlc||(dlc=c,elc(b));this._watchAngularEvents();a.run(function(){d._taskTrackingZone=typeof Zone=="undefined"?null:Zone.current.get("TaskTrackingZone")})};
ox.prototype._watchAngularEvents=function(){var a=this,b=this._ngZone.onUnstable.subscribe({next:function(){a._isZoneStable=!1}}),c=this._ngZone.runOutsideAngular(function(){return a._ngZone.onStable.subscribe({next:function(){Hkc();queueMicrotask(function(){a._isZoneStable=!0;a._runCallbacksIfReady()})}})}),d;(d=this._destroyRef)==null||d.onDestroy(function(){b.unsubscribe();c.unsubscribe()})};ox.prototype.isStable=function(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks};
ox.prototype._runCallbacksIfReady=function(){var a=this;if(this.isStable())queueMicrotask(function(){for(;a._callbacks.length!==0;){var c=a._callbacks.pop();clearTimeout(c.timeoutId);c.doneCb()}});else{var b=flc(this);this._callbacks=this._callbacks.filter(function(c){return c.updateCb&&c.updateCb(b)?(clearTimeout(c.timeoutId),!1):!0})}};
var flc=function(a){return a._taskTrackingZone?a._taskTrackingZone.macroTasks.map(function(b){return{source:b.source,creationLocation:b.creationLocation,data:b.data}}):[]};g=ox.prototype;g.addCallback=function(a,b,c){var d=this,e=-1;b&&b>0&&(e=setTimeout(function(){d._callbacks=d._callbacks.filter(function(f){return f.timeoutId!==e});a()},b));this._callbacks.push({doneCb:a,timeoutId:e,updateCb:c})};
g.whenStable=function(a,b,c){if(c&&!this._taskTrackingZone)throw Error("Wa");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[]};ox.\u0275fac=function(a){return new (a||ox)(bh(Kk),bh(px),bh(clc))};ox.\u0275prov=Dg({token:ox,factory:ox.\u0275fac});var px=function(){this._applications=new Map};
px.prototype.registerApplication=function(a,b){this._applications.set(a,b)};px.prototype.unregisterApplication=function(a){this._applications.delete(a)};px.prototype.findTestabilityInTree=function(a,b){var c,d;return(d=(c=dlc)==null?void 0:c.findTestabilityInTree(this,a,b===void 0?!0:b))!=null?d:null};px.\u0275fac=function(a){return new (a||px)};px.\u0275prov=Dg({token:px,factory:px.\u0275fac,providedIn:"platform"});var dlc;var eqa={leading:!0,trailing:!1};var glc=new kh(""),Pk=function(){var a=this;this._destroyed=this._runningTick=!1;this._destroyListeners=[];this._views=[];this.internalErrorHandler=x(Ri);this.afterRenderManager=x(zj);this.zonelessEnabled=x(qsa);this.rootEffectScheduler=x(Ksa);this.dirtyFlags=0;this.tracingSnapshot=null;this.autoDetectTestViews=new Set;this.afterTick=new oj;this.componentTypes=[];this.components=[];this.internalPendingTask=x(Nk);this._injector=x(Vi);this._rendererFactory=null;this.tickImpl=function(){if(a._runningTick)throw new Ug(101,
!1);var b=Gg(null);try{a._runningTick=!0;a._rendererFactory!==null||a._injector.destroyed||(a._rendererFactory=a._injector.get(Wi,null,{optional:!0}));for(var c=0;a.dirtyFlags!==0&&c++<10;){Jh(14);a:{var d=void 0,e=void 0,f=void 0,h=void 0;a.dirtyFlags&16&&(a.dirtyFlags&=-17,a.rootEffectScheduler.flush());var k=!1;if(a.dirtyFlags&7){var q=!!(a.dirtyFlags&1);a.dirtyFlags&=-8;a.dirtyFlags|=8;for(var u=l(a.allViews),A=u.next();!A.done;A=u.next()){var D=A.value._lView;if(q||Oka(D))Voa(D,q&&!a.zonelessEnabled?
0:1),k=!0}a.dirtyFlags&=-5;hlc(a);if(a.dirtyFlags&23)break a}k||((h=a._rendererFactory)==null||(f=h.begin)==null||f.call(h),(e=a._rendererFactory)==null||(d=e.end)==null||d.call(e));a.dirtyFlags&8&&(a.dirtyFlags&=-9,a.afterRenderManager.execute());hlc(a)}Jh(15)}}finally{a._runningTick=!1;var H;(H=a.tracingSnapshot)==null||H.dispose();a.tracingSnapshot=null;Gg(b);a.afterTick.next();Jh(13)}};x(Bj,{optional:!0})};
Pk.prototype.whenStable=function(){var a=this,b;return(new Promise(function(c){b=a.isStable.subscribe({next:function(d){d&&c()}})})).finally(function(){b.unsubscribe()})};Pk.prototype.bootstrap=function(a,b){return ilc(this,a,b)};
var ilc=function(a,b,c){var d=d===void 0?$jc:d;return a._injector.get(Kk).run(function(){Jh(10);var e=b instanceof hkc;if(!a._injector.get(Ok).done)throw new Ug(405,"");var f;e?f=b:f=Xkc(a._injector.get(akc),b);a.componentTypes.push(f.componentType);e=f.isBoundToModule?void 0:a._injector.get(bx);var h=f.create(d,[],c||f.selector,e),k=h.location.nativeElement,q=h.injector.get(blc,null);q==null||q.registerApplication(k);h.onDestroy(function(){a.detachView(h.hostView);iqa(a.components,h);q==null||q.unregisterApplication(k)});
a._loadComponent(h);Jh(11,h);return h})};Pk.prototype.tick=function(){this.zonelessEnabled||(this.dirtyFlags|=1);this._tick()};Pk.prototype._tick=function(){Jh(12);this.tracingSnapshot!==null?this.tracingSnapshot.run(0,this.tickImpl):this.tickImpl()};
var hlc=function(a){a.allViews.some(function(b){return Oka(b._lView)})?a.dirtyFlags|=2:a.dirtyFlags&=-8},jlc=function(a,b){a._views.push(b);if(b._attachedToViewContainer)throw new Ug(902,!1);b._appRef=a;a=(b._lView[2]&512)!==0;var c=b._lView[16];c===null||a||bpa(c,b._lView);Pka(b._lView)};g=Pk.prototype;g.detachView=function(a){iqa(this._views,a);a._appRef=null;var b=(a._lView[2]&512)!==0,c=a._lView[16];c===null||b||vna(c,a._lView);una(a._lView[1],a._lView)};
g._loadComponent=function(a){jlc(this,a.hostView);try{this.tick()}catch(b){this.internalErrorHandler(b)}this.components.push(a);this._injector.get(glc,[]).forEach(function(b){return b(a)})};g.ngOnDestroy=function(){if(!this._destroyed)try{this._destroyListeners.forEach(function(a){return a()}),this._views.slice().forEach(function(a){return a.destroy()})}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}};
g.onDestroy=function(a){var b=this;this._destroyListeners.push(a);return function(){return iqa(b._destroyListeners,a)}};g.destroy=function(){if(this._destroyed)throw new Ug(406,!1);var a=this._injector;a.destroy&&!a.destroyed&&a.destroy()};
pg.Object.defineProperties(Pk.prototype,{allViews:{configurable:!0,enumerable:!0,get:function(){return[].concat(p(this.autoDetectTestViews.keys()),p(this._views))}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}},isStable:{configurable:!0,enumerable:!0,get:function(){return this.internalPendingTask.hasPendingTasksObservable.pipe(C(function(a){return!a}))}},injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},viewCount:{configurable:!0,enumerable:!0,
get:function(){return this._views.length}}});Pk.\u0275fac=function(a){return new (a||Pk)};Pk.\u0275prov=Dg({token:Pk,factory:Pk.\u0275fac,providedIn:"root"});new kh("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR");new kh("");var tqa=function(a,b){this.view=a;this.node=b};tqa.__NG_ELEMENT_ID__=uqa;var qx=function(){this.internalPendingTasks=x(Nk);this.scheduler=x(Xi);this.errorHandler=x(Ri)};qx.prototype.add=function(){var a=this,b=this.internalPendingTasks.add();return function(){a.internalPendingTasks.has(b)&&(a.scheduler.notify(11),a.internalPendingTasks.remove(b))}};qx.prototype.run=function(a){var b=this.add();a().catch(this.errorHandler).finally(b)};qx.\u0275prov=Dg({token:qx,providedIn:"root",factory:function(){return new qx}});var ck=function(){};ck.__NG_ELEMENT_ID__=wqa;var Fj=function(a,b,c){this._lContainer=a;this._hostTNode=b;this._hostLView=c};Y(Fj,ck);Fj.__NG_ELEMENT_ID__=ck.__NG_ELEMENT_ID__;g=Fj.prototype;g.clear=function(){for(;this.length>0;)this.remove(this.length-1)};g.get=function(a){var b=this._lContainer[8];return b!==null&&b[a]||null};
g.createEmbeddedView=function(a,b,c){if(typeof c==="number")var d=c;else if(c!=null){d=c.index;var e=c.injector}a=klc(a,b||{},e,null);llc(this,a,d,wj(this._hostTNode,null));return a};
g.createComponent=function(a,b,c,d,e,f,h){var k=a&&typeof a!=="function";k||(h=b||{},b=h.index,c=h.injector,d=h.projectableNodes,e=h.environmentInjector||h.ngModuleRef,f=h.directives,h=h.bindings);a=k?a:new Vk(a[gh]||null);c=c||this.parentInjector;e||a.ngModule!=null||(k=(k?c:this.parentInjector).get(Vi,null))&&(e=k);d=a.create(c,d,null,e,f,h);llc(this,d.hostView,b,wj(this._hostTNode,null));return d};g.insert=function(a,b){return llc(this,a,b,!0)};
var llc=function(a,b,c,d){var e=b._lView;if(ph(e[3])){var f=a.indexOf(b);f!==-1?a.detach(f):(f=e[3],f=new Fj(f,f[5],f[3]),f.detach(f.indexOf(b)))}c=a._adjustIndex(c);a=a._lContainer;cpa(a,e,c,d);if(b._appRef)throw new Ug(902,!1);b._attachedToViewContainer=!0;d=xqa(a);c>=d.length?d.push(b):d.splice(c,0,b);return b};g=Fj.prototype;g.move=function(a,b){return this.insert(a,b)};g.indexOf=function(a){var b=this._lContainer[8];return b!==null?b.indexOf(a):-1};
g.remove=function(a){a=this._adjustIndex(a,-1);var b=dpa(this._lContainer,a);b&&(mka(xqa(this._lContainer),a),xna(b[1],b))};g.detach=function(a){a=this._adjustIndex(a,-1);var b=dpa(this._lContainer,a);return b&&mka(xqa(this._lContainer),a)!=null?new Jk(b):null};g._adjustIndex=function(a,b){return a==null?this.length+(b===void 0?0:b):a};
pg.Object.defineProperties(Fj.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return Qh(this._hostTNode,this._hostLView)}},injector:{configurable:!0,enumerable:!0,get:function(){return new Mh(this._hostTNode,this._hostLView)}},parentInjector:{configurable:!0,enumerable:!0,get:function(){var a=rla(this._hostTNode,this._hostLView);if(a!==-1){var b=ila(a,this._hostLView);return new Mh(b[1].data[(a&32767)+8],b)}return new Mh(null,this._hostLView)}},length:{configurable:!0,enumerable:!0,
get:function(){return this._lContainer.length-10}}});var yqa=zqa;var Aqa=Eqa;var Oqa=Symbol("Xa");var mlc=function(){};mlc.prototype.destroy=function(){};mlc.prototype.updateValue=function(){};var Sqa=function(a,b,c){var d=Math.min(b,c);b=Math.max(b,c);c=a.detach(b);if(b-d>1){var e=a.detach(d);a.attach(d,c);a.attach(b,e)}else a.attach(d,c)};mlc.prototype.move=function(a,b){this.attach(b,this.detach(a,!0))};var Tqa=function(){this.kvMap=new Map;this._vMap=void 0};g=Tqa.prototype;g.has=function(a){return this.kvMap.has(a)};
g.delete=function(a){if(!this.has(a))return!1;var b=this.kvMap.get(a);this._vMap!==void 0&&this._vMap.has(b)?(this.kvMap.set(a,this._vMap.get(b)),this._vMap.delete(b)):this.kvMap.delete(a);return!0};g.get=function(a){return this.kvMap.get(a)};g.set=function(a,b){if(this.kvMap.has(a)){a=this.kvMap.get(a);this._vMap===void 0&&(this._vMap=new Map);for(var c=this._vMap;c.has(a);)a=c.get(a);c.set(a,b)}else this.kvMap.set(a,b)};
g.forEach=function(a){for(var b=l(this.kvMap),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;a(d,c);if(this._vMap!==void 0)for(var e=this._vMap;e.has(d);)d=e.get(d),a(d,c)}};var nlc=function(a,b,c){this.lContainer=a;this.$implicit=b;this.$index=c};pg.Object.defineProperties(nlc.prototype,{$count:{configurable:!0,enumerable:!0,get:function(){return this.lContainer.length-10}}});var Yqa=function(a){this.hasEmptyBlock=!1;this.trackByFn=a;this.liveCollection=void 0},Zqa=function(a,b,c){this.lContainer=a;this.hostLView=b;this.templateTNode=c;this.operationsCounter=void 0;this.needsIndexUpdate=!1};Y(Zqa,mlc);g=Zqa.prototype;g.at=function(a){return apa(this.lContainer,a)[8].$implicit};
g.attach=function(a,b){var c=b[6];this.needsIndexUpdate||(this.needsIndexUpdate=a!==this.length);cpa(this.lContainer,b,a,wj(this.templateTNode,c))};g.detach=function(a,b){this.needsIndexUpdate||(this.needsIndexUpdate=a!==this.length-1);b&&(b=this.lContainer,b.length<=10||(b=b[10+a])&&b[26]&&(b[26].skipLeaveAnimations=!0));return dpa(this.lContainer,a)};
g.create=function(a,b){a=jqa(this.hostLView,this.templateTNode,new nlc(this.lContainer,b,a),{dehydratedView:null});var c;(c=this.operationsCounter)==null||c.recordCreate();return a};g.destroy=function(a){xna(a[1],a);var b;(b=this.operationsCounter)==null||b.recordDestroy()};g.updateValue=function(a,b){apa(this.lContainer,a)[8].$implicit=b};g.reset=function(){this.needsIndexUpdate=!1;var a;(a=this.operationsCounter)==null||a.reset()};
pg.Object.defineProperties(Zqa.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.lContainer.length-10}}});var ara=function(a,b,c,d){Pi=!0;return b[11].createElement(d,yh.currentNamespace)};var bra=function(a,b){Pi=!0;return b[11].createComment(Vla())};var dra=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],["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 Math.floor(Math.abs(a))===1&&b===0?1:5}];var era={};var fra={};var olc,dk=function(a){this._emitDistinctChangesOnly=a=a===void 0?!1:a;this.dirty=!0;this._onDirty=void 0;this._results=[];this._changesDetected=!1;this._changes=void 0;this.length=0;this.last=this.first=void 0;this[olc]=jra};g=dk.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 hk=function(a){a._changes===void 0||!a._changesDetected&&a._emitDistinctChangesOnly||a._changes.next(a)},yra=function(a,b){a._onDirty=b};dk.prototype.setDirty=function(){this.dirty=!0;var a;(a=this._onDirty)==null||a.call(this)};dk.prototype.destroy=function(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())};pg.Object.defineProperties(dk.prototype,{changes:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this._changes)!=null?a:this._changes=new oj}}});
olc=Symbol.iterator;var bk=function(a,b,c){this._declarationLView=a;this._declarationTContainer=b;this.elementRef=c};bk.prototype.createEmbeddedView=function(a,b){return klc(this,a,b)};var klc=function(a,b,c,d){a=jqa(a._declarationLView,a._declarationTContainer,b,{embeddedViewInjector:c,dehydratedView:d});return new Jk(a)};pg.Object.defineProperties(bk.prototype,{ssrId:{configurable:!0,enumerable:!0,get:function(){var a;return((a=this._declarationTContainer.tView)==null?void 0:a.ssrId)||null}}});
bk.__NG_ELEMENT_ID__=lra;var pra=function(a){this.queryList=a;this.matches=null};pra.prototype.clone=function(){return new pra(this.queryList)};pra.prototype.setDirty=function(){this.queryList.setDirty()};var ora=function(a){this.queries=a=a===void 0?[]:a};ora.prototype.createEmbeddedView=function(a){var b=a.queries;if(b!==null){a=a.contentQueries!==null?a.contentQueries[0]:b.length;for(var c=[],d=0;d<a;d++)c.push(this.queries[b.queries[d].indexInDeclarationView].clone());return new ora(c)}return null};
ora.prototype.detachView=function(a){Goa(this,a)};var Goa=function(a,b){for(var c=0;c<a.queries.length;c++)b.queries.queries[c].matches!==null&&a.queries[c].setDirty()},sra=function(a,b,c){this.flags=b;this.read=c===void 0?null:c;typeof a==="string"?this.predicate=tra(a):this.predicate=a},ura=function(a){this.queries=a=a===void 0?[]:a};g=ura.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,b!==null?b.length:0);d&&(d.indexInDeclarationView=c,b!==null?b.push(d):b=[d])}return b!==null?new ura(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)};pg.Object.defineProperties(ura.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.queries.length}}});
var gk=function(a,b){this.metadata=a;this.matches=null;this.indexInDeclarationView=-1;this.crossesNgTemplate=!1;this._appliesToNextNode=!0;this._declarationNodeIndex=b===void 0?-1:b};
gk.prototype.elementStart=function(a,b){if(plc(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(f!==null)for(var h=0;h<f.length;h+=2)if(f[h]===e){f=f[h+1];break a}f=null}qlc(this,a,b,f);qlc(this,a,b,zla(b,a,e,!1,!1))}else c===bk?b.type&4&&qlc(this,a,b,-1):qlc(this,a,b,zla(b,a,c,!1,!1))}};gk.prototype.elementEnd=function(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)};
gk.prototype.template=function(a,b){this.elementStart(a,b)};gk.prototype.embeddedTView=function(a,b){return plc(this,a)?(this.crossesNgTemplate=!0,rlc(this,-a.index,b),new gk(this.metadata)):null};
var plc=function(a,b){if(a._appliesToNextNode&&(a.metadata.flags&1)!==1){a=a._declarationNodeIndex;for(b=b.parent;b!==null&&b.type&8&&b.index!==a;)b=b.parent;return a===(b!==null?b.index:-1)}return a._appliesToNextNode},qlc=function(a,b,c,d){if(d!==null){var e=a.metadata.read;e!==null?e===Ph||e===ck||e===bk&&c.type&4?rlc(a,c.index,-2):(b=zla(c,b,e,!1,!1),b!==null&&rlc(a,c.index,b)):rlc(a,c.index,d)}},rlc=function(a,b,c){a.matches===null?a.matches=[b,c]:a.matches.push(b,c)};var mk=0,nk=0,ok=0,Dra=0,Fra=0;var rx=function(){};rx.\u0275fac=function(a){return new (a||rx)(bh(Pk))};rx.\u0275mod=Zi({type:rx});rx.\u0275inj=Eg({});new kh("",{providedIn:"platform",factory:function(){return null}});new kh("",{providedIn:"platform",factory:function(){return null}});new kh("",{providedIn:"platform",factory:function(){return null}});var jsa=Symbol("Ya"),ksa=Object.assign({},Sja,{transformFn:void 0,applyValueToInputSignal:function(a,b){Qg(a,b)}});Hk.required=function(a){return lsa(jsa,a)};Ik.required=function(){return xra(!0)};msa.required=function(){return xra(!0)};var sx=function(){};sx.__NG_ELEMENT_ID__=nsa;var slc=function(){};slc.prototype.supports=function(a){return Yla(a)};slc.prototype.create=function(a){return new tlc(a)};var ulc=function(a,b){return b},tlc=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||ulc};
tlc.prototype.forEachItem=function(a){var b;for(b=this._itHead;b!==null;b=b._next)a(b)};
var vlc=function(a,b){var c=a._itHead;a=a._removalsHead;for(var d=0,e=null;c||a;){var f=!a||c&&c.currentIndex<osa(a,d,e)?c:a,h=osa(f,d,e),k=f.currentIndex;if(f===a)d--,a=a._nextRemoved;else if(c=c._next,f.previousIndex==null)d++;else{e||(e=[]);var q=h-d,u=k-d;if(q!=u){for(var A=0;A<q;A++){var D=A<e.length?e[A]:e[A]=0,H=D+A;u<=H&&H<q&&(e[A]=D+1)}e[f.previousIndex]=u-q}}h!==k&&b(f,h,k)}},wlc=function(a,b){for(a=a._identityChangesHead;a!==null;a=a._nextIdentityChange)b(a)};g=tlc.prototype;
g.diff=function(a){a==null&&(a=[]);if(!Yla(a))throw new Ug(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);c!==null&&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 k=0;Zla(a,function(q){h=b._trackByFn(k,q);c!==null&&Object.is(c.trackById,h)?(d&&(c=b._verifyReinsertion(c,q,h,k)),Object.is(c.item,q)||b._addIdentityChange(c,
q)):(c=b._mismatch(c,q,h,k),d=!0);c=c._next;k++});this.length=k}this._truncate(c);this.collection=a;return this.isDirty};
g._reset=function(){if(this.isDirty){var a;for(a=this._previousItHead=this._itHead;a!==null;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;a!==null;a=a._nextAdded)a.previousIndex=a.currentIndex;this._additionsHead=this._additionsTail=null;for(a=this._movesHead;a!==null;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(a===null)var e=this._itTail;else e=a._prev,this._remove(a);a=this._unlinkedRecords===null?null:this._unlinkedRecords.get(c,null);a!==null?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._reinsertAfter(a,e,d)):(a=this._linkedRecords===null?null:this._linkedRecords.get(c,d),a!==null?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._moveAfter(a,e,d)):a=this._addAfter(new xlc(b,c),e,d));return a};
g._verifyReinsertion=function(a,b,c,d){b=this._unlinkedRecords===null?null:this._unlinkedRecords.get(c,null);b!==null?a=this._reinsertAfter(b,a._prev,d):a.currentIndex!=d&&(a.currentIndex=d,this._addToMoves(a,d));return a};
g._truncate=function(a){for(;a!==null;){var b=a._next;this._addToRemovals(this._unlink(a));a=b}this._unlinkedRecords!==null&&this._unlinkedRecords.clear();this._additionsTail!==null&&(this._additionsTail._nextAdded=null);this._movesTail!==null&&(this._movesTail._nextMoved=null);this._itTail!==null&&(this._itTail._next=null);this._removalsTail!==null&&(this._removalsTail._nextRemoved=null);this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)};
g._reinsertAfter=function(a,b,c){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(a);var d=a._prevRemoved,e=a._nextRemoved;d===null?this._removalsHead=e:d._nextRemoved=e;e===null?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=this._additionsTail===null?this._additionsHead=a:this._additionsTail._nextAdded=a;return a};g._insertAfter=function(a,b,c){var d=b===null?this._itHead:b._next;a._next=d;a._prev=b;d===null?this._itTail=a:d._prev=a;b===null?this._itHead=a:b._next=a;this._linkedRecords===null&&(this._linkedRecords=new tx);this._linkedRecords.put(a);a.currentIndex=c;return a};g._remove=function(a){return this._addToRemovals(this._unlink(a))};
g._unlink=function(a){this._linkedRecords!==null&&this._linkedRecords.remove(a);var b=a._prev,c=a._next;b===null?this._itHead=c:b._next=c;c===null?this._itTail=b:c._prev=b;return a};g._addToMoves=function(a,b){if(a.previousIndex===b)return a;this._movesTail=this._movesTail===null?this._movesHead=a:this._movesTail._nextMoved=a;return a};
g._addToRemovals=function(a){this._unlinkedRecords===null&&(this._unlinkedRecords=new tx);this._unlinkedRecords.put(a);a.currentIndex=null;a._nextRemoved=null;this._removalsTail===null?(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=this._identityChangesTail===null?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a;return a};pg.Object.defineProperties(tlc.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}}});
var xlc=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},ylc=function(){this._tail=this._head=null};ylc.prototype.add=function(a){this._head===null?(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)};
ylc.prototype.get=function(a,b){var c;for(c=this._head;c!==null;c=c._nextDup)if((b===null||b<=c.currentIndex)&&Object.is(c.trackById,a))return c;return null};ylc.prototype.remove=function(a){var b=a._prevDup;a=a._nextDup;b===null?this._head=a:b._nextDup=a;a===null?this._tail=b:a._prevDup=b;return this._head===null};var tx=function(){this.map=new Map};tx.prototype.put=function(a){var b=a.trackById,c=this.map.get(b);c||(c=new ylc,this.map.set(b,c));c.add(a)};
tx.prototype.get=function(a,b){var c=this.map.get(a);return c?c.get(a,b):null};tx.prototype.remove=function(a){var b=a.trackById;this.map.get(b).remove(a)&&this.map.delete(b);return a};tx.prototype.clear=function(){this.map.clear()};pg.Object.defineProperties(tx.prototype,{isEmpty:{configurable:!0,enumerable:!0,get:function(){return this.map.size===0}}});var zlc=function(){};zlc.prototype.supports=function(a){return a instanceof Map||Xla(a)};zlc.prototype.create=function(){return new Alc};var Alc=function(){this._records=new Map;this._removalsTail=this._removalsHead=this._additionsTail=this._additionsHead=this._changesTail=this._changesHead=this._previousMapHead=this._appendAfter=this._mapHead=null};g=Alc.prototype;g.forEachItem=function(a){var b;for(b=this._mapHead;b!==null;b=b._next)a(b)};
g.diff=function(a){if(!a)a=new Map;else if(!(a instanceof Map||Xla(a)))throw new Ug(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;a!==null;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 Blc(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;a!==null;a=a._next)a._nextPrevious=a._next;for(a=this._changesHead;a!==null;a=a._nextChanged)a.previousValue=a.currentValue;for(a=this._additionsHead;a!=null;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){this._additionsHead===null?this._additionsHead=this._additionsTail=a:this._additionsTail=this._additionsTail._nextAdded=a};g._addToChanges=function(a){this._changesHead===null?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)})};pg.Object.defineProperties(Alc.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}}});var Blc=function(a){this.key=a;this._nextChanged=this._nextRemoved=this._nextAdded=this._prev=this._next=this._nextPrevious=this.currentValue=this.previousValue=null};var ux=function(a){this.factories=a};ux.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b!=null)return b;throw new Ug(901,!1);};ux.\u0275prov=Dg({token:ux,providedIn:"root",factory:function(){return new ux([new slc])}});var vx=function(a){this.factories=a};vx.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b)return b;throw new Ug(901,!1);};vx.\u0275prov=Dg({token:vx,providedIn:"root",factory:function(){return new vx([new zlc])}});var wx=function(){var a=this;this.applicationErrorHandler=x(Ri);this.appRef=x(Pk);this.taskService=x(Nk);this.ngZone=x(Kk);this.zonelessEnabled=x(qsa);this.tracing=x(Bj,{optional:!0});this.zoneIsDefined=typeof Zone!=="undefined"&&!!Zone.root.run;this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];this.subscriptions=new Yh;var b;this.angularZoneId=this.zoneIsDefined?(b=this.ngZone._inner)==null?void 0:b.get("isAngularZone_ID"):null;var c;this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&
((c=x(rsa,{optional:!0}))!=null?c:!1);this.cancelScheduledCallback=null;this.runningTick=this.useMicrotaskScheduler=!1;this.pendingRenderTaskId=null;this.subscriptions.add(this.appRef.afterTick.subscribe(function(){a.runningTick||a.cleanup()}));this.subscriptions.add(this.ngZone.onUnstable.subscribe(function(){a.runningTick||a.cleanup()}))};
wx.prototype.notify=function(a){var b=this;if(this.zonelessEnabled||a!==5){switch(a){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:this.appRef.dirtyFlags|=2;break;case 12:this.appRef.dirtyFlags|=16;break;case 13:this.appRef.dirtyFlags|=2;break;case 11:break;default:this.appRef.dirtyFlags|=8}var c,d;this.appRef.tracingSnapshot=(d=(c=this.tracing)==null?void 0:c.snapshot(this.appRef.tracingSnapshot))!=null?d:null;if(!(this.appRef.destroyed||
this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get("isAngularZone_ID"+this.angularZoneId))){var e=this.useMicrotaskScheduler?fna:ena;this.pendingRenderTaskId=this.taskService.add();this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(function(){return e(function(){return b.tick()})}):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(function(){return e(function(){return b.tick()})})}}};
wx.prototype.tick=function(){var a=this;if(!this.runningTick&&!this.appRef.destroyed)if(this.appRef.dirtyFlags===0)this.cleanup();else{!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);var b=this.taskService.add();try{this.ngZone.run(function(){a.runningTick=!0;a.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(c){this.taskService.remove(b),this.applicationErrorHandler(c)}finally{this.cleanup()}this.useMicrotaskScheduler=!0;fna(function(){a.useMicrotaskScheduler=
!1;a.taskService.remove(b)})}};wx.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe();this.cleanup()};wx.prototype.cleanup=function(){this.runningTick=!1;var a;(a=this.cancelScheduledCallback)==null||a.call(this);this.cancelScheduledCallback=null;this.pendingRenderTaskId!==null&&(a=this.pendingRenderTaskId,this.pendingRenderTaskId=null,this.taskService.remove(a))};wx.\u0275fac=function(a){return new (a||wx)};wx.\u0275prov=Dg({token:wx,factory:wx.\u0275fac,providedIn:"root"});var Lk=function(){this.zone=x(Kk);this.changeDetectionScheduler=x(Xi);this.applicationRef=x(Pk);this.applicationErrorHandler=x(Ri)};Lk.prototype.initialize=function(){var a=this;this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:function(){a.changeDetectionScheduler.runningTick||a.zone.run(function(){try{a.applicationRef.dirtyFlags|=1,a.applicationRef._tick()}catch(b){a.applicationErrorHandler(b)}})}}))};
Lk.prototype.ngOnDestroy=function(){var a;(a=this._onMicrotaskEmptySubscription)==null||a.unsubscribe()};Lk.\u0275fac=function(a){return new (a||Lk)};Lk.\u0275prov=Dg({token:Lk,factory:Lk.\u0275fac,providedIn:"root"});new kh("",{factory:function(){return!1}});var Mk=function(){this.subscription=new Yh;this.initialized=!1;this.zone=x(Kk);this.pendingTasks=x(Nk)};
Mk.prototype.initialize=function(){var a=this;if(!this.initialized){this.initialized=!0;var b=null;this.zone.isStable||this.zone.hasPendingMacrotasks||this.zone.hasPendingMicrotasks||(b=this.pendingTasks.add());this.zone.runOutsideAngular(function(){a.subscription.add(a.zone.onStable.subscribe(function(){Hkc();queueMicrotask(function(){b===null||a.zone.hasPendingMacrotasks||a.zone.hasPendingMicrotasks||(a.pendingTasks.remove(b),b=null)})}))});this.subscription.add(this.zone.onUnstable.subscribe(function(){if(!Gkc())throw new Ug(909,
!1);b!=null||(b=a.pendingTasks.add())}))}};Mk.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};Mk.\u0275fac=function(a){return new (a||Mk)};Mk.\u0275prov=Dg({token:Mk,factory:Mk.\u0275fac,providedIn:"root"});var wsa=new kh("",{providedIn:"root",factory:function(){return x(wsa,{optional:!0,skipSelf:!0})||(typeof sdc!=="undefined"?"en-US":typeof $localize!=="undefined"&&$localize.locale||"en-US")}});new kh("",{providedIn:"root",factory:function(){return"USD"}});new kh("");new kh("");var tsa=new kh("");var xsa=new kh(""),ysa;var xx=function(){};xx.\u0275fac=function(a){return new (a||xx)};xx.\u0275prov=Dg({token:xx,factory:xx.\u0275fac,providedIn:"root"});new kh("");var Qk=function(a){this._injector=a;this._modules=[];this._destroyListeners=[];this._destroyed=!1},Clc=function(a,b,c){var d=[];d.push(ssa({ngZoneFactory:function(){var f=c==null?void 0:c.ngZone,h=Object.assign({},psa({eventCoalescing:c==null?void 0:c.ngZoneEventCoalescing,runCoalescing:c==null?void 0:c.ngZoneRunCoalescing}));f=f===void 0?"zone.js":f;return f==="noop"?new jx:f==="zone.js"?new Kk(h):f}}));var e;d=[[{provide:Xi,useExisting:wx},{provide:Kk,useClass:jx},{provide:qsa,useValue:!0}]].concat(p(d),
p((e=c==null?void 0:c.applicationProviders)!=null?e:[]),[Jkc],p([]));b=new mx(b.moduleType,a.injector,d,!1);ysa=Asa;return zsa({moduleRef:b,allPlatformModules:a._modules,platformInjector:a.injector})},Elc=function(){var a=Dlc(),b=yx;var c=c===void 0?[]:c;var d=hqa({},c);ysa=Asa;Promise.resolve(new YBa(b)).then(function(e){return Clc(a,e,d)})};Qk.prototype.onDestroy=function(a){this._destroyListeners.push(a)};
Qk.prototype.destroy=function(){if(this._destroyed)throw new Ug(404,!1);this._modules.slice().forEach(function(b){return b.destroy()});this._destroyListeners.forEach(function(b){return b()});var a=this._injector.get(tsa,null);a&&(a.forEach(function(b){return b()}),a.clear());this._destroyed=!0};pg.Object.defineProperties(Qk.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});
Qk.\u0275fac=function(a){return new (a||Qk)(bh(yj))};Qk.\u0275prov=Dg({token:Qk,factory:Qk.\u0275fac,providedIn:"platform"});var Dsa=null;var Lsa=function(a){this[Pg]=a};Lsa.prototype.destroy=function(){this[Pg].destroy()};
var Flc=Object.assign({},Pjc,{cleanupFns:void 0,zone:null,onDestroyFn:dna,run:function(){var a=Uka(!1);try{if(this.dirty=!1,!(this.version>0)||Mja(this)){this.version++;var b=Lg(this);try{this.cleanup(),this.fn()}finally{Mg(this,b)}}}finally{Uka(a)}},cleanup:function(){var a;if((a=this.cleanupFns)!=null&&a.length){a=Gg(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],Gg(a)}}}}),Psa=Object.assign({},Flc,{consumerMarkedDirty:function(){this.scheduler.schedule(this);
this.notifier.notify(12)},destroy:function(){Ng(this);this.onDestroyFn();this.cleanup();this.scheduler.remove(this)}}),Nsa=Object.assign({},Flc,{consumerMarkedDirty:function(){this.view[2]|=8192;vh(this.view);this.notifier.notify(13)},destroy:function(){Ng(this);this.onDestroyFn();this.cleanup();var a;(a=this.view[23])==null||a.delete(this)}});var Qsa=function(a){return a};var Glc=function(a){var b=this;this.isError=Sk(function(){return b.status()==="error"});this.isLoading=Sk(function(){return b.status()==="loading"||b.status()==="reloading"});this.isValueDefined=Sk(function(){return b.isError()?!1:b.value()!==void 0});this.value=a;this.value.set=this.set.bind(this);this.value.update=this.update.bind(this);this.value.asReadonly=wra};Glc.prototype.update=function(a){this.set(a(Rg(this.value)))};Glc.prototype.hasValue=function(){return this.isValueDefined()};
Glc.prototype.asReadonly=function(){return this};
var zx=function(a,b,c,d,e,f){f=f===void 0?!0:f;Glc.call(this,Sk(function(){var k,q,u=(q=(k=h.state()).stream)==null?void 0:q.call(k);if(!u||h.state().status==="loading"&&h.error())return c;if(u.error!==void 0){if(f)throw new Hlc(h.error());return c}return u.value},{equal:d}));var h=this;this.loaderFn=b;this.equal=d;this.resolvePendingTask=void 0;this.destroyed=!1;this.status=Sk(function(){return Tsa(h.state())});this.error=Sk(function(){var k,q,u=(q=(k=h.state()).stream)==null?void 0:q.call(k);return u&&
u.error!==void 0?u.error:void 0});this.extRequest=Ssa({source:a,computation:function(k){return{request:k,reload:0}}});this.state=Ssa({source:this.extRequest,computation:function(k,q){var u=k.request===void 0?"idle":"loading";return q?{extRequest:k,status:u,previousStatus:Tsa(q.value),stream:q.value.extRequest.request===k.request?q.value.stream:void 0}:{extRequest:k,status:u,previousStatus:"idle",stream:void 0}}});this.effectRef=Msa(this.loadEffect.bind(this),{injector:e,manualCleanup:!0});this.pendingTasks=
e.get(qx);this.unregisterOnDestroy=e.get(Cj).onDestroy(function(){return h.destroy()})};Y(zx,Glc);zx.prototype.set=function(a){if(!this.destroyed){var b=Rg(this.error),c=Rg(this.state);if(!b&&(b=Rg(this.value),c.status==="local"&&(this.equal?this.equal(b,a):b===a)))return;this.state.set({extRequest:c.extRequest,status:"local",previousStatus:"local",stream:kk({value:a})});Ilc(this)}};
zx.prototype.reload=function(){var a=Rg(this.state).status;if(a==="idle"||a==="loading")return!1;this.extRequest.update(function(b){return{request:b.request,reload:b.reload+1}});return!0};zx.prototype.destroy=function(){this.destroyed=!0;this.unregisterOnDestroy();this.effectRef.destroy();Ilc(this);this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})};
zx.prototype.loadEffect=function(){var a=this,b,c,d,e,f,h,k,q,u,A;return v(function(D){switch(D.nextAddress){case 1:b=a.extRequest();c=Rg(a.state);d=c.status;e=c.previousStatus;if(b.request===void 0||d!=="loading")return D.return();Ilc(a);f=a.resolvePendingTask=a.pendingTasks.add();h=a.pendingController=new AbortController;k=h.signal;ei(D,2,3);return w(D,Rg(function(){return a.loaderFn({params:b.request,request:b.request,abortSignal:k,previous:{status:e}})}),5);case 5:q=D.yieldResult;if(k.aborted||
Rg(a.extRequest)!==b)return D.return();a.state.set({extRequest:b,status:"resolved",previousStatus:"resolved",stream:q});case 3:fi(D);(u=f)==null||u();f=void 0;hi(D,0);break;case 2:A=ii(D);if(k.aborted||Rg(a.extRequest)!==b)return D.return();a.state.set({extRequest:b,status:"resolved",previousStatus:"error",stream:kk({error:A instanceof Error?A:new Jlc(A)})});D.jumpTo(3)}})};
var Ilc=function(a){Rg(function(){var c;return(c=a.pendingController)==null?void 0:c.abort()});a.pendingController=void 0;var b;(b=a.resolvePendingTask)==null||b.call(a);a.resolvePendingTask=void 0},Hlc=function(a){a=Error.call(this,a.message,{cause:a});this.message=a.message;"stack"in a&&(this.stack=a.stack)};Y(Hlc,Error);var Jlc=function(a){a=Error.call(this,String(a),{cause:a});this.message=a.message;"stack"in a&&(this.stack=a.stack)};Y(Jlc,Error);var Klc=Symbol("Za"),Llc=new Set,Mlc=Object.assign({},Sja,{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Klc,cleanup:null,consumerMarkedDirty:function(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn:function(a){this.sequence.lastPhase=this.phase;if(!this.dirty)return this.signal;this.dirty=!1;if(this.value!==Klc&&!Mja(this))return this.signal;
try{for(var b,c=l((b=this.cleanup)!=null?b:Llc),d=c.next();!d.done;d=c.next()){var e=d.value;e()}}finally{var f;(f=this.cleanup)==null||f.clear()}b=[];a!==void 0&&b.push(a);b.push(this.registerCleanupFn);a=Lg(this);try{var h=this.userFn.apply(null,b)}finally{Mg(this,a)}this.value!==Klc&&this.equal(this.value,h)||(this.value=h,this.version++);return this.signal}}),Usa=function(a,b,c,d,e,f){f=f===void 0?null:f;Dj.call(this,a,[void 0,void 0,void 0,void 0],c,!1,e.get(Cj),f);this.scheduler=d;this.lastPhase=
null;this.nodes=[void 0,void 0,void 0,void 0];a=l(Ykc);d=a.next();for(c={};!d.done;c={node$jscomp$147:void 0,$jscomp$logical$assign$tmp367619693$0:void 0},d=a.next())d=d.value,e=b[d],e!==void 0&&(c.node$jscomp$147=Object.create(Mlc),c.node$jscomp$147.sequence=this,c.node$jscomp$147.phase=d,c.node$jscomp$147.userFn=e,c.node$jscomp$147.dirty=!0,c.node$jscomp$147.signal=function(h){return function(){Ig(h.node$jscomp$147);return h.node$jscomp$147.value}}(c),c.node$jscomp$147.signal[Pg]=c.node$jscomp$147,
c.$jscomp$logical$assign$tmp367619693$0=void 0,c.node$jscomp$147.registerCleanupFn=function(h){return function(k){var q;return((q=(h.$jscomp$logical$assign$tmp367619693$0=h.node$jscomp$147).cleanup)!=null?q:h.$jscomp$logical$assign$tmp367619693$0.cleanup=new Set).add(k)}}(c),this.nodes[d]=c.node$jscomp$147,this.hooks[d]=function(h){return function(k){return h.node$jscomp$147.phaseFn(k)}}(c))};Y(Usa,Dj);Usa.prototype.afterRun=function(){Dj.prototype.afterRun.call(this);this.lastPhase=null};
Usa.prototype.destroy=function(){Dj.prototype.destroy.call(this);for(var a=l(this.nodes),b=a.next();!b.done;b=a.next())if(b=b.value)try{for(var c=void 0,d=l((c=b.cleanup)!=null?c:Llc),e=d.next();!e.done;e=d.next()){var f=e.value;f()}}finally{Ng(b)}};var Nlc=Fsa(null,"core",[]);var Ks=function(){this.session=Nf()};g=Ks.prototype;g.getAppBaseHref=function(){return this.session.appBaseHref};g.userRequiresCaptcha=function(){return this.session.userRequiresCaptcha};g.getFrontendAccessMode=function(){return rha(this.session)};g.isExternalSession=function(){return this.getFrontendAccessMode()!=="INTERNAL"};g.isInternalSession=function(){return this.getFrontendAccessMode()==="INTERNAL"};
var Ax=function(a){return a.getFrontendAccessMode()==="PARTNER"},Bx=function(a){return a.getFrontendAccessMode()==="PUBLIC"};Ks.prototype.isNonPublicSession=function(){return this.getFrontendAccessMode()!=="PUBLIC"};var Olc=function(a){var b=a.getUserEmail().split("@")[1];return b?a.session.config.trustedEmailDomainsAllowlist.includes("@"+b):!1},Cx=function(a,b){return!!a.session.config.enabledFlags.get(b)};Ks.prototype.isAnonymous=function(){return this.session.user.anonymous};
Ks.prototype.getUserEmail=function(){return this.session.user.email||""};Ks.prototype.getSessionIdentifier=function(){return this.session.user.sessionIdentifier||"0"};Ks.prototype.getTracker=function(){var a;return(a=this.session.tracker)!=null?a:void 0};var Iq=function(a){return!!a.session.tracker};Ks.prototype.getPassiveLoginIframeUrl=function(){return this.session.passiveLoginIframeUrl};Ks.prototype.getMustAcknowledgeTerms=function(){return this.session.mustAcknowledgeTerms};
Ks.prototype.getShowNewFeaturesDialog=function(){return this.session.showNewFeaturesDialog};Ks.prototype.getEnvironmentType=function(){return this.session.config.environmentType||"QA"};var Oq=function(a){a:{a=a.session.config.environmentType||"QA";switch(a){case "NIGHTLY":case "PROD":a=!0;break a;case "QA":case "DEV":a=!1;break a;default:qb(a,"Unknown environment type.")}a=void 0}return a};g=Ks.prototype;
g.getAppBaseUrl=function(a){return(a===void 0?0:a)||!this.isInternalSession()?Oq(this)?"https://issuetracker.google.com/":"https://issuetracker-qa.corp.google.com/":Oq(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.getInternalBaseUrl=function(){return this.session.config.internalBaseUrl};g.getExternalBaseUrl=function(){return this.session.config.externalBaseUrl};g.getUserPreferences=function(){return this.session.userPreferences};g.getXsrfToken=function(){return this.session.xsrfToken};g.getOnePickSecretToken=function(){return this.session.config.onePickSecretToken};g.getCreateRestrictedSubresourcesComponentIds=function(){return this.session.config.createRestrictedSubresourcesComponentIds};
g.getIndefiniteRetentionComponentsAllowlist=function(){return this.session.config.indefiniteRetentionComponentsAllowlist};g.getCspNonce=function(){return this.session.cspNonce};g.getAnnouncement=function(){return this.session.preload.announcement};g.getUserTypeLabel=function(){return this.session.user.userTypeLabel||"UNKNOWN"};g.getBatchDedupeComponentAllowlist=function(){return new Set(this.session.config.batchDedupeComponentAllowlist)};Ks.\u0275fac=function(a){return new (a||Ks)};
Ks.\u0275prov=Dg({token:Ks,factory:Ks.\u0275fac,providedIn:"root"});var Plc=function(a,b,c){this.requestMessage=a;this.methodDescriptor=b;this.metadata=c};Plc.prototype.getMetadata=function(){return this.metadata};var Qlc=function(a,b){b=b===void 0?{}:b;this.responseMessage=a;this.metadata=b;this.status=null};Qlc.prototype.getMetadata=function(){return this.metadata};Qlc.prototype.getStatus=function(){return this.status};var Dx=function(a,b,c,d,e){this.name=a;this.requestType=b;this.responseType=c;this.requestSerializeFn=d;this.responseDeserializeFn=e},Rlc=function(a,b,c){c=c===void 0?{}:c;return new Plc(b,a,c)};Dx.prototype.getName=function(){return this.name};var Slc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Slc,n);var Tlc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Tlc,n);Tlc.prototype.getAgentId=function(){return Oc(this,1)};Tlc.prototype.setAgentId=function(a){return lf(this,1,a)};var Ulc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ulc,n);g=Ulc.prototype;g.setFeedbackType=function(a){return mf(this,2,a)};g.getIsDeleted=function(){return De(this,6)};g.setIsDeleted=function(a){hf(this,6,a)};g.getMessageId=function(){return Oc(this,7)};g.hasMessageId=function(){return Ge(this,7)};var gta=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(gta,n);g=gta.prototype;g.getTitle=function(){return Oc(this,1)};g.setTitle=function(a){return lf(this,1,a)};g.getUrl=function(){return Oc(this,2)};g.setUrl=function(a){return lf(this,2,a)};g.hasUrl=function(){return Ge(this,2)};g.getIconUrl=function(){return Oc(this,3)};g.setIconUrl=function(a){return lf(this,3,a)};var eta=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(eta,n);var dta=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(dta,n);var fta=[3,4,5,6,7];var Ex=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ex,n);g=Ex.prototype;g.getMessageId=function(){return Oc(this,1)};g.hasMessageId=function(){return Ge(this,1)};g.getText=function(){return Oc(this,3)};g.setText=function(a){return lf(this,3,a)};g.getClient=function(){return Zd(this,7)};g.setClient=function(a){return mf(this,7,a)};g.hasClient=function(){return He(this,7)};g.setFeedback=function(a){return t(this,Ulc,9,a)};var Vlc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Vlc,n);var Fx=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Fx,n);Fx.prototype.getText=function(){return Oc(this,3)};Fx.prototype.setText=function(a){return lf(this,3,a)};Fx.prototype.setConversationHistory=function(a){return t(this,Vlc,11,a)};var Wlc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Wlc,n);g=Wlc.prototype;g.getResponse=function(){return r(this,Ex,1)};g.getMutableResponse=function(){return Pu(this,Ex,1)};g.setConversationHistory=function(a){return t(this,Vlc,5,a)};g.getQuery=function(){return r(this,Ex,2)};g.setQuery=function(a){return t(this,Ex,2,a)};g.clearQuery=function(){Ou(this,2)};g.hasQuery=function(){return Me(this,Ex,2)};var Xlc=new Dx("/google.corp.devtools.devassist.ml4answers.v1.DuckieBackendService/GenerateAnswers",Fx,Wlc,function(a){return a.serialize()},Qc(Wlc));var Ylc=new Set(["SAPISIDHASH","APISIDHASH"]);var Gx=function(a,b,c){c=c===void 0?{}:c;b=Error.call(this,b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a;this.metadata=c;this.name="RpcError";Object.setPrototypeOf(this,this.constructor.prototype)};Y(Gx,Error);Gx.prototype.toString=function(){var a="RpcError("+(Zsa(this.code)||String(this.code))+")";this.message&&(a+=": "+this.message);return a};var Hx=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Hx,n);Hx.prototype.getCode=function(){return Pd(this,1)};Hx.prototype.setCode=function(a){return se(this,1,a)};Hx.prototype.getMessage=function(){return Oc(this,2)};Hx.prototype.setMessage=function(a){return Vd(this,2,a)};var Zlc=Qc(Hx);var Ix=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};Ix.prototype.disposed_=!1;Ix.prototype.isDisposed=function(){return this.disposed_};Ix.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};Ix.prototype[Symbol.dispose]=function(){this.dispose()};var Ir=function(a,b){b=Ku(Wk,b);a.disposed_?b():(a.onDisposeCallbacks_||(a.onDisposeCallbacks_=[]),a.onDisposeCallbacks_.push(b))};Ix.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var Jx=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};Jx.prototype.stopPropagation=function(){this.propagationStopped_=!0};Jx.prototype.preventDefault=function(){this.defaultPrevented=!0};var $lc=function(){if(!da.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};da.addEventListener("test",c,b);da.removeEventListener("test",c,b)}catch(d){}return a}();var Kx=function(a,b){Jx.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.timeStamp=0;this.event_=null;a&&this.init(a,b)};Lu(Kx,Jx);
Kx.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;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=Cr||a.offsetX!==void 0?a.offsetX:a.layerX,this.offsetY=
Cr||a.offsetY!==void 0?a.offsetY:a.layerY,this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?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||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.platformModifierKey=At?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=
a.pointerType;this.state=a.state;this.timeStamp=a.timeStamp;this.event_=a;a.defaultPrevented&&Kx.superClass_.preventDefault.call(this)};Kx.prototype.stopPropagation=function(){Kx.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};Kx.prototype.preventDefault=function(){Kx.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var amc="closure_listenable_"+(Math.random()*1E6|0),Lx=function(a){return!(!a||!a[amc])};var bmc=0;var cmc=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=++bmc;this.removed=this.callOnce=!1},dmc=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};Xk.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=emc(a,b,d,e);h>-1?(b=a[h],c||(b.callOnce=!1)):(b=new cmc(b,this.src,f,!!d,e),b.callOnce=c,a.push(b));return b};Xk.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=emc(e,b,c,d);return b>-1?(dmc(e[b]),Da(e,b),e.length==0&&(delete this.listeners[a],this.typeCount_--),!0):!1};
var fmc=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=Fa(a.listeners[c],b);d&&(dmc(b),a.listeners[c].length==0&&(delete a.listeners[c],a.typeCount_--));return d};Xk.prototype.removeAll=function(){var a=0,b;for(b in this.listeners){for(var c=this.listeners[b],d=0;d<c.length;d++)++a,dmc(c[d]);delete this.listeners[b];this.typeCount_--}};Xk.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=emc(a,b,c,d));return e>-1?a[e]:null};
Xk.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return Qda(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 emc=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 gmc="closure_lm_"+(Math.random()*1E6|0),hmc={},imc=0,tt=function(a,b,c,d,e){if(d&&d.once)return Mx(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)tt(a,b[f],c,d,e);return null}c=jmc(c);return Lx(a)?a.listen(b,c,La(d)?!!d.capture:!!d,e):kmc(a,b,c,!1,d,e)},kmc=function(a,b,c,d,e,f){if(!b)throw Error("$a");var h=La(e)?!!e.capture:!!e,k=lmc(a);k||(a[gmc]=k=new Xk(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=mmc();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)$lc||(e=h),e===void 0&&
(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(nmc(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("ab");imc++;return c},mmc=function(){var a=omc,b=function(c){return a.call(b.src,b.listener,c)};return b},Mx=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)Mx(a,b[f],c,d,e);return null}c=jmc(c);return Lx(a)?a.listenOnce(b,c,La(d)?!!d.capture:!!d,e):kmc(a,b,c,!0,d,e)},Nx=function(a,b,c,d,e){if(Array.isArray(b))for(var f=
0;f<b.length;f++)Nx(a,b[f],c,d,e);else d=La(d)?!!d.capture:!!d,c=jmc(c),Lx(a)?a.unlisten(b,c,d,e):a&&(a=lmc(a))&&(b=a.getListener(b,c,d,e))&&Ox(b)},Ox=function(a){if(typeof a==="number"||!a||a.removed)return!1;var b=a.src;if(Lx(b))return b.unlistenByKey(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(nmc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);imc--;(c=lmc(b))?(fmc(c,a),c.typeCount_==0&&(c.src=null,b[gmc]=null)):dmc(a);
return!0},nmc=function(a){return a in hmc?hmc[a]:hmc[a]="on"+a},omc=function(a,b){if(a.removed)a=!0;else{b=new Kx(b,this);var c=a.listener,d=a.handler||a.src;a.callOnce&&Ox(a);a=c.call(d,b)}return a},lmc=function(a){a=a[gmc];return a instanceof Xk?a:null},pmc="__closure_events_fn_"+(Math.random()*1E9>>>0),jmc=function(a){if(typeof a==="function")return a;a[pmc]||(a[pmc]=function(b){return a.handleEvent(b)});return a[pmc]};Pgc(function(a){omc=a(omc)});var qmc=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 st=function(){Ix.call(this);this.eventTargetListeners_=new Xk(this);this.actualEventTarget_=this;this.parentEventTarget_=null};Lu(st,Ix);st.prototype[amc]=!0;g=st.prototype;g.getParentEventTarget=function(){return this.parentEventTarget_};g.setParentEventTarget=function(a){this.parentEventTarget_=a};g.addEventListener=function(a,b,c,d){tt(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){Nx(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(typeof a==="string")a=new Jx(a,c);else if(a instanceof Jx)a.target=a.target||c;else{var e=a;a=new Jx(d,c);Xda(a,e)}e=!0;var f;if(b)for(f=b.length-1;!a.propagationStopped_&&f>=0;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(){st.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 fmc(this.eventTargetListeners_,a)};g.removeAllListeners=function(){this.eventTargetListeners_&&this.eventTargetListeners_.removeAll()};
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,k=f.handler||f.src;f.callOnce&&this.unlistenByKey(f);d=h.call(k,c)!==!1&&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(a!==void 0?String(a):void 0,b)};var rmc=function(a){try{return da.JSON.parse(a)}catch(b){}a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\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,"")))try{return eval("("+a+")")}catch(b){}throw Error("bb`"+a);},smc=function(){this.replacer_=void 0};
smc.prototype.serialize=function(a){var b=[];tmc(this,a,b);return b.join("")};
var tmc=function(a,b,c){if(b==null)c.push("null");else{if(typeof b=="object"){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],tmc(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],typeof e!="function"&&(c.push(f),umc(d,c),c.push(":"),tmc(a,a.replacer_?a.replacer_.call(b,
d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":umc(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("cb`"+typeof b);}}},vmc={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},wmc=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,umc=function(a,b){b.push('"',a.replace(wmc,
function(c){var d=vmc[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),vmc[c]=d);return d}),'"')};var xmc,ymc=function(){};Lu(ymc,$sa);ymc.prototype.createInstance=function(){return new XMLHttpRequest};xmc=new ymc;var zmc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Amc=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(d>=0){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}},Bmc=function(a,b){if(!b)return a;var c=a.indexOf("#");c<0&&(c=a.length);var d=a.indexOf("?");if(d<0||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]},Cmc=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)Cmc(a,String(b[d]),c);else b!=null&&c.push(a+(b===""?"":"="+sv(b)))},Dmc=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)Cmc(a[b],a[b+1],c);return c.join("&")},Emc=function(a){var b=[],c;for(c in a)Cmc(c,a[c],b);return b.join("&")},zXa=function(a,b){var c=arguments.length==2?Dmc(arguments[1],0):Dmc(arguments,1);return Bmc(a,c)},BXa=
function(a,b){b=Emc(b);return Bmc(a,b)},Fmc=function(a,b,c){c=c!=null?"="+sv(c):"";return Bmc(a,b+c)},Gmc=/#|$/,Vgb=function(a,b){var c=a.search(Gmc);a:{var d=0;for(var e=b.length;(d=a.indexOf(b,d))>=0&&d<c;){var f=a.charCodeAt(d-1);if(f==38||f==63)if(f=a.charCodeAt(d+e),!f||f==61||f==38||f==35)break a;d+=e+1}d=-1}if(d<0)return null;e=a.indexOf("&",d);if(e<0||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.slice(d,e!==-1?e:0).replace(/\+/g," "))};var Xq=function(a){st.call(this);this.headers=new Map;this.xmlHttpFactory_=a||null;this.active_=!1;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.withCredentials_=!1;this.attributionReportingOptions_=this.trustToken_=null};Lu(Xq,st);
var Hmc=/^https?$/i,Imc=["POST","PUT"],Jmc=[],j4a=function(a,b,c,d,e,f,h){var k=new Xq;Jmc.push(k);b&&k.listen("complete",b);k.listenOnce("ready",k.cleanupSend_);f&&(k.timeoutInterval_=Math.max(0,f));h&&(k.withCredentials_=h);k.send(a,c,d,e);return k};g=Xq.prototype;g.cleanupSend_=function(){this.dispose();Fa(Jmc,this)};g.setTrustToken=function(a){this.trustToken_=a};g.setAttributionReporting=function(a){this.attributionReportingOptions_=a};
g.send=function(a,b,c,d){if(this.xhr_)throw Error("db`"+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.xhr_.onreadystatechange=Cv(ut(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(typeof d.keys==="function"&&typeof d.get==="function"){e=l(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("eb`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=da.FormData&&a instanceof da.FormData;!(Ca(Imc,b)>=0)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=l(c);for(d=b.next();!d.done;d=b.next())c=l(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){}if("setAttributionReporting"in this.xhr_&&this.attributionReportingOptions_)try{this.xhr_.setAttributionReporting(this.attributionReportingOptions_)}catch(h){}try{this.timeoutId_&&(clearTimeout(this.timeoutId_),
this.timeoutId_=null),this.timeoutInterval_>0&&(this.timeoutId_=setTimeout(this.timeout_.bind(this),this.timeoutInterval_)),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(h){this.error_(5,h)}};g.createXhr=function(){return this.xmlHttpFactory_?this.xmlHttpFactory_.createInstance():xmc.createInstance()};g.timeout_=function(){typeof sdc!="undefined"&&this.xhr_&&(this.lastError_="Timed out after "+this.timeoutInterval_+"ms, aborting",this.lastErrorCode_=8,this.dispatchEvent("timeout"),this.abort(8))};
g.error_=function(a,b){this.active_=!1;this.xhr_&&(this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1);this.lastError_=b;this.lastErrorCode_=a;Kmc(this);Lmc(this)};var Kmc=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};Xq.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"),Lmc(this))};
Xq.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),Lmc(this,!0));Xq.superClass_.disposeInternal.call(this)};Xq.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)Mmc(this);else this.onReadyStateChangeEntryPoint_()};Xq.prototype.onReadyStateChangeEntryPoint_=function(){Mmc(this)};
var Mmc=function(a){if(a.active_&&typeof sdc!="undefined")if(a.inSend_&&a.getReadyState()==4)setTimeout(a.onReadyStateChange_.bind(a),0);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=a.getReadyState()>2?a.xhr_.statusText:""}catch(c){b=""}a.lastError_=b+" ["+a.getStatus()+"]";Kmc(a)}}finally{Lmc(a)}}},Lmc=function(a,b){if(a.xhr_){a.timeoutId_&&(clearTimeout(a.timeoutId_),
a.timeoutId_=null);var c=a.xhr_;a.xhr_=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}};g=Xq.prototype;g.isActive=function(){return!!this.xhr_};g.isComplete=function(){return this.getReadyState()==4};
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=a===0)a=String(this.lastUri_).match(zmc)[1]||null,!a&&da.self&&da.self.location&&(a=da.self.location.protocol.slice(0,-1)),a=!Hmc.test(a?a.toLowerCase():"");b=a}return b};g.getReadyState=function(){return this.xhr_?this.xhr_.readyState:0};g.getStatus=function(){try{return this.getReadyState()>2?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&&b.indexOf(a)==0&&(b=b.substring(a.length));a:{a=b;if(da.JSON)try{var c=da.JSON.parse(a);break a}catch(d){}c=rmc(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),a===null?void 0:a};
g.getAllResponseHeaders=function(){return this.xhr_&&this.getReadyState()>=2?this.xhr_.getAllResponseHeaders()||"":""};g.getResponseHeaders=function(){for(var a={},b=this.getAllResponseHeaders().split("\r\n"),c=0;c<b.length;c++)if(!ja(b[c])){var d=jgc(b[c]),e=d[0];d=d[1];if(typeof d==="string"){d=d.trim();var f=a[e]||[];a[e]=f;f.push(d)}}return Pda(a,function(h){return h.join(", ")})};g.getLastErrorCode=function(){return this.lastErrorCode_};
g.getLastError=function(){return typeof this.lastError_==="string"?this.lastError_:String(this.lastError_)};Pgc(function(a){Xq.prototype.onReadyStateChangeEntryPoint_=a(Xq.prototype.onReadyStateChangeEntryPoint_)});var Omc=function(a,b){this.onDataCallbacks=[];this.onMetadataCallbacks=[];this.onStatusCallbacks=[];this.onEndCallbacks=[];this.onErrorCallbacks=[];this.xhrNodeReadableStream=a.nodeReadableStream;this.grpcResponseDeserializeFn=b;this.xhr=a.xhr;this.xhrNodeReadableStream&&Nmc(this)},Vmc=function(a,b){var c=new Pmc;tt(a.xhr,"complete",function(){if(a.xhr.isSuccess()){var d=a.xhr.getResponseText();if(b&&a.xhr.getResponseHeader("Content-Type")==="text/plain"){if(!atob)throw Error("fb");d=atob(d)}try{var e=
a.grpcResponseDeserializeFn(d)}catch(k){Qmc(a,ata(new Gx(13,"Error when deserializing response data; error: "+k+(", response: "+d)),c));return}d=Ysa(a.xhr.getStatus());Rmc(a,Smc(a));d===0?Tmc(a,e):Qmc(a,ata(new Gx(d,"Xhr succeeded but the status code is not 200"),c))}else{d=a.xhr.getResponseText();e=Smc(a);if(d){var f=Umc(a,d);d=f.code;var h=f.details;f=f.metadata}else d=2,h="Rpc failed due to xhr error. uri: "+a.xhr.getLastUri()+", error code: "+(a.xhr.getLastErrorCode()+", error: ")+a.xhr.getLastError(),
f=e;Rmc(a,e);Qmc(a,ata(new Gx(d,h,f),c))}})},Nmc=function(a){a.xhrNodeReadableStream.on("data",function(b){if("1"in b){var c=b["1"];try{var d=a.grpcResponseDeserializeFn(c)}catch(e){Qmc(a,new Gx(13,"Error when deserializing response data; error: "+e+(", response: "+c)))}d&&Tmc(a,d)}if("2"in b)for(b=Umc(a,b["2"]),c=0;c<a.onStatusCallbacks.length;c++)a.onStatusCallbacks[c](b)});a.xhrNodeReadableStream.on("end",function(){Rmc(a,Smc(a));for(var b=0;b<a.onEndCallbacks.length;b++)a.onEndCallbacks[b]()});
a.xhrNodeReadableStream.on("error",function(){if(a.onErrorCallbacks.length!==0){var b=a.xhr.getLastErrorCode();b!==0||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=Ysa(c);break;default:d=14}Rmc(a,Smc(a));b=qmc(b)+", error: "+a.xhr.getLastError();c!==-1&&(b+=", http status code: "+c);Qmc(a,new Gx(d,b))}})},Smc=function(a){var b={},c=a.xhr.getResponseHeaders();Object.keys(c).forEach(function(d){b[d]=c[d]});return b},
Umc=function(a,b){var c=2,d={};try{var e=Zlc(b);c=e.getCode();var f=e.getMessage();ie(e,Ko,3,Rd()).length&&(d["grpc-web-status-details-bin"]=b)}catch(h){a.xhr&&a.xhr.getStatus()===404?(c=5,f="Not Found: "+a.xhr.getLastUri()):(c=14,f="Unable to parse RpcStatus: "+h)}return{code:c,details:f,metadata:d}};
Omc.prototype.on=function(a,b){a==="data"?this.onDataCallbacks.push(b):a==="metadata"?this.onMetadataCallbacks.push(b):a==="status"?this.onStatusCallbacks.push(b):a==="end"?this.onEndCallbacks.push(b):a==="error"&&this.onErrorCallbacks.push(b);return this};var Wmc=function(a,b){b=a.indexOf(b);b>-1&&a.splice(b,1)};
Omc.prototype.removeListener=function(a,b){a==="data"?Wmc(this.onDataCallbacks,b):a==="metadata"?Wmc(this.onMetadataCallbacks,b):a==="status"?Wmc(this.onStatusCallbacks,b):a==="end"?Wmc(this.onEndCallbacks,b):a==="error"&&Wmc(this.onErrorCallbacks,b);return this};Omc.prototype.cancel=function(){this.xhr.abort()};
var Tmc=function(a,b){for(var c=0;c<a.onDataCallbacks.length;c++)a.onDataCallbacks[c](b)},Rmc=function(a,b){for(var c=0;c<a.onMetadataCallbacks.length;c++)a.onMetadataCallbacks[c](b)},Qmc=function(a,b){for(var c=0;c<a.onErrorCallbacks.length;c++)a.onErrorCallbacks[c](b)},Pmc=function(){var a=Error.call(this);this.message=a.message;"stack"in a&&(this.stack=a.stack);this.name="AsyncStack";Object.setPrototypeOf(this,this.constructor.prototype)};Y(Pmc,Error);var Px=function(a){this.worker_=a.worker||null;this.streamBinaryChunks_=a.streamBinaryChunks||!1;this.cacheMode_=this.credentialsMode_=void 0};Lu(Px,$sa);Px.prototype.createInstance=function(){var a=new Qx(this.worker_,this.streamBinaryChunks_);this.credentialsMode_&&a.setCredentialsMode(this.credentialsMode_);this.cacheMode_&&a.setCacheMode(this.cacheMode_);return a};Px.prototype.setCredentialsMode=function(a){this.credentialsMode_=a};Px.prototype.setCacheMode=function(a){this.cacheMode_=a};
var Qx=function(a,b){st.call(this);this.worker_=a;this.streamBinaryChunks_=b;this.cacheMode_=this.credentialsMode_=void 0;this.status=this.readyState=0;this.responseURL=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;this.abortController_=new AbortController};
Lu(Qx,st);Qx.prototype.open=function(a,b){if(this.readyState!=0)throw this.abort(),Error("gb");this.method_=a;this.url_=b;this.readyState=1;Xmc(this)};
Qx.prototype.send=function(a){if(this.readyState!=1)throw this.abort(),Error("hb");if(this.abortController_.signal.aborted)throw this.abort(),Error("ib");this.inProgress_=!0;var b={headers:this.requestHeaders_,method:this.method_,credentials:this.credentialsMode_,cache:this.cacheMode_,signal:this.abortController_.signal};a&&(b.body=a);(this.worker_||da).fetch(new Request(this.url_,b)).then(this.handleResponse_.bind(this),this.handleSendFailure_.bind(this))};
Qx.prototype.abort=function(){this.response=this.responseText="";this.requestHeaders_=new Headers;this.status=0;this.abortController_.abort("Request was aborted.");this.currentReader_&&this.currentReader_.cancel("Request was aborted.").catch(function(){return null});this.readyState>=1&&this.inProgress_&&this.readyState!=4&&(this.inProgress_=!1,Ymc(this));this.readyState=0};
Qx.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,Xmc(this)),this.inProgress_&&(this.readyState=3,Xmc(this),this.inProgress_)))if(this.responseType==="arraybuffer")a.arrayBuffer().then(this.handleResponseArrayBuffer_.bind(this),this.handleSendFailure_.bind(this));else if(typeof da.ReadableStream!=="undefined"&&
"body"in a){this.currentReader_=a.body.getReader();if(this.streamBinaryChunks_){if(this.responseType)throw Error("jb");this.response=[]}else this.response=this.responseText="",this.textDecoder_=new TextDecoder;Zmc(this)}else a.text().then(this.handleResponseText_.bind(this),this.handleSendFailure_.bind(this))};var Zmc=function(a){a.currentReader_.read().then(a.handleDataFromStream_.bind(a)).catch(a.handleSendFailure_.bind(a))};
Qx.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?Ymc(this):Xmc(this);this.readyState==3&&Zmc(this)}};Qx.prototype.handleResponseText_=function(a){this.inProgress_&&(this.response=this.responseText=a,Ymc(this))};
Qx.prototype.handleResponseArrayBuffer_=function(a){this.inProgress_&&(this.response=a,Ymc(this))};Qx.prototype.handleSendFailure_=function(){this.inProgress_&&Ymc(this)};var Ymc=function(a){a.readyState=4;a.fetchResponse_=null;a.currentReader_=null;a.textDecoder_=null;Xmc(a)};g=Qx.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 Xmc=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};
Object.defineProperty(Qx.prototype,"withCredentials",{get:function(){return this.credentialsMode_==="include"},set:function(a){this.setCredentialsMode(a?"include":"same-origin")}});var $mc=function(a){if(a.getValues&&typeof a.getValues=="function")return a.getValues();if(typeof Map!=="undefined"&&a instanceof Map||typeof Set!=="undefined"&&a instanceof Set)return Array.from(a.values());if(typeof a==="string")return a.split("");if(Ka(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Rda(a)},anc=function(a){if(a.getKeys&&typeof a.getKeys=="function")return a.getKeys();if(!a.getValues||typeof a.getValues!="function"){if(typeof Map!=="undefined"&&a instanceof
Map)return Array.from(a.keys());if(!(typeof Set!=="undefined"&&a instanceof Set)){if(Ka(a)||typeof a==="string"){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}}},bnc=function(a,b,c){if(a.forEach&&typeof a.forEach=="function")a.forEach(b,c);else if(Ka(a)||typeof a==="string")Array.prototype.forEach.call(a,b,c);else for(var d=anc(a),e=$mc(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)};var er=function(a,b){this.domain_=this.userInfo_=this.scheme_="";this.port_=null;this.fragment_=this.path_="";this.ignoreCase_=!1;var c;a instanceof er?(this.ignoreCase_=b!==void 0?b:a.ignoreCase_,Rx(this,a.scheme_),this.userInfo_=a.userInfo_,Sx(this,a.getDomain()),Tx(this,a.port_),this.setPath(a.getPath()),cnc(this,a.queryData_.clone()),dnc(this,a.fragment_)):a&&(c=String(a).match(zmc))?(this.ignoreCase_=!!b,Rx(this,c[1]||"",!0),this.userInfo_=Ux(c[2]||""),Sx(this,c[3]||"",!0),Tx(this,c[4]),this.setPath(c[5]||
"",!0),cnc(this,c[6]||"",!0),dnc(this,c[7]||"",!0)):(this.ignoreCase_=!!b,this.queryData_=new Vx(null,this.ignoreCase_))};
er.prototype.toString=function(){var a=[],b=this.scheme_;b&&a.push(enc(b,fnc,!0),":");var c=this.getDomain();if(c||b=="file")a.push("//"),(b=this.userInfo_)&&a.push(enc(b,fnc,!0),"@"),a.push(sv(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.port_,c!=null&&a.push(":",String(c));if(c=this.getPath())this.domain_&&c.charAt(0)!="/"&&a.push("/"),a.push(enc(c,c.charAt(0)=="/"?gnc:hnc,!0));(c=this.queryData_.toString())&&a.push("?",c);(c=this.fragment_)&&a.push("#",enc(c,inc));return a.join("")};
er.prototype.resolve=function(a){var b=this.clone(),c=!!a.scheme_;c?Rx(b,a.scheme_):c=!!a.userInfo_;c?b.userInfo_=a.userInfo_:c=!!a.domain_;c?Sx(b,a.getDomain()):c=a.port_!=null;var d=a.getPath();if(c)Tx(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("/");e!=-1&&(d=b.getPath().slice(0,e+1)+d)}e=d;if(e==".."||e==".")d="";else if(ka(e,"./")||ka(e,"/.")){d=e.lastIndexOf("/",0)==0;e=e.split("/");for(var f=[],h=0;h<e.length;){var k=
e[h++];k=="."?d&&h==e.length&&f.push(""):k==".."?((f.length>1||f.length==1&&f[0]!="")&&f.pop(),d&&h==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=a.hasQuery();c?cnc(b,a.queryData_.clone()):c=!!a.fragment_;c&&dnc(b,a.fragment_);return b};er.prototype.clone=function(){return new er(this)};var Rx=function(a,b,c){a.scheme_=c?Ux(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a};er.prototype.getDomain=function(){return this.domain_};
var Sx=function(a,b,c){a.domain_=c?Ux(b,!0):b;return a},Tx=function(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("kb`"+b);a.port_=b}else a.port_=null;return a};er.prototype.getPath=function(){return this.path_};er.prototype.setPath=function(a,b){this.path_=b?Ux(a,!0):a;return this};er.prototype.hasPath=function(){return!!this.path_};er.prototype.hasQuery=function(){return this.queryData_.toString()!==""};
var cnc=function(a,b,c){b instanceof Vx?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=enc(b,jnc)),a.queryData_=new Vx(b,a.ignoreCase_));return a};er.prototype.setQuery=function(a){return cnc(this,a)};er.prototype.getQuery=function(){return this.queryData_.toString()};var Mr=function(a,b,c){a.queryData_.set(b,c);return a},Lr=function(a,b){return a.queryData_.get(b)},dnc=function(a,b,c){a.fragment_=c?Ux(b):b;return a},knc=function(a){Mr(a,"zx",Xgb());return a};
er.prototype.removeParameter=function(a){this.queryData_.remove(a);return this};er.prototype.isReadOnly=function(){return!1};er.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)};
var Kr=function(a,b){return a instanceof er?a.clone():new er(a,b)},lnc=function(a,b,c,d,e){var f=new er(null);a&&Rx(f,a);b&&(f.userInfo_=b);c&&Sx(f,c);d&&Tx(f,d);e&&f.setPath(e);return f},Ux=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},enc=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,mnc),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},mnc=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},
fnc=/[#\/\?@]/g,hnc=/[#\?:]/g,gnc=/[#\?]/g,jnc=/[#\?@]/g,inc=/#/g,Vx=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},Wx=function(a){a.keyMap_||(a.keyMap_=new Map,a.count_=0,a.encodedQuery_&&Amc(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};g=Vx.prototype;g.getCount=function(){Wx(this);return this.count_};
g.add=function(a,b){Wx(this);this.encodedQuery_=null;a=Xx(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){Wx(this);a=Xx(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(){Wx(this);return this.count_==0};g.containsKey=function(a){Wx(this);a=Xx(this,a);return this.keyMap_.has(a)};
g.forEach=function(a,b){Wx(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};g.getKeys=function(){Wx(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){Wx(this);var b=[];if(typeof a==="string")this.containsKey(a)&&(b=b.concat(this.keyMap_.get(Xx(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){Wx(this);this.encodedQuery_=null;a=Xx(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 a.length>0?String(a[0]):b};
g.setValues=function(a,b){this.remove(a);b.length>0&&(this.encodedQuery_=null,this.keyMap_.set(Xx(this,a),Ja(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=sv(d);d=this.getValues(d);for(var f=0;f<d.length;f++){var h=e;d[f]!==""&&(h+="="+sv(d[f]));a.push(h)}}return this.encodedQuery_=a.join("&")};
g.clone=function(){var a=new Vx;a.encodedQuery_=this.encodedQuery_;this.keyMap_&&(a.keyMap_=new Map(this.keyMap_),a.count_=this.count_);return a};var Xx=function(a,b){b=String(b);a.ignoreCase_&&(b=b.toLowerCase());return b};Vx.prototype.setIgnoreCase=function(a){a&&!this.ignoreCase_&&(Wx(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};
Vx.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)bnc(arguments[b],function(c,d){this.add(d,c)},this)};var nnc=function(a){var b="";Rc(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b},onc=function(a,b,c){if(Tc(c))return a;c=nnc(c);if(typeof a==="string")return Fmc(a,sv(b),c);Mr(a,b,c);return a};var Ps=function(a){Ix.call(this);this.handler_=a;this.keys_={}};Lu(Ps,Ix);var pnc=[];Ps.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(pnc[0]=b.toString()),b=pnc);for(var e=0;e<b.length;e++){var f=tt(a,b[e],c||this.handleEvent,d||!1,this.handler_||this);if(!f)break;this.keys_[f.key]=f}return this};Ps.prototype.listenOnce=function(a,b,c,d){return qnc(this,a,b,c,d)};
var qnc=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)qnc(a,b,c[h],d,e,f);else{b=Mx(b,c,d||a.handleEvent,e,f||a.handler_||a);if(!b)return a;a.keys_[b.key]=b}return a};
Ps.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=La(d)?!!d.capture:!!d,e=e||this.handler_||this,c=jmc(c),d=!!d,b=Lx(a)?a.getListener(b,c,d,e):a?(a=lmc(a))?a.getListener(b,c,d,e):null:null,b&&(Ox(b),delete this.keys_[b.key]);return this};Ps.prototype.removeAll=function(){Rc(this.keys_,function(a,b){this.keys_.hasOwnProperty(b)&&Ox(a)},this);this.keys_={}};
Ps.prototype.disposeInternal=function(){Ps.superClass_.disposeInternal.call(this);this.removeAll()};Ps.prototype.handleEvent=function(){throw Error("mb");};var rnc=function(a){a=a===void 0?{}:a;this.suppressCorsPreflight=a.suppressCorsPreflight||it("suppressCorsPreflight",a)||!1;this.withCredentials=a.withCredentials||it("withCredentials",a)||!1;this.unaryInterceptors=a.unaryInterceptors||[];this.workerScope=a.workerScope;this.chunkedServerStreaming=a.useFetchDownloadStreams||!1},unc=function(a,b,c,d,e,f){f=f===void 0?{}:f;var h=b.substring(0,b.length-e.name.length),k,q=(k=f)==null?void 0:k.signal;return snc(function(u){return new Promise(function(A,
D){if(q==null?0:q.aborted){var H=new Gx(1,"Aborted");H.cause=q.reason;D(H)}else{var O={},P=tnc(a,u,h);P.on("error",function(S){return void D(S)});P.on("metadata",function(S){O=S});P.on("data",function(S){var aa=O;aa=aa===void 0?{}:aa;A(new Qlc(S,aa))});q&&q.addEventListener("abort",function(){P.cancel();var S=new Gx(1,"Aborted");S.cause=q.reason;D(S)})}})},a.unaryInterceptors).call(a,Rlc(e,c,d)).then(function(u){return u.responseMessage})},Yx=function(a,b,c,d,e,f){f=f===void 0?{}:f;return unc(a,b,
c,d,e,f)},tnc=function(a,b,c){var d=b.methodDescriptor,e=b.getMetadata();var f=a.chunkedServerStreaming&&!1;f=a.workerScope||f?new Xq(new Px({worker:a.workerScope,streamBinaryChunks:f})):new Xq;c+=d.getName();e["Content-Type"]="application/json+protobuf";e["X-User-Agent"]="grpc-web-javascript/0.1";var h=e.Authorization;if(h&&Ylc.has(h.split(" ")[0])||a.withCredentials)f.withCredentials_=!0;if(a.suppressCorsPreflight)c=onc(c,"$httpHeaders",e);else for(a=l(Object.keys(e)),h=a.next();!h.done;h=a.next())h=
h.value,f.headers.set(h,e[h]);a=new Omc({xhr:f,nodeReadableStream:void 0},d.responseDeserializeFn);Vmc(a,e["X-Goog-Encode-Response-If-Executable"]==="base64");b=d.requestSerializeFn(b.requestMessage);f.send(c,"POST",b);return a},snc=function(a,b){return b.reduce(function(c,d){return function(e){return d.intercept(e,c)}},a)};var vnc=function(a){var b={withCredentials:!0,suppressCorsPreflight:!0};b=b||{};b.format="jspb";this.client_=new rnc(b);this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};vnc.prototype.generateAnswers=function(a){return Yx(this.client_,this.hostname_+"/$rpc/google.corp.devtools.devassist.ml4answers.v1.DuckieBackendService/GenerateAnswers",a,{},Xlc)};var ay=function(){this.activeSession=x(Ks);this.clientFactory=x(Zx);this.client=this.clientFactory.create(this.getServiceEndpoint())};ay.prototype.generateAnswers=function(a){var b=this;return this.activeSession.isExternalSession()?ix:wi(function(){var c=b.client,d=c.generateAnswers,e=new Fx;e=mf(e,5,9).setText(a);var f=e.setConversationHistory;var h=new Vlc;h=mf(h,1,2);e=f.call(e,h);f=(new Tlc).setAgentId("a2a:buganizer_agent");e=t(e,Tlc,15,f);return d.call(c,e)}).pipe(C(cta()))};
ay.prototype.getServiceEndpoint=function(){switch(this.activeSession.getEnvironmentType()){case "NIGHTLY":return"https://staging-ml4answers-googleapis.corp.google.com";case "PROD":return"https://ml4answers-googleapis.corp.google.com";default:return"https://autopush-ml4answers-googleapis.corp.google.com"}};ay.\u0275fac=function(a){return new (a||ay)};ay.\u0275prov=Dg({token:ay,factory:ay.\u0275fac,providedIn:"root"});var Zx=function(){};Zx.prototype.create=function(a){return new vnc(a)};
Zx.\u0275fac=function(a){return new (a||Zx)};Zx.\u0275prov=Dg({token:Zx,factory:Zx.\u0275fac,providedIn:"root"});var ita=new Set([].concat(p(Object.values({ACCESS_LIMIT:"access_limit",ASSIGNEE:"assignee",BLOCKED_BY_ISSUE_IDS:"blocked_by_issue_ids",BLOCKING_ISSUE_IDS:"blocking_issue_ids",CANONICAL_ISSUE_ID:"canonical_issue_id",CCS:"ccs",COLLABORATORS:"collaborators",CHILD_ISSUE_IDS:"child_issue_ids",CODE_CHANGES:"code_changes",GERRIT_CHANGES:"gerrit_changes",COMPONENT_ID:"component_id",CUSTOM_FIELDS:"custom_fields",DELETION_REASON:"deletion_reason",DUPLICATE_ISSUE_IDS:"duplicate_issue_ids",EFFORT:"effort",ENTITY_STATUS:"entity_status",
FOUND_IN_VERSIONS:"found_in_versions",HOTLIST_IDS:"hotlist_ids",IN_PROD:"in_prod",IS_ARCHIVED:"is_archived",IS_DELETED:"is_deleted",PARENT_ISSUE_IDS:"parent_issue_ids",STAFFING:"staffing",STAFFING_PLANNED_ALLOCATIONS:"staffing.planned_allocations",POSTMORTEMS:"postmortems",PRIORITY:"priority",RETENTION:"retention",REPORTER:"reporter",SEVERITY:"severity",SLO_SNOOZE_UNTIL:"slo_snooze_until",SLO_END_TIME:"slo_end_time",SLO_SNOOZE_TYPE:"slo_snooze_type",STATUS:"status",TARGETED_TO_VERSIONS:"targeted_to_versions",
TITLE:"title",TYPE:"type",VERIFIER:"verifier",VERIFIED_IN_VERSIONS:"verified_in_versions"}))));var by={},mta=(by[1]="issue_id",by[3]="type",by[4]="status",by[5]="priority",by[6]="severity",by[18]="title",by[15]="modified_time",by[14]="created_time",by[17]="verified_time",by[16]="resolved_time",by[38]="deletion_time",by[13]="blocked_by_issue_ids",by[12]="blocking_issue_ids",by[26]="vote_count",by[28]="cc_count",by[44]="collaborators_count",by[2]="component_path",by[27]="duplicate_count",by[10]="ccs",by[43]="collaborators",by[11]="code_changes",by[58]="incidents",by[32]="postmortems",by[8]="assignee",
by[9]="verifier",by[7]="reporter",by[19]="found_in_versions",by[20]="targeted_to_versions",by[21]="verified_in_versions",by[22]="in_prod",by[30]="last_modifier",by[25]="position",by[24]="custom_field",by[29]="modified_by",by[31]="archived",by[23]="canonical_issue_id",by[33]="min_slo",by[35]="assignment_slo",by[36]="response_slo",by[37]="closure_slo",by[39]="team",by[40]="estimate",by[41]="estimate_total_open",by[42]="estimate_total_complete",by[45]="access_level",by[46]="descendant_count",by[47]=
"open_descendant_count",by[48]="one_day_view_count",by[49]="seven_day_view_count",by[50]="thirty_day_view_count",by[51]="escalation_owner",by[52]="relative_modified_time",by[53]="alerts",by[54]="timeframe",by[55]="progress",by[56]="triager",by[57]="enrichment_categories",by),cy={},ota=(cy.issue_id=1,cy.type=3,cy.status=4,cy.priority=5,cy.severity=6,cy.title=18,cy.modified_time=15,cy.created_time=14,cy.verified_time=17,cy.resolved_time=16,cy.deletion_time=38,cy.blocked_by_issue_ids=13,cy.blocking_issue_ids=
12,cy.vote_count=26,cy.cc_count=28,cy.collaborators_count=44,cy.component_path=2,cy.duplicate_count=27,cy.ccs=10,cy.collaborators=43,cy.code_changes=11,cy.postmortems=32,cy.assignee=8,cy.verifier=9,cy.reporter=7,cy.found_in_versions=19,cy.targeted_to_versions=20,cy.verified_in_versions=21,cy.in_prod=22,cy.last_modifier=30,cy.position=25,cy.custom_field=24,cy.modified_by=29,cy.archived=31,cy.canonical_issue_id=23,cy.min_slo=33,cy.assignment_slo=35,cy.response_slo=36,cy.closure_slo=37,cy.team=39,cy.estimate=
40,cy.estimate_total_open=41,cy.estimate_total_complete=42,cy.access_level=45,cy.descendant_count=46,cy.open_descendant_count=47,cy.one_day_view_count=48,cy.seven_day_view_count=49,cy.thirty_day_view_count=50,cy.escalation_owner=51,cy.relative_modified_time=52,cy.alerts=53,cy.timeframe=54,cy.progress=55,cy.triager=56,cy.enrichment_categories=57,cy);var jm=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(jm,n);jm.prototype.getDisplayColumns=function(){return Xu(this,1)};jm.prototype.setDisplayColumns=function(a){dv(this,1,a)};var jDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(jDa,n);g=jDa.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getIssueAccessLimit=function(){return r(this,hl,2)};g.setIssueAccessLimit=function(a){t(this,hl,2,a)};g.setAddedCollaboratorsList=function(a){Ol(this,3,a)};g.setRemovedCollaboratorsList=function(a){Ol(this,4,a)};var el=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(el,n);g=el.prototype;g.getUser=function(){return Zk(this,Ud,1,bl)};g.setUser=function(a){return Bl(this,1,bl,a)};g.hasUser=function(){return Yk(this,Ud,1,bl)};g.getGroup=function(){return Zk(this,Ud,2,bl)};g.setGroup=function(a){Bl(this,2,bl,a)};var bl=[1,2,3];var wnc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(wnc,n);g=wnc.prototype;g.getAppendersList=function(){return ie(this,el,6,Rd())};g.setAppendersList=function(a){return Ol(this,6,a)};g.getReadersList=function(){return ie(this,el,8,Rd())};g.setReadersList=function(a){return Ol(this,8,a)};g.setImplicitAccess=function(a){return Xd(this,10,a)};var xnc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(xnc,n);g=xnc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getIssueAccessLimit=function(){return r(this,hl,2)};g.setIssueAccessLimit=function(a){t(this,hl,2,a)};g.setAddedCollaboratorsList=function(a){Ol(this,3,a)};g.setRemovedCollaboratorsList=function(a){Ol(this,4,a)};var kl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(kl,n);kl.prototype.getResourcePath=function(){return Oc(this,2)};kl.prototype.setResourcePath=function(a){return Vd(this,2,a)};kl.prototype.getRestrictionSeverity=function(){return Zd(this,3)};var KDa=function(a){return Xd(a,5,2)};var ol=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ol,n);var Fl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Fl,n);Fl.prototype.getLabel=function(){return Oc(this,1)};Fl.prototype.setLabel=function(a){return Vd(this,1,a)};Fl.prototype.getValue=function(){return wl(this,2)};Fl.prototype.setValue=function(a){return Vl(this,2,a)};var uua=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(uua,n);var tua=function(a,b){return Ol(a,1,b)};uua.prototype.setOptions=function(a){Nu(this,1,Fl,a)};var rua=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(rua,n);var qua=function(a,b){return Vl(a,1,b)};var El=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(El,n);g=El.prototype;g.getInherit=function(){return De(this,1)};g.setInherit=function(a){return Dl(this,1,a)};g.getId=function(){return Re(this,2)};g.getId_asLegacyNumberOrString=function(){return gm(this,2)};g.getId_asString=function(){return Xe(this,2)};g.setId=function(a){return ll(this,2,a)};g.getName=function(){return Oc(this,3)};g.setName=function(a){return Vd(this,3,a)};
var pua=function(a,b){Bl(a,4,Jn,b)},sua=function(a,b){Bl(a,5,Jn,b)};El.prototype.getCustomFieldId=function(){return Re(this,100)};El.prototype.getCustomFieldId_asString=function(){return Xe(this,100)};El.prototype.setCustomFieldId=function(a){return ll(this,100,a)};var Jn=[4,5];var Sl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Sl,n);g=Sl.prototype;g.getInherit=function(){return De(this,1)};g.setInherit=function(a){return Dl(this,1,a)};g.getSource=function(){return Zd(this,2)};g.setSource=function(a){return Xd(this,2,a)};g.getId=function(){return Re(this,3)};g.getId_asLegacyNumberOrString=function(){return gm(this,3)};g.getId_asString=function(){return Xe(this,3)};g.setId=function(a){return ll(this,3,a)};
g.getSourceTeamId_asString=function(){return Xe(this,5)};g.setSourceTeamId=function(a){ll(this,5,a)};g.getComment=function(){return Oc(this,4)};g.setComment=function(a){return Vd(this,4,a)};g.getEscalationOwner=function(){return r(this,Ud,7)};g.setEscalationOwner=function(a){t(this,Ud,7,a)};g.setInheritEscalationOwner=function(a){Dl(this,8,a)};var Tl=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Tl,n);g=Tl.prototype;g.getMetric=function(){return Zd(this,1)};g.getDayType=function(){return Zd(this,4)};g.setDayType=function(a){return Xd(this,4,a)};g.getObjective=function(){return r(this,we,3)};g.setObjective=function(a){return t(this,we,3,a)};g.getBusinessDays=function(){return Pd(this,5)};g.setBusinessDays=function(a){return se(this,5,a)};var qp=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(qp,n);g=qp.prototype;g.getSloId_asLegacyNumberOrString=function(){return gm(this,1)};g.getSloId_asString=function(){return Xe(this,1)};g.setSloId=function(a){return ll(this,1,a)};g.getParentId=function(){return Re(this,2)};g.setParentId=function(a){return ll(this,2,a)};g.getName=function(){return Oc(this,3)};g.setName=function(a){return Vd(this,3,a)};g.getDescription=function(){return Oc(this,4)};
g.setDescription=function(a){return Vd(this,4,a)};g.addRules=function(a,b){return rm(this,5,Tl,a,b)};g.removeRules=function(a){return Qu(this,5,Tl,a)};g.getIsArchived=function(){return De(this,7)};g.setIsArchived=function(a){return Dl(this,7,a)};var JDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(JDa,n);JDa.prototype.getTemplateId=function(){return Re(this,2)};JDa.prototype.setTemplateId=function(a){return ll(this,2,a)};var IDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(IDa,n);g=IDa.prototype;g.getIssue=function(){return r(this,lm,1)};g.setIssue=function(a){return t(this,lm,1,a)};g.setSignificanceOverride=function(a){return Xd(this,4,a)};g.getContentJudgement=function(){return r(this,kl,5)};g.setContentJudgement=function(a){return t(this,kl,5,a)};var im=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(im,n);g=im.prototype;g.getHotlistId=function(){return Re(this,1)};g.setHotlistId=function(a){return ll(this,1,a)};g.getName=function(){return Oc(this,2)};g.setName=function(a){return Vd(this,2,a)};g.getDescription=function(){return Oc(this,3)};g.setDescription=function(a){return Vd(this,3,a)};g.getArchived=function(){return De(this,4)};g.setArchived=function(a){return Dl(this,4,a)};
g.getDefaultOrderBy=function(){return Oc(this,5)};g.setDefaultOrderBy=function(a){return Vd(this,5,a)};g.getDisplayPreferences=function(){return r(this,jm,6)};g.setDisplayPreferences=function(a){return t(this,jm,6,a)};g.getCreatedTime=function(){return r(this,ue,7)};g.setCreatedTime=function(a){return t(this,ue,7,a)};g.getModifiedTime=function(){return r(this,ue,8)};g.setModifiedTime=function(a){return t(this,ue,8,a)};g.getOwnersList=function(){return ie(this,Ud,9,Rd())};
g.setOwnersList=function(a){return Ol(this,9,a)};g.getEtag=function(){return Mp(this,10)};g.setEtag=function(a){return ql(this,10,a)};var Rva=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Rva,n);g=Rva.prototype;g.getAddMask=function(){return r(this,wo,1)};g.getMutableAddMask=function(){return Pu(this,wo,1)};g.setAddMask=function(a){return t(this,wo,1,a)};g.getAdd=function(){return r(this,dm,2)};g.setAdd=function(a){return t(this,dm,2,a)};g.getComment=function(){return r(this,om,3)};g.setComment=function(a){return t(this,om,3,a)};g.getRemoveMask=function(){return r(this,wo,5)};
g.getMutableRemoveMask=function(){return Pu(this,wo,5)};g.setRemoveMask=function(a){return t(this,wo,5,a)};g.getRemove=function(){return r(this,dm,6)};g.setRemove=function(a){return t(this,dm,6,a)};var Ova=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ova,n);g=Ova.prototype;g.getText=function(){return Oc(this,1)};g.setText=function(a){return Vd(this,1,a)};g.getFormattingMode=function(){return Zd(this,2)};g.setFormattingMode=function(a){return Xd(this,2,a)};g.getCreateTime=function(){return r(this,ue,4)};g.setCreateTime=function(a){return t(this,ue,4,a)};var dy=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(dy,n);dy.prototype.getIssue=function(){return r(this,lm,1)};dy.prototype.setIssue=function(a){return t(this,lm,1,a)};dy.prototype.getRecommendation=function(){return Oc(this,2)};dy.prototype.setRecommendation=function(a){return Vd(this,2,a)};var Hva=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Hva,n);Hva.prototype.getName=function(){return Oc(this,1)};Hva.prototype.setName=function(a){return Vd(this,1,a)};Hva.prototype.getEntriesList=function(){return ie(this,dy,3,Rd())};var nm=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(nm,n);g=nm.prototype;g.getContentCase=function(){return al(this,mm)};g.getName=function(){return Oc(this,1)};g.setName=function(a){return Vd(this,1,a)};g.getSource=function(){return Oc(this,2)};g.setSource=function(a){return Vd(this,2,a)};g.getResource=function(){return Oc(this,3)};g.setResource=function(a){return Vd(this,3,a)};g.getType=function(){return Zd(this,4)};g.setType=function(a){return Xd(this,4,a)};
g.getRecommendation=function(){return Oc(this,5)};g.setRecommendation=function(a){return Vd(this,5,a)};g.getScore=function(){return wl(this,6)};g.setScore=function(a){return Vl(this,6,a)};g.getConfidence=function(){return Zd(this,7)};g.setConfidence=function(a){return Xd(this,7,a)};g.getCreateTime=function(){return r(this,ue,8)};g.setCreateTime=function(a){return t(this,ue,8,a)};g.getIssueModification=function(){return Zk(this,Rva,12,mm)};g.setIssueModification=function(a){Bl(this,12,mm,a)};
g.getRationale=function(){return r(this,Ova,13)};g.setRationale=function(a){t(this,Ova,13,a)};var mm=[9,10,11,12];var sm=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(sm,n);sm.prototype.getType=function(){return Zd(this,2)};sm.prototype.setType=function(a){return Xd(this,2,a)};sm.prototype.getIssueModification=function(){return Zk(this,Rva,4,ync)};sm.prototype.setIssueModification=function(a){Bl(this,4,ync,a)};var ync=[4];var Yva=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Yva,n);g=Yva.prototype;g.getParent=function(){return Oc(this,1)};g.setParent=function(a){return Vd(this,1,a)};g.getType=function(){return Zd(this,2)};g.setType=function(a){return Xd(this,2,a)};g.getResource=function(){return Oc(this,3)};g.setResource=function(a){return Vd(this,3,a)};g.getRecommendationsList=function(){return ie(this,nm,4,Rd())};g.setRecommendationsList=function(a){return Ol(this,4,a)};var znc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(znc,n);g=znc.prototype;g.getParent=function(){return Oc(this,1)};g.setParent=function(a){return Vd(this,1,a)};g.getType=function(){return Zd(this,2)};g.setType=function(a){return Xd(this,2,a)};g.setRequestsList=function(a){return Ol(this,3,a)};g.addAndReturnRequests=function(){return Bc(this,3,Yva)};var Sva=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Sva,n);Sva.prototype.getParent=function(){return Oc(this,1)};Sva.prototype.setParent=function(a){return Vd(this,1,a)};var Anc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Anc,n);g=Anc.prototype;g.getResource=function(){return Oc(this,1)};g.setResource=function(a){return Vd(this,1,a)};g.getType=function(){return Zd(this,2)};g.setType=function(a){return Xd(this,2,a)};g.setPageSize=function(a){return se(this,4,a)};g.setPageToken=function(a){return Vd(this,5,a)};g.setView=function(a){return Xd(this,6,a)};var ey=function(){},fy=function(){};var gy=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,gy.messageId)};Y(gy,n);gy.prototype.getParent=function(){return Oc(this,1,void 0,Kc)};gy.prototype.setParent=function(a){return Vd(this,1,a,Kc)};gy.prototype.setRequestsList=function(a){return Ol(this,2,a,Kc)};gy.prototype.addAndReturnRequests=function(){return Bc(this,2,Sva,Kc)};gy.messageId="b.BatchCreateUserEngagementsRequest";var hy=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,hy.messageId)};Y(hy,n);hy.prototype.getRecommendationsList=function(){return ie(this,nm,1,Rd(),Kc)};hy.prototype.setRecommendationsList=function(a){return Ol(this,1,a,Kc)};hy.messageId="b.BatchReplaceRecommendationsResponse";var iy=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,iy.messageId)};Y(iy,n);iy.prototype.getRecommendationsList=function(){return ie(this,nm,1,Rd(),Kc)};iy.prototype.setRecommendationsList=function(a){return Ol(this,1,a,Kc)};iy.prototype.getNextPageToken=function(){return Oc(this,2,void 0,Kc)};iy.prototype.getTotalSize=function(){return Re(this,3,void 0,Kc)};iy.messageId="b.LookupRecommendationsResponse";var jy=function(){this.executor=x(ey)};jy.prototype.lookupRecommendations=function(a){var b=(new Anc).setResource(a.resource).setType(Mva[a.type]).setPageSize(a.pageSize).setPageToken(a.pageToken).setView(Hic[a.view]);a.minConfidence!==void 0&&Xd(b,3,Nva[a.minConfidence]);return this.executor.post({url:"action/recommendations/lookup",body:b,responseConstructor:iy}).pipe(C(Wva))};
jy.prototype.createUserEngagements=function(a){a=(new gy).setRequestsList(a.map(Vva));return this.executor.post({url:"action/recommendations/engagements/batch",body:a,responseConstructor:null})};jy.prototype.batchReplaceRecommendations=function(a){var b=(new znc).setRequestsList(a.requests.map(Zva));a.parent&&b.setParent(a.parent);a.type&&b.setType(Mva[a.type]);return this.executor.post({url:"action/recommendations/batchReplace",body:b,responseConstructor:hy}).pipe(C(Xva))};
jy.\u0275fac=function(a){return new (a||jy)};jy.\u0275prov=Dg({token:jy,factory:jy.\u0275fac,providedIn:"root"});var ky=function(){this.observableApi=x(jy)};ky.prototype.lookupRecommendations=function(a){return pi(this.observableApi.lookupRecommendations(a))};ky.prototype.createUserEngagements=function(a){return pi(this.observableApi.createUserEngagements(a))};ky.prototype.batchReplaceRecommendations=function(a){return pi(this.observableApi.batchReplaceRecommendations(a))};
ky.\u0275fac=function(a){return new (a||ky)};ky.\u0275prov=Dg({token:ky,factory:ky.\u0275fac,providedIn:"root"});var An=function(a){return"issues/"+a},yr=function(a){var b;return(b=a.match(/issues\/(\d+)/))==null?void 0:b[1]},jcb=function(a){var b;return(b=a.match(/hotlists\/(\d+)/))==null?void 0:b[1]};var Bnc=new kh("GM2_BUTTON_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var bwa,cwa="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 ewa;var iwa,gwa;var kwa;var Cnc=/\s+/,Dnc=[],ly=function(a,b){this._ngEl=a;this._renderer=b;this.initialClasses=Dnc;this.stateMap=new Map};ly.prototype.ngDoCheck=function(){for(var a=l(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=l(a),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);else if(a!=null){b=l(Object.keys(a));for(var c=b.next();!c.done;c=b.next())c=c.value,this._updateState(c,!!a[c])}this._applyStateDiff()};
ly.prototype._updateState=function(a,b){var c=this.stateMap.get(a);c!==void 0?(c.enabled!==b&&(c.changed=!0,c.enabled=b),c.touched=!0):this.stateMap.set(a,{enabled:b,changed:!0,touched:!0})};ly.prototype._applyStateDiff=function(){for(var a=l(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}};
ly.prototype._toggleClass=function(a,b){var c=this;a=a.trim();a.length>0&&a.split(Cnc).forEach(function(d){b?c._renderer.addClass(c._ngEl.nativeElement,d):c._renderer.removeClass(c._ngEl.nativeElement,d)})};pg.Object.defineProperties(ly.prototype,{klass:{configurable:!0,enumerable:!0,set:function(a){this.initialClasses=a!=null?a.trim().split(Cnc):Dnc}},ngClass:{configurable:!0,enumerable:!0,set:function(a){this.rawClass=typeof a==="string"?a.trim().split(Cnc):a}}});
ly.\u0275fac=function(a){return new (a||ly)(Ui(Ph),Ui($m))};ly.\u0275dir=$i({type:ly,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}});var Enc=function(a,b,c,d){this.$implicit=a;this.ngForOf=b;this.index=c;this.count=d};pg.Object.defineProperties(Enc.prototype,{first:{configurable:!0,enumerable:!0,get:function(){return this.index===0}},last:{configurable:!0,enumerable:!0,get:function(){return this.index===this.count-1}},even:{configurable:!0,enumerable:!0,get:function(){return this.index%2===0}},odd:{configurable:!0,enumerable:!0,get:function(){return!this.even}}});
var my=function(a,b,c){this._viewContainer=a;this._template=b;this._differs=c;this._ngForOf=null;this._ngForOfDirty=!0;this._differ=null};my.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)};
my.prototype._applyChanges=function(a){var b=this,c=this._viewContainer;vlc(a,function(h,k,q){h.previousIndex==null?c.createEmbeddedView(b._template,new Enc(h.item,b._ngForOf,-1,-1),q===null?void 0:q):q==null?c.remove(k===null?void 0:k):k!==null&&(k=c.get(k),c.move(k,q),k.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}wlc(a,function(h){c.get(h.currentIndex).context.$implicit=h.item})};
pg.Object.defineProperties(my.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)}}});my.\u0275fac=function(a){return new (a||my)(Ui(ck),Ui(bk),Ui(ux))};
my.\u0275dir=$i({type:my,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}});var ny=function(a,b){this._viewContainer=a;this._context=new Fnc;this._elseViewRef=this._thenViewRef=this._elseTemplateRef=null;this._thenTemplateRef=b};
ny.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)))};
pg.Object.defineProperties(ny.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){nwa(a);this._thenTemplateRef=a;this._thenViewRef=null;this._updateView()}},ngIfElse:{configurable:!0,enumerable:!0,set:function(a){nwa(a);this._elseTemplateRef=a;this._elseViewRef=null;this._updateView()}}});ny.\u0275fac=function(a){return new (a||ny)(Ui(ck),Ui(bk))};
ny.\u0275dir=$i({type:ny,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}});var Fnc=function(){this.ngIf=this.$implicit=null};var oy=function(a){this._viewContainerRef=a;this.ngTemplateOutletInjector=this.ngTemplateOutlet=this.ngTemplateOutletContext=this._viewRef=null};oy.prototype.ngOnChanges=function(a){if(this._shouldRecreateView(a))if(a=this._viewContainerRef,this._viewRef&&a.remove(a.indexOf(this._viewRef)),this.ngTemplateOutlet){var b=this._createContextForwardProxy(),c;this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,b,{injector:(c=this.ngTemplateOutletInjector)!=null?c:void 0})}else this._viewRef=null};
oy.prototype._shouldRecreateView=function(a){return!!a.ngTemplateOutlet||!!a.ngTemplateOutletInjector};oy.prototype._createContextForwardProxy=function(){var a=this;return new Proxy({},{set:function(b,c,d){return a.ngTemplateOutletContext?Reflect.set(a.ngTemplateOutletContext,c,d):!1},get:function(b,c,d){if(a.ngTemplateOutletContext)return Reflect.get(a.ngTemplateOutletContext,c,d)}})};oy.\u0275fac=function(a){return new (a||oy)(Ui(ck))};
oy.\u0275dir=$i({type:oy,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[$w]});var Gnc=function(){};Gnc.prototype.createSubscription=function(a,b,c){return Rg(function(){return a.subscribe({next:b,error:c})})};Gnc.prototype.dispose=function(a){Rg(function(){return a.unsubscribe()})};var Hnc=function(){};Hnc.prototype.createSubscription=function(a,b,c){a.then(function(d){var e;return(e=b)==null?void 0:e(d)},function(d){var e;return(e=c)==null?void 0:e(d)});return{unsubscribe:function(){c=b=null}}};Hnc.prototype.dispose=function(a){a.unsubscribe()};
var Inc=new Hnc,Jnc=new Gnc,py=function(a){this._latestValue=null;this.markForCheckOnValueUpdate=!0;this._strategy=this._obj=this._subscription=null;this.applicationErrorHandler=x(Ri);this._ref=a};g=py.prototype;g.ngOnDestroy=function(){this._subscription&&this._dispose();this._ref=null};
g.transform=function(a){if(!this._obj){if(a)try{this.markForCheckOnValueUpdate=!1,this._subscribe(a)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return a!==this._obj?(this._dispose(),this.transform(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)},function(c){return b.applicationErrorHandler(c)})};
g._selectStrategy=function(a){if(Bpa(a))return Inc;if(Cpa(a))return Jnc;throw Em();};g._dispose=function(){this._strategy.dispose(this._subscription);this._obj=this._subscription=this._latestValue=null};g._updateLatestValue=function(a,b){if(a===this._obj&&(this._latestValue=b,this.markForCheckOnValueUpdate)){var c;(c=this._ref)==null||c.markForCheck()}};py.\u0275fac=function(a){return new (a||py)(Ui(sx,16))};py.\u0275pipe=aj({name:"async",type:py,pure:!1});var qy=function(){};qy.prototype.transform=function(a){if(a==null)return null;if(typeof a!=="string")throw Em();return a.toLowerCase()};qy.\u0275fac=function(a){return new (a||qy)};qy.\u0275pipe=aj({name:"lowercase",type:qy,pure:!0});
var Knc=/(?:[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,ry=
function(){};ry.prototype.transform=function(a){if(a==null)return null;if(typeof a!=="string")throw Em();return a.replace(Knc,function(b){return b[0].toUpperCase()+b.slice(1).toLowerCase()})};ry.\u0275fac=function(a){return new (a||ry)};ry.\u0275pipe=aj({name:"titlecase",type:ry,pure:!0});var Nwa=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Iwa={},zwa=/((?:[^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]*)/,Cwa={};var Lnc=new kh(""),Mnc=new kh(""),sy=function(a,b,c){this.locale=a;this.defaultTimezone=b;this.defaultOptions=c};sy.prototype.transform=function(a,b,c,d){if(a==null||a===""||a!==a)return null;try{var e,f,h=(f=b!=null?b:(e=this.defaultOptions)==null?void 0:e.dateFormat)!=null?f:"mediumDate",k,q,u,A=(u=(q=c!=null?c:(k=this.defaultOptions)==null?void 0:k.timezone)!=null?q:this.defaultTimezone)!=null?u:void 0;return Gwa(a,h,d||this.locale,A)}catch(D){throw Em();}};
sy.\u0275fac=function(a){return new (a||sy)(Ui(wsa,16),Ui(Lnc,24),Ui(Mnc,24))};sy.\u0275pipe=aj({name:"date",type:sy,pure:!0});var ty=function(){};ty.prototype.transform=function(a){return JSON.stringify(a,null,2)};ty.\u0275fac=function(a){return new (a||ty)};ty.\u0275pipe=aj({name:"json",type:ty,pure:!1});var uy=function(a){this.differs=a;this.keyValues=[];this.compareFn=Pwa};uy.prototype.transform=function(a,b){var c=this;b=b===void 0?Pwa:b;if(!a||!(a instanceof Map)&&typeof a!=="object")return null;this.differ!=null||(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)b&&this.keyValues.sort(b),this.compareFn=b;return this.keyValues};
uy.\u0275fac=function(a){return new (a||uy)(Ui(vx,16))};uy.\u0275pipe=aj({name:"keyvalue",type:uy,pure:!1});var Swa=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var vy=function(a){this._locale=a};
vy.prototype.transform=function(a,b,c){if(a==null||a===""||a!==a)return null;c||(c=this._locale);try{if(typeof a!=="string"||isNaN(Number(a)-parseFloat(a))){if(typeof a!=="number")throw new Ug(2309,!1);var d=a}else d=Number(a);a=d;var e=Vj(c)[14][0],f=Dm(c,5);f=f===void 0?"-":f;d={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0};var h=e.split(";"),k=h[0],q=h[1],u=k.indexOf(".")!==-1?k.split("."):[k.substring(0,k.lastIndexOf("0")+1),k.substring(k.lastIndexOf("0")+
1)],A=u[0],D=u[1]||"";d.posPre=A.substring(0,A.indexOf("#"));for(e=0;e<D.length;e++){var H=D.charAt(e);H==="0"?d.minFrac=d.maxFrac=e+1:H==="#"?d.maxFrac=e+1:d.posSuf+=H}var O=A.split(",");d.gSize=O[1]?O[1].length:0;d.lgSize=O[2]||O[1]?(O[2]||O[1]).length:0;if(q){var P=k.length-d.posPre.length-d.posSuf.length,S=q.indexOf("#");d.negPre=q.substring(0,S).replace(/'/g,"");d.negSuf=q.slice(S+P).replace(/'/g,"")}else d.negPre=f+d.posPre,d.negSuf=d.posSuf;return Vwa(a,d,c,b)}catch(aa){throw Em();}};
vy.\u0275fac=function(a){return new (a||vy)(Ui(wsa,16))};vy.\u0275pipe=aj({name:"number",type:vy,pure:!0});var wy=function(){};wy.prototype.transform=function(a,b,c){if(a==null)return null;if(typeof a!=="string"&&!Array.isArray(a))throw Em();return a.slice(b,c)};wy.\u0275fac=function(a){return new (a||wy)};wy.\u0275pipe=aj({name:"slice",type:wy,pure:!1});var xy=function(){};xy.\u0275fac=function(a){return new (a||xy)};xy.\u0275mod=Zi({type:xy});xy.\u0275inj=Eg({});var Nnc=function(a){return a.src};new kh("",{providedIn:"root",factory:function(){return Nnc}});new kh("");new kh("",{providedIn:"root",factory:function(){return new Set}});var Onc=null,Pnc=function(){};var yy=function(){};yy.prototype.historyGo=function(){throw Error("$");};yy.\u0275fac=function(a){return new (a||yy)};yy.\u0275prov=Dg({token:yy,factory:function(){return x(zy)},providedIn:"platform"});var Qnc=new kh(""),zy=function(){this._doc=x(Mm);this._location=window.location;this._history=window.history};Y(zy,yy);zy.prototype.onPopState=function(a){var b=Rnc(this._doc,"window");b.addEventListener("popstate",a,!1);return function(){return b.removeEventListener("popstate",a)}};
var Snc=function(a,b){var c=Rnc(a._doc,"window");c.addEventListener("hashchange",b,!1);return function(){return c.removeEventListener("hashchange",b)}};g=zy.prototype;g.pushState=function(a,b,c){this._history.pushState(a,b,c)};g.replaceState=function(a,b,c){this._history.replaceState(a,b,c)};g.forward=function(){this._history.forward()};g.back=function(){this._history.back()};g.historyGo=function(a){this._history.go(a===void 0?0:a)};g.getState=function(){return this._history.state};
pg.Object.defineProperties(zy.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}}});zy.\u0275fac=function(a){return new (a||zy)};zy.\u0275prov=Dg({token:zy,factory:function(){return new zy},providedIn:"platform"});var Ay=function(){};Ay.prototype.historyGo=function(){throw Error("$");};Ay.\u0275fac=function(a){return new (a||Ay)};Ay.\u0275prov=Dg({token:Ay,factory:function(){return x(By)},providedIn:"root"});var Tnc=new kh(""),By=function(a,b){this._platformLocation=a;this._removeListenerFns=[];var c,d,e;this._baseHref=(e=(d=b!=null?b:Onc.getBaseHref())!=null?d:(c=x(Mm).location)==null?void 0:c.origin)!=null?e:""};Y(By,Ay);g=By.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};
g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),Snc(this._platformLocation,a))};g.getBaseHref=function(){return this._baseHref};g.prepareExternalUrl=function(a){return Wwa(this._baseHref,a)};g.path=function(a){var b=this._platformLocation.pathname+Jm(this._platformLocation.search),c=this._platformLocation.hash;return c&&(a===void 0?0:a)?b+c:b};g.pushState=function(a,b,c,d){this._platformLocation.pushState(a,b,this.prepareExternalUrl(c+Jm(d)))};
g.replaceState=function(a,b,c,d){this._platformLocation.replaceState(a,b,this.prepareExternalUrl(c+Jm(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;(c=(b=this._platformLocation).historyGo)==null||c.call(b,a===void 0?0:a)};By.\u0275fac=function(a){return new (a||By)(bh(yy),bh(Tnc,8))};By.\u0275prov=Dg({token:By,factory:By.\u0275fac,providedIn:"root"});var Cy=function(a,b){this._platformLocation=a;this._baseHref="";this._removeListenerFns=[];b!=null&&(this._baseHref=b)};Y(Cy,Ay);g=Cy.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),Snc(this._platformLocation,a))};g.getBaseHref=function(){return this._baseHref};
g.path=function(){var a,b=(a=this._platformLocation.hash)!=null?a:"#";return b.length>0?b.substring(1):b};g.prepareExternalUrl=function(a){a=Wwa(this._baseHref,a);return a.length>0?"#"+a:a};g.pushState=function(a,b,c,d){this._platformLocation.pushState(a,b,this.prepareExternalUrl(c+Jm(d))||this._platformLocation.pathname)};g.replaceState=function(a,b,c,d){this._platformLocation.replaceState(a,b,this.prepareExternalUrl(c+Jm(d))||this._platformLocation.pathname)};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;(c=(b=this._platformLocation).historyGo)==null||c.call(b,a===void 0?0:a)};Cy.\u0275fac=function(a){return new (a||Cy)(bh(yy),bh(Tnc,8))};Cy.\u0275prov=Dg({token:Cy,factory:Cy.\u0275fac});var cn=function(a){var b=this;this._subject=new oj;this._urlChangeListeners=[];this._urlChangeSubscription=null;this._locationStrategy=a;a=this._locationStrategy.getBaseHref();this._basePath=Ywa(Xwa(a.replace(/\/index.html$/,"")));this._locationStrategy.onPopState(function(c){b._subject.next({url:b.path(!0),pop:!0,state:c.state,type:c.type})})};g=cn.prototype;g.ngOnDestroy=function(){var a;(a=this._urlChangeSubscription)==null||a.unsubscribe();this._urlChangeListeners=[]};
g.path=function(a){return this.normalize(this._locationStrategy.path(a===void 0?!1:a))};g.getState=function(){return this._locationStrategy.getState()};g.normalize=function(a){var b=cn.stripTrailingSlash;var c=this._basePath;a=a.replace(/\/index.html$/,"");c&&a.startsWith(c)?(c=a.substring(c.length),c=c===""||["/",";","?","#"].includes(c[0])?c:a):c=a;return b.call(cn,c)};g.prepareExternalUrl=function(a){a&&a[0]!=="/"&&(a="/"+a);return this._locationStrategy.prepareExternalUrl(a)};
g.go=function(a,b,c){b=b===void 0?"":b;c=c===void 0?null:c;this._locationStrategy.pushState(c,"",a,b);this._notifyUrlChangeListeners(this.prepareExternalUrl(a+Jm(b)),c)};g.replaceState=function(a,b,c){b=b===void 0?"":b;c=c===void 0?null:c;this._locationStrategy.replaceState(c,"",a,b);this._notifyUrlChangeListeners(this.prepareExternalUrl(a+Jm(b)),c)};g.forward=function(){this._locationStrategy.forward()};g.back=function(){this._locationStrategy.back()};
g.historyGo=function(a){var b,c;(c=(b=this._locationStrategy).historyGo)==null||c.call(b,a===void 0?0:a)};g._notifyUrlChangeListeners=function(a,b){a=a===void 0?"":a;this._urlChangeListeners.forEach(function(c){return c(a,b)})};g.subscribe=function(a,b,c){return this._subject.subscribe({next:a,error:b!=null?b:void 0,complete:c!=null?c:void 0})};cn.stripTrailingSlash=Xwa;cn.\u0275fac=function(a){return new (a||cn)(bh(Ay))};cn.\u0275prov=Dg({token:cn,factory:function(){return new cn(bh(Ay))},providedIn:"root"});var Unc=function(){};Unc.\u0275prov=Dg({token:Unc,providedIn:"root",factory:function(){return new Vnc}});var Vnc=function(){var a=x(Mm),b=window;this.document=a;this.window=b;this.offset=function(){return[0,0]}},Wnc=function(a,b){a.offset=Array.isArray(b)?function(){return b}:b};Vnc.prototype.getScrollPosition=function(){return[this.window.scrollX,this.window.scrollY]};var Xnc=function(a,b,c){a.window.scrollTo(Object.assign({},c,{left:b[0],top:b[1]}))};var Ync=function(){};var Znc;try{Znc=typeof Intl!=="undefined"&&Intl.v8BreakIterator}catch(a){Znc=!1}
var Qm=function(){this.EDGE=(this.isBrowser=(this._platformId=x(ckc))?this._platformId==="browser":typeof document==="object"&&!!document)&&/(edge)/i.test(navigator.userAgent);this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);this.BLINK=this.isBrowser&&!(!window.chrome&&!Znc)&&typeof CSS!=="undefined"&&!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};Qm.\u0275fac=function(a){return new (a||Qm)};Qm.\u0275prov=Dg({token:Qm,factory:Qm.\u0275fac,providedIn:"root"});var $nc=new kh("cdk-input-modality-detector-options"),aoc={ignoreKeys:[18,17,224,91,16]},boc={passive:!0,capture:!0},Dy=function(){var a=this;this._platform=x(Qm);this._mostRecentTarget=null;this._modality=new $n(null);this._lastTouchMs=0;this._onKeydown=function(f){var h,k;((h=a._options)==null?0:(k=h.ignoreKeys)==null?0:k.some(function(q){return q===f.keyCode}))||(a._modality.next("keyboard"),a._mostRecentTarget=Bm(f))};this._onMousedown=function(f){Date.now()-a._lastTouchMs<650||(a._modality.next($va(f)?
"keyboard":"mouse"),a._mostRecentTarget=Bm(f))};this._onTouchstart=function(f){awa(f)?a._modality.next("keyboard"):(a._lastTouchMs=Date.now(),a._modality.next("touch"),a._mostRecentTarget=Bm(f))};var b=x(Kk),c=x(Mm),d=x($nc,{optional:!0});this._options=Object.assign({},aoc,d);this.modalityDetected=this._modality.pipe(qj(1));this.modalityDetected.pipe(jj());if(this._platform.isBrowser){var e=x(Wi).createRenderer(null,null);this._listenerCleanups=b.runOutsideAngular(function(){return[e.listen(c,"keydown",
a._onKeydown,boc),e.listen(c,"mousedown",a._onMousedown,boc),e.listen(c,"touchstart",a._onTouchstart,boc)]})}};Dy.prototype.ngOnDestroy=function(){this._modality.complete();var a;(a=this._listenerCleanups)==null||a.forEach(function(b){return b()})};pg.Object.defineProperties(Dy.prototype,{mostRecentModality:{configurable:!0,enumerable:!0,get:function(){return this._modality.value}}});Dy.\u0275fac=function(a){return new (a||Dy)};Dy.\u0275prov=Dg({token:Dy,factory:Dy.\u0275fac,providedIn:"root"});var coc=new kh("cdk-focus-monitor-default-options"),doc=zm({passive:!0,capture:!0}),Ey=function(){var a=this;this._ngZone=x(Kk);this._platform=x(Qm);this._inputModalityDetector=x(Dy);this._origin=null;this._originFromTouchInteraction=this._windowFocused=!1;this._elementInfo=new Map;this._monitoredElementCount=0;this._rootNodeFocusListenerCount=new Map;this._windowFocusListener=function(){a._windowFocused=!0;a._windowFocusTimeoutId=setTimeout(function(){return a._windowFocused=!1})};this._document=
x(Mm);this._stopInputModalityDetector=new oj;this._rootNodeFocusAndBlurListener=function(c){for(var d=Bm(c);d;d=d.parentElement)c.type==="focus"?a._onFocus(c,d):a._onBlur(c,d)};var b;this._detectionMode=((b=x(coc,{optional:!0}))==null?void 0:b.detectionMode)||0};
Ey.prototype.monitor=function(a,b){b=b===void 0?!1:b;a=wm(a);if(!this._platform.isBrowser||a.nodeType!==1)return li();var c=lwa(a)||this._document,d=this._elementInfo.get(a);if(d)return b&&(d.checkChildren=!0),d.subject;b={checkChildren:b,subject:new oj,rootNode:c};this._elementInfo.set(a,b);this._registerGlobalListeners(b);return b.subject};Ey.prototype.stopMonitoring=function(a){a=wm(a);var b=this._elementInfo.get(a);b&&(b.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(b))};
var Fy=function(a,b,c,d){b=wm(b);b===a._document.activeElement?a._getClosestElementsInfo(b).forEach(function(e){var f=l(e);e=f.next().value;f=f.next().value;return a._originChanged(e,c,f)}):(a._setOrigin(c),typeof b.focus==="function"&&b.focus(d))};g=Ey.prototype;g.ngOnDestroy=function(){var a=this;this._elementInfo.forEach(function(b,c){return a.stopMonitoring(c)})};g._getWindow=function(){return this._document.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 this._detectionMode===1||!(a==null||!a.contains(this._inputModalityDetector._mostRecentTarget))};
g._setClasses=function(a,b){a.classList.toggle("cdk-focused",!!b);a.classList.toggle("cdk-touch-focused",b==="touch");a.classList.toggle("cdk-keyboard-focused",b==="keyboard");a.classList.toggle("cdk-mouse-focused",b==="mouse");a.classList.toggle("cdk-program-focused",b==="program")};
g._setOrigin=function(a,b){var c=this;b=b===void 0?!1:b;this._ngZone.runOutsideAngular(function(){c._origin=a;c._originFromTouchInteraction=a==="touch"&&b;c._detectionMode===0&&(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=Bm(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,doc);c.addEventListener("blur",b._rootNodeFocusAndBlurListener,doc)});this._rootNodeFocusListenerCount.set(c,a+1);++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(function(){b._getWindow().addEventListener("focus",b._windowFocusListener)}),
this._inputModalityDetector.modalityDetected.pipe(tj(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);b>1?this._rootNodeFocusListenerCount.set(a,b-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,doc),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,doc),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(b.mostRecentModality!=="mouse"||!c||c===a||a.nodeName!=="INPUT"&&a.nodeName!=="TEXTAREA"||a.disabled)return!1;if(a=a.labels)for(b=0;b<a.length;b++)if(a[b].contains(c))return!0;return!1};Ey.\u0275fac=function(a){return new (a||Ey)};Ey.\u0275prov=Dg({token:Ey,factory:Ey.\u0275fac,providedIn:"root"});
var Gy=function(){this._elementRef=x(Ph);this._focusMonitor=x(Ey);this._focusOrigin=null;this.cdkFocusChange=new Lp};Gy.prototype.ngAfterViewInit=function(){var a=this,b=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(b,b.nodeType===1&&b.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(c){a._focusOrigin=c;a.cdkFocusChange.emit(c)})};Gy.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._monitorSubscription&&this._monitorSubscription.unsubscribe()};
pg.Object.defineProperties(Gy.prototype,{focusOrigin:{configurable:!0,enumerable:!0,get:function(){return this._focusOrigin}}});Gy.\u0275fac=function(a){return new (a||Gy)};Gy.\u0275dir=$i({type:Gy,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});var Hy=function(){this._platform=x(Qm)};Hy.prototype.isDisabled=function(a){return a.hasAttribute("disabled")};Hy.prototype.isVisible=function(a){return!!(a.offsetWidth||a.offsetHeight||typeof a.getClientRects==="function"&&a.getClientRects().length)&&getComputedStyle(a).visibility==="visible"};
var eoc=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&&($wa(c)===-1||!a.isVisible(c)))return!1;c=b.nodeName.toLowerCase();var d=$wa(b);if(b.hasAttribute("contenteditable"))a=d!==-1;else{var e;if(!(e=c==="iframe"||c==="object")&&(e=a._platform.WEBKIT&&a._platform.IOS)){e=b.nodeName.toLowerCase();var f=e==="input"&&b.type;e=!(f==="text"||f==="password"||e==="select"||e==="textarea")}a=e?!1:c==="audio"?
b.hasAttribute("controls")?d!==-1:!1:c==="video"?d===-1?!1:d!==null?!0:a._platform.FIREFOX||b.hasAttribute("controls"):b.tabIndex>=0}return a};
Hy.prototype.isFocusable=function(a,b){if(a.nodeName.toLowerCase()=="input"&&a.type=="hidden")var c=!1;else c=a.nodeName.toLowerCase(),c=c==="input"||c==="select"||c==="button"||c==="textarea"||a.nodeName.toLowerCase()=="a"&&a.hasAttribute("href")||a.hasAttribute("contenteditable")||Zwa(a);return c&&!this.isDisabled(a)&&((b==null?void 0:b.ignoreVisibility)||this.isVisible(a))};Hy.\u0275fac=function(a){return new (a||Hy)};Hy.\u0275prov=Dg({token:Hy,factory:Hy.\u0275fac,providedIn:"root"});var foc=new WeakMap,Um=function(){this._injector=x(yj);this._environmentInjector=x(Vi)};Um.prototype.load=function(a){var b=this._appRef=this._appRef||this._injector.get(Pk),c=foc.get(b);c||(c={loaders:new Set,refs:[]},foc.set(b,c),b.onDestroy(function(){var d;(d=foc.get(b))==null||d.refs.forEach(function(e){return e.destroy()});foc.delete(b)}));c.loaders.has(a)||(c.loaders.add(a),c.refs.push(Wsa(a,{environmentInjector:this._environmentInjector})))};Um.\u0275fac=function(a){return new (a||Um)};
Um.\u0275prov=Dg({token:Um,factory:Um.\u0275fac,providedIn:"root"});var Iy=function(){};Iy.\u0275fac=function(a){return new (a||Iy)};Iy.\u0275cmp=F({type:Iy,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}\n"],encapsulation:2,changeDetection:0});var Ly=function(a,b,c,d,e,f){var h=this;this._element=a;this._checker=b;this._ngZone=c;this._document=d;this._injector=f;this._hasAttached=!1;this.startAnchorListener=function(){return goc(h)};this.endAnchorListener=function(){return Jy(h)};this._enabled=!0;(e===void 0?0:e)||Ky(this)};
Ly.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 Ky=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))},hoc=function(a){return new Promise(function(b){a._executeOnStable(function(){return b(a.focusInitialElement())})})};
Ly.prototype._getRegionBoundary=function(a){var b=this._element.querySelectorAll("[cdk-focus-region-"+a+"], [cdkFocusRegion"+(a+"], [cdk-focus-")+(a+"]"));return a=="start"?b.length?b[0]:this._getFirstTabbableElement(this._element):b.length?b[b.length-1]:this._getLastTabbableElement(this._element)};
Ly.prototype.focusInitialElement=function(a){var b=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(b){if(!this._checker.isFocusable(b))return b=this._getFirstTabbableElement(b),b==null||b.focus(a),!!b;b.focus(a);return!0}return Jy(this,a)};var Jy=function(a,b){(a=a._getRegionBoundary("start"))&&a.focus(b);return!!a},goc=function(a){(a=a._getRegionBoundary("end"))&&a.focus(void 0);return!!a};g=Ly.prototype;g.hasAttached=function(){return this._hasAttached};
g._getFirstTabbableElement=function(a){if(this._checker.isFocusable(a)&&eoc(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)&&eoc(this._checker,a))return a;a=a.children;for(var b=a.length-1;b>=0;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 ioc=function(a,b){a._startAnchor&&a._endAnchor&&(a._toggleAnchorTabIndex(b,a._startAnchor),a._toggleAnchorTabIndex(b,a._endAnchor))};
Ly.prototype._executeOnStable=function(a){this._injector?Ej(a,{injector:this._injector}):setTimeout(a)};pg.Object.defineProperties(Ly.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 My=function(){this._checker=x(Hy);this._ngZone=x(Kk);this._document=x(Mm);this._injector=x(yj);x(Um).load(Iy)};
My.prototype.create=function(a,b){return new Ly(a,this._checker,this._ngZone,this._document,b===void 0?!1:b,this._injector)};My.\u0275fac=function(a){return new (a||My)};My.\u0275prov=Dg({token:My,factory:My.\u0275fac,providedIn:"root"});var Ny=function(){this._elementRef=x(Ph);this._focusTrapFactory=x(My);this._previouslyFocusedElement=null;x(Qm).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))};g=Ny.prototype;
g.ngOnDestroy=function(){var a;(a=this.focusTrap)==null||a.destroy();this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)};g.ngAfterContentInit=function(){var a;(a=this.focusTrap)==null||Ky(a);this.autoCapture&&this._captureFocus()};g.ngDoCheck=function(){this.focusTrap&&!this.focusTrap.hasAttached()&&Ky(this.focusTrap)};
g.ngOnChanges=function(a){a=a.autoCapture;var b;a&&!a.firstChange&&this.autoCapture&&((b=this.focusTrap)==null?0:b.hasAttached())&&this._captureFocus()};g._captureFocus=function(){this._previouslyFocusedElement=Am();var a;(a=this.focusTrap)==null||hoc(a)};pg.Object.defineProperties(Ny.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){var a;return((a=this.focusTrap)==null?void 0:a.enabled)||!1},set:function(a){this.focusTrap&&(this.focusTrap.enabled=a)}}});
Ny.\u0275fac=function(a){return new (a||Ny)};Ny.\u0275dir=$i({type:Ny,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",Tk],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",Tk]},exportAs:["cdkTrapFocus"],features:[$w]});var joc=new Set,Oy,gn=function(){this._platform=x(Qm);this._nonce=x(dkc,{optional:!0});this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):axa};gn.prototype.matchMedia=function(a){if(this._platform.WEBKIT||this._platform.BLINK){var b=this._nonce;if(!joc.has(a))try{Oy||(Oy=document.createElement("style"),b&&Oy.setAttribute("nonce",b),Oy.setAttribute("type","text/css"),document.head.appendChild(Oy)),Oy.sheet&&(Oy.sheet.insertRule("@media "+a+" {body{ }}",0),joc.add(a))}catch(c){console.error(c)}}return this._matchMedia(a)};
gn.\u0275fac=function(a){return new (a||gn)};gn.\u0275prov=Dg({token:gn,factory:gn.\u0275fac,providedIn:"root"});var Py=function(){this._mediaMatcher=x(gn);this._zone=x(Kk);this._queries=new Map;this._destroySubject=new oj};Py.prototype.ngOnDestroy=function(){this._destroySubject.next();this._destroySubject.complete()};
Py.prototype.observe=function(a){var b=this;a=bxa(tm(a)).map(function(c){return b._registerQuery(c).observable});a=si(a);a=vi(a.pipe(hj(1)),a.pipe(qj(1),fj(0)));return a.pipe(C(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}))};
Py.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 bi(function(e){var f=function(h){return b._zone.run(function(){return e.next(h)})};c.addListener(f);return function(){c.removeListener(f)}})).pipe(rj(c),C(function(e){return{query:a,matches:e.matches}}),tj(this._destroySubject)),mql:c};this._queries.set(a,d);return d};Py.\u0275fac=function(a){return new (a||Py)};
Py.\u0275prov=Dg({token:Py,factory:Py.\u0275fac,providedIn:"root"});var Qy=function(){var a=this;this._platform=x(Qm);this._document=x(Mm);this._breakpointSubscription=x(Py).observe("(forced-colors: active)").subscribe(function(){a._hasCheckedHighContrastMode&&(a._hasCheckedHighContrastMode=!1,a._applyBodyHighContrastModeCssClasses())})},koc=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};Qy.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe()};
Qy.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=koc(this);b===1?a.add("cdk-high-contrast-active","cdk-high-contrast-black-on-white"):b===2&&a.add("cdk-high-contrast-active","cdk-high-contrast-white-on-black")}};
Qy.\u0275fac=function(a){return new (a||Qy)};Qy.\u0275prov=Dg({token:Qy,factory:Qy.\u0275fac,providedIn:"root"});var loc=new kh("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),moc=new kh("LIVE_ANNOUNCER_DEFAULT_OPTIONS");var Ry=function(){};Ry.prototype.create=function(a){return typeof MutationObserver==="undefined"?null:new MutationObserver(a)};Ry.\u0275fac=function(a){return new (a||Ry)};Ry.\u0275prov=Dg({token:Ry,factory:Ry.\u0275fac,providedIn:"root"});var Sy=function(){this._mutationObserverFactory=x(Ry);this._observedElements=new Map;this._ngZone=x(Kk)};g=Sy.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=wm(a);return new bi(function(d){var e=b._observeElement(c).pipe(C(function(f){return f.filter(function(h){return!cxa(h)})}),Di(function(f){return!!f.length})).subscribe(function(f){b._ngZone.run(function(){d.next(f)})});return function(){e.unsubscribe();b._unobserveElement(c)}})};
g._observeElement=function(a){var b=this;return this._ngZone.runOutsideAngular(function(){if(b._observedElements.has(a))b._observedElements.get(a).count++;else{var c=new oj,d=b._mutationObserverFactory.create(function(e){return c.next(e)});d&&d.observe(a,{characterData:!0,childList:!0,subtree:!0});b._observedElements.set(a,{observer:d,stream:c,count:1})}return b._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)}};Sy.\u0275fac=function(a){return new (a||Sy)};Sy.\u0275prov=Dg({token:Sy,factory:Sy.\u0275fac,providedIn:"root"});
var Ty=function(){this._contentObserver=x(Sy);this._elementRef=x(Ph);this.event=new Lp;this._disabled=!1;this._currentSubscription=null};Ty.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()};Ty.prototype.ngOnDestroy=function(){this._unsubscribe()};Ty.prototype._subscribe=function(){this._unsubscribe();var a=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?a.pipe(fj(this.debounce)):a).subscribe(this.event)};
Ty.prototype._unsubscribe=function(){var a;(a=this._currentSubscription)==null||a.unsubscribe()};pg.Object.defineProperties(Ty.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=a)?this._unsubscribe():this._subscribe()}},debounce:{configurable:!0,enumerable:!0,get:function(){return this._debounce},set:function(a){this._debounce=xm(a);this._subscribe()}}});Ty.\u0275fac=function(a){return new (a||Ty)};
Ty.\u0275dir=$i({type:Ty,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",Tk],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]});var Uy=function(){};Uy.\u0275fac=function(a){return new (a||Uy)};Uy.\u0275mod=Zi({type:Uy});Uy.\u0275inj=Eg({providers:[Ry]});var noc=0,Vy=function(){this._ngZone=x(Kk);this._defaultOptions=x(moc,{optional:!0});this._document=x(Mm);this._liveElement=x(loc,{optional:!0})||this._createLiveElement()};g=Vy.prototype;
g.announce=function(a){var b=rd.apply(1,arguments),c=this,d=this._defaultOptions;if(b.length===1&&typeof b[0]==="number")var e=b[0];else{b=l(b);var f=b.next().value;e=b.next().value}this.clear();clearTimeout(this._previousTimeout);f||(f=d&&d.politeness?d.politeness:"polite");e==null&&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;typeof e==="number"&&(c._previousTimeout=setTimeout(function(){return c.clear()},e));var h;(h=c._currentResolve)==null||h.call(c);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;(a=this._liveElement)==null||a.remove();this._liveElement=null;var b;(b=this._currentResolve)==null||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-"+noc++;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?e.indexOf(a)===-1&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};Vy.\u0275fac=function(a){return new (a||Vy)};Vy.\u0275prov=Dg({token:Vy,factory:Vy.\u0275fac,providedIn:"root"});var Wy=function(){x(Qy)._applyBodyHighContrastModeCssClasses()};Wy.\u0275fac=function(a){return new (a||Wy)};Wy.\u0275mod=Zi({type:Wy});Wy.\u0275inj=Eg({imports:[Uy]});var gxa=0,Xy=function(){this._platform=x(Qm);this._document=x(Mm);this._messageRegistry=new Map;this._messagesContainer=null;this._id=""+gxa++;x(Um).load(Iy);this._id=x(bkc)+"-"+gxa++},ooc=function(a,b,c,d){if(a._canBeDescribed(b,c)){var e=fxa(c,d);typeof c!=="string"?(hxa(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)}},Yy=function(a,b,c,d){if(c&&a._isElementNode(b)){d=
fxa(c,d);a._isElementDescribedByMessage(b,d)&&a._removeMessageReference(b,d);typeof c==="string"&&(b=a._messageRegistry.get(d))&&b.referenceCount===0&&a._deleteMessageElement(d);var e;((e=a._messagesContainer)==null?void 0:e.childNodes.length)===0&&(a._messagesContainer.remove(),a._messagesContainer=null)}};g=Xy.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;(c=this._messagesContainer)==null||c.remove();this._messagesContainer=null;this._messageRegistry.clear()};
g._createMessageElement=function(a,b){var c=this._document.createElement("div");hxa(c,this._id);c.textContent=a;b&&c.setAttribute("role",b);this._createMessagesContainer();this._messagesContainer.appendChild(c);this._messageRegistry.set(fxa(a,b),{messageElement:c,referenceCount:0})};g._deleteMessageElement=function(a){var b,c;(b=this._messageRegistry.get(a))==null||(c=b.messageElement)==null||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.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._messagesContainer=a}};
g._removeCdkDescribedByReferenceIds=function(a){var b=dxa(a,"aria-describedby").filter(function(c){return c.indexOf("cdk-describedby-message")!=0});a.setAttribute("aria-describedby",b.join(" "))};g._addMessageReference=function(a,b){b=this._messageRegistry.get(b);exa(a,"aria-describedby",b.messageElement.id);a.setAttribute("cdk-describedby-host",this._id);b.referenceCount++};
g._removeMessageReference=function(a,b){b=this._messageRegistry.get(b);b.referenceCount--;Km(a,"aria-describedby",b.messageElement.id);a.removeAttribute("cdk-describedby-host")};g._isElementDescribedByMessage=function(a,b){a=dxa(a,"aria-describedby");b=(b=this._messageRegistry.get(b))&&b.messageElement.id;return!!b&&a.indexOf(b)!=-1};
g._canBeDescribed=function(a,b){if(!this._isElementNode(a))return!1;if(b&&typeof b==="object")return!0;b=b==null?"":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};Xy.\u0275fac=function(a){return new (a||Xy)};Xy.\u0275prov=Dg({token:Xy,factory:Xy.\u0275fac,providedIn:"root"});var Zy=function(a,b,c,d,e,f,h,k){Ly.call(this,a,b,c,d,h.defer,k);this._focusTrapManager=e;this._inertStrategy=f;this._focusTrapManager.register(this)};Y(Zy,Ly);Zy.prototype.destroy=function(){this._focusTrapManager.deregister(this);Ly.prototype.destroy.call(this)};Zy.prototype._enable=function(){this._inertStrategy.preventFocus(this);ioc(this,!0)};Zy.prototype._disable=function(){this._inertStrategy.allowFocus(this);ioc(this,!1)};
pg.Object.defineProperties(Zy.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 poc=function(){this._listener=null};poc.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)})};poc.prototype.allowFocus=function(a){this._listener&&(a._document.removeEventListener("focus",this._listener,!0),this._listener=null)};
poc.prototype._trapFocus=function(a,b){b=b.target;var c=a._element,d;!b||c.contains(b)||((d=b.closest)==null?0:d.call(b,"div.cdk-overlay-pane"))||setTimeout(function(){a.enabled&&!c.contains(a._document.activeElement)&&Jy(a)})};var qoc=new kh("FOCUS_TRAP_INERT_STRATEGY");var $y=function(){this._focusTrapStack=[]};$y.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()};$y.prototype.deregister=function(a){a._disable();var b=this._focusTrapStack;a=b.indexOf(a);a!==-1&&(b.splice(a,1),b.length&&b[b.length-1]._enable())};$y.\u0275fac=function(a){return new (a||$y)};$y.\u0275prov=Dg({token:$y,factory:$y.\u0275fac,providedIn:"root"});var az=function(){this._checker=x(Hy);this._ngZone=x(Kk);this._focusTrapManager=x($y);this._document=x(Mm);this._injector=x(yj);this._inertStrategy=x(qoc,{optional:!0})||new poc};az.prototype.create=function(a,b){b=b===void 0?{defer:!1}:b;var c;typeof b==="boolean"?c={defer:b}:c=b;return new Zy(a,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,c,this._injector)};az.\u0275fac=function(a){return new (a||az)};az.\u0275prov=Dg({token:az,factory:az.\u0275fac,providedIn:"root"});var roc={},Wm=function(){this._appId=x(bkc)};Wm.prototype.getId=function(a){this._appId!=="ng"&&(a+=this._appId);roc.hasOwnProperty(a)||(roc[a]=0);return a+roc[a]++};Wm.\u0275fac=function(a){return new (a||Wm)};Wm.\u0275prov=Dg({token:Wm,factory:Wm.\u0275fac,providedIn:"root"});var soc=function(a,b){this._letterKeyStream=new oj;this._items=[];this._selectedItemIndex=-1;this._pressedLetters=[];this.selectedItem=this._selectedItem=new oj;var c=typeof(b==null?void 0:b.debounceInterval)==="number"?b.debounceInterval:200;if(b==null?0:b.skipPredicate)this._skipPredicateFn=b.skipPredicate;this.setItems(a);this._setupKeyHandler(c)};g=soc.prototype;g.destroy=function(){this._pressedLetters=[];this._letterKeyStream.complete();this._selectedItem.complete()};
g.setItems=function(a){this._items=a};g.handleKey=function(a){var b=a.keyCode;a.key&&a.key.length===1?this._letterKeyStream.next(a.key.toLocaleUpperCase()):(b>=65&&b<=90||b>=48&&b<=57)&&this._letterKeyStream.next(String.fromCharCode(b))};g.isTyping=function(){return this._pressedLetters.length>0};g.reset=function(){this._pressedLetters=[]};
g._setupKeyHandler=function(a){var b=this;this._letterKeyStream.pipe(uj(function(c){return b._pressedLetters.push(c)}),fj(a),Di(function(){return b._pressedLetters.length>0}),C(function(){return b._pressedLetters.join("").toLocaleUpperCase()})).subscribe(function(c){for(var d=1;d<b._items.length+1;d++){var e=b._items[(b._selectedItemIndex+d)%b._items.length],f=void 0,h=void 0,k=void 0,q=void 0;if(((h=(f=b)._skipPredicateFn)==null||!h.call(f,e))&&((q=(k=e).getLabel)==null?void 0:q.call(k).toLocaleUpperCase().trim().indexOf(c))===
0){b._selectedItem.next(e);break}}b._pressedLetters=[]})};var bz=function(a,b){var c=this;this._items=a;this._activeItemIndex=kk.apply(null,[-1].concat(p([])));this._activeItem=kk.apply(null,[null].concat(p([])));this._wrap=!1;this._typeaheadSubscription=Yh.EMPTY;this._vertical=!0;this._allowedModifierKeys=[];this._homeAndEnd=!1;this._pageUpAndDown={enabled:!1,delta:10};this._skipPredicateFn=function(d){return d.disabled};this.tabOut=new oj;this.change=new oj;a instanceof dk?this._itemChangesSubscription=a.changes.subscribe(function(d){return c._itemsChanged(d.toArray())}):
bj(a)&&(this._effectRef=Msa.apply(null,[function(){return c._itemsChanged(a())}].concat(p([{injector:b}]))))};bz.prototype.skipPredicate=function(a){this._skipPredicateFn=a;return this};
var cz=function(a){a._wrap=!0;return a},dz=function(a,b){a._vertical=b===void 0?!0:b;return a},ez=function(a,b){a._horizontal=b;return a},toc=function(a){a._allowedModifierKeys=["shiftKey"];return a},uoc=function(a,b){b=b===void 0?200:b;a._typeaheadSubscription.unsubscribe();var c=a._getItemsArray();a._typeahead=new soc(c,{debounceInterval:typeof b==="number"?b:void 0,skipPredicate:function(d){return a._skipPredicateFn(d)}});a._typeaheadSubscription=a._typeahead.selectedItem.subscribe(function(d){a.setActiveItem(d)});
return a},fz=function(a){a._homeAndEnd=!0;return a},voc=function(a){a._pageUpAndDown={enabled:!0,delta:10};return a};bz.prototype.setActiveItem=function(a){var b=this._activeItem();gz(this,a);this._activeItem()!==b&&this.change.next(this._activeItemIndex())};
bz.prototype.onKeydown=function(a){var b=this,c=a.keyCode,d=["altKey","ctrlKey","metaKey","shiftKey"].every(function(h){return!a[h]||b._allowedModifierKeys.indexOf(h)>-1});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){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&
d){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&d){this._setActiveItemByIndex(0,1);break}else return;case 35:if(this._homeAndEnd&&d){woc(this);break}else return;case 33:if(this._pageUpAndDown.enabled&&d){c=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(c>0?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||ym(a,"shiftKey")){var e;(e=this._typeahead)==null||e.handleKey(a)}return}var f;(f=this._typeahead)==null||f.reset();a.preventDefault()};bz.prototype.isTyping=function(){return!!this._typeahead&&this._typeahead.isTyping()};var woc=function(a){a._setActiveItemByIndex(a._getItemsArray().length-1,-1)};bz.prototype.setNextItemActive=function(){this._activeItemIndex()<0?this._setActiveItemByIndex(0,1):this._setActiveItemByDelta(1)};
bz.prototype.setPreviousItemActive=function(){this._activeItemIndex()<0&&this._wrap?woc(this):this._setActiveItemByDelta(-1)};var gz=function(a,b){var c=a._getItemsArray();b=typeof b==="number"?b:c.indexOf(b);c=c[b];a._activeItem.set(c==null?null:c);a._activeItemIndex.set(b);(a=a._typeahead)!=null&&(a._selectedItemIndex=b)};g=bz.prototype;
g.destroy=function(){this._typeaheadSubscription.unsubscribe();var a;(a=this._itemChangesSubscription)==null||a.unsubscribe();var b;(b=this._effectRef)==null||b.destroy();var c;(c=this._typeahead)==null||c.destroy();this.tabOut.complete();this.change.complete()};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 bj(this._items)?this._items():this._items instanceof dk?this._items.toArray():this._items};g._itemsChanged=function(a){var b;(b=this._typeahead)==null||b.setItems(a);if(b=this._activeItem())a=a.indexOf(b),a>-1&&a!==this._activeItemIndex()&&(this._activeItemIndex.set(a),(b=this._typeahead)!=null&&(b._selectedItemIndex=a))};
pg.Object.defineProperties(bz.prototype,{activeItemIndex:{configurable:!0,enumerable:!0,get:function(){return this._activeItemIndex()}},activeItem:{configurable:!0,enumerable:!0,get:function(){return this._activeItem()}}});var hz=function(){bz.apply(this,arguments)};Y(hz,bz);hz.prototype.setActiveItem=function(a){this.activeItem&&this.activeItem.setInactiveStyles();bz.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.setActiveStyles()};var iz=function(){bz.apply(this,arguments);this._origin="program"};Y(iz,bz);var xoc=function(a,b){a._origin=b;return a};iz.prototype.setActiveItem=function(a){bz.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.focus(this._origin)};var yoc=function(a,b){var c=this;this._activeItemIndex=-1;this._activeItem=null;this._shouldActivationFollowFocus=!1;this._horizontalOrientation="ltr";this._skipPredicateFn=function(){return!1};this._trackByFn=function(d){return d};this._items=[];this._typeaheadSubscription=Yh.EMPTY;this._hasInitialFocused=!1;this.change=new oj;a instanceof dk?(this._items=a.toArray(),a.changes.subscribe(function(d){c._items=d.toArray();var e;(e=c._typeahead)==null||e.setItems(c._items);c._updateActiveItemIndex(c._items);
c._initializeFocus()})):cna(a)?a.subscribe(function(d){c._items=d;var e;(e=c._typeahead)==null||e.setItems(d);c._updateActiveItemIndex(d);c._initializeFocus()}):(this._items=a,this._initializeFocus());typeof b.shouldActivationFollowFocus==="boolean"&&(this._shouldActivationFollowFocus=b.shouldActivationFollowFocus);b.horizontalOrientation&&(this._horizontalOrientation=b.horizontalOrientation);b.skipPredicate&&(this._skipPredicateFn=b.skipPredicate);b.trackBy&&(this._trackByFn=b.trackBy);typeof b.typeAheadDebounceInterval!==
"undefined"&&this._setTypeAhead(b.typeAheadDebounceInterval)};g=yoc.prototype;
g._initializeFocus=function(){if(!this._hasInitialFocused&&this._items.length!==0){for(var a=0,b=0;b<this._items.length;b++)if(!this._skipPredicateFn(this._items[b])&&!this._isItemDisabled(this._items[b])){a=b;break}b=this._items[a];if(b.makeFocusable){var c;(c=this._activeItem)==null||c.unfocus();this._activeItemIndex=a;this._activeItem=b;(c=this._typeahead)!=null&&(c._selectedItemIndex=a);b.makeFocusable()}else jz(this,a);this._hasInitialFocused=!0}};
g.destroy=function(){this._typeaheadSubscription.unsubscribe();var a;(a=this._typeahead)==null||a.destroy();this.change.complete()};
g.onKeydown=function(a){switch(a.key){case "Tab":return;case "ArrowDown":this._focusNextItem();break;case "ArrowUp":this._focusPreviousItem();break;case "ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case "ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case "Home":this._focusFirstItem();break;case "End":this._focusLastItem();break;case "Enter":case " ":this._activateCurrentItem();
break;default:if(a.key==="*")this._expandAllItemsAtCurrentItemLevel();else{var b;(b=this._typeahead)==null||b.handleKey(a);return}}var c;(c=this._typeahead)==null||c.reset();a.preventDefault()};g._focusFirstItem=function(){jz(this,this._findNextAvailableItemIndex(-1))};g._focusLastItem=function(){jz(this,this._findPreviousAvailableItemIndex(this._items.length))};g._focusNextItem=function(){jz(this,this._findNextAvailableItemIndex(this._activeItemIndex))};g._focusPreviousItem=function(){jz(this,this._findPreviousAvailableItemIndex(this._activeItemIndex))};
var jz=function(a,b){var c=c===void 0?{}:c;c.emitChangeEvent!=null||(c.emitChangeEvent=!0);var d=typeof b==="number"?b:a._items.findIndex(function(k){return a._trackByFn(k)===a._trackByFn(b)});if(!(d<0||d>=a._items.length)){var e=a._items[d];if(a._activeItem===null||a._trackByFn(e)!==a._trackByFn(a._activeItem)){var f=a._activeItem;a._activeItem=e!=null?e:null;a._activeItemIndex=d;(e=a._typeahead)!=null&&(e._selectedItemIndex=d);var h;(h=a._activeItem)==null||h.focus();f==null||f.unfocus();c.emitChangeEvent&&
a.change.next(a._activeItem);a._shouldActivationFollowFocus&&a._activateCurrentItem()}}};g=yoc.prototype;g._updateActiveItemIndex=function(a){var b=this,c=this._activeItem;if(c&&(a=a.findIndex(function(e){return b._trackByFn(e)===b._trackByFn(c)}),a>-1&&a!==this._activeItemIndex)){this._activeItemIndex=a;var d;(d=this._typeahead)!=null&&(d._selectedItemIndex=a)}};
g._setTypeAhead=function(a){var b=this;this._typeahead=new soc(this._items,{debounceInterval:typeof a==="number"?a:void 0,skipPredicate:function(c){return b._skipPredicateFn(c)}});this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(function(c){jz(b,c)})};g._findNextAvailableItemIndex=function(a){for(var b=a+1;b<this._items.length;b++)if(!this._skipPredicateFn(this._items[b]))return b;return a};
g._findPreviousAvailableItemIndex=function(a){for(var b=a-1;b>=0;b--)if(!this._skipPredicateFn(this._items[b]))return b;return a};g._collapseCurrentItem=function(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{var a=this._activeItem.getParent();a&&!this._skipPredicateFn(a)&&jz(this,a)}};
g._expandCurrentItem=function(){var a=this;this._activeItem&&(this._isCurrentItemExpanded()?ixa(this._activeItem.getChildren()).pipe(hj(1)).subscribe(function(b){(b=b.find(function(c){return!a._skipPredicateFn(c)}))&&jz(a,b)}):this._activeItem.expand())};g._isCurrentItemExpanded=function(){return this._activeItem?typeof this._activeItem.isExpanded==="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1};
g._isItemDisabled=function(a){var b;return typeof a.isDisabled==="boolean"?a.isDisabled:(b=a.isDisabled)==null?void 0:b.call(a)};g._expandAllItemsAtCurrentItemLevel=function(){if(this._activeItem){var a=this._activeItem.getParent();(a?ixa(a.getChildren()):li(this._items.filter(function(b){return b.getParent()===null}))).pipe(hj(1)).subscribe(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next())c.value.expand()})}};g._activateCurrentItem=function(){var a;(a=this._activeItem)==null||a.activate()};
new kh("tree-key-manager",{providedIn:"root",factory:function(){return function(a,b){return new yoc(a,b)}}});var zoc=new kh("cdk-dir-doc",{providedIn:"root",factory:function(){return x(Mm)}});var Aoc=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,Xm=function(){this.valueSignal=kk.apply(null,["ltr"].concat(p([])));this.change=new Lp;var a=x(zoc,{optional:!0});if(a){var b=a.documentElement?a.documentElement.dir:null,c=this.valueSignal,d=c.set;b=(a.body?a.body.dir:null)||b||"ltr";var e=(b==null?void 0:b.toLowerCase())||"",f;b=e==="auto"&&typeof navigator!=="undefined"&&((f=navigator)==null?0:f.language)?Aoc.test(navigator.language)?
"rtl":"ltr":e==="rtl"?"rtl":"ltr";d.call(c,b)}};Xm.prototype.ngOnDestroy=function(){this.change.complete()};pg.Object.defineProperties(Xm.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.valueSignal()}}});Xm.\u0275fac=function(a){return new (a||Xm)};Xm.\u0275prov=Dg({token:Xm,factory:Xm.\u0275fac,providedIn:"root"});var kz=function(){};kz.\u0275fac=function(a){return new (a||kz)};kz.\u0275mod=Zi({type:kz});kz.\u0275inj=Eg({});var lz=function(){this._attachedOverlays=[];this._document=x(Mm)};lz.prototype.ngOnDestroy=function(){this.detach()};lz.prototype.add=function(a){this.remove(a);this._attachedOverlays.push(a)};lz.prototype.remove=function(a){a=this._attachedOverlays.indexOf(a);a>-1&&this._attachedOverlays.splice(a,1);this._attachedOverlays.length===0&&this.detach()};lz.\u0275fac=function(a){return new (a||lz)};lz.\u0275prov=Dg({token:lz,factory:lz.\u0275fac,providedIn:"root"});var bn=function(){lz.apply(this,arguments);var a=this;this._ngZone=x(Kk);this._renderer=x(Wi).createRenderer(null,null);this._keydownListener=function(b){var c=a._attachedOverlays,d={};for(d.i$jscomp$612=c.length-1;d.i$jscomp$612>-1;d={i$jscomp$612:d.i$jscomp$612},d.i$jscomp$612--)if(c[d.i$jscomp$612]._keydownEvents.observers.length>0){a._ngZone.run(function(e){return function(){return c[e.i$jscomp$612]._keydownEvents.next(b)}}(d));break}}};Y(bn,lz);
bn.prototype.add=function(a){var b=this;lz.prototype.add.call(this,a);this._isAttached||(this._ngZone.runOutsideAngular(function(){b._cleanupKeydown=b._renderer.listen("body","keydown",b._keydownListener)}),this._isAttached=!0)};bn.prototype.detach=function(){if(this._isAttached){var a;(a=this._cleanupKeydown)==null||a.call(this);this._isAttached=!1}};bn.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(bn)))(b||bn)}}();bn.\u0275prov=Dg({token:bn,factory:bn.\u0275fac,providedIn:"root"});var dn=function(){lz.apply(this,arguments);var a=this;this._platform=x(Qm);this._ngZone=x(Kk);this._renderer=x(Wi).createRenderer(null,null);this._cursorStyleIsSet=!1;this._pointerDownListener=function(b){a._pointerDownEventTarget=Bm(b)};this._clickListener=function(b){var c=Bm(b),d=b.type==="click"&&a._pointerDownEventTarget?a._pointerDownEventTarget:c;a._pointerDownEventTarget=null;for(var e=a._attachedOverlays.slice(),f={},h=e.length-1;h>-1;f={outsidePointerEvents:void 0},h--){var k=e[h];if(!(k._outsidePointerEvents.observers.length<
1)&&k.hasAttached()){if(jxa(k.overlayElement,c)||jxa(k.overlayElement,d))break;f.outsidePointerEvents=k._outsidePointerEvents;a._ngZone?a._ngZone.run(function(q){return function(){return q.outsidePointerEvents.next(b)}}(f)):f.outsidePointerEvents.next(b)}}}};Y(dn,lz);
dn.prototype.add=function(a){var b=this;lz.prototype.add.call(this,a);if(!this._isAttached){var c=this._document.body,d={capture:!0},e=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(function(){return[e.listen(c,"pointerdown",b._pointerDownListener,d),e.listen(c,"click",b._clickListener,d),e.listen(c,"auxclick",b._clickListener,d),e.listen(c,"contextmenu",b._clickListener,d)]});this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=c.style.cursor,c.style.cursor="pointer",
this._cursorStyleIsSet=!0);this._isAttached=!0}};dn.prototype.detach=function(){if(this._isAttached){var a;(a=this._cleanups)==null||a.forEach(function(b){return b()});this._cleanups=void 0;this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1);this._isAttached=!1}};dn.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(dn)))(b||dn)}}();dn.\u0275prov=Dg({token:dn,factory:dn.\u0275fac,providedIn:"root"});var Vm=function(){};Vm.\u0275fac=function(a){return new (a||Vm)};
Vm.\u0275cmp=F({type:Vm,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation;z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}\n"],encapsulation:2,
changeDetection:0});var Rm=function(){this._platform=x(Qm);this._document=x(Mm);this._styleLoader=x(Um)};Rm.prototype.ngOnDestroy=function(){var a;(a=this._containerElement)==null||a.remove()};var txa=function(a){a._loadStyles();a._containerElement||a._createContainer();return a._containerElement};
Rm.prototype._createContainer=function(){if(this._platform.isBrowser||mwa())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");mwa()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._containerElement=a};
Rm.prototype._loadStyles=function(){this._styleLoader.load(Vm)};Rm.\u0275fac=function(a){return new (a||Rm)};Rm.\u0275prov=Dg({token:Rm,factory:Rm.\u0275fac,providedIn:"root"});new kh("VIRTUAL_SCROLL_STRATEGY");var Nm=function(){this._ngZone=x(Kk);this._platform=x(Qm);this._renderer=x(Wi).createRenderer(null,null);this._scrolled=new oj;this._scrolledCount=0;this.scrollContainers=new Map};Nm.prototype.register=function(a){var b=this;this.scrollContainers.has(a)||this.scrollContainers.set(a,a._elementScrolled.subscribe(function(){return b._scrolled.next(a)}))};Nm.prototype.deregister=function(a){var b=this.scrollContainers.get(a);b&&(b.unsubscribe(),this.scrollContainers.delete(a))};
Nm.prototype.scrolled=function(a){var b=this;a=a===void 0?20:a;return this._platform.isBrowser?new bi(function(c){b._cleanupGlobalListener||(b._cleanupGlobalListener=b._ngZone.runOutsideAngular(function(){return b._renderer.listen("document","scroll",function(){return b._scrolled.next()})}));var d=a>0?b._scrolled.pipe(Gpa(a)).subscribe(c):b._scrolled.subscribe(c);b._scrolledCount++;return function(){d.unsubscribe();b._scrolledCount--;if(!b._scrolledCount){var e;(e=b._cleanupGlobalListener)==null||
e.call(b);b._cleanupGlobalListener=void 0}}}):li()};Nm.prototype.ngOnDestroy=function(){var a=this,b;(b=this._cleanupGlobalListener)==null||b.call(this);this._cleanupGlobalListener=void 0;this.scrollContainers.forEach(function(c,d){return a.deregister(d)});this._scrolled.complete()};var Boc=function(a,b){var c=[];a.scrollContainers.forEach(function(d,e){a._scrollableContainsElement(e,b)&&c.push(e)});return c};
Nm.prototype._scrollableContainsElement=function(a,b){b=wm(b);a=a.elementRef.nativeElement;do if(b==a)return!0;while(b=b.parentElement);return!1};Nm.\u0275fac=function(a){return new (a||Nm)};Nm.\u0275prov=Dg({token:Nm,factory:Nm.\u0275fac,providedIn:"root"});var mz=function(){this.elementRef=x(Ph);this.scrollDispatcher=x(Nm);this.ngZone=x(Kk);this.dir=x(Xm,{optional:!0});this._scrollElement=this.elementRef.nativeElement;this._destroyed=new oj;this._renderer=x($m);this._elementScrolled=new oj};mz.prototype.ngOnInit=function(){var a=this;this._cleanupScroll=this.ngZone.runOutsideAngular(function(){return a._renderer.listen(a._scrollElement,"scroll",function(b){return a._elementScrolled.next(b)})});this.scrollDispatcher.register(this)};
mz.prototype.ngOnDestroy=function(){var a;(a=this._cleanupScroll)==null||a.call(this);this._elementScrolled.complete();this.scrollDispatcher.deregister(this);this._destroyed.next();this._destroyed.complete()};
mz.prototype.scrollTo=function(a){var b=this.elementRef.nativeElement,c=this.dir&&this.dir.value=="rtl";a.left==null&&(a.left=c?a.end:a.start);a.right==null&&(a.right=c?a.start:a.end);a.bottom!=null&&(a.top=b.scrollHeight-b.clientHeight-a.bottom);c&&jwa()!=0?(a.left!=null&&(a.right=b.scrollWidth-b.clientWidth-a.left),jwa()==2?a.left=a.right:jwa()==1&&(a.left=a.right?-a.right:a.right)):a.right!=null&&(a.left=b.scrollWidth-b.clientWidth-a.right);this._applyScrollToOptions(a)};
mz.prototype._applyScrollToOptions=function(a){var b=this.elementRef.nativeElement;hwa()?b.scrollTo(a):(a.top!=null&&(b.scrollTop=a.top),a.left!=null&&(b.scrollLeft=a.left))};mz.\u0275fac=function(a){return new (a||mz)};mz.\u0275dir=$i({type:mz,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]});var Coc=new kh("_ViewRepeater");var Doc=function(){},Eoc=function(a,b,c,d){vlc(a,function(e,f,h){if(e.previousIndex==null){var k=c(e,f,h);k=b.createEmbeddedView(k.templateRef,k.context,k.index);f=1}else h==null?(b.remove(f),f=3):(k=b.get(f),b.move(k,h),f=2);if(d){var q;d({context:(q=k)==null?void 0:q.context,operation:f,record:e})}})};Doc.prototype.detach=function(){};var nz=function(a,b,c,d){var e=this;a=a===void 0?!1:a;c=c===void 0?!0:c;this._multiple=a;this._emitChanges=c;this.compareWith=d;this._selection=new Set;this._deselectedToEmit=[];this._selectedToEmit=[];this.changed=new oj;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;rd.apply(0,arguments).forEach(function(c){return a._markSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};g.deselect=function(){var a=this;rd.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=a===void 0?!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 this._selection.size===0};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,b){if(this.compareWith){var c;b=(c=b)!=null?c:this._selection;b=l(b);for(c=b.next();!c.done;c=b.next())if(c=c.value,this.compareWith(a,c))return c}return a};pg.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=l(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=Dg({token:oz,factory:oz.\u0275fac,providedIn:"root"});var Lm=function(){var a=this;this._platform=x(Qm);this._change=new oj;this._document=x(Mm);var b=x(Kk),c=x(Wi).createRenderer(null,null);b.runOutsideAngular(function(){if(a._platform.isBrowser){var d=function(e){return a._change.next(e)};a._listeners=[c.listen("window","resize",d),c.listen("window","orientationchange",d)]}a.change().subscribe(function(){return a._viewportSize=null})})};g=Lm.prototype;g.ngOnDestroy=function(){var a;(a=this._listeners)==null||a.forEach(function(b){return b()});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=a===void 0?20:a;return a>0?this._change.pipe(Gpa(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}};Lm.\u0275fac=function(a){return new (a||Lm)};Lm.\u0275prov=Dg({token:Lm,factory:Lm.\u0275fac,providedIn:"root"});new kh("VIRTUAL_SCROLLABLE");var pz=function(){};pz.\u0275fac=function(a){return new (a||pz)};pz.\u0275mod=Zi({type:pz});pz.\u0275inj=Eg({});var qz=function(){};qz.\u0275fac=function(a){return new (a||qz)};qz.\u0275mod=Zi({type:qz});qz.\u0275inj=Eg({imports:[kz,pz,kz,pz]});var Foc=hwa(),lxa=function(a,b){this._viewportRuler=a;this._previousHTMLStyles={top:"",left:""};this._isEnabled=!1;this._document=b};lxa.prototype.attach=function(){};
lxa.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=vm(-this._previousScrollPosition.left);a.style.top=vm(-this._previousScrollPosition.top);a.classList.add("cdk-global-scrollblock");this._isEnabled=!0}};
lxa.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");Foc&&(b.scrollBehavior=c.scrollBehavior="auto");window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top);Foc&&(b.scrollBehavior=d,c.scrollBehavior=e)}};
lxa.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var a=this._document.documentElement,b=this._viewportRuler.getViewportSize();return a.scrollHeight>b.height||a.scrollWidth>b.width};var Goc=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()})}};Goc.prototype.attach=function(a){this._overlayRef=a};
Goc.prototype.enable=function(){var a=this;if(!this._scrollSubscription){var b=this._scrollDispatcher.scrolled(0).pipe(Di(function(c){return!c||!a._overlayRef.overlayElement.contains(c.elementRef.nativeElement)}));this._config&&this._config.threshold&&this._config.threshold>1?(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)}};Goc.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};Goc.prototype.detach=function(){this.disable();this._overlayRef=null};var Hoc=function(){};Hoc.prototype.enable=function(){};Hoc.prototype.disable=function(){};Hoc.prototype.attach=function(){};var pxa=function(a,b,c,d){this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this._config=d;this._scrollSubscription=null};pxa.prototype.attach=function(a){this._overlayRef=a};
pxa.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;nxa(b,[{width:d,height:c,bottom:c,right:d,top:0,left:0}])&&(a.disable(),a._ngZone.run(function(){return a._overlayRef.detach()}))}}))};
pxa.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};pxa.prototype.detach=function(){this.disable();this._overlayRef=null};var rz=function(){var a=this;this._injector=x(yj);this.noop=function(){return new Hoc};this.close=function(b){var c=a._injector;return new Goc(c.get(Nm),c.get(Kk),c.get(Lm),b)};this.block=function(){return mxa(a._injector)};this.reposition=function(b){return Om(a._injector,b)}};rz.\u0275fac=function(a){return new (a||rz)};rz.\u0275prov=Dg({token:rz,factory:rz.\u0275fac,providedIn:"root"});var Zm=function(a){this.scrollStrategy=new Hoc;this.panelClass="";this.hasBackdrop=!1;this.backdropClass="cdk-overlay-dark-backdrop";this.disposeOnNavigation=!1;if(a){var b=Object.keys(a);b=l(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a[c]!==void 0&&(this[c]=a[c])}};var Ioc=function(a,b,c,d){var e=this;this._renderer=b;this._ngZone=c;this.dispose=function(){clearTimeout(e._fallbackTimeout);var f;(f=e._cleanupClick)==null||f.call(e);var h;(h=e._cleanupTransitionEnd)==null||h.call(e);e._cleanupClick=e._cleanupTransitionEnd=e._fallbackTimeout=void 0;e.element.remove()};this.element=a.createElement("div");this.element.classList.add("cdk-overlay-backdrop");this._cleanupClick=b.listen(this.element,"click",d)};
Ioc.prototype.detach=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a.element;clearTimeout(a._fallbackTimeout);var c;(c=a._cleanupTransitionEnd)==null||c.call(a);a._cleanupTransitionEnd=a._renderer.listen(b,"transitionend",a.dispose);a._fallbackTimeout=setTimeout(a.dispose,500);b.style.pointerEvents="none";b.classList.remove("cdk-overlay-backdrop-showing")})};var an=function(a,b,c,d,e,f,h,k,q,u,A,D){u=u===void 0?!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=k;this._outsideClickDispatcher=q;this._animationsDisabled=u;this._injector=A;this._renderer=D;this._backdropClick=new oj;this._attachments=new oj;this._detachments=new oj;this._locationChanges=Yh.EMPTY;this._backdropRef=null;this._keydownEvents=new oj;this._outsidePointerEvents=new oj;d.scrollStrategy&&(this._scrollStrategy=
d.scrollStrategy,this._scrollStrategy.attach(this));this._positionStrategy=d.positionStrategy};g=an.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();var c;(c=this._afterNextRenderRef)==null||c.destroy();this._afterNextRenderRef=Ej(function(){b.hasAttached()&&b.updatePosition()},{injector:this._injector});
this._togglePointerEvents(!0);this._config.hasBackdrop&&this._attachBackdrop();this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0);this._attachments.next();this._completeDetachContent();this._keyboardDispatcher.add(this);this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(function(){return b.dispose()}));this._outsideClickDispatcher.add(this);if(typeof(a==null?void 0:a.onDestroy)==="function")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()){Joc(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._completeDetachContent();this._keyboardDispatcher.remove(this);this._detachContentWhenEmpty();this._locationChanges.unsubscribe();this._outsideClickDispatcher.remove(this);return a}};
g.dispose=function(){var a=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose();this._disposeScrollStrategy();var b;(b=this._backdropRef)==null||b.dispose();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 c;(c=this._host)==null||c.remove();var d;(d=
this._afterNextRenderRef)==null||d.destroy();this._previousHostParent=this._pane=this._host=this._backdropRef=null;a&&this._detachments.next();this._detachments.complete();this._completeDetachContent()};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 Koc=function(a,b){b!==a._positionStrategy&&(a._positionStrategy&&a._positionStrategy.dispose(),a._positionStrategy=b,a.hasAttached()&&(b.attach(a),a.updatePosition()))};an.prototype.updateSize=function(a){this._config=Object.assign({},this._config,a);this._updateElementSize()};
an.prototype.setDirection=function(a){this._config=Object.assign({},this._config,{direction:a});this._updateElementDirection()};an.prototype.addPanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!0)};an.prototype.removePanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!1)};var Loc=function(a){return(a=a._config.direction)?typeof a==="string"?a:a.value:"ltr"};g=an.prototype;g._updateElementDirection=function(){this._host.setAttribute("dir",Loc(this))};
g._updateElementSize=function(){if(this._pane){var a=this._pane.style;a.width=vm(this._config.width);a.height=vm(this._config.height);a.minWidth=vm(this._config.minWidth);a.minHeight=vm(this._config.minHeight);a.maxWidth=vm(this._config.maxWidth);a.maxHeight=vm(this._config.maxHeight)}};g._togglePointerEvents=function(a){this._pane.style.pointerEvents=a?"":"none"};
g._attachBackdrop=function(){var a=this,b;(b=this._backdropRef)==null||b.dispose();this._backdropRef=new Ioc(this._document,this._renderer,this._ngZone,function(c){a._backdropClick.next(c)});this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation");this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0);this._host.parentElement.insertBefore(this._backdropRef.element,this._host);this._animationsDisabled||
typeof requestAnimationFrame==="undefined"?this._backdropRef.element.classList.add("cdk-overlay-backdrop-showing"):this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){var c;return(c=a._backdropRef)==null?void 0:c.element.classList.add("cdk-overlay-backdrop-showing")})})};g._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)};
var Joc=function(a){if(a._animationsDisabled){var b;(b=a._backdropRef)==null||b.dispose();a._backdropRef=null}else{var c;(c=a._backdropRef)==null||c.detach()}};g=an.prototype;g._toggleClasses=function(a,b,c){b=tm(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)))};
g._detachContentWhenEmpty=function(){var a=this,b=!1;try{this._detachContentAfterRenderRef=Ej(function(){b=!0;a._detachContent()},{injector:this._injector})}catch(c){if(b)throw c;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||(this._detachContentMutationObserver=new globalThis.MutationObserver(function(){a._detachContent()})),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))};
g._detachContent=function(){this._pane&&this._host&&this._pane.children.length!==0||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())};
g._completeDetachContent=function(){var a;(a=this._detachContentAfterRenderRef)==null||a.destroy();this._detachContentAfterRenderRef=void 0;var b;(b=this._detachContentMutationObserver)==null||b.disconnect()};g._disposeScrollStrategy=function(){var a=this._scrollStrategy;a==null||a.disable();var b;a==null||(b=a.detach)==null||b.call(a)};
pg.Object.defineProperties(an.prototype,{overlayElement:{configurable:!0,enumerable:!0,get:function(){return this._pane}},hostElement:{configurable:!0,enumerable:!0,get:function(){return this._host}}});var Moc=function(a,b){this.connectionPair=a;this.scrollableViewProperties=b};var qxa=/([A-Za-z%]+)$/,Pm=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 oj;this._resizeSubscription=Yh.EMPTY;this._offsetY=this._offsetX=0;this._appliedPanelClasses=[];this.positionChanges=
this._positionChanges;this.setOrigin(a)};Pm.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()})};
Pm.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)Noc(this);else{this._clearPanelClasses();this._resetOverlayElementStyles();this._resetBoundingBoxStyles();this._viewportRect=this._getNarrowedViewportRect();this._originRect=this._getOriginRect();this._overlayRect=this._pane.getBoundingClientRect();this._containerRect=txa(this._overlayContainer).getBoundingClientRect();for(var a=this._originRect,b=this._overlayRect,
c=this._viewportRect,d=this._containerRect,e=[],f,h=l(this._preferredPositions),k=h.next();!k.done;k=h.next()){k=k.value;var q=this._getOriginPoint(a,d,k),u=this._getOverlayPoint(q,b,k),A=this._getOverlayFit(u,b,c,k);if(A.isCompletelyWithinViewport){this._isPushed=!1;this._applyPosition(k,q);return}if(this._canFitWithFlexibleDimensions(A,u,c))e.push({position:k,origin:q,overlayRect:b,boundingBoxRect:this._calculateBoundingBoxRect(q,k)});else if(!f||f.overlayFit.visibleArea<A.visibleArea)f={overlayFit:A,
overlayPoint:u,originPoint:q,position:k,overlayRect:b}}if(e.length){a=null;b=-1;e=l(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)}};Pm.prototype.detach=function(){this._clearPanelClasses();this._previousPushAmount=this._lastPosition=null;this._resizeSubscription.unsubscribe()};
Pm.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&Tm(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 Noc=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=txa(a._overlayContainer).getBoundingClientRect();var c=a._getOriginPoint(a._originRect,a._containerRect,b);a._applyPosition(b,c)}else a.apply()}},Ooc=function(a,b){a._scrollables=b;return a},sz=function(a,b){a._preferredPositions=b;b.indexOf(a._lastPosition)===-1&&(a._lastPosition=
null);return a},tz=function(a,b){a._viewportMargin=b;return a},uz=function(a,b){a._hasFlexibleDimensions=b===void 0?!0:b;return a},Poc=function(a,b){a._growAfterOpen=b===void 0?!0:b;return a},Qoc=function(a,b){a._canPush=b===void 0?!0:b;return a},Roc=function(a,b){a._positionLocked=b===void 0?!0:b;return a};Pm.prototype.setOrigin=function(a){this._origin=a;return this};var Soc=function(a,b){a._transformOriginSelector=b;return a};g=Pm.prototype;
g._getOriginPoint=function(a,b,c){if(c.originX=="center")var d=a.left+a.width/2;else{d=this._isRtl()?a.right:a.left;var e=this._isRtl()?a.left:a.right;d=c.originX=="start"?d:e}b.left<0&&(d-=b.left);a=c.originY=="center"?a.top+a.height/2:c.originY=="top"?a.top:a.bottom;b.top<0&&(a-=b.top);return{x:d,y:a}};
g._getOverlayPoint=function(a,b,c){var d=c.overlayX=="center"?-b.width/2:c.overlayX==="start"?this._isRtl()?-b.width:0:this._isRtl()?0:-b.width;return{x:a.x+d,y:a.y+(c.overlayY=="center"?-b.height/2:c.overlayY=="top"?0:-b.height)}};
g._getOverlayFit=function(a,b,c,d){b=sxa(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=rxa(this._overlayRef.getConfig().minHeight);var e=rxa(this._overlayRef.getConfig().minWidth);c=a.fitsInViewportHorizontally||e!=null&&e<=c;return(a.fitsInViewportVertically||b!=null&&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=sxa(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),k=Math.max(d.left-c.left-a.x,0);e=b.width<=d.width?k||-e:a.x<this._getViewportMarginStart()?d.left-c.left-a.x:0;c=b.height<=d.height?h||-f:a.y<this._getViewportMarginTop()?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);if(this._positionChanges.observers.length){b=this._getScrollVisibility();var c;if(c=a===this._lastPosition&&this._lastScrollVisibility)c=this._lastScrollVisibility,c=c===b?!0:c.isOriginClipped===b.isOriginClipped&&c.isOriginOutsideView===b.isOriginOutsideView&&c.isOverlayClipped===b.isOverlayClipped&&c.isOverlayOutsideView===
b.isOverlayOutsideView;c||this._positionChanges.next(new Moc(a,b));this._lastScrollVisibility=b}this._lastPosition=a;this._isInitialRender=!1};g._setTransformOrigin=function(a){if(this._transformOriginSelector){var b=this._boundingBox.querySelectorAll(this._transformOriginSelector),c=a.overlayY;a=a.overlayX==="center"?"center":this._isRtl()?a.overlayX==="start"?"right":"left":a.overlayX==="start"?"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(b.overlayY==="top"){var e=a.y;var f=c.height-e+this._getViewportMarginBottom()}else if(b.overlayY==="bottom"){var h=c.height-a.y+this._getViewportMarginTop()+this._getViewportMarginBottom();f=c.height-h+this._getViewportMarginTop()}else{e=Math.min(c.bottom-a.y+c.top,a.y);var k=this._lastBoundingBoxSize.height;f=e*2;e=a.y-e;f>k&&!this._isInitialRender&&!this._growAfterOpen&&(e=a.y-k/2)}k=b.overlayX==="start"&&!d||
b.overlayX==="end"&&d;if(b.overlayX==="end"&&!d||b.overlayX==="start"&&d){var q=c.width-a.x+this._getViewportMarginStart()+this._getViewportMarginEnd();b=a.x-this._getViewportMarginStart()}else if(k){var u=a.x;b=c.right-a.x-this._getViewportMarginEnd()}else u=Math.min(c.right-a.x+c.left,a.x),c=this._lastBoundingBoxSize.width,b=u*2,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=vm(a.height);c.top=vm(a.top);c.bottom=vm(a.bottom);
c.width=vm(a.width);c.left=vm(a.left);c.right=vm(a.right);c.alignItems=b.overlayX==="center"?"center":b.overlayX==="end"?"flex-end":"flex-start";c.justifyContent=b.overlayY==="center"?"center":b.overlayY==="bottom"?"flex-end":"flex-start";d&&(c.maxHeight=vm(d));e&&(c.maxWidth=vm(e))}this._lastBoundingBoxSize=a;Tm(this._boundingBox.style,c)};g._resetBoundingBoxStyles=function(){Tm(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})};
g._resetOverlayElementStyles=function(){Tm(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();Tm(c,this._getExactOverlayY(b,a,h));Tm(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=vm(f.maxHeight):e&&(c.maxHeight=""));f.maxWidth&&
(d?c.maxWidth=vm(f.maxWidth):e&&(c.maxWidth=""));Tm(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));a.overlayY==="bottom"?d.bottom=this._document.documentElement.clientHeight-(b.y+this._overlayRect.height)+"px":d.top=vm(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));(this._isRtl()?a.overlayX==="end"?"left":"right":a.overlayX==="end"?"right":"left")==="right"?d.right=this._document.documentElement.clientWidth-(b.x+this._overlayRect.width)+"px":d.left=vm(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:oxa(a,c),isOriginOutsideView:nxa(a,c),isOverlayClipped:oxa(b,c),isOverlayOutsideView:nxa(b,c)}};g._subtractOverflows=function(a){return rd.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._getViewportMarginTop(),left:c.left+this._getViewportMarginStart(),right:c.left+a-this._getViewportMarginEnd(),bottom:c.top+b-this._getViewportMarginBottom(),width:a-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:b-this._getViewportMarginTop()-this._getViewportMarginBottom()}};
g._isRtl=function(){return Loc(this._overlayRef)==="rtl"};g._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed};g._getOffset=function(a,b){return b==="x"?a.offsetX==null?this._offsetX:a.offsetX:a.offsetY==null?this._offsetY:a.offsetY};g._validatePositions=function(){};g._addPanelClasses=function(a){var b=this;this._pane&&tm(a).forEach(function(c){c!==""&&b._appliedPanelClasses.indexOf(c)===-1&&(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._getViewportMarginStart=function(){if(typeof this._viewportMargin==="number")return this._viewportMargin;var a,b;return(b=(a=this._viewportMargin)==null?void 0:a.start)!=null?b:0};
g._getViewportMarginEnd=function(){if(typeof this._viewportMargin==="number")return this._viewportMargin;var a,b;return(b=(a=this._viewportMargin)==null?void 0:a.end)!=null?b:0};g._getViewportMarginTop=function(){if(typeof this._viewportMargin==="number")return this._viewportMargin;var a,b;return(b=(a=this._viewportMargin)==null?void 0:a.top)!=null?b:0};
g._getViewportMarginBottom=function(){if(typeof this._viewportMargin==="number")return this._viewportMargin;var a,b;return(b=(a=this._viewportMargin)==null?void 0:a.bottom)!=null?b:0};g._getOriginRect=function(){var a=this._origin;if(a instanceof Ph)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}};
pg.Object.defineProperties(Pm.prototype,{positions:{configurable:!0,enumerable:!0,get:function(){return this._preferredPositions}}});var vz=function(){this._cssPosition="static";this._height=this._width=this._xOffset=this._xPosition=this._alignItems=this._bottomOffset=this._topOffset="";this._isDisposed=!1};g=vz.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=a===void 0?"":a;this._alignItems="flex-start";return this};g.left=function(a){this._xOffset=a===void 0?"":a;this._xPosition="left";return this};g.bottom=function(a){this._topOffset="";this._bottomOffset=a===void 0?"":a;this._alignItems="flex-end";return this};g.right=function(a){this._xOffset=a===void 0?"":a;this._xPosition="right";return this};g.start=function(a){this._xOffset=a===void 0?"":a;this._xPosition="start";return this};
g.end=function(a){this._xOffset=a===void 0?"":a;this._xPosition="end";return this};g.width=function(a){a=a===void 0?"":a;this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a;return this};g.height=function(a){a=a===void 0?"":a;this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a;return this};var wz=function(a){a.left("");a._xPosition="center";return a},Toc=function(a){a.top("");a._alignItems="center";return a};
vz.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=(d==="100%"||d==="100vw")&&(!f||f==="100%"||f==="100vw");e=(e==="100%"||e==="100vh")&&(!c||c==="100%"||c==="100vh");f=this._xPosition;c=this._xOffset;var h=this._overlayRef.getConfig().direction==="rtl",k="",q="",u="";if(d)u="flex-start";else if(f==="center")u=
"center",h?q=c:k=c;else if(h)if(f==="left"||f==="end")u="flex-end",k=c;else{if(f==="right"||f==="start")u="flex-start",q=c}else if(f==="left"||f==="start")u="flex-start",k=c;else if(f==="right"||f==="end")u="flex-end",q=c;a.position=this._cssPosition;a.marginLeft=d?"0":k;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}};
vz.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 xz=function(){this._injector=x(yj)};xz.prototype.global=function(){return new vz};var yz=function(a,b){return Sm(a._injector,b)};xz.\u0275fac=function(a){return new (a||xz)};xz.\u0275prov=Dg({token:xz,factory:xz.\u0275fac,providedIn:"root"});var zz=function(){};zz.prototype.attach=function(a){this._attachedHost=a;return a.attach(this)};zz.prototype.detach=function(){var a=this._attachedHost;a!=null&&(this._attachedHost=null,a.detach())};pg.Object.defineProperties(zz.prototype,{isAttached:{configurable:!0,enumerable:!0,get:function(){return this._attachedHost!=null}}});var Az=function(a,b,c,d){this.component=a;this.viewContainerRef=b;this.injector=c;this.projectableNodes=d};Y(Az,zz);
var Bz=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.context=c;this.injector=d};Y(Bz,zz);Bz.prototype.attach=function(a,b){this.context=b=b===void 0?this.context:b;return zz.prototype.attach.call(this,a)};Bz.prototype.detach=function(){this.context=void 0;return zz.prototype.detach.call(this)};pg.Object.defineProperties(Bz.prototype,{origin:{configurable:!0,enumerable:!0,get:function(){return this.templateRef.elementRef}}});var Cz=function(){this._isDisposed=!1};g=Cz.prototype;
g.hasAttached=function(){return!!this._attachedPortal};g.attach=function(a){if(a instanceof Az)return this._attachedPortal=a,this.attachComponentPortal(a);if(a instanceof Bz)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 Ym=function(a,b,c){this._isDisposed=!1;this.outletElement=a;this._appRef=b;this._defaultInjector=c};Y(Ym,Cz);
Ym.prototype.attachComponentPortal=function(a){if(a.viewContainerRef){var b=a.injector||a.viewContainerRef.injector,c=b.get(bx,null,{optional:!0})||void 0;var d=a.viewContainerRef.createComponent(a.component,{index:a.viewContainerRef.length,injector:b,ngModuleRef:c,projectableNodes:a.projectableNodes||void 0});this.setDisposeFn(function(){return d.destroy()})}else{var e=this._appRef;b=a.injector||this._defaultInjector||$jc;c=b.get(Vi,e.injector);d=Wsa(a.component,{elementInjector:b,environmentInjector:c,
projectableNodes:a.projectableNodes||void 0});jlc(e,d.hostView);this.setDisposeFn(function(){e.viewCount>0&&e.detachView(d.hostView);d.destroy()})}this.outletElement.appendChild(this._getComponentRootNode(d));this._attachedPortal=a;return d};
Ym.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);e!==-1&&c.remove(e)});this._attachedPortal=a;return d};Ym.prototype.dispose=function(){Cz.prototype.dispose.call(this);this.outletElement.remove()};Ym.prototype._getComponentRootNode=function(a){return a.hostView.rootNodes[0]};var Dz=function(){var a=x(bk),b=x(ck);Bz.call(this,a,b)};Y(Dz,Bz);Dz.\u0275fac=function(a){return new (a||Dz)};Dz.\u0275dir=$i({type:Dz,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[xj]});var Ez=function(){this._isDisposed=!1;this._moduleRef=x(bx,{optional:!0});this._document=x(Mm);this._viewContainerRef=x(ck);this._isInitialized=!1;this.attached=new Lp};Y(Ez,Cz);g=Ez.prototype;g.ngOnInit=function(){this._isInitialized=!0};
g.ngOnDestroy=function(){Cz.prototype.dispose.call(this);this._attachedRef=this._attachedPortal=null};
g.attachComponentPortal=function(a){a._attachedHost=this;var b=a.viewContainerRef!=null?a.viewContainerRef:this._viewContainerRef,c=b.createComponent(a.component,{index:b.length,injector:a.injector||b.injector,projectableNodes:a.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});b!==this._viewContainerRef&&this._getRootNode().appendChild(c.hostView.rootNodes[0]);Cz.prototype.setDisposeFn.call(this,function(){return c.destroy()});this._attachedPortal=a;this._attachedRef=c;this.attached.emit(c);
return c};g.attachTemplatePortal=function(a){var b=this;a._attachedHost=this;var c=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});Cz.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};
pg.Object.defineProperties(Ez.prototype,{portal:{configurable:!0,enumerable:!0,get:function(){return this._attachedPortal},set:function(a){if(!this.hasAttached()||a||this._isInitialized)this.hasAttached()&&Cz.prototype.detach.call(this),a&&Cz.prototype.attach.call(this,a),this._attachedPortal=a||null}}});Ez.\u0275fac=function(a){return new (a||Ez)};
Ez.\u0275dir=$i({type:Ez,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[xj]});var Fz=function(){};Fz.\u0275fac=function(a){return new (a||Fz)};Fz.\u0275mod=Zi({type:Fz});Fz.\u0275inj=Eg({});var Gz=function(){this.scrollStrategies=x(rz);this._positionBuilder=x(xz);this._injector=x(yj)};Gz.prototype.create=function(a){return fn(this._injector,a)};Gz.prototype.position=function(){return this._positionBuilder};Gz.\u0275fac=function(a){return new (a||Gz)};Gz.\u0275prov=Dg({token:Gz,factory:Gz.\u0275fac,providedIn:"root"});var Uoc=[{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"}],Voc=new kh("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:function(){var a=x(yj);return function(){return Om(a)}}}),Hz=function(){this.elementRef=x(Ph)};Hz.\u0275fac=function(a){return new (a||Hz)};
Hz.\u0275dir=$i({type:Hz,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]});
var Iz=function(){this._dir=x(Xm,{optional:!0});this._injector=x(yj);this._positionSubscription=this._detachSubscription=this._attachSubscription=this._backdropSubscription=Yh.EMPTY;this._scrollStrategyFactory=x(Voc);this._disposeOnNavigation=!1;this._ngZone=x(Kk);this.viewportMargin=0;this.push=this.growAfterOpen=this.flexibleDimensions=this.lockPosition=this.hasBackdrop=this.disableClose=this.open=!1;this.backdropClick=new Lp;this.positionChange=new Lp;this.attach=new Lp;this.detach=new Lp;this.overlayKeydown=
new Lp;this.overlayOutsideClick=new Lp;var a=x(bk),b=x(ck);this._templatePortal=new Bz(a,b);this.scrollStrategy=this._scrollStrategyFactory()};g=Iz.prototype;g.ngOnDestroy=function(){this._attachSubscription.unsubscribe();this._detachSubscription.unsubscribe();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe();var a;(a=this._overlayRef)==null||a.dispose()};
g.ngOnChanges=function(a){if(this._position){this._updatePositionStrategy(this._position);var b;(b=this._overlayRef)==null||b.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight});a.origin&&this.open&&this._position.apply()}a.open&&(this.open?Woc(this):Xoc(this))};
g._createOverlay=function(){var a=this;this.positions&&this.positions.length||(this.positions=Uoc);var b=this._overlayRef=fn(this._injector,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);c.keyCode!==27||a.disableClose||ym(c)||(c.preventDefault(),Xoc(a))});this._overlayRef.outsidePointerEvents().subscribe(function(c){var d=
a._getOriginElement(),e=Bm(c);d&&(d===e||d.contains(e))||a.overlayOutsideClick.next(c)})};
g._buildConfig=function(){var a=this._position=this.positionStrategy||this._createPositionStrategy();a=new Zm({direction:this._dir||"ltr",positionStrategy:a,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});if(this.width||this.width===0)a.width=this.width;if(this.height||this.height===0)a.height=this.height;if(this.minWidth||this.minWidth===0)a.minWidth=this.minWidth;if(this.minHeight||this.minHeight===0)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 Soc(Roc(tz(Poc(Qoc(uz(sz(a.setOrigin(this._getOrigin()),c),this.flexibleDimensions),this.push),this.growAfterOpen),this.viewportMargin),this.lockPosition),this.transformOriginSelector)};
g._createPositionStrategy=function(){var a=Sm(this._injector,this._getOrigin());this._updatePositionStrategy(a);return a};g._getOrigin=function(){return this.origin instanceof Hz?this.origin.elementRef:this.origin};g._getOriginElement=function(){return this.origin instanceof Hz?this.origin.elementRef.nativeElement:this.origin instanceof Ph?this.origin.nativeElement:typeof Element!=="undefined"&&this.origin instanceof Element?this.origin:null};
var Woc=function(a){a._overlayRef?a._overlayRef.getConfig().hasBackdrop=a.hasBackdrop:a._createOverlay();a._overlayRef.hasAttached()||a._overlayRef.attach(a._templatePortal);a.hasBackdrop?a._backdropSubscription=a._overlayRef.backdropClick().subscribe(function(b){a.backdropClick.emit(b)}):a._backdropSubscription.unsubscribe();a._positionSubscription.unsubscribe();a.positionChange.observers.length>0&&(a._positionSubscription=a._position.positionChanges.pipe(dqa(function(){return a.positionChange.observers.length>
0})).subscribe(function(b){a._ngZone.run(function(){return a.positionChange.emit(b)});a.positionChange.observers.length===0&&a._positionSubscription.unsubscribe()}));a.open=!0},Xoc=function(a){var b;(b=a._overlayRef)==null||b.detach();a._backdropSubscription.unsubscribe();a._positionSubscription.unsubscribe();a.open=!1};
pg.Object.defineProperties(Iz.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)}},disposeOnNavigation:{configurable:!0,enumerable:!0,get:function(){return this._disposeOnNavigation},set:function(a){this._disposeOnNavigation=
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"}}});Iz.\u0275fac=function(a){return new (a||Iz)};
Iz.\u0275dir=$i({type:Iz,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight",
"height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],
transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",Tk],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Tk],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Tk],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Tk],push:[2,"cdkConnectedOverlayPush","push",Tk],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",
Tk]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[$w]});var Jz=function(){};Jz.\u0275fac=function(a){return new (a||Jz)};Jz.\u0275mod=Zi({type:Jz});Jz.\u0275inj=Eg({providers:[Gz],imports:[kz,Fz,qz,qz]});var uxa=new kh("MATERIAL_ANIMATIONS"),vxa=null;var Yoc=function(a,b,c,d,e){this._defaultMatcher=a;this.ngControl=b;this._parentFormGroup=c;this._parentForm=d;this._stateChanges=e;this.errorState=!1};Yoc.prototype.updateErrorState=function(){var a=this.errorState,b=this._parentFormGroup||this._parentForm,c=this.ngControl?this.ngControl.control:null,d,e,f=(e=(d=this.matcher||this._defaultMatcher)==null?void 0:d.isErrorState(c,b))!=null?e:!1;f!==a&&(this.errorState=f,this._stateChanges.next())};new kh("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return x(wsa)}});var Kz=function(){this.localeChanges=this._localeChanges=new oj};Kz.prototype.setTime=function(){throw Error("Lb");};Kz.prototype.getHours=function(){throw Error("Lb");};Kz.prototype.getMinutes=function(){throw Error("Lb");};Kz.prototype.getSeconds=function(){throw Error("Lb");};var Lz=function(a,b){return Zoc(b)&&a.isValid(b)?b:null},Mz=function(a,b){return b==null||Zoc(b)&&a.isValid(b)?b:a.invalid()};
Kz.prototype.setLocale=function(a){this.locale=a;this._localeChanges.next()};var Nz=function(a,b,c){return a.getYear(b)-a.getYear(c)||a.getMonth(b)-a.getMonth(c)||a.getDate(b)-a.getDate(c)};Kz.prototype.sameDate=function(a,b){if(a&&b){var c=this.isValid(a),d=this.isValid(b);return c&&d?!Nz(this,a,b):c==d}return a==b};var $oc=function(a,b,c,d){return c&&Nz(a,b,c)<0?c:d&&Nz(a,b,d)>0?d:b};var Oz=new kh("mat-date-formats");var Pz=function(){};Pz.prototype.isErrorState=function(a,b){return!!(a&&a.invalid&&(a.touched||b&&b.submitted))};Pz.\u0275fac=function(a){return new (a||Pz)};Pz.\u0275prov=Dg({token:Pz,factory:Pz.\u0275fac,providedIn:"root"});var Qz=function(){};Qz.\u0275fac=function(a){return new (a||Qz)};
Qz.\u0275cmp=F({type:Qz,selectors:[["structural-styles"]],decls:0,vars:0,template:function(){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}\n'],encapsulation:2,
changeDetection:0});var Rz=function(){};Rz.\u0275fac=function(a){return new (a||Rz)};
Rz.\u0275cmp=F({type:Rz,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(a,b){a&2&&rk("mdc-form-field--align-end",b.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:["mat-internal-form-field",""],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Zj(),ak(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}\n"],encapsulation:2,
changeDetection:0});var apc=new kh("MAT_OPTION_PARENT_COMPONENT");var bpc=new kh("MatOptgroup");var cpc=zm({passive:!0,capture:!0}),epc=function(a,b,c,d){var e=dpc,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,cpc)}))};var fpc=function(a,b,c,d){d=d===void 0?!1:d;this._renderer=a;this.element=b;this.config=c;this._animationForciblyDisabledThroughCss=d;this.state=3};var gpc={enterDuration:225,exitDuration:150},hpc=zm({passive:!0,capture:!0}),ipc=["mousedown","touchstart"],jpc=["mouseup","mouseleave","touchend","touchcancel"],kpc=function(){};kpc.\u0275fac=function(a){return new (a||kpc)};
kpc.\u0275cmp=F({type:kpc,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}\n"],encapsulation:2,
changeDetection:0});
var lpc=function(a,b,c,d,e){this._target=a;this._ngZone=b;this._platform=d;this._isPointerDown=!1;this._activeRipples=new Map;this._pointerUpEventsRegistered=!1;d.isBrowser&&(this._containerElement=wm(c));e&&e.get(Um).load(kpc)},mpc=function(a,b,c,d){d=d===void 0?{}:d;var e=a._containerRect=a._containerRect||a._containerElement.getBoundingClientRect(),f=Object.assign({},gpc,d.animation);d.centered&&(b=e.left+e.width/2,c=e.top+e.height/2);var h=d.radius||xxa(b,c,e);b-=e.left;c-=e.top;var k=f.enterDuration,
q=document.createElement("div");q.classList.add("mat-ripple-element");q.style.left=b-h+"px";q.style.top=c-h+"px";q.style.height=h*2+"px";q.style.width=h*2+"px";d.color!=null&&(q.style.backgroundColor=d.color);q.style.transitionDuration=k+"ms";a._containerElement.appendChild(q);h=window.getComputedStyle(q);c=h.transitionDuration;e=h.transitionProperty==="none"||c==="0s"||c==="0s, 0s"||e.width===0&&e.height===0;var u=new fpc(a,q,d,e);q.style.transform="scale3d(1, 1, 1)";u.state=0;d.persistent||(a._mostRecentTransientRipple=
u);var A=null;e||!k&&!f.exitDuration||a._ngZone.runOutsideAngular(function(){var D=function(){A&&(A.fallbackTimer=null);clearTimeout(O);a._finishRippleTransition(u)},H=function(){return a._destroyRipple(u)},O=setTimeout(H,k+100);q.addEventListener("transitionend",D);q.addEventListener("transitioncancel",H);A={onTransitionEnd:D,onTransitionCancel:H,fallbackTimer:O}});a._activeRipples.set(u,A);!e&&k||a._finishRippleTransition(u);return u},npc=function(a,b){if(b.state!==2&&b.state!==3){var c=b.element,
d=Object.assign({},gpc,b.config.animation);c.style.transitionDuration=d.exitDuration+"ms";c.style.opacity="0";b.state=2;!b._animationForciblyDisabledThroughCss&&d.exitDuration||a._finishRippleTransition(b)}};lpc.prototype.fadeOutAllNonPersistent=function(){this._getActiveRipples().forEach(function(a){a.config.persistent||npc(a._renderer,a)})};
var opc=function(a,b){var c=wm(b);a._platform.isBrowser&&c&&c!==a._triggerElement&&(a._removeTriggerEvents(),a._triggerElement=c,ipc.forEach(function(d){epc(a._ngZone,d,c,a)}))};g=lpc.prototype;
g.handleEvent=function(a){var b=this;a.type==="mousedown"?this._onMousedown(a):a.type==="touchstart"?this._onTouchStart(a):this._onPointerUp();this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(function(){jpc.forEach(function(c){b._triggerElement.addEventListener(c,b,hpc)})}),this._pointerUpEventsRegistered=!0)};g._finishRippleTransition=function(a){a.state===0?this._startFadeOutTransition(a):a.state===2&&this._destroyRipple(a)};
g._startFadeOutTransition=function(a){var b=a===this._mostRecentTransientRipple,c=a.config.persistent;a.state=1;c||b&&this._isPointerDown||npc(a._renderer,a)};
g._destroyRipple=function(a){var b,c=(b=this._activeRipples.get(a))!=null?b:null;this._activeRipples.delete(a);this._activeRipples.size||(this._containerRect=null);a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null);a.state=3;c!==null&&(a.element.removeEventListener("transitionend",c.onTransitionEnd),a.element.removeEventListener("transitioncancel",c.onTransitionCancel),c.fallbackTimer!==null&&clearTimeout(c.fallbackTimer));a.element.remove()};
g._onMousedown=function(a){var b=$va(a),c=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||b||c||(this._isPointerDown=!0,mpc(this,a.clientX,a.clientY,this._target.rippleConfig))};g._onTouchStart=function(a){if(!this._target.rippleDisabled&&!awa(a)&&(this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0,a=a.changedTouches))for(var b=0;b<a.length;b++)mpc(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=a.state===1||a.config.terminateOnPointerUp&&a.state===0;!a.config.persistent&&b&&npc(a._renderer,a)}))};g._getActiveRipples=function(){return Array.from(this._activeRipples.keys())};
g._removeTriggerEvents=function(){var a=this,b=this._triggerElement;b&&(ipc.forEach(function(c){var d=dpc,e=d._events.get(c);if(e){var f=e.get(b);f&&(f.delete(a),f.size===0&&e.delete(b),e.size===0&&(d._events.delete(c),document.removeEventListener(c,d._delegateEventHandler,cpc)))}}),this._pointerUpEventsRegistered&&(jpc.forEach(function(c){return b.removeEventListener(c,a,hpc)}),this._pointerUpEventsRegistered=!1))};
var dpc=new function(){var a=this;this._events=new Map;this._delegateEventHandler=function(b){var c=Bm(b);if(c){var d;(d=a._events.get(b.type))==null||d.forEach(function(e,f){(f===c||f.contains(c))&&e.forEach(function(h){return h.handleEvent(b)})})}}};var Sz=new kh("mat-ripple-global-options"),Tz=function(){this._elementRef=x(Ph);this._animationsDisabled=hn();this.radius=0;this._isInitialized=this._disabled=!1;var a=x(Kk),b=x(Qm),c=x(Sz,{optional:!0}),d=x(yj);this._globalOptions=c||{};this._rippleRenderer=new lpc(this,a,this._elementRef,b,d)};Tz.prototype.ngOnInit=function(){this._isInitialized=!0;this._setupTriggerEventsIfEnabled()};Tz.prototype.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()};
Tz.prototype.fadeOutAllNonPersistent=function(){this._rippleRenderer.fadeOutAllNonPersistent()};Tz.prototype._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&opc(this._rippleRenderer,this.trigger)};
pg.Object.defineProperties(Tz.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,this._animationsDisabled?{enterDuration:0,exitDuration:0}:{},this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||!!this._globalOptions.disabled}}});Tz.\u0275fac=function(a){return new (a||Tz)};
Tz.\u0275dir=$i({type:Tz,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(a,b){a&2&&rk("mat-ripple-unbounded",b.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]});var Uz=function(){this._animationsDisabled=hn();this.state="unchecked";this.disabled=!1;this.appearance="full"};Uz.\u0275fac=function(a){return new (a||Uz)};
Uz.\u0275cmp=F({type:Uz,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&rk("mat-pseudo-checkbox-indeterminate",b.state==="indeterminate")("mat-pseudo-checkbox-checked",b.state==="checked")("mat-pseudo-checkbox-disabled",b.disabled)("mat-pseudo-checkbox-minimal",b.appearance==="minimal")("mat-pseudo-checkbox-full",b.appearance==="full")("_mat-animation-noopable",b._animationsDisabled)},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-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.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 ppc=["text"],qpc=[[["mat-icon"]],"*"],rpc=function(a,b){this.source=a;this.isUserInput=b===void 0?!1:b},Vz=function(){this._element=x(Ph);this._changeDetectorRef=x(sx);this._parent=x(apc,{optional:!0});this.group=x(bpc,{optional:!0});this._active=this._selected=this._signalDisableRipple=!1;this._mostRecentViewValue="";this.id=x(Wm).getId("mat-option-");this._disabled=kk.apply(null,[!1].concat(p([])));this.onSelectionChange=new Lp;this._stateChanges=new oj;var a=x(Um);a.load(Qz);a.load(Iy);this._signalDisableRipple=
!!this._parent&&bj(this._parent.disableRipple)};g=Vz.prototype;g.select=function(a){a=a===void 0?!0:a;this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),a&&this._emitSelectionChangeEvent())};g.deselect=function(a){a=a===void 0?!0:a;this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),a&&this._emitSelectionChangeEvent())};g.focus=function(a,b){var c=this._getHostElement();typeof c.focus==="function"&&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){a.keyCode!==13&&a.keyCode!==32||ym(a)||(this._selectViaInteraction(),a.preventDefault())};
g._selectViaInteraction=function(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))};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 rpc(this,a===void 0?!1:a))};
pg.Object.defineProperties(Vz.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.set(a)}},disableRipple:{configurable:!0,enumerable:!0,get:function(){var a;return this._signalDisableRipple?this._parent.disableRipple():
!((a=this._parent)==null||!a.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(((a=this._text)==null?void 0:a.nativeElement.textContent)||"").trim()}}});Vz.\u0275fac=function(a){return new (a||Vz)};
Vz.\u0275cmp=F({type:Vz,selectors:[["mat-option"]],viewQuery:function(a,b){a&1&&ek(ppc,7);if(a&2){var c;ik(c=jk())&&(b._text=c.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(a,b){a&1&&Q("click",function(){return b._selectViaInteraction()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Oj("id",b.id),Hj("aria-selected",b.selected)("aria-disabled",b.disabled.toString()),rk("mdc-list-item--selected",b.selected)("mat-mdc-option-multiple",
b.multiple)("mat-mdc-option-active",b.active)("mdc-list-item--disabled",b.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",Tk]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:["mat-icon","*"],decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",
3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(a,b){a&1&&(Zj(qpc),I(0,yxa,1,2,"mat-pseudo-checkbox",1),ak(1),L(2,"span",2,0),ak(4,1),M(),I(5,zxa,1,1,"mat-pseudo-checkbox",3),I(6,Axa,2,1,"span",4),N(7,"div",5));a&2&&(J(b.multiple?0:-1),E(5),J(b.multiple||!b.selected||b.hideSingleSelectionIndicator?-1:5),E(),J(b.group&&b.group._inert?6:-1),E(),K("matRippleTrigger",
b._getHostElement())("matRippleDisabled",b.disabled||b.disableRipple))},dependencies:[Uz,Tz],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active,.mat-mdc-option-multiple,:focus,:hover){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active,.mat-mdc-option-multiple,:focus,:hover) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var Wz=function(){};Wz.\u0275fac=function(a){return new (a||Wz)};Wz.\u0275mod=Zi({type:Wz});Wz.\u0275inj=Eg({imports:[kz]});var Xz=function(){};Xz.\u0275fac=function(a){return new (a||Xz)};Xz.\u0275mod=Zi({type:Xz});Xz.\u0275inj=Eg({imports:[kz]});var Yz=function(){};Yz.\u0275fac=function(a){return new (a||Yz)};Yz.\u0275mod=Zi({type:Yz});Yz.\u0275inj=Eg({imports:[Wz,Xz,Vz,kz]});var spc={capture:!0},tpc=["focus","mousedown","mouseenter","touchstart"],Zz=function(){var a=this;this._document=x(Mm);this._animationsDisabled=hn();this._globalRippleOptions=x(Sz,{optional:!0});this._platform=x(Qm);this._ngZone=x(Kk);this._injector=x(yj);this._hosts=new Map;this._onInteraction=function(c){c=Bm(c);if(c instanceof HTMLElement){var d,e;(c=c.closest('[mat-ripple-loader-uninitialized="'+((e=(d=a._globalRippleOptions)==null?void 0:d.namespace)!=null?e:"")+'"]'))&&a._createRipple(c)}};
var b=x(Wi).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(function(){return tpc.map(function(c){return b.listen(a._document,c,a._onInteraction,spc)})})};Zz.prototype.ngOnDestroy=function(){var a=this._hosts.keys();a=l(a);for(var b=a.next();!b.done;b=a.next())upc(this,b.value);this._eventCleanups.forEach(function(c){return c()})};
var vpc=function(a,b,c){var d,e;b.setAttribute("mat-ripple-loader-uninitialized",(e=(d=a._globalRippleOptions)==null?void 0:d.namespace)!=null?e:"");!c.className&&b.hasAttribute("mat-ripple-loader-class-name")||b.setAttribute("mat-ripple-loader-class-name",c.className||"");c.centered&&b.setAttribute("mat-ripple-loader-centered","");c.disabled&&b.setAttribute("mat-ripple-loader-disabled","")};
Zz.prototype.setDisabled=function(a,b){var c=this._hosts.get(a);c?(c.target.rippleDisabled=b,b||c.hasSetUpEvents||(c.hasSetUpEvents=!0,opc(c.renderer,a))):b?a.setAttribute("mat-ripple-loader-disabled",""):a.removeAttribute("mat-ripple-loader-disabled")};
Zz.prototype._createRipple=function(a){if(this._document&&!this._hosts.has(a)){var b;(b=a.querySelector(".mat-ripple"))==null||b.remove();b=this._document.createElement("span");b.classList.add("mat-ripple",a.getAttribute("mat-ripple-loader-class-name"));a.append(b);var c=this._globalRippleOptions,d,e,f=this._animationsDisabled?0:(e=c==null?void 0:(d=c.animation)==null?void 0:d.enterDuration)!=null?e:gpc.enterDuration,h,k;d=this._animationsDisabled?0:(k=c==null?void 0:(h=c.animation)==null?void 0:
h.exitDuration)!=null?k:gpc.exitDuration;h={rippleDisabled:this._animationsDisabled||(c==null?void 0:c.disabled)||a.hasAttribute("mat-ripple-loader-disabled"),rippleConfig:{centered:a.hasAttribute("mat-ripple-loader-centered"),terminateOnPointerUp:c==null?void 0:c.terminateOnPointerUp,animation:{enterDuration:f,exitDuration:d}}};b=new lpc(h,this._ngZone,b,this._platform,this._injector);(k=!h.rippleDisabled)&&opc(b,a);this._hosts.set(a,{target:h,renderer:b,hasSetUpEvents:k});a.removeAttribute("mat-ripple-loader-uninitialized")}};
var upc=function(a,b){var c=a._hosts.get(b);c&&(c.renderer._removeTriggerEvents(),a._hosts.delete(b))};Zz.\u0275fac=function(a){return new (a||Zz)};Zz.\u0275prov=Dg({token:Zz,factory:Zz.\u0275fac,providedIn:"root"});var wpc=new kh("MAT_BUTTON_CONFIG"),$z=function(){this._elementRef=x(Ph);this._ngZone=x(Kk);this._animationsDisabled=hn();this._config=x(wpc,{optional:!0});this._focusMonitor=x(Ey);this._renderer=x($m);this._rippleLoader=x(Zz);this._disabled=this._disableRipple=this._isFab=!1;x(Um).load(Qz);var a=this._elementRef.nativeElement;this._isAnchor=a.tagName==="A";var b,c;this.disabledInteractive=(c=(b=this._config)==null?void 0:b.disabledInteractive)!=null?c:!1;var d,e;this.color=(e=(d=this._config)==null?
void 0:d.color)!=null?e:null;var f;(f=this._rippleLoader)==null||vpc(f,a,{className:"mat-mdc-button-ripple"})};g=$z.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0);this._isAnchor&&this._setupAsAnchor()};g.ngOnDestroy=function(){var a;(a=this._cleanupClick)==null||a.call(this);this._focusMonitor.stopMonitoring(this._elementRef);var b;(b=this._rippleLoader)==null||upc(b,this._elementRef.nativeElement)};
g.focus=function(a,b){(a=a===void 0?"program":a)?Fy(this._focusMonitor,this._elementRef.nativeElement,a,b):this._elementRef.nativeElement.focus(b)};g._getAriaDisabled=function(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null};g._getDisabledAttribute=function(){return this.disabledInteractive||!this.disabled?null:!0};
g._updateRippleDisabled=function(){var a;(a=this._rippleLoader)==null||a.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)};g._getTabIndex=function(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex};g._setupAsAnchor=function(){var a=this;this._cleanupClick=this._ngZone.runOutsideAngular(function(){return a._renderer.listen(a._elementRef.nativeElement,"click",function(b){a.disabled&&(b.preventDefault(),b.stopImmediatePropagation())})})};
pg.Object.defineProperties($z.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=a;this._updateRippleDisabled()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;this._updateRippleDisabled()}},_tabindex:{configurable:!0,enumerable:!0,set:function(a){this.tabIndex=a}}});$z.\u0275fac=function(a){return new (a||$z)};
$z.\u0275dir=$i({type:$z,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(a,b){a&2&&(Hj("disabled",b._getDisabledAttribute())("aria-disabled",b._getAriaDisabled())("tabindex",b._getTabIndex()),sk(b.color?"mat-"+b.color:""),rk("mat-mdc-button-disabled",b.disabled)("mat-mdc-button-disabled-interactive",b.disabledInteractive)("mat-unthemed",!b.color)("_mat-animation-noopable",b._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Tk],disabled:[2,
"disabled","disabled",Tk],ariaDisabled:[2,"aria-disabled","ariaDisabled",Tk],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Tk],tabIndex:[2,"tabIndex","tabIndex",Dxa],_tabindex:[2,"tabindex","_tabindex",Dxa]}});var xpc=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ypc=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],
["tonal",["mat-tonal-button"]]]),aA=function(){$z.call(this);this._appearance=null;var a=this._elementRef.nativeElement;(a=a.hasAttribute("mat-raised-button")?"elevated":a.hasAttribute("mat-stroked-button")?"outlined":a.hasAttribute("mat-flat-button")?"filled":a.hasAttribute("mat-button")?"text":null)&&zpc(this,a)};Y(aA,$z);aA.\u0275dir=$z.\u0275dir;
var zpc=function(a,b){if(b!==a._appearance){var c=a._elementRef.nativeElement.classList,d=a._appearance?ypc.get(a._appearance):null,e=ypc.get(b);d&&c.remove.apply(c,p(d));c.add.apply(c,p(e));a._appearance=b}};pg.Object.defineProperties(aA.prototype,{appearance:{configurable:!0,enumerable:!0,get:function(){return this._appearance},set:function(a){var b;zpc(this,a||((b=this._config)==null?void 0:b.defaultAppearance)||"text")}}});aA.\u0275fac=function(a){return new (a||aA)};
aA.\u0275cmp=F({type:aA,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[xj],attrs:["matButton",""],ngContentSelectors:[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])",
"*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,b){a&1&&(Zj(xpc),Rj(0,"span",0),ak(1),Pj(2,"span",1),ak(3,1),Qj(),ak(4,2),Rj(5,"span",2)(6,"span",3));a&2&&rk("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}@media(hover: none){.mat-mdc-button-base:hover>span.mat-mdc-button-persistent-ripple::before{opacity:0}}.mdc-button{-webkit-user-select:none;user-select:none;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;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.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__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-text-touch-target-size, 48px);display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-filled-touch-target-size, 48px);display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-protected-touch-target-size, 48px);display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}@media(hover: hover){.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-outlined-touch-target-size, 48px);display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-tonal-touch-target-size, 48px);display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-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,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-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-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.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,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before,.mat-tonal-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.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,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}\n',
"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}\n"],encapsulation:2,changeDetection:0});var Bpc=new kh("mat-mdc-fab-default-options",{providedIn:"root",factory:function(){return Apc}}),Apc={color:"accent"};var bA=function(){$z.call(this);vpc(this._rippleLoader,this._elementRef.nativeElement,{centered:!0})};Y(bA,$z);bA.\u0275dir=$z.\u0275dir;bA.\u0275fac=function(a){return new (a||bA)};
bA.\u0275cmp=F({type:bA,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[xj],attrs:["mat-icon-button",""],ngContentSelectors:["*"],decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a){a&1&&(Zj(),Rj(0,"span",0),
ak(1),Rj(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.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-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-icon-button-touch-target-size, 48px);display:var(--mat-icon-button-touch-target-display, block);left:50%;width:var(--mat-icon-button-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.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',
"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}\n"],encapsulation:2,changeDetection:0});var cA=function(){};cA.\u0275fac=function(a){return new (a||cA)};cA.\u0275mod=Zi({type:cA});cA.\u0275inj=Eg({imports:[Wz,kz]});var dA=function(a,b){this.elementRef=a;this.options=b;if(b.disableGmatStyle)throw Error("Mb");};dA.prototype.ngOnInit=function(){var a=this.elementRef.nativeElement;a.querySelector(".mat-icon, .material-icons")&&a.classList.add("gmat-mdc-button-with-prefix")};dA.\u0275fac=function(a){return new (a||dA)(Ui(Ph),Ui(Bnc))};
dA.\u0275dir=$i({type:dA,selectors:[["button","matButton",""],["a","matButton",""],["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","matIconButton",""],["button","mat-icon-button",""],["a","mat-icon-button",""],[""]],hostAttrs:[1,"gmat-mdc-button"],standalone:!1});var eA=function(){};Y(eA,Pnc);var Cpc=function(a,b,c,d){a.addEventListener(b,c,d);return function(){a.removeEventListener(b,c,d)}};eA.prototype.dispatchEvent=function(a,b){a.dispatchEvent(b)};eA.prototype.remove=function(a){a.remove()};eA.prototype.createElement=function(a,b){b=b||document;return b.createElement(a)};var Rnc=function(a,b){return b==="window"?window:b==="document"?a:b==="body"?a.body:null};
eA.prototype.getBaseHref=function(){var a=(Dpc=Dpc||document.head.querySelector("base"))?Dpc.getAttribute("href"):null;return a==null?null:(new URL(a,document.baseURI)).pathname};var Dpc=null;var Epc=function(){},elc=function(a){Ki.getAngularTestability=function(b,c){b=a.findTestabilityInTree(b,c===void 0?!0:c);if(b==null)throw new Ug(5103,!1);return b};Ki.getAllAngularTestabilities=function(){return Array.from(a._applications.values())};Ki.getAllAngularRootElements=function(){return Array.from(a._applications.keys())};Ki.frameworkStabilizers||(Ki.frameworkStabilizers=[]);Ki.frameworkStabilizers.push(function(b){var c=Ki.getAllAngularTestabilities(),d=c.length,e=function(){d--;d==0&&b()};
c.forEach(function(f){f.whenStable(e)})})};Epc.prototype.findTestabilityInTree=function(a,b,c){if(b==null)return null;var d=a._applications.get(b)||null;if(d!=null)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 fA=function(){};fA.prototype.build=function(){return new XMLHttpRequest};fA.\u0275fac=function(a){return new (a||fA)};fA.\u0275prov=Dg({token:fA,factory:fA.\u0275fac});var Fpc=new kh(""),gA=function(a,b){var c=this;this._zone=b;this._eventNameToPlugin=new Map;a.forEach(function(d){d.manager=c});this._plugins=a.slice().reverse()};gA.prototype.addEventListener=function(a,b,c,d){return this._findPluginFor(b).addEventListener(a,b,c,d)};gA.prototype._findPluginFor=function(a){var b=this._eventNameToPlugin.get(a);if(b)return b;b=this._plugins.find(function(c){return c.supports(a)});if(!b)throw new Ug(5101,!1);this._eventNameToPlugin.set(a,b);return b};
gA.\u0275fac=function(a){return new (a||gA)(bh(Fpc),bh(Kk))};gA.\u0275prov=Dg({token:gA,factory:gA.\u0275fac});var Gpc=function(a){this._doc=a};var hA=function(a,b,c){this.doc=a;this.appId=b;this.nonce=c;this.inline=new Map;this.external=new Map;this.hosts=new Set;c=this.inline;var d=this.external,e,f=(e=a.head)==null?void 0:e.querySelectorAll('style[ng-app-id="'+b+'"],link[ng-app-id="'+b+'"]');if(f)for(b=l(f),e=b.next();!e.done;e=b.next())e=e.value,e.removeAttribute("ng-app-id"),e instanceof HTMLLinkElement?d.set(e.href.slice(e.href.lastIndexOf("/")+1),{usage:0,elements:[e]}):e.textContent&&c.set(e.textContent,{usage:0,elements:[e]});this.hosts.add(a.head)},
Ipc=function(a,b,c){b=l(b);for(var d=b.next();!d.done;d=b.next())Hpc(a,d.value,a.inline,Fxa);c==null||c.forEach(function(e){return Hpc(a,e,a.external,Gxa)})},Kpc=function(a,b,c){b=l(b);for(var d=b.next();!d.done;d=b.next())Jpc(d.value,a.inline);c==null||c.forEach(function(e){return Jpc(e,a.external)})},Hpc=function(a,b,c,d){var e=c.get(b);e?e.usage++:c.set(b,{usage:1,elements:[].concat(p(a.hosts)).map(function(f){return a.addElement(f,d(b,a.doc))})})},Jpc=function(a,b){var c=b.get(a);c&&(c.usage--,
c.usage<=0&&(Exa(c.elements),b.delete(a)))};hA.prototype.ngOnDestroy=function(){for(var a=l([].concat(p(this.inline),p(this.external))),b=a.next();!b.done;b=a.next())b=l(b.value),b.next(),b=b.next().value.elements,Exa(b);this.hosts.clear()};hA.prototype.addElement=function(a,b){this.nonce&&b.setAttribute("nonce",this.nonce);return a.appendChild(b)};hA.\u0275fac=function(a){return new (a||hA)(bh(Mm),bh(bkc),bh(dkc,8),bh(ckc))};hA.\u0275prov=Dg({token:hA,factory:hA.\u0275fac});var Lpc={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/Math/MathML"},Hxa=/%COMP%/g,Mpc=new kh("",{providedIn:"root",factory:function(){return!0}}),jA=function(a,b,c,d,e,f,h,k,q){this.eventManager=a;this.sharedStylesHost=b;this.appId=c;this.removeStylesOnCompDestroy=d;this.doc=e;this.ngZone=h;this.nonce=k===void 0?null:k;this.tracingService=
q===void 0?null:q;this.rendererByCompId=new Map;this.platformIsServer=!1;this.defaultRenderer=new iA(a,e,h,this.platformIsServer,this.tracingService)};
jA.prototype.createRenderer=function(a,b){if(!a||!b)return this.defaultRenderer;a:{var c=this.rendererByCompId,d=c.get(b.id);if(!d){d=this.doc;var e=this.ngZone,f=this.eventManager,h=this.sharedStylesHost,k=this.removeStylesOnCompDestroy,q=this.platformIsServer,u=this.tracingService;switch(b.encapsulation){case 0:d=new Npc(f,h,b,this.appId,k,d,e,q,u);break;case 3:b=new Opc(f,a,b,d,e,this.nonce,q,u,h);break a;case 4:b=new Opc(f,a,b,d,e,this.nonce,q,u);break a;default:d=new kA(f,h,b,k,d,e,q,u)}c.set(b.id,
d)}b=d}b instanceof Npc?(Ipc(b.sharedStylesHost,b.styles,b.styleUrls),b.setAttribute(a,b.hostAttr,"")):b instanceof kA&&Ipc(b.sharedStylesHost,b.styles,b.styleUrls);return b};jA.prototype.ngOnDestroy=function(){this.rendererByCompId.clear()};jA.\u0275fac=function(a){return new (a||jA)(bh(gA),bh(hA),bh(bkc),bh(Mpc),bh(Mm),bh(ckc),bh(Kk),bh(dkc),bh(Bj,8))};jA.\u0275prov=Dg({token:jA,factory:jA.\u0275fac});
var iA=function(a,b,c,d,e){this.eventManager=a;this.doc=b;this.ngZone=c;this.platformIsServer=d;this.tracingService=e;this.data=Object.create(null);this.destroyNode=null};g=iA.prototype;g.destroy=function(){};g.createElement=function(a,b){return b?this.doc.createElementNS(Lpc[b]||b,a):this.doc.createElement(a)};g.createComment=function(a){return this.doc.createComment(a)};g.createText=function(a){return this.doc.createTextNode(a)};
g.appendChild=function(a,b){(a.tagName==="TEMPLATE"&&a.content!==void 0?a.content:a).appendChild(b)};g.insertBefore=function(a,b,c){a&&(a.tagName==="TEMPLATE"&&a.content!==void 0?a.content:a).insertBefore(b,c)};g.removeChild=function(a,b){b.remove()};g.selectRootElement=function(a,b){a=typeof a==="string"?this.doc.querySelector(a):a;if(!a)throw new Ug(-5104,!1);b||(a.textContent="");return a};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=Lpc[d])?a.setAttributeNS(d,b,c):a.setAttribute(b,c)):a.setAttribute(b,c)};g.removeAttribute=function(a,b,c){if(c){var d=Lpc[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!=null&&(a[b]=c)};g.setValue=function(a,b){a.nodeValue=b};g.listen=function(a,b,c,d){if(typeof a==="string"&&(a=Rnc(this.doc,a),!a))throw new Ug(5102,!1);c=Ppc(c);var e;if((e=this.tracingService)==null?0:e.wrapEventListener)c=this.tracingService.wrapEventListener(a,b,c);return this.eventManager.addEventListener(a,b,c,d)};
var Ppc=function(a){return function(b){if(b==="__ngUnwrap__")return a;a(b)===!1&&b.preventDefault()}},Opc=function(a,b,c,d,e,f,h,k,q){iA.call(this,a,d,e,h,k);this.hostEl=b;this.sharedStylesHost=q;this.shadowRoot=b.attachShadow({mode:"open"});if(this.sharedStylesHost){a=this.sharedStylesHost;b=this.shadowRoot;a.hosts.add(b);e=l(a.inline);for(h=e.next();!h.done;h=e.next())h=l(h.value),k=h.next().value,h.next().value.elements.push(a.addElement(b,Fxa(k,a.doc)));e=l(a.external);for(h=e.next();!h.done;h=
e.next())h=l(h.value),k=h.next().value,h.next().value.elements.push(a.addElement(b,Gxa(k,a.doc)))}a=c.styles;a=Ixa(c.id,a);a=l(a);for(b=a.next();!b.done;b=a.next())b=b.value,e=document.createElement("style"),f&&e.setAttribute("nonce",f),e.textContent=b,this.shadowRoot.appendChild(e);var u;if(a=(u=c.getExternalStyles)==null?void 0:u.call(c))for(c=l(a),u=c.next();!u.done;u=c.next())u=Gxa(u.value,d),f&&u.setAttribute("nonce",f),this.shadowRoot.appendChild(u)};Y(Opc,iA);
var Qpc=function(a,b){return b===a.hostEl?a.shadowRoot:b};g=Opc.prototype;g.appendChild=function(a,b){return iA.prototype.appendChild.call(this,Qpc(this,a),b)};g.insertBefore=function(a,b,c){return iA.prototype.insertBefore.call(this,Qpc(this,a),b,c)};g.removeChild=function(a,b){return iA.prototype.removeChild.call(this,null,b)};g.parentNode=function(a){return Qpc(this,iA.prototype.parentNode.call(this,Qpc(this,a)))};g.destroy=function(){this.sharedStylesHost&&this.sharedStylesHost.hosts.delete(this.shadowRoot)};
var kA=function(a,b,c,d,e,f,h,k,q){iA.call(this,a,e,f,h,k);this.sharedStylesHost=b;this.removeStylesOnCompDestroy=d;a=c.styles;this.styles=q?Ixa(q,a):a;var u;this.styleUrls=(u=c.getExternalStyles)==null?void 0:u.call(c,q)};Y(kA,iA);kA.prototype.destroy=function(){this.removeStylesOnCompDestroy&&yna.size===0&&Kpc(this.sharedStylesHost,this.styles,this.styleUrls)};
var Npc=function(a,b,c,d,e,f,h,k,q){d=d+"-"+c.id;kA.call(this,a,b,c,e,f,h,k,q,d);this.contentAttr="_ngcontent-%COMP%".replace(Hxa,d);this.hostAttr="_nghost-%COMP%".replace(Hxa,d)};Y(Npc,kA);Npc.prototype.createElement=function(a,b){a=kA.prototype.createElement.call(this,a,b);kA.prototype.setAttribute.call(this,a,this.contentAttr,"");return a};var mA=function(a){this._doc=a};Y(mA,Gpc);mA.prototype.supports=function(){return!0};mA.prototype.addEventListener=function(a,b,c,d){var e=this;a.addEventListener(b,c,d);return function(){return e.removeEventListener(a,b,c,d)}};mA.prototype.removeEventListener=function(a,b,c,d){return a.removeEventListener(b,c,d)};mA.\u0275fac=function(a){return new (a||mA)(bh(Mm))};mA.\u0275prov=Dg({token:mA,factory:mA.\u0275fac});var Rpc=["alt","control","meta","shift"],Spc={"\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"},Tpc={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},nA=function(a){this._doc=a};Y(nA,Gpc);nA.prototype.supports=function(a){return Upc(a)!=null};
nA.prototype.addEventListener=function(a,b,c,d){var e=Upc(b),f=Vpc(e.fullKey,c,this.manager._zone);return this.manager._zone.runOutsideAngular(function(){return Cpc(a,e.domEventName,f,d)})};
var Upc=function(a){var b=a.toLowerCase().split(".");a=b.shift();if(b.length===0||a!=="keydown"&&a!=="keyup")return null;var c=Wpc(b.pop()),d="",e=b.indexOf("code");e>-1&&(b.splice(e,1),d="code.");Rpc.forEach(function(f){var h=b.indexOf(f);h>-1&&(b.splice(h,1),d+=f+".")});d+=c;if(b.length!=0||c.length===0)return null;a={domEventName:a};a.fullKey=d;return a},Xpc=function(a,b){var c=Spc[a.key]||a.key,d="";b.indexOf("code.")>-1&&(c=a.code,d="code.");if(c==null||!c)return!1;c=c.toLowerCase();c===" "?
c="space":c==="."&&(c="dot");Rpc.forEach(function(e){e!==c&&(0,Tpc[e])(a)&&(d+=e+".")});d+=c;return d===b},Vpc=function(a,b,c){return function(d){Xpc(d,a)&&c.runGuarded(function(){return b(d)})}},Wpc=function(a){return a==="esc"?"escape":a};nA.\u0275fac=function(a){return new (a||nA)(bh(Mm))};nA.\u0275prov=Dg({token:nA,factory:nA.\u0275fac});var Dlc=Fsa(Nlc,"browser",[{provide:ckc,useValue:"browser"},{provide:Hsa,useValue:function(){var a=new eA;Onc!=null||(Onc=a)},multi:!0},{provide:Mm,useFactory:function(){return Lla=document}}]);new kh("");
var Ypc=[{provide:clc,useClass:Epc},{provide:blc,useClass:ox},{provide:ox,useClass:ox}],Zpc=[{provide:Gsa,useValue:"root"},{provide:kx,useFactory:function(){return new kx}},{provide:Fpc,useClass:mA,multi:!0},{provide:Fpc,useClass:nA,multi:!0},jA,hA,gA,{provide:Wi,useExisting:jA},{provide:Ync,useClass:fA},[]],oA=function(){};oA.\u0275fac=function(a){return new (a||oA)};oA.\u0275mod=Zi({type:oA});oA.\u0275inj=Eg({providers:[].concat(p(Zpc),p(Ypc)),imports:[xy,rx]});var pA=function(a){this._doc=a};pA.prototype.getTitle=function(){return this._doc.title};pA.prototype.setTitle=function(a){this._doc.title=a||""};pA.\u0275fac=function(a){return new (a||pA)(bh(Mm))};pA.\u0275prov=Dg({token:pA,factory:pA.\u0275fac,providedIn:"root"});new kh("");new kh("");var kn=function(a){var b=this;this.normalizedNames=new Map;this.lazyUpdate=null;a?typeof a==="string"?this.lazyInit=function(){b.headers=new Map;a.split("\n").forEach(function(c){var d=c.indexOf(":");d>0&&$pc(b,c.slice(0,d),c.slice(d+1).trim())})}:typeof Headers!=="undefined"&&a instanceof Headers?(this.headers=new Map,a.forEach(function(c,d){$pc(b,d,c)})):this.lazyInit=function(){b.headers=new Map;Object.entries(a).forEach(function(c){var d=l(c);c=d.next().value;d=d.next().value;aqc(b,c,d)})}:this.headers=
new Map};g=kn.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()))&&a.length>0?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 bqc=function(a,b,c){a.normalizedNames.has(c)||a.normalizedNames.set(c,b)};kn.prototype.init=function(){var a=this;this.lazyInit&&(this.lazyInit instanceof kn?cqc(this,this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(b){return dqc(a,b)}),this.lazyUpdate=null))};
var cqc=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))})};kn.prototype.clone=function(a){var b=new kn;b.lazyInit=this.lazyInit&&this.lazyInit instanceof kn?this.lazyInit:this;b.lazyUpdate=(this.lazyUpdate||[]).concat([a]);return b};
var dqc=function(a,b){var c=b.name.toLowerCase();switch(b.op){case "a":case "s":var d=b.value;typeof d==="string"&&(d=[d]);if(d.length===0)break;bqc(a,b.name,c);b=(b.op==="a"?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 e.indexOf(f)===-1}),d.length===0?(a.headers.delete(c),a.normalizedNames.delete(c)):a.headers.set(c,d)}else a.headers.delete(c),a.normalizedNames.delete(c)}},$pc=function(a,
b,c){var d=b.toLowerCase();bqc(a,b,d);a.headers.has(d)?a.headers.get(d).push(c):a.headers.set(d,[c])},aqc=function(a,b,c){c=(Array.isArray(c)?c:[c]).map(function(e){return e.toString()});var d=b.toLowerCase();a.headers.set(d,c);bqc(a,b,d)};kn.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 eqc=function(){this.map=new Map};g=eqc.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 fqc=function(){},Kxa=/%(\d[a-f0-9])/gi,Lxa={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"},ln=function(a){var b=this;a=a===void 0?{}:a;this.cloneFrom=this.updates=null;this.encoder=a.encoder||new fqc;if(a.fromString){if(a.fromObject)throw new Ug(2805,!1);this.map=Jxa(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(Nxa):[""+d];b.map.set(c,d)})):this.map=null};g=ln.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=Mxa(b);return a.map.get(b).map(function(d){return c+"="+Mxa(d)}).join("&")}).filter(function(b){return b!==""}).join("&")};g.clone=function(a){var b=new ln({encoder:this.encoder});b.cloneFrom=this.cloneFrom||this;b.updates=(this.updates||[]).concat(a);return b};
g.init=function(){var a=this;this.map===null&&(this.map=new Map);this.cloneFrom!==null&&(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=(b.op==="a"?a.map.get(b.param):void 0)||[];c.push(""+b.value);a.map.set(b.param,c);break;case "d":if(b.value!==void 0){c=a.map.get(b.param)||[];var d=c.indexOf(""+b.value);d!==-1&&c.splice(d,1);c.length>0?a.map.set(b.param,c):a.map.delete(b.param)}else a.map.delete(b.param)}}),
this.cloneFrom=this.updates=null)};var mn=function(a,b,c,d){this.url=b;this.body=null;this.keepalive=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=c!==void 0?c:null,c=d;if(c){this.reportProgress=!!c.reportProgress;this.withCredentials=!!c.withCredentials;this.keepalive=!!c.keepalive;c.responseType&&(this.responseType=c.responseType);c.headers&&(this.headers=
c.headers);c.context&&(this.context=c.context);c.params&&(this.params=c.params);c.priority&&(this.priority=c.priority);c.cache&&(this.cache=c.cache);c.credentials&&(this.credentials=c.credentials);if(typeof c.timeout==="number"){if(c.timeout<1||!Number.isInteger(c.timeout))throw new Ug(2822,"");this.timeout=c.timeout}c.mode&&(this.mode=c.mode);c.redirect&&(this.redirect=c.redirect);c.integrity&&(this.integrity=c.integrity);c.referrer&&(this.referrer=c.referrer);c.referrerPolicy&&(this.referrerPolicy=
c.referrerPolicy);this.transferCache=c.transferCache}this.headers!=null||(this.headers=new kn);this.context!=null||(this.context=new eqc);this.params?(c=this.params.toString(),c.length===0?this.urlWithParams=b:(d=b.indexOf("?"),this.urlWithParams=b+(d===-1?"?":d<b.length-1?"&":"")+c)):(this.params=new ln,this.urlWithParams=b)},gqc=function(a){return a.body===null?null:typeof a.body==="string"||Oxa(a.body)||Pxa(a.body)||Qxa(a.body)||typeof URLSearchParams!=="undefined"&&a.body instanceof URLSearchParams?
a.body:a.body instanceof ln?a.body.toString():typeof a.body==="object"||typeof a.body==="boolean"||Array.isArray(a.body)?JSON.stringify(a.body):a.body.toString()};
mn.prototype.clone=function(a){a=a===void 0?{}:a;var b=a.method||this.method,c=a.url||this.url,d=a.responseType||this.responseType,e,f=(e=a.keepalive)!=null?e:this.keepalive;e=a.priority||this.priority;var h=a.cache||this.cache,k=a.mode||this.mode,q=a.redirect||this.redirect,u=a.credentials||this.credentials,A=a.referrer||this.referrer,D=a.integrity||this.integrity,H=a.referrerPolicy||this.referrerPolicy,O,P=(O=a.transferCache)!=null?O:this.transferCache,S;O=(S=a.timeout)!=null?S:this.timeout;S=a.body!==
void 0?a.body:this.body;var aa,ia=(aa=a.withCredentials)!=null?aa:this.withCredentials,la;aa=(la=a.reportProgress)!=null?la:this.reportProgress;la=a.headers||this.headers;var ya=a.params||this.params,Ia,Pa=(Ia=a.context)!=null?Ia:this.context;a.setHeaders!==void 0&&(la=Object.keys(a.setHeaders).reduce(function(gb,ua){return gb.set(ua,a.setHeaders[ua])},la));a.setParams&&(ya=Object.keys(a.setParams).reduce(function(gb,ua){return gb.set(ua,a.setParams[ua])},ya));return new mn(b,c,S,{params:ya,headers:la,
context:Pa,reportProgress:aa,responseType:d,withCredentials:ia,transferCache:P,keepalive:f,cache:h,priority:e,timeout:O,mode:k,redirect:q,credentials:u,referrer:A,integrity:D,referrerPolicy:H})};var qA=function(a,b,c){b=b===void 0?200:b;c=c===void 0?"OK":c;this.headers=a.headers||new kn;this.status=a.status!==void 0?a.status:b;this.statusText=a.statusText||c;this.url=a.url||null;this.redirected=a.redirected;this.responseType=a.responseType;this.ok=this.status>=200&&this.status<300},hqc=function(a){a=a===void 0?{}:a;qA.call(this,a);this.type=2};Y(hqc,qA);
hqc.prototype.clone=function(a){a=a===void 0?{}:a;return new hqc({headers:a.headers||this.headers,status:a.status!==void 0?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})};var rA=function(a){a=a===void 0?{}:a;qA.call(this,a);this.type=4;this.body=a.body!==void 0?a.body:null};Y(rA,qA);
rA.prototype.clone=function(a){a=a===void 0?{}:a;var b,c;return new rA({body:a.body!==void 0?a.body:this.body,headers:a.headers||this.headers,status:a.status!==void 0?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0,redirected:(b=a.redirected)!=null?b:this.redirected,responseType:(c=a.responseType)!=null?c:this.responseType})};
var iqc=function(a){qA.call(this,a,0,"Unknown Error");this.name="HttpErrorResponse";this.ok=!1;this.message=this.status>=200&&this.status<300?"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};Y(iqc,qA);var jqc=new kh("");var kqc=new kh(""),lqc=new kh("",{factory:function(){return[]}}),mqc=new kh(""),nqc=new kh("",{providedIn:"root",factory:function(){return!0}});var oqc=/^\)\]\}',?\n/,sA=function(a){this.xhrFactory=a};
sA.prototype.handle=function(a){if(a.method==="JSONP")throw new Ug(-2800,!1);var b=this.xhrFactory;return li(null).pipe(sj(function(){return new bi(function(c){var d=b.build();d.open(a.method,a.urlWithParams);a.withCredentials&&(d.withCredentials=!0);a.headers.forEach(function(P,S){return d.setRequestHeader(P,S.join(","))});a.headers.has("Accept")||d.setRequestHeader("Accept","application/json, text/plain, */*");if(!a.headers.has("Content-Type")){var e=a.body===null||Qxa(a.body)?null:Pxa(a.body)?
a.body.type||null:Oxa(a.body)?null:typeof a.body==="string"?"text/plain":a.body instanceof ln?"application/x-www-form-urlencoded;charset=UTF-8":typeof a.body==="object"||typeof a.body==="number"||typeof a.body==="boolean"?"application/json":null;e!==null&&d.setRequestHeader("Content-Type",e)}a.timeout&&(d.timeout=a.timeout);a.responseType&&(e=a.responseType.toLowerCase(),d.responseType=e!=="json"?e:"text");var f=gqc(a),h=null,k=function(){if(h!==null)return h;var P=d.statusText||"OK",S=new kn(d.getAllResponseHeaders());
return h=new hqc({headers:S,status:d.status,statusText:P,url:d.responseURL||a.url})},q=function(){var P=k(),S=P.headers,aa=P.status,ia=P.statusText;P=P.url;var la=null;aa!==204&&(la=typeof d.response==="undefined"?d.responseText:d.response);aa===0&&(aa=la?200:0);var ya=aa>=200&&aa<300;if(a.responseType==="json"&&typeof la==="string"){var Ia=la;la=la.replace(oqc,"");try{la=la!==""?JSON.parse(la):null}catch(Pa){la=Ia,ya&&(ya=!1,la={error:Pa,text:la})}}ya?(c.next(new rA({body:la,headers:S,status:aa,
statusText:ia,url:P||void 0})),c.complete()):c.error(new iqc({error:la,headers:S,status:aa,statusText:ia,url:P||void 0}))},u=function(P){var S=k().url;P=new iqc({error:P,status:d.status||0,statusText:d.statusText||"Unknown Error",url:S||void 0});c.error(P)},A=u;a.timeout&&(A=function(){var P=k().url;P=new iqc({error:new DOMException("Request timed out","TimeoutError"),status:d.status||0,statusText:d.statusText||"Request timeout",url:P||void 0});c.error(P)});var D=!1,H=function(P){D||(c.next(k()),
D=!0);var S={type:3,loaded:P.loaded};P.lengthComputable&&(S.total=P.total);a.responseType==="text"&&d.responseText&&(S.partialText=d.responseText);c.next(S)},O=function(P){var S={type:1,loaded:P.loaded};P.lengthComputable&&(S.total=P.total);c.next(S)};d.addEventListener("load",q);d.addEventListener("error",u);d.addEventListener("timeout",A);d.addEventListener("abort",u);a.reportProgress&&(d.addEventListener("progress",H),f!==null&&d.upload&&d.upload.addEventListener("progress",O));d.send(f);c.next({type:0});
return function(){d.removeEventListener("error",u);d.removeEventListener("abort",u);d.removeEventListener("load",q);d.removeEventListener("timeout",A);a.reportProgress&&(d.removeEventListener("progress",H),f!==null&&d.upload&&d.upload.removeEventListener("progress",O));d.readyState!==d.DONE&&d.abort()}})}))};sA.\u0275fac=function(a){return new (a||sA)(bh(Ync))};sA.\u0275prov=Dg({token:sA,factory:sA.\u0275fac,providedIn:"root"});var tA=function(){};tA.\u0275fac=function(a){return new (a||tA)};tA.\u0275prov=Dg({token:tA,factory:function(a){var b=null;return b=a?new (a||tA):bh(sA)},providedIn:"root"});var uA=function(a,b){this.backend=a;this.injector=b;this.chain=null;this.pendingTasks=x(qx);this.contributeToStability=x(nqc)};
uA.prototype.handle=function(a){var b=this;this.chain===null&&(this.chain=Array.from(new Set([].concat(p(this.injector.get(lqc)),p(this.injector.get(mqc,[]))))).reduceRight(function(d,e){return Txa(d,e,b.injector)},Rxa));if(this.contributeToStability){var c=this.pendingTasks.add();return this.chain(a,function(d){return b.backend.handle(d)}).pipe(kj(c))}return this.chain(a,function(d){return b.backend.handle(d)})};uA.\u0275fac=function(a){return new (a||uA)(bh(tA),bh(Vi))};
uA.\u0275prov=Dg({token:uA,factory:uA.\u0275fac,providedIn:"root"});var vA=function(){};vA.\u0275fac=function(a){return new (a||vA)};vA.\u0275prov=Dg({token:vA,factory:function(a){var b=null;return b=a?new (a||vA):bh(uA)},providedIn:"root"});var wA=function(a){this.handler=a};g=wA.prototype;
g.request=function(a,b,c){var d=this;c=c===void 0?{}:c;if(a instanceof mn)b=a;else{var e=void 0;e=c.headers instanceof kn?c.headers:new kn(c.headers);var f=void 0;c.params&&(f=c.params instanceof ln?c.params:new ln({fromObject:c.params}));b=new mn(a,b,c.body!==void 0?c.body:null,{headers:e,context:c.context,params:f,reportProgress:c.reportProgress,responseType:c.responseType||"json",withCredentials:c.withCredentials,transferCache:c.transferCache,keepalive:c.keepalive,priority:c.priority,cache:c.cache,
mode:c.mode,redirect:c.redirect,credentials:c.credentials,referrer:c.referrer,referrerPolicy:c.referrerPolicy,integrity:c.integrity,timeout:c.timeout})}e=li(b).pipe(ej(function(h){return d.handler.handle(h)}));if(a instanceof mn||c.observe==="events")return e;a=e.pipe(Di(function(h){return h instanceof rA}));switch(c.observe||"body"){case "body":switch(b.responseType){case "arraybuffer":return a.pipe(C(function(h){if(h.body!==null&&!(h.body instanceof ArrayBuffer))throw new Ug(2806,!1);return h.body}));
case "blob":return a.pipe(C(function(h){if(h.body!==null&&!(h.body instanceof Blob))throw new Ug(2807,!1);return h.body}));case "text":return a.pipe(C(function(h){if(h.body!==null&&typeof h.body!=="string")throw new Ug(2808,!1);return h.body}));default:return a.pipe(C(function(h){return h.body}))}case "response":return a;default:throw new Ug(2809,!1);}};g.delete=function(a,b){b=b===void 0?{}:b;return this.request("DELETE",a,b)};g.get=function(a,b){b=b===void 0?{}:b;return this.request("GET",a,b)};
g.head=function(a,b){b=b===void 0?{}:b;return this.request("HEAD",a,b)};g.options=function(a,b){b=b===void 0?{}:b;return this.request("OPTIONS",a,b)};g.post=function(a,b,c){c=c===void 0?{}:c;return this.request("POST",a,Uxa(c,b))};g.put=function(a,b,c){c=c===void 0?{}:c;return this.request("PUT",a,Uxa(c,b))};wA.\u0275fac=function(a){return new (a||wA)(bh(vA))};wA.\u0275prov=Dg({token:wA,factory:wA.\u0275fac,providedIn:"root"});var Vxa=new kh("",{factory:function(){return!0}}),pqc=new kh("",{providedIn:"root",factory:function(){return"XSRF-TOKEN"}}),Wxa=new kh("",{providedIn:"root",factory:function(){return"X-XSRF-TOKEN"}}),xA=function(a,b){this.doc=a;this.cookieName=b;this.lastCookieString="";this.lastToken=null};
xA.prototype.getToken=function(){var a=this.doc.cookie||"";if(a!==this.lastCookieString){a:{var b=this.cookieName;b=encodeURIComponent(b);for(var c=l(a.split(";")),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.indexOf("=");e=l(e==-1?[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};xA.\u0275fac=function(a){return new (a||xA)(bh(Mm),bh(pqc))};
xA.\u0275prov=Dg({token:xA,factory:xA.\u0275fac,providedIn:"root"});var jn=function(){};jn.\u0275fac=function(a){return new (a||jn)};jn.\u0275prov=Dg({token:jn,factory:function(a){var b=null;return b=a?new (a||jn):bh(xA)},providedIn:"root"});var qqc=new kh("");var yA=function(){};yA.\u0275fac=function(a){return new (a||yA)};yA.\u0275mod=Zi({type:yA});
yA.\u0275inj=Eg({providers:[function(){for(var a=[wA,uA,{provide:vA,useExisting:uA},{provide:tA,useFactory:function(){var d;return(d=x(jqc,{optional:!0}))!=null?d:x(sA)}},{provide:lqc,useValue:Xxa,multi:!0}],b=l(rd.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:qqc,useFactory:function(){var a=null;return function(b,c){if(a===null){var d;a=((d=x(kqc,{optional:!0}))!=null?d:[]).reduceRight(Sxa,
Rxa)}d=x(qx);return x(nqc)?(d=d.add(),a(b,c).pipe(kj(d))):a(b,c)}}},{provide:lqc,useExisting:qqc,multi:!0}]})]});var rqc=Zxa("json");rqc.arrayBuffer=Zxa("arraybuffer");rqc.blob=Zxa("blob");rqc.text=Zxa("text");
var Yxa=function(a,b,c,d,e){zx.call(this,b,function(h){var k=h.params;var q=h.abortSignal;var u=function(){return O.unsubscribe()};q.addEventListener("abort",u);var A=kk.apply(null,[{value:void 0}].concat(p([]))),D;h=new Promise(function(P){return D=P});var H=function(P){A.set(P);var S;(S=D)==null||S(A);D=void 0};var O=f.client.request(k).subscribe({next:function(P){switch(P.type){case 4:f._headers.set(P.headers);f._statusCode.set(P.status);try{H({value:d?d(P.body):P.body})}catch(S){H({error:S instanceof
Error?S:new Jlc(S)})}break;case 3:f._progress.set(P)}},error:function(P){P instanceof iqc&&(f._headers.set(P.headers),f._statusCode.set(P.status));H({error:P});q.removeEventListener("abort",u)},complete:function(){D&&H({error:new Ug(991,!1)});q.removeEventListener("abort",u)}});return h},c,e,a);var f=this;this._headers=Ssa.apply(null,p([{source:this.extRequest,computation:function(){}}]));this._progress=Ssa.apply(null,p([{source:this.extRequest,computation:function(){}}]));this._statusCode=Ssa.apply(null,
p([{source:this.extRequest,computation:function(){}}]));this.headers=Sk.apply(null,[function(){return f.status()==="resolved"||f.status()==="error"?f._headers():void 0}].concat(p([])));this.progress=this._progress.asReadonly();this.statusCode=this._statusCode.asReadonly();this.client=a.get(wA)};Y(Yxa,zx);Yxa.prototype.set=function(a){zx.prototype.set.call(this,a);this._headers.set(void 0);this._progress.set(void 0);this._statusCode.set(void 0)};new kh("");new kh("");var zA=function(){};zA.\u0275fac=function(a){return new (a||zA)};zA.\u0275prov=Dg({token:zA,factory:function(a){var b=null;return b=a?new (a||zA):bh(AA)},providedIn:"root"});var AA=function(a){this._doc=a};Y(AA,zA);
AA.prototype.sanitize=function(a,b){if(b==null)return null;switch(a){case 0:return b;case 1:return Ji(b,"HTML")?Ii(b):coa(this._doc,String(b)).toString();case 2:return Ji(b,"Style")?Ii(b):b;case 3:if(Ji(b,"Script"))return Ii(b);throw new Ug(5200,!1);case 4:return Ji(b,"URL")?Ii(b):Pna(String(b));case 5:if(Ji(b,"ResourceURL"))return Ii(b);throw new Ug(5201,!1);default:throw new Ug(5202,!1);}};AA.prototype.bypassSecurityTrustHtml=function(a){return new Kkc(a)};AA.prototype.bypassSecurityTrustUrl=function(a){return new Lkc(a)};
AA.prototype.bypassSecurityTrustResourceUrl=function(a){return new Mkc(a)};AA.\u0275fac=function(a){return new (a||AA)(bh(Mm))};AA.\u0275prov=Dg({token:AA,factory:AA.\u0275fac,providedIn:"root"});var BA=function(a){this.decorated=new AA(a)};Y(BA,zA);BA.prototype.sanitize=function(a,b){if(b==null)return null;if(b instanceof Xc||ad(b)||b instanceof fd){if(sqc(b,a))return this.decorated.sanitize(a,tqc(this,b));throw Error("Nb`"+Vkc[a]+"`"+b);}return this.decorated.sanitize(a,b)};BA.prototype.bypassSecurityTrustHtml=function(){throw Error("Ob");};BA.prototype.bypassSecurityTrustUrl=function(){throw Error("Ob");};BA.prototype.bypassSecurityTrustResourceUrl=function(){throw Error("Ob");};
var tqc=function(a,b){if(b!=null){if(b instanceof fd)return a.decorated.bypassSecurityTrustHtml(String(b));if(ad(b))return a.decorated.bypassSecurityTrustUrl(bd(b));if(b instanceof Xc)return a.decorated.bypassSecurityTrustResourceUrl(String(b))}return null},sqc=function(a,b){switch(b){case 1:return a instanceof fd;case 4:return ad(a)||a instanceof Xc;case 5:return a instanceof Xc;case 3:return!1;default:return!1}};BA.\u0275fac=function(a){return new (a||BA)(bh(Mm))};BA.\u0275prov=Dg({token:BA,factory:BA.\u0275fac});var uqc=[{provide:jpa,useExisting:zA},{provide:zA,useClass:BA}],CA=function(){};CA.\u0275fac=function(a){return new (a||CA)};CA.\u0275mod=Zi({type:CA});CA.\u0275inj=Eg({providers:uqc,imports:[oA]});var $xa;var vqc=function(a,b){this.url=a;this.svgText=null;this.options=b},DA=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},wqc=function(a,b){return a._fontCssClassesByAlias.get(b)||b},xqc=function(a,b,c){c=c===void 0?
"":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):mi(Error("Pb`"+d))};g=DA.prototype;g.ngOnDestroy=function(){this._resolvers=[];this._svgIconConfigs.clear();this._iconSetConfigs.clear();this._cachedIconsByUrl.clear()};g._getSvgFromConfig=function(a){return a.svgText?li(this._svgElementFromConfig(a).cloneNode(!0)):this._loadSvgIconFromConfig(a).pipe(C(function(b){return b.cloneNode(!0)}))};
g._getSvgFromIconSetConfigs=function(a,b){var c=this,d=this._extractIconWithNameFromAnySet(a,b);if(d)return li(d);d=b.filter(function(e){return!e.svgText}).map(function(e){return c._loadSvgIconSetFromConfig(e).pipe(cj(function(f){f="Loading icon set URL: "+c._sanitizer.sanitize(5,e.url)+" failed: "+f.message;c._errorHandler.handleError(Error(f));return li(null)}))});return xi(d).pipe(C(function(){var e=c._extractIconWithNameFromAnySet(a,b);if(!e)throw Error("Pb`"+a);return e}))};
g._extractIconWithNameFromAnySet=function(a,b){for(var c=b.length-1;c>=0;c--){var d=b[c];if(d.svgText&&d.svgText.toString().indexOf(a)>-1){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(uj(function(c){return a.svgText=c}),C(function(){return b._svgElementFromConfig(a)}))};
g._loadSvgIconSetFromConfig=function(a){return a.svgText?li(null):this._fetchIcon(a).pipe(uj(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(a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,c);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),c);b=this._svgElementFromString(bya("<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("Sb");return a};g._toSvgElement=function(a){for(var b=this._svgElementFromString(bya("<svg></svg>")),c=a.attributes,d=0;d<c.length;d++){var e=c[d],f=e.name;e=e.value;f!=="id"&&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=(e=(d=a.options)==null?void 0:d.withCredentials)!=null?e:!1;if(!this._httpClient)throw Error("Qb");if(c==null)throw Error("Tb`"+c);var f=this._sanitizer.sanitize(5,c);if(!f)throw Error("Rb`"+c);if(c=this._inProgressUrlFetches.get(f))return c;c=this._httpClient.get(f,{responseType:"text",withCredentials:a}).pipe(C(function(h){return bya(h)}),kj(function(){return b._inProgressUrlFetches.delete(f)}),aqa());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 vqc(d.url,d.options):new vqc(d)}};DA.\u0275fac=function(a){return new (a||DA)(bh(wA,8),bh(zA),bh(Mm,8),bh(kx))};DA.\u0275prov=Dg({token:DA,factory:DA.\u0275fac,providedIn:"root"});var yqc=new kh("MAT_ICON_DEFAULT_OPTIONS"),zqc=new kh("mat-icon-location",{providedIn:"root",factory:function(){var a=x(Mm),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}}}),Aqc="clip-path color-profile src cursor fill filter marker marker-start marker-mid marker-end mask stroke".split(" "),Bqc=Aqc.map(function(a){return"["+a+"]"}).join(", "),Cqc=/^url\(['"]?#(.*?)['"]?\)$/,EA=function(){this._elementRef=x(Ph);this._iconRegistry=x(DA);this._location=x(zqc);this._errorHandler=
x(kx);this.inline=!1;this._previousFontSetClass=[];this._currentIconFetch=Yh.EMPTY;var a=x(new ax("aria-hidden"),{optional:!0}),b=x(yqc,{optional:!0});b&&(b.color&&(this.color=this._defaultColor=b.color),b.fontSet&&(this.fontSet=b.fontSet));a||this._elementRef.nativeElement.setAttribute("aria-hidden","true")};g=EA.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("Ub`"+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];c.nodeType===1&&c.nodeName.toLowerCase()!=="svg"||c.remove()}};
g._updateFontIconClasses=function(){if(this._usingFontIcon()){var a=this._elementRef.nativeElement,b=(this.fontSet?wqc(this._iconRegistry,this.fontSet).split(/ +/):this._iconRegistry._defaultFontSetClass).filter(function(c){return c.length>0});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 typeof a==="string"?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(Bqc),c=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(a={i$jscomp$630:0};a.i$jscomp$630<b.length;a={i$jscomp$630:a.i$jscomp$630},a.i$jscomp$630++)Aqc.forEach(function(d){return function(e){var f=b[d.i$jscomp$630],h=f.getAttribute(e);if(h=h?h.match(Cqc):null){var k=c.get(f);k||(k=[],c.set(f,k));k.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=l(this._splitIconName(a));var c=a.next().value,d=a.next().value;c&&(this._svgNamespace=c);d&&(this._svgName=d);this._currentIconFetch=xqc(this._iconRegistry,d,c).pipe(hj(1)).subscribe(function(e){return b._setSvgElement(e)},function(e){b._errorHandler.handleError(Error("Vb`"+c+"`"+d+"`"+e.message))})}};
pg.Object.defineProperties(EA.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color||this._defaultColor},set:function(a){this._color=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())}}});EA.\u0275fac=function(a){return new (a||EA)};
EA.\u0275cmp=F({type:EA,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(a,b){a&2&&(Hj("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),sk(b.color?"mat-"+b.color:""),rk("mat-icon-inline",b.inline)("mat-icon-no-color",b.color!=="primary"&&b.color!=="accent"&&b.color!=="warn"))},inputs:{color:"color",
inline:[2,"inline","inline",Tk],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Zj(),ak(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.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 FA=new kh("MatSnackBarData"),Dqc=function(){this.politeness="polite";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var Eqc=function(){};Eqc.\u0275fac=function(a){return new (a||Eqc)};Eqc.\u0275dir=$i({type:Eqc,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]});var Fqc=function(){};Fqc.\u0275fac=function(a){return new (a||Fqc)};Fqc.\u0275dir=$i({type:Fqc,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]});var Gqc=function(){};Gqc.\u0275fac=function(a){return new (a||Gqc)};
Gqc.\u0275dir=$i({type:Gqc,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]});var GA=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new oj;this._afterOpened=new oj;this._onAction=new oj;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};g=GA.prototype;g.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit();clearTimeout(this._durationTimeoutId)};
g.dismissWithAction=function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss());clearTimeout(this._durationTimeoutId)};g._dismissAfter=function(a){var b=this;this._durationTimeoutId=setTimeout(function(){return b.dismiss()},Math.min(a,2147483647))};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.afterDismissed=function(){return this._afterDismissed};g.afterOpened=function(){return this.containerInstance._onEnter};g.onAction=function(){return this._onAction};var HA=function(){this.snackBarRef=x(GA);this.data=x(FA)};HA.prototype.action=function(){this.snackBarRef.dismissWithAction()};pg.Object.defineProperties(HA.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});HA.\u0275fac=function(a){return new (a||HA)};
HA.\u0275cmp=F({type:HA,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(a,b){a&1&&(L(0,"div",0),U(1),M(),I(2,cya,3,1,"div",1));a&2&&(E(),V(" ",b.data.message,"\n"),E(),J(b.hasAction?2:-1))},dependencies:[aA,Eqc,Fqc,Gqc],styles:[".mat-mdc-simple-snack-bar{display:flex}.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label{max-height:50vh;overflow:auto}\n"],
encapsulation:2,changeDetection:0});var Hqc=["label"],IA=function(){this._isDisposed=!1;this._ngZone=x(Kk);this._elementRef=x(Ph);this._changeDetectorRef=x(sx);this._platform=x(Qm);this._animationsDisabled=hn();this.snackBarConfig=x(Dqc);this._document=x(Mm);this._trackedModals=new Set;this._injector=x(yj);this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new oj;this._onExit=new oj;this._onEnter=new oj;this._animationState="void";this._liveElementId=x(Wm).getId("mat-snack-bar-container-live-");var a=this.snackBarConfig;this._live=
a.politeness!=="assertive"||a.announcementMessage?a.politeness==="off"?"off":"polite":"assertive";this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))};Y(IA,Cz);g=IA.prototype;g.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._afterPortalAttached();return a};g.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._afterPortalAttached();return a};
g.onAnimationEnd=function(a){var b=this;a==="_mat-snack-bar-exit"?this._completeExit():a==="_mat-snack-bar-enter"&&(clearTimeout(this._enterFallback),this._ngZone.run(function(){b._onEnter.next();b._onEnter.complete()}))};
g.enter=function(){var a=this;this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?Ej(function(){a._ngZone.run(function(){return queueMicrotask(function(){return a.onAnimationEnd("_mat-snack-bar-enter")})})},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(function(){a._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible");
a.onAnimationEnd("_mat-snack-bar-enter")},200)))};
g.exit=function(){var a=this;this._destroyed?li(void 0):this._ngZone.run(function(){a._animationState="hidden";a._changeDetectorRef.markForCheck();a._elementRef.nativeElement.setAttribute("mat-exit","");clearTimeout(a._announceTimeoutId);a._animationsDisabled?Ej(function(){a._ngZone.run(function(){return queueMicrotask(function(){return a.onAnimationEnd("_mat-snack-bar-exit")})})},{injector:a._injector}):(clearTimeout(a._exitFallback),a._exitFallback=setTimeout(function(){return a.onAnimationEnd("_mat-snack-bar-exit")},
200))})};g.ngOnDestroy=function(){this._destroyed=!0;this._clearFromModals();this._completeExit()};g._completeExit=function(){var a=this;clearTimeout(this._exitFallback);queueMicrotask(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();b=this._label.nativeElement;b.classList.toggle("mdc-snackbar__label",!b.querySelector(".mdc-snackbar__label"))};
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?e.indexOf(a)===-1&&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(),c.length>0?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(){if(!a._destroyed){var b=a._elementRef.nativeElement,c=b.querySelector("[aria-hidden]");b=b.querySelector("[aria-live]");if(c&&b){var d=null;a._platform.isBrowser&&document.activeElement instanceof HTMLElement&&c.contains(document.activeElement)&&(d=document.activeElement);c.removeAttribute("aria-hidden");b.appendChild(c);var e;(e=d)==null||e.focus();
a._onAnnounce.next();a._onAnnounce.complete()}}},a._announceDelay)})};IA.\u0275fac=function(a){return new (a||IA)};
IA.\u0275cmp=F({type:IA,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,b){a&1&&(ek(Ez,7),ek(Hqc,7));if(a&2){var c;ik(c=jk())&&(b._portalOutlet=c.first);ik(c=jk())&&(b._label=c.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(a,b){a&1&&Q("animationend",function(c){return b.onAnimationEnd(c.animationName)})("animationcancel",function(c){return b.onAnimationEnd(c.animationName)});a&2&&rk("mat-snack-bar-container-enter",b._animationState===
"visible")("mat-snack-bar-container-exit",b._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!b._animationsDisabled)},features:[xj],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(L(0,"div",1)(1,"div",2,0)(3,"div",3),G(4,dya,0,0,"ng-template",4),M(),N(5,"div"),M()());a&2&&(E(5),Hj("aria-live",b._live)("role",b._role)("id",b._liveElementId))},
dependencies:[Ez],styles:["@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-button-text-state-layer-color: currentColor;--mat-button-text-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}\n"],
encapsulation:2});/*

 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.dev/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 Iqc=new kh("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new Dqc}}),JA=function(){this._live=x(Vy);this._injector=x(yj);this._breakpointObserver=x(Py);this._parentSnackBar=x(JA,{optional:!0,skipSelf:!0});this._defaultConfig=x(Iqc);this._animationsDisabled=hn();this._snackBarRefAtThisLevel=null;this.simpleSnackBarComponent=HA;this.snackBarContainerComponent=IA;this.handsetCssClass="mat-mdc-snack-bar-handset"};g=JA.prototype;
g.openFromComponent=function(a,b){return this._attach(a,b)};g.open=function(a,b,c){b=b===void 0?"":b;var d=Object.assign({},this._defaultConfig,c);d.data={message:a,action:b};d.announcementMessage===a&&(d.announcementMessage=void 0);return this.openFromComponent(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=Rk({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:Dqc,useValue:b}]});a=a.attach(new Az(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
g._attach=function(a,b){var c=this,d=Object.assign({},new Dqc,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var f=new GA(b,e);if(a instanceof bk)f.instance=b.attachTemplatePortal(new Bz(a,null,{$implicit:d.data,snackBarRef:f}));else{var h=this._createInjector(d,f);a=b.attachComponentPortal(new Az(a,void 0,h));f.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(tj(e._detachments)).subscribe(function(k){e.overlayElement.classList.toggle(c.handsetCssClass,
k.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()});b.duration&&b.duration>0&&a.afterOpened().subscribe(function(){return a._dismissAfter(b.duration)});this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){a.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):a.containerInstance.enter()};
g._createOverlay=function(a){var b=new Zm;b.direction=a.direction;var c=new vz,d=a.direction==="rtl";d=a.horizontalPosition==="left"||a.horizontalPosition==="start"&&!d||a.horizontalPosition==="end"&&d;var e=!d&&a.horizontalPosition!=="center";d?c.left("0"):e?c.right("0"):wz(c);a.verticalPosition==="top"?c.top("0"):c.bottom("0");b.positionStrategy=c;b.disableAnimations=this._animationsDisabled;return fn(this._injector,b)};
g._createInjector=function(a,b){return Rk({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:GA,useValue:b},{provide:FA,useValue:a.data}]})};pg.Object.defineProperties(JA.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}}});
JA.\u0275fac=function(a){return new (a||JA)};JA.\u0275prov=Dg({token:JA,factory:JA.\u0275fac,providedIn:"root"});var KA=function(){};KA.\u0275fac=function(a){return new (a||KA)};KA.\u0275mod=Zi({type:KA});KA.\u0275inj=Eg({providers:[JA],imports:[Jz,Fz,cA,HA,kz]});var LA=function(){this.snackBar=x(JA)};LA.prototype.open=function(a){var b=a.message;var c=a.dismissLabel;var d=a.actionLabel;var e=a.duration;a=a.snackbarType;c={dismissLabel:c,actionLabel:d,snackbarType:a};typeof b==="string"?c.message=b:c.htmlMessage=b;switch(a){case "ERROR":b="error";break;default:b=void 0}b={data:c,panelClass:b};e&&(b.duration=e);return this.snackBar.openFromComponent(Jqc,b)};LA.\u0275fac=function(a){return new (a||LA)};LA.\u0275prov=Dg({token:LA,factory:LA.\u0275fac,providedIn:"root"});
var Jqc=function(){this.data=x(FA);this.snackBarRef=x(GA)};Jqc.\u0275fac=function(a){return new (a||Jqc)};
Jqc.\u0275cmp=F({type:Jqc,selectors:[["ng-component"]],standalone:!1,decls:7,vars:3,consts:[[1,"snackbar-content"],[1,"message",3,"innerHtml"],[1,"message"],[1,"actions"],["type","button","mat-button",""],"type button mat-icon-button  aria-label Dismiss".split(" "),["type","button","mat-button","",3,"click"],["type","button","mat-icon-button","","aria-label","Dismiss",3,"click"],["svgIcon","close"]],template:function(a,b){a&1&&(L(0,"div",0),I(1,eya,1,1,"span",1)(2,fya,2,1,"span",2),L(3,"div",3),I(4,
gya,2,1,"button",4),I(5,hya,2,1,"button",4)(6,iya,2,0,"button",5),M()());a&2&&(E(),J(b.data.htmlMessage?1:2),E(3),J(b.data.actionLabel?4:-1),E(),J(b.data.dismissLabel?5:6))},dependencies:[EA,dA,aA,bA],styles:[".snackbar-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;word-break:break-word}button[_ngcontent-%COMP%]:not(.mat-mdc-icon-button){height:24px;line-height:24px;padding:0 10px}.mat-mdc-icon-button[_ngcontent-%COMP%]{line-height:24px}.actions[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;margin-left:5px;align-items:center}/*# sourceMappingURL=snackbar_content.css.map */"]});var MA=function(){this.snackbar=x(LA)};MA.prototype.dismiss=function(){this.lastSnackbar&&this.lastSnackbar.dismiss()};var hq=function(a,b,c){a.open({message:b,duration:c===void 0?1E4:c})},Kqc=function(a,b,c){a.open({message:b,duration:c===void 0?1E4:c})};MA.prototype.showWarning=function(a,b){this.open({message:a,duration:b===void 0?0:b,snackbarType:"ERROR"})};MA.prototype.open=function(a){return this.lastSnackbar=a=this.snackbar.open(a)};MA.\u0275fac=function(a){return new (a||MA)};
MA.\u0275prov=Dg({token:MA,factory:MA.\u0275fac,providedIn:"root"});var Lqc=function(a){var b=Error.call(this,a);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.data={message:a};Object.setPrototypeOf(this,this.constructor.prototype)};Y(Lqc,Error);var NA=function(){};g=NA.prototype;g.debug=function(){me.apply(null,p(rd.apply(0,arguments)))};g.error=function(){ufa.apply(null,p(rd.apply(0,arguments)))};g.info=function(){ne.apply(null,p(rd.apply(0,arguments)))};g.log=function(){tfa.apply(null,p(rd.apply(0,arguments)))};g.warn=function(){oe.apply(null,p(rd.apply(0,arguments)))};NA.\u0275fac=function(a){return new (a||NA)};NA.\u0275prov=Dg({token:NA,factory:NA.\u0275fac,providedIn:"root"});var Mqc=Symbol("Wb"),Nqc=Symbol("Xb"),Oqc=Symbol("Yb"),OA=function(){};OA.prototype.schedule=function(a,b){b=b===void 0?0:b;var c=Cf(),d=c.promise;b=setTimeout(function(){try{var e=a()}catch(f){c.reject(f);d[Oqc]=!0;return}c.resolve(e);d[Oqc]=!0},b);d[Mqc]=b;d[Nqc]=c.reject;d[Oqc]=!1;return c.promise};OA.prototype.cancel=function(a){var b=a[Mqc];if(b==null||a[Oqc])return!1;clearTimeout(b);var c;(c=a[Nqc])==null||c.call(a,Error("Zb"));return a[Oqc]=!0};OA.\u0275fac=function(a){return new (a||OA)};
OA.\u0275prov=Dg({token:OA,factory:OA.\u0275fac,providedIn:"root"});var PA=function(){this.butterBar=x(MA);this.activeSession=x(Ks);this.$log=x(NA);this.timeout=x(OA)};
PA.prototype.errorHandler=function(a,b){var c=this;this.timeout.schedule(function(){var d=b.status===403?"Access denied for: "+c.activeSession.getUserEmail():b.status===429?"Request throttled for: "+c.activeSession.getUserEmail()+". Please wait a few seconds and try again.":on(b)?on(b):b.status===404?"Invalid ID.":b.status===401?"No authorization found. Please refresh the page.":"Unknown HTTP error "+b.status+". Please copy your data and refresh the page.";c.$log.error(d,b);c.butterBar.showWarning(d)})};
var QA=function(a,b){a.$log.warn(b);a.butterBar.showWarning(b)},RA=function(a,b){if(nn(b))a.errorHandler(null,b);else throw b;};PA.\u0275fac=function(a){return new (a||PA)};PA.\u0275prov=Dg({token:PA,factory:PA.\u0275fac,providedIn:"root"});var Pqc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Pqc,n);g=Pqc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.setPageSize=function(a){return se(this,2,a)};g.setPageToken=function(a){return Vd(this,3,a)};var SA=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,SA.messageId)};Y(SA,n);SA.prototype.getIt=function(){return r(this,Pqc,4,Kc)};SA.prototype.setIt=function(a){return t(this,Pqc,4,a,Kc)};SA.messageId="b.AggregateIssueDescendantsRequest";var Qqc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Qqc,n);g=Qqc.prototype;g.getPriority=function(){return Zd(this,1)};g.setPriority=function(a){return Xd(this,1,a)};g.getIssueIdsList=function(){return Tu(this,2,1)};g.getIssueIdsList_asString=function(){return ge(this,2)};g.setIssueIdsList=function(a){return op(this,2,a)};g.addIssueIds=function(a){return bv(this,2,a)};g.setIssueIds=function(a){wc(this,2,Fb,void 0,a,Kb,void 0,1)};var Rqc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Rqc,n);g=Rqc.prototype;g.getStatus=function(){return Zd(this,1)};g.setStatus=function(a){return Xd(this,1,a)};g.getIssueIdsList=function(){return Tu(this,2,1)};g.getIssueIdsList_asString=function(){return ge(this,2)};g.setIssueIdsList=function(a){return op(this,2,a)};g.addIssueIds=function(a){return bv(this,2,a)};g.setIssueIds=function(a){wc(this,2,Fb,void 0,a,Kb,void 0,1)};var Sqc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Sqc,n);g=Sqc.prototype;g.getIssueIdsList=function(){return Tu(this,3,1)};g.getIssueIdsList_asString=function(){return ge(this,3)};g.setIssueIdsList=function(a){return op(this,3,a)};g.addIssueIds=function(a){return bv(this,3,a)};g.setIssueIds=function(a){wc(this,3,Fb,void 0,a,Kb,void 0,1)};g.getCollaboratorsList=function(){return ie(this,Ud,8,Rd())};g.setCollaboratorsList=function(a){Ol(this,8,a)};
g.addAllCollaborators=function(a){qm(this,8,Ud,a)};g.setCollaborators=function(a,b){return Nu(this,8,Ud,a,b)};g.getCodeChangesList=function(a){return Qd(this,9,Rd(a))};g.setCodeChangesList=function(a){Wd(this,9,a)};g.addAllCodeChanges=function(a){xc(this,9,Pb,a,Qb)};g.setCodeChanges=function(a,b){return dv(this,9,a,b)};g.getGerritChangesList=function(){return ie(this,fm,13,Rd())};g.setGerritChangesList=function(a){Ol(this,13,a)};g.addAllGerritChanges=function(a){qm(this,13,fm,a)};
g.getBlockedByIssueIdsList=function(){return Tu(this,10,1)};g.getBlockedByIssueIdsList_asString=function(){return ge(this,10)};g.setBlockedByIssueIdsList=function(a){op(this,10,a)};g.addAllBlockedByIssueIds=function(a){cv(this,10,a)};g.getBlockingIssueIdsList=function(){return Tu(this,11,1)};g.getBlockingIssueIdsList_asString=function(){return ge(this,11)};g.setBlockingIssueIdsList=function(a){op(this,11,a)};g.addAllBlockingIssueIds=function(a){cv(this,11,a)};var Tqc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Tqc,n);Tqc.prototype.getNextPageToken=function(){return Oc(this,4)};var TA=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,TA.messageId)};Y(TA,n);TA.prototype.getIt=function(){return r(this,Tqc,3,Kc)};TA.prototype.setIt=function(a){return t(this,Tqc,3,a,Kc)};TA.messageId="b.AggregateIssueDescendantsResponse";var UA=function(){this.executor=x(ey)};
UA.prototype.get=function(a){var b=(new SA).setIt((new Pqc).setIssueId(a));return this.executor.post({url:"action/issues/aggregateIssueDescendants",body:b,responseConstructor:TA}).pipe(C(function(c){var d=c.getIt();d=Pd(d,2);var e=c.getIt();e=Pd(e,3);c=c.getIt();var f=r(c,Sqc,1);if(f){var h,k,q,u,A,D,H,O,P,S;c={_rootId:a,issueIds:f.getIssueIdsList().map(pe).map(ce).filter(fe),aggregatedStatus:(A=ie(f,Rqc,4,Rd()).map(kya).filter(fe))!=null?A:[],aggregatedPriority:(D=ie(f,Qqc,12,Rd()).map(lya).filter(fe))!=
null?D:[],reporters:(H=(h=ie(f,Ud,5,Rd()))==null?void 0:h.map(ae))!=null?H:[],assignees:(O=(k=ie(f,Ud,6,Rd()))==null?void 0:k.map(ae))!=null?O:[],verifiers:(P=(q=ie(f,Ud,7,Rd()))==null?void 0:q.map(ae))!=null?P:[],collaborators:(S=(u=f.getCollaboratorsList())==null?void 0:u.map(ae))!=null?S:[],changelists:f.getCodeChangesList($d),gerritChanges:f.getGerritChangesList().map(fva),blockedByIssueIds:f.getBlockedByIssueIdsList().map(pe).map(ce).filter(fe),blockingIssueIds:f.getBlockingIssueIdsList().map(pe).map(ce).filter(fe),
descendantCount:d,openDescendantCount:e}}else c=void 0;return c}))};UA.\u0275fac=function(a){return new (a||UA)};UA.\u0275prov=Dg({token:UA,factory:UA.\u0275fac,providedIn:"root"});var Uqc=function(a){this.isEqual=a===void 0?function(){return!1}:a;this.values$=new nj(1);this.distinctValues$=new nj(1);this.lastValue=void 0;this.empty=!0};Uqc.prototype.next=function(a){this.values$.next(a);!this.empty&&this.isEqual(a,this.lastValue)||this.distinctValues$.next(a);this.lastValue=a;this.empty=!1};var VA=function(a,b){this.data=a;this.cfg=b;this.lastValidated=Date.now()};VA.prototype.isFresh=function(){return Date.now()-this.lastValidated<this.cfg.freshUntil};VA.prototype.isAncient=function(){return Date.now()-this.lastValidated>this.cfg.ancientAfter};VA.prototype.getStatus=function(){return this.isFresh()?"fresh":this.isAncient()?"ancient":"uncertain"};VA.prototype.toString=function(){var a=String(this.data);return Math.ceil((Date.now()-this.lastValidated)/1E3)+"s old -- "+a};
var Vqc=function(a){this.cfg=a;this.cache=new Map},Wqc=function(a,b){a=WA(a,b);return a==null?Infinity:a},WA=function(a,b){var c;return(c=a.get(b,!0))==null?void 0:Date.now()-c.lastValidated};Vqc.prototype.isFresh=function(a){return Wqc(this,a)<this.cfg.freshUntil};var Xqc=function(a,b){return Wqc(a,b)<=a.cfg.ancientAfter};g=Vqc.prototype;g.isAncient=function(){var a=WA(this);return a?a>this.cfg.ancientAfter:!1};g.getStatus=function(a){a=this.get(a,!0);if(a!=null)return a.getStatus()};
g.has=function(a,b){return!!this.get(a,b===void 0?!1:b)};g.get=function(a,b){b=b===void 0?!1:b;var c=this.cache.get(a);if(c!=null)return Date.now()-c.lastValidated>this.cfg.ancientAfter&&!b&&this.cache.delete(a),this.cache.get(a)};g.getData=function(a,b){var c;return(c=this.get(a,b===void 0?!1:b))==null?void 0:c.data};g.set=function(a,b){this.cache.set(a,new VA(b,this.cfg))};g.touch=function(a){var b=this.cache.get(a);b&&this.cache.set(a,new VA(b.data,this.cfg))};
g.validate=function(a,b,c,d){d=d===void 0?!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=l(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 Yqc={trustMemory:!0},Zqc=function(){},Iea=["startIndex","totalSize","curPageToken","nextPageToken","prevPageToken"],$qc=function(a){this.ids=[];Object.assign(this,a)};Y($qc,Zqc);$qc.prototype.toString=function(){return JSON.stringify(Object.assign({},this,{ids:"["+this.ids.join(",")+"]"}))};
var arc={freshUntil:1E4,ancientAfter:792E5},XA=function(a){var b=this;a=a===void 0?{}:a;this.error$=new oj;this.watchOneError=function(c){typeof c==="number"&&(c=String(c));return b.error$.pipe(Di(function(d){return d.idOrKey===c}))};this.memoryWasSet$=new oj;this.collectiveMemoryWasSet$=new oj;this.valsById=new Map;this.collectionsById=new Map;this.setsByLabel=new Map;this.inFlightGets$=new $n(Object.freeze({}));this.inFlightSaves$=new $n(Object.freeze({}));this.getting$=this.inFlightGets$.pipe(C(nya));
this.saving$=this.inFlightSaves$.pipe(C(nya));this.thinking$=si(this.getting$,this.saving$).pipe(C(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c||d}),jj());this.gotOne=function(c){return function(d,e){e=e===void 0?{}:e;e=e.doNotTrack?mya:brc({label:c,value:WA(b.memory,c)},b.recordType);b.memory.validate(c,d,b.isEqual)?(e("one-isSame"),b.memory.touch(c)):(e("one-isChanged"),b.memoryWasSet$.next(),b.memory.set(c,d));crc(b,c).next(d)}};this.gotSet=function(c){return function(d){for(var e=
l(d),f=e.next();!f.done;f=e.next())f=f.value,b.gotOne(b.idForRecord(f))(f,{doNotTrack:!0});drc(b,c).next(d)}};this.gotAll=function(c){return function(d){for(var e=brc({label:c,value:WA(b.collectiveMemory,c)},b.recordType),f=l(d.results),h=f.next();!h.done;h=f.next())h=h.value,b.gotOne(b.idForRecord(h))(h,{doNotTrack:!0});f=b.normalize(d);b.collectiveMemory.validate(c,f,Hea);b.collectiveMemory.set(c,f);b.collectiveMemoryWasSet$.next();e("all-isChanged");(e=b.collectionsById.get(c))?(d=erc(b,f,d.results),
e.next(d)):tfa(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});e==null&&oe("Fridge<"+b.recordType+"> Couldn't find a record for id "+d+". (among "+c.length+" records)");return e}};this.debug=function(){return{recordType:b.recordType,isThinking:b.isThinking(),inFlightGets:Object.entries(b.inFlightGets()).map(function(c){var d=l(c);c=d.next().value;d=d.next().value;
return c+": "+d}).join(", "),inFlightSaves:Object.entries(b.inFlightSaves()).map(function(c){var d=l(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((c.message===void 0?"":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 c==null?nya(b.inFlightSaves()):!!b.inFlightSaves()[c]};this.isSaving$=function(c){return b.inFlightSaves$.pipe(C(function(d){return!!d[c]}),jj())};this.isGetting=function(c){return c==null?nya(b.inFlightGets()):!!b.inFlightGets()[c]};this.save=function(c){var d=b.idForRecord(c);if(d==null)throw Error("$b");c=b.doSave(c).pipe(ij(0,xp),Xpa(),Cma());b.setIsSaving(d);b.subscriptions.add(c.subscribe(b.gotOne(d),b.gotErr(d,b.inFlightSaves$),frc(d,b.inFlightSaves$)));return c};this.setIsSaving=
function(c){var d={};oya(b.inFlightSaves$,(d[c]=!0,d))};this.clearIsSaving=function(c){pya(b.inFlightSaves$,c)};this.setIsGetting=function(c){var d={};oya(b.inFlightGets$,(d[c]=!0,d))};this.clearIsGetting=function(c){pya(b.inFlightGets$,c)};this.peekAllRecords=function(){return Array.from(b.memory.cache.entries(),function(c){c=l(c);c.next();return c.next().value.data}).filter(fe)};this.poke.bind(this);this.subscriptions=new Yh;this.memory=new Vqc(Object.assign({},arc,a));this.collectiveMemory=new Vqc(Object.assign({},
arc,a))};g=XA.prototype;g.fetchOne=function(){throw Error("ac");};g.fetchAll=function(){throw Error("bc");};g.fetchSet=function(){throw Error("cc");};g.doSave=function(){throw Error("dc");};g.copy=function(){throw Error("ec");};g.isEqual=function(a,b){return Hea(a,b,100)};g.inFlightGets=function(){return this.inFlightGets$.getValue()};g.inFlightSaves=function(){return this.inFlightSaves$.getValue()};
var grc=function(a,b,c){c=c===void 0?{}:c;var d=c.trustMemory;var e=c.trustUncertainMemory;c=brc({label:b,value:WA(a.memory,b)},a.recordType);d=d&&a.memory.isFresh(b);e=e&&Xqc(a.memory,b);if(d||e)return c("one-trustMemory"),c=a.memory.getData(b),vya(c);if(a.inFlightGets()[b])return c("one-inFlight"),c=crc(a,b),uya(c.values$).then(vya);c("one-fetch");try{var f=a.fetchOne(b).pipe(hj(1),ij(0,xp))}catch(h){f=mi(function(){return h})}a.setIsGetting(b);return new Promise(function(h,k){a.subscriptions.add(f.subscribe(function(q){a.gotOne(b)(q);
h(q)},function(q){a.gotErr(b,a.inFlightGets$)(q);k(q)},frc(b,a.inFlightGets$)))})},jrc=function(a,b,c){c=(c===void 0?{}:c).trustMemory;var d="["+[].concat(p(b)).sort().join("-")+"]",e=brc({label:d},a.recordType);if(c&&hrc(a,b))irc(a,b),e("set-trustMemory");else if(a.inFlightGets()[d])e("set-inFlight");else if(b.every(function(k){return a.inFlightGets()[k]}))Promise.all(b.map(function(k){k=crc(a,k);return uya(k.values$)})).then(function(k){return k.filter(fe)}).then(a.gotSet(b));else{e("set-fetch");
try{var f=a.fetchSet(b).pipe(hj(1),ij(0,xp))}catch(k){f=mi(function(){return k})}c={};c=(c[d]=!0,c);e=l(b);for(var h=e.next();!h.done;h=e.next())c[h.value]=!0;oya(a.inFlightGets$,c);a.subscriptions.add(f.subscribe(a.gotSet(b),function(k){qya(a.inFlightGets$,b);a.gotErr(d,a.inFlightGets$)(k)},function(){qya(a.inFlightGets$,[d].concat(p(b)))}))}},hrc=function(a,b){return b.every(function(c){return a.memory.isFresh(c)})},irc=function(a,b){var c=krc(a,b).filter(fe);drc(a,b).next(c)};
XA.prototype.getAll=function(a,b){b=(b===void 0?{}:b).trustMemory;var c=rya(a),d=brc({label:c,value:WA(this.collectiveMemory,c)},this.recordType);if(b&&this.collectiveMemory.isFresh(c)){d("all-trustMemory");a=this.collectiveMemory.getData(c);var e=lrc(this,a);e.results.length!==a.ids.length&&oe("Fridge<"+this.recordType+"> getAll thinks the collectiveMemory cache is fresh, but only found "+e.results.length+"/"+a.ids.length+" things in the normalized record cache");return Promise.resolve(e)}if(this.inFlightGets()[c])return d("all-inFlight"),
a=mrc(this,a),uya(a.values$);d("all-fetch");try{e=this.fetchAll(a).pipe(hj(1),ij(0,xp))}catch(f){e=mi(function(){return f})}this.setIsGetting(c);this.subscriptions.add(e.subscribe(this.gotAll(c),this.gotErr(c,this.inFlightGets$),frc(c,this.inFlightGets$)));a=mrc(this,a);return uya(a.values$)};XA.prototype.gotErr=function(a,b){var c=this;return function(d){d=Object.assign({},{idOrKey:a},d);ufa(a+" gotErr()",d);pya(b,a);JSON.stringify(d,null,2);c.error$.next(d)}};
var frc=function(a,b){return function(){pya(b,a)}};XA.prototype.normalize=function(a){var b=a.results.map(this.idForRecord);return new $qc(Object.assign({},tya(a),{ids:b}))};
var erc=function(a,b,c){a=b.ids.map(a.dereferenceOne(c)).filter(Boolean);return Object.assign({},tya(b),{results:a})},lrc=function(a,b){var c=krc(a,b.ids).filter(fe);return erc(a,b,c)},krc=function(a,b){return b.map(function(c){return a.memory.getData(c)})},mrc=function(a,b){b=rya(b);return sya(a.collectionsById,b,new Uqc)},drc=function(a,b){b="["+[].concat(p(b)).sort().join("-")+"]";return sya(a.setsByLabel,b,new Uqc)},crc=function(a,b){var c=new Uqc(a.isEqual),d=a.memory.getData(b);d!=null&&c.next(d);
return sya(a.valsById,b,c)};g=XA.prototype;g.watch=function(a,b){b=b===void 0?Yqc:b;if(a==null)throw Error("fc`"+a+"`"+this.recordType);typeof b==="number"&&(b=Yqc);typeof a==="number"&&(a=String(a));var c=crc(this,a);grc(this,a,b).catch(function(){});return ex(c.distinctValues$)};g.watchSet=function(a,b){b=b===void 0?Yqc:b;typeof b==="number"&&(b=Yqc);if(a.length===0)return li([]);a=a.map(function(d){return typeof d==="number"?String(d):d});var c=drc(this,a);jrc(this,a,b);return ex(c.values$)};
g.watchMany=function(a,b){b=b===void 0?Yqc:b;a=Object.assign({},this.defaultQuery,a);var c=mrc(this,a);this.getAll(a,b);return ex(c.values$)};g.peek=function(a){if(a!=null)return this.memory.getData(String(a),!0)};g.poke=function(a,b){return a==null?Promise.reject(Error("fc`"+a+"`"+this.recordType)):grc(this,String(a),b)};
var nrc=function(a,b){return b==null?Promise.resolve({results:[]}):a.getAll(Object.assign({},a.defaultQuery,b),void 0)},orc=function(a,b){return["string","number"].includes(typeof b)?a.memory.getStatus(String(b)):a.collectiveMemory.getStatus(rya(b))};XA.prototype.announce=function(a,b){b=b===void 0?{}:b;if(a!=null){var c=this.idForRecord(a);if(c==null)throw Error("gc");this.gotOne(c)(a,Object.assign({},{doNotTrack:!0},b))}};
XA.prototype.invalidate=function(a){a==null?(this.memory.cache.clear(),this.collectiveMemory.cache.clear()):["string","number"].includes(typeof a)?this.memory.cache.delete(String(a)):this.collectiveMemory.cache.delete(rya(a))};XA.prototype.manualUpdate=function(a,b,c){c=c===void 0?{}:c;if(c.evenWhenInFlight!==void 0&&c.evenWhenInFlight||!this.inFlightGets()[a])if(a=this.copy(this.memory.getData(String(a))))b(a),this.announce(a)};XA.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};
var brc=function(a,b){for(var c=l(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,a[d]==null&&delete a[d];return function(e){var f=a;f=f===void 0?{}:f;prc&&me("Fridge<"+b+">::trackEvent('"+e+"')",f)}},YA=function(){XA.apply(this,arguments);this.defaultQuery={}};Y(YA,XA);var prc=!1;var ZA=function(){YA.call(this);this.api=x(UA);this.recordType="AggregatedIssueMetadata";this.isEqual=vd;this.idForRecord=function(a){return a._rootId}};Y(ZA,YA);ZA.prototype.fetchOne=function(a){return this.api.get(a)};ZA.\u0275fac=function(a){return new (a||ZA)};ZA.\u0275prov=Dg({token:ZA,factory:ZA.\u0275fac,providedIn:"root"});var Op=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Op.messageId)};Y(Op,n);Op.prototype.getIt=function(){return r(this,kl,6,Kc)};Op.prototype.setIt=function(a){return t(this,kl,6,a,Kc)};Op.messageId="b.ContentJudgement";var Aya=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Aya,n);Aya.prototype.getContent=function(){return Oc(this,1)};Aya.prototype.setContent=function(a){return Vd(this,1,a)};Aya.prototype.getFormattedContent=function(){return r(this,Nl,2)};var Cya=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Cya,n);g=Cya.prototype;g.getIssueIdsList=function(){return Tu(this,1,1)};g.getIssueIdsList_asString=function(){return ge(this,1)};g.setIssueIdsList=function(a){return op(this,1,a)};g.addIssueIds=function(a){return bv(this,1,a)};g.setIssueIds=function(a){wc(this,1,Fb,void 0,a,Kb,void 0,1)};var $A=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y($A,n);$A.prototype.getContent=function(){return Oc(this,1)};$A.prototype.setContent=function(a){return Vd(this,1,a)};$A.prototype.getFormattedContent=function(){return r(this,Nl,2)};var qrc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(qrc,n);g=qrc.prototype;g.getContentCase=function(){return al(this,Bya)};g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getCategory=function(){return Oc(this,2)};g.setCategory=function(a){return Vd(this,2,a)};g.getSummary=function(){return Zk(this,$A,5,Bya)};g.hasSummary=function(){return Yk(this,$A,5,Bya)};
g.getAuthor=function(){return r(this,Ud,6)};g.setAuthor=function(a){t(this,Ud,6,a)};g.hasAuthor=function(){return Me(this,Ud,6)};g.getTimestamp=function(){return r(this,ue,7)};g.setTimestamp=function(a){return t(this,ue,7,a)};g.hasTimestamp=function(){return Me(this,ue,7)};var Bya=[3,4,5];var Fya=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Fya,n);g=Fya.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getCategory=function(){return Oc(this,2)};g.setCategory=function(a){return Vd(this,2,a)};g.getAttachmentId_asString=function(){return Xe(this,3)};g.setAttachmentId=function(a){return ll(this,3,a)};g.setFeedbackType=function(a){return Xd(this,4,a)};var rrc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(rrc,n);g=rrc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getAttachmentId_asString=function(){return Xe(this,2)};g.setAttachmentId=function(a){return ll(this,2,a)};g.getCategory=function(){return Oc(this,3)};g.setCategory=function(a){return Vd(this,3,a)};var src=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(src,n);g=src.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getCategory=function(){return Oc(this,3)};g.setCategory=function(a){return Vd(this,3,a)};var trc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(trc,n);g=trc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getAttachmentId_asString=function(){return Xe(this,2)};g.setAttachmentId=function(a){return ll(this,2,a)};g.getCategory=function(){return Oc(this,3)};g.setCategory=function(a){return Vd(this,3,a)};var urc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(urc,n);urc.prototype.getQuery=function(){return Oc(this,1)};urc.prototype.setQuery=function(a){return Vd(this,1,a)};urc.prototype.clearQuery=function(){Ou(this,1)};var vrc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(vrc,n);vrc.prototype.getQuery=function(){return Oc(this,1)};vrc.prototype.setQuery=function(a){return Vd(this,1,a)};vrc.prototype.clearQuery=function(){Ou(this,1)};var wrc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(wrc,n);wrc.prototype.getName=function(){return Oc(this,1)};wrc.prototype.setName=function(a){return Vd(this,1,a)};var xrc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(xrc,n);xrc.prototype.setFeedback=function(a){return t(this,Fya,1,a)};var aB=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,aB.messageId)};Y(aB,n);aB.messageId="f.mt";var yrc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(yrc,n);g=yrc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getAttachmentId_asString=function(){return Xe(this,2)};g.setAttachmentId=function(a){return ll(this,2,a)};g.getCategory=function(){return Oc(this,3)};g.setCategory=function(a){return Vd(this,3,a)};g.getContent=function(){return Oc(this,4)};
g.setContent=function(a){return Vd(this,4,a)};g.getFormattedContent=function(){return r(this,Nl,5)};g.getAuthor=function(){return r(this,Ud,6)};g.setAuthor=function(a){t(this,Ud,6,a)};g.hasAuthor=function(){return Me(this,Ud,6)};g.getTimestamp=function(){return r(this,ue,7)};g.setTimestamp=function(a){return t(this,ue,7,a)};g.hasTimestamp=function(){return Me(this,ue,7)};g.getContentVerdict=function(){return r(this,pm,8)};g.setContentVerdict=function(a){t(this,pm,8,a)};var zrc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,zrc.messageId)};Y(zrc,n);zrc.messageId="b.GetAttachmentEnrichmentResponse";var Arc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Arc,n);g=Arc.prototype;g.getName=function(){return Oc(this,1)};g.setName=function(a){return lf(this,1,a)};g.hasName=function(){return Ge(this,1)};g.getNameOrUndefined=function(){return Vu(this,1)};g.getDisplayName=function(){return Oc(this,2)};g.setDisplayName=function(a){return lf(this,2,a)};g.getDescription=function(){return Oc(this,3)};g.setDescription=function(a){return lf(this,3,a)};
g.hasDescription=function(){return Ge(this,3)};var bB=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,bB.messageId)};Y(bB,n);bB.prototype.getCategory=function(){return r(this,Arc,1,Kc)};bB.prototype.setCategory=function(a){return t(this,Arc,1,a,Kc)};bB.messageId="b.GetEnrichmentCategoryResponse";var Brc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Brc,n);var cB=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,cB.messageId)};Y(cB,n);cB.prototype.getResponse=function(){return r(this,Brc,1,Kc)};cB.prototype.getMutableResponse=function(){return Pu(this,Brc,1,Kc)};cB.messageId="b.ListAttachmentEnrichmentsResponse";var Crc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Crc,n);var dB=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,dB.messageId)};Y(dB,n);dB.prototype.getResponse=function(){return r(this,Crc,1,Kc)};dB.prototype.getMutableResponse=function(){return Pu(this,Crc,1,Kc)};dB.messageId="b.ListIssueEnrichmentsResponse";var eB=function(){this.executor=x(ey)},Drc=function(a,b){var c=(new wrc).setName(b);return a.executor.post({url:"action/enrichment_category/"+b+"/get",body:c,responseConstructor:bB}).pipe(C(function(d){return d.getCategory()}),C(zya))},Erc=function(a,b){var c="issueid:"+b;c=(new vrc).setQuery(c);return a.executor.post({url:"action/issues/"+b+"/listIssueEnrichments",body:c,responseConstructor:dB}).pipe(C(function(d){d=d.getResponse();return ie(d,qrc,1,Rd()).map(Dya)}))},Frc=function(a,b,c){var d=(new src).setIssueId(b).setCategory(c);
return a.executor.post({url:"action/issues/"+b+"/enrichments/"+c+"/delete",body:d,responseConstructor:aB}).pipe(C(function(){}))},Grc=function(a,b,c,d,e){var f={};e&&(f["X-Restricted-Content-Limit"]=String(wya(e)));e=(new trc).setIssueId(b).setAttachmentId(c).setCategory(d);return a.executor.post({url:"action/issues/"+b+"/attachments/"+c+"/categories/"+d,options:{headers:f},body:e,responseConstructor:zrc}).pipe(C(function(h){return Eya(r(h,yrc,1,Kc))}))},Hrc=function(a,b){var c="issueid:"+b;c=(new urc).setQuery(c);
return a.executor.post({url:"action/issues/"+b+"/listAttachmentEnrichments",body:c,responseConstructor:cB}).pipe(C(function(d){d=d.getResponse();return ie(d,yrc,1,Rd()).map(Eya)}))},Irc=function(a,b,c,d){var e=(new rrc).setIssueId(b).setAttachmentId(c).setCategory(d);return a.executor.post({url:"action/issues/"+b+"/attachments/"+c+"/enrichments/"+d+"/delete",body:e,responseConstructor:aB}).pipe(C(function(){}))};
eB.prototype.submitEnrichmentFeedback=function(a){var b=(new xrc).setFeedback(Hya(a));return this.executor.post({url:"action/issues/"+a.issueId+"/submitEnrichmentFeedback",body:b,responseConstructor:aB}).pipe(C(function(){}))};eB.\u0275fac=function(a){return new (a||eB)};eB.\u0275prov=Dg({token:eB,factory:eB.\u0275fac,providedIn:"root"});var fB=function(){YA.call(this);this.api=x(eB);this.recordType="AttachmentEnrichmentsForIssue";this.idForRecord=function(a){return a.issueId};this.isEqual=vd};Y(fB,YA);fB.prototype.fetchOne=function(a){return Hrc(this.api,a).pipe(C(function(b){return{issueId:a,enrichments:b}}))};fB.\u0275fac=function(a){return new (a||fB)};fB.\u0275prov=Dg({token:fB,factory:fB.\u0275fac,providedIn:"root"});var rn=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(rn,n);g=rn.prototype;g.getSavedSearchId=function(){return Re(this,1)};g.getSavedSearchId_asString=function(){return Xe(this,1)};g.setSavedSearchId=function(a){return ll(this,1,a)};g.getName=function(){return Oc(this,2)};g.setName=function(a){return Vd(this,2,a)};g.getDescription=function(){return Oc(this,3)};g.setDescription=function(a){return Vd(this,3,a)};g.getQuery=function(){return Oc(this,4)};
g.setQuery=function(a){return Vd(this,4,a)};g.clearQuery=function(){Ou(this,4)};g.getDefaultOrderBy=function(){return Oc(this,5)};g.setDefaultOrderBy=function(a){return Vd(this,5,a)};g.getDisplayPreferences=function(){return r(this,jm,6)};g.setDisplayPreferences=function(a){return t(this,jm,6,a)};g.getOwnersList=function(){return ie(this,Ud,7,Rd())};g.setOwnersList=function(a){return Ol(this,7,a)};var tn=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(tn,n);g=tn.prototype;g.getHotlistId=function(){return Re(this,1)};g.setHotlistId=function(a){return ll(this,1,a)};g.getHotlist=function(){return r(this,im,2)};g.setHotlist=function(a){return t(this,im,2,a)};g.hasHotlist=function(){return Me(this,im,2)};var vn=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(vn,n);g=vn.prototype;g.getSavedSearchId=function(){return Re(this,1)};g.getSavedSearchId_asString=function(){return Xe(this,1)};g.setSavedSearchId=function(a){return ll(this,1,a)};g.getSavedSearch=function(){return r(this,rn,2)};g.setSavedSearch=function(a){return t(this,rn,2,a)};g.hasSavedSearch=function(){return Me(this,rn,2)};var wn=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(wn,n);wn.prototype.getBookmarkGroupId_asString=function(){return Xe(this,1)};wn.prototype.setBookmarkGroupId=function(a){return ll(this,1,a)};wn.prototype.getBookmarkGroup=function(){return r(this,xn,2)};wn.prototype.setBookmarkGroup=function(a){return t(this,xn,2,a)};var un=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(un,n);g=un.prototype;
g.getHotlist=function(){return Zk(this,tn,1,sn)};g.setHotlist=function(a){return Bl(this,1,sn,a)};g.hasHotlist=function(){return Yk(this,tn,1,sn)};g.getSavedSearch=function(){return Zk(this,vn,2,sn)};g.setSavedSearch=function(a){return Bl(this,2,sn,a)};g.hasSavedSearch=function(){return Yk(this,vn,2,sn)};g.getBookmarkGroup=function(){return Zk(this,wn,3,sn)};g.setBookmarkGroup=function(a){return Bl(this,3,sn,a)};var xn=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};
Y(xn,n);g=xn.prototype;g.getBookmarkGroupId_asString=function(){return Xe(this,1)};g.setBookmarkGroupId=function(a){return ll(this,1,a)};g.getName=function(){return Oc(this,2)};g.setName=function(a){return Vd(this,2,a)};g.getDescription=function(){return Oc(this,3)};g.setDescription=function(a){return Vd(this,3,a)};g.getArchived=function(){return De(this,4)};g.setArchived=function(a){return Dl(this,4,a)};g.addItems=function(a,b){return rm(this,5,un,a,b)};g.setItems=function(a){Nu(this,5,un,a)};
g.removeItems=function(a){return Qu(this,5,un,a)};g.getOwnersList=function(){return ie(this,Ud,6,Rd())};g.setOwnersList=function(a){return Ol(this,6,a)};var sn=[1,2,3];var gB=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,gB.messageId)};Y(gB,n);gB.prototype.getIt=function(){return r(this,xn,10,Kc)};gB.prototype.setIt=function(a){return t(this,xn,10,a,Kc)};gB.messageId="b.BookmarkGroup";var Jrc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Jrc.messageId)};Y(Jrc,n);Jrc.messageId="b.BookmarkGroupListResponse";var hB=function(){this.executor=x(fy)};hB.prototype.get=function(a){return this.executor.get({url:"action/bookmark_groups/"+a,responseConstructor:gB}).then(Qya)};hB.prototype.query=function(a){return this.executor.get({url:"action/bookmark_groups",options:{params:{q:a}},responseConstructor:Jrc}).then(Rya)};hB.prototype.create=function(a){a=(new gB).setIt((new xn).setName(a.name).setDescription(a.description));return this.executor.post({url:"action/bookmark_groups",body:a,responseConstructor:gB}).then(Qya)};
hB.prototype.update=function(a){var b=(new gB).setIt(Mya(a));return this.executor.post({url:"action/bookmark_groups/"+a.bookmarkGroupId,body:b,responseConstructor:gB}).then(Qya)};hB.\u0275fac=function(a){return new (a||hB)};hB.\u0275prov=Dg({token:hB,factory:hB.\u0275fac,providedIn:"root"});var iB=function(){YA.call(this,{freshUntil:3E5});this.bookmarkGroupApi=x(hB);this.recordType="bookmarkGroup";this.idForRecord=function(a){return String(a.bookmarkGroupId)}};Y(iB,YA);iB.prototype.fetchOne=function(a){var b=this;return wi(function(){return b.bookmarkGroupApi.get(a)})};iB.prototype.fetchSet=function(a){var b=this;return si(a.map(function(c){return b.fetchOne(c)}))};iB.\u0275fac=function(a){return new (a||iB)};iB.\u0275prov=Dg({token:iB,factory:iB.\u0275fac,providedIn:"root"});var Krc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Krc.messageId)};Y(Krc,n);g=Krc.prototype;g.getAuthor=function(){return Oc(this,1,void 0,Kc)};g.setAuthor=function(a){lf(this,1,a,Kc)};g.hasAuthor=function(){return Ge(this,1,Kc)};g.getDescription=function(){return Oc(this,2,void 0,Kc)};g.setDescription=function(a){return lf(this,2,a,Kc)};g.hasDescription=function(){return Ge(this,2,Kc)};g.getPending=function(){return De(this,3,void 0,Kc)};
g.getTimestamp=function(){return Re(this,4,void 0,Kc)};g.setTimestamp=function(a){return Ze(this,4,a,void 0,Kc)};g.hasTimestamp=function(){return Qe(this,4,Kc)};Krc.messageId="b.ChangelistDetailsResponse";var jB=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(jB,n);g=jB.prototype;g.getIssueIdsList=function(){return Tu(this,1,1)};g.getIssueIdsList_asString=function(){return ge(this,1)};g.setIssueIdsList=function(a){return tc(this,1,a,Fb)};g.addIssueIds=function(a){return wc(this,1,Fb,a,void 0,Mb)};g.setIssueIds=function(a){Tec(this,1,a)};var Lrc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Lrc.messageId)};Y(Lrc,n);g=Lrc.prototype;g.getQuery=function(){return r(this,jB,1,Kc)};g.setQuery=function(a){return t(this,jB,1,a,Kc)};g.clearQuery=function(){Ou(this,1,Kc)};g.hasQuery=function(){return Me(this,jB,1,Kc)};g.getNextPageToken=function(){return Oc(this,2,void 0,Kc)};Lrc.messageId="b.ListChangelistsRequest";var Tya=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Tya,n);g=Tya.prototype;g.getAuthor=function(){return Oc(this,1)};g.setAuthor=function(a){lf(this,1,a)};g.hasAuthor=function(){return Ge(this,1)};g.getChangelistNumber=function(){return Pd(this,2)};g.getPending=function(){return De(this,3)};g.getTimestamp=function(){return r(this,ue,4)};g.setTimestamp=function(a){return t(this,ue,4,a)};g.hasTimestamp=function(){return Me(this,ue,4)};
g.getIssueIdsList=function(){return Tu(this,5,1)};g.getIssueIdsList_asString=function(){return ge(this,5)};g.setIssueIdsList=function(a){return tc(this,5,a,Fb)};g.addIssueIds=function(a){return wc(this,5,Fb,a,void 0,Mb)};g.setIssueIds=function(a){Tec(this,5,a)};var Mrc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Mrc.messageId)};Y(Mrc,n);Mrc.prototype.getNextPageToken=function(){return Oc(this,2,void 0,Kc)};Mrc.messageId="b.ListChangelistsResponse";var Nrc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Nrc.messageId)};Y(Nrc,n);Nrc.messageId="b.PendingChangelistsResponse";var kB=function(){this.executor=x(ey)};kB.prototype.getPendingChangelistsForIssue=function(a){return this.executor.get({url:"action/issues/"+a+"/pending_changelists",responseConstructor:Nrc}).pipe(C(Sya))};kB.prototype.getChangelistDetails=function(a){return this.executor.get({url:"/action/changelists/"+a,responseConstructor:Krc}).pipe(C(Wya))};
var Orc=function(a,b){var c=new Lrc,d=c.setQuery;b=(new jB).setIssueIdsList(b);b=mf(b,2,2);c=d.call(c,b);return a.executor.post({url:"action/changelists/list",body:c,responseConstructor:Mrc}).pipe(C(Vya))};kB.\u0275fac=function(a){return new (a||kB)};kB.\u0275prov=Dg({token:kB,factory:kB.\u0275fac,providedIn:"root"});var lB=function(){this.changelistResources=x(kB)};lB.prototype.getPendingChangelistsForIssue=function(a){return pi(this.changelistResources.getPendingChangelistsForIssue(a))};
lB.prototype.getChangelistDetails=function(a){return pi(this.changelistResources.getChangelistDetails(a))};lB.\u0275fac=function(a){return new (a||lB)};lB.\u0275prov=Dg({token:lB,factory:lB.\u0275fac,providedIn:"root"});var mB=function(){XA.call(this);this.api=x(kB);this.defaultQuery={};this.recordType="Changelist";this.idForRecord=function(a){return String(a.changelistNumber)}};Y(mB,XA);mB.prototype.fetchAll=function(a){if(a=a.pendingForIssues)return a.length===0?li({results:[]}):Orc(this.api,a).pipe(C(function(b){var c;return{results:(c=b.changelists)!=null?c:[]}}));throw Error("jc");};mB.\u0275fac=function(a){return new (a||mB)};mB.\u0275prov=Dg({token:mB,factory:mB.\u0275fac,providedIn:"root"});var nB=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,nB.messageId)};Y(nB,n);nB.prototype.getIt=function(){return r(this,il,2,Kc)};nB.prototype.setIt=function(a){return t(this,il,2,a,Kc)};nB.messageId="b.AccessLimit";var oB=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,oB.messageId)};Y(oB,n);oB.prototype.getIt=function(){return r(this,wnc,13,Kc)};oB.prototype.setIt=function(a){return t(this,wnc,13,a,Kc)};oB.messageId="b.AccessPolicy";var Prc={ISSUE_ID:"issueId",ATTACHMENT_ID:"attachmentId",COMPONENT_ID:"componentId",GROUP_ID:"groupId",HOTLIST_ID:"hotlistId",SAVED_SEARCH_ID:"savedSearchId",SLO_ID:"sloId",TEAM_ID:"teamId",TRIAGE_ID:"triageId",SETTINGS_TAB:"settingsTab"},Hq={home:{routeDeclarationPath:"home",makeHref:function(){return"/home"}},viewDashboard:{routeDeclarationPath:"dashboard/:groupId",makeHref:function(a){return"/dashboard/"+a}},triageSettings:{routeDeclarationPath:"triage",makeHref:function(){return"/triage"}},viewTriageDashboard:{routeDeclarationPath:"teams/:teamId/triage/:triageId/dashboard",
makeHref:function(a,b){return"/teams/"+a+"/triage/"+b+"/dashboard"}},viewIssueThemes:{routeDeclarationPath:"teams/:teamId/triage/:triageId/issue-themes",makeHref:function(a,b){return"/teams/"+a+"/triage/"+b+"/issue-themes"}},viewTriage:{routeDeclarationPath:"teams/:teamId/triage/:triageId/:phase/:subphase",makeHref:function(a,b,c,d){return"/teams/"+a+"/triage/"+b+"/"+(c===void 0?"new":c)+"/"+(d===void 0?"all":d)}},createSlo:{routeDeclarationPath:"slos/new",makeHref:function(){return"/slos/new"}},
viewSlo:{routeDeclarationPath:"slos/:sloId",makeHref:function(a){return"/slos/"+a}},editSlo:{routeDeclarationPath:"slos/:sloId/edit",makeHref:function(a){return"/slos/"+a+"/edit"}},listSlos:{routeDeclarationPath:"slos",makeHref:function(){return"/slos"}},listHotlists:{routeDeclarationPath:"hotlists",makeHref:function(){return"/hotlists"}},createHotlist:{routeDeclarationPath:"hotlists/new",makeHref:function(){return"/hotlists/new"}},viewHotlist:{routeDeclarationPath:"hotlists/:hotlistId",makeHref:function(a){return"/hotlists/"+
a}},editHotlist:{routeDeclarationPath:"hotlists/:hotlistId/edit",makeHref:function(a){return"/hotlists/"+a+"/edit"}},viewIssue:{routeDeclarationPath:"issues/:issueId",makeHref:function(a){return"/issues/"+a}},listIssues:{routeDeclarationPath:"issues",makeHref:function(a){return a==null?"/issues":"/issues?"+cza(a)}},listIssuesRecent:{routeDeclarationPath:"recent",makeHref:function(){return"/recent"}},createIssue:{routeDeclarationPath:"issues/new",makeHref:function(a){return a==null?"/issues/new":"/issues/new?"+
cza(a)}},createIssueChromeWizard:{routeDeclarationPath:"issues/wizard",makeHref:function(){return"/issues/wizard"}},issueDependencies:{makeHref:function(a){return"/issues/"+a+"/dependencies"}},createComponent:{routeDeclarationPath:"components/new",makeHref:function(a){return a==null?"/components/new":"/components/new?"+cza({parentId:a})}},editComponent:{routeDeclarationPath:"components/:componentId/edit",makeHref:function(a){return"/components/"+a+"/edit"}},editComponentAccess:{routeDeclarationPath:"components/:componentId/edit#access",
makeHref:function(a){return"/components/"+a+"/edit#access"}},editComponentFields:{routeDeclarationPath:"components/:componentId/edit#customFields",makeHref:function(a){return"/components/"+a+"/edit#customFields"}},editComponentTemplates:{routeDeclarationPath:"components/:componentId/edit#templates",makeHref:function(a){return"/components/"+a+"/edit#templates"}},editComponentFieldConfigurations:{routeDeclarationPath:"components/:componentId/edit#fieldVisibility",makeHref:function(a){return"/components/"+
a+"/edit#fieldVisibility"}},listComponentsGlobal:{routeDeclarationPath:"components/all",makeHref:function(){return"/components/all"}},listComponents:{routeDeclarationPath:"components",makeHref:function(){return"/components"}},editTeam:{routeDeclarationPath:"teams/:teamId/edit",makeHref:function(a,b){return"/teams/"+a+"/edit#"+b}},createBookmarkGroup:{routeDeclarationPath:"bookmark-groups/new",makeHref:function(){return"/bookmark-groups/new"}},viewBookmarkGroup:{routeDeclarationPath:"bookmark-groups/:groupId",
makeHref:function(a){return"/bookmark-groups/"+a}},editBookmarkGroup:{routeDeclarationPath:"bookmark-groups/:groupId/edit",makeHref:function(a){return"/bookmark-groups/"+a+"/edit"}},viewSavedSearch:{routeDeclarationPath:"savedsearches/:savedSearchId",makeHref:function(a){return"/savedsearches/"+a}},editSavedSearch:{routeDeclarationPath:"savedsearches/:savedSearchId/edit",makeHref:function(a){return"/savedsearches/"+a+"/edit"}},settings:{routeDeclarationPath:"settings",makeHref:function(){return"/settings"}},
settingsTab:{routeDeclarationPath:"settings/:settingsTab?",makeHref:function(a){return"/settings/"+a}},viewAttachment:{routeDeclarationPath:"viewattachment/:issueId/:attachmentId",makeHref:function(a,b,c){return"/viewattachment/"+a+"/"+b+"?"+cza({mimeType:c})}}};var Qrc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Qrc.messageId)};Y(Qrc,n);Qrc.messageId="b.CheckPermissionResponse";var pB=function(){this.executor=x(ey)};g=pB.prototype;g.get=function(a,b){a=qn(Bn(a,b));return this.executor.get({url:"action/access_policies/"+a,responseConstructor:oB}).pipe(C(Zya))};
g.update=function(a,b,c){a=qn(Bn(a,b));var d;b=new oB;var e=b.setIt;c=Object.assign({},c,{implicitAccess:(d=c.implicitAccess)!=null?d:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null});var f,h,k,q,u,A;d=new wnc;var D=((f=c.admins)!=null?f:[]).map(gl);f=Ol(d,2,D).setAppendersList(((h=c.appenders)!=null?h:[]).map(gl));h=((k=c.editors)!=null?k:[]).map(gl);k=Ol(f,4,h).setReadersList(((q=c.readers)!=null?q:[]).map(gl));q=((u=c.restrictedReaders)!=null?u:[]).map(gl);
u=Ol(k,11,q);q=((A=c.restrictedPlusReaders)!=null?A:[]).map(gl);A=Ol(u,12,q);if(c.implicitAccess){u=A.setImplicitAccess;a:switch(c.implicitAccess){case "IMPLICIT_ACCESS_UNSPECIFIED":c=0;break a;case "ALLOW":c=1;break a;case "DENY":c=2;break a;default:throw Error("tb");}u.call(A,c)}b=e.call(b,A);return this.executor.post({url:"action/access_policies/"+a,body:b,responseConstructor:oB}).pipe(C(Zya))};
g.checkPermission=function(a,b,c,d){a=qn(a.join(","));b=qn(b);c=qn(Bn(c,d));return this.executor.get({url:"action/check_permission/"+a+"/"+b+"/"+c,responseConstructor:Qrc}).pipe(C(Yya))};g.setAccessLimit=function(a,b,c){a=qn(Bn(a,b));c=(new nB).setIt(Bta(c));return this.executor.post({url:"action/access_limits/"+a,body:c,responseConstructor:nB}).pipe(C(Xya))};g.checkComponentImplicitAccessEnabled=function(a){return this.get("COMPONENT",a).pipe(C(function(b){return b.implicitAccess==="ALLOW"}))};
pB.\u0275fac=function(a){return new (a||pB)};pB.\u0275prov=Dg({token:pB,factory:pB.\u0275fac,providedIn:"root"});var qB=function(){this.observableApi=x(pB)};g=qB.prototype;g.get=function(a,b){return pi(this.observableApi.get(a,b))};g.update=function(a,b,c){return pi(this.observableApi.update(a,b,c))};g.checkPermission=function(a,b,c,d){return pi(this.observableApi.checkPermission(a,b,c,d))};g.setAccessLimit=function(a,b,c){return pi(this.observableApi.setAccessLimit(a,b,c))};
g.checkComponentImplicitAccessEnabled=function(a){return pi(this.observableApi.checkComponentImplicitAccessEnabled(a))};qB.\u0275fac=function(a){return new (a||qB)};qB.\u0275prov=Dg({token:qB,factory:qB.\u0275fac,providedIn:"root"});var rB=function(){YA.call(this);this.accessPolicyApi=x(pB);this.recordType="componentAccessPolicy";this.isEqual=vd;this.idForRecord=function(a){return a.id}};Y(rB,YA);rB.prototype.fetchOne=function(a){return this.accessPolicyApi.get("COMPONENT",a).pipe(C(function(b){return Object.assign({},{id:a},b)}),cj(function(){return li(void 0)}))};rB.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("COMPONENT",b,a).pipe(C(function(c){return Object.assign({},{id:b},c)}))};
rB.\u0275fac=function(a){return new (a||rB)};rB.\u0275prov=Dg({token:rB,factory:rB.\u0275fac,providedIn:"root"});var sB=function(){};sB.prototype.adapt=function(a){var b,c=new Rrc(a.call.bind(a),a.split.bind(a),(b=a.bufferTimeMs)!=null?b:500,a.maxBatchSize||100);return c.get.bind(c)};sB.\u0275fac=function(a){return new (a||sB)};sB.\u0275prov=Dg({token:sB,factory:sB.\u0275fac,providedIn:"root"});
var Rrc=function(a,b,c,d){var e=this;this.batchCall=a;this.batchSplit=b;this.bufferTimeMs=c;this.maxBatchSize=d;this.inputSubject=new oj;this.inputs$=this.inputSubject.pipe(Hpa(this.inputSubject.pipe(Gpa(this.bufferTimeMs,xp))));this.removeDuplicates=C(function(f){return[].concat(p(new Set(f)))});this.limitInputSize=C(function(f){for(var h=l(f.slice(e.maxBatchSize)),k=h.next();!k.done;k=h.next())e.inputSubject.next(k.value);return new Set(f.slice(0,e.maxBatchSize))});this.makeBatchCalls=ai(ti(function(f){try{return e.batchCall(f).pipe(hj(1),
C(function(h){return{inputs:f,batchResponse:h,error:void 0}}),cj(function(h){return li({inputs:f,batchResponse:void 0,error:h})}))}catch(h){return li({inputs:f,batchResponse:void 0,error:h})}}),aqa());this.batchResults$=this.inputs$.pipe(this.removeDuplicates,this.limitInputSize,this.makeBatchCalls)};
Rrc.prototype.get=function(a){var b=this;return new bi(function(c){c=b.batchResults$.pipe(Di(function(d){return d.inputs.has(a)}),hj(1),C(function(d){if(!d.error&&d.batchResponse)return b.batchSplit(a,d.batchResponse);throw d.error;})).subscribe(c);b.inputSubject.next(a);return c})};var Hn=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Hn,n);Hn.prototype.getFieldId=function(){return r(this,tl,1)};Hn.prototype.setFieldId=function(a){return t(this,tl,1,a)};var Cn=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Cn,n);Cn.prototype.getFieldId=function(){return r(this,tl,1)};Cn.prototype.setFieldId=function(a){return t(this,tl,1,a)};Cn.prototype.getState=function(){return Zd(this,2)};Cn.prototype.setState=function(a){return Xd(this,2,a)};var fza=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(fza,n);var kza=function(a,b){return np(a,1,b)};fza.prototype.getIssueTypes=function(){return Pec(this,1)};var Src=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Src,n);var Dn=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Dn,n);g=Dn.prototype;g.getName=function(){return Oc(this,1)};g.setName=function(a){return Vd(this,1,a)};g.getComponentId=function(){return Re(this,2)};g.getComponentId_asString=function(){return Xe(this,2)};g.setComponentId=function(a){return ll(this,2,a)};var iza=function(a,b){return Ol(a,3,b)},lza=function(a){var b=new Src;Bl(a,4,gza,b)},jza=function(a,b){Bl(a,5,gza,b)},gza=[4,5];var Gn=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Gn,n);g=Gn.prototype;g.getInherit=function(){return De(this,1)};g.setInherit=function(a){return Dl(this,1,a)};g.getId=function(){return Re(this,2)};g.getId_asLegacyNumberOrString=function(){return gm(this,2)};g.getId_asString=function(){return Xe(this,2)};g.setId=function(a){return ll(this,2,a)};var Fn=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Fn,n);g=Fn.prototype;g.getInherit=function(){return De(this,1)};g.setInherit=function(a){return Dl(this,1,a)};g.getId=function(){return Re(this,2)};g.getId_asLegacyNumberOrString=function(){return gm(this,2)};g.getId_asString=function(){return Xe(this,2)};g.setId=function(a){return ll(this,2,a)};g.getSourceTeamId_asString=function(){return Xe(this,4)};g.setSourceTeamId=function(a){ll(this,4,a)};
g.getComment=function(){return Oc(this,3)};g.setComment=function(a){return Vd(this,3,a)};var En=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(En,n);g=En.prototype;g.getVersion=function(){return Pd(this,1)};g.setVersion=function(a){return se(this,1,a)};g.getSlo=function(){return r(this,Fn,2)};g.setSlo=function(a){return t(this,Fn,2,a)};g.hasSlo=function(){return Me(this,Fn,2)};g.getEscalationOwner=function(){return r(this,Ud,6)};g.setEscalationOwner=function(a){t(this,Ud,6,a)};g.getDefaultEscalationOwner=function(){return r(this,Ud,7)};
g.setInheritEscalationOwner=function(a){Dl(this,8,a)};var oza=[9,10];var qza=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(qza,n);g=qza.prototype;g.getUser=function(){return r(this,Ud,1)};g.setUser=function(a){return t(this,Ud,1,a)};g.hasUser=function(){return Me(this,Ud,1)};g.getIsLead=function(){return De(this,2)};g.setIsLead=function(a){return Dl(this,2,a)};var tB=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(tB,n);g=tB.prototype;g.getId=function(){return Re(this,1)};g.getId_asLegacyNumberOrString=function(){return gm(this,1)};g.getId_asString=function(){return Xe(this,1)};g.setId=function(a){return ll(this,1,a)};g.getPathIdsList_asString=function(){return ge(this,2)};g.setPathIdsList=function(a){return op(this,2,a)};g.getName=function(){return Oc(this,3)};g.setName=function(a){return Vd(this,3,a)};
g.getPathNamesList=function(a){return Qd(this,4,Rd(a))};g.setPathNamesList=function(a){return Wd(this,4,a)};g.getMembersList=function(){return ie(this,qza,6,Rd())};g.setMembersList=function(a){return Ol(this,6,a)};g.getDescription=function(){return Oc(this,8)};g.setDescription=function(a){return Vd(this,8,a)};var vza=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(vza,n);g=vza.prototype;g.getTeamId=function(){return Re(this,1)};g.getTeamId_asLegacyNumberOrString=function(){return gm(this,1)};g.getTeamId_asString=function(){return Xe(this,1)};g.setTeamId=function(a){return ll(this,1,a)};g.getScore=function(){return wl(this,2)};g.setScore=function(a){return Vl(this,2,a)};var In=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(In,n);In.prototype.getComponentPathNames=function(a){return Xu(this,2,a)};In.prototype.getFieldConfigsV2List=function(){return ie(this,Dn,6,Rd())};In.prototype.setFieldConfigsV2List=function(a){return Ol(this,6,a)};var Ln=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ln,n);g=Ln.prototype;g.getComponentId=function(){return Re(this,2)};g.getComponentId_asString=function(){return Xe(this,2)};g.setComponentId=function(a){return ll(this,2,a)};g.getName=function(){return Oc(this,4)};g.setName=function(a){return Vd(this,4,a)};g.getDescription=function(){return Oc(this,5)};g.setDescription=function(a){return Vd(this,5,a)};g.getIsArchived=function(){return De(this,8)};
g.setIsArchived=function(a){return Dl(this,8,a)};g.getAccessLimit=function(){return r(this,il,9)};g.setAccessLimit=function(a){return t(this,il,9,a)};g.setCommentEditState=function(a){return Xd(this,10,a)};g.getSlo=function(){return r(this,Sl,13)};g.setSlo=function(a){return t(this,Sl,13,a)};g.hasSlo=function(){return Me(this,Sl,13)};g.getTeam=function(){return r(this,Gn,16)};g.setTeam=function(a){t(this,Gn,16,a)};g.hasTeam=function(){return Me(this,Gn,16)};
g.getEffortSpec=function(){return r(this,El,18)};g.getTeamSuggestionsList=function(){return ie(this,vza,19,Rd())};g.setTeamSuggestionsList=function(a){Ol(this,19,a)};g.getTrackerId=function(){return Re(this,20)};g.getTrackerId_asString=function(){return Xe(this,20)};g.setTrackerId=function(a){ll(this,20,a)};var Kza=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Kza,n);g=Kza.prototype;g.getComponentId=function(){return Re(this,2)};g.getComponentId_asString=function(){return Xe(this,2)};g.setComponentId=function(a){return ll(this,2,a)};g.getTemplateId=function(){return Re(this,3)};g.setTemplateId=function(a){return ll(this,3,a)};g.getName=function(){return Oc(this,4)};g.setName=function(a){return Vd(this,4,a)};g.getDescription=function(){return Oc(this,5)};
g.setDescription=function(a){return Vd(this,5,a)};g.getIssueState=function(){return r(this,dm,6)};g.setIssueState=function(a){return t(this,dm,6,a)};g.getComment=function(){return Oc(this,7)};g.setComment=function(a){return Vd(this,7,a)};g.getFormattingMode=function(){return Zd(this,8)};g.setFormattingMode=function(a){return Xd(this,8,a)};var uB=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(uB,n);uB.prototype.getComponentId=function(){return Re(this,2)};uB.prototype.getComponentId_asString=function(){return Xe(this,2)};uB.prototype.setComponentId=function(a){return ll(this,2,a)};var Mn=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Mn.messageId)};Y(Mn,n);Mn.prototype.getIt=function(){return r(this,Ln,28,Kc)};Mn.prototype.setIt=function(a){return t(this,Ln,28,a,Kc)};Mn.messageId="b.Component";var vB=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,vB.messageId)};Y(vB,n);vB.prototype.getIt=function(){return r(this,uB,1,Kc)};vB.prototype.setIt=function(a){return t(this,uB,1,a,Kc)};vB.messageId="b.ListPopularRoutingComponentsRequest";var Nn=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Nn,n);Nn.prototype.getIt=function(){return r(this,Kza,7)};Nn.prototype.setIt=function(a){return t(this,Kza,7,a)};var Trc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Trc.messageId)};Y(Trc,n);Trc.messageId="b.UpdateComponentSloRequest";var Urc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Urc.messageId)};Y(Urc,n);Urc.messageId="b.UpdateComponentTeamRequest";var Vrc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Vrc.messageId)};Y(Vrc,n);Vrc.prototype.setComponent=function(a){return t(this,Mn,1,a,Kc)};Vrc.messageId="b.CreateComponentResponse";var Wrc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Wrc.messageId)};Y(Wrc,n);Wrc.prototype.setComponent=function(a,b){return Nu(this,1,Mn,a,b,Kc)};Wrc.messageId="b.ListComponentsResponse";var Xrc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Xrc,n);Xrc.prototype.getComponentsList=function(){return ie(this,Ln,1,Rd())};var wB=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,wB.messageId)};Y(wB,n);wB.prototype.getIt=function(){return r(this,Xrc,1,Kc)};wB.prototype.setIt=function(a){return t(this,Xrc,1,a,Kc)};wB.messageId="b.ListPopularRoutingComponentsResponse";var Pza=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Pza,n);Pza.prototype.getComponentPath=function(){return Oc(this,1)};var Yrc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Yrc.messageId)};Y(Yrc,n);Yrc.messageId="b.SubcomponentsResponse";var xB=function(){this.executor=x(ey);this.activeSession=x(Ks)};g=xB.prototype;g.get=function(a){return this.query({id:[a]}).pipe(C(function(b){return b.length?b[0]:null}))};g.getChildren=function(a,b){a={parentId:a};if(b===void 0?0:b)a.includearchived=!0;return this.query(a)};g.getDescendants=function(a){return this.executor.get({url:"action/components/"+a+"/descendants",responseConstructor:Yrc}).pipe(C(Qza))};
g.getPopularRoutingTargets=function(a){var b=this.executor,c=b.post;a=(new vB).setIt((new uB).setComponentId(a));return c.call(b,{url:"/action/components/popular_targets",body:a,responseConstructor:wB}).pipe(C(Nza))};g.fetchComponent=function(a){return this.executor.get({url:"action/components/"+a,responseConstructor:Mn}).pipe(C(Kn))};
g.query=function(a){var b={};a.id&&(b.id=a.id);a.parentId&&(b.parentId=a.parentId);a.query&&(b.query=a.query);a.includearchived&&(b.includearchived="true");var c;(a=(c=this.activeSession.getTracker())==null?void 0:c.trackerId)&&(b.currentTrackerId=a);return this.executor.get({url:"action/components",options:{params:b},responseConstructor:Wrc}).pipe(C(Mza))};
g.create=function(a){a=Fza(a);return this.executor.post({url:"action/components",body:a,responseConstructor:Vrc}).pipe(C(function(b){return Kn(r(b,Mn,1,Kc))}))};
g.update=function(a){var b=a.componentId,c=new Mn,d=c.setIt,e=(new Ln).setComponentId(a.componentId);e=ll(e,3,a.parentComponentId).setName(a.name).setDescription(a.description).setIsArchived(a.archived);if(a.componentPathInfo){var f=a.componentPathInfo,h=new In;f.componentPathId&&op(h,1,f.componentPathId);if(f.componentPathName){var k=f.componentPathName.map(String);Wd(h,2,k)}f.allCustomField&&(f=f.allCustomField.map(nua),Ol(h,5,f));t(e,In,7,h)}a.accessLimit&&e.setAccessLimit(Bta(a.accessLimit));
a.commentEditState&&e.setCommentEditState(a.commentEditState==="ENABLED"?1:2);ll(e,6,String(a.defaultTemplateId));a.slo&&e.setSlo(Lua(a.slo));a.retentionSettings&&(h=Sta(a.retentionSettings),t(e,ol,15,h));a.fieldOrdering&&Xd(e,17,Whc[a.fieldOrdering]);a.effortSpec&&(h=vua(a.effortSpec),t(e,El,18,h));a.team&&e.setTeam(tza(a.team));var q;e.setTeamSuggestionsList(((q=a.teamSuggestions)!=null?q:[]).map(wza));a.spamProtection!=="SPAM_PROTECTION_UNSPECIFIED"&&Xd(e,21,yza(a.spamProtection));a=d.call(c,e);
return this.executor.post({url:"action/components/"+b,body:a,responseConstructor:Mn}).pipe(C(Kn))};g.move=function(a,b){return this.executor.post({url:"action/components/"+a+"/move",body:null,options:{params:{parentId:b}},responseConstructor:Mn}).pipe(C(Kn))};g.updateSlo=function(a,b){var c=new Trc;b=Lua(b);c=t(c,Sl,2,b,Kc);return this.executor.post({url:"action/components/"+a+"/updateSlo",body:c,responseConstructor:Mn}).pipe(C(Kn))};
g.updateTeam=function(a,b){var c=new Urc;b=tza(Object.assign({},b));c=t(c,Gn,2,b,Kc);return this.executor.post({url:"action/components/"+a+"/updateTeam",body:c,responseConstructor:Mn}).pipe(C(Kn))};xB.\u0275fac=function(a){return new (a||xB)};xB.\u0275prov=Dg({token:xB,factory:xB.\u0275fac,providedIn:"root"});var yB=function(){this.observableApi=x(xB)};g=yB.prototype;g.get=function(a){return pi(this.observableApi.get(a))};
g.getChildren=function(a,b){return pi(this.observableApi.getChildren(a,b===void 0?!1:b))};g.getDescendants=function(a){return pi(this.observableApi.getDescendants(a))};g.getPopularRoutingTargets=function(a){return pi(this.observableApi.getPopularRoutingTargets(a))};g.fetchComponent=function(a){return pi(this.observableApi.fetchComponent(a))};g.query=function(a){return pi(this.observableApi.query(a))};g.create=function(a){return pi(this.observableApi.create(a))};g.update=function(a){return pi(this.observableApi.update(a))};
g.move=function(a,b){return pi(this.observableApi.move(a,b))};g.updateSlo=function(a,b){return pi(this.observableApi.updateSlo(a,b))};g.updateTeam=function(a,b){return pi(this.observableApi.updateTeam(a,b))};yB.\u0275fac=function(a){return new (a||yB)};yB.\u0275prov=Dg({token:yB,factory:yB.\u0275fac,providedIn:"root"});var AB=function(){YA.call(this,{freshUntil:12E4,ancientAfter:6048E5});this.batchedComponentApi=x(zB);this.recordType="component";this.idForRecord=function(a){return a.componentId}};Y(AB,YA);AB.prototype.fetchOne=function(a){return a==="0"?li(void 0):this.batchedComponentApi.get(a).pipe(cj(function(){return li(void 0)}))};AB.prototype.fetchSet=function(a){var b=this;return si(a.map(function(c){return b.fetchOne(c)})).pipe(C(function(c){return c.filter(fe)}))};
AB.\u0275fac=function(a){return new (a||AB)};AB.\u0275prov=Dg({token:AB,factory:AB.\u0275fac,providedIn:"root"});var zB=function(){var a=this;this.observableComponentApi=x(xB);this.batchApiAdapter=x(sB);this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(b){return a.call(b)},split:function(b,c){return a.splitBatch(b,c)}})};
zB.prototype.call=function(a){return a.size===1?this.observableComponentApi.fetchComponent([].concat(p(a))[0]).pipe(C(function(b){return new Map(b?[[b.componentId,b]]:[])})):this.observableComponentApi.query({id:[].concat(p(a))}).pipe(C(function(b){return new Map(b.map(function(c){return[c.componentId,c]}))}))};zB.prototype.splitBatch=function(a,b){return b.get(a)};zB.\u0275fac=function(a){return new (a||zB)};zB.\u0275prov=Dg({token:zB,factory:zB.\u0275fac,providedIn:"root"});var Zrc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Zrc.messageId)};Y(Zrc,n);Zrc.messageId="b.ListTemplatesResponse";var BB=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,BB.messageId)};Y(BB,n);BB.messageId="b.TemplateResponse";var CB=function(){this.executor=x(ey)};g=CB.prototype;g.get=function(a,b){return this.executor.get({url:"action/components/"+a+"/templates/"+b,responseConstructor:BB}).pipe(C(Rza))};g.query=function(a){return this.executor.get({url:"action/components/"+a+"/templates",responseConstructor:Zrc}).pipe(C(Sza))};g.create=function(a,b){b=Lza(b);return this.executor.post({url:"action/components/"+a+"/templates",responseConstructor:BB,body:b}).pipe(C(Rza))};
g.update=function(a,b,c){c=Lza(c);return this.executor.post({url:"action/components/"+a+"/templates/"+b,responseConstructor:BB,body:c}).pipe(C(Rza))};g.delete=function(a,b){return this.executor.delete({url:"action/components/"+a+"/templates/"+b,responseConstructor:null})};CB.\u0275fac=function(a){return new (a||CB)};CB.\u0275prov=Dg({token:CB,factory:CB.\u0275fac,providedIn:"root"});var DB=function(){this.observableApi=x(CB)};g=DB.prototype;g.get=function(a,b){return pi(this.observableApi.get(a,b))};
g.query=function(a){return pi(this.observableApi.query(a))};g.create=function(a,b){return pi(this.observableApi.create(a,b))};g.update=function(a,b,c){return pi(this.observableApi.update(a,b,c))};g.delete=function(a,b){return pi(this.observableApi.delete(a,b))};DB.\u0275fac=function(a){return new (a||DB)};DB.\u0275prov=Dg({token:DB,factory:DB.\u0275fac,providedIn:"root"});var EB=function(){this.bookmarkGroupModified=new oj;this.commentSubmitted=new oj;this.commentRendered=new oj;this.componentModified=new oj;this.contactChipsRevertChanges=new oj;this.customFieldsModified=new oj;this.dashboardPanels={moveDown:new oj,moveUp:new oj,moveToTop:new oj,moveToBottom:new oj,remove:new oj};this.favoritesModified=new oj;this.hotlistCreated=new oj;this.onClickAppMenuIcon=new oj;this.openEditField=new oj;this.sidebarWidthChanged=new oj;this.hotlistChanged=new oj;this.savedSearchModified=
new oj;this.sidebarUpdated=new oj;this.topBarEvents={browseComponents:new oj,manageHotlists:new oj,manageSlos:new oj,setDensity:new oj,openSettings:new oj};this.templateModified=new oj;this.issueViewed=new oj;this.issueEdited=new oj;this.focusCommentBox=new oj;this.scrollToCommentBox=new oj;this.recaptchaSubmitted=new oj;this.missionControlTaskCount=new $n(void 0);this.openIssueDetailsPageSidebar=new oj;this.closeIssueDetailsPageSidebar=new oj;this.didShowIssueHovercard=new oj};
EB.\u0275fac=function(a){return new (a||EB)};EB.\u0275prov=Dg({token:EB,factory:EB.\u0275fac,providedIn:"root"});var OAa=Symbol("mc"),FB=function(a){this.params=a||{}};FB.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this.params,a)};FB.prototype.get=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a[0]:a):null};FB.prototype.getAll=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a:[a]):[]};pg.Object.defineProperties(FB.prototype,{keys:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.params)}}});var Yza={exact:cAa,subset:fAa},Zza={exact:aAa,subset:dAa,ignored:function(){return!0}},Sn=function(a,b,c){a=a===void 0?new Rn([],{}):a;b=b===void 0?{}:b;this.root=a;this.queryParams=b;this.fragment=c===void 0?null:c};Sn.prototype.toString=function(){return $rc.serialize(this)};pg.Object.defineProperties(Sn.prototype,{queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap!=null||(this._queryParamMap=new FB(this.queryParams));return this._queryParamMap}}});
var Rn=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})};Rn.prototype.hasChildren=function(){return this.numberOfChildren>0};Rn.prototype.toString=function(){return kAa(this)};pg.Object.defineProperties(Rn.prototype,{numberOfChildren:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.children).length}}});var Un=function(a,b){this.path=a;this.parameters=b};
Un.prototype.toString=function(){return iAa(this.path)+jAa(this.parameters)};var GB=function(){};GB.\u0275fac=function(a){return new (a||GB)};GB.\u0275prov=Dg({token:GB,factory:function(){return new asc},providedIn:"root"});var asc=function(){};
asc.prototype.parse=function(a){a=new bsc(a);HB(a,"/");var b=a.remaining===""||a.remaining.startsWith("?")||a.remaining.startsWith("#")?new Rn([],{}):new Rn([],csc(a));var c={};if(HB(a,"?")){do{var d,e,f=a.remaining.match(dsc);if(e=f?f[0]:"")a.capture(e),f="",HB(a,"=")&&(d=(d=a.remaining.match(esc))?d[0]:"")&&(f=d,a.capture(f)),e=decodeURIComponent(e.replace(/\+/g,"%20")),f=decodeURIComponent(f.replace(/\+/g,"%20")),c.hasOwnProperty(e)?(d=c[e],Array.isArray(d)||(d=[d],c[e]=d),d.push(f)):c[e]=f}while(HB(a,
"&"))}return new Sn(b,c,HB(a,"#")?decodeURIComponent(a.remaining):null)};asc.prototype.serialize=function(a){var b="/"+lAa(a.root,!0),c=oAa(a.queryParams);a=typeof a.fragment==="string"?"#"+encodeURI(a.fragment):"";return b+c+a};
var $rc=new asc,pAa=/^[^\/()?;#]+/,fsc=/^[^\/()?;=#]+/,dsc=/^[^=?&#]+/,esc=/^[^&#]+/,bsc=function(a){this.remaining=this.url=a},csc=function(a){if(a.remaining==="")return{};HB(a,"/");var b=[];for(a.remaining.startsWith("(")||b.push(gsc(a));a.remaining.startsWith("/")&&!a.remaining.startsWith("//")&&!a.remaining.startsWith("/(");)a.capture("/"),b.push(gsc(a));var c={};a.remaining.startsWith("/(")&&(a.capture("/"),c=hsc(a,!0));var d={};a.remaining.startsWith("(")&&(d=hsc(a,!1));if(b.length>0||Object.keys(c).length>
0)d.primary=new Rn(b,c);return d},gsc=function(a){var b=qAa(a.remaining);if(b===""&&a.remaining.startsWith(";"))throw new Ug(4009,!1);a.capture(b);b=decodeURIComponent(b);for(var c={};HB(a,";");){var d,e=a;if(d=(d=e.remaining.match(fsc))?d[0]:""){e.capture(d);var f="";if(HB(e,"=")){var h=qAa(e.remaining);h&&(f=h,e.capture(f))}c[decodeURIComponent(d)]=decodeURIComponent(f)}}return new Un(b,c)},hsc=function(a,b){var c={};for(a.capture("(");!HB(a,")")&&a.remaining.length>0;){var d=qAa(a.remaining),e=
a.remaining[d.length];if(e!=="/"&&e!==")"&&e!==";")throw new Ug(4010,!1);e=void 0;d.indexOf(":")>-1?(e=d.slice(0,d.indexOf(":")),a.capture(e),a.capture(":")):b&&(e="primary");d=csc(a);c[e]=Object.keys(d).length===1?d.primary:new Rn([],d);HB(a,"//")}return c},HB=function(a,b){return a.remaining.startsWith(b)?(a.remaining=a.remaining.substring(b.length),!0):!1};bsc.prototype.capture=function(a){if(!HB(this,a))throw new Ug(4011,!1);};var EAa=function(a,b,c){this.isAbsolute=a;this.numberOfDoubleDots=b;this.commands=c;if(a&&c.length>0&&zAa(c[0]))throw new Ug(4003,!1);if((a=c.find(CAa))&&a!==(c.length>0?c[c.length-1]:null))throw new Ug(4004,!1);},yAa=function(a,b,c){this.segmentGroup=a;this.processChildren=b;this.index=c};var IB=function(a,b){this.id=a;this.url=b},ap=function(a,b,c,d){c=c===void 0?"imperative":c;d=d===void 0?null:d;IB.call(this,a,b);this.type=0;this.navigationTrigger=c;this.restoredState=d};Y(ap,IB);ap.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"};var go=function(a,b,c){IB.call(this,a,b);this.urlAfterRedirects=c;this.type=1};Y(go,IB);
go.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"};var ho=function(a,b,c,d){IB.call(this,a,b);this.reason=c;this.code=d;this.type=2};Y(ho,IB);ho.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"};var jo=function(a,b,c,d){IB.call(this,a,b);this.reason=c;this.code=d;this.type=16};Y(jo,IB);
var io=function(a,b,c,d){IB.call(this,a,b);this.error=c;this.target=d;this.type=3};Y(io,IB);io.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"};var isc=function(a,b,c,d){IB.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=4};Y(isc,IB);isc.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var jsc=function(a,b,c,d){IB.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=7};Y(jsc,IB);jsc.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var ksc=function(a,b,c,d,e){IB.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.shouldActivate=e;this.type=8};Y(ksc,IB);
ksc.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"};var lsc=function(a,b,c,d){IB.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=5};Y(lsc,IB);lsc.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var msc=function(a,b,c,d){IB.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=6};Y(msc,IB);msc.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var nsc=function(a){this.route=a;this.type=9};nsc.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"};var osc=function(a){this.route=a;this.type=10};
osc.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"};var pBa=function(a){this.snapshot=a;this.type=11};pBa.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var psc=function(a){this.snapshot=a;this.type=12};psc.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};
var qBa=function(a){this.snapshot=a;this.type=13};qBa.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var qsc=function(a){this.snapshot=a;this.type=14};qsc.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var rsc=function(a,b){this.position=a;this.anchor=b;this.type=15};
rsc.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"};var ssc=function(){},tsc=function(a,b){this.url=a;this.navigationBehaviorOptions=b};var usc=function(a){this.rootInjector=a;this.attachRef=this.route=this.outlet=null;this.children=new JB(this.rootInjector)};pg.Object.defineProperties(usc.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){var a,b;return(b=Wn((a=this.route)==null?void 0:a.snapshot))!=null?b:this.rootInjector}}});
var JB=function(a){this.rootInjector=a;this.contexts=new Map},vsc=function(a,b){if(a=a.getContext(b))a.outlet=null,a.attachRef=null},wsc=function(a,b){var c=a.getContext(b);c||(c=new usc(a.rootInjector),a.contexts.set(b,c));return c};JB.prototype.getContext=function(a){return this.contexts.get(a)||null};JB.\u0275fac=function(a){return new (a||JB)(bh(Vi))};JB.\u0275prov=Dg({token:JB,factory:JB.\u0275fac,providedIn:"root"});var KB=function(a){this._root=a};KB.prototype.parent=function(a){a=this.pathFromRoot(a);return a.length>1?a[a.length-2]:null};KB.prototype.children=function(a){return(a=LAa(a,this._root))?a.children.map(function(b){return b.value}):[]};KB.prototype.firstChild=function(a){return(a=LAa(a,this._root))&&a.children.length>0?a.children[0].value:null};KB.prototype.pathFromRoot=function(a){return MAa(a,this._root).map(function(b){return b.value})};
pg.Object.defineProperties(KB.prototype,{root:{configurable:!0,enumerable:!0,get:function(){return this._root.value}}});var Yn=function(a,b){this.value=a;this.children=b};Yn.prototype.toString=function(){return"TreeNode("+this.value+")"};var WAa=function(a,b){this._root=a;this.snapshot=b;PAa(this,a)};Y(WAa,KB);WAa.prototype.toString=function(){return this.snapshot.toString()};
var Zn=function(a,b,c,d,e,f,h,k){this.urlSubject=a;this.paramsSubject=b;this.queryParamsSubject=c;this.fragmentSubject=d;this.dataSubject=e;this.outlet=f;this.component=h;this._futureSnapshot=k;var q,u;this.title=(u=(q=this.dataSubject)==null?void 0:q.pipe(C(function(A){return A[OAa]})))!=null?u:li(void 0);this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e};Zn.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"};
pg.Object.defineProperties(Zn.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!=null||(this._paramMap=this.params.pipe(C(function(a){return new FB(a)})));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap!=null||(this._queryParamMap=this.queryParams.pipe(C(function(a){return new FB(a)})));return this._queryParamMap}}});
var LB=function(a,b,c,d,e,f,h,k,q){this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e;this.outlet=f;this.component=h;this.routeConfig=k;this._resolve=q};LB.prototype.toString=function(){return"Route(url:'"+this.url.map(function(a){return a.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"};
pg.Object.defineProperties(LB.prototype,{title:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.data)==null?void 0:a[OAa]}},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!=null||(this._paramMap=new FB(this.params));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap!=null||(this._queryParamMap=new FB(this.queryParams));return this._queryParamMap}}});var xsc=function(a,b){this._root=b;this.url=a;PAa(this,b)};Y(xsc,KB);xsc.prototype.toString=function(){return QAa(this._root)};var ysc=new kh(""),MB=function(){this._activatedRoute=this.activated=null;this.name="primary";this.activateEvents=new Lp;this.deactivateEvents=new Lp;this.attachEvents=new Lp;this.detachEvents=new Lp;this.routerOutletData=Hk.apply(null,[void 0].concat(p([])));this.parentContexts=x(JB);this.location=x(ck);this.changeDetector=x(sx);this.inputBinder=x(zsc,{optional:!0})};
MB.prototype.ngOnChanges=function(a){if(a.name){a=a.name;var b=a.previousValue;a.firstChange||(Asc(this,b)&&(this.deactivate(),vsc(this.parentContexts,b)),Bsc(this))}};MB.prototype.ngOnDestroy=function(){Asc(this,this.name)&&vsc(this.parentContexts,this.name);var a;(a=this.inputBinder)==null||Csc(a,this)};var Asc=function(a,b){var c;return((c=a.parentContexts.getContext(b))==null?void 0:c.outlet)===a};MB.prototype.ngOnInit=function(){Bsc(this)};
var Bsc=function(a){var b=a.parentContexts,c=a.name,d=wsc(b,c);d.outlet=a;b.contexts.set(c,d);!a.activated&&(b=a.parentContexts.getContext(a.name),b==null?0:b.route)&&(b.attachRef?a.attach(b.attachRef,b.route):Dsc(a,b.route,b.injector))};MB.prototype.detach=function(){if(!this.activated)throw new Ug(4012,!1);this.location.detach();var a=this.activated;this._activatedRoute=this.activated=null;this.detachEvents.emit(a.instance);return a};
MB.prototype.attach=function(a,b){this.activated=a;this._activatedRoute=b;this.location.insert(a.hostView);(b=this.inputBinder)!=null&&(Csc(b,this),Esc(b,this));this.attachEvents.emit(a.instance)};MB.prototype.deactivate=function(){if(this.activated){var a=this.component;this.activated.destroy();this._activatedRoute=this.activated=null;this.deactivateEvents.emit(a)}};
var Dsc=function(a,b,c){if(a.isActivated)throw new Ug(4013,!1);a._activatedRoute=b;var d=a.location,e=b.snapshot.component,f=wsc(a.parentContexts,a.name).children;a.activated=d.createComponent(e,{index:d.length,injector:new Fsc(b,f,d.injector,a.routerOutletData),environmentInjector:c});a.changeDetector.markForCheck();(b=a.inputBinder)!=null&&(Csc(b,a),Esc(b,a));a.activateEvents.emit(a.activated.instance)};
pg.Object.defineProperties(MB.prototype,{activatedComponentRef:{configurable:!0,enumerable:!0,get:function(){return this.activated}},isActivated:{configurable:!0,enumerable:!0,get:function(){return!!this.activated}},component:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new Ug(4012,!1);return this.activated.instance}},activatedRoute:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new Ug(4012,!1);return this._activatedRoute}}});
MB.\u0275fac=function(a){return new (a||MB)};MB.\u0275dir=$i({type:MB,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[$w]});var Fsc=function(a,b,c,d){this.route=a;this.childContexts=b;this.parent=c;this.outletData=d};
Fsc.prototype.get=function(a,b){return a===Zn?this.route:a===JB?this.childContexts:a===ysc?this.outletData:this.parent.get(a,b)};
var zsc=new kh(""),NB=function(){this.outletDataSubscriptions=new Map},Csc=function(a,b){var c;(c=a.outletDataSubscriptions.get(b))==null||c.unsubscribe();a.outletDataSubscriptions.delete(b)},Esc=function(a,b){var c=b.activatedRoute,d=si([c.queryParams,c.params,c.data]).pipe(sj(function(e,f){var h=l(e);e=h.next().value;var k=h.next().value;h=h.next().value;h=Object.assign({},e,k,h);return f===0?li(h):Promise.resolve(h)})).subscribe(function(e){if(b.isActivated&&b.activatedComponentRef&&b.activatedRoute===
c&&c.component!==null){var f=Xsa(c.component);if(f){f=l(f.inputs);for(var h=f.next();!h.done;h=f.next())h=h.value.templateName,b.activatedComponentRef.setInput(h,e[h])}else Csc(a,b)}else Csc(a,b)});a.outletDataSubscriptions.set(b,d)};NB.\u0275fac=function(a){return new (a||NB)};NB.\u0275prov=Dg({token:NB,factory:NB.\u0275fac});var UAa=function(){};UAa.\u0275fac=function(a){return new (a||UAa)};UAa.\u0275cmp=F({type:UAa,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(a){a&1&&N(0,"router-outlet")},dependencies:[MB],encapsulation:2});var Hsc=function(a,b,c,d){return C(function(e){(new Gsc(b,e.targetRouterState,e.currentRouterState,c,d)).activate(a);return e})},Gsc=function(a,b,c,d,e){this.routeReuseStrategy=a;this.futureState=b;this.currState=c;this.forwardEvent=d;this.inputBindingEnabled=e};Gsc.prototype.activate=function(a){var b=this.futureState._root,c=this.currState?this.currState._root:null;Isc(this,b,c,a);RAa(this.futureState.root);Jsc(this,b,c,a)};
var Isc=function(a,b,c,d){var e=NAa(c);b.children.forEach(function(f){var h=f.value.outlet,k=e[h],q=f.value,u=k?k.value:null;q===u?q.component?(q=d.getContext(q.outlet))&&Isc(a,f,k,q.children):Isc(a,f,k,d):u&&Ksc(a,k,d);delete e[h]});Object.values(e).forEach(function(f){Ksc(a,f,d)})},Ksc=function(a,b,c){var d=c.getContext(b.value.outlet);c=d&&b.value.component?d.children:c;b=NAa(b);b=l(Object.values(b));for(var e=b.next();!e.done;e=b.next())Ksc(a,e.value,c);d&&(d.outlet&&(d.outlet.deactivate(),d.children.contexts=
new Map),d.attachRef=null,d.route=null)},Jsc=function(a,b,c,d){var e=NAa(c);b.children.forEach(function(f){var h=e[f.value.outlet],k=f.value,q=h?h.value:null;RAa(k);k===q?k.component?(k=wsc(d,k.outlet),Jsc(a,f,h,k.children)):Jsc(a,f,h,d):k.component?(h=wsc(d,k.outlet),h.attachRef=null,h.route=k,h.outlet&&Dsc(h.outlet,k,h.injector),Jsc(a,f,null,h.children)):Jsc(a,f,null,d);a.forwardEvent(new qsc(f.value.snapshot))});b.children.length&&a.forwardEvent(new psc(b.value.snapshot))};var cBa=Symbol("oc");var fBa=function(a){this.path=a;this.route=this.path[this.path.length-1]},hBa=function(a,b){this.component=a;this.route=b};var OB=function(a){var b=Error.call(this);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.segmentGroup=a||null;Object.setPrototypeOf(this,OB.prototype)};Y(OB,Error);var Lsc=function(a){var b=Error.call(this);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.urlTree=a;Object.setPrototypeOf(this,Lsc.prototype)};Y(Lsc,Error);var Msc=function(a,b){this.urlSerializer=a;this.urlTree=b};g=Msc.prototype;
g.lineralizeSegments=function(a){var b,c;return v(function(d){b=[];for(c=a.root;;){b=b.concat(c.segments);if(c.numberOfChildren===0)return d.return(b);if(c.numberOfChildren>1||!c.children.primary)throw new Ug(4E3,!1);c=c.children.primary}ji(d)})};
g.applyRedirectCommands=function(a,b,c,d,e){var f=this,h,k;return v(function(q){if(q.nextAddress==1)return w(q,wBa(b,d,e),2);h=q.yieldResult;if(h instanceof Sn)throw new Lsc(h);k=f.applyRedirectCreateUrlTree(h,f.urlSerializer.parse(h),a,c);if(h[0]==="/")throw new Lsc(k);return q.return(k)})};g.applyRedirectCreateUrlTree=function(a,b,c,d){a=this.createSegmentGroup(a,b.root,c,d);return new Sn(a,this.createQueryParams(b.queryParams,this.urlTree.queryParams),b.fragment)};
g.createQueryParams=function(a,b){var c={};Object.entries(a).forEach(function(d){var e=l(d);d=e.next().value;e=e.next().value;c[d]=typeof e==="string"&&e[0]===":"?b[e.substring(1)]:e});return c};g.createSegmentGroup=function(a,b,c,d){var e=this,f=this.createSegments(b.segments,c,d),h={};Object.entries(b.children).forEach(function(k){var q=l(k);k=q.next().value;q=q.next().value;h[k]=e.createSegmentGroup(a,q,c,d)});return new Rn(f,h)};
g.createSegments=function(a,b,c){var d=this;return a.map(function(e){return e.path[0]===":"?d.findPosParam(e,c):d.findOrReturn(e,b)})};g.findPosParam=function(a,b){a=b[a.path.substring(1)];if(!a)throw new Ug(4001,!1);return a};g.findOrReturn=function(a,b){for(var c=0,d=l(b),e=d.next();!e.done;e=d.next()){e=e.value;if(e.path===a.path)return b.splice(c),e;c++}return a};var yBa={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};var Nsc=function(){},EBa=function(a,b,c,d,e,f,h,k){this.injector=a;this.configLoader=b;this.rootComponentType=c;this.config=d;this.urlTree=e;this.paramsInheritanceStrategy=f;this.urlSerializer=h;this.abortSignal=k;this.absoluteRedirectCount=0;this.allowRedirects=!0;this.applyRedirects=new Msc(this.urlSerializer,this.urlTree)};g=EBa.prototype;g.noMatchError=function(a){return new Ug(4002,"'"+a.segmentGroup+"'")};
g.recognize=function(){var a=this,b,c,d,e,f,h,k;return v(function(q){if(q.nextAddress==1)return b=DBa(a.urlTree.root,[],[],a.config).segmentGroup,w(q,a.match(b),2);c=q.yieldResult;d=c.children;e=c.rootSnapshot;f=new Yn(e,d);h=new xsc("",f);k=vAa(e,a.urlTree.queryParams,a.urlTree.fragment);k.queryParams=a.urlTree.queryParams;h.url=a.urlSerializer.serialize(k);return q.return({state:h,tree:k})})};
g.match=function(a){var b=this,c,d,e;return v(function(f){if(f.nextAddress==1)return c=new LB([],Object.freeze({}),Object.freeze(Object.assign({},b.urlTree.queryParams)),b.urlTree.fragment,Object.freeze({}),"primary",b.rootComponentType,null,{}),ei(f,2),w(f,b.processSegmentGroup(b.injector,b.config,a,"primary",c),4);if(f.nextAddress!=2)return d=f.yieldResult,f.return({children:d,rootSnapshot:c});e=ii(f);if(e instanceof Lsc)return b.urlTree=e.urlTree,f.return(b.match(e.urlTree.root));if(e instanceof
OB)throw b.noMatchError(e);throw e;})};g.processSegmentGroup=function(a,b,c,d,e){var f=this,h;return v(function(k){if(k.nextAddress==1)return c.segments.length===0&&c.hasChildren()?k.return(f.processChildren(a,b,c,e)):w(k,f.processSegment(a,b,c,c.segments,d,!0,e),2);h=k.yieldResult;return k.return(h instanceof Yn?[h]:[])})};
g.processChildren=function(a,b,c,d){var e=this,f,h,k,q,u,A,D,H,O,P,S,aa;return v(function(ia){switch(ia.nextAddress){case 1:f=[];h=l(Object.keys(c.children));for(k=h.next();!k.done;k=h.next())q=k.value,q==="primary"?f.unshift(q):f.push(q);u=[];A=l(f);D=A.next();case 2:if(D.done){ia.jumpTo(4);break}H=D.value;O=c.children[H];P=KAa(b,H);return w(ia,e.processSegmentGroup(a,P,O,H,d),5);case 5:S=ia.yieldResult;u.push.apply(u,p(S));D=A.next();ia.jumpTo(2);break;case 4:return aa=IBa(u),GBa(aa),ia.return(aa)}})};
g.processSegment=function(a,b,c,d,e,f,h){var k=this,q,u,A,D,H;return v(function(O){switch(O.nextAddress){case 1:q=l(b),u=q.next();case 2:if(u.done){O.jumpTo(4);break}A=u.value;ei(O,5);D=void 0;return w(O,k.processSegmentAgainstRoute((D=A._injector)!=null?D:a,b,A,c,d,e,f,h),7);case 7:return O.return(O.yieldResult);case 5:H=ii(O);if(H instanceof OB||kBa(H)){O.jumpTo(3);break}throw H;case 3:u=q.next();O.jumpTo(2);break;case 4:if(d.length===0&&!c.children[e])return O.return(new Nsc);throw new OB(c);}})};
g.processSegmentAgainstRoute=function(a,b,c,d,e,f,h,k){var q=this;return v(function(u){if(Vn(c)!==f&&(f==="primary"||!CBa(d,e,c)))throw new OB(d);if(c.redirectTo===void 0)return u.return(q.matchSegmentAgainstRoute(a,d,c,e,f,k));if(q.allowRedirects&&h)return u.return(q.expandSegmentAgainstRouteUsingRedirect(a,d,b,c,e,f,k));throw new OB(d);})};
g.expandSegmentAgainstRouteUsingRedirect=function(a,b,c,d,e,f,h){var k=this,q,u,A,D,H,O,P,S,aa,ia,la,ya;return v(function(Ia){if(Ia.nextAddress==1){q=xBa(b,d,e);u=q.matched;A=q.parameters;D=q.consumedSegments;H=q.positionalParamSegments;O=q.remainingSegments;if(!u)throw new OB(b);typeof d.redirectTo==="string"&&d.redirectTo[0]==="/"&&(k.absoluteRedirectCount++,k.absoluteRedirectCount>31&&(k.allowRedirects=!1));aa=new LB(e,A,Object.freeze(Object.assign({},k.urlTree.queryParams)),k.urlTree.fragment,
d.data||{},Vn(d),(S=(P=d.component)!=null?P:d._loadedComponent)!=null?S:null,d,d.resolve||{});ia=Xn(aa,h,k.paramsInheritanceStrategy);aa.params=Object.freeze(ia.params);aa.data=Object.freeze(ia.data);if(k.abortSignal.aborted)throw Error(k.abortSignal.reason);return w(Ia,k.applyRedirects.applyRedirectCommands(D,d.redirectTo,H,aa,a),2)}if(Ia.nextAddress!=3)return la=Ia.yieldResult,w(Ia,k.applyRedirects.lineralizeSegments(la),3);ya=Ia.yieldResult;return Ia.return(k.processSegment(a,c,b,ya.concat(O),
f,!1,h))})};
g.matchSegmentAgainstRoute=function(a,b,c,d,e,f){var h=this,k,q,u,A,D,H,O,P,S,aa,ia,la,ya,Ia,Pa,gb,ua,Ea,Ha,mb,nb;return v(function(Lb){switch(Lb.nextAddress){case 1:if(h.abortSignal.aborted)throw Error(h.abortSignal.reason);return w(Lb,Uza(zBa(b,c,d,a,h.abortSignal)),2);case 2:k=Lb.yieldResult;c.path==="**"&&(b.children={});if((q=k)==null||!q.matched)throw new OB(b);a=(u=c._injector)!=null?u:a;return w(Lb,h.getChildConfig(a,c,d),3);case 3:A=Lb.yieldResult;D=A.routes;O=(H=c._loadedInjector)!=null?
H:a;P=k;S=P.parameters;aa=P.consumedSegments;ia=P.remainingSegments;Ia=new LB(aa,S,Object.freeze(Object.assign({},h.urlTree.queryParams)),h.urlTree.fragment,c.data||{},Vn(c),(ya=(la=c.component)!=null?la:c._loadedComponent)!=null?ya:null,c,c.resolve||{});Pa=Xn(Ia,f,h.paramsInheritanceStrategy);Ia.params=Object.freeze(Pa.params);Ia.data=Object.freeze(Pa.data);gb=DBa(b,aa,ia,D);ua=gb.segmentGroup;Ea=gb.slicedSegments;if(Ea.length!==0||!ua.hasChildren()){Lb.jumpTo(4);break}return w(Lb,h.processChildren(O,
D,ua,Ia),5);case 5:return Ha=Lb.yieldResult,Lb.return(new Yn(Ia,Ha));case 4:if(D.length===0&&Ea.length===0)return Lb.return(new Yn(Ia,[]));mb=Vn(c)===e;return w(Lb,h.processSegment(O,D,ua,Ea,mb?"primary":e,!0,Ia),6);case 6:return nb=Lb.yieldResult,Lb.return(new Yn(Ia,nb instanceof Yn?[nb]:[]))}})};
g.getChildConfig=function(a,b,c){var d=this,e,f;return v(function(h){switch(h.nextAddress){case 1:if(b.children)return h.return({routes:b.children,injector:a});if(!b.loadChildren){h.jumpTo(2);break}if(b._loadedRoutes!==void 0)return h.return({routes:b._loadedRoutes,injector:b._loadedInjector});if(d.abortSignal.aborted)throw Error(d.abortSignal.reason);return w(h,Uza(uBa(a,b,c,d.abortSignal)),3);case 3:e=h.yieldResult;if(!e){h.jumpTo(4);break}return w(h,d.configLoader.loadChildren(a,b),5);case 5:return f=
h.yieldResult,b._loadedRoutes=f.routes,b._loadedInjector=f.injector,h.return(f);case 4:throw $Aa(3);case 2:return h.return({routes:[],injector:a})}})};var JBa=function(a){this.segmentGroup=a||null},Osc=function(a){var b=Error.call(this);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.urlTree=a};Y(Osc,Error);var Psc=function(a,b){this.urlSerializer=a;this.urlTree=b};g=Psc.prototype;g.lineralizeSegments=function(a){var b=[];for(a=a.root;;){b=b.concat(a.segments);if(a.numberOfChildren===0)return li(b);if(a.numberOfChildren>1||!a.children.primary)return mi(new Ug(4E3,!1));a=a.children.primary}};
g.applyRedirectCommands=function(a,b,c,d,e){var f=this;return KBa(b,d,e).pipe(C(function(h){if(h instanceof Sn)throw new Osc(h);var k=f.applyRedirectCreateUrlTree(h,f.urlSerializer.parse(h),a,c);if(h[0]==="/")throw new Osc(k);return k}))};g.applyRedirectCreateUrlTree=function(a,b,c,d){a=this.createSegmentGroup(a,b.root,c,d);return new Sn(a,this.createQueryParams(b.queryParams,this.urlTree.queryParams),b.fragment)};
g.createQueryParams=function(a,b){var c={};Object.entries(a).forEach(function(d){var e=l(d);d=e.next().value;e=e.next().value;c[d]=typeof e==="string"&&e[0]===":"?b[e.substring(1)]:e});return c};g.createSegmentGroup=function(a,b,c,d){var e=this,f=this.createSegments(b.segments,c,d),h={};Object.entries(b.children).forEach(function(k){var q=l(k);k=q.next().value;q=q.next().value;h[k]=e.createSegmentGroup(a,q,c,d)});return new Rn(f,h)};
g.createSegments=function(a,b,c){var d=this;return a.map(function(e){return e.path[0]===":"?d.findPosParam(e,c):d.findOrReturn(e,b)})};g.findPosParam=function(a,b){a=b[a.path.substring(1)];if(!a)throw new Ug(4001,!1);return a};g.findOrReturn=function(a,b){for(var c=0,d=l(b),e=d.next();!e.done;e=d.next()){e=e.value;if(e.path===a.path)return b.splice(c),e;c++}return a};var Qsc=function(){},Rsc=function(a,b,c,d,e,f,h){this.injector=a;this.configLoader=b;this.rootComponentType=c;this.config=d;this.urlTree=e;this.paramsInheritanceStrategy=f;this.urlSerializer=h;this.absoluteRedirectCount=0;this.allowRedirects=!0;this.applyRedirects=new Psc(this.urlSerializer,this.urlTree)};g=Rsc.prototype;g.noMatchError=function(a){return new Ug(4002,"'"+a.segmentGroup+"'")};
g.recognize=function(){var a=this,b=DBa(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(b).pipe(C(function(c){var d=c.children;c=c.rootSnapshot;d=new xsc("",new Yn(c,d));c=vAa(c,a.urlTree.queryParams,a.urlTree.fragment);c.queryParams=a.urlTree.queryParams;d.url=a.urlSerializer.serialize(c);return{state:d,tree:c}}))};
g.match=function(a){var b=this,c=new LB([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),"primary",this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,a,"primary",c).pipe(C(function(d){return{children:d,rootSnapshot:c}}),cj(function(d){if(d instanceof Osc)return b.urlTree=d.urlTree,b.match(d.urlTree.root);if(d instanceof JBa)throw b.noMatchError(d);throw d;}))};
g.processSegmentGroup=function(a,b,c,d,e){return c.segments.length===0&&c.hasChildren()?this.processChildren(a,b,c,e):this.processSegment(a,b,c,c.segments,d,!0,e).pipe(C(function(f){return f instanceof Yn?[f]:[]}))};
g.processChildren=function(a,b,c,d){for(var e=this,f=[],h=l(Object.keys(c.children)),k=h.next();!k.done;k=h.next())k=k.value,k==="primary"?f.unshift(k):f.push(k);return di(f).pipe(ej(function(q){var u=c.children[q],A=KAa(b,q);return e.processSegmentGroup(a,A,u,q,d)}),$pa(function(q,u){q.push.apply(q,p(u));return q}),Npa(null),Upa(),ti(function(q){if(q===null)return fo(c);q=NBa(q);LBa(q);return li(q)}))};
g.processSegment=function(a,b,c,d,e,f,h){var k=this;return di(b).pipe(ej(function(q){var u;return k.processSegmentAgainstRoute((u=q._injector)!=null?u:a,b,q,c,d,e,f,h).pipe(cj(function(A){if(A instanceof JBa)return li(null);throw A;}))}),lj(function(q){return!!q}),cj(function(q){if(kBa(q))return d.length!==0||c.children[e]?fo(c):li(new Qsc);throw q;}))};
g.processSegmentAgainstRoute=function(a,b,c,d,e,f,h,k){return Vn(c)===f||f!=="primary"&&CBa(d,e,c)?c.redirectTo===void 0?this.matchSegmentAgainstRoute(a,d,c,e,f,k):this.allowRedirects&&h?this.expandSegmentAgainstRouteUsingRedirect(a,d,b,c,e,f,k):fo(d):fo(d)};
g.expandSegmentAgainstRouteUsingRedirect=function(a,b,c,d,e,f,h){var k=this,q=xBa(b,d,e),u=q.parameters,A=q.consumedSegments,D=q.positionalParamSegments,H=q.remainingSegments;if(!q.matched)return fo(b);typeof d.redirectTo==="string"&&d.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));var O,P;e=new LB(e,u,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,d.data||{},Vn(d),(P=(O=d.component)!=null?O:d._loadedComponent)!=
null?P:null,d,d.resolve||{});O=Xn(e,h,this.paramsInheritanceStrategy);e.params=Object.freeze(O.params);e.data=Object.freeze(O.data);return this.applyRedirects.applyRedirectCommands(A,d.redirectTo,D,e,a).pipe(sj(function(S){return k.applyRedirects.lineralizeSegments(S)}),ti(function(S){return k.processSegment(a,c,b,S.concat(H),f,!1,h)}))};
g.matchSegmentAgainstRoute=function(a,b,c,d,e,f){var h=this,k=zBa(b,c,d,a);c.path==="**"&&(b.children={});return k.pipe(sj(function(q){if(!q.matched)return fo(b);var u;a=(u=c._injector)!=null?u:a;return h.getChildConfig(a,c,d).pipe(sj(function(A){A=A.routes;var D,H=(D=c._loadedInjector)!=null?D:a;D=q.consumedSegments;var O=q.remainingSegments,P,S,aa=new LB(D,q.parameters,Object.freeze(Object.assign({},h.urlTree.queryParams)),h.urlTree.fragment,c.data||{},Vn(c),(S=(P=c.component)!=null?P:c._loadedComponent)!=
null?S:null,c,c.resolve||{});P=Xn(aa,f,h.paramsInheritanceStrategy);aa.params=Object.freeze(P.params);aa.data=Object.freeze(P.data);S=DBa(b,D,O,A);P=S.segmentGroup;S=S.slicedSegments;return S.length===0&&P.hasChildren()?h.processChildren(H,A,P,aa).pipe(C(function(ia){return new Yn(aa,ia)})):A.length===0&&S.length===0?li(new Yn(aa,[])):h.processSegment(H,A,P,S,Vn(c)===e?"primary":e,!0,aa).pipe(C(function(ia){return new Yn(aa,ia instanceof Yn?[ia]:[])}))}))}))};
g.getChildConfig=function(a,b,c){var d=this;return b.children?li({routes:b.children,injector:a}):b.loadChildren?b._loadedRoutes!==void 0?li({routes:b._loadedRoutes,injector:b._loadedInjector}):uBa(a,b,c).pipe(ti(function(e){return e?di(d.configLoader.loadChildren(a,b)).pipe(uj(function(f){b._loadedRoutes=f.routes;b._loadedInjector=f.injector})):mi($Aa(3))})):li({routes:[],injector:a})};var OBa=new kh("RECOGNIZE_IMPL",{providedIn:"root",factory:function(){return FBa}});var PB=function(){},Ssc=function(a){for(a=a.root;a!==void 0;){var b=void 0;var c=(b=a.data[OAa])!=null?b:c;a=a.children.find(function(d){return d.outlet==="primary"})}return c};PB.\u0275fac=function(a){return new (a||PB)};PB.\u0275prov=Dg({token:PB,factory:function(){return x(QB)},providedIn:"root"});var QB=function(a){this.title=a};Y(QB,PB);var Tsc=function(a,b){b=Ssc(b);b!==void 0&&a.title.setTitle(b)};QB.\u0275fac=function(a){return new (a||QB)(bh(pA))};
QB.\u0275prov=Dg({token:QB,factory:QB.\u0275fac,providedIn:"root"});var RB=new kh("",{providedIn:"root",factory:function(){return{}}});var ZBa=new kh(""),SB=function(){this.componentLoaders=new WeakMap;this.childrenLoaders=new WeakMap;x(xx)};
SB.prototype.loadComponent=function(a,b){var c=this,d;return v(function(e){if(c.componentLoaders.get(b))return e.return(c.componentLoaders.get(b));if(b._loadedComponent)return e.return(Promise.resolve(b._loadedComponent));if(c.onLoadStartListener)c.onLoadStartListener(b);d=function(){var f,h;return v(function(k){switch(k.nextAddress){case 1:return gi(k,2),w(k,Xza(nh(a,function(){return b.loadComponent()})),4);case 4:return f=k.yieldResult,w(k,Promise.resolve(WBa(f)?f["default"]:f),5);case 5:h=k.yieldResult;
if(c.onLoadEndListener)c.onLoadEndListener(b);b._loadedComponent=h;return k.return(h);case 2:fi(k),c.componentLoaders.delete(b),hi(k,0)}})}();c.componentLoaders.set(b,d);return e.return(d)})};
SB.prototype.loadChildren=function(a,b){var c=this;if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return Promise.resolve({routes:b._loadedRoutes,injector:b._loadedInjector});if(this.onLoadStartListener)this.onLoadStartListener(b);var d=function(){var e;return v(function(f){if(f.nextAddress==1)return gi(f,2),w(f,$Ba(b,a,c.onLoadEndListener),4);if(f.nextAddress!=2)return e=f.yieldResult,b._loadedRoutes=e.routes,b._loadedInjector=e.injector,f.return(e);fi(f);c.childrenLoaders.delete(b);
return hi(f,0)})}();this.childrenLoaders.set(b,d);return d};SB.\u0275fac=function(a){return new (a||SB)};SB.\u0275prov=Dg({token:SB,factory:SB.\u0275fac,providedIn:"root"});var TB=function(){};TB.\u0275fac=function(a){return new (a||TB)};TB.\u0275prov=Dg({token:TB,factory:function(){return x(UB)},providedIn:"root"});var UB=function(){};UB.prototype.merge=function(a){return a};UB.\u0275fac=function(a){return new (a||UB)};UB.\u0275prov=Dg({token:UB,factory:UB.\u0275fac,providedIn:"root"});var Usc=new kh(""),aCa=new kh("");var Vsc=function(){},Wsc=new kh(""),VB=function(){var a=this;this.currentNavigation=kk.apply(null,[null].concat(p([{equal:function(){return!1}}])));this.currentTransition=null;this.lastSuccessfulNavigation=kk.apply(null,[null].concat(p([])));this.events=new oj;this.transitionAbortWithErrorSubject=new oj;this.configLoader=x(SB);this.environmentInjector=x(Vi);this.destroyRef=x(Cj);this.urlSerializer=x(GB);this.rootContexts=x(JB);this.location=x(cn);this.inputBindingEnabled=x(zsc,{optional:!0})!==null;
this.titleStrategy=x(PB);this.options=x(RB,{optional:!0})||{};this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";this.urlHandlingStrategy=x(TB);this.createViewTransition=x(Usc,{optional:!0});this.navigationErrorHandler=x(Wsc,{optional:!0});this.navigationId=0;this.afterPreactivation=function(){return li(void 0)};this.rootComponentType=null;this.destroyed=!1;this.configLoader.onLoadEndListener=function(b){return a.events.next(new osc(b))};this.configLoader.onLoadStartListener=
function(b){return a.events.next(new nsc(b))};this.destroyRef.onDestroy(function(){a.destroyed=!0})};VB.prototype.complete=function(){var a;(a=this.transitions)==null||a.complete()};
var Xsc=function(a,b){var c=++a.navigationId;Rg(function(){var d;(d=a.transitions)==null||d.next(Object.assign({},b,{extractedUrl:b.rawUrl,targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:c}))})},atc=function(a,b){a.transitions=new $n(null);return a.transitions.pipe(Di(function(c){return c!==null}),sj(function(c){var d=!1,e=new AbortController;return li(c).pipe(sj(function(f){if(a.navigationId>c.id)return Ysc(a,c,"",1),Bi;a.currentTransition=
c;var h=a.lastSuccessfulNavigation();a.currentNavigation.set({id:f.id,initialUrl:f.rawUrl,extractedUrl:f.extractedUrl,targetBrowserUrl:typeof f.extras.browserUrl==="string"?a.urlSerializer.parse(f.extras.browserUrl):f.extras.browserUrl,trigger:f.source,extras:f.extras,previousNavigation:h?Object.assign({},h,{previousNavigation:null}):null,abort:function(){return e.abort()}});h=!b.navigated||Zsc(a)||$sc(a);var k,q=(k=f.extras.onSameUrlNavigation)!=null?k:b.onSameUrlNavigation;return h||q==="reload"?
li(f).pipe(sj(function(u){a.events.next(new ap(u.id,a.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState));return u.id!==a.navigationId?Bi:Promise.resolve(u)}),PBa(a.environmentInjector,a.configLoader,a.rootComponentType,b.config,a.urlSerializer,a.paramsInheritanceStrategy,e.signal),uj(function(u){c.targetSnapshot=u.targetSnapshot;c.urlAfterRedirects=u.urlAfterRedirects;a.currentNavigation.update(function(D){D.finalUrl=u.urlAfterRedirects;return D});var A=new isc(u.id,a.urlSerializer.serialize(u.extractedUrl),
a.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);a.events.next(A)})):(a.events.next(new jo(f.id,a.urlSerializer.serialize(f.rawUrl),"",0)),f.resolve(!1),Bi)}),uj(function(f){f=new jsc(f.id,a.urlSerializer.serialize(f.extractedUrl),a.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);a.events.next(f)}),C(function(f){var h=Object,k=h.assign;var q=f.currentSnapshot;var u=f.targetSnapshot._root;q=gBa(u,q?q._root:null,a.rootContexts,[u.value]);return a.currentTransition=c=k.call(h,
{},f,{guards:q})}),nBa(a.environmentInjector,function(f){return a.events.next(f)}),uj(function(f){if((c.guardsResult=f.guardsResult)&&typeof f.guardsResult!=="boolean")throw aBa(f.guardsResult);f=new ksc(f.id,a.urlSerializer.serialize(f.extractedUrl),a.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot,!!f.guardsResult);a.events.next(f)}),Di(function(f){return f.guardsResult?!0:(Ysc(a,f,"",3),!1)}),VBa(function(f){if(f.guards.canActivateChecks.length!==0)return li(f).pipe(uj(function(h){h=
new lsc(h.id,a.urlSerializer.serialize(h.extractedUrl),a.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);a.events.next(h)}),sj(function(h){var k=!1;return li(h).pipe(SBa(a.paramsInheritanceStrategy,a.environmentInjector),uj({next:function(){return k=!0},complete:function(){k||Ysc(a,h,"",2)}}))}),uj(function(h){h=new msc(h.id,a.urlSerializer.serialize(h.extractedUrl),a.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);a.events.next(h)}))}),VBa(function(f){var h=function(k){var q=
[],u;if((u=k.routeConfig)==null?0:u.loadComponent){var A;u=(A=Wn(k))!=null?A:a.environmentInjector;q.push(di(a.configLoader.loadComponent(u,k.routeConfig)).pipe(uj(function(D){k.component=D}),C(function(){})))}A=l(k.children);for(u=A.next();!u.done;u=A.next())q.push.apply(q,p(h(u.value)));return q};return si(h(f.targetSnapshot.root)).pipe(Npa(null),hj(1))}),VBa(function(){return a.afterPreactivation()}),sj(function(){var f=c,h=f.currentSnapshot;f=f.targetSnapshot;var k,q=(k=a.createViewTransition)==
null?void 0:k.call(a,a.environmentInjector,h.root,f.root);return q?di(q).pipe(C(function(){return c})):li(c)}),C(function(f){var h=XAa(b.routeReuseStrategy,f.targetSnapshot,f.currentRouterState);a.currentTransition=c=Object.assign({},f,{targetRouterState:h});a.currentNavigation.update(function(k){k.targetRouterState=h;return k});return c}),uj(function(){a.events.next(new ssc)}),Hsc(a.rootContexts,b.routeReuseStrategy,function(f){return a.events.next(f)},a.inputBindingEnabled),hj(1),tj(dBa(e.signal).pipe(Di(function(){return!d&&
!c.targetRouterState}),uj(function(){Ysc(a,c,e.signal.reason+"",4)}))),uj({next:function(f){d=!0;a.currentNavigation.update(function(k){k.abort=Vsc;return k});a.lastSuccessfulNavigation.set(Rg(a.currentNavigation));a.events.next(new go(f.id,a.urlSerializer.serialize(f.extractedUrl),a.urlSerializer.serialize(f.urlAfterRedirects)));var h;(h=a.titleStrategy)==null||Tsc(h,f.targetRouterState.snapshot);f.resolve(!0)},complete:function(){d=!0}}),tj(a.transitionAbortWithErrorSubject.pipe(uj(function(f){throw f;
}))),kj(function(){e.abort();d||Ysc(a,c,"",1);var f;((f=a.currentTransition)==null?void 0:f.id)===c.id&&(a.currentNavigation.set(null),a.currentTransition=null)}),cj(function(f){if(a.destroyed)return c.resolve(!1),Bi;d=!0;if(bBa(f))a.events.next(new ho(c.id,a.urlSerializer.serialize(c.extractedUrl),f.message,f.cancellationCode)),bBa(f)&&Tn(f.url)?a.events.next(new tsc(f.url,f.navigationBehaviorOptions)):c.resolve(!1);else{var h,k=new io(c.id,a.urlSerializer.serialize(c.extractedUrl),f,(h=c.targetSnapshot)!=
null?h:void 0);try{throw nh(a.environmentInjector,function(){var q;return(q=a.navigationErrorHandler)==null?void 0:q.call(a,k)}),a.events.next(k),f;}catch(q){a.options.resolveNavigationPromiseOnError?c.resolve(!1):c.reject(q)}}return Bi}))}))},Ysc=function(a,b,c,d){c=new ho(b.id,a.urlSerializer.serialize(b.extractedUrl),c,d);a.events.next(c);b.resolve(!1)},Zsc=function(a){var b,c;return((b=a.currentTransition)==null?void 0:b.extractedUrl.toString())!==((c=a.currentTransition)==null?void 0:c.currentUrlTree.toString())},
$sc=function(a){var b=a.urlSerializer.parse(a.location.path(!0));a=Rg(a.currentNavigation);var c,d=(c=a==null?void 0:a.targetBrowserUrl)!=null?c:a==null?void 0:a.extractedUrl;return b.toString()!==(d==null?void 0:d.toString())&&!(a==null?0:a.extras.skipLocationChange)};pg.Object.defineProperties(VB.prototype,{hasRequestedNavigation:{configurable:!0,enumerable:!0,get:function(){return this.navigationId!==0}}});VB.\u0275fac=function(a){return new (a||VB)};
VB.\u0275prov=Dg({token:VB,factory:VB.\u0275fac,providedIn:"root"});var WB=function(){};WB.\u0275fac=function(a){return new (a||WB)};WB.\u0275prov=Dg({token:WB,factory:function(){return x(XB)},providedIn:"root"});var btc=function(){};btc.prototype.store=function(){};btc.prototype.retrieve=function(){return null};btc.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig};var XB=function(){};Y(XB,btc);XB.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(XB)))(b||XB)}}();XB.\u0275prov=Dg({token:XB,factory:XB.\u0275fac,providedIn:"root"});var YB=function(){this.urlSerializer=x(GB);this.options=x(RB,{optional:!0})||{};this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";this.location=x(cn);this.urlHandlingStrategy=x(TB);this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.rawUrlTree=this.currentUrlTree=new Sn;var a=new xsc("",new Yn(new LB([],{},{},"",{},"primary",null,null,{}),[])),b=new Zn(new $n([new Un("",{})]),new $n({}),new $n({}),new $n(""),new $n({}),"primary",null,a.root);
b.snapshot=a.root;this.routerState=new WAa(new Yn(b,[]),a);this.stateMemento=ctc(this)},dtc=function(a,b){var c=b.finalUrl;var d=b.initialUrl;b=b.targetBrowserUrl;c=c!==void 0?a.urlHandlingStrategy.merge(c,d):d;c=b!=null?b:c;return c instanceof Sn?a.urlSerializer.serialize(c):c},etc=function(a,b){var c=b.targetRouterState;var d=b.finalUrl;b=b.initialUrl;d&&c?(a.currentUrlTree=d,a.rawUrlTree=a.urlHandlingStrategy.merge(d,b),a.routerState=c):a.rawUrlTree=b},ctc=function(a){return{rawUrlTree:a.rawUrlTree,
currentUrlTree:a.currentUrlTree,routerState:a.routerState}},ftc=function(a,b){b=b.finalUrl;a.routerState=a.stateMemento.routerState;a.currentUrlTree=a.stateMemento.currentUrlTree;a.rawUrlTree=a.urlHandlingStrategy.merge(a.currentUrlTree,b!=null?b:a.rawUrlTree)};YB.\u0275fac=function(a){return new (a||YB)};YB.\u0275prov=Dg({token:YB,factory:function(){return x(ZB)},providedIn:"root"});var ZB=function(){YB.apply(this,arguments);this.currentPageId=0;this.lastSuccessfulId=-1};Y(ZB,YB);
ZB.prototype.restoredState=function(){return this.location.getState()};
var gtc=function(a,b){return a.location.subscribe(function(c){c.type==="popstate"&&setTimeout(function(){b(c.url,c.state,"popstate")})})},itc=function(a,b,c){var d=c.extras;c=c.id;var e=d.replaceUrl;d=d.state;var f=a.location;var h=h===void 0?"":h;f.path()==f.normalize(b+Jm(h))||e?(h=Object.assign({},d,htc(a,c,a.browserPageId)),a.location.replaceState(b,"",h)):(h=Object.assign({},d,htc(a,c,a.browserPageId+1)),a.location.go(b,"",h))},ktc=function(a,b,c){c=c===void 0?!1:c;a.canceledNavigationResolution===
"computed"?(c=a.currentPageId-a.browserPageId,c!==0?a.location.historyGo(c):a.currentUrlTree===b.finalUrl&&c===0&&(ftc(a,b),jtc(a))):a.canceledNavigationResolution==="replace"&&(c&&ftc(a,b),jtc(a))},jtc=function(a){a.location.replaceState(a.urlSerializer.serialize(a.rawUrlTree),"",htc(a,a.lastSuccessfulId,a.currentPageId))},htc=function(a,b,c){return a.canceledNavigationResolution==="computed"?{navigationId:b,"\u0275routerPageId":c}:{navigationId:b}};
pg.Object.defineProperties(ZB.prototype,{browserPageId:{configurable:!0,enumerable:!0,get:function(){if(this.canceledNavigationResolution!=="computed")return this.currentPageId;var a,b;return(b=(a=this.restoredState())==null?void 0:a.\u0275routerPageId)!=null?b:this.currentPageId}}});ZB.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(ZB)))(b||ZB)}}();ZB.\u0275prov=Dg({token:ZB,factory:ZB.\u0275fac,providedIn:"root"});var ltc={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mtc={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},$B=function(){var a=this;this.disposed=!1;this.console=x(nx);this.stateManager=x(YB);this.options=x(RB,{optional:!0})||{};this.pendingTasks=x(Nk);this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.navigationTransitions=x(VB);this.urlSerializer=x(GB);this.location=x(cn);this.urlHandlingStrategy=x(TB);this.injector=
x(Vi);this._events=new oj;this.navigated=!1;this.routeReuseStrategy=x(WB);this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";var b,c;this.config=(c=(b=x(ZBa,{optional:!0}))==null?void 0:b.flat())!=null?c:[];x(zsc,{optional:!0});this.currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();this.eventsSubscription=new Yh;this.config=this.config.map(TAa);this.navigated=!1;atc(this.navigationTransitions,this).subscribe({error:function(d){a.console.warn(d)}});ntc(this)},
ntc=function(a){var b=a.navigationTransitions.events.subscribe(function(c){try{var d=a.navigationTransitions.currentTransition,e=Rg(a.navigationTransitions.currentNavigation);if(d!==null&&e!==null){var f=a.stateManager;c instanceof ap?f.stateMemento=ctc(f):c instanceof jo?etc(f,e):c instanceof isc?f.urlUpdateStrategy==="eager"&&(e.extras.skipLocationChange||itc(f,dtc(f,e),e)):c instanceof ssc?(etc(f,e),f.urlUpdateStrategy!=="deferred"||e.extras.skipLocationChange||itc(f,dtc(f,e),e)):c instanceof ho&&
c.code!==1&&c.code!==0?ktc(f,e):c instanceof io?ktc(f,e,!0):c instanceof go&&(f.lastSuccessfulId=c.id,f.currentPageId=f.browserPageId);if(c instanceof ho&&c.code!==0&&c.code!==1)a.navigated=!0;else if(c instanceof go)a.navigated=!0;else if(c instanceof tsc){var h=c.navigationBehaviorOptions,k=a.urlHandlingStrategy.merge(c.url,d.currentRawUrl),q=Object.assign({},{browserUrl:d.extras.browserUrl,info:d.extras.info,skipLocationChange:d.extras.skipLocationChange,replaceUrl:d.extras.replaceUrl||a.urlUpdateStrategy===
"eager"||d.source!=="imperative"},h);otc(a,k,"imperative",null,q,{resolve:d.resolve,reject:d.reject,promise:d.promise})}}c instanceof ssc||c instanceof tsc||a._events.next(c)}catch(u){a.navigationTransitions.transitionAbortWithErrorSubject.next(u)}});a.eventsSubscription.add(b)};$B.prototype.initialNavigation=function(){ptc(this);this.navigationTransitions.hasRequestedNavigation||qtc(this,this.location.path(!0),"imperative",this.stateManager.restoredState())};
var ptc=function(a){a.nonRouterCurrentEntryChangeSubscription!=null||(a.nonRouterCurrentEntryChangeSubscription=gtc(a.stateManager,function(b,c,d){qtc(a,b,d,c)}))},qtc=function(a,b,c,d){var e={replaceUrl:!0},f=(d==null?0:d.navigationId)?d:null;d&&(d=Object.assign({},d),delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(e.state=d));b=a.parseUrl(b);otc(a,b,c,f,e).catch(function(h){a.disposed||a.injector.get(Ri)(h)})};$B.prototype.ngOnDestroy=function(){this.dispose()};
$B.prototype.dispose=function(){this._events.unsubscribe();this.navigationTransitions.complete();this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0);this.disposed=!0;this.eventsSubscription.unsubscribe()};
var aC=function(a,b,c){var d=c=c===void 0?{}:c;c=d.relativeTo;var e=d.queryParams,f=d.fragment;f=d.preserveFragment?a.currentUrlTree.fragment:f;var h;switch((h=d.queryParamsHandling)!=null?h:a.options.defaultQueryParamsHandling){case "merge":h=Object.assign({},a.currentUrlTree.queryParams,e);break;case "preserve":h=a.currentUrlTree.queryParams;break;default:h=e||null}h!==null&&(h=rtc(h));try{var k=tAa(c?c.snapshot:a.routerState.snapshot.root)}catch(q){if(typeof b[0]!=="string"||b[0][0]!=="/")b=[];
k=a.currentUrlTree.root}return uAa(k,b,h,f!=null?f:null)},Rr=function(a,b,c){c=c===void 0?{skipLocationChange:!1}:c;b=Tn(b)?b:a.parseUrl(b);b=a.urlHandlingStrategy.merge(b,a.rawUrlTree);return otc(a,b,"imperative",null,c)};$B.prototype.navigate=function(a,b){b=b===void 0?{skipLocationChange:!1}:b;for(var c=0;c<a.length;c++)if(a[c]==null)throw new Ug(4008,!1);return Rr(this,aC(this,a,b),b)};$B.prototype.parseUrl=function(a){try{return this.urlSerializer.parse(a)}catch(b){return this.urlSerializer.parse("/")}};
$B.prototype.isActive=function(a,b){var c;b===!0?c=Object.assign({},ltc):b===!1?c=Object.assign({},mtc):c=b;if(Tn(a))return $za(this.currentUrlTree,a,c);a=this.parseUrl(a);return $za(this.currentUrlTree,a,c)};
var rtc=function(a){return Object.entries(a).reduce(function(b,c){var d=l(c);c=d.next().value;d=d.next().value;d!==null&&d!==void 0&&(b[c]=d);return b},{})},otc=function(a,b,c,d,e,f){if(a.disposed)return Promise.resolve(!1);if(f){var h=f.resolve;var k=f.reject;f=f.promise}else f=new Promise(function(u,A){h=u;k=A});var q=a.pendingTasks.add();dCa(a,function(){queueMicrotask(function(){return a.pendingTasks.remove(q)})});Xsc(a.navigationTransitions,{source:c,restoredState:d,currentUrlTree:a.currentUrlTree,
currentRawUrl:a.currentUrlTree,rawUrl:b,extras:e,resolve:h,reject:k,promise:f,currentSnapshot:a.routerState.snapshot,currentRouterState:a.routerState});return f.catch(function(u){return Promise.reject(u)})};
pg.Object.defineProperties($B.prototype,{currentUrlTree:{configurable:!0,enumerable:!0,get:function(){return this.stateManager.currentUrlTree}},rawUrlTree:{configurable:!0,enumerable:!0,get:function(){return this.stateManager.rawUrlTree}},events:{configurable:!0,enumerable:!0,get:function(){return this._events}},routerState:{configurable:!0,enumerable:!0,get:function(){return this.stateManager.routerState}},url:{configurable:!0,enumerable:!0,get:function(){return this.urlSerializer.serialize(this.currentUrlTree)}},
lastSuccessfulNavigation:{configurable:!0,enumerable:!0,get:function(){return this.navigationTransitions.lastSuccessfulNavigation}}});$B.\u0275fac=function(a){return new (a||$B)};$B.\u0275prov=Dg({token:$B,factory:$B.\u0275fac,providedIn:"root"});var bC=function(a,b,c,d,e,f){this.router=a;this.route=b;this.tabIndexAttribute=c;this.renderer=d;this.el=e;this.locationStrategy=f;this.reactiveHref=kk.apply(null,[null].concat(p([])));this.onChanges=new oj;this.applicationErrorHandler=x(Ri);this.options=x(RB,{optional:!0});this.replaceUrl=this.skipLocationChange=this.preserveFragment=!1;this.routerLinkInput=null;this.reactiveHref.set(x(new ax("href"),{optional:!0}));var h;a=(h=e.nativeElement.tagName)==null?void 0:h.toLowerCase();var k,q,u;(this.isAnchorElement=
a==="a"||a==="area"||!!(typeof customElements==="object"&&((k=customElements.get(a))==null?0:(q=k.observedAttributes)==null?0:(u=q.includes)==null?0:u.call(q,"href"))))?stc(this,"0"):ttc(this)},ttc=function(a){if(a.subscription===void 0&&a.isAnchorElement){var b=a.preserveFragment,c=function(e){return e==="merge"||e==="preserve"};b||(b=c(a.queryParamsHandling));var d;b||(b=!a.queryParamsHandling&&!c((d=a.options)==null?void 0:d.defaultQueryParamsHandling));b&&(a.subscription=a.router.events.subscribe(function(e){e instanceof
go&&utc(a)}))}},stc=function(a,b){if(a.tabIndexAttribute==null&&!a.isAnchorElement){var c=a.renderer;a=a.el.nativeElement;b!==null?c.setAttribute(a,"tabindex",b):c.removeAttribute(a,"tabindex")}};bC.prototype.ngOnChanges=function(){this.isAnchorElement&&(utc(this),ttc(this));this.onChanges.next(this)};
bC.prototype.onClick=function(a,b,c,d,e){var f=this,h=this.urlTree;if(h===null||this.isAnchorElement&&(a!==0||b||c||d||e||typeof this.target==="string"&&this.target!="_self"))return!0;var k;(k=Rr(this.router,h,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}))==null||k.catch(function(q){f.applicationErrorHandler(q)});return!this.isAnchorElement};bC.prototype.ngOnDestroy=function(){var a;(a=this.subscription)==null||a.unsubscribe()};
var utc=function(a){var b=a.urlTree,c,d;a.reactiveHref.set(b!==null&&a.locationStrategy?(d=(c=a.locationStrategy)==null?void 0:c.prepareExternalUrl(a.router.urlSerializer.serialize(b)))!=null?d:"":null)};
pg.Object.defineProperties(bC.prototype,{href:{configurable:!0,enumerable:!0,get:function(){return Rg(this.reactiveHref)},set:function(a){this.reactiveHref.set(a)}},routerLink:{configurable:!0,enumerable:!0,set:function(a){a==null?(this.routerLinkInput=null,stc(this,null)):(Tn(a)?this.routerLinkInput=a:this.routerLinkInput=Array.isArray(a)?a:[a],stc(this,"0"))}},urlTree:{configurable:!0,enumerable:!0,get:function(){return this.routerLinkInput===null?null:Tn(this.routerLinkInput)?this.routerLinkInput:
aC(this.router,this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}});bC.\u0275fac=function(a){return new (a||bC)(Ui($B),Ui(Zn),ula("tabindex"),Ui($m),Ui(Ph),Ui(Ay))};
bC.\u0275dir=$i({type:bC,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(a,b){a&1&&Q("click",function(c){return b.onClick(c.button,c.ctrlKey,c.shiftKey,c.altKey,c.metaKey)});a&2&&Hj("href",b.reactiveHref(),koa)("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Tk],skipLocationChange:[2,"skipLocationChange",
"skipLocationChange",Tk],replaceUrl:[2,"replaceUrl","replaceUrl",Tk],routerLink:"routerLink"},features:[$w]});var cC=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 Lp;this.routerEventsSubscription=a.events.subscribe(function(h){h instanceof go&&f.update()})};cC.prototype.ngAfterContentInit=function(){var a=this;li(this.links.changes,li(null)).pipe(ui()).subscribe(function(){a.update();vtc(a)})};
var vtc=function(a){var b;(b=a.linkInputChangesSubscription)==null||b.unsubscribe();b=[].concat(p(a.links.toArray()),[a.link]).filter(function(c){return!!c}).map(function(c){return c.onChanges});a.linkInputChangesSubscription=di(b).pipe(ui()).subscribe(function(c){a._isActive!==wtc(a,a.router)(c)&&a.update()})};cC.prototype.ngOnChanges=function(){this.update()};cC.prototype.ngOnDestroy=function(){this.routerEventsSubscription.unsubscribe();var a;(a=this.linkInputChangesSubscription)==null||a.unsubscribe()};
cC.prototype.update=function(){var a=this;this.links&&this.router.navigated&&queueMicrotask(function(){var b=xtc(a);a.classes.forEach(function(c){b?a.renderer.addClass(a.element.nativeElement,c):a.renderer.removeClass(a.element.nativeElement,c)});b&&a.ariaCurrentWhenActive!==void 0?a.renderer.setAttribute(a.element.nativeElement,"aria-current",a.ariaCurrentWhenActive.toString()):a.renderer.removeAttribute(a.element.nativeElement,"aria-current");a._isActive!==b&&(a._isActive=b,a.cdr.markForCheck(),
a.isActiveChange.emit(b))})};var wtc=function(a,b){var c=a.routerLinkActiveOptions.paths?a.routerLinkActiveOptions:a.routerLinkActiveOptions.exact||!1;return function(d){return(d=d.urlTree)?b.isActive(d,c):!1}},xtc=function(a){var b=wtc(a,a.router);return a.link&&b(a.link)||a.links.some(b)};
pg.Object.defineProperties(cC.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})}}});cC.\u0275fac=function(a){return new (a||cC)(Ui($B),Ui(Ph),Ui($m),Ui(sx),Ui(bC,8))};
cC.\u0275dir=$i({type:cC,selectors:[["","routerLinkActive",""]],contentQueries:function(a,b,c){a&1&&fk(c,bC,5);if(a&2){var d;ik(d=jk())&&(b.links=d)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[$w]});var ytc=function(){},dC=function(a,b,c,d){this.router=a;this.injector=b;this.preloadingStrategy=c;this.loader=d},ztc=function(a){a.subscription=a.router.events.pipe(Di(function(b){return b instanceof go}),ej(function(){return a.preload()})).subscribe(function(){})};dC.prototype.preload=function(){return Atc(this,this.injector,this.router.config)};dC.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};
var Atc=function(a,b,c){var d=[];c=l(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;e.providers&&!e._injector&&(e._injector=tpa(e.providers,b,"Route: "+e.path));var f=void 0,h=(f=e._injector)!=null?f:b,k=void 0;f=(k=e._loadedInjector)!=null?k:h;(e.loadChildren&&!e._loadedRoutes&&e.canLoad===void 0||e.loadComponent&&!e._loadedComponent)&&d.push(Btc(a,h,e));if(e.children||e._loadedRoutes)h=void 0,d.push(Atc(a,f,(h=e.children)!=null?h:e._loadedRoutes))}return di(d).pipe(ui())},Btc=function(a,b,
c){return a.preloadingStrategy.preload(c,function(){var d=(c.loadChildren&&c.canLoad===void 0?di(a.loader.loadChildren(b,c)):li(null)).pipe(ti(function(f){if(f===null)return li(void 0);c._loadedRoutes=f.routes;c._loadedInjector=f.injector;var h;return Atc(a,(h=f.injector)!=null?h:b,f.routes)}));if(c.loadComponent&&!c._loadedComponent){var e=a.loader.loadComponent(b,c);return di([d,e]).pipe(ui())}return d})};dC.\u0275fac=function(a){return new (a||dC)(bh($B),bh(Vi),bh(ytc),bh(SB))};
dC.\u0275prov=Dg({token:dC,factory:dC.\u0275fac,providedIn:"root"});var Ctc=new kh(""),eC=function(a,b,c,d,e){e=e===void 0?{}: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={};var f;(f=e).scrollPositionRestoration||(f.scrollPositionRestoration="disabled");var h;(h=e).anchorScrolling||(h.anchorScrolling="disabled")};
eC.prototype.init=function(){if(this.options.scrollPositionRestoration!=="disabled")try{this.viewportScroller.window.history.scrollRestoration="manual"}catch(a){console.warn("NG02400")}this.routerEventsSubscription=Dtc(this);this.scrollEventsSubscription=Etc(this)};
var Dtc=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 go?(a.lastId=b.id,Ftc(a,a.urlSerializer.parse(b.urlAfterRedirects).fragment)):b instanceof jo&&b.code===0&&(a.lastSource=void 0,a.restoredId=0,Ftc(a,a.urlSerializer.parse(b.url).fragment))})},Etc=function(a){return a.transitions.events.subscribe(function(b){if(b instanceof
rsc){var c={behavior:"instant"};if(b.position)a.options.scrollPositionRestoration==="top"?Xnc(a.viewportScroller,[0,0],c):a.options.scrollPositionRestoration==="enabled"&&Xnc(a.viewportScroller,b.position,c);else if(b.anchor&&a.options.anchorScrolling==="enabled"){c=a.viewportScroller;a:{var d=c.document;b=b.anchor;var e=d.getElementById(b)||d.getElementsByName(b)[0];if(e)b=e;else{if(typeof d.createTreeWalker==="function"&&d.body&&typeof d.body.attachShadow==="function")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(Object.assign({},void 0,{left:d-f[0],top:e-f[1]}));b.focus()}}else a.options.scrollPositionRestoration!=="disabled"&&Xnc(a.viewportScroller,[0,0])}})},Ftc=function(a,b){a.zone.runOutsideAngular(function(){return v(function(c){if(c.nextAddress==
1)return w(c,new Promise(function(d){setTimeout(d);typeof requestAnimationFrame!=="undefined"&&requestAnimationFrame(d)}),2);a.zone.run(function(){a.transitions.events.next(new rsc(a.lastSource==="popstate"?a.store[a.restoredId]:null,b))});ji(c)})})};eC.prototype.ngOnDestroy=function(){var a;(a=this.routerEventsSubscription)==null||a.unsubscribe();var b;(b=this.scrollEventsSubscription)==null||b.unsubscribe()};eC.\u0275fac=function(){Joa()};eC.\u0275prov=Dg({token:eC,factory:eC.\u0275fac});new kh("",{providedIn:"root",factory:function(){return!1}});var Gtc=new kh("",{factory:function(){return new oj}}),Htc=new kh("",{providedIn:"root",factory:function(){return 1}}),Itc=new kh("");new kh("");var Jtc=[cn,{provide:GB,useClass:asc},$B,JB,{provide:Zn,useFactory:function(){return x($B).routerState.root}},SB,[]],fC=function(){};fC.\u0275fac=function(a){return new (a||fC)};fC.\u0275mod=Zi({type:fC});fC.\u0275inj=Eg({});var Ktc=new kh("");var gC=function(){bC.apply(this,arguments)};Y(gC,bC);pg.Object.defineProperties(gC.prototype,{routerLinkObj:{configurable:!0,enumerable:!0,set:function(a){this.queryParams=a.queryParams;this.routerLink=a.path;this.fragment=a.fragment}}});gC.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(gC)))(b||gC)}}();gC.\u0275dir=$i({type:gC,selectors:[["a","routerLinkObj",""],["area","routerLinkObj",""]],inputs:{routerLinkObj:"routerLinkObj"},standalone:!1,features:[xj]});var hC=function(){};
hC.\u0275fac=function(a){return new (a||hC)};hC.\u0275mod=Zi({type:hC});hC.\u0275inj=Eg({imports:[fC]});var iC=function(){};iC.\u0275fac=function(a){return new (a||iC)};iC.\u0275mod=Zi({type:iC});iC.\u0275inj=Eg({imports:[kz]});var jC=function(){};jC.\u0275fac=function(a){return new (a||jC)};jC.\u0275mod=Zi({type:jC});jC.\u0275inj=Eg({imports:[xy,iC,fC,hC]});var kC=function(){YA.call(this,{freshUntil:3E5,ancientAfter:6048E5});var a=this;this.templatesApi=x(DB);this.appEvents=x(EB);this.recordType="componentTemplates";this.idForRecord=function(b){return b.componentId};this.defaultTemplate$=function(b){return a.watch(b).pipe(Di(fe),C(function(c){return c.templates}),C(function(c){var d;return(d=c.find(function(e){return e.default}))!=null?d:c[0]}))};this.appEvents.templateModified.pipe(Di(function(b){return!!b&&b!=="0"})).subscribe(function(b){a.poke(b)})};
Y(kC,YA);kC.prototype.fetchOne=function(a){var b=this;return wi(function(){return b.templatesApi.query(a).then(function(c){return{componentId:a,templates:c}})})};kC.\u0275fac=function(a){return new (a||kC)};kC.\u0275prov=Dg({token:kC,factory:kC.\u0275fac,providedIn:"root"});var Ltc=function(a,b){this.childIterator_=a[da.Symbol.iterator]();this.mapFn_=b};Ltc.prototype[Symbol.iterator]=function(){return this};Ltc.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 Mtc=function(a,b){return new Ltc(a,b)};var lC=function(){};lC.prototype.next=function(){return Ntc};var Ntc={done:!0,value:void 0};lC.prototype.__iterator__=function(){return this};var Otc=function(a){if(a instanceof mC||a instanceof nC||a instanceof oC)return a;if(typeof a.next=="function")return new mC(function(){return a});if(typeof a[Symbol.iterator]=="function")return new mC(function(){return a[Symbol.iterator]()});if(typeof a.__iterator__=="function")return new mC(function(){return a.__iterator__()});throw Error("pc");},mC=function(a){this.func_=a};mC.prototype.__iterator__=function(){return new nC(this.func_())};mC.prototype[Symbol.iterator]=function(){return new oC(this.func_())};
mC.prototype.toEs6=function(){return new oC(this.func_())};var nC=function(a){this.iter_=a};Y(nC,lC);nC.prototype.next=function(){return this.iter_.next()};nC.prototype[Symbol.iterator]=function(){return new oC(this.iter_)};nC.prototype.toEs6=function(){return new oC(this.iter_)};var oC=function(a){mC.call(this,function(){return a});this.iter_=a};Y(oC,mC);oC.prototype.next=function(){return this.iter_.next()};var pC=function(a,b){this.map_={};this.keys_=[];this.version_=this.size=0;var c=arguments.length;if(c>1){if(c%2)throw Error("Z");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};g=pC.prototype;g.getCount=function(){return this.size};g.getValues=function(){Ptc(this);for(var a=[],b=0;b<this.keys_.length;b++)a.push(this.map_[this.keys_[b]]);return a};g.getKeys=function(){Ptc(this);return this.keys_.concat()};g.containsKey=function(a){return this.has(a)};
g.has=function(a){return qC(this.map_,a)};g.equals=function(a,b){if(this===a)return!0;if(this.size!=a.getCount())return!1;b=b||Qtc;Ptc(this);for(var c,d=0;c=this.keys_[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Qtc=function(a,b){return a===b};pC.prototype.isEmpty=function(){return this.size==0};pC.prototype.clear=function(){this.map_={};this.version_=this.size=this.keys_.length=0};pC.prototype.remove=function(a){return this.delete(a)};
pC.prototype.delete=function(a){return qC(this.map_,a)?(delete this.map_[a],--this.size,this.version_++,this.keys_.length>2*this.size&&Ptc(this),!0):!1};var Ptc=function(a){if(a.size!=a.keys_.length){for(var b=0,c=0;b<a.keys_.length;){var d=a.keys_[b];qC(a.map_,d)&&(a.keys_[c++]=d);b++}a.keys_.length=c}if(a.size!=a.keys_.length){b={};for(d=c=0;c<a.keys_.length;){var e=a.keys_[c];qC(b,e)||(a.keys_[d++]=e,b[e]=1);c++}a.keys_.length=d}};g=pC.prototype;
g.get=function(a,b){return qC(this.map_,a)?this.map_[a]:b};g.set=function(a,b){qC(this.map_,a)||(this.size+=1,this.keys_.push(a),this.version_++);this.map_[a]=b};g.addAll=function(a){if(a instanceof pC)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 pC(this)};g.keys=function(){return Otc(this.__iterator__(!0)).toEs6()};
g.values=function(){return Otc(this.__iterator__(!1)).toEs6()};g.entries=function(){var a=this;return Mtc(this.keys(),function(b){return[b,a.get(b)]})};g.__iterator__=function(a){Ptc(this);var b=0,c=this.version_,d=this,e=new lC;e.next=function(){if(c!=d.version_)throw Error("qc");if(b>=d.keys_.length)return Ntc;var f=d.keys_[b++];return{value:a?f:d.map_[f],done:!1}};return e};var qC=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Stc=function(a,b){this.maxCount_=a||null;this.cache_=!0;this.evictionCallback_=b;this.map_=new pC;this.head_=new Rtc("");this.head_.next=this.head_.prev=this.head_},Utc=function(a,b){(b=a.map_.get(b))&&a.cache_&&(b.remove(),Ttc(a,b));return b};g=Stc.prototype;g.get=function(a,b){return(a=Utc(this,a))?a.value:b};g.set=function(a,b){var c=Utc(this,a);c?c.value=b:(c=new Rtc(a,b),this.map_.set(a,c),Ttc(this,c))};g.peek=function(){return this.head_.next.value};g.shift=function(){return Vtc(this,this.head_.next)};
g.pop=function(){return Vtc(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(){Wtc(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 Ttc=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);a.maxCount_!=null&&Wtc(a,a.maxCount_)},Wtc=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)}},Vtc=function(a,b){a.head_!=b&&a.removeNode(b);return b.value},Rtc=function(a,b){this.key=a;this.value=b};
Rtc.prototype.remove=function(){this.prev.next=this.next;this.next.prev=this.prev;delete this.prev;delete this.next};var rC=function(){this.caches=new Map};rC.prototype.create=function(a,b){if(this.caches.has(a))throw Error("rc`"+a);b=new Xtc(b==null?void 0:b.capacity);this.caches.set(a,b);return b};rC.prototype.get=function(a){return this.caches.get(a)};rC.\u0275fac=function(a){return new (a||rC)};rC.\u0275prov=Dg({token:rC,factory:rC.\u0275fac,providedIn:"root"});var Xtc=function(a){this.lruCache=new Stc(a)};Xtc.prototype.get=function(a){return this.lruCache.get(a)};
Xtc.prototype.put=function(a,b){b!==void 0&&this.lruCache.set(a,b);return b};Xtc.prototype.remove=function(a){this.lruCache.remove(a)};Xtc.prototype.removeAll=function(){this.lruCache.clear()};var ko=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,ko.messageId)};Y(ko,n);ko.prototype.getIt=function(){return r(this,im,18,Kc)};ko.prototype.setIt=function(a){return t(this,im,18,a,Kc)};ko.messageId="b.Hotlist";var Ytc=RegExp("action/issues/([0-9]+)/"),Ztc=new kh("ETAG_URL_TRANSFORMERS"),$tc=["POST","PUT","DELETE"],tC=function(){this.etagStore=x(sC)};tC.prototype.intercept=function(a,b){if($tc.includes(a.method)){var c=this.etagStore.getEtag(a);c&&a.headers&&(a=a.clone({headers:a.headers.set("If-Match",c)}))}Ytc.exec(a.url);return auc(this,a,b)};var auc=function(a,b,c){return c.handle(b).pipe(uj(function(d){d instanceof rA&&(d=d.headers,d.has("etag")&&a.etagStore.setEtag(b,d.get("etag")))}))};
tC.\u0275fac=function(a){return new (a||tC)};tC.\u0275prov=Dg({token:tC,factory:tC.\u0275fac,providedIn:"root"});var sC=function(){this.transformers=x(Ztc,{optional:!0});this.etagStore={}};sC.prototype.setEtag=function(a,b){b!=null&&(a=buc(this,a.url),this.etagStore[a]=b)};sC.prototype.getEtag=function(a){a=buc(this,a.url);return this.etagStore[a]};var buc=function(a,b){var c;a=l((c=a.transformers)!=null?c:[]);for(c=a.next();!c.done;c=a.next())if(c=c.value,(c=c(b))&&c!==b)return c;return b};
sC.\u0275fac=function(a){return new (a||sC)};sC.\u0275prov=Dg({token:sC,factory:sC.\u0275fac,providedIn:"root"});var cuc={provide:kqc,useClass:tC,multi:!0};var km=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(km,n);g=km.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getPosition=function(){return Pd(this,2)};g.setPosition=function(a){return se(this,2,a)};g.getIssue=function(){return r(this,lm,3)};g.setIssue=function(a){return t(this,lm,3,a)};var duc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(duc,n);g=duc.prototype;g.getHotlistId=function(){return Re(this,1)};g.setHotlistId=function(a){return ll(this,1,a)};g.setOrderBy=function(a){return Vd(this,2,a)};g.setPageSize=function(a){return se(this,3,a)};g.setPageToken=function(a){return Vd(this,4,a)};g.getFilter=function(){return Oc(this,5)};g.setFilter=function(a){return Vd(this,5,a)};g.setView=function(a){return Xd(this,6,a)};
g.setIssueDescriptionView=function(a){return Xd(this,7,a)};g.getQuery=function(){return Oc(this,8)};g.setQuery=function(a){return Vd(this,8,a)};g.clearQuery=function(){Ou(this,8)};var euc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(euc,n);g=euc.prototype;g.getHotlistId=function(){return Re(this,1)};g.setHotlistId=function(a){return ll(this,1,a)};g.getIssueId=function(){return Re(this,2)};g.getIssueId_asString=function(){return Xe(this,2)};g.setIssueId=function(a){return ll(this,2,a)};var uC=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,uC.messageId)};Y(uC,n);uC.prototype.getIt=function(){return r(this,duc,1,Kc)};uC.prototype.setIt=function(a){return t(this,duc,1,a,Kc)};uC.messageId="b.ListHotlistEntriesRequest";var vC=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(vC,n);vC.prototype.getNextPageToken=function(){return Oc(this,2)};vC.prototype.getTotalSize=function(){return Pd(this,3)};vC.prototype.getTotalSizeAccurate=function(){return De(this,4)};vC.prototype.getMaySkipResults=function(){return De(this,5)};var wC=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,wC.messageId)};Y(wC,n);wC.prototype.getIt=function(){return r(this,vC,1,Kc)};wC.prototype.setIt=function(a){return t(this,vC,1,a,Kc)};wC.messageId="b.ListHotlistEntriesResponse";var xC=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,xC.messageId)};Y(xC,n);xC.prototype.addHotlists=function(a){rm(this,1,ko,a,void 0,Kc)};xC.prototype.removeHotlists=function(a){return Qu(this,1,ko,a,Kc)};xC.messageId="b.ListHotlistsResponse";var zC=function(){this.hotlistApi=x(yC);var a=x(rC);this.hotlistCache=a.get("hotlists-second-level-cache")||a.create("hotlists-second-level-cache",{capacity:1E3})};g=zC.prototype;g.get=function(a){var b=this.hotlistCache.get(String(a))||this.hotlistApi.get(a);return this.hotlistCache.put(String(a),b)};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)};zC.\u0275fac=function(a){return new (a||zC)};zC.\u0275prov=Dg({token:zC,factory:zC.\u0275fac,providedIn:"root"});var AC=function(){this.executor=x(ey);this.etagStore=x(sC);this.bufferTimeMs=50};
AC.prototype.call=function(a){a=Array.from(a,function(b){return String(b)});return a.length===0?li(new Map):a.length===1?this.executor.get({url:"action/hotlists/"+a[0],responseConstructor:ko}).pipe(C(lo),C(function(b){var c=new Map;c.set(String(b.hotlistId),b);return c})):this.executor.get({url:"action/hotlists",responseConstructor:xC,options:{params:{id:a}}}).pipe(C(function(b){var c=new Map;b=l(ie(b,ko,1,Rd(),Kc).map(lo));for(var d=b.next();!d.done;d=b.next())d=d.value,c.set(String(d.hotlistId),
d);return c}))};AC.prototype.split=function(a,b){if(b=b.get(a)){var c=b.etag;if(c){var d=this.etagStore;c!=null&&(a=buc(d,"action/hotlists/"+a),d.etagStore[a]=c)}}return b};AC.\u0275fac=function(a){return new (a||AC)};AC.\u0275prov=Dg({token:AC,factory:AC.\u0275fac,providedIn:"root"});var BC=function(){this.executor=x(ey);this.batchApiConfig=x(AC);this.batchApiAdapter=x(sB);this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};g=BC.prototype;
g.get=function(a){var b=this;return this.adaptedGet(String(a)).pipe(sj(function(c){return c?li(c):b.executor.get({url:"action/hotlists/"+a,responseConstructor:ko}).pipe(C(lo))}))};g.bulkLoad=function(a){var b=this;return a.length===0?li([]):xi(a.map(function(c){return b.adaptedGet(String(c))})).pipe(C(function(c){return c.filter(fe)}))};
g.repositionHotlistIssue=function(a,b,c){var d=(new euc).setHotlistId(Number(a)).setIssueId(b);b=(new km).setIssueId(Number(b)).setPosition(c);d=t(d,km,3,b);return this.executor.put({url:"action/hotlists/"+a+"/entry",body:d,responseConstructor:null})};g.createHotlist=function(a,b){a=(new im).setName(a);b&&a.setDescription(b);return this.executor.post({url:"action/hotlists",body:(new ko).setIt(a),responseConstructor:ko}).pipe(C(lo))};
g.queryHotlists=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:xC,options:{params:{q:a}}}).pipe(C(function(b){var c;return((c=ie(b,ko,1,Rd(),Kc))!=null?c:[]).map(lo)}))};g.archiveHotlist=function(a,b){return this.executor.post({url:"action/hotlists/"+a+"/archive",body:fCa(b),responseConstructor:ko}).pipe(C(lo))};
g.updateMetadata=function(a,b){var c={};b.etag&&(c["If-Match"]=String(b.etag));return this.executor.post({url:"action/hotlists/"+a,body:fCa(b),options:{headers:c},responseConstructor:ko}).pipe(C(lo))};
g.getPagedHotlistContent=function(a,b,c,d,e){var f={};e&&(f.trackerIds=e);d=d.map(function(h){return{field:{type:h.fieldId.type,customFieldId:h.fieldId.customFieldId,customFieldName:h.fieldId.customFieldName},direction:h.direction}});b=(new duc).setHotlistId(a).setOrderBy(uta(d)).setPageSize(c).setPageToken("start_index:"+c*(b-1));return this.executor.post({url:"action/hotlists/"+a+"/entries",options:{params:Object.assign({},f)},body:(new uC).setIt(b),responseConstructor:wC}).pipe(C(function(h){return Gva(h.getIt())}))};
BC.\u0275fac=function(a){return new (a||BC)};BC.\u0275prov=Dg({token:BC,factory:BC.\u0275fac,providedIn:"root"});var yC=function(){this.observableApi=x(BC)};g=yC.prototype;g.get=function(a){return pi(this.observableApi.get(a))};g.bulkLoad=function(a){return pi(this.observableApi.bulkLoad(a))};g.repositionHotlistIssue=function(a,b,c){return pi(this.observableApi.repositionHotlistIssue(a,b,c))};g.createHotlist=function(a,b){return pi(this.observableApi.createHotlist(a,b))};g.queryHotlists=function(a){return pi(this.observableApi.queryHotlists(a))};
g.archiveHotlist=function(a,b){return pi(this.observableApi.archiveHotlist(a,b))};g.updateMetadata=function(a,b){return pi(this.observableApi.updateMetadata(a,b))};g.getPagedHotlistContent=function(a,b,c,d,e){return pi(this.observableApi.getPagedHotlistContent(a,b,c,d,e))};yC.\u0275fac=function(a){return new (a||yC)};yC.\u0275prov=Dg({token:yC,factory:yC.\u0275fac,providedIn:"root"});var gCa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(gCa,n);gCa.prototype.getIt=function(){return r(this,un,6)};gCa.prototype.setIt=function(a){return t(this,un,6,a)};var fuc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,fuc.messageId)};Y(fuc,n);fuc.messageId="b.Favorite";var guc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,guc.messageId)};Y(guc,n);guc.prototype.getComponentsList=function(){return ie(this,Mn,1,Rd(),Kc)};guc.messageId="b.UserRecentComponentResponse";var CC=function(){this.executor=x(ey)};g=CC.prototype;g.getUserBookmarks=function(){return this.executor.post({url:"action/getUserBookmarks",body:null,responseConstructor:gB}).pipe(C(function(a){return Pya(a.getIt())}))};g.getRecentComponents=function(){return this.executor.get({url:"action/current_user/recent_components",responseConstructor:guc}).pipe(C(Gza))};g.getUserBookmark=function(a,b){return this.executor.get({url:"action/favorites/"+a+"/"+b,responseConstructor:fuc}).pipe(C(hCa))};
g.addUserBookmark=function(a){a=(new gCa).setIt(Oya(a));return this.executor.post({url:"action/favorites",body:a,responseConstructor:fuc}).pipe(C(hCa))};g.removeUserBookmark=function(a){return this.executor.post({url:"action/removeUserBookmark",body:Oya(a),responseConstructor:null})};
var huc=function(a,b,c){var d={};d.id=String(b);c.voted!==null&&(d.vote=String(!!c.voted));c.starred!==null&&(d.star=String(!!c.starred));c.notificationSubscription!==null&&(d.subscription=c.notificationSubscription);return a.executor.post({url:"action/current_user/issue_data",body:null,options:{params:d},responseConstructor:null})};CC.\u0275fac=function(a){return new (a||CC)};CC.\u0275prov=Dg({token:CC,factory:CC.\u0275fac,providedIn:"root"});var DC=function(){this.observableApi=x(CC)};g=DC.prototype;
g.getUserBookmarks=function(){return pi(this.observableApi.getUserBookmarks())};g.getRecentComponents=function(){return pi(this.observableApi.getRecentComponents())};g.getUserBookmark=function(a,b){return pi(this.observableApi.getUserBookmark(a,b))};g.addUserBookmark=function(a){return pi(this.observableApi.addUserBookmark(a))};g.removeUserBookmark=function(a){return pi(this.observableApi.removeUserBookmark(a))};DC.\u0275fac=function(a){return new (a||DC)};
DC.\u0275prov=Dg({token:DC,factory:DC.\u0275fac,providedIn:"root"});var EC=function(){YA.call(this,{freshUntil:3E5});this.observableHotlistResources=x(BC);this.recordType="hotlist";this.idForRecord=function(a){return String(a.hotlistId)}};Y(EC,YA);EC.prototype.fetchOne=function(a){return a?this.observableHotlistResources.get(a).pipe(cj(function(b){return b.status===403?li(void 0):mi(function(){return b})})):li(void 0)};EC.prototype.fetchSet=function(a){return this.observableHotlistResources.bulkLoad(a.filter(Boolean)).pipe(C(function(b){return(b!=null?b:[]).filter(fe)}))};
EC.prototype.doSave=function(a){return this.observableHotlistResources.updateMetadata(a.hotlistId,a)};EC.\u0275fac=function(a){return new (a||EC)};EC.\u0275prov=Dg({token:EC,factory:EC.\u0275fac,providedIn:"root"});var mo=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(mo,n);mo.prototype.getIt=function(){return r(this,rn,12)};mo.prototype.setIt=function(a){return t(this,rn,12,a)};var iuc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,iuc.messageId)};Y(iuc,n);iuc.prototype.setSearch=function(a,b){Nu(this,1,mo,a,b,Kc)};iuc.messageId="b.BatchGetSearchesResponse";var FC=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,FC.messageId)};Y(FC,n);FC.prototype.getSearch=function(){return r(this,mo,1,Kc)};FC.prototype.setSearch=function(a){t(this,mo,1,a,Kc)};FC.messageId="b.SearchResponse";var GC=function(){this.jspbExecutor=x(ey)};g=GC.prototype;g.get=function(a){return this.jspbExecutor.get({url:"action/saved_searches/"+a,responseConstructor:FC}).pipe(C(jCa))};g.batchGet=function(a){if(a.length>500)throw Error("sc");return this.jspbExecutor.get({url:"action/saved_searches?"+a.map(function(b){return"id="+b}).join("&"),responseConstructor:iuc}).pipe(C(kCa))};
g.create=function(a,b){a=(new mo).setIt((new rn).setName(a).setQuery(b));return this.jspbExecutor.post({url:"action/saved_searches",body:a,responseConstructor:FC}).pipe(C(jCa))};g.update=function(a,b){b=(new mo).setIt(Jya(b));return this.jspbExecutor.post({url:"action/saved_searches/"+a,body:b,responseConstructor:FC}).pipe(C(jCa))};g.delete=function(a){return this.jspbExecutor.delete({url:"action/saved_searches/"+a,responseConstructor:null})};GC.\u0275fac=function(a){return new (a||GC)};
GC.\u0275prov=Dg({token:GC,factory:GC.\u0275fac,providedIn:"root"});var HC=function(){this.observableResources=x(GC)};g=HC.prototype;g.get=function(a){return pi(this.observableResources.get(a))};g.batchGet=function(a){return pi(this.observableResources.batchGet(a))};g.create=function(a,b){return pi(this.observableResources.create(a,b))};g.update=function(a,b){return pi(this.observableResources.update(a,b))};g.delete=function(a){return pi(this.observableResources.delete(a))};
HC.\u0275fac=function(a){return new (a||HC)};HC.\u0275prov=Dg({token:HC,factory:HC.\u0275fac,providedIn:"root"});var IC=function(){YA.call(this);this.savedSearchApi=x(GC);this.recordType="savedSearch";this.idForRecord=function(a){return String(a.searchId)}};Y(IC,YA);IC.prototype.fetchOne=function(a){return this.savedSearchApi.get(a)};IC.prototype.fetchSet=function(a){return this.savedSearchApi.batchGet(a)};IC.\u0275fac=function(a){return new (a||IC)};IC.\u0275prov=Dg({token:IC,factory:IC.\u0275fac,providedIn:"root"});var JC=function(){YA.call(this,{freshUntil:3E5});var a=this;this.userApi=x(CC);this.hotlistApi=x(BC);this.bookmarkGroupApi=x(hB);this.appEvents=x(EB);this.hotlistFridge=x(EC);this.savedSearchFridge=x(IC);this.bookmarkGroupFridge=x(iB);this.activeSession=x(Ks);this.recordType="user-bookmark";this.isEqual=vd;this.idForRecord=function(b){return b.id};this.pokeAll=function(){a.poke("current-user-bookmark-id",void 0)};Ci(this.appEvents.hotlistChanged,this.appEvents.hotlistCreated,this.appEvents.bookmarkGroupModified,
this.appEvents.savedSearchModified,this.appEvents.favoritesModified).subscribe(function(){a.poke("current-user-bookmark-id")})};Y(JC,YA);var juc=function(a){var b=a.activeSession.getUserEmail();return b?a.hotlistApi.queryHotlists("include_archived:true owner:"+b):li([])},kuc=function(a){var b=a.activeSession.getUserEmail();return b?wi(function(){return a.bookmarkGroupApi.query("include_archived:true owner:"+b)}):li([])};
JC.prototype.fetchOne=function(){var a=this;return xi([this.userApi.getUserBookmarks(),juc(this),kuc(this)]).pipe(uj(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;c=l(c);for(var e=c.next();!e.done;e=c.next())a.bookmarkGroupFridge.announce(e.value);c=l(b.bookmarkGroups);for(e=c.next();!e.done;e=c.next())a.bookmarkGroupFridge.announce(e.value);d=l(d);for(c=d.next();!c.done;c=d.next())a.hotlistFridge.announce(c.value);d=l(b.hotlists);for(c=d.next();!c.done;c=d.next())a.hotlistFridge.announce(c.value);
b=l(b.savedSearches);for(d=b.next();!d.done;d=b.next())a.savedSearchFridge.announce(d.value)}),C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;d=BCa([].concat(p(b.hotlists),p(d)),[].concat(p(b.bookmarkGroups),p(c)),b.savedSearches);return CCa(d,b)}))};
var luc=function(a){return a.watch("current-user-bookmark-id",void 0).pipe(Di(fe))},KC=function(a){return luc(a).pipe(C(function(b){var c,d=(c=b==null?void 0:b.hotlists)!=null?c:[],e;b=(e=b==null?void 0:b.bookmarkGroups.flatMap(function(f){return f.sublinks}).filter(fe).filter(function(f){return f.resourceType==="HOTLIST"}))!=null?e:[];return[].concat(p(b),p(d))}),C(function(b){return no(b,function(c){return c.id})}),C(function(b){return zCa(b)}),C(function(b){return b.map(function(c){return c.id})}),
sj(function(b){return a.hotlistFridge.watchSet(b)}))},muc=function(a){return luc(a).pipe(C(function(b){var c;return(c=b==null?void 0:b.savedSearches.map(function(d){return d.id}))!=null?c:[]}),C(function(b){return b.filter(fe)}),sj(function(b){return a.savedSearchFridge.watchSet(b)}))};JC.\u0275fac=function(a){return new (a||JC)};JC.\u0275prov=Dg({token:JC,factory:JC.\u0275fac,providedIn:"root"});
var zCa=ze(function(a){return a.name},Be,"ASCENDING"),yCa=ze(function(a){return a.name},Be,"ASCENDING"),ACa=ze(function(a){return a.name},Be,"ASCENDING");var ECa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ECa,n);ECa.prototype.getIt=function(){return r(this,Cl,14)};ECa.prototype.setIt=function(a){return t(this,Cl,14,a)};var Bo=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Bo,n);Bo.prototype.getIt=function(){return r(this,Al,13)};Bo.prototype.setIt=function(a){return t(this,Al,13,a)};var LC=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,LC.messageId)};Y(LC,n);LC.prototype.getIt=function(){return r(this,Cl,2,Kc)};LC.prototype.setIt=function(a){return t(this,Cl,2,a,Kc)};LC.messageId="b.CustomFieldResponse";var nuc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(nuc,n);g=nuc.prototype;g.getCustomFieldsList=function(){return ie(this,Cl,1,Rd())};g.setCustomFieldsList=function(a){return Ol(this,1,a)};g.addCustomFields=function(a){rm(this,1,Cl,a)};g.getNextPageToken=function(){return Oc(this,2)};g.getTotalSize=function(){return Pd(this,3)};var MC=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,MC.messageId)};Y(MC,n);MC.prototype.getIt=function(){return r(this,nuc,4,Kc)};MC.prototype.setIt=function(a){return t(this,nuc,4,a,Kc)};MC.messageId="b.ListCustomFieldsResponse";var NC=function(){this.executor=x(ey)};g=NC.prototype;g.get=function(a){return this.executor.get({url:"action/custom_fields/"+Number(a),responseConstructor:LC}).pipe(C(DCa))};g.getResource=function(a){return this.executor.get({url:"action/custom_fields/"+a,responseConstructor:LC}).pipe(C(DCa))};g.create=function(a,b){b=FCa(b);return this.executor.post({url:"action/custom_fields",options:{params:{componentId:a}},body:b,responseConstructor:LC}).pipe(C(DCa))};
g.update=function(a,b,c){b=Number(b);c=FCa(c);return this.executor.post({url:"action/custom_fields/"+b,options:{params:{componentId:a}},body:c,responseConstructor:LC}).pipe(C(DCa))};g.delete=function(a,b){return this.executor.delete({url:"action/custom_fields/"+Number(b),options:{params:{componentId:a}},responseConstructor:null})};
g.query=function(a){return this.executor.get({url:"action/custom_fields",options:{params:{query:a.query,trackerIds:a.trackerIds,pageSize:a.pageSize||0,pageToken:a.pageToken||""}},responseConstructor:MC}).pipe(C(GCa))};NC.\u0275fac=function(a){return new (a||NC)};NC.\u0275prov=Dg({token:NC,factory:NC.\u0275fac,providedIn:"root"});var OC=function(){this.observableApi=x(NC)};g=OC.prototype;g.get=function(a){return pi(this.observableApi.get(a))};g.getResource=function(a){return pi(this.observableApi.getResource(a))};
g.create=function(a,b){return pi(this.observableApi.create(a,b))};g.update=function(a,b,c){return pi(this.observableApi.update(a,b,c))};g.delete=function(a,b){return pi(this.observableApi.delete(a,b))};g.query=function(a){return pi(this.observableApi.query(a))};OC.\u0275fac=function(a){return new (a||OC)};OC.\u0275prov=Dg({token:OC,factory:OC.\u0275fac,providedIn:"root"});var PC=function(){YA.call(this,{freshUntil:18E5,ancientAfter:2592E6});this.api=x(NC);this.recordType="customFieldResource";this.idForRecord=function(a){return String(a.customFieldId)}};Y(PC,YA);PC.prototype.fetchOne=function(a){return this.api.getResource(a).pipe(cj(function(b){console.error("error fetching custom field "+a,b);return li(void 0)}))};PC.\u0275fac=function(a){return new (a||PC)};PC.\u0275prov=Dg({token:PC,factory:PC.\u0275fac,providedIn:"root"});var QC=function(){YA.call(this);this.api=x(eB);this.recordType="EnrichmentCategory";this.idForRecord=function(a){return a.name};this.isEqual=vd};Y(QC,YA);QC.prototype.fetchOne=function(a){return Drc(this.api,a)};QC.prototype.fetchSet=function(a){var b=this;return si(a.map(function(c){return b.fetchOne(c)}))};QC.\u0275fac=function(a){return new (a||QC)};QC.\u0275prov=Dg({token:QC,factory:QC.\u0275fac,providedIn:"root"});var po=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(po,n);var qo=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,qo.messageId)};Y(qo,n);g=qo.prototype;g.getId=function(){return Re(this,1,void 0,Kc)};g.getId_asLegacyNumberOrString=function(){return gm(this,1,void 0,Kc)};g.getId_asString=function(){return Xe(this,1,void 0,Kc)};g.setId=function(a){return Ze(this,1,a,void 0,Kc)};g.setTriage=function(a){return t(this,po,2,a,Kc)};qo.messageId="b.IssueExperiments";var so=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(so,n);so.prototype.getName=function(){return Oc(this,1)};so.prototype.setName=function(a){return lf(this,1,a)};so.prototype.hasName=function(){return Ge(this,1)};so.prototype.getNameOrUndefined=function(){return Vu(this,1)};var aDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(aDa,n);g=aDa.prototype;g.getPhasesList=function(){return $e(this,1,Rd())};g.setPhasesList=function(a){return np(this,1,a)};g.getSubphasesList=function(){return $e(this,2,Rd())};g.setSubphasesList=function(a){return np(this,2,a)};g.getValue=function(){return r(this,Al,3)};g.setValue=function(a){return t(this,Al,3,a)};g.hasValue=function(){return Me(this,Al,3)};var to=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(to,n);to.prototype.getCustomFieldId=function(){return Re(this,1)};to.prototype.getCustomFieldId_asString=function(){return Xe(this,1)};to.prototype.setCustomFieldId=function(a){return Ze(this,1,a)};to.prototype.hasCustomFieldId=function(){return Qe(this,1)};var VCa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(VCa,n);g=VCa.prototype;g.getHotlistIdsList_asLegacyNumberOrString=function(a){return kIa(this,1,Rd(a))};g.getHotlistIdsList_asString=function(){return ge(this,1)};g.setHotlistIdsList=function(a){return op(this,1,a)};g.addHotlistIds=function(a,b){return bv(this,1,a,b)};g.addAllHotlistIds=function(a){cv(this,1,a)};g.removeHotlistIds=function(a){return Sec(this,1,a)};g.getPhasesList=function(){return $e(this,3,Rd())};
g.setPhasesList=function(a){return np(this,3,a)};g.getSubphasesList=function(){return $e(this,4,Rd())};g.setSubphasesList=function(a){return np(this,4,a)};var NCa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(NCa,n);var SCa=[1,2];var ro=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ro,n);g=ro.prototype;g.getScope=function(){return Oc(this,1)};g.setScope=function(a){return lf(this,1,a)};g.setConfig=function(a){Nu(this,3,NCa,a)};g.getId=function(){return Re(this,4)};g.getId_asLegacyNumberOrString=function(){return gm(this,4)};g.getId_asString=function(){return Xe(this,4)};g.setId=function(a){return Ze(this,4,a)};g.getDisplayName=function(){return Oc(this,5)};
g.setDisplayName=function(a){return lf(this,5,a)};g.getDisplayColumns=function(){return r(this,sf,6)};g.setDisplayColumns=function(a){t(this,sf,6,a)};var RC=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,RC.messageId)};Y(RC,n);g=RC.prototype;g.getId=function(){return Re(this,1,void 0,Kc)};g.getId_asLegacyNumberOrString=function(){return gm(this,1,void 0,Kc)};g.getId_asString=function(){return Xe(this,1,void 0,Kc)};g.setId=function(a){return Ze(this,1,a,void 0,Kc)};g.setTriage=function(a){return Nu(this,2,ro,a,void 0,Kc)};RC.messageId="b.TeamExperiments";var hDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(hDa,n);g=hDa.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getAddMask=function(){return r(this,wo,2)};g.getMutableAddMask=function(){return Pu(this,wo,2)};g.setAddMask=function(a){return t(this,wo,2,a)};g.getAdd=function(){return r(this,dm,3)};g.setAdd=function(a){return t(this,dm,3,a)};
g.getRemoveMask=function(){return r(this,wo,4)};g.getMutableRemoveMask=function(){return Pu(this,wo,4)};g.setRemoveMask=function(a){return t(this,wo,4,a)};g.getRemove=function(){return r(this,dm,5)};g.setRemove=function(a){return t(this,dm,5,a)};g.getIssueComment=function(){return r(this,om,6)};g.setIssueComment=function(a){t(this,om,6,a)};g.hasIssueComment=function(){return Me(this,om,6)};g.setSignificanceOverride=function(a){return Xd(this,7,a)};var Ho=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ho,n);Ho.prototype.getQuery=function(){return Oc(this,1)};Ho.prototype.setQuery=function(a){return Vd(this,1,a)};Ho.prototype.clearQuery=function(){Ou(this,1)};var SC=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(SC,n);SC.prototype.getIssueId=function(){return Re(this,1)};SC.prototype.getIssueId_asString=function(){return Xe(this,1)};SC.prototype.setIssueId=function(a){return ll(this,1,a)};var qDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(qDa,n);g=qDa.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getComponentId=function(){return Re(this,2)};g.getComponentId_asString=function(){return Xe(this,2)};g.setComponentId=function(a){return ll(this,2,a)};var YDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(YDa,n);YDa.prototype.getRelation=function(){return Zd(this,1)};YDa.prototype.setRelation=function(a){return Xd(this,1,a)};var XDa=function(a,b){return Dl(a,2,b)};var ouc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ouc,n);g=ouc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getReason=function(){return Zd(this,2)};g.setReason=function(a){return Xd(this,2,a)};g.setSignificanceOverride=function(a){return Xd(this,3,a)};var NDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(NDa,n);g=NDa.prototype;g.getQuery=function(){return Oc(this,1)};g.setQuery=function(a){return Vd(this,1,a)};g.clearQuery=function(){Ou(this,1)};g.setOrderBy=function(a){return Vd(this,2,a)};g.setPageSize=function(a){return se(this,3,a)};g.setPageToken=function(a){return Vd(this,4,a)};g.setView=function(a){return Xd(this,5,a)};g.setIssueDescriptionView=function(a){return Xd(this,6,a)};var nDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(nDa,n);g=nDa.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getComponentId=function(){return Re(this,2)};g.getComponentId_asString=function(){return Xe(this,2)};g.setComponentId=function(a){return ll(this,2,a)};g.setSignificanceOverride=function(a){return Xd(this,3,a)};var Ao=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ao,n);Ao.prototype.getIssueId=function(){return Re(this,1)};Ao.prototype.getIssueId_asString=function(){return Xe(this,1)};Ao.prototype.setIssueId=function(a){return ll(this,1,a)};var TC=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(TC,n);TC.prototype.getIssueId=function(){return Re(this,1)};TC.prototype.getIssueId_asString=function(){return Xe(this,1)};TC.prototype.setIssueId=function(a){return ll(this,1,a)};TC.prototype.setSignificanceOverride=function(a){return Xd(this,2,a)};var EDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(EDa,n);g=EDa.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getRetention=function(){return Zd(this,2)};g.setRetention=function(a){return Xd(this,2,a)};g.setSignificanceOverride=function(a){return Xd(this,3,a)};var UC=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,UC.messageId)};Y(UC,n);UC.prototype.getIt=function(){return r(this,ouc,3,Kc)};UC.prototype.setIt=function(a){return t(this,ouc,3,a,Kc)};UC.messageId="b.DeleteIssueRequest";var TDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(TDa,n);var tDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(tDa,n);g=tDa.prototype;g.getFieldName=function(){return Oc(this,1)};g.setFieldName=function(a){return lf(this,1,a)};g.getValue=function(){return Oc(this,2)};g.setValue=function(a){return lf(this,2,a)};g.hasValue=function(){return Ge(this,2)};g.getCustomFieldValue=function(){return r(this,Bo,5)};g.setCustomFieldValue=function(a){return t(this,Bo,5,a)};g.clearCustomFieldValue=function(){return Ou(this,5)};var yo=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,yo.messageId)};Y(yo,n);yo.prototype.getIt=function(){return r(this,jDa,5,Kc)};yo.prototype.setIt=function(a){return t(this,jDa,5,a,Kc)};yo.messageId="b.GetRetainedAccessPrincipalsRequest";var Eo=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Eo.messageId)};Y(Eo,n);Eo.prototype.getIt=function(){return r(this,km,4,Kc)};Eo.prototype.setIt=function(a){return t(this,km,4,a,Kc)};Eo.messageId="b.HotlistIssue";var Jo=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Jo,n);Jo.prototype.getIt=function(){return r(this,lm,23)};Jo.prototype.setIt=function(a){return t(this,lm,23,a)};var HDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(HDa,n);HDa.prototype.getIt=function(){return r(this,IDa,6)};HDa.prototype.setIt=function(a){return t(this,IDa,6,a)};var wDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(wDa,n);wDa.prototype.getIt=function(){return r(this,hDa,7)};wDa.prototype.setIt=function(a){return t(this,hDa,7,a)};var Fo=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Fo,n);Fo.prototype.setTrackerIdsList=function(a){return tc(this,6,a,Fb)};Fo.prototype.getIt=function(){return r(this,NDa,7)};Fo.prototype.setIt=function(a){return t(this,NDa,7,a)};var QDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(QDa,n);var PDa=function(a,b){return t(a,Fo,1,b)},SDa=function(a,b){Ol(a,3,b)},VDa=function(a,b){t(a,qo,4,b)},WDa=function(a,b){t(a,YDa,5,b)};var pDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(pDa,n);pDa.prototype.getIt=function(){return r(this,qDa,4)};pDa.prototype.setIt=function(a){return t(this,qDa,4,a)};var Go=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Go.messageId)};Y(Go,n);Go.prototype.getIt=function(){return r(this,Ho,4,Kc)};Go.prototype.setIt=function(a){return t(this,Ho,4,a,Kc)};Go.messageId="b.ListRecentEventsForIssuesRequest";var VC=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,VC.messageId)};Y(VC,n);VC.prototype.getIt=function(){return r(this,SC,3,Kc)};VC.prototype.setIt=function(a){return t(this,SC,3,a,Kc)};VC.messageId="b.MarkAsVulnerabilityRequest";var mDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(mDa,n);mDa.prototype.getIt=function(){return r(this,nDa,4)};mDa.prototype.setIt=function(a){return t(this,nDa,4,a)};var WC=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,WC.messageId)};Y(WC,n);WC.prototype.getIt=function(){return r(this,am,9,Kc)};WC.prototype.setIt=function(a){return t(this,am,9,a,Kc)};WC.messageId="b.StatusUpdate";var zo=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,zo.messageId)};Y(zo,n);zo.prototype.getIt=function(){return r(this,Ao,3,Kc)};zo.prototype.setIt=function(a){return t(this,Ao,3,a,Kc)};zo.messageId="b.UnCcUserActionRequest";var XC=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,XC.messageId)};Y(XC,n);XC.prototype.getIt=function(){return r(this,TC,2,Kc)};XC.prototype.setIt=function(a){return t(this,TC,2,a,Kc)};XC.messageId="b.UndeleteIssueRequest";var YC=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,YC.messageId)};Y(YC,n);YC.prototype.getIt=function(){return r(this,xnc,5,Kc)};YC.prototype.setIt=function(a){return t(this,xnc,5,a,Kc)};YC.messageId="b.UpdateIssueAccessLimitRequest";var yDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(yDa,n);yDa.prototype.setSignificanceOverride=function(a){return mf(this,4,a)};var FDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(FDa,n);FDa.prototype.getIt=function(){return r(this,EDa,5)};FDa.prototype.setIt=function(a){return t(this,EDa,5,a)};var eEa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(eEa,n);g=eEa.prototype;g.getIssueIdsList=function(){return Tu(this,2,1)};g.getIssueIdsList_asString=function(){return ge(this,2)};g.setIssueIdsList=function(a){return tc(this,2,a,Fb)};g.addIssueIds=function(a){return wc(this,2,Fb,a,void 0,Mb)};g.setIssueIds=function(a){Tec(this,2,a)};var puc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(puc,n);puc.prototype.setSignificanceOverride=function(a){return lf(this,3,a)};var quc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(quc,n);g=quc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getSummaryType=function(){return Zd(this,2)};g.setSummaryType=function(a){return Xd(this,2,a)};g.getModelVersion=function(){return Pd(this,3)};g.setModelVersion=function(a){return se(this,3,a)};g.getIssueVersion=function(){return Pd(this,7)};
g.setIssueVersion=function(a){return se(this,7,a)};g.setFeedbackType=function(a){return Xd(this,5,a)};var CEa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(CEa,n);var AEa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(AEa,n);var ruc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ruc,n);ruc.prototype.getField=function(){return Oc(this,1)};var zEa=[3,4];var So=function(a){this.patternParts_=[];this.dateTimeSymbols_=zw;typeof a=="number"?this.applyStandardPattern_(a):this.applyPattern_(a)},suc=[/^'(?:[^']|'')*('|$)/,/^(?:G+|y+|Y+|u+|M+|k+|S+|E+|a+|b+|B+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^'GyYuMkSEabBhKHcLQdmsvVwzZ]+/],tuc=function(a){return a.getHours?a.getHours():0};
So.prototype.applyPattern_=function(a){for(uuc&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<suc.length;++c){var d=a.match(suc[c]);if(d){var e=d[0];a=a.substring(e.length);c==0&&(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("xc`"+a);}};
So.prototype.format=function(a,b){if(!a)throw Error("yc");var c=b?(a.getTimezoneOffset()-kjc(b,a))*6E4:0,d=c?new Date(a.getTime()+c):a,e=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(d=new Date(d.getTime()+(d.getTimezoneOffset()-a.getTimezoneOffset())*6E4),e=new Date(a.getTime()+(c+(c>0?-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(vuc(this,h,a,d,e,b)):c.push(h)}return c.join("")};
So.prototype.applyStandardPattern_=function(a){if(a<4)var b=this.dateTimeSymbols_.DATEFORMATS[a];else if(a<8)b=this.dateTimeSymbols_.TIMEFORMATS[a-4];else if(a<12)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(a===12)b=this.dateTimeSymbols_.DATEFORMATS[0].replace(/[^EMd]*yy*[^EMd]*/,"");else if(a===13)b=this.dateTimeSymbols_.DATEFORMATS[2].replace(/[^EMd]*yy*[^EMd]*/,"");else{this.applyStandardPattern_(10);
return}this.applyPattern_(b)};
var ZC=function(a,b){return RLa(b,a.dateTimeSymbols_)},uuc=!1,RLa=function(a,b){a=String(a);b=b||zw;if(b.ZERODIGIT===void 0)return a;for(var c=[],d=0;d<a.length;d++){var e=a.charCodeAt(d);c.push(48<=e&&e<=57?String.fromCharCode(b.ZERODIGIT+e-48):a.charAt(d))}return c.join("")},xuc=function(a,b,c,d){c=c.getFullYear();c<=0&&d&&(c=1-c);return ZC(a,wuc(c,b))},wuc=function(a,b){b==2&&(a%=100);a<0&&b++;return tv(a,b)},$C=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("zc");},yuc=function(a,
b){$C(b);b=tuc(b);return a.dateTimeSymbols_.AMPMS[b>=12&&b<24?1:0]},vuc=function(a,b,c,d,e,f){var h=b.length;switch(b.charAt(0)){case "G":return c=d.getFullYear()>0?1:0,h>=4?a.dateTimeSymbols_.ERANAMES[c]:a.dateTimeSymbols_.ERAS[c];case "y":return xuc(a,h,d,!0);case "Y":return c=d.getFullYear(),e=d.getMonth(),c=Ric(c,e,d.getDate(),a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),c=(new Date(c)).getFullYear(),h==2&&(c%=100),ZC(a,wuc(c,h));case "u":return xuc(a,h,d,!1);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=ZC(a,tv(c+1,h))}return h;case "k":return $C(e),c=tuc(e)||24,ZC(a,tv(c,h));case "S":return ZC(a,(e.getMilliseconds()/1E3).toFixed(Math.min(3,h)).slice(2)+(h>3?tv(0,h-3):""));case "E":return c=d.getDay(),h>=4?a.dateTimeSymbols_.WEEKDAYS[c]:a.dateTimeSymbols_.SHORTWEEKDAYS[c];case "a":return yuc(a,e);case "b":return yuc(a,e);case "B":return yuc(a,
e);case "h":return $C(e),c=tuc(e)%12||12,ZC(a,tv(c,h));case "K":return $C(e),c=tuc(e)%12,ZC(a,tv(c,h));case "H":return $C(e),c=tuc(e),ZC(a,tv(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=ZC(a,tv(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=ZC(a,tv(c+1,h))}return h;case "Q":return c=Math.floor(d.getMonth()/3),h<4?a.dateTimeSymbols_.SHORTQUARTERS[c]:a.dateTimeSymbols_.QUARTERS[c];case "d":return ZC(a,tv(d.getDate(),h));case "m":return $C(e),ZC(a,tv(e.getMinutes?e.getMinutes():0,h));case "s":return $C(e),ZC(a,tv(e.getSeconds(),h));case "v":return(f||Td(c.getTimezoneOffset())).timeZoneId_;case "V":return a=f||Td(c.getTimezoneOffset()),
h<=2?a.timeZoneId_:jjc(a,c)>0?a.tzNamesExt_.DST_GENERIC_LOCATION!==void 0?a.tzNamesExt_.DST_GENERIC_LOCATION:a.tzNamesExt_.DST_GENERIC_LOCATION:a.tzNamesExt_.STD_GENERIC_LOCATION!==void 0?a.tzNamesExt_.STD_GENERIC_LOCATION:a.tzNamesExt_.STD_GENERIC_LOCATION;case "w":return c=e.getFullYear(),d=e.getMonth(),c=Ric(c,d,e.getDate(),a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),ZC(a,tv(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,
h));case "z":return a=f||Td(c.getTimezoneOffset()),h<4?a.tzNames_[jjc(a,c)>0?2:0]:a.tzNames_[jjc(a,c)>0?3:1];case "Z":return d=f||Td(c.getTimezoneOffset()),h<4?(h=-kjc(d,c),a=[h<0?"-":"+"],h=Math.abs(h),a.push(tv(Math.floor(h/60)%100,2),tv(h%60,2)),h=a.join("")):h=ZC(a,ijc(kjc(d,c))),h;default:return""}};var IEa=new So("M/d/yyyy");var LEa=new RegExp(/^(?:https?:\/\/)?([\w-]+)-review\./.source+/(?:googlesource|git\.corp\.google)\.com/.source+/\/c\/([\w-\/\.]+)\/\+\/(\d{1,20})/.source+/(?:[^\d].*)?$/.source);var TEa=new Set(["blockedById","blockingId","duplicateId","parentIssueIds","childIssueIds"]);var zFa=function(){this.updates=[];this.hasInitialUpdate=!1;this.summary=[]},AFa=function(a,b){a.updates.push(b);a.hasInitialUpdate=a.hasInitialUpdate||b.version===0;a.author=a.author||b.author;a.statusUpdate=b.statusUpdate||a.statusUpdate;var c;a.firstUpdateVersion=(c=a.firstUpdateVersion)!=null?c:b.version;b.comment&&(a.comment=b.comment,a.commentTimestamp=b.timestamp);return a},oFa=function(a,b){a.summary.push.apply(a.summary,p(b))},wFa=function(a){var b=zuc(a,a.updates.flatMap(jFa)),c=Auc(a,b),
d=c.preDiffs,e=c.postDiffs;c=a.updates.flatMap(function(k){return k.attachments});var f;d={attachments:c,preDiffs:d,postDiffs:e,modifiedDate:Sf(a.commentTimestamp||((f=a.updates[0])==null?void 0:f.timestamp)),userPerformingAction:To(a.author),userPerformingActionUser:a.author,version:a.firstUpdateVersion,isMajorEvent:!!a.comment||!!c.length||a.hasInitialUpdate||b.some(function(k){return k.important}),statusUpdate:a.statusUpdate,taggedSummary:a.summary,issueId:a.updates[0].issueId,isCommentEvent:!!a.comment};
if(a.comment){d.commentContentVerdict=a.comment.commentContentVerdict;var h;d.commentDeletionStatus=(h=a.comment.entityStatus)==null?void 0:h.status;d.commentEtag=a.comment.etag;d.commentLastModifiedAtDate=a.comment.lastModified?Math.round(Sf(te(xe(a.comment.lastModified)))):void 0;d.commentNumber=a.comment.commentNumber;d.commentReactions=a.comment.commentReactions;d.commentRedacted=a.comment.redacted;d.commentRetention=a.comment.piiRetention;d.commentRetentionState=a.comment.piiRetentionState;d.commentVersion=
a.comment.version;d.formattedComment=a.comment.formattedComment;d.formattingMode=a.comment.formattingMode;d.lastCommentEditorUser=a.comment.lastEditorUser;d.unlinkifiedComment=a.comment.unlinkifiedComment}return d},Auc=function(a,b){if(!a.comment)return{preDiffs:b,postDiffs:[]};var c=b.filter(function(d){return d.timestamp<Sf(a.commentTimestamp)});b=b.filter(function(d){return d.timestamp>=Sf(a.commentTimestamp)});return{preDiffs:c,postDiffs:b}},zuc=function(a,b){return a.hasInitialUpdate?b.filter(function(c){return c.name===
"isArchived"&&c.newValue==="false"||c.name==="inProd"&&c.newValue==="false"?!1:!0}):b};var tFa=ze(function(a){return a.modifiedDate},Ae),yFa=ze(function(a){return a.version},Ae);var aD=function(){this.timeout=x(OA)};aD.prototype.adapt=function(a){return new Buc(this.timeout,a)};aD.\u0275fac=function(a){return new (a||aD)};aD.\u0275prov=Dg({token:aD,factory:aD.\u0275fac,providedIn:"root"});var Buc=function(a,b){this.timeout=a;this.bulkGet=b;this.batchedInputs=[[]];this.batchedDeferreds=[[]];this.isBatchScheduled=!1};
Buc.prototype.get=function(a){var b=Cf(),c=this.batchedInputs[this.batchedInputs.length-1],d=this.batchedDeferreds[this.batchedDeferreds.length-1];c.length<100?(c.push(a),d.push(b)):(this.batchedInputs.push([a]),this.batchedDeferreds.push([b]));this.isBatchScheduled||Cuc(this);return b.promise};
var Cuc=function(a){a.isBatchScheduled=!0;a.timeout.schedule(function(){for(var b={},c=0;c<a.batchedInputs.length;b={batchedDeferred:void 0},c++){var d=a.batchedInputs[c];b.batchedDeferred=a.batchedDeferreds[c];a.bulkGet(d).then(function(e){return function(f){for(var h=0;h<e.batchedDeferred.length;h++)e.batchedDeferred[h].resolve(f[h])}}(b),function(e){return function(f){for(var h=l(e.batchedDeferred),k=h.next();!k.done;k=h.next())k.value.reject(f)}}(b))}a.batchedInputs=[[]];a.batchedDeferreds=[[]];
a.isBatchScheduled=!1})};var Wo=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Wo.messageId)};Y(Wo,n);Wo.prototype.getResource=function(){return Oc(this,1,void 0,Kc)};Wo.prototype.setResource=function(a){return lf(this,1,a,Kc)};Wo.prototype.getRelation=function(){return Zd(this,2,void 0,Kc)};Wo.prototype.setRelation=function(a){return mf(this,2,a,Kc)};Wo.messageId="b.ResourceRelation";var Duc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Duc.messageId)};Y(Duc,n);Duc.messageId="b.UserAccessBatchResponse";var bD=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+)$")};bD.prototype.validate=function(a){return this.resourceNamePattern.test(a)};bD.\u0275fac=function(a){return new (a||bD)};bD.\u0275prov=Dg({token:bD,factory:bD.\u0275fac,providedIn:"root"});
var dD=function(){var a=this;this.rawUserAccess=x(cD);this.resourceNameValidator=x(bD);this.bulkApiAdapter=x(aD);this.accesses={};this.accessGetter=this.bulkApiAdapter.adapt(function(b){return Euc(a,b)})},Euc=function(a,b){return Fuc(a,b).then(function(c){return CFa(b,c)})},eD=function(a,b,c){return a.resourceNameValidator.validate(c)?Guc(a,b,c):Promise.reject(Error("Cc`"+c))},Huc=function(a,b){return a.resourceNameValidator.validate(b)?Promise.all([Guc(a,"admin",b),Guc(a,"writer",b),Guc(a,"appender",
b),Guc(a,"reader",b)]).then(function(c){var d=l(c);c=d.next().value;var e=d.next().value;var f=d.next().value;d=d.next().value;return{admin:c,writer:e,appender:f,reader:d}}):Promise.reject(Error("Cc`"+b))},Fuc=function(a,b){var c=[],d=[];b=l(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c.push(e.relation),d.push(e.resourceName);return pi(a.rawUserAccess.executor.get({url:"action/user_access",options:{params:{relations:c.join(","),resourceNames:d.join(",")}},responseConstructor:Duc}).pipe(C(BFa)))},
Guc=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 f==null?!1:f});a.accesses[d]=b;b.then(function(){delete a.accesses[d]});return b};dD.\u0275fac=function(a){return new (a||dD)};dD.\u0275prov=Dg({token:dD,factory:dD.\u0275fac,providedIn:"root"});var cD=function(){this.executor=x(ey)};cD.\u0275fac=function(a){return new (a||cD)};cD.\u0275prov=Dg({token:cD,factory:cD.\u0275fac,providedIn:"root"});var Iuc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Iuc,n);g=Iuc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getSummaryType=function(){return Zd(this,2)};g.setSummaryType=function(a){return Xd(this,2,a)};var Juc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Juc,n);g=Juc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getSummaryType=function(){return Zd(this,2)};g.setSummaryType=function(a){return Xd(this,2,a)};var Kuc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Kuc,n);Kuc.prototype.setFeedback=function(a){return t(this,quc,1,a)};var fD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(fD,n);fD.prototype.setMaxResults=function(a){return se(this,1,a)};fD.prototype.setView=function(a){return Xd(this,2,a)};fD.prototype.setIssueDescriptionView=function(a){return Xd(this,3,a)};var gD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(gD,n);g=gD.prototype;g.getIssueIdsList=function(){return Tu(this,1,1)};g.getIssueIdsList_asString=function(){return ge(this,1)};g.setIssueIdsList=function(a){return op(this,1,a)};g.addIssueIds=function(a){return bv(this,1,a)};g.setIssueIds=function(a){wc(this,1,Fb,void 0,a,Kb,void 0,1)};g.setView=function(a){return Xd(this,2,a)};g.setIssueDescriptionView=function(a){return Xd(this,3,a)};var Luc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Luc,n);g=Luc.prototype;g.getComponentId=function(){return Re(this,5)};g.getComponentId_asString=function(){return Xe(this,5)};g.setComponentId=function(a){return ll(this,5,a)};g.getTitle=function(){return Oc(this,6)};g.setTitle=function(a){return Vd(this,6,a)};g.getComment=function(){return Oc(this,7)};g.setComment=function(a){return Vd(this,7,a)};g.getAttachmentsList=function(){return ie(this,pl,8,Rd())};
g.setAttachmentsList=function(a){return Ol(this,8,a)};g.addAllAttachments=function(a){qm(this,8,pl,a)};g.setSignificanceOverride=function(a){return Xd(this,2,a)};g.getTemplateId=function(){return Re(this,4)};g.setTemplateId=function(a){return ll(this,4,a)};var Muc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Muc,n);g=Muc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.setView=function(a){return Xd(this,2,a)};g.setIssueDescriptionView=function(a){return Xd(this,3,a)};var Nuc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Nuc,n);g=Nuc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.setTargetIdsList=function(a){return op(this,2,a)};g.setSignificanceOverride=function(a){return Xd(this,3,a)};var Ouc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ouc,n);g=Ouc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.setTargetIdsList=function(a){return op(this,2,a)};g.setSignificanceOverride=function(a){return Xd(this,3,a)};var Puc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Puc,n);g=Puc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.setTargetId=function(a){return ll(this,2,a)};g.setSignificanceOverride=function(a){return Xd(this,3,a)};var Quc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Quc,n);g=Quc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.setTargetIdsList=function(a){return op(this,2,a)};g.setSignificanceOverride=function(a){return Xd(this,3,a)};var Ruc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ruc,n);g=Ruc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.setTargetIdsList=function(a){return op(this,2,a)};g.setSignificanceOverride=function(a){return Xd(this,3,a)};var Suc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Suc,n);g=Suc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.setTargetId=function(a){return ll(this,2,a)};g.setSignificanceOverride=function(a){return Xd(this,3,a)};var hD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,hD.messageId)};Y(hD,n);hD.prototype.getIt=function(){return r(this,gD,3,Kc)};hD.prototype.setIt=function(a){return t(this,gD,3,a,Kc)};hD.messageId="b.BatchGetIssuesRequest";var Tuc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Tuc,n);Tuc.prototype.getIssuesList=function(){return ie(this,lm,1,Rd())};var iD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,iD.messageId)};Y(iD,n);iD.prototype.getIt=function(){return r(this,Tuc,2,Kc)};iD.prototype.setIt=function(a){return t(this,Tuc,2,a,Kc)};iD.messageId="b.BatchGetIssuesResponse";var hEa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(hEa,n);g=hEa.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Le(this,1)};g.setIssueId=function(a){return rf(this,1,a)};g.getMessage=function(){return Oc(this,2)};g.setMessage=function(a){return lf(this,2,a)};var Uuc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Uuc.messageId)};Y(Uuc,n);Uuc.prototype.setErrors=function(a,b){Nu(this,2,hEa,a,b,Kc)};Uuc.messageId="b.BulkEditResponse";var jD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,jD.messageId)};Y(jD,n);jD.prototype.getIt=function(){return r(this,Iuc,1,Kc)};jD.prototype.setIt=function(a){return t(this,Iuc,1,a,Kc)};jD.messageId="b.GenerateIssueSummaryRequest";var kD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(kD,n);g=kD.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getSummaryType=function(){return Zd(this,2)};g.setSummaryType=function(a){return Xd(this,2,a)};g.getModelVersion=function(){return Pd(this,3)};g.setModelVersion=function(a){return se(this,3,a)};g.getIssueVersion=function(){return Pd(this,7)};
g.setIssueVersion=function(a){return se(this,7,a)};g.getVersion=function(){return Pd(this,4)};g.setVersion=function(a){return se(this,4,a)};g.getSummary=function(){return Oc(this,5)};var lD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,lD.messageId)};Y(lD,n);lD.prototype.getIt=function(){return r(this,kD,1,Kc)};lD.prototype.setIt=function(a){return t(this,kD,1,a,Kc)};lD.messageId="b.GenerateIssueSummaryResponse";var mD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,mD.messageId)};Y(mD,n);mD.prototype.getIt=function(){return r(this,kD,4,Kc)};mD.prototype.setIt=function(a){return t(this,kD,4,a,Kc)};mD.messageId="b.GetIssueSummaryResponse";var nD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(nD,n);nD.prototype.getReadersList=function(){return ie(this,el,1,Rd())};nD.prototype.setReadersList=function(a){return Ol(this,1,a)};nD.prototype.getAppendersList=function(){return ie(this,el,2,Rd())};nD.prototype.setAppendersList=function(a){return Ol(this,2,a)};var oD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,oD.messageId)};Y(oD,n);oD.prototype.getIt=function(){return r(this,nD,4,Kc)};oD.prototype.setIt=function(a){return t(this,nD,4,a,Kc)};oD.messageId="b.GetRetainedAccessPrincipalsResponse";var pD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,pD.messageId)};Y(pD,n);pD.prototype.getIssueId=function(){return Re(this,1,void 0,Kc)};pD.prototype.getIssueId_asString=function(){return Le(this,1,void 0,Kc)};pD.prototype.setIssueId=function(a){return rf(this,1,a,void 0,Kc)};pD.messageId="b.IssueCreateResponse";var bp=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,bp.messageId)};Y(bp,n);bp.prototype.getIssue=function(){return r(this,Jo,1,Kc)};bp.prototype.setIssue=function(a){return t(this,Jo,1,a,Kc)};bp.messageId="b.IssueFetchResponse";var Vuc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Vuc,n);g=Vuc.prototype;g.getIssuesList=function(){return ie(this,lm,1,Rd())};g.getNextPageToken=function(){return Oc(this,2)};g.getTotalSize=function(){return Pd(this,3)};g.getTotalSizeAccurate=function(){return De(this,4)};g.getMaySkipResults=function(){return De(this,5)};var qD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,qD.messageId)};Y(qD,n);qD.prototype.getIt=function(){return r(this,Vuc,6,Kc)};qD.prototype.setIt=function(a){return t(this,Vuc,6,a,Kc)};qD.messageId="b.IssueSearchResponse";var Wuc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Wuc,n);g=Wuc.prototype;g.getIssueId=function(){return Re(this,10)};g.getIssueId_asString=function(){return Xe(this,10)};g.setIssueId=function(a){return ll(this,10,a)};g.getAuthor=function(){return r(this,Ud,1)};g.setAuthor=function(a){t(this,Ud,1,a)};g.hasAuthor=function(){return Me(this,Ud,1)};g.getTimestamp=function(){return r(this,ue,2)};g.setTimestamp=function(a){return t(this,ue,2,a)};
g.hasTimestamp=function(){return Me(this,ue,2)};g.getIssueComment=function(){return r(this,om,3)};g.setIssueComment=function(a){t(this,om,3,a)};g.hasIssueComment=function(){return Me(this,om,3)};g.getCommentNumber=function(){return Pd(this,4)};g.setCommentNumber=function(a){return se(this,4,a)};g.getAttachmentsList=function(){return ie(this,pl,8,Rd())};g.setAttachmentsList=function(a){return Ol(this,8,a)};g.addAllAttachments=function(a){qm(this,8,pl,a)};
g.getStatusUpdate=function(){return r(this,am,9)};g.setStatusUpdate=function(a){t(this,am,9,a)};g.hasStatusUpdate=function(){return Me(this,am,9)};g.getFieldUpdatesList=function(){return ie(this,ruc,6,Rd())};g.getVersion=function(){return Pd(this,7)};g.setVersion=function(a){return se(this,7,a)};var Xuc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Xuc.messageId)};Y(Xuc,n);Xuc.messageId="b.ListIssueEventsResponse";var rD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,rD.messageId)};Y(rD,n);rD.prototype.getIt=function(){return r(this,fD,1,Kc)};rD.prototype.setIt=function(a){return t(this,fD,1,a,Kc)};rD.messageId="b.ListRecentIssuesRequest";var Yuc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Yuc,n);Yuc.prototype.getIssuesList=function(){return ie(this,lm,1,Rd())};var sD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,sD.messageId)};Y(sD,n);sD.prototype.getIt=function(){return r(this,Yuc,2,Kc)};sD.prototype.setIt=function(a){return t(this,Yuc,2,a,Kc)};sD.messageId="b.ListRecentIssuesResponse";var CDa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(CDa,n);g=CDa.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Le(this,1)};g.setIssueId=function(a){return rf(this,1,a)};g.getStatus=function(){return Zd(this,2)};g.setStatus=function(a){return mf(this,2,a)};g.hasStatus=function(){return He(this,2)};g.getTitle=function(){return Oc(this,3)};g.setTitle=function(a){return lf(this,3,a)};
g.getVersion=function(){return Pd(this,4)};g.setVersion=function(a){return jf(this,4,a)};g.getVersionOrUndefined=function(){return Uu(this,4)};g.getIsArchived=function(){return De(this,5)};g.setIsArchived=function(a){return hf(this,5,a)};var Zuc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Zuc.messageId)};Y(Zuc,n);Zuc.messageId="b.RelatedIssuesResponse";var tD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,tD.messageId)};Y(tD,n);tD.prototype.getIt=function(){return r(this,Kuc,1,Kc)};tD.prototype.setIt=function(a){return t(this,Kuc,1,a,Kc)};tD.messageId="b.SubmitIssueSummaryFeedbackRequest";var uD=function(){this.executor=x(ey);this.userAccess=x(dD);this.activeSession=x(Ks)};g=uD.prototype;
g.createIssue=function(a){var b=this;return wi(function(){return eD(b.userAccess,"writer","components/"+a.snapshot.componentId+"/issueDefaults")}).pipe(sj(function(c){if(c){var d=LDa(a);var e={};a.recaptchaToken&&(e["G-Recaptcha-Response-Token"]=a.recaptchaToken);d=b.executor.post({url:"action/issues",body:d,options:{headers:e},responseConstructor:pD}).pipe(C(MDa))}else{c=(new Luc).setComponentId(a.snapshot.componentId).setTitle(a.snapshot.title).setComment(a.snapshot.comment);var f=Pl(a.snapshot.formattingMode);
c=Xd(c,9,f).setAttachmentsList((e=(d=a.attachments)==null?void 0:d.map(Yta))!=null?e:[]).setTemplateId(a.templateId);d={};a.recaptchaToken&&(d["G-Recaptcha-Response-Token"]=a.recaptchaToken);d=b.executor.post({url:"action/issues/template",body:c,options:{headers:d},responseConstructor:pD}).pipe(C(MDa))}return d}))};
g.createIssueWithWizard=function(a){var b=LDa(a),c={};a.recaptchaToken&&(c["G-Recaptcha-Response-Token"]=a.recaptchaToken);return this.executor.post({url:"action/issues/wizard",body:b,options:{headers:c},responseConstructor:pD}).pipe(C(MDa))};g.getIssueFull=function(a){var b={},c,d=(c=this.activeSession.getTracker())==null?void 0:c.trackerId;d&&(b.currentTrackerId=d);return this.executor.get({url:"action/issues/"+a,options:{params:b},responseConstructor:bp}).pipe(C(function(e){return Io(e)}))};
g.getIssueBasic=function(a){var b={},c,d=(c=this.activeSession.getTracker())==null?void 0:c.trackerId;d&&(b.currentTrackerId=d);c=(new Muc).setIssueId(a).setView(1).setIssueDescriptionView(1);return this.executor.post({url:"action/issues/"+a+"/getIssue",options:{params:b},body:c,responseConstructor:bp}).pipe(C(function(e){return Io(e)}))};
g.batchGetIssuesFull=function(a){a=(new hD).setIt((new gD).setIssueIdsList(a.map(be).filter(fe)).setView(2).setIssueDescriptionView(2));return this.executor.post({url:"action/issues/batch",body:a,responseConstructor:iD}).pipe(C(function(b){return b.getIt().getIssuesList().map(Cva)}))};g.batchGetIssues=function(a){a=(new hD).setIt((new gD).setIssueIdsList(a.map(be).filter(fe)).setView(1).setIssueDescriptionView(1));return this.executor.post({url:"action/issues/batch",body:a,responseConstructor:iD}).pipe(C(function(b){return b.getIt().getIssuesList().map(hm)}))};
g.updateIssue=function(a,b){b.actions=b.actions.filter(function(c){return c.fieldName!=="componentId"});b=xDa(b);return this.executor.post({url:"action/issues/"+a,body:b,responseConstructor:bp}).pipe(C(function(c){return Io(c)}))};g.moveIssueExternal=function(a,b){b=rDa(b);return this.executor.post({url:"action/issues/"+a+"/external_move",body:b,responseConstructor:bp}).pipe(C(function(c){return Io(c)}))};
g.moveIssue=function(a,b){b=oDa(b);return this.executor.post({url:"action/issues/"+a+"/move",body:b,responseConstructor:bp}).pipe(C(function(c){return Io(c)}))};g.unCcUser=function(a){var b=lDa(a);return this.executor.post({url:"action/issues/"+a+"/unccuser",body:b,responseConstructor:bp}).pipe(C(function(c){return Io(c)}))};
g.updateAccessLimit=function(a,b,c,d){var e=new YC,f=e.setIt,h=(new xnc).setIssueId(a);b&&(b=wta(b),h.setIssueAccessLimit(b));c&&h.setAddedCollaboratorsList(c.map(Yd));d&&h.setRemovedCollaboratorsList(d.map(Yd));c=f.call(e,h);return this.executor.post({url:"action/issues/"+a+"/accessLimit",body:c,responseConstructor:null})};
g.getRetainedAccessPrincipals=function(a,b,c,d){b=kDa(a,b,c,d);return this.executor.post({url:"action/issues/"+a+"/retainedAccessPrincipals",body:b,responseConstructor:oD}).pipe(C(function(e){e=e.getIt();return{readers:e.getReadersList().map(dl),appenders:e.getAppendersList().map(dl),writers:ie(e,el,3,Rd()).map(dl)}}))};
g.markAsVulnerability=function(a,b){var c=(new SC).setIssueId(Number(a));b&&(b=b.map(Yd),Ol(c,2,b));c=(new VC).setIt(c);return this.executor.post({url:"action/issues/"+a+"/markAsVulnerability",body:c,responseConstructor:null})};
g.relateIssue=function(a,b){if(b.relation==="BLOCKING"&&b.actionType==="ADD")return this.addBlocking(a,b.targetIds);if(b.relation==="BLOCKING"&&b.actionType==="REMOVE")return this.removeBlocking(a,b.targetIds);if(b.relation==="BLOCKED_BY"&&b.actionType==="ADD")return this.addBlockedBy(a,b.targetIds);if(b.relation==="BLOCKED_BY"&&b.actionType==="REMOVE")return this.removeBlockedBy(a,b.targetIds);if(b.relation==="DUPLICATE"&&b.actionType==="ADD")return this.markAsDuplicate(a,b.targetIds[0]);if(b.relation===
"DUPLICATE"&&b.actionType==="REMOVE")return $uc(this,a);throw Error("Dc");};g.addBlocking=function(a,b){b=(new Ouc).setIssueId(Number(a)).setTargetIdsList(b.map(be).filter(fe));return this.executor.post({url:"action/issues/"+a+"/add_blocking",body:b,responseConstructor:bp}).pipe(C(function(c){return Io(c)}))};g.removeBlocking=function(a,b){b=(new Ruc).setIssueId(Number(a)).setTargetIdsList(b.map(be).filter(fe));return this.executor.post({url:"action/issues/"+a+"/remove_blocking",body:b,responseConstructor:bp}).pipe(C(function(c){return Io(c)}))};
g.addBlockedBy=function(a,b){b=(new Nuc).setIssueId(Number(a)).setTargetIdsList(b.map(be).filter(fe));return this.executor.post({url:"action/issues/"+a+"/add_blocked_by",body:b,responseConstructor:bp}).pipe(C(function(c){return Io(c)}))};g.removeBlockedBy=function(a,b){b=(new Quc).setIssueId(Number(a)).setTargetIdsList(b.map(be).filter(fe));return this.executor.post({url:"action/issues/"+a+"/remove_blocked_by",body:b,responseConstructor:bp}).pipe(C(function(c){return Io(c)}))};
g.markAsDuplicate=function(a,b){b=(new Puc).setIssueId(Number(a)).setTargetId(Number(b));return this.executor.post({url:"action/issues/"+a+"/mark_as_duplicate",body:b,responseConstructor:bp}).pipe(C(function(c){return Io(c)}))};var $uc=function(a,b){var c=(new Suc).setIssueId(Number(b));return a.executor.post({url:"action/issues/"+b+"/unmark_as_duplicate",body:c,responseConstructor:bp}).pipe(C(function(d){return Io(d)}))};
uD.prototype.updateIssueHotlists=function(a,b){b=BDa(b);return this.executor.post({url:"action/issues/"+a+"/hotlists",body:b,responseConstructor:bp}).pipe(C(function(c){return Io(c)}))};uD.prototype.updateIssueRetention=function(a,b){b=GDa(b);return this.executor.post({url:"action/issues/"+a+"/update_retention",body:b,responseConstructor:bp}).pipe(C(function(c){return Io(c)}))};
uD.prototype.listIssues=function(a,b){b=b===void 0?{}:b;a=ODa(a,b);return this.executor.post({url:"action/issues/list",body:a,responseConstructor:qD}).pipe(C(pEa))};var avc=function(a,b,c,d){c=c===void 0?{}:c;d=d===void 0?{}:d;b=$Da(b,c,d);return a.executor.post({url:"action/issues/list_with_experiments",body:b,responseConstructor:qD}).pipe(C(pEa))},bvc=function(a,b){var c=new fD;b&&c.setMaxResults(b);b=(new rD).setIt(c);return a.executor.post({url:"action/issues/recent",body:b,responseConstructor:sD}).pipe(C(function(d){return d.getIt().getIssuesList().map(function(e){return hm(e)})}))};
uD.prototype.issueBulkEdit=function(a,b){var c={};b&&(c["G-Recaptcha-Response-Token"]=b);b=new puc;var d=a.bulkEditOps.map(fEa);Ol(b,4,d);a.significanceOverride&&b.setSignificanceOverride(a.significanceOverride);return this.executor.post({url:"action/issues/bulk_edit",body:b,responseConstructor:Uuc,options:{headers:c}}).pipe(C(iEa))};
uD.prototype.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:Zuc}).pipe(C(DDa))};
var dvc=function(a,b){var c,d;return a.executor.get({url:"action/issues/"+b+"/events",options:{params:{currentTrackerId:(d=(c=a.activeSession.getTracker())==null?void 0:c.trackerId)!=null?d:""}},responseConstructor:Xuc}).pipe(C(function(e){return cvc(e,!1)}))},evc=function(a,b){b=bEa(b);return a.executor.post({url:"action/issues/list/events",body:b,responseConstructor:Xuc}).pipe(C(function(c){return cvc(c,!0)}))};
uD.prototype.getIssueSummary=function(a,b){b=(new Juc).setIssueId(Number(a)).setSummaryType(gic[b]);return this.executor.post({url:"action/issues/"+a+"/getSummary",body:b,responseConstructor:mD}).pipe(C(function(c){return rEa(c.getIt())}))};uD.prototype.generateIssueSummary=function(a,b){b=(new Iuc).setIssueId(a).setSummaryType(gic[b]);b=(new jD).setIt(b);return this.executor.post({url:"action/issues/"+a+"/generateSummary",body:b,responseConstructor:lD}).pipe(C(function(c){return rEa(c.getIt())}))};
uD.prototype.submitIssueSummaryFeedback=function(a){var b=new Kuc,c=b.setFeedback;var d=(new quc).setIssueId(a.issueId).setSummaryType(gic[a.summaryType]).setModelVersion(a.modelVersion).setIssueVersion(a.issueVersion).setFeedbackType(eic[a.feedbackType]);b=c.call(b,d);b=(new tD).setIt(b);return this.executor.post({url:"action/issues/"+a.issueId+"/submitSummaryFeedback",body:b,responseConstructor:null})};var cvc=function(a,b){a=ie(a,Wuc,2,Rd(),Kc).map(yEa);return b?uFa(a):sFa(a)};
uD.\u0275fac=function(a){return new (a||uD)};uD.\u0275prov=Dg({token:uD,factory:uD.\u0275fac,providedIn:"root"});var vD=function(){this.observableApi=x(uD)};g=vD.prototype;g.createIssue=function(a){return pi(this.observableApi.createIssue(a))};g.createIssueWithWizard=function(a){return pi(this.observableApi.createIssueWithWizard(a))};g.getIssueFull=function(a){return pi(this.observableApi.getIssueFull(a))};g.getIssueBasic=function(a){return pi(this.observableApi.getIssueBasic(a))};
g.batchGetIssuesFull=function(a){return pi(this.observableApi.batchGetIssuesFull(a))};g.batchGetIssues=function(a){return pi(this.observableApi.batchGetIssues(a))};g.updateIssue=function(a,b){return pi(this.observableApi.updateIssue(a,b))};g.moveIssueExternal=function(a,b){return pi(this.observableApi.moveIssueExternal(a,b))};g.moveIssue=function(a,b){return pi(this.observableApi.moveIssue(a,b))};g.unCcUser=function(a){return pi(this.observableApi.unCcUser(a))};
g.updateAccessLimit=function(a,b,c,d){return pi(this.observableApi.updateAccessLimit(a,b,c,d))};g.getRetainedAccessPrincipals=function(a,b,c,d){return pi(this.observableApi.getRetainedAccessPrincipals(a,b,c,d))};g.markAsVulnerability=function(a,b){return pi(this.observableApi.markAsVulnerability(a,b))};g.relateIssue=function(a,b){return pi(this.observableApi.relateIssue(a,b))};g.updateIssueHotlists=function(a,b){return pi(this.observableApi.updateIssueHotlists(a,b))};
g.updateIssueRetention=function(a,b){return pi(this.observableApi.updateIssueRetention(a,b))};g.listIssues=function(a,b){b=b===void 0?{}:b;return pi(this.observableApi.listIssues(a,b))};g.issueBulkEdit=function(a,b){return pi(this.observableApi.issueBulkEdit(a,b))};g.getRelatedIssues=function(a){return pi(this.observableApi.getRelatedIssues(a))};vD.\u0275fac=function(a){return new (a||vD)};vD.\u0275prov=Dg({token:vD,factory:vD.\u0275fac,providedIn:"root"});var fvc={ACTIVE:0,DISMISSED:1,SNOOZED:2,0:"ACTIVE",1:"DISMISSED",2:"SNOOZED"};var wD=function(){YA.call(this);this.observableIssueResources=x(uD);this.recordType="eventsForIssue";this.idForRecord=function(a){return a.id}};Y(wD,YA);wD.prototype.isEqual=function(a,b){return(a==null?void 0:a.id)!==(b==null?void 0:b.id)?!1:Uha(a==null?void 0:a.events,b==null?void 0:b.events)};wD.prototype.copy=function(a){return a&&wd(a)};wD.prototype.fetchOne=function(a){return dvc(this.observableIssueResources,a).pipe(C(function(b){return{id:a,events:b}}))};
wD.prototype.fetchSet=function(a){var b=this;return si(a.map(function(c){return b.fetchOne(c)})).pipe(C(function(c){return c.filter(fe)}))};wD.\u0275fac=function(a){return new (a||wD)};wD.\u0275prov=Dg({token:wD,factory:wD.\u0275fac,providedIn:"root"});var gvc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(gvc,n);g=gvc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getCommentNumbers=function(){return Wu(this,2)};g.setView=function(a){return Xd(this,3,a)};var xD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,xD.messageId)};Y(xD,n);xD.prototype.getIt=function(){return r(this,gvc,4,Kc)};xD.prototype.setIt=function(a){return t(this,gvc,4,a,Kc)};xD.messageId="b.BatchGetIssueCommentsRequest";var hvc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(hvc,n);hvc.prototype.getIssueCommentsList=function(){return ie(this,om,1,Rd())};var yD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,yD.messageId)};Y(yD,n);yD.prototype.getIt=function(){return r(this,hvc,2,Kc)};yD.prototype.setIt=function(a){return t(this,hvc,2,a,Kc)};yD.messageId="b.BatchGetIssueCommentsResponse";var zD=function(){this.jspbExecutor=x(ey);this.activeSession=x(Ks)};zD.prototype.batchGet=function(a,b){var c=new xD,d=c.setIt;a=(new gvc).setIssueId(Number(a));b=tc(a,2,b,Ab);c=d.call(c,b.setView(2));var e;(d=(e=this.activeSession.getTracker())==null?void 0:e.trackerId)&&rf(c,3,d,void 0,Kc);return this.jspbExecutor.post({url:"action/comments/batch",responseConstructor:yD,body:c}).pipe(C(jEa))};zD.\u0275fac=function(a){return new (a||zD)};zD.\u0275prov=Dg({token:zD,factory:zD.\u0275fac,providedIn:"root"});var AD=function(){YA.call(this);var a=this;this.issueCommentsBatchApi=x(zD);this.batchApiAdapter=x(sB);this.recordType="formattedCommentsForIssue";this.idForRecord=function(b){return b.id.issueId+"-"+b.id.commentId};this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,maxBatchSize:500,call:function(b){return a.call(b)},split:function(b,c){return a.splitBatch(b,c)}})};Y(AD,YA);
AD.prototype.fetchSet=function(a){var b=this,c=a[0].split("-")[0];return si(a.map(function(d){return b.get(d)})).pipe(C(function(d){var e=[];d=l(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value){var h=void 0,k={issueId:c,commentId:(h=f.commentNumber)!=null?h:0};e.push({id:k,formattedComment:f})}return e}))};
AD.prototype.call=function(a){var b="",c=[];a=l(a);for(var d=a.next();!d.done;d=a.next()){var e=l(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(C(function(f){var h=b,k=new Map;f=l(f);for(var q=f.next();!q.done;q=f.next()){q=q.value;var u=void 0,A=Number(h)+"-"+((u=q.commentNumber)!=null?u:0);k.set(A,q)}return k}))};AD.prototype.splitBatch=function(a,b){return b.get(a)};
AD.\u0275fac=function(a){return new (a||AD)};AD.\u0275prov=Dg({token:AD,factory:AD.\u0275fac,providedIn:"root"});var BD=function(){YA.call(this);this.accessPolicyApi=x(pB);this.recordType="hotlistAccessPolicy";this.isEqual=vd;this.idForRecord=function(a){return a.id}};Y(BD,YA);BD.prototype.fetchOne=function(a){return this.accessPolicyApi.get("HOTLIST",a).pipe(C(function(b){return Object.assign({},{id:a},b)}))};BD.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("HOTLIST",b,a).pipe(C(function(c){return Object.assign({},{id:b},c)}))};BD.\u0275fac=function(a){return new (a||BD)};
BD.\u0275prov=Dg({token:BD,factory:BD.\u0275fac,providedIn:"root"});var CD=function(){YA.call(this);this.api=x(eB);this.recordType="IssueEnrichmentsForIssue";this.idForRecord=function(a){return a.issueId};this.isEqual=vd};Y(CD,YA);CD.prototype.fetchOne=function(a){return Erc(this.api,a).pipe(C(function(b){return{issueId:a,enrichments:b}}))};CD.\u0275fac=function(a){return new (a||CD)};CD.\u0275prov=Dg({token:CD,factory:CD.\u0275fac,providedIn:"root"});var ivc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ivc,n);g=ivc.prototype;g.getIssueIdsList=function(){return Tu(this,1,1)};g.getIssueIdsList_asString=function(){return ge(this,1)};g.setIssueIdsList=function(a){return op(this,1,a)};g.addIssueIds=function(a){return bv(this,1,a)};g.setIssueIds=function(a){wc(this,1,Fb,void 0,a,Kb,void 0,1)};var jvc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(jvc,n);g=jvc.prototype;g.getIssueIdsList=function(){return Tu(this,1,1)};g.getIssueIdsList_asString=function(){return ge(this,1)};g.setIssueIdsList=function(a){return op(this,1,a)};g.addIssueIds=function(a){return bv(this,1,a)};g.setIssueIds=function(a){wc(this,1,Fb,void 0,a,Kb,void 0,1)};var kvc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(kvc,n);kvc.prototype.setExperiments=function(a){return Nu(this,1,qo,a)};var DD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,DD.messageId)};Y(DD,n);DD.prototype.getIt=function(){return r(this,kvc,1,Kc)};DD.prototype.setIt=function(a){return t(this,kvc,1,a,Kc)};DD.messageId="b.BatchGetIssueExperimentsResponse";var lvc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(lvc,n);g=lvc.prototype;g.getComponentId=function(){return Re(this,1)};g.getComponentId_asString=function(){return Xe(this,1)};g.setComponentId=function(a){return ll(this,1,a)};g.getType=function(){return Zd(this,2)};g.setType=function(a){return Xd(this,2,a)};g.getPriority=function(){return Zd(this,3)};g.setPriority=function(a){return Xd(this,3,a)};g.getSeverity=function(){return Zd(this,4)};
g.setSeverity=function(a){return Xd(this,4,a)};g.getStatus=function(){return Zd(this,5)};g.setStatus=function(a){return Xd(this,5,a)};g.getReporter=function(){return r(this,Ud,6)};g.setReporter=function(a){t(this,Ud,6,a)};g.getAssignee=function(){return r(this,Ud,7)};g.setAssignee=function(a){return t(this,Ud,7,a)};g.clearAssignee=function(){return Ou(this,7)};g.getVerifier=function(){return r(this,Ud,8)};g.setVerifier=function(a){t(this,Ud,8,a)};g.clearVerifier=function(){return Ou(this,8)};
g.getCcsList=function(){return ie(this,Ud,9,Rd())};g.setCcsList=function(a){Ol(this,9,a)};g.addAllCcs=function(a){qm(this,9,Ud,a)};g.setCcs=function(a,b){return Nu(this,9,Ud,a,b)};g.getCollaboratorsList=function(){return ie(this,Ud,23,Rd())};g.setCollaboratorsList=function(a){Ol(this,23,a)};g.addAllCollaborators=function(a){qm(this,23,Ud,a)};g.setCollaborators=function(a,b){return Nu(this,23,Ud,a,b)};g.getStaffing=function(){return r(this,Zl,27)};g.setStaffing=function(a){t(this,Zl,27,a)};
g.getHotlistIdsList_asLegacyNumberOrString=function(a){return kIa(this,10,Rd(a))};g.getHotlistIdsList_asString=function(){return ge(this,10)};g.setHotlistIdsList=function(a){return op(this,10,a)};g.addHotlistIds=function(a,b){return bv(this,10,a,b)};g.addAllHotlistIds=function(a){cv(this,10,a)};g.removeHotlistIds=function(a){return Sec(this,10,a)};g.getBlockedByIssueIdsList=function(){return Tu(this,11,1)};g.getBlockedByIssueIdsList_asString=function(){return ge(this,11)};
g.setBlockedByIssueIdsList=function(a){op(this,11,a)};g.addAllBlockedByIssueIds=function(a){cv(this,11,a)};g.getBlockingIssueIdsList=function(){return Tu(this,12,1)};g.getBlockingIssueIdsList_asString=function(){return ge(this,12)};g.setBlockingIssueIdsList=function(a){op(this,12,a)};g.addAllBlockingIssueIds=function(a){cv(this,12,a)};g.getCanonicalIssueId_asString=function(){return Xe(this,13)};g.setCanonicalIssueId=function(a){ll(this,13,a)};
g.getDuplicateIssueIdsList_asString=function(){return ge(this,14)};g.setDuplicateIssueIdsList=function(a){op(this,14,a)};g.getInProd=function(){return De(this,15)};g.setInProd=function(a){Dl(this,15,a)};g.getSloSnoozeUntil=function(){return r(this,ue,16)};g.setSloSnoozeUntil=function(a){t(this,ue,16,a)};g.getSloEndTime=function(){return r(this,ue,25)};g.setSloEndTime=function(a){t(this,ue,25,a)};g.hasSloEndTime=function(){return Me(this,ue,25)};g.getRetention=function(){return Zd(this,17)};
g.setRetention=function(a){return Xd(this,17,a)};g.getEntityStatus=function(){return r(this,ml,18)};g.setEntityStatus=function(a){return t(this,ml,18,a)};g.getIsArchived=function(){return De(this,19)};g.setIsArchived=function(a){return Dl(this,19,a)};g.getEffort=function(){return r(this,em,24)};g.setEffort=function(a){t(this,em,24,a)};g.hasEffort=function(){return Me(this,em,24)};g.getAccessLimit=function(){return r(this,hl,26)};g.setAccessLimit=function(a){return t(this,hl,26,a)};var mvc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(mvc,n);g=mvc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getIssueState=function(){return r(this,lvc,2)};g.setIssueState=function(a){return t(this,lvc,2,a)};g.getVersion=function(){return Pd(this,3)};g.setVersion=function(a){return se(this,3,a)};g.getEtag=function(){return Mp(this,16)};
g.setEtag=function(a){return ql(this,16,a)};g.getCreatedTime=function(){return r(this,ue,4)};g.setCreatedTime=function(a){return t(this,ue,4,a)};g.getModifiedTime=function(){return r(this,ue,5)};g.setModifiedTime=function(a){return t(this,ue,5,a)};g.getMajorModifiedTime=function(){return r(this,ue,14)};g.setMajorModifiedTime=function(a){return t(this,ue,14,a)};g.getResolvedTime=function(){return r(this,ue,6)};g.setResolvedTime=function(a){return t(this,ue,6,a)};
g.getVerifiedTime=function(){return r(this,ue,7)};g.setVerifiedTime=function(a){return t(this,ue,7,a)};g.getSloId_asLegacyNumberOrString=function(){return gm(this,9)};g.getSloId_asString=function(){return Xe(this,9)};g.setSloId=function(a){return ll(this,9,a)};g.getSloStatus=function(){return r(this,Co,10)};g.setSloStatus=function(a){t(this,Co,10,a)};g.getTeamId=function(){return Re(this,13)};g.getTeamId_asLegacyNumberOrString=function(){return gm(this,13)};
g.getTeamId_asString=function(){return Xe(this,13)};g.setTeamId=function(a){return ll(this,13,a)};g.getRetentionState=function(){return r(this,nl,11)};g.setRetentionState=function(a){t(this,nl,11,a)};g.getAccessLimit=function(){return r(this,il,12)};g.setAccessLimit=function(a){return t(this,il,12,a)};g.getParentIssueIdsList_asString=function(){return ge(this,17)};g.setParentIssueIdsList=function(a){return op(this,17,a)};g.getAncestorsMap=function(){return sc(this,19,Do,Ub)};
g.getChildIssueCount=function(){return Pd(this,20)};g.setChildIssueCount=function(a){return se(this,20,a)};g.getDescendantIssueCount=function(){return Pd(this,21)};g.setDescendantIssueCount=function(a){return se(this,21,a)};g.getOpenDescendantIssueCount=function(){return Pd(this,22)};g.setOpenDescendantIssueCount=function(a){return se(this,22,a)};g.getIsArchived=function(){return De(this,18)};g.setIsArchived=function(a){return Dl(this,18,a)};var ED=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,ED.messageId)};Y(ED,n);ED.prototype.getIt=function(){return r(this,mvc,14,Kc)};ED.prototype.setIt=function(a){return t(this,mvc,14,a,Kc)};ED.messageId="b.IssueMetadata";var nvc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(nvc,n);nvc.prototype.getIt=function(){return r(this,jvc,4)};nvc.prototype.setIt=function(a){return t(this,jvc,4,a)};var ovc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ovc,n);var FD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,FD.messageId)};Y(FD,n);FD.prototype.getIt=function(){return r(this,ovc,2,Kc)};FD.prototype.setIt=function(a){return t(this,ovc,2,a,Kc)};FD.messageId="b.UpdateIssueReadTimestampResponse";var GD=function(){this.executor=x(fy)};GD.prototype.delete=function(a,b){b=(new UC).setIt((new ouc).setIssueId(Number(a)).setReason(nic[Mta(b)]));return this.executor.post({url:"action/issues/"+a+"/delete",body:b,responseConstructor:null})};GD.prototype.undelete=function(a){var b=(new XC).setIt((new TC).setIssueId(Number(a)));return this.executor.post({url:"action/issues/"+a+"/undelete",body:b,responseConstructor:null})};
GD.prototype.getMetadata=function(a){return this.executor.get({url:"action/issues/"+a+"/metadata",responseConstructor:ED}).then(lEa)};GD.prototype.markRead=function(a,b,c){b=b===void 0?!0:b;c=c===void 0?"USER_ACTIVITY_TYPE_UNDEFINED":c;var d=new nvc,e=d.setIt;a=(new jvc).setIssueIdsList(a.map(Number));b=Dl(a,2,b);c=Xd(b,3,Fic[c]);d=e.call(d,c);return this.executor.post({url:"action/issues/read_timestamp",body:d,responseConstructor:FD}).then(kEa)};
var pvc=function(a,b){return a.executor.get({url:"action/issues/"+b+"/experiments",responseConstructor:qo}).then(JCa).then(function(c){return Object.assign({},c,{id:b})})},qvc=function(a,b){var c=(new ivc).setIssueIdsList(b.map(Number));return a.executor.post({url:"action/issues/batch_experiments",body:c,responseConstructor:DD}).then(function(d){d=d.getIt();return ie(d,qo,1,Rd()).map(JCa)}).then(function(d){var e=Yf(d,function(f){return f.id});return b.map(function(f){var h;return(h=e.get(f))!=null?
h:Xo(f)})})},rvc=function(a,b){return a.executor.post({url:"action/issues/"+b.id+"/experiments",body:MCa(b),responseConstructor:qo}).then(JCa)};GD.\u0275fac=function(a){return new (a||GD)};GD.\u0275prov=Dg({token:GD,factory:GD.\u0275fac,providedIn:"root"});var ID=function(){YA.call(this,{freshUntil:6E4});this.activeSession=x(Ks);this.batchApiAdapter=x(sB);this.batchApiConfig=x(HD);this.issueService=x(GD);this.recordType="issue-experimental-fields";this.idForRecord=function(a){return a.id};this.isEqual=vd;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig);this.isEnabled=Cx(this.activeSession,"enableIssueExperimentalFields")&&this.activeSession.isInternalSession()};Y(ID,YA);
ID.prototype.fetchOne=function(a){var b=this;return this.isEnabled?wi(function(){return b.batchAdaptedGet(a)}).pipe(cj(function(){return li(void 0)})):li(void 0)};ID.prototype.fetchSet=function(a){var b=this;return si(a.map(function(c){return b.fetchOne(c)})).pipe(C(function(c){return c.filter(fe)}))};ID.prototype.copy=function(a){return a&&wd(a)};
ID.prototype.updateOrInsert=function(a,b){var c=this,d,e,f,h;return v(function(k){if(k.nextAddress==1){if(!c.isEnabled)return k.return(Xo(a));c.manualUpdate(a,function(q){b(q!=null?q:Xo(a))});return w(k,pi(c.batchAdaptedGet(a)),2)}if(k.nextAddress!=3)return d=k.yieldResult,f=(e=c.copy(d))!=null?e:Xo(a),b(f),w(k,rvc(c.issueService,f),3);h=k.yieldResult;c.announce(h);return k.return(h)})};ID.\u0275fac=function(a){return new (a||ID)};ID.\u0275prov=Dg({token:ID,factory:ID.\u0275fac,providedIn:"root"});
var HD=function(){this.issueService=x(GD);this.maxBatchSize=100;this.bufferTimeMs=0};HD.prototype.call=function(a){var b=this;return wi(function(){return qvc(b.issueService,[].concat(p(a)))}).pipe(C(function(c){return Yf(c,function(d){return d.id})}))};HD.prototype.split=function(a,b){var c;return(c=b.get(a))!=null?c:Xo(a)};HD.\u0275fac=function(a){return new (a||HD)};HD.\u0275prov=Dg({token:HD,factory:HD.\u0275fac,providedIn:"root"});var JD=function(){this.refreshRequest=new oj};JD.prototype.getObservable=function(){return this.refreshRequest};var svc=function(a,b){return KD(a,function(){return b})},KD=function(a,b){return a.getObservable().pipe(rj(void 0)).pipe(sj(function(){return b()}))};JD.\u0275fac=function(a){return new (a||JD)};JD.\u0275prov=Dg({token:JD,factory:JD.\u0275fac,providedIn:"root"});var MD=function(){YA.call(this);var a=this;this.batchApiAdapter=x(sB);this.refreshMonitor=x(JD);this.issueBatchConfig=x(LD);this.issueApi=x(uD);this.issueExperimentalFieldsFridge=x(ID);this.recordType="issue-basic";this.idForRecord=function(b){return String(b.issueId)};this.isEqual=vd;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.issueBatchConfig);this.refreshMonitor.getObservable().subscribe(function(){a.invalidate()})};Y(MD,YA);g=MD.prototype;g.fetchOne=function(a){return this.batchAdaptedGet(a)};
g.fetchSet=function(a){var b=this;return si(a.map(function(c){return b.fetchOne(c)})).pipe(C(function(c){return c.filter(fe)}))};
g.fetchAll=function(a){var b=a.custom;var c=a.filter;var d=a.pageSize;a={s:a.sort,count:d};if(b==="viewed")return bvc(this.issueApi,d).pipe(C(function(e){return{results:e}}),cj(function(e){ne("issueFullFridge -> listRecentIssues() API error",e);return li({results:[]})}));if(b==="byExperimentalPhase"&&c)return c=l(c.split("____b-internal____")),b=c.next().value,c=c.next().value,d=Xo("0"),d.triage.phase=c,avc(this.issueApi,b,a,{queryType:"QUERY_TRIAGE_PHASE",experimentalFields:d,concatenator:{relation:"AND"}}).pipe(C(function(e){return{results:e.issues,
totalSize:e.numTotalResults}}));if(c)return this.issueApi.listIssues(c,a).pipe(C(function(e){return{results:e.issues,totalSize:e.numTotalResults}}));throw Error("Ec");};g.copy=function(a){return a&&wd(a)};g.watch=function(a,b){return si([YA.prototype.watch.call(this,a,b),this.issueExperimentalFieldsFridge.watch(a)]).pipe(C(function(c){var d=l(c);c=d.next().value;d=d.next().value;return NFa([c],[d])[0]}))};
g.watchSet=function(a,b){return si([YA.prototype.watchSet.call(this,a,b),this.issueExperimentalFieldsFridge.watchSet(a)]).pipe(C(function(c){var d=l(c);c=d.next().value;d=d.next().value;return NFa(c,d)}))};g.watchMany=function(a,b){var c=this;return YA.prototype.watchMany.call(this,a,b).pipe(sj(function(d){return c.issueExperimentalFieldsFridge.watchSet(d.results.map(c.idForRecord)).pipe(C(function(e){return NFa(d.results,e)}),C(function(e){return Object.assign({},d,{results:e})}))}))};
g.peek=function(a){var b=YA.prototype.peek.call(this,a);a=this.issueExperimentalFieldsFridge.peek(a);return NFa([b],[a])[0]};g.poke=function(a,b){var c=this,d,e,f,h,k,q;return v(function(u){if(u.nextAddress==1)return d=l,w(u,Promise.all([YA.prototype.poke.call(c,a,b),c.issueExperimentalFieldsFridge.poke(a,b)]),2);e=d(u.yieldResult);f=e.next().value;h=e.next().value;k=f;q=h;return u.return(NFa([k],[q])[0])})};MD.\u0275fac=function(a){return new (a||MD)};
MD.\u0275prov=Dg({token:MD,factory:MD.\u0275fac,providedIn:"root"});var LD=function(){this.issueApi=x(uD);this.maxBatchSize=100;this.bufferTimeMs=0};LD.prototype.call=function(a){var b=this;if(a.size===1){var c=[].concat(p(a))[0];return this.issueApi.getIssueBasic(c).pipe(C(function(d){return new Map([[c,d]])}))}return wi(function(){return b.issueApi.batchGetIssues([].concat(p(a)))}).pipe(C(function(d){return Yf(d,function(e){return e.issueId})}))};LD.prototype.split=function(a,b){return b.get(a)};
LD.\u0275fac=function(a){return new (a||LD)};LD.\u0275prov=Dg({token:LD,factory:LD.\u0275fac,providedIn:"root"});var OFa=window,fGa=function(){return{count:0,duration:0,transferSize:0,cacheHits:0,cacheHitRate:0}},tvc=function(a){if(PFa())try{window.performance.mark(a)}catch(b){console.warn("route_performance",b)}};var hGa=Ff("debug-logging")(),ZFa=window,uvc,eGa=!1,gGa={};var kGa=qjc("last-visit"),lGa=qjc("last-visit-count"),nGa=rjc("last-visit"),mGa=rjc("last-visit-count");Date.now==null&&(Date.now=function(){return(new Date).getTime()});var vvc=function(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a.indexOf("blob:")===0&&(a=a.substring(5));a=a.split("#")[0].split("?")[0];a=a.toLowerCase();a.indexOf("//")==0&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");c!=-1&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("Fc`"+a);if(c!=="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")throw Error("Gc`"+c);a="";var d=b.indexOf(":");if(d!=-1){var e=b.substring(d+1);b=b.substring(0,d);if(c==="http"&&e!=="80"||c==="https"&&e!=="443")a=":"+e}return c+"://"+b+a};var xvc=function(a,b,c){var d=String(da.location.href);return d&&a&&b?[b,wvc(vvc(d),a,c||null)].join(" "):null},wvc=function(a,b,c){var d=[],e=[];if((Array.isArray(c)?2:1)==1)return e=[b,a],Ba(d,function(k){e.push(k)}),yvc(e.join(" "));var f=[],h=[];Ba(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=f.length==0?[c,b,a]:[f.join(":"),c,b,a];Ba(d,function(k){e.push(k)});a=yvc(e.join(" "));a=[c,a];h.length==0||a.push(h.join(""));return a.join("_")},yvc=function(a){var b=
pGa();b.update(a);return b.digestString().toLowerCase()};var zvc=function(){this.document_=document||{cookie:""}};g=zvc.prototype;g.isEnabled=function(){if(!da.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{maxAge:60});if(this.get("TESTCOOKIESENABLED")!=="1")return!1;this.remove("TESTCOOKIESENABLED");return!0};
g.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.sameSite;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var k=c.maxAge}if(/[;=\s]/.test(a))throw Error("Hc`"+a);if(/[;\r\n]/.test(b))throw Error("Ic`"+b);k===void 0&&(k=-1);c=f?";domain="+f:"";h=h?";path="+h:"";d=d?";secure":"";k=k<0?"":k==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+k*1E3)).toUTCString();this.document_.cookie=a+"="+b+c+h+k+d+(e!=null?";samesite="+e:"")};
g.get=function(a,b){for(var c=a+"=",d=(this.document_.cookie||"").split(";"),e=0,f;e<d.length;e++){f=na(d[e]);if(f.lastIndexOf(c,0)==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 Avc(this).keys};g.getValues=function(){return Avc(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 this.get(a)!==void 0};g.clear=function(){for(var a=Avc(this).keys,b=a.length-1;b>=0;b--)this.remove(a[b])};var Avc=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=na(a[f]),d=e.indexOf("="),d==-1?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};var Bvc=function(a,b,c,d){(a=da[a])||typeof document==="undefined"||(a=(new zvc).get(b));return a?xvc(a,c,d):null},O7b=function(a){var b=vvc(da==null?void 0:da.location.href),c=[],d;(d=da.__SAPISID||da.__APISID||da.__3PSAPISID||da.__1PSAPISID||da.__OVERRIDE_SID)?d=!0:(typeof document!=="undefined"&&(d=new zvc,d=d.get("SAPISID")||d.get("APISID")||d.get("__Secure-3PAPISID")||d.get("__Secure-1PAPISID")),d=!!d);d&&(d=(b=b.indexOf("https:")==0||b.indexOf("chrome-extension:")==0||b.indexOf("chrome-untrusted://new-tab-page")==
0||b.indexOf("moz-extension:")==0)?da.__SAPISID:da.__APISID,d||typeof document==="undefined"||(d=new zvc,d=d.get(b?"SAPISID":"APISID")||d.get("__Secure-3PAPISID")),(d=d?xvc(d,b?"SAPISIDHASH":"APISIDHASH",a):null)&&c.push(d),b&&((b=Bvc("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&c.push(b),(a=Bvc("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",a))&&c.push(a)));return c.length==0?null:c.join(" ")};var Cvc=function(){},Dvc=function(a){var b,c,d,e;return v(function(f){switch(f.nextAddress){case 1:return b=new CompressionStream("gzip"),c=(new Response(b.readable)).arrayBuffer(),d=b.writable.getWriter(),w(f,d.write((new TextEncoder).encode(a)),2);case 2:return w(f,d.close(),3);case 3:return e=Uint8Array,w(f,c,4);case 4:return f.return(new e(f.yieldResult))}})};Cvc.prototype.isSupported=function(a){return a<1024?!1:typeof CompressionStream!=="undefined"};var Evc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Evc,n);var ND=function(a,b){this.intervalMs=a;this.callback=b;this.enabled=!1;this.nowFn=function(){return Date.now()};this.lastTimeMs=this.nowFn()};ND.prototype.setInterval=function(a){this.intervalMs=a;this.timer&&this.enabled?(this.stop(),this.start()):this.timer&&this.stop()};ND.prototype.start=function(){var a=this;this.enabled=!0;this.timer||(this.timer=setTimeout(function(){a.tick()},this.intervalMs),this.lastTimeMs=this.nowFn())};
ND.prototype.stop=function(){this.enabled=!1;this.timer&&(clearTimeout(this.timer),this.timer=void 0)};ND.prototype.tick=function(){var a=this;if(this.enabled){var b=Math.max(this.nowFn()-this.lastTimeMs,0);b<this.intervalMs*.8?this.timer=setTimeout(function(){a.tick()},this.intervalMs-b):(this.timer&&(clearTimeout(this.timer),this.timer=void 0),this.callback(),this.enabled&&(this.stop(),this.start()))}else this.timer=void 0};var Fvc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Fvc,n);var Gvc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Gvc,n);var Hvc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Hvc,n);Hvc.prototype.getTransmissionType=function(){return Zd(this,1)};Hvc.prototype.setTransmissionType=function(a){return mf(this,1,a)};var tGa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(tGa,n);tGa.prototype.getVersion=function(){return Oc(this,2)};tGa.prototype.setVersion=function(a){return lf(this,2,a)};tGa.prototype.getVersionOrUndefined=function(){return Vu(this,2)};var OD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(OD,n);var sGa=function(a){Ol(uGa,1,a)};OD.prototype.setPlatform=function(a){lf(this,3,a)};OD.prototype.setModel=function(a){return lf(this,6,a)};var Ivc=Qc(OD);var PD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(PD,n);PD.prototype.getLocale=function(){return Oc(this,5)};PD.prototype.setLocale=function(a){lf(this,5,a)};PD.prototype.setBuildLabel=function(a){lf(this,7,a)};var qGa=["platform","platformVersion","architecture","model","uaFullVersion"],uGa=new OD,rGa=null;var QD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(QD,n);QD.prototype.getClientType=function(){return Zd(this,1)};QD.prototype.setClientType=function(){return mf(this,1,1)};QD.prototype.getMutableJsClientInfo=function(){return Pu(this,PD,11)};var Jvc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Jvc,n);g=Jvc.prototype;g.getKey=function(){return Oc(this,1)};g.hasKey=function(){return Ge(this,1)};g.getValue=function(){return Oc(this,2)};g.getValue_legacyNullable=function(){return xf(this,2)};g.setValue=function(a){return lf(this,2,a)};g.hasValue=function(){return Ge(this,2)};var RD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,4)};Y(RD,n);var SD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,36)};Y(SD,n);g=SD.prototype;g.getTag=function(){return Oc(this,2)};g.getComponentId=function(){return Oc(this,26)};g.setComponentId=function(a){return lf(this,26,a)};g.hasComponentId=function(){return Ge(this,26)};g.addValue=function(){return rm(this,3,Jvc)};g.setValue=function(a,b){return Nu(this,3,Jvc,a,b)};var Kvc=function(a,b){return lf(a,8,b)};SD.prototype.getExperimentIds=function(){return r(this,Evc,16)};
SD.prototype.setExperimentIds=function(a){t(this,Evc,16,a)};SD.prototype.clearExperimentIds=function(){return Ou(this,16)};var Lvc=function(a,b){lf(a,24,b)};SD.prototype.getComplianceData=function(){return r(this,RD,33)};SD.prototype.setComplianceData=function(a){t(this,RD,33,a)};var Mvc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,19)};Y(Mvc,n);g=Mvc.prototype;g.getMutableClientInfo=function(){return Pu(this,QD,1)};g.setClientInfo=function(a){t(this,QD,1,a)};g.getLogSource=function(){return Zd(this,2,-1)};g.setLogSource=function(a){return mf(this,2,a)};g.getComplianceData=function(){return r(this,RD,18)};g.setComplianceData=function(a){t(this,RD,18,a)};var Nvc=function(a,b){this.isServiceWorkerScope=b=b===void 0?!1:b;this.uach=this.locale=null;this.transmissionType=0;this.isFinal=!1;this.logRequest=new Mvc;Number.isInteger(a)&&this.logRequest.setLogSource(a);b||(this.locale=document.documentElement.getAttribute("lang"));this.setClientInfo(new QD)};g=Nvc.prototype;g.setLogSource=function(a){this.logRequest.setLogSource(a);return this};
g.setClientInfo=function(a){this.logRequest.setClientInfo(a);a.getClientType()||a.setClientType();this.isServiceWorkerScope||(a=this.getMutableJsClientInfo(),a.getLocale()||a.setLocale(this.locale));this.uach&&(a=this.getMutableJsClientInfo(),r(a,OD,9)||t(a,OD,9,this.uach))};g.setBuildLabel=function(a){this.getMutableJsClientInfo().setBuildLabel(a)};g.setTransmissionType=function(a){this.transmissionType=a;return this};
g.getMutableClientInfo=function(){var a=r(this.logRequest,QD,1);a||(a=new QD,this.setClientInfo(a));return a};var Ovc=function(a){var b=b===void 0?qGa:b;var c=a.isServiceWorkerScope?void 0:Vs();c?vGa(c,b).then(function(d){a.uach=Ivc(d!=null?d:"[]");d=a.getMutableJsClientInfo();t(d,OD,9,a.uach);return!0}).catch(function(){return!1}):Promise.resolve(!1)};Nvc.prototype.getMutableJsClientInfo=function(){var a=this.getMutableClientInfo(),b=r(a,PD,11);b||(b=new PD,t(a,PD,11,b));return b};
Nvc.prototype.getComplianceData=function(a){var b=new Fvc;a=jf(b,13,a);b=new Gvc;a=t(b,Fvc,2,a);b=new RD;a=t(b,Gvc,1,a);return mf(a,2,9)};
Nvc.prototype.build=function(a,b,c,d,e,f){b=b===void 0?0:b;c=c===void 0?0:c;d=d===void 0?null:d;e=e===void 0?0:e;f=f===void 0?0:f;if(!this.isServiceWorkerScope){var h=this.getMutableJsClientInfo();var k=(new Hvc).setTransmissionType(this.transmissionType);k=hf(k,2,this.isFinal);c=jf(k,3,c>0?c:void 0);c=jf(c,4,e>0?e:void 0);c=jf(c,5,f>0?f:void 0);e=c.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;f=e[Ra]|0;c=db(c,f)?c:Vca(c,e,f)?Uca(c,e):new c.constructor(ec(e,f,!0));t(h,Hvc,10,c)}h=this.logRequest.clone();
c=Date.now().toString();h=rf(h,4,c);a=Ol(h,3,a.slice());d&&a.setComplianceData(this.getComplianceData(d));b&&Ze(a,14,b);return a};wGa.prototype.reset=function(){this.currBaseValue_=this.currValue_=this.initialValue_};wGa.prototype.getValue=function(){return this.currValue_};var TD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(TD,n);TD.prototype.getId=function(a){return Xu(this,1,a)};TD.prototype.setId=function(a){return dv(this,1,a)};var UD=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,8)};Y(UD,n);UD.prototype.getExperiments=function(){return r(this,TD,2)};UD.prototype.setExperiments=function(a){return t(this,TD,2,a)};UD.prototype.hasExperiments=function(){return Me(this,TD,2)};var Pvc=Qc(UD);var Qvc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Qvc,n);var Rvc=new iv(175237375,UD,Qvc);var VD=function(a){Ix.call(this);var b=this;this.componentId="";this.pendingEvents=[];this.lastFailedAuth="";this.pageId=null;this.useGetRequestForFinalFlush=this.useSendBeaconForFinalFlush=this.clientSideLogOnlyForDevelopment=!1;this.noFlushUntilMs=this.startWaitingMs=-1;this.useConsistentTimezoneOffset=this.clientSpecifiedFlushInterval=!1;this.compressor=this.experimentIds=null;this.numRetriesSinceLastSuccessfulFlush=this.numLogsDroppedSinceLastFlush=0;this.metalogService=null;this.persistedLogExpiredCount=
this.persistedLogRecoveredCount=0;this.sequencePosition=1;this.timeoutMillis=0;this.sendBeaconApiEnabled=!1;this.logSource=a.logSource;this.getAuthHeaderValue=a.getAuthHeaderValue||function(){};this.logRequestBuilder=new Nvc(a.logSource,a.isServiceWorkerScope);this.network=a.network||null;this.productID=a.productID||null;this.bufferSize=1E3;this.clearcutUrl=a.urlOverride||null;this.sessionIndex=a.sessionIndex||null;this.disableAutomaticFlush=a.disableAutomaticFlush||!1;this.logger=null;this.withCredentials=
!a.disableWithCredentials;this.isServiceWorkerScope=a.isServiceWorkerScope||!1;this.isSendBeaconSupported=!this.isServiceWorkerScope&&!!Vs()&&!!Vs().navigator&&Vs().navigator.sendBeacon!==void 0;this.isBrowserSupported=typeof URLSearchParams!=="undefined"&&!!(new URL(Svc())).searchParams&&!!(new URL(Svc())).searchParams.set;var c=(new QD).setClientType();this.logRequestBuilder.setClientInfo(c);this.flushBackoff=new wGa(1E4);a=Tvc(this,a.backgroundJobDeferrer);this.flushTimer=new ND(this.flushBackoff.getValue(),
a);this.backupTimer=new ND(6E5,a);this.disableAutomaticFlush||this.backupTimer.start();this.isServiceWorkerScope||(document.addEventListener("visibilitychange",function(){if(document.visibilityState==="hidden"){Uvc(b);var d;(d=b.metalogService)==null||d.flush()}}),document.addEventListener("pagehide",function(){Uvc(b);var d;(d=b.metalogService)==null||d.flush()}))};Y(VD,Ix);var Tvc=function(a,b){return a.isBrowserSupported?b?function(){b().then(function(){a.flush()})}:function(){a.flush()}:function(){}};
VD.prototype.disposeInternal=function(){Uvc(this);this.flushTimer.stop();this.backupTimer.stop();Ix.prototype.disposeInternal.call(this)};VD.prototype.setClearcutUrl=function(a){this.clearcutUrl=a};VD.prototype.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};VD.prototype.getClearcutUrl=function(){this.clearcutUrl||(this.clearcutUrl=Svc());try{return(new URL(this.clearcutUrl)).toString()}catch(a){return(new URL(this.clearcutUrl,Vs().location.origin)).toString()}};
var XD=function(a,b){if(b instanceof SD)a.log(b);else try{var c=Kvc(new SD,b.serialize());a.log(c)}catch(d){WD(a,4,1)}};g=VD.prototype;g.setClearcutClientInfo=function(a){this.logRequestBuilder.setClientInfo(a)};g.setComponentId=function(a){this.componentId=a};g.setProductID=function(a){this.productID=a};g.setPageId=function(a){this.pageId=a};g.setOpaqueExperimentIds=function(a){this.experimentIds||(this.experimentIds=new Evc);var b=this.experimentIds;a=[].concat(p(a));tc(b,2,a,gda)};
g.setClearExperimentIds=function(a){if(a){this.experimentIds||(this.experimentIds=new Evc);var b=this.experimentIds;a=a.serialize();lf(b,4,a)}else this.experimentIds&&Ou(this.experimentIds,4)};g.setClientSideLogOnlyForDevelopment=function(a){this.clientSideLogOnlyForDevelopment=a};g.setCompressor=function(a){this.compressor=a};g.setBuildLabel=function(a){this.logRequestBuilder.setBuildLabel(a)};g.setFlushIntervalMs=function(a){this.clientSpecifiedFlushInterval=!0;Vvc(this,a)};g.getLogSource=function(){return this.logSource};
var Vvc=function(a,b){a.flushBackoff=new wGa(b<1?1:b);a.flushTimer.setInterval(a.flushBackoff.getValue())},WD=function(a,b,c){a.metalogService&&a.metalogService.increment(b,c)};
VD.prototype.log=function(a){WD(this,2,1);if(this.isBrowserSupported){a=a.clone();var b=this.sequencePosition++;a=Ze(a,21,b);this.componentId&&a.setComponentId(this.componentId);b=a;if(Mb(Ke(b,1))==null){var c=Date.now();c=Number.isFinite(c)?c.toString():"0";rf(b,1,c)}Qe(b,15)||Ze(b,15,(new Date).getTimezoneOffset()*(this.useConsistentTimezoneOffset?-60:60));this.experimentIds&&b.setExperimentIds(this.experimentIds.clone());WD(this,1,1);b=this.pendingEvents.length-this.bufferSize+1;b>0&&(this.pendingEvents.splice(0,
b),this.numLogsDroppedSinceLastFlush+=b,WD(this,3,b));this.pendingEvents.push(a);this.maybeStartFlushTimer()}};VD.prototype.maybeStartFlushTimer=function(){this.disableAutomaticFlush||this.flushTimer.enabled||this.flushTimer.start()};
VD.prototype.flush=function(a,b){var c=this;if(this.pendingEvents.length===0)a&&a();else if(this.sendBeaconApiEnabled&&this.isSendBeaconSupported)this.logRequestBuilder.setTransmissionType(3),Wvc(this);else{var d=Date.now();if(this.noFlushUntilMs>d&&this.startWaitingMs<d)b&&b("throttled");else{this.network&&(typeof this.network.getTransmissionType==="function"?this.logRequestBuilder.setTransmissionType(this.network.getTransmissionType()):this.logRequestBuilder.setTransmissionType(0));var e=this.pendingEvents.length,
f=this.logRequestBuilder.build(this.pendingEvents,this.numLogsDroppedSinceLastFlush,this.numRetriesSinceLastSuccessfulFlush,this.productID,this.persistedLogRecoveredCount,this.persistedLogExpiredCount),h=this.getAuthHeaderValue();if(h&&this.lastFailedAuth===h)b&&b("stale-auth-token");else if(this.pendingEvents=[],this.flushTimer.enabled&&this.flushTimer.stop(),this.numLogsDroppedSinceLastFlush=0,this.clientSideLogOnlyForDevelopment)a&&a();else{d=f.serialize();var k;this.compressor&&this.compressor.isSupported(d.length)&&
(k=Dvc(d));var q=this.createRequestParams(d,h),u=function(H){c.flushBackoff.reset();c.flushTimer.setInterval(c.flushBackoff.getValue());if(H){var O=null;try{var P=JSON.stringify(JSON.parse(H.replace(")]}'\n","")));O=Pvc(P)}catch(S){}O&&(H=Number(Re(O,1,ib("-1"))),H>0&&(c.startWaitingMs=Date.now(),c.noFlushUntilMs=c.startWaitingMs+H),O=ufc(O,Rvc))&&(O=Pd(O,1,-1),O!==-1&&(c.clientSpecifiedFlushInterval||Vvc(c,O)))}a&&a();c.numRetriesSinceLastSuccessfulFlush=0},A=function(H,O){var P=ie(f,SD,3,Rd());
var S=Number(Re(f,14)),aa=c.flushBackoff;aa.currBaseValue_=Math.min(3E5,aa.currBaseValue_*2);aa.currValue_=Math.min(3E5,aa.currBaseValue_+Math.round(.1*(Math.random()-.5)*2*aa.currBaseValue_));c.flushTimer.setInterval(c.flushBackoff.getValue());H===401&&h&&(c.lastFailedAuth=h);S&&(c.numLogsDroppedSinceLastFlush+=S);O===void 0&&(O=500<=H&&H<600||H===401||H===0);O&&(c.pendingEvents=P.concat(c.pendingEvents),c.maybeStartFlushTimer());WD(c,7,1);b&&b("net-send-failed",H);++c.numRetriesSinceLastSuccessfulFlush},
D=function(){c.network&&c.network.send(q,u,A)};k?k.then(function(H){WD(c,5,e);q.requestHeaders["Content-Encoding"]="gzip";q.requestHeaders["Content-Type"]="application/binary";q.body=H;q.bodyType=2;D()},function(){WD(c,6,e);D()}):D()}}}};
VD.prototype.createRequestParams=function(a,b){b=b===void 0?null:b;var c=c===void 0?this.withCredentials:c;var d={},e=new URL(this.getClearcutUrl());b&&(d.Authorization=b);this.sessionIndex&&(d["X-Goog-AuthUser"]=this.sessionIndex,e.searchParams.set("authuser",this.sessionIndex));this.pageId&&(Object.defineProperty(d,"X-Goog-PageId",{value:this.pageId}),e.searchParams.set("pageId",this.pageId));return{url:e.toString(),body:a,bodyType:1,requestHeaders:d,requestType:"POST",withCredentials:c,timeoutMillis:this.timeoutMillis}};
var Uvc=function(a){a.clientSideLogOnlyForDevelopment||(a.logRequestBuilder.isFinal=!0,a.useSendBeaconForFinalFlush&&(a.logRequestBuilder.setTransmissionType(3),Wvc(a)),a.useGetRequestForFinalFlush&&(a.logRequestBuilder.setTransmissionType(2),Xvc(a)),a.flush(),a.logRequestBuilder.isFinal=!1)},Wvc=function(a){Yvc(a,32,10,function(b,c){b=new URL(b);b.searchParams.set("format","json");var d=!1;try{d=Vs().navigator.sendBeacon(b.toString(),c.serialize())}catch(e){}d||(a.isSendBeaconSupported=!1);return d})},
Xvc=function(a){Yvc(a,6,5,function(b,c){b=new URL(b);b.searchParams.set("format","base64json");var d=b.searchParams,e=d.set;c=c.serialize();for(var f=[],h=0,k=0;k<c.length;k++){var q=c.charCodeAt(k);q>255&&(f[h++]=q&255,q>>=8);f[h++]=q}c=qec(f,3);e.call(d,"p",c);b=b.toString();if(b.length>15360)return!1;(new Image).src=b;return!0})},Yvc=function(a,b,c,d){if(a.pendingEvents.length!==0){var e=new URL(a.getClearcutUrl());e.searchParams.delete("format");var f=a.getAuthHeaderValue();f&&e.searchParams.set("auth",
f);e.searchParams.set("authuser",a.sessionIndex||"0");for(f=0;f<c&&a.pendingEvents.length;++f){var h=a.pendingEvents.slice(0,b),k=a.logRequestBuilder.build(h,a.numLogsDroppedSinceLastFlush,a.numRetriesSinceLastSuccessfulFlush,a.productID,a.persistedLogRecoveredCount,a.persistedLogExpiredCount);if(!d(e.toString(),k)){++a.numRetriesSinceLastSuccessfulFlush;break}a.numLogsDroppedSinceLastFlush=0;a.numRetriesSinceLastSuccessfulFlush=0;a.persistedLogRecoveredCount=0;a.persistedLogExpiredCount=0;a.pendingEvents=
a.pendingEvents.slice(h.length)}a.flushTimer.enabled&&a.flushTimer.stop()}},Svc=function(){return"https://play.google.com/log?format=json&hasfast=true"};VD.prototype.setBufferSize=function(a){this.bufferSize=a};var Zvc=function(){this.abortSupported=typeof AbortController!=="undefined"};
Zvc.prototype.send=function(a,b,c){var d=this,e,f,h,k,q,u,A,D,H,O;return v(function(P){switch(P.nextAddress){case 1:return f=(e=d.abortSupported?new AbortController:void 0)?setTimeout(function(){e.abort()},a.timeoutMillis):void 0,ei(P,2,3),h=Object.assign({},{method:a.requestType,headers:Object.assign({},a.requestHeaders)},a.body&&{body:a.body},a.withCredentials&&{credentials:"include"},{signal:a.timeoutMillis&&e?e.signal:null}),w(P,fetch(a.url,h),5);case 5:k=P.yieldResult;if(k.status!==200){(q=c)==
null||q(k.status);P.jumpTo(3);break}if((u=b)==null){P.jumpTo(7);break}return w(P,k.text(),8);case 8:u(P.yieldResult);case 7:case 3:fi(P);clearTimeout(f);hi(P,0);break;case 2:A=ii(P);switch((D=A)==null?void 0:D.name){case "AbortError":(H=c)==null||H(408);break;default:(O=c)==null||O(400)}P.jumpTo(3)}})};Zvc.prototype.getTransmissionType=function(){return 4};var YD=function(a,b){b=b===void 0?"0":b;Ix.call(this);this.logSource=a;this.sessionIndex=b;this.destinationUrl="https://play.google.com/log?format=json&hasfast=true";this.buildLabel=null;this.serviceWorkerScopeEnabled=!1;this.compressor=void 0;this.network=null;this.componentId="";this.clearcutClientInfo=this.opaqueExperimentIds=this.clearExperimentIds=this.productID=null;this.getRequestForFinalFlush=this.sendBeaconForFinalFlush=!1;this.flushIntervalMs=null;this.sendBeaconApiEnabled=!1;this.useConsistentTimezoneOffset=
void 0;this.pageId=null;this.bufferSize=void 0};Y(YD,Ix);g=YD.prototype;g.setBuildLabel=function(a){this.buildLabel=a};g.setCompressor=function(a){this.compressor=a};g.setComponentId=function(a){this.componentId=a;return this};g.setProductID=function(a){this.productID=a};g.setClearExperimentIds=function(a){this.clearExperimentIds=a};g.setOpaqueExperimentIds=function(a){this.opaqueExperimentIds=a};var $vc=function(a,b){a.getAuthHeaderValue=b};g=YD.prototype;
g.setClearcutClientInfo=function(a){this.clearcutClientInfo=a};g.useSendBeaconForFinalFlush=function(){this.sendBeaconForFinalFlush=!0;return this};g.useGetRequestForFinalFlush=function(){this.getRequestForFinalFlush=!0;return this};g.setFlushIntervalMs=function(a){this.flushIntervalMs=Math.max(a,1E3)};g.disableWithCredentials=function(){this.withCredentialsDisabled=!0;return this};g.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};
g.setPageId=function(a){this.pageId=a};g.setBufferSize=function(a){this.bufferSize=a};
g.build=function(){this.network||(this.network=new Zvc);var a=new VD({logSource:this.logSource,getAuthHeaderValue:this.getAuthHeaderValue?this.getAuthHeaderValue:O7b,sessionIndex:this.sessionIndex,urlOverride:this.destinationUrl,isServiceWorkerScope:this.serviceWorkerScopeEnabled,disableAutomaticFlush:!1,disableWithCredentials:this.withCredentialsDisabled,backgroundJobDeferrer:this.backgroundJobDeferrer,network:this.network});Ir(this,a);this.clearcutClientInfo&&a.setClearcutClientInfo(this.clearcutClientInfo);
this.buildLabel&&a.setBuildLabel(this.buildLabel);this.compressor?a.setCompressor(this.compressor):this.compressor!==null&&a.setCompressor(new Cvc);this.componentId&&a.setComponentId(this.componentId);this.productID&&a.setProductID(this.productID);this.pageId&&a.setPageId(this.pageId);this.clearExperimentIds&&a.setClearExperimentIds(this.clearExperimentIds);this.opaqueExperimentIds&&a.setOpaqueExperimentIds(this.opaqueExperimentIds);this.sendBeaconForFinalFlush&&(a.useSendBeaconForFinalFlush=this.sendBeaconForFinalFlush&&
a.isSendBeaconSupported);this.getRequestForFinalFlush&&(a.useGetRequestForFinalFlush=this.getRequestForFinalFlush);this.flushIntervalMs&&a.setFlushIntervalMs(this.flushIntervalMs);this.sendBeaconApiEnabled&&(a.sendBeaconApiEnabled=a.isSendBeaconSupported);Ovc(a.logRequestBuilder);this.useConsistentTimezoneOffset&&a.setUseConsistentTimezoneOffset(!0);this.bufferSize&&a.setBufferSize(this.bufferSize);this.network.setLogSource&&this.network.setLogSource(this.logSource);this.network.setTransportReferenceAndAttemptFlush&&
this.network.setTransportReferenceAndAttemptFlush(a);return a};var ZD=function(){this.activeSession=x(Ks);this.transport=(new YD(2523,this.activeSession.getSessionIdentifier())).build()};ZD.\u0275fac=function(a){return new (a||ZD)};ZD.\u0275prov=Dg({token:ZD,factory:ZD.\u0275fac,providedIn:"root"});var awc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(awc,n);awc.prototype.getValueCase=function(){return al(this,bwc)};var bwc=[1,2,3];var cwc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(cwc,n);cwc.prototype.getValueCase=function(){return al(this,dwc)};var dwc=[1,2,3];var ewc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ewc,n);var fwc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(fwc,n);fwc.prototype.getFieldName=function(){return Xu(this,3)};fwc.prototype.setFieldName=function(a){return dv(this,3,a)};var gwc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(gwc,n);var $D=function(a,b,c,d,e,f,h){a=a===void 0?-1:a;b=b===void 0?"":b;c=c===void 0?"":c;d=d===void 0?!1:d;e=e===void 0?"":e;Ix.call(this);this.logSource=a;this.componentId=b;f?c=f:(a=(new YD(a,"0")).setComponentId(b),Ir(this,a),c!==""&&(a.destinationUrl=c),d&&(a.serviceWorkerScopeEnabled=!0),e&&a.setBuildLabel(e),h&&(a.network=h),c=a.build());this.transport=c};Y($D,Ix);$D.prototype.getLogSource=function(){return this.logSource};$D.prototype.getComponentId=function(){return this.componentId};
$D.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new gwc,c=[],d=0;d<a.length;d++){var e=a[d],f=new fwc;f=lf(f,1,e.metricName);var h=hwc(e);f=Wd(f,3,h);h=[];var k=[];for(var q=l(e.cellMap.keys()),u=q.next();!u.done;u=q.next())k.push(u.value.split(","));for(q=0;q<k.length;q++){u=k[q];var A=e.cellType;for(var D=e.getCells(u)||[],H=[],O=0;O<D.length;O++){var P=D[O],S=P&&P.cellValue;P=new cwc;switch(A){case 3:S=Number(S);Number.isFinite(S)&&ul(P,1,dwc,Gb(S,0));break;case 2:fua(P,2,dwc,Number(S))}H.push(P)}A=
H;for(D=0;D<A.length;D++){H=A[D];O=new ewc;H=t(O,cwc,2,H);O=u;P=[];S=iwc(e);for(var aa=0;aa<S.length;aa++){var ia=S[aa],la=O[aa],ya=new awc;switch(ia){case 3:fl(ya,1,bwc,String(la));break;case 2:ia=Number(la);Number.isFinite(ia)&&ul(ya,2,bwc,ia==null?ia:Ab(ia));break;case 1:ia=la==="true",ul(ya,3,bwc,ia==null?ia:tb(ia))}P.push(ya)}Ol(H,1,P);h.push(H)}}Ol(f,4,h);c.push(f);e.clear()}Ol(b,1,c);XD(this.transport,b);this.transport.flush()}};var jwc=function(a){this.cellValue=a};var kwc=function(a,b,c){this.metricName=a;this.cellType=b;this.fields=c||[];this.cellMap=new Map},iwc=function(a){return a.fields.map(function(b){return b.fieldType})},hwc=function(a){return a.fields.map(function(b){return b.fieldName})};g=kwc.prototype;g.addCell=function(a){var b=rd.apply(1,arguments),c=this.getCells(b);c?c.push(new jwc(a)):this.setCell(a,b)};g.setCell=function(a){var b=this.getKey(rd.apply(1,arguments));this.cellMap.set(b,[new jwc(a)])};
g.getCells=function(){var a=this.getKey(rd.apply(0,arguments));return this.cellMap.has(a)?this.cellMap.get(a):void 0};g.getCell=function(){var a=this.getCells(rd.apply(0,arguments));return a&&a.length?a[0]:void 0};g.clear=function(){this.cellMap.clear()};g.getKey=function(){var a=rd.apply(0,arguments);return a?a.join(","):"key"};var lwc=function(a,b){kwc.call(this,a,3,b)};Y(lwc,kwc);lwc.prototype.incrementCounter=function(){this.incrementCounterBy(1,rd.apply(0,arguments))};lwc.prototype.incrementCounterBy=function(a){var b=rd.apply(1,arguments),c=0,d=this.getCell(b);d&&(c=d.cellValue);this.setCell(c+a,b)};var mwc=function(a,b){kwc.call(this,a,2,b)};Y(mwc,kwc);mwc.prototype.record=function(a){this.addCell(a,rd.apply(1,arguments))};var aE=function(a,b){st.call(this);this.interval_=a||1;this.timerObject_=b||da;this.boundTick_=ut(this.tick_,this);this.last_=Date.now()};Lu(aE,st);g=aE.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_;a>0&&a<this.interval_*.8?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(){aE.superClass_.disposeInternal.call(this);this.stop();delete this.timerObject_};
var Yq=function(a,b,c){if(typeof a==="function")c&&(a=ut(a,c));else if(a&&typeof a.handleEvent=="function")a=ut(a.handleEvent,a);else throw Error("Kc");return Number(b)>2147483647?-1:da.setTimeout(a,b||0)},nwc=function(){var a=null;return(new Hv(function(b,c){a=Yq(function(){b(void 0)},5E3);a==-1&&c(Error("Lc"))})).thenCatch(function(b){da.clearTimeout(a);throw b;})};var owc=function(a){Ix.call(this);this.streamzLogger=a;this.invocationCount=0;this.metricMap=new Map;this.disabledMetrics=new Set;this.flushInterval=3E4;this.flushTimer=new aE(this.flushInterval);this.flushTimer.listen("tick",this.snapshotAndFlush,!1,this);Ir(this,this.flushTimer)};Y(owc,Ix);var pwc=function(a){a.maybeStartFlushTimer();a.invocationCount++;a.invocationCount>=100&&a.snapshotAndFlush()};g=owc.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);qwc(a);this.invocationCount=0;this.flushTimer.enabled&&this.flushTimer.stop()};g.addNewCounter=function(a){var b=rd.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new lwc(a,b))};g.addNewEventMetric=function(a){var b=rd.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new mwc(a,b))};
g.getMetric=function(a){return this.disabledMetrics.has(a)?void 0:this.metricMap.get(a)};g.incrementCounter=function(a){this.incrementCounterBy(a,1,rd.apply(1,arguments))};g.incrementCounterBy=function(a,b){var c=rd.apply(2,arguments),d=this.getMetric(a);d&&d instanceof lwc&&(d.incrementCounterBy(b,c),pwc(this))};g.record=function(a,b){var c=rd.apply(2,arguments),d=this.getMetric(a);d&&d instanceof mwc&&(d.record(b,c),pwc(this))};g.maybeStartFlushTimer=function(){this.flushTimer.enabled||this.flushTimer.start()};
var qwc=function(a){for(var b=0;b<a.length;b++)a[b].clear()};var bE=function(){var a=new YD(852,"0");a.setComponentId("");a.useSendBeaconForFinalFlush();a.useGetRequestForFinalFlush();a.sendBeaconApiEnabled=!0;a=new $D(852,void 0,void 0,void 0,void 0,a.build());a=this.service=new owc(a);a.flushInterval=3E3;a.flushTimer.setInterval(3E3)};bE.\u0275fac=function(a){return new (a||bE)};bE.\u0275prov=Dg({token:bE,factory:bE.\u0275fac,providedIn:"root"});var rwc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(rwc,n);var swc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(swc,n);var twc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(twc,n);g=twc.prototype;g.setUserAction=function(a){return mf(this,1,a)};g.getIssueId=function(){return Re(this,3)};g.getIssueId_asString=function(){return Xe(this,3)};g.setIssueId=function(a){return Ze(this,3,a)};g.getEnvironmentType=function(){return Oc(this,4)};g.setEnvironmentType=function(a){return lf(this,4,a)};g.getFrontendAccessMode=function(){return Oc(this,5)};
g.setFrontendAccessMode=function(a){return lf(this,5,a)};var uwc=Ff("debug-logging")(),cE=function(){this.activeSession=x(Ks);this.streamz=x(bE);this.clearcutTransport=x(ZD);this.pageLoadTime=new kgc(this.streamz.service);this.userLatency=new mgc(this.streamz.service);this.userActionCounter=new lgc(this.streamz.service);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType()};
cE.prototype.timePageLoad=function(a,b){this.pageLoadTime.record(a,b,this.frontendAccessMode,this.environmentType);uwc&&console.log("Clearcut stub",{action:b,duration:a})};var dE=function(a,b,c){a.userLatency.record(b,c,a.frontendAccessMode,a.environmentType);uwc&&console.log("Clearcut stub",{action:c,duration:b})},vwc=function(a,b){a.userActionCounter.increment(b,a.frontendAccessMode,a.environmentType);uwc&&console.log("Clearcut stub",{action:b})};cE.\u0275fac=function(a){return new (a||cE)};
cE.\u0275prov=Dg({token:cE,factory:cE.\u0275fac,providedIn:"root"});var wwc=Jf("journey-log"),xwc=If("journey-log"),ywc=[{matcher:RegExp("ssue__edit"),outputEvent:"edit"},{matcher:RegExp("ssue__addComment"),outputEvent:"comment"},{matcher:RegExp("ssue__light-ixn"),outputEvent:"ixn"},{matcher:RegExp("ssue__copyIssueId"),outputEvent:"ixn"},{matcher:RegExp("global-search__.*__.*text"),outputEvent:"ilp-search"},{matcher:RegExp("global-search__.*__filters"),outputEvent:"ilp-filter"}],eE={startEvents:["ilp-search"],successEvents:["edit","ixn","comment"],abortEvents:["ilp-filter",
"idle"],successMarker:"SUCCESS-search",count:["nav"]},fE=function(){this.clearcut=x(cE)},zwc=function(a,b){var c=c===void 0?Date.now():c;var d,e=(d=xwc())!=null?d:[];e.push([b,c]);e.length>100&&(e=e.slice(-100));wwc(e);if(eE.successEvents.includes(b)){b=e;c=eE.abortEvents;d=eE.successEvents;e=eE.startEvents;for(var f=eE.successMarker,h,k=b.length-1;k>=0;k--){var q=l(b[k]),u=q.next().value;q=q.next().value;if(c.includes(u))break;if(f===u)break;if(d.includes(u)){if(h&&A)break;var A=q}else A&&e.includes(u)&&
(h=q)}A=h&&A?[h,A]:void 0;A&&(A=l(A),h=A.next().value,A=A.next().value-h,dE(a.clearcut,A,xGa("journey","global-search-text")),Yo("journey","global-search-text","duration",A),zwc(a,eE.successMarker))}};fE.\u0275fac=function(a){return new (a||fE)};fE.\u0275prov=Dg({token:fE,factory:fE.\u0275fac,providedIn:"root"});var gE=function(){var a=this;this.clearcut=x(cE);this.onMeasurement=function(b){b.getEntries().forEach(a.sendToClearcut)};this.sendToClearcut=function(b){var c=b.name;c&&c.startsWith("GTM-")||(b=Math.round(b.duration),c!=null&&(isNaN(b)||a.clearcut.timePageLoad&&a.clearcut.timePageLoad(b,c)))}},Awc=function(a){PFa()&&(a.observer!=null&&a.observer.disconnect(),a.observer=new OFa.PerformanceObserver(a.onMeasurement),a.observer.observe({entryTypes:["measure"]}))};
gE.\u0275fac=function(a){return new (a||gE)};gE.\u0275prov=Dg({token:gE,factory:gE.\u0275fac,providedIn:"root"});var yGa={},Bwc={logInfo:function(){console.log(AGa());console.log("\nDuplicate Requests:");console.table(zGa())},getCounts:function(){return yGa},getDupes:zGa,getAggregates:AGa};var Cwc={attributes:!1,childList:!0,subtree:!0},hE=function(){var a=this;this.ngZone=x(Kk);this.router=x($B);this.activatedRoute=x(Zn);this.dom$=new oj;this.cdr$=this.ngZone.onStable;this.xhr$=new oj;this.render$=Ci(this.dom$,this.cdr$);this.renderSettled$=this.render$.pipe(fj(200));this.navigatedTo$=this.router.events.pipe(Di(CGa),C(function(){return BGa(a.activatedRoute.snapshot)}));this.navigatedTo$.pipe(sj(function(b){return a.renderSettled$.pipe(hj(1),C(function(){return b}))}),pj(1));this.domObserver=
new MutationObserver(function(){return void a.dom$.next()})},Dwc=function(a){a.domObserver.disconnect();a.domObserver.observe(document.body,Cwc)};hE.prototype.intercept=function(a,b){var c=a.method+" "+a.urlWithParams;yGa[c]=~~yGa[c]+1;this.xhr$.next(c);return b.handle(a)};hE.\u0275fac=function(a){return new (a||hE)};hE.\u0275prov=Dg({token:hE,factory:hE.\u0275fac,providedIn:"root"});var Ewc={provide:kqc,useExisting:hE,multi:!0};var iE=function(){Lp.apply(this,arguments)};Y(iE,Lp);iE.create=Lp.create;iE.prototype.emit=function(a){Lp.prototype.emit.call(this,a)};var Z=function(){this.destroyed$=new nj(1);this.subscriptions=new Yh};Z.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};Z.\u0275fac=function(a){return new (a||Z)};Z.\u0275dir=$i({type:Z});var jE=function(){this.cdr=x(sx);this.zone=x(Kk);this.destroyed=!1};jE.prototype.ngOnDestroy=function(){this.destroyed=!0};jE.prototype.detectChanges=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.detectChanges()})};jE.prototype.markForCheck=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.markForCheck()})};jE.\u0275fac=function(a){return new (a||jE)};jE.\u0275prov=Dg({token:jE,factory:jE.\u0275fac});var kE=function(){Z.apply(this,arguments);var a=this;this.ngZone=x(Kk);this.activeSubject$=new $n(!1);this.active$=this.activeSubject$.pipe(jj(),tj(this.destroyed$),EGa(this.ngZone));this.onUserEvent=Wgc(function(){a.activeSubject$.next(!0);Fwc(a)},200);this.onVisibilityChange=function(){document.visibilityState==="hidden"?(a.activeSubject$.next(!1),clearTimeout(a.activeTimeoutId)):(a.activeSubject$.next(!0),Fwc(a))}};Y(kE,Z);kE.\u0275dir=Z.\u0275dir;
kE.prototype.install=function(){var a=this;if(document.visibilityState==="visible")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)};
kE.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 Fwc=function(a){clearTimeout(a.activeTimeoutId);a.activeTimeoutId=setTimeout(function(){a.activeSubject$.next(!1)},1E4)};kE.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(kE)))(b||kE)}}();kE.\u0275prov=Dg({token:kE,factory:kE.\u0275fac,providedIn:"root"});var Gwc=[go,io,ho],mE=function(){Z.call(this);var a=this;this.router=x($B);this.routeChangeStart=new oj;this.routeChangeSuccess=new oj;this.locationChangeStart=new oj;this.locationChangeSuccess=new oj;this.routeUpdate=new oj;this.viewContentLoaded=new oj;this.navigationEnd$=this.router.events.pipe(Di(CGa));this.navigationOver$=this.router.events.pipe(Di(function(c){return Gwc.some(function(d){return c instanceof d})}));lE(this,qBa).subscribe(function(c){a.routeChangeStart.next({params:Object.assign({},
c.snapshot.queryParams,c.snapshot.params)})});var b=lE(this,qsc);Ci(this.navigationOver$.pipe(gj(ix)),this.routeChangeStart.pipe(gj(b))).pipe(sj($h),Di(function(c){return c.snapshot.routeConfig.isRootRoute}),C(function(c){return{params:Object.assign({},c.snapshot.queryParams,c.snapshot.params)}}),tj(this.destroyed$)).subscribe(function(c){a.routeChangeSuccess.next(c)});lE(this,ap).pipe(C(function(c){return c.url}),jj()).subscribe(function(){a.locationChangeStart.next()});lE(this,go).pipe(C(function(c){return c.url}),
jj()).subscribe(function(){a.locationChangeSuccess.next()});b=x(Zn).queryParams.pipe(vj(lE(this,isc)));Ci(this.routeChangeStart.pipe(gj(ix)),this.navigationOver$.pipe(gj(b))).pipe(sj($h),tj(this.destroyed$)).subscribe(function(c){c=l(c);c.next();c=c.next().value;a.routeUpdate.next({params:c.state.root.params})});lE(this,go).subscribe(function(){a.viewContentLoaded.next()})};Y(mE,Z);mE.\u0275dir=Z.\u0275dir;
var lE=function(a,b){return a.router.events.pipe(Di(function(c){return c instanceof b}),C(function(c){return c}),tj(a.destroyed$))};mE.\u0275fac=function(a){return new (a||mE)};mE.\u0275prov=Dg({token:mE,factory:mE.\u0275fac,providedIn:"root"});var Hwc=Ff("onedev-darkmode"),nE=function(){var a=x(mE),b=x(Ks),c=x(Zn);Z.call(this);var d=this;this.journeyTracker=x(fE);this.preapply=function(){return function(k){return function(q,u){d.trackEvent("editIssue",k,q,u)}}};oGa();iGa(b.getUserTypeLabel());b=b.getUserPreferences();Zo("dimension7",Hwc()?"dark":"default");var e;Zo("dimension3",(e=b.themePreferences)==null?void 0:e.density);e=b.showFullHistory?"fh":"comments";var f;if((f=b.commentFilterPreferences)==null?0:f.commentFilter){var h;e=(h=b.commentFilterPreferences)==
null?void 0:h.commentFilter}Zo("dimension2",e);Zo("dimension5",b.showRecentEventsFirst?"newestFirst":"oldestFirst");this.subscriptions.add(a.viewContentLoaded.pipe(rj(void 0)).subscribe(function(){var k=BGa(c.snapshot);jGa("page_location",k);bGa("page_view",{page_path:k})}))};Y(nE,Z);nE.\u0275dir=Z.\u0275dir;
nE.prototype.trackEvent=function(a,b,c,d){Yo(a,b,c,typeof d==="boolean"?d?1:0:d);d=this.journeyTracker;a=xGa(a,b,c);b=l(ywc);for(c=b.next();!c.done;c=b.next()){c=c.value;var e=c.outputEvent;if(a.match(c.matcher)){zwc(d,e);break}}};var Iwc=function(a,b,c){bGa("timing",Object.assign({},{timing_category:"userAction",timing_var:a,timing_value:b},c!==void 0?{timing_label:c}:{}))},Jwc=function(a,b){a.trackEvent("editIssue","updateStatus",b)};nE.\u0275fac=function(a){return new (a||nE)};
nE.\u0275prov=Dg({token:nE,factory:nE.\u0275fac,providedIn:"root"});var GGa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(GGa,n);var Kwc=!1;var pE=function(){YA.call(this);var a=this;this.batchApiAdapter=x(sB);this.issueApi=x(uD);this.userResources=x(CC);this.refreshMonitor=x(JD);this.issueService=x(GD);this.activeSession=x(Ks);this.hotlistFridge=x(EC);this.analytics=x(nE);this.issueExperimentalFieldsFridge=x(ID);this.issueFullBatchConfig=x(oE);this.issueFridge=x(MD);this.recordType="issue-full";this.idForRecord=function(c){return String(c.issueId)};this.isEqual=vd;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.issueFullBatchConfig);
if(Kwc)var b=void 0;else Kwc=!0,b=IGa();b&&this.announce(b);this.refreshMonitor.getObservable().subscribe(function(){a.invalidate()})};Y(pE,YA);g=pE.prototype;g.announce=function(a,b){YA.prototype.announce.call(this,JGa(a));this.issueFridge.announce(ria(a),b)};
g.fetchOne=function(a){var b=this;this.issueFridge.setIsGetting(a);return this.batchAdaptedGet(a).pipe(uj(function(c){b.issueFridge.clearIsGetting(a);b.issueFridge.announce(ria(c))}),C(function(c){return JGa(c)}),cj(function(c){b.issueFridge.clearIsGetting(a);return mi(function(){return c})}))};g.fetchSet=function(a){var b=this;return si(a.map(function(c){return b.fetchOne(c).pipe(cj(function(){return li(void 0)}))})).pipe(C(function(c){return c.filter(fe)}))};
g.watch=function(a,b){return si([YA.prototype.watch.call(this,a,b),this.issueFridge.watch(a,b)]).pipe(C(function(c){var d=l(c);c=d.next().value;d=d.next().value;return sia(d,c)}))};g.watchSet=function(a){return si([YA.prototype.watchSet.call(this,a),this.issueFridge.watchSet(a)]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;var d=Yf(c,function(e){return e.issueId});return b.map(function(e){return sia(d.get(e.issueId),e)})}),C(function(b){return b.filter(fe)}))};
g.peek=function(a){var b=YA.prototype.peek.call(this,a);a=this.issueFridge.peek(a);return sia(a,b)};g.poke=function(a,b){var c=this;return v(function(d){return d.nextAddress==1?w(d,Promise.all([YA.prototype.poke.call(c,a,b),c.issueFridge.poke(a,b)]),2):d.return(c.peek(a))})};g.manualUpdate=function(a,b){if(a=(a=this.peek(a))&&wd(a))b(a),this.announce(a)};g.copy=function(a){return a&&wd(a)};
var Lwc=function(a,b,c){a.analytics.trackEvent("issue","light-ixn","star");var d={starred:c,voted:null,notificationSubscription:null};Bx(a.activeSession)&&(d.voted=c);return huc(a.userResources,b,d).pipe(uj(function(){a.manualUpdate(b,function(e){e.userData&&(e.userData.starred=c,Bx(a.activeSession)&&(e.userData.voted=c))})}))},Mwc=function(a,b,c){a.analytics.trackEvent("issue","light-ixn","vote",c);return huc(a.userResources,b,{voted:c,starred:null,notificationSubscription:null}).pipe(uj(function(){a.manualUpdate(b,
function(d){d.userData&&(d.userData.voted=c)})}))};pE.prototype.setNotificationSubscription=function(a,b){var c=this,d;return v(function(e){if(e.nextAddress==1)return c.analytics.trackEvent("issue","light-ixn","notifs",Number(b)),d={voted:null,starred:null,notificationSubscription:b},w(e,pi(huc(c.userResources,a,d)),2);c.manualUpdate(a,function(f){f.userData&&(f.userData.notificationSubscription=b)});ji(e)})};
var Nwc=function(a,b,c){a.analytics.trackEvent("issue","edit","title");var d={issueId:b,actions:[{fieldName:"title",value:c}]};a.manualUpdate(b,function(e){e.snapshot[0].title=c});return a.issueApi.updateIssue(b,d).pipe(uj(function(e){e&&a.announce(e)}))};pE.prototype.removeHotlists=function(a,b){return this.updateHotlists(a,[],b)};
pE.prototype.updateHotlists=function(a,b,c){var d=this,e,f,h,k,q,u;return v(function(A){if(A.nextAddress==1){d.analytics.trackEvent("issue","edit","hotlists");e={removeHotlistIds:c,addHotlistIds:b,hotlistIssue:{issueId:a}};f=l([].concat(p(b),p(c)));for(h=f.next();!h.done;h=f.next())k=h.value,d.hotlistFridge.setIsSaving(k);ei(A,2);return w(A,pi(d.issueApi.updateIssueHotlists(a,e)).finally(function(){for(var D=l([].concat(p(b),p(c))),H=D.next();!H.done;H=D.next())d.hotlistFridge.clearIsSaving(H.value)}),
4)}if(A.nextAddress!=2)return(q=A.yieldResult)&&d.announce(q),A.return(q);u=ii(A);d.poke(a);throw u;})};var Owc=function(a,b,c){return qE(a,"ADD","DUPLICATE",c,[b]).then(function(){c!=null&&Jwc(a.analytics,"DUPLICATE");return a.poke(b)})};g=pE.prototype;g.removeDuplicate=function(a,b){var c=this;return qE(this,"REMOVE","DUPLICATE",b,[a]).then(function(){return c.poke(a)})};g.addBlocking=function(a,b){return qE(this,"ADD","BLOCKING",a,b)};
g.removeBlocking=function(a,b){return qE(this,"REMOVE","BLOCKING",a,b)};g.addBlockedBy=function(a,b){return qE(this,"ADD","BLOCKED_BY",a,b)};g.removeBlockedBy=function(a,b){return qE(this,"REMOVE","BLOCKED_BY",a,b)};
var qE=function(a,b,c,d,e){if(e.length===0||d==null)return Promise.resolve(void 0);a.analytics.trackEvent("issue","edit","relation",Number(c));b={relation:c,issueId:d,targetIds:e,actionType:b};Pwc(a,b);var f=[d].concat(p(e));e=l(f);for(c=e.next();!c.done;c=e.next())a.setIsSaving(c.value);return pi(a.issueApi.relateIssue(d,b)).then(function(h){h&&a.announce(h)}).catch(function(h){a.poke(d);throw h;}).finally(function(){for(var h=l(f),k=h.next();!k.done;k=h.next())a.clearIsSaving(k.value)})},rE=function(a,
b,c){c=c===void 0?{}:c;var d=c.markRead===void 0?!0:c.markRead;var e=c.eagerUpdate===void 0?!0:c.eagerUpdate;var f=c.userActivityType===void 0?"USER_ACTIVITY_TYPE_UNDEFINED":c.userActivityType;var h,k,q,u;return v(function(A){if(A.nextAddress==1)return a.activeSession.isAnonymous()?A.return():w(A,a.issueService.markRead(b,d,f),2);h=A.yieldResult;if(e)for(k=l(b),q=k.next();!q.done;q=k.next())u=q.value,a.manualUpdate(String(u),function(D){D.userData&&(D.userData.lastViewedTimeMicros=h.readTimestamp)});
return A.return(h.readTimestamp?Math.round(h.readTimestamp/1E3):void 0)})},Pwc=function(a,b){a.manualUpdate(b.issueId,function(c){switch(b.relation){case "BLOCKED_BY":if(b.actionType==="ADD"){var d;c.snapshot[0].blockedByIssueId=[].concat(p((d=c.snapshot[0].blockedByIssueId)!=null?d:[]),p(b.targetIds.map(String)))}else if(b.actionType==="REMOVE"){var e,f;c.snapshot[0].blockedByIssueId=(f=(e=c.snapshot[0].blockedByIssueId)==null?void 0:e.filter(function(h){return!b.targetIds.includes(String(h))}))!=
null?f:[]}}})};pE.\u0275fac=function(a){return new (a||pE)};pE.\u0275prov=Dg({token:pE,factory:pE.\u0275fac,providedIn:"root"});var oE=function(){this.issueApi=x(uD);this.maxBatchSize=100;this.bufferTimeMs=0};oE.prototype.call=function(a){var b=this;if(a.size===1){var c=[].concat(p(a))[0];return this.issueApi.getIssueFull(c).pipe(C(function(d){return new Map([[c,d]])}))}return wi(function(){return b.issueApi.batchGetIssuesFull([].concat(p(a)))}).pipe(C(function(d){return Yf(d,function(e){return e.issueId})}))};
oE.prototype.split=function(a,b){return b.get(a)};oE.\u0275fac=function(a){return new (a||oE)};oE.\u0275prov=Dg({token:oE,factory:oE.\u0275fac,providedIn:"root"});var sE=function(){YA.call(this);var a=this;this.api=x(jy);this.activeSession=x(Ks);this.refreshMonitor=x(JD);this.recordType="issue-recommendation";this.isEqual=vd;this.idForRecord=function(b){return b.issueId+"-"+b.recommendationType};this.refreshMonitor.getObservable().subscribe(function(){a.invalidate()})};Y(sE,YA);
sE.prototype.fetchOne=function(a){if(this.activeSession.isExternalSession())return li(void 0);a=KGa(a);var b=a.issueId,c=a.recommendationType;return c==="NEEDS_INFO"&&!Cx(this.activeSession,"enableNeedsInfoUi")||c==="COMPONENT_ROUTING"&&!Cx(this.activeSession,"enableComponentRoutingUi")||c==="ANY_ISSUE_EDIT"&&!Cx(this.activeSession,"enablePlaybook")?li(void 0):this.api.lookupRecommendations({resource:"issues/"+b,type:c,minConfidence:"MEDIUM",view:"FULL",pageSize:10}).pipe(C(function(d){return{issueId:b,
recommendationType:c,recommendations:d.recommendations}}),cj(function(d){console.error("IssueRecommendationFridge error",d);return li(void 0)}))};sE.prototype.watch=function(a){if(!a.includes("-"))throw Error("Mc");return YA.prototype.watch.call(this,a)};sE.prototype.poke=function(a){if(!a.includes("-"))throw Error("Nc");return YA.prototype.poke.call(this,a)};sE.\u0275fac=function(a){return new (a||sE)};sE.\u0275prov=Dg({token:sE,factory:sE.\u0275fac,providedIn:"root"});var cp=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(cp,n);var Qwc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Qwc,n);g=Qwc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.setRelationshipType=function(a){return Xd(this,2,a)};g.getIssueRelationship=function(){return r(this,cp,3)};g.setIssueRelationship=function(a){return t(this,cp,3,a)};g.setSignificanceOverride=function(a){return Xd(this,4,a)};var Rwc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Rwc,n);g=Rwc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.setRelationshipType=function(a){return Xd(this,2,a)};g.setRequestsList=function(a){return Ol(this,3,a)};g.addAndReturnRequests=function(){return Bc(this,3,Qwc)};g.setSignificanceOverride=function(a){return Xd(this,4,a)};var Swc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Swc,n);g=Swc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.setRelationshipType=function(a){return Xd(this,2,a)};g.setSignificanceOverride=function(a){return Xd(this,4,a)};var Twc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Twc,n);g=Twc.prototype;g.setRelationshipType=function(a){return Xd(this,1,a)};g.getSourceIssueIdsList_asString=function(){return ge(this,2)};g.setSourceIssueIdsList=function(a){return op(this,2,a)};g.getQuery=function(){return Oc(this,3)};g.setQuery=function(a){return Vd(this,3,a)};g.clearQuery=function(){Ou(this,3)};var tE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(tE,n);var Uwc=function(a,b){return op(a,1,b)};tE.prototype.setRelationshipType=function(a){return Xd(this,2,a)};var Vwc=function(a,b){return se(a,3,b)},Wwc=function(a,b){return se(a,4,b)};tE.prototype.getQuery=function(){return Oc(this,5)};tE.prototype.setQuery=function(a){return Vd(this,5,a)};tE.prototype.clearQuery=function(){Ou(this,5)};var uE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,uE.messageId)};Y(uE,n);uE.prototype.getIt=function(){return r(this,Rwc,5,Kc)};uE.prototype.setIt=function(a){return t(this,Rwc,5,a,Kc)};uE.messageId="b.BatchCreateIssueRelationshipsRequest";var Xwc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Xwc.messageId)};Y(Xwc,n);Xwc.prototype.getIssueRelationshipsList=function(){return ie(this,cp,1,Rd(),Kc)};Xwc.messageId="b.BatchCreateIssueRelationshipsResponse";var vE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,vE.messageId)};Y(vE,n);vE.prototype.getIt=function(){return r(this,Swc,5,Kc)};vE.prototype.setIt=function(a){return t(this,Swc,5,a,Kc)};vE.messageId="b.BatchDeleteIssueRelationshipsRequest";var wE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,wE.messageId)};Y(wE,n);wE.prototype.getIt=function(){return r(this,Twc,4,Kc)};wE.prototype.setIt=function(a){return t(this,Twc,4,a,Kc)};wE.messageId="b.BatchGetIssueRelationshipsRequest";var Ywc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ywc,n);Ywc.prototype.getIssueRelationshipsList=function(){return ie(this,cp,1,Rd())};Ywc.prototype.getTotalSize=function(){return Pd(this,2)};var Zwc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Zwc.messageId)};Y(Zwc,n);Zwc.messageId="b.BatchGetIssueRelationshipsResponse";var xE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,xE.messageId)};Y(xE,n);xE.prototype.getIssueRelationship=function(){return r(this,cp,1,Kc)};xE.prototype.setIssueRelationship=function(a){return t(this,cp,1,a,Kc)};xE.messageId="b.CreateIssueRelationshipResponse";var yE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,yE.messageId)};Y(yE,n);yE.prototype.getIt=function(){return r(this,tE,6,Kc)};yE.prototype.setIt=function(a){return t(this,tE,6,a,Kc)};yE.messageId="b.GetIssueDescendantsRequest";var $wc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,$wc.messageId)};Y($wc,n);$wc.messageId="b.GetIssueDescendantsResponse";var axc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,axc.messageId)};Y(axc,n);axc.prototype.getIssueRelationshipsList=function(){return ie(this,cp,1,Rd(),Kc)};axc.messageId="b.ListIssueRelationshipsResponse";var zE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,zE.messageId)};Y(zE,n);zE.prototype.getIssueRelationship=function(){return r(this,cp,1,Kc)};zE.prototype.setIssueRelationship=function(a){return t(this,cp,1,a,Kc)};zE.messageId="b.UpdateIssueRelationshipResponse";var AE=function(){this.executor=x(ey)};g=AE.prototype;g.list=function(a,b){return this.executor.get({url:"action/issues/"+a+"/relationships?relationshipType="+$v[b],responseConstructor:axc}).pipe(C(function(c){return c.getIssueRelationshipsList().map(MGa)}))};g.create=function(a,b,c){b=$v[b];c=LGa(c);return this.executor.post({url:"action/issues/"+a+"/relationships?relationshipType="+b,body:c,responseConstructor:xE}).pipe(C(function(d){return MGa(d.getIssueRelationship())}))};
g.update=function(a,b,c){b=$v[b];var d=LGa(c);return this.executor.put({url:"action/issues/"+a+"/relationships/"+c.targetIssueId+"?relationshipType="+b,body:d,responseConstructor:zE}).pipe(C(function(e){return MGa(e.getIssueRelationship())}))};g.delete=function(a,b,c){return this.executor.delete({url:"action/issues/"+a+"/relationships/"+c+"?relationshipType="+$v[b],responseConstructor:null})};
g.batchGet=function(a,b){b=$v[b];a=(new wE).setIt((new Twc).setSourceIssueIdsList(a).setRelationshipType(b).setQuery(this.getQuery(void 0)));return this.executor.post({url:"action/issues/batch_relationships",body:a,responseConstructor:Zwc}).pipe(C(function(c){return ie(c,Ywc,1,Rd(),Kc).map(NGa)}))};
var bxc=function(a,b,c){var d=$v.CHILD;c=c.map(function(e){e=LGa(e);return(new Qwc).setIssueRelationship(e)});b=(new uE).setIt((new Rwc).setIssueId(b).setRelationshipType(d).setSignificanceOverride(c.length>1?4:0).setRequestsList(c));return a.executor.post({url:"action/issues/relationships_batchCreate",body:b,responseConstructor:Xwc}).pipe(C(function(e){return e.getIssueRelationshipsList().map(MGa)}))},cxc=function(a,b,c){var d=$v.CHILD,e=new vE,f=e.setIt;b=(new Swc).setIssueId(b).setRelationshipType(d);
c=op(b,3,c);e=f.call(e,c);return a.executor.post({url:"action/issues/relationships_batchDelete",body:e,responseConstructor:null})};
AE.prototype.getDescendants=function(a){var b=a.issueIds;var c=a.relationshipType;var d=a.includeArchived;var e=a.depthLimit;a=a.prefixSizeLimit;c=$v[c];b=(new yE).setIt(Wwc(Vwc(Uwc(new tE,b).setRelationshipType(c).setQuery(this.getQuery(d)),e),a));return this.executor.post({url:"action/issues/descendants",body:b,responseConstructor:$wc}).pipe(C(function(f){var h=new Map;f=l(sc(f,1,Ywc,Ub,Kc).entries());for(var k=f.next();!k.done;k=f.next()){var q=l(k.value);k=q.next().value;q=q.next().value;h.set(String(k),
NGa(q))}return h}))};AE.prototype.getQuery=function(a){return a?"include_archived:true":"include_archived:false"};AE.\u0275fac=function(a){return new (a||AE)};AE.\u0275prov=Dg({token:AE,factory:AE.\u0275fac,providedIn:"root"});var BE={},dxc=(BE.BUG="BUG",BE.FEATURE_REQUEST="FEATURE_REQUEST",BE.CUSTOMER_ISSUE="CUSTOMER_ISSUE",BE.INTERNAL_CLEANUP="INTERNAL_CLEANUP",BE.PROCESS="PROCESS",BE.VULNERABILITY="VULNERABILITY",BE.PRIVACY_ISSUE="PRIVACY_ISSUE",BE.EPIC="STORY",BE.STORY="TASK",BE.TASK="TASK",BE.PROJECT="TASK",BE.FEATURE="TASK",BE.MILESTONE="TASK",BE.PROGRAM="PROJECT",BE);var CE=function(){XA.call(this,{freshUntil:6E4,ancientAfter:792E5});var a=this;this.issueRelationshipService=x(AE);this.issueFullFridge=x(pE);this.refreshMonitor=x(JD);this.recordType="issueRelationships";this.idForRecord=function(b){return b.issueId};this.isEqual=vd;this.activeMoveOperation$=new $n(new Set);this.defaultQuery={type:"descendants",depth:1};this.assignParentToIssues=cha(function(b,c){return exc(a,b,c)});this.assignParentToOneIssue=function(b,c){return exc(a,String(b),[{issueId:c}])};
this.moveChildrenInAPI=bha(function(b){return a.moveChildrenInAPISequentially(b)});this.moveChildrenInAPISequentially=cha(function(b){var c,d,e,f,h,k,q,u,A,D,H,O,P,S,aa,ia,la,ya,Ia,Pa,gb,ua,Ea,Ha,mb,nb;return v(function(Lb){switch(Lb.nextAddress){case 1:d=TGa(b);if(d.length===0)return Lb.return();e=d.map(function(bc){return bc.issues.map(function(yc){return yc.parentId})}).flat();f=d.map(function(bc){return bc.newParentId});h=oo([].concat(p(e),p(f)));k=l(h);for(q=k.next();!q.done;q=k.next())u=q.value,
a.setIsSaving(u);ei(Lb,2);A=l(d);D=A.next();case 4:if(D.done){Iu(Lb,3);break}H=D.value;O=l(H.newRelations);P=O.next();S={};case 7:if(P.done){D=A.next();Lb.jumpTo(4);break}S.newRelation=P.value;aa=H.issues.find(function(bc){return function(yc){return yc.issueId===bc.newRelation.targetIssueId}}(S)).parentId;return H.newParentId===aa?w(Lb,pi(a.issueRelationshipService.update(H.newParentId,"CHILD",{afterIssueId:S.newRelation.afterIssueId,targetIssueId:S.newRelation.targetIssueId})),8):w(Lb,pi(a.issueRelationshipService.create(H.newParentId,
"CHILD",{afterIssueId:S.newRelation.afterIssueId,targetIssueId:S.newRelation.targetIssueId})).catch(function(bc){var yc,kc;if(!(bc==null?0:(yc=bc.error)==null?0:(kc=yc.details)==null?0:kc.includes("ALREADY_EXISTS")))throw bc;}),12);case 12:return w(Lb,pi(a.issueRelationshipService.delete(aa,"CHILD",S.newRelation.targetIssueId)),8);case 8:S={newRelation:void 0};P=O.next();Lb.jumpTo(7);break;case 2:c=ia=ii(Lb);case 3:la=a.activeMoveOperation$.value;ya=l(b.map(function(bc){return bc.eventTimestamps}).flat());
for(Ia=ya.next();!Ia.done;Ia=ya.next())Pa=Ia.value,la.delete(Pa);a.activeMoveOperation$.next(la);gb=l(h);for(ua=gb.next();!ua.done;ua=gb.next())Ea=ua.value,a.clearIsSaving(Ea);Promise.all(h.map(function(bc){return a.poke(bc)}));Ha=l(d);for(mb=Ha.next();!mb.done;mb=Ha.next())nb=mb.value,c&&nb.done.reject(c),nb.done.resolve();ji(Lb)}})});this.refreshMonitor.getObservable().subscribe(function(){a.invalidate()})};Y(CE,XA);
CE.prototype.fetchOne=function(a){var b=this;return fxc(this,function(){return b.issueRelationshipService.list(a,"CHILD").pipe(C(function(c){return{issueId:a,relatedChildren:c,totalChildCount:c.length}}),cj(function(c){return nn(c)&&c.status===403?li(void 0):mi(function(){return c})}))})};
CE.prototype.fetchAll=function(a){var b=this;switch(a.type){case "descendants":var c,d=[].concat(p((c=a.ids)!=null?c:[]));return d.length===0?li({results:[]}):fxc(this,function(){return b.issueRelationshipService.getDescendants({issueIds:d,relationshipType:"CHILD",includeArchived:!!a.includeArchived,depthLimit:a.depth,prefixSizeLimit:500}).pipe(C(OGa),C(function(e){return{results:e}}))});default:qb(a.type)}};CE.prototype.copy=function(a){return a&&wd(a)};
var fxc=function(a,b){var c=function(){return a.activeMoveOperation$.pipe(Di(function(d){return d.size===0}),sj(function(){return b()}),sj(function(d){return a.activeMoveOperation$.value.size===0?li(d):c()}),hj(1))};return c()},gxc=function(a,b){return a.watch(b).pipe(sj(function(c){return c&&c.totalChildCount===c.relatedChildren.length?li(c):a.watch(b,{trustMemory:!1})}))},hxc=function(a,b,c){return a.watchMany({type:"descendants",ids:new Set([b]),depth:c===void 0?100:c})},ixc=function(a,b,c){return nrc(a,
{type:"descendants",ids:new Set([b]),depth:c===void 0?100:c})};
CE.prototype.unlinkFromParent=function(a,b,c){c=c===void 0?!1:c;var d=this,e;return v(function(f){switch(f.nextAddress){case 1:d.issueFullFridge.manualUpdate(b,function(h){--h.childIssueCount});d.issueFullFridge.manualUpdate(a,function(h){h.parentIssueIds=h.parentIssueIds.filter(function(k){return k!==b})});d.manualUpdate(b,function(h){var k=h.relatedChildren;h.relatedChildren=SGa(k,a);h.totalChildCount-=k.length-h.relatedChildren.length});if(c)return f.return();ei(f,2);return w(f,pi(d.issueRelationshipService.delete(b,
"CHILD",a)),4);case 4:Iu(f,0);break;case 2:return e=ii(f),w(f,Promise.all([d.poke(b),d.issueFullFridge.poke(b),d.issueFullFridge.poke(a)]),5);case 5:throw e;}})};
var exc=function(a,b,c){var d,e,f,h,k,q,u,A,D;return v(function(H){switch(H.nextAddress){case 1:d=[];e=[];f=[];if(c.length===0)return H.return({added:d,notAdded:e});h=jxc(a,b);k=c.map(function(O,P){var S=O.afterIssueId==="-1"?h:O.afterIssueId;return{targetIssueId:O.issueId,afterIssueId:P?c[P-1].issueId:S}});kxc(a,b,k);q=l(k);u=q.next();case 2:if(u.done){H.jumpTo(4);break}A=u.value;ei(H,5);return w(H,pi(a.issueRelationshipService.create(b,"CHILD",{targetIssueId:A.targetIssueId,afterIssueId:A.afterIssueId})),
7);case 7:d.push(A.targetIssueId);Iu(H,3);break;case 5:D=ii(H);if(!nn(D))throw D;f.push(D);e.push(A.targetIssueId);case 3:u=q.next();H.jumpTo(2);break;case 4:return Promise.all([a.poke(b),a.issueFullFridge.poke(b)]),H.return(Object.assign({},{added:d,notAdded:e},f.length?{errors:f}:{}))}})},kxc=function(a,b,c){var d=0;a.manualUpdate(b,function(e){var f=RGa(e.relatedChildren,c);d=f.length-e.relatedChildren.length;e.relatedChildren=f;e.totalChildCount+=d},{evenWhenInFlight:!0});a.issueFullFridge.manualUpdate(b,
function(e){e.childIssueCount+=d},{evenWhenInFlight:!0})},lxc=function(a,b,c){var d,e,f,h,k,q,u,A,D,H,O,P;return v(function(S){if(S.nextAddress==1)return d=[],e=[],f=[],c.length===0?S.return({added:d,notAdded:e}):w(S,Promise.allSettled(c.map(function(aa){return pi(a.issueRelationshipService.create(aa,"CHILD",{targetIssueId:b,afterIssueId:jxc(a,aa)}))})),2);h=S.yieldResult;k=l(h.entries());for(q=k.next();!q.done;q=k.next())u=q.value,A=l(u),D=A.next().value,H=A.next().value,O=D,P=H,P.status==="fulfilled"&&
d.push(c[O]),P.status==="rejected"&&(e.push(c[O]),f.push(P.reason));Promise.all(c.map(function(aa){return a.poke(aa)}));return S.return({added:d,notAdded:e,errors:f})})},mxc=function(a,b,c){var d=b.parentId,e=Date.now();a.activeMoveOperation$.next(a.activeMoveOperation$.value.add(e));for(var f=l(c),h=f.next(),k={};!h.done;k={issue$jscomp$52:void 0},h=f.next())k.issue$jscomp$52=h.value,a.manualUpdate(k.issue$jscomp$52.parentId,function(ia){return function(la){la.relatedChildren=SGa(la.relatedChildren,
ia.issue$jscomp$52.issueId);--la.totalChildCount}}(k));var q=void 0,u;if((u=b.position)==null?0:u.issueId){var A;if(((A=b.position)==null?void 0:A.position)==="after")q=b.position.issueId;else{var D;if(((D=b.position)==null?void 0:D.position)==="before"){var H,O;f=(O=(H=a.memory.getData(d))==null?void 0:H.relatedChildren)!=null?O:[];H=l(f.entries());for(O=H.next();!O.done;O=H.next())if(h=l(O.value),O=h.next().value,h=h.next().value,h.targetIssueId===b.position.issueId){b=void 0;q=(b=f[O-1])==null?
void 0:b.targetIssueId;break}}}}var P=c.map(function(ia,la){return{targetIssueId:ia.issueId,afterIssueId:la?c[la-1].issueId:q}});orc(a,d)!==void 0?a.manualUpdate(d,function(ia){ia.relatedChildren=RGa(ia.relatedChildren,P);ia.totalChildCount+=P.length},{evenWhenInFlight:!0}):a.announce({issueId:d,relatedChildren:RGa([],P),totalChildCount:P.length});b=new aha;var S,aa;a.moveChildrenInAPI({newParentId:d,newRelations:P,issues:c,eventTimestamps:[e],newParentChildrenSnapshot:(aa=(S=a.memory.getData(d))==
null?void 0:S.relatedChildren)!=null?aa:[],done:b});return b.promise},jxc=function(a,b){var c;a=(c=a.memory.getData(b))==null?void 0:c.relatedChildren;var d;return a==null?void 0:(d=a[(a==null?NaN:a.length)-1])==null?void 0:d.targetIssueId};CE.\u0275fac=function(a){return new (a||CE)};CE.\u0275prov=Dg({token:CE,factory:CE.\u0275fac,providedIn:"root"});var nxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(nxc,n);var DE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(DE,n);DE.prototype.getTrackerId=function(){return Re(this,2)};DE.prototype.getTrackerId_asString=function(){return Xe(this,2)};DE.prototype.setTrackerId=function(a){Ze(this,2,a)};DE.prototype.setFilterSignalsList=function(a){return np(this,3,a)};var ep=new Set("READY_TO_SUBMIT NEEDS_ATTENTION THREAD_MENTIONS_ME CHANGELIST_MANUAL_SIGNAL CHANGELIST_SNOOZE_EXPIRED TAGGED_IN_COMMENT REQUIRES_APPROVAL DRIVE_MANUAL_SIGNAL DRIVE_SNOOZE_EXPIRED GERRIT_CHANGE_NEEDS_ATTENTION GERRIT_CHANGE_READY_TO_SUBMIT GERRIT_MANUAL_SIGNAL GERRIT_SNOOZE_EXPIRED DUE_SOON DUE_DATE_EXPIRED GOOGLE_TASKS_MANUAL_SIGNAL GOOGLE_TASKS_SNOOZE_EXPIRED ISSUE_SIGNAL_UNSPECIFIED NEAR_SLO COMMENT_MENTIONS_ME MENTIONED_NEEDS_RESPONSE BLOCKERS_CLOSED NEWLY_BLOCKING NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_ASSIGNED_TO_ME ISSUE_MANUALLY_SIGNALED ISSUE_SNOOZE_EXPIRED CONFIGURABLE_ALERT IRM_MANUAL_SIGNAL IRM_SNOOZE_EXPIRED IRM_SEND_POSTMORTEM_FOR_REVIEW IRM_REVIEW_POSTMORTEM".split(" "));var oxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(oxc,n);g=oxc.prototype;g.getIterationId_asString=function(){return Xe(this,1)};g.getWorkspaceId=function(){return Re(this,2)};g.getWorkspaceId_asString=function(){return Xe(this,2)};g.getType=function(){return Zd(this,3)};g.setType=function(a){return Xd(this,3,a)};g.getName=function(){return Oc(this,4)};g.setName=function(a){return Vd(this,4,a)};g.getHotlistId=function(){return Re(this,7)};
g.setHotlistId=function(a){return ll(this,7,a)};g.getStatus=function(){return Zd(this,8)};g.setStatus=function(a){return Xd(this,8,a)};g.getTagsList=function(a){return $e(this,9,Rd(a))};g.getTags=function(a){return Pec(this,9,a)};g.setVelocity=function(a){return Vl(this,11,a)};g.getStartTime=function(){return r(this,ue,12)};g.setStartTime=function(a){t(this,ue,12,a)};g.getEndTime=function(){return r(this,ue,13)};g.setEndTime=function(a){t(this,ue,13,a)};g.getEtag=function(){return Oc(this,18)};
g.setEtag=function(a){return Vd(this,18,a)};var EE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(EE,n);EE.prototype.setContextsList=function(a){return np(this,1,a)};EE.prototype.addContexts=function(a){return wc(this,1,xb,a,void 0,zb)};var pxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(pxc,n);var qxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(qxc,n);var rxc=function(a){var b=new qxc;return Ol(b,1,a)};var FE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(FE,n);FE.prototype.getTitle=function(){return Oc(this,2)};FE.prototype.setTitle=function(a){return Vd(this,2,a)};var sxc=function(a,b){return Vd(a,3,b)},txc=function(a,b){return ll(a,4,b)},uxc=function(a,b){return Vd(a,5,b)};FE.prototype.getClientId=function(){return Pd(this,6)};FE.prototype.setClientId=function(a){return se(this,6,a)};FE.prototype.getWorkspaceId=function(){return Oc(this,7)};var vxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,vxc.messageId)};Y(vxc,n);vxc.prototype.setTaskIdsList=function(a){return Wd(this,1,a,Kc)};vxc.messageId="mc.BatchUpdateTasksDismissStateRequest";var wxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,wxc.messageId)};Y(wxc,n);wxc.prototype.setTaskIdsList=function(a){return Wd(this,1,a,Kc)};wxc.messageId="mc.BatchUpdateTasksManualSignalStateRequest";var GE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,GE.messageId)};Y(GE,n);GE.prototype.setTaskIdsList=function(a){return Wd(this,1,a,Kc)};GE.prototype.setTaskStatus=function(a){return Xd(this,2,a,Kc)};GE.messageId="mc.BatchUpdateTaskSnoozeStateRequest";var xxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(xxc,n);xxc.prototype.setFilterSignalsList=function(a){return np(this,1,a)};var yxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(yxc,n);yxc.prototype.setFilterSignalsList=function(a){return np(this,1,a)};var zxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(zxc,n);zxc.prototype.setFilterSignalsList=function(a){return np(this,1,a)};var Axc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Axc,n);Axc.prototype.getCommentId=function(){return Oc(this,2)};Axc.prototype.setCommentId=function(a){return Vd(this,2,a)};var Bxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Bxc,n);Bxc.prototype.setTaskResourceTypesList=function(a){return np(this,1,a)};Bxc.prototype.setMaxTaskAgeDays=function(a){return se(this,2,a)};Bxc.prototype.setIssueFilters=function(a){return t(this,DE,3,a)};var Cxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Cxc,n);Cxc.prototype.setFilterSignalsList=function(a){return np(this,1,a)};var Dxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Dxc,n);Dxc.prototype.setFilterSignalsList=function(a){return np(this,1,a)};var Exc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Exc,n);Exc.prototype.setTaskResourceTypesList=function(a){return np(this,1,a)};Exc.prototype.setMaxTaskAgeDays=function(a){return se(this,2,a)};Exc.prototype.setIssueFilters=function(a){return t(this,DE,4,a)};var HE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(HE,n);HE.prototype.getId=function(){return Oc(this,1)};HE.prototype.setId=function(a){return Vd(this,1,a)};HE.prototype.getTitle=function(){return Oc(this,2)};HE.prototype.setTitle=function(a){return Vd(this,2,a)};var Fxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Fxc,n);var IE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,IE.messageId)};Y(IE,n);IE.prototype.getResponse=function(){return r(this,Fxc,1,Kc)};IE.prototype.getMutableResponse=function(){return Pu(this,Fxc,1,Kc)};IE.messageId="b.GetGoogleTasksTaskListsResponse";var JE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(JE,n);JE.prototype.getCommentId=function(){return Oc(this,1)};JE.prototype.setCommentId=function(a){return Vd(this,1,a)};JE.prototype.getContent=function(){return Oc(this,3)};JE.prototype.setContent=function(a){return Vd(this,3,a)};var KE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,KE.messageId)};Y(KE,n);KE.prototype.getResponse=function(){return r(this,JE,1,Kc)};KE.prototype.getMutableResponse=function(){return Pu(this,JE,1,Kc)};KE.messageId="b.LatestDriveMentionResponse";var LE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(LE,n);LE.prototype.getCreatedTimestamp=function(){return Re(this,1)};LE.prototype.setOwnedByMe=function(a){return Dl(this,3,a)};LE.prototype.getMimeType=function(){return Oc(this,15)};LE.prototype.setMimeType=function(a){return Vd(this,15,a)};var Gxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Gxc,n);g=Gxc.prototype;g.setResourceId=function(a){Vd(this,17,a)};g.getTitle=function(){return Oc(this,2)};g.setTitle=function(a){return Vd(this,2,a)};g.getLastModifiedTimestamp=function(){return Re(this,3)};g.getIconName=function(){return Oc(this,10)};g.getExternalLink=function(){return Oc(this,16)};g.getIsDeleted=function(){return De(this,19)};g.setIsDeleted=function(a){Dl(this,19,a)};
g.getDriveResource=function(){return Zk(this,LE,5,Hxc)};g.hasDriveResource=function(){return Yk(this,LE,5,Hxc)};var Hxc=[5,6,7,8,9,18,22,23,24];var ME=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ME,n);ME.prototype.getName=function(){return Oc(this,1)};ME.prototype.setName=function(a){return Vd(this,1,a)};ME.prototype.getContent=function(){return Oc(this,2)};ME.prototype.setContent=function(a){return Vd(this,2,a)};var Ixc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ixc,n);g=Ixc.prototype;g.getTaskId=function(){return Oc(this,1)};g.setTaskStatus=function(a){return Xd(this,3,a)};g.getResource=function(){return r(this,Gxc,6)};g.setResource=function(a){return t(this,Gxc,6,a)};g.getNote=function(){return r(this,ME,22)};g.getCreatedTimestamp=function(){return Re(this,7)};var Jxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Jxc,n);Jxc.prototype.getTask=function(){return r(this,Ixc,1)};Jxc.prototype.hasTask=function(){return Me(this,Ixc,1)};var NE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,NE.messageId)};Y(NE,n);NE.prototype.getResponse=function(){return r(this,Jxc,1,Kc)};NE.prototype.getMutableResponse=function(){return Pu(this,Jxc,1,Kc)};NE.messageId="b.TasksCreateGoogleTasksResponse";var Kxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Kxc,n);var lHa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(lHa,n);g=lHa.prototype;g.getPriority=function(){return Zd(this,1)};g.setPriority=function(a){return Xd(this,1,a)};g.getAccessLevel=function(){return Zd(this,2)};g.setAccessLevel=function(a){return Xd(this,2,a)};g.getHotlistIdsList_asLegacyNumberOrString=function(a){return kIa(this,3,Rd(a))};g.getHotlistIdsList_asString=function(){return ge(this,3)};g.setHotlistIdsList=function(a){return op(this,3,a)};
g.addHotlistIds=function(a,b){return bv(this,3,a,b)};g.addAllHotlistIds=function(a){cv(this,3,a)};g.removeHotlistIds=function(a){return Sec(this,3,a)};var iHa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(iHa,n);iHa.prototype.getCategory=function(){return Zd(this,1)};iHa.prototype.setCategory=function(a){return Xd(this,1,a)};var fHa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(fHa,n);g=fHa.prototype;g.getTaskId=function(){return Oc(this,1)};g.getTitle=function(){return Oc(this,3)};g.setTitle=function(a){return Vd(this,3,a)};g.getCreatedTimestamp=function(){return r(this,ue,4)};g.getLastModifiedTimestamp=function(){return r(this,ue,5)};g.getExternalLink=function(){return Oc(this,6)};g.getDriveResource=function(){return Zk(this,Kxc,8,mHa)};
g.hasDriveResource=function(){return Yk(this,Kxc,8,mHa)};var mHa=[8,9,10,11,12,16,17];var Lxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Lxc,n);var Mxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Mxc.messageId)};Y(Mxc,n);Mxc.prototype.getResponsesList=function(){return ie(this,Lxc,1,Rd(),Kc)};Mxc.messageId="b.TasksMyTasksResponse";var Nxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Nxc,n);Nxc.prototype.getCommentNumber=function(){return Wu(this,1)};Nxc.prototype.setCommentNumber=function(a){return Rec(this,1,a)};var yHa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(yHa,n);var wHa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(wHa,n);g=wHa.prototype;g.getDataCase=function(){return al(this,zHa)};g.clearData=function(){return Jec(this,zHa)};g.getSignal=function(){return Zd(this,1)};g.setSignal=function(a){return Xd(this,1,a)};g.getCommentNumbers=function(){return Zk(this,Nxc,2,zHa)};var zHa=[2,3];var tHa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(tHa,n);tHa.prototype.getComeBackTimestamp=function(){return r(this,ue,1)};var vHa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(vHa,n);vHa.prototype.getComeBackTimestamp=function(){return r(this,ue,2)};var sHa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(sHa,n);sHa.prototype.hasFutureAvailability=function(){return Yk(this,vHa,1,uHa)};var uHa=[1,2];var gp=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(gp,n);gp.prototype.getDataCase=function(){return al(this,Oxc)};gp.prototype.clearData=function(){return Jec(this,Oxc)};gp.prototype.getSignal=function(){return Zd(this,1)};gp.prototype.setSignal=function(a){return Xd(this,1,a)};var Oxc=[2,3];var oHa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(oHa,n);g=oHa.prototype;g.getDataCase=function(){return al(this,qHa)};g.clearData=function(){return Jec(this,qHa)};g.getSignal=function(){return Zd(this,1)};g.setSignal=function(a){return Xd(this,1,a)};g.getCommentId=function(){return cl(this,2,qHa)};g.setCommentId=function(a){return fl(this,2,qHa,a)};var qHa=[2];var AHa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(AHa,n);AHa.prototype.getSignal=function(){return Zd(this,1)};AHa.prototype.setSignal=function(a){return Xd(this,1,a)};var CHa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(CHa,n);CHa.prototype.getSignal=function(){return Zd(this,1)};CHa.prototype.setSignal=function(a){return Xd(this,1,a)};var DHa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(DHa,n);DHa.prototype.getSignal=function(){return Zd(this,1)};DHa.prototype.setSignal=function(a){return Xd(this,1,a)};var dHa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(dHa,n);g=dHa.prototype;g.getTimestamp=function(){return r(this,ue,1)};g.setTimestamp=function(a){return t(this,ue,1,a)};g.hasTimestamp=function(){return Me(this,ue,1)};g.getUrl=function(){return r(this,rv,2)};g.setUrl=function(a){return t(this,rv,2,a)};g.hasUrl=function(){return Me(this,rv,2)};var dp=[3,4,5,6,7,9,10];var $Ga=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y($Ga,n);$Ga.prototype.getTask=function(){return r(this,fHa,1)};$Ga.prototype.hasTask=function(){return Me(this,fHa,1)};var Pxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Pxc,n);var Qxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Qxc.messageId)};Y(Qxc,n);Qxc.prototype.getResponsesList=function(){return ie(this,Pxc,1,Rd(),Kc)};Qxc.messageId="b.TasksNeedsAttentionResponse";var Rxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Rxc,n);Rxc.prototype.getRationale=function(){return Oc(this,2)};Rxc.prototype.setRationale=function(a){lf(this,2,a)};var OE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(OE,n);OE.prototype.getValue=function(){return Pd(this,1)};OE.prototype.setValue=function(a){return jf(this,1,a)};OE.prototype.hasValue=function(){return Fe(this,1)};var PE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(PE,n);PE.prototype.getUrl=function(){return r(this,rv,2)};PE.prototype.setUrl=function(a){return t(this,rv,2,a)};PE.prototype.hasUrl=function(){return Me(this,rv,2)};var WGa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(WGa,n);g=WGa.prototype;g.getId=function(){return Oc(this,1)};g.setId=function(a){return lf(this,1,a)};g.getTitle=function(){return Oc(this,2)};g.setTitle=function(a){return lf(this,2,a)};g.getUrl=function(){return r(this,rv,3)};g.setUrl=function(a){return t(this,rv,3,a)};g.hasUrl=function(){return Me(this,rv,3)};g.getDescription=function(){return Oc(this,4)};g.setDescription=function(a){return lf(this,4,a)};
g.hasDescription=function(){return Ge(this,4)};g.getPriority=function(){return r(this,nxc,5)};g.setPriority=function(a){return t(this,nxc,5,a)};g.getScore=function(){return r(this,OE,6)};g.setScore=function(a){return t(this,OE,6,a)};g.getConfidence=function(){return r(this,Rxc,10)};g.setConfidence=function(a){return t(this,Rxc,10,a)};var Sxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Sxc,n);g=Sxc.prototype;g.getId=function(){return Oc(this,1)};g.setId=function(a){return lf(this,1,a)};g.getTitle=function(){return Oc(this,2)};g.setTitle=function(a){return lf(this,2,a)};g.getUrl=function(){return r(this,rv,3)};g.setUrl=function(a){return t(this,rv,3,a)};g.hasUrl=function(){return Me(this,rv,3)};g.getDescription=function(){return Oc(this,4)};g.setDescription=function(a){return lf(this,4,a)};
g.hasDescription=function(){return Ge(this,4)};g.getPriority=function(){return r(this,nxc,5)};g.setPriority=function(a){return t(this,nxc,5,a)};g.getScore=function(){return r(this,OE,6)};g.setScore=function(a){return t(this,OE,6,a)};var YGa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(YGa,n);g=YGa.prototype;g.getUri=function(){return r(this,uv,1)};g.setUri=function(a){return t(this,uv,1,a)};g.getUrl=function(){return r(this,rv,2)};g.setUrl=function(a){return t(this,rv,2,a)};g.hasUrl=function(){return Me(this,rv,2)};g.getLabel=function(){return Oc(this,3)};g.setLabel=function(a){return lf(this,3,a)};g.hasLabel=function(){return Ge(this,3)};var UGa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(UGa,n);g=UGa.prototype;g.getUri=function(){return r(this,uv,2)};g.setUri=function(a){return t(this,uv,2,a)};g.getObjective=function(){return r(this,Sxc,1)};g.setObjective=function(a){return t(this,Sxc,1,a)};g.getTeam=function(){return r(this,PE,3)};g.setTeam=function(a){t(this,PE,3,a)};g.hasTeam=function(){return Me(this,PE,3)};var Txc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Txc,n);var QE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,QE.messageId)};Y(QE,n);QE.prototype.getResponse=function(){return r(this,Txc,1,Kc)};QE.prototype.getMutableResponse=function(){return Pu(this,Txc,1,Kc)};QE.messageId="b.TeamObjectivesResponse";var VHa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(VHa,n);var Uxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Uxc,n);Uxc.prototype.getIssue=function(){return r(this,lm,1)};Uxc.prototype.setIssue=function(a){return t(this,lm,1,a)};var Vxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Vxc,n);Vxc.prototype.getIssue=function(){return Zk(this,Uxc,1,Wxc)};Vxc.prototype.setIssue=function(a){return Bl(this,1,Wxc,a)};var Wxc=[1];var hp=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(hp,n);hp.prototype.getId=function(){return Oc(this,1)};hp.prototype.setId=function(a){return Vd(this,1,a)};hp.prototype.getPayloadOrUndefined=function(){return Lec(this,Vxc,9)};var RE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(RE,n);RE.prototype.getWorkspaceId=function(){return Re(this,1)};RE.prototype.getWorkspaceId_asString=function(){return Xe(this,1)};RE.prototype.getType=function(){return Zd(this,2)};RE.prototype.setType=function(a){return Xd(this,2,a)};var Xxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Xxc,n);Xxc.prototype.getTypedWorkspaceIdsList=function(){return ie(this,RE,1,Rd())};Xxc.prototype.getIterationIdsList_asString=function(){return ge(this,2)};var Yxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Yxc,n);Yxc.prototype.getEmail=function(){return Oc(this,1)};Yxc.prototype.setEmail=function(a){return Vd(this,1,a)};var jp=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(jp,n);jp.prototype.getId=function(){return Oc(this,1)};jp.prototype.setId=function(a){return Vd(this,1,a)};jp.prototype.getVersion=function(){return Oc(this,2)};jp.prototype.setVersion=function(a){return Vd(this,2,a)};var Zxc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Zxc,n);g=Zxc.prototype;g.getWorkspaceId=function(){return Re(this,1)};g.getWorkspaceId_asString=function(){return Xe(this,1)};g.getName=function(){return Oc(this,2)};g.setName=function(a){return Vd(this,2,a)};g.getTimeZone=function(){return r(this,jp,8)};g.setTimeZone=function(a){return t(this,jp,8,a)};g.hasTimeZone=function(){return Me(this,jp,8)};g.getMembersList=function(){return ie(this,Yxc,9,Rd())};
g.setMembersList=function(a){return Ol(this,9,a)};g.getUpdateTime=function(){return r(this,ue,12)};g.setUpdateTime=function(a){t(this,ue,12,a)};g.hasUpdateTime=function(){return Me(this,ue,12)};g.getBookmarkGroupId_asString=function(){return Xe(this,14)};g.setBookmarkGroupId=function(a){return ll(this,14,a)};g.getTeamId=function(){return Oc(this,20)};g.setTeamId=function(a){return Vd(this,20,a)};var $xc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y($xc,n);$xc.prototype.getWorkspacesMap=function(){return sc(this,1,Zxc,Ub)};$xc.prototype.getIterationsMap=function(){return sc(this,2,oxc,Ub)};var UHa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(UHa,n);g=UHa.prototype;g.getContextsMap=function(){return sc(this,1,Xxc,Vb)};g.getData=function(){return r(this,$xc,2)};g.setData=function(a){return t(this,$xc,2,a)};g.clearData=function(){return Ou(this,2)};g.getFilter=function(){return r(this,EE,3)};g.setFilter=function(a){return t(this,EE,3,a)};var ayc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ayc,n);var SE=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,SE.messageId)};Y(SE,n);SE.prototype.getResponse=function(){return r(this,ayc,1,Kc)};SE.prototype.getMutableResponse=function(){return Pu(this,ayc,1,Kc)};SE.messageId="b.WorkItemsResponse";var byc=[1,2],TE=function(){this.executor=x(ey);this.activeSession=x(Ks)},cyc=function(a,b,c){c=c===void 0?!0:c;b=(new vxc).setTaskIdsList(b);c=Dl(b,2,c,Kc);return a.executor.post({url:"action/tasks/dismiss",body:c,responseConstructor:null})},dyc=function(a,b,c){c=c===void 0?!0:c;b=(new wxc).setTaskIdsList(b);c=Dl(b,2,c,Kc);return a.executor.post({url:"action/tasks/manual_signal",body:c,responseConstructor:null})},eyc=function(a,b,c){b=(new GE).setTaskIdsList(b);if(c!==void 0){var d=b.setTaskStatus(2);
c=ve(c);t(d,ue,3,c,Kc)}else b.setTaskStatus(0);return a.executor.post({url:"action/tasks/snooze",body:b,responseConstructor:null})},fyc=function(a,b,c,d,e){b=(new Exc).setTaskResourceTypesList(b.map(EHa));c=Xd(b,3,FHa(d)).setMaxTaskAgeDays(c);b=new DE;var f;d=(f=a.activeSession.getTracker())==null?void 0:f.trackerId;b.setTrackerId(d);c.setIssueFilters(b);b.setFilterSignalsList(e.buganizerSignals.map(IHa));var h=(new yxc).setFilterSignalsList(e.driveSignals.map(KHa)),k=(new xxc).setFilterSignalsList(e.changelistSignals.map(MHa));
d=(new zxc).setFilterSignalsList(e.gerritSignals.map(OHa));f=(new Cxc).setFilterSignalsList(e.googleTasksSignals.map(PHa));b=c.setIssueFilters(b);b=t(b,yxc,5,h);b=t(b,xxc,6,k);d=t(b,zxc,7,d);t(d,Cxc,8,f);Cx(a.activeSession,"enableIrmTasks")&&(e=(new Dxc).setFilterSignalsList(e.irmSignals.map(QHa)),t(c,Dxc,9,e));return a.executor.post({url:"action/tasks/needs_attention",responseConstructor:Qxc,body:c}).pipe(C(bHa))},gyc=function(a,b,c,d){var e=new DE;d=Xd(e,1,GHa(d));var f;e=(f=a.activeSession.getTracker())==
null?void 0:f.trackerId;d.setTrackerId(e);b=(new Bxc).setTaskResourceTypesList(b.map(EHa)).setMaxTaskAgeDays(c).setIssueFilters(d);return a.executor.post({url:"action/tasks/my_tasks",responseConstructor:Mxc,body:b}).pipe(C(gHa))},hyc=function(a,b){if(!b.length)return li([]);var c=new pxc;b=Wd(c,1,b);c=(new EE).setContextsList(byc);b=t(b,EE,2,c);return a.executor.post({url:"action/work_items/batch_get_work_items",responseConstructor:SE,body:b}).pipe(C(WHa))},iyc=function(a,b){if(!b.length)return li([]);
b=b.map(function(c){return(new uv).setResourcePath(c)});b=rxc(b);return a.executor.post({url:"action/okrs/batch_get_okrs",body:b,responseConstructor:QE}).pipe(C(ZGa))};
TE.prototype.saveGTask=function(a){a=txc(uxc(sxc((new FE).setTitle(a.title),a.details),a.taskListId),a.dueDateMs);return this.executor.post({url:"action/tasks/create_gtask",body:a,responseConstructor:NE}).pipe(C(function(b){var c,d;b=(c=b.getResponse())==null?void 0:(d=c.getTask())==null?void 0:d.getTaskId();if(!b)throw Error("Oc");return b}))};
var jyc=function(a){return a.executor.get({url:"action/tasks/get_gtask_task_lists",responseConstructor:IE}).pipe(C(function(b){var c,d;return((d=(c=b.getResponse())==null?void 0:ie(c,HE,1,Rd()))!=null?d:[]).map(function(e){return{id:e.getId(),title:e.getTitle()}})}))};TE.\u0275fac=function(a){return new (a||TE)};TE.\u0275prov=Dg({token:TE,factory:TE.\u0275fac,providedIn:"root"});var kyc={sources:["CHANGELIST","DRIVE","ISSUE"],maxTaskAgeDays:30,issueFilter:"ISSUE_TYPE_GROUPS_UNSPECIFIED"},UE=function(){XA.call(this);this.api=x(TE);this.recordType="myTasks";this.idForRecord=function(a){return a.taskId};this.defaultQuery=kyc};Y(UE,XA);UE.prototype.fetchAll=function(a){return a.sources.length===0?li({results:[]}):gyc(this.api,a.sources,a.maxTaskAgeDays,a.issueFilter).pipe(C(function(b){b=b===void 0?[]:b;return{results:b}}))};UE.\u0275fac=function(a){return new (a||UE)};
UE.\u0275prov=Dg({token:UE,factory:UE.\u0275fac,providedIn:"root"});var $$a=["assigned-to-me","recent-stuff-i-follow"],lyc=["BUGANIZER","CRITIQUE","DRIVE"],myc=["BUGANIZER"],nyc=["NON_WTDM","WTDM","CRITIQUE","DRIVE"],oyc={BUGANIZER:{displayName:"Buganizer",externalDisplayName:"IssueTracker",filterType:"BUGANIZER",tooltipText:"Buganizer issues of all types"},NON_WTDM:{displayName:"Bugs",filterType:"NON_WTDM",tooltipText:"Issue types including bug, feature request, customer issue, internal cleanup, process, vulnerability, and privacy issue"},WTDM:{displayName:"Work tracking",
filterType:"WTDM",tooltipText:"Issue types including project, milestone, feature, epic, story, and task"},CRITIQUE:{displayName:"Critique",filterType:"CRITIQUE",tooltipText:"CLs from Critique"},DRIVE:{displayName:"Drive",filterType:"DRIVE",tooltipText:"Drive files including Google Docs, Sheets, Slides"},ARIANE:{displayName:"Launch",filterType:"ARIANE",tooltipText:"Launches and related action items"},GERRIT:{displayName:"Gerrit",filterType:"GERRIT",tooltipText:"Gerrit changes"},GOOGLE_TASKS:{displayName:"Google Tasks",
filterType:"GOOGLE_TASKS",tooltipText:"Google Tasks"},IRM:{displayName:"IRM",filterType:"IRM",tooltipText:"Incidents managed through IRM"}},pyc={buganizerSignals:"NEAR_SLO COMMENT_MENTIONS_ME MENTIONED_NEEDS_RESPONSE BLOCKERS_CLOSED NEWLY_BLOCKING NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_ASSIGNED_TO_ME ISSUE_MANUALLY_SIGNALED ISSUE_SNOOZE_EXPIRED CONFIGURABLE_ALERT".split(" "),driveSignals:["TAGGED_IN_COMMENT","REQUIRES_APPROVAL","DRIVE_MANUAL_SIGNAL","DRIVE_SNOOZE_EXPIRED"],changelistSignals:["THREAD_MENTIONS_ME",
"NEEDS_ATTENTION","READY_TO_SUBMIT","CHANGELIST_MANUAL_SIGNAL","CHANGELIST_SNOOZE_EXPIRED"],gerritSignals:["GERRIT_CHANGE_NEEDS_ATTENTION","GERRIT_CHANGE_READY_TO_SUBMIT","GERRIT_MANUAL_SIGNAL","GERRIT_SNOOZE_EXPIRED"],googleTasksSignals:["DUE_SOON","DUE_DATE_EXPIRED","GOOGLE_TASKS_MANUAL_SIGNAL","GOOGLE_TASKS_SNOOZE_EXPIRED"],irmSignals:["IRM_SEND_POSTMORTEM_FOR_REVIEW","IRM_REVIEW_POSTMORTEM","IRM_MANUAL_SIGNAL","IRM_SNOOZE_EXPIRED"]},qyc={buganizerSignals:"COMMENT_MENTIONS_ME MENTIONED_NEEDS_RESPONSE BLOCKERS_CLOSED NEWLY_BLOCKING NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_ASSIGNED_TO_ME ISSUE_MANUALLY_SIGNALED ISSUE_SNOOZE_EXPIRED CONFIGURABLE_ALERT".split(" "),
driveSignals:[],changelistSignals:[],gerritSignals:[],googleTasksSignals:[],irmSignals:[]},ryc;ryc={filter:"((assignee:me OR reporter:me OR modifier:me OR commenter:me OR collaborator:me) OR star:true) (parentid:any OR descendantcount>0) modified:90d",pageSize:250,sort:"modified_time:desc"};var syc={sources:["CHANGELIST","DRIVE","ISSUE"],signalFilter:0,maxTaskAgeDays:30,filterSignals:pyc},VE=function(){XA.call(this);this.api=x(TE);this.recordType="needsAttentionTask";this.idForRecord=function(a){return a.task.taskId};this.defaultQuery=syc};Y(VE,XA);VE.prototype.fetchAll=function(a){return a.sources.length===0?li({results:[]}):fyc(this.api,a.sources,a.maxTaskAgeDays,a.signalFilter,a.filterSignals).pipe(C(function(b){b=b===void 0?[]:b;return{results:b}}))};
VE.\u0275fac=function(a){return new (a||VE)};VE.\u0275prov=Dg({token:VE,factory:VE.\u0275fac,providedIn:"root"});var WE=function(){YA.call(this);this.userAccess=x(dD);this.recordType="permissions";this.idForRecord=function(a){return a.id}};Y(WE,YA);WE.prototype.fetchOne=function(a){return this.fetchSet([a]).pipe(C(function(b){return l(b).next().value}))};WE.prototype.fetchSet=function(a){var b=this;return si(a.map(function(c){return wi(function(){return Huc(b.userAccess,c).then(function(d){return Object.assign({},d,{id:c})})})}))};WE.\u0275fac=function(a){return new (a||WE)};
WE.\u0275prov=Dg({token:WE,factory:WE.\u0275fac,providedIn:"root"});var XHa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(XHa,n);var tyc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,tyc.messageId)};Y(tyc,n);tyc.messageId="b.PrincipalTypeInfoBatchResponse";var YE=function(){this.principalResources=x(XE);this.bulkApiAdapter=x(aD);this.principalTypeGetter=this.bulkApiAdapter.adapt(uyc(this,!1));this.principalTypeWithDetailGetter=this.bulkApiAdapter.adapt(uyc(this,!0))},uyc=function(a,b){return function(c){return vyc(a.principalResources,c,b).then(function(d){return aIa(c,d)})}};YE.prototype.get=function(a){return ZE(this,a,!1)};
var ZE=function(a,b,c){return(c?a.principalTypeWithDetailGetter.get(b):a.principalTypeGetter.get(b)).then(function(d){return d!=null?d:bIa()})};YE.\u0275fac=function(a){return new (a||YE)};YE.\u0275prov=Dg({token:YE,factory:YE.\u0275fac,providedIn:"root"});
var XE=function(){this.executor=x(fy)},vyc=function(a,b,c){if(b.length===0)return Promise.resolve({});var d={};d.email=oo(b);c&&(d.includeDetailedUserType="true");return a.executor.get({url:"action/principal_types",options:{params:d},responseConstructor:tyc}).then($Ha).then(function(e){for(var f={},h=l(b),k=h.next();!k.done;k=h.next()){k=k.value;var q=void 0;f[k]=(q=e[k])!=null?q:bIa()}return f})};XE.\u0275fac=function(a){return new (a||XE)};XE.\u0275prov=Dg({token:XE,factory:XE.\u0275fac,providedIn:"root"});var $E=function(){YA.call(this,{freshUntil:36E5,ancientAfter:864E5});this.principalTypesApi=x(YE);this.recordType="principalTypes";this.idForRecord=function(a){return a.email}};Y($E,YA);$E.prototype.fetchOne=function(a){var b=this;return wi(function(){return b.principalTypesApi.get(a)}).pipe(C(function(c){return Object.assign({},{email:a},c)}),cj(function(){return li(void 0)}))};$E.prototype.fetchSet=function(a){var b=this;return si(a.map(function(c){return b.fetchOne(c)})).pipe(C(function(c){return c.filter(fe)}))};
$E.\u0275fac=function(a){return new (a||$E)};$E.\u0275prov=Dg({token:$E,factory:$E.\u0275fac,providedIn:"root"});var aF=function(){YA.call(this);this.api=x(uD);this.recordType="recentEventsForIssues";this.idForRecord=function(a){return a.id.query+"-"+a.id.pageSize}};Y(aF,YA);aF.prototype.isEqual=function(a,b){return(a==null?void 0:a.id.query)!==(b==null?void 0:b.id.query)||(a==null?void 0:a.id.pageSize)!==(b==null?void 0:b.id.pageSize)?!1:Uha(a==null?void 0:a.events,b==null?void 0:b.events)};
aF.prototype.fetchOne=function(a){var b=l(a.split("___")),c=b.next().value;b=b.next().value;be(b)||console.error("RecentEventsForIssuesFridge failed to parse maximumSize from query, using default. input: '"+a+"'");var d,e=(d=be(b))!=null?d:50;return evc(this.api,{query:c,maximumSize:e,minimumSignificance:"MAJOR"}).pipe(C(function(f){return{id:{query:c,pageSize:e},events:f}}))};aF.\u0275fac=function(a){return new (a||aF)};aF.\u0275prov=Dg({token:aF,factory:aF.\u0275fac,providedIn:"root"});var wyc=["ASSIGNMENT","RESPONSE","CLOSURE"],xyc=new Map([["ASSIGNMENT","Assignment"],["RESPONSE","Response"],["CLOSURE","Closure"]]),yyc=new Map([["name","Name"],["description","Description"],["parentId","Parent ID"],["elements","SLO rules"]]),QEb=new Map([["DAY_TYPE_UNSPECIFIED","Calendar"],["CALENDAR","Calendar"],["BUSINESS","Business"]]);var mp=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(mp,n);g=mp.prototype;g.getId=function(){return Re(this,1)};g.getId_asLegacyNumberOrString=function(){return gm(this,1)};g.getId_asString=function(){return Xe(this,1)};g.setId=function(a){return Ze(this,1,a)};g.getFrequency=function(){return Zd(this,3)};g.setFrequency=function(a){return Xd(this,3,a)};g.getOrdinal=function(){return Pd(this,4)};g.setOrdinal=function(a){return se(this,4,a)};
g.getTimeZone=function(){return r(this,jp,5)};g.setTimeZone=function(a){return t(this,jp,5,a)};g.hasTimeZone=function(){return Me(this,jp,5)};g.getTimeOfDay=function(){return r(this,kp,6)};g.setTimeOfDay=function(a){return t(this,kp,6,a)};g.setDaysRemaining=function(a){return Vl(this,7,a)};var zyc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(zyc,n);g=zyc.prototype;g.getTeamId=function(){return Re(this,1)};g.getTeamId_asLegacyNumberOrString=function(){return gm(this,1)};g.getTeamId_asString=function(){return Xe(this,1)};g.setTeamId=function(a){return ll(this,1,a)};g.getEffectiveSloEditPolicy=function(){return Zd(this,3)};var pp=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,pp.messageId)};Y(pp,n);pp.prototype.getIt=function(){return r(this,qp,10,Kc)};pp.prototype.setIt=function(a){return t(this,qp,10,a,Kc)};pp.messageId="b.SloState";var Ayc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ayc,n);Ayc.prototype.getQuery=function(){return Oc(this,1)};Ayc.prototype.setQuery=function(a){return Vd(this,1,a)};Ayc.prototype.clearQuery=function(){Ou(this,1)};var lp=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(lp,n);lp.prototype.getComponentId=function(){return Re(this,1)};lp.prototype.getComponentId_asString=function(){return Xe(this,1)};lp.prototype.setComponentId=function(a){return ll(this,1,a)};lp.prototype.getEffectiveSloEditPolicy=function(){return Zd(this,2)};var Byc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Byc.messageId)};Y(Byc,n);Byc.messageId="b.GetComponentSloEditPolicyResponse";var Cyc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Cyc.messageId)};Y(Cyc,n);Cyc.prototype.getTeamSloEditPolicy=function(){return r(this,zyc,1,Kc)};Cyc.messageId="b.GetTeamSloEditPolicyResponse";var Dyc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Dyc,n);var bF=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,bF.messageId)};Y(bF,n);bF.prototype.getIt=function(){return r(this,Dyc,1,Kc)};bF.prototype.setIt=function(a){return t(this,Dyc,1,a,Kc)};bF.messageId="b.ListSlosResponse";var Eyc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Eyc.messageId)};Y(Eyc,n);Eyc.prototype.getTeamSloEditPolicy=function(){return r(this,zyc,1,Kc)};Eyc.messageId="b.UpdateTeamSloEditPolicyResponse";var cF=function(){this.activeSession=x(Ks);this.executor=x(ey)};g=cF.prototype;g.get=function(a){return this.executor.get({url:"action/slos/"+a,responseConstructor:pp}).pipe(C(nIa))};g.getOwnedSlos=function(){return this.search("owner:"+this.activeSession.getUserEmail()+" include_archived:true")};g.search=function(a){a=(new Ayc).setQuery(a);return this.executor.post({url:"action/listSlos",body:a,responseConstructor:bF}).pipe(C(function(b){b=b.getIt();b=ie(b,qp,1,Rd());return(b!=null?b:[]).map(Mua)}))};
g.create=function(a){a=oIa(a);return this.executor.post({url:"action/slos",body:a,responseConstructor:pp}).pipe(C(nIa))};g.update=function(a){var b=a.sloId;a=oIa(a);return this.executor.post({url:"action/slos/"+b,body:a,responseConstructor:pp}).pipe(C(nIa))};cF.\u0275fac=function(a){return new (a||cF)};cF.\u0275prov=Dg({token:cF,factory:cF.\u0275fac,providedIn:"root"});
var dF=function(){this.observableSlosService=x(cF);var a=x(rC),b;this.slosCache=(b=a.get("slos-second-level-cache"))!=null?b:a.create("slos-second-level-cache",{capacity:25})};g=dF.prototype;g.get=function(a){var b=this.slosCache.get(a);return b!==void 0?b:this.slosCache.put(String(a),pi(this.observableSlosService.get(a)))};g.getOwnedSlos=function(){return pi(this.observableSlosService.getOwnedSlos())};g.search=function(a){return pi(this.observableSlosService.search(a))};g.create=function(a){return pi(this.observableSlosService.create(a))};
g.update=function(a){return pi(this.observableSlosService.update(a))};dF.\u0275fac=function(a){return new (a||dF)};dF.\u0275prov=Dg({token:dF,factory:dF.\u0275fac,providedIn:"root"});var eF=function(){YA.call(this);this.observableSlosService=x(cF);this.recordType="slo";this.idForRecord=function(a){return a.sloId}};Y(eF,YA);g=eF.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)};
eF.\u0275fac=function(a){return new (a||eF)};eF.\u0275prov=Dg({token:eF,factory:eF.\u0275fac,providedIn:"root"});var Fyc=function(a,b){this.rawGet=a;this.cacheSize=b;this.lruCache=new Stc(this.cacheSize,function(c,d){d.subscription.unsubscribe()})};Fyc.prototype.get=function(a){var b=this;return new bi(function(c){var d=b.lruCache.get(a);d||(d=Gyc(b,a));return d.obs$.subscribe(c)})};
var Gyc=function(a,b){var c=a.rawGet(b).pipe(pj({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 Hyc(c,d);a.lruCache.set(b,c);return c},Hyc=function(a,b){this.obs$=a;this.subscription=b};var fF=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,fF.messageId)};Y(fF,n);fF.prototype.getIt=function(){return r(this,tB,14,Kc)};fF.prototype.setIt=function(a){return t(this,tB,14,a,Kc)};fF.messageId="b.TeamState";var Iyc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Iyc,n);g=Iyc.prototype;g.getPathIdsList_asString=function(){return ge(this,1)};g.setPathIdsList=function(a){return tc(this,1,a,Fb)};g.getPathNamesList=function(a){return Qd(this,2,Rd(a))};g.setPathNamesList=function(a){return Wd(this,2,a)};g.getId=function(){return Re(this,3)};g.getId_asLegacyNumberOrString=function(){return Mec(this,3)};g.getId_asString=function(){return Le(this,3)};
g.setId=function(a){return rf(this,3,a)};g.getName=function(){return Oc(this,4)};g.setName=function(a){return lf(this,4,a)};g.hasName=function(){return Ge(this,4)};g.getNameOrUndefined=function(){return Vu(this,4)};g.getDescription=function(){return Oc(this,5)};g.setDescription=function(a){return lf(this,5,a)};g.hasDescription=function(){return Ge(this,5)};var Jyc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Jyc,n);g=Jyc.prototype;g.getId=function(){return Re(this,1)};g.getId_asLegacyNumberOrString=function(){return Mec(this,1)};g.getId_asString=function(){return Le(this,1)};g.setId=function(a){return rf(this,1,a)};g.getName=function(){return Oc(this,2)};g.setName=function(a){return lf(this,2,a)};g.hasName=function(){return Ge(this,2)};g.getNameOrUndefined=function(){return Vu(this,2)};
g.getDescription=function(){return Oc(this,3)};g.setDescription=function(a){return lf(this,3,a)};g.hasDescription=function(){return Ge(this,3)};var Kyc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Kyc,n);Kyc.prototype.setTeamIdsList=function(a){return op(this,1,a)};Kyc.prototype.setView=function(a){return Xd(this,2,a)};var Lyc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Lyc.messageId)};Y(Lyc,n);Lyc.prototype.setTeamIdsList=function(a){return tc(this,1,a,Fb,Kc)};Lyc.messageId="b.BatchChildTeamsRequest";var Myc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Myc,n);var Nyc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Nyc.messageId)};Y(Nyc,n);Nyc.messageId="b.BatchChildTeamsResponse";var Oyc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Oyc,n);var Pyc=function(a){return ie(a,tB,1,Rd())};var gF=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,gF.messageId)};Y(gF,n);gF.prototype.getIt=function(){return r(this,Oyc,2,Kc)};gF.prototype.setIt=function(a){return t(this,Oyc,2,a,Kc)};gF.messageId="b.BatchGetTeamsResponse";var hF=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,hF.messageId)};Y(hF,n);hF.prototype.getTeamSuggestionsList=function(){return ie(this,Iyc,1,Rd(),Kc)};hF.prototype.setTeamSuggestionsList=function(a){Ol(this,1,a,Kc)};hF.messageId="b.TeamSuggestionResult";var iF=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,iF.messageId)};Y(iF,n);iF.prototype.getIt=function(){return r(this,Fn,3,Kc)};iF.prototype.setIt=function(a){return t(this,Fn,3,a,Kc)};iF.messageId="b.UpdateTeamSloRequest";var kF=function(){var a=this;this.executor=x(ey);this.teamsBatchApiConfig=x(jF);this.batchApiAdapter=x(sB);this.batchAdaptedGet=this.batchApiAdapter.adapt(this.teamsBatchApiConfig);this.memoizingTeamStateMap=new Fyc(function(b){return a.batchAdaptedGet(b)},100)};kF.prototype.get=function(a){return this.executor.get({url:"action/teams/"+a,responseConstructor:fF}).pipe(C(qIa))};kF.prototype.getTeam=function(a){return this.memoizingTeamStateMap.get(a)};
var lF=function(a,b){return a.getTeam(b).pipe(C(function(c){return c!=null?c:sIa(b)}),cj(function(){return li(sIa(b))}))},Qyc=function(a,b){b=b.filter(function(c){return c!=="0"}).map(function(c){return a.getTeam(c)});return xi(b).pipe(C(function(c){var d=new Map;c=l(c);for(var e=c.next();!e.done;e=c.next())(e=e.value)&&d.set(e.teamId,e);return d}))};
kF.prototype.getChildTeams=function(a){a=(new Lyc).setTeamIdsList(a);return this.executor.post({url:"action/child_teams",body:a,responseConstructor:Nyc}).pipe(C(function(b){b=[].concat(p(sc(b,1,Myc,Vb,Kc).entries()));return new Map(b.map(function(c){var d=l(c);c=d.next().value;d=d.next().value;d=ie(d,Jyc,1,Rd());return[c,d.map(pIa)]}))}))};
var mF=function(a,b){return a.executor.get({url:"action/suggest_teams",options:{params:{query:b}},responseConstructor:hF}).pipe(C(function(c){return c.getTeamSuggestionsList().map(rIa)}))},nF=function(a,b){return a.executor.get({url:"action/teams/"+b+"/experiments",responseConstructor:RC}).pipe(C(QCa))},Ryc=function(a,b){a=a.executor;var c=a.post,d="action/teams/"+b.id+"/experiments",e=b.triage.map(cDa);var f=b.playbooks.map(RCa);b=(new RC).setId(b.id);b=qm(b,2,ro,e,Kc);f=qm(b,3,so,f,Kc);return c.call(a,
{url:d,body:f,responseConstructor:RC}).pipe(C(QCa))},Syc=function(a,b,c){return b==="0"?li(!1):a.memoizingTeamStateMap.get(b).pipe(C(function(d){return(d==null?void 0:d.members.find(function(e){return e&&Jd(e.user)===c}))!==void 0}))},Tyc=function(a,b){b=(new Kyc).setTeamIdsList([].concat(p(b))).setView(2);return a.executor.post({url:"action/batchGetTeams",responseConstructor:gF,body:b}).pipe(C(function(c){return Pyc(c.getIt())}),C(function(c){return new Map(c.map(function(d){var e,f;return[String(d.getId()),
(f=qe((e=r(d,En,7))==null?void 0:Re(e,3)))!=null?f:0]}))}))};
kF.prototype.updateTeam=function(a){var b=new fF,c=new tB,d,e,f=c.setId(Number(a.teamId)).setName(a.name).setDescription(a.description).setPathNamesList(a.pathNames).setPathIdsList((d=a.pathIds)==null?void 0:d.map(be).filter(fe));d=Wd(f,5,a.collapsedPathNames).setMembersList((e=a.members)==null?void 0:e.map(rza));Dl(d,9,a.deleted);e=new En;d=a.extra;e.setVersion(a.version).setSlo(sza(a.slo)).setInheritEscalationOwner(!0);(d==null?0:d.escalationOwner)&&e.setEscalationOwner(Yd(d.escalationOwner));if(d==
null?0:d.defaultEscalationOwner)f=Yd(d.defaultEscalationOwner),t(e,Ud,7,f);if(d==null?0:d.escalationOwnerOverride)d.escalationOwnerOverride.emailAddress===""?(d=new Slc,Bl(e,10,oza,d)):(d=Yd(d.escalationOwnerOverride),Bl(e,9,oza,d));t(c,En,7,e);b.setIt(c);return this.executor.post({url:"action/teams/"+a.teamId,body:b,responseConstructor:fF}).pipe(C(qIa))};kF.\u0275fac=function(a){return new (a||kF)};kF.\u0275prov=Dg({token:kF,factory:kF.\u0275fac,providedIn:"root"});
var jF=function(){this.executor=x(ey)};jF.prototype.call=function(a){a=(new Kyc).setTeamIdsList([].concat(p(a))).setView(1);return this.executor.post({url:"action/batchGetTeams",responseConstructor:gF,body:a}).pipe(C(function(b){return Pyc(b.getIt()).map(pza)}),C(function(b){return Yf(b,function(c){return c.teamId})}),cj(function(){return li(new Map)}))};jF.prototype.split=function(a,b){return b.get(a)};jF.\u0275fac=function(a){return new (a||jF)};jF.\u0275prov=Dg({token:jF,factory:jF.\u0275fac,providedIn:"root"});var oF=function(){XA.call(this);this.teamsApi=x(kF);this.defaultQuery={};this.recordType="TeamDigest";this.idForRecord=function(a){var b;return(b=a.teamId)!=null?b:"NO_ID"}};Y(oF,XA);oF.prototype.fetchAll=function(a){if(a.myTeams)return mF(this.teamsApi,"").pipe(C(function(b){b=b===void 0?[]:b;return{results:b}}));throw Error("Uc");};oF.\u0275fac=function(a){return new (a||oF)};oF.\u0275prov=Dg({token:oF,factory:oF.\u0275fac,providedIn:"root"});var pF=function(){YA.call(this,{freshUntil:6E4});this.activeSession=x(Ks);this.teamsApi=x(kF);this.recordType="team-experimental-fields";this.idForRecord=function(a){return a.id};this.isEqual=vd;this.isEnabled=Cx(this.activeSession,"enableTeamScope")&&this.activeSession.isInternalSession()};Y(pF,YA);pF.prototype.fetchOne=function(a){var b=this;return this.isEnabled?wi(function(){return nF(b.teamsApi,a).pipe(C(function(c){return c!=null?c:tIa(a)}),cj(function(){return li(void 0)}))}):li(void 0)};
pF.prototype.fetchSet=function(a){var b=this;return si(a.map(function(c){return b.watch(c)})).pipe(C(function(c){return c.filter(fe)}))};pF.prototype.copy=function(a){return a&&wd(a)};
pF.prototype.updateOrInsert=function(a,b){var c=this,d,e,f,h;return v(function(k){switch(k.nextAddress){case 1:if(!c.isEnabled)return k.return(tIa(a));c.manualUpdate(a,function(q){b(q!=null?q:tIa(a))});return w(k,pi(nF(c.teamsApi,a)),2);case 2:return d=k.yieldResult,f=(e=c.copy(d))!=null?e:tIa(a),b(f),w(k,pi(Ryc(c.teamsApi,f)),3);case 3:if(h=k.yieldResult){k.jumpTo(4);break}return w(k,c.poke(a),5);case 5:throw Error("Vc");case 4:return c.announce(h),k.return(h)}})};
pF.\u0275fac=function(a){return new (a||pF)};pF.\u0275prov=Dg({token:pF,factory:pF.\u0275fac,providedIn:"root"});var qF=function(){YA.call(this);this.teamsApi=x(kF);this.recordType="team";this.idForRecord=function(a){return a.teamId}};Y(qF,YA);qF.prototype.fetchOne=function(a){return a==="0"?li(void 0):this.teamsApi.getTeam(a).pipe(cj(function(){return li(void 0)}))};qF.prototype.fetchSet=function(a){var b=this;return si(a.map(function(c){return b.fetchOne(c)})).pipe(C(function(c){return c.filter(fe)}))};qF.\u0275fac=function(a){return new (a||qF)};qF.\u0275prov=Dg({token:qF,factory:qF.\u0275fac,providedIn:"root"});var Uyc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Uyc,n);Uyc.prototype.setTrackerIdsList=function(a){return op(this,1,a)};var Vyc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Vyc,n);Vyc.prototype.getTrackersList=function(){return ie(this,Mw,1,Rd())};var rF=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,rF.messageId)};Y(rF,n);rF.prototype.getIt=function(){return r(this,Vyc,9,Kc)};rF.prototype.setIt=function(a){return t(this,Vyc,9,a,Kc)};rF.messageId="b.BatchGetTrackersResponse";var sF=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(sF,n);sF.prototype.getTrackersList=function(){return ie(this,Mw,1,Rd())};sF.prototype.getNextPageToken=function(){return Oc(this,2)};sF.prototype.getTotalSize=function(){return Pd(this,3)};var tF=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,tF.messageId)};Y(tF,n);tF.prototype.getIt=function(){return r(this,sF,4,Kc)};tF.prototype.setIt=function(a){return t(this,sF,4,a,Kc)};tF.messageId="b.ListTrackersResponse";var uF=function(){this.jspbExecutor=x(ey)};uF.prototype.get=function(a){return this.jspbExecutor.get({url:"action/trackers/"+a,responseConstructor:Mf}).pipe(C(ofa))};uF.prototype.batchGet=function(a){a=(new Uyc).setTrackerIdsList(a);return this.jspbExecutor.post({url:"action/trackers/batch",responseConstructor:rF,body:a}).pipe(C(pfa))};
uF.prototype.query=function(a,b,c){return this.jspbExecutor.get({url:"action/trackers",responseConstructor:tF,options:{params:{query:a,pageSize:String(b),pageToken:c===void 0?"":c}}}).pipe(C(qfa))};uF.\u0275fac=function(a){return new (a||uF)};uF.\u0275prov=Dg({token:uF,factory:uF.\u0275fac,providedIn:"root"});var vF=function(){YA.call(this,{freshUntil:36E5,ancientAfter:2592E5});this.trackerApi=x(uF);this.activeSession=x(Ks);this.recordType="tracker";this.idForRecord=function(a){return a.trackerId};Wyc(this)};Y(vF,YA);var Wyc=function(a){var b=a.activeSession.getTracker();b&&a.announce(b)};vF.prototype.fetchOne=function(a){return this.trackerApi.get(a)};vF.prototype.fetchSet=function(a){return this.trackerApi.batchGet(a)};
vF.prototype.fetchAll=function(a){var b,c;return this.trackerApi.query((b=a.filter)!=null?b:"",(c=a.pageSize)!=null?c:0,a.pageToken).pipe(C(function(d){var e;return{results:(e=d==null?void 0:d.trackers)!=null?e:[]}}))};vF.\u0275fac=function(a){return new (a||vF)};vF.\u0275prov=Dg({token:vF,factory:vF.\u0275fac,providedIn:"root"});var wF=function(){Z.apply(this,arguments);this.router=x($B);this.activatedRoute=x(Zn);this.params={};this.routeParams$=new $n({});this.issueId$=this.routeParams$.pipe(C(function(a){return a.issueId}),jj());this.assignParams.bind(this)};Y(wF,Z);wF.\u0275dir=Z.\u0275dir;
var Xyc=function(a){a.activatedRoute.queryParams.pipe(tj(a.destroyed$)).subscribe(function(b){a.assignParams(a.routeParams$.value,b)});a.router.events.pipe(Di(function(b){return b instanceof qBa}),C(function(b){return b}),tj(a.destroyed$)).subscribe(function(b){b=b.snapshot;var c=a.assignParams,d={},e=b;do d=Object.assign({},e.params,d),e=e.parent;while(e&&e!==e.root);c.call(a,d,b.queryParams)})},xF=function(a,b){return a.routeParams$.pipe(C(function(c){return c[b]}))};
wF.prototype.assignParams=function(a,b){for(var c=l(Object.keys(this.params)),d=c.next();!d.done;d=c.next())delete this.params[uIa(d.value)];this.routeParams$.next(a);b=l(Object.entries(b));for(c=b.next();!c.done;c=b.next())d=l(c.value),c=d.next().value,d=d.next().value,this.params[uIa(c)]=d;a=l(Object.entries(a));for(b=a.next();!b.done;b=a.next())c=l(b.value),b=c.next().value,c=c.next().value,this.params[uIa(b)]=c};wF.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(wF)))(b||wF)}}();
wF.\u0275prov=Dg({token:wF,factory:wF.\u0275fac,providedIn:"root"});var yF=function(){var a=x(mE);Z.call(this);var b=this;this.paramsService=x(wF);this.issueFullFridge=x(pE);this.componentIdOverride$=new $n(null);this.hotlistIdOverride$=new $n(null);this.issueIdOverride$=new $n(null);this.teamIdOverride$=new $n(null);this.routeIssueId$=this.paramsService.issueId$.pipe(C(wIa),pj({refCount:!0,bufferSize:1}));this.routeComponentId$=xF(this.paramsService,"componentId").pipe(jj());this.routeHotlistId$=xF(this.paramsService,"hotlistId").pipe(jj());this.routeTeamId$=xF(this.paramsService,
"teamId").pipe(jj());this.issueId$=si([this.issueIdOverride$,this.routeIssueId$]).pipe(C(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c||d}),C(wIa),jj(),pj({refCount:!0,bufferSize:1}));this.componentIdFromIssueId$=this.issueId$.pipe(sj(function(c){return c?b.issueFullFridge.watch(c):li(void 0)}),C(function(c){return c==null?void 0:c.snapshot[0].componentId}));this.teamIdFromIssueId$=this.issueId$.pipe(sj(function(c){return c?b.issueFullFridge.watch(c):li(void 0)}),C(function(c){var d;
return c==null?void 0:(d=c.aggregatedData)==null?void 0:d.teamId}));this.componentId$=si([this.componentIdOverride$,this.routeComponentId$,this.componentIdFromIssueId$]).pipe(C(function(c){var d=l(c);c=d.next().value;var e=d.next().value;d=d.next().value;return c||e||d||null}),jj(),pj({refCount:!0,bufferSize:1}));this.teamId$=si([this.teamIdOverride$,this.routeTeamId$,this.teamIdFromIssueId$]).pipe(C(function(c){var d=l(c);c=d.next().value;var e=d.next().value;d=d.next().value;return c||e||d}),C(wIa),
jj(),pj({refCount:!0,bufferSize:1}));this.hotlistId$=si([this.hotlistIdOverride$,this.routeHotlistId$]).pipe(C(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c||d}),C(vIa),jj(),pj({refCount:!0,bufferSize:1}));this.subscriptions.add(a.routeChangeSuccess.subscribe(function(){b.componentIdOverride$.next(null);b.hotlistIdOverride$.next(null);b.issueIdOverride$.next(null);b.teamIdOverride$.next(null)}));this.subscriptions.add(this.componentId$.subscribe(function(c){Zo("dimension4",c)}));
this.subscriptions.add(this.teamId$.subscribe(function(c){Zo("dimension1",c)}))};Y(yF,Z);yF.\u0275dir=Z.\u0275dir;yF.prototype.getComponentId=function(){return this.componentId$};yF.prototype.getHotlistId=function(){return this.hotlistId$};yF.prototype.getIssueId=function(){return this.issueId$};yF.prototype.getTeamId=function(){return this.teamId$};yF.\u0275fac=function(a){return new (a||yF)};yF.\u0275prov=Dg({token:yF,factory:yF.\u0275fac,providedIn:"root"});var zF=function(){var a=this;this.issueFullFridge=x(pE);this.teamFridge=x(qF);this.componentFridge=x(AB);this.eventsForIssue=x(wD);this.activatedRoute=x(Zn);this.contextSensitiveRegistry=x(yF);this.id$=this.contextSensitiveRegistry.getIssueId().pipe(C(function(b){return b||void 0}));this.urlComment$=this.activatedRoute.fragment.pipe(C(oJa),pj({refCount:!0,bufferSize:1}));this.issueJs$=this.id$.pipe(sj(function(b){return b?a.issueFullFridge.watch(b):li(void 0)}),pj({refCount:!0,bufferSize:1}));this.eventsJs$=
this.id$.pipe(sj(function(b){return b?a.eventsForIssue.watch(b):li(void 0)}),C(function(b){var c;return(c=b==null?void 0:b.events)!=null?c:[]}));this.starred$=this.issueJs$.pipe(C(CIa));this.lastViewedTimeMicros$=this.issueJs$.pipe(C(DIa));this.lastViewedTimeMicros$.pipe(C(function(b){return!b}));this.title$=this.issueJs$.pipe(C(EIa));this.issueJs$.pipe(C(WIa));this.accessLimitLevel$=this.issueJs$.pipe(C(MIa));this.voted$=this.issueJs$.pipe(C(XIa));this.status$=this.issueJs$.pipe(C(FIa));this.priority$=
this.issueJs$.pipe(C(GIa));this.assignee$=this.issueJs$.pipe(C(HIa));this.issueJs$.pipe(C(IIa));this.teamId$=this.issueJs$.pipe(C(JIa));this.team$=this.teamId$.pipe(sj(function(b){return b?a.teamFridge.watch(b):li(void 0)}),pj({refCount:!0,bufferSize:1}));this.ccUsers$=this.issueJs$.pipe(C(LIa));this.collaboratorsUsers$=this.issueJs$.pipe(C(NIa));this.issueJs$.pipe(C(function(b){var c,d;return(d=(c=cg(b))==null?void 0:c.severity)!=null?d:void 0}));this.type$=this.issueJs$.pipe(C(OIa));this.issueJs$.pipe(C(PIa));
this.issueJs$.pipe(C(QIa));this.issueJs$.pipe(C(RIa));this.postmortems$=this.issueJs$.pipe(C(SIa));this.postmortems$.pipe(C(function(b){return b.length>0}));this.issueJs$.pipe(C(TIa));this.effort$=this.issueJs$.pipe(C(UIa));this.staffing$=this.issueJs$.pipe(C(VIa));this.isDeleted$=this.issueJs$.pipe(C(ZIa));this.accessLevel$=this.issueJs$.pipe(C(aJa));this.modifiedTime$=this.issueJs$.pipe(C(bJa));this.issueJs$.pipe(C(dJa));this.retentionState$=this.issueJs$.pipe(C(gJa));this.canonicalIssueId$=this.issueJs$.pipe(C(eJa));
this.sloStatus$=this.issueJs$.pipe(C(function(b){var c;return b==null?void 0:(c=b.aggregatedData)==null?void 0:c.sloStatus}));this.sloId$=this.issueJs$.pipe(C(hJa));this.createdTimeMicros$=this.issueJs$.pipe(C(iJa));this.componentId$=this.issueJs$.pipe(C(KIa));this.component$=this.componentId$.pipe(sj(function(b){return b?a.componentFridge.watch(b):li(void 0)}));this.teamSuggestions$=this.component$.pipe(C(function(b){var c;return(c=b==null?void 0:b.teamSuggestions)!=null?c:[]}));this.effortSpec$=
this.component$.pipe(C(jJa));this.isEffortEnabled$=this.component$.pipe(C(kJa));this.component$.pipe(C(lJa))};zF.\u0275fac=function(a){return new (a||zF)};zF.\u0275prov=Dg({token:zF,factory:zF.\u0275fac,providedIn:"root"});var mJa=RegExp("comment([0-9]+)"),nJa=RegExp("comment[0-9]+version([0-9]+)");var Yyc={admin:!1,writer:!0,appender:!0,reader:!0},BF=function(){var a=this;this.issueDetailsBrain=x(zF);this.permissionsFridge=x(WE);this.activeSession=x(Ks);this.accessPolicyApi=x(qB);this.errorHandler=x(PA);this.userAccess=x(dD);this.currentUserEmail=this.activeSession.getUserEmail();this.currentUserEmailPattern=new RegExp("^"+oq(this.currentUserEmail).replace("@","(\\+.*)?@")+"$");this.issueId$=this.issueDetailsBrain.id$;this.issuePermissions$=this.issueId$.pipe(sj(function(c){return c?a.permissionsFridge.watch(An(c)):
li(void 0)}),C(function(c){return c!=null?c:Yyc}),rj(Yyc),pj({bufferSize:1,refCount:!0}));this.hasAclToView$=this.issuePermissions$.pipe(C(function(c){return!!c.reader}));this.hasAclToEdit$=this.issuePermissions$.pipe(C(function(c){return!!c.writer}));this.hasAclToEdit=function(){return!!up(a.hasAclToEdit$)};this.hasAclToComment$=this.issuePermissions$.pipe(C(function(c){return!!c.appender}));this.hasAclToComment=function(){return!!up(a.hasAclToComment$)};this.hasAclToAdmin$=this.issuePermissions$.pipe(C(function(c){return!!c.admin}));
this.hasAclToAdmin=function(){return!!up(a.hasAclToAdmin$)};this.isCurrentUserCCd$=this.issueDetailsBrain.ccUsers$.pipe(rj([]),C(function(c){return c.some(function(d){return AF(a,d.emailAddress)})}));this.isCurrentUserCCd=function(){return!!up(a.isCurrentUserCCd$)};this.isCurrentUserCollaborator$=this.issueDetailsBrain.collaboratorsUsers$.pipe(rj([]),C(function(c){return c.some(function(d){return AF(a,d.emailAddress)})}));this.isCurrentUserCollaborator=function(){return!!up(a.isCurrentUserCollaborator$)};
this.isAllowedToEditCC$=this.hasAclToEdit$;si([this.hasAclToEdit$,this.isCurrentUserCCd$]).pipe(C(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c?d?"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(rj(void 0),jj(),sj(function(c){return c?a.accessPolicyApi.checkComponentImplicitAccessEnabled(c):li(!1)}),cj(function(c){if(c.status===403)return li(!0);
a.errorHandler.errorHandler(null,c);return li(!1)}),pj({bufferSize:1,refCount:!0}));this.isImplicitAccessEnabled=function(){return!!up(a.isImplicitAccessEnabled$)};this.canDeleteIssue$=this.hasAclToAdmin$;this.canUndeleteIssue$=si([this.issueDetailsBrain.isDeleted$,this.canDeleteIssue$]).pipe(C(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c&&d}));this.userIsComponentAdmin$=this.issueDetailsBrain.componentId$.pipe(rj(void 0),jj(),sj(function(c){return c?eD(a.userAccess,"admin","components/"+
c):li(!1)}),cj(function(c){a.errorHandler.errorHandler(null,c);return li(!1)}),pj({bufferSize:1,refCount:!0}));this.accessLevel$=this.issueDetailsBrain.accessLevel$.pipe(rj(void 0));this.accessLevel=function(){return up(a.accessLevel$)};this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.isWithinExternalComponent$=this.accessLevel$.pipe(C(function(c){return!(!c||c==="INTERNAL")}));this.audience$=this.isWithinExternalComponent$.pipe(C(function(c){return c?"EXTERNAL":"INTERNAL"}));
this.audience=function(){return up(a.audience$)};this.canChangeCommentRetention$=this.hasAclToEdit$;var b=x(Cj);this.issuePermissions$.pipe(vp(b)).subscribe();this.isImplicitAccessEnabled$.pipe(vp(b)).subscribe();this.userIsComponentAdmin$.pipe(vp(b)).subscribe()},AF=function(a,b){return(b==null?void 0:b.search(a.currentUserEmailPattern))===0};g=BF.prototype;
g.canUndeleteComment=function(a){return ag(a)&&a.commentDeletionStatus==="DELETED"?this.hasAclToAdmin()?li(!0):Gd(a.lastCommentEditorUser)!==this.activeSession.getUserEmail()?li(!1):this.hasAclToComment$:li(!1)};g.canDeleteComment=function(a){return ag(a)&&a.commentDeletionStatus==="ACTIVE"?Jd(a.userPerformingActionUser)===this.activeSession.getUserEmail()?li(!0):this.hasAclToAdmin$:li(!1)};
g.canEditComment$=function(a){var b=this;return si([this.issueDetailsBrain.component$,this.hasAclToEdit$,this.hasAclToComment$]).pipe(C(function(c){var d=l(c);c=d.next().value;var e=d.next().value;d=d.next().value;return c!==void 0&&c.commentEditState==="ENABLED"&&a.commentDeletionStatus!=="DELETED"&&a.commentDeletionStatus!=="PURGED"&&a.commentNumber?a.commentNumber===1?e:d&&Jd(a.userPerformingActionUser)===b.activeSession.getUserEmail():!1}))};
g.canDeleteAttachment$=function(a,b){return a?(a=a.entityStatus)&&"ACTIVE"===a.status?AF(this,b)?li(!0):this.hasAclToAdmin$:li(!1):li(!1)};g.canUndeleteAttachment$=function(a,b){return a?(a=a.entityStatus)&&"DELETED"===a.status?AF(this,b)?li(!0):this.hasAclToAdmin$:li(!1):li(!1)};BF.\u0275fac=function(a){return new (a||BF)};BF.\u0275prov=Dg({token:BF,factory:BF.\u0275fac,providedIn:"root"});var CF=function(a){a=a===void 0?[]:a;this.internalValue$=new $n(new Set);this.value$=ex(this.internalValue$).pipe(C(function(b){return new Set(b)}),jj(vd),pj({refCount:!0,bufferSize:1}));this.reset(a)};g=CF.prototype;g.reset=function(a){this.value.clear();a=l(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=l(rd.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 Tq=function(a,b){return a.internalValue$.pipe(C(function(c){return c.has(b)}),jj())};CF.prototype[Symbol.iterator]=function(){return this.value.values()};
CF.prototype.toString=function(){return"[ReactiveSet](["+[].concat(p(this.value.values())).join(", ")+"])"};CF.prototype.indexOf=function(a){return[].concat(p(this.value.values())).indexOf(a)};
pg.Object.defineProperties(CF.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(C(function(a){return a.size}),jj())}}});var DF={},Zyc=(DF.ISSUE_DEDUPLICATION=new Set(["VERY_HIGH"]),DF.ISSUE_DEDUPLICATION_BATCH=new Set(["VERY_HIGH"]),DF.NEEDS_INFO=new Set(["VERY_HIGH"]),DF.COMPONENT_ROUTING=new Set(["VERY_HIGH"]),DF.HOTLIST=new Set(["VERY_HIGH"]),DF.ANY_ISSUE_EDIT=new Set(["VERY_HIGH"]),DF.TYPE_UNSPECIFIED=new Set([]),DF),EF=function(){this.activeSession=x(Ks);this.issuePermissionService=x(BF);this.issueFridge=x(MD);this.componentFridge=x(AB);this.issueRecommendationFridge=x(sE);this.refreshMonitor=x(JD);this.hiddenRecommendationIds=
new CF},azc=function(a,b){return KD(a.refreshMonitor,function(){return a.issueRecommendationFridge.watch(b+"-ISSUE_DEDUPLICATION")}).pipe(sj(function(c){return $yc(a,c==null?void 0:c.recommendations)}))},bzc=function(a,b){return KD(a.refreshMonitor,function(){return a.issueRecommendationFridge.watch(b+"-ISSUE_DEDUPLICATION_BATCH")}).pipe(sj(function(c){return $yc(a,c==null?void 0:c.recommendations)}))},czc=function(a,b){return KD(a.refreshMonitor,function(){return a.issueRecommendationFridge.watch(b+
"-NEEDS_INFO")}).pipe(sj(function(c){return $yc(a,c==null?void 0:c.recommendations)}))},dzc=function(a,b){return KD(a.refreshMonitor,function(){return a.issueRecommendationFridge.watch(b+"-COMPONENT_ROUTING")}).pipe(sj(function(c){return $yc(a,c==null?void 0:c.recommendations)}))},ezc=function(a,b){return KD(a.refreshMonitor,function(){return a.issueRecommendationFridge.watch(b+"-ANY_ISSUE_EDIT")}).pipe(sj(function(c){return $yc(a,c==null?void 0:c.recommendations)}))},$yc=function(a,b){if(!b||!b.length)return li(void 0);
b=b.map(function(c){return fzc(a,c).pipe(C(function(d){return d?c:void 0}))});return si(b).pipe(C(function(c){return c.filter(fe)[0]}))},fzc=function(a,b){if(!a.activeSession.isInternalSession())return li(!1);var c=Zyc[b.type];if(!c||!c.has(b.confidence))return li(!1);c=yr(b.resource);if(!c)return li(!1);c=a.issueFridge.watch(c);var d=c.pipe(sj(function(e){return(e=KIa(e))?a.componentFridge.watch(e):li(void 0)}));return si([c,d,a.issuePermissionService.hasAclToEdit$,Tq(a.hiddenRecommendationIds,b.name)]).pipe(C(function(e){var f=
l(e);e=f.next().value;var h=f.next().value;var k=f.next().value;f=f.next().value;return gzc(a,{recommendation:b,hasAclToEdit:k,issue:e,component:h,shouldHide:f})}))},gzc=function(a,b){var c=b.recommendation;var d=b.hasAclToEdit;var e=b.issue;var f=b.component;if(!d||b.shouldHide)return!1;var h,k;b=(k=f==null?void 0:(h=f.componentPathInfo)==null?void 0:h.componentPathId)!=null?k:[];switch(c.type){case "ISSUE_DEDUPLICATION":var q;return eg(e)&&!!(c==null?0:(q=c.content)==null?0:q.recommendedIssue);
case "HOTLIST":return!0;case "ISSUE_DEDUPLICATION_BATCH":if(!eg(e))return!1;e=Cx(a.activeSession,"enableBatchDedupe");h=b.some(function(la){var ya;return(ya=a.activeSession.getBatchDedupeComponentAllowlist())==null?void 0:ya.has(la)});if(!e&&!h)return!1;var u;return(c==null?0:(u=c.content)==null?0:u.issueDeduplicationBatch)?!0:!1;case "NEEDS_INFO":if(!Cx(a.activeSession,"enableNeedsInfoUi"))return!1;var A,D;return((A=c.content)==null?0:(D=A.issueModification)==null?0:D.addState)&&Jd(HIa(e))!==Jd(c.content.issueModification.addState.assigneeUser)?
!0:!1;case "COMPONENT_ROUTING":if(!Cx(a.activeSession,"enableComponentRoutingUi"))return!1;var H,O;return((H=c.content)==null?0:(O=H.issueModification)==null?0:O.addState)&&c.content.issueModification.addState.componentId!==e.snapshot[0].componentId?!0:!1;case "ANY_ISSUE_EDIT":if(!Cx(a.activeSession,"enablePlaybook"))return!1;var P,S,aa,ia;return((P=c.content)==null?0:(S=P.issueModification)==null?0:S.addState)||((aa=c.content)==null?0:(ia=aa.issueModification)==null?0:ia.removeState)?!0:!1;default:return!1}};
EF.\u0275fac=function(a){return new (a||EF)};EF.\u0275prov=Dg({token:EF,factory:EF.\u0275fac,providedIn:"root"});var FF=function(){this.activeSession=x(Ks);this.teamExperimentalFieldsFridge=x(pF);this.duckieService=x(ay);this.errorHandler=x(PA);this.issueFridge=x(MD);this.recommendationsApi=x(ky);this.recommendationTriggerService=x(EF);this.hiddenRecommendationIds=new CF;this.executionCache=new $n(new Map);this.sourceId=this.activeSession.getEnvironmentType()==="QA"?"1109":"1463"},izc=function(a,b){var c,d;return v(function(e){if(e.nextAddress==1)return hzc(a),w(e,a.teamExperimentalFieldsFridge.updateOrInsert("8953708121",
function(f){if(f.playbooks.some(function(h){return h.searchQuery===b.searchQuery}))throw Error("Xc");f.playbooks.push(b)}),2);c=e.yieldResult;d=Caa(c.playbooks,function(f){return f.searchQuery===b.searchQuery});if(!d)throw Error("Yc");return e.return(d)})},jzc=function(a,b){return a.teamExperimentalFieldsFridge.watch("8953708121").pipe(C(function(c){return c==null?void 0:c.playbooks.find(function(d){return d.searchQuery===b})}))},kzc=function(a,b){var c,d;return v(function(e){if(e.nextAddress==1)return hzc(a),
w(e,a.teamExperimentalFieldsFridge.updateOrInsert("8953708121",function(f){if(!f.playbooks.some(function(h){return h.searchQuery===b.searchQuery}))throw Error("Zc");f.playbooks=f.playbooks.map(function(h){return h.searchQuery===b.searchQuery?b:h})}),2);c=e.yieldResult;d=c.playbooks.find(function(f){return f.searchQuery===b.searchQuery});if(!d)throw Error("Yc");return e.return(d)})},nzc=function(a,b,c){var d,e,f,h,k,q,u,A;return v(function(D){switch(D.nextAddress){case 1:hzc(a);if(!b.instructions)throw Error("$c");
if(!b.searchQuery)throw Error("ad");if(!c.length)return D.return([]);d="Triage these bugs: "+c.join(", ")+"\nwith playbook:\n===Start Of Playbook===\n"+b.instructions+"\n===End Of Playbook===";ei(D,2);return w(D,pi(a.duckieService.generateAnswers(d)),4);case 4:return e=D.yieldResult,f=e.response,h=Aia(f,a.sourceId),w(D,lzc(a,h),5);case 5:return k=D.yieldResult,w(D,mzc(a,k),6);case 6:return q=D.yieldResult,u=q.recommendations,a.executionCache.value.set(b.searchQuery,Yf(u,function(H){return yr(H.resource)})),
a.executionCache.next(a.executionCache.value),D.return(k);case 2:return A=ii(D),A instanceof Error&&(console.error(A),QA(a.errorHandler,"Error connecting to Duckie. Please try again.")),D.return([])}})},ozc=function(a,b,c){return a.executionCache.pipe(hj(1),sj(function(d){var e;return(d=(e=d.get(c))==null?void 0:e.get(b))?li(d):ezc(a.recommendationTriggerService,b)}),sj(function(d){return d?Tq(a.recommendationTriggerService.hiddenRecommendationIds,d.name).pipe(C(function(e){return e?void 0:d})):li(void 0)}))},
mzc=function(a,b){var c,d;return v(function(e){c=b.filter(function(f){return f.type==="ANY_ISSUE_EDIT"});if(c.length===0)return e.return({recommendations:[]});d=c.map(function(f){return{parent:"recommendationSources/"+a.sourceId,type:"ANY_ISSUE_EDIT",resource:f.resource,recommendations:[f]}});return e.return(a.recommendationsApi.batchReplaceRecommendations({parent:"recommendationSources/"+a.sourceId,type:"ANY_ISSUE_EDIT",requests:d}))})},hzc=function(a){if(!a.teamExperimentalFieldsFridge.isEnabled)throw Error("bd");
},lzc=function(a,b){var c,d,e;return v(function(f){if(f.nextAddress==1)return c=b.map(function(h){return yr(h.resource)}),w(f,Promise.all(c.map(function(h){return pi(a.issueFridge.watch(h))})),2);d=f.yieldResult;e=Yf(d,function(h){return h.issueId});return f.return(b.map(function(h){var k=yr(h.resource);if(k&&(k=e.get(k)))return yia(h,k)}).filter(fe).filter(function(h){return!xia(h)}))})};FF.\u0275fac=function(a){return new (a||FF)};FF.\u0275prov=Dg({token:FF,factory:FF.\u0275fac,providedIn:"root"});var pzc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(pzc,n);g=pzc.prototype;g.getFormattingMode=function(){return Zd(this,1)};g.setFormattingMode=function(a){return Xd(this,1,a)};g.getSource=function(){return Oc(this,2)};g.setSource=function(a){return Vd(this,2,a)};g.getIssueId=function(){return Re(this,3)};g.getIssueId_asString=function(){return Xe(this,3)};g.setIssueId=function(a){return ll(this,3,a)};g.getIdPrefix=function(){return Oc(this,4)};
g.setIdPrefix=function(a){return Vd(this,4,a)};var GF=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,GF.messageId)};Y(GF,n);GF.prototype.getIt=function(){return r(this,pzc,8,Kc)};GF.prototype.setIt=function(a){return t(this,pzc,8,a,Kc)};GF.messageId="b.FormatCommentRequest";var IF=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(IF,n);IF.prototype.getFormattedComment=function(){return r(this,Nl,1)};IF.prototype.setFormattedComment=function(a){t(this,Nl,1,a)};IF.prototype.hasFormattedComment=function(){return Me(this,Nl,1)};IF.prototype.getMentionsList=function(a){return ie(this,Iic,2,Rd(a))};var JF=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,JF.messageId)};Y(JF,n);JF.prototype.getIt=function(){return r(this,IF,3,Kc)};JF.prototype.setIt=function(a){return t(this,IF,3,a,Kc)};JF.messageId="b.FormatCommentResponse";var KF=function(){this.executor=x(ey);this.activeSession=x(Ks)};KF.prototype.format=function(a){return a.formattingMode==="LITERAL"||a.comment.trim()===""?rJa(a):qzc(this,a).pipe(C(qJa))};
var qzc=function(a,b){var c,d=(new pzc).setFormattingMode(Pl(b.formattingMode)).setSource(b.comment).setIssueId((c=be(b.issueId))!=null?c:0).setIdPrefix(b.idPrefix);c=b.audience==="EXTERNAL";var e=a.activeSession.getTracker();c=c?(e==null?void 0:e.externalBaseUrl)||a.activeSession.getExternalBaseUrl():(e==null?void 0:e.internalBaseUrl)||a.activeSession.getInternalBaseUrl();d=Vd(d,5,c);b=Xd(d,6,aic[b.audience]);return a.executor.post({url:"action/formatComment",body:(new GF).setIt(b),responseConstructor:JF})};
KF.\u0275fac=function(a){return new (a||KF)};KF.\u0275prov=Dg({token:KF,factory:KF.\u0275fac,providedIn:"root"});var LF=function(){this.executor=x(ey)},rzc=function(a,b){return a.executor.post({url:"action/current_user/preferences",responseConstructor:gf,body:vga(b)}).pipe(C(function(c){return Tfa(c)}))};LF.\u0275fac=function(a){return new (a||LF)};LF.\u0275prov=Dg({token:LF,factory:LF.\u0275fac,providedIn:"root"});var NF=function(){var a=this;this.userPreferencesManagerBase=x(MF);this.activeSession=x(Ks);this.destroyed$=new nj(1);this.preferencesSubject$=this.userPreferencesManagerBase.preferences$;this.preferences$=this.preferencesSubject$.pipe(C(wd));this.commentFormattingPreferences$=this.preferences$.pipe(C(function(b){return b.commentFormattingPreferences||{}}));this.lastPublishFormattingMode$=this.commentFormattingPreferences$.pipe(C(function(b){return b.lastPublishMode}),C(je),jj());this.commentCreateOverride$=
this.commentFormattingPreferences$.pipe(C(function(b){return b.commentCreateOverride}),C(je),C(function(b){return b==="UNSPECIFIED_FORMATTING_MODE"?void 0:b}),jj());this.isCommentCreateOverrideSet$=this.commentCreateOverride$.pipe(C(function(b){return b==="LITERAL"}),jj());this.commentDisplayOverride$=this.commentFormattingPreferences$.pipe(C(function(b){return b.commentDisplayOverride}),C(je),C(function(b){return b==="UNSPECIFIED_FORMATTING_MODE"?void 0:b}),jj());this.isCommentDisplayOverrideSet$=
this.commentDisplayOverride$.pipe(C(function(b){return b==="LITERAL"}),jj());this.currentCommentFormattingMode$=si([this.isCommentCreateOverrideSet$,this.lastPublishFormattingMode$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b&&a.activeSession.isInternalSession()?"LITERAL":c}));this.isCreateCommentFormatLiteral$=this.currentCommentFormattingMode$.pipe(C(function(b){return b==="LITERAL"}));this.themePreferences$=this.preferences$.pipe(C(function(b){var c;return(c=b.themePreferences)!=
null?c:wd(Nw.themePreferences)}),wp());this.listViewPreferences$=this.preferences$.pipe(C(function(b){var c;return(c=b.listViewPreferences)!=null?c:wd(Nw.listViewPreferences)}),wp());this.layoutPreferences$=this.preferences$.pipe(C(function(b){return a.getLayoutPreferences(b)}),wp());this.dateTimePreferences$=this.preferences$.pipe(C(function(b){var c;return(c=b.dateTimePreferences)!=null?c:wd(Nw.dateTimePreferences)}),wp());this.homepagePreferences$=this.preferences$.pipe(C(function(b){return a.getHomepagePreferences(b)}),
wp());this.keyboardPrefs$=this.preferences$.pipe(C(function(b){var c;return(c=b.keyboardPreferences)!=null?c:wd(Nw.keyboardPreferences)}),wp());this.displayColumnsPreferences$=this.preferences$.pipe(C(function(b){var c,d;return(d=(c=b.displayColumns)==null?void 0:c.column)!=null?d:[]}),wp());this.sortColumnsPreferences$=this.preferences$.pipe(C(function(b){var c,d;return(d=(c=b.sortColumns)==null?void 0:c.column)!=null?d:[]}),wp());this.bugScreensaverPreferences$=this.preferences$.pipe(C(function(b){var c;
return(c=b.bugScreensaverPreferences)!=null?c:wd(Nw.bugScreensaverPreferences)}),wp());this.teamWarningPreferences$=this.preferences$.pipe(C(function(b){var c;return(c=b.teamWarningPreferences)!=null?c:wd(Nw.teamWarningPreferences)}),wp());this.commentFilterPreferences$=this.preferences$.pipe(C(function(b){var c;return(c=b.commentFilterPreferences)!=null?c:wd(Nw.commentFilterPreferences)}),wp());this.codeFont$=this.preferences$.pipe(C(function(b){return!!b.useCodefont}),jj());this.autoCcOnComment$=
this.preferences$.pipe(C(function(b){var c;return(c=b.autoCcOnComment)!=null?c:!1}),jj());this.showFullHistory$=this.preferences$.pipe(C(function(b){return!!b.showFullHistory}),jj());this.resultsPerPage$=this.preferences$.pipe(C(function(b){var c;return(c=b.resultsPerPage)!=null?c:Nw.resultsPerPage}),jj());this.showRecentEventsFirst$=this.preferences$.pipe(C(function(b){return!!b.showRecentEventsFirst}),jj());this.showInlineImages$=this.preferences$.pipe(C(function(b){var c;return(c=b.showInlineImages)!=
null?c:Nw.showInlineImages}),jj())};NF.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};NF.prototype.save=function(a){return this.userPreferencesManagerBase.save(a)};
var szc=function(a,b){b=Object.assign({},a.getLayoutPreferences(a.preferencesSubject$.value),b);return a.save({layoutPreferences:b}).pipe(C(a.getLayoutPreferences))},tzc=function(a,b){var c,d,e;return v(function(f){if(f.nextAddress==1)return b==="LITERAL"?f.return():w(f,pi(a.preferences$),2);c=f.yieldResult;if(((d=c.commentFormattingPreferences)==null?void 0:d.lastPublishMode)===sfa(b))return f.return();e=Object.assign({},c.commentFormattingPreferences||{},{lastPublishMode:sfa(b)});return w(f,pi(a.save({commentFormattingPreferences:e})),
0)})},uzc=function(a,b){return a.save({homepagePreferences:b}).pipe(C(a.getHomepagePreferences))};NF.prototype.getDateTimePreferences=function(){var a;return(a=(void 0).dateTimePreferences)!=null?a:wd(Nw.dateTimePreferences)};var vzc=function(a,b){b=Object.assign({},a.preferencesSubject$.value.collapsed,b);return a.save({collapsed:b})},wzc=function(a,b){var c;return(c=a.preferencesSubject$.value.collapsed)==null?void 0:c[b]};
NF.prototype.saveResultsPerPage=function(a){return this.save({resultsPerPage:a}).pipe(C(function(b){var c;return(c=b.resultsPerPage)!=null?c:Nw.resultsPerPage}))};var xzc=function(a,b){return a.save({displayColumns:{column:b}}).pipe(C(function(c){var d,e;return(e=(d=c.displayColumns)==null?void 0:d.column)!=null?e:[]}))};NF.prototype.saveSortColumns=function(a){return this.save({sortColumns:{column:a}}).pipe(C(function(b){var c,d;return(d=(c=b.sortColumns)==null?void 0:c.column)!=null?d:[]}))};
var yzc=function(a,b){return a.save({teamWarningPreferences:b}).pipe(C(function(c){var d;return(d=c.teamWarningPreferences)!=null?d:wd(Nw.teamWarningPreferences)}))};NF.prototype.getLayoutPreferences=function(a){var b;return(b=a.layoutPreferences)!=null?b:wd(Nw.layoutPreferences)};NF.prototype.getHomepagePreferences=function(a){var b;return(b=a.homepagePreferences)!=null?b:wd(Nw.homepagePreferences)};var OF=function(a){return wd(a.preferencesSubject$.getValue())};
NF.\u0275fac=function(a){return new (a||NF)};NF.\u0275prov=Dg({token:NF,factory:NF.\u0275fac,providedIn:"root"});var MF=function(){this.activeSession=x(Ks);this.userPreferencesResources=x(LF);this.preferences$=new $n(wd(Nw));var a=this.preferences$.value,b=this.activeSession.getUserPreferences();b&&(a=Object.assign({},a,b),zzc(a));this.preferences$.next(a)};
MF.prototype.save=function(a){var b=this;return this.activeSession.isAnonymous()?li(Azc(this,a)):rzc(this.userPreferencesResources,a).pipe(C(function(){return Azc(b,a)}))};
var Azc=function(a,b){var c=wd(a.preferences$.value);c=Object.assign({},c,b);zzc(c);a.preferences$.next(c);return c},zzc=function(a){a.dateTimePreferences&&(a.dateTimePreferences.calendarFormat||(a.dateTimePreferences.calendarFormat=Nw.dateTimePreferences.calendarFormat),a.dateTimePreferences.timeFormat||(a.dateTimePreferences.timeFormat=Nw.dateTimePreferences.timeFormat),a.dateTimePreferences.sloEtaViewAs||(a.dateTimePreferences.sloEtaViewAs=Nw.dateTimePreferences.sloEtaViewAs));!a.notificationPreferences||
a.notificationPreferences.collaboratorPriority&&a.notificationPreferences.collaboratorPriority!=="UNKNOWN_PRIORITY"||(a.notificationPreferences.collaboratorPriority=Nw.notificationPreferences.collaboratorPriority)};MF.\u0275fac=function(a){return new (a||MF)};MF.\u0275prov=Dg({token:MF,factory:MF.\u0275fac,providedIn:"root"});var PF=function(){this.userPreferencesManager=x(NF);this.codefont$=this.userPreferencesManager.codeFont$};PF.\u0275fac=function(a){return new (a||PF)};PF.\u0275prov=Dg({token:PF,factory:PF.\u0275fac,providedIn:"root"});var Bzc=new kh("formatting mode",{factory:function(){return"UNSPECIFIED_FORMATTING_MODE"}});var Czc=["child"],QF=function(){this.codefont=x(PF)};QF.prototype.ngOnInit=function(){};QF.prototype.ngOnChanges=function(){Of(this.child.nativeElement,this.content.content)};QF.\u0275fac=function(a){return new (a||QF)};
QF.\u0275cmp=F({type:QF,selectors:[["b-literal-format-presenter"]],viewQuery:function(a,b){a&1&&ek(Czc,7);if(a&2){var c;ik(c=jk())&&(b.child=c.first)}},inputs:{content:"content"},standalone:!1,features:[Bk([{provide:Bzc,useValue:"LITERAL"}]),$w],decls:3,vars:4,consts:[["child",""],[1,"type-m","child"]],template:function(a,b){a&1&&(N(0,"div",1,0),W(2,"async"));a&2&&rk("codefont",X(2,2,b.codefont.codefont$))},dependencies:[py],styles:[".child[_ngcontent-%COMP%] { white-space: pre-wrap; }"],changeDetection:0});var RF=new kh("buganizerWindow",{factory:function(){return window}});var SF=function(){this.window=x(RF)};SF.prototype.openInNewTab=function(a){a=dd(a);jd(this.window,a,"_blank")};var yp=function(a,b){b=dd(b);jd(a.window,b)},TF=function(a,b){a=a.window.location;b=ed(b);b!==void 0&&(a.href=b)};SF.\u0275fac=function(a){return new (a||SF)};SF.\u0275prov=Dg({token:SF,factory:SF.\u0275fac,providedIn:"root"});var UF=function(){};UF.\u0275fac=function(a){return new (a||UF)};UF.\u0275cmp=F({type:UF,selectors:[["b-glue"]],standalone:!1,ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"no-wrapping"]],template:function(a){a&1&&(Zj(),L(0,"span",0),ak(1),M())},styles:['.no-wrapping[_ngcontent-%COMP%] {\n  white-space: nowrap;\n}\n\n.no-wrapping[_ngcontent-%COMP%]::after {\n  content: "\\002060"\n}'],changeDetection:0});var Dzc=new kh("GM2_TOOLTIP_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var Ezc=["tooltip"],Fzc=new kh("mat-tooltip-scroll-strategy",{providedIn:"root",factory:function(){var a=x(yj);return function(){return Om(a,{scrollThrottle:20})}}}),Gzc=new kh("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Hzc=zm({passive:!0}),WF=function(){this._elementRef=x(Ph);this._ngZone=x(Kk);this._platform=x(Qm);this._ariaDescriber=x(Xy);this._focusMonitor=x(Ey);this._dir=x(Xm);this._injector=x(yj);this._viewContainerRef=
x(ck);this._animationsDisabled=hn();this._defaultOptions=x(Gzc,{optional:!0});this._position="below";this._pointerExitEventsInitialized=this._viewInitialized=this._disabled=this._positionAtOrigin=!1;this._tooltipComponent=VF;this._viewportMargin=8;this._cssClassPrefix="mat-mdc";this._dirSubscribed=!1;this.touchGestures="auto";this._message="";this._passiveListeners=[];this._touchstartTimeout=null;this._destroyed=new oj;this._isDestroyed=!1;var a=this._defaultOptions;a&&(this._showDelay=a.showDelay,
this._hideDelay=a.hideDelay,a.position&&(this.position=a.position),a.positionAtOrigin&&(this.positionAtOrigin=a.positionAtOrigin),a.touchGestures&&(this.touchGestures=a.touchGestures),a.tooltipClass&&(this.tooltipClass=a.tooltipClass));this._viewportMargin=8};g=WF.prototype;
g.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(tj(this._destroyed)).subscribe(function(b){b?b==="keyboard"&&a._ngZone.run(function(){return a.show()}):a._ngZone.run(function(){return a.hide(0)})})};
g.ngOnDestroy=function(){var a=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null);this._passiveListeners.forEach(function(b){var c=l(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,Hzc)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();this._isDestroyed=!0;Yy(this._ariaDescriber,a,this.message,"tooltip");this._focusMonitor.stopMonitoring(a)};
g.show=function(a,b){var c=this;a=a===void 0?this.showDelay:a;if(this.disabled||!this.message||this._isTooltipVisible()){var d;(d=this._tooltipInstance)==null||d._cancelPendingAnimations()}else b=this._createOverlay(b),this._detach(),this._portal=this._portal||new Az(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b.afterHidden().pipe(tj(this._destroyed)).subscribe(function(){return c._detach()}),
this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),b.show(a)};g.hide=function(a){a=a===void 0?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 Ph)return this._overlayRef;this._detach()}var d=Boc(this._injector.get(Nm),this._elementRef);c=this._cssClassPrefix+"-tooltip-panel";a=Ooc(tz(uz(Soc(Sm(this._injector,this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),d);a.positionChanges.pipe(tj(this._destroyed)).subscribe(function(f){b._updateCurrentPositionClass(f.connectionPair);
b._tooltipInstance&&f.scrollableViewProperties.isOverlayClipped&&b._tooltipInstance.isVisible()&&b._ngZone.run(function(){return b.hide(0)})});this._overlayRef=fn(this._injector,{direction:this._dir,positionStrategy:a,panelClass:this._overlayPanelClass?[].concat(p(this._overlayPanelClass),[c]):c,scrollStrategy:this._injector.get(Fzc)(),disableAnimations:this._animationsDisabled});this._updatePosition(this._overlayRef);this._overlayRef._detachments.pipe(tj(this._destroyed)).subscribe(function(){return b._detach()});
this._overlayRef.outsidePointerEvents().pipe(tj(this._destroyed)).subscribe(function(){var f;return(f=b._tooltipInstance)==null?void 0:f._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(tj(this._destroyed)).subscribe(function(f){b._isTooltipVisible()&&f.keyCode===27&&!ym(f)&&(f.preventDefault(),f.stopPropagation(),b._ngZone.run(function(){return b.hide(0)}))});var e;((e=this._defaultOptions)==null?0:e.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(this._cssClassPrefix+
"-tooltip-panel-non-interactive");this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(tj(this._destroyed)).subscribe(function(){b._overlayRef&&b._updatePosition(b._overlayRef)}));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();sz(a,[this._addOffset(Object.assign({},b.main,c.main)),this._addOffset(Object.assign({},b.fallback,c.fallback))])};g._addOffset=function(a){var b=!this._dir||this._dir.value=="ltr";a.originY==="top"?a.offsetY=-8:a.originY==="bottom"?a.offsetY=8:a.originX==="start"?a.offsetX=b?-8:8:a.originX==="end"&&(a.offsetX=b?8:-8);return a};
g._getOrigin=function(){var a=!this._dir||this._dir.value=="ltr",b=this.position;if(b=="above"||b=="below")var c={originX:"center",originY:b=="above"?"top":"bottom"};else if(b=="before"||b=="left"&&a||b=="right"&&!a)c={originX:"start",originY:"center"};else if(b=="after"||b=="right"&&a||b=="left"&&!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||this._dir.value=="ltr",b=this.position;if(b=="above")var c={overlayX:"center",overlayY:"bottom"};else if(b=="below")c={overlayX:"center",overlayY:"top"};else if(b=="before"||b=="left"&&a||b=="right"&&!a)c={overlayX:"end",overlayY:"center"};else if(b=="after"||b=="right"&&a||b=="left"&&!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(),Ej(function(){a._tooltipInstance&&a._overlayRef.updatePosition()},{injector:this._injector}))};g._setTooltipClass=function(a){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=a,this._tooltipInstance._markForCheck())};
g._invertPosition=function(a,b){this.position==="above"||this.position==="below"?b==="top"?b="bottom":b==="bottom"&&(b="top"):a==="end"?a="start":a==="start"&&(a="end");return{x:a,y:b}};
g._updateCurrentPositionClass=function(a){var b=a.overlayY,c=a.originX;a=a.originY;b=b==="center"?this._dir&&this._dir.value==="rtl"?c==="end"?"left":"right":c==="start"?"left":"right":b==="bottom"&&a==="top"?"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;b.x!==void 0&&b.y!==void 0&&(c=b);a.show(void 0,c)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(b){var c,d=(b=(c=b.targetTouches)==null?void 0:
c[0])?{x:b.clientX,y:b.clientY}:void 0;a._setupPointerExitEventsIfNeeded();a._touchstartTimeout&&clearTimeout(a._touchstartTimeout);var e,f;a._touchstartTimeout=setTimeout(function(){a._touchstartTimeout=null;a.show(void 0,d)},(f=(e=a._defaultOptions)==null?void 0:e.touchLongPressShowDelay)!=null?f: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&&((e=a._overlayRef)==null?0:e.overlayElement.contains(d))||a.hide()}],["wheel",function(d){return a._wheelListener(d)}]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();var c=function(){a._touchstartTimeout&&clearTimeout(a._touchstartTimeout);
var d;a.hide((d=a._defaultOptions)==null?void 0:d.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=l(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,Hzc)})};g._platformSupportsMouseEvents=function(){return!this._platform.IOS&&!this._platform.ANDROID};
g._wheelListener=function(a){if(this._isTooltipVisible()){a=this._injector.get(Mm).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(a!=="off"){var b=this._elementRef.nativeElement,c=b.style;if(a==="on"||b.nodeName!=="INPUT"&&b.nodeName!=="TEXTAREA")c.userSelect=c.msUserSelect=c.webkitUserSelect=c.MozUserSelect="none";a!=="on"&&b.draggable||(c.webkitUserDrag="none");c.touchAction="none";c.webkitTapHighlightColor="transparent"}};
g._syncAriaDescription=function(a){var b=this;this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,Yy(this._ariaDescriber,this._elementRef.nativeElement,a,"tooltip"),this._isDestroyed||Ej({write:function(){b._ariaDescriptionPending=!1;b.message&&!b.disabled&&ooc(b._ariaDescriber,b._elementRef.nativeElement,b.message,"tooltip")}},{injector:this._injector}))};
pg.Object.defineProperties(WF.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;(b=this._tooltipInstance)==null||b.show(0);this._overlayRef.updatePosition()}}},positionAtOrigin:{configurable:!0,enumerable:!0,get:function(){return this._positionAtOrigin},set:function(a){this._positionAtOrigin=um(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){a=um(a);this._disabled!==a&&((this._disabled=a)?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=xm(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=xm(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=
this._hideDelay)}},message:{configurable:!0,enumerable:!0,get:function(){return this._message},set:function(a){var b=this._message;this._message=a!=null?String(a).trim():"";!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage());this._syncAriaDescription(b)}},tooltipClass:{configurable:!0,enumerable:!0,get:function(){return this._tooltipClass},set:function(a){this._tooltipClass=a;this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}}});
WF.\u0275fac=function(a){return new (a||WF)};
WF.\u0275dir=$i({type:WF,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&rk("mat-mdc-tooltip-disabled",b.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],
message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]});var VF=function(){this._changeDetectorRef=x(sx);this._elementRef=x(Ph);this._isMultiline=!1;this._animationsDisabled=hn();this._isVisible=this._closeOnInteraction=!1;this._onHide=new oj;this._showAnimation="mat-mdc-tooltip-show";this._hideAnimation="mat-mdc-tooltip-hide"};g=VF.prototype;
g.show=function(a){var b=this;this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=setTimeout(function(){b._toggleVisibility(!0);b._showTimeoutId=void 0},a)};g.hide=function(a){var b=this;this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId);this._hideTimeoutId=setTimeout(function(){b._toggleVisibility(!1);b._hideTimeoutId=void 0},a)};g.afterHidden=function(){return this._onHide};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(){this._isMultiline=this._isTooltipMultiline();this._markForCheck()};
g._isTooltipMultiline=function(){var a=this._elementRef.nativeElement.getBoundingClientRect();return a.height>24&&a.width>=200};g._handleAnimationEnd=function(a){a=a.animationName;a!==this._showAnimation&&a!==this._hideAnimation||this._finalizeAnimation(a===this._showAnimation)};g._cancelPendingAnimations=function(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId);this._hideTimeoutId!=null&&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._isVisible=a,this._changeDetectorRef.markForCheck());a&&!this._animationsDisabled&&typeof getComputedStyle==="function"&&(c=getComputedStyle(b),c.getPropertyValue("animation-duration")==="0s"||c.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0);a&&this._onShow();this._animationsDisabled&&
(b.classList.add("_mat-animation-noopable"),this._finalizeAnimation(a))};VF.\u0275fac=function(a){return new (a||VF)};
VF.\u0275cmp=F({type:VF,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&ek(Ezc,7);if(a&2){var c;ik(c=jk())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(a,b){a&1&&Q("mouseleave",function(c){return b._handleMouseLeave(c)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(a,b){if(a&1){var c=y();L(0,"div",1,0);Q("animationend",
function(d){z(c);return B(b._handleAnimationEnd(d))});L(2,"div",2);U(3);M()()}a&2&&(rk("mdc-tooltip--multiline",b._isMultiline),K("ngClass",b.tooltipClass),E(3),tk(b.message))},dependencies:[ly],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-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}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.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 XF=function(){};XF.\u0275fac=function(a){return new (a||XF)};XF.\u0275mod=Zi({type:XF});XF.\u0275inj=Eg({imports:[Wy,Jz,kz,pz]});var YF=function(){if(x(Dzc).disableGmatStyle)throw Error("Mb");var a=x(WF,{self:!0,optional:!0});a&&(a._overlayPanelClass=["gmat-mdc-tooltip"])};YF.\u0275fac=function(a){return new (a||YF)};YF.\u0275dir=$i({type:YF,selectors:[["","matTooltip",""]]});var Izc=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.fullscreenElement||this._document.body).appendChild(c)};Izc.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};
Izc.prototype.destroy=function(){var a=this._textarea;a&&(a.remove(),this._textarea=void 0)};var ZF=function(){this._document=x(Mm)};ZF.prototype.copy=function(a){a=new Izc(a,this._document);var b=a.copy();a.destroy();return b};ZF.\u0275fac=function(a){return new (a||ZF)};ZF.\u0275prov=Dg({token:ZF,factory:ZF.\u0275fac,providedIn:"root"});new kh("CDK_COPY_TO_CLIPBOARD_CONFIG");var Jzc=["el"],$F=function(){this.clipboard=x(ZF);this.snackBar=x(JA);this.domSafe=x(SF);this.scrollStrategy=x(rz).close();this.opened=!1};$F.prototype.getNgContentParentEl=function(){return this.el.nativeElement};$F.prototype.hide=function(){this.opened=!1};$F.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};$F.\u0275fac=function(a){return new (a||$F)};
$F.\u0275cmp=F({type:$F,selectors:[["b-broken-link"]],viewQuery:function(a,b){a&1&&ek(Jzc,7);if(a&2){var c;ik(c=jk())&&(b.el=c.first)}},inputs:{originalHref:"originalHref"},standalone:!1,ngContentSelectors:["*"],decls:8,vars:4,consts:[["trigger","cdkOverlayOrigin"],["el",""],["cdkOverlayOrigin","","aria-haspopup","true",1,"broken",3,"click"],["svgIcon","link-off",1,"broken","icon-s"],["cdkConnectedOverlay","","cdkConnectedOverlayPanelClass","tooltip-panel",3,"overlayOutsideClick","detach","cdkConnectedOverlayPush",
"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayScrollStrategy"],["cdkTrapFocus","","cdkTrapFocusAutoCapture","",1,"b-bubble","flex-kids-y"],[1,"flex-kids-x"],["type","button","mat-button","","matTooltip","Copy to clipboard","aria-label","Copy URL to clipboard",1,"tiny",3,"click"],["svgIcon","copy"],[3,"click","href"]],template:function(a,b){if(a&1){var c=y();Zj();L(0,"a",2,0);Q("click",function(d){z(c);d.preventDefault();d.stopPropagation();b.opened=!0;return B()});L(2,
"b-glue");N(3,"mat-icon",3);M();L(4,"span",null,1);ak(6);M()();G(7,uJa,1,1,"ng-template",4);Q("overlayOutsideClick",function(){z(c);return B(b.hide())})("detach",function(){z(c);return B(b.hide())})}a&2&&(a=T(1),E(7),K("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",b.opened)("cdkConnectedOverlayScrollStrategy",b.scrollStrategy))},dependencies:[Ny,EA,Iz,Hz,UF,dA,aA,YF,WF],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 Kzc=new kh("GM2_CHECKBOX_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var aG=function(a){this.options=a;if(a.disableGmatStyle)throw Error("Mb");};aG.\u0275fac=function(a){return new (a||aG)(Ui(Kzc))};aG.\u0275dir=$i({type:aG,selectors:[["mat-checkbox"]],hostAttrs:[1,"gmat-mdc-checkbox"],standalone:!1});var bG=function(a,b){this._renderer=a;this._elementRef=b;this.onChange=function(){};this.onTouched=function(){}};bG.prototype.setProperty=function(a,b){this._renderer.setProperty(this._elementRef.nativeElement,a,b)};bG.prototype.registerOnTouched=function(a){this.onTouched=a};bG.prototype.registerOnChange=function(a){this.onChange=a};bG.prototype.setDisabledState=function(a){this.setProperty("disabled",a)};bG.\u0275fac=function(a){return new (a||bG)(Ui($m),Ui(Ph))};bG.\u0275dir=$i({type:bG});
var Cp=function(){bG.apply(this,arguments)};Y(Cp,bG);Cp.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(Cp)))(b||Cp)}}();Cp.\u0275dir=$i({type:Cp,features:[xj]});var cG=new kh("");var Lzc={provide:cG,useExisting:$g(function(){return Bp}),multi:!0},Mzc=new kh(""),Bp=function(a,b,c){bG.call(this,a,b);this._compositionMode=c;this._composing=!1;this._compositionMode==null&&(this._compositionMode=!/android (\d+)/.test((Onc?window.navigator.userAgent:"").toLowerCase()))};Y(Bp,bG);Bp.prototype.writeValue=function(a){this.setProperty("value",a==null?"":a)};Bp.prototype._handleInput=function(a){if(!this._compositionMode||this._compositionMode&&!this._composing)this.onChange(a)};
Bp.prototype._compositionStart=function(){this._composing=!0};Bp.prototype._compositionEnd=function(a){this._composing=!1;this._compositionMode&&this.onChange(a)};Bp.\u0275fac=function(a){return new (a||Bp)(Ui($m),Ui(Ph),Ui(Mzc,8))};
Bp.\u0275dir=$i({type:Bp,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&&Q("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)})},standalone:!1,features:[Bk([Lzc]),xj]});var dG=new kh(""),Nzc=new kh(""),zp=function(a){return zJa(a)};var eG=function(){this._rawValidators=[];this._rawAsyncValidators=[];this._onDestroyCallbacks=[]};g=eG.prototype;g._setValidators=function(a){this._rawValidators=a||[];this._composedValidatorFn=JJa(this._rawValidators)};g._setAsyncValidators=function(a){this._rawAsyncValidators=a||[];this._composedAsyncValidatorFn=LJa(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};
pg.Object.defineProperties(eG.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 fG=function(){eG.apply(this,arguments);this.valueAccessor=this.name=this._parent=null};Y(fG,eG);var gG=function(){eG.apply(this,arguments)};Y(gG,eG);pg.Object.defineProperties(gG.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return null}},path:{configurable:!0,enumerable:!0,get:function(){return null}}});var Ozc=function(a){this._cd=a};
pg.Object.defineProperties(Ozc.prototype,{isTouched:{configurable:!0,enumerable:!0,get:function(){var a,b,c;(a=this._cd)==null||(b=a.control)==null||(c=b._touched)==null||c.call(b);var d,e;return!!((d=this._cd)==null?0:(e=d.control)==null?0:e.touched)}},isUntouched:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!((a=this._cd)==null?0:(b=a.control)==null?0:b.untouched)}},isPristine:{configurable:!0,enumerable:!0,get:function(){var a,b,c;(a=this._cd)==null||(b=a.control)==null||(c=b._pristine)==
null||c.call(b);var d,e;return!!((d=this._cd)==null?0:(e=d.control)==null?0:e.pristine)}},isDirty:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!((a=this._cd)==null?0:(b=a.control)==null?0:b.dirty)}},isValid:{configurable:!0,enumerable:!0,get:function(){var a,b,c;(a=this._cd)==null||(b=a.control)==null||(c=b._status)==null||c.call(b);var d,e;return!!((d=this._cd)==null?0:(e=d.control)==null?0:e.valid)}},isInvalid:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!((a=this._cd)==
null?0:(b=a.control)==null?0:b.invalid)}},isPending:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!((a=this._cd)==null?0:(b=a.control)==null?0:b.pending)}},isSubmitted:{configurable:!0,enumerable:!0,get:function(){var a,b;(a=this._cd)==null||(b=a._submitted)==null||b.call(a);var c;return!((c=this._cd)==null||!c.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 hG=function(a){this._cd=a};Y(hG,Ozc);hG.\u0275fac=function(a){return new (a||hG)(Ui(fG,2))};
hG.\u0275dir=$i({type:hG,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,b){a&2&&rk("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)},standalone:!1,features:[xj]});var iG=function(a){this._cd=a};Y(iG,Ozc);iG.\u0275fac=function(a){return new (a||iG)(Ui(gG,10))};
iG.\u0275dir=$i({type:iG,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,b){a&2&&rk("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)},standalone:!1,features:[xj]});var Pzc=new kh("",{providedIn:"root",factory:function(){return"whenDisabledForLegacyCode"}});var jG=function(){},Qzc=function(a,b){this.value=a;this.source=b};Y(Qzc,jG);var Rzc=function(a,b){this.pristine=a;this.source=b};Y(Rzc,jG);var Szc=function(a,b){this.touched=a;this.source=b};Y(Szc,jG);var Tzc=function(a,b){this.status=a;this.source=b};Y(Tzc,jG);var Uzc=function(a){this.source=a};Y(Uzc,jG);var Vzc=function(a){this.source=a};Y(Vzc,jG);
var kG=function(a,b){var c=this;this._pendingDirty=!1;this._hasOwnPendingAsyncValidator=null;this._pendingTouched=!1;this._onCollectionChange=function(){};this._parent=null;this._status=Sk.apply(null,[function(){return c.statusReactive()}].concat(p([])));this.statusReactive=kk.apply(null,[void 0].concat(p([])));this._pristine=Sk.apply(null,[function(){return c.pristineReactive()}].concat(p([])));this.pristineReactive=kk.apply(null,[!0].concat(p([])));this._touched=Sk.apply(null,[function(){return c.touchedReactive()}].concat(p([])));
this.touchedReactive=kk.apply(null,[!1].concat(p([])));this._events=new oj;this.events=ex(this._events);this._onDisabledChange=[];this._assignValidators(a);this._assignAsyncValidators(b)},ZJa=function(a,b){a._assignValidators(b)},$Ja=function(a,b){a._assignAsyncValidators(b)},Pqa=function(a,b){b=b===void 0?{}:b;var c=a.touched===!1;a.touched=!0;var d,e=(d=b.sourceControl)!=null?d:a;a._parent&&!b.onlySelf&&Pqa(a._parent,Object.assign({},b,{sourceControl:e}));c&&b.emitEvent!==!1&&a._events.next(new Szc(!0,
e))},Wzc=function(a,b){b=b===void 0?{}:b;var c=a.touched===!0;a.touched=!1;a._pendingTouched=!1;var d,e=(d=b.sourceControl)!=null?d:a;a._forEachChild(function(f){Wzc(f,{onlySelf:!0,emitEvent:b.emitEvent,sourceControl:e})});a._parent&&!b.onlySelf&&a._parent._updateTouched(b,e);c&&b.emitEvent!==!1&&a._events.next(new Szc(!1,e))},bKa=function(a,b){b=b===void 0?{}:b;var c=a.pristine===!0;a.pristine=!1;var d,e=(d=b.sourceControl)!=null?d:a;a._parent&&!b.onlySelf&&bKa(a._parent,Object.assign({},b,{sourceControl:e}));
c&&b.emitEvent!==!1&&a._events.next(new Rzc(!1,e))},Xzc=function(a,b){b=b===void 0?{}:b;var c=a.pristine===!1;a.pristine=!0;a._pendingDirty=!1;var d,e=(d=b.sourceControl)!=null?d:a;a._forEachChild(function(f){Xzc(f,{onlySelf:!0,emitEvent:b.emitEvent})});a._parent&&!b.onlySelf&&a._parent._updatePristine(b,e);c&&b.emitEvent!==!1&&a._events.next(new Rzc(!0,e))};g=kG.prototype;
g.disable=function(a){a=a===void 0?{}:a;var b=this._parentMarkedDirty(a.onlySelf);this.status="DISABLED";this.errors=null;this._forEachChild(function(e){e.disable(Object.assign({},a,{onlySelf:!0}))});this._updateValue();var c,d=(c=a.sourceControl)!=null?c:this;a.emitEvent!==!1&&(this._events.next(new Qzc(this.value,d)),this._events.next(new Tzc(this.status,d)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status));this._updateAncestors(Object.assign({},a,{skipPristineCheck:b}),this);
this._onDisabledChange.forEach(function(e){return e(!0)})};g.enable=function(a){a=a===void 0?{}:a;var b=this._parentMarkedDirty(a.onlySelf);this.status="VALID";this._forEachChild(function(c){c.enable(Object.assign({},a,{onlySelf:!0}))});Ap(this,{onlySelf:!0,emitEvent:a.emitEvent});this._updateAncestors(Object.assign({},a,{skipPristineCheck:b}),this);this._onDisabledChange.forEach(function(c){return c(!1)})};
g._updateAncestors=function(a,b){this._parent&&!a.onlySelf&&(Ap(this._parent,a),a.skipPristineCheck||this._parent._updatePristine({},b),this._parent._updateTouched({},b))};g.setParent=function(a){this._parent=a};g.getRawValue=function(){return this.value};
var Ap=function(a,b){b=b===void 0?{}:b;a._setInitialStatus();a._updateValue();if(a.enabled){var c=a._cancelExistingSubscription();a.errors=a._runValidator();a.status=a._calculateStatus();a.status!=="VALID"&&a.status!=="PENDING"||a._runAsyncValidator(c,b.emitEvent)}var d;c=(d=b.sourceControl)!=null?d:a;b.emitEvent!==!1&&(a._events.next(new Qzc(a.value,c)),a._events.next(new Tzc(a.status,c)),a.valueChanges.emit(a.value),a.statusChanges.emit(a.status));a._parent&&!b.onlySelf&&Ap(a._parent,Object.assign({},
b,{sourceControl:c}))};g=kG.prototype;g._updateTreeValidity=function(a){a=a===void 0?{emitEvent:!0}:a;this._forEachChild(function(b){return b._updateTreeValidity(a)});Ap(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,b){var c=this;this.asyncValidator&&(this.status="PENDING",this._hasOwnPendingAsyncValidator={emitEvent:b!==!1,shouldHaveEmitted:a!==!1},this._asyncValidationSubscription=EJa(this.asyncValidator(this)).subscribe(function(d){c._hasOwnPendingAsyncValidator=null;c.setErrors(d,{emitEvent:b,shouldHaveEmitted:a})}))};
g._cancelExistingSubscription=function(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();var a,b,c,d=(c=((a=this._hasOwnPendingAsyncValidator)==null?void 0:a.emitEvent)||((b=this._hasOwnPendingAsyncValidator)==null?void 0:b.shouldHaveEmitted))!=null?c:!1;this._hasOwnPendingAsyncValidator=null;return d}return!1};g.setErrors=function(a,b){b=b===void 0?{}:b;this.errors=a;this._updateControlsErrors(b.emitEvent!==!1,this,b.shouldHaveEmitted)};
g.get=function(a){if(a==null)return null;Array.isArray(a)||(a=a.split("."));return a.length===0?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,b,c){this.status=this._calculateStatus();a&&this.statusChanges.emit(this.status);(a||c)&&this._events.next(new Tzc(this.status,b));this._parent&&this._parent._updateControlsErrors(a,b,c)};g._initObservables=function(){this.valueChanges=new Lp;this.statusChanges=new Lp};
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,b){var c=!this._anyControlsDirty(),d=this.pristine!==c;this.pristine=c;this._parent&&!a.onlySelf&&this._parent._updatePristine(a,b);d&&this._events.next(new Rzc(this.pristine,b))};g._updateTouched=function(a,b){a=a===void 0?{}:a;this.touched=this._anyControlsTouched();this._events.next(new Szc(this.touched,b));this._parent&&!a.onlySelf&&this._parent._updateTouched(a,b)};g._registerOnCollectionChange=function(a){this._onCollectionChange=a};
g._setUpdateStrategy=function(a){Dp(a)&&a.updateOn!=null&&(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)?JJa(a):a||null};
g._assignAsyncValidators=function(a){a=this._rawAsyncValidators=Array.isArray(a)?a.slice():a;this._composedAsyncValidatorFn=Array.isArray(a)?LJa(a):a||null};
pg.Object.defineProperties(kG.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}},status:{configurable:!0,enumerable:!0,get:function(){return Rg(this.statusReactive)},
set:function(a){var b=this;Rg(function(){return b.statusReactive.set(a)})}},valid:{configurable:!0,enumerable:!0,get:function(){return this.status==="VALID"}},invalid:{configurable:!0,enumerable:!0,get:function(){return this.status==="INVALID"}},pending:{configurable:!0,enumerable:!0,get:function(){return this.status=="PENDING"}},disabled:{configurable:!0,enumerable:!0,get:function(){return this.status==="DISABLED"}},enabled:{configurable:!0,enumerable:!0,get:function(){return this.status!=="DISABLED"}},
pristine:{configurable:!0,enumerable:!0,get:function(){return Rg(this.pristineReactive)},set:function(a){var b=this;Rg(function(){return b.pristineReactive.set(a)})}},dirty:{configurable:!0,enumerable:!0,get:function(){return!this.pristine}},touched:{configurable:!0,enumerable:!0,get:function(){return Rg(this.touchedReactive)},set:function(a){var b=this;Rg(function(){return b.touchedReactive.set(a)})}},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 lG=function(a,b,c){kG.call(this,(Dp(b)?b.validators:b)||null,(Dp(b)?b.asyncValidators:c)||null);this.controls=a;this._initObservables();this._setUpdateStrategy(b);this._setUpControls();Ap(this,{onlySelf:!0,emitEvent:!!this.asyncValidator})};Y(lG,kG);var Yzc=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=lG.prototype;
g.addControl=function(a){var b=b===void 0?{}:b;Yzc(this,a);Ap(this,{emitEvent:b.emitEvent});this._onCollectionChange()};g.removeControl=function(a){var b=b===void 0?{}:b;this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){});delete this.controls[a];Ap(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=b===void 0?{}:b;gKa(this,a);Object.keys(a).forEach(function(d){fKa(c,!0,d);c.controls[d].setValue(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});Ap(this,b)};g.patchValue=function(a,b){var c=this;b=b===void 0?{}:b;a!=null&&(Object.keys(a).forEach(function(d){var e=c.controls[d];e&&e.patchValue(a[d],{onlySelf:!0,emitEvent:b.emitEvent})}),Ap(this,b))};
g.reset=function(a,b){a=a===void 0?{}:a;b=b===void 0?{}:b;this._forEachChild(function(d,e){d.reset(a?a[e]:null,{onlySelf:!0,emitEvent:b.emitEvent})});this._updatePristine(b,this);this._updateTouched(b,this);Ap(this,b);var c;((c=b)==null?void 0:c.emitEvent)!==!1&&this._events.next(new Vzc(this))};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&&Ap(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=l(Object.entries(this.controls)),c=b.next();!c.done;c=b.next()){var d=l(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=l(Object.keys(this.controls)),b=a.next();!b.done;b=a.next())if(this.controls[b.value].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled};g._find=function(a){return this.controls.hasOwnProperty(a)?this.controls[a]:null};var Zzc=function(){lG.apply(this,arguments)};Y(Zzc,lG);var $zc={provide:gG,useExisting:$g(function(){return mG})},aAc=Promise.resolve(),mG=function(a,b,c){gG.call(this);var d=this;this.callSetDisabledState=c;this._submitted=Sk.apply(null,[function(){return d.submittedReactive()}].concat(p([])));this.submittedReactive=kk.apply(null,[!1].concat(p([])));this._directives=new Set;this.ngSubmit=new Lp;this.form=new lG({},JJa(a),LJa(b))};Y(mG,gG);g=mG.prototype;g.ngAfterViewInit=function(){this._setUpdateStrategy()};
g.addControl=function(a){var b=this;aAc.then(function(){var c=b._findContainer(a.path);a.control=Yzc(c,a.name,a.control);VJa(a.control,a,b.callSetDisabledState);Ap(a.control,{emitEvent:!1});b._directives.add(a)})};g.removeControl=function(a){var b=this;aAc.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;aAc.then(function(){c.form.get(a.path).setValue(b)})};g.setValue=function(a){this.control.setValue(a)};
g.onSubmit=function(a){this.submittedReactive.set(!0);dKa(this.form,this._directives);this.ngSubmit.emit(a);this.form._events.next(new Uzc(this.control));var b;return(a==null?void 0:(b=a.target)==null?void 0:b.method)==="dialog"};g.onReset=function(){this.resetForm()};g.resetForm=function(a){this.form.reset(a);this.submittedReactive.set(!1)};g._setUpdateStrategy=function(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)};
g._findContainer=function(a){a.pop();return a.length?this.form.get(a):this.form};pg.Object.defineProperties(mG.prototype,{submitted:{configurable:!0,enumerable:!0,get:function(){return Rg(this.submittedReactive)}},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}}});
mG.\u0275fac=function(a){return new (a||mG)(Ui(dG,10),Ui(Nzc,10),Ui(Pzc,8))};mG.\u0275dir=$i({type:mG,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,b){a&1&&Q("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Bk([$zc]),xj]});var nG=function(a,b,c){a=a===void 0?null:a;kG.call(this,(Dp(b)?b.validators:b)||null,(Dp(b)?b.asyncValidators:c)||null);this.defaultValue=null;this._onChange=[];this._pendingChange=!1;this._applyFormState(a);this._setUpdateStrategy(b);this._initObservables();Ap(this,{onlySelf:!0,emitEvent:!!this.asyncValidator});Dp(b)&&(b.nonNullable||b.initialValueIsDefault)&&(hKa(a)?this.defaultValue=a.value:this.defaultValue=a)};Y(nG,kG);g=nG.prototype;
g.setValue=function(a,b){var c=this;b=b===void 0?{}:b;this.value=this._pendingValue=a;this._onChange.length&&b.emitModelToViewChange!==!1&&this._onChange.forEach(function(d){return d(c.value,b.emitViewToModelChange!==!1)});Ap(this,b)};g.patchValue=function(a,b){b=b===void 0?{}:b;this.setValue(a,b)};
g.reset=function(a,b){a=a===void 0?this.defaultValue:a;b=b===void 0?{}:b;this._applyFormState(a);Xzc(this,b);Wzc(this,b);this.setValue(this.value,b);this._pendingChange=!1;var c;((c=b)==null?void 0:c.emitEvent)!==!1&&this._events.next(new Vzc(this))};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);a>-1&&b.splice(a,1)};g._unregisterOnDisabledChange=function(a){var b=this._onDisabledChange;a=b.indexOf(a);a>-1&&b.splice(a,1)};g._forEachChild=function(){};g._syncPendingControls=function(){return this.updateOn==="submit"&&(this._pendingDirty&&bKa(this),this._pendingTouched&&Pqa(this),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1};
g._applyFormState=function(a){hKa(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 bAc={provide:fG,useExisting:$g(function(){return oG})},cAc=Promise.resolve(),oG=function(a,b,c,d,e,f){fG.call(this);this._changeDetectorRef=e;this.callSetDisabledState=f;this.control=new nG;this._registered=!1;this.name="";this.update=new Lp;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=eKa(d)};Y(oG,fG);g=oG.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);cKa(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&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)};g._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)};
g._setUpStandalone=function(){VJa(this.control,this,this.callSetDisabledState);Ap(this.control,{emitEvent:!1})};g._checkForErrors=function(){this._checkName()};g._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name)};g._updateValue=function(a){var b=this;cAc.then(function(){b.control.setValue(a,{emitViewToModelChange:!1});var c;(c=b._changeDetectorRef)==null||c.markForCheck()})};
g._updateDisabled=function(a){var b=this;a=a.isDisabled.currentValue;var c=a!==0&&Tk(a);cAc.then(function(){c&&!b.control.disabled?b.control.disable():!c&&b.control.disabled&&b.control.enable();var d;(d=b._changeDetectorRef)==null||d.markForCheck()})};g._getPath=function(a){return this._parent?PJa(a,this._parent):[a]};
pg.Object.defineProperties(oG.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}}});oG.\u0275fac=function(a){return new (a||oG)(Ui(gG,9),Ui(dG,10),Ui(Nzc,10),Ui(cG,10),Ui(sx,8),Ui(Pzc,8))};
oG.\u0275dir=$i({type:oG,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Bk([bAc]),xj,$w]});var pG=function(){};pG.\u0275fac=function(a){return new (a||pG)};pG.\u0275dir=$i({type:pG,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1});var dAc={provide:cG,useExisting:$g(function(){return qG}),multi:!0},qG=function(){Cp.apply(this,arguments)};Y(qG,Cp);qG.prototype.writeValue=function(a){this.setProperty("value",a==null?"":a)};qG.prototype.registerOnChange=function(a){this.onChange=function(b){a(b==""?null:parseFloat(b))}};qG.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(qG)))(b||qG)}}();
qG.\u0275dir=$i({type:qG,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(a,b){a&1&&Q("input",function(c){return b.onChange(c.target.value)})("blur",function(){return b.onTouched()})},standalone:!1,features:[Bk([dAc]),xj]});var eAc={provide:cG,useExisting:$g(function(){return rG}),multi:!0},sG=function(){this._accessors=[]};sG.prototype.add=function(a,b){this._accessors.push([a,b])};sG.prototype.remove=function(a){for(var b=this._accessors.length-1;b>=0;--b)if(this._accessors[b][1]===a){this._accessors.splice(b,1);break}};sG.prototype.select=function(a){var b=this;this._accessors.forEach(function(c){b._isSameGroup(c,a)&&c[1]!==a&&c[1].writeValue(a.value)})};
sG.prototype._isSameGroup=function(a,b){return a[0].control?a[0]._parent===b._control._parent&&a[1].name===b.name:!1};sG.\u0275fac=function(a){return new (a||sG)};sG.\u0275prov=Dg({token:sG,factory:sG.\u0275fac,providedIn:"root"});var rG=function(a,b,c,d){Cp.call(this,a,b);this._registry=c;this._injector=d;this.setDisabledStateFired=!1;this.onChange=function(){};var e;this.callSetDisabledState=(e=x(Pzc,{optional:!0}))!=null?e:"whenDisabledForLegacyCode"};Y(rG,Cp);g=rG.prototype;
g.ngOnInit=function(){this._control=this._injector.get(fG);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||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",a);this.setDisabledStateFired=!0};g._checkName=function(){!this.name&&this.formControlName&&(this.name=this.formControlName)};rG.\u0275fac=function(a){return new (a||rG)(Ui($m),Ui(Ph),Ui(sG),Ui(yj))};
rG.\u0275dir=$i({type:rG,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(a,b){a&1&&Q("change",function(){return b.onChange()})("blur",function(){return b.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[Bk([eAc]),xj]});var tG=function(a,b,c){gG.call(this);var d=this;this.callSetDisabledState=c;this._submitted=Sk.apply(null,[function(){return d._submittedReactive()}].concat(p([])));this._submittedReactive=kk.apply(null,[!1].concat(p([])));this._onCollectionChange=function(){return d._updateDomValue()};this.directives=[];this._setValidators(a);this._setAsyncValidators(b)};Y(tG,gG);g=tG.prototype;g.ngOnChanges=function(a){this.onChanges(a)};g.ngOnDestroy=function(){this.onDestroy()};
g.onChanges=function(a){a.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)};g.onDestroy=function(){this.form&&(WJa(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))};g.addControl=function(a){var b=this.form.get(a.path);VJa(b,a,this.callSetDisabledState);Ap(b,{emitEvent:!1});this.directives.push(a);return b};
g.removeControl=function(a){XJa(a.control||null,a);var b=this.directives;a=b.indexOf(a);a>-1&&b.splice(a,1)};g.updateModel=function(a,b){this.form.get(a.path).setValue(b)};g.onReset=function(){this.resetForm()};g.resetForm=function(a,b){b=b===void 0?{}:b;this.form.reset(a,b);this._submittedReactive.set(!1)};
g.onSubmit=function(a){this.submitted=!0;dKa(this.form,this.directives);this.ngSubmit.emit(a);this.form._events.next(new Uzc(this.control));var b;return(a==null?void 0:(b=a.target)==null?void 0:b.method)==="dialog"};g._updateDomValue=function(){var a=this;this.directives.forEach(function(b){var c=b.control,d=a.form.get(b.path);c!==d&&(XJa(c||null,b),d instanceof nG&&(VJa(d,b,a.callSetDisabledState),b.control=d))});this.form._updateTreeValidity({emitEvent:!1})};
g._setUpFormContainer=function(a){var b=this.form.get(a.path);QJa(b,a);Ap(b,{emitEvent:!1})};g._cleanUpFormContainer=function(a){if(this.form){var b=this.form.get(a.path);b&&WJa(b,a)&&Ap(b,{emitEvent:!1})}};g._updateRegistrations=function(){this.form._registerOnCollectionChange(this._onCollectionChange);this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})};g._updateValidators=function(){QJa(this.form,this);this._oldForm&&WJa(this._oldForm,this)};g._checkFormPresent=function(){};
pg.Object.defineProperties(tG.prototype,{submitted:{configurable:!0,enumerable:!0,get:function(){return Rg(this._submittedReactive)},set:function(a){this._submittedReactive.set(a)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this}},path:{configurable:!0,enumerable:!0,get:function(){return[]}}});tG.\u0275fac=function(a){return new (a||tG)(Ui(dG,10),Ui(Nzc,10),Ui(Pzc,8))};tG.\u0275dir=$i({type:tG,features:[xj,$w]});var fAc=function(a,b,c){kG.call(this,(Dp(b)?b.validators:b)||null,(Dp(b)?b.asyncValidators:c)||null);this.controls=a;this._initObservables();this._setUpdateStrategy(b);this._setUpControls();Ap(this,{onlySelf:!0,emitEvent:!!this.asyncValidator})};Y(fAc,kG);g=fAc.prototype;g.at=function(a){return this.controls[this._adjustIndex(a)]};
g.push=function(a,b){var c=this;b=b===void 0?{}:b;Array.isArray(a)?a.forEach(function(d){c.controls.push(d);c._registerControl(d)}):(this.controls.push(a),this._registerControl(a));Ap(this,{emitEvent:b.emitEvent});this._onCollectionChange()};g.insert=function(a,b,c){c=c===void 0?{}:c;this.controls.splice(a,0,b);this._registerControl(b);Ap(this,{emitEvent:c.emitEvent})};
g.setValue=function(a,b){var c=this;b=b===void 0?{}:b;gKa(this,a);a.forEach(function(d,e){fKa(c,!1,e);c.at(e).setValue(d,{onlySelf:!0,emitEvent:b.emitEvent})});Ap(this,b)};g.patchValue=function(a,b){var c=this;b=b===void 0?{}:b;a!=null&&(a.forEach(function(d,e){c.at(e)&&c.at(e).patchValue(d,{onlySelf:!0,emitEvent:b.emitEvent})}),Ap(this,b))};
g.reset=function(a,b){a=a===void 0?[]:a;b=b===void 0?{}:b;this._forEachChild(function(d,e){d.reset(a[e],{onlySelf:!0,emitEvent:b.emitEvent})});this._updatePristine(b,this);this._updateTouched(b,this);Ap(this,b);var c;((c=b)==null?void 0:c.emitEvent)!==!1&&this._events.next(new Vzc(this))};g.getRawValue=function(){return this.controls.map(function(a){return a.getRawValue()})};
g.clear=function(a){a=a===void 0?{}:a;this.controls.length<1||(this._forEachChild(function(b){return b._registerOnCollectionChange(function(){})}),this.controls.splice(0),Ap(this,{emitEvent:a.emitEvent}))};g._adjustIndex=function(a){return a<0?a+this.length:a};g._syncPendingControls=function(){var a=this.controls.reduce(function(b,c){return c._syncPendingControls()?!0:b},!1);a&&Ap(this,{onlySelf:!0});return a};g._forEachChild=function(a){this.controls.forEach(function(b,c){a(b,c)})};
g._updateValue=function(){var a=this;this.value=this.controls.filter(function(b){return b.enabled||a.disabled}).map(function(b){return b.value})};g._anyControls=function(a){return this.controls.some(function(b){return b.enabled&&a(b)})};g._setUpControls=function(){var a=this;this._forEachChild(function(b){return a._registerControl(b)})};g._allControlsDisabled=function(){for(var a=l(this.controls),b=a.next();!b.done;b=a.next())if(b.value.enabled)return!1;return this.controls.length>0||this.disabled};
g._registerControl=function(a){a.setParent(this);a._registerOnCollectionChange(this._onCollectionChange)};g._find=function(a){var b;return(b=this.at(a))!=null?b:null};pg.Object.defineProperties(fAc.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.controls.length}}});var gAc=new kh(""),hAc={provide:fG,useExisting:$g(function(){return uG})},uG=function(a,b,c,d,e){fG.call(this);this._ngModelWarningConfig=d;this.callSetDisabledState=e;this.update=new Lp;this._ngModelWarningSent=!1;this._setValidators(a);this._setAsyncValidators(b);this.valueAccessor=eKa(c)};Y(uG,fG);
uG.prototype.ngOnChanges=function(a){if(this._isControlChanged(a)){var b=a.form.previousValue;b&&XJa(b,this);VJa(this.form,this,this.callSetDisabledState);Ap(this.form,{emitEvent:!1})}cKa(a,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)};uG.prototype.ngOnDestroy=function(){this.form&&XJa(this.form,this)};uG.prototype.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};uG.prototype._isControlChanged=function(a){return a.hasOwnProperty("form")};
pg.Object.defineProperties(uG.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}}});uG._ngModelWarningSentOnce=!1;uG.\u0275fac=function(a){return new (a||uG)(Ui(dG,10),Ui(Nzc,10),Ui(cG,10),Ui(gAc,8),Ui(Pzc,8))};
uG.\u0275dir=$i({type:uG,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[Bk([hAc]),xj,$w]});var iAc={provide:fG,useExisting:$g(function(){return vG})},vG=function(a,b,c,d,e){fG.call(this);this._ngModelWarningConfig=e;this._added=!1;this.name=null;this.update=new Lp;this._ngModelWarningSent=!1;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=eKa(d)};Y(vG,fG);vG.prototype.ngOnChanges=function(a){this._added||this._setUpControl();cKa(a,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))};
vG.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};vG.prototype.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};vG.prototype._setUpControl=function(){this.control=this.formDirective.addControl(this);this._added=!0};
pg.Object.defineProperties(vG.prototype,{isDisabled:{configurable:!0,enumerable:!0,set:function(){}},path:{configurable:!0,enumerable:!0,get:function(){return PJa(this.name==null?this.name:this.name.toString(),this._parent)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this._parent?this._parent.formDirective:null}}});vG._ngModelWarningSentOnce=!1;vG.\u0275fac=function(a){return new (a||vG)(Ui(gG,13),Ui(dG,10),Ui(Nzc,10),Ui(cG,10),Ui(gAc,8))};
vG.\u0275dir=$i({type:vG,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[Bk([iAc]),xj,$w]});var jAc={provide:gG,useExisting:$g(function(){return wG})},wG=function(){tG.apply(this,arguments);this.form=null;this.ngSubmit=new Lp};Y(wG,tG);pg.Object.defineProperties(wG.prototype,{control:{configurable:!0,enumerable:!0,get:function(){return this.form}}});wG.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(wG)))(b||wG)}}();
wG.\u0275dir=$i({type:wG,selectors:[["","formGroup",""]],hostBindings:function(a,b){a&1&&Q("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Bk([jAc]),xj]});var xG=function(){this._validator=BJa};xG.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):BJa,this._onChange&&this._onChange())};xG.prototype.validate=function(a){return this._validator(a)};xG.prototype.registerOnValidatorChange=function(a){this._onChange=a};xG.prototype.enabled=function(a){return a!=null};xG.\u0275fac=function(a){return new (a||xG)};
xG.\u0275dir=$i({type:xG,features:[$w]});var kAc={provide:dG,useExisting:$g(function(){return yG}),multi:!0},yG=function(){xG.apply(this,arguments);this.inputName="max";this.normalizeInput=function(a){return typeof a==="number"?a:parseFloat(a)};this.createValidator=function(a){return yJa(a)}};Y(yG,xG);yG.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(yG)))(b||yG)}}();
yG.\u0275dir=$i({type:yG,selectors:["input type number max  formControlName ".split(" "),"input type number max  formControl ".split(" "),"input type number max  ngModel ".split(" ")],hostVars:1,hostBindings:function(a,b){a&2&&Hj("max",b._enabled?b.max:null)},inputs:{max:"max"},standalone:!1,features:[Bk([kAc]),xj]});
var lAc={provide:dG,useExisting:$g(function(){return zG}),multi:!0},zG=function(){xG.apply(this,arguments);this.inputName="min";this.normalizeInput=function(a){return typeof a==="number"?a:parseFloat(a)};this.createValidator=function(a){return xJa(a)}};Y(zG,xG);zG.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(zG)))(b||zG)}}();
zG.\u0275dir=$i({type:zG,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&&Hj("min",b._enabled?b.min:null)},inputs:{min:"min"},standalone:!1,features:[Bk([lAc]),xj]});var mAc={provide:dG,useExisting:$g(function(){return AG}),multi:!0},AG=function(){xG.apply(this,arguments);this.inputName="required";this.normalizeInput=Tk;this.createValidator=function(){return zJa}};
Y(AG,xG);AG.prototype.enabled=function(a){return a};AG.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(AG)))(b||AG)}}();AG.\u0275dir=$i({type:AG,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,b){a&2&&Hj("required",b._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[Bk([mAc]),xj]});
var nAc={provide:dG,useExisting:$g(function(){return BG}),multi:!0},BG=function(){xG.apply(this,arguments);this.inputName="maxlength";this.normalizeInput=function(a){return typeof a==="number"?a:parseInt(a,10)};this.createValidator=function(a){return AJa(a)}};Y(BG,xG);BG.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(BG)))(b||BG)}}();
BG.\u0275dir=$i({type:BG,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&Hj("maxlength",b._enabled?b.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[Bk([nAc]),xj]});
var oAc={provide:dG,useExisting:$g(function(){return CG}),multi:!0},CG=function(){xG.apply(this,arguments);this.inputName="pattern";this.normalizeInput=function(a){return a};this.createValidator=function(a){return CJa(a)}};Y(CG,xG);CG.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(CG)))(b||CG)}}();
CG.\u0275dir=$i({type:CG,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&Hj("pattern",b._enabled?b.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[Bk([oAc]),xj]});var DG=function(){};DG.\u0275fac=function(a){return new (a||DG)};DG.\u0275mod=Zi({type:DG});DG.\u0275inj=Eg({});var EG=function(){this.useNonNullable=!1};g=EG.prototype;g.group=function(a,b){b=b===void 0?null:b;a=this._reduceControls(a);var c={};iKa(b)?c=b:b!==null&&(c.validators=b.validator,c.asyncValidators=b.asyncValidator);return new lG(a,c)};g.record=function(a,b){b=b===void 0?null:b;a=this._reduceControls(a);return new Zzc(a,b)};g.control=function(a,b,c){var d={};if(!this.useNonNullable)return new nG(a,b,c);iKa(b)?d=b:(d.validators=b,d.asyncValidators=c);return new nG(a,Object.assign({},d,{nonNullable:!0}))};
g.array=function(a,b,c){var d=this;a=a.map(function(e){return d._createControl(e)});return new fAc(a,b,c)};g._reduceControls=function(a){var b=this,c={};Object.keys(a).forEach(function(d){c[d]=b._createControl(a[d])});return c};g._createControl=function(a){return a instanceof nG?a:a instanceof kG?a:Array.isArray(a)?this.control(a[0],a.length>1?a[1]:null,a.length>2?a[2]:null):this.control(a)};
pg.Object.defineProperties(EG.prototype,{nonNullable:{configurable:!0,enumerable:!0,get:function(){var a=new EG;a.useNonNullable=!0;return a}}});EG.\u0275fac=function(a){return new (a||EG)};EG.\u0275prov=Dg({token:EG,factory:EG.\u0275fac,providedIn:"root"});var FG=function(){};FG.\u0275fac=function(a){return new (a||FG)};FG.\u0275mod=Zi({type:FG});FG.\u0275inj=Eg({imports:[DG]});var GG=function(){};GG.\u0275fac=function(a){return new (a||GG)};GG.\u0275mod=Zi({type:GG});GG.\u0275inj=Eg({imports:[DG]});var pAc={color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1},qAc=new kh("mat-checkbox-default-options",{providedIn:"root",factory:function(){return pAc}});var rAc=["input"],sAc=["label"],tAc=function(){},HG=function(){this._elementRef=x(Ph);this._changeDetectorRef=x(sx);this._ngZone=x(Kk);this._animationsDisabled=hn();this._options=x(qAc,{optional:!0});this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",
indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};this.ariaLabel="";this.ariaLabelledby=null;this.labelPosition="after";this.name=null;this.change=new Lp;this.indeterminateChange=new Lp;this._onTouched=function(){};this._currentAnimationClass="";this._currentCheckState=0;this._controlValueAccessorChangeFn=function(){};this._validatorChangeFn=function(){};this._disabled=this._checked=!1;this._indeterminate=kk.apply(null,[!1].concat(p([])));x(Um).load(Qz);var a=x(new ax("tabindex"),
{optional:!0});this._options=this._options||pAc;this.color=this._options.color||pAc.color;this.tabIndex=a==null?0:parseInt(a)||0;this.id=this._uniqueId=x(Wm).getId("mat-mdc-checkbox-");var b,c;this.disabledInteractive=(c=(b=this._options)==null?void 0:b.disabledInteractive)!=null?c:!1};g=HG.prototype;g.focus=function(){this._inputElement.nativeElement.focus()};g._createChangeEvent=function(a){var b=new tAc;b.source=this;b.checked=a;return b};
g._getAnimationTargetElement=function(){var a;return(a=this._inputElement)==null?void 0:a.nativeElement};g.ngOnChanges=function(a){a.required&&this._validatorChangeFn()};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.validate=function(a){return this.required&&a.value!==!0?{required:!0}:null};g.registerOnValidatorChange=function(a){this._validatorChangeFn=a};
g._transitionCheckState=function(a){var b=this._currentCheckState,c=this._getAnimationTargetElement();if(b!==a&&c&&(this._currentAnimationClass&&c.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(b,a),this._currentCheckState=a,this._currentAnimationClass.length>0)){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=(b=this._options)==null?void 0:b.clickAction;if(!this.disabled&&c!=="noop")this.indeterminate&&c!=="check"&&Promise.resolve().then(function(){a._indeterminate.set(!1);a.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent();else if(this.disabled&&this.disabledInteractive||!this.disabled&&c==="noop")this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=
this.indeterminate};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(this._animationsDisabled)return"";switch(a){case 0:if(b===1)return this._animationClasses.uncheckedToChecked;if(b==3)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return b===1?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return b===2?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;
case 3:return b===1?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""};g._syncIndeterminate=function(a){var b=this._inputElement;b&&(b.nativeElement.indeterminate=a)};g._onInputClick=function(){this._handleInputClick()};g._onTouchTargetClick=function(){this._handleInputClick();this.disabled||this._inputElement.nativeElement.focus()};g._preventBubblingFromLabel=function(a){a.target&&this._labelElement.nativeElement.contains(a.target)&&a.stopPropagation()};
pg.Object.defineProperties(HG.prototype,{inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a!=this.checked&&(this._checked=a,this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(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.set(a);b&&(a?this._transitionCheckState(3):this._transitionCheckState(this.checked?1:2),this.indeterminateChange.emit(a));this._syncIndeterminate(a)}}});HG.\u0275fac=function(a){return new (a||HG)};
HG.\u0275cmp=F({type:HG,selectors:[["mat-checkbox"]],viewQuery:function(a,b){a&1&&(ek(rAc,5),ek(sAc,5));if(a&2){var c;ik(c=jk())&&(b._inputElement=c.first);ik(c=jk())&&(b._labelElement=c.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(a,b){a&2&&(Oj("id",b.id),Hj("tabindex",null)("aria-label",null)("aria-labelledby",null),sk(b.color?"mat-"+b.color:"mat-accent"),rk("_mat-animation-noopable",b._animationsDisabled)("mdc-checkbox--disabled",b.disabled)("mat-mdc-checkbox-disabled",
b.disabled)("mat-mdc-checkbox-checked",b.checked)("mat-mdc-checkbox-disabled-interactive",b.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",Tk],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",Tk],labelPosition:"labelPosition",name:"name",value:"value",
disableRipple:[2,"disableRipple","disableRipple",Tk],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?void 0:Uk(a)}],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",Tk],checked:[2,"checked","checked",Tk],disabled:[2,"disabled","disabled",Tk],indeterminate:[2,"indeterminate","indeterminate",Tk]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Bk([{provide:cG,useExisting:$g(function(){return HG}),multi:!0},
{provide:dG,useExisting:HG,multi:!0}]),$w],ngContentSelectors:["*"],decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24",
"aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(a,b){if(a&1){var c=y();Zj();L(0,"div",3);Q("click",function(d){z(c);return B(b._preventBubblingFromLabel(d))});L(1,"div",4,0)(3,"div",5);Q("click",function(){z(c);
return B(b._onTouchTargetClick())});M();L(4,"input",6,1);Q("blur",function(){z(c);return B(b._onBlur())})("click",function(){z(c);return B(b._onInputClick())})("change",function(d){z(c);return B(b._onInteractionEvent(d))});M();N(6,"div",7);L(7,"div",8);Gh();L(8,"svg",9);N(9,"path",10);M();Hh();N(10,"div",11);M();N(11,"div",12);M();L(12,"label",13,2);ak(14);M()()}a&2&&(a=T(2),K("labelPosition",b.labelPosition),E(4),rk("mdc-checkbox--selected",b.checked),K("checked",b.checked)("indeterminate",b.indeterminate)("disabled",
b.disabled&&!b.disabledInteractive)("id",b.inputId)("required",b.required)("tabIndex",b.disabled&&!b.disabledInteractive?-1:b.tabIndex),Hj("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby)("aria-checked",b.indeterminate?"mixed":null)("aria-controls",b.ariaControls)("aria-disabled",b.disabled&&b.disabledInteractive?!0:null)("aria-expanded",b.ariaExpanded)("aria-owns",b.ariaOwns)("name",b.name)("value",b.value),E(7),K("matRippleTrigger",a)("matRippleDisabled",
b.disableRipple||b.disabled)("matRippleCentered",!0),E(),K("for",b.inputId))},dependencies:[Tz,Rz],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover>.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover>.mat-mdc-checkbox-ripple>.mat-ripple-element{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control+.mdc-checkbox__ripple{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1;width:var(--mat-checkbox-state-layer-size, 40px);height:var(--mat-checkbox-state-layer-size, 40px);top:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);right:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}@media(forced-colors: active){.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:GrayText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:GrayText}}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-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 mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-touch-target,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__native-control,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__ripple,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-ripple::before,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__mixedmark{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:GrayText}}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-checkbox-touch-target-size, 48px);width:var(--mat-checkbox-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var uAc=function(){this.checked=!1;this.disabled=!0;this.startPos="";this.checkedChange=new iE};uAc.\u0275fac=function(a){return new (a||uAc)};
uAc.\u0275cmp=F({type:uAc,selectors:[["b-checkbox-widget"]],inputs:{checked:"checked",disabled:"disabled",startPos:"startPos"},outputs:{checkedChange:"checkedChange"},standalone:!1,decls:1,vars:2,consts:[[3,"change","disabled","checked"]],template:function(a,b){a&1&&(L(0,"mat-checkbox",0),Q("change",function(c){return b.checkedChange.emit(c.checked)}),M());a&2&&K("disabled",b.disabled)("checked",b.checked)},dependencies:[aG,HG],encapsulation:2,changeDetection:0});var pKa="entity agent_name borg_user borg_job cell task_index task_attempt_uid project_id resource.type start_time end_time rpc_server_service_name rpc_client_service_name lpc_service_name rpc_server_method_name rpc_client_method_name lpc_method_name status_code severity min_latency max_latency text_payload log_text_payload site_path has_sampled_trace snippet log_name process_name thread_id trace_id span_id job_uid local_process_id data_id label insert_id".split(" "),jba={EQUALS:"=",NOT_EQUALS:"!=",
REGEX_MATCH:"=~",NOT_REGEX_MATCH:"!~",CONTAINS:":"},nKa="entity agent_name borg_user borg_job cell rpc_server_service_name rpc_client_service_name lpc_service_name rpc_server_method_name rpc_client_method_name lpc_method_name status_code text_payload log_text_payload site_path snippet log_name process_name thread_id trace_id span_id job_uid local_process_id data_id label".split(" "),mKa="start_time end_time min_latency max_latency severity status_code task_index task_attempt_uid".split(" "),oKa=["has_sampled_trace"];var IG=function(){this.changes=new oj;this.openCalendarLabel="Open calendar";this.closeCalendarLabel="Close calendar";this.prevMonthLabel="Previous month";this.nextMonthLabel="Next month";this.prevYearLabel="Previous year";this.nextYearLabel="Next year";this.prevMultiYearLabel="Previous 24 years";this.nextMultiYearLabel="Next 24 years";this.switchToMonthViewLabel="Choose date";this.switchToMultiYearViewLabel="Choose month and year";this.comparisonDateLabel="Comparison range"};
IG.prototype.formatYearRange=function(a,b){return a+" \u2013 "+b};IG.prototype.formatYearRangeLabel=function(a,b){return a+" to "+b};IG.\u0275fac=function(a){return new (a||IG)};IG.\u0275prov=Dg({token:IG,factory:IG.\u0275fac,providedIn:"root"});var xKa=function(a,b){return b.id},vAc=0,wAc=function(a,b,c,d,e,f,h){e=e===void 0?{}:e;this.value=a;this.displayValue=b;this.ariaLabel=c;this.enabled=d;this.cssClasses=e;this.compareValue=f===void 0?a:f;this.rawValue=h;this.id=vAc++},xAc={passive:!1,capture:!0},yAc={passive:!0,capture:!0},zAc={passive:!0},JG=function(){var a=this;this._elementRef=x(Ph);this._ngZone=x(Kk);this._platform=x(Qm);this._intl=x(IG);this._focusActiveCellAfterViewChecked=!1;this.numCols=7;this.activeCell=0;this.isRange=!1;
this.cellAspectRatio=1;this.previewEnd=this.previewStart=null;this.selectedValueChange=new Lp;this.previewChange=new Lp;this.activeDateChange=new Lp;this.dragStarted=new Lp;this.dragEnded=new Lp;this._didDragSinceMouseDown=!1;this._injector=x(yj);this.comparisonDateAccessibleName=this._intl.comparisonDateLabel;this._trackRow=function(d){return d};this._enterHandler=function(d){if(a._skipNextFocus&&d.type==="focus")a._skipNextFocus=!1;else if(d.target&&a.isRange){var e=a._getCellFromElement(d.target);
e&&a._ngZone.run(function(){return a.previewChange.emit({value:e.enabled?e:null,event:d})})}};this._touchmoveHandler=function(d){if(a.isRange){var e=EKa(d),f=e?a._getCellFromElement(e):null;e!==d.target&&(a._didDragSinceMouseDown=!0);AKa(d.target)&&d.preventDefault();a._ngZone.run(function(){return a.previewChange.emit({value:(f==null?0:f.enabled)?f:null,event:d})})}};this._leaveHandler=function(d){a.previewEnd!==null&&a.isRange&&(d.type!=="blur"&&(a._didDragSinceMouseDown=!0),!d.target||!a._getCellFromElement(d.target)||
d.relatedTarget&&a._getCellFromElement(d.relatedTarget)||a._ngZone.run(function(){return a.previewChange.emit({value:null,event:d})}))};this._mousedownHandler=function(d){if(a.isRange){a._didDragSinceMouseDown=!1;var e=d.target&&a._getCellFromElement(d.target);e&&a._isInRange(e.compareValue)&&a._ngZone.run(function(){a.dragStarted.emit({value:e.rawValue,event:d})})}};this._mouseupHandler=function(d){if(a.isRange){var e=AKa(d.target);e?e.closest(".mat-calendar-body")===a._elementRef.nativeElement&&
a._ngZone.run(function(){var f=a._getCellFromElement(e),h;a.dragEnded.emit({value:(h=f==null?void 0:f.rawValue)!=null?h:null,event:d})}):a._ngZone.run(function(){a.dragEnded.emit({value:null,event:d})})}};this._touchendHandler=function(d){(d=EKa(d))&&a._mouseupHandler({target:d})};var b=x($m),c=x(Wm);this._startDateLabelId=c.getId("mat-calendar-body-start-");this._endDateLabelId=c.getId("mat-calendar-body-end-");this._comparisonStartDateLabelId=c.getId("mat-calendar-body-comparison-start-");this._comparisonEndDateLabelId=
c.getId("mat-calendar-body-comparison-end-");x(Um).load(Qz);this._ngZone.runOutsideAngular(function(){var d=a._elementRef.nativeElement;d=[b.listen(d,"touchmove",a._touchmoveHandler,xAc),b.listen(d,"mouseenter",a._enterHandler,yAc),b.listen(d,"focus",a._enterHandler,yAc),b.listen(d,"mouseleave",a._leaveHandler,yAc),b.listen(d,"blur",a._leaveHandler,yAc),b.listen(d,"mousedown",a._mousedownHandler,zAc),b.listen(d,"touchstart",a._mousedownHandler,zAc)];a._platform.isBrowser&&d.push(b.listen("window",
"mouseup",a._mouseupHandler),b.listen("window","touchend",a._touchendHandler));a._eventCleanups=d})};g=JG.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(){this._eventCleanups.forEach(function(a){return a()})};
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=a===void 0?!0:a;Ej(function(){setTimeout(function(){var c=b._elementRef.nativeElement.querySelector(".mat-calendar-body-active");c&&(a||(b._skipNextFocus=!0),c.focus())})},{injector:this._injector})};g._scheduleFocusActiveCellAfterViewChecked=function(){this._focusActiveCellAfterViewChecked=!0};
g._isRangeStart=function(a){return BKa(a,this.startValue,this.endValue)};g._isRangeEnd=function(a){return CKa(a,this.startValue,this.endValue)};g._isInRange=function(a){return DKa(a,this.startValue,this.endValue,this.isRange)};g._isComparisonStart=function(a){return BKa(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 CKa(a,this.comparisonStart,this.comparisonEnd)};g._isInComparisonRange=function(a){return DKa(a,this.comparisonStart,this.comparisonEnd,this.isRange)};g._isComparisonIdentical=function(a){return this.comparisonStart===this.comparisonEnd&&a===this.comparisonStart};g._isPreviewStart=function(a){return BKa(a,this.previewStart,this.previewEnd)};g._isPreviewEnd=function(a){return CKa(a,this.previewStart,this.previewEnd)};
g._isInPreview=function(a){return DKa(a,this.previewStart,this.previewEnd,this.isRange)};
g._getDescribedby=function(a){if(!this.isRange)return null;if(this.startValue===a&&this.endValue===a)return this._startDateLabelId+" "+this._endDateLabelId;if(this.startValue===a)return this._startDateLabelId;if(this.endValue===a)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(a===this.comparisonStart&&a===this.comparisonEnd)return this._comparisonStartDateLabelId+" "+this._comparisonEndDateLabelId;if(a===this.comparisonStart)return this._comparisonStartDateLabelId;
if(a===this.comparisonEnd)return this._comparisonEndDateLabelId}return null};g._getCellFromElement=function(a){var b=AKa(a);if(b&&(a=b.getAttribute("data-mat-row"),b=b.getAttribute("data-mat-col"),a&&b)){var c;return((c=this.rows[parseInt(a)])==null?void 0:c[parseInt(b)])||null}return null};JG.\u0275fac=function(a){return new (a||JG)};
JG.\u0275cmp=F({type:JG,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:[$w],attrs:["mat-calendar-body",""],decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",
1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(a,b){a&1&&(I(0,uKa,3,6,"tr",0),Mj(1,yKa,4,1,"tr",1,tKa,!0),L(3,"span",2),U(4),M(),L(5,"span",2),U(6),M(),L(7,"span",2),U(8),M(),L(9,"span",2),U(10),
M());a&2&&(J(b._firstRowOffset<b.labelMinRequiredCells?0:-1),E(),Nj(b.rows),E(2),K("id",b._startDateLabelId),E(),V(" ",b.startDateAccessibleName,"\n"),E(),K("id",b._endDateLabelId),E(),V(" ",b.endDateAccessibleName,"\n"),E(),K("id",b._comparisonStartDateLabelId),E(),uk(" ",b.comparisonDateAccessibleName," ",b.startDateAccessibleName,"\n"),E(),K("id",b._comparisonEndDateLabelId),E(),uk(" ",b.comparisonDateAccessibleName," ",b.endDateAccessibleName,"\n"))},dependencies:[ly],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color, var(--mat-sys-primary))}.mat-calendar-body-label{height:0;line-height:0;text-align:start;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-body-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-datepicker-calendar-body-label-text-color, var(--mat-sys-on-surface))}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;margin:0;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size));-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,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;display:block;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{color:var(--mat-datepicker-calendar-date-preview-state-outline-color, var(--mat-sys-primary))}.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}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: 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;color:var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color, transparent)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}@media(forced-colors: active){.mat-calendar-body-cell-content{border:none}}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container))}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary))}@media(forced-colors: active){.mat-datepicker-popup:not(:empty),.mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-selected{background:none}.mat-calendar-body-in-range::before,.mat-calendar-body-comparison-bridge-start::before,.mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}}\n'],
encapsulation:2,changeDetection:0});var KG=function(a,b){this.selection=a;this._adapter=b;this.selectionChanged=this._selectionChanged=new oj;this.selection=a};KG.prototype.updateSelection=function(a,b){var c=this.selection;this.selection=a;this._selectionChanged.next({selection:a,source:b,oldValue:c})};KG.prototype.ngOnDestroy=function(){this._selectionChanged.complete()};KG.prototype._isValidDateInstance=function(a){return Zoc(a)&&this._adapter.isValid(a)};KG.\u0275fac=function(){Joa()};KG.\u0275prov=Dg({token:KG,factory:KG.\u0275fac});
var LG=function(a){KG.call(this,null,a)};Y(LG,KG);LG.prototype.add=function(a){KG.prototype.updateSelection.call(this,a,this)};LG.prototype.isValid=function(){return this.selection!=null&&this._isValidDateInstance(this.selection)};LG.prototype.isComplete=function(){return this.selection!=null};LG.prototype.clone=function(){var a=new LG(this._adapter);a.updateSelection(this.selection,this);return a};LG.\u0275fac=function(a){return new (a||LG)(bh(Kz))};LG.\u0275prov=Dg({token:LG,factory:LG.\u0275fac});
var AAc={provide:KG,useFactory:function(){return x(KG,{optional:!0,skipSelf:!0})||new LG(x(Kz))}};var BAc=new kh("MAT_DATE_RANGE_SELECTION_STRATEGY");var CAc=function(a,b){return b.id},DAc=0,MG=function(){this._changeDetectorRef=x(sx);this._dateFormats=x(Oz,{optional:!0});this._dateAdapter=x(Kz,{optional:!0});this._dir=x(Xm,{optional:!0});this._rangeStrategy=x(BAc,{optional:!0});this._rerenderSubscription=Yh.EMPTY;this.activeDrag=null;this.selectedChange=new Lp;this._userSelection=new Lp;this.dragStarted=new Lp;this.dragEnded=new Lp;this.activeDateChange=new Lp;this._monthLabel=kk.apply(null,[""].concat(p([])));this._weeks=kk.apply(null,[[]].concat(p([])));
this._firstWeekOffset=kk.apply(null,[0].concat(p([])));this._rangeStart=kk.apply(null,[null].concat(p([])));this._rangeEnd=kk.apply(null,[null].concat(p([])));this._comparisonRangeStart=kk.apply(null,[null].concat(p([])));this._comparisonRangeEnd=kk.apply(null,[null].concat(p([])));this._previewStart=kk.apply(null,[null].concat(p([])));this._previewEnd=kk.apply(null,[null].concat(p([])));this._isRange=kk.apply(null,[!1].concat(p([])));this._todayDate=kk.apply(null,[null].concat(p([])));this._weekdays=
kk.apply(null,[[]].concat(p([])));x(Um).load(Iy);this._activeDate=new Uf};g=MG.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(rj(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);Nz(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=NG(this._activeDate,c?1:-1);break;case 39:this.activeDate=NG(this._activeDate,c?-1:1);break;case 38:this.activeDate=NG(this._activeDate,-7);break;case 40:this.activeDate=NG(this._activeDate,7);break;case 36:this.activeDate=NG(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=NG(this._activeDate,Uic(this._activeDate)-this._dateAdapter.getDate(this._activeDate));
break;case 33:this.activeDate=a.altKey?OG(this._activeDate,-1):PG(this._activeDate,-1);break;case 34:this.activeDate=a.altKey?OG(this._activeDate,1):PG(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0;this._canSelect(this._activeDate)&&a.preventDefault();return;case 27:this._previewEnd()==null||ym(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}Nz(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};g._handleCalendarBodyKeyup=function(a){if(a.keyCode===32||a.keyCode===13)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.set(this._getCellCompareValue(new Uf));this._monthLabel.set(this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.locale.SHORTMONTHS[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase());var a=QG(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset.set((7+a.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.set(this._getCellCompareValue(c.start));this._previewEnd.set(this._getCellCompareValue(c.end));if(this.activeDrag&&a){var d,e;if(c=(e=(d=this._rangeStrategy).createDrag)==null?void 0:e.call(d,this.activeDrag.value,this.selected,a,b))this._previewStart.set(this._getCellCompareValue(c.start)),this._previewEnd.set(this._getCellCompareValue(c.end))}}};
g._dragEnded=function(a){if(this.activeDrag)if(a.value){var b,c,d=(b=this._rangeStrategy)==null?void 0:(c=b.createDrag)==null?void 0:c.call(b,this.activeDrag.value,this.selected,a.value,a.event);this.dragEnded.emit({value:d!=null?d:null,event:a.event})}else this.dragEnded.emit({value:null,event:a.event})};g._getDateFromDayOfMonth=function(a){return QG(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a)};
g._initWeekdays=function(){var a=this._dateAdapter.getFirstDayOfWeek(),b=EAc(this._dateAdapter,"narrow"),c=EAc(this._dateAdapter,"long").map(function(d,e){return{long:d,narrow:b[e],id:DAc++}});this._weekdays.set(c.slice(a).concat(c.slice(0,a)))};
g._createWeekCells=function(){for(var a=Uic(this.activeDate),b=FAc,c=[[]],d=0,e=this._firstWeekOffset();d<a;d++,e++){e==7&&(c.push([]),e=0);var f=QG(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),d+1),h=this._shouldEnableDate(f),k=this._dateAdapter.format(f,this._dateFormats.display.dateA11yLabel),q=this.dateClass?this.dateClass(f,"month"):void 0;c[c.length-1].push(new wAc(d+1,b[d],k,h,q,this._getCellCompareValue(f),f))}this._weeks.set(c)};
g._shouldEnableDate=function(a){return!!a&&(!this.minDate||Nz(this._dateAdapter,a,this.minDate)>=0)&&(!this.maxDate||Nz(this._dateAdapter,a,this.maxDate)<=0)&&(!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);return(new Date(b,c,this._dateAdapter.getDate(a))).getTime()}return null};g._isRtl=function(){return this._dir&&this._dir.value==="rtl"};g._setRanges=function(a){this._rangeStart.set(this._getCellCompareValue(a));this._rangeEnd.set(this._rangeStart());this._isRange.set(!1);this._comparisonRangeStart.set(this._getCellCompareValue(this.comparisonStart));this._comparisonRangeEnd.set(this._getCellCompareValue(this.comparisonEnd))};
g._canSelect=function(a){return!this.dateFilter||this.dateFilter(a)};g._clearPreview=function(){this._previewStart.set(null);this._previewEnd.set(null)};
pg.Object.defineProperties(MG.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Lz(this._dateAdapter,Mz(this._dateAdapter,a))||new Uf;this._activeDate=$oc(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=Lz(this._dateAdapter,Mz(this._dateAdapter,a));
this._setRanges(this._selected)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Lz(this._dateAdapter,Mz(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Lz(this._dateAdapter,Mz(this._dateAdapter,a))}}});MG.\u0275fac=function(a){return new (a||MG)};
MG.\u0275cmp=F({type:MG,selectors:[["mat-month-view"]],viewQuery:function(a,b){a&1&&ek(JG,5);if(a&2){var c;ik(c=jk())&&(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:[$w],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue",
"endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(a,b){a&1&&(L(0,"table",0)(1,"thead",1)(2,"tr"),Mj(3,FKa,5,2,"th",2,CAc),M(),L(5,"tr",3),N(6,"th",4),M()(),L(7,"tbody",5),Q("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)}),M()());a&2&&(E(3),Nj(b._weekdays()),E(4),K("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:[JG],encapsulation:2,changeDetection:0});var RG=function(){this._changeDetectorRef=x(sx);this._dateAdapter=x(Kz,{optional:!0});this._dir=x(Xm,{optional:!0});this._rerenderSubscription=Yh.EMPTY;this.selectedChange=new Lp;this.yearSelected=new Lp;this.activeDateChange=new Lp;this._years=kk.apply(null,[[]].concat(p([])));this._todayYear=kk.apply(null,[0].concat(p([])));this._selectedYear=kk.apply(null,[null].concat(p([])));this._activeDate=new Uf};g=RG.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(rj(null)).subscribe(function(){return a._init()})};
g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};g._init=function(){var a=this;this._todayYear.set(this._dateAdapter.getYear(new Uf));for(var b=this._dateAdapter.getYear(this._activeDate)-IKa(this._dateAdapter,this.activeDate,this.minDate,this.maxDate),c=[],d=0,e=[];d<24;d++)e.push(b+d),e.length==4&&(c.push(e.map(function(f){return a._createCellForYear(f)})),e=[]);this._years.set(c);this._changeDetectorRef.markForCheck()};
g._yearSelected=function(a){var b=a.value;a=QG(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);Nz(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=OG(this._activeDate,c?1:-1);break;case 39:this.activeDate=OG(this._activeDate,c?-1:1);break;case 38:this.activeDate=OG(this._activeDate,-4);break;case 40:this.activeDate=OG(this._activeDate,4);break;case 36:this.activeDate=OG(this._activeDate,-IKa(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=OG(this._activeDate,24-IKa(this._dateAdapter,
this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=OG(this._activeDate,a.altKey?-240:-24);break;case 34:this.activeDate=OG(this._activeDate,a.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}Nz(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate);this._focusActiveCellAfterViewChecked();a.preventDefault()};
g._handleCalendarBodyKeyup=function(a){if(a.keyCode===32||a.keyCode===13)this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:a}),this._selectionKeyPressed=!1};g._getActiveCell=function(){return IKa(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=QG(a,b,1);c=Uic(c);return QG(a,b,Math.min(this._dateAdapter.getDate(this.activeDate),c))};g._createCellForYear=function(a){var b=QG(a,0,1),c=""+b.getFullYear();b=this.dateClass?this.dateClass(b,"multi-year"):void 0;return new wAc(a,c,c,this._shouldEnableYear(a),b)};
g._shouldEnableYear=function(a){if(a===void 0||a===null||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=QG(a,0,1);this._dateAdapter.getYear(b)==a;b=NG(b,1))if(this.dateFilter(b))return!0;return!1};g._isRtl=function(){return this._dir&&this._dir.value==="rtl"};g._setSelectedYear=function(a){this._selectedYear.set(null);a&&this._selectedYear.set(this._dateAdapter.getYear(a))};
pg.Object.defineProperties(RG.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Lz(this._dateAdapter,Mz(this._dateAdapter,a))||new Uf;this._activeDate=$oc(this._dateAdapter,a,this.minDate,this.maxDate);HKa(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=Lz(this._dateAdapter,Mz(this._dateAdapter,
a));this._setSelectedYear(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Lz(this._dateAdapter,Mz(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Lz(this._dateAdapter,Mz(this._dateAdapter,a))}}});RG.\u0275fac=function(a){return new (a||RG)};
RG.\u0275cmp=F({type:RG,selectors:[["mat-multi-year-view"]],viewQuery:function(a,b){a&1&&ek(JG,5);if(a&2){var c;ik(c=jk())&&(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,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(a,b){a&1&&(L(0,"table",0)(1,"thead",1)(2,"tr"),N(3,"th",2),M()(),L(4,"tbody",3),Q("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)}),M()());a&2&&(E(4),K("rows",b._years())("todayValue",b._todayYear())("startValue",b._selectedYear())("endValue",b._selectedYear())("numCols",4)("cellAspectRatio",4/7)("activeCell",b._getActiveCell()))},dependencies:[JG],encapsulation:2,changeDetection:0});var SG=function(){this._changeDetectorRef=x(sx);this._dateFormats=x(Oz,{optional:!0});this._dateAdapter=x(Kz,{optional:!0});this._dir=x(Xm,{optional:!0});this._rerenderSubscription=Yh.EMPTY;this.selectedChange=new Lp;this.monthSelected=new Lp;this.activeDateChange=new Lp;this._months=kk.apply(null,[[]].concat(p([])));this._yearLabel=kk.apply(null,[""].concat(p([])));this._todayMonth=kk.apply(null,[null].concat(p([])));this._selectedMonth=kk.apply(null,[null].concat(p([])));this._activeDate=new Uf};
g=SG.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(rj(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};g._monthSelected=function(a){a=a.value;var b=QG(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);Nz(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=PG(this._activeDate,c?1:-1);break;case 39:this.activeDate=PG(this._activeDate,c?-1:1);break;case 38:this.activeDate=PG(this._activeDate,-4);break;case 40:this.activeDate=PG(this._activeDate,4);break;case 36:this.activeDate=PG(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=PG(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));
break;case 33:this.activeDate=OG(this._activeDate,a.altKey?-10:-1);break;case 34:this.activeDate=OG(this._activeDate,a.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}Nz(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};
g._handleCalendarBodyKeyup=function(a){if(a.keyCode===32||a.keyCode===13)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.set(this._getMonthInCurrentYear(new Uf));this._yearLabel.set(""+this.activeDate.getFullYear());var b=this._dateAdapter.locale.SHORTMONTHS;this._months.set([[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=QG(this._dateAdapter.getYear(this.activeDate),a,1);b=Uic(b);return QG(this._dateAdapter.getYear(this.activeDate),a,Math.min(this._dateAdapter.getDate(this.activeDate),b))};
g._createCellForMonth=function(a,b){var c=QG(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 wAc(a,b.toLocaleUpperCase(),d,this._shouldEnableMonth(a),c)};
g._shouldEnableMonth=function(a){var b=this._dateAdapter.getYear(this.activeDate);if(a===void 0||a===null||this._isYearAndMonthAfterMaxDate(b,a)||this._isYearAndMonthBeforeMinDate(b,a))return!1;if(!this.dateFilter)return!0;for(b=QG(b,a,1);this._dateAdapter.getMonth(b)==a;b=NG(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&&this._dir.value==="rtl"};g._setSelectedMonth=function(a){this._selectedMonth.set(this._getMonthInCurrentYear(a))};
pg.Object.defineProperties(SG.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Lz(this._dateAdapter,Mz(this._dateAdapter,a))||new Uf;this._activeDate=$oc(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=Lz(this._dateAdapter,
Mz(this._dateAdapter,a));this._setSelectedMonth(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Lz(this._dateAdapter,Mz(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Lz(this._dateAdapter,Mz(this._dateAdapter,a))}}});SG.\u0275fac=function(a){return new (a||SG)};
SG.\u0275cmp=F({type:SG,selectors:[["mat-year-view"]],viewQuery:function(a,b){a&1&&ek(JG,5);if(a&2){var c;ik(c=jk())&&(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,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(a,b){a&1&&(L(0,"table",0)(1,"thead",1)(2,"tr"),N(3,"th",2),M()(),L(4,"tbody",3),Q("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)}),M()());a&2&&(E(4),K("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:[JG],encapsulation:2,changeDetection:0});var UG=function(){var a=this;this._intl=x(IG);this.calendar=x(TG);this._dateAdapter=x(Kz,{optional:!0});this._dateFormats=x(Oz,{optional:!0});this._periodButtonLabelId=x(Wm).getId("mat-calendar-period-label-");x(Um).load(Iy);var b=x(sx);this._updateLabels();this.calendar.stateChanges.subscribe(function(){a._updateLabels();b.markForCheck()})},GAc=function(a){return a.calendar.minDate?!a.calendar.minDate||!a._isSameView(a.calendar.activeDate,a.calendar.minDate):!0};
UG.prototype._updateLabels=function(){var a=this.calendar,b=this._intl,c=this._dateAdapter;a.currentView==="month"?(this._periodButtonText=c.format(a.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonDescription=c.format(a.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonLabel=b.switchToMultiYearViewLabel,this._prevButtonLabel=b.prevMonthLabel,this._nextButtonLabel=b.nextMonthLabel):a.currentView==="year"?(this._periodButtonText=
""+a.activeDate.getFullYear(),this._periodButtonDescription=""+a.activeDate.getFullYear(),this._periodButtonLabel=b.switchToMonthViewLabel,this._prevButtonLabel=b.prevYearLabel,this._nextButtonLabel=b.nextYearLabel):(this._periodButtonText=b.formatYearRange.apply(b,p(this._formatMinAndMaxYearLabels())),this._periodButtonDescription=b.formatYearRangeLabel.apply(b,p(this._formatMinAndMaxYearLabels())),this._periodButtonLabel=b.switchToMonthViewLabel,this._prevButtonLabel=b.prevMultiYearLabel,this._nextButtonLabel=
b.nextMultiYearLabel)};UG.prototype._isSameView=function(a,b){return this.calendar.currentView=="month"?this._dateAdapter.getYear(a)==this._dateAdapter.getYear(b)&&this._dateAdapter.getMonth(a)==this._dateAdapter.getMonth(b):this.calendar.currentView=="year"?this._dateAdapter.getYear(a)==this._dateAdapter.getYear(b):HKa(this._dateAdapter,a,b,this.calendar.minDate,this.calendar.maxDate)};
UG.prototype._formatMinAndMaxYearLabels=function(){var a=this._dateAdapter.getYear(this.calendar.activeDate)-IKa(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),b=a+24-1;a=""+QG(a,0,1).getFullYear();b=""+QG(b,0,1).getFullYear();return[a,b]};
pg.Object.defineProperties(UG.prototype,{periodButtonText:{configurable:!0,enumerable:!0,get:function(){return this._periodButtonText}},periodButtonDescription:{configurable:!0,enumerable:!0,get:function(){return this._periodButtonDescription}},periodButtonLabel:{configurable:!0,enumerable:!0,get:function(){return this._periodButtonLabel}},prevButtonLabel:{configurable:!0,enumerable:!0,get:function(){return this._prevButtonLabel}},nextButtonLabel:{configurable:!0,enumerable:!0,get:function(){return this._nextButtonLabel}}});
UG.\u0275fac=function(a){return new (a||UG)};
UG.\u0275cmp=F({type:UG,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:["*"],decls:17,vars:13,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["matButton","","type","button",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"],["matIconButton",
"","type","button","disabledInteractive","",1,"mat-calendar-previous-button",3,"click","disabled","matTooltip"],"viewBox;0 0 24 24;focusable;false;aria-hidden;true".split(";"),["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-next-button",3,"click","disabled","matTooltip"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(a,b){a&1&&(Zj(),L(0,"div",0)(1,"div",1)(2,"span",2),U(3),M(),L(4,"button",
3),Q("click",function(){b.calendar.currentView=b.calendar.currentView=="month"?"multi-year":"month"}),L(5,"span",4),U(6),M(),Gh(),L(7,"svg",5),N(8,"polygon",6),M()(),Hh(),N(9,"div",7),ak(10),L(11,"button",8),Q("click",function(){GAc(b)&&(b.calendar.activeDate=b.calendar.currentView=="month"?PG(b.calendar.activeDate,-1):OG(b.calendar.activeDate,b.calendar.currentView=="year"?-1:-24))}),Gh(),L(12,"svg",9),N(13,"path",10),M()(),Hh(),L(14,"button",11),Q("click",function(){b.calendar.maxDate&&b._isSameView(b.calendar.activeDate,
b.calendar.maxDate)||(b.calendar.activeDate=b.calendar.currentView=="month"?PG(b.calendar.activeDate,1):OG(b.calendar.activeDate,b.calendar.currentView=="year"?1:24))}),Gh(),L(15,"svg",9),N(16,"path",12),M()()()());a&2&&(E(2),K("id",b._periodButtonLabelId),E(),tk(b.periodButtonDescription),E(),Hj("aria-label",b.periodButtonLabel)("aria-describedby",b._periodButtonLabelId),E(2),tk(b.periodButtonText),E(),rk("mat-calendar-invert",b.calendar.currentView!=="month"),E(4),K("disabled",!GAc(b))("matTooltip",
b.prevButtonLabel),Hj("aria-label",b.prevButtonLabel),E(3),K("disabled",!(!b.calendar.maxDate||!b._isSameView(b.calendar.activeDate,b.calendar.maxDate)))("matTooltip",b.nextButtonLabel),Hj("aria-label",b.nextButtonLabel))},dependencies:[aA,bA,WF],encapsulation:2,changeDetection:0});
var TG=function(){var a=this;this._dateAdapter=x(Kz,{optional:!0});this._dateFormats=x(Oz,{optional:!0});this._changeDetectorRef=x(sx);this._elementRef=x(Ph);this._moveFocusOnNextTick=!1;this.startView="month";this.selectedChange=new Lp;this.yearSelected=new Lp;this.monthSelected=new Lp;this.viewChanged=new Lp(!0);this._userSelection=new Lp;this._userDragDrop=new Lp;this._activeDrag=null;this.stateChanges=new oj;this._intlChanges=x(IG).changes.subscribe(function(){a._changeDetectorRef.markForCheck();
a.stateChanges.next()})};g=TG.prototype;g.ngAfterContentInit=function(){this._calendarHeaderPortal=new Az(this.headerComponent||UG);this.activeDate=this.startAt||new Uf;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._elementRef.nativeElement.contains(Am())&&(this._moveFocusOnNextTick=!0),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};
pg.Object.defineProperties(TG.prototype,{startAt:{configurable:!0,enumerable:!0,get:function(){return this._startAt},set:function(a){this._startAt=Lz(this._dateAdapter,Mz(this._dateAdapter,a))}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=Lz(this._dateAdapter,Mz(this._dateAdapter,a))}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Lz(this._dateAdapter,Mz(this._dateAdapter,a))}},
maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Lz(this._dateAdapter,Mz(this._dateAdapter,a))}},activeDate:{configurable:!0,enumerable:!0,get:function(){return this._clampedActiveDate},set:function(a){this._clampedActiveDate=$oc(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.stateChanges.next(),this.viewChanged.emit(b))}}});TG.\u0275fac=function(a){return new (a||TG)};
TG.\u0275cmp=F({type:TG,selectors:[["mat-calendar"]],viewQuery:function(a,b){a&1&&(ek(MG,5),ek(SG,5),ek(RG,5));if(a&2){var c;ik(c=jk())&&(b.monthView=c.first);ik(c=jk())&&(b.yearView=c.first);ik(c=jk())&&(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:[Bk([AAc]),$w],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate",
"dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter",
"maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(a,b){a&1&&(G(0,JKa,0,0,"ng-template",0),L(1,"div",1),I(2,KKa,1,11,"mat-month-view",2)(3,LKa,1,6,"mat-year-view",3)(4,MKa,1,6,"mat-multi-year-view",3),M());if(a&2){var c;K("cdkPortalOutlet",b._calendarHeaderPortal);E(2);J((c=b.currentView)==="month"?2:c==="year"?3:c==="multi-year"?4:-1)}},dependencies:[Ez,Gy,MG,SG,RG],styles:['.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size))}.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;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));--mat-button-text-label-text-color: var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}@media(forced-colors: active){.mat-calendar-arrow{fill:CanvasText}}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight))}.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;background:var(--mat-datepicker-calendar-header-divider-color, transparent)}.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:""}\n'],
encapsulation:2,changeDetection:0});var HAc=function(a,b){this.target=a;this.targetElement=b;this.value=this.target.value},VG=function(){var a=this;this._elementRef=x(Ph);this._dateAdapter=x(Kz,{optional:!0});this._dateFormats=x(Oz,{optional:!0});this.dateChange=new Lp;this.dateInput=new Lp;this.stateChanges=new oj;this._onTouched=function(){};this._validatorOnChange=function(){};this._cvaOnChange=function(){};this._localeSubscription=this._valueChangesSubscription=Yh.EMPTY;this._parseValidator=function(){return a._lastValueValid?null:
{matDatepickerParse:{text:a._elementRef.nativeElement.value}}};this._filterValidator=function(b){b=Lz(a._dateAdapter,Mz(a._dateAdapter,b.value));return!b||a._matchesFilter(b)?null:{matDatepickerFilter:!0}};this._minValidator=function(b){b=Lz(a._dateAdapter,Mz(a._dateAdapter,b.value));var c=a._getMinDate();return!c||!b||Nz(a._dateAdapter,c,b)<=0?null:{matDatepickerMin:{min:c,actual:b}}};this._maxValidator=function(b){b=Lz(a._dateAdapter,Mz(a._dateAdapter,b.value));var c=a._getMaxDate();return!c||!b||
Nz(a._dateAdapter,c,b)>=0?null:{matDatepickerMax:{max:c,actual:b}}};this._lastValueValid=!1;this._localeSubscription=this._dateAdapter.localeChanges.subscribe(function(){a._assignValueProgrammatically(a.value)})};g=VG.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 HAc(b,b._elementRef.nativeElement)),b.dateChange.emit(new HAc(b,b._elementRef.nativeElement)))})};
g.ngAfterViewInit=function(){this._isInitialized=!0};g.ngOnChanges=function(a){a:{var b=this._dateAdapter,c=Object.keys(a);c=l(c);for(var d=c.next();!d.done;d=c.next()){var e=a[d.value];d=e.previousValue;e=e.currentValue;if(Zoc(d)&&Zoc(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"];ym(a,"altKey")&&a.keyCode===40&&b.every(function(c){return!ym(a,c)})&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),a.preventDefault())};
g._onInput=function(a){a=a.target.value;var b=this._lastValueValid,c=this._dateAdapter.parse(a,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(c);c=Lz(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 HAc(this,this._elementRef.nativeElement)))};
g._onChange=function(){this.dateChange.emit(new HAc(this,this._elementRef.nativeElement))};g._onBlur=function(){this.value&&this._formatValue(this.value);this._onTouched()};g._formatValue=function(a){this._elementRef.nativeElement.value=a!=null?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=Mz(this._dateAdapter,a);this._lastValueValid=this._isValidValue(a);a=Lz(this._dateAdapter,a);this._assignValue(a);this._formatValue(a)};g._matchesFilter=function(a){var b=this._getDateFilter();return!b||b(a)};
pg.Object.defineProperties(VG.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||!1},set:function(a){var b=this._elementRef.nativeElement;this._disabled!==a&&(this._disabled=a,this.stateChanges.next(void 0));a&&this._isInitialized&&b.blur&&b.blur()}}});
VG.\u0275fac=function(a){return new (a||VG)};VG.\u0275dir=$i({type:VG,inputs:{value:"value",disabled:[2,"disabled","disabled",Tk]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[$w]});var IAc=new kh("MatError"),WG=function(){this.id=x(Wm).getId("mat-mdc-error-")};WG.\u0275fac=function(a){return new (a||WG)};WG.\u0275dir=$i({type:WG,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(a,b){a&2&&Oj("id",b.id)},inputs:{id:"id"},features:[Bk([{provide:IAc,useExisting:WG}])]});var XG=function(){this.align="start";this.id=x(Wm).getId("mat-mdc-hint-")};XG.\u0275fac=function(a){return new (a||XG)};XG.\u0275dir=$i({type:XG,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(a,b){a&2&&(Oj("id",b.id),Hj("align",null),rk("mat-mdc-form-field-hint-end",b.align==="end"))},inputs:{align:"align",id:"id"}});var YG=function(){};YG.\u0275fac=function(a){return new (a||YG)};YG.\u0275dir=$i({type:YG,selectors:[["mat-label"]]});var JAc=new kh("MatPrefix"),ZG=function(){this._isText=!1};pg.Object.defineProperties(ZG.prototype,{_isTextSelector:{configurable:!0,enumerable:!0,set:function(){this._isText=!0}}});ZG.\u0275fac=function(a){return new (a||ZG)};ZG.\u0275dir=$i({type:ZG,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[Bk([{provide:JAc,useExisting:ZG}])]});var KAc=new kh("MatSuffix");var $G=function(){};$G.\u0275fac=function(a){return new (a||$G)};$G.\u0275dir=$i({type:$G});var LAc=function(a){var b=this;this._box=a;this._destroyed=new oj;this._resizeSubject=new oj;this._elementObservables=new Map;typeof ResizeObserver!=="undefined"&&(this._resizeObserver=new ResizeObserver(function(c){return b._resizeSubject.next(c)}))};
LAc.prototype.observe=function(a){var b=this;this._elementObservables.has(a)||this._elementObservables.set(a,(new bi(function(c){var d=b._resizeSubject.subscribe(c),e;(e=b._resizeObserver)==null||e.observe(a,{box:b._box});return function(){var f;(f=b._resizeObserver)==null||f.unobserve(a);d.unsubscribe();b._elementObservables.delete(a)}})).pipe(Di(function(c){return c.some(function(d){return d.target===a})}),pj({bufferSize:1,refCount:!0}),tj(this._destroyed)));return this._elementObservables.get(a)};
LAc.prototype.destroy=function(){this._destroyed.next();this._destroyed.complete();this._resizeSubject.complete();this._elementObservables.clear()};var aH=function(){this._observers=new Map;this._ngZone=x(Kk)};aH.prototype.ngOnDestroy=function(){for(var a=l(this._observers),b=a.next();!b.done;b=a.next())b=l(b.value),b.next(),b.next().value.destroy();this._observers.clear();var c;(c=this._cleanupErrorListener)==null||c.call(this)};
aH.prototype.observe=function(a,b){b=(b==null?void 0:b.box)||"content-box";this._observers.has(b)||this._observers.set(b,new LAc(b));return this._observers.get(b).observe(a)};aH.\u0275fac=function(a){return new (a||aH)};aH.\u0275prov=Dg({token:aH,factory:aH.\u0275fac,providedIn:"root"});var MAc=new kh("FloatingLabelParent"),bH=function(){this._elementRef=x(Ph);this._monitorResize=this._floating=!1;this._resizeObserver=x(aH);this._ngZone=x(Kk);this._parent=x(MAc);this._resizeSubscription=new Yh};bH.prototype.ngOnDestroy=function(){this._resizeSubscription.unsubscribe()};
bH.prototype.getWidth=function(){var a=this._elementRef.nativeElement;if(a.offsetParent!==null)a=a.scrollWidth;else{a=a.cloneNode(!0);a.style.setProperty("position","absolute");a.style.setProperty("transform","translate(-9999px, -9999px)");document.documentElement.appendChild(a);var b=a.scrollWidth;a.remove();a=b}return a};bH.prototype._handleResize=function(){var a=this;setTimeout(function(){return a._parent._handleLabelResized()})};
bH.prototype._subscribeToResize=function(){var a=this;this._resizeSubscription.unsubscribe();this._ngZone.runOutsideAngular(function(){a._resizeSubscription=a._resizeObserver.observe(a._elementRef.nativeElement,{box:"border-box"}).subscribe(function(){return a._handleResize()})})};
pg.Object.defineProperties(bH.prototype,{floating:{configurable:!0,enumerable:!0,get:function(){return this._floating},set:function(a){this._floating=a;this.monitorResize&&this._handleResize()}},monitorResize:{configurable:!0,enumerable:!0,get:function(){return this._monitorResize},set:function(a){(this._monitorResize=a)?this._subscribeToResize():this._resizeSubscription.unsubscribe()}},element:{configurable:!0,enumerable:!0,get:function(){return this._elementRef.nativeElement}}});
bH.\u0275fac=function(a){return new (a||bH)};bH.\u0275dir=$i({type:bH,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(a,b){a&2&&rk("mdc-floating-label--float-above",b.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}});var cH=function(){var a=this;this._elementRef=x(Ph);this._handleTransitionEnd=function(d){var e=a._elementRef.nativeElement.classList,f=e.contains("mdc-line-ripple--deactivating");d.propertyName==="opacity"&&f&&e.remove("mdc-line-ripple--active","mdc-line-ripple--deactivating")};var b=x(Kk),c=x($m);b.runOutsideAngular(function(){a._cleanupTransitionEnd=c.listen(a._elementRef.nativeElement,"transitionend",a._handleTransitionEnd)})};
cH.prototype.activate=function(){var a=this._elementRef.nativeElement.classList;a.remove("mdc-line-ripple--deactivating");a.add("mdc-line-ripple--active")};cH.prototype.deactivate=function(){this._elementRef.nativeElement.classList.add("mdc-line-ripple--deactivating")};cH.prototype.ngOnDestroy=function(){this._cleanupTransitionEnd()};cH.\u0275fac=function(a){return new (a||cH)};cH.\u0275dir=$i({type:cH,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]});var NAc=["notch"],dH=function(){this._elementRef=x(Ph);this._ngZone=x(Kk);this.open=!1};dH.prototype.ngAfterViewInit=function(){var a=this._elementRef.nativeElement,b=a.querySelector(".mdc-floating-label");b?(a.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame==="function"&&(b.style.transitionDuration="0s",this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return b.style.transitionDuration=""})}))):a.classList.add("mdc-notched-outline--no-label")};
dH.prototype._setNotchWidth=function(a){this._notch.nativeElement.style.width=this.open&&a?"calc("+a+"px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)":""};dH.prototype._setMaxWidth=function(a){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width","calc(100% - "+a+"px)")};dH.\u0275fac=function(a){return new (a||dH)};
dH.\u0275cmp=F({type:dH,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(a,b){a&1&&ek(NAc,5);if(a&2){var c;ik(c=jk())&&(b._notch=c.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(a,b){a&2&&rk("mdc-notched-outline--notched",b.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:["matFormFieldNotchedOutline",""],ngContentSelectors:["*"],decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,
"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(a){a&1&&(Zj(),Rj(0,"div",1),Pj(1,"div",2,0),ak(3),Qj(),Rj(4,"div",3))},encapsulation:2,changeDetection:0});var OAc=["iconPrefixContainer"],PAc=["textPrefixContainer"],QAc=["iconSuffixContainer"],RAc=["textSuffixContainer"],SAc=["textField"],TAc=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],UAc=new kh("MatFormField"),VAc=new kh("MAT_FORM_FIELD_DEFAULT_OPTIONS"),eH=function(){var a=this;this._elementRef=
x(Ph);this._changeDetectorRef=x(sx);this._platform=x(Qm);this._idGenerator=x(Wm);this._ngZone=x(Kk);this._defaults=x(VAc,{optional:!0});this._iconPrefixContainerSignal=Ik.apply(null,["iconPrefixContainer"].concat(p([])));this._textPrefixContainerSignal=Ik.apply(null,["textPrefixContainer"].concat(p([])));this._iconSuffixContainerSignal=Ik.apply(null,["iconSuffixContainer"].concat(p([])));this._textSuffixContainerSignal=Ik.apply(null,["textSuffixContainer"].concat(p([])));this._prefixSuffixContainers=
Sk.apply(null,[function(){return[a._iconPrefixContainerSignal(),a._textPrefixContainerSignal(),a._iconSuffixContainerSignal(),a._textSuffixContainerSignal()].map(function(d){return d==null?void 0:d.nativeElement}).filter(function(d){return d!==void 0})}].concat(p([])));this._labelChild=msa.apply(null,[YG].concat(p([])));this._hideRequiredMarker=!1;this.color="primary";this._appearanceSignal=kk.apply(null,["fill"].concat(p([])));this._subscriptSizing=null;this._hintLabel="";this._hasTextSuffix=this._hasIconSuffix=
this._hasTextPrefix=this._hasIconPrefix=!1;this._labelId=this._idGenerator.getId("mat-mdc-form-field-label-");this._hintLabelId=this._idGenerator.getId("mat-mdc-hint-");this._destroyed=new oj;this._outlineLabelOffsetResizeObserver=this._previousControlValidatorFn=this._previousControl=this._isFocused=null;this._animationsDisabled=hn();this.getLabelId=Sk.apply(null,[function(){return a._hasFloatingLabel()?a._labelId:null}].concat(p([])));this._hasFloatingLabel=Sk.apply(null,[function(){return!!a._labelChild()}].concat(p([])));
var b=this._defaults,c=x(Xm);b&&(b.appearance&&(this.appearance=b.appearance),this._hideRequiredMarker=!(b==null||!b.hideRequiredMarker),b.color&&(this.color=b.color));Msa(function(){return a._currentDirection=c.valueSignal()});this._syncOutlineLabelOffset()};g=eH.prototype;
g.ngAfterViewInit=function(){var a=this;this._updateFocusState();this._animationsDisabled||this._ngZone.runOutsideAngular(function(){setTimeout(function(){a._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)});this._changeDetectorRef.detectChanges()};g.ngAfterContentInit=function(){this._initializeSubscript();this._initializePrefixAndSuffix()};
g.ngAfterContentChecked=function(){this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control);this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()};
g.ngOnDestroy=function(){var a;(a=this._outlineLabelOffsetResizeObserver)==null||a.disconnect();var b;(b=this._stateChanges)==null||b.unsubscribe();var c;(c=this._valueChanges)==null||c.unsubscribe();var d;(d=this._describedByChanges)==null||d.unsubscribe();this._destroyed.next();this._destroyed.complete()};g.getConnectedOverlayOrigin=function(){return this._textField||this._elementRef};g._animateAndLockLabel=function(){this._hasFloatingLabel()&&(this.floatLabel="always")};
g._initializeControl=function(a){var b=this,c=this._control;a&&this._elementRef.nativeElement.classList.remove("mat-mdc-form-field-type-"+a.controlType);c.controlType&&this._elementRef.nativeElement.classList.add("mat-mdc-form-field-type-"+c.controlType);var d;(d=this._stateChanges)==null||d.unsubscribe();this._stateChanges=c.stateChanges.subscribe(function(){b._updateFocusState();b._changeDetectorRef.markForCheck()});var e;(e=this._describedByChanges)==null||e.unsubscribe();this._describedByChanges=
c.stateChanges.pipe(rj([void 0,void 0]),C(function(){return[c.errorState,c.userAriaDescribedBy]}),Wpa(),Di(function(h){var k=l(h);var q=l(k.next().value);h=q.next().value;q=q.next().value;var u=l(k.next().value);k=u.next().value;u=u.next().value;return h!==k||q!==u})).subscribe(function(){return b._syncDescribedByIds()});var f;(f=this._valueChanges)==null||f.unsubscribe();c.ngControl&&c.ngControl.valueChanges&&(this._valueChanges=c.ngControl.valueChanges.pipe(tj(this._destroyed)).subscribe(function(){return b._changeDetectorRef.markForCheck()}))};
g._checkPrefixAndSuffixTypes=function(){this._hasIconPrefix=!!this._prefixChildren.find(function(a){return!a._isText});this._hasTextPrefix=!!this._prefixChildren.find(function(a){return a._isText});this._hasIconSuffix=!!this._suffixChildren.find(function(a){return!a._isText});this._hasTextSuffix=!!this._suffixChildren.find(function(a){return a._isText})};
g._initializePrefixAndSuffix=function(){var a=this;this._checkPrefixAndSuffixTypes();Ci(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){a._checkPrefixAndSuffixTypes();a._changeDetectorRef.markForCheck()})};g._initializeSubscript=function(){var a=this;this._hintChildren.changes.subscribe(function(){a._processHints();a._changeDetectorRef.markForCheck()});this._errorChildren.changes.subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});this._syncDescribedByIds()};
g._assertFormFieldControl=function(){};g._updateFocusState=function(){var a=this._control.focused;if(a&&!this._isFocused){this._isFocused=!0;var b;(b=this._lineRipple)==null||b.activate()}else if(!a&&(this._isFocused||this._isFocused===null)){this._isFocused=!1;var c;(c=this._lineRipple)==null||c.deactivate()}this._elementRef.nativeElement.classList.toggle("mat-focused",a);var d;(d=this._textField)==null||d.nativeElement.classList.toggle("mdc-text-field--focused",a)};
g._syncOutlineLabelOffset=function(){var a=this;Vsa({earlyRead:function(){if(a._appearanceSignal()!=="outline"){var b;(b=a._outlineLabelOffsetResizeObserver)==null||b.disconnect();return null}if(globalThis.ResizeObserver){a._outlineLabelOffsetResizeObserver||(a._outlineLabelOffsetResizeObserver=new globalThis.ResizeObserver(function(){a._writeOutlinedLabelStyles(a._getOutlinedLabelOffset())}));b=l(a._prefixSuffixContainers());for(var c=b.next();!c.done;c=b.next())a._outlineLabelOffsetResizeObserver.observe(c.value,
{box:"border-box"})}return a._getOutlinedLabelOffset()},write:function(b){return a._writeOutlinedLabelStyles(b())}})};g._shouldAlwaysFloat=function(){return this.floatLabel==="always"};g._hasOutline=function(){return this.appearance==="outline"};g._forceDisplayInfixLabel=function(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()};g._shouldLabelFloat=function(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1};
g._shouldForward=function(a){var b=this._control?this._control.ngControl:null;return b&&b[a]};g._getSubscriptMessageType=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"};g._handleLabelResized=function(){this._refreshOutlineNotchWidth()};
g._refreshOutlineNotchWidth=function(){if(this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()){var a;(a=this._notchedOutline)==null||a._setNotchWidth(this._floatingLabel.getWidth())}else{var b;(b=this._notchedOutline)==null||b._setNotchWidth(0)}};g._processHints=function(){this._syncDescribedByIds()};g._validateHints=function(){};
g._syncDescribedByIds=function(){if(this._control){var a=[];this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy==="string"&&a.push.apply(a,p(this._control.userAriaDescribedBy.split(" ")));if(this._getSubscriptMessageType()==="hint"){var b=this._hintChildren?this._hintChildren.find(function(e){return e.align==="start"}):null,c=this._hintChildren?this._hintChildren.find(function(e){return e.align==="end"}):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(e){return e.id})));if(b=this._control.describedByIds){var d=this._describedByIds||a;b=a.concat(b.filter(function(e){return e&&!d.includes(e)}))}else b=a;this._control.setDescribedByIds(b);this._describedByIds=a}};
g._getOutlinedLabelOffset=function(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;var a,b=(a=this._iconPrefixContainer)==null?void 0:a.nativeElement,c;a=(c=this._textPrefixContainer)==null?void 0:c.nativeElement;var d;c=(d=this._iconSuffixContainer)==null?void 0:d.nativeElement;var e;d=(e=this._textSuffixContainer)==null?void 0:e.nativeElement;var f;b=(f=b==null?void 0:b.getBoundingClientRect().width)!=
null?f:0;var h;f=(h=a==null?void 0:a.getBoundingClientRect().width)!=null?h:0;var k;h=(k=c==null?void 0:c.getBoundingClientRect().width)!=null?k:0;var q;k=(q=d==null?void 0:d.getBoundingClientRect().width)!=null?q:0;return["var(--mat-mdc-form-field-label-transform, translateY(-50%) translateX(calc("+((this._currentDirection==="rtl"?"-1":"1")+" * ("+(b+f+"px + var(--mat-mdc-form-field-label-offset-x, 0px)))))")),b+f+h+k]};
g._writeOutlinedLabelStyles=function(a){if(a!==null){var b=l(a);a=b.next().value;b=b.next().value;this._floatingLabel&&(this._floatingLabel.element.style.transform=a);if(b!==null){var c;(c=this._notchedOutline)==null||c._setMaxWidth(b)}}};g._isAttachedToDom=function(){var a=this._elementRef.nativeElement;if(a.getRootNode){var b=a.getRootNode();return b&&b!==a}return document.documentElement.contains(a)};
pg.Object.defineProperties(eH.prototype,{hideRequiredMarker:{configurable:!0,enumerable:!0,get:function(){return this._hideRequiredMarker},set:function(a){this._hideRequiredMarker=um(a)}},floatLabel:{configurable:!0,enumerable:!0,get:function(){var a;return this._floatLabel||((a=this._defaults)==null?void 0:a.floatLabel)||"auto"},set:function(a){a!==this._floatLabel&&(this._floatLabel=a,this._changeDetectorRef.markForCheck())}},appearance:{configurable:!0,enumerable:!0,get:function(){return this._appearanceSignal()},
set:function(a){var b;a=a||((b=this._defaults)==null?void 0:b.appearance)||"fill";this._appearanceSignal.set(a)}},subscriptSizing:{configurable:!0,enumerable:!0,get:function(){var a;return this._subscriptSizing||((a=this._defaults)==null?void 0:a.subscriptSizing)||"fixed"},set:function(a){var b;this._subscriptSizing=a||((b=this._defaults)==null?void 0:b.subscriptSizing)||"fixed"}},hintLabel:{configurable:!0,enumerable:!0,get:function(){return this._hintLabel},set:function(a){this._hintLabel=a;this._processHints()}},
_control:{configurable:!0,enumerable:!0,get:function(){return this._explicitFormFieldControl||this._formFieldControl},set:function(a){this._explicitFormFieldControl=a}}});eH.\u0275fac=function(a){return new (a||eH)};
eH.\u0275cmp=F({type:eH,selectors:[["mat-form-field"]],contentQueries:function(a,b,c){a&1&&(lk(b._labelChild,fk(c,YG,5)),fk(c,$G,5),fk(c,JAc,5),fk(c,KAc,5),fk(c,IAc,5),fk(c,XG,5));if(a&2){zra();var d;ik(d=jk())&&(b._formFieldControl=d.first);ik(d=jk())&&(b._prefixChildren=d);ik(d=jk())&&(b._suffixChildren=d);ik(d=jk())&&(b._errorChildren=d);ik(d=jk())&&(b._hintChildren=d)}},viewQuery:function(a,b){a&1&&(lk(b._iconPrefixContainerSignal,ek(OAc,5)),lk(b._textPrefixContainerSignal,ek(PAc,5)),lk(b._iconSuffixContainerSignal,
ek(QAc,5)),lk(b._textSuffixContainerSignal,ek(RAc,5)),ek(SAc,5),ek(OAc,5),ek(PAc,5),ek(QAc,5),ek(RAc,5),ek(bH,5),ek(dH,5),ek(cH,5));if(a&2){zra(4);var c;ik(c=jk())&&(b._textField=c.first);ik(c=jk())&&(b._iconPrefixContainer=c.first);ik(c=jk())&&(b._textPrefixContainer=c.first);ik(c=jk())&&(b._iconSuffixContainer=c.first);ik(c=jk())&&(b._textSuffixContainer=c.first);ik(c=jk())&&(b._floatingLabel=c.first);ik(c=jk())&&(b._notchedOutline=c.first);ik(c=jk())&&(b._lineRipple=c.first)}},hostAttrs:[1,"mat-mdc-form-field"],
hostVars:38,hostBindings:function(a,b){a&2&&rk("mat-mdc-form-field-label-always-float",b._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",b._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",b._hasIconSuffix)("mat-form-field-invalid",b._control.errorState)("mat-form-field-disabled",b._control.disabled)("mat-form-field-autofilled",b._control.autofilled)("mat-form-field-appearance-fill",b.appearance=="fill")("mat-form-field-appearance-outline",b.appearance=="outline")("mat-form-field-hide-placeholder",
b._hasFloatingLabel()&&!b._shouldLabelFloat())("mat-primary",b.color!=="accent"&&b.color!=="warn")("mat-accent",b.color==="accent")("mat-warn",b.color==="warn")("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"))},inputs:{hideRequiredMarker:"hideRequiredMarker",
color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Bk([{provide:UAc,useExisting:eH},{provide:MAc,useExisting:eH}])],ngContentSelectors:"*;mat-label;[matPrefix], [matIconPrefix];[matTextPrefix];[matTextSuffix];[matSuffix], [matIconSuffix];mat-error, [matError];mat-hint:not([align='end']);mat-hint[align='end']".split(";"),decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",
""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",
""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(a,b){if(a&1){var c=y();Zj(TAc);G(0,PKa,1,1,"ng-template",null,0,Gk);L(2,"div",
6,1);Q("click",function(){z(c);return B(b._control.onContainerClick())});I(4,QKa,1,0,"div",7);L(5,"div",8);I(6,TKa,2,2,"div",9);I(7,UKa,3,0,"div",10);I(8,VKa,3,0,"div",11);L(9,"div",12);I(10,XKa,1,1,null,13);ak(11);M();I(12,YKa,3,0,"div",14);I(13,ZKa,3,0,"div",15);M();I(14,$Ka,1,0,"div",16);M();L(15,"div",17);I(16,aLa,2,0,"div",18)(17,cLa,5,1,"div",19);M()}a&2&&(E(2),rk("mdc-text-field--filled",!b._hasOutline())("mdc-text-field--outlined",b._hasOutline())("mdc-text-field--no-label",!b._hasFloatingLabel())("mdc-text-field--disabled",
b._control.disabled)("mdc-text-field--invalid",b._control.errorState),E(2),J(b._hasOutline()||b._control.disabled?-1:4),E(2),J(b._hasOutline()?6:-1),E(),J(b._hasIconPrefix?7:-1),E(),J(b._hasTextPrefix?8:-1),E(2),J(!b._hasOutline()||b._forceDisplayInfixLabel()?10:-1),E(2),J(b._hasTextSuffix?12:-1),E(),J(b._hasIconSuffix?13:-1),E(),J(b._hasOutline()?-1:14),E(),rk("mat-mdc-form-field-subscript-dynamic-size",b.subscriptSizing==="dynamic"),a=b._getSubscriptMessageType(),E(),J(a==="error"?16:a==="hint"?
17:-1))},dependencies:[bH,dH,oy,cH,XG],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-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;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}\n'],
encapsulation:2,changeDetection:0});var fH=function(){};fH.\u0275fac=function(a){return new (a||fH)};fH.\u0275mod=Zi({type:fH});fH.\u0275inj=Eg({imports:[Uy,eH,kz]});var WAc=new kh("mat-datepicker-scroll-strategy",{providedIn:"root",factory:function(){var a=x(yj);return function(){return Om(a)}}}),gH=function(){var a=this;this._elementRef=x(Ph);this._animationsDisabled=hn();this._changeDetectorRef=x(sx);this._globalModel=x(KG);this._dateAdapter=x(Kz);this._ngZone=x(Kk);this._rangeSelectionStrategy=x(BAc,{optional:!0});this._animationDone=new oj;this._isAnimating=!1;this._actionsPortal=null;this._handleAnimationEvent=function(d){var e=a._elementRef.nativeElement;
d.target===e&&d.animationName.startsWith("_mat-datepicker-content")&&(clearTimeout(a._animationFallback),a._isAnimating=d.type==="animationstart",e.classList.toggle("mat-datepicker-content-animating",a._isAnimating),a._isAnimating||a._animationDone.next())};x(Um).load(Iy);this._closeButtonText=x(IG).closeCalendarLabel;if(!this._animationsDisabled){var b=this._elementRef.nativeElement,c=x($m);this._eventCleanups=this._ngZone.runOutsideAngular(function(){return[c.listen(b,"animationstart",a._handleAnimationEvent),
c.listen(b,"animationend",a._handleAnimationEvent),c.listen(b,"animationcancel",a._handleAnimationEvent)]})}};g=gH.prototype;g.ngAfterViewInit=function(){var a=this;this._stateChanges=this.datepicker.stateChanges.subscribe(function(){a._changeDetectorRef.markForCheck()});this._calendar._getCurrentViewComponent()._focusActiveCell(!1)};
g.ngOnDestroy=function(){clearTimeout(this._animationFallback);var a;(a=this._eventCleanups)==null||a.forEach(function(c){return c()});var b;(b=this._stateChanges)==null||b.unsubscribe();this._animationDone.complete()};g._handleUserSelection=function(a){var b=this._model.selection;a=a.value;!a||this._dateAdapter.sameDate(a,b)||this._model.add(a);this._model&&!this._model.isComplete()||this._actionsPortal||this.datepicker.close()};
g._handleUserDragDrop=function(a){this._model.updateSelection(a.value,this)};g._startExitAnimation=function(){var a=this;this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit");this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(function(){a._isAnimating||a._animationDone.next()},200))};g._getSelected=function(){return this._model.selection};
g._applyPendingSelection=function(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)};g._assignActions=function(a,b){this._model=a?this._globalModel.clone():this._globalModel;this._actionsPortal=a;b&&this._changeDetectorRef.detectChanges()};gH.\u0275fac=function(a){return new (a||gH)};
gH.\u0275cmp=F({type:gH,selectors:[["mat-datepicker-content"]],viewQuery:function(a,b){a&1&&ek(TG,5);if(a&2){var c;ik(c=jk())&&(b._calendar=c.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(a,b){a&2&&(sk(b.color?"mat-"+b.color:""),rk("mat-datepicker-content-touch",b.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!b._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",
1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","matButton","elevated",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"mat-calendar",1),Q("yearSelected",
function(d){return b.datepicker._selectYear(d)})("monthSelected",function(d){return b.datepicker._selectMonth(d)})("viewChanged",function(d){return b.datepicker._viewChanged(d)})("_userSelection",function(d){return b._handleUserSelection(d)})("_userDragDrop",function(d){return b._handleUserDragDrop(d)}),M(),G(2,dLa,0,0,"ng-template",2),L(3,"button",3),Q("focus",function(){return b._closeButtonFocused=!0})("blur",function(){return b._closeButtonFocused=!1})("click",function(){return b.datepicker.close()}),
U(4),M()());if(a&2){rk("mat-datepicker-content-container-with-custom-header",b.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",b._actionsPortal);var c;Hj("aria-modal",!0)("aria-labelledby",(c=b._dialogLabelId)!=null?c:void 0);E();sk(b.datepicker.panelClass);K("id",b.datepicker.id)("startAt",b.datepicker.startAt)("startView",b.datepicker.startView)("minDate",b.datepicker._getMinDate())("maxDate",b.datepicker._getMaxDate())("dateFilter",b.datepicker._getDateFilter())("headerComponent",
b.datepicker.calendarHeaderComponent)("selected",b._model.selection)("dateClass",b.datepicker.dateClass)("comparisonStart",b.comparisonStart)("comparisonEnd",b.comparisonEnd)("startDateAccessibleName",b.startDateAccessibleName)("endDateAccessibleName",b.endDateAccessibleName);E();K("cdkPortalOutlet",b._actionsPortal);E();rk("cdk-visually-hidden",!b._closeButtonFocused);K("color",b.color||"primary");E();tk(b._closeButtonText)}},dependencies:[Ny,TG,Ez,aA],styles:["@keyframes _mat-datepicker-content-dropdown-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-dialog-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-exit{from{opacity:1}to{opacity:0}}.mat-datepicker-content{display:block;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 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));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large))}.mat-datepicker-content.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow, 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));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-exit 100ms linear}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],
encapsulation:2,changeDetection:0});
var hH=function(){var a=this;this._injector=x(yj);this._viewContainerRef=x(ck);this._dateAdapter=x(Kz,{optional:!0});this._dir=x(Xm,{optional:!0});this._model=x(KG);this._animationsDisabled=hn();this._scrollStrategy=x(WAc);this._inputStateChanges=Yh.EMPTY;this._document=x(Mm);this.startView="month";this.touchUi=!1;this.xPosition="start";this.yPosition="below";this.restoreFocus=!0;this.yearSelected=new Lp;this.monthSelected=new Lp;this.viewChanged=new Lp(!0);this.openedStream=new Lp;this.closedStream=
new Lp;this._opened=!1;this.id=x(Wm).getId("mat-datepicker-");this._focusedElementBeforeOpen=null;this._backdropHarnessClass=this.id+"-backdrop";this.stateChanges=new oj;this._changeDetectorRef=x(sx);this._model.selectionChanged.subscribe(function(){a._changeDetectorRef.markForCheck()})};g=hH.prototype;g._getMinDate=function(){return this.datepickerInput&&this.datepickerInput.min};g._getMaxDate=function(){return this.datepickerInput&&this.datepickerInput.max};
g._getDateFilter=function(){return this.datepickerInput&&this.datepickerInput.dateFilter};g.ngOnChanges=function(a){(a=a.xPosition||a.yPosition)&&!a.firstChange&&this._overlayRef&&(a=this._overlayRef.getConfig().positionStrategy,a instanceof Pm&&(this._setConnectedPositions(a),this.opened&&this._overlayRef.updatePosition()));this.stateChanges.next(void 0)};g.ngOnDestroy=function(){this._destroyOverlay();this.close();this._inputStateChanges.unsubscribe();this.stateChanges.complete()};g.select=function(a){this._model.add(a)};
g._selectYear=function(a){this.yearSelected.emit(a)};g._selectMonth=function(a){this.monthSelected.emit(a)};g._viewChanged=function(a){this.viewChanged.emit(a)};var XAc=function(a,b){a._inputStateChanges.unsubscribe();a.datepickerInput=b;a._inputStateChanges=b.stateChanges.subscribe(function(){return a.stateChanges.next(void 0)});return a._model};g=hH.prototype;
g.open=function(){var a;this._opened||this.disabled||((a=this._componentRef)==null?0:a.instance._isAnimating)||(this._focusedElementBeforeOpen=Am(),this._openOverlay(),this._opened=!0,this.openedStream.emit())};
g.close=function(){var a=this,b;if(this._opened&&((b=this._componentRef)==null||!b.instance._isAnimating)){var c=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus==="function";b=function(){a._opened&&(a._opened=!1,a.closedStream.emit())};if(this._componentRef){var d=this._componentRef,e=d.instance,f=d.location;e._animationDone.pipe(hj(1)).subscribe(function(){var h=a._document.activeElement;!c||h&&h!==a._document.activeElement&&!f.nativeElement.contains(h)||
a._focusedElementBeforeOpen.focus();a._focusedElementBeforeOpen=null;a._destroyOverlay()});e._startExitAnimation()}c?setTimeout(b):b()}};g._applyPendingSelection=function(){var a,b;(a=this._componentRef)==null||(b=a.instance)==null||b._applyPendingSelection()};
g._forwardContentValues=function(a){a.datepicker=this;a.color=this.color;var b=this.datepickerInput;b=b._formField?b._formField.getLabelId():b._elementRef.nativeElement.getAttribute("aria-labelledby");a._dialogLabelId=b;a._assignActions(this._actionsPortal,!1)};
g._openOverlay=function(){var a=this;this._destroyOverlay();var b=this.touchUi,c=new Az(gH,this._viewContainerRef),d=this._overlayRef=fn(this._injector,new Zm({positionStrategy:b?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[b?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:b?mxa(this._injector):this._scrollStrategy(),panelClass:"mat-datepicker-"+(b?"dialog":"popup"),disableAnimations:this._animationsDisabled}));
this._getCloseStream(d).subscribe(function(e){e&&e.preventDefault();a.close()});d.keydownEvents().subscribe(function(e){var f=e.keyCode;f!==38&&f!==40&&f!==37&&f!==39&&f!==33&&f!==34||e.preventDefault()});this._componentRef=d.attach(c);this._forwardContentValues(this._componentRef.instance);b||Ej(function(){d.updatePosition()},{injector:this._injector})};g._destroyOverlay=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)};g._getDialogStrategy=function(){return Toc(wz(new vz))};
g._getDropdownStrategy=function(){var a=Roc(tz(uz(Soc(Sm(this._injector,this.datepickerInput.getConnectedOverlayOrigin()),".mat-datepicker-content"),!1),8));return this._setConnectedPositions(a)};
g._setConnectedPositions=function(a){var b=this.xPosition==="end"?"end":"start",c=b==="start"?"end":"start",d=this.yPosition==="above"?"bottom":"top",e=d==="top"?"bottom":"top";return sz(a,[{originX:b,originY:e,overlayX:b,overlayY:d},{originX:b,originY:d,overlayX:b,overlayY:e},{originX:c,originY:e,overlayX:c,overlayY:d},{originX:c,originY:d,overlayX:c,overlayY:e}])};
g._getCloseStream=function(a){var b=this,c=["ctrlKey","shiftKey","metaKey"];return Ci(a.backdropClick(),a._detachments,a.keydownEvents().pipe(Di(function(d){return d.keyCode===27&&!ym(d)||b.datepickerInput&&ym(d,"altKey")&&d.keyCode===38&&c.every(function(e){return!ym(d,e)})})))};
pg.Object.defineProperties(hH.prototype,{startAt:{configurable:!0,enumerable:!0,get:function(){return this._startAt||(this.datepickerInput?this.datepickerInput.value:null)},set:function(a){this._startAt=Lz(this._dateAdapter,Mz(this._dateAdapter,a))}},color:{configurable:!0,enumerable:!0,get:function(){var a;(a=this._color)||(this.datepickerInput?(a=this.datepickerInput,a=a._formField?a._formField.color:void 0):a=void 0);return a},set:function(a){this._color=a}},disabled:{configurable:!0,enumerable:!0,
get:function(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled},set:function(a){a!==this._disabled&&(this._disabled=a,this.stateChanges.next(void 0))}},panelClass:{configurable:!0,enumerable:!0,get:function(){return this._panelClass},set:function(a){var b=b===void 0?/\s+/:b;var c=[];if(a!=null)for(a=Array.isArray(a)?a:(""+a).split(b),a=l(a),b=a.next();!b.done;b=a.next())(b=(""+b.value).trim())&&c.push(b);this._panelClass=c}},opened:{configurable:!0,
enumerable:!0,get:function(){return this._opened},set:function(a){a?this.open():this.close()}}});hH.\u0275fac=function(a){return new (a||hH)};
hH.\u0275dir=$i({type:hH,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",Tk],disabled:[2,"disabled","disabled",Tk],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",Tk],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",Tk]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},
features:[$w]});var iH=function(){};iH.\u0275fac=function(a){return new (a||iH)};
iH.\u0275cmp=F({type:iH,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}\n"],encapsulation:2,
changeDetection:0});var YAc={passive:!0},jH=function(){this._platform=x(Qm);this._ngZone=x(Kk);this._renderer=x(Wi).createRenderer(null,null);this._styleLoader=x(Um);this._monitoredElements=new Map};
jH.prototype.monitor=function(a){var b=this;if(!this._platform.isBrowser)return Bi;this._styleLoader.load(iH);var c=wm(a);if(a=this._monitoredElements.get(c))return a.subject;var d=new oj,e=function(f){f.animationName!=="cdk-text-field-autofill-start"||c.classList.contains("cdk-text-field-autofilled")?f.animationName==="cdk-text-field-autofill-end"&&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})}))};a=this._ngZone.runOutsideAngular(function(){c.classList.add("cdk-text-field-autofill-monitored");return b._renderer.listen(c,"animationstart",e,YAc)});this._monitoredElements.set(c,{subject:d,unlisten:a});return d};
jH.prototype.stopMonitoring=function(a){a=wm(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))};jH.prototype.ngOnDestroy=function(){var a=this;this._monitoredElements.forEach(function(b,c){return a.stopMonitoring(c)})};jH.\u0275fac=function(a){return new (a||jH)};jH.\u0275prov=Dg({token:jH,factory:jH.\u0275fac,providedIn:"root"});var kH=function(){var a=this;this._elementRef=x(Ph);this._platform=x(Qm);this._ngZone=x(Kk);this._renderer=x($m);this._resizeEvents=new oj;this._destroyed=new oj;this._enabled=!0;this._previousMinRows=-1;this._document=x(Mm);this._isViewInited=!1;this._handleFocusEvent=function(b){a._hasFocus=b.type==="focus"};x(Um).load(iH);this._textareaElement=this._elementRef.nativeElement};g=kH.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,ZAc(this),this._ngZone.runOutsideAngular(function(){a._listenerCleanups=[a._renderer.listen("window","resize",function(){return a._resizeEvents.next()}),a._renderer.listen(a._textareaElement,"focus",a._handleFocusEvent),a._renderer.listen(a._textareaElement,"blur",a._handleFocusEvent)];a._resizeEvents.pipe(Gpa(16)).subscribe(function(){a._cachedLineHeight=a._cachedPlaceholderHeight=
void 0;ZAc(a,!0)})}),this._isViewInited=!0,ZAc(this,!0))};g.ngOnDestroy=function(){var a;(a=this._listenerCleanups)==null||a.forEach(function(b){return b()});this._resizeEvents.complete();this._destroyed.next();this._destroyed.complete()};
g._cacheTextareaLineHeight=function(){if(!this._cachedLineHeight){var a=this._textareaElement.cloneNode(!1),b=a.style;a.rows=1;b.position="absolute";b.visibility="hidden";b.border="none";b.padding="0";b.height="";b.minHeight="";b.maxHeight="";b.top=b.bottom=b.left=b.right="auto";b.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&&this._cachedPlaceholderHeight==void 0)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&&ZAc(this)};
var ZAc=function(a,b){b=b===void 0?!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(){typeof requestAnimationFrame!=="undefined"?requestAnimationFrame(function(){return a._scrollToCaretPosition(c)}):setTimeout(function(){return a._scrollToCaretPosition(c)})}),
a._previousValue=d,a._previousMinRows=a._minRows}};kH.prototype.reset=function(){this._initialHeight!==void 0&&(this._textareaElement.style.height=this._initialHeight)};kH.prototype._noopInputHandler=function(){};kH.prototype._scrollToCaretPosition=function(a){var b=a.selectionStart,c=a.selectionEnd;!this._destroyed.isStopped&&this._hasFocus&&a.setSelectionRange(b,c)};
pg.Object.defineProperties(kH.prototype,{minRows:{configurable:!0,enumerable:!0,get:function(){return this._minRows},set:function(a){this._minRows=xm(a);this._setMinHeight()}},maxRows:{configurable:!0,enumerable:!0,get:function(){return this._maxRows},set:function(a){this._maxRows=xm(a);this._setMaxHeight()}},enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){this._enabled!==a&&((this._enabled=a)?ZAc(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()}}});kH.\u0275fac=function(a){return new (a||kH)};
kH.\u0275dir=$i({type:kH,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(a){a&1&&Q("input",function(){})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",Tk],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]});var lH=function(){};lH.\u0275fac=function(a){return new (a||lH)};lH.\u0275mod=Zi({type:lH});lH.\u0275inj=Eg({});var $Ac=new kh("MAT_INPUT_VALUE_ACCESSOR");var aBc="button checkbox file hidden image radio range reset submit".split(" "),bBc=new kh("MAT_INPUT_CONFIG"),mH=function(){var a=this;this._elementRef=x(Ph);this._platform=x(Qm);this.ngControl=x(fG,{optional:!0,self:!0});this._autofillMonitor=x(jH);this._ngZone=x(Kk);this._formField=x(UAc,{optional:!0});this._renderer=x($m);this._uid=x(Wm).getId("mat-input-");this._config=x(bBc,{optional:!0});this.focused=!1;this.stateChanges=new oj;this.controlType="mat-input";this._disabled=this.autofilled=!1;
this._type="text";this._readonly=!1;this._neverEmptyInputTypes="date datetime datetime-local month time week".split(" ").filter(function(q){return dwa().has(q)});this._iOSKeyupListener=function(q){q=q.target;q.value||q.selectionStart!==0||q.selectionEnd!==0||(q.setSelectionRange(1,1),q.setSelectionRange(0,0))};var b=x(mG,{optional:!0}),c=x(wG,{optional:!0}),d=x(Pz),e=x($Ac,{optional:!0,self:!0}),f=this._elementRef.nativeElement,h=f.nodeName.toLowerCase();e?bj(e.value)?this._signalBasedValueAccessor=
e:this._inputValueAccessor=e:this._inputValueAccessor=f;this._previousNativeValue=this.value;this.id=this.id;this._platform.IOS&&this._ngZone.runOutsideAngular(function(){a._cleanupIosKeyup=a._renderer.listen(f,"keyup",a._iOSKeyupListener)});this._errorStateTracker=new Yoc(d,this.ngControl,c,b,this.stateChanges);this._isServer=!this._platform.isBrowser;this._isNativeSelect=h==="select";this._isTextarea=h==="textarea";this._isInFormField=!!this._formField;var k;this.disabledInteractive=((k=this._config)==
null?void 0:k.disabledInteractive)||!1;this._isNativeSelect&&(this.controlType=f.multiple?"mat-native-select-multiple":"mat-native-select");this._signalBasedValueAccessor&&Msa(function(){a._signalBasedValueAccessor.value();a.stateChanges.next()})};g=mH.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);var a;(a=this._cleanupIosKeyup)==null||a.call(this);var b;(b=this._cleanupWebkitWheel)==null||b.call(this)};g.ngDoCheck=function(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&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.updateErrorState=function(){this._errorStateTracker.updateErrorState()};g._focusChanged=function(a){if(a!==this.focused){if(!this._isNativeSelect&&a&&this.disabled&&this.disabledInteractive){var b=this._elementRef.nativeElement;b.type==="number"?(b.type="text",b.setSelectionRange(0,0),b.type="number"):b.setSelectionRange(0,0)}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(){aBc.indexOf(this._type)};
g._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1};g._isBadInput=function(){var a=this._elementRef.nativeElement.validity;return a&&a.badInput};g.setDescribedByIds=function(a){var b=this._elementRef.nativeElement;a.length?b.setAttribute("aria-describedby",a.join(" ")):b.removeAttribute("aria-describedby")};g.onContainerClick=function(){this.focused||this.focus()};
g._isInlineSelect=function(){var a=this._elementRef.nativeElement;return this._isNativeSelect&&(a.multiple||a.size>1)};g._getReadonlyAttribute=function(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null};
pg.Object.defineProperties(mH.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=um(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(d=(c=this._required)!=null?c:(a=this.ngControl)==null?void 0:(b=a.control)==null?void 0:NJa(b._rawValidators,
zp))!=null?d:!1},set:function(a){this._required=um(a)}},type:{configurable:!0,enumerable:!0,get:function(){return this._type},set:function(a){this._type=a||"text";this._validateType();!this._isTextarea&&dwa().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},errorStateMatcher:{configurable:!0,enumerable:!0,get:function(){return this._errorStateTracker.matcher},set:function(a){this._errorStateTracker.matcher=a}},value:{configurable:!0,enumerable:!0,get:function(){return this._signalBasedValueAccessor?
this._signalBasedValueAccessor.value():this._inputValueAccessor.value},set:function(a){a!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(a):this._inputValueAccessor.value=a,this.stateChanges.next())}},readonly:{configurable:!0,enumerable:!0,get:function(){return this._readonly},set:function(a){this._readonly=um(a)}},errorState:{configurable:!0,enumerable:!0,get:function(){return this._errorStateTracker.errorState},set:function(a){this._errorStateTracker.errorState=
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||!!(a.selectedIndex>-1&&b&&b.label)}return this.focused&&!this.disabled||!this.empty}},describedByIds:{configurable:!0,enumerable:!0,get:function(){var a;
return((a=this._elementRef.nativeElement.getAttribute("aria-describedby"))==null?void 0:a.split(" "))||[]}}});mH.\u0275fac=function(a){return new (a||mH)};
mH.\u0275dir=$i({type:mH,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(a,b){a&1&&Q("focus",function(){return b._focusChanged(!0)})("blur",function(){return b._focusChanged(!1)})("input",function(){return b._onInput()});a&2&&(Oj("id",b.id)("disabled",b.disabled&&!b.disabledInteractive)("required",b.required),Hj("name",
b.name||null)("readonly",b._getReadonlyAttribute())("aria-disabled",b.disabled&&b.disabledInteractive?"true":null)("aria-invalid",b.empty&&b.required?null:b.errorState)("aria-required",b.required)("id",b.id),rk("mat-input-server",b._isServer)("mat-mdc-form-field-textarea-control",b._isInFormField&&b._isTextarea)("mat-mdc-form-field-input-control",b._isInFormField)("mat-mdc-input-disabled-interactive",b.disabledInteractive)("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:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",Tk]},exportAs:["matInput"],features:[Bk([{provide:$G,useExisting:mH}]),$w]});var nH=function(){};nH.\u0275fac=function(a){return new (a||nH)};nH.\u0275mod=Zi({type:nH});nH.\u0275inj=Eg({imports:[fH,fH,lH,kz]});var cBc={provide:cG,useExisting:$g(function(){return oH}),multi:!0},dBc={provide:dG,useExisting:$g(function(){return oH}),multi:!0},oH=function(){VG.call(this);this._formField=x(UAc,{optional:!0});this._openedSubscription=this._closedSubscription=Yh.EMPTY;this._ariaOwns=kk.apply(null,[null].concat(p([])));this._validator=IJa(VG.prototype._getValidators.call(this))};Y(oH,VG);g=oH.prototype;g.getConnectedOverlayOrigin=function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef};
g.ngOnDestroy=function(){VG.prototype.ngOnDestroy.call(this);this._closedSubscription.unsubscribe();this._openedSubscription.unsubscribe()};g._openPopup=function(){this._datepicker&&this._datepicker.open()};g._getValueFromModel=function(a){return a};g._assignValueToModel=function(a){this._model&&this._model.updateSelection(a,this)};g._getMinDate=function(){return this._min};g._getMaxDate=function(){return this._max};g._getDateFilter=function(){return this._dateFilter};
g._shouldHandleChangeEvent=function(a){return a.source!==this};
pg.Object.defineProperties(oH.prototype,{matDatepicker:{configurable:!0,enumerable:!0,set:function(a){var b=this;a&&(this._datepicker=a,this._ariaOwns.set(a.opened?a.id:null),this._closedSubscription=a.closedStream.subscribe(function(){b._onTouched();b._ariaOwns.set(null)}),this._openedSubscription=a.openedStream.subscribe(function(){b._ariaOwns.set(a.id)}),this._registerModel(XAc(a,this)))}},min:{configurable:!0,enumerable:!0,get:function(){return this._min},set:function(a){a=Lz(this._dateAdapter,
Mz(this._dateAdapter,a));this._dateAdapter.sameDate(a,this._min)||(this._min=a,this._validatorOnChange())}},max:{configurable:!0,enumerable:!0,get:function(){return this._max},set:function(a){a=Lz(this._dateAdapter,Mz(this._dateAdapter,a));this._dateAdapter.sameDate(a,this._max)||(this._max=a,this._validatorOnChange())}},dateFilter:{configurable:!0,enumerable:!0,get:function(){return this._dateFilter},set:function(a){var b=this._matchesFilter(this.value);this._dateFilter=a;this._matchesFilter(this.value)!==
b&&this._validatorOnChange()}}});oH.\u0275fac=function(a){return new (a||oH)};
oH.\u0275dir=$i({type:oH,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(a,b){a&1&&Q("input",function(c){return b._onInput(c)})("change",function(){return b._onChange()})("blur",function(){return b._onBlur()})("keydown",function(c){return b._onKeydown(c)});a&2&&(Oj("disabled",b.disabled),Hj("aria-haspopup",b._datepicker?"dialog":null)("aria-owns",b._ariaOwns())("min",b.min?b.min.toIsoString(!0):null)("max",b.max?b.max.toIsoString(!0):
null)("data-mat-calendar",b._datepicker?b._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[Bk([cBc,dBc,{provide:$Ac,useExisting:oH}]),xj]});var eBc=["button"],fBc=[[["","matDatepickerToggleIcon",""]]],gBc=function(){};gBc.\u0275fac=function(a){return new (a||gBc)};gBc.\u0275dir=$i({type:gBc,selectors:[["","matDatepickerToggleIcon",""]]});var pH=function(){this._intl=x(IG);this._changeDetectorRef=x(sx);this._stateChanges=Yh.EMPTY;var a=x(new ax("tabindex"),{optional:!0});this.tabIndex=(a=Number(a))||a===0?a:null};g=pH.prototype;g.ngOnChanges=function(a){a.datepicker&&this._watchStateChanges()};g.ngOnDestroy=function(){this._stateChanges.unsubscribe()};
g.ngAfterContentInit=function(){this._watchStateChanges()};g._open=function(a){this.datepicker&&!this.disabled&&(this.datepicker.open(),a.stopPropagation())};
g._watchStateChanges=function(){var a=this,b=this.datepicker?this.datepicker.stateChanges:li(),c=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:li(),d=this.datepicker?Ci(this.datepicker.openedStream,this.datepicker.closedStream):li();this._stateChanges.unsubscribe();this._stateChanges=Ci(this._intl.changes,b,c,d).subscribe(function(){return a._changeDetectorRef.markForCheck()})};
pg.Object.defineProperties(pH.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(a){this._disabled=a}}});pH.\u0275fac=function(a){return new (a||pH)};
pH.\u0275cmp=F({type:pH,selectors:[["mat-datepicker-toggle"]],contentQueries:function(a,b,c){a&1&&fk(c,gBc,5);if(a&2){var d;ik(d=jk())&&(b._customIcon=d.first)}},viewQuery:function(a,b){a&1&&ek(eBc,5);if(a&2){var c;ik(c=jk())&&(b._button=c.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(a,b){a&1&&Q("click",function(c){return b._open(c)});a&2&&(Hj("tabindex",null)("data-mat-calendar",b.datepicker?b.datepicker.id:null),rk("mat-datepicker-toggle-active",b.datepicker&&
b.datepicker.opened)("mat-accent",b.datepicker&&b.datepicker.color==="accent")("mat-warn",b.datepicker&&b.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",Tk],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[$w],ngContentSelectors:["[matDatepickerToggleIcon]"],decls:4,vars:7,consts:[["button",""],["matIconButton","","type","button",3,"tabIndex","disabled","disableRipple"],
["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 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 16H5V8h14v11zM7 10h5v5H7z"]],template:function(a,b){a&1&&(Zj(fBc),L(0,"button",1,0),I(2,eLa,2,0,":svg:svg",2),ak(3),M());a&2&&(K("tabIndex",b.disabled?-1:b.tabIndex)("disabled",b.disabled)("disableRipple",b.disableRipple),Hj("aria-haspopup",
b.datepicker?"dialog":null)("aria-label",b.ariaLabel||b._intl.openCalendarLabel)("aria-expanded",b.datepicker?b.datepicker.opened:null),E(2),J(b._customIcon?-1:2))},dependencies:[bA],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle button{color:inherit}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}}\n"],
encapsulation:2,changeDetection:0});var qH=function(){hH.apply(this,arguments)};Y(qH,hH);qH.\u0275dir=hH.\u0275dir;qH.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(qH)))(b||qH)}}();qH.\u0275cmp=F({type:qH,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[Bk([AAc,{provide:hH,useExisting:qH}]),xj],decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var rH=function(){};rH.\u0275fac=function(a){return new (a||rH)};rH.\u0275mod=Zi({type:rH});rH.\u0275inj=Eg({providers:[IG],imports:[cA,Jz,Wy,Fz,gH,pH,UG,kz,pz]});var fLa=new Map([["zwieback_id:","zwieback"],["android_id:","android"],["anonymous_id:","anonymous"]]);var hBc=["el"],kLa=function(a,b){return b.label},sH=function(){Z.apply(this,arguments);this.domSafe=x(SF);this.clipboard=x(ZF);this.snackBar=x(JA);this.activeSession=x(Ks);this.contextSensitiveRegistry=x(yF);this.formattingMode=x(Bzc);this.analytics=x(nE);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.scrollStrategy=x(rz).close();this.urls=[];this.enableNexusLinking=Cx(this.activeSession,"enableNexusLinking")&&this.activeSession.isInternalSession();this.opened=!1};Y(sH,Z);
sH.\u0275dir=Z.\u0275dir;
sH.prototype.ngOnInit=function(){this.urls=[{label:this.originalHref,originalHref:this.originalHref,href:this.href}];if(this.enableNexusLinking){var a=tp(this.contextSensitiveRegistry.getIssueId());a:{var b=this.originalHref;try{var c=null,d=(new URL(b)).hostname;switch(d.includes("analog")?"Analog":d.includes("sherlog")?"Sherlog":d.includes("eye3")?"Third Eye":"PRODUCT_UNSPECIFIED"){case "Analog":var e=new URL("https://nexus.corp.google.com/debug/dashboard");var f=new URL(b);if(f.searchParams.has("text_query")){var h=
f.searchParams.get("text_query");var k=f.searchParams.get("time_range");if(k==null)var q=[];else{var u=k.split("/");if(u.length!==2)q=[];else{var A=(new Date(u[1])).getTime()*1E3;q=[Ep("start_time","=",[(new Date(u[0])).getTime()*1E3]),Ep("end_time","=",[A])]}}f=[];var D=f.concat,H=p(q);q=[];for(var O,P=[],S=l(h.matchAll(/NOT\s\(source_location.file = "(?<file>[^)]+)" source_location.line = "(?<line>[0-9]+)"\)/gm)),aa=S.next();!aa.done;aa=S.next()){var ia=aa.value;P.push(ia[1]+":"+ia[2])}(O=P.length>
0?Ep("site_path","!=",P):null)&&q.push(O);S=void 0;for(var la=l(h.matchAll(/(?<key>[^\s=!~]+)[\s]*(?<operator>=~?|![=~])[\s]*(?<value>"[^"\\]*(?:\\.[^"\\]*)*"|[^\s"]+)/gm)),ya=la.next();!ya.done;ya=la.next()){var Ia=ya.value,Pa=Ia[1];var gb=Ia[2];var ua=kba()(gb)?gb:void 0;h=ua;var Ea=Ia[3];if(Ea.length>=2&&Ea.charAt(0)==='"'&&Ea.charAt(Ea.length-1)==='"')var Ha=Ea.substring(1,Ea.length-1);else if(Ea==="true"||Ea==="false")Ha=Ea==="true";else{var mb=Number(Ea);Ha=oba(mb)?mb:void 0}aa=Ha;if(h)if(Pa!==
"source_location.file"||O){Pa==="source_location.line"&&S&&(S=Ep("site_path",S.operator,[S.values[0]+":"+aa]));var nb=sKa(Pa);nb&&q.push(Ep(nb,h,[mKa.includes(nb)?Number(aa):aa]))}else S=Ep("site_path",h,[aa])}S&&q.push(S);var Lb=D.call(f,H,p(q))}else{if(f.searchParams.get("storage")==="borglocal")throw Error("dd");D=[];P=l(f.searchParams);for(var bc=P.next();!bc.done;bc=P.next()){var yc=l(bc.value),kc=yc.next().value,Ee=yc.next().value,yb=rKa(kc,Ee,f.searchParams);yb&&D.push.apply(D,p(yb))}Lb=D}e.searchParams.set("filters",
lKa(Lb));e.searchParams.set("tab","rdl");c=e;break;case "Sherlog":if(b.startsWith("http://sherlog/_")){var Tb=new URL("https://nexus.corp.google.com/trace/"+b.replace("http://sherlog/_",""));Tb.searchParams.set("action","expandsherlog");c=Tb}else{var cb=new URL(b);if(cb.pathname.includes("workflow")){var dc=cb.searchParams,uc,nd=encodeURIComponent((uc=dc.get("dataid"))!=null?uc:""),Nb=new URL("https://nexus.corp.google.com/trace/"+nd),Cc=gLa(cb);Nb.searchParams.set("account",Cc.account);Nb.searchParams.set("account_type",
Cc.accountType);var Ec;Nb.searchParams.set("version",(Ec=dc.get("version"))!=null?Ec:"");var Md;Nb.searchParams.set("pipeline",(Md=dc.get("config"))!=null?Md:"");Nb.searchParams.set("trace_type","sherlog");c=Nb}else c=null}break;default:var Ed="";break a}a=a!=null?a:void 0;c==null?Ed="":(c.searchParams.set("origin_type","buganizer"),a&&(a.startsWith("b/")||(a="b/"+a),c.searchParams.set("origin_id",a)),Ed=c.toString());break a}catch(Hf){Ed="";break a}Ed=void 0}Ed&&this.urls.push({label:"Open in Nexus",
originalHref:Ed,href:Ed,icon:"nexus-logo"})}};sH.prototype.ngAfterViewInit=function(){var a=this;this.cdkConnectedOverlay.attach.pipe(tj(this.destroyed$)).subscribe(function(){var b=a.cdkConnectedOverlay.overlayRef.overlayElement;b&&(b=b.querySelector("a"))&&b.focus()})};sH.prototype.getNgContentParentEl=function(){return this.el.nativeElement};
var iBc=function(a){if(a.urls.length>1)return!0;if(a.formattingMode==="PLAIN")return!1;var b=a.getNgContentParentEl(),c,d;if(d=tha(b))a=a.originalHref,b=(c=b.textContent)!=null?c:"",d=b===a||a.startsWith("mailto:")&&a.substring(7)===b?!0:!1;return!d};sH.prototype.hide=function(){this.opened=!1};sH.prototype.openLink=function(a,b){uha(a)||(a.preventDefault(),a.stopPropagation(),yp(this.domSafe,b))};sH.prototype.copyToClipboard=function(a){this.clipboard.copy(a);this.snackBar.open("URL copied","",{duration:2E3})};
var jBc=function(a){var b="externalLinkPopup";a.urls.find(function(c){return c.label==="Open in Nexus"})&&(b="externalLinkPopupNexus");a.analytics.trackEvent("issue","click",b)};sH.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(sH)))(b||sH)}}();
sH.\u0275cmp=F({type:sH,selectors:[["b-external-hyperlink-widget"]],viewQuery:function(a,b){a&1&&(ek(hBc,7),ek(Iz,7));if(a&2){var c;ik(c=jk())&&(b.el=c.first);ik(c=jk())&&(b.cdkConnectedOverlay=c.first)}},inputs:{originalHref:"originalHref",href:"href"},standalone:!1,features:[xj],ngContentSelectors:["*"],decls:7,vars:9,consts:[["trigger","cdkOverlayOrigin"],["el",""],["cdkOverlayOrigin","",1,"keep-focus-ring",3,"click","href","rel"],["cdkConnectedOverlay","","cdkConnectedOverlayPanelClass","tooltip-panel",
3,"detach","overlayOutsideClick","cdkConnectedOverlayPush","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayScrollStrategy"],["svgIcon","link",1,"icon-s"],["cdkTrapFocus","","cdkTrapFocusAutoCapture","",1,"b-bubble"],[1,"gmat-caption"],["role","img",1,"icon-s",3,"svgIcon"],["target","_blank",1,"keep-focus-ring",3,"click","href","rel"],["type","button","mat-button","","matTooltip","Copy to clipboard","aria-label","Copy URL to clipboard",1,"tiny",3,"click"],["svgIcon","copy"]],
template:function(a,b){if(a&1){var c=y();Zj();L(0,"a",2,0);Q("click",function(d){z(c);uha(d)||(d.preventDefault(),d.stopPropagation(),iBc(b)?(jBc(b),b.opened=!0):b.openLink(d,b.href));return B()});I(2,hLa,2,0,"b-glue");L(3,"span",null,1);ak(5);M()();G(6,mLa,1,1,"ng-template",3);Q("detach",function(){z(c);return B(b.hide())})("overlayOutsideClick",function(){z(c);return B(b.hide())})}a&2&&(a=T(1),rk("needs-contextual-popup",iBc(b)),K("href",b.originalHref,Ni)("rel",b.EXTERNAL_LINK_REL),E(2),J(iBc(b)?
2:-1),E(4),K("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",b.opened)("cdkConnectedOverlayScrollStrategy",b.scrollStrategy))},dependencies:[Ny,EA,Iz,Hz,UF,dA,aA,YF,WF],styles:[".tooltip-panel{display:inline-block;margin:.1em}[_nghost-%COMP%] > a.needs-contextual-popup[_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%]{align-items:center;display:flex;max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b-bubble[_ngcontent-%COMP%]   .gmat-caption[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin:0 2px}.b-bubble[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:4px;--mat-button-text-icon-spacing: 0}.b-bubble[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:not(.final){margin-right:4px}"],
changeDetection:0});var tH=function(){this.session=x(Ks);this.userPreferencesManager=x(NF)};tH.\u0275fac=function(a){return new (a||tH)};tH.\u0275prov=Dg({token:tH,factory:tH.\u0275fac,providedIn:"root"});var kBc=new kh("IssueCard");var uH=function(){};uH.prototype.visit=function(){};uH.\u0275fac=function(a){return new (a||uH)};uH.\u0275prov=Dg({token:uH,factory:uH.\u0275fac,providedIn:"root"});var nLa;var vH=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new Lp;this.clickHandler=function(c){if(c instanceof MouseEvent){var d=c.target;d&&(b.elementRef.nativeElement.contains(d)||b.clickOutside.emit(c))}}};vH.prototype.ngOnInit=function(){this.getRoot().addEventListener(this.eventType,this.clickHandler,!0)};vH.prototype.ngOnDestroy=function(){this.getRoot().removeEventListener(this.eventType,this.clickHandler,!0)};
vH.prototype.getRoot=function(){var a;return(a=oLa(this.elementRef.nativeElement))!=null?a:document};vH.\u0275fac=function(a){return new (a||vH)(Ui(Ph))};vH.\u0275dir=$i({type:vH,selectors:[["","clickOutside",""]],inputs:{eventType:[0,"clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"},standalone:!1});var wH=function(){};wH.\u0275fac=function(a){return new (a||wH)};wH.\u0275mod=Zi({type:wH});wH.\u0275inj=Eg({});var lBc=Symbol("jd"),mBc=Symbol("kd"),xH=function(a){this.viewContainerRef=a;this.className="onedev-hovercard";this.onHide=new Lp;this[lBc]=new nj(1);this.wasTriggeredByKeyboard=!1;this.isOnHover$=new $n(!1);this.closeHovercard$=new oj};xH.prototype.ngOnInit=function(){};var nBc=function(a){var b=a[mBc];return b?(b.loaded||(b.viewContainerRef.createEmbeddedView(b.templateRef),b.cdr.detectChanges(),b.loaded=!0),a[lBc].pipe(ij(0))):li(void 0)};xH.\u0275fac=function(a){return new (a||xH)(Ui(ck))};
xH.\u0275cmp=F({type:xH,selectors:[["onedev-hovercard"]],viewQuery:function(a,b){a&1&&ek(bk,7);if(a&2){var c;ik(c=jk())&&(b.templateRef=c.first)}},inputs:{className:"className"},outputs:{onHide:"onHide"},exportAs:["onedevHovercard"],standalone:!1,ngContentSelectors:["*"],decls:1,vars:0,consts:[["cdkTrapFocus","",3,"clickOutside","mouseenter","mouseleave","cdkTrapFocusAutoCapture"]],template:function(a){a&1&&(Zj(),G(0,pLa,2,3,"ng-template"))},dependencies:[Ny,vH],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 yH=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.cdr=c;this.loaded=!1;d[mBc]=this};yH.\u0275fac=function(a){return new (a||yH)(Ui(bk),Ui(ck),Ui(sx),Ui(xH))};yH.\u0275dir=$i({type:yH,selectors:[["","onedevHovercardLazyBody",""]],standalone:!1});var zH=function(a){this.hovercard=a;this.destroyed$=new nj(1)};zH.prototype.ngOnDestroy=function(){this.destroyed$.next()};zH.prototype.ngOnInit=function(){this.isHovercardReady$.pipe(tj(this.destroyed$)).subscribe(this.hovercard[lBc])};
zH.\u0275fac=function(a){return new (a||zH)(Ui(xH))};zH.\u0275dir=$i({type:zH,selectors:[["","onedevIsHovercardReady",""]],inputs:{isHovercardReady$:[0,"onedevIsHovercardReady","isHovercardReady$"]},standalone:!1});var oBc={originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:10},pBc={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-10},qBc={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-10},rBc=[{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:10},oBc,qBc,{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 AH=function(){this.showDelay=600;this.hideDelay=400;this.position=rBc;this.triggerKey=[]},BH=function(a,b){var c=this;this.overlay=a;this.origin=b;this.waitFor$=void 0;this.enabled=!0;this.config=new AH;this.active=!1;this.hovercardShown$=new nj(1);this.hide$=new oj;this.hovercard$=new $n(null);this.isHovered$=new $n(!1);this.isKeyboardActivated$=new $n(!1);this.destroyed$=new nj(1);this.onDocumentKeyDown=function(e){e.key==="Escape"&&(sBc(c),e.stopPropagation(),e.preventDefault())};tBc(this);
this.handleClose();var d;(d=this.waitFor$)==null||d.pipe(tj(this.destroyed$)).subscribe()},tBc=function(a){uBc(a).pipe(tj(a.destroyed$)).subscribe(function(b){(a.active=b)?a.show():a.hide()})};BH.prototype.handleClose=function(){var a=this;this.hovercard$.pipe(sj(function(b){return(b==null?void 0:b.closeHovercard$)||ix}),tj(this.destroyed$)).subscribe(function(){sBc(a)})};BH.prototype.dispose=function(){vBc(this);var a;(a=this.overlayRef)==null||a.dispose();this.destroyed$.next();this.destroyed$.complete()};
BH.prototype.isExpanded=function(){return this.hovercard$.getValue()?this.active:void 0};BH.prototype.toggle=function(a){this.isHovered$.next(a)};var sBc=function(a){a.isKeyboardActivated$.next(!1);a.isHovered$.next(!1);var b;(b=a.hovercard$.getValue())==null||b.isOnHover$.next(!1)};
BH.prototype.show=function(){var a=this;this.enabled&&this.overlayRef&&!this.overlayRef.hasAttached()&&this.hovercard$.getValue()&&(this.hovercard$.getValue().wasTriggeredByKeyboard=this.isKeyboardActivated$.value,nBc(this.hovercard$.getValue()).pipe(hj(1),tj(this.destroyed$)).subscribe(function(){a.overlayRef&&a.templatePortal&&a.overlayRef.attach(a.templatePortal);document.addEventListener("keydown",a.onDocumentKeyDown);a.hovercardShown$.next()}))};BH.prototype.hide=function(){vBc(this);this.hide$.next()};
var vBc=function(a){if(a.overlayRef&&a.overlayRef.hasAttached()){document.removeEventListener("keydown",a.onDocumentKeyDown);var b;(b=a.hovercard$.getValue())!=null&&b.onHide.emit();a.overlayRef.detach()}};BH.prototype.getPositionStrategy=function(){return sz(tz(uz(yz(this.overlay.position(),this.origin)),8),this.config.position)};
var uBc=function(a){return si([wBc(a).pipe(rj(!1)),a.isKeyboardActivated$]).pipe(qj(1),C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b||c}),sj(function(b){var c;return((c=a.waitFor$)==null?void 0:c.pipe(gj(b)))||li(b)}))},wBc=function(a){return a.hovercard$.pipe(sj(function(b){return si([a.isHovered$,(b==null?void 0:b.isOnHover$)||li(!1)]).pipe(C(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c||d}),Mpa(function(c){return c?Ai(a.config.showDelay):Ai(a.config.hideDelay)}),
tj(a.destroyed$))}))};var xBc={toString:function(a){var b=[],c=0;a-=-2147483648;b[c++]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(a%52);for(a=Math.floor(a/52);a>0;)b[c++]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".charAt(a%62),a=Math.floor(a/62);return b.join("")}};var ABc=function(a){a=yBc(a);for(var b=2654435769,c=2654435769,d=314159265,e=a.length,f=e,h=0,k=function(){b-=c;b-=d;b^=d>>>13;c-=d;c-=b;c^=b<<8;d-=b;d-=c;d^=c>>>13;b-=c;b-=d;b^=d>>>12;c-=d;c-=b;c^=b<<16;d-=b;d-=c;d^=c>>>5;b-=c;b-=d;b^=d>>>3;c-=d;c-=b;c^=b<<10;d-=b;d-=c;d^=c>>>15};f>=12;f-=12,h+=12)b+=zBc(a,h),c+=zBc(a,h+4),d+=zBc(a,h+8),k();d+=e;switch(f){case 11:d+=a[h+10]<<24;case 10:d+=a[h+9]<<16;case 9:d+=a[h+8]<<8;case 8:c+=a[h+7]<<24;case 7:c+=a[h+6]<<16;case 6:c+=a[h+5]<<8;case 5:c+=a[h+4];
case 4:b+=a[h+3]<<24;case 3:b+=a[h+2]<<16;case 2:b+=a[h+1]<<8;case 1:b+=a[h]}k();return xBc.toString(d)},BBc=function(a){return a},yBc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b},zBc=function(a,b){return a[b]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)};var CBc=new kh("PRODUCTION_ALLOWLIST",{factory:function(){return"l2YMRd lfR6bb iQyyte LhFyIb aVezrf i1iYkd dVgi5c kMzkoe pglXEd AbcbBc Yc0Dnb cvLsDf UAiaPe NdZs2d elAd5d q7HsZb kbrYBc qX517e KmD3Se w0tcsb qrMtRe".split(" ")}}),DBc=new kh("STREAMZ_PRODUCT_IDENTIFIER"),EBc=new kh("STREAMZ_ALLOWLIST_IDENTIFIER"),FBc=new kh("one_developer_workflow.streamz_service",{providedIn:"root",factory:function(){return x(Kk).runOutsideAngular(function(){var a=new $D(1503);a=new owc(a);a.flushInterval=1E4;a.flushTimer.setInterval(1E4);
return a})}}),CH=function(a,b,c,d,e){this.streamzService=a;this.zone=b;this.oneDeveloperWorkflowUsageMetrics=new ngc(this.streamzService);new ogc(this.streamzService);new pgc(this.streamzService);new qgc(this.streamzService);this.productIdentifier=d||window.location.hostname;this.productionAllowlist=c.map(BBc);this.allowlistIdentifier=ABc(e!=null?e:this.productIdentifier)},HBc=function(a,b,c){a.zone.runOutsideAngular(function(){GBc(a)&&a.oneDeveloperWorkflowUsageMetrics.increment(b,a.productIdentifier,
c)})},GBc=function(a){return a.productionAllowlist.some(function(b){return a.allowlistIdentifier===b})};CH.\u0275fac=function(a){return new (a||CH)(bh(FBc),bh(Kk),bh(CBc),bh(DBc,8),bh(EBc,8))};CH.\u0275prov=Dg({token:CH,factory:CH.\u0275fac,providedIn:"root"});var IBc=new kh("onedevHovercardLoggingOn"),DH=function(a,b,c,d,e){var f=this;this.viewContainerRef=c;this.injector=e;this.config=new AH;this.onHovercardShown=new Lp;this.destroyed$=new nj(1);this.triggerControl=new BH(a,b);this.triggerControl.hovercardShown$.pipe(vj(d||li(!1)),tj(this.destroyed$)).subscribe(function(h){h=l(h);h.next();h=h.next().value;f.onHovercardShown.emit();h&&(f.clientStreamzService||(f.clientStreamzService=f.injector.get(CH)),HBc(f.clientStreamzService,"hovercardShown",!0))})};
g=DH.prototype;g.ngOnChanges=function(a){if(a.hovercard){var b;a=(b=a.hovercard)==null?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 Bz(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()};pg.Object.defineProperties(DH.prototype,{enabled:{configurable:!0,enumerable:!0,set:function(a){this.triggerControl.enabled=a}}});
DH.\u0275fac=function(a){return new (a||DH)(Ui(Gz),Ui(Ph),Ui(ck),Ui(IBc,8),Ui(yj))};
DH.\u0275dir=$i({type:DH,selectors:[["","onedevHovercardTrigger",""]],hostVars:2,hostBindings:function(a,b){a&1&&Q("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&&Hj("aria-haspopup",b.hovercard?"true":void 0)("aria-expanded",b.isExpanded())},inputs:{hovercard:[0,"onedevHovercardTrigger",
"hovercard"],enabled:[0,"onedevHovercardActive","enabled"],config:[0,"onedevHovercardConfig","config"]},outputs:{onHovercardShown:"onedevHovercardShown"},exportAs:["onedevHovercardTrigger"],standalone:!1,features:[$w]});var JBc=["el"],EH=function(){this.viewContainerRef=x(ck)};EH.\u0275fac=function(a){return new (a||EH)};EH.\u0275dir=$i({type:EH,selectors:[["","issueCardHost",""]],standalone:!1});var FH=function(){Z.apply(this,arguments);this.issueReferenceResolver=x(uH);this.issueCard=x(kBc,{optional:!0});this.hovercardReady=new nj(1)};Y(FH,Z);FH.\u0275dir=Z.\u0275dir;FH.prototype.ngOnInit=function(){};
FH.prototype.ngAfterViewInit=function(){var a=this;this.issueCardHost.changes.pipe(tj(this.destroyed$)).subscribe(function(b){a.issueCard&&b.length!==0&&(b=a.issueCardHost.first.viewContainerRef.createComponent(a.issueCard),b.instance.issueId=a.issueId,b.instance.init.pipe(hj(1),tj(a.destroyed$)).subscribe(a.hovercardReady),b.changeDetectorRef.detectChanges())})};
FH.prototype.visit=function(a){if(!uha(a))if(this.commentNumber)this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+this.commentNumber,event:a});else{var b=this.href.indexOf("#");if(b!==-1&&(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})}};FH.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(FH)))(b||FH)}}();
FH.\u0275cmp=F({type:FH,selectors:[["b-issue-reference-widget"]],viewQuery:function(a,b){a&1&&(ek(JBc,7),ek(EH,5));if(a&2){var c;ik(c=jk())&&(b.el=c.first);ik(c=jk())&&(b.issueCardHost=c)}},inputs:{href:"href",issueId:"issueId",commentNumber:"commentNumber"},standalone:!1,features:[xj],ngContentSelectors:["*"],decls:6,vars:3,consts:[["issueHovercard","onedevHovercard"],["el",""],[3,"onedevIsHovercardReady",4,"onedevHovercardLazyBody"],[1,"keep-focus-ring",3,"click","onedevHovercardTrigger","onedevHovercardActive",
"href"],[3,"onedevIsHovercardReady"],["issueCardHost",""]],template:function(a,b){if(a&1){var c=y();Zj();L(0,"onedev-hovercard",null,0);G(2,qLa,2,1,"div",2);M();L(3,"a",3,1);Q("click",function(d){z(c);return B(b.visit(d))});ak(5);M()}a&2&&(a=T(1),E(3),K("onedevHovercardTrigger",a)("onedevHovercardActive",!!b.issueCard)("href",b.href,Ni))},dependencies:[xH,yH,DH,zH,EH],encapsulation:2,changeDetection:0});var KBc=["NEW","CONFIRMED","IN_PROGRESS","FIXED","WONT_FIX"],GH={},LBc=(GH.UNSPECIFIED=[],GH.NEW=["PENDING_TRIAGE","REPORTER_RESPONDED","NEEDS_INFO"],GH.CONFIRMED=["PENDING_OWNER"],GH.IN_PROGRESS=["EXPECTED","PLANNED","COMMITTED"],GH.FIXED=["REOPENED"],GH.WONT_FIX=["REOPENED"],GH),HH={},MBc=(HH.TRIAGE_SUBPHASE_UNSPECIFIED="Unspecified",HH.NEEDS_INFO="Needs more info",HH.PENDING_TRIAGE="Pending triage",HH.PENDING_OWNER="Pending owner",HH.REPORTER_RESPONDED="Reporter responded",HH.EXPECTED="Expected",
HH.PLANNED="Planned",HH.COMMITTED="Committed",HH.REOPENED="Reopened",HH),IH={},NBc=(IH.TRIAGE_SUBPHASE_UNSPECIFIED="unspecified",IH.NEEDS_INFO="needs-info",IH.PENDING_TRIAGE="pending-triage",IH.PENDING_OWNER="pending-owner",IH.REPORTER_RESPONDED="reporter-responded",IH.EXPECTED="expected",IH.PLANNED="planned",IH.COMMITTED="committed",IH.REOPENED="reopened",IH),OBc=Iha(Jha(NBc)),JH={},Sr=(JH.UNSPECIFIED="unspecified",JH.NEW="new",JH.CONFIRMED="confirmed",JH.IN_PROGRESS="in-progress",JH.FIXED="fixed",
JH.WONT_FIX="wont-fix",JH),PBc=Iha(Jha(Sr)),pr=new Map([["NEW","New"],["CONFIRMED","Confirmed"],["IN_PROGRESS","In progress"],["FIXED","Fixed"],["WONT_FIX","Won't fix"]]),KH={},QBc=(KH.NEW="status:new modified:7d",KH.CONFIRMED="status:assigned modified:7d",KH.IN_PROGRESS="status:accepted modified:30d",KH.FIXED="status:fixed|verified modified:30d",KH.WONT_FIX="status:infeasible|not_reproducible|obsolete|duplicate modified:30d",KH),RBc=[{type:"PRIORITY"},{type:"TITLE"},{type:"ALERTS"},{type:"RELATIVE_MODIFIED_TIME"},
{type:"ISSUE_ID"}],LH={},SBc=(LH.UNSPECIFIED=RBc,LH.NEW=[{type:"TRIAGER"},{type:"PRIORITY"},{type:"TITLE"},{type:"ALERTS"},{type:"COMPONENT_PATH"},{type:"RELATIVE_MODIFIED_TIME"},{type:"ISSUE_ID"}],LH.CONFIRMED=RBc,LH.IN_PROGRESS=RBc,LH.FIXED=RBc,LH.WONT_FIX=RBc,LH);var TBc=new Set([1049953,209989]);var UBc=new CF,VBc=UBc.value$.pipe(gj(),fj(0,xp));var WBc=Nf().user.email,XBc={key:"USER_RESPONDED",displayAs:"User responded",emoji:"\u21a9\ufe0f",tooltip:"Reporter responded with more info",check:function(a){return Gp(a)==="REPORTER_RESPONDED"},chipColor:"blue",showCount:!0},YBc={key:"OUT_OF_SLO",displayAs:"Out of SLO",emoji:"\u2757\ufe0f",tooltip:"Out of SLO",check:function(a){return Fha(a.snapshot[0].sloEndTime)&&(!a.snapshot[0].sloStartTime||Fha(a.snapshot[0].sloStartTime))},chipColor:"red",showCount:!0},ZBc={key:"INACTIVE_1Y",displayAs:"\ud83d\udc0c Inactive",
emoji:"\ud83d\udc0c",check:function(a){return Date.now()-a.aggregatedData.modifiedTimeMicros/1E3>315576E5},tooltip:"Issues that have not been modified in 1 year",showCount:!0},$Bc={key:"PAST_DEADLINE",displayAs:"Past deadline",emoji:"\u231b\ufe0f",check:function(a){var b,c;a=Vf((b=a.snapshot[0].customField)==null?void 0:(c=b.find(function(d){return TBc.has(d.customFieldId)}))==null?void 0:c.dateValue);return!!a&&a<new Date},tooltip:"End date custom field is in the past.",chipColor:"red",showCount:!0},
aCc={key:"REOPENED",displayAs:"Reopened",emoji:"\u26a0\ufe0f",check:function(a){var b,c;return eg(a)&&(((b=a.experimentalFields)==null?void 0:b.triage.phase)==="FIXED"||((c=a.experimentalFields)==null?void 0:c.triage.phase)==="WONT_FIX")},tooltip:"Issues that were triaged as closed by the team, but someone else reopened.",chipColor:"blue",showCount:!0},bCc={key:"MY_ISSUES",displayAs:"My issues",emoji:"\ud83c\udf1f",check:function(a){var b;return eg(a)&&(((b=a.experimentalFields)==null?void 0:b.triage.triagerEmail)===
WBc||Qha(a)===WBc)},tooltip:"Issues for which you are triager, or assigned to you.",showCount:!0},cCc={key:"TRENDING",displayAs:"Trending",emoji:"\ud83d\udd25",check:function(a){return!!UBc.has(a.issueId)},queryFragment:'(no server query available for "is trending")',tooltip:"Unusually high view activity",chipColor:"purple",showCount:!0},MH={key:"LAST_30_DAYS",displayAs:"Last 30 days",emoji:"\ud83c\udf31",check:function(a){return Date.now()-a.aggregatedData.modifiedTimeMicros/1E3<=2592E6},queryFragment:"modified:30d",
tooltip:"Issues modified in the last 30 days"},dCc={key:"NEEDS_ATTENTION",displayAs:"Needs attention",emoji:"",check:function(a){var b,c;return(c=(b=kob.get("NEW"))==null?void 0:b.some(function(d){return sLa(a,d)}))!=null?c:!1},tooltip:"Issues which are actionable and important.",showCount:!0},eCc={key:"HIGH_PRIORITY",displayAs:"High priority",emoji:"",check:function(a){return a.snapshot[0].priority==="P0"||a.snapshot[0].priority==="P1"},tooltip:"Issues which user marked as p0/p1.",chipColor:"orange",
showCount:!0},fCc={key:"NOT_ASSIGNED",displayAs:"Not assigned",emoji:"",check:function(a){return Qha(a)==null},tooltip:"Issues which have empty assignee.",chipColor:"green",showCount:!0},gCc=new Map([["NEW",[dCc,bCc,MH]],["CONFIRMED",[cCc,ZBc,MH]],["IN_PROGRESS",[YBc,$Bc,MH]],["FIXED",[MH]],["WONT_FIX",[MH]]]),kob=new Map([["NEW",[eCc,YBc,XBc]],["CONFIRMED",[cCc,YBc,ZBc,eCc]],["IN_PROGRESS",[YBc,$Bc,fCc]],["FIXED",[aCc]],["WONT_FIX",[aCc]]]),hCc={INACTIVE_1Y:ZBc,INACTIVE_2W:{key:"INACTIVE_2W",displayAs:"Inactive",
emoji:"\ud83d\udc0c",check:function(a){return Date.now()-a.aggregatedData.modifiedTimeMicros/1E3>12096E5},tooltip:"Not modified in 2 weeks",showCount:!0},LAST_30_DAYS:MH,MY_ISSUES:bCc,NEEDS_ATTENTION:dCc,NEEDS_MORE_INFO:{key:"NEEDS_MORE_INFO",displayAs:"Needs more info",emoji:"\u2139\ufe0f",check:function(a){return Gp(a)==="NEEDS_INFO"},tooltip:"Waiting for more information from the reporter.",chipColor:"green",showCount:!0},OUT_OF_SLO:YBc,PAST_DEADLINE:$Bc,REOPENED:aCc,TRENDING:cCc,USER_RESPONDED:XBc,
HIGH_PRIORITY:eCc,NOT_ASSIGNED:fCc};var NH=function(){Z.apply(this,arguments);this.teamsService=x(kF);this.activeSession=x(Ks);this.teamMembers=new Map;this.teamChildren=new Map};Y(NH,Z);NH.\u0275dir=Z.\u0275dir;
var kCc=function(a,b,c){return Cx(a.activeSession,"enableTeamScope")&&a.activeSession.isInternalSession()&&b&&c&&Rf(c)?iCc(a,b).pipe(sj(function(d){return d.has(c)?li(!0):jCc(a,b).pipe(sj(function(e){return e.length===0?li(!1):xi(e.map(function(f){return kCc(a,f,c)})).pipe(C(function(f){return f.some(Boolean)}))}))})):li(!1)},jCc=function(a,b){if(a.teamChildren.has(b))return a.teamChildren.get(b);var c=new nj(1);a.subscriptions.add(a.teamsService.getChildTeams([b]).pipe(C(function(d){var e,f;return(f=
(e=d.get(b))==null?void 0:e.map(function(h){return h.id}))!=null?f:[]})).subscribe(c));a.teamChildren.set(b,c);return c},iCc=function(a,b){if(a.teamMembers.has(b))return a.teamMembers.get(b);var c=new nj(1);a.subscriptions.add(a.teamsService.getTeam(b).pipe(C(function(d){var e;return(e=d==null?void 0:d.members)!=null?e:[]}),C(function(d){return d.map(function(e){return Jd(e==null?void 0:e.user)}).filter(fe)}),C(function(d){return new Set(d)})).subscribe(c));a.teamMembers.set(b,c);return c};
NH.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(NH)))(b||NH)}}();NH.\u0275prov=Dg({token:NH,factory:NH.\u0275fac,providedIn:"root"});var OH=function(){this.issueFridge=x(MD);this.issueExperimentalFieldsFridge=x(ID);this.activeSession=x(Ks);this.teamMembershipService=x(NH)},pCc=function(a,b,c){var d,e,f,h,k,q;v(function(u){switch(u.nextAddress){case 1:return w(u,a.issueFridge.poke(b),2);case 2:d=u.yieldResult;if(!d)return u.return();ei(u,3);e=c.some(function(A){return["comment","attachments"].includes(A.fieldName)});if(!e){u.jumpTo(5);break}return w(u,lCc(a,d),5);case 5:if(Cx(a.activeSession,"enableTriageAutomationBe"))return u.return();
f=c.some(function(A){return A.fieldName==="assignee"});if(!f){u.jumpTo(7);break}return w(u,mCc(a,d),7);case 7:h=c.some(function(A){return A.fieldName==="status"});if(!h){u.jumpTo(9);break}return w(u,nCc(a,d),9);case 9:k=c.some(function(A){return A.fieldName==="changelists"||A.fieldName==="gerritChanges"});if(!k){u.jumpTo(11);break}return w(u,oCc(a,d),11);case 11:Iu(u,0);break;case 3:q=ii(u),console.error(q),ji(u)}})},lCc=function(a,b){return v(function(c){return Fp(b)!=="NEW"||Gp(b)!=="NEEDS_INFO"||
a.activeSession.getUserEmail()!==Jd(b.snapshot[0].reporterUser)?c.jumpTo(0):w(c,a.issueExperimentalFieldsFridge.updateOrInsert(b.issueId,function(d){d.triage.subphase="REPORTER_RESPONDED"}),0)})},mCc=function(a,b){var c,d;return v(function(e){switch(e.nextAddress){case 1:if(Fp(b)!=="NEW"||!b.snapshot[0].assigneeUser||a.activeSession.getUserEmail()===Jd(b.snapshot[0].assigneeUser)||Jd(b.snapshot[0].assigneeUser)!==Jd(b.snapshot[0].reporterUser)){e.jumpTo(2);break}return w(e,a.issueExperimentalFieldsFridge.updateOrInsert(b.issueId,
function(f){f.triage.subphase="NEEDS_INFO"}),2);case 2:if(Fp(b)!=="NEW"||Gp(b)!=="PENDING_TRIAGE"||Jd(b.snapshot[0].assigneeUser)===Jd(b.snapshot[0].reporterUser)||a.activeSession.getUserEmail()===Jd(b.snapshot[0].assigneeUser)||(c=b.aggregatedData)==null||!c.teamId){e.jumpTo(4);break}return w(e,pi(kCc(a.teamMembershipService,String(b.aggregatedData.teamId),a.activeSession.getUserEmail())),5);case 5:d=e.yieldResult;if(!d){e.jumpTo(4);break}return w(e,a.issueExperimentalFieldsFridge.updateOrInsert(b.issueId,
function(f){f.triage.phase="CONFIRMED";f.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),4);case 4:if(Fp(b)!=="NEW"||a.activeSession.getUserEmail()!==Jd(b.snapshot[0].assigneeUser))e.jumpTo(0);else return w(e,a.issueExperimentalFieldsFridge.updateOrInsert(b.issueId,function(f){f.triage.triagerEmail=a.activeSession.getUserEmail()}),0)}})},nCc=function(a,b){return v(function(c){return c.nextAddress==1?b.snapshot[0].status!=="ACCEPTED"?c.jumpTo(2):w(c,a.issueExperimentalFieldsFridge.updateOrInsert(b.issueId,
function(d){d.triage.phase="IN_PROGRESS";d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):b.snapshot[0].status!=="NOT_REPRODUCIBLE"&&b.snapshot[0].status!=="INTENDED_BEHAVIOR"&&b.snapshot[0].status!=="OBSOLETE"&&b.snapshot[0].status!=="INFEASIBLE"?c.jumpTo(0):w(c,a.issueExperimentalFieldsFridge.updateOrInsert(b.issueId,function(d){d.triage.phase="WONT_FIX";d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),0)})},oCc=function(a,b){return v(function(c){return Fp(b)!=="NEW"&&Fp(b)!=="CONFIRMED"?c.jumpTo(0):
w(c,a.issueExperimentalFieldsFridge.updateOrInsert(b.issueId,function(d){d.triage.phase="IN_PROGRESS";d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),0)})};OH.\u0275fac=function(a){return new (a||OH)};OH.\u0275prov=Dg({token:OH,factory:OH.\u0275fac,providedIn:"root"});var PH=function(){Z.apply(this,arguments);var a=this;this.issueFridge=x(MD);this.teamFridge=x(qF);this.recentIssues$=wi(function(){return a.issueFridge.watchMany({filter:"modified:60d (modifier:me | assignee:me)",pageSize:500})});this.recentTeamIds$=this.recentIssues$.pipe(C(function(b){return b.results}),C(function(b){return b.map(function(c){var d;return(d=c.aggregatedData)==null?void 0:d.teamId}).filter(fe).filter(Boolean).map(String)}));this.mostActiveTeamIds$=this.recentTeamIds$.pipe(C(function(b){return sCa(b,
function(c){return c})}),C(function(b){return b.filter(function(c){return c.length>=2})}),C(function(b){return b.sort(function(c,d){return d.length-c.length})}),C(function(b){return b.map(function(c){return c[0]})}));this.mostActiveTeams$=this.mostActiveTeamIds$.pipe(sj(function(b){return a.teamFridge.watchSet(b).pipe(C(function(c){var d=Yf(c,function(e){return e.teamId});return b.map(function(e){return{teamId:e,team:d.get(e)}})}))}),pj({refCount:!0,bufferSize:1}))};Y(PH,Z);PH.\u0275dir=Z.\u0275dir;
PH.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(PH)))(b||PH)}}();PH.\u0275prov=Dg({token:PH,factory:PH.\u0275fac,providedIn:"root"});var QH=function(){var a=this;this.teamFridge=x(qF);this.userPrefsManager=x(NF);this.teamUserActivity=x(PH);this.activeSession=x(Ks);this.destroyRef=x(Cj);this.enableTeamScope=Cx(this.activeSession,"enableTeamScope")&&this.activeSession.isInternalSession();this.scopePrefs$=this.userPrefsManager.preferences$.pipe(C(function(b){var c;return(c=b==null?void 0:b.scopePreferences)!=null?c:{starredTeams:[],starredTriageViews:[]}}));this.starredTeamIds$=this.scopePrefs$.pipe(C(function(b){return b.starredTeams}));
this.starredTeamIds$.pipe(C(function(b){return b.map(function(c){var d=a.teamFridge.watch(c);return{teamId:c,name$:d.pipe(C(function(e){return(e==null?void 0:e.name)||c})),team$:d}})}));this.starredTriageViews$=this.scopePrefs$.pipe(C(function(b){return b.starredTriageViews}));this.starredTriageViews$.pipe(C(function(b){return b.map(function(c){return c})}));this.starredTeamIds=[];this.starredTriageViews=[];qCc(this);this.starredTeamIds$.pipe(vp(this.destroyRef)).subscribe(function(b){a.starredTeamIds=
b});this.starredTriageViews$.pipe(vp(this.destroyRef)).subscribe(function(b){a.starredTriageViews=b})},qCc=function(a){var b,c,d,e;v(function(f){switch(f.nextAddress){case 1:return a.enableTeamScope?w(f,pi(a.scopePrefs$),2):f.return();case 2:b=f.yieldResult;if(b.lastAutomaticStarsUpdate)return f.return();if(!b.starredTeams.length){f.jumpTo(3);break}return w(f,a.save({lastAutomaticStarsUpdate:Afa(Date.now())}),4);case 4:return f.return();case 3:return w(f,pi(a.teamUserActivity.mostActiveTeams$),5);
case 5:return c=f.yieldResult,d=c.slice(0,3).map(function(h){return h.teamId}),e=d.map(function(h){return{teamId:h,triageId:"0"}}),w(f,a.save({lastAutomaticStarsUpdate:Afa(Date.now()),starredTeams:d,starredTriageViews:e}),0)}})};QH.prototype.save=function(a){var b=this,c;return v(function(d){if(d.nextAddress==1)return w(d,pi(b.scopePrefs$),2);c=d.yieldResult;return w(d,pi(b.userPrefsManager.save({scopePreferences:Object.assign({},c,a)})),0)})};
QH.prototype.toggle=function(a){return this.starredTeamIds.includes(a)?this.save({starredTeams:this.starredTeamIds.filter(function(b){return b!==a})}):this.save({starredTeams:[].concat(p(this.starredTeamIds),[a])})};QH.prototype.reset=function(){var a=this;return v(function(b){return w(b,a.save({lastAutomaticStarsUpdate:void 0,starredTeams:[]}),0)})};
var rCc=function(a,b,c){if(a.starredTriageViews.some(function(e){return e.triageId===b&&e.teamId===c})){var d=[].concat(p(a.starredTriageViews)).filter(function(e){return e.triageId!==b||e.teamId!==c});return a.save({starredTriageViews:d})}return a.save({starredTriageViews:[].concat(p(a.starredTriageViews),[{teamId:c,triageId:b}])})};QH.\u0275fac=function(a){return new (a||QH)};QH.\u0275prov=Dg({token:QH,factory:QH.\u0275fac,providedIn:"root"});var sCc={CHANGE_COMPONENT:"CHANGE_COMPONENT",SET_WONT_FIX:"SET_WONT_FIX",MARK_AS_DUPLICATE:"MARK_AS_DUPLICATE",SET_CONFIRMED:"SET_CONFIRMED",SET_FIXED:"SET_FIXED",SET_IN_PROGRESS:"SET_IN_PROGRESS",SET_NEEDS_INFO:"SET_NEEDS_INFO",SET_NEW:"SET_NEW",SET_PENDING_OWNER:"SET_PENDING_OWNER",SET_EXPECTED:"SET_EXPECTED",SET_PLANNED:"SET_PLANNED",SET_COMMITTED:"SET_COMMITTED"},tCc={key:"SET_NEEDS_INFO",displayAs:"Needs more info",fieldsToShow:["ASSIGNEE","CUSTOM_FIELDS","COMMENT"]},uCc={key:"SET_CONFIRMED",
displayAs:"Confirmed",fieldsToShow:"COMMENT SEVERITY PRIORITY TYPE HOTLISTS ASSIGNEE COLLABORATORS CC_LIST CUSTOM_FIELDS".split(" ")},vCc={key:"SET_PENDING_OWNER",displayAs:"Pending owner",fieldsToShow:["COMMENT"]},wCc={key:"SET_IN_PROGRESS",displayAs:"In progress",fieldsToShow:["COMMENT","SEVERITY","PRIORITY","TYPE","ASSIGNEE"],showAssignToSelf:!0},xCc={key:"SET_EXPECTED",displayAs:"Expected",fieldsToShow:["COMMENT"],showAssignToSelf:!0},yCc={key:"SET_PLANNED",displayAs:"Planned",fieldsToShow:["COMMENT"],
showAssignToSelf:!0},zCc={key:"SET_COMMITTED",displayAs:"Committed",fieldsToShow:["COMMENT"],showAssignToSelf:!0},ACc={key:"SET_WONT_FIX",displayAs:"Won't fix",fieldsToShow:["STATUS","COMMENT"],automaticChanges:[{field:"STATUS",value:"INTENDED_BEHAVIOR"}]},BCc={key:"SET_NEW",displayAs:"New",fieldsToShow:["CUSTOM_FIELDS","STATUS","COMMENT"],automaticChanges:[{field:"STATUS",value:"NEW"}]},CCc={key:"SET_FIXED",displayAs:"Fixed",fieldsToShow:["COMMENT","STATUS","CODE_CHANGES"],automaticChanges:[{field:"STATUS",
value:"FIXED"}]},DCc={key:"CHANGE_COMPONENT",displayAs:"Route",fieldsToShow:["COMMENT","COMPONENT","HOTLISTS","ASSIGNEE"]},ECc=new Map([["NEW",[DCc,{key:"MARK_AS_DUPLICATE",displayAs:"Mark as duplicate"}]],["CONFIRMED",[]],["IN_PROGRESS",[]],["FIXED",[]],["WONT_FIX",[]]]);var RH={displayAs:"Open",queryAtom:"status:open",tooltip:'Issues that match "status:open"'};var GCc=function(a,b,c,d,e,f){var h=this;this.teamId=a;this.triageId=b;this.teamFridge=c;this.issueFullFridge=d;this.issueFridge=e;this.teamExperimentalFieldsFridge=f;this.isLoading$=new $n(!1);this.setLoading=function(){h.isLoading$.next(!0)};this.setNotLoading=function(){h.isLoading$.next(!1)};this.team$=wi(function(){return li(h.teamId)}).pipe(uj(this.setLoading),sj(function(k){return h.teamFridge.watch(k)}),uj(this.setNotLoading),pj({refCount:!0,bufferSize:1}));this.teamName$=this.team$.pipe(C(function(k){return(k==
null?void 0:k.name)||h.teamId}));this.teamExperiments$=wi(function(){return li(h.teamId)}).pipe(uj(this.setLoading),sj(function(k){return h.teamExperimentalFieldsFridge.watch(k)}),uj(this.setNotLoading),pj({refCount:!0,bufferSize:1}));this.triageScope$=this.teamExperiments$.pipe(C(function(k){var q,u;return(k==null?void 0:(q=k.triage.find(function(A){return A.id===Number(h.triageId)}))==null?void 0:(u=q.scope)==null?void 0:u.trim())||"teamid:"+h.teamId+"+"}),pj({refCount:!0,bufferSize:1}));this.teamTriageViewExperiments$=
this.teamExperiments$.pipe(C(function(k){return k==null?void 0:k.triage.find(function(q){return""+q.id===h.triageId})}));this.triageFieldConfigs$=this.teamTriageViewExperiments$.pipe(C(function(k){var q;return(q=k==null?void 0:k.config)!=null?q:[]}));this.byPhase=new Map(KBc.map(function(k){return[k,FCc(h,k)]}));this.allIssues$=si([].concat(p(this.byPhase.values())).map(function(k){return k.issues$})).pipe(C(function(k){return k.flat()}),C(function(k){return no(k,function(q){return q.issueId})}),
pj({refCount:!0,bufferSize:1}));this.triageName$=si([this.teamName$,this.teamExperiments$]).pipe(C(function(k){var q=l(k);k=q.next().value;q=q.next().value;q=q==null?void 0:q.triage.find(function(u){return u.id===Number(h.triageId)});return Hp(k,q)}))};GCc.prototype.phase=function(a){return this.byPhase.get(a)};
var FCc=function(a,b){var c=a.triageScope$.pipe(C(function(q){q=Jp(q,"modified:365d");q=Jp(q,"-status:duplicate");switch(b){case "NEW":case "CONFIRMED":case "IN_PROGRESS":q=Jp(q,"status:open")}return[q,b].join("____b-internal____")}),jj()),d=c.pipe(C(yLa),uj(a.setLoading),sj(function(q){return a.issueFridge.watchMany(q)}),uj(a.setNotLoading),pj({refCount:!0,bufferSize:1})),e=d.pipe(C(function(q){return q.results}),C(function(q){return q.map(function(u){return u.issueId})}),jj(vd)).pipe(sj(function(q){return q.length?
si(q.map(function(u){return a.issueFridge.watch(u)})):li([])}));d=d.pipe(C(function(q){var u;return(u=q.totalSize)!=null?u:0}));e=e.pipe(C(function(q){return zLa(q,b)}),pj({refCount:!0,bufferSize:1}));var f=e.pipe(C(function(q){return rLa(q).length})),h=si([e,f,VBc]).pipe(C(function(q){var u=l(q);q=u.next().value;u=u.next().value;return tLa(q,kob.get(b)).length+u}),C(function(q){return q===0?"":q>=250?"250+":""+q}));d=si([d,f]).pipe(C(function(q){var u=l(q);q=u.next().value;u=u.next().value;return q+
u}));var k;return{phase:b,displayName:(k=pr.get(b))!=null?k:"",query$:c,issues$:e,attentionCount$:h,totalCount$:d}};
GCc.prototype.reload=function(){var a=this,b;return v(function(c){if(c.nextAddress==1)return a.setLoading(),w(c,Promise.all(oo([].concat(p(a.byPhase.values())).map(function(d){return up(d.query$)})).map(function(d){return nrc(a.issueFridge,yLa(d))})),2);if(c.nextAddress!=3)return b=c.yieldResult,w(c,Promise.all(oo(b.flatMap(function(d){return d.results}).map(function(d){return d.issueId})).map(function(d){return a.issueFullFridge.poke(d)})),3);a.setNotLoading();ji(c)})};
var HCc=function(a,b,c){return a.triageFieldConfigs$.pipe(C(function(d){d=d||[];var e=[];d=l(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value,f.type==="CUSTOM_FIELD"){f=f.customFieldConfig;var h=f.defaultValues.find(function(k){var q;if(b&&((q=k.phases)==null||!q.includes(b)))return!1;var u;return!c||(u=k.subphases)!=null&&u.includes(c)?!0:!1});h&&e.push({customFieldId:f.customFieldId,defaultValues:[h]})}return e}))},ICc=function(a,b,c){return a.triageFieldConfigs$.pipe(C(function(d){var e=[];
d=l(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value,f.type==="HOTLIST"){f=f.hotlistConfig;var h=void 0;if(!b||(h=f.phases)!=null&&h.includes(b))h=void 0,(!c||(h=f.subphases)!=null&&h.includes(c))&&e.push(f)}return e}))},SH=function(){this.teamFridge=x(qF);this.issueFullFridge=x(pE);this.issueFridge=x(MD);this.teamExperimentalFieldsFridge=x(pF);this.cache=new Map};SH.prototype.get=function(a,b){var c=a+":"+b,d;this.cache.set(c,(d=this.cache.get(c))!=null?d:this.create(a,b));return this.cache.get(c)};
SH.prototype.create=function(a,b){return new GCc(a,b,this.teamFridge,this.issueFullFridge,this.issueFridge,this.teamExperimentalFieldsFridge)};SH.\u0275fac=function(a){return new (a||SH)};SH.\u0275prov=Dg({token:SH,factory:SH.\u0275fac,providedIn:"root"});var TH=function(){this.triageDataFactory=x(SH);this.isSidebarOpen$=new $n(!1);this.internalCurrentIssueIds$=new $n([]);this.currentIssueIds$=this.internalCurrentIssueIds$.pipe(jj(vd));this.currentIssueId$=this.currentIssueIds$.pipe(C(function(a){return a[0]}),jj());this.internalSelectedIssueIds$=new $n([]);this.selectedIssueIds$=this.internalSelectedIssueIds$.pipe(jj(vd));this.mode=0};TH.prototype.openSidebar=function(){this.isSidebarOpen$.next(!0)};TH.prototype.closeSidebar=function(){this.isSidebarOpen$.next(!1)};
TH.prototype.setIssueIds=function(a){this.internalCurrentIssueIds$.next(a);this.internalSelectedIssueIds$.next([])};TH.prototype.setMode=function(a){this.mode=a};TH.\u0275fac=function(a){return new (a||TH)};TH.\u0275prov=Dg({token:TH,factory:TH.\u0275fac,providedIn:"root"});var JCc={ACTIVATION:0,SELECTION:1,0:"ACTIVATION",1:"SELECTION"};var KCc=function(){this.issueId="";this.customFieldMap={};this.currentUserEmail="";this.type=this.componentId=this.user=this.originalIssue=null;this.status="NEW";this.severity=this.priority=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.gerritChanges=
this.changelist=this.blockingIssueId=this.blockedByIssueId=this.duplicateOfIssueId=this.staffing=null;this.customField=[];this.duplicateIssueId=this.deletionReason=this.isDeleted=null;this.isArchived=this.inProd=!1;this.effortEstimate=this.sloSnoozeType=this.sloEndTime=this.sloStartTime=null};
KCc.prototype.setData=function(a){a=LCc(a);this.originalIssue=wd(a);var b=wd(this.originalIssue.snapshot[0]);this.issueId=a.issueId;this.assignee=Gd(b.assigneeUser);this.assigneeUser=b.assigneeUser;this.blockedByIssueId=b.blockedByIssueId;this.blockingIssueId=b.blockingIssueId;this.ccUsers=Id(b.ccUsers);this.cc=this.ccUsers.map(Gd);this.collaboratorsUsers=Id(b.collaboratorsUsers);this.collaborators=this.collaboratorsUsers.map(Gd);this.staffing=b.staffing;this.changelist=b.changelist;this.gerritChanges=
b.gerritChanges;this.componentId=b.componentId;this.deletionReason=b.deletionReason;this.duplicateIssueId=b.duplicateIssueId;this.duplicateOfIssueId=b.duplicateOfIssueId;this.foundInVersion=b.foundInVersion;this.hotlistId=b.hotlistId;this.inProd=b.inProd;this.isArchived=b.isArchived;this.isDeleted=b.isDeleted;this.postmortems=b.postmortems;this.priority=b.priority;this.reporter=Gd(b.reporterUser);this.reporterUser=b.reporterUser;this.severity=b.severity;this.status=b.status||"NEW";this.targetedToVersion=
b.targetedToVersion;this.title=b.title;this.type=b.type;this.verifiedInVersion=b.verifiedInVersion;this.verifier=Gd(b.verifierUser);this.verifierUser=b.verifierUser;this.sloStartTime=b.sloStartTime;this.sloEndTime=b.sloEndTime;this.sloSnoozeType=b.sloSnoozeType;var c,d;this.effortEstimate=(d=(c=b.effort)==null?void 0:c.estimate)!=null?d:null;this.escalationOwner=a.escalationOwner;this.customField=[];b&&(this.customField=(b.customField||[]).filter(function(e){return e}).map(function(e){return new MCc(e)}));
c=l(a.customFields);a=c.next();for(d={};!a.done;d={fieldResource:void 0},a=c.next())d.fieldResource=a.value,a=d.fieldResource.allowedValue?d.fieldResource.allowedValue.map(function(e){return{value:e,displayText:e}}):null,(b=this.customField.find(function(e){return function(f){return f.customFieldId===e.fieldResource.customFieldId}}(d)))?(b.type=d.fieldResource.type,b.customFieldName=d.fieldResource.name,b.choices=a,this.customFieldMap[String(d.fieldResource.customFieldId)]=b):(b=new MCc({customFieldId:d.fieldResource.customFieldId}),
b.type=d.fieldResource.type,b.customFieldName=d.fieldResource.name,b.choices=a,this.customFieldMap[String(d.fieldResource.customFieldId)]=b)};
var LCc=function(a){a=wd(a);var b=a.snapshot[0];b.status=b.status||"NEW";b.blockingIssueId=b.blockingIssueId||[];b.componentId=b.componentId;b.changelist=b.changelist||[];b.gerritChanges=b.gerritChanges||[];b.postmortems=b.postmortems||[];b.blockedByIssueId=b.blockedByIssueId||[];b.foundInVersion=b.foundInVersion||[];b.hotlistId=b.hotlistId||[];b.targetedToVersion=b.targetedToVersion||[];b.verifiedInVersion=b.verifiedInVersion||[];b.customField=b.customField||[];b.deletionReason=b.deletionReason||
null;b.duplicateOfIssueId=b.duplicateOfIssueId||null;b.isDeleted=b.isDeleted||!1;return a},NCc=function(a,b){switch(b.fieldName){case "assignee":a.setAssignee(b.value||"");break;case "attachments":break;case "blockedByIssueId":if(b.actionType==="REMOVE"){var c,d,e=new Set((d=(c=b.value)==null?void 0:c.split(","))!=null?d:[]),f,h;a.blockedByIssueId=(h=(f=a.blockedByIssueId)==null?void 0:f.filter(function(Ih){return!e.has(Ih)}))!=null?h:[]}else{var k,q,u=(q=(k=b.value)==null?void 0:k.split(","))!=null?
q:[],A;a.blockedByIssueId=oo([].concat(p((A=a.blockedByIssueId)!=null?A:[]),p(u)))}break;case "blockingIssueId":if(b.actionType==="REMOVE"){var D,H,O=new Set((H=(D=b.value)==null?void 0:D.split(","))!=null?H:[]),P,S;a.blockingIssueId=(S=(P=a.blockingIssueId)==null?void 0:P.filter(function(Ih){return!O.has(Ih)}))!=null?S:[]}else{var aa,ia,la=(ia=(aa=b.value)==null?void 0:aa.split(","))!=null?ia:[],ya;a.blockingIssueId=oo([].concat(p((ya=a.blockingIssueId)!=null?ya:[]),p(la)))}break;case "ccs":if(b.actionType===
"REMOVE"){var Ia,Pa,gb=new Set((Pa=(Ia=b.value)==null?void 0:Ia.split(","))!=null?Pa:[]),ua,Ea;a.cc=(Ea=(ua=a.cc)==null?void 0:ua.filter(function(Ih){return!gb.has(Ih)}))!=null?Ea:[]}else{var Ha,mb,nb=(mb=(Ha=b.value)==null?void 0:Ha.split(","))!=null?mb:[],Lb;a.cc=oo([].concat(p((Lb=a.cc)!=null?Lb:[]),p(nb)))}break;case "changelists":if(b.actionType==="REMOVE"){var bc,yc,kc=new Set((yc=(bc=b.value)==null?void 0:bc.split(","))!=null?yc:[]),Ee,yb;a.changelist=(yb=(Ee=a.changelist)==null?void 0:Ee.filter(function(Ih){return!kc.has(Ih)}))!=
null?yb:[]}else{var Tb,cb,dc=(cb=(Tb=b.value)==null?void 0:Tb.split(","))!=null?cb:[],uc;a.changelist=oo([].concat(p((uc=a.changelist)!=null?uc:[]),p(dc)))}break;case "collaborators":if(b.actionType==="REMOVE"){var nd,Nb,Cc=new Set((Nb=(nd=b.value)==null?void 0:nd.split(","))!=null?Nb:[]),Ec,Md;a.collaborators=(Md=(Ec=a.collaborators)==null?void 0:Ec.filter(function(Ih){return!Cc.has(Ih)}))!=null?Md:[]}else{var Ed,Hf,xh=(Hf=(Ed=b.value)==null?void 0:Ed.split(","))!=null?Hf:[],Vg;a.collaborators=oo([].concat(p((Vg=
a.collaborators)!=null?Vg:[]),p(xh)))}break;case "comment":break;case "componentId":a.componentId=b.value||null;break;case "customField":var Uh=b.customFieldValue,L$,lA,ao,Ov,HF=Uh.textValue||Uh.dateValue||Uh.enumValue||Uh.numericValue||((L$=Uh.repeatedTextValue)==null?void 0:L$.values)||((lA=Uh.repeatedDateValue)==null?void 0:lA.values)||((ao=Uh.repeatedEnumValue)==null?void 0:ao.values)||((Ov=Uh.repeatedNumericValue)==null?void 0:Ov.values)||null;a.setCustomField(Uh.customFieldId,HF);break;case "deletionReason":b.actionType===
"REMOVE"?a.deletionReason=null:a.deletionReason=b.value;break;case "duplicateOfIssueId":a.duplicateOfIssueId=b.value||null;break;case "effortEstimate":a.effortEstimate=b.value||null;break;case "foundInVersion":if(b.actionType==="REMOVE"){var Nla,rp,gt=new Set((rp=(Nla=b.value)==null?void 0:Nla.split(","))!=null?rp:[]),Pv,TM;a.foundInVersion=(TM=(Pv=a.foundInVersion)==null?void 0:Pv.filter(function(Ih){return!gt.has(Ih)}))!=null?TM:[]}else{var M$,bo,Ola=(bo=(M$=b.value)==null?void 0:M$.split(","))!=
null?bo:[],pjb;a.foundInVersion=oo([].concat(p((pjb=a.foundInVersion)!=null?pjb:[]),p(Ola)))}break;case "gerritChanges":if(b.actionType==="REMOVE"){var qjb,rjb,Y4c=new Set((rjb=(qjb=b.value)==null?void 0:qjb.split(","))!=null?rjb:[]),sjb;a.gerritChanges=((sjb=a.gerritChanges)!=null?sjb:[]).map(function(Ih){return Oo(Ih)}).filter(function(Ih){return!Y4c.has(Ih)}).map(Po).filter(fe)}else{var tjb,ujb,Z4c=(ujb=(tjb=b.value)==null?void 0:tjb.split(","))!=null?ujb:[],vjb,$4c=((vjb=a.gerritChanges)!=null?
vjb:[]).map(function(Ih){return Oo(Ih)});a.gerritChanges=oo([].concat(p($4c),p(Z4c))).map(Po).filter(fe)}break;case "hotlists":if(b.actionType==="REMOVE"){var wjb,xjb,a5c=new Set((xjb=(wjb=b.value)==null?void 0:wjb.split(",").map(Number))!=null?xjb:[]),yjb,zjb;a.hotlistId=(zjb=(yjb=a.hotlistId)==null?void 0:yjb.filter(function(Ih){return!a5c.has(Ih)}))!=null?zjb:[]}else{var Ajb,Bjb,b5c=(Bjb=(Ajb=b.value)==null?void 0:Ajb.split(",").map(Number))!=null?Bjb:[],Cjb;a.hotlistId=oo([].concat(p((Cjb=a.hotlistId)!=
null?Cjb:[]),p(b5c)))}break;case "inProd":a.inProd=b.value==="true";break;case "isArchived":a.isArchived=b.value==="true";break;case "isDeleted":a.isDeleted=b.value==="true";break;case "parentId":break;case "priority":a.priority=b.value;break;case "readState":break;case "reporter":a.reporter=b.value||"";break;case "severity":a.severity=b.value;break;case "sloEndTime":var Djb=b.value?be(b.value):null;Djb?a.sloEndTime={seconds:Djb,nanos:0}:a.sloEndTime=null;break;case "sloSnoozeType":b.value?a.sloSnoozeType=
b.value:a.sloSnoozeType=null;break;case "sloStartTime":if(b.actionType==="REMOVE")a.sloStartTime=null;else{var Ejb=be(b.value);Ejb?a.sloStartTime={seconds:Ejb,nanos:0}:a.sloStartTime=null}break;case "staffing":var Fjb;a.staffing=(Fjb=b.staffingValue)!=null?Fjb:null;break;case "status":a.setStatus(b.value);break;case "targetedToVersion":if(b.actionType==="REMOVE"){var Gjb,Hjb,c5c=new Set((Hjb=(Gjb=b.value)==null?void 0:Gjb.split(","))!=null?Hjb:[]),Ijb,Jjb;a.targetedToVersion=(Jjb=(Ijb=a.targetedToVersion)==
null?void 0:Ijb.filter(function(Ih){return!c5c.has(Ih)}))!=null?Jjb:[]}else{var Kjb,Ljb,d5c=(Ljb=(Kjb=b.value)==null?void 0:Kjb.split(","))!=null?Ljb:[],Mjb;a.targetedToVersion=oo([].concat(p((Mjb=a.targetedToVersion)!=null?Mjb:[]),p(d5c)))}break;case "title":a.title=b.value||"";break;case "type":a.type=b.value;break;case "verifiedInVersion":if(b.actionType==="REMOVE"){var Njb,Ojb,e5c=new Set((Ojb=(Njb=b.value)==null?void 0:Njb.split(","))!=null?Ojb:[]),Pjb,Qjb;a.verifiedInVersion=(Qjb=(Pjb=a.verifiedInVersion)==
null?void 0:Pjb.filter(function(Ih){return!e5c.has(Ih)}))!=null?Qjb:[]}else{var Rjb,Sjb,f5c=(Sjb=(Rjb=b.value)==null?void 0:Rjb.split(","))!=null?Sjb:[],Tjb;a.verifiedInVersion=oo([].concat(p((Tjb=a.verifiedInVersion)!=null?Tjb:[]),p(f5c)))}break;case "verifier":a.verifier=b.value||null;break;default:qb(b.fieldName)}},RCc=function(a){for(var b=[],c=l(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next()){d=d.value;var e=OCc(a,d.customFieldId);if(!vd(e?Mo(e):null,Mo(d))){if(e=No(d))d.textValue=
"";b.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}}if(a.originalIssue){c=a.originalIssue.snapshot[0];UH(Gd(c.assigneeUser),a.assignee,"assignee",b);UH(c.componentId,a.componentId,"componentId",b);UH(c.deletionReason,a.deletionReason,"deletionReason",b);UH(c.duplicateOfIssueId,a.duplicateOfIssueId,"duplicateOfIssueId",b);UH(c.inProd,a.inProd,"inProd",b);UH(c.isArchived,a.isArchived,"isArchived",b);UH(c.isDeleted,a.isDeleted,"isDeleted",b);UH(c.priority,a.priority,
"priority",b);UH(Gd(c.reporterUser),a.reporter,"reporter",b);UH(c.severity,a.severity,"severity",b);UH(c.status,a.status,"status",b);UH(c.title,a.title,"title",b);UH(c.type,a.type,"type",b);UH(Gd(c.verifierUser),a.verifier,"verifier",b);var f,h,k,q;UH((k=(f=c.sloStartTime)==null?void 0:f.seconds)!=null?k:null,(q=(h=a.sloStartTime)==null?void 0:h.seconds)!=null?q:null,"sloStartTime",b);var u,A,D,H;UH((D=(u=c.sloEndTime)==null?void 0:u.seconds)!=null?D:null,(H=(A=a.sloEndTime)==null?void 0:A.seconds)!=
null?H:null,"sloEndTime",b);UH(c.sloSnoozeType,a.sloSnoozeType,"sloSnoozeType",b);var O,P;UH((P=(O=c.effort)==null?void 0:O.estimate)!=null?P:null,a.effortEstimate,"effortEstimate",b);VH(Id(c.ccUsers).map(Gd),a.cc,"ccs",b);VH(Id(c.collaboratorsUsers).map(Gd),a.collaborators,"collaborators",b);PCc(c.staffing,a.staffing,b);VH(c.changelist,a.changelist,"changelists",b);QCc(c.gerritChanges,a.gerritChanges,b);VH(c.blockedByIssueId,a.blockedByIssueId,"blockedByIssueId",b);VH(c.blockingIssueId,a.blockingIssueId,
"blockingIssueId",b);VH(c.foundInVersion,a.foundInVersion,"foundInVersion",b);VH(c.targetedToVersion,a.targetedToVersion,"targetedToVersion",b);VH(c.verifiedInVersion,a.verifiedInVersion,"verifiedInVersion",b);VH(c.hotlistId,a.hotlistId,"hotlists",b)}return b.length?{issueId:a.issueId,actions:b}:null},UH=function(a,b,c,d){a!==b&&d.push({fieldName:c,value:b!=null?String(b):void 0})},VH=function(a,b,c,d){var e=Qea(b||[],new Set(a));a=Qea(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"})},QCc=function(a,b,c){var d=OEa(b!=null?b:[],a!=null?a:[]);a=OEa(a!=null?a:[],b!=null?b:[]).filter(function(e){return e.state!=="PENDING"});d.length&&c.push({fieldName:"gerritChanges",gerritChangeValue:d,actionType:"ADD"});a.length&&c.push({fieldName:"gerritChanges",gerritChangeValue:a,actionType:"REMOVE"})},PCc=function(a,b,c){var d,e=uia((d=b==null?void 0:b.plannedAllocations)!=null?d:[]),f,h=uia((f=a==null?
void 0:a.plannedAllocations)!=null?f:[]);a=[].concat(p(e.entries())).filter(function(k){var q=l(k);k=q.next().value;q=q.next().value;var u,A=new (Function.prototype.bind.apply(Set,[null,((u=h.get(k))!=null?u:[]).map(function(D){return mg(D)})]));return!h.has(k)||q.some(function(D){return!A.has(mg(D))})}).map(function(k){k=l(k);k.next();return k.next().value});b=a.map(function(k){var q=k[0];return q.user?mg(q,k.length>1):q.placeholder?"Placeholder: "+q.placeholder.count+" "+q.placeholder.role:""}).join(", ");
d=[].concat(p(h.entries())).filter(function(k){k=l(k).next().value;return!e.has(k)}).map(function(k){k=l(k);k.next();return k.next().value});f=d.map(function(k){k=l(k).next().value;if(k.user){var q;return(q=k.user.user)==null?void 0:q.emailAddress}return k.placeholder?"Placeholder: "+k.placeholder.role:""}).join(", ");a.length&&c.push({fieldName:"staffing",staffingValue:{plannedAllocations:a.flat()},actionType:"ADD",value:b});d.length&&c.push({fieldName:"staffing",staffingValue:{plannedAllocations:d.flat()},
actionType:"REMOVE",value:f})};g=KCc.prototype;
g.setCustomField=function(a,b){a=String(a);if(this.customFieldMap[a]){var c=this.customFieldMap[a].type;if(c)switch(c){case "TYPE_UNSPECIFIED":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:oe("Unexpected custom field type: "+c)}}};
g.setCustomFieldValue=function(a,b){a=String(a);if(this.customFieldMap[a]){var c=this.customFieldMap[a].type;if(c)switch(c){case "TYPE_UNSPECIFIED":break;case "TEXT":this.customFieldMap[a].textValue=b.textValue||"";break;case "DATE":this.customFieldMap[a].dateValue=b.dateValue||void 0;break;case "ENUM":this.customFieldMap[a].enumValue=b.enumValue||"";break;case "NUMERIC":this.customFieldMap[a].numericValue=b.numericValue;break;case "REPEATED_TEXT":this.customFieldMap[a].repeatedTextValue=b.repeatedTextValue;
break;case "REPEATED_DATE":this.customFieldMap[a].repeatedDateValue=b.repeatedDateValue;break;case "REPEATED_ENUM":this.customFieldMap[a].repeatedEnumValue=b.repeatedEnumValue;break;case "REPEATED_NUMERIC":this.customFieldMap[a].repeatedNumericValue=b.repeatedNumericValue;break;default:oe("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=dg.get(this.status);!this.assignee&&this.originalIssue&&(a==null?void 0:a.assigneeRequirement)==="REQUIRED"?this.status="NEW":this.assignee&&this.status!=="FIXED"&&this.status!=="VERIFIED"&&(this.status="ASSIGNED")};
g.setVerifier=function(a){this.verifier=a;!this.verifier&&this.originalIssue&&Gd(this.originalIssue.snapshot[0].verifierUser)&&this.originalIssue.snapshot[0].status==="VERIFIED"&&(this.status="FIXED")};
g.setStatus=function(a){this.status=a;a=dg.get(this.status);(a==null?void 0:a.assigneeRequirement)==="FORBIDDEN"&&this.assigneeUser?this.assignee="":(a==null?void 0:a.assigneeRequirement)!=="REQUIRED"||this.assigneeUser||(this.assignee=this.currentUserEmail);this.status!=="VERIFIED"||this.verifier||(this.verifier=this.currentUserEmail)};g.setInProd=function(a){this.inProd=a};g.setCollaborators=function(a){this.collaborators=a};g.setStaffing=function(a){this.staffing=a};
g.setSloEndTime=function(a){this.sloEndTime=a};g.setSloSnoozeType=function(a){this.sloSnoozeType=a};g.setCodeChanges=function(a){var b=[],c=[];a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=Po(d);e?b.push(e):c.push(d)}this.changelist=c!=null?c:[];this.gerritChanges=b!=null?b:[]};
var OCc=function(a,b){return a.originalIssue?(a=(a.originalIssue.snapshot[0].customField||[]).find(function(c){return c.customFieldId===b}))?a:null:null},M2a=function(a,b){var c=[];b!==void 0&&!b&&a.changelist&&c.push.apply(c,p(a.changelist));a.gerritChanges&&c.push.apply(c,p(a.gerritChanges.filter(function(d){return d.state==="MERGED"}).map(function(d){return Oo(d)})));return c},SCc=function(a){return a.gerritChanges?a.gerritChanges.filter(function(b){return b.state==="PENDING"}).map(function(b){return Oo(b)}):
[]},MCc=function(a){this.choices=this.customFieldName=this.type=null;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};
MCc.prototype.isRepeated=function(){return this.type==null?!1:["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var TCc=new Map([["assignee",function(a,b){a.assigneeUser=Kd(b.assignee)}],["ccs",function(a,b){a.ccUsers=b.cc.map(Kd).filter(fe)}],["changelists",function(a,b){a.changelist=b.changelist}],["hotlists",function(a,b){a.hotlistId=b.hotlistId}],["reporter",function(a,b){a.reporterUser=Kd(b.reporter)}],["verifier",function(a,b){a.verifierUser=Kd(b.verifier)}],["componentId",function(a,b){a.componentId=b.componentId}],["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}],["status",function(a,b){a.status=b.status}],["title",function(a,b){a.title=b.title}],["type",function(a,b){a.type=b.type}],["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 WH=function(){this.$window=x(RF)};WH.\u0275fac=function(a){return new (a||WH)};WH.\u0275prov=Dg({token:WH,factory:WH.\u0275fac,providedIn:"root"});var XH=function(){this.session=x(Ks);this.baseDocumentationUrl=this.session.getDocumentationBaseUrl()},Dq=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control":a.baseDocumentationUrl+"/concepts/access-control"},UCc=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control#hotlists":a.baseDocumentationUrl+"/concepts/access-control#hotlists"};
XH.prototype.getIssueAccessLimit=function(){return this.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control.md?cl=head#issue_access_limits":this.baseDocumentationUrl+"/concepts/issues#issue_access_limits"};
var VCc=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/automation-access":Dq(a)},TYa=function(a){if(!a.session.isExternalSession())return"http://go/buganizer-external-access"},WCc=function(a){if(!a.session.isExternalSession())return"http://go/buganizer-public-access"},XCc=function(a){if(a=WCc(a))return a+"#recommended-access-settings"},YCc=function(a){if(a=WCc(a))return a+"#fully-public-component"},ZCc=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"},fMb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/guides/manage-component#enabling-comment-editing"},Gs=function(){return"http://go/buganizer-retention"};XH.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 $Vb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/custom-fields"};XH.prototype.getDisablingFieldsHelpLink=function(){return $Vb()+"#hiding-inherited-fields"};var $Cc=function(a){return a.session.isInternalSession()?"http://go/delete-comments-attachments":""};XH.\u0275fac=function(a){return new (a||XH)};XH.\u0275prov=Dg({token:XH,factory:XH.\u0275fac,providedIn:"root"});var YH=function(a,b,c){var d=this;this._ref=a;this._config=b;this._containerInstance=c;this._afterOpened=new oj;this._beforeClosed=new oj;this._state=0;this.disableClose=b.disableClose;this.id=a.id;a.addPanelClass("mat-mdc-dialog-panel");c._animationStateChanged.pipe(Di(function(e){return e.state==="opened"}),hj(1)).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(Di(function(e){return e.state==="closed"}),hj(1)).subscribe(function(){clearTimeout(d._closeFallbackTimeout);
d._finishDialogClose()});a.overlayRef._detachments.subscribe(function(){d._beforeClosed.next(d._result);d._beforeClosed.complete();d._finishDialogClose()});Ci(this.backdropClick(),this.keydownEvents().pipe(Di(function(e){return e.keyCode===27&&!d.disableClose&&!ym(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType=e.type==="keydown"?"keyboard":"mouse",d.close(void 0))})};
YH.prototype.close=function(a){var b=this,c=this._config.closePredicate;if(!c||c(a,this._config,this.componentInstance))this._result=a,this._containerInstance._animationStateChanged.pipe(Di(function(d){return d.state==="closing"}),hj(1)).subscribe(function(d){b._beforeClosed.next(a);b._beforeClosed.complete();Joc(b._ref.overlayRef);b._closeFallbackTimeout=setTimeout(function(){return b._finishDialogClose()},d.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()};
YH.prototype.afterOpened=function(){return this._afterOpened};var ZH=function(a){return a._ref.closed};g=YH.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):wz(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):Toc(b);this._ref.updatePosition()};
g.updateSize=function(a,b){this._ref.updateSize(a===void 0?"":a,b===void 0?"":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};var aDc=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=!1;this.autoFocus="first-tabbable";this.closeOnOverlayDetachments=this.closeOnDestroy=this.closeOnNavigation=this.restoreFocus=!0;this.disableAnimations=!1};var $H=function(){this._isDisposed=!1;this._elementRef=x(Ph);this._focusTrapFactory=x(My);this._interactivityChecker=x(Hy);this._ngZone=x(Kk);this._focusMonitor=x(Ey);this._renderer=x($m);this._changeDetectorRef=x(sx);this._injector=x(yj);this._platform=x(Qm);this._document=x(Mm);this._focusTrapped=new oj;this._closeInteractionType=this._elementFocusedBeforeDialogWasOpened=this._focusTrap=null;this._ariaLabelledByQueue=[];this._isDestroyed=!1;this._config=x(aDc,{optional:!0})||new aDc;this._config.ariaLabelledBy&&
this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)};Y($H,Cz);g=$H.prototype;g._addAriaLabelledBy=function(a){this._ariaLabelledByQueue.push(a);this._changeDetectorRef.markForCheck()};g._removeAriaLabelledBy=function(a){a=this._ariaLabelledByQueue.indexOf(a);a>-1&&(this._ariaLabelledByQueue.splice(a,1),this._changeDetectorRef.markForCheck())};g._contentAttached=function(){this._initializeFocusTrap();this._captureInitialFocus()};g._captureInitialFocus=function(){this._trapFocus()};
g.ngOnDestroy=function(){this._focusTrapped.complete();this._isDestroyed=!0;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){var c=this;this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(function(){var d=function(){e();f();a.removeAttribute("tabindex")},e=c._renderer.listen(a,"blur",d),f=c._renderer.listen(a,"mousedown",d)}));a.focus(b)};g._focusByCssSelector=function(a,b){(a=this._elementRef.nativeElement.querySelector(a))&&this._forceFocus(a,b)};
g._trapFocus=function(a){var b=this;this._isDestroyed||Ej(function(){var c=b._elementRef.nativeElement;switch(b._config.autoFocus){case !1:case "dialog":b._containsFocus()||c.focus(a);break;case !0:case "first-tabbable":var d;((d=b._focusTrap)==null?0:d.focusInitialElement(a))||b._focusDialogContainer(a);break;case "first-heading":b._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',a);break;default:b._focusByCssSelector(b._config.autoFocus,a)}b._focusTrapped.next()},{injector:this._injector})};
g._restoreFocus=function(){var a=this._config.restoreFocus,b=null;typeof a==="string"?b=this._document.querySelector(a):typeof a==="boolean"?b=a?this._elementFocusedBeforeDialogWasOpened:null:a&&(b=a);if(this._config.restoreFocus&&b&&typeof b.focus==="function"){a=Am();var c=this._elementRef.nativeElement;if(!a||a===this._document.body||a===c||c.contains(a))this._focusMonitor?(Fy(this._focusMonitor,b,this._closeInteractionType),this._closeInteractionType=null):b.focus()}this._focusTrap&&this._focusTrap.destroy()};
g._focusDialogContainer=function(a){var b,c;(c=(b=this._elementRef.nativeElement).focus)==null||c.call(b,a)};g._containsFocus=function(){var a=this._elementRef.nativeElement,b=Am();return a===b||a.contains(b)};g._initializeFocusTrap=function(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Am()))};$H.\u0275fac=function(a){return new (a||$H)};
$H.\u0275cmp=F({type:$H,selectors:[["cdk-dialog-container"]],viewQuery:function(a,b){a&1&&ek(Ez,7);if(a&2){var c;ik(c=jk())&&(b._portalOutlet=c.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,b){a&2&&Hj("id",b._config.id||null)("role",b._config.role)("aria-modal",b._config.ariaModal)("aria-labelledby",b._config.ariaLabel?null:b._ariaLabelledByQueue[0])("aria-label",b._config.ariaLabel)("aria-describedby",b._config.ariaDescribedBy||null)},features:[xj],
decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&G(0,ALa,0,0,"ng-template",0)},dependencies:[Ez],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2});var bDc=new kh("DialogScrollStrategy",{providedIn:"root",factory:function(){var a=x(yj);return function(){return mxa(a)}}}),cDc=new kh("DialogData"),dDc=new kh("DefaultDialogConfig");var eDc=function(a,b){var c=this;this.overlayRef=a;this.config=b;this.closed=new oj;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){d.keyCode!==27||c.disableClose||ym(d)||(d.preventDefault(),c.close(void 0,{focusOrigin:"keyboard"}))});this.backdropClick.subscribe(function(){if(!c.disableClose&&c._canClose())c.close(void 0,{focusOrigin:"mouse"});
else{var d,e;(e=(d=c.containerInstance)._recaptureFocus)==null||e.call(d)}});this._detachSubscription=a._detachments.subscribe(function(){b.closeOnOverlayDetachments!==!1&&c.close()})};g=eDc.prototype;g.close=function(a,b){if(this._canClose(a)){var c=this.closed;this.containerInstance._closeInteractionType=(b==null?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:a===void 0?"":a,height:b===void 0?"":b})};g.addPanelClass=function(a){this.overlayRef.addPanelClass(a)};g.removePanelClass=function(a){this.overlayRef.removePanelClass(a)};g._canClose=function(a){var b=this.config;return!!this.containerInstance&&(!b.closePredicate||b.closePredicate(a,b,this.componentInstance))};var aI=function(){this._injector=x(yj);this._defaultOptions=x(dDc,{optional:!0});this._parentDialog=x(aI,{optional:!0,skipSelf:!0});this._overlayContainer=x(Rm);this._idGenerator=x(Wm);this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new oj;this._afterOpenedAtThisLevel=new oj;this._ariaHiddenElements=new Map;this._scrollStrategy=x(bDc)};g=aI.prototype;
g.open=function(a,b){var c=this;b=Object.assign({},this._defaultOptions||new aDc,b);b.id=b.id||this._idGenerator.getId("cdk-dialog-");b.id&&this.getDialogById(b.id);var d=this._getOverlayConfig(b);d=fn(this._injector,d);var e=new eDc(d,b);d=this._attachContainer(d,e,b);e.containerInstance=d;if(!this.openDialogs.length){var f=txa(this._overlayContainer);d._focusTrapped?d._focusTrapped.pipe(hj(1)).subscribe(function(){c._hideNonDialogContentFromAssistiveTechnology(f)}):this._hideNonDialogContentFromAssistiveTechnology(f)}this._attachDialogContent(a,
e,d,b);this.openDialogs.push(e);e.closed.subscribe(function(){return c._removeOpenDialog(e,!0)});this.afterOpened.next(e);return e};g.closeAll=function(){CLa(this.openDialogs,function(a){return a.close()})};g.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};
g.ngOnDestroy=function(){var a=this;CLa(this._openDialogsAtThisLevel,function(b){b.config.closeOnDestroy===!1&&a._removeOpenDialog(b,!1)});CLa(this._openDialogsAtThisLevel,function(b){return b.close()});this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete();this._openDialogsAtThisLevel=[]};
g._getOverlayConfig=function(a){var b=new Zm({positionStrategy:a.positionStrategy||Toc(wz(new vz)),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,disableAnimations:a.disableAnimations});a.backdropClass&&(b.backdropClass=a.backdropClass);return b};
g._attachContainer=function(a,b,c){var d,e=c.injector||((d=c.viewContainerRef)==null?void 0:d.injector);b=[{provide:aDc,useValue:c},{provide:eDc,useValue:b},{provide:an,useValue:a}];c.container?typeof c.container==="function"?d=c.container:(d=c.container.type,b.push.apply(b,p(c.container.providers(c)))):d=$H;c=new Az(d,c.viewContainerRef,Rk({parent:e||this._injector,providers:b}));return a.attach(c).instance};
g._attachDialogContent=function(a,b,c,d){if(a instanceof bk){var e=this._createInjector(d,b,c,void 0);b={$implicit:d.data,dialogRef:b};d.templateContext&&(b=Object.assign({},b,typeof d.templateContext==="function"?d.templateContext():d.templateContext));c.attachTemplatePortal(new Bz(a,null,b,e))}else e=this._createInjector(d,b,c,this._injector),a=c.attachComponentPortal(new Az(a,d.viewContainerRef,e)),b.componentRef=a,b.componentInstance=a.instance};
g._createInjector=function(a,b,c,d){var e,f=a.injector||((e=a.viewContainerRef)==null?void 0:e.injector);e=[{provide:cDc,useValue:a.data},{provide:eDc,useValue:b}];a.providers&&(typeof a.providers==="function"?e.push.apply(e,p(a.providers(b,a,c))):e.push.apply(e,p(a.providers)));!a.direction||f&&f.get(Xm,null,{optional:!0})||e.push({provide:Xm,useValue:BLa(a.direction)});return Rk({parent:f||d,providers:e})};
g._removeOpenDialog=function(a,b){a=this.openDialogs.indexOf(a);a>-1&&(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(a){if(a.parentElement)for(var b=a.parentElement.children,c=b.length-1;c>-1;c--){var d=b[c];d===a||d.nodeName==="SCRIPT"||d.nodeName==="STYLE"||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};
pg.Object.defineProperties(aI.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}}});aI.\u0275fac=function(a){return new (a||aI)};aI.\u0275prov=Dg({token:aI,factory:aI.\u0275fac,providedIn:"root"});var bI=function(){};bI.\u0275fac=function(a){return new (a||bI)};bI.\u0275mod=Zi({type:bI});bI.\u0275inj=Eg({providers:[aI],imports:[Jz,Fz,Wy,Fz]});var fDc=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=!1;this.autoFocus="first-tabbable";this.closeOnNavigation=this.delayFocusTrap=this.restoreFocus=!0};var cI=function(){$H.apply(this,arguments);var a=this;this._animationStateChanged=new Lp;this._animationsEnabled=!hn();this._actionSectionCount=0;this._hostElement=this._elementRef.nativeElement;var b;this._enterAnimationDuration=this._animationsEnabled?(b=ELa(this._config.enterAnimationDuration))!=null?b:150:0;var c;this._exitAnimationDuration=this._animationsEnabled?(c=ELa(this._config.exitAnimationDuration))!=null?c:75:0;this._animationTimer=null;this._finishDialogOpen=function(){a._clearAnimationClasses();
a._openAnimationDone(a._enterAnimationDuration)};this._finishDialogClose=function(){a._clearAnimationClasses();a._animationStateChanged.emit({state:"closed",totalTime:a._exitAnimationDuration})}};Y(cI,$H);g=cI.prototype;g._contentAttached=function(){$H.prototype._contentAttached.call(this);this._startOpenAnimation()};
g._startOpenAnimation=function(){var a=this;this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration});this._animationsEnabled?(this._hostElement.style.setProperty("--mat-dialog-transition-duration",this._enterAnimationDuration+"ms"),this._requestAnimationFrame(function(){return a._hostElement.classList.add("mdc-dialog--opening","mdc-dialog--open")}),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add("mdc-dialog--open"),
Promise.resolve().then(function(){return a._finishDialogOpen()}))};
g._startExitAnimation=function(){var a=this;this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration});this._hostElement.classList.remove("mdc-dialog--open");this._animationsEnabled?(this._hostElement.style.setProperty("--mat-dialog-transition-duration",this._exitAnimationDuration+"ms"),this._requestAnimationFrame(function(){return a._hostElement.classList.add("mdc-dialog--closing")}),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):
Promise.resolve().then(function(){return a._finishDialogClose()})};g._updateActionSectionCount=function(a){this._actionSectionCount+=a;this._changeDetectorRef.markForCheck()};g._clearAnimationClasses=function(){this._hostElement.classList.remove("mdc-dialog--opening","mdc-dialog--closing")};g._waitForAnimationToComplete=function(a,b){this._animationTimer!==null&&clearTimeout(this._animationTimer);this._animationTimer=setTimeout(b,a)};
g._requestAnimationFrame=function(a){this._ngZone.runOutsideAngular(function(){typeof requestAnimationFrame==="function"?requestAnimationFrame(a):a()})};g._captureInitialFocus=function(){this._config.delayFocusTrap||this._trapFocus()};g._openAnimationDone=function(a){this._config.delayFocusTrap&&this._trapFocus();this._animationStateChanged.next({state:"opened",totalTime:a})};g.ngOnDestroy=function(){$H.prototype.ngOnDestroy.call(this);this._animationTimer!==null&&clearTimeout(this._animationTimer)};
g.attachComponentPortal=function(a){a=$H.prototype.attachComponentPortal.call(this,a);a.location.nativeElement.classList.add("mat-mdc-dialog-component-host");return a};cI.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(cI)))(b||cI)}}();
cI.\u0275cmp=F({type:cI,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(a,b){a&2&&(Oj("id",b._config.id),Hj("aria-modal",b._config.ariaModal)("role",b._config.role)("aria-labelledby",b._config.ariaLabel?null:b._ariaLabelledByQueue[0])("aria-label",b._config.ariaLabel)("aria-describedby",b._config.ariaDescribedBy||null),rk("_mat-animation-noopable",!b._animationsEnabled)("mat-mdc-dialog-container-with-actions",
b._actionSectionCount>0))},features:[xj],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(a){a&1&&(L(0,"div",0)(1,"div",1),G(2,DLa,0,0,"ng-template",2),M()())},dependencies:[Ez],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}\n'],
encapsulation:2});var dI=new kh("MatMdcDialogData"),gDc=new kh("mat-mdc-dialog-default-options"),hDc=new kh("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:function(){var a=x(yj);return function(){return mxa(a)}}}),eI=function(){this._defaultOptions=x(gDc,{optional:!0});this._scrollStrategy=x(hDc);this._parentDialog=x(eI,{optional:!0,skipSelf:!0});this._idGenerator=x(Wm);this._injector=x(yj);this._dialog=x(aI);this._animationsDisabled=hn();this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=
new oj;this._afterOpenedAtThisLevel=new oj;this.dialogConfigClass=fDc;this._dialogRefConstructor=YH;this._dialogContainerType=cI;this._dialogDataToken=dI};g=eI.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 fDc,b);b.id=b.id||this._idGenerator.getId("mat-mdc-dialog-");b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();var e,f;a=this._dialog.open(a,Object.assign({},b,{positionStrategy:Toc(wz(new vz)),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||((e=b.enterAnimationDuration)==null?void 0:e.toLocaleString())==="0"||((f=b.exitAnimationDuration)==
null?void 0:f.toString())==="0",container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:aDc,useValue:b}]}},templateContext:function(){return{dialogRef:d}},providers:function(h,k,q){d=new c._dialogRefConstructor(h,b,q);var u;d.updatePosition((u=b)==null?void 0:u.position);return[{provide:c._dialogContainerType,useValue:q},{provide:c._dialogDataToken,useValue:k.data},{provide:c._dialogRefConstructor,useValue:d}]}}));d.componentRef=a.componentRef;
d.componentInstance=a.componentInstance;this.openDialogs.push(d);this.afterOpened.next(d);ZH(d).subscribe(function(){var h=c.openDialogs.indexOf(d);h>-1&&(c.openDialogs.splice(h,1),c.openDialogs.length||c._getAfterAllClosed().next())});return d};g.closeAll=function(){this._closeDialogs(this.openDialogs)};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()};
pg.Object.defineProperties(eI.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}}});eI.\u0275fac=function(a){return new (a||eI)};eI.\u0275prov=Dg({token:eI,factory:eI.\u0275fac,providedIn:"root"});var fI=function(){this.dialogRef=x(YH,{optional:!0});this._elementRef=x(Ph);this._dialog=x(eI);this.type="button"};fI.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=FLa(this._elementRef,this._dialog.openDialogs))};fI.prototype.ngOnChanges=function(a){if(a=a._matDialogClose||a._matDialogCloseResult)this.dialogResult=a.currentValue};
fI.prototype._onButtonClick=function(a){var b=this.dialogRef,c=this.dialogResult;b._closeInteractionType=a.screenX===0&&a.screenY===0?"keyboard":"mouse";b.close(c)};fI.\u0275fac=function(a){return new (a||fI)};
fI.\u0275dir=$i({type:fI,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(a,b){a&1&&Q("click",function(c){return b._onButtonClick(c)});a&2&&Hj("aria-label",b.ariaLabel||null)("type",b.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[$w]});
var gI=function(){this._dialogRef=x(YH,{optional:!0});this._elementRef=x(Ph);this._dialog=x(eI)};gI.prototype.ngOnInit=function(){var a=this;this._dialogRef||(this._dialogRef=FLa(this._elementRef,this._dialog.openDialogs));this._dialogRef&&Promise.resolve().then(function(){a._onAdd()})};gI.prototype.ngOnDestroy=function(){var a=this,b;((b=this._dialogRef)==null?0:b._containerInstance)&&Promise.resolve().then(function(){a._onRemove()})};gI.\u0275fac=function(a){return new (a||gI)};gI.\u0275dir=$i({type:gI});
var hI=function(){gI.apply(this,arguments);this.id=x(Wm).getId("mat-mdc-dialog-title-")};Y(hI,gI);hI.prototype._onAdd=function(){var a,b;(a=this._dialogRef._containerInstance)==null||(b=a._addAriaLabelledBy)==null||b.call(a,this.id)};hI.prototype._onRemove=function(){var a,b,c;(a=this._dialogRef)==null||(b=a._containerInstance)==null||(c=b._removeAriaLabelledBy)==null||c.call(b,this.id)};hI.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(hI)))(b||hI)}}();
hI.\u0275dir=$i({type:hI,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(a,b){a&2&&Oj("id",b.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[xj]});var iI=function(){};iI.\u0275fac=function(a){return new (a||iI)};
iI.\u0275dir=$i({type:iI,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[function(a){var b=function(c){var d=Array.isArray(a);c.hostDirectives===null?(c.resolveHostDirectives=pqa,c.hostDirectives=d?a.map(rqa):[a]):d?c.hostDirectives.unshift.apply(c.hostDirectives,p(a.map(rqa))):c.hostDirectives.unshift(a)};b.ngInherit=!0;return b}([mz])]});var jI=function(){gI.apply(this,arguments)};
Y(jI,gI);jI.prototype._onAdd=function(){var a,b;(a=this._dialogRef._containerInstance)==null||(b=a._updateActionSectionCount)==null||b.call(a,1)};jI.prototype._onRemove=function(){var a,b;(a=this._dialogRef._containerInstance)==null||(b=a._updateActionSectionCount)==null||b.call(a,-1)};jI.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(jI)))(b||jI)}}();
jI.\u0275dir=$i({type:jI,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(a,b){a&2&&rk("mat-mdc-dialog-actions-align-start",b.align==="start")("mat-mdc-dialog-actions-align-center",b.align==="center")("mat-mdc-dialog-actions-align-end",b.align==="end")},inputs:{align:"align"},features:[xj]});var kI=function(){};kI.\u0275fac=function(a){return new (a||kI)};kI.\u0275mod=Zi({type:kI});kI.\u0275inj=Eg({providers:[eI],imports:[bI,Jz,Fz,kz]});var iDc=function(){this.dialogRef=x(YH);this.data=x(dI);this.confirmButtonTheme=this.data.isDestructive?"warn":"primary";var a;this.cancelButtonText=(a=this.data.cancelButtonText)!=null?a:"Cancel";var b;this.confirmButtonText=(b=this.data.confirmButtonText)!=null?b:"Confirm";var c;this.showCancelButton=(c=this.data.showCancelButton)!=null?c:!0};iDc.\u0275fac=function(a){return new (a||iDc)};
iDc.\u0275cmp=F({type:iDc,selectors:[["b-confirmation-dialog"]],standalone:!1,decls:7,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"innerHTML"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium"],["type","button","mat-flat-button","","cdkFocusInitial","",1,"medium",3,"click","color"],["type","button","mat-button","",1,"medium",3,"click"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1),M(),N(2,"div",1),L(3,"div",2),I(4,GLa,2,1,"button",3),L(5,"button",4),Q("click",
function(){return b.dialogRef.close(!0)}),U(6),M()());a&2&&(E(),tk(b.data.title),E(),K("innerHTML",b.data.content,Mi),E(2),J(b.showCancelButton?4:-1),E(),K("color",b.confirmButtonTheme),E(),V(" ",b.confirmButtonText," "))},dependencies:[dA,aA,hI,jI,iI],encapsulation:2});var lI=function(){this.dialog=x(eI)},jDc=function(a,b){return new Promise(function(c){a.open(Object.assign({},b,{onConfirm:function(){c(!0)},onDismiss:function(){c(!1)}}))})};
lI.prototype.open=function(a){var b=a.title;var c=a.content;var d=a.onConfirm;var e=a.onDismiss;ZH(this.dialog.open(iDc,{data:{title:b,content:c,isDestructive:a.isDestructive,cancelButtonText:a.cancelButtonText,confirmButtonText:a.confirmButtonText,showCancelButton:a.showCancelButton},maxWidth:"500px"})).subscribe(function(f){f?d==null||d():e==null||e()})};lI.\u0275fac=function(a){return new (a||lI)};lI.\u0275prov=Dg({token:lI,factory:lI.\u0275fac,providedIn:"root"});var mI=function(){this.activeSession=x(Ks);this.documentationLinks=x(XH);this.confirmationDialogService=x(lI)},lDc=function(a,b){return new Promise(function(c){kDc(a,b,function(){c(!0)},function(){c(!1)})})},kDc=function(a,b,c,d){if(a.activeSession.isExternalSession())c&&c();else{var e="",f=md("");if(b==="VULNERABILITY")e="Set the issue type to \u201cVulnerability\u201d?",b={},f=pd([md('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',
{preserveNewlines:!0}),qd("a",(b.href="http://goto.google.com/vulnerability-slo",b.target="_blank",b),"Learn more")]);else if(b==="PRIVACY_ISSUE"){e="Set the issue type to \u201cPrivacy Issue\u201d?";b={};f={};var h={};f=pd([md('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. ',{preserveNewlines:!0}),qd("a",(b.href="http://goto.google.com/pib-slo",b.target=
"_blank",b),"Learn more"),md(".\n\nDO NOT use this type to file ",{preserveNewlines:!0}),qd("a",(f.href="http://goto.google.com/incident-response-policy",f.target="_blank",f),"privacy incidents"),md(". Incidents should be filed at ",{preserveNewlines:!0}),qd("a",(h.href="http://goto.google.com/privacy-incidents",h.target="_blank",h),"go/privacy-incidents"),md(".\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.",
{preserveNewlines:!0})])}a.confirmationDialogService.open({title:e,content:f,onConfirm:c!=null?c:function(){},onDismiss:d!=null?d:function(){}})}};mI.\u0275fac=function(a){return new (a||mI)};mI.\u0275prov=Dg({token:mI,factory:mI.\u0275fac,providedIn:"root"});var mDc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,mDc.messageId)};Y(mDc,n);mDc.messageId="b.TimeZoneDataList";var nI=function(){var a=this;this.executor=x(ey);this.activeSession=x(Ks);this.cachedDisplayNames=void 0;this.memoizedTimezones=new Fyc(function(b){a:{var c=l(a.activeSession.session.preload.timezones);for(var d=c.next();!d.done;d=c.next())if(d=d.value,b===d.timeZoneId_){c=d;break a}c=void 0}return c?li(c):a.executor.get({url:"action/timezone/"+encodeURIComponent(b),responseConstructor:Kf}).pipe(C(jfa))},10)};nI.prototype.get=function(a){return this.memoizedTimezones.get(a)};
var nDc=function(a){return a.cachedDisplayNames?li(wd(a.cachedDisplayNames)):a.executor.get({url:"action/timezone",responseConstructor:mDc}).pipe(C(function(b){b=ie(b,Kf,1,Rd(),Kc).map(function(c){c=jfa(c);var d=ijc(kjc(c,new Date));return{id:c.timeZoneId_,displayName:"("+d+") - "+c.timeZoneId_,gmt:d}});return a.cachedDisplayNames=b}))};nI.\u0275fac=function(a){return new (a||nI)};nI.\u0275prov=Dg({token:nI,factory:nI.\u0275fac,providedIn:"root"});var oDc=new Map([["BUG","Unintended behavior"],["FEATURE_REQUEST","Request for new functionality"],["CUSTOMER_ISSUE","Issue affecting a 3rd party"],["INTERNAL_CLEANUP","Maintenance work"],["PROCESS","Miscellaneous non-feature work"],["VULNERABILITY","A security concern"],["PRIVACY_ISSUE","A privacy concern"],["PROGRAM","A set of related large scale work efforts"],["PROJECT","Goal-driven effort"],["FEATURE","A collection of work"],["MILESTONE","An important achievement"],["EPIC","A large collection of work"],
["STORY","A small collection of work"],["TASK","A small unit of work"],["TYPE_UNSPECIFIED","Unspecified"]]),pDc=["P0","P1","P2","P3","P4"],qDc="NEW ASSIGNED ACCEPTED FIXED VERIFIED NOT_REPRODUCIBLE INTENDED_BEHAVIOR OBSOLETE INFEASIBLE DUPLICATE INACTIVE".split(" "),rDc="BUG FEATURE_REQUEST CUSTOMER_ISSUE INTERNAL_CLEANUP PROCESS VULNERABILITY PRIVACY_ISSUE PROGRAM PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" "),sDc=["HIGH","MEDIUM","LOW","ZERO"],tDc=["SWE","SRE","PM","TPGM","UX"],uDc="SWE SRE PM TPGM UX UXD UXR DATASCI LD DEVREL TW GTM CE OTHER".split(" "),
vDc=["S0","S1","S2","S3","S4"],wDc=new Map([["PRIORITY_UNSPECIFIED","(Unspecified Priority)"],["P0","P0"],["P1","P1"],["P2","P2"],["P3","P3"],["P4","P4"]]),xDc=new Map([["TYPE_UNSPECIFIED","(Unspecified Issue Type)"],["BUG","Bug"],["FEATURE_REQUEST","Feature Request"],["CUSTOMER_ISSUE","Customer Issue"],["INTERNAL_CLEANUP","Internal Cleanup"],["PROCESS","Process"],["VULNERABILITY","Vulnerability"],["PRIVACY_ISSUE","Privacy Issue"],["PROGRAM","Program"],["PROJECT","Project"],["FEATURE","Feature"],
["MILESTONE","Milestone"],["EPIC","Epic"],["STORY","Story"],["TASK","Task"]]),yDc=new Map([["TYPE_UNSPECIFIED","report"],["BUG","bug_report_24px"],["CUSTOMER_ISSUE","contact_phone_24px"],["EPIC","beenhere_24px"],["FEATURE","stars_24px"],["FEATURE_REQUEST","reviews_24px"],["INTERNAL_CLEANUP","cleaning_services_24px"],["MILESTONE","outlined_flag_24px"],["PRIVACY_ISSUE","lock_outline_24px"],["PROCESS","retweet_24px"],["PROGRAM","work_outline_24px"],["PROJECT","description_24px"],["STORY","3p_24px"],
["TASK","assignment_turned_in_24px"],["VULNERABILITY","privacy_tip_24px"]]),JLa=new Set("PROGRAM PROJECT MILESTONE FEATURE EPIC STORY TASK".split(" ")),zDc=rDc.map(function(a){return{value:a,displayText:Ld(a),altText:oDc.get(a),icon:yDc.get(a),group:KLa(a)?1:0}}),oI=function(){this.priorities=pDc;this.severities=vDc;this.editIssueTypes=rDc;this.editIssueTypeChoices=zDc;this.issueTypesDisplayNames=xDc;this.issueTypesShortDescriptions=oDc;this.issuePrioritiesDisplayNames=wDc;this.issueTypeIcons=yDc;
this.supportedTimeZones=[{name:"Local time",id:""},{name:"UTC",id:"UTC"},{name:"America/Los_Angeles",id:"America/Los_Angeles"}];this.isWTDMType=KLa};oI.\u0275fac=function(a){return new (a||oI)};oI.\u0275prov=Dg({token:oI,factory:oI.\u0275fac,providedIn:"root"});var pI=function(){var a=x(NF),b=x(nI),c=x(oI);Z.call(this);var d=this;this.errorHandler=x(PA);this.cachedFormatters=new Map;this.userPrefs=Nw.dateTimePreferences;this.formatPrefChange$=new oj;this.userTimeZone=null;this.timeZones={};Promise.all(c.supportedTimeZones.map(function(e){if(e.id==="")return Promise.resolve({name:"",timeZone:null});var f=b.get(e.id).pipe(tj(d.destroyed$));return pi(f).then(function(h){return{name:e.name,timeZone:h}})})).then(function(e){e=l(e);for(var f=e.next();!f.done;f=
e.next())f=f.value,d.timeZones[f.name]=f.timeZone;a.preferences$.pipe(tj(d.destroyed$)).subscribe(function(h){h.dateTimePreferences&&(h=h.dateTimePreferences,d.userPrefs=h,d.userTimeZone=d.timeZones[h.timeZone],d.formatPrefChange$.next())})}).catch(function(e){d.errorHandler.errorHandler(null,e)})};Y(pI,Z);pI.\u0275dir=Z.\u0275dir;pI.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d||(d=new So(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};
var ADc=function(a,b){return a.formatPrefChange$.subscribe(b)};pI.prototype.formatUserCalendar=function(a){return this.format(this.userPrefs.calendarFormat,this.userTimeZone,a)};pI.prototype.formatUserTime=function(a){return this.format(this.userPrefs.timeFormat,this.userTimeZone,a)};pI.\u0275fac=function(a){return new (a||pI)};pI.\u0275prov=Dg({token:pI,factory:pI.\u0275fac,providedIn:"root"});var qI=function(){this.dateFormatter=x(pI)};
qI.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(Lo(a)):"";if(a.enumValue)return a.enumValue;if(a.numericValue||a.numericValue===0)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(Lo(c))}).join(", ");if(a.repeatedEnumValue)return a.repeatedEnumValue.values.join(", ");
if(a.repeatedNumericValue)return a.repeatedNumericValue.values.join(", ")}return""};qI.\u0275fac=function(a){return new (a||qI)};qI.\u0275prov=Dg({token:qI,factory:qI.\u0275fac,providedIn:"root"});var rI=function(){this.customFieldFormatter=x(qI);this.hotlistFridge=x(EC);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",sloStartTime:"SLO Start Time",sloEndTime:"SLO End Time",blockingIssueId:"Blocked Issues",ccs:"CCs",changelists:"Changelists",gerritChanges:"Gerrit changes",blockedByIssueId:"Blocking Issues",
foundInVersion:"Found In",hotlists:"Hotlists",targetedToVersion:"Targeted To",verifiedInVersion:"Verified In"};this.ENUM_FIELDS=["type","status"]},DDc=function(a,b,c,d){c=c===void 0?null:c;d=d===void 0?"":d;var e;b.bulkEditOps&&(e=ILa(b.bulkEditOps));var f=b.actions||[];!f.length&&b.bulkEditOps&&(f=HLa(b.bulkEditOps));b=BDc(f).map(function(h){return CDc(a,h,c,d)});b=b.filter(Boolean);if(!b.length)return"Issue(s) updated.";b=b.join(", ");return b=e?e.length==1?b+" on 1 issue.":b+(" on "+e.length+" issues."):
b+"."},BDc=function(a){var b=[],c=[];a=l(a);for(var d=a.next();!d.done;d=a.next())d=d.value,d.fieldName==="status"?c.push(d):b.push(d);return b.concat(c)},CDc=function(a,b,c,d){c=c===void 0?null:c;d=d===void 0?"":d;var e=a.FIELD_TEXT_MAP[b.fieldName]||b.fieldName,f=b.value||"<none>";b.customFieldValue?(d=b.customFieldValue,e=c[d.customFieldId].name||c[d.customFieldId].customFieldName,f=a.customFieldFormatter.format(d)||"<none>"):b.fieldName==="effortEstimate"&&d?e=d:e=a.FIELD_TEXT_MAP[b.fieldName]||
b.fieldName;b.fieldName==="hotlists"?f=b.value.split(",").map(function(h){var k,q;return(k=(q=a.hotlistFridge.peek(String(h)))==null?void 0:q.name)?"'"+k+"'":h}).join(","):a.ENUM_FIELDS.includes(b.fieldName)&&(f=f?Fd(f.replace(/_/g," ").toLowerCase()):"");return b.actionType==="ADD"&&b.fieldName==="hotlists"?(f=f.replace(/,/g,", "),"Added issue to Hotlist ["+f+"]"):b.actionType==="REMOVE"&&b.fieldName==="hotlists"?(f=f.replace(/,/g,", "),"Removed issue from Hotlist ["+f+"]"):b.actionType==="ADD"&&
b.fieldName==="parentId"?"Added child issue(s) to parent ["+f+"]":b.actionType==="REMOVE"&&b.fieldName==="parentId"?"Unlinked child issue(s) from parent ["+f+"]":b.actionType||b.fieldName!=="status"?b.actionType||b.fieldName!=="comment"?b.actionType||b.fieldName!=="attachments"?b.actionType||b.fieldName!=="sloStartTime"?b.actionType||b.fieldName!=="sloEndTime"?b.actionType==="ADD"&&b.gerritChangeValue?(f=b.gerritChangeValue.map(function(h){return h.changeNumber}).join(", "),'"'+f+'" added to '+e):
b.actionType==="REMOVE"&&b.gerritChangeValue?(f=b.gerritChangeValue.map(function(h){return h.changeNumber}).join(", "),'"'+f+'" removed from '+e):b.actionType!=="ADD"||b.customFieldValue?b.actionType!=="REMOVE"||b.customFieldValue?b.fieldName==="isArchived"?b.value==="true"?"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 End Time Set":"SLO End Time Unset":b.value?"SLO Start Time Set":
"SLO Start Time Unset":"":"Comment added":'Status set to "'+dg.get(b.value).displayValue+'"'};rI.\u0275fac=function(a){return new (a||rI)};rI.\u0275prov=Dg({token:rI,factory:rI.\u0275fac,providedIn:"root"});var MLa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(MLa,n);MLa.prototype.getContentJudgement=function(){return r(this,Op,2)};MLa.prototype.setContentJudgement=function(a){return t(this,Op,2,a)};var EDc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(EDc,n);EDc.prototype.getIssueId=function(){return Re(this,1)};EDc.prototype.getIssueId_asString=function(){return Le(this,1)};EDc.prototype.setIssueId=function(a){return rf(this,1,a)};var FDc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(FDc,n);g=FDc.prototype;g.getFilename=function(){return Oc(this,1)};g.setFilename=function(a){return lf(this,1,a)};g.getMimeType=function(){return Oc(this,2)};g.setMimeType=function(a){return lf(this,2,a)};g.getSize=function(){return Re(this,5)};g.setSize=function(a){return Ze(this,5,a)};var sI=function(){this.activeSession=x(Ks)},GDc=function(a){var b;if((a=(b=a.activeSession.getTracker())==null?void 0:b.trackerId)&&a!=="0")return[a]},sr=function(a,b,c,d){c=c===void 0?a.activeSession.getTracker():c;d=d===void 0?!1:d;c?(d=d===void 0?!1:d,a=a.activeSession.isInternalSession()&&!d&&c.internalBaseUrl?c.internalBaseUrl+"/"+b:c.externalBaseUrl?c.externalBaseUrl+"/"+b:HDc(a,b,!0,c.trackerId,d)):a=HDc(a,b,!1,"",d);return a},HDc=function(a,b,c,d,e){c=c===void 0?!1:c;d=d===void 0?"":d;a=a.activeSession.getAppBaseUrl(e===
void 0?!1:e);return c?a+b+"?tracker="+d:a+b},us=function(a,b){var c=a.activeSession.getTracker();if(!b||!c)return b;var d;a=(d=b.componentPathId)!=null?d:[];var e;d=(e=b.componentPathName)!=null?e:[];e=c.componentId;e=a.includes(e)?a.indexOf(e):a.length;return{componentPathId:a.slice(e),componentPathName:d.slice(e),fieldConfigsMap:b.fieldConfigsMap,fieldConfigsV2Map:b.fieldConfigsV2Map}},IDc=function(a,b){return b?a.filter(function(c){return c.trackerId===b}):a};
sI.\u0275fac=function(a){return new (a||sI)};sI.\u0275prov=Dg({token:sI,factory:sI.\u0275fac,providedIn:"root"});var tI=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,tI.messageId)};Y(tI,n);tI.prototype.getIt=function(){return r(this,pl,14,Kc)};tI.prototype.setIt=function(a){return t(this,pl,14,a,Kc)};tI.messageId="b.Attachment";var uI=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,uI.messageId)};Y(uI,n);uI.prototype.getAttachmentsList=function(){return ie(this,tI,1,Rd(),Kc)};uI.prototype.setAttachmentsList=function(a){return Ol(this,1,a,Kc)};uI.prototype.addAllAttachments=function(a){qm(this,1,tI,a,Kc)};uI.messageId="b.CreateAttachmentsResponse";var vI=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,vI.messageId)};Y(vI,n);vI.prototype.getErrorMessage=function(){return Oc(this,2,void 0,Kc)};vI.prototype.setErrorMessage=function(a){lf(this,2,a,Kc)};vI.messageId="b.EncryptedMediaResponse";var wI=function(){this.executor=x(fy);this.httpClient=x(wA);this.activeSession=x(Ks);this.trackerHelpers=x(sI)},JDc=function(a,b){var c=(new FDc).setFilename(b.filename).setMimeType(b.mimeType);b.encryptedBlobId!=null&&lf(c,3,b.encryptedBlobId);lf(c,4,b.docId);b.size!=null&&c.setSize(b.size);return a.executor.post({url:"action/issues/drive_attachment",body:c,responseConstructor:vI}).then(LLa)},LDc=function(a,b,c){var d=KDc(a)+("/download/attachment/"+b+"/"+c);return wi(function(){return fetch(d,{credentials:"include",
mode:"no-cors"})}).pipe(sj(function(){return a.httpClient.get(d,{observe:"events",responseType:"arraybuffer",withCredentials:!0}).pipe(C(function(e){if(e instanceof rA&&e.body)return e.body}))}))},KDc=function(a){var b=/(g?bugs-qa\.chromium\.org)/,c=/g-issues\.(.*)\.(.*)\/$/,d=/[^-]issues\.(.*)\.(.*)\/$/,e=sr(a.trackerHelpers,"");return b.test(e)?"https://usercontent."+b.exec(e)[1]:c.test(e)?(a=c.exec(e),"https://usercontent.g-issues."+a[1]+"."+a[2]):d.test(e)?(a=d.exec(e),"https://usercontent.issues."+
a[1]+"."+a[2]):a.activeSession.isInternalSession()?Oq(a.activeSession)?"https://buganizer.usercontent.corp.google.com":"https://buganizer-qa.usercontent.corp.google.com":Ax(a.activeSession)?Oq(a.activeSession)?"https://partnerissuetracker.usercontent.corp.google.com":"https://partnerissuetracker-qa.usercontent.corp.google.com":"https://issuetracker.usercontent.google.com"};wI.\u0275fac=function(a){return new (a||wI)};wI.\u0275prov=Dg({token:wI,factory:wI.\u0275fac,providedIn:"root"});var xI=function(){this.executor=x(fy)};xI.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})};xI.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:tI}).then(OLa)};
xI.\u0275fac=function(a){return new (a||xI)};xI.\u0275prov=Dg({token:xI,factory:xI.\u0275fac,providedIn:"root"});var MDc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(MDc,n);g=MDc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getComment=function(){return r(this,om,2)};g.setComment=function(a){return t(this,om,2,a)};g.setSignificanceOverride=function(a){return Xd(this,3,a)};g.getContentJudgement=function(){return r(this,kl,4)};
g.setContentJudgement=function(a){return t(this,kl,4,a)};var NDc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(NDc,n);g=NDc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getCommentNumber=function(){return Pd(this,2)};g.setCommentNumber=function(a){return se(this,2,a)};var ODc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ODc,n);g=ODc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getCommentNumber=function(){return Pd(this,2)};g.setCommentNumber=function(a){return se(this,2,a)};g.getComment=function(){return r(this,om,3)};g.setComment=function(a){return t(this,om,3,a)};var PDc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(PDc,n);g=PDc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getCommentNumber=function(){return Pd(this,2)};g.setCommentNumber=function(a){return se(this,2,a)};g.getRestrictedRetention=function(){return Zd(this,3)};g.setRestrictedRetention=function(a){return Xd(this,3,a)};var yI=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,yI.messageId)};Y(yI,n);yI.prototype.getIt=function(){return r(this,Hl,2,Kc)};yI.prototype.setIt=function(a){return t(this,Hl,2,a,Kc)};yI.messageId="b.CommentReaction";var QDc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(QDc,n);QDc.prototype.getIt=function(){return r(this,MDc,5)};QDc.prototype.setIt=function(a){return t(this,MDc,5,a)};var zI=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,zI.messageId)};Y(zI,n);zI.prototype.getIt=function(){return r(this,om,19,Kc)};zI.prototype.setIt=function(a){return t(this,om,19,a,Kc)};zI.messageId="b.IssueComment";var RDc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(RDc,n);RDc.prototype.getIssueCommentsList=function(){return ie(this,om,1,Rd())};var AI=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,AI.messageId)};Y(AI,n);AI.prototype.getIt=function(){return r(this,RDc,2,Kc)};AI.prototype.setIt=function(a){return t(this,RDc,2,a,Kc)};AI.messageId="b.ListIssueCommentHistoryResponse";var SDc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(SDc,n);SDc.prototype.getIt=function(){return r(this,ODc,5)};SDc.prototype.setIt=function(a){return t(this,ODc,5,a)};var TDc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(TDc,n);TDc.prototype.getIt=function(){return r(this,PDc,4)};TDc.prototype.setIt=function(a){return t(this,PDc,4,a)};var BI=function(){this.executor=x(ey)};g=BI.prototype;g.get=function(a,b,c){var d={};c&&(d["X-Restricted-Content-Limit"]=String(wya(c)));return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:d},responseConstructor:zI}).pipe(C(mEa))};
g.create=function(a,b,c,d,e){var f={};e&&(f["G-Recaptcha-Response-Token"]=e);b=(new MDc).setIssueId(a).setComment((new om).setComment(b).setFormattingMode(Pl(c)));d&&b.setContentJudgement(Hta(d));d=(new QDc).setIt(b);return this.executor.post({url:"action/issues/"+a+"/comment",body:d,responseConstructor:null,options:{headers:f}})};
g.update=function(a,b,c,d,e){var f={};e&&(f["G-Recaptcha-Response-Token"]=e);b=(new SDc).setIt((new ODc).setIssueId(a).setCommentNumber(b).setComment((new om).setComment(c).setFormattingMode(Pl(d))));return this.executor.post({url:"action/issues/"+a+"/updateComment",body:b,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={};c!==void 0&&(d.comment_version=String(c));return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/undelete",body:null,options:{params:d},responseConstructor:zI}).pipe(C(mEa))};g.listHistory=function(a,b){var c=(new NDc).setIssueId(a).setCommentNumber(b);return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/listIssueCommentHistory",body:c,responseConstructor:AI}).pipe(C(nEa))};
g.updateCommentReaction=function(a){var b=a.issueId;var c=a.commentId;var d=a.reactionType;var e=a.hasReacted;var f;a=new yI;var h=a.setIt,k=new Hl;d=(new Ql).setType((f=mic[d])!=null?f:0);f=Dl(d,1,e);f=h.call(a,rm(k,2,Ql,f));return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/updateReaction",body:f,responseConstructor:yI}).pipe(C(oEa))};
g.updateRetention=function(a,b,c){c=(new TDc).setIt((new PDc).setIssueId(a).setCommentNumber(b).setRestrictedRetention(Uta(c)));return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/update_retention",body:c,responseConstructor:zI}).pipe(C(mEa))};BI.\u0275fac=function(a){return new (a||BI)};BI.\u0275prov=Dg({token:BI,factory:BI.\u0275fac,providedIn:"root"});var CI=function(){this.observableApi=x(BI)};g=CI.prototype;g.get=function(a,b,c){return pi(this.observableApi.get(a,b,c))};
g.create=function(a,b,c,d,e){return pi(this.observableApi.create(a,b,c,d,e))};g.update=function(a,b,c,d,e){return pi(this.observableApi.update(a,b,c,d,e))};g.delete=function(a,b,c,d){return pi(this.observableApi.delete(a,b,c,d))};g.undelete=function(a,b,c){return pi(this.observableApi.undelete(a,b,c))};g.listHistory=function(a,b){return pi(this.observableApi.listHistory(a,b))};g.updateCommentReaction=function(a){return pi(this.observableApi.updateCommentReaction(a))};
g.updateRetention=function(a,b,c){return pi(this.observableApi.updateRetention(a,b,c))};CI.\u0275fac=function(a){return new (a||CI)};CI.\u0275prov=Dg({token:CI,factory:CI.\u0275fac,providedIn:"root"});var DI=function(){this.dialogRef=x(YH);this.data=x(dI);this.documentationLinks=x(XH);this.userEmails=this.data.userEmails;this.readMoreLink=this.documentationLinks.baseDocumentationUrl+"/concepts/access-control#explicit_access_warnings"};DI.prototype.close=function(a){this.dialogRef.close(a)};DI.\u0275fac=function(a){return new (a||DI)};
DI.\u0275cmp=F({type:DI,selectors:[["confirm-no-access-dialog"]],standalone:!1,decls:19,vars:1,consts:[[1,"dialog-container"],["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"help-label"],["target","_blank",3,"href"],["type","button","mat-button","","color","primary",3,"click"],["type","button","mat-button","","color","primary","cdkFocusInitial","",3,"click"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"h1",1),U(2,"User may not have access"),M(),L(3,"section",2)(4,
"p"),U(5," The following user(s) may not be able to edit, interact with, or get notifications about this issue: "),M(),L(6,"ul"),Mj(7,QLa,2,1,"li",null,Lj),M(),L(9,"section"),U(10,"Continue anyway?"),M()(),L(11,"footer",3)(12,"div",4)(13,"a",5),U(14,"Learn more"),M()(),L(15,"button",6),Q("click",function(){return b.close(!0)}),U(16,"Continue"),M(),L(17,"button",7),Q("click",function(){return b.close(!1)}),U(18,"Cancel"),M()()());a&2&&(E(7),Nj(b.userEmails),E(6),K("href",b.readMoreLink,Ni))},dependencies:[dA,
aA,hI,jI,iI],styles:["ul[_ngcontent-%COMP%]{list-style:disc;margin-bottom:10px}"]});var EI=function(){this.matDialogService=x(eI);this.analytics=x(nE);this.butterBar=x(MA);this.logger=x(NA);this.accessPolicy=x(qB)},VDc=function(a,b){var c=b.componentId;var d=b.userEmails;var e=b.relation;var f=b.analyticsEventLabel;var h,k,q;return v(function(u){switch(u.nextAddress){case 1:if(d.every(function(A){return A.length===0}))return u.return(!0);ei(u,2);return w(u,UDc(a,c,d,e),4);case 4:h=u.yieldResult;if(h.length===0)return u.return(!0);a.analytics.trackEvent("addUserWithoutAccess","warn",
f);return w(u,a.confirm(h,e),5);case 5:k=u.yieldResult;if(!k)return hq(a.butterBar,"Save cancelled.",4E3),a.analytics.trackEvent("addUserWithoutAccess","cancel",f),u.return(!1);a.analytics.trackEvent("addUserWithoutAccess","proceed",f);return u.return(!0);case 2:return q=ii(u),a.logger.error(q),u.return(!1)}})},UDc=function(a,b,c,d){var e;return v(function(f){if(f.nextAddress==1)return w(f,a.accessPolicy.checkPermission(c,d,"ISSUE_DEFAULTS",b),2);e=f.yieldResult;return f.return([].concat(p(e.noAccessEmails||
[]),p(e.unknownEmails||[])))})};EI.prototype.confirm=function(a,b){var c=this,d,e,f;return v(function(h){if(h.nextAddress==1)return d={userEmails:a,relation:b},e=c.matDialogService.open(DI,{width:"400px",data:d}),w(h,pi(ZH(e)),2);f=h.yieldResult;return h.return(!!f)})};EI.\u0275fac=function(a){return new (a||EI)};EI.\u0275prov=Dg({token:EI,factory:EI.\u0275fac,providedIn:"root"});var FI=function(){};FI.\u0275fac=function(a){return new (a||FI)};FI.\u0275mod=Zi({type:FI});FI.\u0275inj=Eg({providers:[{provide:Bpc,useValue:{color:"primary"}}],imports:[cA]});var WDc=new kh("GM2_DIALOG_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var GI=function(){eI.apply(this,arguments);this.gmatDialogOptions=x(WDc);this.defaultOptions=x(gDc,{optional:!0});this.additionalClasses=["gmat-mdc-dialog"]};Y(GI,eI);GI.prototype.open=function(a,b){b=Object.assign({},this.defaultOptions||new fDc,b);if(this.gmatDialogOptions.disableGmatStyle)throw Error("Mb");b.panelClass=tm(b.panelClass||[]).concat(this.additionalClasses);return eI.prototype.open.call(this,a,b)};GI.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(GI)))(b||GI)}}();
GI.\u0275prov=Dg({token:GI,factory:GI.\u0275fac,providedIn:"root"});var HI=function(){};HI.\u0275fac=function(a){return new (a||HI)};HI.\u0275mod=Zi({type:HI});HI.\u0275inj=Eg({providers:[{provide:eI,useClass:GI}],imports:[kI]});var XDc=function(a,b){this.size=a;this.name=b;this.transferredBytes=0;this.errorMessage="";this.blobRef=null;this.state=1};XDc.prototype.cancel=function(){this.state=4};var YDc={UPLOADING:1,COMPLETE:2,ERROR:3,CANCELLED:4,1:"UPLOADING",2:"COMPLETE",3:"ERROR",4:"CANCELLED"};var II=function(a,b){this.initialComment=a=a===void 0?"":a;this.fromTemplate=b===void 0?!1:b;this.uploads=[];this.formattingMode="PLAIN";this.value=a};II.prototype.reset=function(){this.value="";ZDc(this)};var ZDc=function(a){for(var b=l(a.uploads),c=b.next();!c.done;c=b.next())c.value.cancel();a.uploads=[]},$Dc=function(a){return a.fromTemplate&&a.initialComment===a.value};
II.prototype.getAttachments=function(){for(var a=[],b=l(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,c.state===2&&c.blobRef&&a.push(wd(c.blobRef));return a};II.prototype.hasContent=function(){return!(!this.value&&!this.uploads.length)};var aEc=function(a){return!a.isEmpty()&&!PMb(a)};II.prototype.isEmpty=function(){return!this.value&&!bEc(this)};
var PMb=function(a){return a.uploads.some(function(b){return b.state===1||b.state===3})},bEc=function(a){return a.uploads.some(function(b){return b.state===2})};var cEc={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"}}},dEc=cEc;dEc=cEc;var eEc={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 fEc={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"},JI=fEc;JI=fEc;var KI=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_=JI.MINUS_SIGN;this.negativeSuffix_="";this.multiplier_=1;this.negativePercentSignExpected_=!1;this.groupingArray_=[];this.useExponentialNotation_=this.decimalSeparatorAlwaysShown_=!1;this.compactStyle_=0;this.pattern_=
typeof a==="string"?a:"";typeof a==="number"?this.applyStandardPattern_(a):this.applyPattern_(a)};
KI.prototype.applyPattern_=function(a){this.pattern_=a.replace(/ /g,"\u00a0");var b=[0];this.positivePrefix_=gEc(this,a,b);for(var c=b[0],d=-1,e=0,f=0,h=0,k=-1,q=a.length,u=!0;b[0]<q&&u;b[0]++)switch(a.charAt(b[0])){case "#":f>0?h++:e++;k>=0&&d<0&&k++;break;case "0":if(h>0)throw Error("vd`"+a);f++;k>=0&&d<0&&k++;break;case ",":k>0&&this.groupingArray_.push(k);k=0;break;case ".":if(d>=0)throw Error("wd`"+a);d=e+f+h;break;case "E":if(this.useExponentialNotation_)throw Error("xd`"+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&&a.charAt(b[0]+1)=="0";)b[0]++,this.minExponentDigits_++;if(e+f<1||this.minExponentDigits_<1)throw Error("yd`"+a);u=!1;break;default:b[0]--,u=!1}f==0&&e>0&&d>=0&&(f=d,f==0&&f++,h=e-f,e=f-1,f=1);if(d<0&&h>0||d>=0&&(d<e||d>e+f)||k==0)throw Error("zd`"+a);h=e+f+h;this.maximumFractionDigits_=d>=0?h-d:0;d>=0&&(this.minimumFractionDigits_=e+f-d,this.minimumFractionDigits_<0&&(this.minimumFractionDigits_=
0));this.minimumIntegerDigits_=(d>=0?d:h)-e;this.useExponentialNotation_&&(this.maximumIntegerDigits_=e+this.minimumIntegerDigits_,this.maximumFractionDigits_==0&&this.minimumIntegerDigits_==0&&(this.minimumIntegerDigits_=1));this.groupingArray_.push(Math.max(0,k));this.decimalSeparatorAlwaysShown_=d==0||d==h;c=b[0]-c;this.positiveSuffix_=gEc(this,a,b);b[0]<a.length&&a.charAt(b[0])==";"?(b[0]++,this.multiplier_!=1&&(this.negativePercentSignExpected_=!0),this.negativePrefix_=gEc(this,a,b),b[0]+=c,
this.negativeSuffix_=gEc(this,a,b)):(this.negativePrefix_+=this.positivePrefix_,this.negativeSuffix_+=this.positiveSuffix_)};
KI.prototype.applyStandardPattern_=function(a){switch(a){case 1:this.applyPattern_(JI.DECIMAL_PATTERN);break;case 2:this.applyPattern_(JI.SCIENTIFIC_PATTERN);break;case 3:this.applyPattern_(JI.PERCENT_PATTERN);break;case 4:a=this.applyPattern_;var b=JI.CURRENCY_PATTERN;var c=["0"],d=eEc[JI.DEF_CURRENCY_CODE];if(d){d=d[0]&7;if(d>0){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:hEc(this,1);break;case 6:hEc(this,2);break;default:throw Error("pd");
}};var hEc=function(a,b){a.compactStyle_=b;a.applyPattern_(JI.DECIMAL_PATTERN);a.minimumFractionDigits_=0;a.maximumFractionDigits_=2;if(a.minimumFractionDigits_>0)throw Error("nd");a.significantDigits_=2};
KI.prototype.parse=function(a,b){b=b||[0];if(this.compactStyle_!==0)throw Error("qd");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(JI.INFINITY,b[0])==b[0]){b[0]+=JI.INFINITY.length;var e=Infinity}else{e=
a;var f=!1,h=!1,k=!1,q=-1,u=1,A=JI.DECIMAL_SEP,D=JI.GROUP_SEP,H=JI.EXP_SYMBOL;if(this.compactStyle_!=0)throw Error("rd");D=D.replace(/\u202f/g,"\u00a0");for(var O="";b[0]<e.length;b[0]++){var P=e.charAt(b[0]),S=iEc(P);if(S>=0&&S<=9)O+=S,k=!0;else if(P==A.charAt(0)){if(f||h)break;O+=".";f=!0}else if(P==D.charAt(0)&&("\u00a0"!=D.charAt(0)||b[0]+1<e.length&&iEc(e.charAt(b[0]+1))>=0)){if(f||h)break}else if(P==H.charAt(0)){if(h)break;O+="E";h=!0;q=b[0]}else if(P=="+"||P=="-"){if(k&&q!=b[0]-1)break;O+=
P}else if(this.multiplier_==1&&P==JI.PERCENT.charAt(0)){if(u!=1)break;u=100;if(k){b[0]++;break}}else if(this.multiplier_==1&&P==JI.PERMILL.charAt(0)){if(u!=1)break;u=1E3;if(k){b[0]++;break}}else break}this.multiplier_!=1&&(u=this.multiplier_);e=parseFloat(O)/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};
KI.prototype.format=function(a){if(this.minimumFractionDigits_>this.maximumFractionDigits_)throw Error("sd");if(isNaN(a))return JI.NAN;var b=[];var c=a;if(this.compactStyle_==0)c=jEc;else{c=Math.abs(c);var d=kEc(this,c<=1?0:lEc(c)).divisorBase;c=kEc(this,d+lEc(mEc(this,LI(c,-d)).intValue))}a=LI(a,-c.divisorBase);(d=a<0||a==0&&1/a<0)?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(e==0)nEc(this,e,this.minimumIntegerDigits_,b),oEc(this,0,b);else{var f=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=LI(e,-f);var h=this.minimumIntegerDigits_;this.maximumIntegerDigits_>1&&this.maximumIntegerDigits_>this.minimumIntegerDigits_?(h=f%this.maximumIntegerDigits_,h<0&&(h=this.maximumIntegerDigits_+h),e=LI(e,h),f-=h,h=1):this.minimumIntegerDigits_<1?(f++,e=LI(e,-1)):(f-=this.minimumIntegerDigits_-1,e=LI(e,this.minimumIntegerDigits_-
1));nEc(this,e,h,b);oEc(this,f,b)}}else nEc(this,a,this.minimumIntegerDigits_,b);else b.push(JI.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 mEc=function(a,b){var c=LI(b,a.maximumFractionDigits_);a.significantDigits_>0&&(c=pEc(c,a.significantDigits_,a.maximumFractionDigits_));c=Math.round(c);if(isFinite(c)){var d=Math.floor(LI(c,-a.maximumFractionDigits_));c=Math.floor(c-LI(d,a.maximumFractionDigits_));if(c<0||c>=LI(1,a.maximumFractionDigits_))d=Math.round(b),c=0}else d=b,c=0;return{intValue:d,fracValue:c}},nEc=function(a,b,c,d){if(a.minimumFractionDigits_>a.maximumFractionDigits_)throw Error("sd");d||(d=[]);b=mEc(a,b);var e=b.intValue,
f=b.fracValue,h=a.minimumFractionDigits_>0||f>0||!1;b=a.minimumFractionDigits_;h&&(b=a.minimumFractionDigits_);for(var k="",q=e;q>1E20;)k="0"+k,q=Math.round(LI(q,-1));k=q+k;var u=JI.DECIMAL_SEP;q=JI.ZERO_DIGIT.codePointAt(0);var A=k.length,D=0;if(e>0||c>0){for(e=A;e<c;e++)d.push(String.fromCodePoint(q));if(a.groupingArray_.length>=2)for(c=1;c<a.groupingArray_.length;c++)D+=a.groupingArray_[c];c=A-D;if(c>0){e=a.groupingArray_;D=A=0;for(var H,O=JI.GROUP_SEP,P=k.length,S=0;S<P;S++)if(d.push(String.fromCodePoint(q+
Number(k.charAt(S)))),P-S>1)if(H=e[D],S<c){var aa=c-S;(H===1||H>0&&aa%H===1)&&d.push(O)}else D<e.length&&(S===c?D+=1:H===S-c-A+1&&(d.push(O),A+=H,D+=1))}else{c=k;k=a.groupingArray_;e=JI.GROUP_SEP;H=c.length;O=[];for(A=k.length-1;A>=0&&H>0;A--){D=k[A];for(P=0;P<D&&H-P-1>=0;P++)O.push(String.fromCodePoint(q+Number(c.charAt(H-P-1))));H-=D;H>0&&O.push(e)}d.push.apply(d,O.reverse())}}else h||d.push(String.fromCodePoint(q));(a.decimalSeparatorAlwaysShown_||h)&&d.push(u);f=String(f);h=f.split("e+");h.length==
2&&(f=String(pEc(parseFloat(h[0]),a.significantDigits_,1)),f=f.replace(".",""),f+=igc("0",parseInt(h[1],10)-f.length+1));a.maximumFractionDigits_+1>f.length&&(f="1"+igc("0",a.maximumFractionDigits_-f.length)+f);for(a=f.length;f.charAt(a-1)=="0"&&a>b+1;)a--;for(b=1;b<a;b++)d.push(String.fromCodePoint(q+Number(f.charAt(b))))},oEc=function(a,b,c){c.push(JI.EXP_SYMBOL);b<0?(b=-b,c.push(JI.MINUS_SIGN)):a.useSignForPositiveExponent_&&c.push(JI.PLUS_SIGN);b=""+b;for(var d=JI.ZERO_DIGIT,e=b.length;e<a.minExponentDigits_;e++)c.push(d);
a=d.codePointAt(0)-qEc;for(d=0;d<b.length;d++)c.push(String.fromCodePoint(a+b.codePointAt(d)))},iEc=function(a){a=a.codePointAt(0);if(48<=a&&a<58)return a-48;var b=JI.ZERO_DIGIT.codePointAt(0);return b<=a&&a<b+10?a-b:-1},qEc="0".codePointAt(0),gEc=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&&b.charAt(c[0]+
1)=="\u00a4"?(c[0]++,d+=JI.DEF_CURRENCY_CODE):(h=JI.DEF_CURRENCY_CODE,d+=h in eEc?eEc[h][1]:h);break;case "%":if(!a.negativePercentSignExpected_&&a.multiplier_!=1)throw Error("td");if(a.negativePercentSignExpected_&&a.multiplier_!=100)throw Error("ud");a.multiplier_=100;a.negativePercentSignExpected_=!1;d+=JI.PERCENT;break;case "\u2030":if(!a.negativePercentSignExpected_&&a.multiplier_!=1)throw Error("td");if(a.negativePercentSignExpected_&&a.multiplier_!=1E3)throw Error("ud");a.multiplier_=1E3;a.negativePercentSignExpected_=
!1;d+=JI.PERMILL;break;default:d+=h}}return d},jEc={divisorBase:0,negative_prefix:"",negative_suffix:"",prefix:"",suffix:""},kEc=function(a,b){a=a.compactStyle_==1?dEc.COMPACT_DECIMAL_SHORT_PATTERN:dEc.COMPACT_DECIMAL_LONG_PATTERN;a==null&&(a=dEc.COMPACT_DECIMAL_SHORT_PATTERN);if(b<3)return jEc;b=Math.min(14,b);var c=a[LI(1,b)];for(--b;!c&&b>=3;)c=a[LI(1,b)],b--;if(!c)return jEc;c=c.other;var d=a="",e=c.indexOf(";");e>=0&&(c=c.substring(0,e),e=c.substring(e+1))&&(d=/([^0]*)(0+)(.*)/.exec(e),a=d[1],
d=d[3]);return c&&c!="0"?(c=/([^0]*)(0+)(.*)/.exec(c))?{divisorBase:b+1-(c[2].length-1),negative_prefix:a,negative_suffix:d,prefix:c[1],suffix:c[3]}:jEc:jEc},lEc=function(a){if(!isFinite(a))return a>0?a:0;for(var b=0;(a/=10)>=1;)b++;return b},LI=function(a,b){if(!a||!isFinite(a)||b==0)return a;a=String(a).split("e");return parseFloat(a[0]+"e"+(parseInt(a[1]||0,10)+b))},rEc=function(a,b){return a&&isFinite(a)?LI(Math.round(LI(a,b)),-b):a},pEc=function(a,b,c){if(!a)return a;b=b-lEc(a)-1;return b<-c?
rEc(a,-c):rEc(a,b)};var sEc=function(a){return a%10==1&&a%100!=11?"one":a%10==2&&a%100!=12?"two":a%10==3&&a%100!=13?"few":"other"},tEc=sEc;tEc=sEc;var uEc=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,f===-1?0:e.length-f-1,3)}d=Math.pow(10,b);a={v:b,f:(a*d|0)%d};return c==1&&a.v==0?"one":"other"},vEc=uEc;vEc=uEc;var ULa=function(a){this.pattern_=a;this.parsedPattern_=this.literals_=this.initialLiterals_=null;a=JI;var b=dEc;if(wEc!==a||xEc!==b)wEc=a,xEc=b,yEc=new KI(1);this.numberFormatter_=yEc},wEc=null,xEc=null,yEc=null,zEc=RegExp("'([{}#].*?)'","g"),AEc=RegExp("''","g");ULa.prototype.format=function(a){return this.format_(a,!1)};
ULa.prototype.format_=function(a,b){if(this.pattern_){this.initialLiterals_=[];var c=BEc(this,this.pattern_);this.parsedPattern_=CEc(this,c);this.pattern_=null}if(!this.parsedPattern_||this.parsedPattern_.length==0)return"";this.literals_=Ja(this.initialLiterals_);c=[];DEc(this,this.parsedPattern_,a,b,c);for(a=c.join("");this.literals_.length>0;)a=a.replace(this.buildPlaceholder_(this.literals_),String(this.literals_.pop()).replace("$","$$$$"));return a};
var DEc=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;var k=a,q=e,u=c[h];u===void 0?q.push("Undefined parameter - "+h):(k.literals_.push(u),q.push(k.buildPlaceholder_(k.literals_)));break;case 2:h=b[f].value;k=a;q=c;u=d;var A=e,D=h.argumentIndex;q[D]===void 0?A.push("Undefined parameter - "+D):(D=h[q[D]],D===void 0&&(D=h.other),DEc(k,D,q,u,A));break;case 0:h=b[f].value;EEc(a,h,c,vEc,d,e);break;case 1:h=b[f].value,EEc(a,h,c,
tEc,d,e)}},EEc=function(a,b,c,d,e,f){var h=b.argumentIndex,k=b.argumentOffset,q=+c[h];isNaN(q)?f.push("Undefined or invalid parameter - "+h):(k=q-k,h=b[c[h]],h===void 0&&(d=d(Math.abs(k)),h=b[d],h===void 0&&(h=b.other)),b=[],DEc(a,h,c,e,b),c=b.join(""),e?f.push(c):(a=a.numberFormatter_.format(k),f.push(c.replace(/#/g,a))))},BEc=function(a,b){var c=a.initialLiterals_,d=a.buildPlaceholder_.bind(a);b=b.replace(AEc,function(){c.push("'");return d(c)});return b=b.replace(zEc,function(e,f){c.push(f);return d(c)})},
FEc=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(),c.length==0&&(f={type:1},f.value=a.substring(b,h),d.push(f),b=h+1)):(c.length==0&&(b=a.substring(b,h),b!=""&&d.push({type:0,value:b}),b=h+1),c.push("{"))}a=a.substring(b);a!=""&&d.push({type:0,value:a});return d},GEc=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,HEc=/^\s*(\w+)\s*,\s*selectordinal\s*,/,IEc=/^\s*(\w+)\s*,\s*select\s*,/,CEc=function(a,b){var c=[];b=FEc(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(GEc.test(f)?0:HEc.test(f)?1:IEc.test(f)?2:/^\s*\w+\s*/.test(f)?3:5){case 2:e.type=2;e.value=JEc(a,b[d].value);break;case 0:e.type=0;e.value=KEc(a,b[d].value);break;case 1:e.type=1;e.value=LEc(a,b[d].value);break;case 3:e.type=3,e.value=b[d].value}}c.push(e)}return c},JEc=function(a,b){var c="";b=b.replace(IEc,function(k,q){c=q;return""});var d={};d.argumentIndex=c;b=FEc(b);for(var e=0;e<
b.length;){var f=b[e].value;e++;var h=void 0;1==b[e].type&&(h=CEc(a,b[e].value));d[f.replace(/\s/g,"")]=h;e++}return d},KEc=function(a,b){var c="",d=0;b=b.replace(GEc,function(q,u,A){c=u;A&&(d=parseInt(A,10));return""});var e={};e.argumentIndex=c;e.argumentOffset=d;b=FEc(b);for(var f=0;f<b.length;){var h=b[f].value;f++;var k=void 0;1==b[f].type&&(k=CEc(a,b[f].value));e[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=k;f++}return e},LEc=function(a,b){var c="";b=b.replace(HEc,function(k,q){c=q;return""});var d=
{};d.argumentIndex=c;d.argumentOffset=0;b=FEc(b);for(var e=0;e<b.length;){var f=b[e].value;e++;var h=void 0;1==b[e].type&&(h=CEc(a,b[e].value));d[f.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;e++}return d};ULa.prototype.buildPlaceholder_=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};var MI=function(){var a=this;this.userPreferencesManager=x(NF);this.timeZonesApi=x(nI);this.cachedFormatters=new Stc(100);this.userDatePrefs$=this.userPreferencesManager.dateTimePreferences$;this.userCalendarFormat$=this.userDatePrefs$.pipe(C(function(b){return b.calendarFormat||"MMM d, yyyy"}));this.userTimeFormat$=this.userDatePrefs$.pipe(C(function(b){return b.timeFormat||"hh:mma"}));this.userTimeZone$=this.userDatePrefs$.pipe(sj(function(b){return b.timeZone?a.timeZonesApi.get(b.timeZone):li(void 0)}))};
MI.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d===void 0&&(d=new So(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};MI.prototype.formatUserCalendar=function(a){var b=this;return si([this.userCalendarFormat$,this.userTimeZone$]).pipe(C(function(c){var d=l(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
MI.prototype.formatUserTime=function(a){var b=this;return si([this.userTimeFormat$,this.userTimeZone$]).pipe(C(function(c){var d=l(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
var MEc=function(a,b){return si([a.userCalendarFormat$,a.userTimeFormat$,a.userTimeZone$]).pipe(C(function(c){var d=l(c);c=d.next().value;var e=d.next().value;d=d.next().value;return a.format(c+" "+e,d,b)}))},NEc=function(a,b,c){return c?a.timeZonesApi.get(c).pipe(C(function(d){return a.format("yyyy-MM-dd HH:mm:ss Z",d,b)})):li(a.format("yyyy-MM-dd HH:mm:ss Z",void 0,b))},M6a=function(a,b){var c=void 0;c=c===void 0?0:c;b=b===void 0?!1:b;var d=new Ad;c&&d.setTime(c);c=new Ad;c.setTime(a);if(c.getTime()<
d.getTime())return"Expired";a=(c.getFullYear()-d.getFullYear())*12+(c.getMonth()-d.getMonth());var e=c.getDate()-d.getDate();e<0&&(a--,d=d.clone(),d.add(new Aw("m",a)),e=Math.floor((c.getTime()-d.getTime())/864E5));d=new Aw(Math.floor(a/12),a%12,e);if(d.years>=1)return c=d.years>1?"s":"",d.months===0&&d.days===0?b?d.years+" year"+c:d.years+"Y":b?d.years+" year"+c+" +":d.years+"Y+";if(d.months>=1)return c=d.months>1?"s":"",d.days===0?b?d.months+" month"+c:d.months+"M":b?d.months+" month"+c+" +":d.months+
"M+";c=d.days>1?"s":"";return b?d.days+" day"+c:d.days+"D"};MI.\u0275fac=function(a){return new (a||MI)};MI.\u0275prov=Dg({token:MI,factory:MI.\u0275fac,providedIn:"root"});var NI=new kh("routeParams",{factory:function(){return x(wF).params}});var OI=function(){this.routeParams=x(NI);this.issueComments=x(CI);this.draftStore=x(WH);this.errorHandler=x(PA);this.activeSession=x(Ks);this.dateFormatter=x(MI)};
OI.prototype.get=function(a){var b=this;if(this.routeParams.comment)return li(this.routeParams.comment);var c=this.routeParams.template_issue;if(c){var d=Number(this.routeParams.template_comment)||1;return wi(function(){return OEc(b,c,d,b.routeParams.do_attribution)})}return a?li(this.draftStore.$window.sessionStorage.getItem(Kp(a))||""):li("")};
var OEc=function(a,b,c,d){var e,f,h,k,q,u,A;return v(function(D){switch(D.nextAddress){case 1:return ei(D,2),w(D,a.issueComments.get(b,c),4);case 4:return e=D.yieldResult,f=e.unlinkifiedComment,h=e.formattedComment,k="",f?k=f:h&&(k=Qf(h)),w(D,pi(a.dateFormatter.formatUserCalendar(new Date(Number(e.lastModified)/1E3))),5);case 5:return q=D.yieldResult,d?(u="> From issue "+b+" on "+q+":",D.return(u+"\n\n"+k)):D.return(k);case 2:return A=ii(D),RA(a.errorHandler,A),D.return("")}})};
OI.\u0275fac=function(a){return new (a||OI)};OI.\u0275prov=Dg({token:OI,factory:OI.\u0275fac,providedIn:"root"});var PEc=function(a,b,c,d,e){var f=this;this.issueId=a;this.defaultCommentSource=b;this.issueFullFridge=c;this.activeSession=d;this.userPreferencesManager=e;this.comment=function(){return up(f.comment$)};this.judgementForNewContent=function(){return up(f.judgementForNewContent$)};this.issue$=this.issueFullFridge.watch(this.issueId);this.componentId$=this.issue$.pipe(C(function(h){return h==null?void 0:h.snapshot[0].componentId}),jj());this.comment$=this.defaultCommentSource.get(this.issueId).pipe(rj(""),
jj(),vj(this.userPreferencesManager.currentCommentFormattingMode$),C(function(h){var k=l(h);h=k.next().value;k=k.next().value;h=new II(h);h.formattingMode=k;return h}),pj({bufferSize:1,refCount:!0}));this.createRestrictedResourcesComponentIds=this.activeSession.getCreateRestrictedSubresourcesComponentIds();this.componentJudgementForNewContent$=this.componentId$.pipe(C(function(h){if(h&&f.createRestrictedResourcesComponentIds.includes(h))return{severity:"RESTRICTED",judgementReason:"None Specified"}}),
pj({bufferSize:1,refCount:!0}));this.userDefinedJudgementForNewContent$=new $n(void 0);this.judgementForNewContent$=si([this.componentJudgementForNewContent$.pipe(rj(void 0)),this.userDefinedJudgementForNewContent$]).pipe(C(function(h){var k=l(h);h=k.next().value;k=k.next().value;return k!=null?k:h}),pj({bufferSize:1,refCount:!0}))};PEc.prototype.setJudgementForNewContent=function(a){this.userDefinedJudgementForNewContent$.next(a)};
var QEc=function(a){var b=a.comment(),c,d=((c=a.judgementForNewContent())==null?void 0:c.severity)==="NONE_DETECTED"?void 0:a.judgementForNewContent();a=b.value;c=b.formattingMode;var e=[];b=l(b.uploads);for(var f=b.next();!f.done;f=b.next())f=f.value,f.state===2&&f.blobRef&&(f=wd({attachment:f.blobRef}),d&&(f.contentJudgement={severity:d.severity,judgementReason:d.judgementReason}),e.push(f));return{judgementForNewContent:d,commentText:a,formattingMode:c,attachmentsWithJudgements:e}},REc=function(a){var b=
QEc(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},PI=function(){this.defaultCommentSource=x(OI);this.issueFullFridge=x(pE);this.activeSession=x(Ks);this.userPreferencesManager=x(NF)};PI.prototype.create=function(a){return new PEc(a,this.defaultCommentSource,this.issueFullFridge,this.activeSession,this.userPreferencesManager)};
PI.\u0275fac=function(a){return new (a||PI)};PI.\u0275prov=Dg({token:PI,factory:PI.\u0275fac,providedIn:"root"});var VLa=[{customFieldId:1049928,name:"Start Date"},{customFieldId:1049953,name:"End Date"},{customFieldId:1049954,name:"Risk"},{customFieldId:1255458,name:"Commitment Level"},{customFieldId:1350993,name:"Requirements doc"},{customFieldId:1350984,name:"Design doc"},{customFieldId:1351039,name:"Mocks url"}],WLa=[{customFieldId:192850,name:"Start Date"},{customFieldId:192876,name:"End Date"},{customFieldId:194618,name:"Risk"},{customFieldId:207778,name:"Commitment Level"},{customFieldId:218363,name:"Requirements doc"},
{customFieldId:218337,name:"Design doc"},{customFieldId:218261,name:"Mocks url"}];var QI=function(){};QI.prototype.isSloStartTimeApplied=function(a){return!!a&&a.seconds>Date.now()/1E3};
var RI=function(a){return!!a&&!!a.targetTime&&a.targetTime.seconds!==0},SEc=function(a){return RI(a.assignmentBounds)||RI(a.responseBounds)||RI(a.closureBounds)},TEc=function(a,b){switch(b){case "ASSIGNMENT":return RI(a.assignmentBounds);case "RESPONSE":return RI(a.responseBounds);case "CLOSURE":return RI(a.closureBounds);default:return SEc(a)}},UEc=function(a){if(!a)return null;var b=[],c=[];a.assignmentBounds&&YLa(b,c,a.assignmentBounds,"ASSIGNMENT");a.responseBounds&&YLa(b,c,a.responseBounds,"RESPONSE");
a.closureBounds&&YLa(b,c,a.closureBounds,"CLOSURE");return b.length>0?(b.sort(ZLa),b[0]):c.length>0?(c.sort(ZLa),{sloBounds:c[0].sloBounds,sloMetric:""}):null};QI.\u0275fac=function(a){return new (a||QI)};QI.\u0275prov=Dg({token:QI,factory:QI.\u0275fac,providedIn:"root"});var VEc=function(a,b,c,d,e){var f=this;this.issueId=a;this.issueFullFridge=b;this.constants=c;this.activeSession=d;this.sloStatusHelpersService=e;this.enableNonWtdmFieldPerTypeVisibility=Cx(this.activeSession,"enableNonWtdmFieldPerTypeVisibility")||!1;var h=Cx(this.activeSession,"enableFieldConfigV2Fe"),k=XLa({isInternal:this.activeSession.isInternalSession(),isProd:Oq(this.activeSession)});this.showSloStatus=this.activeSession.isInternalSession();this.showChangelists=!this.activeSession.isExternalSession();
this.issue$=this.issueFullFridge.watch(this.issueId);this.issueSnapshot$=this.issue$.pipe(C(function(q){return q==null?void 0:q.snapshot[0]}));this.hasSloDefined$=this.issue$.pipe(C(function(q){var u;return q==null?void 0:(u=q.aggregatedData)==null?void 0:u.sloStatus}),C(function(q){return!!q&&SEc(q)}));this.isWtdmType$=this.issueSnapshot$.pipe(C(function(q){return(q==null?void 0:q.type)!=null&&f.constants.isWTDMType(q.type)}));this.isForgottenFourPrimary$=this.isWtdmType$.pipe(C(function(q){return!q&&
!f.enableNonWtdmFieldPerTypeVisibility}));this.isSloStatusPrimary$=si([this.hasSloDefined$,this.isWtdmType$]).pipe(C(function(q){var u=l(q);q=u.next().value;u=u.next().value;return q||!u}));this.isSeverityPrimary$=this.isWtdmType$.pipe(C(function(q){return!q}));this.isChangelistPrimary$=si([this.isWtdmType$,this.issueSnapshot$]).pipe(C(function(q){var u=l(q);q=u.next().value;u=u.next().value;var A;return!q||!!(u==null?0:(A=u.changelist)==null?0:A.length)||(u==null?void 0:u.type)==="STORY"||(u==null?
void 0:u.type)==="TASK"}));this.customFields$=this.issue$.pipe(C(function(q){var u;return(u=q==null?void 0:q.customFields)!=null?u:[]}));this.visibleFields$=this.issue$.pipe(C(function(q){var u;return(u=q==null?void 0:q.visibleFields)!=null?u:[]}));this.visibleFieldIds$=this.visibleFields$.pipe(C(function(q){return q.map(function(u){return u.customFieldId}).filter(fe)}),C(function(q){return new Set(q)}),pj({refCount:!0,bufferSize:1}));this.visibleGlobalCustomFields$=si([this.customFields$,this.visibleFieldIds$]).pipe(C(function(q){var u=
l(q);q=u.next().value;var A=u.next().value;return new Map(q.filter(function(D){return D.shared&&(!h||A.has(D.customFieldId))}).map(function(D){return[D.customFieldId,D]}))}),C(function(q){return k.map(function(u){return q.get(u.customFieldId)}).filter(fe)}),pj({refCount:!0,bufferSize:1}));this.visibleCustomFields$=si([this.visibleFieldIds$,this.customFields$]).pipe(C(function(q){q=l(q);var u=q.next().value;return q.next().value.filter(function(A){return!A.shared&&u.has(A.customFieldId)})}),pj({refCount:!0,
bufferSize:1}));this.hiddenCustomFields$=si([this.visibleFieldIds$,this.customFields$]).pipe(C(function(q){q=l(q);var u=q.next().value;return q.next().value.filter(function(A){return!u.has(A.customFieldId)})}),pj({refCount:!0,bufferSize:1}));this.hiddenFieldCount$=si([this.isForgottenFourPrimary$,this.isSeverityPrimary$,this.isSloStatusPrimary$,this.isChangelistPrimary$,this.hiddenCustomFields$]).pipe(C(function(q){var u=l(q);q=u.next().value;var A=u.next().value;var D=u.next().value;var H=u.next().value;
u=u.next().value;return(q?0:4)+(A?0:1)+(!f.showSloStatus||D?0:1)+(!f.showChangelists||H?0:2)+u.length}),pj({refCount:!0,bufferSize:1}));this.hasHiddenFields$=this.hiddenFieldCount$.pipe(C(function(q){return q>0}));this.showHiddenFieldsLabel$=this.hiddenFieldCount$.pipe(C(function(q){return q===1?"Show 1 additional field":"Show "+q+" additional fields"}))},SI=function(){this.issueFullFridge=x(pE);this.constants=x(oI);this.activeSession=x(Ks);this.sloStatusHelpersService=x(QI)};
SI.prototype.create=function(a){return new VEc(a,this.issueFullFridge,this.constants,this.activeSession,this.sloStatusHelpersService)};SI.\u0275fac=function(a){return new (a||SI)};SI.\u0275prov=Dg({token:SI,factory:SI.\u0275fac,providedIn:"root"});var TI=function(){Z.apply(this,arguments);this.analytics=x(nE);this.clearcut=x(cE);this.userActivity=x(kE);this.stopActivityTracking$=new oj;this.issueToTrackingState=new Map;this.getState=Wf(this.issueToTrackingState,$La);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");this.onUserActiveStatusUpdate.bind(this)};Y(TI,Z);
TI.\u0275dir=Z.\u0275dir;var WEc=function(a,b){a.getState(b);a.userActivity.active$.pipe(jj(),tj(a.stopActivityTracking$)).subscribe(function(c){return void a.onUserActiveStatusUpdate(b,c)})},jq=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),XEc(a,c,"idp-time-to-action",b.variations),d.firstActionSeen=!0)};
TI.prototype.onUserActiveStatusUpdate=function(a,b){var c=this.getState(a),d=Date.now()-c.sessionStartTime;if(b)c.sessionStartTime=Date.now();else if(!(d<1E3)){dE(this.clearcut,d,"idp-session-time");b=this.clearcut;var e=c.sessionStartTime;d=Date.now();a=(new twc).setIssueId(a).setUserAction(1).setEnvironmentType(b.environmentType).setFrontendAccessMode(b.frontendAccessMode);var f=new swc,h=new rwc;e=Qec(h,1,e);d=Qec(e,2,d);d=t(f,rwc,1,d);a=t(a,swc,2,d);XD(b.clearcutTransport.transport,a);c.sessionStartTime=
Date.now()}};var Ds=function(a,b,c){a.getState(b).variations.add(c)},XEc=function(a,b,c,d){dE(a.clearcut,b,c);d=l(d);for(var e=d.next();!e.done;e=d.next())dE(a.clearcut,b,c+"-"+e.value)};TI.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(TI)))(b||TI)}}();TI.\u0275prov=Dg({token:TI,factory:TI.\u0275fac,providedIn:"root"});var YEc={type:"TAKE",displayText:"Assign to me",description:"Assign issue to yourself"},ZEc={type:"DEFAULT_ASSIGNEE",displayText:"Assign to default",description:"Use the component's default assignee"},$Ec={type:"START",displayText:"Start work",description:"Change issue status to '"+Nd.get("ACCEPTED")+"'"},aFc={type:"FIX",displayText:"Mark fixed",description:"Change issue status to '"+Nd.get("FIXED")+"'"},bFc={type:"VERIFY",displayText:"Verify",description:"Change issue status to '"+Nd.get("VERIFIED")+
"'"},cFc={type:"REOPEN",displayText:"Re-open",description:"Change issue status back to '"+Nd.get("ASSIGNED")+"'"};var eFc=function(a,b,c,d){var e=this;this.issueId=a;this.activeSession=b;this.issueFullFridge=c;this.componentTemplatesFridge=d;this.defaultAssigneeQuickActionEnabled=this.activeSession.isInternalSession();this.issue$=this.issueFullFridge.watch(this.issueId).pipe(pj({bufferSize:1,refCount:!0}));this.issueSnapshot$=this.issue$.pipe(C(function(f){return f==null?void 0:f.snapshot[0]}));this.currentAssignee$=this.issueSnapshot$.pipe(C(function(f){return(f==null?void 0:f.assigneeUser)&&Jd(f.assigneeUser)}),
C(ce));this.defaultAssigneeForComponent$=this.issueSnapshot$.pipe(C(function(f){return f==null?void 0:f.componentId}),jj(),sj(function(f){return f?e.componentTemplatesFridge.defaultTemplate$(String(f)):li(void 0)}),C(function(f){return f&&Jd(f.snapshot.assigneeUser)}),pj({bufferSize:1,refCount:!0}));this.issueAssigneeQuickAction$=si([this.currentAssignee$,this.defaultAssigneeForComponent$]).pipe(C(function(f){var h=l(f);f=h.next().value;h=h.next().value;return e.defaultAssigneeQuickActionEnabled&&
h&&f!==h?ZEc:void 0}));this.issueStatusQuickAction$=this.issueSnapshot$.pipe(C(function(f){return f&&dFc(e,f)}))},fFc=function(a,b,c){var d;return v(function(e){if(e.nextAddress==1){switch(c.type){case "TAKE":b.status==="NEW"&&(b.status="ASSIGNED");b.assignee=a.activeSession.getUserEmail();break;case "DEFAULT_ASSIGNEE":return e.jumpTo(2);case "START":b.status="ACCEPTED";break;case "FIX":b.status="FIXED";break;case "VERIFY":b.status="VERIFIED";break;case "REOPEN":b.status=b.assignee?"ASSIGNED":"NEW";
break;default:qb(c.type)}return e.jumpTo(0)}if(e.nextAddress!=4)return w(e,pi(a.defaultAssigneeForComponent$),4);if(d=e.yieldResult)b.status==="NEW"&&(b.status="ASSIGNED"),b.assignee=d;return e.jumpTo(0)})},dFc=function(a,b){a=a.activeSession.getUserEmail();var c=b.status;if(Jd(b.verifierUser)===a&&c==="FIXED")return bFc;if(Jd(b.assigneeUser)===a)switch(c){case "ASSIGNED":return $Ec;case "ACCEPTED":return aFc;default:return cFc}switch(c){case "NEW":return YEc;case "ASSIGNED":return YEc;case "ACCEPTED":return YEc;
default:return cFc}},UI=function(){this.activeSession=x(Ks);this.issueFullFridge=x(pE);this.componentTemplatesFridge=x(kC)};UI.prototype.create=function(a){return new eFc(a,this.activeSession,this.issueFullFridge,this.componentTemplatesFridge)};UI.\u0275fac=function(a){return new (a||UI)};UI.\u0275prov=Dg({token:UI,factory:UI.\u0275fac,providedIn:"root"});var gFc={COMMENT_EDIT:"commentEdit",RETENTION:"retention",SUBSCRIBE:"subscribe",UNDELETE_ATTACHMENT:"undeleteAttachment",DELETE_ATTACHMENT:"deleteAttachment",COMMENT_UNDELETE:"commentUndelete",COMMENT_DELETE:"commentDelete"},hFc=function(){this.fields=new CF};hFc.prototype.get=function(a){return this.fields.has(aMa(a))};
var iFc=function(a,b){return Tq(a.fields,aMa(b))},iq=function(a,b){a.fields.add(aMa(b))},VI=function(a,b){a.fields.delete(aMa(b))},jFc=function(a){var b=[],c=[],d=[];a=l(a.fields);for(var e=a.next();!e.done;e=a.next())if(e=e.value,typeof e==="string"&&e.startsWith("customField:"))b.push(e.split(":")[1]);else{var f=void 0,h=gFc,k=(f=wjc.get(h))!=null?f:new Set(Object.values(h));wjc.set(h,k);k.has(e)?d.push(e):c.push(e)}return{fields:c,extraFields:d,customFields:b}};var bMa={QA:{157:[{emailAddress:"security@chromium.org"}]},PROD:{157:[{emailAddress:"security@chromium.org"}]}};var WI=function(){};WI.prototype.transform=function(a){return dMa(a)};WI.\u0275fac=function(a){return new (a||WI)};WI.\u0275pipe=aj({name:"appendDomain",type:WI,pure:!0,standalone:!1});var hMa={"\u2705":"good","\u26a0\ufe0f":"warn","\u26a0":"warn","\u26d4":"bad","\u274c":"bad","\ud83d\uded1":"bad","\ud83d\udeab":"bad"},jMa=RegExp("(^|[/;,\\-\\s])+(\\d+)","g"),kMa=RegExp("(b|b-qa|issues)\\/(\\d+)","g"),kFc=/[\u200b\u2060\u200c\u200d]/u;var XI=function(){var a=this;this.activeSession=x(Ks);this.butterBar=x(MA);this.issueInteractionsTracking=x(TI);this.issueApi=x(vD);this.componentFridge=x(AB);this.permissionsFridge=x(WE);this.eventsForIssueFridge=x(wD);this.statusMessages=x(rI);this.errorHandler=x(PA);this.confirmationDialogService=x(lI);this.principalTypes=x(YE);this.issuePermissionService=x(BF);this.accessPolicy=x(qB);this.issueTypeDialog=x(mI);this.logger=x(NA);this.issueFullFridge=x(pE);this.confirmNoAccessService=x(EI);this.issueService=
x(GD);this.attachmentsMember=x(xI);this.userPreferencesManager=x(NF);this.issueComments=x(CI);this.draftStore=x(WH);this.attachmentApi=x(wI);this.issueFieldsFactory=x(SI);this.issueQuickActionsFactory=x(UI);this.issueCommentDraftFactory=x(PI);this.implicitTriageService=x(OH);this.analytics=x(nE);this.isSavingMap=new Map;this.savingState=Wf(this.isSavingMap,function(){return new hFc});this.issueFieldsMap=new Map;this.issueFields=Wf(this.issueFieldsMap,function(b){return a.issueFieldsFactory.create(b)});
this.issueQuickActionsMap=new Map;this.issueQuickActions=Wf(this.issueQuickActionsMap,function(b){return a.issueQuickActionsFactory.create(b)});this.editableIssueMap=new Map;this.editableIssue$=Wf(this.editableIssueMap,function(b){return lFc(a,b)});this.editableIssue=function(b){return a.editableIssue$(b).value};this.subscriptions=new Map;this.getSubscription=Wf(this.subscriptions,function(){return new Yh});this.issueCommentDraftMap=new Map;this.issueCommentDraft=Wf(this.issueCommentDraftMap,function(b){var c=
a.issueCommentDraftFactory.create(b);a.getSubscription(b).add(c.judgementForNewContent$.subscribe());return c});this.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY={saveCommentDraft:this.saveCommentDraft.bind(this)}};XI.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()};
XI.prototype.updateComponent=function(a,b,c,d){var e=this,f,h,k,q,u,A;return v(function(D){if(D.nextAddress==1)return f=e.editableIssue(a),f.componentId=b,(h=mFc(e,f))&&h.actions&&h.actions.length?w(D,e.getRetentionState(a),2):D.return();k=D.yieldResult;nFc(e,h);q={issueId:a,componentId:b};u=Object.assign({},q,{setLimitViewTrusted:d});A=c?e.issueApi.moveIssueExternal(a,u):e.issueApi.moveIssue(a,q);return D.return(oFc(e,A,h,{originalRetentionState:k}))})};
var dyb=function(a,b,c){var d,e;return v(function(f){if(!c)return a.butterBar.showWarning("Reporter can't be empty."),f.return();d=a.editableIssue(b);d.setReporter(c);return f.return((e=YI(a,d))!=null?e:Promise.resolve())})},pFc=function(a,b,c,d){var e,f,h,k,q,u;return v(function(A){switch(A.nextAddress){case 1:e=yea(c);if(!e)return a.logger.warn("unknown issue type: "+c),A.return();f=a.editableIssue(b);if(e!=="VULNERABILITY"&&e!=="PRIVACY_ISSUE"){A.jumpTo(2);break}return w(A,lDc(a.issueTypeDialog,
e),3);case 3:if(h=A.yieldResult,!h)return A.return();case 2:if(!d||e!=="VULNERABILITY"){A.jumpTo(4);break}k=cMa(a.activeSession.getEnvironmentType(),d);if(k===void 0){A.jumpTo(4);break}ei(A,6);return w(A,a.issueApi.markAsVulnerability(b,k),8);case 8:a.permissionsFridge.poke(An(b));a.issueFullFridge.poke(b);Iu(A,7);break;case 6:q=ii(A),RA(a.errorHandler,q);case 7:return A.return(Promise.resolve());case 4:return f.setType(e),A.return((u=YI(a,f))!=null?u:Promise.resolve())}})},fyb=function(a,b,c){var d,
e,f;return v(function(h){d=td(c);if(!d)return a.logger.warn("unknown priority: "+c),h.return();e=a.editableIssue(b);e.setPriority(d);return h.return((f=YI(a,e))!=null?f:Promise.resolve())})},rFc=function(a,b,c){var d,e,f;return v(function(h){d=a.editableIssue(b);d.duplicateOfIssueId=c;d.status="DUPLICATE";e=mFc(a,d);return e?(f=e.actions.find(function(k){return k.fieldName==="duplicateOfIssueId"&&!ja(k.value||"")}))&&f.value?h.return(qFc(a,b,{actionIssueId:f.value,implicitAppenders:d.cc,implicitEditors:[],
isDeduping:!0,isRemovingSelfFromCc:!1,requestData:e})):h.return():h.return()})},sFc=function(a,b,c){var d,e;return v(function(f){d=a.editableIssue(b);d.setStatus(c);return f.return((e=YI(a,d))!=null?e:Promise.resolve())})},tFc=function(a,b,c){var d,e,f;return v(function(h){if(h.nextAddress==1){if(!c)return h.return();d=a.editableIssue(b);e=a.issueQuickActions(b);return w(h,fFc(e,d,c),2)}return h.return((f=YI(a,d))!=null?f:Promise.resolve())})},exb=function(a,b,c){var d,e;return v(function(f){d=a.editableIssue(b);
var h;d.effortEstimate=(h=c==null?void 0:c.estimate)!=null?h:null;return f.return((e=YI(a,d))!=null?e:Promise.resolve())})},Oxb=function(a,b,c){var d,e,f;return v(function(h){d=a.editableIssue(b);e=Sea(c,!1);d.foundInVersion=e;return h.return((f=YI(a,d))!=null?f:Promise.resolve())})},Sxb=function(a,b,c){var d,e,f;return v(function(h){d=a.editableIssue(b);e=Sea(c,!1);d.verifiedInVersion=e;return h.return((f=YI(a,d))!=null?f:Promise.resolve())})},Qxb=function(a,b,c){var d,e,f;return v(function(h){d=
a.editableIssue(b);e=Sea(c,!1);d.targetedToVersion=e;return h.return((f=YI(a,d))!=null?f:Promise.resolve())})},Uxb=function(a,b,c){var d,e;return v(function(f){d=a.editableIssue(b);d.setInProd(c);return f.return((e=YI(a,d))!=null?e:Promise.resolve())})},Jxb=function(a,b,c){var d,e,f;return v(function(h){d=zea(c);if(!d)return a.logger.warn("unknown severity: "+c),h.return();e=a.editableIssue(b);e.setSeverity(d);return h.return((f=YI(a,e))!=null?f:Promise.resolve())})};
XI.prototype.updateSloStartTime=function(a,b){var c=this,d,e;return v(function(f){d=c.editableIssue(a);d.sloStartTime=b;return f.return((e=YI(c,d))!=null?e:Promise.resolve())})};XI.prototype.updateSloEndTime=function(a,b){var c=this,d,e;return v(function(f){d=c.editableIssue(a);d.setSloEndTime(b);return f.return((e=YI(c,d))!=null?e:Promise.resolve())})};
var Lxb=function(a,b,c){var d,e,f;v(function(h){d=a.editableIssue(b);d.changelist=(e=c)!=null?e:[];return h.return((f=YI(a,d))!=null?f:Promise.resolve())})},Mxb=function(a,b,c){var d,e,f;v(function(h){d=a.editableIssue(b);d.gerritChanges=(e=c)!=null?e:[];return h.return((f=YI(a,d))!=null?f:Promise.resolve())})};XI.prototype.updateCustomField=function(a,b,c){var d=this,e,f;return v(function(h){e=d.editableIssue(a);e.setCustomField(b,c);return h.return((f=YI(d,e))!=null?f:Promise.resolve())})};
var kyb=function(a,b,c){var d,e,f,h;return v(function(k){switch(k.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?w(k,uFc(a,b,"verifier",[c]),5):w(k,VDc(a.confirmNoAccessService,{componentId:d.componentId,userEmails:[c],relation:"writer",analyticsEventLabel:"verifier"}),4);case 4:e=k.yieldResult;if(!e)return k.return();k.jumpTo(3);break;case 5:if(f=k.yieldResult,!f)return k.return();case 3:return d.setVerifier(c),k.return((h=YI(a,d))!=null?h:Promise.resolve())}})},
iyb=function(a,b,c){var d,e,f,h;return v(function(k){switch(k.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?w(k,uFc(a,b,"assignee",[c]),5):w(k,VDc(a.confirmNoAccessService,{componentId:d.componentId,userEmails:[c],relation:"writer",analyticsEventLabel:"assignee"}),4);case 4:e=k.yieldResult;if(!e)return k.return();k.jumpTo(3);break;case 5:if(f=k.yieldResult,!f)return k.return();case 3:return d.setAssignee(c),k.return((h=YI(a,d))!=null?h:Promise.resolve())}})},
vFc=function(a,b,c){var d,e,f,h,k,q;return v(function(u){switch(u.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return w(u,uFc(a,b,"CC",c),5);e=rCa(d.cc,c);f=e.added;return w(u,VDc(a.confirmNoAccessService,{componentId: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(k=u.yieldResult,!k)return u.return();case 3:return d.cc=c,u.return((q=YI(a,d))!=null?
q:Promise.resolve())}})},wFc=function(a,b,c){var d,e,f,h,k,q;return v(function(u){switch(u.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return w(u,uFc(a,b,"collaborators",c),5);e=rCa(d.collaborators,c);f=e.added;return w(u,VDc(a.confirmNoAccessService,{componentId: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(k=u.yieldResult,!k)return u.return();
case 3:return d.setCollaborators(c),u.return((q=YI(a,d))!=null?q:Promise.resolve())}})},xFc=function(a,b,c){var d;return v(function(e){d=a.editableIssue(b);d.setStaffing(c);return e.return(YI(a,d))})};XI.prototype.unarchive=function(a){var b=this,c,d;return v(function(e){c=b.editableIssue(a);c.setIsArchived(!1);return e.return((d=YI(b,c))!=null?d:Promise.resolve())})};
XI.prototype.updateIssueRetention=function(a,b){var c=this,d,e,f;return v(function(h){switch(h.nextAddress){case 1:return d={issueId:a,retention:b},e=c.savingState(a),iq(e,"retention"),ei(h,2,3),w(h,c.issueApi.updateIssueRetention(a,d),5);case 5:return w(h,c.issueFullFridge.poke(a),6);case 6:hq(c.butterBar,"Issue retention updated to "+b+".",4E3);case 3:fi(h);VI(e,"retention");hi(h,0);break;case 2:f=ii(h),RA(c.errorHandler,f),h.jumpTo(3)}})};
var yFc=function(a,b){var c,d,e;return v(function(f){c=a.editableIssue(b);c.setIsDeleted(!0);c.setDeletionReason("ABUSE");d=mFc(a,c);if(!d||!d.actions)return f.jumpTo(0);nFc(a,d);e=a.issueService.delete(b,"ABUSE");return w(f,oFc(a,e,d),0)})},sRb=function(a,b){var c,d,e;return v(function(f){c=a.editableIssue(b);c.setIsDeleted(!1);c.setDeletionReason(null);d=mFc(a,c);if(!d||!d.actions)return f.jumpTo(0);nFc(a,d);e=a.issueService.undelete(b);return w(f,oFc(a,e,d),0)})};
XI.prototype.updateSubscription=function(a,b){var c=this,d,e,f,h,k;return v(function(q){switch(q.nextAddress){case 1:return d=c.savingState(a),w(q,pi(c.issueFullFridge.watch(a,{trustUncertainMemory:!0})),2);case 2:e=q.yieldResult;h=(f=e)==null?void 0:f.userData;if(h==null||d.get("subscribe"))return q.return();ei(q,3,4);iq(d,"subscribe");return w(q,c.issueFullFridge.setNotificationSubscription(a,b),4);case 4:fi(q);VI(d,"subscribe");hi(q,0);break;case 3:k=ii(q),RA(c.errorHandler,k),q.jumpTo(4)}})};
var zFc=function(a,b,c){var d,e;v(function(f){switch(f.nextAddress){case 1:d=a.savingState(b);if(!c.attachmentId||c.attachmentId==="0"||d.get("undeleteAttachment"))return f.return();ei(f,2,3);hq(a.butterBar,"Restoring attachment...");iq(d,"undeleteAttachment");return w(f,a.attachmentsMember.undelete(b.toString(),c),5);case 5:hq(a.butterBar,"Attachment restored."),a.issueFullFridge.poke(b),a.eventsForIssueFridge.poke(b);case 3:fi(f);VI(d,"undeleteAttachment");hi(f,0);break;case 2:e=ii(f),RA(a.errorHandler,
e),f.jumpTo(3)}})},AFc=function(a,b,c,d){var e,f;return v(function(h){switch(h.nextAddress){case 1:e=a.savingState(b);if(!c.attachmentId||c.attachmentId==="0"||e.get("deleteAttachment"))return h.return();ei(h,2,3);hq(a.butterBar,"Deleting attachment...");iq(e,"deleteAttachment");return w(h,a.attachmentsMember.delete(b,c,d),5);case 5:hq(a.butterBar,"Attachment deleted."),a.issueFullFridge.poke(b),a.eventsForIssueFridge.poke(b);case 3:fi(h);VI(e,"deleteAttachment");hi(h,0);break;case 2:f=ii(h),RA(a.errorHandler,
f),h.jumpTo(3)}})};
XI.prototype.saveCommentDraft=function(a,b){var c=this,d=this.issueCommentDraft(a),e=d.comment(),f=QEc(d);if(!f.commentText&&!f.attachmentsWithJudgements.length)return Promise.resolve();var h=REc(d);nFc(this,h);return oFc(this,function(){return v(function(k){switch(k.nextAddress){case 1:return w(k,BFc(c,a),2);case 2:if(!f.commentText){k.jumpTo(3);break}c.activeSession.isExternalSession()&&CFc(c,a);return w(k,c.issueComments.create(String(a),f.commentText,f.formattingMode,f.judgementForNewContent,b),
4);case 4:e.reset(),c.draftStore.$window.sessionStorage.removeItem(Kp(a));case 3:if(!f.attachmentsWithJudgements.length){k.jumpTo(5);break}var q=c.attachmentApi;var u=f.attachmentsWithJudgements,A=(new EDc).setIssueId(String(a));u!==void 0&&(u=u.map(NLa),Ol(A,3,u));q=q.executor.post({url:"action/issues/"+a+"/attachments",body:A,responseConstructor:uI}).then(PLa);return w(k,q,6);case 6:e.reset();case 5:return d.setJudgementForNewContent(),k.return(c.issueFullFridge.poke(a))}})}(),h)};
var BFc=function(a,b){var c,d;return v(function(e){if(!OF(a.userPreferencesManager).autoCcOnComment||!a.issuePermissionService.hasAclToEdit()||a.issuePermissionService.isCurrentUserCCd())return e.return();var f=c=a.editableIssue(b),h=[].concat(p(c.cc),[a.activeSession.getUserEmail()]);f.cc=h;d={issueId:b,actions:[{fieldName:"ccs",value:a.activeSession.getUserEmail(),actionType:"ADD"}]};return w(e,a.issueApi.updateIssue(b,d),0)})},lFc=function(a,b){var c=a.issueFullFridge.watch(b).pipe(C(function(e){var f=
new KCc;e&&(e=DFc(a,e),f.currentUserEmail=a.activeSession.getUserEmail(),f.setData(e));return f})),d=new $n(new KCc);a.getSubscription(b).add(c.subscribe(d));return d},YI=function(a,b){function c(O){k=O}function d(O){q=O}var e=b.issueId,f=mFc(a,b);if(!f)return null;for(var h=!1,k=[],q=[],u=e,A=l(f.actions),D=A.next();!D.done;D=A.next()){D=D.value;var H=D.value||"";if(D.actionType!=="REMOVE")switch(D.fieldName){case "ccs":c(H.split(",").filter(Boolean));break;case "verifier":case "assignee":case "collaborators":d(H.split(",").filter(Boolean));
break;case "duplicateOfIssueId":ja(H)||(k=b.cc,u=String(H),h=!0)}}return qFc(a,e,{actionIssueId:u,implicitAppenders:k,implicitEditors:q,isDeduping:h,isRemovingSelfFromCc:f.actions.length===1&&f.actions[0].fieldName==="ccs"&&f.actions[0].actionType==="REMOVE"&&a.activeSession.getUserEmail()===f.actions[0].value,requestData:f})},qFc=function(a,b,c){var d=c.actionIssueId;var e=c.implicitAppenders;var f=c.implicitEditors;var h=c.isDeduping;var k=c.isRemovingSelfFromCc;var q=c.requestData;var u,A,D,H,
O,P,S,aa,ia,la,ya,Ia,Pa,gb;return v(function(ua){switch(ua.nextAddress){case 1:return w(ua,Promise.all([EFc(a,e,"appender",d),EFc(a,f,"writer",d)]),2);case 2:u=ua.yieldResult;A=l(u);D=A.next().value;H=A.next().value;O=D;P=H;S=O.noAccessEmails||[];aa=P.noAccessEmails||[];ia=[].concat(p(S),p(aa));if(ia.length===0)return ua.return(FFc(a,q,h,k));ei(ua,3);return w(ua,Promise.all(ia.map(function(Ea){return GFc(a,Ea)})),5);case 5:return la=ua.yieldResult,ya=LFa({userPrincipals:la,newEditors:aa,newImplicitUsers:ia,
isExternalSession:a.activeSession.isExternalSession(),issueId:b,actionIssueId:d}),Ia=ya.title,Pa=ya.content,w(ua,jDc(a.confirmationDialogService,{title:Ia,content:md(Pa),confirmButtonText:"Allow"}),6);case 6:if(gb=ua.yieldResult)return ua.return(FFc(a,q,h,k));a.permissionsFridge.poke(An(b));a.issueFullFridge.poke(b);Iu(ua,0);break;case 3:ii(ua),a.butterBar.showWarning("Could not determine email type."),ji(ua)}})},FFc=function(a,b,c,d){nFc(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 oFc(a,e,b)},EFc=function(a,b,c,d,e,f){e=e===void 0?!1:e;f=f===void 0?null:f;if(e&&!f)throw Error("Ad");var h=e?"ISSUE_DEFAULTS":"ISSUE";d=e?f:d;e={noAccessEmails:[]};return b.length!==0&&a.issuePermissionService.isImplicitAccessEnabled()?a.accessPolicy.checkPermission(b.map(dMa),c,h,d):Promise.resolve(e)},DFc=function(a,b){var c=b.issueId,d=a.isSavingMap.get(c),
e;a=(e=a.editableIssueMap.get(c))==null?void 0:e.value;if(!a||!d)return b;b=wd(b);e=Aa(b.snapshot);c=jFc(d);d=c.customFields;c=l(c.fields);for(var f=c.next();!f.done;f=c.next()){var h=void 0;(h=TCc.get(f.value))==null||h(e,a)}d=l(d);f=d.next();for(c={};!f.done;c={customFieldId$jscomp$16:void 0},f=d.next())f=f.value,c.customFieldId$jscomp$16=Bd(f),c=(e.customField||[]).find(function(k){return function(q){return q.customFieldId===k.customFieldId$jscomp$16}}(c)),f=a.customFieldMap[f],c&&f&&(c.textValue=
f.textValue,c.dateValue=f.dateValue,c.enumValue=f.enumValue,c.numericValue=f.numericValue);return b},mFc=function(a,b){var c=RCc(b);if(!c)return null;var d=a.isSavingMap.get(String(b.issueId));c.actions=c.actions.filter(function(e){return!(d==null?0:d.get(nMa(e)))});return c.actions.length?c:null},nFc=function(a,b){var c=String(b.issueId);hq(a.butterBar,"Saving...",0);var d=b.actions.map(function(e){return e.fieldName}).join(",");jq(a.issueInteractionsTracking,c,{label:d});a=a.savingState(c);b=l(b.actions);
for(c=b.next();!c.done;c=b.next())iq(a,nMa(c.value))},oFc=function(a,b,c,d){var e,f;return v(function(h){switch(h.nextAddress){case 1:return ei(h,2),w(h,b,4);case 4:return e=h.yieldResult,rE(a.issueFullFridge,[c.issueId],{eagerUpdate:!1,userActivityType:"EDIT"}).finally(function(){var k=String(c.issueId);a.issueFullFridge.poke(k);a.eventsForIssueFridge.poke(k)}),w(h,HFc(a,c,e,d),5);case 5:Iu(h,0);break;case 2:f=ii(h),IFc(a,c,f),ji(h)}})},HFc=function(a,b,c,d){var e=(d===void 0?{}:d).originalRetentionState;
var f,h,k,q;return v(function(u){f=a.savingState(String(b.issueId));h=l(b.actions);for(k=h.next();!k.done;k=h.next())q=k.value,VI(f,nMa(q));pCc(a.implicitTriageService,b.issueId,b.actions);return c?w(u,JFc(a,b,e),0):u.jumpTo(0)})},IFc=function(a,b,c){var d=String(b.issueId),e=a.savingState(d);b=l(b.actions);for(var f=b.next();!f.done;f=b.next())VI(e,nMa(f.value));a.permissionsFridge.poke(An(d));a.issueFullFridge.poke(d);nn(c)&&c.status===403&&on(c)?QA(a.errorHandler,on(c)):RA(a.errorHandler,c)},JFc=
function(a,b,c){var d,e,f,h,k,q,u,A,D,H,O;return v(function(P){switch(P.nextAddress){case 1:return w(P,a.getEffortSpec(String(b.issueId)),2);case 2:d=P.yieldResult;e=a.editableIssue(String(b.issueId));k=DDc(a.statusMessages,b,e.customFieldMap,(h=(f=d)==null?void 0:f.name)!=null?h:"");if(!c){P.jumpTo(3);break}return w(P,Promise.all([a.getRetentionState(String(b.issueId)),a.getRetention(String(b.issueId))]),4);case 4:q=P.yieldResult;u=l(q);A=u.next().value;D=u.next().value;H=A;O=D;if(O!=="INDEFINITE"&&
c&&H){var S=c.retentionPeriod?Tf(Math.floor(c.retentionPeriod.seconds*1E3/864E5)):"indefinite";var aa=H.retentionPeriod?Tf(Math.floor(H.retentionPeriod.seconds*1E3/864E5)):"indefinite";S=S===aa?"":" Issue retention period changed from "+S+" to "+aa+"."}else S="";k+=S;case 3:hq(a.butterBar,k),ji(P)}})},uFc=function(a,b,c,d){return v(function(e){if(e.nextAddress==1){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?w(e,KFc(a,b,a.editableIssue(b).componentId,c),2):e.return(!0)}else e=e.return(e.yieldResult);return e})},KFc=function(a,b,c,d){var e;return v(function(f){if(f.nextAddress==1)return w(f,EFc(a,[a.activeSession.getUserEmail()],"reader",b,!0,c),2);e=f.yieldResult;return e.noAccessEmails&&e.noAccessEmails.length!==0?f.return(jDc(a.confirmationDialogService,
{title:"Removing yourself from "+d+" may revoke your access to the issue",content:md("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)})};XI.prototype.getRetentionState=function(a){return pi(this.issueFullFridge.watch(a).pipe(C(gJa)))};XI.prototype.getRetention=function(a){return pi(this.issueFullFridge.watch(a).pipe(C(dJa)))};
XI.prototype.getEffortSpec=function(a){var b=this;return pi(this.issueFullFridge.watch(a).pipe(C(KIa),sj(function(c){return c?b.componentFridge.watch(c):li(void 0)}),C(jJa)))};var GFc=function(a,b){return v(function(c){return a.activeSession.isExternalSession()?c.return({principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}):c.return(ZE(a.principalTypes,b,!0))})};
XI.prototype.ngOnDestroy=function(){this.isSavingMap.clear();this.issueFieldsMap.clear();this.issueQuickActionsMap.clear();this.editableIssueMap.clear();for(var a=l(this.subscriptions.values()),b=a.next();!b.done;b=a.next())b.value.unsubscribe();this.subscriptions.clear()};
var CFc=function(a,b){var c,d,e,f,h,k,q,u,A,D;v(function(H){if(H.nextAddress==1)return w(H,pi(a.issueFullFridge.watch(b)),2);if(H.nextAddress!=3)return(c=H.yieldResult)&&(d=c.aggregatedData)!=null&&d.createdTimeMicros?w(H,pi(a.eventsForIssueFridge.watch(b)),3):H.return();e=H.yieldResult;if(!e)return H.return();f=a.activeSession.getUserEmail();h=LFc(a,e.events,f);k=a.getLabel(c,h,f);D=Date.now()-Math.max((q=c.aggregatedData)==null?void 0:q.createdTimeMicros,(A=(u=h)==null?void 0:u.modifiedDate)!=null?
A:0);a.analytics.trackEvent("comment","create",k,D);ji(H)})};XI.prototype.getLabel=function(a,b,c){if(!b)return"global";var d,e,f=((d=a.snapshot[0].assigneeUser)==null?void 0:d.emailAddress)===((e=a.snapshot[0].reporterUser)==null?void 0:e.emailAddress),h;a=c===((h=a.snapshot[0].assigneeUser)==null?void 0:h.emailAddress);var k;b=(b==null?void 0:(k=b.userPerformingActionUser)==null?void 0:k.emailAddress)!==c;c=a&&b;return f&&c?"needs-reporter-input":c?"newly-assigned-to-me":"global"};
var LFc=function(a,b,c){return MFc(b,function(d){var e;if(((e=d.userPerformingActionUser)==null?void 0:e.emailAddress)!==c&&d.preDiffs.some(function(h){return h.name==="assignee"&&h.newValue===a.activeSession.getUserEmail()}))return!0;var f;return((f=d.userPerformingActionUser)==null?void 0:f.emailAddress)===c?!0:!1})},MFc=function(a,b){for(var c=a.length-1;c>=0;c--)if(b(a[c]))return a[c]};XI.\u0275fac=function(a){return new (a||XI)};XI.\u0275prov=Dg({token:XI,factory:XI.\u0275fac,providedIn:"root"});var ZI=function(){Z.apply(this,arguments);this.issueDetailsBrain=x(zF);this.issuePermissionService=x(BF);this.editIssueService=x(XI);this.assigneeInProgress$=new nj(1);this.ccInProgress$=new nj(1);this.id$=this.issueDetailsBrain.id$;this.assigneeUpdate$=this.issueDetailsBrain.issueJs$.pipe(C(function(a){return Qha(a)||""}));this.ccUpdate$=this.issueDetailsBrain.issueJs$.pipe(C(function(a){var b;return Hd((b=cg(a))==null?void 0:b.ccUsers)||[]}));this.assignee$=this.assigneeUpdate$.pipe(pj({refCount:!0,
bufferSize:1}));this.cc$=this.ccUpdate$.pipe(pj({refCount:!0,bufferSize:1}));this.assigneeUpdating$=this.assigneeInProgress$;this.ccUpdating$=this.ccInProgress$;this.editAccess$=this.issuePermissionService.hasAclToEdit$};Y(ZI,Z);ZI.\u0275dir=Z.\u0275dir;
var NFc=function(a,b){var c,d,e;return v(function(f){switch(f.nextAddress){case 1:return w(f,pi(a.id$),2);case 2:c=f.yieldResult;if(!c)return f.return();a.assigneeInProgress$.next(!0);d=b.action==="remove_user"?"":b.email;ei(f,3,4);return w(f,iyb(a.editIssueService,c,d),6);case 6:return w(f,pi(a.assigneeUpdate$.pipe(Di(function(h){h=b.email===h;return b.action==="set_user"?h:!h}),Ei(6E4))),4);case 4:fi(f);a.assigneeInProgress$.next(!1);hi(f,0);break;case 3:throw e=ii(f),e;}})},OFc=function(a,b){var c,
d,e,f,h;return v(function(k){switch(k.nextAddress){case 1:return w(k,pi(a.id$),2);case 2:c=k.yieldResult;if(!c)return k.return();d=a.editIssueService.editableIssue(c);e=d.cc.includes(b.email);f=void 0;b.action!=="set_user"||e?b.action==="remove_user"&&e&&(f=vFc(a.editIssueService,c,d.cc.filter(function(q){return q!==b.email}))):f=vFc(a.editIssueService,c,[].concat(p(d.cc),[b.email]));if(!f)return k.return();ei(k,3,4);a.ccInProgress$.next(!0);return w(k,f,6);case 6:return w(k,pi(a.ccUpdate$.pipe(Di(function(q){q=
q.includes(b.email);return b.action==="set_user"?q:!q}),Ei(6E4))),4);case 4:fi(k);a.ccInProgress$.next(!1);hi(k,0);break;case 3:throw h=ii(k),h;}})};ZI.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(ZI)))(b||ZI)}}();ZI.\u0275prov=Dg({token:ZI,factory:ZI.\u0275fac});var PFc=function(a){return["chip","gmat-caption",a]},$I=function(){this.variant="grey";this.isTall=!1};$I.\u0275fac=function(a){return new (a||$I)};
$I.\u0275cmp=F({type:$I,selectors:[["onedev-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&rk("tall",b.isTall)},inputs:{variant:"variant",isTall:"isTall"},standalone:!1,ngContentSelectors:["*"],decls:3,vars:3,consts:[[3,"ngClass"],[1,"centering"]],template:function(a,b){a&1&&(Zj(),L(0,"div",0)(1,"div",1),ak(2),M()());a&2&&K("ngClass",Dk(1,PFc,b.variant))},dependencies:[ly],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 QFc=function(a){this.chip=a};QFc.\u0275fac=function(a){return new (a||QFc)(Ui($I))};QFc.\u0275dir=$i({type:QFc,selectors:[["","onedevChipIcon",""]],hostVars:10,hostBindings:function(a,b){a&2&&qk("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")},standalone:!1});var aJ=function(){};aJ.\u0275fac=function(a){return new (a||aJ)};aJ.\u0275mod=Zi({type:aJ});aJ.\u0275inj=Eg({imports:[xy]});var RFc=function(){};RFc.\u0275fac=function(a){return new (a||RFc)};RFc.\u0275cmp=F({type:RFc,selectors:[["","onedevDot",""]],hostVars:1,hostBindings:function(a){a&2&&Hj("aria-hidden",!0)},standalone:!1,attrs:["onedevDot",""],decls:1,vars:0,template:function(a){a&1&&U(0,"\u00a0\u00b7\u00a0")},encapsulation:2});var bJ=function(){};bJ.\u0275fac=function(a){return new (a||bJ)};bJ.\u0275mod=Zi({type:bJ});bJ.\u0275inj=Eg({});var SFc=[[["","onedev-additional-content",""]],[["onedev-hovercard-action"]]],TFc=function(a){return{"with-avatar":a}},cJ=function(){};cJ.prototype.ngOnInit=function(){};cJ.\u0275fac=function(a){return new (a||cJ)};
cJ.\u0275cmp=F({type:cJ,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&&(Zj(SFc),L(0,"div",0)(1,"div",1)(2,"div",2),G(3,oMa,1,2,"img",3),L(4,"div",4),U(5),M(),G(6,pMa,2,1,"div",5),M(),G(7,qMa,4,1,"div",6),L(8,"div",7),G(9,uMa,7,3,"ng-container",8)(10,vMa,4,1,"ng-container",8)(11,wMa,23,5,"ng-container",8),ak(12),M()(),ak(13,1),M());a&2&&(E(2),K("ngClass",Dk(8,TFc,b.person.imageUrl)),E(),K("ngIf",b.person.imageUrl),E(2),tk(b.person.name||b.person.email),E(),K("ngIf",b.person.name),E(),K("ngIf",b.outOfOfficeDescription),E(2),K("ngIf",b.person.title||b.person.department),
E(),K("ngIf",b.person.location),E(),K("ngIf",b.person.ldap))},dependencies:[aJ,$I,QFc,xy,ly,ny,bJ,RFc,iC,EA],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-card-title-max-height:48px}.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:var(--onedev-card-title-max-height);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;overflow-wrap:anywhere}.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}.onedev-hovercard-content .avatar{border-radius:50%;object-fit:cover;height:48px;width:48px}"],
encapsulation:2,changeDetection:0});var UFc=function(){};var Qp=function(){this.Serializable$values={}},Pp=function(a,b){return a.Serializable$values.hasOwnProperty(b)?a.Serializable$values[b]:null},dJ=function(a,b){return a.Serializable$values[b]!=null};var VFc=function(){};var WFc=function(a,b){this.requestService=a;this.hookFactory=b===void 0?null:b};Y(WFc,VFc);
var XFc=function(a,b,c){var d=xMa(a.hookFactory,b);return d==null?c:Bi.pipe(uj({complete:function(){d.onBeforeSend()}}),Kpa(c.pipe(uj(function(e){d.onSuccess(e)},function(e){d.onError(e)}))),kj(function(){var e;(e=d.onFinalize)==null||e.call(d)}))},YFc=function(a,b){var c=b.responseCtor||void 0,d=a.requestService,e=d.send,f=b.body instanceof Qp?EMa(b.body,BMa,CMa,DMa):b.body;return XFc(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 ZFc=function(){};ZFc.prototype.send=function(a,b){yMa(a);return this.makeRequest(a).pipe(C(function(c){return b?IMa(b,c):c}))};var $Fc=new kh("API_VERSION"),aGc=new kh("REQUEST_SERVICE for people-pa_api_client"),bGc={$Xgafv:"$.xgafv",abuseCheckParamsRfaChecks:"abuseCheckParams.rfaChecks",access_token:"access_token",affinityType:"affinityType",alt:"alt",authDelegationContextContactsEncryptedOwnerId:"authDelegationContext.contacts.encryptedOwnerId",authDelegationContextDelegationType:"authDelegationContext.delegationType",authDelegationContextGriffinObfuscatedOwnerId:"authDelegationContext.griffin.obfuscatedOwnerId",authDelegationContextMadisonMadisonGaiaId:"authDelegationContext.madison.madisonGaiaId",
authDelegationContextMadisonObfuscatedMadisonId:"authDelegationContext.madison.obfuscatedMadisonId",authDelegationContextObfuscatedOwnerId:"authDelegationContext.obfuscatedOwnerId",authDelegationContextUnicornObfuscatedOwnerId:"authDelegationContext.unicorn.obfuscatedOwnerId",backgroundPhotoContactId:"backgroundPhotoContactId",backgroundPhotoProfileId:"backgroundPhotoProfileId",blockDirection:"blockDirection",callback:"callback",canonicalPhone:"canonicalPhone",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",consistencyOptionsConsistentReadOverrideType:"consistencyOptions.consistentReadOverrideType",consistencyOptionsDirectoryConsistencyOptionsDirectoryVersionToken:"consistencyOptions.directoryConsistencyOptions.directoryVersionToken",consistencyOptionsLevel:"consistencyOptions.level",consistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",consistencyOptionsLevelOptionsExactTimestamp:"consistencyOptions.levelOptions.exactTimestamp",
consistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",contactId:"contactId",contactListType:"contactListType",contactLookupOptionsEmailLookupType:"contactLookupOptions.emailLookupType",container:"container",containerId:"containerId",containerIds:"containerIds",contextAllowedRequesterState:"context.allowedRequesterState",contextAuthDelegationContextContactsEncryptedOwnerId:"context.authDelegationContext.contacts.encryptedOwnerId",
contextAuthDelegationContextDelegationType:"context.authDelegationContext.delegationType",contextAuthDelegationContextGriffinObfuscatedOwnerId:"context.authDelegationContext.griffin.obfuscatedOwnerId",contextAuthDelegationContextMadisonMadisonGaiaId:"context.authDelegationContext.madison.madisonGaiaId",contextAuthDelegationContextMadisonObfuscatedMadisonId:"context.authDelegationContext.madison.obfuscatedMadisonId",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",contextConsistencyOptionsConsistentReadOverrideType:"context.consistencyOptions.consistentReadOverrideType",contextConsistencyOptionsDirectoryConsistencyOptionsDirectoryVersionToken:"context.consistencyOptions.directoryConsistencyOptions.directoryVersionToken",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",coreIdParamsEnforceEdsConditionEnforceEdsType:"coreIdParams.enforceEdsCondition.enforceEdsType",coreIdParamsIdentityAclOptionsContextConfigName:"coreIdParams.identityAclOptions.context.configName",
coreIdParamsIdentityAclOptionsContextObjectId:"coreIdParams.identityAclOptions.context.objectId",coreIdParamsIdentityAclOptionsContextObjectPart:"coreIdParams.identityAclOptions.context.objectPart",coreIdParamsIdentityAclOptionsContextZookie:"coreIdParams.identityAclOptions.context.zookie",coreIdParamsIdentityAclOptionsGroupServiceContextGroupName:"coreIdParams.identityAclOptions.groupServiceContext.groupName",coreIdParamsIdentityAclOptionsGroupServiceContextOwnerGaiaId:"coreIdParams.identityAclOptions.groupServiceContext.ownerGaiaId",
coreIdParamsIdentityAclOptionsGroupServiceContextZookie:"coreIdParams.identityAclOptions.groupServiceContext.zookie",coreIdParamsIdentityAclOptionsMode:"coreIdParams.identityAclOptions.mode",coreIdParamsIgnoreAclConditionIgnoreAclConditionType:"coreIdParams.ignoreAclCondition.ignoreAclConditionType",coreIdParamsProfileAccessTokensInteractionTokens:"coreIdParams.profileAccessTokens.interactionTokens",coreIdParamsUseRealtimeNotificationExpandedAcls:"coreIdParams.useRealtimeNotificationExpandedAcls",
coreNameCoreProfileFirstName:"coreName.coreProfileFirstName",coreNameCoreProfileLastName:"coreName.coreProfileLastName",customLookupType:"customLookupType",dataFormatsAffinityFormatsScoreFormat:"dataFormats.affinityFormats.scoreFormat",dataFormatsProfilePhotoOptionsCorpHeaderPreference:"dataFormats.profilePhotoOptions.corpHeaderPreference",dataFormatsProfilePhotoOptionsPrivateUrlFormat:"dataFormats.profilePhotoOptions.privateUrlFormat",dataJoinParamsPhoneStalenessSpec:"dataJoinParams.phoneStalenessSpec",
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",dryRunOptionsConsistencyOptionsConsistentReadOverrideType:"dryRunOptions.consistencyOptions.consistentReadOverrideType",
dryRunOptionsConsistencyOptionsDirectoryConsistencyOptionsDirectoryVersionToken:"dryRunOptions.consistencyOptions.directoryConsistencyOptions.directoryVersionToken",dryRunOptionsConsistencyOptionsLevel:"dryRunOptions.consistencyOptions.level",dryRunOptionsConsistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"dryRunOptions.consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",dryRunOptionsConsistencyOptionsLevelOptionsExactTimestamp:"dryRunOptions.consistencyOptions.levelOptions.exactTimestamp",
dryRunOptionsConsistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"dryRunOptions.consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",dryRunOptionsDryRunMode:"dryRunOptions.dryRunMode",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",getPeopleRequestAbuseCheckParamsRfaChecks:"getPeopleRequest.abuseCheckParams.rfaChecks",getPeopleRequestContextAllowedRequesterState:"getPeopleRequest.context.allowedRequesterState",getPeopleRequestContextAuthDelegationContextContactsEncryptedOwnerId:"getPeopleRequest.context.authDelegationContext.contacts.encryptedOwnerId",getPeopleRequestContextAuthDelegationContextDelegationType:"getPeopleRequest.context.authDelegationContext.delegationType",
getPeopleRequestContextAuthDelegationContextGriffinObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.griffin.obfuscatedOwnerId",getPeopleRequestContextAuthDelegationContextMadisonMadisonGaiaId:"getPeopleRequest.context.authDelegationContext.madison.madisonGaiaId",getPeopleRequestContextAuthDelegationContextMadisonObfuscatedMadisonId:"getPeopleRequest.context.authDelegationContext.madison.obfuscatedMadisonId",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",getPeopleRequestContextConsistencyOptionsConsistentReadOverrideType:"getPeopleRequest.context.consistencyOptions.consistentReadOverrideType",getPeopleRequestContextConsistencyOptionsDirectoryConsistencyOptionsDirectoryVersionToken:"getPeopleRequest.context.consistencyOptions.directoryConsistencyOptions.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",getPeopleRequestCoreIdParamsEnforceEdsConditionEnforceEdsType:"getPeopleRequest.coreIdParams.enforceEdsCondition.enforceEdsType",getPeopleRequestCoreIdParamsIdentityAclOptionsContextConfigName:"getPeopleRequest.coreIdParams.identityAclOptions.context.configName",
getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectId:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectId",getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectPart:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectPart",getPeopleRequestCoreIdParamsIdentityAclOptionsContextZookie:"getPeopleRequest.coreIdParams.identityAclOptions.context.zookie",getPeopleRequestCoreIdParamsIdentityAclOptionsGroupServiceContextGroupName:"getPeopleRequest.coreIdParams.identityAclOptions.groupServiceContext.groupName",
getPeopleRequestCoreIdParamsIdentityAclOptionsGroupServiceContextOwnerGaiaId:"getPeopleRequest.coreIdParams.identityAclOptions.groupServiceContext.ownerGaiaId",getPeopleRequestCoreIdParamsIdentityAclOptionsGroupServiceContextZookie:"getPeopleRequest.coreIdParams.identityAclOptions.groupServiceContext.zookie",getPeopleRequestCoreIdParamsIdentityAclOptionsMode:"getPeopleRequest.coreIdParams.identityAclOptions.mode",getPeopleRequestCoreIdParamsIgnoreAclConditionIgnoreAclConditionType:"getPeopleRequest.coreIdParams.ignoreAclCondition.ignoreAclConditionType",
getPeopleRequestCoreIdParamsProfileAccessTokensInteractionTokens:"getPeopleRequest.coreIdParams.profileAccessTokens.interactionTokens",getPeopleRequestCoreIdParamsUseRealtimeNotificationExpandedAcls:"getPeopleRequest.coreIdParams.useRealtimeNotificationExpandedAcls",getPeopleRequestDataFormatsAffinityFormatsScoreFormat:"getPeopleRequest.dataFormats.affinityFormats.scoreFormat",getPeopleRequestDataFormatsProfilePhotoOptionsCorpHeaderPreference:"getPeopleRequest.dataFormats.profilePhotoOptions.corpHeaderPreference",
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",getPeopleRequestMergedPersonSourceOptionsDataJoinParamsPhoneStalenessSpec:"getPeopleRequest.mergedPersonSourceOptions.dataJoinParams.phoneStalenessSpec",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",getPeopleRequestMergedPersonSourceOptionsReplaceIantWithGiant:"getPeopleRequest.mergedPersonSourceOptions.replaceIantWithGiant",getPeopleRequestPersonId:"getPeopleRequest.personId",getPeopleRequestRequestConfigContextConfigKey:"getPeopleRequest.requestConfigContext.configKey",getPeopleRequestRequestConfigContextVersion:"getPeopleRequest.requestConfigContext.version",
getPeopleRequestRequestMaskCustomRequestMask:"getPeopleRequest.requestMask.customRequestMask",getPeopleRequestRequestMaskGuestUserEmailDisplayOption:"getPeopleRequest.requestMask.guestUserEmailDisplayOption",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",getPeopleRequestRequestMaskProductContactGroup:"getPeopleRequest.requestMask.productContactGroup",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",invalidatePriorTokens:"invalidatePriorTokens",key:"key",listFilterParamsContainer:"listFilterParams.container",listFilterParamsExcludeUnreachablePeople:"listFilterParams.excludeUnreachablePeople",matchType:"matchType",maxContacts:"maxContacts",mergedPersonSourceOptionsCertificateParamsRequestCertificates:"mergedPersonSourceOptions.certificateParams.requestCertificates",
mergedPersonSourceOptionsDataJoinParamsPhoneStalenessSpec:"mergedPersonSourceOptions.dataJoinParams.phoneStalenessSpec",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",mergedPersonSourceOptionsReplaceIantWithGiant:"mergedPersonSourceOptions.replaceIantWithGiant",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",phoneBasedAclParamsReaderPhone:"phoneBasedAclParams.readerPhone",phoneLookupQuotaOptionsQuotaBypassTokenOptions:"phoneLookupQuotaOptions.quotaBypassTokenOptions",phoneLookupQuotaOptionsQuotaBypassTokens:"phoneLookupQuotaOptions.quotaBypassTokens",phoneLookupQuotaOptionsQuotaLimitBehavior:"phoneLookupQuotaOptions.quotaLimitBehavior",phones:"phones",
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",
profileUpdateOptionsNameAbuseOption:"profileUpdateOptions.nameAbuseOption",query:"query",quotaFilterType:"quotaFilterType",quotaUser:"quotaUser",requestConfigContextConfigKey:"requestConfigContext.configKey",requestConfigContextVersion:"requestConfigContext.version",requestMask:"requestMask",requestMaskCustomRequestMask:"requestMask.customRequestMask",requestMaskGuestUserEmailDisplayOption:"requestMask.guestUserEmailDisplayOption",requestMaskImageUrlType:"requestMask.imageUrlType",requestMaskIncludeContainer:"requestMask.includeContainer",
requestMaskIncludeField:"requestMask.includeField",requestMaskIncludePeopleInCommon:"requestMask.includePeopleInCommon",requestMaskPersonAttribute:"requestMask.personAttribute",requestMaskPhotoOptionsPrivateUrlFormat:"requestMask.photoOptions.privateUrlFormat",requestMaskProductContactGroup:"requestMask.productContactGroup",requestOptionsProfilePhotoOptionsCorpHeaderPreference:"requestOptions.profilePhotoOptions.corpHeaderPreference",requestOptionsProfilePhotoOptionsPrivateUrlFormat:"requestOptions.profilePhotoOptions.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"},eJ=function(a,b,c){this.gapiVersion=
a;this.gapiVersion=a==null?"v2":a;this.$apiClient=new WFc(b,c)};eJ.prototype.list=function(a,b){a=a===void 0?{}:a;b=b===void 0?{}:b;return YFc(this.$apiClient,{body:null,httpMethod:"GET",methodId:"people_pa.people.lookup.list",path:"/"+this.gapiVersion+"/people/lookup",queryParams:zMa(a,bGc,b)})};eJ.\u0275fac=function(a){return new (a||eJ)(bh($Fc,8),bh(aGc),bh(UFc,8))};eJ.\u0275prov=Dg({token:eJ,factory:eJ.\u0275fac,providedIn:"root"});var cGc=function(){};
cGc.\u0275fac=function(a){return new (a||cGc)};cGc.\u0275prov=Dg({token:cGc,factory:function(a){return eJ.\u0275fac(a)},providedIn:"root"});var fJ=function(a,b,c){this.gapiVersion=a;this.gapiVersion=a==null?"v2":a;this.$apiClient=new WFc(b,c)};fJ.\u0275fac=function(a){return new (a||fJ)(bh($Fc,8),bh(aGc),bh(UFc,8))};fJ.\u0275prov=Dg({token:fJ,factory:fJ.\u0275fac,providedIn:"root"});var dGc=function(){};dGc.\u0275fac=function(a){return new (a||dGc)};
dGc.\u0275prov=Dg({token:dGc,factory:function(a){return fJ.\u0275fac(a)},providedIn:"root"});var MMa=/.*@google.com/,eGc=new kh("onedevPeopleServiceConfig"),fGc={},gJ=function(){},hGc=function(a,b){return gGc(a,[b]).pipe(C(function(c){return c[0]}))};gJ.\u0275fac=function(a){return new (a||gJ)};gJ.\u0275prov=Dg({token:gJ,factory:gJ.\u0275fac});
var hJ=function(a,b,c){var d=this;this.lookupApiClient=a;this.destroy$=new oj;this.config=fGc;c&&c.pipe(uj(function(e){window.gapi&&e.accessToken&&window.gapi.auth.setToken({access_token:e.accessToken})}),tj(this.destroy$)).subscribe({next:function(e){d.config=e}})};Y(hJ,gJ);
var gGc=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","GOOGLE_GROUP"],sources:["PROFILE_SOURCE"],access_token:a.config.accessToken}).pipe(C(function(c){return QMa(b,c)}))};hJ.prototype.ngOnDestroy=function(){this.destroy$.next()};hJ.\u0275fac=function(a){return new (a||hJ)(bh(cGc),bh(dGc),bh(eGc,8))};
hJ.\u0275prov=Dg({token:hJ,factory:hJ.\u0275fac});var iJ=function(){};iJ.\u0275fac=function(a){return new (a||iJ)};iJ.\u0275mod=Zi({type:iJ});iJ.\u0275inj=Eg({providers:[hJ,{provide:gJ,useExisting:hJ}]});var iGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.dayOfWeek=a.dayOfWeek==null?null:a.dayOfWeek;this.Serializable$values.periodStartMinutes=a.periodStartMinutes==null?null:a.periodStartMinutes;this.Serializable$values.periodEndMinutes=a.periodEndMinutes==null?null:a.periodEndMinutes};Y(iGc,Qp);iGc.prototype.getPartialClassMetadata=function(){return{keys:["dayOfWeek","periodEndMinutes","periodStartMinutes"]}};
pg.Object.defineProperties(iGc.prototype,{dayOfWeek:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"dayOfWeek")?Pp(this,"dayOfWeek"):0},set:function(a){this.Serializable$values.dayOfWeek=a}},periodEndMinutes:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"periodEndMinutes")?Pp(this,"periodEndMinutes"):0},set:function(a){this.Serializable$values.periodEndMinutes=a}},periodStartMinutes:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"periodStartMinutes")?Pp(this,
"periodStartMinutes"):0},set:function(a){this.Serializable$values.periodStartMinutes=a}}});var jGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.userIds=a.userIds==null?null:a.userIds;this.Serializable$values.debugOptions=a.debugOptions==null?null:a.debugOptions};Y(jGc,Qp);jGc.prototype.getPartialClassMetadata=function(){return{arrays:{userIds:jJ},keys:["debugOptions","userIds"],objects:{debugOptions:kGc}}};
pg.Object.defineProperties(jGc.prototype,{debugOptions:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"debugOptions")?Pp(this,"debugOptions"):this.debugOptions=new kGc},set:function(a){this.Serializable$values.debugOptions=a}},userIds:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"userIds")?Pp(this,"userIds"):this.userIds=[]},set:function(a){this.Serializable$values.userIds=a}}});
var lGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.results=a.results==null?null:a.results};Y(lGc,Qp);lGc.prototype.getPartialClassMetadata=function(){return{arrays:{results:mGc},keys:["results"]}};
pg.Object.defineProperties(lGc.prototype,{hasResults:{configurable:!0,enumerable:!0,get:function(){return Pp(this,"results")!==null}},results:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"results")?Pp(this,"results"):this.results=[]},set:function(a){this.Serializable$values.results=a}}});
var nGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.eventSummary=a.eventSummary==null?null:a.eventSummary;this.Serializable$values.occupiedUntil=a.occupiedUntil==null?null:a.occupiedUntil;this.Serializable$values.nextAvailable=a.nextAvailable==null?null:a.nextAvailable;this.Serializable$values.committedUntil=a.committedUntil==null?null:a.committedUntil};Y(nGc,Qp);
nGc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","nextAvailable","occupiedUntil"]}};
pg.Object.defineProperties(nGc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"committedUntil")?Pp(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"eventSummary")?Pp(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"nextAvailable")?Pp(this,
"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"occupiedUntil")?Pp(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});
var oGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.location=a.location==null?null:a.location;this.Serializable$values.geoCoordinates=a.geoCoordinates==null?null:a.geoCoordinates;this.Serializable$values.label=a.label==null?null:a.label};Y(oGc,Qp);oGc.prototype.getPartialClassMetadata=function(){return{keys:["geoCoordinates","label","location"],objects:{geoCoordinates:pGc}}};
pg.Object.defineProperties(oGc.prototype,{geoCoordinates:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"geoCoordinates")?Pp(this,"geoCoordinates"):this.geoCoordinates=new pGc},set:function(a){this.Serializable$values.geoCoordinates=a}},label:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"label")?Pp(this,"label"):""},set:function(a){this.Serializable$values.label=a}},location:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"location")?Pp(this,"location"):
""},set:function(a){this.Serializable$values.location=a}}});var qGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.occupiedUntil=a.occupiedUntil==null?null:a.occupiedUntil;this.Serializable$values.committedUntil=a.committedUntil==null?null:a.committedUntil;this.Serializable$values.nextAvailable=a.nextAvailable==null?null:a.nextAvailable};Y(qGc,Qp);qGc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","nextAvailable","occupiedUntil"]}};
pg.Object.defineProperties(qGc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"committedUntil")?Pp(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"nextAvailable")?Pp(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"occupiedUntil")?Pp(this,
"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var rGc=function(){this.Serializable$values={}};Y(rGc,Qp);rGc.prototype.getPartialClassMetadata=function(){return{keys:[]}};
var sGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.eventSummary=a.eventSummary==null?null:a.eventSummary;this.Serializable$values.inMeetingsUntil=a.inMeetingsUntil==null?null:a.inMeetingsUntil;this.Serializable$values.occupiedUntil=a.occupiedUntil==null?null:a.occupiedUntil;this.Serializable$values.committedUntil=a.committedUntil==null?null:a.committedUntil;this.Serializable$values.nextAvailable=a.nextAvailable==null?null:a.nextAvailable};Y(sGc,Qp);
sGc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","inMeetingsUntil","nextAvailable","occupiedUntil"]}};
pg.Object.defineProperties(sGc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"committedUntil")?Pp(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"eventSummary")?Pp(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},inMeetingsUntil:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"inMeetingsUntil")?Pp(this,
"inMeetingsUntil"):""},set:function(a){this.Serializable$values.inMeetingsUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"nextAvailable")?Pp(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"occupiedUntil")?Pp(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var tGc=function(){this.Serializable$values={}};Y(tGc,Qp);
tGc.prototype.getPartialClassMetadata=function(){return{keys:[]}};var pGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.latitude=a.latitude==null?null:a.latitude;this.Serializable$values.longitude=a.longitude==null?null:a.longitude};Y(pGc,Qp);pGc.prototype.getPartialClassMetadata=function(){return{keys:["latitude","longitude"]}};
pg.Object.defineProperties(pGc.prototype,{latitude:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"latitude")?Pp(this,"latitude"):0},set:function(a){this.Serializable$values.latitude=a}},longitude:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"longitude")?Pp(this,"longitude"):0},set:function(a){this.Serializable$values.longitude=a}}});var uGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.timeZone=a.timeZone==null?null:a.timeZone};
Y(uGc,Qp);uGc.prototype.getPartialClassMetadata=function(){return{keys:["timeZone"]}};pg.Object.defineProperties(uGc.prototype,{timeZone:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"timeZone")?Pp(this,"timeZone"):""},set:function(a){this.Serializable$values.timeZone=a}}});
var vGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.experimentalBuildingId=a.experimentalBuildingId==null?null:a.experimentalBuildingId;this.Serializable$values.experimentalDeskId=a.experimentalDeskId==null?null:a.experimentalDeskId;this.Serializable$values.experimentalFloorId=a.experimentalFloorId==null?null:a.experimentalFloorId;this.Serializable$values.label=a.label==null?null:a.label};Y(vGc,Qp);
vGc.prototype.getPartialClassMetadata=function(){return{keys:["experimentalBuildingId","experimentalDeskId","experimentalFloorId","label"]}};
pg.Object.defineProperties(vGc.prototype,{experimentalBuildingId:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"experimentalBuildingId")?Pp(this,"experimentalBuildingId"):""},set:function(a){this.Serializable$values.experimentalBuildingId=a}},experimentalDeskId:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"experimentalDeskId")?Pp(this,"experimentalDeskId"):""},set:function(a){this.Serializable$values.experimentalDeskId=a}},experimentalFloorId:{configurable:!0,enumerable:!0,
get:function(){return dJ(this,"experimentalFloorId")?Pp(this,"experimentalFloorId"):""},set:function(a){this.Serializable$values.experimentalFloorId=a}},label:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"label")?Pp(this,"label"):""},set:function(a){this.Serializable$values.label=a}}});
var wGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=a.comeBackTime==null?null:a.comeBackTime;this.Serializable$values.eventSummary=a.eventSummary==null?null:a.eventSummary;this.Serializable$values.committedUntil=a.committedUntil==null?null:a.committedUntil};Y(wGc,Qp);wGc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime","committedUntil","eventSummary"]}};
pg.Object.defineProperties(wGc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"comeBackTime")?Pp(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}},committedUntil:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"committedUntil")?Pp(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"eventSummary")?Pp(this,"eventSummary"):
""},set:function(a){this.Serializable$values.eventSummary=a}}});var xGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=a.comeBackTime==null?null:a.comeBackTime};Y(xGc,Qp);xGc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime"]}};
pg.Object.defineProperties(xGc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"comeBackTime")?Pp(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}}});var yGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.code=a.code==null?null:a.code;this.Serializable$values.message=a.message==null?null:a.message;this.Serializable$values.details=a.details==null?null:a.details};Y(yGc,Qp);
yGc.prototype.getPartialClassMetadata=function(){return{keys:["code","details","message"],objectMaps:{details:{ctor:null,isPropertyArray:!0,isSerializable:!1,isValueArray:!1}}}};
pg.Object.defineProperties(yGc.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"code")?Pp(this,"code"):0},set:function(a){this.Serializable$values.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"details")?Pp(this,"details"):this.details=[]},set:function(a){this.Serializable$values.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"message")?Pp(this,"message"):""},set:function(a){this.Serializable$values.message=
a}}});var kJ=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.startTime=a.startTime==null?null:a.startTime;this.Serializable$values.endTime=a.endTime==null?null:a.endTime};Y(kJ,Qp);kJ.prototype.getPartialClassMetadata=function(){return{keys:["endTime","startTime"]}};
pg.Object.defineProperties(kJ.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"endTime")?Pp(this,"endTime"):""},set:function(a){this.Serializable$values.endTime=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"startTime")?Pp(this,"startTime"):""},set:function(a){this.Serializable$values.startTime=a}}});
var zGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.overrideCurrentTime=a.overrideCurrentTime==null?null:a.overrideCurrentTime;this.Serializable$values.computationDuration=a.computationDuration==null?null:a.computationDuration};Y(zGc,Qp);zGc.prototype.getPartialClassMetadata=function(){return{keys:["computationDuration","overrideCurrentTime"]}};
pg.Object.defineProperties(zGc.prototype,{computationDuration:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"computationDuration")?Pp(this,"computationDuration"):""},set:function(a){this.Serializable$values.computationDuration=a}},overrideCurrentTime:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"overrideCurrentTime")?Pp(this,"overrideCurrentTime"):""},set:function(a){this.Serializable$values.overrideCurrentTime=a}}});
var AGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.nextCommitmentTime=a.nextCommitmentTime==null?null:a.nextCommitmentTime;this.Serializable$values.nextCommitmentStatus=a.nextCommitmentStatus==null?null:a.nextCommitmentStatus};Y(AGc,Qp);AGc.prototype.getPartialClassMetadata=function(){return{keys:["nextCommitmentStatus","nextCommitmentTime"],objects:{nextCommitmentStatus:lJ}}};
pg.Object.defineProperties(AGc.prototype,{nextCommitmentStatus:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"nextCommitmentStatus")?Pp(this,"nextCommitmentStatus"):this.nextCommitmentStatus=new lJ},set:function(a){this.Serializable$values.nextCommitmentStatus=a}},nextCommitmentTime:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"nextCommitmentTime")?Pp(this,"nextCommitmentTime"):""},set:function(a){this.Serializable$values.nextCommitmentTime=a}}});
var BGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=a.timeRange==null?null:a.timeRange};Y(BGc,Qp);BGc.prototype.getPartialClassMetadata=function(){return{keys:["timeRange"],objects:{timeRange:kJ}}};pg.Object.defineProperties(BGc.prototype,{timeRange:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"timeRange")?Pp(this,"timeRange"):this.timeRange=new kJ},set:function(a){this.Serializable$values.timeRange=a}}});
var CGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.availabilities=a.availabilities==null?null:a.availabilities;this.Serializable$values.workingHours=a.workingHours==null?null:a.workingHours;this.Serializable$values.nextPollTime=a.nextPollTime==null?null:a.nextPollTime};Y(CGc,Qp);CGc.prototype.getPartialClassMetadata=function(){return{arrays:{availabilities:DGc},keys:["availabilities","nextPollTime","workingHours"],objects:{workingHours:EGc}}};
pg.Object.defineProperties(CGc.prototype,{availabilities:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"availabilities")?Pp(this,"availabilities"):this.availabilities=[]},set:function(a){this.Serializable$values.availabilities=a}},nextPollTime:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"nextPollTime")?Pp(this,"nextPollTime"):""},set:function(a){this.Serializable$values.nextPollTime=a}},workingHours:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"workingHours")?
Pp(this,"workingHours"):this.workingHours=new EGc},set:function(a){this.Serializable$values.workingHours=a}}});var kGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.forceEnableUserStatusCache=a.forceEnableUserStatusCache==null?null:a.forceEnableUserStatusCache;this.Serializable$values.timeSettings=a.timeSettings==null?null:a.timeSettings};Y(kGc,Qp);kGc.prototype.getPartialClassMetadata=function(){return{keys:["forceEnableUserStatusCache","timeSettings"],objects:{timeSettings:zGc}}};
pg.Object.defineProperties(kGc.prototype,{forceEnableUserStatusCache:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"forceEnableUserStatusCache")?Pp(this,"forceEnableUserStatusCache"):!1},set:function(a){this.Serializable$values.forceEnableUserStatusCache=a}},timeSettings:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"timeSettings")?Pp(this,"timeSettings"):this.timeSettings=new zGc},set:function(a){this.Serializable$values.timeSettings=a}}});
var mGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.userId=a.userId==null?null:a.userId;this.Serializable$values.status=a.status==null?null:a.status;this.Serializable$values.userAvailabilities=a.userAvailabilities==null?null:a.userAvailabilities};Y(mGc,Qp);mGc.prototype.getPartialClassMetadata=function(){return{keys:["status","userAvailabilities","userId"],objects:{status:yGc,userAvailabilities:CGc,userId:jJ}}};
pg.Object.defineProperties(mGc.prototype,{hasStatus:{configurable:!0,enumerable:!0,get:function(){return Pp(this,"status")!==null}},status:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"status")?Pp(this,"status"):this.status=new yGc},set:function(a){this.Serializable$values.status=a}},hasUserAvailabilities:{configurable:!0,enumerable:!0,get:function(){return Pp(this,"userAvailabilities")!==null}},userAvailabilities:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"userAvailabilities")?
Pp(this,"userAvailabilities"):this.userAvailabilities=new CGc},set:function(a){this.Serializable$values.userAvailabilities=a}},hasUserId:{configurable:!0,enumerable:!0,get:function(){return Pp(this,"userId")!==null}},userId:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"userId")?Pp(this,"userId"):this.userId=new jJ},set:function(a){this.Serializable$values.userId=a}}});
var DGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=a.timeRange==null?null:a.timeRange;this.Serializable$values.status=a.status==null?null:a.status;this.Serializable$values.contexts=a.contexts==null?null:a.contexts};Y(DGc,Qp);DGc.prototype.getPartialClassMetadata=function(){return{keys:["contexts","status","timeRange"],objects:{contexts:FGc,status:lJ,timeRange:kJ}}};
pg.Object.defineProperties(DGc.prototype,{hasContexts:{configurable:!0,enumerable:!0,get:function(){return Pp(this,"contexts")!==null}},contexts:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"contexts")?Pp(this,"contexts"):this.contexts=new FGc},set:function(a){this.Serializable$values.contexts=a}},hasStatus:{configurable:!0,enumerable:!0,get:function(){return Pp(this,"status")!==null}},status:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"status")?Pp(this,"status"):
this.status=new lJ},set:function(a){this.Serializable$values.status=a}},timeRange:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"timeRange")?Pp(this,"timeRange"):this.timeRange=new kJ},set:function(a){this.Serializable$values.timeRange=a}}});
var FGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.workingElsewhere=a.workingElsewhere==null?null:a.workingElsewhere;this.Serializable$values.upcomingOoo=a.upcomingOoo==null?null:a.upcomingOoo;this.Serializable$values.localTime=a.localTime==null?null:a.localTime;this.Serializable$values.upcomingCommitmentContext=a.upcomingCommitmentContext==null?null:a.upcomingCommitmentContext};Y(FGc,Qp);
FGc.prototype.getPartialClassMetadata=function(){return{keys:["localTime","upcomingCommitmentContext","upcomingOoo","workingElsewhere"],objects:{localTime:uGc,upcomingCommitmentContext:AGc,upcomingOoo:BGc,workingElsewhere:GGc}}};
pg.Object.defineProperties(FGc.prototype,{hasLocalTime:{configurable:!0,enumerable:!0,get:function(){return Pp(this,"localTime")!==null}},localTime:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"localTime")?Pp(this,"localTime"):this.localTime=new uGc},set:function(a){this.Serializable$values.localTime=a}},upcomingCommitmentContext:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"upcomingCommitmentContext")?Pp(this,"upcomingCommitmentContext"):this.upcomingCommitmentContext=
new AGc},set:function(a){this.Serializable$values.upcomingCommitmentContext=a}},upcomingOoo:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"upcomingOoo")?Pp(this,"upcomingOoo"):this.upcomingOoo=new BGc},set:function(a){this.Serializable$values.upcomingOoo=a}},workingElsewhere:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"workingElsewhere")?Pp(this,"workingElsewhere"):this.workingElsewhere=new GGc},set:function(a){this.Serializable$values.workingElsewhere=a}}});
var jJ=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.obfuscatedGaiaId=a.obfuscatedGaiaId==null?null:a.obfuscatedGaiaId;this.Serializable$values.email=a.email==null?null:a.email};Y(jJ,Qp);jJ.prototype.getPartialClassMetadata=function(){return{keys:["email","obfuscatedGaiaId"]}};
pg.Object.defineProperties(jJ.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"email")?Pp(this,"email"):""},set:function(a){this.Serializable$values.email=a}},obfuscatedGaiaId:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"obfuscatedGaiaId")?Pp(this,"obfuscatedGaiaId"):""},set:function(a){this.Serializable$values.obfuscatedGaiaId=a}}});
var HGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.homeLocation=a.homeLocation==null?null:a.homeLocation;this.Serializable$values.customLocation=a.customLocation==null?null:a.customLocation;this.Serializable$values.officeLocation=a.officeLocation==null?null:a.officeLocation};Y(HGc,Qp);HGc.prototype.getPartialClassMetadata=function(){return{keys:["customLocation","homeLocation","officeLocation"],objects:{customLocation:oGc,homeLocation:rGc,officeLocation:vGc}}};
pg.Object.defineProperties(HGc.prototype,{customLocation:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"customLocation")?Pp(this,"customLocation"):this.customLocation=new oGc},set:function(a){this.Serializable$values.customLocation=a}},homeLocation:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"homeLocation")?Pp(this,"homeLocation"):this.homeLocation=new rGc},set:function(a){this.Serializable$values.homeLocation=a}},officeLocation:{configurable:!0,enumerable:!0,get:function(){return dJ(this,
"officeLocation")?Pp(this,"officeLocation"):this.officeLocation=new vGc},set:function(a){this.Serializable$values.officeLocation=a}}});
var lJ=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.inactive=a.inactive==null?null:a.inactive;this.Serializable$values.doNotDisturb=a.doNotDisturb==null?null:a.doNotDisturb;this.Serializable$values.outsideWorkingHours=a.outsideWorkingHours==null?null:a.outsideWorkingHours;this.Serializable$values.outOfOffice=a.outOfOffice==null?null:a.outOfOffice;this.Serializable$values.inMeeting=a.inMeeting==null?null:a.inMeeting;this.Serializable$values.calendarBusy=a.calendarBusy==
null?null:a.calendarBusy};Y(lJ,Qp);lJ.prototype.getPartialClassMetadata=function(){return{keys:"calendarBusy doNotDisturb inMeeting inactive outOfOffice outsideWorkingHours".split(" "),objects:{calendarBusy:nGc,doNotDisturb:qGc,inMeeting:sGc,inactive:tGc,outOfOffice:wGc,outsideWorkingHours:xGc}}};
pg.Object.defineProperties(lJ.prototype,{calendarBusy:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"calendarBusy")?Pp(this,"calendarBusy"):this.calendarBusy=new nGc},set:function(a){this.Serializable$values.calendarBusy=a}},doNotDisturb:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"doNotDisturb")?Pp(this,"doNotDisturb"):this.doNotDisturb=new qGc},set:function(a){this.Serializable$values.doNotDisturb=a}},inMeeting:{configurable:!0,enumerable:!0,get:function(){return dJ(this,
"inMeeting")?Pp(this,"inMeeting"):this.inMeeting=new sGc},set:function(a){this.Serializable$values.inMeeting=a}},inactive:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"inactive")?Pp(this,"inactive"):this.inactive=new tGc},set:function(a){this.Serializable$values.inactive=a}},hasOutOfOffice:{configurable:!0,enumerable:!0,get:function(){return Pp(this,"outOfOffice")!==null}},outOfOffice:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"outOfOffice")?Pp(this,"outOfOffice"):
this.outOfOffice=new wGc},set:function(a){this.Serializable$values.outOfOffice=a}},outsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"outsideWorkingHours")?Pp(this,"outsideWorkingHours"):this.outsideWorkingHours=new xGc},set:function(a){this.Serializable$values.outsideWorkingHours=a}}});var GGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.location=a.location==null?null:a.location};Y(GGc,Qp);
GGc.prototype.getPartialClassMetadata=function(){return{keys:["location"],objects:{location:HGc}}};pg.Object.defineProperties(GGc.prototype,{location:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"location")?Pp(this,"location"):this.location=new HGc},set:function(a){this.Serializable$values.location=a}}});var EGc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.availableTime=a.availableTime==null?null:a.availableTime};Y(EGc,Qp);
EGc.prototype.getPartialClassMetadata=function(){return{arrays:{availableTime:iGc},keys:["availableTime"]}};pg.Object.defineProperties(EGc.prototype,{availableTime:{configurable:!0,enumerable:!0,get:function(){return dJ(this,"availableTime")?Pp(this,"availableTime"):this.availableTime=[]},set:function(a){this.Serializable$values.availableTime=a}}});var IGc=new kh("API_VERSION"),JGc=new kh("REQUEST_SERVICE for waldo_service_api"),mJ=function(){};mJ.\u0275fac=function(a){return new (a||mJ)};
mJ.\u0275mod=Zi({type:mJ});mJ.\u0275inj=Eg({});var KGc={$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"},nJ=function(a,b,c){this.gapiVersion=a;this.gapiVersion=a==null?"v1alpha":a;this.$apiClient=new WFc(b,c)};nJ.\u0275fac=function(a){return new (a||nJ)(bh(IGc,8),bh(JGc),bh(UFc,8))};nJ.\u0275prov=Dg({token:nJ,factory:nJ.\u0275fac});
var LGc=function(){};LGc.\u0275fac=function(a){return new (a||LGc)};LGc.\u0275prov=Dg({token:LGc,factory:function(a){return nJ.\u0275fac(a)},providedIn:mJ});/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
var oJ=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};
oJ.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof oJ&&this.result_.cancel();else{if(this.parent_){var b=this.parent_;delete this.parent_;a?b.cancel(a):(b.branches_--,b.branches_<=0&&b.cancel())}this.onCancelFunction_?this.onCancelFunction_.call(this.defaultScope_,this):this.silentlyCanceled_=!0;this.fired_||this.errback(new MGc(this))}};oJ.prototype.continue_=function(a,b){this.blocked_=!1;NGc(this,a,b)};
var NGc=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;OGc(a)},QGc=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new PGc(a);a.silentlyCanceled_=!1}};oJ.prototype.callback=function(a){QGc(this);NGc(this,!0,a)};oJ.prototype.errback=function(a){QGc(this);NGc(this,!1,a)};oJ.prototype.addCallback=function(a,b){return RGc(this,a,null,b)};oJ.prototype.finally=function(a){var b=this;return SGc(new Promise(function(c,d){RGc(b,function(e){a();c(e)},function(e){a();d(e)})}))};
var RGc=function(a,b,c,d){var e=a.fired_;e||(b===c?b=c=Cv(b):(b=Cv(b),c=Cv(c)));a.sequence_.push([b,c,d]);e&&OGc(a);return a};oJ.prototype.then=function(a,b,c){var d,e,f=new Hv(function(h,k){e=h;d=k});RGc(this,e,function(h){h instanceof MGc?f.cancel():d(h);return TGc},this);return f.then(a,b,c)};oJ.prototype.$goog_Thenable=!0;oJ.prototype.branch=function(a){var b=new oJ;RGc(this,b.callback,b.errback,b);a&&(b.parent_=this,this.branches_++);return b};
oJ.prototype.isError=function(a){return a instanceof Error};
var UGc=function(a){return Sdc(a.sequence_,function(b){return typeof b[1]==="function"})},TGc={},OGc=function(a){if(a.unhandledErrorId_&&a.fired_&&UGc(a)){var b=a.unhandledErrorId_,c=VGc[b];c&&(da.clearTimeout(c.id_),delete VGc[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 k=f.call(e||a.defaultScope_,b);k===TGc&&(k=void 0);k!==void 0&&
(a.hadError_=a.hadError_&&(k==b||a.isError(k)),a.result_=b=k);if(Ygc(b)||typeof da.Promise==="function"&&b instanceof da.Promise)d=!0,a.blocked_=!0}catch(q){b=q,a.hadError_=!0,UGc(a)||(c=!0)}}a.result_=b;d&&(k=ut(a.continue_,a,!0),d=ut(a.continue_,a,!1),b instanceof oJ?(RGc(b,k,d),b.blocking_=!0):b.then(k,d));c&&(b=new WGc(b),VGc[b.id_]=b,a.unhandledErrorId_=b.id_)},SGc=function(a){var b=new oJ;a.then(function(c){b.callback(c)},function(c){b.errback(c)});return b},PGc=function(){ba.call(this)};
Lu(PGc,ba);PGc.prototype.message="Deferred has already fired";PGc.prototype.name="AlreadyCalledError";var MGc=function(){ba.call(this)};Lu(MGc,ba);MGc.prototype.message="Deferred was canceled";MGc.prototype.name="CanceledError";var WGc=function(a){this.id_=da.setTimeout(ut(this.throwError,this),0);this.error_=a};WGc.prototype.throwError=function(){delete VGc[this.id_];throw this.error_;};var VGc={};var VMa=function(a,b){var c=b||{};b=c.document||document;var d=Zc(a).toString(),e=(new wv(b)).createElement("SCRIPT"),f={script_:e,timeout_:void 0},h=new oJ(XGc,f),k=null,q=c.timeout!=null?c.timeout:5E3;q>0&&(k=window.setTimeout(function(){YGc(e,!0);h.errback(new ZGc(1,"Timeout reached for loading script "+d))},q),f.timeout_=k);e.onload=e.onreadystatechange=function(){e.readyState&&e.readyState!="loaded"&&e.readyState!="complete"||(YGc(e,c.cleanupWhenDone||!1,k),h.callback(null))};e.onerror=function(){YGc(e,
!0,k);h.errback(new ZGc(0,"Error while loading script "+d))};f=c.attributes||{};Xda(f,{type:"text/javascript",charset:"UTF-8"});vgc(e,f);kd(e,a);$Gc(b).appendChild(e);return h},$Gc=function(a){var b=xv("HEAD",a);return b&&b.length!==0?b[0]:a.documentElement},XGc=function(){if(this&&this.script_){var a=this.script_;a&&a.tagName=="SCRIPT"&&YGc(a,!0,this.timeout_)}},YGc=function(a,b,c){c!=null&&da.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){Bv(a)},
0)},ZGc=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);ba.call(this,c);this.code=a};Lu(ZGc,ba);var RMa=null,XMa=new WeakMap;var pJ=function(a,b,c,d){c=c===void 0?{}:c;d=d===void 0?{}:d;var e=this;this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c;this.gapiAuthParams=d;this.gapi=wi(function(){return TMa().then(function(f){f=f||window.gapi;e.setGapiConfig(f);return ZMa(f,{apiKey:e.gapiKey,clientId:e.gapiAuthParams.clientId,scope:e.gapiAuthParams.scope}).then(function(){return f})})})};Y(pJ,ZFc);
pJ.prototype.makeRequest=function(a){var b=this;return this.gapi.pipe(ti(function(c){var d=li(void 0);b.gapiAuthParams.minAuthTokenTimeRemaining!==void 0&&(d=di(YMa(c,b.gapiAuthParams.minAuthTokenTimeRemaining)));return d.pipe(ti(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}))}))}))};
pJ.prototype.parseResponse=function(a){return new bi(function(b){a.then(function(c){c.result===!1&&c.body!=null?b.next({data:c.body}):b.next(c.result);b.complete()},function(c){b.error(c.result)})})};pJ.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&WMa(a,b,this.gapiConfigUpdates[b])};var aHc=function(a,b,c,d,e){d=d===void 0?{}:d;e=e===void 0?{}:e;pJ.call(this,a,c,d,e);this.waldoApiKey=b};Y(aHc,pJ);aHc.prototype.makeRequest=function(a){var b=pJ.prototype.makeRequest,c=b.call;(a.queryParams||(a.queryParams={})).key=this.waldoApiKey;return c.call(b,this,a)};var qJ=function(a){var b=this;this.apiStub=a;this.result=new oj;this.destroyed=new nj(1);this.trigger=new oj;this.batchedTrigger=this.trigger.pipe(Hpa(this.trigger.pipe(Gpa(200))));this.responseHandler=function(c){if(c.hasResults){c=l(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){var f=e.status.outOfOffice;if(f.comeBackTime){var h=
f=new Date(f.comeBackTime),k=new Date;f=k.getFullYear()===h.getFullYear()&&k.getMonth()===h.getMonth()&&k.getDate()===h.getDate()?"at "+f.toLocaleString("en-Us",{hour:"numeric",minute:"2-digit",hour12:!0}):"on "+(f.getFullYear()!==(new Date).getFullYear()?f.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric",year:"numeric"}):f.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric"}));f=" - back "+f}else f="";f="Out of Office"+f}else f="";b.result.next({emailAddress:d,
availability:f,timezone:e.hasContexts&&e.contexts.hasLocalTime?e.contexts.localTime.timeZone:""})}else b.result.next({emailAddress:d,availability:"",timezone:""})}}};this.batchedTrigger.pipe(tj(this.destroyed)).subscribe(function(c){c=[].concat(p(new Set(c)));bHc(b,c.slice(0,100));c=l(c.slice(100));for(var d=c.next();!d.done;d=c.next())b.trigger.next(d.value)})},bHc=function(a,b){var c,d;v(function(e){for(var f=new jGc,h=[],k=l(b),q=k.next();!q.done;q=k.next()){q=q.value;var u=new jJ;u.email=q;h.push(u)}f.userIds=
h;c=f;f=a.apiStub;var A=A===void 0?{}:A;var D=D===void 0?{}:D;d=YFc(f.$apiClient,{body:c,httpMethod:"POST",methodId:"waldo_service_api_from_stubby_sandbox.useravailabilities.batchget",path:"/"+f.gapiVersion+"/useravailabilities:batchget",queryParams:zMa(A,KGc,D),responseCtor:lGc});d.pipe(tj(a.destroyed)).subscribe(a.responseHandler);ji(e)})},cHc=function(a,b){if(!b)return li({emailAddress:b,availability:"",timezone:""});a.trigger.next(b);return a.result.pipe(Di(function(c){return c.emailAddress===
b}))},dHc=function(a,b){return cHc(a,b).pipe(C(function(c){return c.availability}))};qJ.prototype.ngOnDestroy=function(){this.destroyed.next()};qJ.\u0275fac=function(a){return new (a||qJ)(bh(LGc))};qJ.\u0275prov=Dg({token:qJ,factory:qJ.\u0275fac});var rJ=function(){var a=this;this.waldoAvailabilityService=x(qJ);this.user="";this.userSubject=new nj(1);this.availability=this.userSubject.pipe(sj(function(b){return dHc(a.waldoAvailabilityService,b)}))};rJ.prototype.ngOnChanges=function(){this.userSubject.next(this.user)};rJ.\u0275fac=function(a){return new (a||rJ)};
rJ.\u0275cmp=F({type:rJ,selectors:[["waldo-availability-chip"]],inputs:{user:"user"},standalone:!1,features:[$w],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&&(G(0,$Ma,6,3,"div",0),W(1,"async"));a&2&&K("ngIf",X(1,1,b.availability))},dependencies:[ny,py],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 eHc=function(a){this.proxiedService=a};Y(eHc,ZFc);eHc.prototype.makeRequest=function(a){var b=this;return wi(function(){return b.proxiedService.makeRequest(a)})};var fHc=new kh("environment"),gHc={"client/cors":!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0},sJ=function(){};sJ.\u0275fac=function(a){return new (a||sJ)};sJ.\u0275mod=Zi({type:sJ});sJ.\u0275inj=Eg({imports:[xy,mJ]});var hHc=RegExp("^((http(s)?):)?\\/\\/((((lh[3-6](-tt|-d[a-g,y,z]|-testonly)?\\.((ggpht)|(googleusercontent)|(google)|(sandbox\\.google)))|(lh7\\-(eu|us|qw|rt)\\.((googleusercontent)|(google)))|((photos|testonly|work)\\.fife\\.usercontent\\.google)|([\\w\\-]+\\.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)|(drive\\.google\\.com\\/drive\\-(usercontent|viewer))|(dp[3-6]\\.googleusercontent\\.cn)|(lh[3-6]\\.(googleadsserving\\.cn|xn--9kr7l\\.com))|((photos|drive|contribution)\\-image\\-(dev|qa)(-us|-eu)?(-auth|-cookie)?\\.corp\\.google\\.com)|(photos\\-image\\-dev\\-dl\\-(auth|eu|us)\\.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)?)|(drive\\-qa\\.corp\\.google\\.com\\/drive\\-(usercontent|viewer)))\\/",
"i"),iHc=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,jHc=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,kHc=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i,lHc=function(a){return hHc.test(a)||iHc.test(a)||jHc.test(a)||kHc.test(a)};var mHc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(mHc,n);g=mHc.prototype;g.getSize=function(){return Yu(this,1)};g.setSize=function(a){return jf(this,1,a)};g.getWidth=function(){return Yu(this,12)};g.setWidth=function(a){return jf(this,12,a)};g.getHeight=function(){return Yu(this,13)};g.setHeight=function(a){return jf(this,13,a)};g.setStretch=function(a){return hf(this,33,a)};g.setCrop=function(a){return hf(this,2,a)};
g.setCircleCrop=function(a){return hf(this,51,a)};g.setImageCrop=function(a){return hf(this,32,a)};g.setSmartCrop=function(a){return hf(this,19,a)};g.setSmartCropNoClip=function(a){return hf(this,52,a)};g.setSmartCropUseFace=function(a){return hf(this,67,a)};g.setDetectFaces=function(a){hf(this,80,a)};g.setCenterCrop=function(a){return hf(this,20,a)};g.setPad=function(a){return hf(this,60,a)};g.setDownload=function(a){hf(this,3,a)};g.setHtml=function(a){hf(this,4,a)};
g.setObjectId=function(a){Qec(this,7,a)};g.setLooseFaceCrop=function(a){return hf(this,65,a)};g.setFaceCropVersion=function(a){jf(this,94,a)};g.setFrameId=function(a){Qec(this,29,a)};g.setTileX=function(a){jf(this,9,a)};g.setTileY=function(a){jf(this,10,a)};g.setTileZoom=function(a){jf(this,11,a)};g.setTileGeneration=function(a){hf(this,14,a)};g.setForceTileGeneration=function(a){hf(this,34,a)};g.setTilePyramidAsProto=function(a){hf(this,72,a)};g.setExpirationTime=function(a){jf(this,15,a)};
g.setExpirationTimeInMinutes=function(a){jf(this,107,a)};g.setImageFilter=function(a){return lf(this,16,a)};g.setKillAnimation=function(a){return hf(this,17,a)};g.setUnfiltered=function(a){hf(this,18,a)};g.setUnfilteredWithTransforms=function(a){hf(this,45,a)};g.setIncludeMetadata=function(a){hf(this,22,a)};g.setIncludePublicMetadata=function(a){hf(this,54,a)};g.setStripGoogleData=function(a){hf(this,82,a)};g.setPreserveGoogleData=function(a){hf(this,83,a)};
g.setStripMetadata=function(a){hf(this,93,a)};g.setStripGeoinfo=function(a){hf(this,95,a)};g.setEsPortraitApprovedOnly=function(a){return hf(this,21,a)};g.setBypassTakedown=function(a){hf(this,23,a)};g.getToken=function(){return xf(this,24)};g.setToken=function(a){lf(this,24,a)};g.setVersionedToken=function(a){lf(this,36,a)};g.setSkipRefererCheck=function(a){hf(this,6,a)};g.setRotate=function(a){return jf(this,26,a)};g.setHorizontalFlip=function(a){hf(this,30,a)};
g.setVerticalFlip=function(a){hf(this,31,a)};g.getOverlay=function(){return bu(this,27)};g.setOverlay=function(a){return hf(this,27,a)};g.setQueryString=function(a){lf(this,28,a)};g.setRequestJpeg=function(a){return hf(this,57,a)};g.setRequestPng=function(a){return hf(this,58,a)};g.setRequestGif=function(a){hf(this,59,a)};g.setRequestAvif=function(a){hf(this,103,a)};g.setRequestWebp=function(a){return hf(this,35,a)};g.setRequestWebpUnlessMaybeTransparent=function(a){hf(this,41,a)};
g.setRequestAnimatedWebp=function(a){hf(this,64,a)};g.setNoWebp=function(a){hf(this,48,a)};g.setRequestH264=function(a){return hf(this,49,a)};g.setLossy=function(a){hf(this,97,a)};g.setNoOverlay=function(a){return hf(this,37,a)};g.setBorderSize=function(a){jf(this,38,a)};g.setBorderRadius=function(a){jf(this,86,a)};g.setBorderColor=function(a){jf(this,39,a)};g.setBackgroundColor=function(a){jf(this,87,a)};g.setPadColor=function(a){jf(this,88,a)};g.setSubstitutionColor=function(a){jf(this,89,a)};
g.setNoSilhouette=function(a){hf(this,40,a)};g.setFocusBlur=function(a){jf(this,42,a)};g.setFocalPlane=function(a){jf(this,43,a)};g.setQualityLevel=function(a){return jf(this,44,a)};g.setQualityBucket=function(a){return jf(this,62,a)};g.setNoUpscale=function(a){hf(this,46,a)};g.setPreserveAspectRatio=function(a){hf(this,61,a)};g.setForceTransformation=function(a){hf(this,50,a)};g.setNoDefaultImage=function(a){hf(this,53,a)};g.setNoCorrectExifOrientation=function(a){hf(this,55,a)};
g.setSelectFrameNumber=function(a){jf(this,56,a)};g.setVideoFormat=function(a){jf(this,63,a)};g.setVideoMultiFormat=function(a){lf(this,81,a)};g.setVideoManifest=function(a){hf(this,98,a)};g.setDownloadVideo=function(a){hf(this,90,a)};g.setVideoBegin=function(a){Ze(this,68,a)};g.setVideoLength=function(a){Ze(this,69,a)};g.setMatchVersion=function(a){hf(this,66,a)};g.setImageDigest=function(a){hf(this,70,a)};g.setInternalClient=function(a){jf(this,71,a)};g.setMonogram=function(a){hf(this,73,a)};
g.setForceMonogram=function(a){return hf(this,84,a)};g.setMonogramDogfood=function(a){hf(this,91,a)};g.setIgnoreLowResProfilePhoto=function(a){hf(this,96,a)};g.setAutoloop=function(a){hf(this,74,a)};g.getImageVersion=function(){return Zu(this,75)};g.setImageVersion=function(a){Ze(this,75,a)};g.setPitchDegrees=function(a){av(this,76,a)};g.setYawDegrees=function(a){av(this,77,a)};g.setRollDegrees=function(a){av(this,78,a)};g.setFovDegrees=function(a){av(this,79,a)};
g.setBadge=function(a){jf(this,85,a)};g.setColorProfile=function(a){jf(this,92,a)};g.setToneMap=function(a){hf(this,113,a)};g.setNoToneMap=function(a){hf(this,114,a)};g.setDeepCrop=function(a){lf(this,99,a)};g.setRequestVideoFast=function(a){hf(this,100,a)};g.setVideoFormatFilters=function(a){lf(this,102,a)};g.setDummyCacheKeyModifier=function(a){hf(this,104,a)};g.setGainMap=function(a){hf(this,105,a)};g.setNoGainMap=function(a){hf(this,106,a)};g.setForceCookieRedirect=function(a){hf(this,108,a)};
g.setStoryboardLevel=function(a){jf(this,109,a)};g.setStoryboardMosaic=function(a){jf(this,110,a)};g.setPregenTimestamps=function(a){lf(this,111,a)};g.setClientExperimentLabel=function(a){lf(this,112,a)};g.setMediaProvenance=function(a){jf(this,115,a)};var tJ=function(a){this.value_=void 0;this.childNodes_={};a&&this.setAll(a)};tJ.prototype.set=function(a,b){nHc(this,a,b,!1)};tJ.prototype.setValue=function(a){this.value_=a};tJ.prototype.add=function(a,b){nHc(this,a,b,!0)};var nHc=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 tJ);a=a.childNodes_[f]}if(d&&a.value_!==void 0)throw Error("Fd`"+b);a.value_=c};
tJ.prototype.setAll=function(a){var b=anc(a);a=$mc(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};var oHc=function(a,b){for(var c=0;c<b.length;c++)if(a=a.childNodes_[b.charAt(c)],!a)return;return a};tJ.prototype.get=function(a){return(a=oHc(this,a))?a.value_:void 0};tJ.prototype.getValues=function(){var a=[];pHc(this,a);return a};var pHc=function(a,b){a.value_!==void 0&&b.push(a.value_);for(var c in a.childNodes_)pHc(a.childNodes_[c],b)};
tJ.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]}qHc(c,a,b)}else qHc(this,"",b);return b};var qHc=function(a,b,c){a.value_!==void 0&&c.push(b);for(var d in a.childNodes_)qHc(a.childNodes_[d],b+d,c)};g=tJ.prototype;g.containsKey=function(a){return this.get(a)!==void 0};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("Gd`"+a);c.push([b,e]);b=b.childNodes_[e]}a=b.value_;for(delete b.value_;c.length>0;)if(d=c.pop(),b=d[0],d=d[1],b.childNodes_[d].isEmpty())delete b.childNodes_[d];else break;return a};g.clone=function(){return new tJ(this)};
g.getCount=function(){var a=this.getValues();if(a.getCount&&typeof a.getCount=="function")a=a.getCount();else if(Ka(a)||typeof a==="string")a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a};g.isEmpty=function(){return this.value_===void 0&&Tc(this.childNodes_)};var tHc=function(){if(!rHc){var a=rHc=new tJ,b;for(b in sHc)a.add(b,sHc[b])}},rHc,uJ=function(a,b){this.types=a;this.setters=b},sHc={a:new uJ([3,0],[function(a,b){a.setEsPortraitApprovedOnly(b)},function(a,b){a.setSelectFrameNumber(b)}]),al:new uJ([3],[function(a,b){a.setAutoloop(b)}]),b:new uJ([3,0],[function(a,b){a.setBypassTakedown(b)},function(a,b){a.setBorderSize(b)}]),ba:new uJ([0],[function(a,b){a.setBadge(b)}]),bc:new uJ([0],[function(a,b){a.setBackgroundColor(b)}]),br:new uJ([0],[function(a,
b){a.setBorderRadius(b)}]),c:new uJ([3,0],[function(a,b){a.setCrop(b)},function(a,b){a.setBorderColor(b)}]),cc:new uJ([3],[function(a,b){a.setCircleCrop(b)}]),ci:new uJ([3],[function(a,b){a.setImageCrop(b)}]),ckm:new uJ([3],[function(a,b){a.setDummyCacheKeyModifier(b)}]),cp:new uJ([0],[function(a,b){a.setColorProfile(b)}]),cr:new uJ([3],[function(a,b){a.setForceCookieRedirect(b)}]),cv:new uJ([0],[function(a,b){a.setFaceCropVersion(b)}]),d:new uJ([3],[function(a,b){a.setDownload(b)}]),dc:new uJ([5],
[function(a,b){a.setDeepCrop(b)}]),df:new uJ([3],[function(a,b){a.setDetectFaces(b)}]),dv:new uJ([3],[function(a,b){a.setDownloadVideo(b)}]),e:new uJ([0],[function(a,b){a.setExpirationTime(b)}]),em:new uJ([0],[function(a,b){a.setExpirationTimeInMinutes(b)}]),f:new uJ([4],[function(a,b){a.setImageFilter(b)}]),fg:new uJ([3],[function(a,b){a.setForceTileGeneration(b)}]),fh:new uJ([3],[function(a,b){a.setHorizontalFlip(b)}]),fm:new uJ([3],[function(a,b){a.setForceMonogram(b)}]),fo:new uJ([2],[function(a,
b){a.setFovDegrees(b)}]),ft:new uJ([3],[function(a,b){a.setForceTransformation(b)}]),fv:new uJ([3],[function(a,b){a.setVerticalFlip(b)}]),g:new uJ([3],[function(a,b){a.setTileGeneration(b)}]),gce:new uJ([4],[function(a,b){a.setClientExperimentLabel(b)}]),gd:new uJ([3],[function(a,b){a.setPreserveGoogleData(b)}]),gm:new uJ([3],[function(a,b){a.setGainMap(b)}]),h:new uJ([3,0],[function(a,b){a.setHtml(b)},function(a,b){a.setHeight(b)}]),i:new uJ([3],[function(a,b){a.setIncludeMetadata(b)}]),ic:new uJ([0],
[function(a,b){a.setInternalClient(b)}]),id:new uJ([3],[function(a,b){a.setImageDigest(b)}]),il:new uJ([3],[function(a,b){a.setIgnoreLowResProfilePhoto(b)}]),ip:new uJ([3],[function(a,b){a.setIncludePublicMetadata(b)}]),iv:new uJ([0],[function(a,b){a.setImageVersion(b)}]),j:new uJ([1],[function(a,b){a.setFrameId(b)}]),k:new uJ([3,0],[function(a,b){a.setKillAnimation(b)},function(a,b){a.setFocusBlur(b)}]),l:new uJ([0],[function(a,b){a.setQualityLevel(b)}]),lf:new uJ([3],[function(a,b){a.setLooseFaceCrop(b)}]),
lo:new uJ([3],[function(a,b){a.setLossy(b)}]),m:new uJ([0],[function(a,b){a.setVideoFormat(b)}]),md:new uJ([3],[function(a,b){a.setMonogramDogfood(b)}]),mm:new uJ([4],[function(a,b){a.setVideoMultiFormat(b)}]),mo:new uJ([3],[function(a,b){a.setMonogram(b)}]),mp:new uJ([0],[function(a,b){a.setMediaProvenance(b)}]),mv:new uJ([3],[function(a,b){a.setMatchVersion(b)}]),n:new uJ([3],[function(a,b){a.setCenterCrop(b)}]),nc:new uJ([3],[function(a,b){a.setNoCorrectExifOrientation(b)}]),nd:new uJ([3],[function(a,
b){a.setNoDefaultImage(b)}]),ng:new uJ([3],[function(a,b){a.setStripGeoinfo(b)}]),ngm:new uJ([3],[function(a,b){a.setNoGainMap(b)}]),no:new uJ([3],[function(a,b){a.setNoOverlay(b)}]),ns:new uJ([3],[function(a,b){a.setNoSilhouette(b)}]),nt0:new uJ([4],[function(a,b){a.setVersionedToken(b)}]),ntm:new uJ([3],[function(a,b){a.setNoToneMap(b)}]),nu:new uJ([3],[function(a,b){a.setNoUpscale(b)}]),nw:new uJ([3],[function(a,b){a.setNoWebp(b)}]),o:new uJ([1,3],[function(a,b){a.setObjectId(b)},function(a,b){a.setOverlay(b)}]),
p:new uJ([3,0],[function(a,b){a.setSmartCrop(b)},function(a,b){a.setFocalPlane(b)}]),pa:new uJ([3],[function(a,b){a.setPreserveAspectRatio(b)}]),pc:new uJ([0],[function(a,b){a.setPadColor(b)}]),pd:new uJ([3],[function(a,b){a.setPad(b)}]),pf:new uJ([3],[function(a,b){a.setSmartCropUseFace(b)}]),pg:new uJ([3],[function(a,b){a.setTilePyramidAsProto(b)}]),pi:new uJ([2],[function(a,b){a.setPitchDegrees(b)}]),pp:new uJ([3],[function(a,b){a.setSmartCropNoClip(b)}]),pt:new uJ([4],[function(a,b){a.setPregenTimestamps(b)}]),
q:new uJ([4],[function(a,b){a.setQueryString(b)}]),r:new uJ([3,0],[function(a,b){a.setSkipRefererCheck(b)},function(a,b){a.setRotate(b)}]),ra:new uJ([3],[function(a,b){a.setRequestAvif(b)}]),rf:new uJ([3],[function(a,b){a.setRequestVideoFast(b)}]),rg:new uJ([3],[function(a,b){a.setRequestGif(b)}]),rh:new uJ([3],[function(a,b){a.setRequestH264(b)}]),rj:new uJ([3],[function(a,b){a.setRequestJpeg(b)}]),ro:new uJ([2],[function(a,b){a.setRollDegrees(b)}]),rp:new uJ([3],[function(a,b){a.setRequestPng(b)}]),
rw:new uJ([3],[function(a,b){a.setRequestWebp(b)}]),rwa:new uJ([3],[function(a,b){a.setRequestAnimatedWebp(b)}]),rwu:new uJ([3],[function(a,b){a.setRequestWebpUnlessMaybeTransparent(b)}]),s:new uJ([3,0],[function(a,b){a.setStretch(b)},function(a,b){a.setSize(b)}]),sb:new uJ([0],[function(a,b){a.setStoryboardMosaic(b)}]),sc:new uJ([0],[function(a,b){a.setSubstitutionColor(b)}]),sg:new uJ([3],[function(a,b){a.setStripGoogleData(b)}]),sl:new uJ([0],[function(a,b){a.setStoryboardLevel(b)}]),sm:new uJ([3],
[function(a,b){a.setStripMetadata(b)}]),t:new uJ([4],[function(a,b){a.setToken(b)}]),tm:new uJ([3],[function(a,b){a.setToneMap(b)}]),u:new uJ([3],[function(a,b){a.setUnfiltered(b)}]),ut:new uJ([3],[function(a,b){a.setUnfilteredWithTransforms(b)}]),v:new uJ([0],[function(a,b){a.setQualityBucket(b)}]),vb:new uJ([0],[function(a,b){a.setVideoBegin(b)}]),vf:new uJ([4],[function(a,b){a.setVideoFormatFilters(b)}]),vl:new uJ([0],[function(a,b){a.setVideoLength(b)}]),vm:new uJ([3],[function(a,b){a.setVideoManifest(b)}]),
w:new uJ([0],[function(a,b){a.setWidth(b)}]),x:new uJ([0],[function(a,b){a.setTileX(b)}]),y:new uJ([0],[function(a,b){a.setTileY(b)}]),ya:new uJ([2],[function(a,b){a.setYawDegrees(b)}]),z:new uJ([0],[function(a,b){a.setTileZoom(b)}])};
tHc.prototype.parse=function(a){var b=new mHc,c=new mHc;if(a=="")a=!0;else{a=a.split("-");for(var d=!0,e=0;e<a.length;e++){var f=a[e];if(f.length==0)d=!1;else{var h=f,k=!1;var q=h;var u=h.charAt(0);u!=u.toLowerCase()&&(k=!0,q=h.charAt(0).toLowerCase()+h.substring(1));var A=rHc;for(u=1;u<=q.length;++u){var D=A,H=q.substring(0,u);if(H.length==0?D.isEmpty():!oHc(D,H))break}q=u==1?null:(q=A.get(q.substring(0,u-1)))?{option:h.substring(0,u-1),value:h.substring(u-1),signed:k,attributes:q}:null;if(q){h=
[];k=[];u=!1;for(A=0;A<q.attributes.types.length;A++){D=q.attributes.types[A];var O=q.value;H=e;if(q.signed&&D==1)for(var P=O.length;P<12&&H<a.length-1;)O+="-"+a[H+1],P=O.length,++H;else if(D==2)for(;H<a.length-1&&a[H+1].match(/^[\d\.]/);)O+="-"+a[H+1],++H;P=q.attributes.setters[A];O=uHc(this,D)(q.option,O,b,c,P);if(O===null){u=!0;e=H;break}else h.push(D),k.push(O)}if(!u)for(q=0;q<k.length;q++)A=h[q],O=k[q],vHc(this,A)(f,O);d=d&&u}else d=!1}}a=d}return new wHc(b,c,a)};
var xHc=function(a,b,c,d,e,f){e(c,b);a=a.charAt(0);f=f(a==a.toUpperCase());e(d,f)};g=tHc.prototype;g.parseAndSetIntOption_=function(a,b,c,d,e){if(b=="")return 0;b=Bd(b);if(isNaN(b))return 1;xHc(a,b,c,d,e,Number);return null};g.logIntParseError_=function(){};g.parseAndSetFloatOption_=function(a,b,c,d,e){if(b=="")return 0;b=$k(b);if(isNaN(b))return 1;xHc(a,b,c,d,e,Number);return null};g.logFloatParseError_=function(){};
g.parseAndSetBoolOption_=function(a,b,c,d,e){if(b!="")return 2;xHc(a,!0,c,d,e,Boolean);return null};g.logBoolParseError_=function(){};g.parseAndSetStringOption_=function(a,b,c,d,e){if(b=="")return 0;xHc(a,b,c,d,e,function(f){return f?"1":""});return null};g.logStringParseError_=function(){};g.parseAndSetUint64Base64Option_=function(a,b,c,d,e){if(b=="")return 0;xHc(a,b,c,d,e,function(f){return f?1:0});return null};
var uHc=function(a,b){switch(b){case 0:return ut(a.parseAndSetIntOption_,a);case 2:return ut(a.parseAndSetFloatOption_,a);case 3:return ut(a.parseAndSetBoolOption_,a);case 4:return ut(a.parseAndSetStringOption_,a);case 1:return ut(a.parseAndSetUint64Base64Option_,a);default:return function(){}}},vHc=function(a,b){switch(b){case 0:return ut(a.logIntParseError_,a);case 2:return ut(a.logFloatParseError_,a);case 3:return ut(a.logBoolParseError_,a);case 4:case 1:return ut(a.logStringParseError_,a);default:return function(){}}},
wHc=function(a,b,c){this.valueProto_=a;this.signatureFlagProto_=b;this.valid_=c};wHc.prototype.isValid=function(){return this.valid_};g=aNa.prototype;g.buffer_="";g.set=function(a){this.buffer_=""+a};g.append=function(a,b,c){this.buffer_+=String(a);if(b!=null)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 bNa=function(a){this.parser_=null;this.components_=[];this.parsedOptions_=null;yHc(this,a)};bNa.prototype.getParsedOptions=function(){return this.parsedOptions_};var zHc=function(a){a.parser_==null&&(a.parser_=new tHc);return a.parser_},yHc=function(a,b){a.parsedOptions_=b?typeof b==="string"?zHc(a).parse(b):b:zHc(a).parse("")},vJ=function(a,b){return a==b?!1:!0};g=bNa.prototype;
g.setEsPortraitApprovedOnly=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,21),bu(b.signatureFlagProto_,21))&&c.setEsPortraitApprovedOnly(a);return this};g.setSelectFrameNumber=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,56),Yu(b.signatureFlagProto_,56))&&c.setSelectFrameNumber(a)};g.setAutoloop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,74),bu(b.signatureFlagProto_,74))&&c.setAutoloop(a)};
g.setBypassTakedown=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,23),De(b.signatureFlagProto_,23))&&c.setBypassTakedown(a)};g.setBorderSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,38),Yu(b.signatureFlagProto_,38))&&c.setBorderSize(a)};g.setBadge=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,85),Yu(b.signatureFlagProto_,85))&&c.setBadge(a)};
g.setBackgroundColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,87),Yu(b.signatureFlagProto_,87))&&c.setBackgroundColor(a)};g.setBorderRadius=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,86),Yu(b.signatureFlagProto_,86))&&c.setBorderRadius(a)};g.setCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,2),De(b.signatureFlagProto_,2))&&c.setCrop(a);return this};
g.setBorderColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,39),Yu(b.signatureFlagProto_,39))&&c.setBorderColor(a)};g.setCircleCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,51),bu(b.signatureFlagProto_,51))&&c.setCircleCrop(a);return this};g.setImageCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,32),bu(b.signatureFlagProto_,32))&&c.setImageCrop(a);return this};
g.setDummyCacheKeyModifier=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,104),bu(b.signatureFlagProto_,104))&&c.setDummyCacheKeyModifier(a)};g.setColorProfile=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,92),Yu(b.signatureFlagProto_,92))&&c.setColorProfile(a)};g.setForceCookieRedirect=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,108),bu(b.signatureFlagProto_,108))&&c.setForceCookieRedirect(a)};
g.setFaceCropVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,94),Yu(b.signatureFlagProto_,94))&&c.setFaceCropVersion(a)};g.setDownload=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,3),De(b.signatureFlagProto_,3))&&c.setDownload(a)};g.setDeepCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,xf(c,99),xf(b.signatureFlagProto_,99))&&c.setDeepCrop(a)};
g.setDetectFaces=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,80),bu(b.signatureFlagProto_,80))&&c.setDetectFaces(a)};g.setDownloadVideo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,90),bu(b.signatureFlagProto_,90))&&c.setDownloadVideo(a)};g.setExpirationTime=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,15),Yu(b.signatureFlagProto_,15))&&c.setExpirationTime(a)};
g.setExpirationTimeInMinutes=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,107),Yu(b.signatureFlagProto_,107))&&c.setExpirationTimeInMinutes(a)};g.setImageFilter=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,xf(c,16),xf(b.signatureFlagProto_,16))&&c.setImageFilter(a);return this};g.setForceTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,34),De(b.signatureFlagProto_,34))&&c.setForceTileGeneration(a)};
g.setHorizontalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,30),bu(b.signatureFlagProto_,30))&&c.setHorizontalFlip(a)};g.setForceMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,84),bu(b.signatureFlagProto_,84))&&c.setForceMonogram(a);return this};g.setFovDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,$u(c,79),$u(b.signatureFlagProto_,79))&&c.setFovDegrees(a)};
g.setForceTransformation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,50),bu(b.signatureFlagProto_,50))&&c.setForceTransformation(a)};g.setVerticalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,31),bu(b.signatureFlagProto_,31))&&c.setVerticalFlip(a)};g.setTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,14),De(b.signatureFlagProto_,14))&&c.setTileGeneration(a)};
g.setClientExperimentLabel=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,xf(c,112),xf(b.signatureFlagProto_,112))&&c.setClientExperimentLabel(a)};g.setPreserveGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,83),bu(b.signatureFlagProto_,83))&&c.setPreserveGoogleData(a)};g.setGainMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,105),bu(b.signatureFlagProto_,105))&&c.setGainMap(a)};
g.setHtml=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,4),De(b.signatureFlagProto_,4))&&c.setHtml(a)};g.setHeight=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(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_;vJ(a,bu(c,22),bu(b.signatureFlagProto_,22))&&c.setIncludeMetadata(a)};
g.setInternalClient=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,71),Yu(b.signatureFlagProto_,71))&&c.setInternalClient(a)};g.setImageDigest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,70),bu(b.signatureFlagProto_,70))&&c.setImageDigest(a)};g.setIgnoreLowResProfilePhoto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,96),bu(b.signatureFlagProto_,96))&&c.setIgnoreLowResProfilePhoto(a)};
g.setIncludePublicMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,54),bu(b.signatureFlagProto_,54))&&c.setIncludePublicMetadata(a)};g.setImageVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,c.getImageVersion(),b.signatureFlagProto_.getImageVersion())&&c.setImageVersion(a)};g.setFrameId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Su(c,29,lu),Su(b.signatureFlagProto_,29,lu))&&c.setFrameId(a)};
g.setKillAnimation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,17),bu(b.signatureFlagProto_,17))&&c.setKillAnimation(a);return this};g.setFocusBlur=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,42),Yu(b.signatureFlagProto_,42))&&c.setFocusBlur(a)};g.setQualityLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,44),Yu(b.signatureFlagProto_,44))&&c.setQualityLevel(a);return this};
g.setLooseFaceCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,65),bu(b.signatureFlagProto_,65))&&c.setLooseFaceCrop(a);return this};g.setLossy=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,97),bu(b.signatureFlagProto_,97))&&c.setLossy(a)};g.setVideoFormat=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,63),Yu(b.signatureFlagProto_,63))&&c.setVideoFormat(a)};
g.setMonogramDogfood=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,91),bu(b.signatureFlagProto_,91))&&c.setMonogramDogfood(a)};g.setVideoMultiFormat=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,xf(c,81),xf(b.signatureFlagProto_,81))&&c.setVideoMultiFormat(a)};g.setMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,73),bu(b.signatureFlagProto_,73))&&c.setMonogram(a)};
g.setMediaProvenance=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,115),Yu(b.signatureFlagProto_,115))&&c.setMediaProvenance(a)};g.setMatchVersion=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,66),bu(b.signatureFlagProto_,66))&&c.setMatchVersion(a)};g.setCenterCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,20),De(b.signatureFlagProto_,20))&&c.setCenterCrop(a);return this};
g.setNoCorrectExifOrientation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,55),bu(b.signatureFlagProto_,55))&&c.setNoCorrectExifOrientation(a)};g.setNoDefaultImage=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,53),bu(b.signatureFlagProto_,53))&&c.setNoDefaultImage(a)};g.setStripGeoinfo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,95),bu(b.signatureFlagProto_,95))&&c.setStripGeoinfo(a)};
g.setNoGainMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,106),bu(b.signatureFlagProto_,106))&&c.setNoGainMap(a)};g.setNoOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,37),De(b.signatureFlagProto_,37))&&c.setNoOverlay(a);return this};g.setNoSilhouette=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,40),bu(b.signatureFlagProto_,40))&&c.setNoSilhouette(a)};
g.setVersionedToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,xf(c,36),xf(b.signatureFlagProto_,36))&&c.setVersionedToken(a)};g.setNoToneMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,114),bu(b.signatureFlagProto_,114))&&c.setNoToneMap(a)};g.setNoUpscale=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,46),bu(b.signatureFlagProto_,46))&&c.setNoUpscale(a)};
g.setNoWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,48),De(b.signatureFlagProto_,48))&&c.setNoWebp(a)};g.setObjectId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Su(c,7,lu),Su(b.signatureFlagProto_,7,lu))&&c.setObjectId(a)};g.setOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(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_;vJ(a,De(c,19),De(b.signatureFlagProto_,19))&&c.setSmartCrop(a);return this};g.setFocalPlane=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,43),Yu(b.signatureFlagProto_,43))&&c.setFocalPlane(a)};g.setPreserveAspectRatio=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,61),bu(b.signatureFlagProto_,61))&&c.setPreserveAspectRatio(a)};
g.setPadColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,88),Yu(b.signatureFlagProto_,88))&&c.setPadColor(a)};g.setPad=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,60),bu(b.signatureFlagProto_,60))&&c.setPad(a);return this};g.setSmartCropUseFace=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,67),De(b.signatureFlagProto_,67))&&c.setSmartCropUseFace(a);return this};
g.setTilePyramidAsProto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,72),De(b.signatureFlagProto_,72))&&c.setTilePyramidAsProto(a)};g.setPitchDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,$u(c,76),$u(b.signatureFlagProto_,76))&&c.setPitchDegrees(a)};g.setSmartCropNoClip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,52),De(b.signatureFlagProto_,52))&&c.setSmartCropNoClip(a);return this};
g.setPregenTimestamps=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,xf(c,111),xf(b.signatureFlagProto_,111))&&c.setPregenTimestamps(a)};g.setQueryString=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,xf(c,28),xf(b.signatureFlagProto_,28))&&c.setQueryString(a)};g.setSkipRefererCheck=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,6),De(b.signatureFlagProto_,6))&&c.setSkipRefererCheck(a)};
g.setRotate=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,26),Yu(b.signatureFlagProto_,26))&&c.setRotate(a);return this};g.setRequestAvif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,103),De(b.signatureFlagProto_,103))&&c.setRequestAvif(a)};g.setRequestVideoFast=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,100),bu(b.signatureFlagProto_,100))&&c.setRequestVideoFast(a)};
g.setRequestGif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,59),bu(b.signatureFlagProto_,59))&&c.setRequestGif(a)};g.setRequestH264=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,49),De(b.signatureFlagProto_,49))&&c.setRequestH264(a);return this};g.setRequestJpeg=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,57),bu(b.signatureFlagProto_,57))&&c.setRequestJpeg(a);return this};
g.setRollDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,$u(c,78),$u(b.signatureFlagProto_,78))&&c.setRollDegrees(a)};g.setRequestPng=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,58),bu(b.signatureFlagProto_,58))&&c.setRequestPng(a);return this};g.setRequestWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,35),De(b.signatureFlagProto_,35))&&c.setRequestWebp(a);return this};
g.setRequestAnimatedWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,64),De(b.signatureFlagProto_,64))&&c.setRequestAnimatedWebp(a)};g.setRequestWebpUnlessMaybeTransparent=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,De(c,41),De(b.signatureFlagProto_,41))&&c.setRequestWebpUnlessMaybeTransparent(a)};g.setStretch=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,33),bu(b.signatureFlagProto_,33))&&c.setStretch(a);return this};
g.setSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,c.getSize(),b.signatureFlagProto_.getSize())&&c.setSize(a);return this};g.setStoryboardMosaic=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,110),Yu(b.signatureFlagProto_,110))&&c.setStoryboardMosaic(a)};g.setSubstitutionColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,89),Yu(b.signatureFlagProto_,89))&&c.setSubstitutionColor(a)};
g.setStripGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,82),bu(b.signatureFlagProto_,82))&&c.setStripGoogleData(a)};g.setStoryboardLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,109),Yu(b.signatureFlagProto_,109))&&c.setStoryboardLevel(a)};g.setStripMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,93),bu(b.signatureFlagProto_,93))&&c.setStripMetadata(a)};
g.setToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,c.getToken(),b.signatureFlagProto_.getToken())&&c.setToken(a)};g.setToneMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,113),bu(b.signatureFlagProto_,113))&&c.setToneMap(a)};g.setUnfiltered=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,18),bu(b.signatureFlagProto_,18))&&c.setUnfiltered(a)};
g.setUnfilteredWithTransforms=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,45),bu(b.signatureFlagProto_,45))&&c.setUnfilteredWithTransforms(a)};g.setQualityBucket=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,62),Yu(b.signatureFlagProto_,62))&&c.setQualityBucket(a);return this};g.setVideoBegin=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Zu(c,68),Zu(b.signatureFlagProto_,68))&&c.setVideoBegin(a)};
g.setVideoFormatFilters=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,xf(c,102),xf(b.signatureFlagProto_,102))&&c.setVideoFormatFilters(a)};g.setVideoLength=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Zu(c,69),Zu(b.signatureFlagProto_,69))&&c.setVideoLength(a)};g.setVideoManifest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;vJ(a,bu(c,98),bu(b.signatureFlagProto_,98))&&c.setVideoManifest(a)};
g.setWidth=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,c.getWidth(),b.signatureFlagProto_.getWidth())&&c.setWidth(a);return this};g.setTileX=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,9),Yu(b.signatureFlagProto_,9))&&c.setTileX(a)};g.setTileY=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,10),Yu(b.signatureFlagProto_,10))&&c.setTileY(a)};
g.setYawDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,$u(c,77),$u(b.signatureFlagProto_,77))&&c.setYawDegrees(a)};g.setTileZoom=function(a){var b=this.parsedOptions_,c=b.valueProto_;vJ(a,Yu(c,11),Yu(b.signatureFlagProto_,11))&&c.setTileZoom(a)};g.setOptions=function(a){yHc(this,a)};
g.build=function(){this.components_.length=0;var a=this.parsedOptions_,b=a.valueProto_;a=a.signatureFlagProto_;wJ(this,"s",b.getSize(),a.getSize());wJ(this,"w",b.getWidth(),a.getWidth());xJ(this,"c",De(b,2),De(a,2));xJ(this,"d",De(b,3),De(a,3));wJ(this,"h",b.getHeight(),a.getHeight());xJ(this,"s",bu(b,33),bu(a,33));xJ(this,"h",De(b,4),De(a,4));xJ(this,"p",De(b,19),De(a,19));xJ(this,"pp",De(b,52),De(a,52));xJ(this,"pf",De(b,67),De(a,67));xJ(this,"n",De(b,20),De(a,20));wJ(this,"r",Yu(b,26),Yu(a,26));
xJ(this,"r",De(b,6),De(a,6));xJ(this,"o",b.getOverlay(),a.getOverlay());var c=Su(b,7,lu);yJ(this,"o",c,Su(a,7,lu));c=Su(b,29,lu);yJ(this,"j",c,Su(a,29,lu));wJ(this,"x",Yu(b,9),Yu(a,9));wJ(this,"y",Yu(b,10),Yu(a,10));wJ(this,"z",Yu(b,11),Yu(a,11));xJ(this,"g",De(b,14),De(a,14));wJ(this,"e",Yu(b,15),Yu(a,15));yJ(this,"f",xf(b,16),xf(a,16));xJ(this,"k",bu(b,17),bu(a,17));xJ(this,"u",bu(b,18),!0);xJ(this,"ut",bu(b,45),!0);xJ(this,"i",bu(b,22),!0);xJ(this,"a",bu(b,21),bu(a,21));xJ(this,"b",De(b,23),De(a,
23));wJ(this,"b",Yu(b,38),Yu(a,38));wJ(this,"c",Yu(b,39),Yu(a,39),16,8);yJ(this,"q",xf(b,28),xf(a,28));xJ(this,"fh",bu(b,30),bu(a,30));xJ(this,"fv",bu(b,31),bu(a,31));xJ(this,"fg",De(b,34),De(a,34));xJ(this,"ci",bu(b,32),bu(a,32));yJ(this,"t",b.getToken(),a.getToken());yJ(this,"nt0",xf(b,36),xf(a,36));xJ(this,"rw",De(b,35),De(a,35));xJ(this,"rwu",De(b,41),De(a,41));xJ(this,"rwa",De(b,64),De(a,64));xJ(this,"nw",De(b,48),De(a,48));xJ(this,"rh",De(b,49),De(a,49));xJ(this,"no",De(b,37),De(a,37));xJ(this,
"ns",bu(b,40),bu(a,40));wJ(this,"k",Yu(b,42),Yu(a,42));wJ(this,"p",Yu(b,43),Yu(a,43));wJ(this,"l",Yu(b,44),Yu(a,44));wJ(this,"v",Yu(b,62),Yu(a,62));xJ(this,"nu",bu(b,46),bu(a,46));xJ(this,"ft",bu(b,50),bu(a,50));xJ(this,"cc",bu(b,51),bu(a,51));xJ(this,"nd",bu(b,53),bu(a,53));xJ(this,"ip",bu(b,54),bu(a,54));xJ(this,"nc",bu(b,55),bu(a,55));wJ(this,"a",Yu(b,56),Yu(a,56));xJ(this,"rj",bu(b,57),bu(a,57));xJ(this,"rp",bu(b,58),bu(a,58));xJ(this,"rg",bu(b,59),bu(a,59));xJ(this,"pd",bu(b,60),bu(a,60));xJ(this,
"pa",bu(b,61),bu(a,61));wJ(this,"m",Yu(b,63),Yu(a,63));wJ(this,"vb",Zu(b,68),Zu(a,68));wJ(this,"vl",Zu(b,69),Zu(a,69));xJ(this,"lf",bu(b,65),bu(a,65));xJ(this,"mv",bu(b,66),bu(a,66));xJ(this,"id",bu(b,70),bu(a,70));wJ(this,"ic",Yu(b,71),!0);xJ(this,"pg",De(b,72),De(a,72));xJ(this,"mo",bu(b,73),bu(a,73));xJ(this,"al",bu(b,74),bu(a,74));wJ(this,"iv",b.getImageVersion(),a.getImageVersion());wJ(this,"pi",$u(b,76),$u(a,76));wJ(this,"ya",$u(b,77),$u(a,77));wJ(this,"ro",$u(b,78),$u(a,78));wJ(this,"fo",$u(b,
79),$u(a,79));xJ(this,"df",bu(b,80),bu(a,80));yJ(this,"mm",xf(b,81),xf(a,81));xJ(this,"sg",bu(b,82),bu(a,82));xJ(this,"gd",bu(b,83),bu(a,83));xJ(this,"fm",bu(b,84),bu(a,84));wJ(this,"ba",Yu(b,85),Yu(a,85));wJ(this,"br",Yu(b,86),Yu(a,86));wJ(this,"bc",Yu(b,87),Yu(a,87),16,8);wJ(this,"pc",Yu(b,88),Yu(a,88),16,8);wJ(this,"sc",Yu(b,89),Yu(a,89),16,8);xJ(this,"dv",bu(b,90),bu(a,90));xJ(this,"md",bu(b,91),bu(a,91));wJ(this,"cp",Yu(b,92),Yu(a,92));xJ(this,"sm",bu(b,93),bu(a,93));wJ(this,"cv",Yu(b,94),Yu(a,
94));xJ(this,"ng",bu(b,95),bu(a,95));xJ(this,"il",bu(b,96),bu(a,96));xJ(this,"lo",bu(b,97),bu(a,97));xJ(this,"vm",bu(b,98),bu(a,98));yJ(this,"dc",xf(b,99),xf(a,99));xJ(this,"rf",bu(b,100),bu(a,100));yJ(this,"vf",xf(b,102),xf(a,102));xJ(this,"ra",De(b,103),De(a,103));xJ(this,"ckm",bu(b,104),bu(a,104));xJ(this,"gm",bu(b,105),bu(a,105));xJ(this,"ngm",bu(b,106),bu(a,106));wJ(this,"em",Yu(b,107),Yu(a,107));xJ(this,"cr",bu(b,108),bu(a,108));wJ(this,"sl",Yu(b,109),Yu(a,109));wJ(this,"sb",Yu(b,110),Yu(a,
110));yJ(this,"pt",xf(b,111),xf(a,111));yJ(this,"gce",xf(b,112),xf(a,112));xJ(this,"tm",bu(b,113),bu(a,113));xJ(this,"ntm",bu(b,114),bu(a,114));wJ(this,"mp",Yu(b,115),Yu(a,115));return this.components_.join("-")};
var wJ=function(a,b,c,d,e,f){if(c!=null){var h=e==void 0||e!=10&&e!=16?10:e;c=Number(c).toString(h);e=new aNa;e.append(h==16?"0x":"");h=e.append;f==void 0?f="":(f-=c.length,f=f<=0?"":igc("0",f));h.call(e,f);e.append(c);AHc(a,b,e.toString(),!!Number(d))}},xJ=function(a,b,c,d){c&&AHc(a,b,"",!!d)},yJ=function(a,b,c,d){c&&AHc(a,b,String(c),!!Number(d))},AHc=function(a,b,c,d){d&&(b=b.charAt(0).toUpperCase()+b.substring(1));a.components_.push(b+c)};Lu(Rp,bNa);g=Rp.prototype;g.setCrop=function(a){a&&zJ(this);return Rp.superClass_.setCrop.call(this,a)};g.setHeight=function(a){a=a==null||a<0?void 0:a;a!=null&&this.setSize();return Rp.superClass_.setHeight.call(this,a)};g.setStretch=function(a){a&&zJ(this);return Rp.superClass_.setStretch.call(this,a)};g.setQualityLevel=function(a){return Rp.superClass_.setQualityLevel.call(this,a)};g.setImageFilter=function(a){a&&(a=a.replace(";",":"));return Rp.superClass_.setImageFilter.call(this,a)};
g.setImageCrop=function(a){a&&zJ(this);return Rp.superClass_.setImageCrop.call(this,a)};g.setCircleCrop=function(a){a&&zJ(this);return Rp.superClass_.setCircleCrop.call(this,a)};g.setSize=function(a){La(a)&&(a=Math.max(a.width,a.height));a=a==null||a<0?void 0:a;a!=null&&(this.setWidth(),this.setHeight());return Rp.superClass_.setSize.call(this,a)};g.setSmartCrop=function(a){a&&zJ(this);return Rp.superClass_.setSmartCrop.call(this,a)};
g.setSmartCropNoClip=function(a){a&&zJ(this);return Rp.superClass_.setSmartCropNoClip.call(this,a)};g.setSmartCropUseFace=function(a){a&&zJ(this);return Rp.superClass_.setSmartCropUseFace.call(this,a)};g.setCenterCrop=function(a){a&&zJ(this);return Rp.superClass_.setCenterCrop.call(this,a)};g.setPad=function(a){a&&zJ(this);return Rp.superClass_.setPad.call(this,a)};g.setWidth=function(a){a=a==null||a<0?void 0:a;a!=null&&this.setSize();return Rp.superClass_.setWidth.call(this,a)};
var zJ=function(a){a.setCenterCrop();a.setCircleCrop();a.setCrop();a.setImageCrop();a.setPad();a.setSmartCrop();a.setSmartCropNoClip();a.setSmartCropUseFace()};Rp.prototype.build=function(){var a=this.getParsedOptions().valueProto_;bu(a,18)||bu(a,45)?a.getSize()||this.setSize(0):(a=this.getParsedOptions().valueProto_,a.getSize()||a.getWidth()||a.getHeight()||(this.setSize(),this.setHeight(),this.setWidth(),zJ(this)));return Rp.superClass_.build.call(this)};var BHc=/^[^\/]*\/\//,AJ=function(a,b){b=b===void 0?!1:b;this.original_=a;this.originalPrefix_="";(a=this.original_.match(BHc))&&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_=Kr(a,!0);this.isFreeformUrl_=b;this.valid_=!0;this.obfuscated_=!1},CHc=function(a,b){a.pathPrefix_=a.pathPrefix_?a.pathPrefix_+("/"+b):b},BJ=function(a){if(a.components_==void 0){var b=a.uri_.getPath().substring(1);
a.pathPrefix_=null;if(a.isFreeformUrl_){a.components_=[];if((b.match(/=/g)||[]).length>1)return a.valid_=!1,a.components_;var c=b.indexOf("=");c!=-1?(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;b>2&&a.components_[0]=="u"&&(CHc(a,a.components_[0]+"/"+a.components_[1]),a.components_.shift(),a.components_.shift(),b-=2);if(b==0||b==4||b>7)return a.valid_=!1,a.components_;if(b==2)CHc(a,
a.components_[0]);else if(a.components_[0]=="image")CHc(a,a.components_[0]);else if(b==7||b==3)return a.valid_=!1,a.components_;if(b<=3){a.obfuscated_=!0;b==3&&(CHc(a,a.components_[1]),a.components_.shift(),--b);--b;c=a.components_[b];var d=c.indexOf("=");d!=-1&&(a.components_[b]=c.substr(0,d),a.components_.push(c.substr(d+1)))}}return a.components_};AJ.prototype.isValid=function(){BJ(this);return this.valid_};var DHc=function(a){BJ(a);return a.obfuscated_},EHc=function(a){BJ(a);return a.isFreeformUrl_};
AJ.prototype.getDomain=function(){var a=this.uri_.port_;return this.uri_.getDomain()+(a?":"+a:"")};AJ.prototype.getQuery=function(){return this.uri_.queryData_.toString()};var CJ=function(a){BJ(a);a.pathPrefix_==void 0&&(a.pathPrefix_=null);return a.pathPrefix_};AJ.prototype.hasOptions=function(){switch(BJ(this).length){case 7:return!0;case 6:return CJ(this)==null;case 5:return!1;case 3:return!0;case 2:return CJ(this)==null;case 1:return!1;default:return!1}};
var DJ=function(a,b){if(EHc(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=BJ(a)[b]}else if(DHc(a))a:{var c=CJ(a)!=null?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=BJ(a)[b]}else a:{c=CJ(a)!=null?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=BJ(a)[b]}return a};g=AJ.prototype;g.getObfuscatedGaiaId=function(){this.obfuscatedGaiaId_==void 0&&(this.obfuscatedGaiaId_=DJ(this,0));return this.obfuscatedGaiaId_};g.getPhotoId=function(){this.photoId_==void 0&&(this.photoId_=DJ(this,1));return this.photoId_};g.getImageVersion=function(){this.imageVersion_==void 0&&(this.imageVersion_=DJ(this,2));return this.imageVersion_};g.getOptions=function(){this.options_==void 0&&(this.options_=DJ(this,4));return this.options_};
g.getFilename=function(){this.filename_==void 0&&(this.filename_=DJ(this,5));return this.filename_};var eNa=function(){};eNa.prototype.parse=function(a,b){return new cNa(a,b===void 0?!1:b)};var cNa=function(a,b){AJ.call(this,a,b===void 0?!1:b)};Y(cNa,AJ);cNa.prototype.getParsedOptions=function(){if(this.parsedOptions_==void 0){var a=this.getOptions();a||(a="");this.parsedOptions_=(new tHc).parse(a)}return this.parsedOptions_};Lu(Sp,Rp);var dNa;Sp.prototype.isValid=function(){return this.parsedImageUrl_.isValid()};
Sp.prototype.build=function(){if(!this.parsedImageUrl_.isValid())return this.parsedImageUrl_.original_;var a=Sp.superClass_.build.call(this),b=[];CJ(this.parsedImageUrl_)!=null&&b.push(CJ(this.parsedImageUrl_));var c=EHc(this.parsedImageUrl_);if(DHc(this.parsedImageUrl_)){var d=this.parsedImageUrl_;d.obfuscatedData_==void 0&&(d.obfuscatedData_=DJ(d,6));b.push(d.obfuscatedData_+(a?"="+a:""))}else if(c){d=b.push;var e=this.parsedImageUrl_;e.freeformUrlPath_===void 0&&(e.freeformUrlPath_=DJ(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_,e.signature_==void 0&&(e.signature_=DJ(e,3)),d.call(b,e.signature_),a&&b.push(a),b.push(this.parsedImageUrl_.getFilename());a=Kr(this.protocolPrefix_+this.domain_+"/"+(c?b.join("="):b.join("/"))+(this.query_?"?"+this.query_:"")).toString();a.startsWith("%3a//")&&(a=a.replace("%3a//","://"));
return a};var FHc=/\/\/lh[3-6]\./,GHc=function(a,b,c,d){if(!a||!lHc(String(a)))return String(a||"");a=String(a);d===void 0&&(d=1);b=Math.ceil((b||0)*d);c=Math.ceil((c||0)*d);d=b==c;a=a.replace(FHc,"//lh3.");return(new Sp(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 HHc=[[["onedev-hovercard-action"]],[["","onedev-additional-content",""]]],EJ=function(a,b){var c=this;this.peopleService=a;this.waldoService=b;this.enableWaldo=!1;this.providedEmail$=new nj(1);this.person$=this.providedEmail$.pipe(sj(function(d){return hGc(c.peopleService,d)}),C(function(d){if(d){var e=Object,f=e.assign;if(d.imageUrl){var h=d.imageUrl;if(lHc(h)){var k=new Sp(h);k.setSize(48).setCrop(!0);h=k.build()||h}}else h=d.imageUrl;d=f.call(e,{},d,{imageUrl:h})}return d}),pj(1));this.outOfOfficeDescription$=
new nj;this.init=new nj(1);this.destroyed$=new nj(1)};EJ.prototype.ngOnInit=function(){var a=this;this.person$.pipe(hj(1),tj(this.destroyed$)).subscribe(function(){a.init.next()});this.enableWaldo&&IHc(this)};var IHc=function(a){a.waldoService&&a.person$.pipe(sj(function(b){return b?dHc(a.waldoService,b.email):li("")}),tj(a.destroyed$)).subscribe(function(b){a.outOfOfficeDescription$.next(b)})};
pg.Object.defineProperties(EJ.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.emailInternal},set:function(a){this.emailInternal=a;this.providedEmail$.next(a)}}});EJ.\u0275fac=function(a){return new (a||EJ)(Ui(gJ),Ui(qJ,8))};
EJ.\u0275cmp=F({type:EJ,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&&(Zj(HHc),G(0,fNa,4,4,"onedev-person-hovercard-body",0),W(1,"async"));a&2&&K("ngIf",X(1,1,b.person$))},dependencies:[xy,ny,iJ,cJ,sJ,py],encapsulation:2,changeDetection:0});var JHc=[[["onedev-hovercard-action"],["",8,"actions"]]],FJ=function(){};FJ.prototype.ngOnInit=function(){};FJ.\u0275fac=function(a){return new (a||FJ)};
FJ.\u0275cmp=F({type:FJ,selectors:[["b-person-card"]],inputs:{email:"email"},standalone:!1,ngContentSelectors:["onedev-hovercard-action, .actions"],decls:1,vars:0,consts:[["cardBody",""],[3,"email","enableWaldo","onedevIsHovercardReady",4,"onedevHovercardLazyBody"],[3,"email","enableWaldo","onedevIsHovercardReady"]],template:function(a){a&1&&(Zj(JHc),G(0,gNa,3,3,"onedev-person-hovercard",1))},dependencies:[EJ,yH,zH],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 GJ=function(){this.isNonObfuscatedEmail=Rf};GJ.\u0275fac=function(a){return new (a||GJ)};
GJ.\u0275cmp=F({type:GJ,selectors:[["b-person-hovercard"]],inputs:{email:"email"},standalone:!1,ngContentSelectors:["*"],decls:4,vars:1,consts:[["content",""],["card",""],["role","button","tabindex","0",1,"keep-focus-ring",3,"onedevHovercardTrigger","onedevHovercardActive"],[4,"ngTemplateOutlet"],[3,"email"]],template:function(a,b){a&1&&(Zj(),I(0,iNa,5,4)(1,kNa,1,1,"ng-container"),G(2,lNa,1,0,"ng-template",null,0,Gk));a&2&&J(b.email&&b.isNonObfuscatedEmail(b.email)?0:1)},dependencies:[oy,xH,DH,FJ],
encapsulation:2,changeDetection:0});var KHc=function(){};var aq=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=(a===void 0?0:a)+(b===void 0?0:b)};g=aq.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(),LHc(this));this._started=!0};var LHc=function(a){queueMicrotask(function(){return a._onFinish()})};g=aq.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=a=="start"?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var BNa=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;f==0?queueMicrotask(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,
k){return Math.max(h,k.totalTime)},0)};g=BNa.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 b===null||c.totalTime>b.totalTime?c:b},null);return a!=null?a.getPosition():0};g.beforeDestroy=function(){this.players.forEach(function(a){a.beforeDestroy&&a.beforeDestroy()})};g.triggerCallback=function(a){a=a=="start"?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var pNa=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,wNa=RegExp("{{\\s*(.+?)\\s*}}","g"),yNa=/-+([a-z0-9])/g;var MHc=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(" ")),NHc=function(){};Y(NHc,KHc);
var CNa=function(a,b,c){var d="",e=b.toString().trim();MHc.has(a)&&b!==0&&b!=="0"&&(typeof b==="number"?d="px":(a=b.match(/^[+-]?[\d\.]+([a-z]*)$/))&&a[1].length==0&&c.push(new Ug(3005,!1)));return e+d};var INa=typeof document==="undefined"?null:document.documentElement;var OHc=function(){};var ONa=new Set(["true","1"]),PNa=new Set(["false","0"]);var QNa=RegExp("s*:selfs*,?","g"),PHc=function(a){this._driver=a};g=PHc.prototype;g.build=function(a,b){b=new QHc(b);this._resetContextStyleTimingState(b);return $p(this,tNa(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 Ug(3006,!1));a.definitions.forEach(function(k){c._resetContextStyleTimingState(b);if(k.type==0){var q=k.name;q.toString().split(/\s*,\s*/).forEach(function(u){k.name=u;f.push(c.visitState(k,b))});k.name=q}else k.type==1?(q=c.visitTransition(k,b),d+=q.queryCount,e+=q.depCount,h.push(q)):b.errors.push(new Ug(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(k){uNa(k).forEach(function(q){f.hasOwnProperty(q)||e.add(q)})})});e.size&&b.errors.push(mNa([].concat(p(e.values()))))}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=$p(this,tNa(a.animation),b);return{type:1,matchers:NNa(a.expr,b.errors),animation:c,queryCount:b.queryCount,depCount:b.depCount,options:dq(a.options)}};g.visitSequence=function(a,b){var c=this;return{type:2,steps:a.steps.map(function(d){return $p(c,d,b)}),options:dq(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=$p(c,h,b);e=Math.max(e,b.currentTime);return h});b.currentTime=e;return{type:3,steps:f,options:dq(a.options)}};
g.visitAnimate=function(a,b){var c=TNa(a.timings,b.errors);b.currentAnimateTimings=c;var d=a.styles?a.styles:Up({});if(d.type==5)a=this.visitKeyframes(d,b);else{d=a.styles;a=!1;d||(a=!0,d={},c.easing&&(d.easing=c.easing),d=Up(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){for(var c=[],d=l(Array.isArray(a.styles)?a.styles:[a.styles]),e=d.next();!e.done;e=d.next())e=e.value,typeof e==="string"?e==="*"?c.push(e):b.errors.push(new Ug(3002,!1)):c.push(new Map(Object.entries(e)));var f=!1,h=null;c.forEach(function(k){if(k instanceof Map&&(k.has("easing")&&(h=k.get("easing"),k.delete("easing")),!f)){k=l(k.values());for(var q=k.next();!q.done;q=k.next())if(q.value.toString().indexOf("{{")>=0){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&&e>0&&(e-=c.duration+c.delay);a.styles.forEach(function(f){typeof f!=="string"&&f.forEach(function(h,k){var q=b.collectedStyles.get(b.currentQuerySelector),u=q.get(k),A=!0;u&&(e!=d&&e>=u.startTime&&d<=u.endTime&&(b.errors.push(new Ug(3010,!1)),A=!1),e=u.startTime);A&&q.set(k,{startTime:e,endTime:d});b.options&&vNa(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 Ug(3011,!1)),d;var e=0,f=[],h=!1,k=!1,q=0,u=a.steps.map(function(S){S=c._makeStyleAst(S,b);var aa=S.offset!=null?S.offset:SNa(S.styles),ia=0;aa!=null&&(e++,ia=S.offset=aa);k=k||ia<0||ia>1;h=h||ia<q;q=ia;f.push(ia);return S});k&&b.errors.push(new Ug(3012,!1));h&&b.errors.push(new Ug(3200,!1));a=a.steps.length;var A=0;e>0&&e<a?b.errors.push(new Ug(3202,!1)):e==0&&(A=1/(a-
1));var D=a-1,H=b.currentTime,O=b.currentAnimateTimings,P=O.duration;u.forEach(function(S,aa){aa=A>0?aa==D?1:A*aa:f[aa];var ia=aa*P;b.currentTime=H+O.delay+ia;O.duration=ia;c._validateStyleAst(S,b);S.offset=aa;d.styles.push(S)});return d};g.visitReference=function(a,b){return{type:8,animation:$p(this,tNa(a.animation),b),options:dq(a.options)}};g.visitAnimateChild=function(a,b){b.depCount++;return{type:9,options:dq(a.options)}};
g.visitAnimateRef=function(a,b){return{type:10,animation:this.visitReference(a.animation,b),options:dq(a.options)}};
g.visitQuery=function(a,b){var c=b.currentQuerySelector,d=a.options||{};b.queryCount++;b.currentQuery=a;var e=l(RNa(a.selector)),f=e.next().value;e=e.next().value;b.currentQuerySelector=c.length?c+" "+f:f;cq(b.collectedStyles,b.currentQuerySelector,new Map);var h=$p(this,tNa(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:dq(a.options)}};
g.visitStagger=function(a,b){b.currentQuery||b.errors.push(new Ug(3013,!1));var c=a.timings==="full"?{duration:0,delay:0,easing:"full"}:qNa(a.timings,b.errors,!0);return{type:12,animation:$p(this,tNa(a.animation),b),timings:c,options:null}};var QHc=function(a){this.errors=a;this.depCount=this.queryCount=0;this.currentAnimateTimings=this.currentQuerySelector=this.currentQuery=this.currentTransition=null;this.currentTime=0;this.collectedStyles=new Map;this.options=null};var HJ=function(){this._map=new Map};HJ.prototype.get=function(a){return this._map.get(a)||[]};HJ.prototype.append=function(a,b){var c=this._map.get(a);c||this._map.set(a,c=[]);c.push.apply(c,p(b))};HJ.prototype.has=function(a){return this._map.has(a)};HJ.prototype.clear=function(){this._map.clear()};var RHc=RegExp(":enter","g"),SHc=RegExp(":leave","g"),VNa=function(){};g=VNa.prototype;
g.buildKeyframes=function(a,b,c,d,e,f,h,k,q,u){u=u===void 0?[]:u;q=q||new HJ;a=new THc(a,b,q,d,e,u,[]);a.options=k;d=k.delay?Xp(k.delay):0;a.currentTimeline.delayNextStep(d);UHc(a.currentTimeline,[f],null,a.errors,k);$p(this,c,a);c=a.timelines.filter(function(D){return D.containsAnimation()});if(c.length&&h.size){for(f=c.length-1;f>=0;f--)if(e=c[f],e.element===b){var A=e;break}A&&A._currentEmptyStepKeyframe===A._currentKeyframe&&UHc(A,[h],null,a.errors,k)}return c.length?c.map(function(D){return D.buildKeyframes()}):
[UNa(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=IJ(b,a.options),e=b.currentTimeline.currentTime;c=this._visitSubInstructions(c,d,d.options);e!=c&&JJ(b,c)}b.previousNode=a};
g.visitAnimateRef=function(a,b){var c=IJ(b,a.options);JJ(c);this._applyAnimationRefDelays([a.options,a.animation.options],b,c);this.visitReference(a.animation,c);JJ(b,c.currentTimeline.currentTime);b.previousNode=a};g._applyAnimationRefDelays=function(a,b,c){a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=(e=d)==null?void 0:e.delay;if(f){var h=e=void 0;d=typeof f==="number"?f:Xp(xNa(f,(h=(e=d)==null?void 0:e.params)!=null?h:{},b.errors));c.delayNextStep(d)}}};
g._visitSubInstructions=function(a,b,c){var d=b.currentTimeline.currentTime,e=c.duration!=null?Xp(c.duration):null,f=c.delay!=null?Xp(c.delay):null;e!==0&&a.forEach(function(h){var k={duration:e!=null?e:h.duration,delay:b.currentTimeline.currentTime+(f!=null?f:0)+h.delay,easing:""};h=new VHc(b._driver,h.element,h.keyframes,h.preStyleProps,h.postStyleProps,k,h.stretchStartingKeyframe);b.timelines.push(h);d=Math.max(d,k.duration+k.delay)});return d};
g.visitReference=function(a,b){WHc(b,a.options,!0);$p(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=IJ(b,f),JJ(e),f.delay!=null&&(e.previousNode.type==6&&(XHc(e.currentTimeline),e.previousNode=YHc),e.delayNextStep(Xp(f.delay))));a.steps.length&&(a.steps.forEach(function(h){return $p(c,h,e)}),KJ(e.currentTimeline),e.subContextCount>d&&JJ(e));b.previousNode=a};
g.visitGroup=function(a,b){var c=this,d=[],e=b.currentTimeline.currentTime,f=a.options&&a.options.delay?Xp(a.options.delay):0;a.steps.forEach(function(h){var k=IJ(b,a.options);f&&k.delayNextStep(f);$p(c,h,k);e=Math.max(e,k.currentTimeline.currentTime);d.push(k.currentTimeline)});d.forEach(function(h){return ZHc(b.currentTimeline,h)});JJ(b,e);b.previousNode=a};
g._visitTiming=function(a,b){return a.dynamic?(a=a.strValue,a=b.params?xNa(a,b.params,b.errors):a,qNa(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&&($Hc(b.currentTimeline,b.currentTimeline.duration+c.delay),XHc(d));var e=a.style;e.type==5?this.visitKeyframes(e,b):($Hc(b.currentTimeline,b.currentTimeline.duration+c.duration),this.visitStyle(e,b),KJ(d));b.currentAnimateTimings=null;b.previousNode=a};
g.visitStyle=function(a,b){var c=b.currentTimeline,d=b.currentAnimateTimings;!d&&c._currentKeyframe.size>0&&(c.duration+=1,c._loadKeyframe());d=d&&d.easing||a.easing;if(a.isEmptyStep){d&&c._previousKeyframe.set("easing",d);d=l(c._globalTimelineStyles);for(var e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;c._backFill.set(e,f||"*");c._currentKeyframe.set(e,"*")}c._currentEmptyStepKeyframe=c._currentKeyframe}else UHc(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=IJ(b).currentTimeline;f.easing=c.easing;a.styles.forEach(function(h){$Hc(f,(h.offset||0)*e);UHc(f,h.styles,h.easing,b.errors,b.options);KJ(f)});ZHc(b.currentTimeline,f);JJ(b,d+e);b.previousNode=a};
g.visitQuery=function(a,b){var c=this,d=b.currentTimeline.currentTime,e=a.options||{},f=e.delay?Xp(e.delay):0;f&&(b.previousNode.type===6||d==0&&b.currentTimeline._currentKeyframe.size>0)&&(XHc(b.currentTimeline),b.previousNode=YHc);var h=d;d=aIc(b,a.selector,a.limit,a.includeSelf,e.optional?!0:!1,b.errors);b.currentQueryTotal=d.length;var k=null;d.forEach(function(q,u){b.currentQueryIndex=u;u=IJ(b,a.options,q);f&&u.delayNextStep(f);q===b.element&&(k=u.currentTimeline);$p(c,a.animation,u);KJ(u.currentTimeline);
h=Math.max(h,u.currentTimeline.currentTime)});b.currentQueryIndex=0;b.currentQueryTotal=0;JJ(b,h);k&&(ZHc(b.currentTimeline,k),XHc(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(e.duration<0?"reverse":e.easing){case "reverse":f=h-f;break;case "full":f=c.currentStaggerTime}e=b.currentTimeline;f&&e.delayNextStep(f);e=e.currentTime;$p(this,a.animation,b);b.previousNode=a;c.currentStaggerTime=d.currentTime-e+(d.startTime-c.currentTimeline.startTime)};
var YHc={},THc=function(a,b,c,d,e,f,h,k){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=YHc;this.subContextCount=0;this.options={};this.currentStaggerTime=this.currentQueryTotal=this.currentQueryIndex=0;this.currentTimeline=k||new LJ(this._driver,b,0);h.push(this.currentTimeline)},WHc=function(a,b,c){if(b){var d=a.options;b.duration!=null&&(d.duration=
Xp(b.duration));b.delay!=null&&(d.delay=Xp(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]=xNa(e[h],f,a.errors))})}}};THc.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 IJ=function(a,b,c){b=b===void 0?null:b;c=c||a.element;c=new THc(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();WHc(c,b);c.currentQueryIndex=a.currentQueryIndex;c.currentQueryTotal=a.currentQueryTotal;c.parentContext=a;a.subContextCount++;return c},JJ=function(a,b){a.previousNode=YHc;a.currentTimeline=a.currentTimeline.fork(a.element,
b);a.timelines.push(a.currentTimeline)};THc.prototype.delayNextStep=function(a){a>0&&this.currentTimeline.delayNextStep(a)};var aIc=function(a,b,c,d,e,f){var h=[];d&&h.push(a.element);b.length>0&&(b=b.replace(RHc,"."+a._enterClassName),b=b.replace(SHc,"."+a._leaveClassName),a=a._driver.query(a.element,b,c!=1),c!==0&&(a=c<0?a.slice(a.length+c,a.length):a.slice(0,c)),h.push.apply(h,p(a)));e||h.length!=0||f.push(new Ug(3014,!1));return h};
pg.Object.defineProperties(THc.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});
var LJ=function(a,b,c,d){this._driver=a;this.element=b;this.startTime=c;this._elementTimelineStylesLookup=d;this.duration=0;this.easing=null;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()};LJ.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this._currentKeyframe.size>0;default:return!0}};LJ.prototype.delayNextStep=function(a){var b=this._keyframes.size===1&&this._pendingStyles.size;this.duration||b?($Hc(this,this.currentTime+a),b&&XHc(this)):this.startTime+=a};
LJ.prototype.fork=function(a,b){KJ(this);return new LJ(this._driver,a,b||this.currentTime,this._elementTimelineStylesLookup)};LJ.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 $Hc=function(a,b){KJ(a);a.duration=b;a._loadKeyframe()};
LJ.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 UHc=function(a,b,c,d,e){c&&a._previousKeyframe.set("easing",c);c=e&&e.params||{};b=XNa(b,a._globalTimelineStyles);b=l(b);for(e=b.next();!e.done;e=b.next()){var f=l(e.value);e=f.next().value;f=f.next().value;f=xNa(f,c,d);a._pendingStyles.set(e,f);if(!a._localTimelineStyles.has(e)){var h=void 0;a._backFill.set(e,(h=a._globalTimelineStyles.get(e))!=null?h:"*")}a._updateStyle(e,f)}},KJ=function(a){a._pendingStyles.size!=0&&(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)}))},XHc=function(a){for(var b=l(a._localTimelineStyles),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;a._pendingStyles.set(c,d);a._updateStyle(c,d)}},ZHc=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)})};
LJ.prototype.buildKeyframes=function(){var a=this;KJ(this);var b=new Set,c=new Set,d=this._keyframes.size===1&&this.duration===0,e=[];this._keyframes.forEach(function(u,A){u=new Map([].concat(p(a._backFill),p(u)));u.forEach(function(D,H){D==="!"?b.add(H):D==="*"&&c.add(H)});d||u.set("offset",A/a.duration);e.push(u)});var f=[].concat(p(b.values())),h=[].concat(p(c.values()));if(d){var k=e[0],q=new Map(k);k.set("offset",0);q.set("offset",1);e=[k,q]}return UNa(this.element,e,f,h,this.duration,this.startTime,
this.easing,!1)};pg.Object.defineProperties(LJ.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 VHc=function(a,b,c,d,e,f,h){h=h===void 0?!1:h;LJ.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}};
Y(VHc,LJ);VHc.prototype.containsAnimation=function(){return this.keyframes.length>1};
VHc.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=new Map(a[0]);h.set("offset",0);b.push(h);h=new Map(a[0]);h.set("offset",Math.round(f*100)/100);b.push(h);f=a.length-1;for(h=1;h<=f;h++){var k=new Map(a[h]),q=k.get("offset");k.set("offset",Math.round((c+q*d)/e*100)/100);b.push(k)}d=e;c=0;e="";a=b}return UNa(this.element,a,this.preStyleProps,this.postStyleProps,d,c,e,!0)};var bIc={},aOa=function(a,b,c){this._triggerName=a;this.ast=b;this._stateStyles=c};aOa.prototype.match=function(a,b,c,d){return ZNa(this.ast.matchers,a,b,c,d)};aOa.prototype.buildStyles=function(a,b,c){var d=this._stateStyles.get("*");a!==void 0&&(d=this._stateStyles.get(a==null?void 0:a.toString())||d);return d?d.buildStyles(b,c):new Map};
aOa.prototype.build=function(a,b,c,d,e,f,h,k,q,u){var A=[],D=this.ast.options&&this.ast.options.params||bIc;h=this.buildStyles(c,h&&h.params||bIc,A);var H=k&&k.params||bIc;k=this.buildStyles(d,H,A);var O=new Set,P=new Map,S=new Map,aa=d==="void",ia;D={params:$Na(H,D),delay:(ia=this.ast.options)==null?void 0:ia.delay};a=u?[]:WNa(a,b,this.ast.animation,e,f,h,k,D,q,A);var la=0;a.forEach(function(ya){la=Math.max(ya.duration+ya.delay,la)});if(A.length)return YNa(b,this._triggerName,c,d,aa,h,k,[],[],P,
S,la,A);a.forEach(function(ya){var Ia=ya.element,Pa=cq(P,Ia,new Set);ya.preStyleProps.forEach(function(ua){return Pa.add(ua)});var gb=cq(S,Ia,new Set);ya.postStyleProps.forEach(function(ua){return gb.add(ua)});Ia!==b&&O.add(Ia)});return YNa(b,this._triggerName,c,d,aa,h,k,a,[].concat(p(O.values())),P,S,la)};var cIc=function(a,b){this.styles=a;this.defaultParams=b};
cIc.prototype.buildStyles=function(a,b){var c=new Map,d=$Na(a,this.defaultParams);this.styles.styles.forEach(function(e){typeof e!=="string"&&e.forEach(function(f,h){f&&(f=xNa(f,d,b));var k=sNa(h);f=CNa(k,f,b);c.set(h,f)})});return c};var dIc=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 cIc(e.style,e.options&&e.options.params||{}))});cOa(this.states,"true","1");cOa(this.states,"false","0");b.transitions.forEach(function(e){d.transitionFactories.push(new aOa(a,e,d.states))});this.fallbackTransition=bOa(a,this.states)},eIc=function(a,b,c,d,e){return a.transitionFactories.find(function(f){return f.match(b,c,
d,e)})||null};var fIc=new HJ,gIc=function(a,b,c){this.bodyNode=a;this._driver=b;this._normalizer=c;this._animations=new Map;this._playersById=new Map;this.players=[]};g=gIc.prototype;g.register=function(a,b){var c=[];b=(new PHc(this._driver)).build(b,c,[]);if(c.length)throw new Ug(3503,!1);this._animations.set(a,b)};g._buildPlayer=function(a,b,c){var d=a.element;b=DNa(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=c===void 0?{}:c;var e=[],f=this._animations.get(a),h=new Map;f?(b=WNa(this._driver,b,f,"ng-enter","ng-leave",new Map,new Map,c,fIc,e),b.forEach(function(k){var q=cq(h,k.element,new Map);k.postStyleProps.forEach(function(u){return q.set(u,null)})})):(e.push(new Ug(3300,!1)),b=[]);if(e.length)throw new Ug(3504,!1);h.forEach(function(k,q){k.forEach(function(u,A){k.set(A,zNa(q,A))})});e=b.map(function(k){var q=h.get(k.element);return d._buildPlayer(k,new Map,q)});
e=bq(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);a>=0&&this.players.splice(a,1)};g._getPlayer=function(a){a=this._playersById.get(a);if(!a)throw new Ug(3301,!1);return a};g.listen=function(a,b,c,d){b=GNa(b,"","","");FNa(this._getPlayer(a),c,b,d);return function(){}};
g.command=function(a,b,c,d){if(c=="register")this.register(a,d[0]);else if(c=="create")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 hIc=[],iIc={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},fOa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},jIc=function(a,b){this.namespaceId=b===void 0?"":b;var c=(b=a&&a.hasOwnProperty("value"))?a.value:a;this.value=c!=null?c:null;b?(a=Object.assign({},a),this.options=(delete a.value,a)):this.options={};this.options.params||(this.options.params={})},kIc=function(a,b){var c=b.params;if(c){var d=a.options.params;
Object.keys(c).forEach(function(e){d[e]==null&&(d[e]=c[e])})}};pg.Object.defineProperties(jIc.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});var lIc=new jIc("void"),MJ=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;eq(b,this._hostClassName)};g=MJ.prototype;
g.listen=function(a,b,c,d){var e=this;if(!this._triggers.has(b))throw new Ug(3302,!1);if(c==null||c.length==0)throw new Ug(3303,!1);if(c!="start"&&c!="done")throw new Ug(3400,!1);var f=cq(this._elementListeners,a,[]),h={name:b,phase:c,callback:d};f.push(h);var k=cq(this._engine.statesByElement,a,new Map);k.has(b)||(eq(a,"ng-trigger"),eq(a,"ng-trigger-"+b),k.set(b,lIc));return function(){mIc(e._engine,function(){var q=f.indexOf(h);q>=0&&f.splice(q,1);e._triggers.has(b)||k.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 Ug(3401,!1);return a};
g.trigger=function(a,b,c,d){var e=this;d=d===void 0?!0:d;var f=this._getTrigger(b),h=new nIc(this.id,b,a),k=this._engine.statesByElement.get(a);k||(eq(a,"ng-trigger"),eq(a,"ng-trigger-"+b),this._engine.statesByElement.set(a,k=new Map));var q=k.get(b),u=new jIc(c,this.id);c&&c.hasOwnProperty("value")||!q||kIc(u,q.options);k.set(b,u);q||(q=lIc);if(u.value!=="void"&&q.value===u.value){if(!mOa(q.params,u.params)){d=[];var A=f.fallbackTransition.buildStyles(q.value,q.params,d),D=f.fallbackTransition.buildStyles(u.value,
u.params,d);d.length?this._engine.reportError(d):mIc(this._engine,function(){Zp(a,A);Yp(a,D)})}}else{c=cq(this._engine.playersByElement,a,[]);c.forEach(function(O){O.namespaceId==e.id&&O.triggerName==b&&O.queued&&O.destroy()});k=eIc(f,q.value,u.value,a,u.params);var H=!1;if(!k){if(!d)return;k=f.fallbackTransition;H=!0}this._engine.totalQueuedPlayers++;this._queue.push({element:a,triggerName:b,transition:k,fromState:q,toState:u,player:h,isFallbackTransition:H});H||(eq(a,"ng-animate-queued"),h.onStart(function(){fq(a,
"ng-animate-queued")}));h.onDone(function(){var O=e.players.indexOf(h);O>=0&&e.players.splice(O,1);if(O=e._engine.playersByElement.get(a)){var P=O.indexOf(h);P>=0&&O.splice(P,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 oIc=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))};
MJ.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=pIc(c._engine,e);f.size?f.forEach(function(h){return qIc(h,e,b,!1,!0)}):oIc(c,e)}});this._engine.afterFlushAnimationsDone(function(){return d.forEach(function(e){return oIc(c,e)})})};
var qIc=function(a,b,c,d,e){var f=a._engine.statesByElement.get(b),h=new Map;if(f){var k=[];f.forEach(function(q,u){h.set(u,q.value);a._triggers.has(u)&&(q=a.trigger(b,u,"void",e))&&k.push(q)});if(k.length){rIc(a._engine,a.id,b,!0,c,h);if(d)bq(k).onDone(function(){return iOa(a._engine,b)});return!0}}return!1},sIc=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,
k=d.get(f)||lIc,q=new jIc("void"),u=new nIc(a.id,f,b);a._engine.totalQueuedPlayers++;a._queue.push({element:b,triggerName:f,transition:h,fromState:k,toState:q,player:u,isFallbackTransition:!0})}})}};
MJ.prototype.removeNode=function(a,b){var c=this,d=this._engine;a.childElementCount&&this._signalRemovalForInnerTriggers(a,b);if(!qIc(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}}sIc(this,a);e?rIc(d,this.id,a,!1,b):(e=a.__ng_removed,e&&e!==iIc||(mIc(d,function(){return oIc(c,a)}),tIc(d,a),d._onRemovalComplete(a,b)))}};
MJ.prototype.insertNode=function(a){eq(a,this._hostClassName)};
var uIc=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(k){if(k.name==d.triggerName){var q=GNa(f,d.triggerName,d.fromState.value,d.toState.value);q._data=b;FNa(d.player,k.phase,q,k.callback)}});e.markedForDestroy?mIc(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 f==0||h==0?f-h:KNa(d.element,
e.element)?1:-1})};MJ.prototype.destroy=function(a){this.players.forEach(function(b){return b.destroy()});this._signalRemovalForInnerTriggers(this.hostElement,a)};
var NJ=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=NJ.prototype;g._onRemovalComplete=function(a,b){this.onRemovalComplete(a,b)};g._balanceNamespaceList=function(a,b){var c=this._namespaceList,d=this.namespacesByHostElement;if(c.length-1>=0){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 MJ(a,b,this),this.bodyNode&&KNa(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;a&&(mIc(this,function(){}),this.afterFlushAnimationsDone(function(){var d=c._fetchNamespace(a);c.namespacesByHostElement.delete(d.hostElement);var e=c._namespaceList.indexOf(d);e>=0&&c._namespaceList.splice(e,1);d.destroy(b);delete c._namespaceLookup[a]}))};g._fetchNamespace=function(a){return this._namespaceLookup[a]};
var pIc=function(a,b){var c=new Set;if(b=a.statesByElement.get(b)){b=l(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};NJ.prototype.trigger=function(a,b,c,d){return dOa(b)&&(a=this._fetchNamespace(a))?(a.trigger(b,c,d),!0):!1};
NJ.prototype.insertNode=function(a,b,c,d){if(dOa(b)){var e=b.__ng_removed;e&&e.setForRemoval&&(e.setForRemoval=!1,e.setForMove=!0,e=this.collectedLeaveElements.indexOf(b),e>=0&&this.collectedLeaveElements.splice(e,1));a&&(a=this._fetchNamespace(a))&&a.insertNode(b,c);d&&this.collectedEnterElements.push(b)}};var vIc=function(a,b,c){c?a.disabledNodes.has(b)||(a.disabledNodes.add(b),eq(b,"ng-animate-disabled")):a.disabledNodes.has(b)&&(a.disabledNodes.delete(b),fq(b,"ng-animate-disabled"))};
NJ.prototype.removeNode=function(a,b,c){if(dOa(b)){var d=a?this._fetchNamespace(a):null;d?d.removeNode(b,c):rIc(this,a,b,!1,c);(d=this.namespacesByHostElement.get(b))&&d.id!==a&&d.removeNode(b,c)}else this._onRemovalComplete(b,c)};var rIc=function(a,b,c,d,e,f){a.collectedLeaveElements.push(c);c.__ng_removed={namespaceId:b,setForRemoval:e,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:f}};NJ.prototype.listen=function(a,b,c,d,e){return dOa(b)?this._fetchNamespace(a).listen(b,c,d,e):function(){}};
NJ.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 tIc=function(a,b){var c=a.driver.query(b,".ng-trigger",!0);c.forEach(function(d){return wIc(a,d)});a.playersByQueriedElement.size!=0&&(c=a.driver.query(b,".ng-animating",!0),c.forEach(function(d){return xIc(a,d)}))},wIc=function(a,b){(a=a.playersByElement.get(b))&&a.forEach(function(c){c.queued?c.markedForDestroy=!0:c.destroy()})},xIc=function(a,b){(a=a.playersByQueriedElement.get(b))&&a.forEach(function(c){return c.finish()})},iOa=function(a,b){var c=b.__ng_removed;if(c&&c.setForRemoval){b.__ng_removed=
iIc;if(c.namespaceId){tIc(a,b);var d=a._fetchNamespace(c.namespaceId);d&&oIc(d,b)}a._onRemovalComplete(b,c.setForRemoval)}var e;((e=b.classList)==null?0:e.contains("ng-animate-disabled"))&&vIc(a,b,!1);a.driver.query(b,".ng-animate-disabled",!0).forEach(function(f){vIc(a,f,!1)})};
NJ.prototype.flush=function(a){var b=this;a=a===void 0?-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++)eq(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++)iOa(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)bq(c).onDone(function(){e.forEach(function(f){return f()})});else e.forEach(function(f){return f()})}};
NJ.prototype.reportError=function(){throw new Ug(3402,!1);};
NJ.prototype._flushAnimations=function(a,b){var c=this,d=new HJ,e=[],f=new Map,h=[],k=new Map,q=new Map,u=new Map,A=new Set;this.disabledNodes.forEach(function(cb){A.add(cb);cb=c.driver.query(cb,".ng-animate-queued",!0);for(var dc=0;dc<cb.length;dc++)A.add(cb[dc])});var D=this.bodyNode,H=Array.from(this.statesByElement.keys()),O=hOa(H,this.collectedEnterElements),P=new Map,S=0;O.forEach(function(cb,dc){var uc="ng-enter"+S++;P.set(dc,uc);cb.forEach(function(nd){return eq(nd,uc)})});for(var aa=[],ia=
new Set,la=new Set,ya=0;ya<this.collectedLeaveElements.length;ya++){var Ia=this.collectedLeaveElements[ya],Pa=Ia.__ng_removed;Pa&&Pa.setForRemoval&&(aa.push(Ia),ia.add(Ia),Pa.hasAnimation?this.driver.query(Ia,".ng-star-inserted",!0).forEach(function(cb){return ia.add(cb)}):la.add(Ia))}var gb=new Map,ua=hOa(H,Array.from(ia));ua.forEach(function(cb,dc){var uc="ng-leave"+S++;gb.set(dc,uc);cb.forEach(function(nd){return eq(nd,uc)})});a.push(function(){O.forEach(function(cb,dc){var uc=P.get(dc);cb.forEach(function(nd){return fq(nd,
uc)})});ua.forEach(function(cb,dc){var uc=gb.get(dc);cb.forEach(function(nd){return fq(nd,uc)})});aa.forEach(function(cb){iOa(c,cb)})});var Ea=[],Ha=[];for(a=this._namespaceList.length-1;a>=0;a--)uIc(this._namespaceList[a],b).forEach(function(cb){var dc=cb.player,uc=cb.element;Ea.push(dc);if(c.collectedEnterElements.length){var nd=uc.__ng_removed;if(nd&&nd.setForMove){if(nd.previousTriggersValues&&nd.previousTriggersValues.has(cb.triggerName)){nd=nd.previousTriggersValues.get(cb.triggerName);var Nb=
c.statesByElement.get(cb.element);if(Nb&&Nb.has(cb.triggerName)){var Cc=Nb.get(cb.triggerName);Cc.value=nd;Nb.set(cb.triggerName,Cc)}}dc.destroy();return}}nd=!D||!KNa(D,uc);Nb=gb.get(uc);Cc=P.get(uc);var Ec=c._buildInstruction(cb,d,Cc,Nb,nd);if(Ec.errors&&Ec.errors.length)Ha.push(Ec);else if(nd)dc.onStart(function(){return Zp(uc,Ec.fromStyles)}),dc.onDestroy(function(){return Yp(uc,Ec.toStyles)}),e.push(dc);else if(cb.isFallbackTransition)dc.onStart(function(){return Zp(uc,Ec.fromStyles)}),dc.onDestroy(function(){return Yp(uc,
Ec.toStyles)}),e.push(dc);else{var Md=[];Ec.timelines.forEach(function(Ed){Ed.stretchStartingKeyframe=!0;c.disabledNodes.has(Ed.element)||Md.push(Ed)});Ec.timelines=Md;d.append(uc,Ec.timelines);h.push({instruction:Ec,player:dc,element:uc});Ec.queriedElements.forEach(function(Ed){return cq(k,Ed,[]).push(dc)});Ec.preStyleProps.forEach(function(Ed,Hf){if(Ed.size){var xh=q.get(Hf);xh||q.set(Hf,xh=new Set);Ed.forEach(function(Vg,Uh){return xh.add(Uh)})}});Ec.postStyleProps.forEach(function(Ed,Hf){var xh=
u.get(Hf);xh||u.set(Hf,xh=new Set);Ed.forEach(function(Vg,Uh){return xh.add(Uh)})})}});if(Ha.length){var mb=[];Ha.forEach(function(){mb.push(new Ug(3505,!1))});Ea.forEach(function(cb){return cb.destroy()});this.reportError(mb)}var nb=new Map,Lb=new Map;h.forEach(function(cb){var dc=cb.element;d.has(dc)&&(Lb.set(dc,dc),c._beforeAnimationBuild(cb.player.namespaceId,cb.instruction,nb))});e.forEach(function(cb){var dc=cb.element;c._getPreviousPlayers(dc,!1,cb.namespaceId,cb.triggerName,null).forEach(function(uc){cq(nb,
dc,[]).push(uc);uc.destroy()})});var bc=aa.filter(function(cb){return nOa(cb,q,u)}),yc=new Map;gOa(yc,la,u).forEach(function(cb){nOa(cb,q,u)&&bc.push(cb)});var kc=new Map;O.forEach(function(cb){gOa(kc,new Set(cb),q)});bc.forEach(function(cb){var dc=yc.get(cb),uc=kc.get(cb),nd,Nb;yc.set(cb,new Map([].concat(p((nd=dc==null?void 0:dc.entries())!=null?nd:[]),p((Nb=uc==null?void 0:uc.entries())!=null?Nb:[]))))});var Ee=[],yb=[],Tb={};h.forEach(function(cb){var dc=cb.element,uc=cb.player,nd=cb.instruction;
if(d.has(dc))if(A.has(dc))uc.onDestroy(function(){return Yp(dc,nd.toStyles)}),uc.disabled=!0,uc.totalTime=nd.totalTime,e.push(uc);else{var Nb=Tb;if(Lb.size>1){cb=dc;for(var Cc=[];cb=cb.parentNode;){var Ec=Lb.get(cb);if(Ec){Nb=Ec;break}Cc.push(cb)}Cc.forEach(function(Md){return Lb.set(Md,Nb)})}cb=c._buildAnimation(uc.namespaceId,nd,nb,f,kc,yc);yIc(uc,cb);Nb===Tb?Ee.push(uc):((cb=c.playersByElement.get(Nb))&&cb.length&&(uc.parentPlayer=bq(cb)),e.push(uc))}else Zp(dc,nd.fromStyles),uc.onDestroy(function(){return Yp(dc,
nd.toStyles)}),yb.push(uc),A.has(dc)&&e.push(uc)});yb.forEach(function(cb){var dc=f.get(cb.element);dc&&dc.length&&(dc=bq(dc),yIc(cb,dc))});e.forEach(function(cb){cb.parentPlayer?zIc(cb,cb.parentPlayer):cb.destroy()});for(b=0;b<aa.length;b++)if(la=aa[b],a=la.__ng_removed,fq(la,"ng-leave"),!a||!a.hasAnimation){a=[];if(k.size)for((H=k.get(la))&&H.length&&a.push.apply(a,p(H)),H=this.driver.query(la,".ng-animating",!0),ya=0;ya<H.length;ya++)(Ia=k.get(H[ya]))&&Ia.length&&a.push.apply(a,p(Ia));a=a.filter(function(cb){return!cb.destroyed});
a.length?jOa(this,la,a):iOa(this,la)}aa.length=0;Ee.forEach(function(cb){c.players.push(cb);cb.onDone(function(){cb.destroy();var dc=c.players.indexOf(cb);c.players.splice(dc,1)});cb.play()});return Ee};var mIc=function(a,b){a._flushFns.push(b)};g=NJ.prototype;g.afterFlushAnimationsDone=function(a){this._whenQuietFns.push(a)};
g._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||e=="void";a.forEach(function(k){k.queued||(h||k.triggerName==d)&&f.push(k)})}if(c||d)f=f.filter(function(k){return c&&c!=k.namespaceId||d&&d!=k.triggerName?!1:!0});return f};
g._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=l(b.timelines),h=f.next(),k={};!h.done;k={players$jscomp$10:void 0},h=f.next()){h=h.value.element;var q=h!==e;k.players$jscomp$10=cq(c,h,[]);this._getPreviousPlayers(h,q,a,d,b.toState).forEach(function(u){return function(A){var D=A._player;D.beforeDestroy&&D.beforeDestroy();A.destroy();u.players$jscomp$10.push(A)}}(k))}Zp(e,b.fromStyles)};
g._buildAnimation=function(a,b,c,d,e,f){var h=this,k=b.triggerName,q=b.element,u=[],A=new Set,D=new Set,H=b.timelines.map(function(P){var S=P.element;A.add(S);var aa=S.__ng_removed;if(aa&&aa.removedBeforeQueried)return new aq(P.duration,P.delay);aa=S!==q;var ia=lOa((c.get(S)||hIc).map(function(Ia){return Ia._player})).filter(function(Ia){return Ia.element?Ia.element===S:!1}),la=e.get(S),ya=f.get(S);la=DNa(P.keyframes,la,ya);ia=h._buildPlayer(P,la,ia);P.subTimeline&&d&&D.add(S);aa&&(P=new nIc(a,k,
S),yIc(P,ia),u.push(P));return ia});u.forEach(function(P){cq(h.playersByQueriedElement,P.element,[]).push(P);P.onDone(function(){var S=h.playersByQueriedElement,aa=P.element,ia=S.get(aa);if(ia){if(ia.length){var la=ia.indexOf(P);ia.splice(la,1)}ia.length==0&&S.delete(aa)}return ia})});A.forEach(function(P){return eq(P,"ng-animating")});var O=bq(H);O.onDestroy(function(){A.forEach(function(P){return fq(P,"ng-animating")});Yp(q,b.toStyles)});D.forEach(function(P){cq(d,P,[]).push(O)});return O};
g._buildPlayer=function(a,b,c){return b.length>0?this.driver.animate(a.element,b,a.duration,a.delay,a.easing,c):new aq(a.duration,a.delay)};
var nIc=function(a,b,c){this.namespaceId=a;this.triggerName=b;this.element=c;this._player=new aq;this._containsRealPlayer=!1;this._queuedCallbacks=new Map;this.destroyed=!1;this.parentPlayer=null;this.disabled=this.markedForDestroy=!1;this.queued=!0;this.totalTime=0},yIc=function(a,b){a._containsRealPlayer||(a._player=b,a._queuedCallbacks.forEach(function(c,d){c.forEach(function(e){return FNa(b,d,void 0,e)})}),a._queuedCallbacks.clear(),a._containsRealPlayer=!0,a.totalTime=b.totalTime,a.queued=!1)},
zIc=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=nIc.prototype;g._queueEvent=function(a,b){cq(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 OJ=function(a,b,c){var d=this;this._driver=b;this._normalizer=c;this._triggerCache={};this.onRemovalComplete=function(){};this._transitionEngine=new NJ(a.body,b,c);this._timelineEngine=new gIc(a.body,b,c);this._transitionEngine.onRemovalComplete=function(e,f){return d.onRemovalComplete(e,f)}};g=OJ.prototype;
g.registerTrigger=function(a,b,c,d,e){a=a+"-"+d;c=this._triggerCache[a];if(!c){c=[];e=(new PHc(this._driver)).build(e,c,[]);if(c.length)throw new Ug(3404,!1);c=new dIc(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.disableAnimations=function(a,b){vIc(this._transitionEngine,a,b)};
g.process=function(a,b,c,d){c.charAt(0)=="@"?(c=l(HNa(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=l(HNa(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(a===void 0?-1:a)};g.afterFlushAnimationsDone=function(a){this._transitionEngine.afterFlushAnimationsDone(a)};
pg.Object.defineProperties(OJ.prototype,{players:{configurable:!0,enumerable:!0,get:function(){return[].concat(p(this._transitionEngine.players),p(this._timelineEngine.players))}}});var pOa=function(a,b,c){this._element=a;this._startStyles=b;this._endStyles=c;this._state=0;var d=AIc.get(a);d||AIc.set(a,d=new Map);this._initialStyles=d};pOa.prototype.start=function(){this._state<1&&(this._startStyles&&Yp(this._element,this._startStyles,this._initialStyles),this._state=1)};pOa.prototype.finish=function(){this.start();this._state<2&&(Yp(this._element,this._initialStyles),this._endStyles&&(Yp(this._element,this._endStyles),this._endStyles=null),this._state=1)};
pOa.prototype.destroy=function(){this.finish();this._state<3&&(AIc.delete(this._element),this._startStyles&&(Zp(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Zp(this._element,this._endStyles),this._endStyles=null),Yp(this._element,this._initialStyles),this._state=3)};var AIc=new WeakMap;var BIc=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=BIc.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;var c=function(){return a._onFinish()};this.domPlayer.addEventListener("finish",c);this.onDestroy(function(){a.domPlayer.removeEventListener("finish",c)})}};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){this.domPlayer===void 0&&this.init();this.domPlayer.currentTime=a*this.time};g.getPosition=function(){var a;return+((a=this.domPlayer.currentTime)!=null?a:0)/this.time};
g.beforeDestroy=function(){var a=this,b=new Map;this.hasStarted()&&this._finalKeyframe.forEach(function(c,d){d!=="offset"&&b.set(d,a._finished?c:zNa(a.element,d))});this.currentSnapshot=b};g.triggerCallback=function(a){a=a==="start"?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};pg.Object.defineProperties(BIc.prototype,{totalTime:{configurable:!0,enumerable:!0,get:function(){return this._delay+this._duration}}});var CIc=function(){};CIc.prototype.getParentElement=function(a){return JNa(a)};CIc.prototype.query=function(a,b,c){a=c?Array.from(a.querySelectorAll(b)):(a=a.querySelector(b))?[a]:[];return a};
CIc.prototype.animate=function(a,b,c,d,e,f){f=f===void 0?[]:f;var h={duration:c,delay:d,fill:d==0?"both":"forwards"};e&&(h.easing=e);var k=new Map;e=f.filter(function(u){return u instanceof BIc});c!==0&&d!==0||e.forEach(function(u){u.currentSnapshot.forEach(function(A,D){return k.set(D,A)})});var q=rNa(b).map(function(u){return new Map(u)});q=ANa(a,q,k);b=qOa(a,q);return new BIc(a,q,h,b)};var DIc=function(a,b,c,d){this.namespaceId=a;this.delegate=b;this.engine=c;this._onDestroy=d};g=DIc.prototype;g.destroyNode=function(a){var b,c;(c=(b=this.delegate).destroyNode)==null||c.call(b,a)};g.destroy=function(){var a=this;this.engine.destroy(this.namespaceId,this.delegate);this.engine.afterFlushAnimationsDone(function(){queueMicrotask(function(){a.delegate.destroy()})});var b;(b=this._onDestroy)==null||b.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=d===void 0?!0:d;this.delegate.insertBefore(a,b,c);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,d)};
g.removeChild=function(a,b,c,d){d?this.delegate.removeChild(a,b,c):this.parentNode(b)&&this.engine._transitionEngine.removeNode(this.namespaceId,b,this.delegate)};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)=="@"&&b=="@.disabled"?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,d){return this.delegate.listen(a,b,c,d)};g.disableAnimations=function(a,b){this.engine.disableAnimations(a,b)};pg.Object.defineProperties(DIc.prototype,{data:{configurable:!0,enumerable:!0,get:function(){return this.delegate.data}}});var EIc=function(a,b,c,d,e){DIc.call(this,b,c,d,e);this.factory=a;this.namespaceId=b};Y(EIc,DIc);
EIc.prototype.setProperty=function(a,b,c){b.charAt(0)=="@"?b.charAt(1)=="."&&b=="@.disabled"?this.disableAnimations(a,c===void 0?!0:!!c):this.engine.process(this.namespaceId,a,b.slice(1),c):this.delegate.setProperty(a,b,c)};
EIc.prototype.listen=function(a,b,c,d){var e=this;return b.charAt(0)=="@"?(a=rOa(a),b=b.slice(1),d="",b.charAt(0)!="@"&&(d=l(sOa(b)),b=d.next().value,d=d.next().value),this.engine.listen(this.namespaceId,a,b,d,function(f){FIc(e.factory,f._data||-1,c,f)})):this.delegate.listen(a,b,c,d)};var GIc=function(){var a=x(jA),b=x(OJ),c=x(Kk);this.delegate=a;this.engine=b;this._zone=c;this._currentId=0;this._microtaskId=1;this._animationCallbacksBuffer=[];this._rendererCache=new Map;this._cdRecurDepth=0;b.onRemovalComplete=function(d,e){e==null||e.removeChild(null,d)}};
GIc.prototype.createRenderer=function(a,b){var c=this,d=this.delegate.createRenderer(a,b),e;if(!a||!(b==null?0:(e=b.data)==null?0:e.animation)){var f=this._rendererCache;b=f.get(d);b||(b=new DIc("",d,this.engine,function(){return f.delete(d)}),f.set(d,b));return b}var h=b.id,k=b.id+"-"+this._currentId;this._currentId++;this.engine.register(k,a);var q=function(u){Array.isArray(u)?u.forEach(q):c.engine.registerTrigger(h,k,a,u.name,u)};b.data.animation.forEach(q);return new EIc(this,k,d,this.engine)};
GIc.prototype.begin=function(){this._cdRecurDepth++;this.delegate.begin&&this.delegate.begin()};GIc.prototype._scheduleCountTask=function(){var a=this;queueMicrotask(function(){a._microtaskId++})};
var FIc=function(a,b,c,d){if(b>=0&&b<a._microtaskId)a._zone.run(function(){return c(d)});else{var e=a._animationCallbacksBuffer;e.length==0&&queueMicrotask(function(){a._zone.run(function(){e.forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;f(h)});a._animationCallbacksBuffer=[]})});e.push([c,d])}};
GIc.prototype.end=function(){var a=this;this._cdRecurDepth--;this._cdRecurDepth==0&&this._zone.runOutsideAngular(function(){a._scheduleCountTask();a.engine.flush(a._microtaskId)});this.delegate.end&&this.delegate.end()};var PJ=function(a,b,c){OJ.call(this,a,b,c)};Y(PJ,OJ);PJ.prototype.ngOnDestroy=function(){this.flush()};PJ.\u0275fac=function(a){return new (a||PJ)(bh(Mm),bh(OHc),bh(KHc))};PJ.\u0275prov=Dg({token:PJ,factory:PJ.\u0275fac});var HIc=[{provide:KHc,useFactory:function(){return new NHc}},{provide:OJ,useClass:PJ},{provide:Wi,useFactory:function(){return new GIc}}];p(HIc);var IIc=[{provide:OHc,useFactory:function(){return new CIc}},{provide:en,useFactory:function(){return"BrowserAnimations"}}].concat(p(HIc));var QJ=function(){};QJ.\u0275fac=function(a){return new (a||QJ)};QJ.\u0275mod=Zi({type:QJ});QJ.\u0275inj=Eg({providers:IIc,imports:[CA]});vOa(function(){});zm({passive:!0,capture:!0});zm({passive:!0,capture:!0});var JIc="mat-button mat-flat-button mat-icon-button mat-raised-button mat-stroked-button mat-mini-fab mat-fab".split(" "),KIc=tOa(vOa(uOa(function(a){this._elementRef=a}))),RJ=function(a,b,c){var d=KIc.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=l(JIc),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};Y(RJ,KIc);g=RJ.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};g.focus=function(a,b){a?Fy(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 rd.apply(0,arguments).some(function(b){return a._getHostElement().hasAttribute(b)})};RJ.\u0275fac=function(a){return new (a||RJ)(Ui(Ph),Ui(Ey),Ui(en,8))};
RJ.\u0275cmp=F({type:RJ,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&&ek(Tz,5);if(a&2){var c;ik(c=jk())&&(b.ripple=c.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:6,hostBindings:function(a,b){a&2&&(Hj("disabled",b.disabled||null)("mat-id-collision",null),rk("_mat-animation-noopable",b._animationMode===
"NoopAnimations")("mat-button-disabled",b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],standalone:!1,features:[xj],attrs:["mat-button",""],ngContentSelectors:["*"],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&&(Zj(),L(0,"span",0),ak(1),M(),N(2,"span",1)(3,"span",2));a&2&&(E(2),
rk("mat-button-ripple-round",b.isRoundButton||b.isIconButton),K("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[Tz],styles:[".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)}@media(forced-colors: active){.mat-button,.mat-flat-button,.mat-raised-button,.mat-icon-button,.mat-fab,.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"],
encapsulation:2,changeDetection:0});var SJ=function(){this.onAction=new Lp;this.disabled=!1};SJ.prototype.handleClick=function(){this.onAction.emit()};SJ.\u0275fac=function(a){return new (a||SJ)};
SJ.\u0275cmp=F({type:SJ,selectors:[["onedev-hovercard-action"]],inputs:{disabled:"disabled"},outputs:{onAction:"onAction"},standalone:!1,ngContentSelectors:["*"],decls:2,vars:1,consts:[["mat-button","","color","primary",1,"onedev-hovercard-action",3,"click","disabled"]],template:function(a,b){a&1&&(Zj(),L(0,"button",0),Q("click",function(){return b.handleClick()}),ak(1),M());a&2&&K("disabled",b.disabled)},dependencies:[RJ],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;-webkit-box-pack:left;-webkit-justify-content:left;-moz-box-pack:left;-ms-flex-pack:left;justify-content:left;padding:0 20px;text-align:left;width:100%}"]});var TJ=function(){Z.apply(this,arguments);this.domSafe=x(SF);this.cdr=x(jE,{self:!0});this.actionService=x(ZI,{optional:!0});this.currentAssignee="";this.currentCc=[];this.ccActionDisabled=this.assigneeActionDisabled=!1};Y(TJ,Z);TJ.\u0275dir=Z.\u0275dir;
TJ.prototype.ngOnInit=function(){var a=this;if(this.actionService){var b;(b=this.actionService)==null||b.assignee$.pipe(tj(this.destroyed$)).subscribe(function(d){a.currentAssignee=d;a.cdr.detectChanges()});var c;(c=this.actionService)==null||c.cc$.pipe(tj(this.destroyed$)).subscribe(function(d){a.currentCc=d;a.cdr.detectChanges()})}};
var wOa=function(a){if(a.actionService&&!a.assigneeActionDisabled){a.assigneeActionDisabled=!0;var b=a.email===a.currentAssignee?"remove_user":"set_user";Yo("personCard","assigneeAction",b);NFc(a.actionService,{email:a.email,action:b}).finally(function(){a.assigneeActionDisabled=!1})}},xOa=function(a){if(a.actionService&&!a.ccActionDisabled){a.ccActionDisabled=!0;var b=a.currentCc.includes(a.email)?"remove_user":"set_user";Yo("personCard","ccAction",b);OFc(a.actionService,{email:a.email,action:b}).finally(function(){a.ccActionDisabled=
!1})}};TJ.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(TJ)))(b||TJ)}}();
TJ.\u0275cmp=F({type:TJ,selectors:[["b-issue-person-card"]],inputs:{email:"email"},standalone:!1,features:[Bk([jE]),xj],decls:6,vars:4,consts:[[3,"email"],[1,"actions"],[3,"click"],[3,"onAction","disabled"]],template:function(a,b){a&1&&(L(0,"b-person-card",0),I(1,yOa,9,8,"ng-container",1),W(2,"async"),L(3,"onedev-hovercard-action",2),Q("click",function(c){Yo("personCard","showAssignedIssuesAction");var d=Hq.listIssues.makeHref({q:"assignee:"+b.email+" status:open"});c.ctrlKey||c.metaKey?b.domSafe.openInNewTab(d):
TF(b.domSafe,d)}),L(4,"span"),U(5,"Show assigned issues"),M()()());a&2&&(K("email",b.email),E(),J(b.actionService&&X(2,2,b.actionService.editAccess$)?1:-1))},dependencies:[SJ,FJ,py],encapsulation:2,changeDetection:0});var UJ=function(){this.activeSession=x(Ks);this.isMentioningMe=!1};UJ.prototype.ngOnInit=function(){this.activeSession.isInternalSession()?this.username=this.email.replace(/@google.com$/,""):this.username=this.email};UJ.\u0275fac=function(a){return new (a||UJ)};
UJ.\u0275cmp=F({type:UJ,selectors:[["b-mention-chip-widget"]],inputs:{email:"email",isMentioningMe:"isMentioningMe"},standalone:!1,decls:6,vars:5,consts:[["el",""],["card",""],[1,"mention",3,"onedevHovercardTrigger"],[3,"email"]],template:function(a,b){a&1&&(L(0,"span",2,0),U(2),M(),L(3,"onedev-hovercard",null,1),N(5,"b-issue-person-card",3),M());a&2&&(a=T(4),rk("me",b.isMentioningMe),K("onedevHovercardTrigger",a),E(2),V("@",b.username),E(3),K("email",b.email))},dependencies:[TJ,xH,DH],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 zOa=RegExp("^https?:\\/\\/((?:screenshot\\.googleplex\\.com|screenshot\\.corp\\.google\\.com|3p-screenshot\\.corp\\.google\\.com|screen\\.corp\\.google\\.com|screenshot|screen)\\/([\\w-]+)(?:\\.png)?$)"),AOa=RegExp("^http(?:s?):\\/\\/(?:za|za\\.corp\\.google\\.com|alerts|plx-alerts\\.corp\\.google\\.com)\\/chart(?:\\/?)\\?(.*)"),EOa=RegExp("^(https?:\\/\\/)(www\\.)?(go|goto|goto\\.google\\.com)\\/([A-Za-z0-9-]+$)"),BOa=RegExp("^https:\\/\\/static\\.corp\\.google\\.com\\/");var VJ=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,VJ.messageId)};Y(VJ,n);VJ.prototype.getUrl=function(){return Oc(this,1,void 0,Kc)};VJ.prototype.setUrl=function(a){return lf(this,1,a,Kc)};VJ.prototype.hasUrl=function(){return Ge(this,1,Kc)};VJ.messageId="b.ImageRedirectRequest";var WJ=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,WJ.messageId)};Y(WJ,n);WJ.prototype.getUrl=function(){return Oc(this,1,void 0,Kc)};WJ.prototype.setUrl=function(a){return lf(this,1,a,Kc)};WJ.prototype.hasUrl=function(){return Ge(this,1,Kc)};WJ.messageId="b.ImageRedirectResponse";var XJ=function(){this.executor=x(ey)},LIc=function(a,b){b=(new VJ).setUrl(b);return a.executor.post({url:"action/imageRedirect",body:b,responseConstructor:WJ}).pipe(C(function(c){return c.getUrl()}))};XJ.\u0275fac=function(a){return new (a||XJ)};XJ.\u0275prov=Dg({token:XJ,factory:XJ.\u0275fac,providedIn:"root"});var YJ=function(){var a=this;this.imageRedirector=x(XJ);this.src$=new $n("");this.showImage$=new $n(!1);this.error$=new $n(!1);this.srcTruncated$=this.src$.pipe(C(function(b){var c=b;c=c===void 0?"":c;var d=d===void 0?48:d;b=[].concat(p(c));if(b.length<=d)d=c;else{var e=Math.floor(d/2);c=b.slice(0,e-1).join("");d=b.slice(-(e-(d%2!==0?1:2))).join("");String.prototype.trimEnd!=null&&String.prototype.trimStart!=null&&(c=c.trimEnd(),d=d.trimStart());d=c+"..."+d}return d}));this.srcRedirected$=si([this.src$,
this.showImage$]).pipe(Di(function(b){b=l(b);b.next();return b.next().value}),sj(function(b){var c=l(b).next().value;return(b=GOa(c,!0))?li(b):LIc(a.imageRedirector,c).pipe(cj(function(){a.error$.next(!0);return c}))}))};YJ.prototype.trigger=function(a){a.preventDefault();a.stopPropagation();this.showImage$.next(!0)};
pg.Object.defineProperties(YJ.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}}});YJ.\u0275fac=function(a){return new (a||YJ)};
YJ.\u0275cmp=F({type:YJ,selectors:[["b-secure-image-widget"]],inputs:{showByDefault:"showByDefault",src:"src",alt:"alt"},standalone:!1,decls:3,vars:3,consts:[["svgIcon","broken-image",1,"icon-l",3,"matTooltip"],[3,"src"],["tabindex","0",1,"normal-link",3,"href","title"],["tabindex","0",1,"normal-link",3,"click","keydown.enter","href","title"],["svgIcon","image",1,"icon-s"]],template:function(a,b){a&1&&(I(0,LOa,3,3),W(1,"async"),Jj(2,MOa,2,4,"mat-icon",0));a&2&&J(X(1,1,b.error$)===!1?0:2)},dependencies:[EA,
YF,WF,UF,py],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%}/*# sourceMappingURL=secure_image.css.map */"],changeDetection:0});var MIc={HIDE:"HIDE",COLLAPSE:"COLLAPSE",SHOW:"SHOW"},ZJ=function(){var a=this;this.activeSession=x(Ks);this.userPreferencesManager=x(NF);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.DisplayMode=MIc;this.src$=new $n("");this.isMarkdownImage$=new $n(!1);this.displayMode$=si([this.src$,this.userPreferencesManager.showInlineImages$,this.isMarkdownImage$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;return b&&a.activeSession.isInternalSession()?
!d&&c?"COLLAPSE":d?"SHOW":"HIDE":"HIDE"}),rj("HIDE"))};pg.Object.defineProperties(ZJ.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}}});ZJ.\u0275fac=function(a){return new (a||ZJ)};
ZJ.\u0275cmp=F({type:ZJ,selectors:[["b-trusted-image"]],inputs:{src:"src",isMarkdownImage:"isMarkdownImage",alt:"alt"},standalone:!1,decls:2,vars:3,consts:[[3,"src","alt","showByDefault"],["target","_blank",3,"href","rel"],[1,"thumbnail",3,"src","alt","showByDefault"]],template:function(a,b){a&1&&(I(0,POa,3,3),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.src$))?0:-1,c)}},dependencies:[YJ,py],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 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}/*# sourceMappingURL=trusted_image.css.map */"],
changeDetection:0});var $J=function(){this.content=Or;this.canEditComment=!1;this.checkboxChange=new iE;this.appRef=x(Pk);this.flags=x(tH);this.session=x(Ks);this.viewContainerRef=x(ck);this.elementRef=x(Ph);this.destroyRef=x(Cj);this.allComponentRefs=[]};
$J.prototype.ngOnChanges=function(){NIc(this);Of(this.elementRef.nativeElement,this.content);for(var a=this.elementRef.nativeElement,b=this.viewContainerRef,c=a.querySelectorAll("*"),d=0;d<c.length;d++){var e=c[d],f=e.dataset.bId;f&&(e.id=f)}c=l(a.querySelectorAll("a"));for(d=c.next();!d.done;d=c.next())if(d=d.value,(f=d.getAttribute("href"))&&COa(f)&&d&&tha(d)&&f===d.textContent&&(e=d.nextSibling,OIc(this,d,f,void 0,b),f=void 0,(f=e)!=null&&f.textContent&&(f=e.textContent.match(/(^[^\w]+)/))))f=
f[1],e.textContent=e.textContent.substring(f.length),e=document.createElement("span"),e.textContent=f,d.insertAdjacentElement("afterend",e);c=a.querySelectorAll("*[data-b-widget]");for(d=0;d<c.length;d++)switch(e=c[d],e.dataset.bWidget){case "image":f=e;e=b;var h=f.dataset.bImgSrc,k=f.dataset.bImgRedirectedSrc;QOa(f);if(h){var q=f.dataset.bImgAlt;if(COa(h))OIc(this,f,h,q,e,!0);else if(Cx(this.flags.session,"enableMarkdownInlineImages"))e=this.createComponent(YJ,f,e).instance,e.src=h,q&&(e.alt=q);
else{var u=document.createElement("a");q?u.appendChild(document.createTextNode(q)):u.appendChild(document.createTextNode(h));f.appendChild(u);PIc(this,u,h,k||h,e)}}break;case "checkbox":f=b;q=e.dataset.bCheckboxChecked!=null;QOa(e);QIc(this,e,q,f);break;case "url":f=b;q=e.dataset.bOriginalHref;h=e.dataset.bRedirectedHref;q&&h&&(e.removeAttribute("href"),PIc(this,e,q,h,f));break;case "broken-url":if(q=e.dataset.bOriginalHref)for(f=e,e=Array.from(f.childNodes),f=this.createComponent($F,f,b).instance,
f.originalHref=q,f=f.getNgContentParentEl(),e=l(e),q=e.next();!q.done;q=e.next())f.appendChild(q.value);break;case "mention":f=void 0;q=e;h=b;e="";((f=q.textContent)==null?void 0:f[0])==="@"&&(e=q.textContent.slice(1));QOa(q);f=this.createComponent(UJ,q,h).instance;f.email=e;f.isMentioningMe=this.session.getUserEmail()===e;break;case "issue-reference":if(q=e.href,h=e.dataset.bIssueId,k=e.dataset.bCommentNumber,q&&h){f=void 0;u=Number(k);k=Array.from(e.childNodes);var A=document.createElement("span");
(f=e.parentNode)==null||f.insertBefore(A,e);f=this.createComponent(FH,A,b).instance;f.href=q;f.issueId=h;f.commentNumber=u;f=f.el.nativeElement;q=l(k);for(h=q.next();!h.done;h=q.next())f.appendChild(h.value);e.remove()}}b=a.querySelectorAll("a");for(c=0;c<b.length;c++)d=b[c],d.getAttribute("target")||d.setAttribute("target","_self");b=a.querySelectorAll("table");for(c=0;c<b.length;c++)d=b[c],d.parentNode&&(e=document.createElement("div"),e.classList.add("table-overflow"),e.tabIndex=-1,d.parentNode.insertBefore(e,
d),e.appendChild(d));a=l(a.querySelectorAll("pre"));for(b=a.next();!b.done;b=a.next())b.value.tabIndex=-1};$J.prototype.ngOnDestroy=function(){NIc(this)};
var OIc=function(a,b,c,d,e,f){f=f===void 0?!1:f;var h=b;b instanceof HTMLAnchorElement&&(h=document.createElement("span"),b.insertAdjacentElement("afterend",h));a=a.createComponent(ZJ,h,e).instance;a.src=c;a.alt=d;a.isMarkdownImage=f},QIc=function(a,b,c,d){var e,f=(e=b.dataset.bCheckboxStartpos)!=null?e:"";b=a.createComponent(uAc,b,d).instance;b.checked=c;b.disabled=a.session.userRequiresCaptcha()||!a.canEditComment||!Cx(a.session,"enableInteractiveMarkdownCheckboxes");b.startPos=f;b.checkedChange.pipe(vp(a.destroyRef)).subscribe(function(h){a.checkboxChange.emit({checked:h,
startPos:f})})},PIc=function(a,b,c,d,e){var f=Array.from(b.childNodes);a=a.createComponent(sH,b,e).instance;a.originalHref=c;a.href=d;c=a.getNgContentParentEl();f=l(f);for(d=f.next();!d.done;d=f.next())c.appendChild(d.value)};$J.prototype.createComponent=function(a,b,c){a=Wsa(a,{environmentInjector:this.appRef.injector,elementInjector:c.injector});b.appendChild(a.location.nativeElement);jlc(this.appRef,a.hostView);this.allComponentRefs.push(a);return a};
var NIc=function(a){for(var b=l(a.allComponentRefs),c=b.next();!c.done;c=b.next())c.value.destroy();a.allComponentRefs=[]};$J.\u0275fac=function(a){return new (a||$J)};$J.\u0275dir=$i({type:$J,selectors:[["","applyDynamicComponents",""]],inputs:{content:[0,"applyDynamicComponents","content"],canEditComment:"canEditComment"},outputs:{checkboxChange:"checkboxChange"},features:[$w]});var aK=function(){this.codefont=x(PF);this.canEditComment=!1;this.checkboxChange=new iE};aK.prototype.ngOnInit=function(){};aK.\u0275fac=function(a){return new (a||aK)};
aK.\u0275cmp=F({type:aK,selectors:[["b-markdown-format-presenter"]],inputs:{content:"content",canEditComment:"canEditComment"},outputs:{checkboxChange:"checkboxChange"},standalone:!1,features:[Bk([{provide:Bzc,useValue:"MARKDOWN"}])],decls:3,vars:6,consts:[["child",""],[1,"type-m","markdown-display",3,"checkboxChange","applyDynamicComponents","canEditComment"]],template:function(a,b){if(a&1){var c=y();L(0,"div",1,0);W(2,"async");Q("checkboxChange",function(d){z(c);return B(b.checkboxChange.emit(d))});
M()}a&2&&(rk("codefont",X(2,4,b.codefont.codefont$)),K("applyDynamicComponents",b.content.content)("canEditComment",b.canEditComment))},dependencies:[$J,py],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}.markdown-display summary{cursor:pointer}.markdown-display code{white-space:break-spaces}.markdown-display pre code{white-space:pre}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 pre .chl{border:1px solid #ffca28;background-color:#fff59d;padding:1px 0;margin:0 -1px}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-todo .g3mark-callout__icon::before,body:not(.dark-mode) .markdown-display .g3mark-callout-fixme .g3mark-callout__icon::before{color:#202124;content:"error_outline"}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-question .g3mark-callout__icon::before{color:#174ea6;content:"help"}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-todo,body:not(.dark-mode) .markdown-display .g3mark-callout-fixme{border-color:#bdc1c6;background:#f8f9fa;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:not(.dark-mode) .markdown-display .g3mark-callout-question{border-color:#669df6;background:#e8f0fe;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 pre .chl{border:1px solid #ffca28;background-color:#6a5619;padding:1px 0;margin:0 -1px}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-todo .g3mark-callout__icon::before,body.dark-mode .markdown-display .g3mark-callout-fixme .g3mark-callout__icon::before{color:#202124;content:"error_outline"}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-question .g3mark-callout__icon::before{color:#174ea6;content:"help"}body.dark-mode .markdown-display .g3mark-callout-todo,body.dark-mode .markdown-display .g3mark-callout-fixme,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,body.dark-mode .markdown-display .g3mark-callout-important,body.dark-mode .markdown-display .g3mark-callout-best_practice,body.dark-mode .markdown-display .g3mark-callout-summary,body.dark-mode .markdown-display .g3mark-callout-question{border-color:#fff;background:#3c4043;color:#fff}/*# sourceMappingURL=markdown_format_presenter.css.map */\n'],
encapsulation:2,changeDetection:0});var RIc=["child"],SIc=function(){return"[_nghost-%COMP%]     a:visited{color:#7627bb;color:var(--link-visited)}"},bK=function(){this.codefont=x(PF)};bK.prototype.ngOnInit=function(){};bK.\u0275fac=function(a){return new (a||bK)};
bK.\u0275cmp=F({type:bK,selectors:[["b-plain-format-presenter"]],inputs:{content:"content"},standalone:!1,features:[Bk([{provide:Bzc,useValue:"PLAIN"}])],decls:4,vars:4,consts:[[1,"type-m"],[3,"section"]],template:function(a,b){a&1&&(L(0,"div",0),W(1,"async"),Mj(2,ROa,1,1,"b-plain-format-section",1,Lj),M());a&2&&(rk("codefont",X(1,2,b.codefont.codefont$)),E(2),Nj(b.content.plainSection))},dependencies:function(){return[cK,py]},styles:[SIc()],changeDetection:0});var cK=function(){};
cK.prototype.ngOnInit=function(){};cK.\u0275fac=function(a){return new (a||cK)};cK.\u0275cmp=F({type:cK,selectors:[["b-plain-format-section"]],inputs:{section:"section"},standalone:!1,decls:3,vars:1,consts:[[3,"section"]],template:function(a,b){a&1&&(Sj(0),I(1,SOa,1,1,"b-plain-format-quoted-section",0)(2,TOa,1,1,"b-plain-format-unquoted-section",0),Tj());a&2&&(E(),J(b.section.isQuoted?1:2))},dependencies:function(){return[dK,eK]},encapsulation:2,changeDetection:0});
var dK=function(){this.showQuote=!1;this.childId="plainFormatQuotedSection"+ ++TIc};dK.prototype.ngOnInit=function(){};dK.prototype.ngOnChanges=function(){UOa(this)};var UOa=function(a){var b=a.child.nativeElement;if(a.showQuote)Of(b,a.section.content);else for(;b.lastChild;)b.lastChild.remove()};dK.\u0275fac=function(a){return new (a||dK)};
dK.\u0275cmp=F({type:dK,selectors:[["b-plain-format-quoted-section"]],viewQuery:function(a,b){a&1&&ek(RIc,7);if(a&2){var c;ik(c=jk())&&(b.child=c.first)}},inputs:{section:"section"},standalone:!1,features:[$w],decls:5,vars:2,consts:[["child",""],["tabindex","0","role","button","aria-expanded","true",1,"showhide","muted"],["tabindex","0","role","button","aria-expanded","false",1,"showhide","muted"],[1,"child",3,"id"],["tabindex","0","role","button","aria-expanded","true",1,"showhide","muted",3,"click"],
["tabindex","0","role","button","aria-expanded","false",1,"showhide","muted",3,"click"]],template:function(a,b){a&1&&(L(0,"div"),I(1,VOa,2,1,"a",1)(2,WOa,2,1,"a",2),N(3,"div",3,0),M());a&2&&(E(),J(b.showQuote?1:2),E(2),K("id",b.childId))},styles:[SIc()],changeDetection:0});var TIc=0,eK=function(){};eK.prototype.ngOnInit=function(){};eK.\u0275fac=function(a){return new (a||eK)};
eK.\u0275cmp=F({type:eK,selectors:[["b-plain-format-unquoted-section"]],inputs:{section:"section"},standalone:!1,decls:1,vars:1,consts:[[1,"child",3,"applyDynamicComponents"]],template:function(a,b){a&1&&N(0,"div",0);a&2&&K("applyDynamicComponents",b.section.content)},dependencies:[$J],encapsulation:2,changeDetection:0});var fK=function(){this.canEditComment=!1;this.checkboxChange=new iE;this.contentRendered=new iE};fK.prototype.ngOnInit=function(){};fK.prototype.ngAfterViewInit=function(){this.contentRendered.emit()};fK.\u0275fac=function(a){return new (a||fK)};
fK.\u0275cmp=F({type:fK,selectors:[["b-formatted-comment-presenter"]],inputs:{formattedComment:"formattedComment",canEditComment:"canEditComment"},outputs:{checkboxChange:"checkboxChange",contentRendered:"contentRendered"},standalone:!1,decls:3,vars:3,consts:[[3,"content"],[3,"content","canEditComment"],[3,"checkboxChange","content","canEditComment"]],template:function(a,b){a&1&&(I(0,XOa,1,1,"b-literal-format-presenter",0),I(1,YOa,1,2,"b-markdown-format-presenter",1),I(2,ZOa,1,1,"b-plain-format-presenter",
0));if(a&2){var c,d,e;J((c=b.formattedComment.literalFormat)?0:-1,c);E();J((d=b.formattedComment.markdownFormat)?1:-1,d);E();J((e=b.formattedComment.plainFormat)?2:-1,e)}},dependencies:[QF,aK,bK],encapsulation:2,changeDetection:0});var gK=function(){Z.apply(this,arguments);var a=this;this.formatter=x(KF);this.issueIdInternal="";this.audience="EXTERNAL";this.formattingMode="LITERAL";this.params$=new nj(1);this.formattedResult$=this.params$.pipe(fj(200),sj(function(b){return a.formatter.format(b).pipe(UIc,cj(function(){var c={literalFormat:{content:md(b.comment)}};return li({formattedComment:c,isFallback:!0})}))}))};Y(gK,Z);gK.\u0275dir=Z.\u0275dir;
gK.prototype.ngOnInit=function(){var a=this;this.comment$&&this.subscriptions.add(this.comment$.subscribe(function(b){a.params$.next({comment:b,issueId:a.issueIdInternal,audience:a.audience!=null?a.audience:"EXTERNAL",formattingMode:a.formattingMode,idPrefix:a.getIdPrefix()})}))};gK.prototype.ngOnChanges=function(){this.comment!=null&&this.params$.next({comment:this.comment,issueId:this.issueIdInternal,audience:this.audience!=null?this.audience:"EXTERNAL",formattingMode:this.formattingMode,idPrefix:this.getIdPrefix()})};
gK.prototype.getIdPrefix=function(){return this.idPrefix||"b"+this.issueIdInternal+"-draft"};pg.Object.defineProperties(gK.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueIdInternal=a||""}}});gK.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(gK)))(b||gK)}}();
gK.\u0275cmp=F({type:gK,selectors:[["b-live-preview"]],inputs:{comment:"comment",comment$:"comment$",issueId:"issueId",audience:"audience",formattingMode:"formattingMode",idPrefix:"idPrefix"},standalone:!1,features:[xj,$w],decls:2,vars:3,consts:[[1,"md-preview",3,"invisible","error"],[1,"md-preview"],[3,"formattedComment"]],template:function(a,b){a&1&&(I(0,$Oa,2,5,"div",0),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.formattedResult$))?0:-1,c)}},dependencies:[fK,py],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:rgb(253.5,243.5,242.5);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)}/*# sourceMappingURL=live_preview.css.map */"],
changeDetection:0});var UIc=C(function(a){return{formattedComment:a,isFallback:!1}});var VIc=/^\s*(?:hotlistid|h):(\d+)\s*$/i,WIc=/(?:\s|^)(?:componentid|c):(\d+)\s*/i,XIc=/^\s*savedsearchid:(\d+)\s*$/i,hK=function(){Z.call(this);var a=this;this.$log=x(NA);this.activeSession=x(Ks);this.contextSensitiveRegistry=x(yF);this.analytics=x(nE);this.currentQuery="";this.currentTrackerScope=[];this.queryState$=new $n({query:"",cursorPosition:void 0,setViaInteraction:!1});this.currentTrackerIdList$=wi(function(){var b;return li((b=a.activeSession.getTracker())==null?void 0:b.trackerId)}).pipe(C(function(b){return b?
[b]:[]}));this.selectedTrackerIds$=new oj;this.trackerScope$=Ci(this.currentTrackerIdList$,this.selectedTrackerIds$);this.searchHandlerStack=[];this.searchTriggered$=new oj;this.subscriptions.add(this.queryState$.pipe(tj(this.destroyed$)).subscribe(function(b){a.currentQuery=b.query;(b=a.currentQuery.match(WIc))?a.contextSensitiveRegistry.componentIdOverride$.next(b[1]):a.contextSensitiveRegistry.componentIdOverride$.next(null);(b=a.currentQuery.match(VIc))?a.contextSensitiveRegistry.hotlistIdOverride$.next(Number(b[1])):
a.contextSensitiveRegistry.hotlistIdOverride$.next(null)}));this.subscriptions.add(this.trackerScope$.pipe(tj(this.destroyed$)).subscribe(function(b){a.currentTrackerScope=b}))};Y(hK,Z);hK.\u0275dir=Z.\u0275dir;hK.prototype.clear=function(){iK(this,"")};var iK=function(a,b){a.queryState$.next({query:b,cursorPosition:void 0,setViaInteraction:!1})},YIc=function(a){return"assignee:"+a+" status:open"},ZIc=function(a,b){return a.currentQuery===YIc("me")||a.currentQuery===YIc(b===void 0?"":b)};
hK.prototype.getStarred=function(){return"star:true"};hK.prototype.isStarred=function(){return this.currentQuery===this.getStarred()};var $Ic=function(a){return"verifier:"+a+" status:open | status:fixed"},aJc=function(a){return(a=a.currentQuery.match(VIc))?Number(a[1]):0},bJc=function(a){return(a=a.currentQuery.match(XIc))?a[1]:void 0},cJc=function(a){return(a=a.currentQuery.match(WIc))?a[1]:void 0};hK.prototype.track=function(a,b,c){this.analytics.trackEvent("global-search",a,b,c)};
var dJc=function(a,b){a.searchHandlerStack.push(b);return function(){Fa(a.searchHandlerStack,b)}};hK.\u0275fac=function(a){return new (a||hK)};hK.\u0275prov=Dg({token:hK,factory:hK.\u0275fac,providedIn:"root"});var eJc=function(a,b){return[a,b]},jK=function(){this.size=this.name=""};jK.prototype.ngOnInit=function(){};jK.\u0275fac=function(a){return new (a||jK)};
jK.\u0275cmp=F({type:jK,selectors:[["b-icon"]],inputs:{name:"name",size:"size"},standalone:!1,decls:1,vars:6,consts:[[3,"svgIcon"]],template:function(a,b){a&1&&N(0,"mat-icon",0);a&2&&(sk(Ek(3,eJc,b.name,b.size)),K("svgIcon",b.name))},dependencies:[EA],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%]{--mat-icon-button-icon-size: 18px;height:18px;width:18px}[_nghost-%COMP%]   .large[_ngcontent-%COMP%]{height:24px;width:24px}'],changeDetection:0});var fJc=new kh("MAT_MENU_PANEL");var gJc=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],kK=function(){this._elementRef=x(Ph);this._document=x(Mm);this._focusMonitor=x(Ey);this._parentMenu=x(fJc,{optional:!0});this._changeDetectorRef=x(sx);this.role="menuitem";this.disableRipple=this.disabled=!1;this._hovered=new oj;this._focused=new oj;this._triggersSubmenu=this._highlighted=!1;x(Um).load(Qz);var a,b;(a=this._parentMenu)==null||(b=a.addItem)==null||b.call(a,this)};g=kK.prototype;
g.focus=function(a,b){this._focusMonitor&&a?Fy(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((d=a.textContent)==null?void 0:d.trim())||""};
g._setHighlighted=function(a){this._highlighted=a;this._changeDetectorRef.markForCheck()};g._setTriggersSubmenu=function(a){this._triggersSubmenu=a;this._changeDetectorRef.markForCheck()};g._hasFocus=function(){return this._document&&this._document.activeElement===this._getHostElement()};kK.\u0275fac=function(a){return new (a||kK)};
kK.\u0275cmp=F({type:kK,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(a,b){a&1&&Q("click",function(c){return b._checkDisabled(c)})("mouseenter",function(){return b._handleMouseEnter()});a&2&&(Hj("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled)("disabled",b.disabled||null),rk("mat-mdc-menu-item-highlighted",b._highlighted)("mat-mdc-menu-item-submenu-trigger",b._triggersSubmenu))},inputs:{role:"role",
disabled:[2,"disabled","disabled",Tk],disableRipple:[2,"disableRipple","disableRipple",Tk]},exportAs:["matMenuItem"],attrs:["mat-menu-item",""],ngContentSelectors:["mat-icon, [matMenuItemIcon]","*"],decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(a,b){a&1&&(Zj(gJc),ak(0),L(1,
"span",0),ak(2,1),M(),N(3,"div",1),I(4,ePa,2,0,":svg:svg",2));a&2&&(E(3),K("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),E(),J(b._triggersSubmenu?4:-1))},dependencies:[Tz],encapsulation:2,changeDetection:0});var hJc=new kh("MatMenuContent"),lK=function(){this._template=x(bk);this._appRef=x(Pk);this._injector=x(yj);this._viewContainerRef=x(ck);this._document=x(Mm);this._changeDetectorRef=x(sx);this._attached=new oj};
lK.prototype.attach=function(a){a=a===void 0?{}:a;this._portal||(this._portal=new Bz(this._template,this._viewContainerRef));this.detach();this._outlet||(this._outlet=new Ym(this._document.createElement("div"),this._appRef,this._injector));var b=this._template.elementRef.nativeElement;b.parentNode.insertBefore(this._outlet.outletElement,b);this._changeDetectorRef.markForCheck();this._portal.attach(this._outlet,a);this._attached.next()};
lK.prototype.detach=function(){var a;((a=this._portal)==null?0:a.isAttached)&&this._portal.detach()};lK.prototype.ngOnDestroy=function(){this.detach();var a;(a=this._outlet)==null||a.dispose()};lK.\u0275fac=function(a){return new (a||lK)};lK.\u0275dir=$i({type:lK,selectors:[["ng-template","matMenuContent",""]],features:[Bk([{provide:hJc,useExisting:lK}])]});var iJc=new kh("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),mK=function(){this._elementRef=x(Ph);this._changeDetectorRef=x(sx);this._injector=x(yj);this._animationsDisabled=hn();this._directDescendantItems=new dk;this._classList={};this._panelAnimationState="void";this._animationDone=new oj;this._isAnimating=kk.apply(null,[!1].concat(p([])));this.close=this.closed=
new Lp;this.panelId=x(Wm).getId("mat-menu-panel-");var a=x(iJc);this.overlayPanelClass=a.overlayPanelClass||"";this._xPosition=a.xPosition;this._yPosition=a.yPosition;this.backdropClass=a.backdropClass;this.overlapTrigger=a.overlapTrigger;this.hasBackdrop=a.hasBackdrop};g=mK.prototype;g.ngOnInit=function(){this.setPositionClasses()};
g.ngAfterContentInit=function(){var a=this;this._updateDirectDescendants();this._keyManager=fz(uoc(cz(new iz(this._directDescendantItems))));this._keyManager.tabOut.subscribe(function(){return a.closed.emit("tab")});this._directDescendantItems.changes.pipe(rj(this._directDescendantItems),sj(function(b){return Ci.apply(null,p(b.map(function(c){return c._focused})))})).subscribe(function(b){return gz(a._keyManager,b)});this._directDescendantItems.changes.subscribe(function(b){var c=a._keyManager,d;
a._panelAnimationState==="enter"&&((d=c.activeItem)==null?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;(a=this._keyManager)==null||a.destroy();this._directDescendantItems.destroy();this.closed.complete();var b;(b=this._firstItemFocusRef)==null||b.destroy();clearTimeout(this._exitFallbackTimeout)};
g._hovered=function(){return this._directDescendantItems.changes.pipe(rj(this._directDescendantItems),sj(function(a){return Ci.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:ym(a)||(a.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:b!==38&&b!==40||xoc(c,"keyboard"),c.onKeydown(a)}};
var jJc=function(a,b){b=b===void 0?"program":b;var c;(c=a._firstItemFocusRef)==null||c.destroy();a._firstItemFocusRef=Ej(function(){var d=a._resolvePanel();if(!d||!d.contains(document.activeElement)){var e=a._keyManager;xoc(e,b)._setActiveItemByIndex(0,1);!e.activeItem&&d&&d.focus()}},{injector:a._injector})};g=mK.prototype;
g.setPositionClasses=function(a,b){a=a===void 0?this.xPosition:a;b=b===void 0?this.yPosition:b;var c={};this._classList=Object.assign({},this._classList,(c["mat-menu-before"]=a==="before",c["mat-menu-after"]=a==="after",c["mat-menu-above"]=b==="above",c["mat-menu-below"]=b==="below",c));this._changeDetectorRef.markForCheck()};
g._onAnimationDone=function(a){var b=a==="_mat-menu-exit";if(b||a==="_mat-menu-enter")b&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(b?"void":"enter"),this._isAnimating.set(!1)};g._onAnimationStart=function(a){a!=="_mat-menu-enter"&&a!=="_mat-menu-exit"||this._isAnimating.set(!0)};
g._setIsOpen=function(a){var b=this;this._panelAnimationState=a?"enter":"void";if(a){if(this._keyManager.activeItemIndex===0){var c=this._resolvePanel();c&&(c.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(function(){return b._onAnimationDone("_mat-menu-exit")},200));this._animationsDisabled&&setTimeout(function(){b._onAnimationDone(a?"_mat-menu-enter":"_mat-menu-exit")});this._changeDetectorRef.markForCheck()};
g._updateDirectDescendants=function(){var a=this;this._allItems.changes.pipe(rj(this._allItems)).subscribe(function(b){a._directDescendantItems.reset(b.filter(function(c){return c._parentMenu===a}));hk(a._directDescendantItems)})};g._resolvePanel=function(){var a=null;this._directDescendantItems.length&&(a=this._directDescendantItems.first._getHostElement().closest('[role="menu"]'));return a};
pg.Object.defineProperties(mK.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()}},panelClass:{configurable:!0,enumerable:!0,set:function(a){var b=this._previousPanelClass,c=Object.assign({},this._classList);b&&b.length&&b.split(" ").forEach(function(d){c[d]=
!1});(this._previousPanelClass=a)&&a.length&&(a.split(" ").forEach(function(d){c[d]=!0}),this._elementRef.nativeElement.className="");this._classList=c}},classList:{configurable:!0,enumerable:!0,get:function(){return this.panelClass},set:function(a){this.panelClass=a}}});mK.\u0275fac=function(a){return new (a||mK)};
mK.\u0275cmp=F({type:mK,selectors:[["mat-menu"]],contentQueries:function(a,b,c){a&1&&(fk(c,hJc,5),fk(c,kK,5),fk(c,kK,4));if(a&2){var d;ik(d=jk())&&(b.lazyContent=d.first);ik(d=jk())&&(b._allItems=d);ik(d=jk())&&(b.items=d)}},viewQuery:function(a,b){a&1&&ek(bk,5);if(a&2){var c;ik(c=jk())&&(b.templateRef=c.first)}},hostVars:3,hostBindings:function(a){a&2&&Hj("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],
ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",Tk],hasBackdrop:[2,"hasBackdrop","hasBackdrop",function(a){return a==null?null:Tk(a)}],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[Bk([{provide:fJc,useExisting:mK}])],ngContentSelectors:["*"],decls:1,vars:0,consts:[["tabindex",
"-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(a){a&1&&(Zj(),Dqa(0,fPa,3,12,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}@keyframes _mat-menu-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-menu-exit{from{opacity:1}to{opacity:0}}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;box-sizing:border-box;outline:0;animation:_mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 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));will-change:transform,opacity}.mat-mdc-menu-panel.mat-menu-panel-exit-animation{animation:_mat-menu-exit 100ms 25ms linear forwards}.mat-mdc-menu-panel.mat-menu-panel-animations-disabled{animation:none}.mat-mdc-menu-panel.mat-menu-panel-animating{pointer-events:none}.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{border-top-color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],
encapsulation:2,changeDetection:0});var kJc=new kh("mat-menu-scroll-strategy",{providedIn:"root",factory:function(){var a=x(yj);return function(){return Om(a)}}}),nK=new WeakMap,oK=function(a){this._canHaveBackdrop=a;this._element=x(Ph);this._viewContainerRef=x(ck);this._menuItemInstance=x(kK,{optional:!0,self:!0});this._dir=x(Xm,{optional:!0});this._focusMonitor=x(Ey);this._ngZone=x(Kk);this._injector=x(yj);this._scrollStrategy=x(kJc);this._changeDetectorRef=x(sx);this._animationsDisabled=hn();this._overlayRef=null;this._menuOpen=
!1;this._menuCloseSubscription=this._closingActionsSubscription=Yh.EMPTY;this._openedBy=void 0;var b=x(fJc,{optional:!0});this._parentMaterialMenu=b instanceof mK?b:void 0};g=oK.prototype;g.ngOnDestroy=function(){this._menu&&this._ownsMenu(this._menu)&&nK.delete(this._menu);var a;(a=this._pendingRemoval)==null||a.unsubscribe();this._menuCloseSubscription.unsubscribe();this._closingActionsSubscription.unsubscribe();this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)};
g._triggersSubmenu=function(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)};g._closeMenu=function(){var a;(a=this._menu)==null||a.close.emit()};
g._openMenu=function(a){var b=this,c=this._menu;if(!this._menuOpen&&c){var d;(d=this._pendingRemoval)==null||d.unsubscribe();d=nK.get(c);nK.set(c,this);d&&d!==this&&d._closeMenu();d=this._createOverlay(c);var e=d.getConfig(),f=e.positionStrategy;this._setPosition(c,f);e.hasBackdrop=this._canHaveBackdrop?c.hasBackdrop==null?!this._triggersSubmenu():c.hasBackdrop:!1;if(!d.hasAttached()){d.attach(this._getPortal(c));var h;(h=c.lazyContent)==null||h.attach(this.menuData)}this._closingActionsSubscription=
this._menuClosingActions().subscribe(function(){return b._closeMenu()});c.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0;c.direction=this.dir;a&&jJc(c,this._openedBy||"program");this._setIsMenuOpen(!0);c instanceof mK&&(c._setIsOpen(!0),c._directDescendantItems.changes.pipe(tj(c.close)).subscribe(function(){Noc(Roc(f,!1));Roc(f,!0)}))}};g.focus=function(a,b){this._focusMonitor&&a?Fy(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};
g._destroyMenu=function(a){var b=this._overlayRef,c=this._menu;if(b&&this.menuOpen){this._closingActionsSubscription.unsubscribe();var d;(d=this._pendingRemoval)==null||d.unsubscribe();if(c instanceof mK&&this._ownsMenu(c))this._pendingRemoval=c._animationDone.pipe(hj(1)).subscribe(function(){b.detach();if(!nK.has(c)){var f;(f=c.lazyContent)==null||f.detach()}}),c._setIsOpen(!1);else{b.detach();var e;c==null||(e=c.lazyContent)==null||e.detach()}c&&this._ownsMenu(c)&&nK.delete(c);!this.restoreFocus||
a!=="keydown"&&this._openedBy&&this._triggersSubmenu()||this.focus(this._openedBy);this._openedBy=void 0;this._setIsMenuOpen(!1)}};g._setIsMenuOpen=function(a){a!==this._menuOpen&&((this._menuOpen=a)?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(a),this._changeDetectorRef.markForCheck())};
g._createOverlay=function(a){var b=this;if(!this._overlayRef){var c=this._getOverlayConfig(a);this._subscribeToPositions(a,c.positionStrategy);this._overlayRef=fn(this._injector,c);this._overlayRef.keydownEvents().subscribe(function(d){b._menu instanceof mK&&b._menu._handleKeydown(d)})}return this._overlayRef};
g._getOverlayConfig=function(a){return new Zm({positionStrategy:Soc(Poc(Roc(Sm(this._injector,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||"ltr",disableAnimations:this._animationsDisabled})};
g._subscribeToPositions=function(a,b){var c=this;a.setPositionClasses&&b.positionChanges.subscribe(function(d){c._ngZone.run(function(){a.setPositionClasses(d.connectionPair.overlayX==="start"?"after":"before",d.connectionPair.overlayY==="top"?"below":"above")})})};
g._setPosition=function(a,b){var c=l(a.xPosition==="before"?["end","start"]:["start","end"]),d=c.next().value;c=c.next().value;var e=l(a.yPosition==="above"?["bottom","top"]:["top","bottom"]),f=e.next().value;e=e.next().value;var h=l([f,e]),k=h.next().value;h=h.next().value;var q=l([d,c]),u=q.next().value;q=q.next().value;var A=0;this._triggersSubmenu()?(q=d=a.xPosition==="before"?"start":"end",c=u=d==="end"?"start":"end",this._parentMaterialMenu&&(this._parentInnerPadding==null&&(this._parentInnerPadding=
(a=this._parentMaterialMenu.items.first)?a._getHostElement().offsetTop:0),A=f==="bottom"?this._parentInnerPadding:-this._parentInnerPadding)):a.overlapTrigger||(k=f==="top"?"bottom":"top",h=e==="top"?"bottom":"top");sz(b,[{originX:d,originY:k,overlayX:u,overlayY:f,offsetY:A},{originX:c,originY:k,overlayX:q,overlayY:f,offsetY:A},{originX:d,originY:h,overlayX:u,overlayY:e,offsetY:-A},{originX:c,originY:h,overlayX:q,overlayY:e,offsetY:-A}])};
g._menuClosingActions=function(){var a=this,b=this._getOutsideClickStream(this._overlayRef),c=this._overlayRef._detachments,d=this._parentMaterialMenu?this._parentMaterialMenu.closed:li(),e=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Di(function(f){return a._menuOpen&&f!==a._menuItemInstance})):li();return Ci(b,d,e,c)};g._getPortal=function(a){this._portal&&this._portal.templateRef===a.templateRef||(this._portal=new Bz(a.templateRef,this._viewContainerRef));return this._portal};
g._ownsMenu=function(a){return nK.get(a)===this};
pg.Object.defineProperties(oK.prototype,{_menu:{configurable:!0,enumerable:!0,get:function(){return this._menuInternal},set:function(a){var b=this;if(a!==this._menuInternal){this._menuInternal=a;this._menuCloseSubscription.unsubscribe();a&&(this._menuCloseSubscription=a.close.subscribe(function(d){b._destroyMenu(d);d!=="click"&&d!=="tab"||!b._parentMaterialMenu||b._parentMaterialMenu.closed.emit(d)}));var c;(c=this._menuItemInstance)==null||c._setTriggersSubmenu(this._triggersSubmenu())}}},menuOpen:{configurable:!0,
enumerable:!0,get:function(){return this._menuOpen}},dir:{configurable:!0,enumerable:!0,get:function(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}}});oK.\u0275fac=function(){Joa()};oK.\u0275dir=$i({type:oK});var pK=function(){oK.call(this,!0);var a=this;this._hoverSubscription=Yh.EMPTY;this.restoreFocus=!0;this.onMenuOpen=this.menuOpened=new Lp;this.onMenuClose=this.menuClosed=new Lp;this._cleanupTouchstart=x($m).listen(this._element.nativeElement,"touchstart",function(b){awa(b)||(a._openedBy="touch")},{passive:!0})};Y(pK,oK);g=pK.prototype;g.openMenu=function(){this._openMenu(!0)};g.closeMenu=function(){this._closeMenu()};g.updatePosition=function(){var a;(a=this._overlayRef)==null||a.updatePosition()};
g.ngAfterContentInit=function(){this._handleHover()};g.ngOnDestroy=function(){oK.prototype.ngOnDestroy.call(this);this._cleanupTouchstart();this._hoverSubscription.unsubscribe()};g._getOverlayOrigin=function(){return this._element};g._getOutsideClickStream=function(a){return a.backdropClick()};g._handleMousedown=function(a){$va(a)||(this._openedBy=a.button===0?"mouse":void 0,oK.prototype._triggersSubmenu.call(this)&&a.preventDefault())};
g._handleKeydown=function(a){a=a.keyCode;if(a===13||a===32)this._openedBy="keyboard";oK.prototype._triggersSubmenu.call(this)&&(a===39&&this.dir==="ltr"||a===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())};g._handleClick=function(a){oK.prototype._triggersSubmenu.call(this)?(a.stopPropagation(),this.openMenu()):this.menuOpen?this.closeMenu():this.openMenu()};
g._handleHover=function(){var a=this;oK.prototype._triggersSubmenu.call(this)&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(function(b){var c;b!==a._menuItemInstance||b.disabled||((c=a._parentMaterialMenu)==null?void 0:c._panelAnimationState)==="void"||(a._openedBy="mouse",a._openMenu(!1))}))};
pg.Object.defineProperties(pK.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){this._menu=a}}});pK.\u0275fac=function(a){return new (a||pK)};
pK.\u0275dir=$i({type:pK,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(a,b){a&1&&Q("click",function(c){return b._handleClick(c)})("mousedown",function(c){return b._handleMousedown(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&Hj("aria-haspopup",b.menu?"menu":null)("aria-expanded",b.menuOpen)("aria-controls",b.menuOpen?b.menu==null?null:b.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,
"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[xj]});var lJc=["input"],mJc=["formField"],nJc=function(a,b){this.source=a;this.value=b},oJc={provide:cG,useExisting:$g(function(){return qK}),multi:!0},pJc=new kh("MatRadioGroup"),qJc=new kh("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent",disabledInteractive:!1}}}),qK=function(){this._changeDetector=x(sx);this._value=null;this._name=x(Wm).getId("mat-radio-group-");this._selected=null;this._isInitialized=!1;this._labelPosition="after";this._required=this._disabled=
!1;this._controlValueAccessorChangeFn=function(){};this.onTouched=function(){};this.change=new Lp;this._disabledInteractive=!1};g=qK.prototype;g._checkSelectedRadioButton=function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)};g.ngAfterContentInit=function(){var a=this;this._isInitialized=!0;this._buttonChanges=this._radios.changes.subscribe(function(){a.selected&&!a._radios.find(function(b){return b===a.selected})&&(a._selected=null)})};
g.ngOnDestroy=function(){var a;(a=this._buttonChanges)==null||a.unsubscribe()};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=this._selected!==null&&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 nJc(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()};
pg.Object.defineProperties(qK.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=a==="before"?"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=a;this._markRadiosForCheck()}},required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=a;this._markRadiosForCheck()}},disabledInteractive:{configurable:!0,
enumerable:!0,get:function(){return this._disabledInteractive},set:function(a){this._disabledInteractive=a;this._markRadiosForCheck()}}});qK.\u0275fac=function(a){return new (a||qK)};
qK.\u0275dir=$i({type:qK,selectors:[["mat-radio-group"]],contentQueries:function(a,b,c){a&1&&fk(c,rK,5);if(a&2){var d;ik(d=jk())&&(b._radios=d)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[2,"disabled","disabled",Tk],required:[2,"required","required",Tk],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Tk]},outputs:{change:"change"},exportAs:["matRadioGroup"],
features:[Bk([oJc,{provide:pJc,useExisting:qK}])]});
var rK=function(){var a=this;this._elementRef=x(Ph);this._changeDetector=x(sx);this._focusMonitor=x(Ey);this._radioDispatcher=x(oz);this._defaultOptions=x(qJc,{optional:!0});this._ngZone=x(Kk);this._renderer=x($m);this.id=this._uniqueId=x(Wm).getId("mat-radio-");this.disableRipple=!1;this.tabIndex=0;this.change=new Lp;this._checked=!1;this._value=null;this._removeUniqueSelectionListener=function(){};this._noopAnimations=hn();this._injector=x(yj);this._onInputClick=function(f){a.disabled&&a.disabledInteractive&&
f.preventDefault()};x(Um).load(Qz);var b=x(pJc,{optional:!0}),c=x(new ax("tabindex"),{optional:!0});this.radioGroup=b;var d,e;this._disabledInteractive=(e=(d=this._defaultOptions)==null?void 0:d.disabledInteractive)!=null?e:!1;c&&(this.tabIndex=Uk(c,0))};g=rK.prototype;g.focus=function(a,b){b?Fy(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()});this._ngZone.runOutsideAngular(function(){a._cleanupClick=a._renderer.listen(a._inputElement.nativeElement,"click",a._onInputClick)})};g.ngOnDestroy=function(){var a;(a=this._cleanupClick)==null||a.call(this);this._focusMonitor.stopMonitoring(this._elementRef);this._removeUniqueSelectionListener()};
g._emitChangeEvent=function(){this.change.emit(new nJc(this,this._value))};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};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);if(!this.disabled||this.disabledInteractive){var b;(b=this._inputElement)==null||b.nativeElement.focus()}};g._setDisabled=function(a){this._disabled!==a&&(this._disabled=a,this._changeDetector.markForCheck())};
g._updateTabIndex=function(){var a=this,b=this.radioGroup;var c=b&&b.selected&&!this.disabled?b.selected===this?this.tabIndex:-1:this.tabIndex;if(c!==this._previousTabIndex){var d,e=(d=this._inputElement)==null?void 0:d.nativeElement;e&&(e.setAttribute("tabindex",c+""),this._previousTabIndex=c,Ej(function(){queueMicrotask(function(){if(b&&b.selected&&b.selected!==a&&document.activeElement===e){var f;(f=b.selected)==null||f._inputElement.nativeElement.focus();document.activeElement===e&&a._inputElement.nativeElement.blur()}})},
{injector:this._injector}))}};
pg.Object.defineProperties(rK.prototype,{checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(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,this.radioGroup!==null&&(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||this.radioGroup!==null&&this.radioGroup.disabled},set:function(a){this._setDisabled(a)}},required:{configurable:!0,
enumerable:!0,get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(a){a!==this._required&&this._changeDetector.markForCheck();this._required=a}},color:{configurable:!0,enumerable:!0,get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._defaultOptions&&this._defaultOptions.color||"accent"},set:function(a){this._color=a}},disabledInteractive:{configurable:!0,enumerable:!0,get:function(){return this._disabledInteractive||this.radioGroup!==
null&&this.radioGroup.disabledInteractive},set:function(a){this._disabledInteractive=a}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}}});rK.\u0275fac=function(a){return new (a||rK)};
rK.\u0275cmp=F({type:rK,selectors:[["mat-radio-button"]],viewQuery:function(a,b){a&1&&(ek(lJc,5),ek(mJc,7,Ph));if(a&2){var c;ik(c=jk())&&(b._inputElement=c.first);ik(c=jk())&&(b._rippleTrigger=c.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:19,hostBindings:function(a,b){a&1&&Q("focus",function(){return b._inputElement.nativeElement.focus()});a&2&&(Hj("id",b.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),rk("mat-primary",b.color==="primary")("mat-accent",
b.color==="accent")("mat-warn",b.color==="warn")("mat-mdc-radio-checked",b.checked)("mat-mdc-radio-disabled",b.disabled)("mat-mdc-radio-disabled-interactive",b.disabledInteractive)("_mat-animation-noopable",b._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",Tk],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==
null?0:Uk(a)}],checked:[2,"checked","checked",Tk],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",Tk],required:[2,"required","required",Tk],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",Tk]},outputs:{change:"change"},exportAs:["matRadioButton"],ngContentSelectors:["*"],decls:13,vars:17,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type",
"radio","aria-invalid","false",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(a,b){if(a&1){var c=y();Zj();L(0,"div",2,0)(2,"div",3)(3,"div",4);Q("click",function(d){z(c);
return B(b._onTouchTargetClick(d))});M();L(4,"input",5,1);Q("change",function(d){z(c);return B(b._onInputInteraction(d))});M();L(6,"div",6);N(7,"div",7)(8,"div",8);M();L(9,"div",9);N(10,"div",10);M()();L(11,"label",11);ak(12);M()()}a&2&&(K("labelPosition",b.labelPosition),E(2),rk("mdc-radio--disabled",b.disabled),E(2),K("id",b.inputId)("checked",b.checked)("disabled",b.disabled&&!b.disabledInteractive)("required",b.required),Hj("name",b.name)("value",b.value)("aria-label",b.ariaLabel)("aria-labelledby",
b.ariaLabelledby)("aria-describedby",b.ariaDescribedby)("aria-disabled",b.disabled&&b.disabledInteractive?"true":null),E(5),K("matRippleTrigger",b._rippleTrigger.nativeElement)("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",!0),E(2),K("for",b.inputId))},dependencies:[Tz,Rz],styles:['.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:not([disabled])~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-hover-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-pressed-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-radio-button .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px);top:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2);left:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0);border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),background-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}@media(forced-colors: active){.mat-mdc-radio-button .mdc-radio__inner-circle{background-color:CanvasText !important}}.mat-mdc-radio-button .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled{pointer-events:auto}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button label{cursor:pointer}.mat-mdc-radio-button .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color, var(--mat-sys-primary))}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-radio-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-radio-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-radio-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-radio-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-radio-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple>.mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button .mdc-radio>.mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.cdk-focused .mat-focus-indicator::before{content:""}.mat-mdc-radio-disabled{cursor:default;pointer-events:none}.mat-mdc-radio-disabled.mat-mdc-radio-disabled-interactive{pointer-events:auto}.mat-mdc-radio-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-radio-touch-target-size, 48px);width:var(--mat-radio-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display, block)}[dir=rtl] .mat-mdc-radio-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}\n'],
encapsulation:2,changeDetection:0});var rJc=new kh("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1}}});var sJc=["switch"],tJc=function(a,b){this.source=a;this.checked=b},sK=function(){this._elementRef=x(Ph);this._focusMonitor=x(Ey);this._changeDetectorRef=x(sx);this.defaults=x(rJc);this._onChange=function(){};this._onTouched=function(){};this._validatorOnChange=function(){};this._checked=!1;this._noopAnimations=hn();this.name=null;this.labelPosition="after";this.ariaLabelledby=this.ariaLabel=null;this.disableRipple=this.disabled=!1;this.tabIndex=0;this.change=new Lp;this.toggleChange=new Lp;x(Um).load(Qz);
var a=x(new ax("tabindex"),{optional:!0}),b=this.defaults;this.tabIndex=a==null?0:parseInt(a)||0;this.color=b.color||"accent";this.id=this._uniqueId=x(Wm).getId("mat-mdc-slide-toggle-");var c;this.hideIcon=(c=b.hideIcon)!=null?c:!1;var d;this.disabledInteractive=(d=b.disabledInteractive)!=null?d:!1;this._labelId=this._uniqueId+"-label"};g=sK.prototype;g._createChangeEvent=function(a){return new tJc(this,a)};g.focus=function(){this._switchElement.nativeElement.focus()};
g.ngAfterContentInit=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b==="keyboard"||b==="program"?(a._focused=!0,a._changeDetectorRef.markForCheck()):b||Promise.resolve().then(function(){a._focused=!1;a._onTouched();a._changeDetectorRef.markForCheck()})})};g.ngOnChanges=function(a){a.required&&this._validatorOnChange()};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.validate=function(a){return this.required&&a.value!==!0?{required:!0}:null};g.registerOnValidatorChange=function(a){this._validatorOnChange=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))};
g._handleClick=function(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new tJc(this,this.checked))))};g._getAriaLabelledBy=function(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId};
pg.Object.defineProperties(sK.prototype,{buttonId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-button"}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){this._checked=a;this._changeDetectorRef.markForCheck()}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}}});sK.\u0275fac=function(a){return new (a||sK)};
sK.\u0275cmp=F({type:sK,selectors:[["mat-slide-toggle"]],viewQuery:function(a,b){a&1&&ek(sJc,5);if(a&2){var c;ik(c=jk())&&(b._switchElement=c.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(a,b){a&2&&(Oj("id",b.id),Hj("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),sk(b.color?"mat-"+b.color:""),rk("mat-mdc-slide-toggle-focused",b._focused)("mat-mdc-slide-toggle-checked",b.checked)("_mat-animation-noopable",b._noopAnimations))},inputs:{name:"name",
id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",Tk],color:"color",disabled:[2,"disabled","disabled",Tk],disableRipple:[2,"disableRipple","disableRipple",Tk],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:Uk(a)}],checked:[2,"checked","checked",Tk],hideIcon:[2,"hideIcon","hideIcon",Tk],disabledInteractive:[2,"disabledInteractive",
"disabledInteractive",Tk]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[Bk([{provide:cG,useExisting:$g(function(){return sK}),multi:!0},{provide:dG,useExisting:sK,multi:!0}]),$w],ngContentSelectors:["*"],decls:14,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mat-mdc-slide-toggle-touch-target"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],
[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",
1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(a,b){if(a&1){var c=y();Zj();L(0,"div",1)(1,"button",2,0);Q("click",function(){z(c);return B(b._handleClick())});N(3,"div",3)(4,"span",4);L(5,"span",5)(6,"span",6)(7,"span",7);N(8,"span",8);M();L(9,"span",9);N(10,"span",10);M();I(11,gPa,5,0,"span",11);M()()();L(12,"label",12);Q("click",function(d){z(c);return B(d.stopPropagation())});ak(13);M()()}a&2&&(a=T(2),K("labelPosition",b.labelPosition),E(),rk("mdc-switch--selected",
b.checked)("mdc-switch--unselected",!b.checked)("mdc-switch--checked",b.checked)("mdc-switch--disabled",b.disabled)("mat-mdc-slide-toggle-disabled-interactive",b.disabledInteractive),K("tabIndex",b.disabled&&!b.disabledInteractive?-1:b.tabIndex)("disabled",b.disabled&&!b.disabledInteractive),Hj("id",b.buttonId)("name",b.name)("aria-label",b.ariaLabel)("aria-labelledby",b._getAriaLabelledBy())("aria-describedby",b.ariaDescribedby)("aria-required",b.required||null)("aria-checked",b.checked)("aria-disabled",
b.disabled&&b.disabledInteractive?"true":null),E(9),K("matRippleTrigger",a)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0),E(),J(b.hideIcon?-1:11),E(),K("for",b.buttonId),Hj("id",b._labelId))},dependencies:[Tz,Rz],styles:['.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mat-slide-toggle-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mat-slide-toggle-track-height, 32px);border-radius:var(--mat-slide-toggle-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mat-slide-toggle-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-slide-toggle-track-outline-width, 2px);border-color:var(--mat-slide-toggle-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-slide-toggle-selected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-slide-toggle-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mat-slide-toggle-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mat-slide-toggle-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mat-slide-toggle-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mat-slide-toggle-disabled-selected-track-color, var(--mat-sys-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mat-slide-toggle-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mat-slide-toggle-handle-width);height:var(--mat-slide-toggle-handle-height);border-radius:var(--mat-slide-toggle-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-slide-toggle-unselected-handle-size, 16px);height:var(--mat-slide-toggle-unselected-handle-size, 16px);margin:var(--mat-slide-toggle-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-slide-toggle-selected-handle-size, 24px);height:var(--mat-slide-toggle-selected-handle-size, 24px);margin:var(--mat-slide-toggle-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-slide-toggle-with-icon-handle-size, 24px);height:var(--mat-slide-toggle-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-slide-toggle-pressed-handle-size, 28px);height:var(--mat-slide-toggle-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mat-slide-toggle-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mat-slide-toggle-state-layer-size, 40px);height:var(--mat-slide-toggle-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-hover-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-focus-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1;transform:translateZ(0)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mat-slide-toggle-unselected-icon-size, 16px);height:var(--mat-slide-toggle-unselected-icon-size, 16px);fill:var(--mat-slide-toggle-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mat-slide-toggle-selected-icon-size, 16px);height:var(--mat-slide-toggle-selected-icon-size, 16px);fill:var(--mat-slide-toggle-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-selected-icon-color, var(--mat-sys-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-slide-toggle-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-slide-toggle-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-slide-toggle-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-slide-toggle-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-slide-toggle-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-slide-toggle-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mat-slide-toggle-disabled-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-slide-toggle-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-slide-toggle-touch-target-size, 48px);width:100%;transform:translate(-50%, -50%);display:var(--mat-slide-toggle-touch-target-display, block)}[dir=rtl] .mat-mdc-slide-toggle-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}\n'],
encapsulation:2,changeDetection:0});var tK=new kh("CDK_TABLE");new kh("text-column-options");var uK=function(){this.template=x(bk)};uK.\u0275fac=function(a){return new (a||uK)};uK.\u0275dir=$i({type:uK,selectors:[["","cdkCellDef",""]]});var vK=function(){this.template=x(bk)};vK.\u0275fac=function(a){return new (a||vK)};vK.\u0275dir=$i({type:vK,selectors:[["","cdkHeaderCellDef",""]]});var wK=function(){this.template=x(bk)};wK.\u0275fac=function(a){return new (a||wK)};wK.\u0275dir=$i({type:wK,selectors:[["","cdkFooterCellDef",""]]});
var xK=function(){this._table=x(tK,{optional:!0});this._stickyEnd=this._sticky=this._hasStickyChanged=!1};xK.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};xK.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};xK.prototype._updateColumnCssClassName=function(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]};
xK.prototype._setNameInput=function(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())};
pg.Object.defineProperties(xK.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}},sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}},stickyEnd:{configurable:!0,enumerable:!0,get:function(){return this._stickyEnd},set:function(a){a!==this._stickyEnd&&(this._stickyEnd=a,this._hasStickyChanged=!0)}}});
xK.\u0275fac=function(a){return new (a||xK)};xK.\u0275dir=$i({type:xK,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,b,c){a&1&&(fk(c,uK,5),fk(c,vK,5),fk(c,wK,5));if(a&2){var d;ik(d=jk())&&(b.cell=d.first);ik(d=jk())&&(b.headerCell=d.first);ik(d=jk())&&(b.footerCell=d.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",Tk],stickyEnd:[2,"stickyEnd","stickyEnd",Tk]},features:[Bk([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:xK}])]});
var yK=function(a,b){b.nativeElement.classList.add.apply(b.nativeElement.classList,p(a._columnCssClassName))},zK=function(){yK.call(this,x(xK),x(Ph))};Y(zK,yK);zK.\u0275fac=function(a){return new (a||zK)};zK.\u0275dir=$i({type:zK,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[xj]});
var AK=function(){var a=x(xK),b=x(Ph);yK.call(this,a,b);var c;(a=(c=a._table)==null?void 0:c._getCellRole())&&b.nativeElement.setAttribute("role",a)};Y(AK,yK);AK.\u0275fac=function(a){return new (a||AK)};AK.\u0275dir=$i({type:AK,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[xj]});var BK=function(){var a=x(xK),b=x(Ph);yK.call(this,a,b);var c;(a=(c=a._table)==null?void 0:c._getCellRole())&&b.nativeElement.setAttribute("role",a)};Y(BK,yK);
BK.\u0275fac=function(a){return new (a||BK)};BK.\u0275dir=$i({type:BK,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[xj]});var CK=function(){this.template=x(bk);this._differs=x(ux)};CK.prototype.ngOnChanges=function(a){this._columnsDiffer||(a=a.columns&&a.columns.currentValue||[],this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a))};CK.\u0275fac=function(a){return new (a||CK)};CK.\u0275dir=$i({type:CK,features:[$w]});var DK=function(){CK.call(this,x(bk),x(ux));this._table=x(tK,{optional:!0});this._sticky=this._hasStickyChanged=!1};Y(DK,CK);
DK.prototype.ngOnChanges=function(a){CK.prototype.ngOnChanges.call(this,a)};DK.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};DK.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};pg.Object.defineProperties(DK.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}}});DK.\u0275fac=function(a){return new (a||DK)};
DK.\u0275dir=$i({type:DK,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",Tk]},features:[xj,$w]});var EK=function(){CK.call(this,x(bk),x(ux));this._table=x(tK,{optional:!0});this._sticky=this._hasStickyChanged=!1};Y(EK,CK);EK.prototype.ngOnChanges=function(a){CK.prototype.ngOnChanges.call(this,a)};EK.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};
EK.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};pg.Object.defineProperties(EK.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}}});EK.\u0275fac=function(a){return new (a||EK)};EK.\u0275dir=$i({type:EK,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",Tk]},features:[xj,$w]});
var FK=function(){CK.call(this,x(bk),x(ux));this._table=x(tK,{optional:!0})};Y(FK,CK);FK.\u0275fac=function(a){return new (a||FK)};FK.\u0275dir=$i({type:FK,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[xj]});var GK=function(){this._viewContainer=x(ck);GK.mostRecentCellOutlet=this};GK.prototype.ngOnDestroy=function(){GK.mostRecentCellOutlet===this&&(GK.mostRecentCellOutlet=null)};GK.mostRecentCellOutlet=null;
GK.\u0275fac=function(a){return new (a||GK)};GK.\u0275dir=$i({type:GK,selectors:[["","cdkCellOutlet",""]]});var HK=function(){};HK.\u0275fac=function(a){return new (a||HK)};HK.\u0275cmp=F({type:HK,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&&Uj(0,0)},dependencies:[GK],encapsulation:2});var IK=function(){};IK.\u0275fac=function(a){return new (a||IK)};
IK.\u0275cmp=F({type:IK,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Uj(0,0)},dependencies:[GK],encapsulation:2});var JK=function(){};JK.\u0275fac=function(a){return new (a||JK)};
JK.\u0275cmp=F({type:JK,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Uj(0,0)},dependencies:[GK],encapsulation:2});var KK=function(){this.templateRef=x(bk);this._contentClassNames=["cdk-no-data-row","cdk-row"];this._cellClassNames=["cdk-cell","cdk-no-data-cell"];this._cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell"};KK.\u0275fac=function(a){return new (a||KK)};
KK.\u0275dir=$i({type:KK,selectors:[["ng-template","cdkNoDataRow",""]]});var uJc=new kh("CDK_SPL");var vJc=["top","bottom","left","right"],wJc=function(a,b,c,d,e,f,h){var k=this;c=c===void 0?!0:c;d=d===void 0?!0:d;this._isNativeHtmlTable=a;this._stickCellCss=b;this._isBrowser=c;this._needsPositionStickyOnElement=d;this.direction=e;this._positionListener=f;this._tableInjector=h;this._elemSizeCache=new WeakMap;var q;this._resizeObserver=((q=globalThis)==null?0:q.ResizeObserver)?new globalThis.ResizeObserver(function(u){return k._updateCachedSizes(u)}):null;this._updatedStickyColumnsParamsToReplay=
[];this._stickyColumnsReplayTimeout=null;this._cachedCellWidths=[];this._destroyed=!1;this._borderCellCss={top:b+"-border-elem-top",bottom:b+"-border-elem-bottom",left:b+"-border-elem-left",right:b+"-border-elem-right"}},xJc=function(a,b,c){(c.includes("left")||c.includes("right"))&&a._removeFromStickyColumnReplayQueue(b);var d=[];b=l(b);for(var e=b.next();!e.done;e=b.next())e=e.value,e.nodeType===e.ELEMENT_NODE&&d.push.apply(d,[e].concat(p(Array.from(e.children))));Ej({write:function(){for(var f=
l(d),h=f.next();!h.done;h=f.next())a._removeStickyStyle(h.value,c)}},{injector:a._tableInjector})},yJc=function(a,b,c,d,e,f){e=e===void 0?!0:e;f=f===void 0?!0:f;if(b.length&&a._isBrowser&&(c.some(function(ia){return ia})||d.some(function(ia){return ia}))){var h=b[0],k=h.children.length,q=a.direction==="rtl",u=q?"right":"left",A=q?"left":"right",D=c.lastIndexOf(!0),H=d.indexOf(!0),O,P,S;f&&a._updateStickyColumnReplayQueue({rows:[].concat(p(b)),stickyStartStates:[].concat(p(c)),stickyEndStates:[].concat(p(d))});
Ej({earlyRead:function(){O=a._getCellWidths(h,e);P=a._getStickyStartColumnPositions(O,c);S=a._getStickyEndColumnPositions(O,d)},write:function(){for(var ia=l(b),la=ia.next();!la.done;la=ia.next()){la=la.value;for(var ya=0;ya<k;ya++){var Ia=la.children[ya];c[ya]&&a._addStickyStyle(Ia,u,P[ya],ya===D);d[ya]&&a._addStickyStyle(Ia,A,S[ya],ya===H)}}a._positionListener&&O.some(function(Pa){return!!Pa})&&(a._positionListener.stickyColumnsUpdated({sizes:D===-1?[]:O.slice(0,D+1).map(function(Pa,gb){return c[gb]?
Pa:null})}),a._positionListener.stickyEndColumnsUpdated({sizes:H===-1?[]:O.slice(H).map(function(Pa,gb){return d[gb+H]?Pa:null}).reverse()}))}},{injector:a._tableInjector})}else{(q=a._positionListener)==null||q.stickyColumnsUpdated({sizes:[]});var aa;(aa=a._positionListener)==null||aa.stickyEndColumnsUpdated({sizes:[]})}},zJc=function(a,b,c,d){if(a._isBrowser){var e=d==="bottom"?b.slice().reverse():b,f=d==="bottom"?c.slice().reverse():c,h=[],k=[],q=[];Ej({earlyRead:function(){for(var u=0,A=0;u<e.length;u++)if(f[u]){h[u]=
A;var D=e[u];q[u]=a._isNativeHtmlTable?Array.from(D.children):[D];D=a._retrieveElementSize(D).height;A+=D;k[u]=D}},write:function(){for(var u=f.lastIndexOf(!0),A=0;A<e.length;A++)if(f[A])for(var D=h[A],H=A===u,O=l(q[A]),P=O.next();!P.done;P=O.next())a._addStickyStyle(P.value,d,D,H);if(d==="top"){var S;(S=a._positionListener)==null||S.stickyHeaderRowsUpdated({sizes:k,offsets:h,elements:q})}else{var aa;(aa=a._positionListener)==null||aa.stickyFooterRowsUpdated({sizes:k,offsets:h,elements:q})}}},{injector:a._tableInjector})}},
AJc=function(a,b,c){a._isNativeHtmlTable&&Ej({write:function(){var d=b.querySelector("tfoot");d&&(c.some(function(e){return!e})?a._removeStickyStyle(d,["bottom"]):a._addStickyStyle(d,"bottom",0,!1))}},{injector:a._tableInjector})};g=wJc.prototype;g.destroy=function(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout);var a;(a=this._resizeObserver)==null||a.disconnect();this._destroyed=!0};
g._removeStickyStyle=function(a,b){if(a.classList.contains(this._stickCellCss)){for(var c=l(b),d=c.next();!d.done;d=c.next())d=d.value,a.style[d]="",a.classList.remove(this._borderCellCss[d]);vJc.some(function(e){return b.indexOf(e)===-1&&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=l(vJc),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(b!==void 0&&!b&&this._cachedCellWidths.length)return this._cachedCellWidths;b=[];a=a.children;for(var c=0;c<a.length;c++)b.push(this._retrieveElementSize(a[c]).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;e>0;e--)b[e]&&(c[e]=d,d+=a[e]);return c};
g._retrieveElementSize=function(a){var b=this._elemSizeCache.get(a);if(b)return b;b=a.getBoundingClientRect();b={width:b.width,height:b.height};if(!this._resizeObserver)return b;this._elemSizeCache.set(a,b);this._resizeObserver.observe(a,{box:"border-box"});return b};g._updateStickyColumnReplayQueue=function(a){this._removeFromStickyColumnReplayQueue(a.rows);this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(a)};
g._removeFromStickyColumnReplayQueue=function(a){var b=new Set(a);a=l(this._updatedStickyColumnsParamsToReplay);for(var c=a.next();!c.done;c=a.next())c=c.value,c.rows=c.rows.filter(function(d){return!b.has(d)});this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(function(d){return!!d.rows.length})};
g._updateCachedSizes=function(a){var b=this,c=!1;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=((e=d.borderBoxSize)==null?0:e.length)?{width:d.borderBoxSize[0].inlineSize,height:d.borderBoxSize[0].blockSize}:{width:d.contentRect.width,height:d.contentRect.height};e=void 0;f.width!==((e=this._elemSizeCache.get(d.target))==null?void 0:e.width)&&hPa(d.target)&&(c=!0);this._elemSizeCache.set(d.target,f)}c&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&
clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(function(){if(!b._destroyed){for(var h=l(b._updatedStickyColumnsParamsToReplay),k=h.next();!k.done;k=h.next())k=k.value,yJc(b,k.rows,k.stickyStartStates,k.stickyEndStates,!0,!1);b._updatedStickyColumnsParamsToReplay=[];b._stickyColumnsReplayTimeout=null}},0))};var BJc=[[["caption"]],[["colgroup"],["col"]],"*"],LK=function(){this.viewContainer=x(ck);this.elementRef=x(Ph);var a=x(tK);a._rowOutlet=this;a._outletAssigned()};LK.\u0275fac=function(a){return new (a||LK)};LK.\u0275dir=$i({type:LK,selectors:[["","rowOutlet",""]]});var MK=function(){this.viewContainer=x(ck);this.elementRef=x(Ph);var a=x(tK);a._headerRowOutlet=this;a._outletAssigned()};MK.\u0275fac=function(a){return new (a||MK)};MK.\u0275dir=$i({type:MK,selectors:[["","headerRowOutlet",""]]});
var NK=function(){this.viewContainer=x(ck);this.elementRef=x(Ph);var a=x(tK);a._footerRowOutlet=this;a._outletAssigned()};NK.\u0275fac=function(a){return new (a||NK)};NK.\u0275dir=$i({type:NK,selectors:[["","footerRowOutlet",""]]});var OK=function(){this.viewContainer=x(ck);this.elementRef=x(Ph);var a=x(tK);a._noDataRowOutlet=this;a._outletAssigned()};OK.\u0275fac=function(a){return new (a||OK)};OK.\u0275dir=$i({type:OK,selectors:[["","noDataRowOutlet",""]]});
var PK=function(){var a=this;this._differs=x(ux);this._changeDetectorRef=x(sx);this._elementRef=x(Ph);this._dir=x(Xm,{optional:!0});this._platform=x(Qm);this._viewRepeater=x(Coc);this._viewportRuler=x(Lm);this._stickyPositioningListener=x(uJc,{optional:!0,skipSelf:!0});this._document=x(Mm);this._onDestroy=new oj;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._hasInitialized=this._hasAllOutlets=this._isShowingNoDataRow=!1;this._cellRoleInternal=void 0;this._fixedLayout=this._multiTemplateDataRows=!1;this.contentChanged=new Lp;this._injector=x(yj);x(new ax("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table");this._isServer=
!this._platform.isBrowser;this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE";this._dataDiffer=this._differs.find([]).create(function(b,c){return a.trackBy?a.trackBy(c.dataIndex,c.data):c})};g=PK.prototype;g._getCellRole=function(){var a=this._elementRef.nativeElement.getAttribute("role");return a==="grid"||a==="treegrid"?"gridcell":"cell"};
g.ngOnInit=function(){var a=this;this._setupStickyStyler();this._viewportRuler.change().pipe(tj(this._onDestroy)).subscribe(function(){a._forceRecalculateCellWidths=!0})};g.ngAfterContentInit=function(){this._hasInitialized=!0};g.ngAfterContentChecked=function(){this._canRender()&&this._render()};
g.ngOnDestroy=function(){var a;(a=this._stickyStyler)==null||a.destroy();var b,c,d;[(b=this._rowOutlet)==null?void 0:b.viewContainer,(c=this._headerRowOutlet)==null?void 0:c.viewContainer,(d=this._footerRowOutlet)==null?void 0:d.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(function(e){e==null||e.clear()});this._headerRowDefs=[];this._footerRowDefs=[];this._defaultRowDef=null;this._onDestroy.next();
this._onDestroy.complete();kxa(this.dataSource)&&this.dataSource.disconnect(this)};
var DJc=function(a){a._renderRows=a._getAllRenderRows();var b=a._dataDiffer.diff(a._renderRows);if(b){var c=a._rowOutlet.viewContainer;Eoc(b,c,function(d,e,f){return a._getEmbeddedViewArgs(d.item,f)},function(d){d.operation===1&&d.context&&a._renderCellTemplateForItem(d.record.item.rowDef,d.context)});a._updateRowIndexContext();wlc(b,function(d){c.get(d.currentIndex).context.$implicit=d.item.data});a._updateNoDataRow();a.contentChanged.next();CJc(a)}else a._updateNoDataRow(),a.contentChanged.next()},
EJc=function(a){var b=a._getRenderedRows(a._headerRowOutlet);if(a._isNativeHtmlTable){var c=mPa(a._headerRowOutlet,"thead");c&&(c.style.display=b.length?"":"none")}c=a._headerRowDefs.map(function(d){return d.sticky});xJc(a._stickyStyler,b,["top"]);zJc(a._stickyStyler,b,c,"top");a._headerRowDefs.forEach(function(d){return d.resetStickyChanged()})},FJc=function(a){var b=a._getRenderedRows(a._footerRowOutlet);if(a._isNativeHtmlTable){var c=mPa(a._footerRowOutlet,"tfoot");c&&(c.style.display=b.length?
"":"none")}c=a._footerRowDefs.map(function(d){return d.sticky});xJc(a._stickyStyler,b,["bottom"]);zJc(a._stickyStyler,b,c,"bottom");AJc(a._stickyStyler,a._elementRef.nativeElement,c);a._footerRowDefs.forEach(function(d){return d.resetStickyChanged()})},CJc=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)xJc(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=PK.prototype;
g._outletAssigned=function(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())};g._canRender=function(){return this._hasAllOutlets&&this._hasInitialized};
g._render=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&&this._rowDefs.length>0&&!this._renderChangeSubscription?
this._observeRenderChanges():this._stickyColumnStylesNeedReset&&CJc(this);this._checkStickyStates()};
g._getAllRenderRows=function(){var a=[],b=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;if(!this._data)return a;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();lPa(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=lPa(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs);this._footerRowDefs=lPa(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs);this._rowDefs=lPa(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){e=!!e._columnsDiffer.diff(e.columns);return d||e},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=[];kxa(this.dataSource)&&this.dataSource.disconnect(this);this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null);a||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear());this._dataSource=a};
g._observeRenderChanges=function(){var a=this;if(this.dataSource){var b;kxa(this.dataSource)?b=this.dataSource.connect(this):cna(this.dataSource)?b=this.dataSource:Array.isArray(this.dataSource)&&(b=li(this.dataSource));this._renderChangeSubscription=b.pipe(tj(this._onDestroy)).subscribe(function(c){a._data=c||[];DJc(a)})}};
g._forceRenderHeaderRows=function(){var a=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear();this._headerRowDefs.forEach(function(b,c){return a._renderRow(a._headerRowOutlet,b,c)});EJc(this)};g._forceRenderFooterRows=function(){var a=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear();this._footerRowDefs.forEach(function(b,c){return a._renderRow(a._footerRowOutlet,b,c)});FJc(this)};
g._addStickyColumnStyles=function(a,b){var c=this,d=Array.from((b==null?void 0: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});yJc(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(this._rowDefs.length==1)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=d===void 0?{}:d;a=a.viewContainer.createEmbeddedView(b.template,d,c);this._renderCellTemplateForItem(b,d);return a};g._renderCellTemplateForItem=function(a,b){a=l(this._getCellTemplates(a));for(var c=a.next();!c.done;c=a.next())c=c.value,GK.mostRecentCellOutlet&&GK.mostRecentCellOutlet._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=b===0;d.last=b===c-1;d.even=b%2===0;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 DK?c.headerCell.template:a instanceof EK?c.footerCell.template:c.cell.template}):[]};g._forceRenderDataRows=function(){this._dataDiffer.diff([]);this._rowOutlet.viewContainer.clear();DJc(this)};
g._checkStickyStates=function(){var a=function(b,c){return b||c.hasStickyChanged()};this._headerRowDefs.reduce(a,!1)&&EJc(this);this._footerRowDefs.reduce(a,!1)&&FJc(this);Array.from(this._columnDefsByName.values()).reduce(a,!1)&&(this._stickyColumnStylesNeedReset=!0,CJc(this))};
g._setupStickyStyler=function(){var a=this;this._stickyStyler=new wJc(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,this._dir?this._dir.value:"ltr",this._stickyPositioningListener,this._injector);(this._dir?this._dir.change:li()).pipe(tj(this._onDestroy)).subscribe(function(b){a._stickyStyler.direction=b;CJc(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=this._rowOutlet.viewContainer.length===0;if(b!==this._isShowingNoDataRow){var c=this._noDataRowOutlet.viewContainer;if(b){c=c.createEmbeddedView(a.templateRef);var d=c.rootNodes[0];if(c.rootNodes.length===1&&(d==null?void 0:d.nodeType)===this._document.ELEMENT_NODE)for(d.setAttribute("role","row"),d.classList.add.apply(d.classList,p(a._contentClassNames)),c=d.querySelectorAll(a._cellSelector),d=0;d<c.length;d++)c[d].classList.add.apply(c[d].classList,
p(a._cellClassNames))}else c.clear();this._isShowingNoDataRow=b;this._changeDetectorRef.markForCheck()}}};
pg.Object.defineProperties(PK.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=a;this._rowOutlet&&this._rowOutlet.viewContainer.length&&
(this._forceRenderDataRows(),CJc(this))}},fixedLayout:{configurable:!0,enumerable:!0,get:function(){return this._fixedLayout},set:function(a){this._fixedLayout=a;this._stickyColumnStylesNeedReset=this._forceRecalculateCellWidths=!0}}});PK.\u0275fac=function(a){return new (a||PK)};
PK.\u0275cmp=F({type:PK,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,b,c){a&1&&(fk(c,KK,5),fk(c,xK,5),fk(c,FK,5),fk(c,DK,5),fk(c,EK,5));if(a&2){var d;ik(d=jk())&&(b._noDataRow=d.first);ik(d=jk())&&(b._contentColumnDefs=d);ik(d=jk())&&(b._contentRowDefs=d);ik(d=jk())&&(b._contentHeaderRowDefs=d);ik(d=jk())&&(b._contentFooterRowDefs=d)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(a,b){a&2&&rk("cdk-table-fixed-layout",b.fixedLayout)},inputs:{trackBy:"trackBy",
dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",Tk],fixedLayout:[2,"fixedLayout","fixedLayout",Tk]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Bk([{provide:tK,useExisting:PK},{provide:Coc,useClass:Doc},{provide:uJc,useValue:null}])],ngContentSelectors:["caption","colgroup, col","*"],decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a,
b){a&1&&(Zj(BJc),ak(0),ak(1,1),I(2,iPa,1,0),I(3,jPa,7,0)(4,kPa,4,0));a&2&&(E(2),J(b._isServer?2:-1),E(),J(b._isNativeHtmlTable?3:4))},dependencies:[MK,LK,OK,NK],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2});var QK=function(){};QK.\u0275fac=function(a){return new (a||QK)};QK.\u0275mod=Zi({type:QK});QK.\u0275inj=Eg({imports:[qz]});var RK=function(){uK.apply(this,arguments)};Y(RK,uK);RK.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(RK)))(b||RK)}}();RK.\u0275dir=$i({type:RK,selectors:[["","matCellDef",""]],features:[Bk([{provide:uK,useExisting:RK}]),xj]});var SK=function(){vK.apply(this,arguments)};Y(SK,vK);SK.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(SK)))(b||SK)}}();SK.\u0275dir=$i({type:SK,selectors:[["","matHeaderCellDef",""]],features:[Bk([{provide:vK,useExisting:SK}]),xj]});
var TK=function(){wK.apply(this,arguments)};Y(TK,wK);TK.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(TK)))(b||TK)}}();TK.\u0275dir=$i({type:TK,selectors:[["","matFooterCellDef",""]],features:[Bk([{provide:wK,useExisting:TK}]),xj]});var UK=function(){xK.apply(this,arguments)};Y(UK,xK);UK.prototype._updateColumnCssClassName=function(){xK.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};
pg.Object.defineProperties(UK.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});UK.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(UK)))(b||UK)}}();UK.\u0275dir=$i({type:UK,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[Bk([{provide:xK,useExisting:UK},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:UK}]),xj]});var VK=function(){zK.apply(this,arguments)};Y(VK,zK);
VK.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(VK)))(b||VK)}}();VK.\u0275dir=$i({type:VK,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[xj]});var WK=function(){AK.apply(this,arguments)};Y(WK,AK);WK.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(WK)))(b||WK)}}();
WK.\u0275dir=$i({type:WK,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[xj]});var XK=function(){BK.apply(this,arguments)};Y(XK,BK);XK.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(XK)))(b||XK)}}();XK.\u0275dir=$i({type:XK,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[xj]});var YK=function(){DK.apply(this,arguments)};Y(YK,DK);YK.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(YK)))(b||YK)}}();YK.\u0275dir=$i({type:YK,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",Tk]},features:[Bk([{provide:DK,useExisting:YK}]),xj]});var ZK=function(){EK.apply(this,arguments)};Y(ZK,EK);ZK.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(ZK)))(b||ZK)}}();
ZK.\u0275dir=$i({type:ZK,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[2,"matFooterRowDefSticky","sticky",Tk]},features:[Bk([{provide:EK,useExisting:ZK}]),xj]});var $K=function(){FK.apply(this,arguments)};Y($K,FK);$K.\u0275fac=function(){var a;return function(b){return(a||(a=Nh($K)))(b||$K)}}();
$K.\u0275dir=$i({type:$K,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[Bk([{provide:FK,useExisting:$K}]),xj]});var aL=function(){};Y(aL,HK);aL.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(aL)))(b||aL)}}();
aL.\u0275cmp=F({type:aL,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Bk([{provide:HK,useExisting:aL}]),xj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Uj(0,0)},dependencies:[GK],encapsulation:2});var bL=function(){};Y(bL,IK);bL.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(bL)))(b||bL)}}();
bL.\u0275cmp=F({type:bL,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[Bk([{provide:IK,useExisting:bL}]),xj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Uj(0,0)},dependencies:[GK],encapsulation:2});var cL=function(){};Y(cL,JK);cL.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(cL)))(b||cL)}}();
cL.\u0275cmp=F({type:cL,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Bk([{provide:JK,useExisting:cL}]),xj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Uj(0,0)},dependencies:[GK],encapsulation:2});
var dL=function(){KK.call(this);this._cellSelector="td, mat-cell, [mat-cell], .mat-cell";this._contentClassNames.push("mat-mdc-no-data-row","mat-mdc-row","mdc-data-table__row");this._cellClassNames.push("mat-mdc-cell","mdc-data-table__cell","mat-no-data-cell")};Y(dL,KK);dL.\u0275fac=function(a){return new (a||dL)};dL.\u0275dir=$i({type:dL,selectors:[["ng-template","matNoDataRow",""]],features:[Bk([{provide:KK,useExisting:dL}]),xj]});var GJc=[[["caption"]],[["colgroup"],["col"]],"*"],eL=function(){PK.apply(this,arguments);this.stickyCssClass="mat-mdc-table-sticky";this.needsPositionStickyOnElement=!1};Y(eL,PK);eL.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(eL)))(b||eL)}}();
eL.\u0275cmp=F({type:eL,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(a,b){a&2&&rk("mdc-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],features:[Bk([{provide:PK,useExisting:eL},{provide:tK,useExisting:eL},{provide:Coc,useClass:Doc},{provide:uJc,useValue:null}]),xj],ngContentSelectors:["caption","colgroup, col","*"],decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",
1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a,b){a&1&&(Zj(GJc),ak(0),ak(1,1),I(2,nPa,1,0),I(3,oPa,7,0)(4,pPa,4,0));a&2&&(E(2),J(b._isServer?2:-1),E(),J(b._isNativeHtmlTable?3:4))},dependencies:[MK,LK,OK,NK],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:var(--mat-table-header-container-height, 56px)}mat-row{min-height:var(--mat-table-row-item-container-height, 52px)}mat-footer-row{min-height:var(--mat-table-footer-container-height, 52px)}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{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child>.mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}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-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 HJc={SUGGESTIONS:0,AUTOMATIC_ACTIONS:1,0:"SUGGESTIONS",1:"AUTOMATIC_ACTIONS"},fL=function(){Z.apply(this,arguments);var a=this;this.data=x(dI);this.playbookService=x(FF);this.matDialogRef=x(YH);this.changeDetectorRef=x(sx);this.appSearchState=x(hK);this.FormattingMode=ke;this.isEditing=!1;this.searchQuery$=wi(function(){return a.data.searchQuery?li(a.data.searchQuery):a.appSearchState.queryState$.pipe(C(function(b){return b.query}))});this.playbook$=this.searchQuery$.pipe(sj(function(b){return b?
jzc(a.playbookService,b):li(void 0)}));this.draftPlaybook={name:"",instructions:"",searchQuery:this.data.searchQuery};this.unimplementedPlaybookData={enablePlaybook:!0,agentMode:0,clusterSuggestions:!1,statsInterval:2};this.AgentMode=HJc;this.statsIntervalOptions=[0,1,2,3];this.displayedColumns=["triageActions","acceptanceRate","accuracy"];this.dataSource=[{triageActions:"Dedupe",acceptanceRate:"2/8 (25%)",accuracy:"33%"},{triageActions:"Component change",acceptanceRate:"7/10 (70%)",accuracy:"43%"},
{triageActions:"Priority change",acceptanceRate:"6/12 (50%)",accuracy:"62%"},{triageActions:"Severity change",acceptanceRate:"2/10 (20%)",accuracy:"12%"},{triageActions:"Type change",acceptanceRate:"3/8 (38%)",accuracy:"74%"},{triageActions:"Assign to reporter",acceptanceRate:"5/16 (31%)",accuracy:"48%"},{triageActions:"Close as \u201cWon\u2019t fix\u201d",acceptanceRate:"6/9 (67%)",accuracy:"34%"}]};Y(fL,Z);fL.\u0275dir=Z.\u0275dir;
fL.prototype.ngOnInit=function(){var a=this;this.playbook$.pipe(tj(this.destroyed$)).subscribe(function(b){b&&(a.originalPlaybook=b,a.draftPlaybook=wd(b),b.instructions&&(a.formattedComment={markdownFormat:{content:md(b.instructions)}}),a.changeDetectorRef.detectChanges())})};fL.prototype.hasChanges=function(){return!vd(this.originalPlaybook,this.draftPlaybook)};
var IJc=function(a){return v(function(b){if(b.nextAddress==1)return a.hasChanges()?a.originalPlaybook?w(b,kzc(a.playbookService,a.draftPlaybook),3):w(b,izc(a.playbookService,a.draftPlaybook),3):b.return();a.matDialogRef.close();a.isEditing=!1;ji(b)})},tPa=function(a){switch(a){case 0:return"All time";case 1:return"Last day";case 2:return"Last 7 days";case 3:return"Last 30 days";default:return qb(a)}};fL.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(fL)))(b||fL)}}();
fL.\u0275cmp=F({type:fL,selectors:[["b-playbook-dialog"]],standalone:!1,features:[xj],decls:60,vars:13,consts:[["statsSelector","matMenu"],["textarea",""],["mat-dialog-title",""],[1,"flex-kids-x","gap-s"],["type","button","mat-icon-button","","matTooltip","Close","aria-label","Close",1,"pos-tr",3,"click"],["svgIcon","clear",1,"icon-s"],[1,"flex-kids-x","gap-l","full-height"],[1,"flex-kids-y","grow-1","gap-s"],[1,"uppercase","muted"],["cdkFocusInitial","","aria-label","Playbook instructions","placeholder",
"Move issues related to X to component Y.",1,"grow-1",3,"ngModel"],[1,"flex-kids-y","gap-s"],[1,"flex-kids-y","gap"],[3,"ngModelChange","ngModel"],[1,"flex-kids-x","gap","align-items-center"],["type","text","disabled","","aria-label","Playbook scope",1,"grow-1","rounded",3,"ngModel"],[1,"flex-kids-x","gap"],["aria-label","Agent mode",1,"flex-kids-x","gap",3,"ngModelChange","ngModel"],[3,"value"],[1,"flex-kids-x","gap","align-items-center","margin-top"],["type","button","mat-stroked-button","","color",
"primary",1,"small","gmat-button",3,"matMenuTriggerFor"],[1,"margin-xs-right"],["name","arrow-dropdown","size","small"],["type","button","mat-menu-item",""],["mat-table","",3,"dataSource"],["matColumnDef","triageActions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","acceptanceRate"],["matColumnDef","accuracy"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["align","end"],["mat-button","",3,"click"],["mat-raised-button",
"","aria-label","Save playbook","color","primary",3,"click","disabled"],["cdkFocusInitial","","aria-label","Playbook instructions","placeholder","Move issues related to X to component Y.",1,"grow-1",3,"ngModelChange","ngModel"],[1,"unset-background",3,"comment","formattingMode"],[1,"flex-kids-x","space-between"],[1,"disclaimer"],["mat-button","",1,"align-self-flex-end","edit",3,"click"],["type","button","mat-menu-item","",3,"click"],["svgIcon","done",1,"icon-s"],["mat-header-cell",""],["mat-cell",
""],["mat-header-row",""],["mat-row",""]],template:function(a,b){if(a&1){var c=y();L(0,"div",2)(1,"div",3)(2,"h1");U(3,"Triage agent");M();L(4,"button",4);Q("click",function(){z(c);return B(b.matDialogRef.close())});N(5,"mat-icon",5);M()()();L(6,"mat-dialog-content")(7,"div",6)(8,"div",7)(9,"h4",8);U(10,"Playbook");M();I(11,qPa,2,1,"textarea",9)(12,sPa,6,1);M();L(13,"div",10)(14,"h4",8);U(15,"Settings");M();L(16,"div",11)(17,"mat-slide-toggle",12);xk("ngModelChange",function(d){z(c);wk(b.unimplementedPlaybookData.enablePlaybook,
d)||(b.unimplementedPlaybookData.enablePlaybook=d);return B(d)});U(18," Enable this playbook ");M();L(19,"div",13);U(20," Playbook scope ");N(21,"input",14);M();L(22,"div",15);U(23," Agent mode ");L(24,"mat-radio-group",16);xk("ngModelChange",function(d){z(c);wk(b.unimplementedPlaybookData.agentMode,d)||(b.unimplementedPlaybookData.agentMode=d);return B(d)});L(25,"mat-radio-button",17);U(26," Show suggestion chips ");M();L(27,"mat-radio-button",17);U(28," Apply actions automatically ");M()()();L(29,
"mat-slide-toggle",12);xk("ngModelChange",function(d){z(c);wk(b.unimplementedPlaybookData.clusterSuggestions,d)||(b.unimplementedPlaybookData.clusterSuggestions=d);return B(d)});U(30," Cluster suggestions ");M()();L(31,"div",18)(32,"h4",8);U(33,"Playbook stats");M();L(34,"button",19)(35,"span",20);U(36);M();N(37,"b-icon",21);M();L(38,"mat-menu",null,0);Mj(40,uPa,3,3,"button",22,Lj);M()();L(42,"div",10)(43,"table",23);Sj(44,24);G(45,vPa,2,0,"th",25)(46,wPa,2,1,"td",26);Tj();Sj(47,27);G(48,xPa,2,0,
"th",25)(49,yPa,2,1,"td",26);Tj();Sj(50,28);G(51,zPa,2,0,"th",25)(52,APa,2,1,"td",26);Tj();G(53,BPa,1,0,"tr",29)(54,CPa,1,0,"tr",30);M()()()()();L(55,"mat-dialog-actions",31)(56,"button",32);Q("click",function(){z(c);return B(b.matDialogRef.close())});U(57,"Cancel");M();L(58,"button",33);Q("click",function(){z(c);return B(IJc(b))});U(59,"Save");M()()}a&2&&(a=T(39),E(11),J(b.isEditing?11:12),E(6),vk("ngModel",b.unimplementedPlaybookData.enablePlaybook),E(4),K("ngModel",b.draftPlaybook.searchQuery),
E(3),vk("ngModel",b.unimplementedPlaybookData.agentMode),E(),K("value",b.AgentMode.SUGGESTIONS),E(2),K("value",b.AgentMode.AUTOMATIC_ACTIONS),E(2),vk("ngModel",b.unimplementedPlaybookData.clusterSuggestions),E(5),K("matMenuTriggerFor",a),E(2),V(" ",tPa(b.unimplementedPlaybookData.statsInterval)," "),E(4),Nj(b.statsIntervalOptions),E(3),K("dataSource",b.dataSource),E(10),K("matHeaderRowDef",b.displayedColumns),E(),K("matRowDefColumns",b.displayedColumns),E(4),K("disabled",!b.hasChanges()))},dependencies:[EA,
gK,Bp,hG,oG,dA,aA,bA,hI,jI,iI,jK,mK,kK,pK,qK,rK,sK,eL,SK,YK,UK,RK,$K,VK,XK,aL,cL,WF],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-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-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}textarea[_ngcontent-%COMP%]{resize:none}h1[_ngcontent-%COMP%]{display:inline-block}[_nghost-%COMP%]     div.mat-mdc-dialog-title:before{height:0}[_nghost-%COMP%]     b-live-preview.unset-background .md-preview{background:unset}input[_ngcontent-%COMP%]{padding:4px 8px}b-live-preview[_ngcontent-%COMP%]{max-height:90%;overflow:scroll}.disclaimer[_ngcontent-%COMP%]{-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start;font-style:italic}"],
changeDetection:0});var gL=function(){this.matDialog=x(eI)};gL.prototype.open=function(a){return pi(ZH(this.matDialog.open(fL,{width:"80vw",height:"80vh",maxWidth:"1200px",maxHeight:"800px",data:{searchQuery:a}})))};gL.\u0275fac=function(a){return new (a||gL)};gL.\u0275prov=Dg({token:gL,factory:gL.\u0275fac,providedIn:"root"});var JJc=function(a){this.allowExecution=a;this.queue=[]};JJc.prototype.addTask=function(a){this.queue.push(a);KJc(this)};var KJc=function(a){if(a.queue.length!==0)if(a.allowExecution()){var b=l(a.queue),c=b.next().value;a.queue=rta(b);c();KJc(a)}else setTimeout(function(){KJc(a)},0)};var hL=function(){var a=this;this.location=x(cn);this.platformLocation=x(yy);this.activatedRoute=x(Zn);this.router=x($B);this.scheduler=new JJc(function(){return!Rg(a.router.navigationTransitions.currentNavigation)})};hL.prototype.hash=function(a,b){typeof a!=="undefined"&&LJc(this,a!=null?a:"",b);var c;return(c=this.activatedRoute.snapshot.fragment)!=null?c:""};var LJc=function(a,b,c){b=b===void 0?"":b;c=c===void 0?!1:c;a.addTask(function(){a.router.navigate([],{fragment:b,replaceUrl:c})})};
hL.prototype.path=function(a,b){typeof a!=="undefined"&&this.setPath(a,b);return this.getPath()};var MJc=function(a,b){a.path(b,!0)};g=hL.prototype;g.getPath=function(){var a=l(this.location.path().split("?")).next().value;return l(a.split("#")).next().value};g.setPath=function(a,b){var c=this;a=a===void 0?"":a;b=b===void 0?!1:b;this.addTask(function(){c.router.navigate([a],{replaceUrl:b,queryParamsHandling:"preserve"})});return this};
g.search=function(a,b,c){typeof a!=="undefined"&&this.setSearch(a,b,c);return this.getSearch()};g.getSearch=function(){return DPa(this.activatedRoute.snapshot.queryParamMap)};g.setSearch=function(a,b,c){var d=this;c=c===void 0?!1:c;this.addTask(function(){var e={};d.router.navigate([],{relativeTo:d.activatedRoute,queryParams:(e[a]=b,e),queryParamsHandling:"merge",replaceUrl:c})})};g.replaceUrl=function(a){return this.setUrl(a,!0)};
g.setUrl=function(a,b){var c=this;b=b===void 0?!1:b;return new Promise(function(d,e){c.addTask(function(){Rr(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)};hL.\u0275fac=function(a){return new (a||hL)};hL.\u0275prov=Dg({token:hL,factory:hL.\u0275fac,providedIn:"root"});var NJc=new KI(3);var OJc=new kh("GM2_PROGRESS_SPINNER_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var PJc=["determinateSpinner"],QJc=new kh("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}}),iL=function(){this._elementRef=x(Ph);this._defaultColor="primary";this._value=0;this._diameter=100;var a=x(QJc),b=wxa(),c=this._elementRef.nativeElement;this._noopAnimations=b==="di-disabled"&&!!a&&!a._forceAnimations;this.mode=c.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate";this._noopAnimations||b!=="reduced-motion"||c.classList.add("mat-progress-spinner-reduced-motion");
a&&(a.color&&(this.color=this._defaultColor=a.color),a.diameter&&(this.diameter=a.diameter),a.strokeWidth&&(this.strokeWidth=a.strokeWidth))};g=iL.prototype;g._circleRadius=function(){return(this.diameter-10)/2};g._viewBox=function(){var a=this._circleRadius()*2+this.strokeWidth;return"0 0 "+a+" "+a};g._strokeCircumference=function(){return 2*Math.PI*this._circleRadius()};g._strokeDashOffset=function(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null};
g._circleStrokeWidth=function(){return this.strokeWidth/this.diameter*100};
pg.Object.defineProperties(iL.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color||this._defaultColor},set:function(a){this._color=a}},value:{configurable:!0,enumerable:!0,get:function(){return this.mode==="determinate"?this._value:0},set:function(a){this._value=Math.max(0,Math.min(100,a||0))}},diameter:{configurable:!0,enumerable:!0,get:function(){return this._diameter},set:function(a){this._diameter=a||0}},strokeWidth:{configurable:!0,enumerable:!0,get:function(){var a;
return(a=this._strokeWidth)!=null?a:this.diameter/10},set:function(a){this._strokeWidth=a||0}}});iL.\u0275fac=function(a){return new (a||iL)};
iL.\u0275cmp=F({type:iL,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(a,b){a&1&&ek(PJc,5);if(a&2){var c;ik(c=jk())&&(b._determinateCircle=c.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(a,b){a&2&&(Hj("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",b.mode==="determinate"?b.value:null)("mode",b.mode),sk("mat-"+b.color),qk("width",b.diameter,"px")("height",b.diameter,"px")("--mat-progress-spinner-size",
b.diameter+"px")("--mat-progress-spinner-active-indicator-width",b.diameter+"px"),rk("_mat-animation-noopable",b._noopAnimations)("mdc-circular-progress--indeterminate",b.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Uk],diameter:[2,"diameter","diameter",Uk],strokeWidth:[2,"strokeWidth","strokeWidth",Uk]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],
["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&&(G(0,FPa,2,8,"ng-template",null,0,Gk),L(2,"div",2,1),Gh(),L(4,"svg",3),N(5,"circle",4),M()(),Hh(),L(6,"div",5)(7,"div",6)(8,"div",7),Uj(9,8),M(),L(10,"div",9),Uj(11,8),M(),L(12,"div",10),Uj(13,8),M()()());a&2&&(a=T(1),E(4),Hj("viewBox",b._viewBox()),E(),qk("stroke-dasharray",b._strokeCircumference(),"px")("stroke-dashoffset",b._strokeDashOffset(),
"px")("stroke-width",b._circleStrokeWidth(),"%"),Hj("r",b._circleRadius()),E(4),K("ngTemplateOutlet",a),E(2),K("ngTemplateOutlet",a),E(2),K("ngTemplateOutlet",a))},dependencies:[oy],styles:[".mat-mdc-progress-spinner{--mat-progress-spinner-animation-multiplier: 1;display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mat-progress-spinner-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.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 !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mat-progress-spinner-reduced-motion{--mat-progress-spinner-animation-multiplier: 1.25}.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 .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate calc(1568.2352941176ms*var(--mat-progress-spinner-animation-multiplier)) linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mat-progress-spinner-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 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 .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__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) 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 calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate calc(5332ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}@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-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)}}\n"],
encapsulation:2,changeDetection:0});var jL=function(){};jL.\u0275fac=function(a){return new (a||jL)};jL.\u0275mod=Zi({type:jL});jL.\u0275inj=Eg({imports:[kz]});var kL=function(a,b){var c=this;this.options=a;this.progressSpinner=b;this.destroyed=new oj;this.labelElement=document.createElement("label");if(a.disableGmatStyle)throw Error("Mb");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-spinner-accessible-label");this.hasAriaLabelAndRole||EPa(b._elementRef.nativeElement).pipe(tj(this.destroyed)).subscribe(function(d){RJc(c,d[0],d[1])})};
kL.prototype.ngOnInit=function(){if(!this.hasAriaLabelAndRole){this.progressSpinner._elementRef.nativeElement.insertAdjacentElement("afterend",this.labelElement);var a=this.progressSpinner.mode==="indeterminate"?"indeterminate":this.progressSpinner.value.toString(),b,c=(b=this.ariaLabel)!=null?b:"";RJc(this,c,a)}};kL.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};
var RJc=function(a,b,c){b=c==="indeterminate"?b:b+" "+NJc.format(Number(c)/100);a.labelElement.textContent=b};
pg.Object.defineProperties(kL.prototype,{ariaLabel:{configurable:!0,enumerable:!0,get:function(){return this.progressSpinner._elementRef.nativeElement.getAttribute("aria-label")}},ariaRole:{configurable:!0,enumerable:!0,get:function(){return this.progressSpinner._elementRef.nativeElement.getAttribute("role")}},hasAriaLabelAndRole:{configurable:!0,enumerable:!0,get:function(){var a;return!((a=this.ariaLabel)==null||!a.length)&&this.ariaRole==="progressbar"}}});
kL.\u0275fac=function(a){return new (a||kL)(Ui(OJc),Ui(iL,10))};kL.\u0275dir=$i({type:kL,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:[1,"gmat-mdc-progress-spinner"],hostVars:2,hostBindings:function(a,b){a&2&&Hj("aria-hidden",b.hasAriaLabelAndRole?void 0:!0)("tabindex",null)},standalone:!1});var lL=function(){this.ariaLabel="loading";this.SIZE_SMALL=16;this.SIZE_LARGE=36;this.DIAMETER_SMALL=2};lL.\u0275fac=function(a){return new (a||lL)};lL.\u0275cmp=F({type:lL,selectors:[["b-spinner"]],inputs:{large:"large",ariaLabel:"ariaLabel"},standalone:!1,decls:2,vars:2,consts:[[1,"large",3,"diameter"],[1,"small",3,"diameter","strokeWidth"]],template:function(a,b){a&1&&(I(0,GPa,1,2,"mat-spinner",0),I(1,HPa,1,3,"mat-spinner",1));a&2&&(J(b.large?0:-1),E(),J(b.large?-1:1))},dependencies:[kL,iL],styles:[".muted[_nghost-%COMP%]     .mat-mdc-progress-spinner circle, .muted[_nghost-%COMP%]     .mat-mdc-progress-spinner circle{stroke:rgba(0,0,0,.4)}[_nghost-%COMP%]     .mat-mdc-progress-spinner circle, [_nghost-%COMP%]     .mat-mdc-progress-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}}/*# sourceMappingURL=spinner.css.map */"]});var SJc={EMPTY:0,EXISTS:1,RUNNING:2,COMPLETE:3,0:"EMPTY",1:"EXISTS",2:"RUNNING",3:"COMPLETE"},mL=function(){var a=this;this.playbookService=x(FF);this.bLocation=x(hL);this.playbookDialogService=x(gL);this.appSearchState=x(hK);this.issueIds=[];this.PlaybookState=SJc;this.playbookState=0;this.searchQuery$=this.appSearchState.queryState$.pipe(C(function(b){return b.query||void 0}));this.playbook$=this.searchQuery$.pipe(sj(function(b){return b?jzc(a.playbookService,b):li(void 0)}))};
mL.prototype.ngOnInit=function(){var a=this;this.playbook$.subscribe(function(b){b&&(a.playbookState=1)})};var KPa=function(a){var b;return v(function(c){if(c.nextAddress==1)return w(c,pi(a.playbook$),2);if(c.nextAddress!=3){b=c.yieldResult;if(!b)throw Error("Hd");a.playbookState=2;return w(c,nzc(a.playbookService,b,a.issueIds),3)}a.playbookState=3;ji(c)})};
mL.prototype.openDialog=function(){var a=this,b;return v(function(c){if(c.nextAddress==1)return w(c,pi(a.searchQuery$),2);b=c.yieldResult;a.playbookDialogService.open(b);ji(c)})};mL.\u0275fac=function(a){return new (a||mL)};
mL.\u0275cmp=F({type:mL,selectors:[["playbook-controls"]],inputs:{issueIds:"issueIds"},standalone:!1,decls:2,vars:1,consts:[["mat-button",""],["mat-button","",3,"click"],["svgIcon","edit-outline",1,"triage-rules","icon-m"],[1,"running"],["svgIcon","format_list_bulleted_spark_24px",1,"triage-rules","icon-m"]],template:function(a,b){a&1&&I(0,IPa,3,0,"button",0)(1,MPa,5,1);a&2&&J(b.playbookState===b.PlaybookState.EMPTY?0:1)},dependencies:[EA,lL,dA,aA],styles:[".mat-icon.triage-rules[_ngcontent-%COMP%]{height:unset;margin-right:4px}.running[_ngcontent-%COMP%]{display:inline-block;padding:4px;font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;color:var(--text-muted)}"],
changeDetection:0});var TJc=function(){this.text="..."};TJc.\u0275fac=function(a){return new (a||TJc)};
TJc.\u0275cmp=F({type:TJc,selectors:[["ai-spinner"]],hostVars:2,hostBindings:function(a,b){a&2&&rk("large",b.large)},inputs:{large:"large",text:"text"},standalone:!1,decls:2,vars:1,template:function(a,b){a&1&&(L(0,"label"),U(1),M());a&2&&(E(),V(" ",b.text," "))},styles:["[_nghost-%COMP%]{padding:2px 6px}.large[_nghost-%COMP%]{line-height:42px;min-width:80px;padding-left:16px;padding-right:16px;text-align:center}[_nghost-%COMP%]{display:inline-block;border-radius:4px;padding-left:4px;padding-right:4px;-webkit-animation:_ngcontent-%COMP%_ai-shimmer 2.1s linear infinite;animation:_ngcontent-%COMP%_ai-shimmer 2.1s linear infinite;background:-webkit-linear-gradient(315deg,var(--ai-muted),var(--ai-analog-muted),var(--ai-analog-very-muted),var(--ai-complement-muted),var(--ai-muted),var(--ai-muted),var(--ai-analog-muted),var(--ai-analog-very-muted),var(--ai-complement-muted),var(--ai-muted)) 50%/800% 800%;background:linear-gradient(135deg,var(--ai-muted),var(--ai-analog-muted),var(--ai-analog-very-muted),var(--ai-complement-muted),var(--ai-muted),var(--ai-muted),var(--ai-analog-muted),var(--ai-analog-very-muted),var(--ai-complement-muted),var(--ai-muted)) 50%/800% 800%}@-webkit-keyframes _ngcontent-%COMP%_ai-shimmer{0%{background-position:100% 100%}to{background-position:top 37.5% left 37.5%}}@keyframes _ngcontent-%COMP%_ai-shimmer{0%{background-position:100% 100%}to{background-position:top 37.5% left 37.5%}}label[_ngcontent-%COMP%]{color:#0a0a0a;mix-blend-mode:color-burn}.dark-mode   [_nghost-%COMP%]     label{color:#e9e9e9;mix-blend-mode:color-dodge}\n/*# sourceMappingURL=ai_spinner.css.map */"],changeDetection:0});var nL=function(){};nL.\u0275fac=function(a){return new (a||nL)};nL.\u0275mod=Zi({type:nL});nL.\u0275inj=Eg({imports:[jL]});var oL=function(){};oL.\u0275fac=function(a){return new (a||oL)};oL.\u0275mod=Zi({type:oL});oL.\u0275inj=Eg({imports:[jC,nL]});var pL=function(){};pL.\u0275fac=function(a){return new (a||pL)};pL.\u0275mod=Zi({type:pL});pL.\u0275inj=Eg({imports:[iC,oL,FI]});var qL=function(){this.prefs=x(NF);this.links=x(XH);this.change=new iE;this.checked$=new $n(!1);this.disabled$=new $n(!1);this.mdHelpLink=this.links.session.isInternalSession()?"http://go/buganizer-markdown-quickstart":"https://commonmark.org/help/"},UJc=function(a,b){var c;return v(function(d){if(d.nextAddress==1)return c=b.checked?"MARKDOWN":"PLAIN",w(d,tzc(a.prefs,c),2);a.change.emit(c);ji(d)})};
pg.Object.defineProperties(qL.prototype,{initialValue:{configurable:!0,enumerable:!0,set:function(a){this.checked$.next(a==="MARKDOWN");this.disabled$.next(a==="LITERAL")}}});qL.\u0275fac=function(a){return new (a||qL)};
qL.\u0275cmp=F({type:qL,selectors:[["b-markdown-toggle"]],inputs:{initialValue:"initialValue"},outputs:{change:"change"},standalone:!1,decls:5,vars:7,consts:[["aria-label","Use markdown for this comment","matTooltip","Use Markdown for this comment",3,"change","checked","disabled"],["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&&(L(0,"mat-checkbox",
0),W(1,"async"),W(2,"async"),Q("change",function(e){return UJc(b,e)}),U(3," Markdown\n"),M(),I(4,NPa,2,2,"a",1));if(a&2){var c,d;K("checked",(c=X(1,3,b.checked$))!=null?c:!1)("disabled",(d=X(2,5,b.disabled$))!=null?d:!1);E(4);J(b.mdHelpLink?4:-1)}},dependencies:[aG,HG,EA,dA,bA,YF,WF,py],encapsulation:2,changeDetection:0});var rL=function(){var a=this;this.errorHandler=x(PA);this.eventsForIssueFridge=x(wD);this.issueFullFridge=x(pE);this.issueCommentsService=x(CI);this.issueInteractionsTracking=x(TI);this.butterBar=x(MA);this.editIssueService=x(XI);this.formattedCommentsForIssueFridge=x(AD);this.rawComment$=new oj;this.issueId="";this.commentNumber=0;this.rawComment="";var b=0;this.rawComment$.pipe(C(function(c){return{comment:c,id:b+=1}}),fj(800),ti(function(c){return a.doSave(c.comment,c.id)}),Di(function(c){return c===
b})).subscribe(function(){VJc(a)})};rL.prototype.ngOnDestroy=function(){this.rawComment$.complete()};rL.prototype.initialize=function(a,b){this.issueId=a;this.commentNumber=b};rL.prototype.pending=function(){var a,b;return(b=(a=this.savingState)==null?void 0:a.get("commentEdit"))!=null?b:!1};
rL.prototype.doSave=function(a,b){var c=this,d,e,f;return v(function(h){switch(h.nextAddress){case 1:return ei(h,2),w(h,c.issueCommentsService.update(c.issueId,(d=c.commentNumber)!=null?d:0,a,"MARKDOWN",""),4);case 4:Iu(h,3);break;case 2:e=ii(h),RA(c.errorHandler,e),(f=c.savingState)==null||VI(f,"commentEdit");case 3:return h.return(b)}})};
var VJc=function(a){hq(a.butterBar,"Comment edit successful.",4E3);a.eventsForIssueFridge.manualUpdate(a.issueId,function(c){c.events=Pha(c.events,a.commentNumber,{formattedComment:void 0,unlinkifiedComment:a.rawComment,formattingMode:"MARKDOWN"})});a.issueFullFridge.poke(a.issueId);a.formattedCommentsForIssueFridge.invalidate(a.issueId+"-"+a.commentNumber);a.eventsForIssueFridge.poke(a.issueId);var b;(b=a.savingState)==null||VI(b,"commentEdit")};rL.\u0275fac=function(a){return new (a||rL)};
rL.\u0275prov=Dg({token:rL,factory:rL.\u0275fac});var sL=function(){var a=x(NF);Z.call(this);var b=this;this.activeSession=x(Ks);this.appEvents=x(EB);this.markdownCheckboxService=x(rL);this.init=new iE;this.canEditComment=!1;this.formattedComment=null;this.FormattingMode=ke;this.activeSession.isInternalSession()&&a.commentDisplayOverride$.pipe(tj(this.destroyed$)).subscribe(function(c){b.formattingModeOverride=c})};Y(sL,Z);sL.\u0275dir=Z.\u0275dir;
sL.prototype.ngOnInit=function(){var a;this.markdownCheckboxService.initialize(this.issueId,(a=this.note.commentNumber)!=null?a:0)};
sL.prototype.ngOnChanges=function(a){if(a.note&&!this.markdownCheckboxService.pending()){this.rawComment=this.note.unlinkifiedComment||"";this.markdownCheckboxService.rawComment=this.rawComment;var b;this.formattedComment=(b=this.note.formattedComment)!=null?b:null}this.audience=this.issueAccessLevel&&this.issueAccessLevel==="INTERNAL"?"INTERNAL":"EXTERNAL";this.note.commentNumber&&(this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber)};
sL.prototype.ngAfterViewInit=function(){this.appEvents.commentRendered.next({issueId:this.issueId,commentNumber:this.note.commentNumber});this.init.next(this)};sL.\u0275fac=function(a){return new (a||sL)};
sL.\u0275cmp=F({type:sL,selectors:[["b-note-container"]],inputs:{note:"note",issueAccessLevel:"issueAccessLevel",formattingMode:"formattingMode",issueId:"issueId",canEditComment:"canEditComment"},outputs:{init:"init"},standalone:!1,features:[Bk([rL]),xj,$w],decls:4,vars:1,consts:[[1,"bv2-note-container","bv2-event-note"],[1,"bv2-note-container-note"],[3,"formattedComment","canEditComment"],[3,"comment","issueId","audience","formattingMode","idPrefix"],[3,"checkboxChange","formattedComment","canEditComment"]],
template:function(a,b){a&1&&(L(0,"div",0)(1,"div",1),I(2,OPa,1,2,"b-formatted-comment-presenter",2)(3,PPa,1,5,"b-live-preview",3),M()());if(a&2){E(2);if(a=b.formattedComment)a=b.formattedComment,a=!a||b.formattingModeOverride?!1:a.literalFormat&&b.formattingMode==="LITERAL"||a.plainFormat&&b.formattingMode==="PLAIN"||a.markdownFormat&&b.formattingMode==="MARKDOWN"?!0:!1;J(a?2:3)}},dependencies:[fK,gK],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 tL=function(){};tL.\u0275fac=function(a){return new (a||tL)};tL.\u0275mod=Zi({type:tL});tL.\u0275inj=Eg({imports:[Wz,kz]});var uL=function(){};uL.\u0275fac=function(a){return new (a||uL)};uL.\u0275mod=Zi({type:uL});uL.\u0275inj=Eg({imports:[Wy,wH,xy,tL,Jz]});var vL=function(){};vL.\u0275fac=function(a){return new (a||vL)};vL.\u0275mod=Zi({type:vL});vL.\u0275inj=Eg({imports:[jC,EJ,uL]});var wL=function(){};wL.\u0275fac=function(a){return new (a||wL)};wL.\u0275mod=Zi({type:wL});wL.\u0275inj=Eg({imports:[jC,uL,vL]});var kq=function(a,b){this.char=a;this.modifiers=b};var WJc={category:"Edit Issue Page",keys:[lq("r")],displayAs:"Shift+r",description:"Refresh"},XJc={category:"Issue List",keys:["u",lq("r")],displayAs:"u / Shift+r",description:"Refresh search results"},nq={ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE:{category:"Edit Issue Page",keys:[lq("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_TO_P0:{category:"Issue Priority Picker",
keys:["0"],displayAs:"p - 0",description:"Mark issue as priority P0"},CHANGE_ISSUE_PRIORITY_TO_P1:{category:"Issue Priority Picker",keys:["1"],displayAs:"p - 1",description:"Mark issue as priority P1"},CHANGE_ISSUE_PRIORITY_TO_P2:{category:"Issue Priority Picker",keys:["2"],displayAs:"p - 2",description:"Mark issue as priority P2"},CHANGE_ISSUE_PRIORITY_TO_P3:{category:"Issue Priority Picker",keys:["3"],displayAs:"p - 3",description:"Mark issue as priority P3"},CHANGE_ISSUE_PRIORITY_TO_P4:{category:"Issue Priority Picker",
keys:["4"],displayAs:"p - 4",description:"Mark issue as priority P4"},CHANGE_ISSUE_STATUS_TO_ACCEPTED:{category:"Issue Status Picker",keys:["p"],displayAs:"t - p",description:'Change issue status to "In progress (Accepted)"'},CHANGE_ISSUE_STATUS_TO_ASSIGNED:{category:"Issue Status Picker",keys:["a"],displayAs:"t - a",description:'Change issue status to "Assigned"'},CHANGE_ISSUE_STATUS_TO_DUPLICATE:{category:"Issue Status Picker",keys:["d"],displayAs:"t - d",description:'Change issue status to "Duplicate"'},
CHANGE_ISSUE_STATUS_TO_FIXED:{category:"Issue Status Picker",keys:["f"],displayAs:"t - f",description:'Change issue status "Fixed"'},CHANGE_ISSUE_STATUS_TO_INACTIVE:{category:"Issue Status Picker",keys:["s"],displayAs:"t - s",description:'Change issue status to "Inactive"'},CHANGE_ISSUE_STATUS_TO_INFEASIBLE:{category:"Issue Status Picker",keys:["i"],displayAs:"t - i",description:'Change issue status to "Won\'t fix (Infeasible)"'},CHANGE_ISSUE_STATUS_TO_INTENDED_BEHAVIOR:{category:"Issue Status Picker",
keys:["w"],displayAs:"t - w",description:'Change issue status to "Won\'t fix (Intended behavior)"'},CHANGE_ISSUE_STATUS_TO_NEW:{category:"Issue Status Picker",keys:["n"],displayAs:"t - n",description:'Change issue status to "New"'},CHANGE_ISSUE_STATUS_TO_NOT_REPRODUCIBLE:{category:"Issue Status Picker",keys:["r"],displayAs:"t - r",description:'Change issue status to "Won\'t fix (Not reproducible)"'},CHANGE_ISSUE_STATUS_TO_OBSOLETE:{category:"Issue Status Picker",keys:["o"],displayAs:"t - o",description:'Change issue status to "Won\'t fix (Obsolete)"'},
CHANGE_ISSUE_STATUS_TO_VERIFIED:{category:"Issue Status Picker",keys:["v"],displayAs:"t - v",description:'Change issue status to "Fixed (Verified)"'},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","l"],displayAs:"i, l",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"},OPEN_ISSUE_PRIORITY_MENU:{category:"Edit Issue Page",keys:["p"],displayAs:"p <n>",description:"Mark issue as priority [0-4]"},OPEN_ISSUE_STATUS_MENU:{category:"Edit Issue Page",keys:["t"],displayAs:"t",description:"Opens the menu to change the issue status"},REFRESH_ISSUE:WJc,REFRESH_ISSUE_LIST:XJc,TOGGLE_LEFT_SIDEBAR:{category:"General",keys:["<"],
displayAs:"<",description:"Toggle left sidebar"},TOGGLE_MARK_AS_DUPLICATE:{category:"Edit Issue Page",keys:["d"],displayAs:"d",description:"Mark/unmark issue as duplicate"},TOGGLE_RIGHT_SIDEBAR:{category:"General",keys:[">"],displayAs:">",description:"Toggle right sidebar"},TOGGLE_STAR:{category:"Edit Issue Page",keys:["s"],displayAs:"s",description:"Star/Unstar this issue"}};/*

 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(P,S,aa){P.addEventListener?P.addEventListener(S,aa,!1):P.attachEvent("on"+S,aa)}function e(P){if("keypress"==P.type){var S=String.fromCharCode(P.which);P.shiftKey||(S=S.toLowerCase());return S}return u[P.which]?u[P.which]:A[P.which]?A[P.which]:String.fromCharCode(P.which).toLowerCase()}function f(P){return"shift"==P||"ctrl"==P||"alt"==P||"meta"==P}function h(P,S){var aa,ia=[];"+"===P?P=["+"]:(P=P.replace(/\+{2}/g,"+plus"),P=P.split("+"));for(aa=0;aa<P.length;++aa){var la=
P[aa];H[la]&&(la=H[la]);S&&"keypress"!=S&&D[la]&&(la=D[la],ia.push("shift"));f(la)&&ia.push(la)}P=la;aa=S;if(!aa){if(!O){O={};for(var ya in u)95<ya&&112>ya||u.hasOwnProperty(ya)&&(O[u[ya]]=ya)}aa=O[P]?"keydown":"keypress"}"keypress"==aa&&ia.length&&(aa="keydown");return{key:la,modifiers:ia,action:aa}}function k(P,S){return null===P||P===b?!1:P===S?!0:k(P.parentNode,S)}function q(P){function S(nb){nb=nb||{};var Lb=!1,bc;for(bc in gb)nb[bc]?Lb=!0:gb[bc]=0;Lb||(mb=!1)}function aa(nb,Lb,bc,yc,kc,Ee){var yb,
Tb,cb=[],dc=bc.type;if(!Pa._callbacks[nb])return[];"keyup"==dc&&f(nb)&&(Lb=[nb]);for(yb=0;yb<Pa._callbacks[nb].length;++yb)if(Tb=Pa._callbacks[nb][yb],(yc||!Tb.seq||gb[Tb.seq]==Tb.level)&&dc==Tb.action){var uc;(uc="keypress"==dc&&!bc.metaKey&&!bc.ctrlKey)||(uc=Tb.modifiers,uc=Lb.sort().join(",")===uc.sort().join(","));uc&&(uc=yc&&Tb.seq==yc&&Tb.level==Ee,(!yc&&Tb.combo==kc||uc)&&Pa._callbacks[nb].splice(yb,1),cb.push(Tb))}return cb}function ia(nb,Lb,bc,yc){Pa.stopCallback(Lb,Lb.target||Lb.srcElement,
bc,yc)||!1!==nb(Lb,bc)||(Lb.preventDefault?Lb.preventDefault():Lb.returnValue=!1,Lb.stopPropagation?Lb.stopPropagation():Lb.cancelBubble=!0)}function la(nb){"number"!==typeof nb.which&&(nb.which=nb.keyCode);var Lb=e(nb);if(Lb)if("keyup"==nb.type&&Ea===Lb)Ea=!1;else{var bc=Pa,yc=bc.handleKey,kc=[];nb.shiftKey&&kc.push("shift");nb.altKey&&kc.push("alt");nb.ctrlKey&&kc.push("ctrl");nb.metaKey&&kc.push("meta");yc.call(bc,Lb,kc,nb)}}function ya(nb,Lb,bc,yc){function kc(cb){return function(){mb=cb;++gb[nb];
clearTimeout(ua);ua=setTimeout(S,1E3)}}function Ee(cb){ia(bc,cb,nb);"keyup"!==yc&&(Ea=e(cb));setTimeout(S,10)}for(var yb=gb[nb]=0;yb<Lb.length;++yb){var Tb=yb+1===Lb.length?Ee:kc(yc||h(Lb[yb+1]).action);Ia(Lb[yb],Tb,yc,nb,yb)}}function Ia(nb,Lb,bc,yc,kc){Pa._directMap[nb+":"+bc]=Lb;nb=nb.replace(/\s+/g," ");var Ee=nb.split(" ");1<Ee.length?ya(nb,Ee,Lb,bc):(bc=h(nb,bc),Pa._callbacks[bc.key]=Pa._callbacks[bc.key]||[],aa(bc.key,bc.modifiers,{type:bc.action},yc,nb,kc),Pa._callbacks[bc.key][yc?"unshift":
"push"]({callback:Lb,modifiers:bc.modifiers,action:bc.action,seq:yc,level:kc,combo:nb}))}var Pa=this;P=P||b;if(!(Pa instanceof q))return new q(P);Pa.target=P;Pa._callbacks={};Pa._directMap={};var gb={},ua,Ea=!1,Ha=!1,mb=!1;Pa._handleKey=function(nb,Lb,bc){var yc=aa(nb,Lb,bc),kc;Lb={};var Ee=0,yb=!1;for(kc=0;kc<yc.length;++kc)yc[kc].seq&&(Ee=Math.max(Ee,yc[kc].level));for(kc=0;kc<yc.length;++kc)yc[kc].seq?yc[kc].level==Ee&&(yb=!0,Lb[yc[kc].seq]=1,ia(yc[kc].callback,bc,yc[kc].combo,yc[kc].seq)):yb||
ia(yc[kc].callback,bc,yc[kc].combo);yc="keypress"==bc.type&&Ha;bc.type!=mb||f(nb)||yc||S(Lb);Ha=yb&&"keydown"==bc.type};Pa._bindMultiple=function(nb,Lb,bc){for(var yc=0;yc<nb.length;++yc)Ia(nb[yc],Lb,bc)};d(P,"keypress",la);d(P,"keydown",la);d(P,"keyup",la)}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"},
A={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},D={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},H={option:"alt",command:"meta","return":"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},O;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(P,S,aa){P=P instanceof Array?P:[P];this._bindMultiple.call(this,P,S,aa);return this};q.prototype.unbind=function(P,S){return this.bind.call(this,P,function(){},S)};q.prototype.trigger=function(P,S){if(this._directMap[P+":"+S])this._directMap[P+":"+S]({},P);return this};q.prototype.reset=function(){this._callbacks={};this._directMap={};return this};q.prototype.stopCallback=function(P,S){return-1<(" "+S.className+" ").indexOf(" mousetrap ")||k(S,this.target)?!1:"INPUT"==S.tagName||"SELECT"==
S.tagName||"TEXTAREA"==S.tagName||S.isContentEditable};q.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)};q.addKeycodes=function(P){for(var S in P)P.hasOwnProperty(S)&&(u[S]=P[S]);O=null};q.init=function(){var P=q(b),S;for(S in P)"_"!==S.charAt(0)&&(q[S]=function(aa){return function(){return P[aa].apply(P,arguments)}}(S))};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);/*

 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 YJc=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||""};
pg.Object.defineProperties(YJc.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++)e[f]==="mod"&&(window.navigator&&window.navigator.platform.indexOf("Mac")>=0?e[f]="command":e[f]="ctrl"),e[f]=d[e[f]]||e[f];a[c]=e.join(" + ")}this._formatted=
a}return this._formatted}}});var ZJc=new kh("HotkeyOptions");var xL=function(a){this.options=a;this.hotkeys=[];this.pausedHotkeys=[];this.cheatSheetToggle=new oj;this.preventIn=["INPUT","SELECT","TEXTAREA"];Mousetrap.prototype.stopCallback=function(b,c){return(" "+c.className+" ").indexOf(" mousetrap ")>-1?!1:c.contentEditable&&c.contentEditable==="true"};this.mousetrap=new Mousetrap;this.options.disableCheatSheet||this.add(new YJc(this.options.cheatSheetHotkey||"?",function(){this.cheatSheetToggle.next()}.bind(this),[],this.options.cheatSheetDescription||
"Show / hide this help menu"));this.options.cheatSheetCloseEsc&&this.add(new YJc("esc",function(){this.cheatSheetToggle.next(!1)}.bind(this),["HOTKEYS-CHEATSHEET"],this.options.cheatSheetCloseEscDescription||"Hide this help menu"))};g=xL.prototype;
g.add=function(a,b){var c=this;if(Array.isArray(a)){for(var d=[],e=l(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,k){var q=!0;if(h){var u=h.target,A=u.nodeName.toUpperCase();(" "+u.className+" ").indexOf(" mousetrap ")>-1?q=!0:c.preventIn.indexOf(A)>-1&&a.allowIn.map(function(D){return D.toUpperCase()}).indexOf(A)===-1&&(q=!1)}if(q)return a.callback.apply(c,[h,k])},b);return a};
g.remove=function(a){var b=[];if(!a){a=l(this.hotkeys);for(var c=a.next();!c.done;c=a.next())b.push(this.remove(c.value));return b}if(Array.isArray(a)){a=l(a);for(c=a.next();!c.done;c=a.next())b.push(this.remove(c.value));return b}b=this.hotkeys.indexOf(a);return b>-1?(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=l(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(this.hotkeys[b].combo.indexOf(a)>-1)return this.hotkeys[b];return null};g.pause=function(a){if(!a)return this.pause(this.hotkeys);if(Array.isArray(a)){var b=[];a=l(a.slice());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=l(a.slice());for(var c=a.next();!c.done;c=a.next())b.push(this.unpause(c.value));return b}b=this.pausedHotkeys.indexOf(a);return b>-1?(this.add(a),this.pausedHotkeys.splice(b,1)):null};g.reset=function(){this.mousetrap.reset()};xL.\u0275fac=function(a){return new (a||xL)(bh(ZJc))};xL.\u0275prov=Dg({token:xL,factory:xL.\u0275fac});var yL=function(){};yL.\u0275fac=function(a){return new (a||yL)};yL.\u0275mod=Zi({type:yL});yL.\u0275inj=Eg({imports:[xy]});var $Jc;var aKc="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" "),bKc=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")},zL=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;c===""||c==void 0?($Jc||(c={},$Jc=(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=$Jc,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)},cKc=function(a,b){a=a.getAttribute("aria-"+b);return a==null||a==void 0?"":String(a)},AL=function(a,b){var c="";b&&(c=b.id);zL(a,"activedescendant",c)},dKc=function(a,b){zL(a,"label",b)};var BL=function(){var a=x(mE),b=x(NF);Z.call(this);var c=this;this.rawHotkeysService=x(xL);this.ngZone=x(Kk);this.enabled=!0;this.paused=!1;this.hotkeyGroups=new Map;b.keyboardPrefs$.pipe(tj(this.destroyed$)).subscribe(function(d){d&&(c.enabled=!!d.enableAllHotkeys)});a.routeChangeStart.pipe(tj(this.destroyed$)).subscribe(function(){c.unpause()});this.rawHotkeysService.mousetrap.stopCallback=function(d,e){if(!c.enabled||c.paused)e=!0;else if((" "+e.className+" ").includes(" mousetrap ")||e.classList.contains("has-hotkey"))e=
!1;else{if(d=e.getAttribute)d=e.getAttribute("role")||null,d=Ca(aKc,d)>=0;e=d||e.contentEditable==="true"||e.tagName==="INPUT"&&e.type==="text"||e.tagName==="SELECT"||e.tagName==="TEXTAREA"||eKc(e)?!0:!1}return e};this.destroyed$.subscribe(function(){fKc(c)})};Y(BL,Z);BL.\u0275dir=Z.\u0275dir;BL.prototype.isEnabled=function(){return this.enabled};BL.prototype.isPaused=function(){return this.paused};
var CL=function(a,b){var c=b.title;var d=b.hotkeys;var e;b=(e=a.hotkeyGroups.get(c))!=null?e:[];a.hotkeyGroups.set(c,[].concat(p(b),p(d)));gKc(a);return function(){var f=new Set(d.map(function(q){return q.onPress})),h,k=((h=a.hotkeyGroups.get(c))!=null?h:[]).filter(function(q){return!f.has(q.onPress)});k.length?a.hotkeyGroups.set(c,k):a.hotkeyGroups.delete(c);gKc(a)}},fKc=function(a){var b=[].concat(p(a.rawHotkeysService.hotkeys));b=l(b);for(var c=b.next();!c.done;c=b.next())a.rawHotkeysService.remove(c.value);
a.rawHotkeysService.reset()},gKc=function(a){fKc(a);for(var b=l(a.hotkeyGroups.values()),c=b.next();!c.done;c=b.next()){c=hKc(a,c.value);c=l(c);for(var d=c.next(),e={};!d.done;e={binding$jscomp$9:void 0},d=c.next())e.binding$jscomp$9=d.value,d=new YJc(UPa(e.binding$jscomp$9.key),function(f){return function(h){a.ngZone.run(function(){f.binding$jscomp$9.command()});h.stopPropagation();return!1}}(e),e.binding$jscomp$9.allowIn),a.rawHotkeysService.add(d)}},eKc=function(a){return[].concat(p(document.getElementsByClassName("cdk-overlay-pane"))).filter(function(b){return b.style.position===
"static"}).some(function(b){return b.contains(a)})},hKc=function(a,b){var c=[];b=l(b);for(var d=b.next(),e={};!d.done;e={hotkeySpec:void 0},d=b.next()){e.hotkeySpec=d.value;d=l(e.hotkeySpec.keys.entries());for(var f=d.next(),h={};!f.done;h={index$jscomp$5498:void 0},f=d.next()){var k=l(f.value);f=k.next().value;k=k.next().value;h.index$jscomp$5498=f;c.push(new iKc(k,function(q,u){return function(){a.ngZone.run(function(){q.hotkeySpec.onPress(u.index$jscomp$5498)})}}(e,h),e.hotkeySpec.allowIn))}}Laa(c,
function(q,u){return q.strokeLength>u.strokeLength?-1:q.strokeLength<u.strokeLength?1:0});return c};BL.prototype.pause=function(){this.paused=!0};BL.prototype.unpause=function(){this.paused=!1};var jKc=function(a){return[].concat(p(a.hotkeyGroups.entries())).map(function(b){var c=l(b);b=c.next().value;c=c.next().value;return{title:b,hotkeys:no(c,VPa)}})};BL.\u0275fac=function(a){return new (a||BL)};BL.\u0275prov=Dg({token:BL,factory:BL.\u0275fac,providedIn:"root"});
var iKc=function(a,b,c){c=c===void 0?[]:c;this.key=a;this.command=b;this.allowIn=c;a instanceof Array&&(this.strokeLength=a.length);this.strokeLength=1};var DL=function(){Z.apply(this,arguments);this.hotkeys=x(BL);this.tooltip=x(WF,{optional:!0});this.hotkeyEnabled=!0;this.onHotkey=new iE};Y(DL,Z);DL.prototype.ngOnChanges=function(a){if("matTooltip"in a&&this.tooltip&&this.hotkeyEnabled&&this.hotkey){var b;a=(b=this.hotkey.displayAs)!=null?b:this.hotkey.keys.join("+");this.tooltip.message=this.matTooltip+" (Shortcut: "+a+")"}};
DL.prototype.ngOnInit=function(){var a=this;this.hotkey&&this.hotkeyEnabled&&this.subscriptions.add(CL(this.hotkeys,{title:this.hotkey.category,hotkeys:[Object.assign({},this.hotkey,{onPress:function(b){a.onHotkey.next(b)}})]}))};DL.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(DL)))(b||DL)}}();
DL.\u0275dir=$i({type:DL,selectors:[["","hotkey",""]],hostVars:2,hostBindings:function(a,b){a&2&&rk("has-hotkey",b.hotkey)},inputs:{hotkey:"hotkey",hotkeyEnabled:"hotkeyEnabled",matTooltip:"matTooltip"},outputs:{onHotkey:"onHotkey"},standalone:!1,features:[xj,$w]});var EL=function(){};EL.\u0275fac=function(a){return new (a||EL)};EL.\u0275mod=Zi({type:EL});EL.\u0275inj=Eg({});var kKc=new kh("GM2_MENU_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var FL=function(){this.gmatOptions=x(kKc)},lKc=function(a,b){if(a.gmatOptions.disableGmatStyle)throw Error("Mb");b&&(b.overlayPanelClass=tm(b.overlayPanelClass||[]).concat("gmat-mdc-menu"))};pg.Object.defineProperties(FL.prototype,{deprecatedPanel:{configurable:!0,enumerable:!0,set:function(a){lKc(this,a)}},panel:{configurable:!0,enumerable:!0,set:function(a){lKc(this,a)}}});FL.\u0275fac=function(a){return new (a||FL)};
FL.\u0275dir=$i({type:FL,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],inputs:{deprecatedPanel:[0,"mat-menu-trigger-for","deprecatedPanel"],panel:[0,"matMenuTriggerFor","panel"]},standalone:!1});var GL=function(){this.segments=[];this.clickMain=new iE;this.clickSegment=new iE};GL.prototype.ngOnInit=function(){};pg.Object.defineProperties(GL.prototype,{showMoreButton:{configurable:!0,enumerable:!0,get:function(){return this.segments.length>0}}});GL.\u0275fac=function(a){return new (a||GL)};
GL.\u0275cmp=F({type:GL,selectors:[["b-fab-segmented"]],inputs:{label:"label",icon:"icon",segments:"segments",href:"href"},outputs:{clickMain:"clickMain",clickSegment:"clickSegment"},standalone:!1,decls:5,vars:6,consts:[["createMenu","matMenu"],[1,"shrink-wrap"],["mat-button","","role","button",1,"main","button-xl",3,"click"],[1,"icon-xl",3,"svgIcon"],["type","button","mat-button","","aria-label","More options",1,"more","button-xl","square-left",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown"],
["mat-menu-item","",3,"href"],["mat-menu-item","",3,"click","href"]],template:function(a,b){a&1&&(L(0,"span",1)(1,"a",2),Q("click",function(){return b.clickMain.emit(b.label)}),N(2,"mat-icon",3),U(3),M(),I(4,ZPa,6,1),M());a&2&&(E(),rk("square-right",b.showMoreButton),Hj("href",b.href||void 0,Ni),E(),K("svgIcon",b.icon),E(),V(" ",b.label," "),E(),J(b.showMoreButton?4:-1))},dependencies:[EA,dA,aA,FL,mK,kK,pK],styles:["a.gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not([disabled]){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;-webkit-transition:box-shadow .2s ease-in-out;transition:box-shadow .2s ease-in-out;background-color:#fff;background-color:var(--fab-button-bg);box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15)}.shrink-wrap[_ngcontent-%COMP%]:hover{box-shadow:0 1px 3px 0 rgba(0,0,0,.3),0 4px 8px 3px rgba(0,0,0,.15)}.mat-mdc-button[_ngcontent-%COMP%]{border-radius:24px}.mat-mdc-button[_ngcontent-%COMP%]   mat-icon.icon-xl[_ngcontent-%COMP%]{--mat-button-text-icon-spacing:4px;height:36px;width:36px}.main[_ngcontent-%COMP%]{padding-left:10px;padding-right:24px}.main.square-right[_ngcontent-%COMP%]{padding-right:8px}.gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-button-text-state-layer-color:var(--base-fg)}.gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]:focus, .gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]:hover{color:#202124;color:var(--text-default);--private-gmat-button-text-stateful-color:var(--text-default)}.gmat-mdc-button.mat-mdc-button.more[_ngcontent-%COMP%]{padding-right:10px;padding-left:4px;min-width:0;color:#80868b;color:var(--gfx-muted)}.gmat-mdc-button.mat-mdc-button.more[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:24px;height:24px;width:24px;--mat-button-text-icon-spacing:0px}.more[_ngcontent-%COMP%]{-webkit-transition:border .2s ease-in-out;transition:border .2s ease-in-out;border-left:1px solid transparent}.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 mKc=function(a,b){return b.value},nKc=function(){this.choices=[];this.value="";this.valueChange=new iE};nKc.\u0275fac=function(a){return new (a||nKc)};
nKc.\u0275cmp=F({type:nKc,selectors:[["button-toggle"]],inputs:{choices:"choices",value:"value"},outputs:{valueChange:"valueChange"},standalone:!1,decls:2,vars:0,consts:[["type","button","mat-button","","color","primary","role","radio",1,"medium",3,"disableRipple","matTooltip"],["type","button","mat-button","","color","primary","role","radio",1,"medium",3,"click","disableRipple","matTooltip"],[1,"icon-s",3,"svgIcon"]],template:function(a,b){a&1&&Mj(0,aQa,3,5,"button",0,mKc);a&2&&Nj(b.choices)},dependencies:[EA,
dA,aA,YF,WF],styles:["[_nghost-%COMP%]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;border-radius:4px;box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}button[_ngcontent-%COMP%]   .icon-s[_ngcontent-%COMP%]{margin-top:-6px}.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button[_ngcontent-%COMP%]{min-width:24px}.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button[aria-checked=true][_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--text-inverse)}.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button[_ngcontent-%COMP%]{border-radius:0;padding:0 8px;box-shadow:1px 0 0 0 #dadce0;box-shadow:1px 0 0 0 var(--divider)}.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button[_ngcontent-%COMP%]:first-of-type{border-top-left-radius:4px;border-bottom-left-radius:4px;padding-left:12px}.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button[_ngcontent-%COMP%]:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px;padding-right:12px}.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button[_ngcontent-%COMP%]:last-of-type, .gmat-mdc-button.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button[aria-checked=true][_ngcontent-%COMP%]{box-shadow:none}\n/*# sourceMappingURL=button_toggle.css.map */"]});var HL=function(){};HL.\u0275fac=function(a){return new (a||HL)};HL.\u0275mod=Zi({type:HL});HL.\u0275inj=Eg({imports:[Wz,Jz,kz,pz]});var IL=function(){};IL.\u0275fac=function(a){return new (a||IL)};IL.\u0275mod=Zi({type:IL});IL.\u0275inj=Eg({imports:[HL]});var JL=function(){};JL.\u0275fac=function(a){return new (a||JL)};JL.\u0275mod=Zi({type:JL});JL.\u0275inj=Eg({imports:[XF]});var oKc=[GL,nKc],KL=function(){};KL.\u0275fac=function(a){return new (a||KL)};KL.\u0275mod=Zi({type:KL});KL.\u0275inj=Eg({imports:[jC,FI,IL,JL]});var LL=function(){};LL.prototype.onPressBack=function(){var a;(a=window.history)==null||a.back()};LL.\u0275fac=function(a){return new (a||LL)};
LL.\u0275cmp=F({type:LL,selectors:[["empty-toolbar"]],standalone:!1,decls:3,vars:0,consts:[[1,"button-bar","flex-kids-x","align-items-center","border-bottom","padded-s"],["type","button","mat-icon-button","","color","primary","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward"]],template:function(a,b){a&1&&(L(0,"section",0)(1,"button",1),Q("click",function(){return b.onPressBack()}),N(2,"mat-icon",2),M()())},dependencies:[EA,dA,bA,YF,WF],styles:[".button-bar[_ngcontent-%COMP%] {\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var ML=function(){Z.call(this);this.templateRef=x(bk);this.viewContainer=x(ck);this.cdr=x(sx);this.isViewInitialized=!1;this.viewContainer.createEmbeddedView(this.templateRef)};Y(ML,Z);ML.prototype.ngAfterViewInit=function(){this.isViewInitialized=!0};
pg.Object.defineProperties(ML.prototype,{refreshable:{configurable:!0,enumerable:!0,set:function(a){var b=this;a.pipe(tj(this.destroyed$)).subscribe(function(){b.isViewInitialized&&(b.viewContainer.clear(),b.viewContainer.createEmbeddedView(b.templateRef),b.cdr.detectChanges())})}}});ML.\u0275fac=function(a){return new (a||ML)};ML.\u0275dir=$i({type:ML,selectors:[["","refreshable",""]],inputs:{refreshable:"refreshable"},standalone:!1,features:[xj]});var NL=function(){var a=this;this.cdr=x(jE,{self:!0});this.events=x(EB);this.ngZone=x(Kk);this.HOTKEYS=nq;this.lastOpenPosition=this.width=220;this.direction="ltr";this.maxWidth=700;this.widthChanged=new iE;this.widthAtDragStart=this.width;this.startDragging=function(b){a.dragStart=b;a.widthAtDragStart=a.width};this.minSnapWidth=185;this.onMousemove=function(b){a.isDragging&&(a.setWidth(a.widthAtDragStart+(b.pageX-(a.dragStart||0))*(a.isLTR?1:-1)),a.cdr.markForCheck())};this.onMouseup=function(){a.dragStart=
void 0;a.cdr.markForCheck()};this.broadcastWidthChange=Fv(function(b){a.widthChanged.emit(b);a.events.sidebarWidthChanged.next(b)},400);this.trackKeyboardResizing=Fv(function(){Yo("sidebar","resizeKeyboard")},2E3)};NL.prototype.ngOnInit=function(){var a=this;this.ngZone.runOutsideAngular(function(){document.addEventListener("mousemove",a.onMousemove)});document.addEventListener("mouseup",this.onMouseup,!0)};
NL.prototype.ngOnDestroy=function(){document.removeEventListener("mousemove",this.onMousemove);document.removeEventListener("mouseup",this.onMouseup,!0)};var cQa=function(a,b){var c=a.width+b;c<a.minSnapWidth&&(c=b<0?0:a.minSnapWidth);a.setWidth(c);a.trackKeyboardResizing()};NL.prototype.toggle=function(){this.setWidth(this.isClosed?this.lastOpenPosition:0)};
NL.prototype.setWidth=function(a){var b=this.minSnapWidth,c=this.maxWidth;a=a<90?20:a<b?b:Math.min(a,c===void 0?700:c);a>=this.minSnapWidth&&(this.lastOpenPosition=a);this.width=a;this.broadcastWidthChange(a);this.cdr.markForCheck()};
pg.Object.defineProperties(NL.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);a==="open"?b=this.lastOpenPosition:Number.isNaN(b)&&(b=220);this.setWidth(b)}},isLTR:{configurable:!0,enumerable:!0,get:function(){return this.direction==="ltr"}},isClosed:{configurable:!0,
enumerable:!0,get:function(){return this.width<this.minSnapWidth}},isDragging:{configurable:!0,enumerable:!0,get:function(){return this.dragStart!=null}}});NL.\u0275fac=function(a){return new (a||NL)};
NL.\u0275cmp=F({type:NL,selectors:[["b-resizable-sidebar"]],hostVars:2,hostBindings:function(a,b){a&2&&sk(b.direction)},inputs:{minWidth:"minWidth",direction:"direction",size:"size",maxWidth:"maxWidth"},outputs:{widthChanged:"widthChanged"},standalone:!1,features:[Bk([jE])],ngContentSelectors:["*"],decls:5,vars:11,consts:[["cdkScrollable","",1,"inner"],[1,"content"],["type","button","mat-icon-button","","aria-label","Open Sidebar","matTooltip","Open Sidebar",1,"openSidebarButton","xs",3,"class","isClosed",
"hotkey"],["tabindex","0","role","slider","aria-label","Resize side navigation bar","aria-orientation","horizontal",1,"resizeHandle",3,"hotkey"],["type","button","mat-icon-button","","aria-label","Open Sidebar","matTooltip","Open Sidebar",1,"openSidebarButton","xs",3,"click","onHotkey","hotkey"],[3,"svgIcon"],["tabindex","0","role","slider","aria-label","Resize side navigation bar","aria-orientation","horizontal",1,"resizeHandle",3,"onHotkey","mousedown","keyup.arrowleft","keyup.arrowright","keyup.space",
"keyup.enter","dblclick","hotkey"]],template:function(a,b){a&1&&(Zj(),L(0,"div",0)(1,"div",1),ak(2),M(),I(3,bQa,2,6,"button",2)(4,dQa,1,3,"div",3),M());a&2&&(sk(b.direction),qk("width",b.width+"px"),rk("isDragging",b.isDragging)("isClosed",b.isClosed),E(),qk("width",b.lastOpenPosition+"px"),E(2),J(b.isClosed?3:4))},dependencies:[EA,DL,dA,bA,YF,WF,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}.openSidebarButton[_ngcontent-%COMP%]{z-index:2;position:absolute;bottom:0;top:0;margin:auto;transform:rotateZ(180deg)}.openSidebarButton.ltr[_ngcontent-%COMP%]{right:0}.openSidebarButton.rtl[_ngcontent-%COMP%]{left:0}.resizeHandle[_ngcontent-%COMP%]:hover, .resizeHandle[_ngcontent-%COMP%]:focus, .isClosed[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 1px 50%}.resizeHandle[_ngcontent-%COMP%]:hover, .resizeHandle[_ngcontent-%COMP%]:focus{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}/*# sourceMappingURL=resizable_sidebar.css.map */'],
changeDetection:0});var pKc=new kh("intersectionObserverFactory",{factory:function(){return function(a,b){return new IntersectionObserver(a,b)}}}),qKc=new kh("isScrolledOnScreen",{factory:function(){return{fully:eQa,partially:fQa}}}),OL=function(){this.intersectionObserverBuilder=x(pKc);this.isScrolledOnScreen=x(qKc)};OL.prototype.getObservable=function(a,b){b=b===void 0?!1:b;return window.IntersectionObserver!=null?gQa(a,this.intersectionObserverBuilder,this.isScrolledOnScreen,b):hQa(a,this.isScrolledOnScreen,b)};
var rKc=function(a,b,c){var d=c===void 0?{}:c;c=d.emitOnPartial===void 0?!1:d.emitOnPartial;var e=d.durationOnScreenMs===void 0?0:d.durationOnScreenMs;d={cumulativeTime:0,wasPreviouslyOnScreen:!1,lastTimestamp:Date.now()};return a.getObservable(b,c).pipe($pa(function(f,h){return{cumulativeTime:f.cumulativeTime+(f.wasPreviouslyOnScreen?Date.now()-f.lastTimestamp:0),wasPreviouslyOnScreen:h,lastTimestamp:Date.now()}},d),sj(function(f){if(e===0&&f.wasPreviouslyOnScreen)return li(void 0);var h=e-f.cumulativeTime;
return h<0?li(void 0):f.wasPreviouslyOnScreen?li(void 0).pipe(ij(h)):ix}),C(function(){}),hj(1))};OL.\u0275fac=function(a){return new (a||OL)};OL.\u0275prov=Dg({token:OL,factory:OL.\u0275fac,providedIn:"root"});var PL=function(){};PL.prototype.onClick=function(a,b){sKc(b)&&a.preventDefault()};var sKc=function(a){if(window.getSelection){var b=window.getSelection();if(b&&!b.isCollapsed&&a.contains(b.focusNode))return!0}return!1};PL.\u0275fac=function(a){return new (a||PL)};PL.\u0275dir=$i({type:PL,selectors:[["","selectionPreventsClick",""]],hostBindings:function(a,b){a&1&&Q("click",function(c){return b.onClick(c,c.target)})},standalone:!1});p(oKc);var QL=function(){};QL.\u0275fac=function(a){return new (a||QL)};QL.\u0275mod=Zi({type:QL});QL.\u0275inj=Eg({imports:[jC,EL,FI,JL,pz,KL]});var RL=function(){};RL.\u0275fac=function(a){return new (a||RL)};RL.\u0275mod=Zi({type:RL});RL.\u0275inj=Eg({imports:[HG,kz]});var SL=function(){};SL.\u0275fac=function(a){return new (a||SL)};SL.\u0275mod=Zi({type:SL});SL.\u0275inj=Eg({providers:[{provide:qAc,useValue:{color:"primary"}}],imports:[RL]});var tKc=new kh("GM2_FORM_FIELD_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var TL=function(a){this.options=a;if(a.disableGmatStyle)throw Error("Mb");};TL.\u0275fac=function(a){return new (a||TL)(Ui(tKc))};TL.\u0275dir=$i({type:TL,selectors:[["mat-form-field"]],hostAttrs:[1,"gmat-mdc-form-field"],standalone:!1});var UL=function(){};UL.\u0275fac=function(a){return new (a||UL)};UL.\u0275mod=Zi({type:UL});UL.\u0275inj=Eg({imports:[fH]});var uKc=new kh("GM2_SELECT_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var VL=function(a){this.options=a;if(a.disableGmatStyle)throw Error("Mb");};VL.\u0275fac=function(a){return new (a||VL)(Ui(uKc))};VL.\u0275dir=$i({type:VL,selectors:[["mat-select"]],hostAttrs:[1,"gmat-mdc-select"],standalone:!1});var vKc=["trigger"],wKc=["panel"],xKc=[[["mat-select-trigger"]],"*"],yKc=new kh("mat-select-scroll-strategy",{providedIn:"root",factory:function(){var a=x(yj);return function(){return Om(a)}}}),zKc=new kh("MAT_SELECT_CONFIG"),AKc=new kh("MatSelectTrigger"),BKc=function(a,b){this.source=a;this.value=b},WL=function(){var a=this;this._viewportRuler=x(Lm);this._changeDetectorRef=x(sx);this._elementRef=x(Ph);this._dir=x(Xm,{optional:!0});this._idGenerator=x(Wm);this._renderer=x($m);this._parentFormField=
x(UAc,{optional:!0});this.ngControl=x(fG,{self:!0,optional:!0});this._liveAnnouncer=x(Vy);this._defaultOptions=x(zKc,{optional:!0});this._animationsDisabled=hn();this._initialized=new oj;this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",
panelClass:"mat-mdc-select-panel-above"}];this._scrollStrategyFactory=x(yKc);this._panelOpen=!1;this._compareWith=function(u,A){return u===A};this._uid=this._idGenerator.getId("mat-select-");this._triggerAriaLabelledBy=null;this._destroy=new oj;this.stateChanges=new oj;this.disableAutomaticLabeling=!0;this._onChange=function(){};this._onTouched=function(){};this._valueId=this._idGenerator.getId("mat-select-value-");var b;this._overlayPanelClass=((b=this._defaultOptions)==null?void 0:b.overlayPanelClass)||
"";this._focused=!1;this.controlType="mat-select";this.disabled=!1;this._disableRipple=kk.apply(null,[!1].concat(p([])));this.tabIndex=0;var c,d;this._hideSingleSelectionIndicator=(d=(c=this._defaultOptions)==null?void 0:c.hideSingleSelectionIndicator)!=null?d:!1;this._multiple=!1;var e,f;this.disableOptionCentering=(f=(e=this._defaultOptions)==null?void 0:e.disableOptionCentering)!=null?f:!1;this.ariaLabel="";this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth!=="undefined"?
this._defaultOptions.panelWidth:"auto";var h,k;this.canSelectNullableOptions=(k=(h=this._defaultOptions)==null?void 0:h.canSelectNullableOptions)!=null?k:!1;this.optionSelectionChanges=wi(function(){var u=a.options;return u?u.changes.pipe(rj(u),sj(function(){return Ci.apply(null,p(u.map(function(A){return A.onSelectionChange})))})):a._initialized.pipe(sj(function(){return a.optionSelectionChanges}))});this.openedChange=new Lp;this._openedStream=this.openedChange.pipe(Di(function(u){return u}),C(function(){}));
this._closedStream=this.openedChange.pipe(Di(function(u){return!u}),C(function(){}));this.selectionChange=new Lp;this.valueChange=new Lp;this._trackedModal=null;this._skipPredicate=function(u){return a.panelOpen?!1:u.disabled};b=x(Pz);c=x(mG,{optional:!0});d=x(wG,{optional:!0});e=x(new ax("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this);var q;((q=this._defaultOptions)==null?void 0:q.typeaheadDebounceInterval)!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval);
this._errorStateTracker=new Yoc(b,this.ngControl,d,c,this.stateChanges);this._scrollStrategy=this._scrollStrategyFactory();this.tabIndex=e==null?0:parseInt(e)||0;this.id=this.id};g=WL.prototype;g._scrollOptionIntoView=function(a){var b=this.options.toArray()[a];if(b){var c=this.panel.nativeElement,d=Bxa(a,this.options,this.optionGroups);b=b._getHostElement();c.scrollTop=a===0&&d===1?0:Cxa(b.offsetTop,b.offsetHeight,c.scrollTop,c.offsetHeight)}};
g._positioningSettled=function(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)};g._getChangeEvent=function(a){return new BKc(this,a)};g.ngOnInit=function(){var a=this;this._selectionModel=new nz(this.multiple);this.stateChanges.next();this._viewportRuler.change().pipe(tj(this._destroy)).subscribe(function(){a.panelOpen&&(a._overlayWidth=a._getOverlayWidth(a._preferredOverlayOrigin),a._changeDetectorRef.detectChanges())})};
g.ngAfterContentInit=function(){var a=this;this._initialized.next();this._initialized.complete();this._initKeyManager();this._selectionModel.changed.pipe(tj(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(rj(null),tj(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&&(this._previousControl!==void 0&&b.disabled!==null&&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&&uoc(this._keyManager,this.typeaheadDebounceInterval)};g.ngOnDestroy=function(){var a;(a=this._cleanupDetach)==null||a.call(this);var b;(b=this._keyManager)==null||b.destroy();this._destroy.next();this._destroy.complete();this.stateChanges.complete();this._clearFromModal()};g.toggle=function(){this.panelOpen?this.close():this.open()};
g.open=function(){var a=this;if(this._canOpen()){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin());var b;(b=this._cleanupDetach)==null||b.call(this);this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin);this._applyModalPanelOwnership();this._panelOpen=!0;this._overlayDir.positionChange.pipe(hj(1)).subscribe(function(){a._changeDetectorRef.detectChanges();a._positioningSettled()});Woc(this._overlayDir);ez(this._keyManager,null);
this._highlightCorrectOption();this._changeDetectorRef.markForCheck();this.stateChanges.next();Promise.resolve().then(function(){return a.openedChange.emit(!0)})}};g._applyModalPanelOwnership=function(){var a=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(a){var b=this.id+"-panel";this._trackedModal&&Km(this._trackedModal,"aria-owns",b);exa(a,"aria-owns",b);this._trackedModal=a}};
g._clearFromModal=function(){this._trackedModal&&(Km(this._trackedModal,"aria-owns",this.id+"-panel"),this._trackedModal=null)};g.close=function(){var a=this;this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),ez(this._keyManager,this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(function(){return a.openedChange.emit(!1)}))};
g._exitAndDetach=function(){var a=this;if(this._animationsDisabled||!this.panel)this._detachOverlay();else{var b;(b=this._cleanupDetach)==null||b.call(this);this._cleanupDetach=function(){c();clearTimeout(d);a._cleanupDetach=void 0};b=this.panel.nativeElement;var c=this._renderer.listen(b,"animationend",function(e){if(e.animationName==="_mat-select-exit"){var f;(f=a._cleanupDetach)==null||f.call(a);a._detachOverlay()}}),d=setTimeout(function(){var e;(e=a._cleanupDetach)==null||e.call(a);a._detachOverlay()},
200);b.classList.add("mat-select-panel-exit")}};g._detachOverlay=function(){Xoc(this._overlayDir);this._changeDetectorRef.markForCheck()};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.updateErrorState=function(){this._errorStateTracker.updateErrorState()};
g._isRtl=function(){return this._dir?this._dir.value==="rtl":!1};g._handleKeydown=function(a){this.disabled||(this.panelOpen?this._handleOpenKeydown(a):this._handleClosedKeydown(a))};
g._handleClosedKeydown=function(a){var b=a.keyCode,c=b===40||b===38||b===37||b===39,d=this._keyManager;!(d.isTyping()||b!==13&&b!==32||ym(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=c===40||c===38,e=b.isTyping();if(d&&a.altKey)a.preventDefault(),this.close();else if(e||c!==13&&c!==32||!b.activeItem||ym(a))if(!e&&this._multiple&&c===65&&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._handleOverlayKeydown=function(a){a.keyCode!==27||ym(a)||(a.preventDefault(),this.close())};g._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())};g._onBlur=function(){this._focused=!1;var a;if((a=this._keyManager)!=null){var b;(b=a._typeahead)==null||b.reset()}this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())};
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?(a.forEach(function(c){return b._selectOptionByValue(c)}),this._sortValues()):(a=this._selectOptionByValue(a))?gz(this._keyManager,a):this.panelOpen||gz(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(d.value!=null||b.canSelectNullableOptions)&&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._getOverlayWidth=function(a){return this.panelWidth==="auto"?(a instanceof Hz?a.elementRef:a||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth};g._syncParentProperties=function(){if(this.options)for(var a=l(this.options),b=a.next();!b.done;b=a.next())b.value._changeDetectorRef.markForCheck()};
g._initKeyManager=function(){var a=this;this._keyManager=toc(voc(fz(ez(dz(uoc(new hz(this.options),this.typeaheadDebounceInterval)),this._isRtl()?"rtl":"ltr")))).skipPredicate(this._skipPredicate);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=Ci(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(tj(b)).subscribe(function(c){a._onSelect(c.source,c.isUserInput);c.isUserInput&&!a.multiple&&a._panelOpen&&(a.close(),a.focus())});Ci.apply(null,p(this.options.map(function(c){return c._stateChanges}))).pipe(tj(b)).subscribe(function(){a._changeDetectorRef.detectChanges();a.stateChanges.next()})};
g._onSelect=function(a,b){var c=this._selectionModel.isSelected(a);this.canSelectNullableOptions||a.value!=null||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(),this.value!=null&&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;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(){if(this._keyManager)if(this.empty){for(var a=-1,b=0;b<this.options.length;b++)if(!this.options.get(b).disabled){a=b;break}this._keyManager.setActiveItem(a)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])};g._canOpen=function(){var a;return!this._panelOpen&&!this.disabled&&((a=this.options)==null?void 0:a.length)>0&&!!this._overlayDir};g.focus=function(a){this._elementRef.nativeElement.focus(a)};
g._getPanelAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=((a=this._parentFormField)==null?void 0:a.getLabelId())||null;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=((a=this._parentFormField)==null?void 0:a.getLabelId())||"";this.ariaLabelledby&&(b+=" "+this.ariaLabelledby);b||(b=this._valueId);return b};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()};
pg.Object.defineProperties(WL.prototype,{focused:{configurable:!0,enumerable:!0,get:function(){return this._focused||this._panelOpen}},disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple()},set:function(a){this._disableRipple.set(a)}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=a;this._syncParentProperties()}},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(d=(c=this._required)!=null?c:(a=this.ngControl)==null?void 0:(b=a.control)==null?void 0:NJa(b._rawValidators,zp))!=null?d:!1},set:function(a){this._required=a;this.stateChanges.next()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=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)}},errorStateMatcher:{configurable:!0,enumerable:!0,get:function(){return this._errorStateTracker.matcher},set:function(a){this._errorStateTracker.matcher=a}},id:{configurable:!0,enumerable:!0,get:function(){return this._id},set:function(a){this._id=
a||this._uid;this.stateChanges.next()}},errorState:{configurable:!0,enumerable:!0,get:function(){return this._errorStateTracker.errorState},set:function(a){this._errorStateTracker.errorState=a}},panelOpen:{configurable:!0,enumerable:!0,get:function(){return this._panelOpen}},selected:{configurable:!0,enumerable:!0,get:function(){var a,b;return this.multiple?((a=this._selectionModel)==null?void 0:a.selected)||[]:(b=this._selectionModel)==null?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()}},describedByIds:{configurable:!0,enumerable:!0,get:function(){var a;return((a=this._elementRef.nativeElement.getAttribute("aria-describedby"))==null?void 0:a.split(" "))||
[]}},shouldLabelFloat:{configurable:!0,enumerable:!0,get:function(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}}});WL.\u0275fac=function(a){return new (a||WL)};
WL.\u0275cmp=F({type:WL,selectors:[["mat-select"]],contentQueries:function(a,b,c){a&1&&(fk(c,AKc,5),fk(c,Vz,5),fk(c,bpc,5));if(a&2){var d;ik(d=jk())&&(b.customTrigger=d.first);ik(d=jk())&&(b.options=d);ik(d=jk())&&(b.optionGroups=d)}},viewQuery:function(a,b){a&1&&(ek(vKc,5),ek(wKc,5),ek(Iz,5));if(a&2){var c;ik(c=jk())&&(b.trigger=c.first);ik(c=jk())&&(b.panel=c.first);ik(c=jk())&&(b._overlayDir=c.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(a,
b){a&1&&Q("keydown",function(c){return b._handleKeydown(c)})("focus",function(){return b._onFocus()})("blur",function(){return b._onBlur()});a&2&&(Hj("id",b.id)("tabindex",b.disabled?-1: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()),rk("mat-mdc-select-disabled",b.disabled)("mat-mdc-select-invalid",
b.errorState)("mat-mdc-select-required",b.required)("mat-mdc-select-empty",b.empty)("mat-mdc-select-multiple",b.multiple)("mat-select-open",b.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",Tk],disableRipple:[2,"disableRipple","disableRipple",Tk],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:Uk(a)}],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",
Tk],placeholder:"placeholder",required:[2,"required","required",Tk],multiple:[2,"multiple","multiple",Tk],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Tk],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Uk],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",
canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",Tk]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Bk([{provide:$G,useExisting:WL},{provide:apc,useExisting:WL}]),$w],ngContentSelectors:["mat-select-trigger","*"],decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",
3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],"viewBox;0 0 24 24;width;24px;height;24px;focusable;false;aria-hidden;true".split(";"),["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown",
"cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(a,b){if(a&1){var c=y();Zj(xKc);L(0,"div",2,0);Q("click",function(){z(c);return B(b.open())});L(3,"div",3);I(4,iQa,2,1,"span",4)(5,lQa,3,1,"span",5);M();L(6,"div",6)(7,
"div",7);Gh();L(8,"svg",8);N(9,"path",9);M()()()();G(10,mQa,3,10,"ng-template",10);Q("detach",function(){z(c);return B(b.close())})("backdropClick",function(){z(c);return B(b.close())})("overlayKeydown",function(d){z(c);return B(b._handleOverlayKeydown(d))})}a&2&&(a=T(1),E(3),Hj("id",b._valueId),E(),J(b.empty?4:5),E(6),K("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",b._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",b._scrollStrategy)("cdkConnectedOverlayOrigin",b._preferredOverlayOrigin||
a)("cdkConnectedOverlayPositions",b._positions)("cdkConnectedOverlayWidth",b._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0))},dependencies:[Hz,Iz,ly],styles:['@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 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-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-select-open .mat-mdc-select-arrow{transform:rotate(180deg)}.mat-form-field-animations-enabled .mat-mdc-select-arrow{transition:transform 80ms linear}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}\n'],
encapsulation:2,changeDetection:0});var XL=function(){};XL.\u0275fac=function(a){return new (a||XL)};XL.\u0275dir=$i({type:XL,selectors:[["mat-select-trigger"]],features:[Bk([{provide:AKc,useExisting:XL}])]});var YL=function(){};YL.\u0275fac=function(a){return new (a||YL)};YL.\u0275mod=Zi({type:YL});YL.\u0275inj=Eg({imports:[Jz,Yz,kz,pz,fH,Yz]});var CKc={provide:zKc,deps:[[new Yjc,new Zjc,new Xjc(zKc)],[new Yjc,new Xjc(uKc)]],useFactory:function(a,b){return!b||b.disableGmatStyle?a||{}:a?Object.assign({},a,{overlayPanelClass:tm(a.overlayPanelClass).concat("gmat-mdc-select")}):{overlayPanelClass:"gmat-mdc-select"}}},ZL=function(){};ZL.\u0275fac=function(a){return new (a||ZL)};ZL.\u0275mod=Zi({type:ZL});ZL.\u0275inj=Eg({providers:[CKc],imports:[YL,UL]});var DKc=new kh("GM2_SNACK_BAR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var $L=function(){JA.apply(this,arguments);this.additionalClasses=["gmat-mdc-snack-bar"];this.gmatOptions=x(DKc)};Y($L,JA);$L.prototype.openFromComponent=function(a,b){a=JA.prototype.openFromComponent.call(this,a,b);b=a.containerInstance._elementRef.nativeElement.closest(".cdk-overlay-pane");if(this.gmatOptions.disableGmatStyle)throw Error("Mb");b==null||b.classList.add.apply(b.classList,p(this.additionalClasses));return a};
$L.\u0275fac=function(){var a;return function(b){return(a||(a=Nh($L)))(b||$L)}}();$L.\u0275prov=Dg({token:$L,factory:$L.\u0275fac});var aM=function(){};aM.\u0275fac=function(a){return new (a||aM)};aM.\u0275mod=Zi({type:aM});aM.\u0275inj=Eg({providers:[{provide:JA,useClass:$L}],imports:[KA]});var EKc=new kh("GM2_TABS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1,appearance:"primary"}}});var FKc=function(a){this._items=a};FKc.prototype.hide=function(){this._items.forEach(function(a){return GKc(a)});this._currentItem=void 0};
var IKc=function(a,b){var c=a._items.find(function(h){return h.elementRef.nativeElement===b}),d=a._currentItem;if(c!==d&&(d==null||GKc(d),c)){var e,f;d=d==null?void 0:(f=(e=d.elementRef.nativeElement).getBoundingClientRect)==null?void 0:f.call(e);HKc(c,d);a._currentItem=c}},bM=function(){this._elementRef=x(Ph);this._fitToContent=!1},HKc=function(a,b){var c=a._elementRef.nativeElement;if(b&&c.getBoundingClientRect&&a._inkBarContentElement){var d=c.getBoundingClientRect(),e=b.width/d.width;b=b.left-
d.left;c.classList.add("mdc-tab-indicator--no-transition");a._inkBarContentElement.style.setProperty("transform","translateX("+b+"px) scaleX("+e+")");c.getBoundingClientRect();c.classList.remove("mdc-tab-indicator--no-transition");c.classList.add("mdc-tab-indicator--active");a._inkBarContentElement.style.setProperty("transform","")}else c.classList.add("mdc-tab-indicator--active")},GKc=function(a){a._elementRef.nativeElement.classList.remove("mdc-tab-indicator--active")};bM.prototype.ngOnInit=function(){this._createInkBarElement()};
bM.prototype.ngOnDestroy=function(){var a;(a=this._inkBarElement)==null||a.remove();this._inkBarElement=this._inkBarContentElement=null};bM.prototype._createInkBarElement=function(){var a=this._elementRef.nativeElement.ownerDocument||document,b=this._inkBarElement=a.createElement("span");a=this._inkBarContentElement=a.createElement("span");b.className="mdc-tab-indicator";a.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline";b.appendChild(this._inkBarContentElement);this._appendInkBarElement()};
bM.prototype._appendInkBarElement=function(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)};pg.Object.defineProperties(bM.prototype,{fitInkBarToContent:{configurable:!0,enumerable:!0,get:function(){return this._fitToContent},set:function(a){this._fitToContent!==a&&(this._fitToContent=a,this._inkBarElement&&this._appendInkBarElement())}}});bM.\u0275fac=function(a){return new (a||bM)};
bM.\u0275dir=$i({type:bM,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",Tk]}});new kh("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(a){return{left:a?(a.offsetLeft||0)+"px":"0",width:a?(a.offsetWidth||0)+"px":"0"}}}});var JKc={passive:!0},cM=function(){var a=this;this._elementRef=x(Ph);this._changeDetectorRef=x(sx);this._viewportRuler=x(Lm);this._dir=x(Xm,{optional:!0});this._ngZone=x(Kk);this._platform=x(Qm);this._sharedResizeObserver=x(aH);this._injector=x(yj);this._renderer=x($m);this._animationsDisabled=hn();this._scrollDistance=0;this._selectedIndexChanged=!1;this._destroyed=new oj;this._showPaginationControls=!1;this._disableScrollBefore=this._disableScrollAfter=!0;this._stopScrolling=new oj;this.disablePagination=
!1;this._selectedIndex=0;this.selectFocusedIndex=new Lp;this.indexFocused=new Lp;this._eventCleanups=this._ngZone.runOutsideAngular(function(){return[a._renderer.listen(a._elementRef.nativeElement,"mouseleave",function(){return a._stopInterval()})]})};g=cM.prototype;
g.ngAfterViewInit=function(){var a=this;this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",function(){return a._handlePaginatorPress("before")},JKc),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",function(){return a._handlePaginatorPress("after")},JKc))};
g.ngAfterContentInit=function(){var a=this,b=this._dir?this._dir.change:li("ltr"),c=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(fj(32),tj(this._destroyed)),d=this._viewportRuler.change(150).pipe(tj(this._destroyed)),e=function(){a.updatePagination();a._alignInkBarToSelectedTab()};this._keyManager=cz(fz(ez(new iz(this._items),this._getLayoutDirection()))).skipPredicate(function(){return!1});gz(this._keyManager,Math.max(this._selectedIndex,0));Ej(e,{injector:this._injector});
Ci(b,d,c,this._items.changes,this._itemsResized()).pipe(tj(this._destroyed)).subscribe(function(){a._ngZone.run(function(){Promise.resolve().then(function(){a._scrollDistance=Math.max(0,Math.min(a._getMaxScrollDistance(),a._scrollDistance));e()})});var f;(f=a._keyManager)==null||ez(f,a._getLayoutDirection())});this._keyManager.change.subscribe(function(f){a.indexFocused.emit(f);a._setTabFocus(f)})};
g._itemsResized=function(){var a=this;return typeof ResizeObserver!=="function"?Bi:this._items.changes.pipe(rj(this._items),sj(function(b){return new bi(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()}})})}),qj(1),Di(function(b){return b.some(function(c){return c.contentRect.width>0&&c.contentRect.height>0})}))};
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(){this._eventCleanups.forEach(function(b){return b()});var a;(a=this._keyManager)==null||a.destroy();this._destroyed.next();this._destroyed.complete();this._stopScrolling.complete()};g._handleKeydown=function(a){if(!ym(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:(b=this._keyManager)==null||b.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=this._getLayoutDirection()=="ltr"?0:a.scrollWidth-a.offsetWidth)};g._getLayoutDirection=function(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"};
g._updateTabScrollPosition=function(){if(!this.disablePagination){var a=this.scrollDistance;this._tabList.nativeElement.style.transform="translateX("+Math.round(this._getLayoutDirection()==="ltr"?-a:a)+"px)";if(this._platform.TRIDENT||this._platform.EDGE)this._tabListContainer.nativeElement.scrollLeft=0}};g._scrollHeader=function(a){return this._scrollTo(this._scrollDistance+(a=="before"?-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;this._getLayoutDirection()=="ltr"?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:c>a&&(this.scrollDistance+=Math.min(c-a,b-d))}}};
g._checkPaginationEnabled=function(){if(this.disablePagination)this._showPaginationControls=!1;else{var a=this._tabListInner.nativeElement.scrollWidth-this._elementRef.nativeElement.offsetWidth>=5;a||(this.scrollDistance=0);a!==this._showPaginationControls&&(this._showPaginationControls=a,this._changeDetectorRef.markForCheck())}};
g._checkScrollingControls=function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,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)?IKc(this._inkBar,a):this._inkBar.hide()};g._stopInterval=function(){this._stopScrolling.next()};
g._handlePaginatorPress=function(a,b){var c=this;b&&b.button!=null&&b.button!==0||(this._stopInterval(),Ai(650,100).pipe(tj(Ci(this._stopScrolling,this._destroyed))).subscribe(function(){var d=c._scrollHeader(a),e=d.maxScrollDistance;d=d.distance;(d===0||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}};
pg.Object.defineProperties(cM.prototype,{selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){a=isNaN(a)?0:a;this._selectedIndex!=a&&(this._selectedIndexChanged=!0,this._selectedIndex=a,this._keyManager&&gz(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)}}});cM.\u0275fac=function(a){return new (a||cM)};cM.\u0275dir=$i({type:cM,inputs:{disablePagination:[2,"disablePagination","disablePagination",Tk],selectedIndex:[2,"selectedIndex","selectedIndex",Uk]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}});var KKc=["content"],eM=function(){Ez.call(this);this._host=x(dM);this._ngZone=x(Kk);this._leavingSub=this._centeringSub=Yh.EMPTY};Y(eM,Ez);
eM.prototype.ngOnInit=function(){var a=this;Ez.prototype.ngOnInit.call(this);this._centeringSub=this._host._beforeCentering.pipe(rj(this._host._isCenterPosition())).subscribe(function(b){a._host._content&&b&&!a.hasAttached()&&a._ngZone.run(function(){Promise.resolve().then();a.attach(a._host._content)})});this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){a._host.preserveContent||a._ngZone.run(function(){return a.detach()})})};
eM.prototype.ngOnDestroy=function(){Ez.prototype.ngOnDestroy.call(this);this._centeringSub.unsubscribe();this._leavingSub.unsubscribe()};eM.\u0275fac=function(a){return new (a||eM)};eM.\u0275dir=$i({type:eM,selectors:[["","matTabBodyHost",""]],features:[xj]});
var dM=function(){var a=this;this._elementRef=x(Ph);this._dir=x(Xm,{optional:!0});this._ngZone=x(Kk);this._injector=x(yj);this._renderer=x($m);this._diAnimationsDisabled=hn();this._dirChangeSubscription=Yh.EMPTY;this._onCentering=new Lp;this._beforeCentering=new Lp;this._afterLeavingCenter=new Lp;this._onCentered=new Lp(!0);this.animationDuration="500ms";this.preserveContent=!1;if(this._dir){var b=x(sx);this._dirChangeSubscription=this._dir.change.subscribe(function(c){a._computePositionAnimationState(c);
b.markForCheck()})}};g=dM.prototype;g.ngOnInit=function(){var a=this;this._bindTransitionEvents();this._position==="center"&&(this._setActiveClass(!0),Ej(function(){return a._onCentering.emit(a._elementRef.nativeElement.clientHeight)},{injector:this._injector}));this._initialized=!0};g.ngOnDestroy=function(){clearTimeout(this._fallbackTimer);var a;(a=this._eventCleanups)==null||a.forEach(function(b){return b()});this._dirChangeSubscription.unsubscribe()};
g._bindTransitionEvents=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._elementRef.nativeElement,c=function(d){var e;d.target===((e=a._contentElement)==null?void 0:e.nativeElement)&&(a._elementRef.nativeElement.classList.remove("mat-tab-body-animating"),d.type==="transitionend"&&a._transitionDone())};a._eventCleanups=[a._renderer.listen(b,"transitionstart",function(d){var e;d.target===((e=a._contentElement)==null?void 0:e.nativeElement)&&(a._elementRef.nativeElement.classList.add("mat-tab-body-animating"),
a._transitionStarted())}),a._renderer.listen(b,"transitionend",c),a._renderer.listen(b,"transitioncancel",c)]})};g._transitionStarted=function(){clearTimeout(this._fallbackTimer);var a=this._position==="center";this._beforeCentering.emit(a);a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)};g._transitionDone=function(){this._position==="center"?this._onCentered.emit():this._previousPosition==="center"&&this._afterLeavingCenter.emit()};
g._setActiveClass=function(a){this._elementRef.nativeElement.classList.toggle("mat-mdc-tab-body-active",a)};g._getLayoutDirection=function(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"};g._isCenterPosition=function(){return this._positionIndex===0};
g._computePositionAnimationState=function(a){var b=this;a=a===void 0?this._getLayoutDirection():a;this._previousPosition=this._position;this._position=this._positionIndex<0?a=="ltr"?"left":"right":this._positionIndex>0?a=="ltr"?"right":"left":"center";this._animationsDisabled()?this._simulateTransitionEvents():!this._initialized||this._position!=="center"&&this._previousPosition!=="center"||(clearTimeout(this._fallbackTimer),this._fallbackTimer=this._ngZone.runOutsideAngular(function(){return setTimeout(function(){return b._simulateTransitionEvents()},
100)}))};g._simulateTransitionEvents=function(){var a=this;this._transitionStarted();Ej(function(){return a._transitionDone()},{injector:this._injector})};g._animationsDisabled=function(){return this._diAnimationsDisabled||this.animationDuration==="0ms"||this.animationDuration==="0s"};pg.Object.defineProperties(dM.prototype,{position:{configurable:!0,enumerable:!0,set:function(a){this._positionIndex=a;this._computePositionAnimationState()}}});dM.\u0275fac=function(a){return new (a||dM)};
dM.\u0275cmp=F({type:dM,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&(ek(eM,5),ek(KKc,5));if(a&2){var c;ik(c=jk())&&(b._portalHost=c.first);ik(c=jk())&&(b._contentElement=c.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(a,b){a&2&&Hj("inert",b._position==="center"?null:"")},inputs:{_content:[0,"content","_content"],animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",
_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(a,b){a&1&&(L(0,"div",1,0),G(2,nQa,0,0,"ng-template",2),M());a&2&&rk("mat-tab-body-content-left",b._position==="left")("mat-tab-body-content-right",b._position==="right")("mat-tab-body-content-can-animate",b._position==="center"||b._previousPosition==="center")},dependencies:[eM,mz],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;transform:none;visibility:hidden}.mat-tab-body-animating>.mat-mdc-tab-body-content,.mat-mdc-tab-body-active>.mat-mdc-tab-body-content{visibility:visible}.mat-tab-body-animating>.mat-mdc-tab-body-content{min-height:1px}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-tab-body-content-can-animate{transition:transform var(--mat-tab-animation-duration) 1ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable .mat-tab-body-content-can-animate{transition:none}.mat-tab-body-content-left{transform:translate3d(-100%, 0, 0)}.mat-tab-body-content-right{transform:translate3d(100%, 0, 0)}\n"],
encapsulation:2});var LKc=new kh("MAT_TABS_CONFIG");var MKc=new kh("MatTabContent"),fM=function(){this.template=x(bk)};fM.\u0275fac=function(a){return new (a||fM)};fM.\u0275dir=$i({type:fM,selectors:[["","matTabContent",""]],features:[Bk([{provide:MKc,useExisting:fM}])]});var gM=function(){bM.apply(this,arguments);this.elementRef=x(Ph);this.disabled=!1};Y(gM,bM);gM.prototype.focus=function(){this.elementRef.nativeElement.focus()};gM.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(gM)))(b||gM)}}();gM.\u0275dir=$i({type:gM,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Hj("aria-disabled",!!b.disabled),rk("mat-mdc-tab-disabled",b.disabled))},inputs:{disabled:[2,"disabled","disabled",Tk]},features:[xj]});var NKc=["tabListContainer"],OKc=["tabList"],PKc=["tabListInner"],QKc=["nextPaginator"],RKc=["previousPaginator"],hM=function(){cM.apply(this,arguments);this.disableRipple=!1};Y(hM,cM);hM.\u0275dir=cM.\u0275dir;hM.prototype.ngAfterContentInit=function(){this._inkBar=new FKc(this._items);cM.prototype.ngAfterContentInit.call(this)};hM.prototype._itemSelected=function(a){a.preventDefault()};hM.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(hM)))(b||hM)}}();
hM.\u0275cmp=F({type:hM,selectors:[["mat-tab-header"]],contentQueries:function(a,b,c){a&1&&fk(c,gM,4);if(a&2){var d;ik(d=jk())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(ek(NKc,7),ek(OKc,7),ek(PKc,7),ek(QKc,5),ek(RKc,5));if(a&2){var c;ik(c=jk())&&(b._tabListContainer=c.first);ik(c=jk())&&(b._tabList=c.first);ik(c=jk())&&(b._tabListInner=c.first);ik(c=jk())&&(b._nextPaginator=c.first);ik(c=jk())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(a,
b){a&2&&rk("mat-mdc-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-mdc-tab-header-rtl",b._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",Tk]},features:[xj],ngContentSelectors:["*"],decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination",
"mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(a,b){if(a&1){var c=y();Zj();L(0,"div",5,0);Q("click",function(){z(c);
return B(b._handlePaginatorClick("before"))})("mousedown",function(d){z(c);return B(b._handlePaginatorPress("before",d))})("touchend",function(){z(c);return B(b._stopInterval())});N(2,"div",6);M();L(3,"div",7,1);Q("keydown",function(d){z(c);return B(b._handleKeydown(d))});L(5,"div",8,2);Q("cdkObserveContent",function(){z(c);return B(b._onContentChanges())});L(7,"div",9,3);ak(9);M()()();L(10,"div",10,4);Q("mousedown",function(d){z(c);return B(b._handlePaginatorPress("after",d))})("click",function(){z(c);
return B(b._handlePaginatorClick("after"))})("touchend",function(){z(c);return B(b._stopInterval())});N(12,"div",6);M()}a&2&&(rk("mat-mdc-tab-header-pagination-disabled",b._disableScrollBefore),K("matRippleDisabled",b._disableScrollBefore||b.disableRipple),E(3),rk("_mat-animation-noopable",b._animationsDisabled),E(2),Hj("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby||null),E(5),rk("mat-mdc-tab-header-pagination-disabled",b._disableScrollAfter),K("matRippleDisabled",b._disableScrollAfter||
b.disableRipple))},dependencies:[Tz,Ty],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-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;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-divider-height, 1px);border-bottom-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-divider-height, 1px);border-top-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mat-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}\n"],
encapsulation:2});var SKc=new kh("MatTabLabel"),TKc=new kh("MAT_TAB"),iM=function(){Dz.apply(this,arguments);this._closestTab=x(TKc,{optional:!0})};Y(iM,Dz);iM.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(iM)))(b||iM)}}();iM.\u0275dir=$i({type:iM,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Bk([{provide:SKc,useExisting:iM}]),xj]});var UKc=new kh("MAT_TAB_GROUP"),jM=function(){this._viewContainerRef=x(ck);this._closestTabGroup=x(UKc,{optional:!0});this.disabled=!1;this._explicitContent=void 0;this.textLabel="";this._contentPortal=this.id=null;this._stateChanges=new oj;this.origin=this.position=null;this.isActive=!1;x(Um).load(Qz)};jM.prototype.ngOnChanges=function(a){(a.hasOwnProperty("textLabel")||a.hasOwnProperty("disabled"))&&this._stateChanges.next()};jM.prototype.ngOnDestroy=function(){this._stateChanges.complete()};
jM.prototype.ngOnInit=function(){this._contentPortal=new Bz(this._explicitContent||this._implicitContent,this._viewContainerRef)};jM.prototype._setTemplateLabelInput=function(a){a&&a._closestTab===this&&(this._templateLabel=a)};pg.Object.defineProperties(jM.prototype,{templateLabel:{configurable:!0,enumerable:!0,get:function(){return this._templateLabel},set:function(a){this._setTemplateLabelInput(a)}},content:{configurable:!0,enumerable:!0,get:function(){return this._contentPortal}}});
jM.\u0275fac=function(a){return new (a||jM)};
jM.\u0275cmp=F({type:jM,selectors:[["mat-tab"]],contentQueries:function(a,b,c){a&1&&(fk(c,iM,5),fk(c,fM,7,bk));if(a&2){var d;ik(d=jk())&&(b.templateLabel=d.first);ik(d=jk())&&(b._explicitContent=d.first)}},viewQuery:function(a,b){a&1&&ek(bk,7);if(a&2){var c;ik(c=jk())&&(b._implicitContent=c.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(a){a&2&&Hj("id",null)},inputs:{disabled:[2,"disabled","disabled",Tk],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,
"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[Bk([{provide:TKc,useExisting:jM}]),$w],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Zj(),Dqa(0,oQa,1,0,"ng-template"))},encapsulation:2});var VKc=["tabBodyWrapper"],WKc=["tabHeader"],kM=function(){this._elementRef=x(Ph);this._changeDetectorRef=x(sx);this._ngZone=x(Kk);this._tabBodySubscription=this._tabLabelSubscription=this._tabsSubscription=Yh.EMPTY;this._diAnimationsDisabled=hn();this._tabs=new dk;this._indexToSelect=0;this._lastFocusedTabIndex=null;this._tabBodyWrapperHeight=0;this._fitInkBarToContent=!1;this.stretchTabs=!0;this.alignTabs=null;this.dynamicHeight=!1;this._selectedIndex=null;this.headerPosition="above";this.preserveContent=
this.disableRipple=this.disablePagination=!1;this.selectedIndexChange=new Lp;this.focusChange=new Lp;this.animationDone=new Lp;this.selectedTabChange=new Lp(!0);this._isServer=!x(Qm).isBrowser;var a=x(LKc,{optional:!0});this._groupId=x(Wm).getId("mat-tab-group-");this.animationDuration=a&&a.animationDuration?a.animationDuration:"500ms";this.disablePagination=a&&a.disablePagination!=null?a.disablePagination:!1;this.dynamicHeight=a&&a.dynamicHeight!=null?a.dynamicHeight:!1;(a==null?void 0:a.contentTabIndex)!=
null&&(this.contentTabIndex=a.contentTabIndex);this.preserveContent=!(a==null||!a.preserveContent);this.fitInkBarToContent=a&&a.fitInkBarToContent!=null?a.fitInkBarToContent:!1;this.stretchTabs=a&&a.stretchTabs!=null?a.stretchTabs:!0;this.alignTabs=a&&a.alignTabs!=null?a.alignTabs:null};g=kM.prototype;
g.ngAfterContentChecked=function(){var a=this,b=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=b){var c=this._selectedIndex==null;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;a._selectedIndex==null||e.position!=0||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.ngAfterViewInit=function(){var a=this;this._tabBodySubscription=this._tabBodies.changes.subscribe(function(){return a._bodyCentered(!0)})};g._subscribeToAllTabChanges=function(){var a=this;this._allTabs.changes.pipe(rj(this._allTabs)).subscribe(function(b){a._tabs.reset(b.filter(function(c){return c._closestTabGroup===a||!c._closestTabGroup}));hk(a._tabs)})};g.ngOnDestroy=function(){this._tabs.destroy();this._tabsSubscription.unsubscribe();this._tabLabelSubscription.unsubscribe();this._tabBodySubscription.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 XKc;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=Ci.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,b){return a.id||this._groupId+"-label-"+b};g._getTabContentId=function(a){return this._groupId+"-content-"+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")}else this._tabBodyWrapperHeight=a};g._removeTabBodyWrapperHeight=function(){var a=this,b=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=b.clientHeight;b.style.height="";this._ngZone.run(function(){return a.animationDone.emit()})};
g._handleClick=function(a,b,c){b.focusIndex=c;a.disabled||(this.selectedIndex=c)};g._getTabIndex=function(a){var b,c=(b=this._lastFocusedTabIndex)!=null?b:this.selectedIndex;return a===c?0:-1};g._tabFocusChanged=function(a,b){a&&a!=="mouse"&&a!=="touch"&&(this._tabHeader.focusIndex=b)};g._bodyCentered=function(a){var b=this;if(a){var c;(c=this._tabBodies)==null||c.forEach(function(d,e){return d._setActiveClass(e===b._selectedIndex)})}};
g._animationsDisabled=function(){return this._diAnimationsDisabled||this.animationDuration==="0"||this.animationDuration==="0ms"};
pg.Object.defineProperties(kM.prototype,{fitInkBarToContent:{configurable:!0,enumerable:!0,get:function(){return this._fitInkBarToContent},set:function(a){this._fitInkBarToContent=a;this._changeDetectorRef.markForCheck()}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){this._indexToSelect=isNaN(a)?null:a}},animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){var b=a+"";this._animationDuration=
/^\d+$/.test(b)?a+"ms":b}},contentTabIndex:{configurable:!0,enumerable:!0,get:function(){return this._contentTabIndex},set:function(a){this._contentTabIndex=isNaN(a)?null: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}}});
kM.\u0275fac=function(a){return new (a||kM)};
kM.\u0275cmp=F({type:kM,selectors:[["mat-tab-group"]],contentQueries:function(a,b,c){a&1&&fk(c,jM,5);if(a&2){var d;ik(d=jk())&&(b._allTabs=d)}},viewQuery:function(a,b){a&1&&(ek(VKc,5),ek(WKc,5),ek(dM,5));if(a&2){var c;ik(c=jk())&&(b._tabBodyWrapper=c.first);ik(c=jk())&&(b._tabHeader=c.first);ik(c=jk())&&(b._tabBodies=c)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(a,b){a&2&&(Hj("mat-align-tabs",b.alignTabs),sk("mat-"+(b.color||"primary")),qk("--mat-tab-animation-duration",
b.animationDuration),rk("mat-mdc-tab-group-dynamic-height",b.dynamicHeight)("mat-mdc-tab-group-inverted-header",b.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",b.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",Tk],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",Tk],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",Tk],selectedIndex:[2,"selectedIndex","selectedIndex",Uk],headerPosition:"headerPosition",
animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",Uk],disablePagination:[2,"disablePagination","disablePagination",Tk],disableRipple:[2,"disableRipple","disableRipple",Tk],preserveContent:[2,"preserveContent","preserveContent",Tk],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",
selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[Bk([{provide:UKc,useExisting:kM}])],ngContentSelectors:["*"],decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],
[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","class","content","position","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered",
"_onCentering","_beforeCentering","id","content","position","animationDuration","preserveContent"]],template:function(a,b){if(a&1){var c=y();Zj();L(0,"mat-tab-header",3,0);Q("indexFocused",function(d){z(c);return B(b._focusChanged(d))})("selectFocusedIndex",function(d){z(c);return B(b.selectedIndex=d)});Mj(2,sQa,8,17,"div",4,Lj);M();I(4,tQa,1,0);L(5,"div",5,1);Mj(7,uQa,1,10,"mat-tab-body",6,Lj);M()}a&2&&(K("selectedIndex",b.selectedIndex||0)("disableRipple",b.disableRipple)("disablePagination",b.disablePagination),
Gj("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby),E(2),Nj(b._tabs),E(2),J(b._isServer?4:-1),E(),rk("_mat-animation-noopable",b._animationsDisabled()),E(2),Nj(b._tabs))},dependencies:[hM,gM,Gy,Tz,Ez,dM],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1;touch-action:manipulation}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mat-tab-container-height, 48px);font-family:var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-tab-active-indicator-height, 2px);border-radius:var(--mat-tab-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant))}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}\n'],
encapsulation:2});var XKc=function(){};var YKc=["tabListContainer"],ZKc=["tabList"],$Kc=["tabListInner"],aLc=["nextPaginator"],bLc=["previousPaginator"],cLc=["*"],lM=function(){var a=x(LKc,{optional:!0});cM.call(this);this._focusedItem=kk.apply(null,[null].concat(p([])));this._fitInkBarToContent=new $n(!1);this.stretchTabs=!0;this._disableRipple=kk.apply(null,[!1].concat(p([])));this.color="primary";this.disablePagination=a&&a.disablePagination!=null?a.disablePagination:!1;this.fitInkBarToContent=a&&a.fitInkBarToContent!=null?a.fitInkBarToContent:
!1;this.stretchTabs=a&&a.stretchTabs!=null?a.stretchTabs:!0};Y(lM,cM);lM.\u0275dir=cM.\u0275dir;lM.prototype._itemSelected=function(){};
lM.prototype.ngAfterContentInit=function(){var a=this;this._inkBar=new FKc(this._items);this._items.changes.pipe(rj(null),tj(this._destroyed)).subscribe(function(){return dLc(a)});cM.prototype.ngAfterContentInit.call(this);this._keyManager.change.pipe(rj(null),tj(this._destroyed)).subscribe(function(){var b;return a._focusedItem.set(((b=a._keyManager)==null?void 0:b.activeItem)||null)})};lM.prototype.ngAfterViewInit=function(){cM.prototype.ngAfterViewInit.call(this)};
var dLc=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.tabPanel&&(a.tabPanel._activeTabId=b[c].id);a._focusedItem.set(b[c]);a._changeDetectorRef.markForCheck();return}a.selectedIndex=-1}};lM.prototype._getRole=function(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")};lM.prototype._hasFocus=function(a){var b;return((b=this._keyManager)==null?void 0:b.activeItem)===a};
pg.Object.defineProperties(lM.prototype,{fitInkBarToContent:{configurable:!0,enumerable:!0,get:function(){return this._fitInkBarToContent.value},set:function(a){this._fitInkBarToContent.next(a);this._changeDetectorRef.markForCheck()}},animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){var b=a+"";this._animationDuration=/^\d+$/.test(b)?a+"ms":b}},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.set(a)}}});lM.\u0275fac=function(a){return new (a||lM)};
lM.\u0275cmp=F({type:lM,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(a,b,c){a&1&&fk(c,mM,5);if(a&2){var d;ik(d=jk())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(ek(YKc,7),ek(ZKc,7),ek($Kc,7),ek(aLc,5),ek(bLc,5));if(a&2){var c;ik(c=jk())&&(b._tabListContainer=c.first);ik(c=jk())&&(b._tabList=c.first);ik(c=jk())&&(b._tabListInner=c.first);ik(c=jk())&&(b._nextPaginator=c.first);ik(c=jk())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,
hostBindings:function(a,b){a&2&&(Hj("role",b._getRole()),qk("--mat-tab-animation-duration",b.animationDuration),rk("mat-mdc-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-mdc-tab-header-rtl",b._getLayoutDirection()=="rtl")("mat-mdc-tab-nav-bar-stretch-tabs",b.stretchTabs)("mat-primary",b.color!=="warn"&&b.color!=="accent")("mat-accent",b.color==="accent")("mat-warn",b.color==="warn")("_mat-animation-noopable",b._animationsDisabled))},inputs:{fitInkBarToContent:[2,"fitInkBarToContent",
"fitInkBarToContent",Tk],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",Tk],animationDuration:"animationDuration",backgroundColor:"backgroundColor",disableRipple:[2,"disableRipple","disableRipple",Tk],color:"color",tabPanel:"tabPanel"},exportAs:["matTabNavBar","matTabNav"],features:[xj],attrs:["mat-tab-nav-bar",""],ngContentSelectors:cLc,decls:13,vars:6,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination",
"mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-links"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(a,b){if(a&1){var c=y();Zj();L(0,"div",5,0);Q("click",function(){z(c);return B(b._handlePaginatorClick("before"))})("mousedown",
function(d){z(c);return B(b._handlePaginatorPress("before",d))})("touchend",function(){z(c);return B(b._stopInterval())});N(2,"div",6);M();L(3,"div",7,1);Q("keydown",function(d){z(c);return B(b._handleKeydown(d))});L(5,"div",8,2);Q("cdkObserveContent",function(){z(c);return B(b._onContentChanges())});L(7,"div",9,3);ak(9);M()()();L(10,"div",10,4);Q("mousedown",function(d){z(c);return B(b._handlePaginatorPress("after",d))})("click",function(){z(c);return B(b._handlePaginatorClick("after"))})("touchend",
function(){z(c);return B(b._stopInterval())});N(12,"div",6);M()}a&2&&(rk("mat-mdc-tab-header-pagination-disabled",b._disableScrollBefore),K("matRippleDisabled",b._disableScrollBefore||b.disableRipple),E(10),rk("mat-mdc-tab-header-pagination-disabled",b._disableScrollAfter),K("matRippleDisabled",b._disableScrollAfter||b.disableRipple))},dependencies:[Tz,Ty],styles:[".mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1;touch-action:manipulation}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-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;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-links,.mat-mdc-tab-links.cdk-drop-list{min-height:var(--mat-tab-container-height, 48px)}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-divider-height, 1px);border-bottom-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-foreground-color)}\n"],
encapsulation:2});
var mM=function(){bM.call(this);var a=this;this._tabNavBar=x(lM);this.elementRef=x(Ph);this._focusMonitor=x(Ey);this._destroyed=new oj;this._isActive=!1;this._tabIndex=Sk.apply(null,[function(){return a._tabNavBar._focusedItem()===a?a.tabIndex:-1}].concat(p([])));this.disabled=!1;this._disableRipple=kk.apply(null,[!1].concat(p([])));this.tabIndex=0;this.id=x(Wm).getId("mat-tab-link-");x(Um).load(Qz);var b=x(Sz,{optional:!0}),c=x(new ax("tabindex"),{optional:!0});this.rippleConfig=b||{};this.tabIndex=
c==null?0:parseInt(c)||0;hn()&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0});this._tabNavBar._fitInkBarToContent.pipe(tj(this._destroyed)).subscribe(function(d){a.fitInkBarToContent=d})};Y(mM,bM);mM.\u0275dir=bM.\u0275dir;g=mM.prototype;g.focus=function(){this.elementRef.nativeElement.focus()};g.ngAfterViewInit=function(){this._focusMonitor.monitor(this.elementRef)};g.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete();bM.prototype.ngOnDestroy.call(this);this._focusMonitor.stopMonitoring(this.elementRef)};
g._handleFocus=function(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)};g._handleKeydown=function(a){if(a.keyCode===32||a.keyCode===13)this.disabled?a.preventDefault():this._tabNavBar.tabPanel&&(a.keyCode===32&&a.preventDefault(),this.elementRef.nativeElement.click())};g._getAriaControls=function(){var a;return this._tabNavBar.tabPanel?(a=this._tabNavBar.tabPanel)==null?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")};
pg.Object.defineProperties(mM.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return this._isActive},set:function(a){a!==this._isActive&&(this._isActive=a,dLc(this._tabNavBar))}},disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple()},set:function(a){this._disableRipple.set(a)}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}});
mM.\u0275fac=function(a){return new (a||mM)};
mM.\u0275cmp=F({type:mM,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(a,b){a&1&&Q("focus",function(){return b._handleFocus()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Hj("aria-controls",b._getAriaControls())("aria-current",b._getAriaCurrent())("aria-disabled",b.disabled)("aria-selected",b._getAriaSelected())("id",b.id)("tabIndex",b._tabIndex())("role",b._getRole()),rk("mat-mdc-tab-disabled",
b.disabled)("mdc-tab--active",b.active))},inputs:{active:[2,"active","active",Tk],disabled:[2,"disabled","disabled",Tk],disableRipple:[2,"disableRipple","disableRipple",Tk],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:Uk(a)}],id:"id"},exportAs:["matTabLink"],features:[xj],attrs:["mat-tab-link",""],ngContentSelectors:cLc,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],
template:function(a,b){a&1&&(Zj(),N(0,"span",0)(1,"div",1),L(2,"span",2)(3,"span",3),ak(4),M()());a&2&&(E(),K("matRippleTrigger",b.elementRef.nativeElement)("matRippleDisabled",b.rippleDisabled))},dependencies:[Tz],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mat-tab-container-height, 48px);font-family:var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-tab-active-indicator-height, 2px);border-radius:var(--mat-tab-active-indicator-shape, 0)}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant))}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}\n'],
encapsulation:2,changeDetection:0});var eLc=function(){this.id=x(Wm).getId("mat-tab-nav-panel-")};eLc.\u0275fac=function(a){return new (a||eLc)};eLc.\u0275cmp=F({type:eLc,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(a,b){a&2&&Hj("aria-labelledby",b._activeTabId)("id",b.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:cLc,decls:1,vars:0,template:function(a){a&1&&(Zj(),ak(0))},encapsulation:2,changeDetection:0});var nM=function(){};nM.\u0275fac=function(a){return new (a||nM)};nM.\u0275mod=Zi({type:nM});nM.\u0275inj=Eg({imports:[kz]});var oM=function(a,b,c){this.options=a;this.changeDetectorRef=b;this.tabGroup=c;this.appearance=this.options.appearance};pg.Object.defineProperties(oM.prototype,{appearance:{configurable:!0,enumerable:!0,get:function(){return this.cachedAppearance},set:function(a){this.cachedAppearance!==a&&(this.cachedAppearance=a,this.tabGroup.fitInkBarToContent=a==="primary",this.changeDetectorRef.markForCheck())}}});oM.\u0275fac=function(a){return new (a||oM)(Ui(EKc),Ui(sx),Ui(kM))};
oM.\u0275dir=$i({type:oM,selectors:[["mat-tab-group"]],hostVars:4,hostBindings:function(a,b){a&2&&rk("gmat-mdc-tabs-primary",b.appearance==="primary")("gmat-mdc-tabs-secondary",b.appearance==="secondary")},inputs:{appearance:"appearance"},standalone:!1});var pM=function(a,b,c){this.options=a;this.changeDetectorRef=b;this.tabNav=c;if(this.options.disableGmatStyle)throw Error("Mb");this.appearance=this.options.appearance};
pg.Object.defineProperties(pM.prototype,{appearance:{configurable:!0,enumerable:!0,get:function(){return this.cachedAppearance},set:function(a){this.cachedAppearance!==a&&(this.cachedAppearance=a,this.tabNav.fitInkBarToContent=a==="primary",this.changeDetectorRef.markForCheck())}}});pM.\u0275fac=function(a){return new (a||pM)(Ui(EKc),Ui(sx),Ui(lM))};
pM.\u0275dir=$i({type:pM,selectors:[["","mat-tab-nav-bar",""]],hostVars:4,hostBindings:function(a,b){a&2&&rk("gmat-mdc-tabs-primary",b.appearance==="primary")("gmat-mdc-tabs-secondary",b.appearance==="secondary")},inputs:{appearance:"appearance"},standalone:!1});var qM=function(){};qM.\u0275fac=function(a){return new (a||qM)};qM.\u0275mod=Zi({type:qM});qM.\u0275inj=Eg({imports:[nM]});var rM=function(){};rM.\u0275fac=function(a){return new (a||rM)};rM.\u0275mod=Zi({type:rM});rM.\u0275inj=Eg({imports:[Wy,SL,aM,jC,Jz,QL,ZL,qM,FI,JL,vL,wL,uL]});var fLc=function(a,b){return[a,b]},gLc=[[["b-callout-body"]],[["b-callout-actions"]]],sM=function(){this.messageType="info";this.format="default"};sM.prototype.getIconName=function(){if(this.iconOverride!=null)return this.iconOverride;switch(this.messageType){case "caution":return"warning";case "success":return"success";case "error":return"alert";default:return"info"}};sM.\u0275fac=function(a){return new (a||sM)};
sM.\u0275cmp=F({type:sM,selectors:[["b-callout"]],hostVars:5,hostBindings:function(a,b){a&2&&sk(Ek(2,fLc,b.messageType,b.format).join(" "))},inputs:{messageType:"messageType",format:"format",iconOverride:"iconOverride"},standalone:!1,ngContentSelectors:["b-callout-body","b-callout-actions"],decls:6,vars:1,consts:[[1,"callout"],["role","alert",1,"content"],[3,"svgIcon"],[1,"actions"]],template:function(a,b){a&1&&(Zj(gLc),L(0,"div",0)(1,"div",1),N(2,"mat-icon",2),ak(3),M(),L(4,"div",3),ak(5,1),M()());
a&2&&(E(2),K("svgIcon",b.getIconName()))},dependencies:[EA],styles:["[_nghost-%COMP%]{display:block;border-radius:8px;color:#3c4043;color:var(--c800);padding:8px 4px}[_nghost-%COMP%]     .mat-mdc-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%]{display:flex;align-items:center;flex-grow:1}.actions[_ngcontent-%COMP%]{flex-grow:1}[_nghost-%COMP%]     b-callout-actions{display:flex;flex-wrap:nowrap;gap:4px;justify-content:flex-end}mat-icon[_ngcontent-%COMP%]{margin-left:4px;margin-right:8px}.callout[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:36px;flex-wrap:wrap}.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%]    .gmat-mdc-button.mat-mdc-button, .info[_nghost-%COMP%]    .mat-stroked-button, .info[_nghost-%COMP%]    .mat-mdc-outlined-button, .info[_nghost-%COMP%]    .mat-icon-button{color:#1a73e8;color:var(--link);--mat-button-text-state-layer-color: var(--link)}.info[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):hover, .info[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):focus{color:#1a73e8;color:var(--link)}.info[_nghost-%COMP%]    .mat-flat-button, .info[_nghost-%COMP%]    .mat-mdc-unelevated-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%]    .gmat-mdc-button.mat-mdc-button, .archived[_nghost-%COMP%]    .mat-stroked-button, .archived[_nghost-%COMP%]    .mat-mdc-outlined-button, .archived[_nghost-%COMP%]    .mat-icon-button, .caution[_nghost-%COMP%]    .mat-button, .caution[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button, .caution[_nghost-%COMP%]    .mat-stroked-button, .caution[_nghost-%COMP%]    .mat-mdc-outlined-button, .caution[_nghost-%COMP%]    .mat-icon-button{color:rgba(0,0,0,.7);color:var(--text-warn);--mat-button-text-state-layer-color: var(--text-warn)}.archived[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):hover, .archived[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):focus, .caution[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):hover, .caution[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):focus{color:rgba(0,0,0,.7);color:var(--text-warn)}.archived[_nghost-%COMP%]    .mat-flat-button, .archived[_nghost-%COMP%]    .mat-mdc-unelevated-button, .archived[_nghost-%COMP%]    .mat-raised-button, .caution[_nghost-%COMP%]    .mat-flat-button, .caution[_nghost-%COMP%]    .mat-mdc-unelevated-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:rgb(253.5,243.5,242.5);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%]    .gmat-mdc-button.mat-mdc-button, .error[_nghost-%COMP%]    .mat-stroked-button, .error[_nghost-%COMP%]    .mat-mdc-outlined-button, .error[_nghost-%COMP%]    .mat-icon-button{color:#c5221f;color:var(--bad-link);--mat-button-text-state-layer-color: var(--bad-link)}.error[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):hover, .error[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):focus{color:#c5221f;color:var(--bad-link)}.error[_nghost-%COMP%]    .mat-flat-button, .error[_nghost-%COMP%]    .mat-mdc-unelevated-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%]    .gmat-mdc-button.mat-mdc-button, .success[_nghost-%COMP%]    .mat-stroked-button, .success[_nghost-%COMP%]    .mat-mdc-outlined-button, .success[_nghost-%COMP%]    .mat-icon-button{color:#1e8e3e;color:var(--good-link);--mat-button-text-state-layer-color: var(--good-link)}.success[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):hover, .success[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):focus{color:#1e8e3e;color:var(--good-link)}.success[_nghost-%COMP%]    .mat-flat-button, .success[_nghost-%COMP%]    .mat-mdc-unelevated-button, .success[_nghost-%COMP%]    .mat-raised-button{background-color:#34a853;background-color:var(--good);color:#fff;color:var(--text-inverse)}/*# sourceMappingURL=callout.css.map */"]});
var tM=function(){};tM.\u0275fac=function(a){return new (a||tM)};tM.\u0275dir=$i({type:tM,selectors:[["b-callout-body"],["b-callout-actions"]],standalone:!1});var uM=function(){};uM.\u0275fac=function(a){return new (a||uM)};uM.\u0275mod=Zi({type:uM});uM.\u0275inj=Eg({imports:[jC]});var vM=function(){};vM.\u0275fac=function(a){return new (a||vM)};vM.\u0275mod=Zi({type:vM});vM.\u0275inj=Eg({imports:[jC]});var wM=function(){};wM.\u0275fac=function(a){return new (a||wM)};wM.\u0275mod=Zi({type:wM});wM.\u0275inj=Eg({imports:[Wz,rK,kz]});var xM=function(){};xM.\u0275fac=function(a){return new (a||xM)};xM.\u0275mod=Zi({type:xM});xM.\u0275inj=Eg({imports:[sK,kz]});var yM=function(){};yM.\u0275fac=function(a){return new (a||yM)};yM.\u0275mod=Zi({type:yM});yM.\u0275inj=Eg({imports:[QK,kz]});var zM=function(){};zM.\u0275fac=function(a){return new (a||zM)};zM.\u0275mod=Zi({type:zM});zM.\u0275inj=Eg({imports:[jC,uM,rM,FG,FI,HI,vM,nH,HL,wM,xM,yM,XF]});var hLc=new Set(["INACTIVE","NOT_REPRODUCIBLE","INFEASIBLE","OBSOLETE","INTENDED_BEHAVIOR"]),AM=function(){this.recommendation=void 0;this.isParentRowActive=!1;this.onClick=new iE};
AM.prototype.getText=function(a){if(!a)return"Suggestion";switch(a==null?void 0:a.type){case "COMPONENT_ROUTING":case "HOTLIST":return"Reroute";case "ISSUE_DEDUPLICATION":return"Dedupe";case "ANY_ISSUE_EDIT":var b=a.content;if(b&&b.issueModification){a=b.issueModification.addState;var c=b.issueModification.removeMask;b=new Set([].concat(p(b.issueModification.addMask),p(c)));a=(a==null?void 0:a.status)==="DUPLICATE"?"Dedupe":(a==null?0:a.status)&&hLc.has(a.status)?"Clean up":b.has("componentId")||
b.has("hotlists")||b.has("assignee")||b.has("ccs")?"Reroute":b.has("priority")||b.has("severity")?"Reprioritize":"Suggestion"}else a="Suggestion";return a;default:return"Suggestion"}};AM.prototype.handleClick=function(){this.onClick.emit()};AM.prototype.handleKeydown=function(a){if(a.key==="Enter"||a.key===" ")a.preventDefault(),a.stopPropagation(),this.onClick.emit()};AM.\u0275fac=function(a){return new (a||AM)};
AM.\u0275cmp=F({type:AM,selectors:[["recommendation-chip"]],inputs:{recommendation:"recommendation",isParentRowActive:"isParentRowActive"},outputs:{onClick:"onClick"},standalone:!1,decls:1,vars:1,consts:[["type","button",1,"recommendation-chip",3,"aria-label","hovered"],["type","button",1,"recommendation-chip",3,"click","keydown","aria-label"],["svgIcon","devai",1,"icon-s"],[1,"recommendation-text"]],template:function(a,b){a&1&&I(0,vQa,4,4,"button",0);a&2&&J(b.recommendation?0:-1)},dependencies:[EA],
styles:[".recommendation-chip[_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;padding:2px 8px;border-radius:16px;border:1px solid;border-color:#dadce0;border-color:var(--c300);color:#5f6368;color:var(--c700);font-size:.8125rem;font-weight:500;line-height:20px;white-space:nowrap;background-color:#fff}.recommendation-chip[_ngcontent-%COMP%]   .recommendation-text[_ngcontent-%COMP%]{display:none}.recommendation-chip.hovered[_ngcontent-%COMP%], .recommendation-chip[_ngcontent-%COMP%]:focus, .recommendation-chip[_ngcontent-%COMP%]:hover{cursor:pointer}.recommendation-chip.hovered[_ngcontent-%COMP%]   .recommendation-text[_ngcontent-%COMP%], .recommendation-chip[_ngcontent-%COMP%]:focus   .recommendation-text[_ngcontent-%COMP%], .recommendation-chip[_ngcontent-%COMP%]:hover   .recommendation-text[_ngcontent-%COMP%]{display:inline;padding-left:4px}"],
changeDetection:0});var BM=function(){};BM.\u0275fac=function(a){return new (a||BM)};BM.\u0275mod=Zi({type:BM});BM.\u0275inj=Eg({imports:[jC,iC]});var xQa=function(a,b){return b.key},CM=function(){this.phase=void 0;this.actions=[BCc,uCc,wCc,CCc,ACc];this.onSelect=new iE},zQa=function(a){var b=R();return b.phase==="NEW"&&a===BCc?[tCc]:b.phase==="CONFIRMED"&&a===uCc?[vCc]:b.phase==="IN_PROGRESS"&&a===wCc?[xCc,yCc,zCc]:[]};CM.\u0275fac=function(a){return new (a||CM)};
CM.\u0275cmp=F({type:CM,selectors:[["triage-action-selector"]],inputs:{phase:"phase"},outputs:{onSelect:"onSelect"},standalone:!1,decls:6,vars:1,consts:[["phaseSelector","matMenu"],["type","button","mat-button","",1,"gmat-button",3,"matMenuTriggerFor"],["type","button","mat-menu-item","",3,"click"],["type","button","mat-menu-item","",1,"subAction"],["type","button","mat-menu-item","",1,"subAction",3,"click"]],template:function(a,b){a&1&&(L(0,"button",1),U(1,"Change triage phase"),M(),L(2,"mat-menu",
null,0),Mj(4,AQa,4,3,null,null,xQa),M());a&2&&(a=T(3),K("matMenuTriggerFor",a),E(4),Nj(b.actions))},dependencies:[dA,aA,FL,mK,kK,pK],styles:["button.subAction[_ngcontent-%COMP%]{padding-left:32px}"],changeDetection:0});var iLc=["button"],DM=function(){this.color="primary";this.format="hairline";this.disabled=!1;this.size="medium";this.onAction=new iE};DM.prototype.onClick=function(a){this.onAction.emit(a)};DM.prototype.focus=function(){this.nativeButton.focus()};DM.\u0275fac=function(a){return new (a||DM)};
DM.\u0275cmp=F({type:DM,selectors:[["b-button"]],viewQuery:function(a,b){a&1&&ek(iLc,5);if(a&2){var c;ik(c=jk())&&(b.nativeButton=c.first)}},inputs:{color:"color",format:"format",disabled:"disabled",size:"size",bAriaLabel:"bAriaLabel",bAriaExpanded:"bAriaExpanded",tooltip:"tooltip"},outputs:{onAction:"onAction"},standalone:!1,ngContentSelectors:["*"],decls:7,vars:1,consts:[["buttonContent",""],["button",""],["type","button","mat-stroked-button","",3,"color","disabled","class","matTooltip"],["type",
"button","mat-button","",3,"color","disabled","class","matTooltip"],["type","button","mat-flat-button","",3,"color","disabled","class","matTooltip"],["type","button","mat-icon-button","",3,"color","disabled","class","matTooltip"],["type","button","mat-stroked-button","",3,"click","color","disabled","matTooltip"],[4,"ngTemplateOutlet"],["type","button","mat-button","",3,"click","color","disabled","matTooltip"],["type","button","mat-flat-button","",3,"click","color","disabled","matTooltip"],["type",
"button","mat-icon-button","",3,"click","color","disabled","matTooltip"]],template:function(a,b){a&1&&(Zj(),G(0,BQa,1,0,"ng-template",null,0,Gk),I(2,DQa,3,8,"button",2)(3,FQa,3,8,"button",3)(4,HQa,3,8,"button",4)(5,JQa,3,8,"button",5)(6,LQa,3,8,"button",2));if(a&2){var c;E(2);J((c=b.format)==="hairline"?2:c==="flat"?3:c==="fill"?4:c==="icon"?5:6)}},dependencies:[dA,aA,bA,YF,WF,oy],encapsulation:2,changeDetection:0});var EM=function(){};EM.\u0275fac=function(a){return new (a||EM)};EM.\u0275mod=Zi({type:EM});EM.\u0275inj=Eg({imports:[FI,JL,jC]});var jLc=new kh("GM2_SLIDE_TOGGLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var FM=function(a){this.options=a;if(a.disableGmatStyle)throw Error("Mb");};FM.\u0275fac=function(a){return new (a||FM)(Ui(jLc))};FM.\u0275dir=$i({type:FM,selectors:[["mat-slide-toggle"]],hostAttrs:[1,"gmat-mdc-slide-toggle"],standalone:!1});var GM=function(){};GM.\u0275fac=function(a){return new (a||GM)};GM.\u0275mod=Zi({type:GM});GM.\u0275inj=Eg({providers:[{provide:rJc,useValue:{color:"primary"}}],imports:[xM]});var kLc=0,HM=function(){this.id="b-slide-toggle-"+ ++kLc;this.ariaLabel=this.label="";this.labelPosition="before";this.model=!1;this.tooltip=void 0;this.disabled=!1;this.modelChange=new iE};HM.\u0275fac=function(a){return new (a||HM)};
HM.\u0275cmp=F({type:HM,selectors:[["b-slide-toggle"]],hostAttrs:[1,"vertical-centered"],inputs:{id:"id",label:"label",ariaLabel:[0,"aria-label","ariaLabel"],labelPosition:"labelPosition",model:"model",tooltip:"tooltip",disabled:"disabled"},outputs:{modelChange:"modelChange"},standalone:!1,decls:2,vars:7,consts:[[3,"change","id","disabled","checked","aria-label","matTooltip","labelPosition"]],template:function(a,b){a&1&&(L(0,"mat-slide-toggle",0),Q("change",function(d){b.model=d.checked;b.modelChange.emit(d.checked)}),
U(1),M());if(a&2){K("id",b.id)("disabled",b.disabled)("checked",b.model);Gj("aria-label",b.ariaLabel||b.label);var c;K("matTooltip",(c=b.tooltip)!=null?c:"")("labelPosition",b.label?b.labelPosition:"after");E();tk(b.label)}},dependencies:[FM,sK,YF,WF],styles:["mat-slide-toggle[_ngcontent-%COMP%] { vertical-align: middle; }"],changeDetection:0});var IM=function(){};IM.\u0275fac=function(a){return new (a||IM)};IM.\u0275mod=Zi({type:IM});IM.\u0275inj=Eg({imports:[GM,JL]});var JM=function(){this.refreshMonitor=x(JD);this.coinonly=null};JM.\u0275fac=function(a){return new (a||JM)};JM.\u0275cmp=F({type:JM,selectors:[["b-availability-chip"]],inputs:{user:"user",coinonly:"coinonly"},standalone:!1,decls:1,vars:1,consts:[[3,"refreshable"],[3,"user"]],template:function(a,b){a&1&&G(0,NQa,1,1,"ng-template",0);a&2&&K("refreshable",b.refreshMonitor.getObservable())},dependencies:[rJ,ML],styles:["waldo-availability-chip[_ngcontent-%COMP%] { margin-left: 5px; }"],changeDetection:0});var KM=function(){};KM.\u0275fac=function(a){return new (a||KM)};KM.\u0275mod=Zi({type:KM});KM.\u0275inj=Eg({imports:[sJ,jC,QL]});var lLc=["spanElement"],LM=function(){this.modelValue="";this.maxWidth=0;this.disabled=!1;this.displayString=""};LM.prototype.ngOnChanges=function(a){if(a.modelValue||a.disabled)this.displayString=this.modelValue||""};LM.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)+"...")};
LM.prototype.getTooltip=function(){return this.displayString!==this.modelValue?this.modelValue:""};LM.\u0275fac=function(a){return new (a||LM)};
LM.\u0275cmp=F({type:LM,selectors:[["b-truncated-span"]],viewQuery:function(a,b){a&1&&ek(lLc,5);if(a&2){var c;ik(c=jk())&&(b.spanElement=c.first)}},inputs:{modelValue:"modelValue",maxWidth:"maxWidth",disabled:"disabled"},standalone:!1,features:[$w],decls:2,vars:2,consts:[["spanElement",""],[3,"matTooltip","innerHtml"]],template:function(a,b){a&1&&N(0,"span",1,0);a&2&&K("matTooltip",b.getTooltip())("innerHtml",b.displayString,Mi)},dependencies:[YF,WF],encapsulation:2});var MM=function(){};MM.\u0275fac=function(a){return new (a||MM)};MM.\u0275mod=Zi({type:MM});MM.\u0275inj=Eg({imports:[jC,JL]});var NM=function(){};NM.prototype.transform=function(a){if(Rf(a))return a};NM.\u0275fac=function(a){return new (a||NM)};NM.\u0275pipe=aj({name:"omitObfuscatedEmail",type:NM,pure:!0,standalone:!1});var mLc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(mLc,n);mLc.prototype.getDisplayName=function(){return Oc(this,1)};mLc.prototype.setDisplayName=function(a){return lf(this,1,a)};mLc.prototype.getPhotoUrl=function(){return Oc(this,2)};var nLc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,nLc.messageId)};Y(nLc,n);nLc.messageId="b.UserProfileBatchResponse";var PM=function(){var a=this;this.userProfilesBatchApiConfig=x(OM);this.batchApiAdapter=x(sB);this.batchAdaptedGet=this.batchApiAdapter.adapt(this.userProfilesBatchApiConfig);this.memoizingUserProfileMap=new Fyc(function(b){return a.batchAdaptedGet(b)},100)};PM.prototype.get=function(a){return this.memoizingUserProfileMap.get(a)};PM.\u0275fac=function(a){return new (a||PM)};PM.\u0275prov=Dg({token:PM,factory:PM.\u0275fac,providedIn:"root"});var OM=function(){this.executor=x(ey)};
OM.prototype.call=function(a){return this.executor.get({url:"action/user_profiles",options:{params:{usernames:[].concat(p(a)).join(",")}},responseConstructor:nLc}).pipe(cj(function(){return li(new nLc)}))};OM.prototype.split=function(a,b){return(a=sc(b,1,mLc,Vb,Kc).get(a))?{photoUrl:a.getPhotoUrl(),highResolutionPhotoUrl:Oc(a,3),displayName:a.getDisplayName()}:void 0};OM.\u0275fac=function(a){return new (a||OM)};OM.\u0275prov=Dg({token:OM,factory:OM.\u0275fac,providedIn:"root"});var aRa={"alertmanager-buganizer-handler@prod.google.com":"https://g3doc.corp.google.com/production/borg/alertmanager/g3doc/templates/AlertManager-darkred.png","android-ftslo-regression-actuator@prod.google.com":"https://g3doc.corp.google.com/company/teams/dx-velocity/images/atn_favicon.png","apphosting-stubby-api--s-7egoogle-2ecom-3agitwatcher@prod.google.com":"https://gstatic.com/buganizer/img/v2/gerrit_logo.svg","blunderbuss-prod@prod.google.com":"https://moma.corp.google.com/team_logos/f5955dadc5abc82300946ee12bf0b610",
"boq-android-culprit-assistant@prod.google.com":"https://g3doc.corp.google.com/wireless/android/engprod/culpritassistant/g3doc/images/aca_logo.png?cl=head","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",
"dx-workflow-gitwatcher@prod.google.com":"https://gstatic.com/buganizer/img/v2/gerrit_logo.svg","gado-bug-service@prod.google.com":"https://g3doc.corp.google.com/hardware/gchips/productivity/g3doc/koala/images/buganizer_profile_picture.png","koalassistant@prod.google.com":"https://g3doc.corp.google.com/platforms/networking/orion/octave/g3doc/images/koalassistant.png?cl=head","mendel-toolbox@google.com":"https://g3doc.corp.google.com/experiments/mendel/g3doc/logo_mendel_bkg-green_32px.svg?cl=head",
"modem-explorer-jobs@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","modem-tools-bug-workbench@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","octave-services-koalassistant@prod.google.com":"https://g3doc.corp.google.com/platforms/networking/orion/octave/g3doc/images/koalassistant.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",
"pixel-camera-astro-robo-michael@prod.google.com":"https://g3doc.corp.google.com/company/teams/pixel-camera-astro/images/robo-michael.jpg?cl=head","pixel-modem-alcedo-issue-sync-server-dev-jobs@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","pixel-modem-alcedo-issue-sync-server@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","pixel-modem-tools-bug-traffic-control@prod.google.com":"https://static.corp.google.com/sdlc_riemann/riemann_logo.svg",
"pixel-modem-tools-issue-classifier-be@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","pixel-modem-tools-ltp-be@prod.google.com":"https://static.corp.google.com/modem-tools/ltp/logo.svg","pmw-data-prod-jobs@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","prefilter-fetcher-jobs-dev@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","pte-pqm-bugbot-dev-jobs@prod.google.com":"https://g3doc.corp.google.com/wireless/android/pixel/testing/bugbot/g3doc/bugbot_logo.png?cl=head",
"pte-pqm-bugbot@prod.google.com":"https://g3doc.corp.google.com/wireless/android/pixel/testing/bugbot/g3doc/bugbot_logo.png?cl=head","spur-workflows@prod.google.com":"https://g3doc.corp.google.com/security/spur/g3doc/spur_logo.jpg?cl=head","support-bugs-automation-jobs@prod.google.com":"https://g3doc.corp.google.com/enterprise/support/cloud/support_bugs_automation/g3doc/img/sba_logo_new.png?cl=head"},oLc={"android-ftslo-regression-actuator@prod.google.com":"Android Test Notifier","apphosting-stubby-api--s-7egoogle-2ecom-3agitwatcher@prod.google.com":"GitWatcher",
"boq-android-culprit-assistant@prod.google.com":"Culprit Assistant","bug-agent-ads-dqm-alert-handler@system.gserviceaccount.com":"Ads DQM Alert Handler Agent","bug-agent-ai-summary@system.gserviceaccount.com":"AI Summary Agent","bug-agent-anabase@system.gserviceaccount.com":"BAP Anabase Agent","bug-agent-anr-agent@system.gserviceaccount.com":"ANR Agent","bug-agent-baseline-validation@system.gserviceaccount.com":"Baseline Validation Agent","bug-agent-bugwise@system.gserviceaccount.com":"Bugwise Agent",
"bug-agent-chrome-moderation@system.gserviceaccount.com":"Chrome Moderation Agent","bug-agent-culprit-assistant@system.gserviceaccount.com":"Culprit Assistant Agent","bug-agent-fatal-exception-agent@system.gserviceaccount.com":"Fatal Exception Agent","bug-agent-geminet@system.gserviceaccount.com":"Packet Capture Agent","bug-agent-launcher-assigner@system.gserviceaccount.com":"Assigner Agent","bug-agent-native-crash-agent@system.gserviceaccount.com":"Native Crash Agent","bug-agent-ooo-reassignment-agent@system.gserviceaccount.com":"OOO Reassignment Agent",
"bug-agent-playbooks@system.gserviceaccount.com":"Playbooks Agent","bug-agent-primes-bug-enrichment@system.gserviceaccount.com":"Primes Bug Enrichment Agent","bug-agent-sample-module@system.gserviceaccount.com":"Sample Module Agent","bug-agent-slo@system.gserviceaccount.com":"SLO Agent","bug-agent-watchdog-agent@system.gserviceaccount.com":"Watchdog Agent","bug-agent-zombie-auto-triage@system.gserviceaccount.com":"Zombie Auto Triage Agent","bugcorder@prod.google.com":"Bug Agent Platform","dx-workflow-gitwatcher@prod.google.com":"GitWatcher",
"gado-bug-service@prod.google.com":"Gado Bug Service","pixel-modem-tools-bug-traffic-control@prod.google.com":"Riemann Bug Traffic Control\ud83d\udea6","pmw-data-prod-jobs@prod.google.com":"Riemann Bug Bot","support-bugs-automation-jobs@prod.google.com":"Support Bugs Automation"};var pLc=new kh("overrideDisplayMap",{factory:function(){return oLc}}),QM=function(){var a=this;this.session=x(Ks);this.userProfiles=x(PM);this.overrideDisplayMap=x(pLc);this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1;this.user$=new nj(1);this.showEmail$=new $n(!1);this.isNonObfuscatedEmail=Rf;this.userProfile$=this.user$.pipe(sj(function(b){return a.userProfiles.get(Jd(b))})).pipe(rj(void 0));this.content$=si([this.user$,this.userProfile$,this.showEmail$]).pipe(C(function(b){var c=
l(b);b=c.next().value;var d=c.next().value;c=c.next().value;var e=Jd(b),f=a.overrideDisplayMap[Jd(b)];b=f?f:(d==null?void 0:d.displayName)||Gd(b);return c&&e!==b?e+" ("+b+")":b}));this.vars$=si([this.user$,this.content$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return{user:b,email:Jd(b),content:c}}));this.enableWaldoAvailability=Cx(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};
pg.Object.defineProperties(QM.prototype,{user:{configurable:!0,enumerable:!0,set:function(a){this.user$.next(a)}},showEmail:{configurable:!0,enumerable:!0,set:function(a){this.showEmail$.next(a)}}});QM.\u0275fac=function(a){return new (a||QM)};
QM.\u0275cmp=F({type:QM,selectors:[["b-user-display-name"]],inputs:{user:"user",showEmail:"showEmail",availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled"},standalone:!1,decls:2,vars:3,consts:[["displayName",""],["card",""],["coinonly","",3,"user"],["role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"]],template:function(a,b){a&1&&(I(0,UQa,4,1),W(1,"async"));if(a&2){var c;J((c=
X(1,1,b.vars$))?0:-1,c)}},dependencies:[oy,JM,TJ,xH,DH,py],encapsulation:2,changeDetection:0});var RM=function(){this.model={};this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1};RM.prototype.getDisplayString=function(){return Gd(this.model)};RM.prototype.getEmailAddress=function(){return Jd(this.model)||""};RM.\u0275fac=function(a){return new (a||RM)};
RM.\u0275cmp=F({type:RM,selectors:[["b-user-display"]],inputs:{model:"model",availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled"},standalone:!1,decls:3,vars:1,consts:[[3,"user","hovercardEnabled","availabilityChipEnabled","hovercardFocusEnabled"]],template:function(a,b){a&1&&(Sj(0),I(1,VQa,1,4,"b-user-display-name",0)(2,WQa,2,1,"span"),Tj());a&2&&(E(),J(Wea(b.model)&&b.getEmailAddress()&&b.model?1:2))},dependencies:[QM],
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 SM=function(){var a=this;this.userProfiles=x(PM);this.activeSession=x(Ks);this.teamMembershipService=x(NH);this.email$=new nj(1);this.isNonObfuscatedEmail=Rf;this.teamId$=new $n(void 0);this.userProfile$=this.email$.pipe(sj(function(b){return b?a.userProfiles.get(b).pipe(rj(void 0)):li(void 0)}));this.vars$=si([this.email$,this.userProfile$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;if(!c)return{email:b,showImage:!1,src:void 0,srcset:void 0};var d=!c.photoUrl,e=d?void 0:
c.photoUrl,f;d?f=void 0:f=c.highResolutionPhotoUrl?c.highResolutionPhotoUrl+" 2x":c.photoUrl+" 1x";return{email:b,showImage:!d,src:e,srcset:f}}));this.isTeamMember$=si([this.teamId$,this.email$]).pipe(sj(function(b){var c=l(b);b=c.next().value;c=c.next().value;return kCc(a.teamMembershipService,b,c)}),rj(!1),cj(function(){return li(!1)}))},eRa=function(a,b){return!b||a.activeSession.isExternalSession()?!1:aRa[b]!==void 0};
pg.Object.defineProperties(SM.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){Rf(a)?this.email$.next(a):this.email$.next(void 0)}},teamId:{configurable:!0,enumerable:!0,set:function(a){this.teamId$.next(a!=null?a:void 0)}},tiny:{configurable:!0,enumerable:!0,get:function(){return this.size==="tiny"}},small:{configurable:!0,enumerable:!0,get:function(){return this.size==="small"}},medium:{configurable:!0,enumerable:!0,get:function(){return this.size==="medium"}},hasTeam:{configurable:!0,
enumerable:!0,get:function(){return!!this.teamId$.value}}});SM.\u0275fac=function(a){return new (a||SM)};
SM.\u0275cmp=F({type:SM,selectors:[["b-user-image"]],hostVars:8,hostBindings:function(a,b){a&2&&rk("tiny",b.tiny)("small",b.small)("medium",b.medium)("hasTeam",b.hasTeam)},inputs:{email:"email",size:"size",teamId:"teamId"},standalone:!1,decls:2,vars:3,consts:[["imageDisplay",""],["card",""],["role","img","aria-label","user avatar",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],["alt","",1,"user-avatar","material","robo-avatar",3,"src"],[1,"user-avatar","material",3,"team-member","anonymous"],
[1,"user-avatar","material"],["alt","",3,"src","srcset"]],template:function(a,b){a&1&&(I(0,gRa,4,1),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.vars$))?0:-1,c)}},dependencies:[oy,TJ,xH,DH,py],styles:['.material.user-avatar.anonymous[_ngcontent-%COMP%]{border:1px solid;border-color:#bdc1c6;border-color:var(--c400);border-radius:50%;background-image:url("https://www.gstatic.com/buganizer/img/v0/logo_avatar_anonymous.svg");background-repeat:no-repeat;background-position:center;background-size:cover}img[_ngcontent-%COMP%]{border-radius:50%;vertical-align:middle}.material.user-avatar.robo-avatar[_ngcontent-%COMP%]{border-radius:0;object-fit:contain}[_nghost-%COMP%]{display:inline-flex;vertical-align:middle;align-items:center}.tiny[_nghost-%COMP%]   img[_ngcontent-%COMP%]{width:12px;max-height:12px}.tiny[_nghost-%COMP%]   .user-avatar.anonymous[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;width:12px;height:12px;border:none;box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}.tiny.hasTeam[_nghost-%COMP%]{text-align:center}.tiny.hasTeam[_nghost-%COMP%]   span[_ngcontent-%COMP%]{width:16px}.tiny.hasTeam[_nghost-%COMP%]   .team-member[_ngcontent-%COMP%]{border:2px solid var(--team-member-gfx);box-sizing:border-box;border-radius:50%;display:block}.tiny.hasTeam[_nghost-%COMP%]   .team-member[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border:2px solid rgba(0,0,0,0);box-sizing:border-box}.small[_nghost-%COMP%]   img[_ngcontent-%COMP%]{max-width:18px;max-height:18px}.small[_nghost-%COMP%]   .user-avatar.anonymous[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;width:18px;height:18px;border:none;box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}.small.hasTeam[_nghost-%COMP%]{text-align:center}.small.hasTeam[_nghost-%COMP%]   span[_ngcontent-%COMP%]{width:22px}.small.hasTeam[_nghost-%COMP%]   .team-member[_ngcontent-%COMP%]{border:2px solid var(--team-member-gfx);box-sizing:border-box;border-radius:50%;display:block}.small.hasTeam[_nghost-%COMP%]   .team-member[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border:2px solid rgba(0,0,0,0);box-sizing:border-box}.medium[_nghost-%COMP%]   img[_ngcontent-%COMP%]{max-width:24px;max-height:24px}.medium[_nghost-%COMP%]   .user-avatar.anonymous[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;width:24px;height:24px;border:none;box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}.medium.hasTeam[_nghost-%COMP%]{text-align:center}.medium.hasTeam[_nghost-%COMP%]   span[_ngcontent-%COMP%]{width:28px}.medium.hasTeam[_nghost-%COMP%]   .team-member[_ngcontent-%COMP%]{border:2px solid var(--team-member-gfx);box-sizing:border-box;border-radius:50%;display:block}.medium.hasTeam[_nghost-%COMP%]   .team-member[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border:2px solid rgba(0,0,0,0);box-sizing:border-box}'],
changeDetection:0});var qLc=function(){this.transform=hRa};qLc.\u0275fac=function(a){return new (a||qLc)};qLc.\u0275pipe=aj({name:"toNewEmailPreference",type:qLc,pure:!0,standalone:!1});var UM=function(){this.transform=iRa};UM.\u0275fac=function(a){return new (a||UM)};UM.\u0275pipe=aj({name:"enumToHuman",type:UM,pure:!0,standalone:!1});var VM=function(){this.transform=jRa};VM.\u0275fac=function(a){return new (a||VM)};VM.\u0275pipe=aj({name:"arrayToHuman",type:VM,pure:!0,standalone:!1});var WM=function(){};
WM.prototype.transform=function(a,b){return id(kRa(a,b)).toString()};WM.\u0275fac=function(a){return new (a||WM)};WM.\u0275pipe=aj({name:"boldPrefixMatches",type:WM,pure:!0,standalone:!1});var XM=function(){this.transform=lRa};XM.\u0275fac=function(a){return new (a||XM)};XM.\u0275pipe=aj({name:"yesNo",type:XM,pure:!0,standalone:!1});var rLc=function(){this.transform=mRa};rLc.\u0275fac=function(a){return new (a||rLc)};rLc.\u0275pipe=aj({name:"teamPath",type:rLc,pure:!0,standalone:!1});
var sLc=function(){this.transform=nRa};sLc.\u0275fac=function(a){return new (a||sLc)};sLc.\u0275pipe=aj({name:"humanFileSize",type:sLc,pure:!0,standalone:!1});var tLc=function(){this.transform=pRa};tLc.\u0275fac=function(a){return new (a||tLc)};tLc.\u0275pipe=aj({name:"omitObfuscatedEmail",type:tLc,pure:!0,standalone:!1});var uLc=function(){this.transform=qRa};uLc.\u0275fac=function(a){return new (a||uLc)};uLc.\u0275pipe=aj({name:"toString",type:uLc,pure:!0,standalone:!1});
var vLc=function(){this.transform=rRa};vLc.\u0275fac=function(a){return new (a||vLc)};vLc.\u0275pipe=aj({name:"csv",type:vLc,pure:!0,standalone:!1});var YM=function(){};YM.prototype.transform=function(a,b,c){a=b.indexOf(a);if(a<0)return!0;c=a+c;return!(c>=0&&c<b.length)};YM.\u0275fac=function(a){return new (a||YM)};YM.\u0275pipe=aj({name:"isOutOfBounds",type:YM,pure:!0,standalone:!1});var ZM=function(){};ZM.prototype.transform=function(a){return Kd(a)};ZM.\u0275fac=function(a){return new (a||ZM)};
ZM.\u0275pipe=aj({name:"emailToUser",type:ZM,pure:!0,standalone:!1});var $M=function(){};$M.\u0275fac=function(a){return new (a||$M)};$M.\u0275mod=Zi({type:$M});$M.\u0275inj=Eg({});var aN=function(){this.session=x(Ks);this.isNonObfuscatedEmail=Rf;this.getEmailDisplayString=zRa;this.email="";this.withProfile=!0;this.enableWaldoAvailability=Cx(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};aN.\u0275fac=function(a){return new (a||aN)};
aN.\u0275cmp=F({type:aN,selectors:[["b-user-email"]],inputs:{email:"email",withProfile:"withProfile",ldapOnly:"ldapOnly"},standalone:!1,decls:7,vars:3,consts:[["emailDisplay",""],["card",""],[1,"bv2-email-with-profile-container"],[1,"bv2-email-with-profile-avatar",3,"email"],[1,"bv2-email-with-profile-waldo"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],["coinonly","",3,"user"]],template:function(a,b){a&1&&(L(0,"span",2),I(1,sRa,1,1,"b-user-image",3),I(2,uRa,5,3)(3,
wRa,1,1,"ng-container"),G(4,xRa,2,1,"ng-template",null,0,Gk),I(6,yRa,3,3,"span",4),M());a&2&&(E(),J(b.withProfile?1:-1),E(),J(b.isNonObfuscatedEmail(b.email)?2:3),E(4),J(b.enableWaldoAvailability?6:-1))},dependencies:[oy,JM,TJ,xH,DH,SM,ZM],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 bN=function(){Z.apply(this,arguments);var a=this;this.teamsService=x(kF);this.session=x(Ks);this.principalTypesFridge=x($E);this.teamId="";this.enableGroupIcon=this.enableSmallChip=!1;this.providedTeamId$=new nj(1);this.providedUser$=new nj(1);this.providedEmail$=new nj(1);this.isNonObfuscatedEmail=Rf;this.userToDisplayString=Gd;this.isGroup$=this.providedEmail$.pipe(sj(function(b){return a.principalTypesFridge.watch(b)}),Di(fe),C(function(b){return b.principalType==="GROUP"}));this.fetchedTeam$=
this.providedTeamId$.pipe(sj(function(b){return lF(a.teamsService,b)}));this.detailedUserType$=this.providedUser$.pipe(C(function(b){b=b?b.aliases||[]:[];return b.includes("googlers_unrestricted")?"UNRESTRICTED_GOOGLER":b.includes("google_domain")?"TVC":b.includes("issue_creation_only_accounts")?"ISSUE_CREATION_ONLY":b.includes("external_partners")?"EXTERNAL":b.includes("public_non_google")?"PUBLIC":"NO_DETAILED_TYPE"}),rj("NO_DETAILED_TYPE"));this.isTeamMember$=si([this.providedTeamId$,this.providedEmail$]).pipe(sj(function(b){var c=
l(b);b=c.next().value;c=c.next().value;return Syc(a.teamsService,b,c)}),rj(!1),cj(function(){return li(!1)}));this.teamUser$=this.fetchedTeam$.pipe(C(function(b){return"Member of "+b.name}));this.groupMembershipType$=si([this.detailedUserType$,this.isTeamMember$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b==="PUBLIC"?"PUBLIC_USER":b==="EXTERNAL"?"PARTNER_USER":c?"INTERNAL_TEAM_MEMBER":"INTERNAL_NON_TEAM_MEMBER"}));this.enableWaldoAvailability=Cx(this.session,"enableWaldoAvailability")&&
this.session.isInternalSession();this.userTypeClass$=this.groupMembershipType$.pipe(C(function(b){return a.enableSmallChip?"user-chip-small":b&&b!=="INTERNAL_NON_TEAM_MEMBER"?"user-chip":"user-chip-without-icon"}));this.userChipType$=this.groupMembershipType$.pipe(C(function(b){if(b&&b!=="INTERNAL_NON_TEAM_MEMBER"){if(b==="INTERNAL_TEAM_MEMBER")return"team-member-chip";if(b==="PARTNER_USER")return"partner-chip";if(b==="PUBLIC_USER")return"public-chip"}else return"internal-non-team-member-chip";return""}));
this.shouldShowIcon$=this.groupMembershipType$.pipe(C(function(b){return b&&b!=="INTERNAL_NON_TEAM_MEMBER"}));this.iconName$=this.groupMembershipType$.pipe(C(function(b){if(b&&b!=="INTERNAL_NON_TEAM_MEMBER"){if(b==="INTERNAL_TEAM_MEMBER")return"people-outline";if(b==="PARTNER_USER")return"enterprise";if(b==="PUBLIC_USER")return"public"}return""}));this.iconToolTip$=this.groupMembershipType$.pipe(vj(this.teamUser$),C(function(b){var c=l(b);b=c.next().value;c=c.next().value;if(b&&b!=="INTERNAL_NON_TEAM_MEMBER"){if(b===
"INTERNAL_TEAM_MEMBER")return c;if(b==="PARTNER_USER")return"Partner user";if(b==="PUBLIC_USER")return"Public user"}return""}))};Y(bN,Z);bN.\u0275dir=Z.\u0275dir;bN.prototype.ngOnInit=function(){};bN.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)};bN.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(bN)))(b||bN)}}();
bN.\u0275cmp=F({type:bN,selectors:[["b-user-membership-chip"]],inputs:{user:"user",email:"email",teamId:"teamId",enableSmallChip:"enableSmallChip",enableGroupIcon:"enableGroupIcon"},standalone:!1,features:[xj,$w],decls:10,vars:14,consts:[["emailDisplay",""],["card",""],[3,"user","hovercardFocusEnabled","availabilityChipEnabled"],[3,"svgIcon","matTooltip"],["coinonly","",3,"user"],["name","group_24px","size","small"],["size","tiny",3,"email"],["tabindex","0","role","button",1,"keep-focus-ring","overflow-hidden",
"overflow-ellipsis",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],[1,"user-chip-name"]],template:function(a,b){a&1&&(L(0,"span"),W(1,"async"),L(2,"span"),W(3,"async"),I(4,CRa,3,3),I(5,DRa,2,5,"b-user-display-name",2)(6,LRa,4,1),I(7,MRa,3,6,"mat-icon",3),W(8,"async"),M()(),I(9,NRa,1,1,"b-availability-chip",4));if(a&2){var c;sk((c=X(1,8,b.userTypeClass$))!=null?c:"");E(2);var d;sk((d=X(3,10,b.userChipType$))!=null?d:"");E(2);J(b.enableSmallChip?4:-1);E();J(b.enableSmallChip?6:5);E(2);
J(X(8,12,b.shouldShowIcon$)?7:-1);E(2);J(b.enableWaldoAvailability&&!b.enableSmallChip?9:-1)}},dependencies:[oy,EA,JM,jK,YF,WF,TJ,xH,DH,SM,QM,py,ZM],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;line-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%]     b-icon{width:12px}[_nghost-%COMP%]     b-icon mat-icon{width:inherit}[_nghost-%COMP%]     b-icon mat-icon svg{width:12px;height:16px}"],
changeDetection:0});var cN=function(){};cN.\u0275fac=function(a){return new (a||cN)};cN.\u0275mod=Zi({type:cN});cN.\u0275inj=Eg({imports:[jC,KM,vM,JL,vL,wL,uL,$M]});var wLc=function(a,b,c,d){Ly.call(this,a,b,c,d,!0);var e=this;this.escapeSubject$=new oj;this.startAnchorListener=function(){e.escapeSubject$.next(0);return!0};this.endAnchorListener=function(){e.escapeSubject$.next(1);return!0};Ky(this)};Y(wLc,Ly);var dN=function(){this.checker=x(Hy);this.ngZone=x(Kk);this.document=x(Mm)};dN.prototype.create=function(a){return new wLc(a,this.checker,this.ngZone,this.document)};dN.\u0275fac=function(a){return new (a||dN)};
dN.\u0275prov=Dg({token:dN,factory:dN.\u0275fac,providedIn:"root"});var eN=function(){this._inset=this._vertical=!1};pg.Object.defineProperties(eN.prototype,{vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=um(a)}},inset:{configurable:!0,enumerable:!0,get:function(){return this._inset},set:function(a){this._inset=um(a)}}});eN.\u0275fac=function(a){return new (a||eN)};
eN.\u0275cmp=F({type:eN,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,b){a&2&&(Hj("aria-orientation",b.vertical?"vertical":"horizontal"),rk("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-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline-variant));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline-variant));border-right-width:var(--mat-divider-width, 1px)}.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 xLc=["content"],fN=function(){Z.apply(this,arguments);this.focusEscapeNotifierFactory=x(dN);this.trapFocus=this.required=!1;this.renderPanel=this.noneButtonEnabled=this.todayButtonEnabled=!0;this.includeTimePicker=!1;this.dateChange=new iE;this.dateTimeChange=new iE;this.cancelClicked=new iE;this.saveClicked=new iE;this.dateSelectionChange=new iE;this.focusEscaped=new iE;this.timeFormControl=new nG("",zp)};Y(fN,Z);fN.\u0275dir=Z.\u0275dir;
fN.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){TRa(a)});this.focusEscapeNotifier=this.focusEscapeNotifierFactory.create(this.content.nativeElement);this.focusEscapeNotifier.escapeSubject$.pipe(tj(this.destroyed$)).subscribe(function(b){if(a.trapFocus)if(b===0){var c;(c=a.focusEscapeNotifier)==null||goc(c)}else{var d;(d=a.focusEscapeNotifier)==null||Jy(d)}else a.focusEscaped.emit(b)});SRa(this,this.dateTime)};
var RRa=function(a,b){a.date=b;a.dateTime=FEa(b,a.timeFormControl.value);a.dateSelectionChange.emit(b)};fN.prototype.saveChanges=function(){this.includeTimePicker&&(this.dateTime=FEa(this.dateTime,this.timeFormControl.value),this.dateTimeChange.emit(this.dateTime));this.dateChange.emit(this.date)};var TRa=function(a){var b=a.includeTimePicker?a.dateTime:a.date;if(b=b instanceof Uf?b:Bha(b))a.calendar.activeDate=b;a.calendar._getCurrentViewComponent()._focusActiveCell(!1)};
fN.prototype.showPicker=function(a){a instanceof HTMLInputElement&&a.showPicker()};var SRa=function(a,b){var c=new So("HH:mm");a.timeFormControl.setValue(a.includeTimePicker&&b?c.format(b):"")};fN.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(fN)))(b||fN)}}();
fN.\u0275cmp=F({type:fN,selectors:[["b-date-time-picker-content"]],viewQuery:function(a,b){a&1&&(ek(TG,7),ek(xLc,7));if(a&2){var c;ik(c=jk())&&(b.calendar=c.first);ik(c=jk())&&(b.content=c.first)}},inputs:{required:"required",date:"date",dateTime:"dateTime",trapFocus:"trapFocus",todayButtonEnabled:"todayButtonEnabled",noneButtonEnabled:"noneButtonEnabled",renderPanel:"renderPanel",includeTimePicker:"includeTimePicker",calendarButtonRow:"calendarButtonRow"},outputs:{dateChange:"dateChange",dateTimeChange:"dateTimeChange",
cancelClicked:"cancelClicked",saveClicked:"saveClicked",dateSelectionChange:"dateSelectionChange",focusEscaped:"focusEscaped"},standalone:!1,features:[xj],decls:15,vars:11,consts:[["content",""],[1,"b-optional-calendar-button-row"],[3,"selectedChange","selected","startAt"],["appearance","outline"],[1,"actions"],[1,"b-calendar-button-row"],["type","button","mat-button","",1,"cancel",3,"click"],["type","button","mat-button","",1,"save",3,"click"],[4,"ngTemplateOutlet"],["type","time","matInput","",
"aria-label","Time Picker","required","",1,"time-input",3,"focus","formControl"],["type","button","mat-button","",1,"today"],["type","button","mat-button","",1,"none"],["type","button","mat-button","",1,"today",3,"click"],["type","button","mat-button","",1,"none",3,"click"]],template:function(a,b){if(a&1){var c=y();L(0,"div",null,0)(2,"div",1);I(3,PRa,1,1,"ng-container");M();L(4,"mat-calendar",2);W(5,"toDateTime");W(6,"toDateTime");Q("selectedChange",function(d){z(c);return B(RRa(b,d))});M();I(7,
QRa,2,1,"mat-form-field",3);L(8,"div",4);I(9,WRa,4,2,"div",1);L(10,"div",5)(11,"button",6);Q("click",function(){z(c);return B(b.cancelClicked.emit())});U(12,"Cancel");M();L(13,"button",7);Q("click",function(){z(c);b.saveChanges();return B(b.saveClicked.emit())});U(14,"Save");M()()()()}a&2&&(rk("container",b.renderPanel),E(3),J(b.calendarButtonRow?3:-1),E(),K("selected",b.includeTimePicker?b.dateTime:X(5,7,b.date))("startAt",b.includeTimePicker?b.dateTime:X(6,9,b.date)),E(3),J(b.includeTimePicker?
7:-1),E(2),J(b.todayButtonEnabled||b.noneButtonEnabled?9:-1))},dependencies:function(){return[oy,dA,aA,TG,eN,Bp,hG,AG,uG,eH,mH,gN]},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}mat-form-field[_ngcontent-%COMP%]{--mat-form-field-container-height: 20px;width:100px;margin:18px}.dark-mode   [_nghost-%COMP%]   input[type=time][_ngcontent-%COMP%]{color-scheme:dark}input[type=time][_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{background-color:#fff;background-color:var(--surface-default)}/*# sourceMappingURL=date_time_picker_content.css.map */"]});
var gN=function(){};gN.prototype.transform=function(a){var b;return(b=Bha(a))!=null?b:void 0};gN.\u0275fac=function(a){return new (a||gN)};gN.\u0275pipe=aj({name:"toDateTime",type:gN,pure:!0,standalone:!1});var yLc=[{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"}],hN=function(){Z.call(this);var a=this;this.overlay=x(Gz);this.element=x(Ph);this.hostEl=x(Ph);this.openOnEnter=this.openOnClick=!0;this.includeTimePicker=this.required=this.focusTrapHost=!1;this.selectedChange=new iE;this.selectedDateTimeChange=
new iE;this.dateSelectionChange=new iE;this.includeTimePickerChange=new iE;this.onClose=new iE;this.opened=!1;this.destroyed$.subscribe(function(){var b;(b=a.overlayRef)==null||b.dispose()})};Y(hN,Z);g=hN.prototype;g.onHostEnter=function(a){this.openOnEnter&&this.open();a.preventDefault();a.stopPropagation()};g.onClickHost=function(a){this.openOnClick&&this.open();a.preventDefault();a.stopPropagation()};
g.open=function(){this.opened||(this.overlayRef=this.createOverlay(),this.attach(),this.opened=!0)};g.close=function(a){a=a===void 0?!1:a;if(this.opened){var b;(b=this.overlayRef)==null||b.dispose();this.overlayRef=void 0;this.opened=!1;a||this.hostEl.nativeElement.focus();this.onClose.emit()}};g.onHostTab=function(a){this.focusTrapHost&&this.pickerContent&&this.pickerContent.focusEscapeNotifier&&(Jy(this.pickerContent.focusEscapeNotifier),a.preventDefault())};
g.onHostShiftTab=function(a){this.focusTrapHost&&this.pickerContent&&this.pickerContent.focusEscapeNotifier&&(goc(this.pickerContent.focusEscapeNotifier),a.preventDefault())};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 Az(fN),c;this.pickerContent=(c=this.overlayRef)==null?void 0:c.attach(b).instance;var d;(d=this.overlayRef)==null||d.updatePosition();setTimeout(function(){a.connectValues()})};g.getPositionStrategy=function(){return sz(tz(uz(yz(this.overlay.position(),this.element)),8),yLc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
g.connectValues=function(){var a=this;if(this.pickerContent&&this.overlayRef){var b=Ci(this.overlayRef._detachments,this.destroyed$);this.pickerContent.date=this.selected;this.pickerContent.dateTime=this.selectedDateTime;this.pickerContent.required=this.required;this.pickerContent.trapFocus=!this.focusTrapHost;(this.pickerContent.includeTimePicker=this.includeTimePicker)&&SRa(this.pickerContent,this.selectedDateTime);this.focusTrapHost&&this.pickerContent.focusEscaped.pipe(tj(b)).subscribe(function(){setTimeout(function(){return a.element.nativeElement.focus()})});
this.pickerContent.dateChange.pipe(tj(b)).subscribe(function(c){a.selectedChange.emit(c)});this.pickerContent.dateTimeChange.pipe(tj(b)).subscribe(function(c){a.selectedDateTimeChange.emit(c)});this.pickerContent.dateSelectionChange.pipe(tj(b)).subscribe(function(c){a.dateSelectionChange.emit(c)});Ci(this.pickerContent.saveClicked,this.pickerContent.cancelClicked,this.overlayRef.backdropClick(),this.overlayRef.keydownEvents().pipe(Di(function(c){return c.code==="Escape"}))).pipe(tj(b)).subscribe(function(){a.close()})}};
hN.\u0275fac=function(a){return new (a||hN)};
hN.\u0275dir=$i({type:hN,selectors:[["","bDateTimePickerToggle",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(a,b){a&1&&Q("click",function(c){return b.onClickHost(c)})("keydown.enter",function(c){return b.onHostEnter(c)})("keydown.tab",function(c){return b.onHostTab(c)})("keydown.shift.tab",function(c){return b.onHostShiftTab(c)});a&2&&Hj("aria-expanded",b.opened||void 0)},inputs:{openOnClick:"openOnClick",openOnEnter:"openOnEnter",focusTrapHost:[0,"bDateTimePickerToggleFocusTrapHost",
"focusTrapHost"],required:[0,"bDateTimePickerToggleRequired","required"],selected:[0,"bDateTimePickerToggleSelected","selected"],selectedDateTime:[0,"bDateTimePickerToggleSelectedDateTime","selectedDateTime"],includeTimePicker:[0,"bDateTimePickerToggleIncludeTimePicker","includeTimePicker"]},outputs:{selectedChange:"bDateTimePickerToggleSelectedChange",selectedDateTimeChange:"bDateTimePickerToggleSelectedDateTimeChange",dateSelectionChange:"bDateTimePickerToggleDateSelectionChange",includeTimePickerChange:"bDateTimePickerToggleIncludeTimePickerChange",
onClose:"bDateTimePickerToggleOnClose"},exportAs:["bDateTimePickerToggle"],standalone:!1,features:[xj]});var zLc=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/,ALc=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/,BLc=function(a){this.patternParts_=[];this.dateTimeSymbols_=zw;typeof a=="number"?this.applyStandardPattern_(a):this.applyPattern_(a)};
BLc.prototype.applyPattern_=function(a){for(var b=!1,c="",d=0;d<a.length;d++){var e=a.charAt(d);if(zLc.test(e))for(c.length>0&&(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("GyMdkHmsSEDabBhKzZvQL".indexOf(e)>=0){c.length>0&&(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;f<=0?h=!1:(h="MydhHmsSDkK".indexOf(e),h=h>0||h==0&&f<3);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}c.length>0&&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};BLc.prototype.applyStandardPattern_=function(a){a>11&&(a=10);if(a<4)var b=this.dateTimeSymbols_.DATEFORMATS[a];else a<8?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)};
BLc.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(f.count>0&&("abBhHkKm".indexOf(f.text.charAt(0))<0||f.count>2||f.abutStart))throw Error("Id`"+f.text.charAt(0));}f=new CLc;c=[0];f.dayPeriodIndex=-1;for(var h=0;h<this.patternParts_.length&&!(d&&c[0]>=a.length);h++){if(this.patternParts_[h].count==0){a:{var k=a;var q=c,u=this.patternParts_[h],A=d;if(u.text.match(zLc)!=null){if(u=q[0],
DLc(k,q),q[0]>u){k=!0;break a}}else{if(k.indexOf(u.text,q[0])==q[0]){q[0]+=u.text.length;k=!0;break a}if(A&&u.text.indexOf(k.substring(q[0]))==0){q[0]+=k.length-q[0];k=!0;break a}}k=!1}if(k)continue;return 0}if(this.patternParts_[h].abutStart){a:{q=a;u=c;A=h;var D=u[0],H=0;for(k=A;k<this.patternParts_.length;k++){var O=this.patternParts_[k],P=O.count;if(P===0)break;if(k==A&&(P-=H,H++,P==0)){k=0;break a}var S=k>A&&O.numeric,aa=u[0];if(!ELc(this,q,u,O,P,f,!1)||S&&u[0]-aa<P)k=A-1,u[0]=D}k-=A}if(k<=0)return 0;
h+=k-1}else if(!ELc(this,a,c,this.patternParts_[h],0,f,d))return 0}a:{a=e;if(b==null)throw Error("Jd");f.era!=void 0&&f.year!=void 0&&f.era==0&&f.year>0&&(f.year=-(f.year-1));f.year!=void 0&&b.setFullYear(f.year);d=b.getDate();b.setDate(1);f.month!=void 0&&b.setMonth(f.month);f.day!=void 0?b.setDate(f.day):(e=Qic(b.getFullYear(),b.getMonth()),b.setDate(d>e?e:d));typeof b.setHours==="function"&&(f.hours==void 0&&(f.hours=b.getHours()),f.hours<12&&(f.ampm!=void 0&&f.ampm>0?f.hours+=12:f.dayPeriodName!==
void 0&&("isPm noon afternoon1 afternoon2 evening1 evening2".split(" ").includes(f.dayPeriodName)||["night1","night2"].includes(f.dayPeriodName)&&f.hours>=6)&&(f.hours+=12)),b.setHours(f.hours));typeof b.setMinutes==="function"&&f.minutes!=void 0&&b.setMinutes(f.minutes);typeof b.setSeconds==="function"&&f.seconds!=void 0&&b.setSeconds(f.seconds);typeof b.setMilliseconds==="function"&&f.milliseconds!=void 0&&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&&f.hours>=24||f.minutes&&f.minutes>=60||f.seconds&&f.seconds>=60||f.milliseconds&&f.milliseconds>=1E3))b=!1;else{f.tzOffset!=void 0&&b.setTime(b.getTime()+(f.tzOffset-b.getTimezoneOffset())*60*1E3);f.ambiguousYear&&(a=new Date,a.setFullYear(a.getFullYear()-80),b.getTime()<a.getTime()&&b.setFullYear(a.getFullYear()+100));if(f.dayOfWeek!=void 0)if(f.day==void 0)f=(7+f.dayOfWeek-b.getDay())%7,f>3&&(f-=7),a=b.getMonth(),b.setDate(b.getDate()+f),b.getMonth()!=
a&&b.setDate(b.getDate()+(f>0?-7:7));else if(f.dayOfWeek!=b.getDay()){b=!1;break a}b=!0}}return b?c[0]:0};
var ELc=function(a,b,c,d,e,f,h){DLc(b,c);if(d.numeric&&e>0&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return iN(b,c,[a.dateTimeSymbols_.ERAS],function(k){return f.era=k}),!0;case "M":case "L":return FLc(a,b,c,e,d,f);case "E":return iN(b,c,[a.dateTimeSymbols_.WEEKDAYS,a.dateTimeSymbols_.SHORTWEEKDAYS],function(k){return f.dayOfWeek=k});case "B":case "b":return e=[],a=[[].concat(a.dateTimeSymbols_.AMPMS)],e.push("isAm"),e.push("isPm"),b=iN(b,c,a,function(k){return f.dayPeriodIndex=
k},h),f.dayPeriodName=e[f.dayPeriodIndex],h?b:!0;case "a":return b=iN(b,c,[a.dateTimeSymbols_.AMPMS],function(k){return f.ampm=k},h),h?b:!0;case "y":return GLc(a,b,c,d,e,f);case "Q":return iN(b,c,[a.dateTimeSymbols_.QUARTERS,a.dateTimeSymbols_.SHORTQUARTERS],function(k){f.month=k*3;f.day=1});case "d":return HLc(a,b,c,d,e,function(k){f.day=k}),!0;case "S":return ILc(a,b,c,e,f);case "h":case "K":case "H":case "k":return b=HLc(a,b,c,d,e,function(k){f.hours=d.text.charAt(0)==="h"&&k===12?0:k},h),h?b:
!0;case "m":return b=HLc(a,b,c,d,e,function(k){f.minutes=k},h),h?b:!0;case "s":return HLc(a,b,c,d,e,function(k){f.seconds=k}),!0;case "z":case "Z":case "v":return JLc(a,b,c,f);default:return!1}},GLc=function(a,b,c,d,e,f){var h=c[0];e=jN(a,b,c,e);e===null&&(e=jN(a,b,c,0,!0));if(e===null)return!1;e>=0&&c[0]-h==2&&d.count==2?(a=e,b=(new Date).getFullYear()-80,c=b%100,f.ambiguousYear=a==c,a+=Math.floor(b/100)*100+(a<c?100:0),f.year=a):f.year=e;return!0},FLc=function(a,b,c,d,e,f){return e.numeric&&HLc(a,
b,c,e,d,function(h){f.month=h-1})?!0:iN(b,c,[a.dateTimeSymbols_.MONTHS,a.dateTimeSymbols_.STANDALONEMONTHS,a.dateTimeSymbols_.SHORTMONTHS,a.dateTimeSymbols_.STANDALONESHORTMONTHS],function(h){f.month=h})},ILc=function(a,b,c,d,e){var f=c[0];a=jN(a,b,c,d);if(a===null)return!1;c=c[0]-f;e.milliseconds=c<3?a*Math.pow(10,3-c):Math.round(a/Math.pow(10,c-3));return!0},JLc=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=jN(a,b,c,0,!0);if(f===null)return!1;
if(c[0]<b.length&&b.charAt(c[0])==":"){var h=f*60;c[0]++;f=jN(a,b,c,0);if(f===null)return!1;h+=f}else h=f,h=h<24&&c[0]-e<=3?h*60:h%100+h/100*60;d.tzOffset=-h;return!0},HLc=function(a,b,c,d,e,f,h){h=h||!1;var k=c[0];a=jN(a,b,c,e);if(a===null)return!1;if(h&&c[0]-k<d.count){if(c[0]<b.length)return!1;a*=Math.pow(10,d.count-(c[0]-k))}f(a);return!0},iN=function(a,b,c,d,e){e=e||!1;for(var f,h=0;h<c.length;h++){f=b;for(var k=c[h],q=e,u=0,A=null,D=a.substring(f[0]).toLowerCase(),H=0;H<k.length;H++){var O=
k[H].toLowerCase();if(q&&O.indexOf(D)==0){u=D.length;A=H;break}k[H].length>u&&D.indexOf(O)==0&&(u=k[H].length,A=H)}A!==null&&(f[0]+=u);f=A;if(f!==null)return d(f),!0}return!1},DLc=function(a,b){(a=a.substring(b[0]).match(ALc))&&(b[0]+=a[0].length)},jN=function(a,b,c,d,e){b=d>0?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&&h<=9?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)},CLc=function(){};CLc.prototype.ambiguousYear=!1;var FAc=Array(31).fill(0).map(function(a,b){return""+(b+1)}),kN=function(){var a=Kz.apply(this,arguments)||this;a.locale=zw;return a};Y(kN,Kz);kN.prototype.setLocale=function(){throw Error("Kd");};kN.prototype.getYear=function(a){return a.getYear()};kN.prototype.getMonth=function(a){return a.getMonth()};kN.prototype.getDate=function(a){return a.getDate()};var EAc=function(a,b){switch(b){case "long":return a.locale.WEEKDAYS;case "narrow":return a.locale.NARROWWEEKDAYS;default:return a.locale.SHORTWEEKDAYS}};
kN.prototype.getFirstDayOfWeek=function(){return(this.locale.FIRSTDAYOFWEEK+1)%7};kN.prototype.clone=function(a){return a.clone()};var QG=function(a,b,c){return new Uf(a,b,c)};kN.prototype.parse=function(a,b){if(a==="")return null;b=new BLc(a.match(/\d{3,}/)?b:b.replace("yyyy","yy"));var c=new Uf(new Date(a));b.parse(a,c);return c};kN.prototype.format=function(a,b){if(!this.isValid(a))throw Error("Ld");return(new So(b)).format(a)};
var OG=function(a,b){a=a.clone();a.add(new Aw(b));return a},PG=function(a,b){a=a.clone();a.add(new Aw(0,b));return a},NG=function(a,b){a=a.clone();a.add(new Aw(0,0,b));return a},Zoc=function(a){return a instanceof Uf};g=kN.prototype;g.isValid=function(a){return!isNaN(a.getTime())};g.invalid=function(){return new Uf(NaN)};g.sameDate=function(a,b){return a&&b?(new Ad(a)).equals(b):!1};g.getHours=function(a){return a.getHours()};g.getMinutes=function(a){return a.getMinutes()};g.getSeconds=function(a){return a.getSeconds()};
g.setTime=function(a,b,c,d){a=this.clone(a);a.setHours(b);a.setMinutes(c);a.setSeconds(d);a.setMilliseconds(0);return a};kN.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(kN)))(b||kN)}}();kN.\u0275prov=Dg({token:kN,factory:kN.\u0275fac});var KLc={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"},lN=KLc;lN=KLc;var mN=zw.DATEFORMATS[3];mN=mN.replace(/yyyy/,"yy").replace(/yy/,"yyyy");mN==="M/d/yyyy"&&(mN="MM/dd/yyyy");var LLc=zw.TIMEFORMATS.at(-1),MLc={parse:{dateInput:mN,timeInput:LLc},display:{dateInput:mN,monthYearLabel:lN.YEAR_MONTH_ABBR,dateA11yLabel:lN.MONTH_DAY_YEAR_MEDIUM,monthYearA11yLabel:lN.YEAR_MONTH_FULL,timeInput:LLc,timeOptionLabel:LLc}};var nN=function(){};nN.\u0275fac=function(a){return new (a||nN)};nN.\u0275mod=Zi({type:nN});nN.\u0275inj=Eg({providers:[{provide:Kz,useClass:kN},{provide:Oz,useValue:MLc}]});var oN=function(){};oN.\u0275fac=function(a){return new (a||oN)};oN.\u0275mod=Zi({type:oN});oN.\u0275inj=Eg({imports:[kz]});var pN=function(){};pN.\u0275fac=function(a){return new (a||pN)};pN.\u0275mod=Zi({type:pN});pN.\u0275inj=Eg({imports:[jC,FI,rH,oN,Wy,FG,GG,fH,nH,nN]});var NLc=["popupField"],OLc=["fieldContent"],PLc=["popupOverlay"],QLc=["overlayContent"],aSa=function(a){return{q:a}},RLc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"}],qN=function(){Z.apply(this,arguments);this.cdr=x(jE,{self:!0});this.element=x(Ph);this.overlay=x(Gz);this.viewContainerRef=x(ck);this.dateFormatter=x(pI);this.activeSession=x(Ks);this.constants=x(oI);this.appEvents=x(EB);this.IssuePriority=jic;this.googDateValue=null;this.autocompleteActive=!1;this.readonlyTooltip=
this.displayIcon=this.displayValue=null;this.textBuffer="";this.enableTeamAnnotations=this.activeSession.isInternalSession();this.isActive=this.multiline=this.enableWaldoAvailability=!1;this.title=this.name="";this.displayValueOverride=this.value=null;this.teamId="";this.clearable=!1;this.choices=[];this.customFieldId=0;this.showEnumTitle=!1;this.valueChange=new iE;this.disabled=this.readonly=!1;this.tooltip="";this.showAvailability=this.showHotkeyHint=this.truncate=!1};Y(qN,Z);qN.\u0275dir=Z.\u0275dir;
g=qN.prototype;g.ngOnInit=function(){var a=this;this.enableWaldoAvailability=Cx(this.activeSession,"enableWaldoAvailability")&&this.activeSession.isInternalSession()&&this.showAvailability;this.subscriptions.add(this.appEvents.openEditField.subscribe(function(b){b!==a&&a.isActive&&(a.isActive=!1,SLc(a),a.cdr.detectChanges())}));this.subscriptions.add(ADc(this.dateFormatter,function(){TLc(a);a.cdr.detectChanges()}));this.destroyed$.subscribe(function(){SLc(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})&&TLc(this)};g.ngAfterViewInit=function(){this.popupField&&(this.overlayRef=this.overlay.create({positionStrategy:this.getPositionStrategy(),scrollStrategy:this.overlay.scrollStrategies.reposition()}))};
g.getPositionStrategy=function(){return sz(tz(uz(yz(this.overlay.position(),this.fieldContent).setOrigin(this.fieldContent),!1),5),RLc)};
var SLc=function(a){var b;((b=a.overlayRef)==null?0:b.hasAttached())&&a.overlayRef.detach()},hSa=function(a,b){switch(b.keyCode){case 13:case 32:b.stopPropagation();b.preventDefault();pq(a,b,!0,!1);break;case 27:b.stopPropagation(),pq(a,b,!1,!0)}},pq=function(a,b,c,d){if((b==null?0:b.target)&&"nodeName"in b.target&&b.target.nodeName==="A"||a.type==="ENUM"&&a.choices.length===0)b==null||b.stopPropagation();else{if(!c||a.disabled||a.readonly){if(a.isActive=!1,SLc(a),d){var e;(e=a.popupField)==null||
e.nativeElement.focus()}}else if(a.appEvents.openEditField.next(a),a.isActive=!0,a.textBuffer=a.value!=null?String(a.value):"",a.type=="DATE"&&(c=a.value,a.googDateValue=c?Lo(c):null),a.type==="ENUM"&&a.enumMenuTrigger.openMenu(),a.type!=="ENUM"){ULc(a);var f=a.element.nativeElement;yi(document,"click").pipe(Di(function(h){return!f.contains(h.target)}),hj(1),tj(a.overlayRef._detachments),tj(a.destroyed$)).subscribe(function(){pq(a,null,!1,!1)})}b==null||b.stopPropagation();a.cdr.detectChanges()}};
qN.prototype.schedule=function(a){var b=zi.schedule(a);this.destroyed$.subscribe(function(){b.unsubscribe()})};qN.prototype.getDisplayValue=function(a){return this.displayValue===null?a:this.displayValue};
var TLc=function(a){var b=a.value;a.displayIcon=null;switch(a.type){case "ENUM":if(a.title==="Type"){var c;a.displayIcon=(c=a.constants.issueTypeIcons.get(b))!=null?c:null}(c=a.choices.find(function(d){return d.value==b}))?(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(Lo(b)):a.displayValue=null;a.readonlyTooltip=
null;break;default:a.displayValueOverride?a.displayValue=a.displayValueOverride:a.displayValue=b?String(b):null,a.readonlyTooltip=null}};qN.prototype.setFieldValue=function(a){this.disabled||this.readonly||(this.type==="DATE"&&a&&(a=DEa(a)),this.type==="NUMERIC"&&a===""&&(a=null),vd(this.value,a)?this.type==="ENUM"&&pq(this,null,!1,!0):(pq(this,null,!1,!0),this.value=a,this.valueChange.emit(this.value)))};
var DSa=function(a){if(a.type===void 0)throw Error("Md");a.type==="NUMERIC"&&(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("Nd");default:qb(a.type,"FieldType")}};qN.prototype.clearFieldValue=function(){this.value=null;this.valueChange.emit(this.value);pq(this,null,!1,!0)};
var ULc=function(a){SLc(a);var b=a.overlayRef.attach(new Bz(a.popupOverlay,a.viewContainerRef)).rootNodes[0];a.schedule(function(){if(a.type==="TEXT"||a.type==="NUMERIC"){var c=b.querySelector("textarea, input");c&&(c.focus(),c.select())}else a.type==="DATE"&&(c=b.querySelector(".goog-date-picker"))&&c.focus()})};qN.prototype.getTooltip=function(){return this.readonly?this.readonlyTooltip||"":this.tooltip?this.tooltip:this.title?"Set "+this.title:""};
qN.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(qN)))(b||qN)}}();
qN.\u0275cmp=F({type:qN,selectors:[["b-edit-field"]],viewQuery:function(a,b){a&1&&(ek(pK,5),ek(NLc,5),ek(OLc,5),ek(PLc,5),ek(QLc,5));if(a&2){var c;ik(c=jk())&&(b.enumMenuTrigger=c.first);ik(c=jk())&&(b.popupField=c.first);ik(c=jk())&&(b.fieldContent=c.first);ik(c=jk())&&(b.popupOverlay=c.first);ik(c=jk())&&(b.overlayContent=c.first)}},inputs:{multiline:"multiline",name:"name",title:"title",type:"type",value:"value",displayValueOverride:"displayValueOverride",teamId:"teamId",clearable:"clearable",
choices:"choices",customFieldId:"customFieldId",showEnumTitle:"showEnumTitle",readonly:"readonly",disabled:"disabled",tooltip:"tooltip",truncate:"truncate",showHotkeyHint:"showHotkeyHint",showAvailability:"showAvailability"},outputs:{valueChange:"valueChange"},standalone:!1,features:[Bk([jE]),xj,$w],decls:12,vars:4,consts:[["enumMenu","matMenu"],["renderFieldContent",""],["popupOverlay",""],["popupField","","tooltip","matTooltip"],["fieldContent",""],["overlayContent",""],[1,"bv2-issue-metadata-field"],
["role","button",1,"keep-focus-ring",3,"class","bv2-disabled","bv2-readonly","matTooltip"],[3,"class","bv2-disabled","bv2-readonly","matTooltip"],[1,"bv2-issue-metadata-footer"],[1,"keep-focus-ring"],["matMenuContent",""],["role","button",1,"keep-focus-ring",3,"click","keydown","keydown.escape","matTooltip"],[3,"class"],[1,"bv2-editable-value"],[1,"bv2-editable-value",3,"matMenuTriggerFor"],[1,"overflow-ellipsis"],[1,"bv2-editable-value",3,"menuClosed","matMenuTriggerFor"],[4,"ngTemplateOutlet"],
["routerLink","/issues",1,"subtle-link",3,"queryParams"],["type","button","mat-button","","aria-haspopup","true","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"menuClosed","matMenuTriggerFor"],[3,"matTooltip"],[1,"keep-focus-ring",3,"modelChange","disabled","aria-label","model"],[3,"click"],["type","button","mat-menu-item","","role","menuitemcheckbox","aria-label","Clear",3,"b-menu-item-checked","disabled"],["type","button",
"mat-menu-item","","role","menuitemcheckbox","aria-label","Clear",3,"click","disabled"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],["type","button","mat-menu-item","","role","menuitemcheckbox",3,"click","onHotkey","disabled","hotkey"],[1,"flex-kids-x","align-items-center","gap-s"],[1,"icon-s","b-icon-prefix",3,"svgIcon"],[1,"muted","plain-monospace","margin-left-auto","padded-s-left"],[1,"bv2-editable-value",3,"keydown","click"],[1,"icon-s","muted",3,"svgIcon"],[1,"bv2-metadata-field-value",
3,"p0","p1","maxWidth","modelValue","disabled"],[1,"bv2-metadata-field-value",3,"class","maxWidth","modelValue","disabled"],[1,"chippy",3,"maxWidth","modelValue","disabled"],[1,"bv2-metadata-field-value",3,"maxWidth","modelValue","disabled"],[1,"bv2-edit-button"],[1,"issue-metadata-field-dropdown-icon"],[1,"issue-metadata-field-edit-icon"],["svgIcon","arrow-dropdown"],["svgIcon","edit-outline"],["role","dialog"],[1,"bv2-text-field-edit"],[3,"dateSelectionChange","saveClicked","cancelClicked","required",
"date"],[1,"bv2-text-field-edit",3,"click"],["spellcheck","false",3,"ngModel"],["step","any","spellcheck","false",3,"ngModel"],[1,"bv2-text-edit-dialog-buttons"],["type","button","mat-flat-button","","color","primary",1,"medium","field-popup-button",3,"click","disabled","matTooltip"],["svgIcon","done"],["type","button","mat-stroked-button","","color","primary",1,"medium","field-popup-button",3,"click","matTooltip"],["svgIcon","close"],["spellcheck","false",3,"ngModelChange","keydown","ngModel"],["step",
"any","spellcheck","false",3,"ngModelChange","keydown","ngModel"]],template:function(a,b){a&1&&(L(0,"div")(1,"div",6),I(2,iSa,6,15,"div",7),I(3,kSa,3,13,"div",8),N(4,"div",9),M(),L(5,"mat-menu",10,0),G(7,qSa,3,1,"ng-template",11),M()(),G(8,zSa,12,6,"ng-template",null,1,Gk)(10,HSa,6,4,"ng-template",null,2,Gk));a&2&&(E(),rk("active",b.isActive&&!b.readonly&&!b.disabled),E(),J(b.type!=="BOOL"?2:-1),E(),J(b.type==="BOOL"?3:-1))},dependencies:[oy,EA,bC,fN,Bp,hG,oG,DL,dA,aA,FL,mK,kK,lK,pK,YF,WF,HM,LM,eN,
qy],styles:[".bv2-text-edit-dialog-buttons[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[_ngcontent-%COMP%] > .mat-icon[_ngcontent-%COMP%]{--mat-button-filled-icon-spacing: 0px;--mat-button-filled-icon-offset: 0px}.bv2-text-edit-dialog-buttons[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%] > .mat-icon[_ngcontent-%COMP%]{--mat-button-outlined-icon-spacing: 0px;--mat-button-outlined-icon-offset: 0px}",".bv2-issue-metadata-field-edit[_ngcontent-%COMP%] { position: relative; }"]});
var rN={ENUM:"ENUM",BOOL:"BOOL",DATE:"DATE",TEXT:"TEXT",NUMERIC:"NUMERIC"},sN=function(){};sN.\u0275fac=function(a){return new (a||sN)};sN.\u0275mod=Zi({type:sN});sN.\u0275inj=Eg({imports:[KM,EM,jC,pN,FG,EL,FI,IL,JL,IM,vL,$M,MM,cN,oN]});var JSa=[["year",31536E3],["month",2592E3],["week",604800],["day",86400],["hour",3600],["minute",60],["second",1]],KSa={year:"yr",month:"mo",week:"w",day:"d",hour:"h",minute:"m",second:"s"};var VLc=[{name:"local",id:""},{name:"UTC",id:"UTC"},{name:"MTV",id:"America/Los_Angeles"}],WLc=Symbol("Od"),XLc=Symbol("Od"),tN=function(){var a=this;this.dateFormatter=x(MI);this.paddingLeftPx=5;this.timestampMs$=new nj(1);this.timestampIso$=this.timestampMs$.pipe(C(function(b){return b?(new Date(b)).toISOString():""}));this.timestampDate$=this.timestampMs$.pipe(C(function(b){if(b!==void 0)return new Date(b)}));this[WLc]=this.timestampDate$.pipe(sj(function(b){if(b===void 0)return li("");var c=b.getTime()/
1E3;switch(a.mode){case "date":return a.dateFormatter.formatUserCalendar(b);case "time":return a.dateFormatter.formatUserTime(b);case "datetime":return MEc(a.dateFormatter,b);case "relativepast":return b=qq(c),li(b);case "relativepastshort":var d;return li((d=qq(c,!0))!=null?d:"");case "relativepasttiny":var e;return li((e=qq(c,!0,1))!=null?e:"");default:return qb(a.mode)}}));this[XLc]=this.timestampDate$.pipe(sj(function(b){return b===void 0?li(""):si(VLc.map(function(c){return NEc(a.dateFormatter,
b,c.id).pipe(C(function(d){return{formatted:d,tzName:c.name}}))})).pipe(YLc)}));this.vars$=si([this[WLc],this[XLc]]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return{formatted:b,title:c}}))};tN.prototype.ngOnInit=function(){};
pg.Object.defineProperties(tN.prototype,{timestamp:{configurable:!0,enumerable:!0,set:function(a){var b=this.timestampMs$,c=b.next;a=a!=null?typeof a==="number"?a:typeof a==="string"?Date.parse(a):a.seconds*1E3:void 0;a=a==null||isNaN(a)?void 0:a;c.call(b,a)}},date:{configurable:!0,enumerable:!0,set:function(a){a&&this.timestampMs$.next(a.valueOf())}}});tN.\u0275fac=function(a){return new (a||tN)};
tN.\u0275cmp=F({type:tN,selectors:[["b-formatted-date-time"]],inputs:{timestamp:"timestamp",date:"date",mode:"mode",paddingLeftPx:"paddingLeftPx"},standalone:!1,decls:2,vars:3,consts:[[3,"title","style"],[3,"title"]],template:function(a,b){a&1&&(I(0,LSa,3,8,"time",0),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.vars$))?0:-1,c)}},dependencies:[py],encapsulation:2,changeDetection:0});
var YLc=ai(C(function(a){var b=new Map;a=l(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(),function(e){return e.formatted+" ("+e.tzNames.join("/")+")"}).join("\n")}));var uN=function(){Z.apply(this,arguments);var a=this;this.changelistApi=x(kB);this.emailToUser=Kd;this.providedChangelistId$=new nj(1);this.changelist$=this.providedChangelistId$.pipe(sj(function(b){return a.changelistApi.getChangelistDetails(b)}),pj({refCount:!0,bufferSize:1}));this.init=new nj(1)};Y(uN,Z);uN.\u0275dir=Z.\u0275dir;uN.prototype.ngOnInit=function(){var a=this;this.changelist$.pipe(hj(1),tj(this.destroyed$)).subscribe(function(){a.init.next()})};
uN.prototype.ngOnChanges=function(a){a.changelistId&&this.providedChangelistId$.next(this.changelistId)};uN.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(uN)))(b||uN)}}();
uN.\u0275cmp=F({type:uN,selectors:[["b-changelist-card"]],inputs:{changelistId:"changelistId"},outputs:{init:"init"},standalone:!1,features:[xj,$w],decls:4,vars:3,consts:[["role","dialog","aria-label","Changelist hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"card"],[3,"href"],[1,"author"],[1,"description"],[3,"innerHTML"],[3,"user","hovercardEnabled"],["mode","datetime",1,"float-right",3,"timestamp"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"div",1),I(2,PSa,16,5,"div",
2),W(3,"async"),M()());if(a&2){var c;E(2);J((c=X(3,1,b.changelist$))?2:-1,c)}},dependencies:[QM,tN,py,ZM],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 vN=function(){this.analytics=x(nE);this.config=Object.assign({},new AH,{showDelay:400,hideDelay:400,position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-20}]})};vN.prototype.ngOnInit=function(){};vN.prototype.trackClick=function(){this.analytics.trackEvent("editIssue","click","changelistChip")};vN.\u0275fac=function(a){return new (a||vN)};
vN.\u0275cmp=F({type:vN,selectors:[["b-changelist-chip"]],inputs:{changelistId:"changelistId"},standalone:!1,decls:7,vars:5,consts:[["card","onedevHovercard"],["cardBody",""],["target","_blank",1,"bv2-metadata-link",3,"click","href","onedevHovercardTrigger","onedevHovercardConfig"],[1,"suffix"],[3,"onedevIsHovercardReady","changelistId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","changelistId"]],template:function(a,b){if(a&1){var c=y();L(0,"a",2);Q("click",function(){z(c);return B(b.trackClick())});
U(1);L(2,"span",3);U(3,"CL");M()();L(4,"onedev-hovercard",null,0);G(6,QSa,2,2,"b-changelist-card",4);M()}a&2&&(a=T(5),K("href","http://critique.corp.google.com/"+b.changelistId,Ni)("onedevHovercardTrigger",a)("onedevHovercardConfig",b.config),Hj("aria-label","Changelist "+b.changelistId),E(),V(" ",b.changelistId," "))},dependencies:[xH,yH,DH,zH,uN],styles:["[_nghost-%COMP%]   .bv2-metadata-link[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--c100);color:#185abc;color:var(--link-high-contrast);border-radius:12px;margin:1px 0;padding:0 8px}[_nghost-%COMP%]   .bv2-metadata-link[_ngcontent-%COMP%]   .suffix[_ngcontent-%COMP%]{color:#202124;color:var(--text);border-left:1px solid;border-left-color:#bdc1c6;border-left-color:var(--c400);padding-left:5px;margin-left:2px}[_nghost-%COMP%]   .bv2-metadata-link[_ngcontent-%COMP%]:active, [_nghost-%COMP%]   .bv2-metadata-link[_ngcontent-%COMP%]:hover{background-color:#e8eaed;background-color:var(--c200);text-decoration:none}.dark-mode   [_nghost-%COMP%]     .bv2-metadata-link{background-color:#e8eaed;background-color:var(--c200);color:#1a73e8;color:var(--link)}.dark-mode   [_nghost-%COMP%]     .bv2-metadata-link:active, .dark-mode   [_nghost-%COMP%]     .bv2-metadata-link:hover{background-color:#dadce0;background-color:var(--c300)}\n/*# sourceMappingURL=changelist_chip.css.map */"]});var wN=function(){this.activeSession=x(Ks);this.analytics=x(nE);this.gerritUrl="";this.isInternal=this.activeSession.getFrontendAccessMode()==="INTERNAL"};wN.prototype.ngOnInit=function(){};wN.prototype.ngOnChanges=function(a){a.change&&(this.gerritUrl=Oo(this.change,this.isInternal))};wN.prototype.trackClick=function(){this.analytics.trackEvent("editIssue","click","gerritChangesChip")};wN.\u0275fac=function(a){return new (a||wN)};
wN.\u0275cmp=F({type:wN,selectors:[["b-gerrit-change-chip"]],inputs:{change:[0,"gerritChange","change"]},standalone:!1,features:[$w],decls:5,vars:8,consts:[["target","_blank",1,"bv2-metadata-link",3,"click","href"],[1,"suffix"]],template:function(a,b){a&1&&(L(0,"a",0),Q("click",function(){return b.trackClick()}),U(1),L(2,"span",1),U(3),W(4,"titlecase"),M()());a&2&&(Hj("aria-label",Ak("",b.change.host," ",b.change.changeNumber)),K("href",b.gerritUrl,Ni),E(),V(" ",b.change.changeNumber," "),E(2),tk(X(4,
6,b.change.host)))},dependencies:[ry],styles:["[_nghost-%COMP%]   .bv2-metadata-link[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--c100);color:#185abc;color:var(--link-high-contrast);border-radius:12px;margin:1px 0;padding:0 8px}[_nghost-%COMP%]   .bv2-metadata-link[_ngcontent-%COMP%]   .suffix[_ngcontent-%COMP%]{color:#202124;color:var(--text);border-left:1px solid;border-left-color:#bdc1c6;border-left-color:var(--c400);padding-left:5px;margin-left:2px}[_nghost-%COMP%]   .bv2-metadata-link[_ngcontent-%COMP%]:active, [_nghost-%COMP%]   .bv2-metadata-link[_ngcontent-%COMP%]:hover{background-color:#e8eaed;background-color:var(--c200);text-decoration:none}.dark-mode   [_nghost-%COMP%]     .bv2-metadata-link{background-color:#e8eaed;background-color:var(--c200);color:#1a73e8;color:var(--link)}.dark-mode   [_nghost-%COMP%]     .bv2-metadata-link:active, .dark-mode   [_nghost-%COMP%]     .bv2-metadata-link:hover{background-color:#dadce0;background-color:var(--c300)}\n/*# sourceMappingURL=gerrit_change_chip.css.map */"]});var xN=function(){this.activeSession=x(Ks);this.gerritChange=this.changelist=void 0;this.enableGerritChanges=Cx(this.activeSession,"enableGerritChanges")};xN.prototype.ngOnInit=function(){};xN.prototype.ngOnChanges=function(a){a.codeChange&&((a=Po(this.codeChange))?(this.changelist=void 0,this.gerritChange=a):(this.gerritChange=void 0,this.changelist=Number(this.codeChange)))};xN.\u0275fac=function(a){return new (a||xN)};
xN.\u0275cmp=F({type:xN,selectors:[["b-code-change-chip"]],inputs:{codeChange:"codeChange"},standalone:!1,features:[$w],decls:2,vars:1,consts:[[3,"changelistId"],[3,"gerritChange"]],template:function(a,b){a&1&&I(0,RSa,1,1,"b-changelist-chip",0)(1,SSa,1,1,"b-gerrit-change-chip",1);a&2&&J(b.changelist?0:b.enableGerritChanges&&b.gerritChange?1:-1)},dependencies:[vN,wN],encapsulation:2});var yN=function(){};yN.\u0275fac=function(a){return new (a||yN)};yN.\u0275mod=Zi({type:yN});yN.\u0275inj=Eg({imports:[jC]});var ZLc=function(){this.id=0};ZLc.\u0275fac=function(a){return new (a||ZLc)};
ZLc.\u0275cmp=F({type:ZLc,selectors:[["changelist-link-plain"]],inputs:{id:"id"},standalone:!1,decls:5,vars:3,consts:[["card","onedevHovercard"],["cardBody",""],["target","_blank",1,"cl-link",3,"href","onedevHovercardTrigger"],[3,"onedevIsHovercardReady","changelistId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","changelistId"]],template:function(a,b){a&1&&(L(0,"a",2),U(1),M(),L(2,"onedev-hovercard",null,0),G(4,TSa,2,2,"b-changelist-card",3),M());a&2&&(a=T(3),K("href","http://critique.corp.google.com/"+
b.id,Ni)("onedevHovercardTrigger",a),E(),V(" cl/",b.id,"\n"))},dependencies:[xH,yH,DH,zH,uN],encapsulation:2});var zN=function(){};zN.\u0275fac=function(a){return new (a||zN)};zN.\u0275mod=Zi({type:zN});zN.\u0275inj=Eg({imports:[jC,$M,cN,uL,yN]});var AN=function(){};AN.\u0275fac=function(a){return new (a||AN)};AN.\u0275mod=Zi({type:AN});AN.\u0275inj=Eg({imports:[jC,uL,zN]});var $Lc=new kh("GM2_LIST_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var BN=function(a){this.options=a;if(a.disableGmatStyle)throw Error("Mb");};BN.\u0275fac=function(a){return new (a||BN)(Ui($Lc))};BN.\u0275dir=$i({type:BN,selectors:[["mat-list"],["mat-action-list"],["mat-nav-list"],["mat-selection-list"]],hostAttrs:[1,"gmat-mdc-list"],standalone:!1});var aMc=new kh("ListOption");var CN=function(){this._elementRef=x(Ph)};CN.\u0275fac=function(a){return new (a||CN)};CN.\u0275dir=$i({type:CN,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]});var DN=function(){this._elementRef=x(Ph)};DN.\u0275fac=function(a){return new (a||DN)};DN.\u0275dir=$i({type:DN,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]});var bMc=function(){};
bMc.\u0275fac=function(a){return new (a||bMc)};bMc.\u0275dir=$i({type:bMc,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]});var EN=function(){this._listOption=x(aMc,{optional:!0})};EN.prototype._isAlignedAtStart=function(){var a;return!this._listOption||((a=this._listOption)==null?void 0:a._getTogglePosition())==="after"};EN.\u0275fac=function(a){return new (a||EN)};
EN.\u0275dir=$i({type:EN,hostVars:4,hostBindings:function(a,b){a&2&&rk("mdc-list-item__start",b._isAlignedAtStart())("mdc-list-item__end",!b._isAlignedAtStart())}});var FN=function(){EN.apply(this,arguments)};Y(FN,EN);FN.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(FN)))(b||FN)}}();FN.\u0275dir=$i({type:FN,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[xj]});var GN=function(){EN.apply(this,arguments)};Y(GN,EN);
GN.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(GN)))(b||GN)}}();GN.\u0275dir=$i({type:GN,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[xj]});var cMc=new kh("MAT_LIST_CONFIG");var HN=function(){this._isNonInteractive=!0;this._disableRipple=!1;this._disabled=kk.apply(null,[!1].concat(p([])));this._defaultOptions=x(cMc,{optional:!0})};pg.Object.defineProperties(HN.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=um(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled()},set:function(a){this._disabled.set(um(a))}}});HN.\u0275fac=function(a){return new (a||HN)};
HN.\u0275dir=$i({type:HN,hostVars:1,hostBindings:function(a,b){a&2&&Hj("aria-disabled",b.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}});
var IN=function(){this._elementRef=x(Ph);this._ngZone=x(Kk);this._listBase=x(HN,{optional:!0});this._platform=x(Qm);this._noopAnimations=hn();this._explicitLines=null;this._disableRipple=!1;this._disabled=kk.apply(null,[!1].concat(p([])));this._subscriptions=new Yh;this._rippleRenderer=null;this._hasUnscopedTextContent=!1;x(Um).load(Qz);this.rippleConfig=x(Sz,{optional:!0})||{};this._hostElement=this._elementRef.nativeElement;this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button";
this._listBase&&!this._listBase._isNonInteractive&&this._initInteractiveListItem();this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")};g=IN.prototype;g.ngAfterViewInit=function(){this._monitorProjectedLinesAndTitle();this._updateItemLines(!0)};g.ngOnDestroy=function(){this._subscriptions.unsubscribe();this._rippleRenderer!==null&&this._rippleRenderer._removeTriggerEvents()};g._hasIconOrAvatar=function(){return!(!this._avatars.length&&!this._icons.length)};
g._initInteractiveListItem=function(){this._hostElement.classList.add("mat-mdc-list-item-interactive");this._rippleRenderer=new lpc(this,this._ngZone,this._hostElement,this._platform,x(yj));opc(this._rippleRenderer,this._hostElement)};g._monitorProjectedLinesAndTitle=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._subscriptions.add(Ci(a._lines.changes,a._titles.changes).subscribe(function(){return a._updateItemLines(!1)}))})};
g._updateItemLines=function(a){if(this._lines&&this._titles&&this._unscopedContent){a&&this._checkDomForUnscopedTextContent();var b;a=(b=this._explicitLines)!=null?b:this._inferLinesFromContent();b=this._unscopedContent.nativeElement;this._hostElement.classList.toggle("mat-mdc-list-item-single-line",a<=1);this._hostElement.classList.toggle("mdc-list-item--with-one-line",a<=1);this._hostElement.classList.toggle("mdc-list-item--with-two-lines",a===2);this._hostElement.classList.toggle("mdc-list-item--with-three-lines",
a===3);this._hasUnscopedTextContent?(a=this._titles.length===0&&a===1,b.classList.toggle("mdc-list-item__primary-text",a),b.classList.toggle("mdc-list-item__secondary-text",!a)):(b.classList.remove("mdc-list-item__primary-text"),b.classList.remove("mdc-list-item__secondary-text"))}};g._inferLinesFromContent=function(){var a=this._titles.length+this._lines.length;this._hasUnscopedTextContent&&(a+=1);return a};
g._checkDomForUnscopedTextContent=function(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(function(a){return a.nodeType!==a.COMMENT_NODE}).some(function(a){return!(!a.textContent||!a.textContent.trim())})};
pg.Object.defineProperties(IN.prototype,{lines:{configurable:!0,enumerable:!0,set:function(a){this._explicitLines=xm(a,null);this._updateItemLines(!1)}},disableRipple:{configurable:!0,enumerable:!0,get:function(){var a;return this.disabled||this._disableRipple||this._noopAnimations||!((a=this._listBase)==null||!a.disableRipple)},set:function(a){this._disableRipple=um(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){var a;return this._disabled()||!((a=this._listBase)==null||!a.disabled)},
set:function(a){this._disabled.set(um(a))}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disableRipple||!!this.rippleConfig.disabled}}});IN.\u0275fac=function(a){return new (a||IN)};
IN.\u0275dir=$i({type:IN,contentQueries:function(a,b,c){a&1&&(fk(c,FN,4),fk(c,GN,4));if(a&2){var d;ik(d=jk())&&(b._avatars=d);ik(d=jk())&&(b._icons=d)}},hostVars:4,hostBindings:function(a,b){a&2&&(Hj("aria-disabled",b.disabled)("disabled",b._isButtonElement&&b.disabled||null),rk("mdc-list-item--disabled",b.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}});var dMc=["unscopedContent"],eMc=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],fMc=new kh("SelectionList"),JN=function(){IN.apply(this,arguments);this._selectionList=x(fMc);this._changeDetectorRef=x(sx);this.selectedChange=new Lp;this.togglePosition="after";this._inputsInitialized=this._selected=!1};Y(JN,IN);JN.\u0275dir=IN.\u0275dir;g=JN.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._changeDetectorRef.markForCheck()});this._inputsInitialized=!0};g.ngOnDestroy=function(){var a=this;IN.prototype.ngOnDestroy.call(this);this.selected&&Promise.resolve().then(function(){a.selected=!1})};g.toggle=function(){this.selected=!this.selected};g.focus=function(){this._hostElement.focus()};
g.getLabel=function(){var a,b,c,d;return((d=((a=this._titles)==null?void 0:(b=a.get(0))==null?void 0:b._elementRef.nativeElement)||((c=this._unscopedContent)==null?void 0:c.nativeElement))==null?void 0:d.textContent)||""};g._hasCheckboxAt=function(a){return this._selectionList.multiple&&this._getTogglePosition()===a};g._hasRadioAt=function(a){return!this._selectionList.multiple&&this._getTogglePosition()===a&&!this._selectionList.hideSingleSelectionIndicator};
g._hasIconsOrAvatarsAt=function(a){return this._hasProjected("icons",a)||this._hasProjected("avatars",a)};g._hasProjected=function(a,b){return this._getTogglePosition()!==b&&(a==="avatars"?this._avatars.length!==0:this._icons.length!==0)};g._handleBlur=function(){this._selectionList._onTouched()};g._getTogglePosition=function(){return this.togglePosition||"after"};
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._changeDetectorRef.markForCheck();return!0};g._markForCheck=function(){this._changeDetectorRef.markForCheck()};
g._toggleOnInteraction=function(){this.disabled||(this._selectionList.multiple?(this.selected=!this.selected,this._selectionList._emitChangeEvent([this])):this.selected||(this.selected=!0,this._selectionList._emitChangeEvent([this])))};g._setTabindex=function(a){this._hostElement.setAttribute("tabindex",a+"")};
g._hasBothLeadingAndTrailing=function(){var a=this._hasProjected("icons","after")||this._hasProjected("avatars","after")||this._hasCheckboxAt("after")||this._hasRadioAt("after");return(this._hasProjected("avatars","before")||this._hasProjected("icons","before")||this._hasCheckboxAt("before")||this._hasRadioAt("before"))&&a};
pg.Object.defineProperties(JN.prototype,{checkboxPosition:{configurable:!0,enumerable:!0,get:function(){return this.togglePosition},set:function(a){this.togglePosition=a}},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&&a!==this.value&&this._inputsInitialized&&(this.selected=!1);this._value=a}},selected:{configurable:!0,
enumerable:!0,get:function(){return this._selectionList.selectedOptions.isSelected(this)},set:function(a){a=um(a);a!==this._selected&&(this._setSelected(a),(a||this._selectionList.multiple)&&this._selectionList._reportValueChange())}}});JN.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(JN)))(b||JN)}}();
JN.\u0275cmp=F({type:JN,selectors:[["mat-list-option"]],contentQueries:function(a,b,c){a&1&&(fk(c,DN,5),fk(c,CN,5));if(a&2){var d;ik(d=jk())&&(b._lines=d);ik(d=jk())&&(b._titles=d)}},viewQuery:function(a,b){a&1&&ek(dMc,5);if(a&2){var c;ik(c=jk())&&(b._unscopedContent=c.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:27,hostBindings:function(a,b){a&1&&Q("blur",function(){return b._handleBlur()})("click",function(){return b._toggleOnInteraction()});
a&2&&(Hj("aria-selected",b.selected),rk("mdc-list-item--selected",b.selected&&!b._selectionList.multiple&&b._selectionList.hideSingleSelectionIndicator)("mdc-list-item--with-leading-avatar",b._hasProjected("avatars","before"))("mdc-list-item--with-leading-icon",b._hasProjected("icons","before"))("mdc-list-item--with-trailing-icon",b._hasProjected("icons","after"))("mat-mdc-list-option-with-trailing-avatar",b._hasProjected("avatars","after"))("mdc-list-item--with-leading-checkbox",b._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox",
b._hasCheckboxAt("after"))("mdc-list-item--with-leading-radio",b._hasRadioAt("before"))("mdc-list-item--with-trailing-radio",b._hasRadioAt("after"))("mat-mdc-list-item-both-leading-and-trailing",b._hasBothLeadingAndTrailing())("mat-accent",b.color!=="primary"&&b.color!=="warn")("mat-warn",b.color==="warn")("_mat-animation-noopable",b._noopAnimations))},inputs:{togglePosition:"togglePosition",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},
exportAs:["matListOption"],features:[Bk([{provide:IN,useExisting:JN},{provide:aMc,useExisting:JN}]),xj],ngContentSelectors:["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"],decls:20,vars:4,consts:[["icons",""],["checkbox",""],["radio",""],["unscopedContent",""],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",
3,"cdkObserveContent"],[1,"mdc-list-item__end"],[1,"mat-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],[1,"mdc-radio"],["type","radio",1,"mdc-radio__native-control",3,"checked","disabled"],[1,"mdc-radio__background"],
[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"]],template:function(a,b){if(a&1){var c=y();Zj(eMc);G(0,USa,1,0,"ng-template",null,0,Gk)(2,VSa,6,4,"ng-template",null,1,Gk)(4,WSa,5,4,"ng-template",null,2,Gk);I(6,YSa,2,1,"span",4)(7,$Sa,2,1,"span",5);I(8,bTa,1,1,null,6);L(9,"span",7);ak(10);ak(11,1);L(12,"span",8,3);Q("cdkObserveContent",function(){z(c);return B(b._updateItemLines(!0))});ak(14,2);M()();I(15,dTa,2,1,"span",9)(16,fTa,2,1,"span",9);I(17,hTa,1,1,null,6);ak(18,3);N(19,"div",10)}a&
2&&(E(6),J(b._hasCheckboxAt("before")?6:b._hasRadioAt("before")?7:-1),E(2),J(b._hasIconsOrAvatarsAt("before")?8:-1),E(7),J(b._hasCheckboxAt("after")?15:b._hasRadioAt("after")?16:-1),E(2),J(b._hasIconsOrAvatarsAt("after")?17:-1))},dependencies:[oy,Ty],styles:['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item,[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:0;padding-right:0}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px;width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1;width:var(--mat-checkbox-state-layer-size, 40px);height:var(--mat-checkbox-state-layer-size, 40px);top:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);right:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2)}.mat-mdc-list-option .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__background{border-color:GrayText}}.mat-mdc-list-option .mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{border-color:GrayText}}.mat-mdc-list-option .mdc-checkbox:hover>.mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover>.mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox:hover>.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover>.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:GrayText}}.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox__checkmark{color:CanvasText}}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:GrayText}}.mat-mdc-list-option .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:GrayText}}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-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 mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-list-option .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-list-option .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-list-option .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px);top:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2);left:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-list-option .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0);border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),background-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}@media(forced-colors: active){.mat-mdc-list-option .mdc-radio__inner-circle{background-color:CanvasText !important}}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-list-option .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-list-option .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-list-option._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-list-option._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-list-option._mat-animation-noopable>.mdc-list-item__start>.mdc-checkbox>.mat-mdc-checkbox-touch-target,.mat-mdc-list-option._mat-animation-noopable>.mdc-list-item__start>.mdc-checkbox>.mdc-checkbox__native-control,.mat-mdc-list-option._mat-animation-noopable>.mdc-list-item__start>.mdc-checkbox>.mdc-checkbox__ripple,.mat-mdc-list-option._mat-animation-noopable>.mdc-list-item__start>.mdc-checkbox>.mat-mdc-checkbox-ripple::before,.mat-mdc-list-option._mat-animation-noopable>.mdc-list-item__start>.mdc-checkbox>.mdc-checkbox__background,.mat-mdc-list-option._mat-animation-noopable>.mdc-list-item__start>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark,.mat-mdc-list-option._mat-animation-noopable>.mdc-list-item__start>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mat-mdc-list-option._mat-animation-noopable>.mdc-list-item__start>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__mixedmark,.mat-mdc-list-option._mat-animation-noopable>.mdc-list-item__end>.mdc-checkbox>.mat-mdc-checkbox-touch-target,.mat-mdc-list-option._mat-animation-noopable>.mdc-list-item__end>.mdc-checkbox>.mdc-checkbox__native-control,.mat-mdc-list-option._mat-animation-noopable>.mdc-list-item__end>.mdc-checkbox>.mdc-checkbox__ripple,.mat-mdc-list-option._mat-animation-noopable>.mdc-list-item__end>.mdc-checkbox>.mat-mdc-checkbox-ripple::before,.mat-mdc-list-option._mat-animation-noopable>.mdc-list-item__end>.mdc-checkbox>.mdc-checkbox__background,.mat-mdc-list-option._mat-animation-noopable>.mdc-list-item__end>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark,.mat-mdc-list-option._mat-animation-noopable>.mdc-list-item__end>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mat-mdc-list-option._mat-animation-noopable>.mdc-list-item__end>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__mixedmark{transition:none !important;animation:none !important}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}@media(forced-colors: active){.mat-mdc-list-option.mdc-list-item--selected::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}}\n'],
encapsulation:2,changeDetection:0});var gMc={provide:cG,useExisting:$g(function(){return KN}),multi:!0},hMc=function(a,b){this.source=a;this.options=b},KN=function(){HN.call(this);var a=this;this._element=x(Ph);this._ngZone=x(Kk);this._renderer=x($m);this._initialized=!1;this._destroyed=new oj;this._onChange=function(){};this.selectionChange=new Lp;this.color="accent";this.compareWith=function(d,e){return d===e};this._multiple=!0;var b,c;this._hideSingleSelectionIndicator=(c=(b=this._defaultOptions)==null?void 0:b.hideSingleSelectionIndicator)!=
null?c:!1;this.selectedOptions=new nz(this._multiple);this._onTouched=function(){};this._changeDetectorRef=x(sx);this._selectionListDisabled=kk.apply(null,[!1].concat(p([])));this._handleFocusout=function(){setTimeout(function(){a._containsFocus()||a._resetActiveOption()})};this._handleFocusin=function(d){if(!a.disabled){var e=a._items.toArray().findIndex(function(f){return f._elementRef.nativeElement.contains(d.target)});e>-1?a._setActiveOption(e):a._resetActiveOption()}};this._isNonInteractive=
!1};Y(KN,HN);KN.\u0275dir=HN.\u0275dir;g=KN.prototype;g.ngAfterViewInit=function(){var a=this;this._initialized=!0;this._setupRovingTabindex();this._ngZone.runOutsideAngular(function(){a._listenerCleanups=[a._renderer.listen(a._element.nativeElement,"focusin",a._handleFocusin),a._renderer.listen(a._element.nativeElement,"focusout",a._handleFocusout)]});this._value&&this._setOptionsFromValues(this._value);this._watchForSelectionChange()};
g.ngOnChanges=function(a){var b=a.disabled,c=a.disableRipple;a=a.hideSingleSelectionIndicator;(c&&!c.firstChange||b&&!b.firstChange||a&&!a.firstChange)&&this._markOptionsForCheck()};g.ngOnDestroy=function(){var a;(a=this._keyManager)==null||a.destroy();var b;(b=this._listenerCleanups)==null||b.forEach(function(c){return c()});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._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 hMc(this,a))};g.writeValue=function(a){this._value=a;this.options&&this._setOptionsFromValues(a||[])};g.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck();this._markOptionsForCheck()};
g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};g._watchForSelectionChange=function(){var a=this;this.selectedOptions.changed.pipe(tj(this._destroyed)).subscribe(function(b){for(var c=l(b.added),d=c.next();!d.done;d=c.next())d.value.selected=!0;b=l(b.removed);for(c=b.next();!c.done;c=b.next())c.value.selected=!1;a._containsFocus()||a._resetActiveOption()})};
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._markOptionsForCheck=function(){this.options&&this.options.forEach(function(a){return a._markForCheck()})};
g._setAllOptionsSelected=function(a,b){var c=[];this.options.forEach(function(d){b&&d.disabled||!d._setSelected(a)||c.push(d)});c.length&&this._reportValueChange();return c};
g._handleKeydown=function(a){var b=this._keyManager.activeItem;if(a.keyCode!==13&&a.keyCode!==32||this._keyManager.isTyping()||!b||b.disabled)if(a.keyCode===65&&this.multiple&&!this._keyManager.isTyping()&&ym(a,"ctrlKey","metaKey"))b=this.options.some(function(c){return!c.disabled&&!c.selected}),a.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(b,!0));else this._keyManager.onKeydown(a);else a.preventDefault(),b._toggleOnInteraction()};
g._setupRovingTabindex=function(){var a=this;this._keyManager=cz(uoc(fz(new iz(this._items)))).skipPredicate(function(){return a.disabled});this._resetActiveOption();this._keyManager.change.subscribe(function(b){return a._setActiveOption(b)});this._items.changes.pipe(tj(this._destroyed)).subscribe(function(){var b=a._keyManager.activeItem;b&&a._items.toArray().indexOf(b)!==-1||a._resetActiveOption()})};
g._setActiveOption=function(a){this._items.forEach(function(b,c){return b._setTabindex(c===a?0:-1)});gz(this._keyManager,a)};g._resetActiveOption=function(){if(this.disabled)this._setActiveOption(-1);else{var a=this._items.find(function(b){return b.selected&&!b.disabled})||this._items.first;this._setActiveOption(a?this._items.toArray().indexOf(a):-1)}};g._containsFocus=function(){var a=Am();return a&&this._element.nativeElement.contains(a)};
pg.Object.defineProperties(KN.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){a=um(a);a!==this._multiple&&(this._multiple=a,this.selectedOptions=new nz(this._multiple,this.selectedOptions.selected))}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=um(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._selectionListDisabled()},
set:function(a){this._selectionListDisabled.set(um(a));if(this._selectionListDisabled()){var b;(b=this._keyManager)==null||b.setActiveItem(-1)}}},options:{configurable:!0,enumerable:!0,get:function(){return this._items}}});KN.\u0275fac=function(a){return new (a||KN)};
KN.\u0275cmp=F({type:KN,selectors:[["mat-selection-list"]],contentQueries:function(a,b,c){a&1&&fk(c,JN,5);if(a&2){var d;ik(d=jk())&&(b._items=d)}},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function(a,b){a&1&&Q("keydown",function(c){return b._handleKeydown(c)});a&2&&Hj("aria-multiselectable",b.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",
disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[Bk([gMc,{provide:HN,useExisting:KN},{provide:fMc,useExisting:KN}]),xj,$w],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Zj(),ak(0))},styles:['.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mat-list-list-item-container-color, transparent);border-radius:var(--mat-list-list-item-container-shape, var(--mat-sys-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mat-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mat-list-list-item-one-line-container-height, 48px)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mat-list-list-item-two-line-container-height, 64px)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mat-list-list-item-three-line-container-height, 88px)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;content:"";pointer-events:none}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-leading-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-leading-icon-size, 24px);height:var(--mat-list-list-item-leading-icon-size, 24px);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mat-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mat-list-list-item-leading-avatar-size, 40px);height:var(--mat-list-list-item-leading-avatar-size, 40px);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mat-list-list-item-trailing-supporting-text-font, var(--mat-sys-label-small-font));line-height:var(--mat-list-list-item-trailing-supporting-text-line-height, var(--mat-sys-label-small-line-height));font-size:var(--mat-list-list-item-trailing-supporting-text-size, var(--mat-sys-label-small-size));font-weight:var(--mat-list-list-item-trailing-supporting-text-weight, var(--mat-sys-label-small-weight));letter-spacing:var(--mat-list-list-item-trailing-supporting-text-tracking, var(--mat-sys-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-trailing-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-trailing-icon-size, 24px);height:var(--mat-list-list-item-trailing-icon-size, 24px)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mat-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mat-list-list-item-trailing-supporting-text-color, var(--mat-sys-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-selected-trailing-icon-color, var(--mat-sys-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mat-list-list-item-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-list-list-item-label-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-list-list-item-label-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-list-list-item-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-list-list-item-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-list-list-item-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mat-list-list-item-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mat-list-list-item-focus-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mat-list-list-item-supporting-text-color, var(--mat-sys-on-surface-variant));font-family:var(--mat-list-list-item-supporting-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-list-list-item-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-list-list-item-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-list-list-item-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-list-list-item-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-disabled-leading-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-leading-icon-opacity, 0.38)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-disabled-trailing-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-trailing-icon-opacity, 0.38)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mat-list-list-item-disabled-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:hover::before{background-color:var(--mat-list-list-item-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mat-list-list-item-disabled-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mat-list-list-item-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mat-list-list-item-leading-avatar-shape, var(--mat-sys-corner-full));background-color:var(--mat-list-list-item-leading-avatar-color, var(--mat-sys-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mat-list-list-item-leading-icon-size, 24px)}@media(forced-colors: active){a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none;border-radius:inherit}.mat-mdc-list-item>.mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space, 16px);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space, 16px)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full));--mat-focus-indicator-border-radius: var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-sys-secondary-container))}\n'],
encapsulation:2,changeDetection:0});var LN=function(){Z.apply(this,arguments);var a=this;this.dialogRef=x(YH);this.data=x(dI);this.searchQuery$=new oj;this.hasPendingChanges=this.usePreviousSelectedValues=!1;this.originalSelectedValues=new Set(this.data.selectedValues);this.selectedValues=new Set(this.originalSelectedValues);this.previousSelectedValues=new Set(this.selectedValues);this.saveBtnLabel="Save";this.saveBtnTooltip="Save (Shift + Enter)";this.matchedValues$=this.searchQuery$.pipe(fj(300),jj(),C(function(b){if(b.trim()!==""){var c=
b.toLowerCase();return a.data.allowedValues.filter(function(d){return ka(d.toLowerCase(),c)})}return iMc(a)}))};Y(LN,Z);LN.\u0275dir=Z.\u0275dir;var iMc=function(a){var b=a.data.allowedValues.filter(function(c){return!a.originalSelectedValues.has(c)});return[].concat(p(a.originalSelectedValues),p(b))};
LN.prototype.changeSelection=function(a){var b=this;a=a.options;this.previousSelectedValues=new Set(this.selectedValues);a.forEach(function(d){d.selected?b.selectedValues.add(d.value):b.selectedValues.delete(d.value)});a=ud(this.originalSelectedValues,this.selectedValues);this.hasPendingChanges=!!a;var c=l(jTa(a));a=c.next().value;c=c.next().value;this.saveBtnLabel=a;this.saveBtnTooltip=c};var jMc=function(a){a.dialogRef.close(a.usePreviousSelectedValues?a.previousSelectedValues:a.selectedValues)};
LN.prototype.closeDialog=function(){this.dialogRef.close()};LN.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(LN)))(b||LN)}}();
LN.\u0275cmp=F({type:LN,selectors:[["b-custom-repeated-enum-dialog"]],hostBindings:function(a,b){a&1&&Q("keydown.meta.enter",function(){return jMc(b)})("keydown.shift.enter",function(){return jMc(b)})("keydown.control.enter",function(){return jMc(b)})},standalone:!1,features:[xj],decls:18,vars:10,consts:[["customRepeatedEnumSearchBox",""],["content",""],["mat-dialog-title",""],[1,"search-container"],["svgIcon","search"],["type","search",1,"search-box",3,"click","input","placeholder"],["mat-dialog-content",
"",1,"search-results"],[3,"selectionChange","keydown.meta.enter","keydown.shift.enter","keydown.control.enter"],["checkboxPosition","before",3,"selected","value","height"],["type","button","mat-button","","mat-dialog-close","","tooltip","Close dialog","aria-label","Close dialog","role","button",3,"click"],["type","button","mat-flat-button","","color","primary",3,"click","mat-dialog-close","matTooltip","disabled"],["checkboxPosition","before",3,"selected","value"]],template:function(a,b){if(a&1){var c=
y();L(0,"header",2)(1,"h2");U(2);M();L(3,"div",3);N(4,"mat-icon",4);L(5,"input",5,0);Q("click",function(){z(c);var e=T(6);b.searchQuery$.next(e.value);return B()})("input",function(){z(c);var e=T(6);b.searchQuery$.next(e.value);return B()});M()()();L(7,"section",6,1)(9,"mat-selection-list",7);Q("selectionChange",function(e){z(c);return B(b.changeSelection(e))})("keydown.meta.enter",function(){z(c);return B(b.usePreviousSelectedValues=!0)})("keydown.shift.enter",function(){z(c);return B(b.usePreviousSelectedValues=
!0)})("keydown.control.enter",function(){z(c);return B(b.usePreviousSelectedValues=!0)});Mj(10,iTa,2,5,"mat-list-option",8,Lj);W(12,"async");M()();L(13,"mat-dialog-actions")(14,"button",9);Q("click",function(){z(c);return B(b.closeDialog())});U(15," Cancel ");M();L(16,"button",10);Q("click",function(){z(c);return B(jMc(b))});U(17);M()()}if(a&2){E(2);V("Search for ",b.data.customFieldTitle);E(3);K("placeholder","Type to filter "+b.data.customFieldTitle+" values");Hj("aria-label","Filter "+b.data.customFieldTitle+
" values");E(5);var d;Nj((d=X(12,8,b.matchedValues$))!=null?d:iMc(b));E(6);K("mat-dialog-close",!0)("matTooltip",b.saveBtnTooltip)("disabled",!b.hasPendingChanges);Hj("aria-label",b.saveBtnTooltip);E();V(" ",b.saveBtnLabel," ")}},dependencies:[EA,dA,aA,fI,hI,jI,iI,BN,KN,JN,YF,WF,py],styles:["[_nghost-%COMP%]     .mat-mdc-dialog-content{width:500px;overflow-y:overlay}[_nghost-%COMP%]     .mat-mdc-dialog-title{margin:0}[_nghost-%COMP%]     .mat-mdc-dialog-title::before{height:unset}[_nghost-%COMP%]     .mat-mdc-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%]     .mat-mdc-list-base{margin:0 -24px}[_nghost-%COMP%]     .mat-mdc-list-item{font-size:.8125rem}[_nghost-%COMP%]     .mat-mdc-list-item .mat-mdc-list-item-unscoped-content{overflow-wrap:break-word;white-space:normal}"]});
var MN=function(){this.dialog=x(eI);this.dialogRef=null};MN.prototype.open=function(a){var b=this,c,d;return v(function(e){if(e.nextAddress==1)return c={panelClass:"no-jitter",data:a,ariaLabel:"Custom repeated enum dialog"},b.dialogRef=b.dialog.open(LN,c),w(e,pi(ZH(b.dialogRef)),2);d=e.yieldResult;return e.return(Promise.resolve(d))})};MN.prototype.isOpen=function(){return this.dialogRef?this.dialogRef.getState()===0:!1};MN.\u0275fac=function(a){return new (a||MN)};
MN.\u0275prov=Dg({token:MN,factory:MN.\u0275fac,providedIn:"root"});var kMc=["unscopedContent"],lMc=["text"],mMc=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]];new kh("MatList");var NN=function(){HN.apply(this,arguments)};Y(NN,HN);NN.\u0275dir=HN.\u0275dir;NN.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(NN)))(b||NN)}}();
NN.\u0275cmp=F({type:NN,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[Bk([{provide:HN,useExisting:NN}]),xj],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Zj(),ak(0))},styles:['.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mat-list-list-item-container-color, transparent);border-radius:var(--mat-list-list-item-container-shape, var(--mat-sys-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mat-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mat-list-list-item-one-line-container-height, 48px)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mat-list-list-item-two-line-container-height, 64px)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mat-list-list-item-three-line-container-height, 88px)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;content:"";pointer-events:none}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-leading-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-leading-icon-size, 24px);height:var(--mat-list-list-item-leading-icon-size, 24px);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mat-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mat-list-list-item-leading-avatar-size, 40px);height:var(--mat-list-list-item-leading-avatar-size, 40px);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mat-list-list-item-trailing-supporting-text-font, var(--mat-sys-label-small-font));line-height:var(--mat-list-list-item-trailing-supporting-text-line-height, var(--mat-sys-label-small-line-height));font-size:var(--mat-list-list-item-trailing-supporting-text-size, var(--mat-sys-label-small-size));font-weight:var(--mat-list-list-item-trailing-supporting-text-weight, var(--mat-sys-label-small-weight));letter-spacing:var(--mat-list-list-item-trailing-supporting-text-tracking, var(--mat-sys-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-trailing-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-trailing-icon-size, 24px);height:var(--mat-list-list-item-trailing-icon-size, 24px)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mat-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mat-list-list-item-trailing-supporting-text-color, var(--mat-sys-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-selected-trailing-icon-color, var(--mat-sys-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mat-list-list-item-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-list-list-item-label-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-list-list-item-label-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-list-list-item-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-list-list-item-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-list-list-item-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mat-list-list-item-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mat-list-list-item-focus-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mat-list-list-item-supporting-text-color, var(--mat-sys-on-surface-variant));font-family:var(--mat-list-list-item-supporting-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-list-list-item-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-list-list-item-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-list-list-item-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-list-list-item-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-disabled-leading-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-leading-icon-opacity, 0.38)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-disabled-trailing-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-trailing-icon-opacity, 0.38)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mat-list-list-item-disabled-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:hover::before{background-color:var(--mat-list-list-item-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mat-list-list-item-disabled-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mat-list-list-item-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mat-list-list-item-leading-avatar-shape, var(--mat-sys-corner-full));background-color:var(--mat-list-list-item-leading-avatar-color, var(--mat-sys-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mat-list-list-item-leading-icon-size, 24px)}@media(forced-colors: active){a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none;border-radius:inherit}.mat-mdc-list-item>.mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space, 16px);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space, 16px)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full));--mat-focus-indicator-border-radius: var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-sys-secondary-container))}\n'],
encapsulation:2,changeDetection:0});var ON=function(){IN.apply(this,arguments);this._activated=!1};Y(ON,IN);ON.\u0275dir=IN.\u0275dir;ON.prototype._getAriaCurrent=function(){return this._hostElement.nodeName==="A"&&this._activated?"page":null};ON.prototype._hasBothLeadingAndTrailing=function(){return this._meta.length!==0&&(this._avatars.length!==0||this._icons.length!==0)};
pg.Object.defineProperties(ON.prototype,{activated:{configurable:!0,enumerable:!0,get:function(){return this._activated},set:function(a){this._activated=um(a)}}});ON.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(ON)))(b||ON)}}();
ON.\u0275cmp=F({type:ON,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(a,b,c){a&1&&(fk(c,DN,5),fk(c,CN,5),fk(c,bMc,5));if(a&2){var d;ik(d=jk())&&(b._lines=d);ik(d=jk())&&(b._titles=d);ik(d=jk())&&(b._meta=d)}},viewQuery:function(a,b){a&1&&(ek(kMc,5),ek(lMc,5));if(a&2){var c;ik(c=jk())&&(b._unscopedContent=c.first);ik(c=jk())&&(b._itemText=c.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:13,hostBindings:function(a,b){a&
2&&(Hj("aria-current",b._getAriaCurrent()),rk("mdc-list-item--activated",b.activated)("mdc-list-item--with-leading-avatar",b._avatars.length!==0)("mdc-list-item--with-leading-icon",b._icons.length!==0)("mdc-list-item--with-trailing-meta",b._meta.length!==0)("mat-mdc-list-item-both-leading-and-trailing",b._hasBothLeadingAndTrailing())("_mat-animation-noopable",b._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[xj],ngContentSelectors:"[matListItemAvatar],[matListItemIcon] [matListItemTitle] [matListItemLine] * [matListItemMeta] mat-divider".split(" "),
decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-focus-indicator"]],template:function(a,b){if(a&1){var c=y();Zj(mMc);ak(0);L(1,"span",1);ak(2,1);ak(3,2);L(4,"span",2,0);Q("cdkObserveContent",function(){z(c);return B(b._updateItemLines(!0))});ak(6,3);M()();ak(7,4);ak(8,5);N(9,"div",3)}},dependencies:[Ty],encapsulation:2,changeDetection:0});new kh("MatNavList");var PN=function(){};PN.\u0275fac=function(a){return new (a||PN)};PN.\u0275mod=Zi({type:PN});PN.\u0275inj=Eg({imports:[Uy,Wz,Xz,kz,oN]});var QN=function(){};QN.\u0275fac=function(a){return new (a||QN)};QN.\u0275mod=Zi({type:QN});QN.\u0275inj=Eg({imports:[PN]});var RN=function(){};RN.\u0275fac=function(a){return new (a||RN)};RN.\u0275mod=Zi({type:RN});RN.\u0275inj=Eg({imports:[jC,FG,FI,HI,QN,JL]});var nMc=new kh("GM2_AUTOCOMPLETE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var oMc=["panel"],pMc=function(a,b){this.source=a;this.option=b},qMc=new kh("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1}}}),SN=function(){this._changeDetectorRef=x(sx);this._elementRef=x(Ph);this._defaults=x(qMc);this._animationsDisabled=hn();this._activeOptionChanges=Yh.EMPTY;this._isOpen=this.showPanel=!1;this.displayWith=null;this.optionSelected=
new Lp;this.opened=new Lp;this.closed=new Lp;this.optionActivated=new Lp;this.id=x(Wm).getId("mat-autocomplete-");x(Qm);this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption;this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption;this.requireSelection=!!this._defaults.requireSelection;var a;this._hideSingleSelectionIndicator=(a=this._defaults.hideSingleSelectionIndicator)!=null?a:!1};g=SN.prototype;g._setColor=function(a){this._color=a;this._changeDetectorRef.markForCheck()};
g._syncParentProperties=function(){if(this.options)for(var a=l(this.options),b=a.next();!b.done;b=a.next())b.value._changeDetectorRef.markForCheck()};g.ngAfterContentInit=function(){var a=this;this._keyManager=cz(new hz(this.options)).skipPredicate(this._skipPredicate);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;(a=this._keyManager)==null||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(){var a;this.showPanel=!((a=this.options)==null||!a.length);this._changeDetectorRef.markForCheck()};g._emitSelectEvent=function(a){this.optionSelected.emit(new pMc(this,a))};
g._getPanelAriaLabelledby=function(a){return this.ariaLabel?null:this.ariaLabelledby?(a?a+" ":"")+this.ariaLabelledby:a};g._skipPredicate=function(){return!1};
pg.Object.defineProperties(SN.prototype,{isOpen:{configurable:!0,enumerable:!0,get:function(){return this._isOpen&&this.showPanel}},classList:{configurable:!0,enumerable:!0,set:function(a){this._classList=a;this._elementRef.nativeElement.className=""}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=a;this._syncParentProperties()}}});SN.\u0275fac=function(a){return new (a||SN)};
SN.\u0275cmp=F({type:SN,selectors:[["mat-autocomplete"]],contentQueries:function(a,b,c){a&1&&(fk(c,Vz,5),fk(c,bpc,5));if(a&2){var d;ik(d=jk())&&(b.options=d);ik(d=jk())&&(b.optionGroups=d)}},viewQuery:function(a,b){a&1&&(ek(bk,7),ek(oMc,5));if(a&2){var c;ik(c=jk())&&(b.template=c.first);ik(c=jk())&&(b.panel=c.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,
"autoActiveFirstOption","autoActiveFirstOption",Tk],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",Tk],requireSelection:[2,"requireSelection","requireSelection",Tk],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",Tk],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Tk]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},
exportAs:["matAutocomplete"],features:[Bk([{provide:apc,useExisting:SN}])],ngContentSelectors:["*"],decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(a){a&1&&(Zj(),Dqa(0,kTa,3,17,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:relative;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 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));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none}\n"],
encapsulation:2,changeDetection:0});var rMc={provide:cG,useExisting:$g(function(){return TN}),multi:!0},sMc=new kh("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:function(){var a=x(yj);return function(){return Om(a)}}}),TN=function(){var a=this;this._environmentInjector=x(Vi);this._element=x(Ph);this._injector=x(yj);this._viewContainerRef=x(ck);this._zone=x(Kk);this._changeDetectorRef=x(sx);this._dir=x(Xm,{optional:!0});this._formField=x(UAc,{optional:!0,host:!0});this._viewportRuler=x(Lm);this._scrollStrategy=x(sMc);
this._renderer=x($m);this._animationsDisabled=hn();this._defaults=x(qMc,{optional:!0});this._componentDestroyed=!1;this._initialized=new oj;this._manuallyFloatingLabel=!1;this._viewportSubscription=Yh.EMPTY;this._breakpointObserver=x(Py);this._handsetLandscapeSubscription=Yh.EMPTY;this._canOpenOnNextFocus=!0;this._closeKeyEventStream=new oj;var b;this._overlayPanelClass=tm(((b=this._defaults)==null?void 0:b.overlayPanelClass)||[]);this._windowBlurHandler=function(){a._canOpenOnNextFocus=a.panelOpen||
!a._hasFocus()};this._onChange=function(){};this._onTouched=function(){};this.position="auto";this.autocompleteAttribute="off";this._aboveClass="mat-mdc-autocomplete-panel-above";this._overlayAttached=!1;this.optionSelections=wi(function(){var c=a.autocomplete?a.autocomplete.options:null;return c?c.changes.pipe(rj(c),sj(function(){return Ci.apply(null,p(c.map(function(d){return d.onSelectionChange})))})):a._initialized.pipe(sj(function(){return a.optionSelections}))});this._handlePanelKeydown=function(c){if(c.keyCode===
27&&!ym(c)||c.keyCode===38&&ym(c,"altKey")){if(a._pendingAutoselectedOption){var d;a._updateNativeInputValue((d=a._valueBeforeAutoSelection)!=null?d:"");a._pendingAutoselectedOption=null}a._closeKeyEventStream.next();a._resetActiveItem();c.stopPropagation();c.preventDefault()}};this._trackedModal=null};TN.prototype.ngAfterViewInit=function(){this._initialized.next();this._initialized.complete();this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)};
TN.prototype.ngOnChanges=function(a){a.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())};TN.prototype.ngOnDestroy=function(){var a;(a=this._cleanupWindowBlur)==null||a.call(this);this._handsetLandscapeSubscription.unsubscribe();this._viewportSubscription.unsubscribe();this._componentDestroyed=!0;this._destroyPanel();this._closeKeyEventStream.complete();this._clearFromModal()};
var nob=function(a){a._resetLabel();a._overlayAttached&&(a.panelOpen&&a._zone.run(function(){a.autocomplete.closed.emit()}),a.autocomplete._latestOpeningTrigger===a&&(a.autocomplete._isOpen=!1,a.autocomplete._latestOpeningTrigger=null),a._overlayAttached=!1,a._pendingAutoselectedOption=null,a._overlayRef&&a._overlayRef.hasAttached()&&(a._overlayRef.detach(),a._closingActionsSubscription.unsubscribe()),a._updatePanelState(),a._componentDestroyed||a._changeDetectorRef.detectChanges(),a._trackedModal&&
Km(a._trackedModal,"aria-owns",a.autocomplete.id))};g=TN.prototype;g.updatePosition=function(){this._overlayAttached&&this._overlayRef.updatePosition()};
g._getOutsideClickStream=function(){var a=this;return new bi(function(b){var c=function(e){var f=Bm(e),h=a._formField?a._formField.getConnectedOverlayOrigin().nativeElement:null,k=a.connectedTo?a.connectedTo.elementRef.nativeElement:null;!a._overlayAttached||f===a._element.nativeElement||a._hasFocus()||h&&h.contains(f)||k&&k.contains(f)||!a._overlayRef||a._overlayRef.overlayElement.contains(f)||b.next(e)},d=[a._renderer.listen("document","click",c),a._renderer.listen("document","auxclick",c),a._renderer.listen("document",
"touchend",c)];return function(){d.forEach(function(e){return e()})}})};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=ym(a);b!==27||c||a.preventDefault();this._valueOnLastKeydown=this._element.nativeElement.value;if(this.activeOption&&b===13&&this.panelOpen&&!c)this.activeOption._selectViaInteraction(),this._resetActiveItem(),a.preventDefault();else if(this.autocomplete){var d=this.autocomplete._keyManager.activeItem,e=b===38||b===40;if(b===9||e&&!c&&this.panelOpen)this.autocomplete._keyManager.onKeydown(a);else e&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown);
if(e||this.autocomplete._keyManager.activeItem!==d)this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value))}};
g._handleInput=function(a){var b=a.target;a=b.value;b.type==="number"&&(a=a==""?null:parseFloat(a));if(this._previousValue!==a){this._previousValue=a;this._pendingAutoselectedOption=null;this.autocomplete&&this.autocomplete.requireSelection||this._onChange(a);if(!a)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){var c;if(b=(c=this.autocomplete.options)==null?void 0:c.find(function(e){return e.selected}))c=this._getDisplayValue(b.value),a!==c&&
b.deselect(!1)}if(this._canOpen()&&this._hasFocus()){var d;a=(d=this._valueOnLastKeydown)!=null?d:this._element.nativeElement.value;this._valueOnLastKeydown=null;this._openPanelInternal(a)}}};g._handleFocus=function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0};g._handleClick=function(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()};
g._hasFocus=function(){return Am()===this._element.nativeElement};g._floatLabel=function(a){this._formField&&this._formField.floatLabel==="auto"&&((a===void 0?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=new bi(function(f){Ej(function(){f.next()},{injector:a._environmentInjector})}),c,d,e=(d=(c=this.autocomplete.options)==null?void 0:c.changes.pipe(uj(function(){return Noc(a._positionStrategy)}),ij(0)))!=null?d:li();return Ci(b,e).pipe(sj(function(){return a._zone.run(function(){var f=a.panelOpen;a._resetActiveItem();a._updatePanelState();a._changeDetectorRef.detectChanges();a.panelOpen&&a._overlayRef.updatePosition();f!==a.panelOpen&&(a.panelOpen?
a._emitOpened():a.autocomplete.closed.emit());return a.panelClosingActions})}),hj(1)).subscribe(function(f){return a._setValueAndClose(f)})};g._emitOpened=function(){this.autocomplete.opened.emit()};g._destroyPanel=function(){this._overlayRef&&(nob(this),this._overlayRef.dispose(),this._overlayRef=null)};g._getDisplayValue=function(a){var b=this.autocomplete;return b&&b.displayWith?b.displayWith(a):a};
g._assignOptionValue=function(a){var b=this._getDisplayValue(a);a==null&&this._clearPreviousSelectedOption(null,!1);this._updateNativeInputValue(b!=null?b:"")};g._updateNativeInputValue=function(a){this._formField?this._formField._control.value=a:this._element.nativeElement.value=a;this._previousValue=a};
g._setValueAndClose=function(a){var b=this.autocomplete;(a=a?a.source:this._pendingAutoselectedOption)?(this._clearPreviousSelectedOption(a),this._assignOptionValue(a.value),this._onChange(a.value),b._emitSelectEvent(a),this._element.nativeElement.focus()):b.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null));nob(this)};
g._clearPreviousSelectedOption=function(a,b){var c,d;(c=this.autocomplete)==null||(d=c.options)==null||d.forEach(function(e){e!==a&&e.selected&&e.deselect(b)})};g._openPanelInternal=function(a){a=a===void 0?this._element.nativeElement.value:a;this._attachOverlay(a);this._floatLabel();this._trackedModal&&exa(this._trackedModal,"aria-owns",this.autocomplete.id)};
g._attachOverlay=function(a){var b=this,c=this._overlayRef;if(c)this._positionStrategy.setOrigin(this._getConnectedElement()),c.updateSize({width:this._getPanelWidth()});else{var d;this._portal=new Bz(this.autocomplete.template,this._viewContainerRef,{id:(d=this._formField)==null?void 0:d.getLabelId()});this._overlayRef=c=fn(this._injector,this._getOverlayConfig());this._viewportSubscription=this._viewportRuler.change().subscribe(function(){b.panelOpen&&c&&c.updateSize({width:b._getPanelWidth()})});
this._handsetLandscapeSubscription=this._breakpointObserver.observe("(max-width: 959.98px) and (orientation: landscape)").subscribe(function(f){f.matches?tz(Poc(uz(b._positionStrategy,!0),!0),8):tz(Poc(uz(b._positionStrategy,!1),!1),0)})}c&&!c.hasAttached()&&(c.attach(this._portal),this._valueOnAttach=a,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());a=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0;this.autocomplete._latestOpeningTrigger=
this;var e;this.autocomplete._setColor((e=this._formField)==null?void 0:e.color);this._updatePanelState();this._applyModalPanelOwnership();this.panelOpen&&a!==this.panelOpen&&this._emitOpened()};
g._updatePanelState=function(){this.autocomplete._setVisibility();if(this.panelOpen){var a=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=a.keydownEvents().subscribe(this._handlePanelKeydown));this._outsideClickSubscription||(this._outsideClickSubscription=a.outsidePointerEvents().subscribe())}else{(a=this._keydownSubscription)==null||a.unsubscribe();var b;(b=this._outsideClickSubscription)==null||b.unsubscribe();this._keydownSubscription=this._outsideClickSubscription=null}};
g._getOverlayConfig=function(){var a,b,c;return new Zm({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:(c=this._dir)!=null?c:void 0,hasBackdrop:(a=this._defaults)==null?void 0:a.hasBackdrop,backdropClass:((b=this._defaults)==null?void 0:b.backdropClass)||"cdk-overlay-transparent-backdrop",panelClass:this._overlayPanelClass,disableAnimations:this._animationsDisabled})};
g._getOverlayPosition=function(){var a=Qoc(uz(Sm(this._injector,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=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-autocomplete-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-autocomplete-panel-above"}];b=this.position==="above"?c:this.position==="below"?b:[].concat(p(b),p(c));sz(a,b)};
g._getConnectedElement=function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element};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;if(a.autoActiveFirstOption){for(var b=-1,c=0;c<a.options.length;c++)if(!a.options.get(c).disabled){b=c;break}a._keyManager.setActiveItem(b)}else a._keyManager.setActiveItem(-1)};g._canOpen=function(){var a=this._element.nativeElement;return!a.readOnly&&!a.disabled&&!this.autocompleteDisabled};
g._scrollToOption=function(a){var b=this.autocomplete,c=Bxa(a,b.options,b.optionGroups);a===0&&c===1?b._setScrollTop(0):b.panel&&(a=b.options.toArray()[a])&&(a=a._getHostElement(),b._setScrollTop(Cxa(a.offsetTop,a.offsetHeight,b._getScrollTop(),b.panel.nativeElement.offsetHeight)))};
g._applyModalPanelOwnership=function(){var a=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(a){var b=this.autocomplete.id;this._trackedModal&&Km(this._trackedModal,"aria-owns",b);exa(a,"aria-owns",b);this._trackedModal=a}};g._clearFromModal=function(){this._trackedModal&&(Km(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)};
pg.Object.defineProperties(TN.prototype,{panelOpen:{configurable:!0,enumerable:!0,get:function(){return this._overlayAttached&&this.autocomplete.showPanel}},panelClosingActions:{configurable:!0,enumerable:!0,get:function(){var a=this;return Ci(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Di(function(){return a._overlayAttached})),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef._detachments.pipe(Di(function(){return a._overlayAttached})):
li()).pipe(C(function(b){return b instanceof rpc?b:null}))}},activeOption:{configurable:!0,enumerable:!0,get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}});TN.\u0275fac=function(a){return new (a||TN)};
TN.\u0275dir=$i({type:TN,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(a,b){a&1&&Q("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&&Hj("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-controls",b.autocompleteDisabled||!b.panelOpen?null:b.autocomplete==null?null:b.autocomplete.id)("aria-haspopup",b.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo",
"connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",Tk]},exportAs:["matAutocompleteTrigger"],features:[Bk([rMc]),$w]});var UN=function(){};UN.\u0275fac=function(a){return new (a||UN)};UN.\u0275mod=Zi({type:UN});UN.\u0275inj=Eg({imports:[Jz,Yz,pz,Yz,kz]});var VN=function(){if(x(nMc).disableGmatStyle)throw Error("Mb");var a=x(TN,{self:!0,optional:!0});a&&a._overlayPanelClass.push("gmat-mdc-autocomplete")};VN.\u0275fac=function(a){return new (a||VN)};VN.\u0275dir=$i({type:VN,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],standalone:!1});var WN=function(){var a=this;this.showPlaceholder=!1;this.customFieldTitle="";this.allowMultiSelect=!1;this.selectedValues=[];this.allowedValues=[];this.disabled=!1;this.onValueChange=new iE;this.onApplyChanges=new iE;this.onCancelChanges=new iE;this.searchQuery$=new oj;this.hasPendingChanges=!1;this.selectedValuesMap={};this.oldSelectedValuesMap={};this.suggestedValues$=this.searchQuery$.pipe(fj(300),jj(),C(function(b){var c=b.toLowerCase();return a.allowedValues.filter(function(d){return ka(d.toLowerCase(),
c)})}))};g=WN.prototype;g.ngOnInit=function(){Vda(this.selectedValuesMap);for(var a=l(this.allowedValues),b=a.next();!b.done;b=a.next())b=b.value,this.selectedValuesMap[b]=this.selectedValues.includes(b);this.oldSelectedValuesMap=Object.assign({},this.selectedValuesMap);this.hasPendingChanges=!1};g.ngAfterViewInit=function(){};g.getPlaceholder=function(){return this.showPlaceholder?"Select "+this.customFieldTitle:""};
g.onSpace=function(a){var b;this.allowMultiSelect&&((b=this.autocompleteTrigger)==null?0:b.activeOption)&&(this.toggleSelection(this.autocompleteTrigger.activeOption.value),a.preventDefault(),a.stopPropagation())};g.search=function(a){this.searchQuery$.next(a)};g.handleSelectionChange=function(){this.hasPendingChanges=!vd(this.oldSelectedValuesMap,this.selectedValuesMap)};g.toggleSelection=function(a){this.selectedValuesMap[a]=!this.selectedValuesMap[a];this.handleSelectionChange()};
var oTa=function(a,b){a.allowMultiSelect?(b=Object.keys(Sc(a.selectedValuesMap,function(c){return c})),a.onApplyChanges.emit(b)):a.onValueChange.emit(b==null?void 0:b.option.value)};WN.prototype.cancel=function(){this.onCancelChanges.emit()};WN.\u0275fac=function(a){return new (a||WN)};
WN.\u0275cmp=F({type:WN,selectors:[["b-custom-repeated-enum-picker"]],viewQuery:function(a,b){a&1&&ek(TN,7);if(a&2){var c;ik(c=jk())&&(b.autocompleteTrigger=c.first)}},inputs:{showPlaceholder:"showPlaceholder",customFieldTitle:"customFieldTitle",currentInputValue:"currentInputValue",allowMultiSelect:"allowMultiSelect",selectedValues:"selectedValues",allowedValues:"allowedValues",disabled:"disabled"},outputs:{onValueChange:"onValueChange",onApplyChanges:"onApplyChanges",onCancelChanges:"onCancelChanges"},
standalone:!1,decls:8,vars:9,consts:[["customRepeatedEnumPicker",""],["auto","matAutocomplete"],["id","custom-repeated-enum-picker","type","text","autocomplete","off","aria-label","Custom repeated enum field selection",3,"click","input","keydown.space","placeholder","ngModel","disabled","matAutocomplete"],[3,"optionSelected","hideSingleSelectionIndicator"],[1,"custom-repeated-enum-search-result",3,"value"],[1,"action-buttons"],[3,"checked"],[1,"custom-repeated-enum-suggestion"],[3,"click","change",
"checked"],["mat-flat-button","","type","submit",1,"small","action-button",3,"click","keydown.enter","disabled"],["svgIcon","done",1,"icon-s"],["mat-stroked-button","","type","button",1,"small","action-button",3,"click","keydown.esc"],["svgIcon","close",1,"icon-s"]],template:function(a,b){if(a&1){var c=y();L(0,"input",2,0);Q("click",function(){z(c);var e=T(1);return B(b.search(e.value))})("input",function(){z(c);var e=T(1);return B(b.search(e.value))})("keydown.space",function(e){z(c);return B(b.onSpace(e))});
M();L(2,"mat-autocomplete",3,1);Q("optionSelected",function(e){z(c);return B(oTa(b,e))});Mj(4,nTa,3,2,"mat-option",4,Lj);W(6,"async");M();I(7,pTa,5,5,"div",5)}if(a&2){a=T(3);K("placeholder",b.getPlaceholder())("ngModel",b.currentInputValue)("disabled",b.disabled)("matAutocomplete",a);Hj("aria-disabled",b.disabled);E(2);K("hideSingleSelectionIndicator",!0);E(2);var d;Nj((d=X(6,7,b.suggestedValues$))!=null?d:b.currentInputValue?[]:b.allowedValues);E(3);J(b.allowMultiSelect?7:-1)}},dependencies:[EA,
VN,SN,Vz,TN,Bp,hG,oG,dA,aA,aG,HG,py],styles:[".custom-repeated-enum-search-result.mat-mdc-option[_ngcontent-%COMP%]{line-height:normal;min-height:32px;padding:0 8px}.custom-repeated-enum-search-result.mat-mdc-option.mat-active[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}.custom-repeated-enum-search-result[_ngcontent-%COMP%]   .mat-mdc-checkbox[_ngcontent-%COMP%]{overflow-wrap:anywhere}.custom-repeated-enum-search-result[_ngcontent-%COMP%]   .custom-repeated-enum-suggestion[_ngcontent-%COMP%]{color:#202124;color:var(--text);font-size:.8125rem;padding:4px 0;overflow-wrap:break-word;white-space:normal}.action-buttons[_ngcontent-%COMP%]{display:inline-block;line-height:30px;padding-left:8px}.action-buttons[_ngcontent-%COMP%]   button.gmat-mdc-button.action-button[_ngcontent-%COMP%]{min-width:0;width:28px;padding:0 4px;margin-right:4px}@media(forced-colors: active){.action-buttons[_ngcontent-%COMP%]   button.gmat-mdc-button.action-button[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider)}}"],
changeDetection:0});var XN=function(){};XN.\u0275fac=function(a){return new (a||XN)};XN.\u0275mod=Zi({type:XN});XN.\u0275inj=Eg({imports:[UN]});var YN=function(){};YN.\u0275fac=function(a){return new (a||YN)};YN.\u0275mod=Zi({type:YN});YN.\u0275inj=Eg({imports:[jC,XN,FG,FI,SL]});var tMc=0,ZN=function(){Z.call(this);var a=this;this.teamsService=x(kF);this.ROUTES=Hq;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.linkFocused=new iE;this.linkBlurred=new iE;this.teamName=this.teamId;this.teamLogoUrl=this.teamDescription="";this.providedTeamId$=new nj(1);this.teamLinkId="b-team-link-content-"+tMc;this.fetchedTeam$=this.providedTeamId$.pipe(jj(),Di(function(b){return b!=="0"}),sj(function(b){return lF(a.teamsService,b)}));this.isTeamFetched$=this.fetchedTeam$.pipe(C(function(){return!0}),
rj(!1));this.fetchedTeam$.pipe(tj(this.destroyed$)).subscribe(function(b){a.teamName=b.name;a.teamDescription=b.description;a.teamLogoUrl="https://moma-teams-photos.corp.google.com/logo/"+b.teamId});tMc++};Y(ZN,Z);ZN.\u0275dir=Z.\u0275dir;ZN.prototype.ngOnInit=function(){};ZN.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};ZN.prototype.trackClick=function(a){Yo("teamCard","click",a,1)};
ZN.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};ZN.\u0275fac=function(a){return new (a||ZN)};
ZN.\u0275cmp=F({type:ZN,selectors:[["b-team-card"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},outputs:{linkFocused:"linkFocused",linkBlurred:"linkBlurred"},standalone:!1,features:[xj,$w],decls:21,vars:9,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,"click","routerLink"],["type","button","mat-button","",1,"primary","hovercard-action"],["target","_blank","aria-label","View team in Moma",3,"click","href"],["type","button","mat-button","",1,"gmat-button","primary","hovercard-action"],["svgIcon","pop-out",1,"icon-xxs"],["aria-label",
"View team association on component",3,"href"],["aria-label","View team association on component",3,"click","href"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"div",1)(2,"div",2),N(3,"img",3),L(4,"div",4)(5,"div",5),N(6,"mat-icon",6),U(7),M(),L(8,"div",7),U(9),M()()(),L(10,"p",8),U(11),M(),L(12,"div",9)(13,"a",10),Q("click",function(){return b.trackClick("viewTeamSettingsPage")}),L(14,"button",11),U(15,"View team settings"),M()(),L(16,"a",12),Q("click",function(){return b.trackClick("viewTeamInMoma")}),
L(17,"button",13),U(18,"View team in Moma "),N(19,"mat-icon",14),M()(),I(20,qTa,3,1,"a",15),M()()());a&2&&(E(3),Hj("src",b.teamLogoUrl,Ni),E(4),V(" Team: ",b.teamName," "),E(2),V("Team ID: ",b.teamId),E(2),tk(b.teamDescription),E(2),K("routerLink",zk("/teams/",b.teamId,"/edit")),E(3),K("href",zk("https://moma.corp.google.com/team/",b.teamId),Ni),E(4),J(b.componentId?20:-1))},dependencies:[EA,bC,dA,aA],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 $N=function(){};$N.\u0275fac=function(a){return new (a||$N)};$N.\u0275mod=Zi({type:$N});$N.\u0275inj=Eg({imports:[jC,FI]});var uMc=0,aO=function(){Z.call(this);var a=this;this.teamsService=x(kF);this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.providedTeamId$=new nj(1);this.teamLinkId="b-team-link-content-"+uMc++;this.teamName=this.teamId;this.fetchedTeam$=this.providedTeamId$.pipe(jj(),Di(function(b){return b!=="0"}),sj(function(b){return lF(a.teamsService,b)}));this.isTeamFetched$=this.fetchedTeam$.pipe(C(function(){return!0}),rj(!1));this.fetchedTeam$.pipe(tj(this.destroyed$)).subscribe(function(b){a.teamName=
b.name})};Y(aO,Z);aO.\u0275dir=Z.\u0275dir;aO.prototype.ngOnInit=function(){};aO.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};aO.prototype.trackClick=function(a){Yo("teamCard","click",a,1)};aO.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};aO.\u0275fac=function(a){return new (a||aO)};
aO.\u0275cmp=F({type:aO,selectors:[["b-team-display"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},standalone:!1,features:[xj,$w],decls:7,vars:5,consts:[["card","onedevHovercard"],[3,"componentId","teamId"],["target","_blank",1,"card-anchor","keep-focus-ring",3,"href","onedevHovercardTrigger"],[3,"onedevHovercardTrigger"],["target","_blank",1,"card-anchor","keep-focus-ring",3,"click",
"href","onedevHovercardTrigger"],["svgIcon","pop-out",1,"icon-xs"],[1,"animated-loading-bar"]],template:function(a,b){a&1&&(I(0,tTa,2,2),W(1,"async"),Jj(2,wTa,2,2),L(3,"onedev-hovercard",null,0),Sj(5),N(6,"b-team-card",1),Tj(),M());a&2&&(J(b.teamId!="0"&&X(1,3,b.isTeamFetched$)?0:2),E(6),K("componentId",b.componentId)("teamId",b.teamId.toString()))},dependencies:[EA,xH,DH,ZN,py],encapsulation:2});var bO=function(){};bO.\u0275fac=function(a){return new (a||bO)};bO.\u0275mod=Zi({type:bO});bO.\u0275inj=Eg({imports:[jC,uL,$N]});var vMc=0,cO=function(){this.elementRef=x(Ph);this.titleWhenExpanded=this.titleWhenCollapsed="";this.isExpanded=!1;this.iconName="";this.hasCompactTitleBar=!1;this.ariaLabel="";this.counter=vMc++;this.headerId="b-collapsible-panel-header-"+this.counter;this.id="b-collapsible-panel-"+this.counter};cO.prototype.toggleExpansion=function(){var a=this;this.isExpanded||setTimeout(function(){return a.elementRef.nativeElement.scrollIntoView({behavior:"smooth",block:"nearest"})},200);this.isExpanded=!this.isExpanded};
pg.Object.defineProperties(cO.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"}}});cO.\u0275fac=function(a){return new (a||cO)};
cO.\u0275cmp=F({type:cO,selectors:[["collapsible-panel"],["b-collapsible-panel"]],inputs:{titleWhenCollapsed:"titleWhenCollapsed",titleWhenExpanded:"titleWhenExpanded",isExpanded:"isExpanded",iconName:"iconName",hasCompactTitleBar:"hasCompactTitleBar",ariaLabel:"ariaLabel",title:"title"},standalone:!1,ngContentSelectors:["*"],decls:8,vars:14,consts:[[1,"collapsible-panel"],["type","button",1,"title-bar","unstyled-button",3,"click","mouseup","aria-label"],["size","small",1,"icon",3,"name"],[1,"title"],
[1,"horizontal-line"],["svgIcon","arrow-down",1,"icon-s"],["role","region",1,"content"]],template:function(a,b){a&1&&(Zj(),L(0,"div",0)(1,"button",1),Q("click",function(){return b.toggleExpansion()})("mouseup",function(){b.elementRef.nativeElement.querySelector(".title-bar").blur()}),I(2,xTa,1,1,"b-icon",2),I(3,yTa,2,1,"span",3),I(4,zTa,2,0,"div",4),N(5,"mat-icon",5),M(),L(6,"div",6),ak(7),M()());a&2&&(E(),rk("compact",b.hasCompactTitleBar),Gj("aria-label",zk("",b.ariaLabel?b.ariaLabel+", ":"","collapsible panel")),
Hj("id",b.headerId)("aria-expanded",b.isExpanded)("aria-controls",b.id),E(),J(b.iconName?2:-1),E(),J(b.hasCompactTitleBar&&b.isExpanded?-1:3),E(),J(b.hasCompactTitleBar?4:-1),E(),K("@expandCollapseIcon",b.expandedState),E(),K("@expandCollapseContent",b.expandedState),Hj("id",b.id)("aria-labelledby",b.headerId))},dependencies:[EA,jK],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:[nNa("expandCollapseContent",[Vp("expanded",Up({height:"*",visibility:"visible"})),Vp("collapsed",Up({height:"0",visibility:"hidden"})),Wp("expanded <=> collapsed",[Tp("200ms")])]),nNa("expandCollapseIcon",[Vp("expanded",Up({transform:"rotate(-180deg)"})),Vp("collapsed",Up({transform:"*"})),Wp("expanded <=> collapsed",[Tp("200ms")])])]}});var dO=function(){};dO.\u0275fac=function(a){return new (a||dO)};dO.\u0275mod=Zi({type:dO});dO.\u0275inj=Eg({imports:[jC,vM]});var wMc=[[["xap-dialog-layout-title"]],[["xap-dialog-layout-subtitle"]],[["xap-dialog-layout-content"]],[["xap-dialog-layout-actions"]]],xMc=function(){};xMc.\u0275fac=function(a){return new (a||xMc)};xMc.\u0275dir=$i({type:xMc,selectors:[["xap-dialog-layout-subtitle"]]});var eO=function(){this.el=x(Ph);this.cdRef=x(sx);this.ngZone=x(Kk);this.destroyed=new nj;this.internalScrollable=!1;this.internalScrollPosition="bottom"};
eO.prototype.ngOnInit=function(){var a=this;this.internalScrollPosition=this.getScrollPosition(this.el.nativeElement);this.ngZone.runOutsideAngular(function(){yMc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollable=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})});zMc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollPosition=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})})})};eO.prototype.ngOnDestroy=function(){this.destroyed.next();this.destroyed.complete()};
var yMc=function(a){if(!window.ResizeObserver)return li(AMc(a.el.nativeElement));var b;return Tma(function(c){b=new ResizeObserver(function(){c(AMc(a.el.nativeElement))});b.observe(a.el.nativeElement)},function(){b.disconnect()}).pipe(jj(),tj(a.destroyed))},zMc=function(a){return yi(a.el.nativeElement,"scroll").pipe(ATa(),C(function(){return a.getScrollPosition(a.el.nativeElement)}),jj(),tj(a.destroyed))},AMc=function(a){return a.offsetHeight+a.scrollTop<=a.scrollHeight};
eO.prototype.getScrollPosition=function(a){return a.scrollTop===0?"top":a.offsetHeight+a.scrollTop>=a.scrollHeight?"bottom":"center"};pg.Object.defineProperties(eO.prototype,{scrollable:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollable}},scrollPosition:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollPosition}}});eO.\u0275fac=function(a){return new (a||eO)};
eO.\u0275dir=$i({type:eO,selectors:[["xap-dialog-layout-content"]],hostAttrs:[1,"xap-dialog-layout-content"],hostVars:6,hostBindings:function(a,b){a&2&&rk("xap-dialog-layout-content-scrollable",b.scrollable)("xap-dialog-layout-bottom-scroll-stroke",b.scrollPosition!=="bottom")("xap-dialog-layout-top-scroll-stroke",b.scrollPosition!=="top")}});var fO=function(){};fO.\u0275fac=function(a){return new (a||fO)};
fO.\u0275cmp=F({type:fO,selectors:[["xap-dialog-layout"]],contentQueries:function(a,b,c){a&1&&fk(c,xMc,4);if(a&2){var d;ik(d=jk())&&(b.subtitle=d)}},hostAttrs:[1,"xap-dialog-layout"],hostVars:2,hostBindings:function(a,b){a&2&&rk("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&&(Zj(wMc),
Pj(0,"header",0),ak(1),ak(2,1),Qj(),ak(3,2),ak(4,3))},styles:[".xap-dialog-layout{display:block;padding:24px 24px 8px;overflow-x:hidden}xap-dialog-layout-title{display:block;padding:0;color:var(--xap-dialog-layout-title-text-color)}xap-dialog-layout-subtitle{display:block;padding:0 0 16px;color:var(--xap-dialog-layout-subtitle-text-color)}xap-dialog-layout-content{display:block;padding:0 0 16px;color:var(--xap-dialog-layout-content-text-color)}xap-dialog-layout-actions{color:var(--xap-dialog-layout-actions-text-color)}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 gO=function(){};gO.\u0275fac=function(a){return new (a||gO)};gO.\u0275mod=Zi({type:gO});gO.\u0275inj=Eg({});var BMc=Up({opacity:0}),CMc=Up({opacity:1}),DMc=nNa("dialogContainer",[Vp("void, hidden",BMc),Vp("visible",CMc),Wp("void => *, * => visible",Tp("200ms cubic-bezier(0.0,0.0,0.2,1)",CMc)),Wp("* => void, * => hidden",Tp("200ms cubic-bezier(0.4,0.0,0.2,1)",BMc))]);var EMc=new kh("XAP_IDCO"),hO=function(){Cz.apply(this,arguments);this.portalOutlet=Ik.required(Ez);this.animationState="hidden";this.options=x(EMc);this.changeDetector=x(sx)};Y(hO,Cz);hO.prototype.ngAfterViewInit=function(){};hO.prototype.attachComponentPortal=function(a){return this.portalOutlet().attachComponentPortal(a)};hO.prototype.attachTemplatePortal=function(a){return this.portalOutlet().attachTemplatePortal(a)};var FMc=function(a,b){a.animationState=b?"visible":"hidden";a.changeDetector.markForCheck()};
hO.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(hO)))(b||hO)}}();
hO.\u0275cmp=F({type:hO,selectors:[["xap-inline-dialog-container"]],viewQuery:function(a,b){a&1&&lk(b.portalOutlet,ek(Ez,5));a&2&&zra()},hostAttrs:["role","dialog",1,"xap-inline-dialog-container","gmat-body-2"],hostVars:3,hostBindings:function(a,b){a&2&&($qa("@dialogContainer",b.animationState),Hj("aria-label",b.options.dialogLabel)("tabindex",b.options.dialogTabIndex))},features:[xj],decls:2,vars:0,consts:[["cdkPortalOutlet",""],["cdkFocusInitial","","tabindex","0"]],template:function(a){a&1&&(L(0,
"div"),G(1,BTa,1,0,"ng-template",0),M())},dependencies:[Wy,Fz,Ez],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:[DMc]},changeDetection:0});var GMc=[{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}],HMc={minWidth:220,maxWidth:420,minHeight:64,maxHeight:420},iO=function(){var a=this;this.disabledInternal=!1;this.dialogLabel=null;this.dialogTabIndex=-1;this.overlayDimensions=HMc;this.triggerDescription=
"Press space for more information.";this.forceTrapFocus=this.disableAutoFocusInternal=!1;this.scrollStrategy="close";this.stackLocation=0;this.beforeOpened=new Lp;this.opened=new Lp;this.closed=new Lp;this.destroyed=new nj;this.openStatusChange=new $n(!1);this.openings=this.openStatusChange.pipe(Di(function(b){return b&&!a.disabled}));this.elementFocusedBeforeDialogWasOpened=void 0;this.ngZone=x(Kk);this.overlay=x(Gz);this.elementRef=x(Ph);this.viewContainerRef=x(ck);this.document=x(Mm);this.focusTrapFactory=
x(az);this.ariaDescriber=x(Xy);this.injector=x(yj);IMc(this,this.elementRef.nativeElement);this.attachKeyboardCloseEventListeners(this.elementRef.nativeElement);JMc(this,this.elementRef.nativeElement)};iO.prototype.ngOnInit=function(){var a=this.elementRef.nativeElement;a.hasAttribute("aria-haspopup")||a.setAttribute("aria-haspopup","dialog");a.hasAttribute("aria-describedby")||ooc(this.ariaDescriber,a,this.triggerDescription)};
iO.prototype.ngOnDestroy=function(){this.closeDialog();this.openStatusChange.complete();this.destroyed.next();this.destroyed.complete();this.overlayRef&&this.overlayRef.dispose()};
var IMc=function(a,b){a.ngZone.runOutsideAngular(function(){yi(b,"keydown").pipe(tj(a.destroyed)).subscribe(function(c){switch(c.key){case "Enter":a.openDialog();c.preventDefault();break;case " ":c.preventDefault()}});yi(b,"keyup").pipe(tj(a.destroyed)).subscribe(function(c){switch(c.key){case " ":a.openDialog()}})})},JMc=function(a,b){a.ngZone.runOutsideAngular(function(){yi(b,"focus").pipe(Di(function(){return a.beforeOpened.observers.length>0}),tj(a.destroyed)).subscribe(function(){a.ngZone.run(function(){a.beforeOpened.emit()})})})};
g=iO.prototype;
g.openDialog=function(){var a=this;if(!this.disabled){var b;if((b=this.overlayRef)==null||!b.hasAttached()){var c=this.portal;c!=null&&(this.stackManager&&(this.stackLocation=this.stackManager.register()),this.ngZone.run(function(){a.dialogContainerRef=KMc(a);a.dialogContainerRef.instance.attach(c);var d=a.dialogContainerRef.location.nativeElement;a.attachMouseEventListeners(d);a.attachKeyboardCloseEventListeners(d);a.trapFocus(d);FMc(a.dialogContainerRef.instance,!0);a.opened.observers.length&&setTimeout(function(){a.opened.emit()},
200)}))}}};g.closeDialog=function(){var a=this,b;(b=this.overlayRef)==null||!b.hasAttached()||this.stackManager&&!this.stackManager.tryUnregister(this.stackLocation)||(FMc(this.dialogContainerRef.instance,!1),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;if(this.forceTrapFocus||b&&b===c)this.document&&(this.elementFocusedBeforeDialogWasOpened=this.document.activeElement),this.focusTrap=this.focusTrapFactory.create(a),Ky(this.focusTrap),this.disableAutoFocus||this.focusInitialElement()};g.focusInitialElement=function(){this.focusTrap&&hoc(this.focusTrap).then(function(){})};
g.restoreFocus=function(){var a=this.elementFocusedBeforeDialogWasOpened;if(a&&typeof a.focus==="function"){var b,c=(b=this.dialogContainerRef)==null?void 0:b.location.nativeElement;(b=this.document.activeElement)&&c!=null&&c.contains(b)&&(a.focus(),this.elementFocusedBeforeDialogWasOpened=void 0)}};g.createPositionStrategy=function(a){var b,c;return sz(yz(this.overlay.position(),(b=this.attachedTo)!=null?b:this.elementRef),a).setOrigin((c=this.attachedTo)!=null?c:this.elementRef)};
var LMc=function(a){var b=a.overlay.scrollStrategies;switch(a.scrollStrategy){case "noop":return b.noop();case "block":return b.block();case "reposition":return b.reposition();default:return b.close()}},KMc=function(a){var b=Rk({parent:a.injector,providers:[{provide:EMc,useValue:{dialogLabel:a.dialogLabel,dialogTabIndex:a.dialogTabIndex}}]});b=new Az(hO,null,b);a.overlayRef==null&&(a.overlayRef=a.overlay.create(a.createOverlayConfig(GMc)));a.overlaySize&&a.overlayRef.updateSize(a.overlaySize);a.overlayPositions&&
a.overlayPositions.length>0&&Koc(a.overlayRef,a.createPositionStrategy(a.overlayPositions));return a.overlayRef.attach(b)};
pg.Object.defineProperties(iO.prototype,{dialog:{configurable:!0,enumerable:!0,set:function(a){a&&(this.portal=a instanceof bk?new Bz(a,this.viewContainerRef):new Az(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=um(a)},get:function(){return this.disableAutoFocusInternal}},panelClass:{configurable:!0,
enumerable:!0,set:function(a){if(this.panelClassInternal!==a){if(this.panelClassInternal){var b;(b=this.overlayRef)==null||b.removePanelClass(this.panelClassInternal)}if(a){var c;(c=this.overlayRef)==null||c.addPanelClass(a)}this.panelClassInternal=a}}}});iO.\u0275fac=function(a){return new (a||iO)};
iO.\u0275dir=$i({type:iO,hostVars:1,hostBindings:function(a,b){a&2&&Hj("data-disabled",b.disabled)},inputs:{attachedTo:"attachedTo",dialogLabel:"dialogLabel",dialogTabIndex:"dialogTabIndex",overlaySize:"overlaySize",overlayPositions:"overlayPositions",overlayDimensions:"overlayDimensions",triggerDescription:"triggerDescription",disableAutoFocus:"disableAutoFocus",forceTrapFocus:"forceTrapFocus",panelClass:"panelClass",scrollStrategy:"scrollStrategy",stackManager:"stackManager"},outputs:{beforeOpened:"beforeOpened",
opened:"opened",closed:"closed"}});var jO=function(){iO.call(this);this.hasBackdrop=Hk.apply(null,[!0].concat(p([{alias:"xapInlineDialogClickHasBackdrop",transform:Tk}])));this.renderer=x($m);this.attachMouseEventListeners(this.elementRef.nativeElement)};Y(jO,iO);g=jO.prototype;g.ngOnInit=function(){iO.prototype.ngOnInit.call(this);this.listenForOpenEvents()};
g.listenForOpenEvents=function(){var a=this;this.openStatusChange.pipe(tj(this.destroyed)).subscribe(function(b){b?a.openDialog():a.closeDialog()});this.openings.pipe(Di(function(b){return b&&a.beforeOpened.observers.length>0}),fqa(function(){return a.openStatusChange.pipe(Di(function(b){return!b}))}))};
g.attachMouseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){yi(a,"mouseenter").pipe(tj(b.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})});(new bi(function(e){return b.renderer.listen(a,"click",function(f){return void e.next(f)})})).pipe(tj(b.destroyed)).subscribe(function(e){e.target.closest("[xapInlineDialogClose]")?b.closingDialog():b.openingDialog()});var c;(c=b.overlayRef)==null||c.backdropClick().pipe(tj(b.destroyed)).subscribe(function(){b.closingDialog()});
var d;(d=b.overlayRef)==null||d.outsidePointerEvents().pipe(tj(b.destroyed)).subscribe(function(){b.hasBackdrop()||b.closingDialog()})})};
g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){yi(a,"keyup").pipe(tj(b.destroyed)).subscribe(function(c){var d=c.target;switch(c.key){case "Escape":b.closingDialog();break;case " ":d.closest("[xapInlineDialogClose]")&&b.closingDialog()}});yi(a,"keydown").pipe(tj(b.destroyed)).subscribe(function(c){var d=c.target;switch(c.key){case "Enter":d.closest("[xapInlineDialogClose]")&&b.closingDialog()}})})};g.openingDialog=function(){this.disabled||this.openStatusChange.next(!0)};
g.closingDialog=function(){this.openStatusChange.next(!1)};g.createOverlayConfig=function(a){return new Zm(Object.assign({},this.overlayDimensions,{positionStrategy:iO.prototype.createPositionStrategy.call(this,a),scrollStrategy:LMc(this),hasBackdrop:this.hasBackdrop(),backdropClass:"cdk-overlay-transparent-backdrop",panelClass:this.panelClassInternal}))};jO.\u0275fac=function(a){return new (a||jO)};
jO.\u0275dir=$i({type:jO,selectors:[["","xapInlineDialogClick",""]],hostAttrs:[1,"xap-inline-dialog-click"],inputs:{dialog:[0,"xapInlineDialogClick","dialog"],disabled:[0,"xapInlineDialogDisabled","disabled"],hasBackdrop:[1,"xapInlineDialogClickHasBackdrop","hasBackdrop"]},exportAs:["xapInlineDialogClick"],features:[xj]});var kO=function(){iO.call(this);this.hoverDelayMs=500;this.activity=new oj;this.attachMouseEventListeners(this.elementRef.nativeElement)};Y(kO,iO);g=kO.prototype;g.ngOnInit=function(){iO.prototype.ngOnInit.call(this);this.listenForOpenEvents(this.hoverDelayMs)};
g.listenForOpenEvents=function(a){var b=this,c=this.openStatusChange.pipe(Fpa(function(){return b.activity.pipe(fj(a))}));c.pipe(tj(this.destroyed)).subscribe(function(d){d?b.openDialog():b.closeDialog()});this.openings.pipe(Di(function(d){return d&&b.beforeOpened.observers.length>0}),fqa(function(){return c.pipe(Di(function(d){return!d}))}),tj(this.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})})};
g.attachMouseEventListeners=function(a){var b=this;this.stackManager&&this.stackManager.unregisterEvent().pipe(fj(this.hoverDelayMs),tj(this.destroyed)).subscribe(function(){a.matches(":hover")||b.viewContainerRef.element.nativeElement.matches(":hover")?b.openingDialog():b.closingDialog()});this.ngZone.runOutsideAngular(function(){yi(a,"mouseenter").pipe(tj(b.destroyed)).subscribe(function(){b.openingDialog()});yi(a,"click").pipe(tj(b.destroyed)).subscribe(function(c){c.target.closest("[xapInlineDialogClose]")?
b.closingDialog():(b.openingDialog(),b.openDialog())});yi(a,"mouseleave").pipe(tj(b.destroyed)).subscribe(function(){b.closingDialog()});yi(a,"mousemove").pipe(tj(b.destroyed)).subscribe(function(){b.activity.next()})})};g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){yi(a,"keydown").pipe(tj(b.destroyed)).subscribe(function(c){switch(c.key){case "Escape":var d;((d=b.overlayRef)==null?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 Zm(Object.assign({},this.overlayDimensions,{positionStrategy:iO.prototype.createPositionStrategy.call(this,a),scrollStrategy:LMc(this),panelClass:this.panelClassInternal}))};kO.\u0275fac=function(a){return new (a||kO)};
kO.\u0275dir=$i({type:kO,selectors:[["","xapInlineDialog",""]],hostAttrs:[1,"xap-inline-dialog"],inputs:{dialog:[0,"xapInlineDialog","dialog"],disabled:[0,"xapInlineDialogDisabled","disabled"],hoverDelayMs:"hoverDelayMs"},exportAs:["xapInlineDialog"],features:[xj]});var MMc=["*"],NMc=function(){return".xap-icon-trigger,.xap-text-trigger{pointer-events:auto}.xap-text-trigger{-webkit-text-decoration-line:underline;-moz-text-decoration-line:underline;text-decoration-line:underline;-webkit-text-decoration-style:dashed;-moz-text-decoration-style:dashed;text-decoration-style:dashed;-webkit-text-decoration-color:var(--xap-color-outline,#80868b);-moz-text-decoration-color:var(--xap-color-outline,#80868b);text-decoration-color:var(--xap-color-outline,#80868b);text-underline-position:under;text-underline-offset:1px}"},
lO=function(){this.disabled=!1};lO.\u0275fac=function(a){return new (a||lO)};lO.\u0275cmp=F({type:lO,selectors:[["xap-text-trigger"]],hostAttrs:["role","button"],hostVars:4,hostBindings:function(a,b){a&2&&(Hj("tabindex",b.disabled?-1:0)("aria-disabled",b.disabled?!0:!1),rk("xap-text-trigger",!b.disabled))},inputs:{disabled:[0,"xapInlineDialogDisabled","disabled"]},ngContentSelectors:MMc,decls:1,vars:0,template:function(a){a&1&&(Zj(),ak(0))},styles:[NMc()],encapsulation:2,changeDetection:0});
var mO=function(){this.disabled=!1};mO.\u0275fac=function(a){return new (a||mO)};mO.\u0275cmp=F({type:mO,selectors:[["xap-icon-trigger"]],hostAttrs:["role","button","tabindex","0",1,"xap-icon-trigger"],inputs:{disabled:[0,"xapInlineDialogDisabled","disabled"]},ngContentSelectors:MMc,decls:1,vars:0,template:function(a){a&1&&(Zj(),ak(0))},styles:[NMc()],encapsulation:2,changeDetection:0});var nO=function(){};nO.\u0275fac=function(a){return new (a||nO)};nO.\u0275mod=Zi({type:nO});nO.\u0275inj=Eg({});var OMc=new kh("GM2_INPUT_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var oO=function(a){this.options=a;if(a.disableGmatStyle)throw Error("Mb");};oO.\u0275fac=function(a){return new (a||oO)(Ui(OMc))};oO.\u0275dir=$i({type:oO,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"gmat-mdc-input"],standalone:!1});var pO=function(){};pO.\u0275fac=function(a){return new (a||pO)};pO.\u0275mod=Zi({type:pO});pO.\u0275inj=Eg({imports:[nH,UL]});var PMc=new kh("CDK_DRAG_CONFIG");var QMc={capture:!0},RMc={passive:!1,capture:!0},SMc=function(){};SMc.\u0275fac=function(a){return new (a||SMc)};SMc.\u0275cmp=F({type:SMc,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],decls:0,vars:0,template:function(){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}\n"],encapsulation:2,changeDetection:0});
var qO=function(){var a=this;this._ngZone=x(Kk);this._document=x(Mm);this._styleLoader=x(Um);this._renderer=x(Wi).createRenderer(null,null);this._scroll=new oj;this._dropInstances=new Set;this._dragInstances=new Set;this._activeDragInstances=kk.apply(null,[[]].concat(p([])));this._draggingPredicate=function(b){return b.isDragging()};this._domNodesToDirectives=null;this.pointerMove=new oj;this.pointerUp=new oj;this._preventDefaultWhileDragging=function(b){a._activeDragInstances().length>0&&b.preventDefault()};
this._persistentTouchmoveListener=function(b){a._activeDragInstances().length>0&&(a._activeDragInstances().some(a._draggingPredicate)&&b.preventDefault(),a.pointerMove.next(b))}},TMc=function(a,b){a._dropInstances.has(b)||a._dropInstances.add(b)},UMc=function(a,b){a._dragInstances.add(b);a._dragInstances.size===1&&a._ngZone.runOutsideAngular(function(){var c;(c=a._cleanupDocumentTouchmove)==null||c.call(a);a._cleanupDocumentTouchmove=a._renderer.listen(a._document,"touchmove",a._persistentTouchmoveListener,
RMc)})},WMc=function(a,b){a._dragInstances.delete(b);VMc(a,b);if(a._dragInstances.size===0){var c;(c=a._cleanupDocumentTouchmove)==null||c.call(a)}};
qO.prototype.startDragging=function(a,b){var c=this;if(!(this._activeDragInstances().indexOf(a)>-1)&&(this._styleLoader.load(SMc),this._activeDragInstances.update(function(f){return[].concat(p(f),[a])}),this._activeDragInstances().length===1)){b=b.type.startsWith("touch");var d=function(f){return c.pointerUp.next(f)},e=[["scroll",function(f){return c._scroll.next(f)},QMc],["selectstart",this._preventDefaultWhileDragging,RMc]];b?e.push(["touchend",d,QMc],["touchcancel",d,QMc]):e.push(["mouseup",d,
QMc]);b||e.push(["mousemove",function(f){return c.pointerMove.next(f)},RMc]);this._ngZone.runOutsideAngular(function(){c._globalListeners=e.map(function(f){var h=l(f);f=h.next().value;var k=h.next().value;h=h.next().value;return c._renderer.listen(c._document,f,k,h)})})}};var VMc=function(a,b){a._activeDragInstances.update(function(c){var d=c.indexOf(b);return d>-1?(c.splice(d,1),[].concat(p(c))):c});a._activeDragInstances().length===0&&a._clearGlobalListeners()};
qO.prototype.isDragging=function(a){return this._activeDragInstances().indexOf(a)>-1};qO.prototype.scrolled=function(a){var b=this,c=[this._scroll];a&&a!==this._document&&c.push(new bi(function(d){return b._ngZone.runOutsideAngular(function(){var e=b._renderer.listen(a,"scroll",function(f){b._activeDragInstances().length&&d.next(f)},QMc);return function(){e()}})}));return Ci.apply(null,p(c))};
var XMc=function(a,b,c){a._domNodesToDirectives!=null||(a._domNodesToDirectives=new WeakMap);a._domNodesToDirectives.set(b,c)},YMc=function(a,b){var c;(c=a._domNodesToDirectives)==null||c.delete(b)},ZMc=function(a,b){var c;return((c=a._domNodesToDirectives)==null?void 0:c.get(b))||null};
qO.prototype.ngOnDestroy=function(){var a=this;this._dragInstances.forEach(function(b){return WMc(a,b)});this._dropInstances.forEach(function(b){a._dropInstances.delete(b)});this._domNodesToDirectives=null;this._clearGlobalListeners();this.pointerMove.complete();this.pointerUp.complete()};qO.prototype._clearGlobalListeners=function(){var a;(a=this._globalListeners)==null||a.forEach(function(b){return b()});this._globalListeners=void 0};qO.\u0275fac=function(a){return new (a||qO)};
qO.\u0275prov=Dg({token:qO,factory:qO.\u0275fac,providedIn:"root"});var $Mc=new kh("CDK_DRAG_PARENT");var aNc=new kh("CdkDragHandle"),rO=function(){this.element=x(Ph);this._parentDrag=x($Mc,{optional:!0,skipSelf:!0});this._dragDropRegistry=x(qO);this._stateChanges=new oj;this._disabled=!1;var a;(a=this._parentDrag)==null||a._addHandle(this)};rO.prototype.ngAfterViewInit=function(){if(!this._parentDrag)for(var a=this.element.nativeElement.parentElement;a;){var b=ZMc(this._dragDropRegistry,a);if(b){this._parentDrag=b;b._addHandle(this);break}a=a.parentElement}};
rO.prototype.ngOnDestroy=function(){var a;(a=this._parentDrag)==null||a._removeHandle(this);this._stateChanges.complete()};pg.Object.defineProperties(rO.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;this._stateChanges.next(this)}}});rO.\u0275fac=function(a){return new (a||rO)};
rO.\u0275dir=$i({type:rO,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",Tk]},features:[Bk([{provide:aNc,useExisting:rO}])]});var GTa=0;var bNc=function(a){this._document=a;this.positions=new Map};bNc.prototype.clear=function(){this.positions.clear()};bNc.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:HTa(c)})})};
var cNc=function(a,b){var c=Bm(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(k,q){k.clientRect&&c!==q&&c.contains(q)&&JTa(k.clientRect,f,h)});b.top=e;b.left=d;return{top:f,left:h}};bNc.prototype.getViewportScrollPosition=function(){return{top:window.scrollY,left:window.scrollX}};var dNc=new Set(["position"]),eNc=function(a,b,c,d,e,f,h,k,q,u){this._document=a;this._rootElement=b;this._direction=c;this._initialDomRect=d;this._previewTemplate=e;this._previewClass=f;this._pickupPositionOnPage=h;this._initialTransform=k;this._zIndex=q;this._renderer=u};g=eNc.prototype;g.attach=function(a){this._preview=this._createPreview();a.appendChild(this._preview);"showPopover"in this._preview&&this._preview.showPopover()};
g.destroy=function(){this._preview.remove();var a;(a=this._previewEmbeddedView)==null||a.destroy();this._preview=this._previewEmbeddedView=null};g.setTransform=function(a){this._preview.style.transform=a};g.getBoundingClientRect=function(){return this._preview.getBoundingClientRect()};g.addClass=function(a){this._preview.classList.add(a)};g.addEventListener=function(a,b){return this._renderer.listen(this._preview,a,b)};
g._createPreview=function(){var a=this._previewTemplate,b=this._previewClass,c=a?a.template:null;if(c&&a){var d=a.matchSize?this._initialDomRect:null;c=a.viewContainer.createEmbeddedView(c,a.context);c.detectChanges();var e=LTa(c,this._document);this._previewEmbeddedView=c;a.matchSize?RTa(e,d):e.style.transform=QTa(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else e=FTa(this._rootElement),RTa(e,this._initialDomRect),this._initialTransform&&(e.style.transform=this._initialTransform);
MTa(e.style,{"pointer-events":"none",margin:"showPopover"in e?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},dNc);rq(e,!1);e.classList.add("cdk-drag-preview");e.setAttribute("popover","manual");e.setAttribute("dir",this._direction);b&&(Array.isArray(b)?b.forEach(function(f){return e.classList.add(f)}):e.classList.add(b));return e};pg.Object.defineProperties(eNc.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this._preview}}});var fNc={passive:!0},gNc={passive:!1},hNc={passive:!1,capture:!0},NTa=new Set(["position"]),kNc=function(a,b,c,d,e,f,h){var k=this;this._config=b;this._document=c;this._ngZone=d;this._viewportRuler=e;this._dragDropRegistry=f;this._renderer=h;this._anchor=null;this._passiveTransform={x:0,y:0};this._activeTransform={x:0,y:0};this._hasStartedDragging=kk.apply(null,[!1].concat(p([])));this._moveEvents=new oj;this._resizeSubscription=this._scrollSubscription=this._pointerUpSubscription=this._pointerMoveSubscription=
Yh.EMPTY;this._boundaryElement=null;this._nativeInteractionsEnabled=!0;this._handles=[];this._disabledHandles=new Set;this._direction="ltr";this.lockAxis=null;this.dragStartDelay=0;this.scale=1;this._disabled=!1;this.beforeStarted=new oj;this.started=new oj;this.released=new oj;this.ended=new oj;this.entered=new oj;this.exited=new oj;this.dropped=new oj;this.moved=this._moveEvents;this._pointerDown=function(q){k.beforeStarted.next();if(k._handles.length){var u=k._getTargetHandle(q);!u||k._disabledHandles.has(u)||
k.disabled||k._initializeDragSequence(u,q)}else k.disabled||k._initializeDragSequence(k._rootElement,q)};this._pointerMove=function(q){var u=k._getPointerPositionOnPage(q);if(k._hasStartedDragging()){q.cancelable&&q.preventDefault();var A=k._getConstrainedPointerPosition(u);k._hasMoved=!0;k._lastKnownPointerPosition=u;k._updatePointerDirectionDelta(A);if(k._dropContainer)k._updateActiveDropContainer(A,u);else{u=k.constrainPosition?k._initialDomRect:k._pickupPositionOnPage;var D=k._activeTransform;
D.x=A.x-u.x+k._passiveTransform.x;D.y=A.y-u.y+k._passiveTransform.y;k._applyRootElementTransform(D.x,D.y)}k._moveEvents.observers.length&&k._ngZone.run(function(){k._moveEvents.next({source:k,pointerPosition:A,event:q,distance:k._getDragDistance(A),delta:k._pointerDirectionDelta})})}else Math.abs(u.x-k._pickupPositionOnPage.x)+Math.abs(u.y-k._pickupPositionOnPage.y)>=k._config.dragStartThreshold&&((u=Date.now()>=k._dragStartTime+k._getDragStartDelay(q),D=k._dropContainer,u)?D&&(D.isDragging()||D._activeSiblings.size>
0)||(q.cancelable&&q.preventDefault(),k._hasStartedDragging.set(!0),k._ngZone.run(function(){return k._startDragSequence(q)})):k._endDragSequence(q))};this._pointerUp=function(q){k._endDragSequence(q)};this._nativeDragStart=function(q){if(k._handles.length){var u=k._getTargetHandle(q);!u||k._disabledHandles.has(u)||k.disabled||q.preventDefault()}else k.disabled||q.preventDefault()};iNc(jNc(this,a),b.parentDragRef||null);this._parentPositions=new bNc(c);UMc(f,this)};
kNc.prototype.getPlaceholderElement=function(){return this._placeholder};kNc.prototype.getRootElement=function(){return this._rootElement};
var lNc=function(a){return a.isDragging()?a.getPlaceholderElement():a.getRootElement()},mNc=function(a,b){a._handles=b.map(function(d){return wm(d)});a._handles.forEach(function(d){return rq(d,a.disabled)});a._toggleNativeDragInteractions();var c=new Set;a._disabledHandles.forEach(function(d){a._handles.indexOf(d)>-1&&c.add(d)});a._disabledHandles=c},jNc=function(a,b){var c=wm(b);if(c!==a._rootElement){a._removeRootElementListeners();var d=a._renderer;a._rootElementCleanups=a._ngZone.runOutsideAngular(function(){return[d.listen(c,
"mousedown",a._pointerDown,gNc),d.listen(c,"touchstart",a._pointerDown,fNc),d.listen(c,"dragstart",a._nativeDragStart,gNc)]});a._initialTransform=void 0;a._rootElement=c}typeof SVGElement!=="undefined"&&a._rootElement instanceof SVGElement&&(a._ownerSVGElement=a._rootElement.ownerSVGElement);return a},nNc=function(a,b){a._boundaryElement=b?wm(b):null;a._resizeSubscription.unsubscribe();b&&(a._resizeSubscription=a._viewportRuler.change(10).subscribe(function(){return a._containInsideBoundaryOnResize()}));
return a},iNc=function(a,b){a._parentDragRef=b};g=kNc.prototype;
g.dispose=function(){this._removeRootElementListeners();if(this.isDragging()){var a;(a=this._rootElement)==null||a.remove()}var b;(b=this._marker)==null||b.remove();this._destroyPreview();this._destroyPlaceholder();WMc(this._dragDropRegistry,this);this._removeListeners();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._marker=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._removeListeners=function(){this._pointerMoveSubscription.unsubscribe();this._pointerUpSubscription.unsubscribe();this._scrollSubscription.unsubscribe();var a;(a=this._cleanupShadowRootSelectStart)==null||a.call(this);this._cleanupShadowRootSelectStart=void 0};g._destroyPreview=function(){var a;(a=this._preview)==null||a.destroy();this._preview=null};
g._destroyPlaceholder=function(){var a;(a=this._anchor)==null||a.remove();var b;(b=this._placeholder)==null||b.remove();var c;(c=this._placeholderRef)==null||c.destroy();this._placeholder=this._anchor=this._placeholderRef=null};
g._endDragSequence=function(a){var b=this;if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),VMc(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();
VMc(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();VMc(this._dragDropRegistry,this)}};
g._startDragSequence=function(a){var b=this;VTa(a)&&(this._lastTouchEventTime=Date.now());this._toggleNativeDragInteractions();var c=this._getShadowRoot(),d=this._dropContainer;c&&this._ngZone.runOutsideAngular(function(){b._cleanupShadowRootSelectStart=b._renderer.listen(c,"selectstart",WTa,hNc)});if(d){var e=this._rootElement,f=e.parentNode,h=this._placeholder=this._createPlaceholderElement(),k=this._marker=this._marker||this._document.createComment("");f.insertBefore(k,e);this._initialTransform=
e.style.transform||"";this._preview=new eNc(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1E3,this._renderer);this._preview.attach(this._getPreviewInsertionPoint(f,c));OTa(e,!1);this._document.body.appendChild(f.replaceChild(h,e));this.started.next({source:this,event:a});d.start();this._initialContainer=d;this._initialIndex=d.getItemIndex(this)}else this.started.next({source:this,
event:a}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(d?d._scrollableElements:[])};
g._initializeDragSequence=function(a,b){var c=this;this._parentDragRef&&b.stopPropagation();var d=this.isDragging(),e=VTa(b),f=!e&&b.button!==0,h=this._rootElement,k=Bm(b),q=!e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();e=e?awa(b):$va(b);k&&k.draggable&&b.type==="mousedown"&&b.preventDefault();d||f||q||e||(this._handles.length&&(d=h.style,this._rootElementTapHighlight=d.webkitTapHighlightColor||"",d.webkitTapHighlightColor="transparent"),this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),
this._removeListeners(),this._initialDomRect=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=HTa(this._boundaryElement)),this._pickupPositionInElement=
(d=this._previewTemplate)&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,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;OTa(this._rootElement,!0);this._marker.parentNode.replaceChild(this._rootElement,this._marker);this._destroyPreview();this._destroyPlaceholder();this._initialDomRect=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;var d=a.x;var 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(){var h=c._dropContainer.getItemIndex(c),k;h=((k=c._dropContainer.getItemAtIndex(h+1))==null?void 0:lNc(k))||null;c.exited.next({item:c,container:c._dropContainer});c._dropContainer.exit(c);
c._conditionallyInsertAnchor(f,c._dropContainer,h);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._animatePreviewToPlaceholder=function(){var a=this;if(!this._hasMoved)return Promise.resolve();var b=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating");this._applyPreviewTransform(b.left,b.top);var c=UTa(this._preview._preview);return c===0?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(d){var e=function(k){if(!k||a._preview&&Bm(k)===a._preview.element&&k.propertyName==="transform")h(),d(),clearTimeout(f)},f=setTimeout(e,
c*1.5),h=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=LTa(this._placeholderRef,this._document)):a=FTa(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=VTa(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=VTa(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._initialDomRect,this._pickupPositionInElement):a;a=c.x;c=c.y;if(this.lockAxis==="x"||b==="x")c=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0);else if(this.lockAxis==="y"||b==="y")a=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0);if(this._boundaryRect){var d=
this.constrainPosition?{x:0,y:0}: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=this._handles.length>0||!this.isDragging();a!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=a,rq(this._rootElement,a))}};g._removeRootElementListeners=function(){var a;(a=this._rootElementCleanups)==null||a.forEach(function(b){return b()});this._rootElementCleanups=void 0};
g._applyRootElementTransform=function(a,b){var c=1/this.scale;a=QTa(a*c,b*c);b=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=b.transform&&b.transform!="none"?b.transform:"");b.transform=PTa(a,this._initialTransform)};g._applyPreviewTransform=function(a,b){var c,d=((c=this._previewTemplate)==null?0:c.template)?void 0:this._initialTransform;this._preview.setTransform(PTa(QTa(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(!(b===0&&a===0||this.isDragging())&&this._boundaryElement){var c=this._rootElement.getBoundingClientRect(),d=this._boundaryElement.getBoundingClientRect();if(!(d.width===0&&d.height===0||c.width===0&&c.height===0)){var e=d.left-c.left,f=c.right-d.right,h=d.top-c.top,k=c.bottom-d.bottom;d.width>c.width?(e>0&&(b+=e),f>0&&(b-=f)):b=0;d.height>c.height?(h>0&&(a+=h),k>0&&(a-=k)):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 typeof b==="number"?b:VTa(a)?b.touch:b?b.mouse:0};
g._updateOnScroll=function(a){var b=cNc(this._parentPositions,a);b&&(a=Bm(a),this._boundaryRect&&a!==this._boundaryElement&&a.contains(this._boundaryElement)&&JTa(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((a=this._parentPositions.positions.get(this._document))==null?void 0:a.scrollPosition)||this._parentPositions.getViewportScrollPosition()};g._getShadowRoot=function(){this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=lwa(this._rootElement));return this._cachedShadowRoot};
g._getPreviewInsertionPoint=function(a,b){var c=this._previewContainer||"global";return c==="parent"?a:c==="global"?(a=this._document,b||a.fullscreenElement||a.webkitFullscreenElement||a.mozFullScreenElement||a.msFullscreenElement||a.body):wm(c)};g._getPreviewRect=function(){this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect);return this._previewRect};
g._getTargetHandle=function(a){return this._handles.find(function(b){return a.target&&(a.target===b||b.contains(a.target))})};g._conditionallyInsertAnchor=function(a,b,c){if(a===this._initialContainer){var d;(d=this._anchor)==null||d.remove();this._anchor=null}else if(b===this._initialContainer&&b.hasAnchor){var e;a=(e=this._anchor)!=null?e:this._anchor=FTa(this._placeholder);a.classList.remove("cdk-drag-placeholder");a.classList.add("cdk-drag-anchor");a.style.transform="";c?c.before(a):wm(b.element).appendChild(a)}};
pg.Object.defineProperties(kNc.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(a){a!==this._disabled&&(this._disabled=a,this._toggleNativeDragInteractions(),this._handles.forEach(function(b){return rq(b,a)}))}}});var oNc=function(a,b){this._document=a;this._dragDropRegistry=b;this._previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1};this._relatedNodes=[]};g=oNc.prototype;g.start=function(a){var b=this._element.childNodes;this._relatedNodes=[];for(var c=0;c<b.length;c++){var d=b[c];this._relatedNodes.push([d,d.nextSibling])}this.withItems(a)};
g.sort=function(a,b,c,d){var e=this._getItemIndexFromPointerPosition(a,b,c),f=this._previousSwap;if(e===-1||this._activeItems[e]===a)return null;var h=this._activeItems[e];if(f.drag===h&&f.overlaps&&f.deltaX===d.x&&f.deltaY===d.y)return null;var k=this.getItemIndex(a),q=a.getPlaceholderElement();a=h.getRootElement();e>k?a.after(q):a.before(q);sq(this._activeItems,k,e);b=this._getRootNode().elementFromPoint(b,c);f.deltaX=d.x;f.deltaY=d.y;f.drag=h;f.overlaps=a===b||a.contains(b);return{previousIndex:k,
currentIndex:e}};g.enter=function(a,b,c,d){var e=this._activeItems.indexOf(a);e>-1&&this._activeItems.splice(e,1);d=d==null||d<0?this._getItemIndexFromPointerPosition(a,b,c):d;d===-1&&(d=this._getClosestItemIndexToPointer(a,b,c));(b=this._activeItems[d])&&!this._dragDropRegistry.isDragging(b)?(this._activeItems.splice(d,0,a),b.getRootElement().before(a.getPlaceholderElement())):(this._activeItems.push(a),this._element.appendChild(a.getPlaceholderElement()))};
g.withItems=function(a){this._activeItems=a.slice()};g.withSortPredicate=function(a){this._sortPredicate=a};g.reset=function(){for(var a=this._element,b=this._previousSwap,c=this._relatedNodes.length-1;c>-1;c--){var d=l(this._relatedNodes[c]),e=d.next().value;d=d.next().value;e.parentNode===a&&e.nextSibling!==d&&(d===null?a.appendChild(e):d.parentNode===a&&a.insertBefore(e,d))}this._relatedNodes=[];this._activeItems=[];b.drag=null;b.deltaX=b.deltaY=0;b.overlaps=!1};g.getActiveItemsSnapshot=function(){return this._activeItems};
g.getItemIndex=function(a){return this._activeItems.indexOf(a)};g.getItemAtIndex=function(a){return this._activeItems[a]||null};g.updateOnScroll=function(){var a=this;this._activeItems.forEach(function(b){a._dragDropRegistry.isDragging(b)&&b._sortFromLastPointerPosition()})};g.withElementContainer=function(a){a!==this._element&&(this._element=a,this._rootNode=void 0)};
g._getItemIndexFromPointerPosition=function(a,b,c){var d=this._getRootNode().elementFromPoint(Math.floor(b),Math.floor(c));b=d?this._activeItems.findIndex(function(e){e=e.getRootElement();return d===e||e.contains(d)}):-1;return b!==-1&&this._sortPredicate(b,a)?b:-1};g._getRootNode=function(){this._rootNode||(this._rootNode=lwa(this._element)||this._document);return this._rootNode};
g._getClosestItemIndexToPointer=function(a,b,c){if(this._activeItems.length===0)return-1;if(this._activeItems.length===1)return 0;for(var d=Infinity,e=-1,f=0;f<this._activeItems.length;f++){var h=this._activeItems[f];h!==a&&(h=h.getRootElement().getBoundingClientRect(),h=Math.hypot(b-h.x,c-h.y),h<d&&(d=h,e=f))}return e};var pNc=function(a){this._dragDropRegistry=a;this._itemPositions=[];this.orientation="vertical";this._previousSwap={drag:null,delta:0,overlaps:!1}};g=pNc.prototype;g.start=function(a){this.withItems(a)};
g.sort=function(a,b,c,d){var e=this._itemPositions,f=this._getItemIndexFromPointerPosition(a,b,c,d);if(f===-1&&e.length>0)return null;var h=this.orientation==="horizontal",k=e.findIndex(function(P){return P.drag===a}),q=e[f],u=q.clientRect,A=k>f?1:-1,D=this._getItemOffsetPx(e[k].clientRect,u,A),H=this._getSiblingOffsetPx(k,e,A),O=e.slice();sq(e,k,f);e.forEach(function(P,S){if(O[S]!==P){var aa=P.drag===a;S=aa?D:H;aa=aa?a.getPlaceholderElement():P.drag.getRootElement();P.offset+=S;var ia=Math.round(1/
P.drag.scale*P.offset);h?(aa.style.transform=PTa("translate3d("+ia+"px, 0, 0)",P.initialTransform),JTa(P.clientRect,0,S)):(aa.style.transform=PTa("translate3d(0, "+ia+"px, 0)",P.initialTransform),JTa(P.clientRect,S,0))}});this._previousSwap.overlaps=ITa(u,b,c);this._previousSwap.drag=q.drag;this._previousSwap.delta=h?d.x:d.y;return{previousIndex:k,currentIndex:f}};
g.enter=function(a,b,c,d){d=d==null||d<0?this._getItemIndexFromPointerPosition(a,b,c):d;var e=this._activeDraggables,f=e.indexOf(a),h=a.getPlaceholderElement(),k=e[d];k===a&&(k=e[d+1]);!k&&(d==null||d===-1||d<e.length-1)&&this._shouldEnterAsFirstChild(b,c)&&(k=e[0]);f>-1&&e.splice(f,1);k&&!this._dragDropRegistry.isDragging(k)?(b=k.getRootElement(),b.parentElement.insertBefore(h,b),e.splice(d,0,a)):(this._element.appendChild(h),e.push(a));h.style.transform="";this._cacheItemPositions()};
g.withItems=function(a){this._activeDraggables=a.slice();this._cacheItemPositions()};g.withSortPredicate=function(a){this._sortPredicate=a};
g.reset=function(){var a=this,b;(b=this._activeDraggables)==null||b.forEach(function(c){var d=c.getRootElement();if(d){var e,f=(e=a._itemPositions.find(function(h){return h.drag===c}))==null?void 0:e.initialTransform;d.style.transform=f||""}});this._itemPositions=[];this._activeDraggables=[];this._previousSwap.drag=null;this._previousSwap.delta=0;this._previousSwap.overlaps=!1};g.getActiveItemsSnapshot=function(){return this._activeDraggables};
g.getItemIndex=function(a){return this._getVisualItemPositions().findIndex(function(b){return b.drag===a})};g.getItemAtIndex=function(a){var b;return((b=this._getVisualItemPositions()[a])==null?void 0:b.drag)||null};g.updateOnScroll=function(a,b){var c=this;this._itemPositions.forEach(function(d){JTa(d.clientRect,a,b)});this._itemPositions.forEach(function(d){d=d.drag;c._dragDropRegistry.isDragging(d)&&d._sortFromLastPointerPosition()})};g.withElementContainer=function(a){this._element=a};
g._cacheItemPositions=function(){var a=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(function(b){var c=lNc(b);return{drag:b,offset:0,initialTransform:c.style.transform||"",clientRect:HTa(c)}}).sort(function(b,c){return a?b.clientRect.left-c.clientRect.left:b.clientRect.top-c.clientRect.top})};g._getVisualItemPositions=function(){return this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions};
g._getItemOffsetPx=function(a,b,c){var d=this.orientation==="horizontal",e=d?b.left-a.left:b.top-a.top;c===-1&&(e+=d?b.width-a.width:b.height-a.height);return e};g._getSiblingOffsetPx=function(a,b,c){var d=this.orientation==="horizontal",e=b[a].clientRect;a=b[a+c*-1];b=e[d?"width":"height"]*c;if(a){var f=d?"left":"top";d=d?"right":"bottom";b=c===-1?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=this.orientation==="horizontal";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=this.orientation==="horizontal",h=this._itemPositions.findIndex(function(k){var q=k.drag;k=k.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(k.left)&&b<Math.floor(k.right):c>=Math.floor(k.top)&&c<Math.floor(k.bottom)});return h!==-1&&this._sortPredicate(h,a)?h:-1};var rNc=function(a,b,c,d,e){var f=this;this._dragDropRegistry=b;this._ngZone=d;this._viewportRuler=e;this.sortingDisabled=this.disabled=!1;this.lockAxis=null;this.autoScrollDisabled=!1;this.autoScrollStep=2;this.hasAnchor=!1;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.beforeStarted=new oj;this.entered=new oj;this.exited=new oj;this.dropped=new oj;this.sorted=new oj;this.receivingStarted=new oj;this.receivingStopped=new oj;this._isDragging=!1;this._draggables=
[];this._siblings=[];this._activeSiblings=new Set;this._viewportScrollSubscription=Yh.EMPTY;this._horizontalScrollDirection=this._verticalScrollDirection=0;this._stopScrollTimers=new oj;this._cachedShadowRoot=null;this._scrollableElements=[];this._direction="ltr";this._startScrollInterval=function(){f._stopScrolling();Vma(0,ykc).pipe(tj(f._stopScrollTimers)).subscribe(function(){var h=f._scrollNode,k=f.autoScrollStep;f._verticalScrollDirection===1?h.scrollBy(0,-k):f._verticalScrollDirection===2&&
h.scrollBy(0,k);f._horizontalScrollDirection===1?h.scrollBy(-k,0):f._horizontalScrollDirection===2&&h.scrollBy(k,0)})};a=this.element=wm(a);this._document=c;qNc(this,"vertical").withElementContainer(a);TMc(b,this);this._parentPositions=new bNc(c)};g=rNc.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();d==null&&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,k){k=k===void 0?{}:k;this._reset();this.dropped.next({item:a,currentIndex:b,previousIndex:c,container:this,previousContainer:d,isPointerOverContainer:e,distance:f,dropPoint:h,event:k})};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 a.indexOf(d)===-1})?this._reset():this._sortStrategy.withItems(this._draggables))};
g.withDirection=function(a){this._direction=a;this._sortStrategy instanceof pNc&&(this._sortStrategy.direction=a);return this};g.connectedTo=function(a){this._siblings=a.slice();return this};
var qNc=function(a,b){if(b==="mixed")a._sortStrategy=new oNc(a._document,a._dragDropRegistry);else{var c=new pNc(a._dragDropRegistry);c.direction=a._direction;c.orientation=b;a._sortStrategy=c}a._sortStrategy.withElementContainer(a._container);a._sortStrategy.withSortPredicate(function(d,e){return a.sortPredicate(d,e,a)});return a},sNc=function(a,b){var c=a._container;a._scrollableElements=b.indexOf(c)===-1?[c].concat(p(b)):b.slice()};g=rNc.prototype;
g.withElementContainer=function(a){if(a!==this._container){var b=this._scrollableElements.indexOf(this._container),c=this._scrollableElements.indexOf(a);b>-1&&this._scrollableElements.splice(b,1);c>-1&&this._scrollableElements.splice(c,1);this._sortStrategy&&this._sortStrategy.withElementContainer(a);this._cachedShadowRoot=null;this._scrollableElements.unshift(a);this._container=a}};g.getItemIndex=function(a){return this._isDragging?this._sortStrategy.getItemIndex(a):this._draggables.indexOf(a)};
g.getItemAtIndex=function(a){return this._isDragging?this._sortStrategy.getItemAtIndex(a):this._draggables[a]||null};g._sortItem=function(a,b,c,d){!this.sortingDisabled&&this._domRect&&KTa(this._domRect,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&&!k&&KTa(q.clientRect,a,b)){var A=q.clientRect;q=XTa(A,b);A=YTa(A,a);var D=0,H=0;if(q){var O=u.scrollTop;q===1?O>0&&(D=1):u.scrollHeight-O>u.clientHeight&&(D=2)}A&&(q=u.scrollLeft,c._direction==="rtl"?A===2?q<0&&(H=2):u.scrollWidth+q>u.clientWidth&&(H=1):A===1?q>0&&(H=1):u.scrollWidth-q>u.clientWidth&&(H=2));q=l([D,H]);
d=q.next().value;e=q.next().value;if(d||e)k=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=XTa(h,b);e=YTa(h,a);var k=window}!k||d===this._verticalScrollDirection&&e===this._horizontalScrollDirection&&k===this._scrollNode||(this._verticalScrollDirection=d,this._horizontalScrollDirection=e,this._scrollNode=k,(d||e)&&k?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}};
g._stopScrolling=function(){this._stopScrollTimers.next()};g._draggingStarted=function(){var a=this._container.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(){this._parentPositions.cache(this._scrollableElements);this._domRect=this._parentPositions.positions.get(this._container).clientRect};g._reset=function(){var a=this;this._isDragging=!1;var b=this._container.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 this._domRect!=null&&ITa(this._domRect,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){return this._domRect&&ITa(this._domRect,b,c)&&this.enterPredicate(a,this)?(a=this._getShadowRoot().elementFromPoint(b,c))?a===this._container||this._container.contains(a):!1:!1};
g._startReceiving=function(a,b){var c=this,d=this._activeSiblings;!d.has(a)&&b.every(function(e){return c.enterPredicate(e,c)||c._draggables.indexOf(e)>-1})&&(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=cNc(a._parentPositions,b))&&a._sortStrategy.updateOnScroll(b.top,b.left):a._activeSiblings.size>0&&a._cacheParentPositions()})};g._getShadowRoot=function(){this._cachedShadowRoot||(this._cachedShadowRoot=lwa(this._container)||this._document);return this._cachedShadowRoot};
g._notifyReceivingSiblings=function(){var a=this,b=this._sortStrategy.getActiveItemsSnapshot().filter(function(c){return c.isDragging()});this._siblings.forEach(function(c){return c._startReceiving(a,b)})};var tNc={dragStartThreshold:5,pointerDirectionChangeThreshold:5},sO=function(){this._document=x(Mm);this._ngZone=x(Kk);this._viewportRuler=x(Lm);this._dragDropRegistry=x(qO);this._renderer=x(Wi).createRenderer(null,null)};sO.prototype.createDrag=function(a,b){b=b===void 0?tNc:b;return new kNc(a,b,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry,this._renderer)};sO.\u0275fac=function(a){return new (a||sO)};sO.\u0275prov=Dg({token:sO,factory:sO.\u0275fac,providedIn:"root"});var uNc=new kh("CdkDropList"),tO=function(){var a=this;this.element=x(Ph);this.dropContainer=x(uNc,{optional:!0,skipSelf:!0});this._ngZone=x(Kk);this._viewContainerRef=x(ck);this._dir=x(Xm,{optional:!0});this._changeDetectorRef=x(sx);this._selfHandle=x(aNc,{optional:!0,self:!0});this._parentDrag=x($Mc,{optional:!0,skipSelf:!0});this._dragDropRegistry=x(qO);this._destroyed=new oj;this._handles=new $n([]);this.lockAxis=null;this.scale=1;this.started=new Lp;this.released=new Lp;this.ended=new Lp;this.entered=
new Lp;this.exited=new Lp;this.dropped=new Lp;this.moved=new bi(function(d){var e=a._dragRef.moved.pipe(C(function(f){return{source:a,pointerPosition:f.pointerPosition,event:f.event,delta:f.delta,distance:f.distance}})).subscribe(d);return function(){e.unsubscribe()}});this._injector=x(yj);var b=this.dropContainer,c=x(PMc,{optional:!0});this._dragRef=x(sO).createDrag(this.element,{dragStartThreshold:c&&c.dragStartThreshold!=null?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&c.pointerDirectionChangeThreshold!=
null?c.pointerDirectionChangeThreshold:5,zIndex:c==null?void 0:c.zIndex});this._dragRef.data=this;XMc(this._dragDropRegistry,this.element.nativeElement,this);c&&this._assignDefaults(c);b&&(b.addItem(this),b._dropListRef.beforeStarted.pipe(tj(this._destroyed)).subscribe(function(){a._dragRef.scale=a.scale}));this._syncInputs(this._dragRef);this._handleEvents(this._dragRef)};g=tO.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;Ej(function(){a._updateRootElement();a._setupHandlesListener();a._dragRef.scale=a.scale;a.freeDragPosition&&a._dragRef.setFreeDragPosition(a.freeDragPosition)},{injector:this._injector})};
g.ngOnChanges=function(a){var b=a.rootElementSelector;a=a.freeDragPosition;b&&!b.firstChange&&this._updateRootElement();this._dragRef.scale=this.scale;a&&!a.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)};
g.ngOnDestroy=function(){var a=this;this.dropContainer&&this.dropContainer.removeItem(this);YMc(this._dragDropRegistry,this.element.nativeElement);this._ngZone.runOutsideAngular(function(){a._handles.complete();a._destroyed.next();a._destroyed.complete();a._dragRef.dispose()})};g._addHandle=function(a){var b=this._handles.getValue();b.push(a);this._handles.next(b)};g._removeHandle=function(a){var b=this._handles.getValue();a=b.indexOf(a);a>-1&&(b.splice(a,1),this._handles.next(b))};
g._setPreviewTemplate=function(a){this._previewTemplate=a};g._resetPreviewTemplate=function(a){a===this._previewTemplate&&(this._previewTemplate=null)};g._setPlaceholderTemplate=function(a){this._placeholderTemplate=a};g._resetPlaceholderTemplate=function(a){a===this._placeholderTemplate&&(this._placeholderTemplate=null)};
g._updateRootElement=function(){var a=this.element.nativeElement,b=a;if(this.rootElementSelector){var c;b=a.closest!==void 0?a.closest(this.rootElementSelector):(c=a.parentElement)==null?void 0:c.closest(this.rootElementSelector)}jNc(this._dragRef,b||a)};g._getBoundaryElement=function(){var a=this.boundaryElement;return a?typeof a==="string"?this.element.nativeElement.closest(a):wm(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.scale=b.scale;
a.dragStartDelay=typeof d==="object"&&d?d:xm(d);a.constrainPosition=b.constrainPosition;a.previewClass=b.previewClass;d=nNc(a,b._getBoundaryElement());d._placeholderTemplate=e;d._previewTemplate=f;d._previewContainer=b.previewContainer||"global";c&&a.withDirection(c.value)}});a.beforeStarted.pipe(hj(1)).subscribe(function(){if(b._parentDrag)a._parentDragRef=b._parentDrag._dragRef;else for(var c=b.element.nativeElement.parentElement;c;){var d=ZMc(b._dragDropRegistry,c);if(d){a._parentDragRef=d._dragRef;
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,k=a.rootElementSelector;a=a.previewContainer;this.disabled=h==null?!1:h;this.dragStartDelay=c||0;this.lockAxis=b||null;d&&(this.constrainPosition=d);e&&(this.previewClass=e);f&&(this.boundaryElement=f);k&&(this.rootElementSelector=k);a&&(this.previewContainer=a)};
g._setupHandlesListener=function(){var a=this;this._handles.pipe(uj(function(b){b=b.map(function(c){return c.element});a._selfHandle&&a.rootElementSelector&&b.push(a.element);mNc(a._dragRef,b)}),sj(function(b){return Ci.apply(null,p(b.map(function(c){return c._stateChanges.pipe(rj(c))})))}),tj(this._destroyed)).subscribe(function(b){var c=a._dragRef,d=b.element.nativeElement;b.disabled?!c._disabledHandles.has(d)&&c._handles.indexOf(d)>-1&&(c._disabledHandles.add(d),rq(d,!0)):c._disabledHandles.has(d)&&
(c._disabledHandles.delete(d),rq(d,c.disabled))})};pg.Object.defineProperties(tO.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!(!this.dropContainer||!this.dropContainer.disabled)},set:function(a){this._disabled=a;this._dragRef.disabled=this._disabled}}});tO.\u0275fac=function(a){return new (a||tO)};
tO.\u0275dir=$i({type:tO,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(a,b){a&2&&rk("cdk-drag-disabled",b.disabled)("cdk-drag-dragging",b._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition",
"freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",Tk],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",Uk]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[Bk([{provide:$Mc,
useExisting:tO}]),$w]});var vNc=new kh("CdkDropListGroup");var uO=function(){var a=this;this.element=x(Ph);this._changeDetectorRef=x(sx);this._scrollDispatcher=x(Nm);this._dir=x(Xm,{optional:!0});this._group=x(vNc,{optional:!0,skipSelf:!0});this._destroyed=new oj;this.connectedTo=[];this.id=x(Wm).getId("cdk-drop-list-");this.lockAxis=null;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.dropped=new Lp;this.entered=new Lp;this.exited=new Lp;this.sorted=new Lp;this._unsortedItems=new Set;var b=x(sO),c=x(PMc,{optional:!0});
this._dropListRef=new rNc(this.element,b._dragDropRegistry,b._document,b._ngZone,b._viewportRuler);this._dropListRef.data=this;c&&this._assignDefaults(c);this._dropListRef.enterPredicate=function(d,e){return a.enterPredicate(d.data,e.data)};this._dropListRef.sortPredicate=function(d,e,f){return a.sortPredicate(d,e.data,f.data)};this._setupInputSyncSubscription(this._dropListRef);this._handleEvents(this._dropListRef);uO._dropLists.push(this);this._group&&this._group._items.add(this)};
uO.prototype.addItem=function(a){this._unsortedItems.add(a);a._dragRef._withDropContainer(this._dropListRef);this._dropListRef.isDragging()&&this._syncItemsWithRef(wNc(this).map(function(b){return b._dragRef}))};uO.prototype.removeItem=function(a){this._unsortedItems.delete(a);this._latestSortedRefs&&(a=this._latestSortedRefs.indexOf(a._dragRef),a>-1&&(this._latestSortedRefs.splice(a,1),this._syncItemsWithRef(this._latestSortedRefs)))};
var wNc=function(a){return Array.from(a._unsortedItems).sort(function(b,c){return lNc(b._dragRef).compareDocumentPosition(lNc(c._dragRef))&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})};g=uO.prototype;g.ngOnDestroy=function(){var a=uO._dropLists.indexOf(this);a>-1&&uO._dropLists.splice(a,1);this._group&&this._group._items.delete(this);this._latestSortedRefs=void 0;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(rj(this._dir.value),tj(this._destroyed)).subscribe(function(c){return a.withDirection(c)});a.beforeStarted.subscribe(function(){var c=tm(b.connectedTo).map(function(e){return typeof e==="string"?uO._dropLists.find(function(f){return f.id===e}):e});b._group&&b._group._items.forEach(function(e){c.indexOf(e)===-1&&c.push(e)});if(!b._scrollableParentsResolved){var d=Boc(b._scrollDispatcher,b.element).map(function(e){return e.elementRef.nativeElement});
sNc(b._dropListRef,d);b._scrollableParentsResolved=!0}b.elementContainerSelector&&a.withElementContainer(b.element.nativeElement.querySelector(b.elementContainerSelector));a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.sortingDisabled=b.sortingDisabled;a.autoScrollDisabled=b.autoScrollDisabled;a.autoScrollStep=xm(b.autoScrollStep,2);a.hasAnchor=b.hasAnchor;qNc(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(wNc(b).map(function(c){return c._dragRef}));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()});Ci(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=c==null?!1:c;this.sortingDisabled=d==null?!1:d;this.autoScrollDisabled=e==null?!1:e;this.orientation=a||"vertical";this.lockAxis=b||null};g._syncItemsWithRef=function(a){this._latestSortedRefs=a;this._dropListRef.withItems(a)};
pg.Object.defineProperties(uO.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(a){this._dropListRef.disabled=this._disabled=a}}});uO._dropLists=[];uO.\u0275fac=function(a){return new (a||uO)};
uO.\u0275dir=$i({type:uO,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(a,b){a&2&&(Hj("id",b.id),rk("cdk-drop-list-disabled",b.disabled)("cdk-drop-list-dragging",b._dropListRef.isDragging())("cdk-drop-list-receiving",b._dropListRef._activeSiblings.size>0))},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis",
"lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",Tk],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",Tk],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",Tk],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"],hasAnchor:[2,"cdkDropListHasAnchor",
"hasAnchor",Tk]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[Bk([{provide:vNc,useValue:void 0},{provide:uNc,useExisting:uO}])]});new kh("CdkDragPlaceholder");new kh("CdkDragPreview");var vO=function(){};vO.\u0275fac=function(a){return new (a||vO)};vO.\u0275mod=Zi({type:vO});vO.\u0275inj=Eg({providers:[sO],imports:[pz]});var xNc=["addLink"],yNc=["showFewer"],zNc=["showMore"],ANc=["editButton"],BNc=["removeButton"],CNc=[[["",8,"value-action"]]],aUa=function(a,b){return{item:a,$index:b}},vUa=function(a){return{q:a}},DNc=[Object.assign({},OUa("start","bottom"),PUa("start","top"),{offsetY:8}),Object.assign({},OUa("center","bottom"),PUa("center","top"),{offsetY:8}),Object.assign({},OUa("end","bottom"),PUa("end","top"),{offsetY:8}),Object.assign({},OUa("start","top"),PUa("start","bottom"),{offsetY:-8}),Object.assign({},
OUa("end","top"),PUa("end","bottom"),{offsetY:-8})],wO=function(){Z.apply(this,arguments);var a=this;this.cdr=x(jE,{self:!0});this.dateFormatter=x(pI);this.analytics=x(nE);this.liveAnnouncer=x(Vy);this.principalTypesFridge=x($E);this.issuePermissionService=x(BF);this.activeSession=x(Ks);this.customRepeatedEnumDialogService=x(MN);this.OVERLAY_POSITION_LIST=DNc;this.defaultLineCount=Number.POSITIVE_INFINITY;this.isDefaultOrAllowedValues=this.preventDuplicates=this.readonly=!1;this.values=null;this.providedValues$=
new nj(1);this.showInternalOnlyFieldBadge=!1;this.userMap=new Map;this.enumChoices=null;this.sortedEnumChoices=[];this.enumPendingValues=new Set;this.isUser=this.isActive=!1;this.valuesChange=new iE;this.showingAll=this.listFieldDisabled=!1;this.tooltip=this.title="";this.isExpanded=this.isCollapsible=this.truncate=!1;this.collapsiblePanelTitle=this.iconName="";this.customFieldId=0;this.isRequired=!1;this.inputValidator=null;this.checkAccessLimits=!1;this.toggleAccessLimits=new iE;this.enableTeamAnnotations=
this.activeSession.isInternalSession();this.environmentType=this.activeSession.getEnvironmentType();this.teamId=this.invalidMessage="";this.isString=xd;this.enableNewCustomRepeatedEnumUi=Cx(this.activeSession,"enableNewCustomRepeatedEnumUi");this.enableGerritChanges=Cx(this.activeSession,"enableGerritChanges");this.groups$=this.providedValues$.pipe(sj(function(b){return a.extractGroups(b)}),rj(new Set));this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.focusOnTitle=!1};Y(wO,Z);
wO.\u0275dir=Z.\u0275dir;wO.prototype.ngOnChanges=function(a){if(a.values){var b;this.providedValues$.next((b=this.values)!=null?b:[])}a.showInternalOnlyFieldBadge&&(this.showInternalOnlyFieldBadge=a.showInternalOnlyFieldBadge.currentValue)};wO.prototype.ngOnInit=function(){hUa(this)};
var hUa=function(a){a.sortedEnumChoices=[].concat(p(a.enumChoices||[])).sort(function(b){b=b.value;var c,d=((c=a.values)==null?0:c.includes(b))?1:0,e;return(((e=a.values)==null?0:e.includes(b))?1:0)-d})},iUa=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})},lUa=function(a){var b;return v(function(c){if(c.nextAddress==
1)return a.customRepeatedEnumDialogService.isOpen()?c.return():w(c,a.customRepeatedEnumDialogService.open({customFieldTitle:a.title,allowedValues:MUa(a),selectedValues:a.values}),2);(b=c.yieldResult)&&LUa(a,Array.from(b));ji(c)})},tq=function(a){return a.type==="REPEATED_ENUM"&&a.sortedEnumChoices.length>1E3};wO.prototype.showCodeChanges=function(a){a=!!Po(a);return this.type==="CODE_CHANGES"&&(!a||this.enableGerritChanges)};
var MUa=function(a){return a.sortedEnumChoices.map(function(b){return b.displayText})},LUa=function(a,b){var c,d=(c=a.values)!=null?c:[];c=b.filter(function(f){return!d.includes(f)});var e=d.filter(function(f){return!b.includes(f)});if(c.length||e.length)a.values=b,a.valuesChange.emit({values:a.values,added:c,removed:e});a.closeAddPopup(!0);DUa(a)&&uq(a,!0)};g=wO.prototype;g.isCustomField=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};
g.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((d=b.values)==null?0:d.length){d=Math.min(a,b.values.length-1);var e,f,h;(e=b.removeButtons)==null||(f=e.get(d))==null||(h=f.nativeElement)==null||h.focus()}else{var k,q;(k=b.addLinkEl)==null||(q=k.nativeElement)==null||q.focus()}})};
g.addItems=function(a){var b=[];this.values=this.values||[];if(a)if(this.type==="REPEATED_DATE"){var c=DEa(a);this.preventDuplicates&&this.values.find(function(h){return vd(h,c)})||b.push(c)}else if(this.type==="REPEATED_NUMERIC"&&Lea(this.values)&&Lea(b))a=Number(a),this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(yd(this.values)&&yd(b))if(this.isCustomField())this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(!this.isCustomField()){a=l(a.split(/[,; ]/));for(var d=
a.next();!d.done;d=a.next()){var e=d=d.value;if(this.type==="CODE_CHANGES"){var f=!!Po(d);this.enableGerritChanges&&f?e=d:e=QEa(d)}e&&!this.values.includes(e)&&b.push(e)}}this.isDefaultOrAllowedValues&&this.type!=="REPEATED_DATE"||this.closeAddPopup(!0);b.length!==0&&(this.values=[].concat(p(this.values),p(b)),this.valuesChange.emit({values:this.values,added:b}))};g.onDrop=function(a){sq(this.values,a.previousIndex,a.currentIndex);this.valuesChange.emit({values:this.values})};
g.closeAddPopup=function(a){var b,c=l((b=this.menuTriggers)!=null?b:[]);for(b=c.next();!b.done;b=c.next())b.value.closeMenu();var d;c=l((d=this.popupTriggers)!=null?d:[]);for(d=c.next();!d.done;d=c.next())this.closeInlineDialog(d.value);a&&this.addLinkEl&&this.addLinkEl.nativeElement.focus()};g.closeInlineDialog=function(a){a.disabled||(a.disabled=!0,a.disabled=!1)};
var uq=function(a,b,c){c==null||c.stopPropagation();c==null||c.preventDefault();a.showingAll=b;a.cdr.markForCheck();a.schedule(function(){var d,e,f;(d=(f=a.showFewer)!=null?f:a.showMore)==null||(e=d.nativeElement)==null||e.focus()})},DUa=function(a){return!!a.values&&a.values.length>a.defaultLineCount+1},cUa=function(a){return a.values&&a.type==="REPEATED_DATE"?a.values.map(function(b){return a.dateFormatter.formatUserCalendar(Lo(b))}):a.values&&a.type==="TEAM"?a.values:a.values&&a.type==="WORKSPACES"?
a.values:a.values&&a.type==="REPEATED_ENUM"?a.values:a.displayValuesOverride||(a.values||[]).map(function(b){return xd(b)?b:Kea(b)?""+b:a.dateFormatter.formatUserCalendar(Lo(b))})};g=wO.prototype;
g.textPopupSubmit=function(a,b){var c=this,d,e,f;return v(function(h){if(h.nextAddress==1)return c.inputValidator?w(h,c.inputValidator(a.value.input),3):h.jumpTo(2);h.nextAddress!=2&&(c.invalidMessage=h.yieldResult,c.cdr.markForCheck());if(!a.valid||c.invalidMessage)return h.return();d=a.value.input;(e=a)==null||e.reset();(f=b.querySelector("input"))==null||f.focus();c.addItems(d);ji(h)})};g.trackClick=function(a){this.analytics.trackEvent("linkField","click",a)};g.getUser=function(a){return this.userMap.get(a)};
g.schedule=function(a){this.subscriptions.add(zi.schedule(a))};g.getAriaLabel=function(){if(!this.values||this.values.length===0)return this.title+" is empty";var a=this.title+" has "+this.values.length+" ";switch(this.type){case "REPEATED_DATE":a+="date";break;default:a+="item"}this.values.length>1&&(a+="s");return a};var FUa=function(a,b){return b.displayText+", "+(a.enumPendingValues.has(b.value)?"selected":"not selected")};
wO.prototype.extractGroups=function(a){if(!this.isUser)return li(new Set([]));var b=function(c){return c.principalType==="GROUP"};return this.principalTypesFridge.watchSet(a).pipe(C(function(c){return new Set(c.filter(b).map(function(d){return d.email}))}))};wO.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(wO)))(b||wO)}}();
wO.\u0275cmp=F({type:wO,selectors:[["b-list-field"]],viewQuery:function(a,b){a&1&&(ek(xNc,5),ek(yNc,5),ek(zNc,5),ek(ANc,5,Ph),ek(BNc,5),ek(pK,5),ek(jO,5));if(a&2){var c;ik(c=jk())&&(b.addLinkEl=c.first);ik(c=jk())&&(b.showFewer=c.first);ik(c=jk())&&(b.showMore=c.first);ik(c=jk())&&(b.editButton=c.first);ik(c=jk())&&(b.removeButtons=c);ik(c=jk())&&(b.menuTriggers=c);ik(c=jk())&&(b.popupTriggers=c)}},inputs:{defaultLineCount:"defaultLineCount",readonly:"readonly",preventDuplicates:"preventDuplicates",
isDefaultOrAllowedValues:"isDefaultOrAllowedValues",values:"values",showInternalOnlyFieldBadge:"showInternalOnlyFieldBadge",displayValuesOverride:"displayValuesOverride",enumChoices:"enumChoices",isUser:"isUser",listFieldDisabled:"listFieldDisabled",showingAll:"showingAll",title:"title",type:"type",tooltip:"tooltip",truncate:"truncate",isCollapsible:"isCollapsible",isExpanded:"isExpanded",iconName:"iconName",collapsiblePanelTitle:"collapsiblePanelTitle",customFieldId:"customFieldId",isRequired:"isRequired",
inputValidator:"inputValidator",checkAccessLimits:"checkAccessLimits",teamId:"teamId"},outputs:{valuesChange:"valuesChange",toggleAccessLimits:"toggleAccessLimits"},standalone:!1,features:[Bk([jE]),xj,$w],ngContentSelectors:[".value-action"],decls:25,vars:28,consts:[["addLink",""],["itemRenderer",""],["metadataTools",""],["enumPopup","matMenu"],["textPopup",""],["datePopup",""],["customFieldPopup",""],["editButton",""],["removeButton",""],["showFewer",""],["showMore",""],["textPopupForm","ngForm",
"formEl",""],["tabindex","0",1,"bv2-issue-metadata-field-inner",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],[1,"bv2-editable-title",3,"focusin","focusout","matTooltip","matTooltipPosition","matTooltipDisabled"],["svgIcon","shield_person_24px","matTooltip","Visible to internal only","aria-label","Visible to internal only",1,"icon-xs","internal-only-badge"],["cdkDropList","",1,"list-field-content",3,"cdkDropListDropped","cdkDropListDisabled"],[3,"isExpanded","iconName","hasCompactTitleBar",
"title"],[1,"bv2-field-user-action-footer"],["matMenuContent",""],["cdkDrag",""],[3,"ngTemplateOutlet"],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[1,"no-value"],["type","button","mat-button","","dialogLabel","Add a new item to the list","matTooltip","Add a new item to the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions"],["type","button","mat-button","","panelClass","bv2-add-item-bubble","tabindex","0",1,"mat-primary",
"bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","dialogLabel","overlayPositions","matTooltip"],["type","button","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"],["type","button","mat-button","","dialogLabel","Select items in the list","panelClass","bv2-add-item-bubble","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool",
"bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions"],["type","button","mat-button","","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny"],["type","button","mat-button","","aria-haspopup","true","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"menuOpened","menuClosed","matMenuTriggerFor"],["type","button","mat-button","","matTooltip","Select items in the list",
"tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"click"],["type","button","mat-button","","panelClass","bv2-add-item-bubble","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"beforeOpened","xapInlineDialogClick","dialogLabel","overlayPositions","matTooltip"],[1,"flex-kids-x","flex-cross-axis-centered","flex-wrappable"],[1,"bv2-issue-metadata-list-item"],[1,"overflow-ellipsis",3,"matTooltip"],["type","button",1,"bv2-remove-icon","bv2-remove-item",
"keep-focus-ring",3,"disabled","matTooltip"],[1,"float-clear"],[3,"codeChange"],["target","_blank",1,"bv2-metadata-link",3,"href"],[3,"teamId","componentId"],["target","_blank",1,"bv2-metadata-link",3,"click","href"],["routerLink","/issues",1,"subtle-link",3,"click","queryParams"],[3,"maxWidth","modelValue","disabled"],["type","button",1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"click","disabled","matTooltip"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",
3,"matTooltip"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],[1,"bv2-metadata-tool"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],["mat-menu-item","","type","button","role","menuitemcheckbox",3,"disabled","b-menu-item-checked"],["mat-menu-item","","type","button","role","menuitemcheckbox",3,"click","disabled"],[1,"b-menu-item-check-mark"],["svgIcon",
"done",1,"icon-s"],[3,"ngSubmit"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type"],[1,"bv2-list-field-addition-dialog-buttons"],["mat-flat-button","","type","submit",1,"medium","field-popup-button",3,"disabled"],["svgIcon","done"],["mat-stroked-button","","type","button",1,"medium","field-popup-button",3,"click"],["svgIcon","close"],[3,"dateChange","cancelClicked","required","renderPanel"],[3,"onApplyChanges","onCancelChanges","allowMultiSelect",
"customFieldTitle","allowedValues","selectedValues"]],template:function(a,b){if(a&1){var c=y();Zj(CNc);L(0,"div")(1,"div",12)(2,"div",13);Q("focusin",function(){z(c);return B(b.focusOnTitle=!0)})("focusout",function(){z(c);return B(b.focusOnTitle=!1)});I(3,ZTa,2,1,"label");I(4,$Ta,1,0,"mat-icon",14);M();L(5,"div",15);Q("cdkDropListDropped",function(d){z(c);return B(b.onDrop(d))});I(6,dUa,4,5,"collapsible-panel",16)(7,gUa,4,2);L(8,"div",17,0);I(10,qUa,3,1);ak(11);M()()();G(12,AUa,1,1,"ng-template",
null,1,Gk)(14,EUa,2,2,"ng-template",null,2,Gk);L(16,"mat-menu",null,3);G(18,HUa,2,0,"ng-template",18);M();G(19,JUa,12,9,"ng-template",null,4,Gk)(21,KUa,1,2,"ng-template",null,5,Gk)(23,NUa,3,4,"ng-template",null,6,Gk);M()}a&2&&(rk("bv2-issue-metadata-list-field",!b.showInternalOnlyFieldBadge)("bv2-issue-metadata-field",!b.showInternalOnlyFieldBadge)("internal-only",b.showInternalOnlyFieldBadge)("empty-list-field-indication",b.isRequired&&!(b.values==null?0:b.values.length))("active",b.isActive&&!b.listFieldDisabled&&
!b.readonly),E(),rk("bv2-disabled",b.listFieldDisabled)("bv2-readonly",b.readonly),K("matTooltip",b.tooltip)("matTooltipPosition","left")("matTooltipDisabled",tq(b)),Hj("aria-label",b.getAriaLabel()),E(),K("matTooltip",b.tooltip)("matTooltipPosition","left")("matTooltipDisabled",!tq(b)),E(),J(b.title?3:-1),E(),J(b.showInternalOnlyFieldBadge?4:-1),E(),rk("draggable",(b.values==null?null:b.values.length)&&b.isDefaultOrAllowedValues),K("cdkDropListDisabled",!b.isDefaultOrAllowedValues),E(),J(b.isCollapsible||
b.enableNewCustomRepeatedEnumUi&&tq(b)?6:7),E(4),J(b.readonly?-1:10))},dependencies:[oy,EA,bC,WG,fN,pG,Bp,hG,iG,AG,oG,mG,dA,aA,YF,WF,LM,uO,tO,fO,eO,jO,FL,mK,kK,lK,pK,cO,aO,WN,xN],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}b-icon[_ngcontent-%COMP%]{margin-bottom:4px}.internal-only[_ngcontent-%COMP%]{background-color:#f4f5f6;background-color:var(--tonal-fill-grey);margin:5px;border-radius:5%;padding:5px 15px}.internal-only[_ngcontent-%COMP%]   .internal-only-badge[_ngcontent-%COMP%]{color:#188038;color:var(--good-bg-inverse);transform:translate(5px, 5px)}[_nghost-%COMP%]     .bv2-field-user-action-footer span{width:max-content;display:flex}[_nghost-%COMP%]     b-icon.group-icon{width:12px;margin-top:1px}[_nghost-%COMP%]     b-icon.group-icon mat-icon{width:inherit}[_nghost-%COMP%]     b-icon.group-icon mat-icon svg{width:12px;height:16px}[_nghost-%COMP%]     b-icon.disabled-icon mat-icon svg{color:#bdc1c6;color:var(--text-disabled)}"]});
var ENc={CODE_CHANGES:"CODE_CHANGES",POSTMORTEMS:"POSTMORTEMS",REPEATED_TEXT:"REPEATED_TEXT",REPEATED_DATE:"REPEATED_DATE",REPEATED_ENUM:"REPEATED_ENUM",REPEATED_NUMERIC:"REPEATED_NUMERIC",TEAM:"TEAM",WORKSPACES:"WORKSPACES"},xO=function(){};xO.\u0275fac=function(a){return new (a||xO)};xO.\u0275mod=Zi({type:xO});xO.\u0275inj=Eg({imports:[jC,vM,pO,zN,pN,FG,FI,JL,vL,$N,MM,cN,vO,gO,nO,IL,dO,nO,bO,YN,AN,RN]});var FNc=new RegExp("ALIAS:("+Object.values({GOOGLERS_UNRESTRICTED:"googlers_unrestricted",GOOGLE_DOMAIN:"google_domain",PUBLIC_NON_GOOGLE:"public_non_google",PUBLIC:"public"}).join("|")+")");var GNc=Up({opacity:"0"}),HNc=Di(function(a){return a}),INc=ai(jj(),HNc,gj()),JNc=new kh("xap-bubble UX style"),yO=function(a){var b=this;this.activity=new oj;this.openedSubject=new $n(!1);this.destroy=new nj;this.overlayPositions=[];this.overlayPanelClass="";this.hoverDelayMs=50;this.beforeShow=this.beforeOpened=new Lp;this.onOpened=new Lp;this.bubbleStyle=a||"xap-bubble-md1";this.opened=this.openedSubject.pipe(Fpa(function(){return b.activity.pipe(fj(b.hoverDelayMs))}));a=tj(this.destroy);this.opened.pipe(INc,
a).subscribe(this.onOpened);this.openedSubject.pipe(HNc,fqa(function(){return b.opened.pipe(Di(function(c){return!c}))}),a).subscribe(function(){b.beforeOpened.emit()})};yO.prototype.ngOnDestroy=function(){this.destroy.next();this.destroy.complete()};yO.prototype.toggle=function(a){this.openedSubject.next(a);this.activity.next()};yO.\u0275fac=function(a){return new (a||yO)(Ui(JNc,8))};
yO.\u0275cmp=F({type:yO,selectors:[["xap-bubble"]],inputs:{panelTemplate:"panelTemplate",overlayPositions:"overlayPositions",overlayPanelClass:"overlayPanelClass",hoverDelayMs:"hoverDelayMs"},outputs:{beforeOpened:"beforeOpened",beforeShow:"beforeShow",onOpened:"opened"},standalone:!1,ngContentSelectors:["*"],decls:5,vars:7,consts:[["trigger","cdkOverlayOrigin"],["cdkOverlayOrigin","",1,"xap-bubble-trigger",3,"mouseenter","mouseleave","mousemove","ngClass"],["cdkConnectedOverlay","","cdkConnectedOverlayPush",
"true",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],[1,"xap-bubble-panel",3,"mouseenter","mouseleave","mousemove","ngClass"],[4,"ngTemplateOutlet"]],template:function(a,b){if(a&1){var c=y();Zj();L(0,"span",1,0);Q("mouseenter",function(){z(c);return B(b.toggle(!0))})("mouseleave",function(){z(c);return B(b.toggle(!1))})("mousemove",function(){z(c);b.activity.next();return B()});ak(2);M();G(3,TUa,2,3,"ng-template",2);W(4,"async")}a&
2&&(a=T(1),K("ngClass",b.bubbleStyle),E(3),K("cdkConnectedOverlayPanelClass",b.overlayPanelClass)("cdkConnectedOverlayPositions",b.overlayPositions)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",X(4,5,b.opened)))},dependencies:[ly,oy,Iz,Hz,py],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:[nNa("fade",[Wp(":enter",[GNc,Tp("225ms")]),Wp(":leave",[Tp("195ms",GNc)])])]}});var zO=function(){this.activeSession=x(Ks);this.documentationLinks=x(XH);this.labelOnlyMode=this.compactMode=!1;this.chipText=this.bubbleText=this.chipClass=""};
zO.prototype.ngOnChanges=function(){if(this.accessLevel)switch(this.accessLevel){case "EXTERNAL_PARTNER":this.chipClass="partner";this.chipText=this.compactMode?"Partners":"Visible to Partners";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.chipText=this.compactMode?"Public":"Visible to Public";this.bubbleText='Components and issues designated as "Visible to Public" can be\n                shared with any external user.';
break;default:this.chipText=this.bubbleText=this.chipClass=""}};zO.\u0275fac=function(a){return new (a||zO)};
zO.\u0275cmp=F({type:zO,selectors:[["b-component-access-level-indicator"]],inputs:{accessLevel:"accessLevel",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode"},standalone:!1,features:[$w],decls:1,vars:1,consts:[["popup",""],[1,"chippy","rounded",3,"class","xs"],[3,"panelTemplate"],[1,"chippy","rounded"],[1,"chippy","rounded","nowrap"],[1,"bubble"],["target","_blank",3,"href"]],template:function(a,b){a&1&&I(0,XUa,2,1);if(a&2){if(a=b.accessLevel)a=b.activeSession.isInternalSession()?b.accessLevel===
"EXTERNAL_PARTNER"||b.accessLevel==="EXTERNAL_PUBLIC":Ax(b.activeSession)?b.accessLevel==="EXTERNAL_PUBLIC":!1;J(a?0:-1)}},dependencies:[yO],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 KNc=Hq.listIssues.makeHref,LNc=Hq.createIssue.makeHref,AO=function(){Z.apply(this,arguments);var a=this;this.componentFridge=x(AB);this.activeSession=x(Ks);this.providedComponentId$=new nj(1);this.component$=this.providedComponentId$.pipe(sj(function(b){return a.componentFridge.watch(b)}),pj({refCount:!0,bufferSize:1}));this.init=new nj(1);this.isAnonymous=this.activeSession.isAnonymous()};Y(AO,Z);AO.\u0275dir=Z.\u0275dir;
AO.prototype.ngOnInit=function(){var a=this;this.providedComponentId$.next(this.componentId);this.recentIssuesUrl=KNc({q:"status:open componentid:"+this.componentId,s:"created_time:desc"});this.createIssueUrl=LNc()+"?component="+this.componentId;this.viewComponentUrl=Hq.editComponent.makeHref(this.componentId);this.component$.pipe(hj(1),tj(this.destroyed$)).subscribe(function(){a.init.next()})};AO.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(AO)))(b||AO)}}();
AO.\u0275cmp=F({type:AO,selectors:[["b-component-card"]],inputs:{componentId:"componentId"},outputs:{init:"init"},standalone:!1,features:[xj],decls:4,vars:3,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[3,"accessLevel","labelOnlyMode"],["tabindex","0",1,"keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"div",1),I(2,ZUa,15,8),W(3,"async"),M()());if(a&2){var c;E(2);J((c=X(3,1,b.component$))?2:-1,c)}},dependencies:[zO,
py],styles:["[_nghost-%COMP%]{max-width:400px}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0}"]});var BO=function(){this.trackerHelpers=x(sI);this.componentPath=[];this.isArchived=!1;this.label="Component";this.openTab=""};pg.Object.defineProperties(BO.prototype,{componentPathInfo:{configurable:!0,enumerable:!0,set:function(a){a=us(this.trackerHelpers,a);this.componentPath=this.componentPathsLinkTo==="settings"?bVa(a,zIa):bVa(a)}}});BO.\u0275fac=function(a){return new (a||BO)};
BO.\u0275cmp=F({type:BO,selectors:[["b-component-breadcrumb"]],inputs:{componentPathsLinkTo:"componentPathsLinkTo",componentPathInfo:"componentPathInfo",isArchived:"isArchived",label:"label",openTab:"openTab"},standalone:!1,decls:7,vars:2,consts:[["card","onedevHovercard"],["role","navigation","aria-labelledby","breadcrumb-label",1,"breadcrumb"],["id","breadcrumb-label"],[1,"breadcrumb-items"],[1,"breadcrumb-item"],[1,"breadcrumb-archived-indicator"],[1,"keep-focus-ring",3,"onedevHovercardTrigger",
"routerLinkObj"],[3,"componentId"]],template:function(a,b){a&1&&(L(0,"div",1)(1,"p",2),U(2),M(),L(3,"span",3),Mj(4,$Ua,6,4,"span",4,Lj),I(6,aVa,2,0,"span",5),M()());a&2&&(E(2),V("",b.label,":"),E(2),Nj(b.componentPath),E(2),J(b.isArchived?6:-1))},dependencies:[gC,xH,DH,AO],encapsulation:2});var CO=function(){Z.apply(this,arguments);var a=this;this.componentFridge=x(AB);this.trackerHelpers=x(sI);this.recentIssuesInComponent=sp;this.componentId$=new nj(1);this.hidePath=!1;this.error$=this.componentFridge.error$.pipe(Di(function(b){return String(b.idOrKey)===a.componentIdInternal}));this.rawComponent$=this.componentId$.pipe(Di(fe),sj(function(b){return a.componentFridge.watch(b)}),Di(fe));this.component$=Ci(this.error$,this.rawComponent$).pipe(C(function(b){return b.componentId&&b.name?
b:{componentId:b.idOrKey,name:"(unknown)"}}));this.isArchived$=this.component$.pipe(C(function(b){return b.archived}));this.componentPath$=this.component$.pipe(C(function(b){b=us(a.trackerHelpers,b.componentPathInfo);return bVa(b)}));this.init=new nj(1);this.routes$=this.componentId$.pipe(C(function(b){return{createIssue:yIa(b),componentSettings:zIa(b),recentIssues:sp(b)}}))};Y(CO,Z);CO.\u0275dir=Z.\u0275dir;CO.prototype.ngOnInit=function(){var a=this;this.component$.pipe(hj(1),tj(this.destroyed$)).subscribe(function(){a.init.next()})};
pg.Object.defineProperties(CO.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentIdInternal=a;this.componentId$.next(a)}}});CO.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(CO)))(b||CO)}}();
CO.\u0275cmp=F({type:CO,selectors:[["b-component-path-card"]],inputs:{componentId:"componentId",hidePath:"hidePath"},outputs:{init:"init"},standalone:!1,features:[xj],decls:7,vars:7,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"component-path","squared","b-chip","s","margin-s-bottom"],[1,"flex-kids-y","padded-s-top","actions"],[3,"routerLinkObj"],[1,"flex-kids-x"],["svgIcon","folder",1,"icon-xs"],[1,"type-s"],[1,"id-text",
"flex-kids-x","gap-s","align-items-center"],[3,"accessLevel","labelOnlyMode"],["aria-label","View recent open issues","mat-button","",1,"primary",3,"routerLinkObj"],["aria-label","View component settings","mat-button","",1,"primary",3,"routerLinkObj"],["aria-label","Create issue in this component","mat-button","",1,"primary",3,"routerLinkObj"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"div",1),I(2,fVa,6,5,"div",2),I(3,gVa,10,5),W(4,"async"),I(5,hVa,7,3,"div",3),W(6,"async"),M()());if(a&2){var c,
d;E(2);J(b.hidePath?-1:2);E();J((c=X(4,3,b.component$))?3:-1,c);E(2);J((d=X(6,5,b.routes$))?5:-1,d)}},dependencies:[EA,gC,dA,aA,zO,py],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 iVa={QA:"124156",NIGHTLY:"190923",PROD:"190923"};new Promise(function(){});var DO=function(){var a=x(rC),b=x(aD),c=x(AB);Z.call(this);var d=this;this.componentApi=x(yB);this.appEvents=x(EB);this.activeSession=x(Ks);this.components=a.get("components-second-level-cache")||a.create("components-second-level-cache",{capacity:25});this.subscriptions.add(this.appEvents.componentModified.subscribe(function(e){d.components.removeAll();c.invalidate(e)}));this.componentGetter=b.adapt(function(e){var f=Ja(e);Iaa(f);return d.componentApi.query({id:f}).then(function(h){var k={};h=l(h);
for(var q=h.next();!q.done;q=h.next())(q=q.value)&&(k[q.componentId]=q);return e.map(function(u){return k[u]||null})})})};Y(DO,Z);DO.\u0275dir=Z.\u0275dir;g=DO.prototype;g.get=function(a){var b=this.components.get(a);if(b!=null)return b;b=this.componentGetter.get(a).then(function(c){return c!=null?c:Promise.reject(new Lqc("Could not load details for component "+a))});return this.components.put(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){return this.componentApi.getChildren(a,b===void 0?!1:b)};g.getDescendants=function(a){return this.componentApi.getDescendants(a)};
g.getUncached=function(a){this.components.remove(a);return this.componentApi.fetchComponent(a)};g.search=function(a,b){var c={query:a};if(b===void 0?0:b)c.includearchived=!0;return MNc(this,a,this.componentApi.query(c))};
var MNc=function(a,b,c){if(b.match(/^\s*android\s*$/i)){var d=jVa(a.activeSession.getEnvironmentType());if(d)return Eq({publicComponent:a.get(d),rest:c}).then(function(e){var f=[e.publicComponent];e=l(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};
DO.prototype.bulkLoad=function(a){var b=this,c=a.filter(function(f){return!b.components.get(f)});Iaa(c);if(c.length){a=this.componentApi.query({id:c}).then(function(f){var h={};f=l(f);for(var k=f.next();!k.done;k=f.next())(k=k.value)&&(h[k.componentId]=k);return h});c=l(c);for(var d=c.next(),e={};!d.done;e={id$jscomp$323:void 0},d=c.next())e.id$jscomp$323=d.value,this.components.put(e.id$jscomp$323,a.then(function(f){return function(h){return h[f.id$jscomp$323]?h[f.id$jscomp$323]:Promise.reject(new Lqc("Could not load details for component "+
f.id$jscomp$323))}}(e)))}};DO.\u0275fac=function(a){return new (a||DO)};DO.\u0275prov=Dg({token:DO,factory:DO.\u0275fac,providedIn:"root"});var NNc=Fu(["https://www.gstatic.com/buganizer/gfx/","/",""]),EO=Fu(["https://www.gstatic.com/buganizer/img/v2/",""]),ONc=sd(NNc,"2025-09-25-97bb7fa3","all-icons.svg"),PNc=sd(EO,"empty_blocker_light.png"),QNc=sd(EO,"empty_blocker_dark.png"),RNc=sd(EO,"empty_child_light.png"),SNc=sd(EO,"empty_child_dark.png"),TNc=sd(EO,"robot_sleeping.png"),UNc=sd(EO,"tea_light.png"),VNc=sd(EO,"tea_dark.png"),WNc=sd(EO,"space_empty_state.png"),XNc=sd(EO,"eg_work_area.png"),YNc=sd(EO,"empty_triage.png");sd(EO,"gerrit_logo.svg");var FO=function(){this.ICON_URL=ONc;this.LOGO_LIGHT="https://www.gstatic.com/buganizer/img/v3/logo_light.svg";this.LOGO_PURPLE="https://www.gstatic.com/buganizer/img/v2/logo_purple.svg";this.EMPTY_BLOCKER_LIGHT=PNc;this.EMPTY_BLOCKER_DARK=QNc;this.EMPTY_CHILD_LIGHT=RNc;this.EMPTY_CHILD_DARK=SNc;this.ROBOT_SLEEPING=TNc;this.TEA_LIGHT=UNc;this.TEA_DARK=VNc;this.SPACE_EMPTY_STATE=WNc;this.WORK_AREA_EXAMPLE_ILLUSTRATION=XNc;this.EMPTY_TRIAGE=YNc};FO.\u0275fac=function(a){return new (a||FO)};
FO.\u0275prov=Dg({token:FO,factory:FO.\u0275fac,providedIn:"root"});var GO=function(){this.activeSession=x(Ks);this.documentationLinks=x(XH);this.trackerHelpers=x(sI);this.imageUrls=x(FO);this.compactMode=!1;this.showHovercard=!0;this.isGlobalBuganizer=!1;this.logoDark=this.logoLight=this.extendedName=this.name=this.redirectUrl=""};
GO.prototype.ngOnChanges=function(a){if(a.tracker||a.isGlobalBuganizer){this.redirectUrl=this.isGlobalBuganizer?HDc(this.trackerHelpers,""):sr(this.trackerHelpers,"",this.tracker);this.name=this.getName();this.extendedName=this.isGlobalBuganizer?this.name:"the "+this.name+" Tracker";if(this.isGlobalBuganizer)a=this.imageUrls.LOGO_LIGHT;else{var b,c;if((b=this.tracker)==null?0:(c=b.branding)==null?0:c.logoUrl){var d,e,f;a=(f=(d=this.tracker)==null?void 0:(e=d.branding)==null?void 0:e.logoUrl)!=null?
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=(h=this.logoLight)!=null?h:""}this.logoDark=d}};GO.prototype.getName=function(){if(this.isGlobalBuganizer)return this.activeSession.getAppName();var a,b;return(b=(a=this.tracker)==null?void 0:a.name)!=null?b:""};GO.\u0275fac=function(a){return new (a||GO)};
GO.\u0275cmp=F({type:GO,selectors:[["b-tracker-chip"]],inputs:{tracker:"tracker",compactMode:"compactMode",showHovercard:"showHovercard",isGlobalBuganizer:"isGlobalBuganizer"},standalone:!1,features:[$w],decls:1,vars:1,consts:[["card","onedevHovercard"],["type","button",1,"chippy","rounded",3,"onedevHovercardTrigger","onedevHovercardActive"],["alt","",1,"logo","light-only",3,"src"],["alt","",1,"logo","dark-only",3,"src"],[1,"name"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],
[1,"flex-kids-y","padded-s-top","actions"],["mat-button","","target","_blank",1,"primary",3,"href"]],template:function(a,b){a&1&&I(0,nVa,15,12);a&2&&J(b.tracker||b.isGlobalBuganizer?0:-1)},dependencies:[xH,DH,dA,aA],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:8px;vertical-align:middle;border:0;box-shadow:none}.chippy[_ngcontent-%COMP%]:focus{outline:1px solid var(--primary)}.logo[_ngcontent-%COMP%]{width:16px;height:16px}.name[_ngcontent-%COMP%]{margin-left:4px}.chippy.xs[_ngcontent-%COMP%]{margin-right:4px;padding:0 4px;min-height:15px}.chippy.xs[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:14px;height:14px}.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 HO=function(){var a=this;this.activeSession=x(Ks);this.trackerFridge=x(vF);this.compactMode=!1;this.showHovercard=!0;this.trackerId$=new $n(void 0);this.tracker$=this.trackerId$.pipe(sj(function(b){return b?a.trackerFridge.watch(b).pipe(cj(function(){return li(void 0)})):li(void 0)}));this.isCurrentTracker$=this.trackerId$.pipe(C(function(b){var c,d=(c=a.activeSession.getTracker())==null?void 0:c.trackerId;return d?d===b:!b}))};HO.prototype.ngOnChanges=function(a){a.trackerId&&this.trackerId$.next(this.trackerId)};
pg.Object.defineProperties(HO.prototype,{isGlobalBuganizer:{configurable:!0,enumerable:!0,get:function(){return!this.trackerId$.value}}});HO.\u0275fac=function(a){return new (a||HO)};
HO.\u0275cmp=F({type:HO,selectors:[["b-tracker-chip-smart"]],inputs:{trackerId:"trackerId",compactMode:"compactMode",showHovercard:"showHovercard"},standalone:!1,features:[$w],decls:2,vars:3,consts:[[3,"tracker","compactMode","showHovercard","isGlobalBuganizer"]],template:function(a,b){a&1&&(I(0,oVa,2,6,"b-tracker-chip",0),W(1,"async"));a&2&&J(X(1,1,b.isCurrentTracker$)===!1?0:-1)},dependencies:[GO,py],encapsulation:2,changeDetection:0});var IO=function(){this.showFolderSpecialIcon=!1;this.mode="default";this.query="";this.selectComponentId=new iE;this.expandComponent=new iE;this.goBack=new iE};IO.prototype.ngOnInit=function(){};IO.prototype.expand=function(a,b){b.preventDefault();b.stopPropagation();this.expandComponent.emit(a)};IO.prototype.back=function(a){a.preventDefault();a.stopPropagation();this.goBack.emit()};IO.\u0275fac=function(a){return new (a||IO)};
IO.\u0275cmp=F({type:IO,selectors:[["component-row"]],inputs:{showFolderSpecialIcon:"showFolderSpecialIcon",componentOption:"componentOption",mode:"mode",query:"query"},outputs:{selectComponentId:"selectComponentId",expandComponent:"expandComponent",goBack:"goBack"},standalone:!1,decls:11,vars:7,consts:[[1,"container"],["svgIcon","history"],"type;button;mat-icon-button;;aria-label;Return to search results;matTooltip;Return to search results".split(";"),["type","button","mat-icon-button","",1,"expand-button",
3,"matTooltip"],[1,"content"],[1,"margin-s-right"],[1,"archived-indicator"],[3,"accessLevel","labelOnlyMode"],[3,"trackerId","showHovercard"],["type","button","mat-icon-button","","aria-label","Return to search results","matTooltip","Return to search results",3,"mousedown"],["svgIcon","back"],["type","button","mat-icon-button","",1,"expand-button",3,"mousedown","matTooltip"],[3,"svgIcon"],[1,"subtle-link",3,"innerHtml"],[1,"subtle-link",3,"mousedown","innerHtml"],[1,"subtle-link"],[1,"subtle-link",
3,"mousedown"]],template:function(a,b){a&1&&(L(0,"div",0),I(1,pVa,1,0,"mat-icon",1)(2,qVa,2,0,"button",2)(3,rVa,2,3,"button",3),L(4,"div",4)(5,"span",5),I(6,wVa,2,0)(7,yVa,1,1),I(8,zVa,2,0,"span",6),M(),N(9,"b-component-access-level-indicator",7)(10,"b-tracker-chip-smart",8),M()());a&2&&(E(),J(!0===(b.mode=="recent"||b.mode=="popular")?1:!0===(b.mode=="tree")?2:3),E(5),J(b.mode!=="leaf"?6:7),E(2),J(b.componentOption.archived?8:-1),E(),K("accessLevel",b.componentOption.accessLimit==null?null:b.componentOption.accessLimit.accessLevel)("labelOnlyMode",
!0),E(),K("trackerId",b.componentOption.trackerId)("showHovercard",!1))},dependencies:[EA,dA,bA,YF,WF,HO,zO,WM,uLc],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-mdc-icon-button[_ngcontent-%COMP%]{width:20px;height:20px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;line-height:18px}.mat-mdc-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{--mat-icon-button-icon-size:18px;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 JO=function(a,b,c,d,e,f,h,k,q,u){var A=this;this.userApi=a;this.userAccess=b;this.componentApi=c;this.componentActions=d;this.teamsService=e;this.analytics=f;this.destroyed$=h;this.config=k;this.trackerHelpers=q;this.activeSession=u;this.includeArchived=!1;this.searchQuery$=new $n("");this.debouncedSearchQuery$=this.searchQuery$.pipe(fj(250));this.state$=new $n("default");this.listUpdated$=new oj;this.componentsLoading=this.teamsLoading=!1;this.teamScope$=new $n(void 0);this.componentOptions=
[];this.childTeamsMap=new Map;this.componentCountMap=new Map;this.popularComponents=[];this.rawRecentComponents=[];this.recentComponents=[];this.myTeams$=new $n([]);this.showAllTeams$=new $n(!1);this.showAllTeamsDistinct$=this.showAllTeams$.pipe(jj());this.teamOptions$=new $n([]);this.filteredTeamOptions$=si([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(C(function(D){var H=l(D);D=H.next().value;return H.next().value?D:D.slice(0,5)}));this.hasHiddenTeams$=si([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(C(function(D){var H=
l(D);D=H.next().value;H=H.next().value;return D.length>5&&!H}));this.newChildTeams$=new $n([]);this.teamsDisplayed$=Ci(this.myTeams$,this.teamOptions$,this.newChildTeams$,this.teamScope$.pipe(C(function(D){return D?[D]:[]}))).pipe(C(function(D){return D.map(function(H){return H.id})}));this.requestIndex=0;this.unseenTeamChildTeamsMap$=this.teamsDisplayed$.pipe(C(function(D){return D.filter(function(H){return!A.childTeamsMap.has(H)})}),Di(function(D){return D.length>0}),sj(function(D){return A.teamsService.getChildTeams(D)}),
C(DVa));this.unseenTeamComponentCountMap$=this.teamsDisplayed$.pipe(C(function(D){return D.filter(function(H){return!A.componentCountMap.has(H)})}),Di(function(D){return D.length>0}),sj(function(D){return Tyc(A.teamsService,D)}));this.componentIdSelected$=new nj(1);this.lastProcessedIndex=-1};
JO.prototype.init=function(a,b){var c=this;a=a===void 0?!1:a;ZNc(this,b===void 0?null:b);si([this.debouncedSearchQuery$.pipe(qj(a?1:0)),this.state$]).pipe(tj(this.destroyed$)).subscribe(function(d){var e=l(d);d=e.next().value;e=e.next().value;c.showAllTeams$.next(!1);e==="default"?d?c.state$.next("global"):(c.componentOptions=[],c.teamOptions$.next([]),c.listUpdated$.next()):e==="global"?d?(c.includeTeamData()&&$Nc(c,d),aOc(c,d)):c.state$.next("default"):e==="team_scope"?c.teamScope$.value&&(c.teamOptions$.next([]),
aOc(c,"teamid:"+c.teamScope$.value.id+" "+d)):e==="component_scope"&&c.componentScope&&bOc(c,c.componentScope.id)});this.debouncedSearchQuery$.pipe(vj(this.state$),tj(this.destroyed$)).subscribe(function(d){var e=l(d);d=e.next().value;e.next().value==="component_scope"&&c.state$.next(d?"global":"default")});this.unseenTeamChildTeamsMap$.pipe(tj(this.destroyed$)).subscribe(function(d){d=l(d.entries());for(var e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;c.childTeamsMap.set(e,
f)}});this.unseenTeamComponentCountMap$.pipe(tj(this.destroyed$)).subscribe(function(d){d=l(d.entries());for(var e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;c.componentCountMap.set(e,f)}})};JO.prototype.includeTeamData=function(){return this.config.includeTeamData&&!Iq(this.activeSession)};
var ZNc=function(a,b){b=b===void 0?null:b;a.componentsLoading=!0;var c=Promise.resolve(b!==null?eD(a.userAccess,"reader","components/"+b.componentId+"/issueDefaults"):!1).then(function(e){e&&a.componentApi.getPopularRoutingTargets(b.componentId).then(function(f){f=f.filter(function(h){return a.filterTrackerComponents(h)});f=cOc(a,f);a.popularComponents=f;a.listUpdated$.next()})}),d=a.userApi.getRecentComponents().then(function(e){e=e.filter(function(f){return a.filterTrackerComponents(f)});e=cOc(a,
e);a.rawRecentComponents=e});Promise.all([c,d]).finally(function(){a.recentComponents=a.rawRecentComponents.filter(function(e){return!a.popularComponents.some(function(f){return e.id===f.id})});a.listUpdated$.next();a.componentsLoading=!1});a.includeTeamData()&&(a.teamsLoading=!0,mF(a.teamsService,"").pipe(tj(a.destroyed$)).subscribe(function(e){a.myTeams$.next(e.map(AVa));a.listUpdated$.next();a.teamsLoading=!1},function(){a.teamsLoading=!1}))};
JO.prototype.filterTrackerComponents=function(a){var b;return!Iq(this.activeSession)||a.trackerId===((b=this.activeSession.getTracker())==null?void 0:b.trackerId)};JO.prototype.selectOption=function(a){a.type==="component"?cXa(this,a.id):a.type==="team"?YVa(this,a):console.warn("invalid option selected")};
var cXa=function(a,b){a.analytics.trackEvent("componentPicker","autocomplete-select",dOc(a,b));var c=new Map;c.set("combined",[].concat(p(a.popularComponents),p(a.recentComponents)));c.set("popular",a.popularComponents);c.set("recent",a.rawRecentComponents);c=l(c);for(var d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;for(var f=null,h=0;h<e.length;h++){var k=void 0;if(b===((k=e[h])==null?void 0:k.id)){f=h+1;break}}f!=null?a.analytics.trackEvent("componentPicker",
"suggestionSuccess",d+"Success"):(h=void 0,((h=e)==null?void 0:h.length)>0?a.analytics.trackEvent("componentPicker","suggestionSuccess",d+"FailureNoMatch"):a.analytics.trackEvent("componentPicker","suggestionSuccess",d+"FailureNoSuggestion"));f!=null&&(f===1&&a.analytics.trackEvent("componentPicker","suggestionSuccess",d+"N1"),f<=5&&a.analytics.trackEvent("componentPicker","suggestionSuccess",d+"N5"),f<=10&&a.analytics.trackEvent("componentPicker","suggestionSuccess",d+"N10"))}a.componentIdSelected$.next(b);
a.state$.next("global")},dOc=function(a,b){if(a.state$.value==="default")return a.popularComponents.some(function(e){return b===e.id})?"popular-component":"recent-component";if(a.state$.value==="global")return"global-search";if(a.state$.value==="component_scope")return"component-scope";if(a.state$.value==="team_scope"){var c,d=(c=a.teamScope$.value)==null?void 0:c.id;return a.myTeams$.value.some(function(e){return e.id===d})?"my-team":"team-scope"}return""};
JO.prototype.expandComponent=function(a){this.componentScope=a;this.state$.next("component_scope")};
var LWa=function(a,b){a.componentActions.get(b).then(function(c){var d=us(a.trackerHelpers,c.componentPathInfo);a.componentScope=CVa(c,d);a.state$.next("component_scope")})},KWa=function(a){a.componentScope=void 0;a.searchQuery$.value?a.state$.next("global"):a.state$.next("default")},YVa=function(a,b){a.teamScope$.next(Object.assign({},b,{expanded:!1}));a.state$.next("team_scope");a.searchQuery$.next("");b.pathNames||ZVa(a,b.id)},ZVa=function(a,b){a.teamsLoading=!0;mF(a.teamsService,b).pipe(tj(a.destroyed$)).subscribe(function(c){c=
c.map(AVa);if(c.length===1){c=c[0];var d,e=c.id!==((d=a.teamScope$.value)==null?void 0:d.id);a.teamScope$.next(c);a.teamsLoading=!1;e&&a.state$.next("team_scope")}},function(){a.teamsLoading=!1})},eOc=function(a){if(a.teamScope$.value&&a.teamScope$.value.pathIds&&!(a.teamScope$.value.pathIds.length<2)){var b=a.teamScope$.value.pathIds;ZVa(a,b[b.length-2])}};JO.prototype.getChildTeams=function(a){var b;return(b=this.childTeamsMap.get(a))!=null?b:[]};
JO.prototype.hasNoComponent=function(a){return this.componentCountMap.has(a)?this.componentCountMap.get(a)===0:!1};
var AWa=function(a,b){b.expanded=!1;a.listUpdated$.next()},BWa=function(a,b){b.expanded=!0;a.listUpdated$.next();a.newChildTeams$.next(a.getChildTeams(b.id))},EWa=function(a){a.teamScope$.next(void 0);a.searchQuery$.next("");a.state$.next("default")},$Nc=function(a,b){b.length>1&&(a.teamsLoading=!0,mF(a.teamsService,b).pipe(tj(a.destroyed$)).subscribe(function(c){a.teamOptions$.next(c.map(AVa));a.teamsLoading=!1;a.listUpdated$.next()},function(){a.teamsLoading=!1}))},aOc=function(a,b){if(b.length>
1){a.componentsLoading=!0;var c=a.requestIndex++;a.componentActions.search(b,a.includeArchived).then(function(d){c>a.lastProcessedIndex&&(a.lastProcessedIndex=c,a.componentOptions=cOc(a,d));a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1})}},bOc=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=cOc(a,d),a.listUpdated$.next())}).finally(function(){a.componentsLoading=
!1})},cOc=function(a,b){return b.map(function(c){var d=us(a.trackerHelpers,c.componentPathInfo);return CVa(c,d)})};var fOc=0,KO=function(){this.changeDetectorRef=x(sx);this.elementRef=x(Ph);this.active=!1;this.id="b-component-picker-option-"+fOc++};KO.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};KO.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};KO.\u0275fac=function(a){return new (a||KO)};
KO.\u0275dir=$i({type:KO,selectors:[["","listOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Oj("id",b.id),rk("active",b.active))},inputs:{data:"data",listOrder:"listOrder"},standalone:!1});var LO=function(){this.query="";this.hasNoComponent=this.compact=this.allowSegmentSelection=!1;this.selectTeamId=new iE};LO.prototype.getLogoUrl=function(){return"https://moma-teams-photos.corp.google.com/logo/"+this.teamOption.id};LO.prototype.ngOnInit=function(){};LO.\u0275fac=function(a){return new (a||LO)};
LO.\u0275cmp=F({type:LO,selectors:[["team-row"]],inputs:{teamOption:"teamOption",query:"query",allowSegmentSelection:"allowSegmentSelection",compact:"compact",hasNoComponent:"hasNoComponent"},outputs:{selectTeamId:"selectTeamId"},standalone:!1,decls:5,vars:7,consts:[[1,"container"],["alt",""],[1,"content"],[1,"name-row"],[1,"path"],[1,"team-name",3,"innerHtml"],[1,"no-component-label"],[1,"subtle-link"],[1,"subtle-link",3,"mousedown"],[1,"team-name"]],template:function(a,b){a&1&&(L(0,"div",0),I(1,
EVa,1,1,"img",1),L(2,"div",2),I(3,GVa,4,5,"div",3),I(4,OVa,3,0,"div",4),M()());a&2&&(rk("no-component",b.hasNoComponent)("compact",b.compact),E(),J(b.compact?-1:1),E(2),J(b.compact?-1:3),E(),J(b.teamOption.pathNames&&b.teamOption.pathNames.length?4:-1))},dependencies:[WM],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 gOc=new kh("GM2_PROGRESS_BAR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var MO=function(a){this.options=a;if(a.disableGmatStyle)throw Error("Mb");};MO.\u0275fac=function(a){return new (a||MO)(Ui(gOc))};MO.\u0275dir=$i({type:MO,selectors:[["mat-progress-bar"]],hostAttrs:[1,"gmat-mdc-progress-bar"],standalone:!1});var hOc=new kh("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");new kh("mat-progress-bar-location",{providedIn:"root",factory:function(){var a=x(Mm),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}}});
var NO=function(){var a=this;this._elementRef=x(Ph);this._ngZone=x(Kk);this._changeDetectorRef=x(sx);this._renderer=x($m);this._defaultColor="primary";this._bufferValue=this._value=0;this.animationEnd=new Lp;this._mode="determinate";this._transitionendHandler=function(d){a.animationEnd.observers.length!==0&&d.target&&d.target.classList.contains("mdc-linear-progress__primary-bar")&&(a.mode!=="determinate"&&a.mode!=="buffer"||a._ngZone.run(function(){return a.animationEnd.next({value:a.value})}))};
var b=wxa(),c=x(hOc,{optional:!0});this._isNoopAnimation=b==="di-disabled";b==="reduced-motion"&&this._elementRef.nativeElement.classList.add("mat-progress-bar-reduced-motion");c&&(c.color&&(this.color=this._defaultColor=c.color),this.mode=c.mode||this.mode)};g=NO.prototype;g.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._cleanupTransitionEnd=a._renderer.listen(a._elementRef.nativeElement,"transitionend",a._transitionendHandler)})};
g.ngOnDestroy=function(){var a;(a=this._cleanupTransitionEnd)==null||a.call(this)};g._getPrimaryBarTransform=function(){return"scaleX("+(this._isIndeterminate()?1:this.value/100)+")"};g._getBufferBarFlexBasis=function(){return(this.mode==="buffer"?this.bufferValue:100)+"%"};g._isIndeterminate=function(){return this.mode==="indeterminate"||this.mode==="query"};
pg.Object.defineProperties(NO.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color||this._defaultColor},set:function(a){this._color=a}},value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value=Math.max(0,Math.min(100,a||0));this._changeDetectorRef.markForCheck()}},bufferValue:{configurable:!0,enumerable:!0,get:function(){return this._bufferValue||0},set:function(a){this._bufferValue=Math.max(0,Math.min(100,a||0));this._changeDetectorRef.markForCheck()}},
mode:{configurable:!0,enumerable:!0,get:function(){return this._mode},set:function(a){this._mode=a;this._changeDetectorRef.markForCheck()}}});NO.\u0275fac=function(a){return new (a||NO)};
NO.\u0275cmp=F({type:NO,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(a,b){a&2&&(Hj("aria-valuenow",b._isIndeterminate()?null:b.value)("mode",b.mode),sk("mat-"+b.color),rk("_mat-animation-noopable",b._isNoopAnimation)("mdc-linear-progress--animation-ready",!b._isNoopAnimation)("mdc-linear-progress--indeterminate",b._isIndeterminate()))},inputs:{color:"color",
value:[2,"value","value",Uk],bufferValue:[2,"bufferValue","bufferValue",Uk],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],
template:function(a,b){a&1&&(Pj(0,"div",0),Rj(1,"div",1),I(2,PVa,1,0,"div",2),Qj(),Pj(3,"div",3),Rj(4,"span",4),Qj(),Pj(5,"div",5),Rj(6,"span",4),Qj());a&2&&(E(),qk("flex-basis",b._getBufferBarFlexBasis()),E(),J(b.mode==="buffer"?2:-1),E(),qk("transform",b._getPrimaryBarTransform()))},styles:[".mat-mdc-progress-bar{--mat-progress-bar-animation-multiplier: 1;display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mat-progress-bar-reduced-motion{--mat-progress-bar-animation-multiplier: 2}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mat-progress-bar-track-height, 4px),var(--mat-progress-bar-active-indicator-height, 4px))}@media(forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mat-progress-bar-active-indicator-height, 4px)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mat-progress-bar-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-progress-bar-active-indicator-height, 4px)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mat-progress-bar-track-height, 4px);border-radius:var(--mat-progress-bar-track-shape, var(--mat-sys-corner-none))}.mdc-linear-progress__buffer-dots{background-image:radial-gradient(circle, var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant)) calc(var(--mat-progress-bar-track-height, 4px) / 2), transparent 0);background-repeat:repeat-x;background-size:calc(calc(var(--mat-progress-bar-track-height, 4px) / 2)*5);background-position:left;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering calc(250ms*var(--mat-progress-bar-animation-multiplier)) infinite linear}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse calc(250ms*var(--mat-progress-bar-animation-multiplier)) infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mat-progress-bar-track-height, 4px) * -2.5))}}@keyframes mdc-linear-progress-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 mdc-linear-progress-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 mdc-linear-progress-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 mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{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 mdc-linear-progress-secondary-indeterminate-translate-reverse{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 mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}\n"],
encapsulation:2,changeDetection:0});var iOc=["container"],jOc=["inputBox"],kOc=["dropdownTemplate"],lOc=["dropdown"],dWa=function(a){return{mode:"popular",$implicit:a}},hWa=function(a){return{mode:"recent",$implicit:a}},uWa=function(a){return{mode:"default",$implicit:a}},oWa=function(a){return[a]},nWa=function(a,b){return{team:a,level:0,order:b}},IWa=function(a,b){return{mode:"default",$implicit:a,teamScope:b}},FWa=function(){return[0]},xWa=function(a){return[0,a]},OWa=function(a){return{mode:"leaf",$implicit:a}},UWa=function(a,b,c){return{team:a,
level:b,order:c}},mOc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],nOc=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],OO=function(){Z.apply(this,arguments);this.overlay=x(Gz);this.viewContainerRef=x(ck);this.userApi=x(DC);this.componentApi=x(yB);this.componentActions=x(DO);this.teamsService=x(kF);this.userAccess=x(dD);this.analytics=
x(nE);this.activeSession=x(Ks);this.trackerHelpers=x(sI);this.cdr=x(sx);this.placeholder="";this.isRequired=!1;this.ariaLabel="";this.checkAdminAccess=this.showOverlayAbove=!1;this.accessCheckComplete=new iE;this.shouldFocus=!1;this.touched=new iE;this.selectedComponentChange=new iE;this.dropdownClosed=new iE;this.checkingAccess=this.hasAccess=!1;this.isExternal=this.activeSession.isExternalSession();this.searchState=new JO(this.userApi,this.userAccess,this.componentApi,this.componentActions,this.teamsService,
this.analytics,this.destroyed$,{includeTeamData:!this.isExternal},this.trackerHelpers,this.activeSession);this.componentLoading=this.isDropdownOpen=!1};Y(OO,Z);OO.\u0275dir=Z.\u0275dir;
OO.prototype.ngOnInit=function(){var a=this;this.searchState.init(!!this.selectedComponent,this.selectedComponent);this.searchState.componentIdSelected$.pipe(tj(this.destroyed$)).subscribe(function(b){a.componentLoading=!0;a.componentActions.get(b).then(function(c){a.selectedComponent=c;oOc(a);a.componentLoading=!1;a.close(!0);a.selectedComponentChange.emit(c)})},function(){a.componentLoading=!1});Ci(this.searchState.debouncedSearchQuery$,this.searchState.state$).pipe(tj(this.destroyed$)).subscribe(function(){a.clearActiveItem()})};
OO.prototype.isLoading=function(){return this.componentLoading||this.searchState.componentsLoading||this.searchState.teamsLoading};
var oOc=function(a){if(a.selectedComponent){var b=us(a.trackerHelpers,a.selectedComponent.componentPathInfo);b=CVa(a.selectedComponent,b);a.searchState.searchQuery$.next(b.componentPath.length?b.componentPath[b.componentPath.length-1].pathText:"")}else a.searchState.searchQuery$.next("")},pOc=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=OO.prototype;g.ngOnChanges=function(a){a.selectedComponent&&(oOc(this),this.checkAdminAccess&&this.selectedComponent&&qOc(this,this.selectedComponent))};g.ngOnDestroy=function(){this.close();Z.prototype.ngOnDestroy.call(this)};
g.ngAfterViewInit=function(){var a=this;this.keyManager=cz(dz(new hz(this.listOptions)));this.searchState.listUpdated$.pipe(tj(this.destroyed$)).subscribe(function(){a.cdr.markForCheck()});this.listOptions.changes.pipe(tj(this.destroyed$)).subscribe(function(b){var c=b.toArray();b=c.filter(function(e){return e.listOrder==null});c=c.filter(function(e){return e.listOrder!=null}).sort(mXa);b=[].concat(p(c),p(b));a.listOptions.reset(b);var d;if((d=a.keyManager)==null?0:d.activeItem)d=b.indexOf(a.keyManager.activeItem),
d>-1&&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=a===void 0?!1:a;this.isDropdownOpen&&this.dropdownOverlayRef&&(this.searchState.searchQuery$.value||(this.selectedComponent=void 0,this.selectedComponentChange.emit(void 0)),this.searchState.state$.value==="team_scope"&&EWa(this.searchState),this.isDropdownOpen=!1,this.dropdownOverlayRef.dispose(),this.dropdownOverlayRef=void 0,this.clearActiveItem(),this.dropdownClosed.emit(),this.analytics.trackEvent("componentPicker","close",a?"with-selection":"without-selection"))};
g.clearQuery=function(){this.searchState.searchQuery$.next("");this.isDropdownOpen||this.inputBox.nativeElement.focus()};var rOc=function(a){var b,c,d;return(d=(b=a.keyManager)==null?void 0:(c=b.activeItem)==null?void 0:c.id)!=null?d:void 0};
OO.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),pOc(this)):(this.open(),setTimeout(function(){var d;(d=b.keyManager)==null||woc(d);pOc(b)}));break;case "ArrowDown":this.isDropdownOpen?(this.keyManager.onKeydown(a),pOc(this)):(this.open(),setTimeout(function(){var d;(d=b.keyManager)!=null&&d._setActiveItemByIndex(0,1);pOc(b)}));break;case "Enter":this.keyManager.activeItem&&
(this.searchState.teamScope$.value===this.keyManager.activeItem.data?EWa(this.searchState):this.searchState.selectOption(this.keyManager.activeItem.data),a.preventDefault());break;case "ArrowRight":if(this.keyManager.activeItem){var c=this.keyManager.activeItem.data;c.type==="team"?(a.preventDefault(),BWa(this.searchState,c)):c.type==="component"&&(a.preventDefault(),this.searchState.expandComponent(c))}break;case "ArrowLeft":this.keyManager.activeItem&&this.keyManager.activeItem.data.type==="team"&&
(a.preventDefault(),this.searchState.teamScope$.value!==this.keyManager.activeItem.data||this.searchState.teamScope$.value.expanded?AWa(this.searchState,this.keyManager.activeItem.data):eOc(this.searchState));this.searchState.state$.value==="component_scope"&&(a.preventDefault(),KWa(this.searchState));break;case "Backspace":case "Delete":this.keyManager.activeItem&&this.searchState.teamScope$.value===this.keyManager.activeItem.data&&(EWa(this.searchState),a.preventDefault());break;default:this.touched.emit(),
this.isDropdownOpen||this.open()}};var Gq=function(a){a.preventDefault();a.stopPropagation()},qOc=function(a,b){a.checkingAccess=!0;a.hasAccess=!1;eD(a.userAccess,"admin","components/"+b.componentId).then(function(c){a.checkingAccess=!1;a.accessCheckComplete.emit(c);a.hasAccess=c})};g=OO.prototype;
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;return this.overlay.create(new Zm({positionStrategy:a,scrollStrategy:b,panelClass:["b-team-component-picker-dropdown","gmat-elevation-z3"],width:(c=this.container.nativeElement)==null?void 0:c.offsetWidth}))};g.attach=function(){var a=new Bz(this.dropdownTemplateRef,this.viewContainerRef),b;(b=this.dropdownOverlayRef)==null||b.attach(a);var c;(c=this.dropdownOverlayRef)==null||c.updatePosition()};
g.getPositionStrategy=function(){var a=this.showOverlayAbove?nOc:mOc;return sz(Qoc(uz(yz(this.overlay.position(),this.container),!1),!1),a)};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))};
pg.Object.defineProperties(OO.prototype,{includeArchived:{configurable:!0,enumerable:!0,set:function(a){this.searchState.includeArchived=a}}});OO.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(OO)))(b||OO)}}();
OO.\u0275cmp=F({type:OO,selectors:[["b-team-component-picker"]],viewQuery:function(a,b){a&1&&(ek(iOc,7),ek(jOc,7),ek(kOc,7),ek(lOc,5),ek(KO,5));if(a&2){var c;ik(c=jk())&&(b.container=c.first);ik(c=jk())&&(b.inputBox=c.first);ik(c=jk())&&(b.dropdownTemplateRef=c.first);ik(c=jk())&&(b.dropdown=c.first);ik(c=jk())&&(b.listOptions=c)}},inputs:{placeholder:"placeholder",isRequired:"isRequired",ariaLabel:"ariaLabel",showOverlayAbove:"showOverlayAbove",selectedComponent:"selectedComponent",checkAdminAccess:"checkAdminAccess",
shouldFocus:"shouldFocus",includeArchived:"includeArchived"},outputs:{accessCheckComplete:"accessCheckComplete",touched:"touched",selectedComponentChange:"selectedComponentChange",dropdownClosed:"dropdownClosed"},standalone:!1,features:[xj,$w],decls:13,vars:10,consts:[["container",""],["inputBox",""],["dropdownTemplate",""],["teamTreeItem",""],["componentList",""],["dropdown",""],[1,"container","pseudo-input"],["type","text","role","combobox","autocomplete","off","spellcheck","false","aria-autocomplete",
"list",1,"override",3,"ngModelChange","keydown","click","focus","blur","ngModel","placeholder","required"],"type;button;mat-icon-button;;tabindex;-1;matTooltip;Clear component;aria-label;Clear component".split(";"),["type","button","mat-icon-button","","tabindex","-1","matTooltip","Clear component","aria-label","Clear component",3,"mousedown"],["svgIcon","clear"],[1,"bv2-picker-checking"],[1,"bv2-picker-error"],["target","_blank",3,"href"],[1,"dropdown",3,"mousedown"],[1,"progress-bar-container"],
["mode","indeterminate"],[1,"dropdown-content"],["role","tree"],[1,"section-header"],["role","treeitem","listOption","",1,"list-option",3,"data"],["role","treeitem","listOption","",1,"list-option",3,"mousedown","data"],[3,"selectTeamId","teamOption","query","hasNoComponent"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["type","button","tabindex","-1",1,"unstyled","expand-team-line-button"],["type","button","tabindex","-1",1,"unstyled","expand-team-line-button",3,"mousedown"],["svgIcon","arrow-down"],
[1,"team-scope-container"],["listOption","",1,"team-scope",3,"data","listOrder"],[3,"selectTeamId","teamOption","query","compact","allowSegmentSelection"],["type","button","tabindex","-1","mat-icon-button","","matTooltip","Clear team filter",1,"small","clear-filter",3,"mousedown"],["svgIcon","close"],[1,"team-scope-child-teams"],[1,"component-scope-container"],[1,"title"],["mode","tree",3,"goBack","selectComponentId","componentOption"],["role","treeitem","listOption","",1,"list-option",3,"mousedown",
"listOrder","data"],[1,"team-row-container"],["type","button","mat-icon-button","","aria-label","Show child teams",1,"arrow-button"],["type","button","mat-icon-button","","aria-label","Show child teams",1,"arrow-button",3,"mousedown"],["svgIcon","arrow-dropdown"],["role","listbox"],["role","option","listOption","",1,"list-option",3,"data"],["role","option","listOption","",1,"list-option",3,"mousedown","data"],[3,"selectComponentId","expandComponent","showFolderSpecialIcon","componentOption","query",
"mode"],[1,"empty-list","muted"],["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){if(a&1){var c=y();L(0,"div",6,0)(2,"input",7,1);W(4,"async");Q("ngModelChange",function(d){z(c);return B(b.searchState.searchQuery$.next(d))})("keydown",function(d){z(c);return B(b.handleKeydown(d))})("click",function(){z(c);b.open();return B(b.touched.emit())})("focus",function(){z(c);
return B(b.open())})("blur",function(){z(c);return B(b.close())});M();I(5,QVa,2,0,"button",8);M();I(6,UVa,3,1,"div");G(7,RWa,6,2,"ng-template",null,2,Gk)(9,XWa,5,11,"ng-template",null,3,Gk)(11,lXa,2,1,"ng-template",null,4,Gk)}a&2&&(a=T(3),E(2),K("ngModel",X(4,8,b.searchState.searchQuery$))("placeholder",b.placeholder)("required",b.isRequired),Hj("aria-label",b.ariaLabel+(b.selectedComponent?" Component selected. Change.":" Choose component"))("aria-expanded",b.isDropdownOpen)("aria-activedescendant",
rOc(b)),E(3),J(a.value?5:-1),E(),J(b.checkAdminAccess?6:-1))},dependencies:[oy,EA,Bp,hG,AG,oG,dA,bA,eN,YF,WF,MO,NO,LO,IO,KO,py],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-mdc-button-persistent-ripple{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-mdc-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:20px}.mat-mdc-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{--mat-icon-button-icon-size:16px;height:16px;width:16px;line-height:16px}.mat-mdc-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 PO=function(){this.warningChunks=[]};PO.prototype.ngOnInit=function(){var a=this.warningText,b=rXa(a,"EXTERNAL_PUBLIC")||rXa(a,"EXTERNAL_PARTNER");this.warningChunks=b?[{text:a.substring(0,b.startOfMatch)},{accessLevel:b.accessLevel},{text:a.substring(b.endOfMatch)}]:[{text:a}]};PO.\u0275fac=function(a){return new (a||PO)};
PO.\u0275cmp=F({type:PO,selectors:[["b-component-move-warning-content"]],inputs:{warningText:"warningText"},standalone:!1,decls:3,vars:0,consts:[[3,"accessLevel"]],template:function(a,b){a&1&&(L(0,"div"),Mj(1,pXa,3,1,"span",null,Lj),M());a&2&&(E(),Nj(b.warningChunks))},dependencies:[zO],encapsulation:2});var qXa=new Map([["EXTERNAL_PUBLIC","visible to public users"],["EXTERNAL_PARTNER","visible to external partners"]]);var QO=function(){this.data=x(dI);this.documentationLinks=x(XH);this.dialogRef=x(YH);var a=this.documentationLinks;this.learnMore=a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/access-control":"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-dos-donts#moving-issues-to-a-new-component";this.acknowledged=!0;this.header=this.data.response.warningHeader;this.warning=this.data.response.warning;this.isExternalMove=this.data.response.isExternalMove;this.isLimitNoneIssueTrackerMove=
this.data.isLimitNoneIssueTrackerMove;this.setLimitViewTrusted=this.isExternalMove&&this.isLimitNoneIssueTrackerMove;this.isAllowed=this.data.response.isAllowed;this.callbacks=this.data.callbacks;this.isExternalMove&&!this.isLimitNoneIssueTrackerMove&&(this.acknowledged=!1)};QO.prototype.allow=function(){var a;(a=this.dialogRef)==null||a.close();this.isAllowed&&this.acknowledged&&this.callbacks.allow(this.setLimitViewTrusted)};
QO.prototype.cancel=function(){var a;(a=this.dialogRef)==null||a.close();this.callbacks.cancel()};QO.\u0275fac=function(a){return new (a||QO)};
QO.\u0275cmp=F({type:QO,selectors:[["b-component-move-warning"]],standalone:!1,decls:13,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"component-move-warning-text"],[3,"warningText"],["target","_blank"],["type","button","mat-button","","mat-dialog-close","",1,"medium",3,"click"],["type","button","mat-flat-button","","cdkFocusInitial","",3,"disabled"],["aria-labelledby","issue-access-limit-radio-label",3,"ngModelChange","ngModel"],[1,"margin-s-bottom",3,"value"],[3,"value"],[3,
"ngModelChange","ngModel"],["type","button","mat-flat-button","","cdkFocusInitial","",3,"click","disabled"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1),M(),L(2,"div",1)(3,"div",2),N(4,"b-component-move-warning-content",3),M(),N(5,"br"),L(6,"a",4),U(7,"Learn more"),M(),I(8,uXa,3,1,"div"),M(),L(9,"mat-dialog-actions")(10,"button",5),Q("click",function(){return b.cancel()}),U(11," Cancel "),M(),I(12,vXa,2,1,"button",6),M());a&2&&(E(),tk(b.header),E(3),K("warningText",b.warning),E(2),Hj("href",b.learnMore,
Ni),E(2),J(b.isExternalMove&&b.isAllowed?8:-1),E(4),J(b.isAllowed?12:-1))},dependencies:[hG,oG,dA,aA,qK,rK,aG,HG,fI,hI,jI,iI,PO],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-right: 8px;\n    }"],changeDetection:0});var sOc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,sOc.messageId)};Y(sOc,n);sOc.messageId="b.CompareComponentAccessResponse";var RO=function(){this.executor=x(fy)};RO.prototype.check=function(a,b,c){return this.executor.get({url:"action/compare_component_access/"+a+"/"+b,options:{params:{issueId:c}},responseConstructor:sOc}).then(Hza)};RO.\u0275fac=function(a){return new (a||RO)};RO.\u0275prov=Dg({token:RO,factory:RO.\u0275fac,providedIn:"root"});var SO=function(){this.issueInteractionsTracking=x(TI);this.issueFullFridge=x(pE);this.componentFridge=x(AB);this.butterBar=x(MA);this.compareComponentAccess=x(RO);this.matDialogService=x(eI);this.editIssueService=x(XI);this.activeSession=x(Ks)};
SO.prototype.updateComponent=function(a,b){var c=this,d,e,f,h,k,q,u,A,D,H,O,P;return v(function(S){switch(S.nextAddress){case 1:jq(c.issueInteractionsTracking,a,{label:"changeComponent"});if(!b)return S.return(!1);d=l;return w(S,Promise.all([pi(c.issueFullFridge.watch(a)),pi(c.componentFridge.watch(b))]),2);case 2:e=d(S.yieldResult);f=e.next().value;h=e.next().value;k=f;q=h;if(!k)return c.butterBar.showWarning("Could not load issue "+a),S.return(!1);if(!q)return c.butterBar.showWarning("Could not load component "+
b),S.return(!1);u=k.snapshot[0].componentId;return u===b?S.return(!1):w(S,c.compareComponentAccess.check(u,b,a),3);case 3:A=S.yieldResult;D=!!q.trackerId;H=k.snapshot[0].issueAccessLimitLevel==="LIMIT_NONE";O=D&&H;P={allow:!1,setLimitViewTrusted:!1};if(!A.warning){S.jumpTo(4);break}return w(S,tOc(c,A,O),5);case 5:if(P=S.yieldResult,!P.allow)return S.return(!1);case 4:return w(S,c.editIssueService.updateComponent(a,b,A.isExternalMove,P.setLimitViewTrusted),6);case 6:return S.return(!0)}})};
var tOc=function(a,b,c){c=c===void 0?!1:c;return new Promise(function(d){ZH(a.matDialogService.open(QO,{width:"580px",data:{response:b,isLimitNoneIssueTrackerMove:c,callbacks:{allow:function(e){d({allow:!0,setLimitViewTrusted:e})},cancel:function(){d({allow:!1,setLimitViewTrusted:!1})}}}})).subscribe(function(){d({allow:!1,setLimitViewTrusted:!1})})})};SO.\u0275fac=function(a){return new (a||SO)};SO.\u0275prov=Dg({token:SO,factory:SO.\u0275fac,providedIn:"root"});var TO=function(){this.bLocation=x(hL);this.listIssues=Hq.listIssues.makeHref;this.createIssue=Hq.createIssue.makeHref};TO.prototype.viewSavedSearch=function(a,b){return wXa(Hq.viewSavedSearch.routeDeclarationPath,{id:a,params:b})};var uOc=function(a,b){b=b.charAt(0)!=="/"?"/"+b:b;a=a.bLocation.getUrl();a=new er(a);b=new er(b);return a.getPath()===b.getPath()&&Ux(a.queryData_.toString())===Ux(b.queryData_.toString())};g=TO.prototype;g.createBookmarkGroup=function(){return Hq.createBookmarkGroup.routeDeclarationPath};
g.viewBookmarkGroup=function(a){return wXa(Hq.viewBookmarkGroup.routeDeclarationPath,{id:a})};g.editBookmarkGroup=function(a){return Kq(Hq.editBookmarkGroup.routeDeclarationPath,{id:a})};g.editSavedSearch=function(a){return Kq(Hq.editSavedSearch.routeDeclarationPath,{id:a})};g.getBaseUrl=function(){var a=this.bLocation.platformLocation.href;a=a.slice(0,a.length-this.bLocation.getUrl().length);a.charAt(a.length-1)==="/"&&(a=a.slice(0,a.length-1));return a};
g.settings=function(a){return a?Kq(Hq.settingsTab.routeDeclarationPath,{id:a,token:":settingsTab?"}):Kq(Hq.settings.routeDeclarationPath)};g.home=function(){return Kq(Hq.home.routeDeclarationPath,{params:void 0})};TO.\u0275fac=function(a){return new (a||TO)};TO.\u0275prov=Dg({token:TO,factory:TO.\u0275fac,providedIn:"root"});var vOc=function(){this.documentationLinks=x(XH)};vOc.\u0275fac=function(a){return new (a||vOc)};
vOc.\u0275cmp=F({type:vOc,selectors:[["b-issue-component-retention-dialog"]],standalone:!1,decls:12,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["mat-dialog-actions",""],["type","button","mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["type","button","mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a){a&1&&(L(0,"h1",0),U(1,"Apply component retention settings?"),
M(),L(2,"div",1)(3,"p"),U(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. "),M(),L(5,"a",2),U(6,"Learn more"),M()(),L(7,"div",3)(8,"button",4),U(9," Cancel "),M(),L(10,"button",5),U(11," OK "),M()());a&2&&(E(5),K("href",Gs(),Ni),E(3),K("mat-dialog-close",!1),E(2),K("mat-dialog-close",!0))},dependencies:[fI,hI,jI,iI,dA,aA],encapsulation:2});var wOc=function(){this.documentationLinks=x(XH);this.data=x(dI);this.deletionReasons=this.data.deletionReasons;this.attachmentId=this.data.attachmentId};wOc.\u0275fac=function(a){return new (a||wOc)};
wOc.\u0275cmp=F({type:wOc,selectors:[["b-issue-delete-attachment-dialog"]],standalone:!1,decls:15,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["title","Deletion Reasons Help Link","target","_blank",1,"icon-s",3,"href"],[3,"ngModelChange","ngModel"],[3,"value","disabled"],["mat-dialog-actions",""],["type","button","mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["type","button","mat-flat-button","","color","primary",1,"medium","dialog-primary-action",3,"mat-dialog-close",
"disabled"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1),M(),L(2,"div",1)(3,"span"),U(4," Please select the reason for deleting this attachment. "),L(5,"a",2),U(6," \u00a0Learn more "),M()(),L(7,"mat-radio-group",3),xk("ngModelChange",function(c){wk(b.selectedReason,c)||(b.selectedReason=c);return c}),Mj(8,DXa,3,4,"mat-radio-button",4,Lj),M()(),L(10,"div",5)(11,"button",6),U(12," Cancel "),M(),L(13,"button",7),U(14," Delete "),M()());a&2&&(E(),V("Delete attachment ",b.attachmentId),E(4),K("href",
$Cc(b.documentationLinks),Ni),E(2),vk("ngModel",b.selectedReason),E(),Nj(b.deletionReasons),E(5),K("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[fI,hI,jI,iI,dA,aA,hG,oG,qK,rK],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var xOc=function(){this.documentationLinks=x(XH);this.data=x(dI);this.deletionReasons=this.data.deletionReasons;this.commentNumber=this.data.commentNumber;this.issueId=this.data.issueId};xOc.\u0275fac=function(a){return new (a||xOc)};
xOc.\u0275cmp=F({type:xOc,selectors:[["b-issue-delete-comment-dialog"]],standalone:!1,decls:15,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["title","Deletion Reasons Help Link","target","_blank",1,"icon-s",3,"href"],[3,"ngModelChange","ngModel"],[3,"value","disabled"],["mat-dialog-actions",""],["type","button","mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["type","button","mat-flat-button","","color","primary",1,"medium","dialog-primary-action",3,"mat-dialog-close",
"disabled"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1),M(),L(2,"div",1)(3,"label"),U(4,"Please select the reason for deleting this comment."),M(),L(5,"a",2),U(6," \u00a0Learn more "),M(),L(7,"mat-radio-group",3),xk("ngModelChange",function(c){wk(b.selectedReason,c)||(b.selectedReason=c);return c}),Mj(8,FXa,3,4,"mat-radio-button",4,Lj),M()(),L(10,"div",5)(11,"button",6),U(12," Cancel "),M(),L(13,"button",7),U(14," Delete "),M()());a&2&&(E(),uk("Delete Comment #",b.commentNumber," of Issue ",b.issueId),
E(4),K("href",$Cc(b.documentationLinks),Ni),E(2),vk("ngModel",b.selectedReason),E(),Nj(b.deletionReasons),E(5),K("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[fI,hI,jI,iI,dA,aA,hG,oG,qK,rK],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var yOc=function(){this.documentationLinks=x(XH);this.activeSession=x(Ks);this.REMOVAL_URL=GXa(this.activeSession.isInternalSession())};yOc.\u0275fac=function(a){return new (a||yOc)};
yOc.\u0275cmp=F({type:yOc,selectors:[["b-issue-flag-as-spam-dialog"]],standalone:!1,decls:19,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",1,"keep-underline",3,"href"],["mat-dialog-actions",""],["type","button","mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["type","button","mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1,"Report spam?"),
M(),L(2,"div",1)(3,"p"),U(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, "),L(5,"a",2),U(6,"see here"),M(),U(7,". "),M(),N(8,"p"),L(9,"p"),U(10," To delete PII or other sensitive content, "),L(11,"a",2),U(12,"file a support request"),M(),U(13,". "),M()(),L(14,"div",3)(15,"button",4),U(16," Cancel "),M(),L(17,"button",5),U(18," Report spam "),M()());a&2&&(E(5),K("href",ZCc(b.documentationLinks),Ni),E(6),K("href",
b.REMOVAL_URL,Ni),E(4),K("mat-dialog-close",!1),E(2),K("mat-dialog-close",!0))},dependencies:[fI,hI,jI,iI,dA,aA],encapsulation:2});var zOc=function(){this.documentationLinks=x(XH);this.indefiniteRetentionAcknowledged=!1};zOc.\u0275fac=function(a){return new (a||zOc)};
zOc.\u0275cmp=F({type:zOc,selectors:[["b-issue-indefinite-retention-dialog"]],standalone:!1,decls:28,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["cdkFocusInitial","",3,"change","checked"],["mat-dialog-actions",""],["type","button","mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["type","button","mat-flat-button","","color","primary",1,"medium","dialog-primary-action",3,"mat-dialog-close","disabled"]],template:function(a,b){a&1&&(L(0,"h1",
0),U(1,"Retain issue indefinitely?"),M(),L(2,"div",1)(3,"p"),U(4," Are you sure you want to override any component retention settings, and retain this issue indefinitely? "),M(),L(5,"p")(6,"b"),U(7,"Please note indefinite retention is not appropriate in many circumstances."),M(),N(8,"br"),U(9," Before selecting this option, you should make sure at least one of the following is true: "),M(),L(10,"ul")(11,"li"),U(12," There is no personal data, user data, or any other forms of sensitive data being stored in this issue. "),
M(),L(13,"li"),U(14," You have a process in place to manually delete this issue within an approved period of time. "),M(),L(15,"li"),U(16," Legal and Privacy have approved this non-standard retention period. "),M()(),N(17,"p"),L(18,"p")(19,"a",2),U(20,"Learn more"),M()(),L(21,"mat-checkbox",3),Q("change",function(c){return b.indefiniteRetentionAcknowledged=c.checked}),U(22," I acknowledge "),M()(),L(23,"div",4)(24,"button",5),U(25," Cancel "),M(),L(26,"button",6),U(27," OK "),M()());a&2&&(E(19),K("href",
Gs(),Ni),E(2),K("checked",b.indefiniteRetentionAcknowledged),E(3),K("mat-dialog-close",!1),E(2),K("mat-dialog-close",!0)("disabled",!b.indefiniteRetentionAcknowledged))},dependencies:[fI,hI,jI,iI,dA,aA,aG,HG],styles:[".mat-mdc-dialog-content[_ngcontent-%COMP%] { max-height: unset; overflow: unset; }","ul[_ngcontent-%COMP%] { list-style: disc }"]});var UO=function(){Z.apply(this,arguments);this.userPreferencesManager=x(NF);this.timestamps$=this.userPreferencesManager.preferences$.pipe(C(function(a){var b;return(b=a.dismissalTimestamps)!=null?b:void 0}))};Y(UO,Z);UO.\u0275dir=Z.\u0275dir;var AOc=function(a,b){return a.timestamps$.pipe(C(function(c){return c?!!c[b]:!1}))};UO.prototype.isDismissed=function(a){return pi(AOc(this,a))};
UO.prototype.dismiss=function(a){var b=this;return this.timestamps$.pipe(hj(1),C(function(c){var d={};return{dismissalTimestamps:Object.assign({},c,(d[a]=new Date(Date.now()),d))}}),sj(function(c){return b.userPreferencesManager.save(c)}),C(function(c){if(c.dismissalTimestamps&&c.dismissalTimestamps[a])return c.dismissalTimestamps[a]}))};UO.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(UO)))(b||UO)}}();UO.\u0275prov=Dg({token:UO,factory:UO.\u0275fac,providedIn:"root"});var VO=function(){Z.apply(this,arguments);this.data=x(dI);this.dialogRef=x(YH);this.dismissalService=x(UO);this.dontShowAgain=!1};Y(VO,Z);VO.\u0275dir=Z.\u0275dir;VO.prototype.confirm=function(){var a=this,b;return v(function(c){if(c.nextAddress==1){if(!a.dontShowAgain)return c.jumpTo(2);b=HXa(a.data.action);return w(c,pi(a.dismissalService.dismiss(b)),2)}a.dialogRef.close(!0);ji(c)})};VO.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(VO)))(b||VO)}}();
VO.\u0275cmp=F({type:VO,selectors:[["b-share-email-confirmation-dialog"]],standalone:!1,features:[xj],decls:9,vars:2,consts:[["mat-dialog-content",""],[3,"innerHTML"],[3,"change","checked"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium",3,"click"],["type","button","mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium",3,"click"]],template:function(a,b){a&1&&(L(0,"div",0),N(1,"div",1),L(2,"mat-checkbox",2),Q("change",function(c){return b.dontShowAgain=c.checked}),
U(3," Don't show this again "),M()(),L(4,"div",3)(5,"button",4),Q("click",function(){return b.dialogRef.close(!1)}),U(6," Cancel "),M(),L(7,"button",5),Q("click",function(){return b.confirm()}),U(8," Confirm "),M()());a&2&&(E(),K("innerHTML",b.data.content,Mi),E(),K("checked",b.dontShowAgain))},dependencies:[jI,iI,dA,aA,aG,HG],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-top: 12px;\n      padding-bottom: 12px;\n    }"]});var WO=function(){};WO.\u0275fac=function(a){return new (a||WO)};WO.\u0275mod=Zi({type:WO});WO.\u0275inj=Eg({imports:[Wy,jC,HI,FI,pO,FG,UL,wM,oL,qM,SL]});var XO=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(XO,n);XO.prototype.getAttachmentId_asString=function(){return Xe(this,1)};XO.prototype.setAttachmentId=function(a){return ll(this,1,a)};XO.prototype.getCategory=function(){return Oc(this,2)};XO.prototype.setCategory=function(a){return Vd(this,2,a)};var BOc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(BOc,n);BOc.prototype.getCategory=function(){return Oc(this,1)};BOc.prototype.setCategory=function(a){return Vd(this,1,a)};var COc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(COc,n);COc.prototype.getRecommendation=function(){return Oc(this,1)};COc.prototype.setRecommendation=function(a){return Vd(this,1,a)};var DOc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(DOc,n);g=DOc.prototype;g.getSummaryType=function(){return Zd(this,1)};g.setSummaryType=function(a){return Xd(this,1,a)};g.getModelVersion=function(){return Pd(this,2)};g.setModelVersion=function(a){return se(this,2,a)};g.getIssueVersion=function(){return Pd(this,3)};g.setIssueVersion=function(a){return se(this,3,a)};var YO=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(YO,n);var EOc=[1,2,3,4];var ZO=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ZO,n);g=ZO.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getFeature=function(){return Zd(this,2)};g.setFeature=function(a){return Xd(this,2,a)};g.getEventType=function(){return Zd(this,3)};g.setEventType=function(a){return Xd(this,3,a)};var FOc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(FOc,n);var GOc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(GOc,n);GOc.prototype.getIt=function(){return r(this,ZO,1)};GOc.prototype.setIt=function(a){return t(this,ZO,1,a)};var $O=function(){this.executor=x(ey);this.activeSession=x(Ks)};$O.prototype.logIssueUserEventForRecommendation=function(a,b,c,d){d=HOc(d);return this.logIssueUserEvent(a,b,c,d)};
$O.prototype.logIssueUserEventForRecommendations=function(a){if(!Cx(this.activeSession,"enableBatchLogIssueUserEvent"))return li(void 0);a=a.map(function(b){var c=b.issueId,d=b.feature,e=b.eventType;b=HOc(b.recommendationName);c=(new ZO).setIssueId(c).setFeature(Uhc[d]).setEventType(Rhc[e]);return t(c,YO,6,b)});return IOc(this,a)};$O.prototype.logIssueUserEventForIssueEnrichment=function(a,b,c,d){var e=new YO;d=(new BOc).setCategory(d);e=Bl(e,3,EOc,d);return this.logIssueUserEvent(a,b,c,e)};
$O.prototype.logIssueUserEvent=function(a,b,c,d){a=(new ZO).setIssueId(a).setFeature(Uhc[b]).setEventType(Rhc[c]);d=t(a,YO,6,d);return Cx(this.activeSession,"enableBatchLogIssueUserEvent")?this.activeSession.isExternalSession()?li(void 0):IOc(this,[d]):this.executor.post({url:"action/issues/log_event",body:(new GOc).setIt(d),responseConstructor:null})};
var IOc=function(a,b){if(a.activeSession.isExternalSession())b=li(void 0);else{a=a.executor;var c=a.post,d=new FOc;b=qm(d,1,ZO,b);b=c.call(a,{url:"action/issues/batch_log_event",body:b,responseConstructor:null})}return b},HOc=function(a){var b=new YO;a=(new COc).setRecommendation(a);return Bl(b,2,EOc,a)};$O.\u0275fac=function(a){return new (a||$O)};$O.\u0275prov=Dg({token:$O,factory:$O.\u0275fac,providedIn:"root"});var KXa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(KXa,n);g=KXa.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.setEmbeddingType=function(a){Xd(this,7,a)};g.getScope=function(){return Oc(this,2)};g.setScope=function(a){return Vd(this,2,a)};g.setScopeSortOrder=function(a){return Vd(this,3,a)};g.setMaxResults=function(a){return se(this,4,a)};
g.setView=function(a){return Xd(this,5,a)};g.setIssueDescriptionView=function(a){return Xd(this,6,a)};var IXa=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(IXa,n);g=IXa.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.setEmbeddingType=function(a){Xd(this,6,a)};g.getScope=function(){return Oc(this,2)};g.setScope=function(a){return Vd(this,2,a)};g.setScopeSortOrder=function(a){return Vd(this,4,a)};g.setMaxResults=function(a){return se(this,5,a)};var Lq=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Lq.messageId)};Y(Lq,n);Lq.prototype.getIt=function(){return r(this,IXa,1,Kc)};Lq.prototype.setIt=function(a){return t(this,IXa,1,a,Kc)};Lq.messageId="b.LookupSimilarIssuesRequest";var JOc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(JOc,n);g=JOc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getScore=function(){return wl(this,2)};g.setScore=function(a){return Vl(this,2,a)};var KOc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(KOc,n);var LOc=function(a){return ie(a,lm,1,Rd())},MOc=function(a){return ie(a,JOc,2,Rd())};var aP=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,aP.messageId)};Y(aP,n);aP.prototype.getIt=function(){return r(this,KOc,3,Kc)};aP.prototype.setIt=function(a){return t(this,KOc,3,a,Kc)};aP.messageId="b.LookupSimilarIssuesResponse";var Mq=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Mq.messageId)};Y(Mq,n);Mq.prototype.getIt=function(){return r(this,KXa,1,Kc)};Mq.prototype.setIt=function(a){return t(this,KXa,1,a,Kc)};Mq.messageId="b.RetrieveSimilarIssuesRequest";var NOc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(NOc,n);NOc.prototype.getIssuesList=function(){return ie(this,lm,1,Rd())};var bP=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,bP.messageId)};Y(bP,n);bP.prototype.getIt=function(){return r(this,NOc,1,Kc)};bP.prototype.setIt=function(a){return t(this,NOc,1,a,Kc)};bP.messageId="b.RetrieveSimilarIssuesResponse";var OOc={},POc=(OOc[RH.queryAtom]=!0,OOc),cP=function(){this.executor=x(ey)},QOc=function(a,b){return a.executor.post({url:"action/lookup_similar_issues",body:JXa(b),responseConstructor:aP}).pipe(C(function(c){var d=LOc(c.getIt()).map(Cva);c=MOc(c.getIt()).map(function(e){return e.getScore()});return{similarIssues:d,scores:c}}))},ROc=function(a,b){return a.executor.post({url:"action/retrieve_similar_issues",body:LXa(b),responseConstructor:bP}).pipe(C(function(c){return{similarIssues:c.getIt().getIssuesList().map(Cva),
scores:[]}}))},SOc=function(a,b,c,d,e,f){d=d===void 0?new Set:d;e={maxResults:e===void 0?7:e,scopeSortOrder:"vote_count desc"};(f===void 0?0:f)?e.scope=void 0:e.scope=Jp.apply(null,[Ip("modified","365d")].concat(p(Array.from(d,function(h){return h.queryAtom}))));c==null?e.issueId=Number(b):e.keyword=c;return QOc(a,e)},TOc=function(a,b,c,d){d=d===void 0?new Set:d;return QOc(a,{issueId:Number(b),maxResults:7,scope:Jp.apply(null,[Ip("-id",b),Ip("id",c)].concat(p(Array.from(d,function(e){return e.queryAtom}).filter(function(e){return POc[e]}))))})};
cP.\u0275fac=function(a){return new (a||cP)};cP.\u0275prov=Dg({token:cP,factory:cP.\u0275fac,providedIn:"root"});var UOc=ze(function(a){var b,c;return(c=a==null?void 0:(b=a.aggregatedData)==null?void 0:b.voteCount)!=null?c:0},Ae),VOc=new Set([RH]),dP=function(){this.issueFullFridge=x(pE);this.issueFridge=x(MD);this.similarIssuesApi=x(cP);this.analytics=x(nE);this.recentlyViewedIds$=this.issueFridge.watchMany({custom:"viewed",pageSize:50}).pipe(C(function(a){return a.results.map(function(b){return b.issueId})}));this.componentIdToRecentCanonicals=new Map},WOc=function(a,b,c,d){c=c===void 0?VOc:c;d=SOc(a.similarIssuesApi,
b,void 0,c,void 0,d===void 0?!1:d);var e=li([]).pipe(ij(5E3));e=Yma(e,a.recentlyViewedIds$).pipe(sj(function(f){return TOc(a.similarIssuesApi,b,f,c)}));return si([d,e]).pipe(C(function(f){var h=l(f);f=h.next().value;h=h.next().value;return MXa(f,h)}),C(function(f){return f.similarIssues.map(function(h,k){return Object.assign({},h,{score:f.scores[k]})})}),C(function(f){return f.slice(0,7)}),cj(function(f){oe("IssuePickerSearchService::searchSimilarIssuesById() error: ",f);var h,k,q=(k=f==null?void 0:
(h=f.error)==null?void 0:h.status)!=null?k:f==null?void 0:f.status;a.analytics.trackEvent("issue-picker-svc","error","by-id",q);return li([])}))},YOc=function(a,b,c,d,e){c=c===void 0?VOc:c;return b.trim()?d==="canonical"?SOc(a.similarIssuesApi,e==null?void 0:e.id,b,c).pipe(C(function(f){return f.similarIssues.map(function(h,k){return Object.assign({},h,{score:f.scores[k]})})}),cj(function(f){oe("IssuePickerSearchService::searchSimilarIssues() error: ",f);var h,k,q=(k=f==null?void 0:(h=f.error)==null?
void 0:h.status)!=null?k:f==null?void 0:f.status;a.analytics.trackEvent("issue-picker-svc","error","by-text",q);return li([])})):XOc(a,b):li(void 0)};
dP.prototype.search=function(a,b,c,d){var e=this;if(!a.trim())return li(void 0);if(b==="canonical"){b=ZOc(this,a,d);d=$Oc(this,d).pipe(sj(function(h){return e.issueFridge.watchMany({filter:Jp(a,Ip("-id",c==null?void 0:c.id),Ip("status","open"),Ip("componentid",h)),pageSize:10})}),C(function(h){return h==null?void 0:h.results}));var f=this.issueFridge.watchMany({filter:Jp(a,Ip("-id",c==null?void 0:c.id)),pageSize:10,sort:"modified_time:desc"}).pipe(C(function(h){return h==null?void 0:h.results}),rj([]));
return si([b,d,f]).pipe(C(function(h){return no(h.flat(),function(k){return k.issueId})}),C(function(h){return h.slice(0,10)}),C(function(h){return UOc(h,"DESCENDING")}))}return XOc(this,a)};
var XOc=function(a,b){return a.issueFridge.watchMany({filter:b,pageSize:10}).pipe(C(function(c){return c==null?void 0:c.results}))},ZOc=function(a,b,c){return c&&c!=="0"?aPc(a,c).pipe(sj(function(d){return d.length===0?li([]):a.issueFridge.watchMany({filter:Jp(b,Ip("id",d),Ip("status","open")),pageSize:10}).pipe(C(function(e){return e==null?void 0:e.results}))})):li([])},aPc=function(a,b){if(!b||b==="0")return li([]);if(a.componentIdToRecentCanonicals.has(b))return a.componentIdToRecentCanonicals.get(b);
var c=a.issueFridge.watchMany({filter:Jp(Ip("componentid",b,!0),Ip("status","duplicate")),sort:"modified_time:desc",pageSize:250}).pipe(C(function(d){return d==null?void 0:d.results}),C(function(d){return d.map(function(e){return e.snapshot[0].duplicateOfIssueId})}),C(function(d){return oo(d.filter(fe))}),pj({bufferSize:1,refCount:!0}));a.componentIdToRecentCanonicals.set(b,c);return c},$Oc=function(a,b){return b&&b!=="0"?aPc(a,b).pipe(sj(function(c){return a.issueFullFridge.watchSet(c)}),C(function(c){return c.map(function(d){return d.snapshot[0].componentId})}),
C(function(c){return[b].concat(p(c.filter(fe)))}),C(oo),pj({bufferSize:1,refCount:!0})):li([])};dP.\u0275fac=function(a){return new (a||dP)};dP.\u0275prov=Dg({token:dP,factory:dP.\u0275fac,providedIn:"root"});var eP=function(){};eP.\u0275fac=function(a){return new (a||eP)};eP.\u0275cmp=F({type:eP,selectors:[["b-async-data-placeholder"]],inputs:{isReady:"isReady"},standalone:!1,ngContentSelectors:["*"],decls:2,vars:1,consts:[[1,"animated-loading-bar"]],template:function(a,b){a&1&&(Zj(),I(0,NXa,1,0)(1,OXa,1,0,"div",0));a&2&&J(b.isReady?0:1)},encapsulation:2});var fP=function(){this.mode="datetime";this.isDataLoaded=!1};fP.prototype.ngOnChanges=function(){var a;if((a=this.issue)==null?0:a.aggregatedData){var b;this.createdTime=((b=this.issue)==null?NaN:b.aggregatedData.createdTimeMicros)/1E3}this.isDataLoaded=this.issue!=null};fP.\u0275fac=function(a){return new (a||fP)};
fP.\u0275cmp=F({type:fP,selectors:[["b-issue-created-time-cell"]],inputs:{issue:"issue",mode:"mode"},standalone:!1,features:[$w],decls:2,vars:2,consts:[[1,"nowrap",3,"isReady"],[3,"mode","timestamp","paddingLeftPx"]],template:function(a,b){a&1&&(L(0,"b-async-data-placeholder",0),I(1,PXa,1,3,"b-formatted-date-time",1),M());a&2&&(K("isReady",b.isDataLoaded),E(),J(b.createdTime?1:-1))},dependencies:[eP,tN],encapsulation:2,changeDetection:0});var gP=function(){this.relayOnly=!1;this.keydown$=new oj};gP.prototype.onKeydown=function(a){this.relayOnly||this.keydown$.next(a)};pg.Object.defineProperties(gP.prototype,{tabindex:{configurable:!0,enumerable:!0,get:function(){return this.relayOnly?null:"0"}}});gP.\u0275fac=function(a){return new (a||gP)};
gP.\u0275dir=$i({type:gP,selectors:[["","onedevKeyEventReceiver",""]],hostVars:1,hostBindings:function(a,b){a&1&&Q("keydown",function(c){return b.onKeydown(c)});a&2&&Hj("tabindex",b.tabindex)},inputs:{relayOnly:"relayOnly"},standalone:!1});var bPc=0,hP=function(a){this.keyEventReceiver=a;this.id="onedev-popup-panel-"+bPc;this.closePanel$=new nj(1);bPc++};hP.prototype.processKeydown=function(a){this.keyEventReceiver&&this.keyEventReceiver.keydown$.next(a);var b=a.code;(b==="Escape"||a.altKey&&b==="ArrowUp")&&this.closePanel$.next()};hP.\u0275fac=function(a){return new (a||hP)(Ui(gP,8))};
hP.\u0275cmp=F({type:hP,selectors:[["onedev-popup-panel"]],viewQuery:function(a,b){a&1&&ek(bk,7);if(a&2){var c;ik(c=jk())&&(b.templateRef=c.first)}},inputs:{className:"className"},exportAs:["onedevPopupPanel"],standalone:!1,ngContentSelectors:["*"],decls:1,vars:0,consts:[[1,"onedev-popup-panel","gmat-elevation-z2",3,"keydown"]],template:function(a){a&1&&(Zj(),G(0,QXa,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 iP=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 Lp;this.closed=new Lp;this.isOpen=!1;this.destroyed$=new nj(1);this.closingActionsSubscription=Yh.EMPTY};iP.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
iP.prototype.open=function(){var a=this;this.disabled||this.isOpen||(this.overlayRef=this.createOverlay(),this.templatePortal=new Bz(this.popupPanel.templateRef,this.viewContainerRef),this.overlayRef.attach(this.templatePortal),this.closingActionsSubscription=cPc(this).pipe(tj(this.destroyed$)).subscribe(function(){a.close()}),this.trapFocus(),this.isOpen=!0,this.opened.emit())};
iP.prototype.close=function(){if(this.isOpen){this.isOpen=!1;var a;if((a=this.overlayRef)==null?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()}};
iP.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 cPc=function(a){var b=a.overlayRef.backdropClick(),c=a.overlayRef._detachments,d=a.popupPanel.closePanel$;return a.closeOnBackdropClick?Ci(b,c,d):Ci(c,d)};
iP.prototype.trapFocus=function(){this.overlayRef&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.hostElement),this.focusTrap.focusInitialElement())};
iP.prototype.getPositionStrategy=function(){return sz(tz(uz(yz(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"}])};iP.prototype.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
pg.Object.defineProperties(iP.prototype,{onedevPopupPanelTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.popupPanel},set:function(a){this.popupPanel=a}}});iP.\u0275fac=function(a){return new (a||iP)(Ui(Gz),Ui(Ph),Ui(ck),Ui(az),Ui(sx))};
iP.\u0275dir=$i({type:iP,selectors:[["","onedevPopupPanelTrigger",""]],hostAttrs:["aria-haspopup","true"],hostVars:3,hostBindings:function(a,b){a&2&&Hj("aria-disabled",b.disabled)("aria-expanded",b.isOpen||null)("aria-controls",b.isOpen?b.popupPanel.id:null)},inputs:{onedevPopupPanelTriggerFor:"onedevPopupPanelTriggerFor",disabled:[0,"onedevPopupPanelTriggerDisabled","disabled"],closeOnBackdropClick:[0,"onedevPopupPanelTriggerCloseOnBackdropClick","closeOnBackdropClick"]},outputs:{opened:"onedevPopupPanelTriggerOpened",
closed:"onedevPopupPanelTriggerClosed"},exportAs:["onedevPopupPanelTrigger"]});var jP=function(){Z.apply(this,arguments);var a=this;this.activeSession=x(Ks);this.trackerHelpers=x(sI);this.clipboard=x(ZF);this.butterBar=x(MA);this.componentId=void 0;this.issueTitle=this.issueId="";this.disabled=this.isExternalIssue=!1;this.showCopyOptions=this.enableHotkeys=!0;this.isOpen=!1;this.HOTKEYS=nq;this.copyIssueId=Xgc(function(){a.clipboard.copy(a.issueId);hq(a.butterBar,"Issue ID copied",2E3)})};Y(jP,Z);jP.\u0275dir=Z.\u0275dir;var Nq=function(a,b){a.clipboard.copy(b.value);a.trigger.close()};
jP.prototype.getIssueUrl=function(){return this.getAppBaseUrl(this.isExternalIssue)};jP.prototype.getAppBaseUrl=function(a){return sr(this.trackerHelpers,this.issueId,void 0,a===void 0?!1:a)};jP.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(jP)))(b||jP)}}();
jP.\u0275cmp=F({type:jP,selectors:[["b-issue-id-picker"]],viewQuery:function(a,b){a&1&&ek(iP,5);if(a&2){var c;ik(c=jk())&&(b.trigger=c.first)}},inputs:{componentId:"componentId",issueId:"issueId",issueTitle:"issueTitle",isExternalIssue:"isExternalIssue",disabled:"disabled",enableHotkeys:"enableHotkeys",showCopyOptions:"showCopyOptions"},standalone:!1,features:[xj],decls:4,vars:6,consts:[["trigger","onedevPopupPanelTrigger"],["contentPanel","onedevPopupPanel"],["issueIdField",""],["issueUrlField",
""],["urlAndTitleField",""],["issueShortlinkField",""],["issueEmailField",""],["todoCommentField",""],["type","button","matTooltip","Copy issue ID","disableRipple","true",1,"unstyled","square-right","issue-id",3,"click","mousedown"],["svgIcon","copy",1,"icon-xs","invisible"],["type","button","matTooltip","Show links for this issue","onedevPopupPanelTrigger","","disableRipple","true",1,"unstyled","square-left",3,"onHotkey","onedevPopupPanelTriggerOpened","onedevPopupPanelTriggerClosed","click","onedevPopupPanelTriggerFor",
"hotkey","hotkeyEnabled"],["svgIcon","arrow-dropdown",1,"icon-xs"],["role","region"],["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,"onHotkey","focus","hotkey","hotkeyEnabled"],[1,"muted","shortcut"],["type","button","mat-icon-button","","tabindex","-1","aria-label","Copy ID","matTooltip","Copy ID",1,"copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],
["svgIcon","copy",1,"icon-s"],["type","text","readonly","","id","id-details-issue-url-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["type","button","mat-icon-button","","tabindex","-1","aria-label","Copy URL","matTooltip","Copy URL",1,"copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],["type","text","readonly","","id","id-details-url-and-title-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["type","button","mat-icon-button","","tabindex","-1","aria-label","Copy text",
"matTooltip","Copy text",1,"copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],["type","text","readonly","","id","id-details-issue-shortlink-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["type","button","mat-icon-button","","tabindex","-1","aria-label","Copy shortlink","matTooltip","Copy shortlink",1,"copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],["type","text","readonly","","id","id-details-issue-email-field","matTooltip","Email this address to add comments to this issue",
1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["type","button","mat-icon-button","","tabindex","-1","aria-label","Copy email","matTooltip","Copy email",1,"copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],["type","text","readonly","","id","id-details-todo-comment-field","matTooltip","TODO comment for code",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["type","button","mat-icon-button","","tabindex","-1","aria-label","Copy comment","matTooltip","Copy comment",1,"copy",3,"onHotkey",
"click","hotkey","hotkeyEnabled"]],template:function(a,b){a&1&&(L(0,"button",8),Q("click",function(){return b.copyIssueId()})("mousedown",function(){return b.copyIssueId()}),U(1),I(2,RXa,1,0,"mat-icon",9),M(),I(3,bYa,6,5));a&2&&(rk("square-right",b.showCopyOptions),Hj("aria-label","Copy issue number "+b.issueId),E(),V(" ",b.issueId," "),E(),J(b.showCopyOptions?-1:2),E(),J(b.showCopyOptions?3:-1))},dependencies:[Ny,EA,DL,dA,bA,YF,WF,hP,iP],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}@media(forced-colors: active){.issue-id[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider)}.issue-id[_ngcontent-%COMP%]:focus-visible{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color}}.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-visible   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-visible{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)}@media(forced-colors: active){button.square-left[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider)}button.square-left[_ngcontent-%COMP%]:focus-visible{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color}}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)}  .onedev-popup-panel .issue-id-picker-popup .id-details-row button.copy .mat-mdc-button-persistent-ripple{border-radius:inherit}"],
changeDetection:0});var kP=function(){};kP.prototype.ngOnInit=function(){};kP.prototype.onClick=function(a){a.stopPropagation()};kP.\u0275fac=function(a){return new (a||kP)};
kP.\u0275cmp=F({type:kP,selectors:[["b-issue-id-cell"]],hostBindings:function(a,b){a&1&&Q("click",function(c){return b.onClick(c)})},inputs:{id:"id"},standalone:!1,decls:2,vars:2,consts:[[3,"isReady"],[3,"issueId","showCopyOptions"]],template:function(a,b){a&1&&(L(0,"b-async-data-placeholder",0),I(1,cYa,1,2,"b-issue-id-picker",1),M());a&2&&(K("isReady",!!b.id),E(),J(b.id?1:-1))},dependencies:[eP,jP],encapsulation:2,changeDetection:0});var lP=function(){this.IssuePriority=jic},dPc=function(a){a=a.issuePriority;if(a==null)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""}};lP.\u0275fac=function(a){return new (a||lP)};
lP.\u0275cmp=F({type:lP,selectors:[["b-issue-priority-display"]],inputs:{issuePriority:"issuePriority"},standalone:!1,decls:2,vars:3,consts:[[1,"p-chip"]],template:function(a,b){a&1&&(L(0,"span",0),U(1),M());a&2&&(sk(dPc(b)),E(),a=b.issuePriority,V(" ",a==null?"--":cjc[a]," "))},styles:["/*# sourceMappingURL=issue_priority_display.css.map */"],changeDetection:0});var mP=function(){this.priority=this.issue=null;this.isDataLoaded=!1};mP.prototype.ngOnChanges=function(){var a,b;this.priority=((a=this.issue)==null?void 0:(b=a.snapshot[0])==null?void 0:b.priority)||null;this.isDataLoaded=this.issue!==null};mP.\u0275fac=function(a){return new (a||mP)};
mP.\u0275cmp=F({type:mP,selectors:[["b-issue-priority-cell"]],inputs:{issue:"issue"},standalone:!1,features:[$w],decls:2,vars:2,consts:[[1,"nowrap",3,"isReady"],[3,"issuePriority"]],template:function(a,b){a&1&&(L(0,"b-async-data-placeholder",0),I(1,dYa,1,1,"b-issue-priority-display",1),M());a&2&&(K("isReady",b.isDataLoaded),E(),J(b.priority?1:-1))},dependencies:[eP,lP],encapsulation:2,changeDetection:0});var nP=function(){this.changelistFridge=x(mB);this.IssueStatus=zic;this.STATUS_JS_FULL_TEXT=Nd;this.STATUS_JS_TERSE=$ic;this.isFixed=Xha;this.issue=null;this.isDataLoaded=!1};nP.prototype.ngOnChanges=function(){if(this.showPendingFix&&this.issue){var a=this.changelistFridge.peekAllRecords(),b;this.pendingFixCl=hYa(a,(b=this.issue)==null?void 0:b.issueId)}var c,d;this.status=((c=this.issue)==null?void 0:(d=c.snapshot[0])==null?void 0:d.status)||void 0;this.isDataLoaded=this.issue!==null};
nP.\u0275fac=function(a){return new (a||nP)};
nP.\u0275cmp=F({type:nP,selectors:[["b-issue-status-cell"]],inputs:{issue:"issue",showPendingFix:"showPendingFix"},standalone:!1,features:[$w],decls:3,vars:2,consts:[[3,"isReady"],["target","_blank",3,"class","href","matTooltip"],["target","_blank",3,"href","matTooltip"],[3,"class","title"],[3,"title"]],template:function(a,b){a&1&&(L(0,"b-async-data-placeholder",0),I(1,eYa,2,8,"a",1)(2,gYa,1,1),M());a&2&&(K("isReady",b.isDataLoaded),E(),J(b.pendingFixCl&&!b.isFixed(b.issue)?1:2))},dependencies:[eP,
YF,WF],encapsulation:2,changeDetection:0});var oP=function(){this.el=x(Ph);this.bFocus=!0;this.nativeElement=this.el.nativeElement};oP.prototype.ngOnInit=function(){ePc(this)};oP.prototype.ngOnChanges=function(){ePc(this)};var ePc=function(a){setTimeout(function(){a.bFocus&&a.nativeElement.focus()})};oP.\u0275fac=function(a){return new (a||oP)};oP.\u0275dir=$i({type:oP,selectors:[["","bFocus",""]],inputs:{bFocus:"bFocus"},standalone:!1,features:[$w]});var pP=function(){};pP.\u0275fac=function(a){return new (a||pP)};pP.\u0275mod=Zi({type:pP});
pP.\u0275inj=Eg({});var qP=function(){this.activeSession=x(Ks);this.issueApi=x(vD);this.analytics=x(nE);this.errorHandler=x(PA);this.onCc=new iE};qP.prototype.ngOnInit=function(){};
qP.prototype.toggle=function(){var a=this;this.analytics.trackEvent("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)}))};qP.\u0275fac=function(a){return new (a||qP)};qP.\u0275cmp=F({type:qP,selectors:[["b-cc-button"]],inputs:{issueId:"issueId",ccState:"ccState"},outputs:{onCc:"onCc"},standalone:!1,decls:3,vars:1,consts:[["type","button","mat-button","",1,"medium",3,"click"]],template:function(a,b){a&1&&(L(0,"button",0),Q("click",function(){return b.toggle()}),I(1,iYa,2,0,"ng-container")(2,jYa,2,0,"ng-container"),M());a&2&&(E(),J(b.ccState?1:2))},dependencies:[dA,aA],encapsulation:2});var Qt=function(a,b){this.name_=b||"";this.address=a||""},fPc=/"/g,gPc=/\\"/g,hPc=/\\/g,iPc=/\\\\/g,jPc=RegExp("^[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~-]+@([a-zA-Z0-9-]+\\.)+[a-zA-Z0-9]{2,63}$"),kPc=new RegExp("["+Rda({LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"}).join("")+"]","g");Qt.prototype.getName=function(){return this.name_};Qt.prototype.setName=function(a){this.name_=a};Qt.prototype.toString=function(){return lPc(this,'()<>@:\\".[],;')};
var lPc=function(a,b){var c=a.getName();c=c.replace(fPc,"");a:{for(var d=c,e=0;e<b.length;e++)if(ka(d,b[e])){b=!0;break a}b=!1}b&&(c='"'+c.replace(hPc,"\\\\")+'"');return c==""?a.address:a.address==""?c:c+" <"+a.address+">"};Qt.prototype.isValid=function(){return jPc.test(this.address)};
var Ft=function(a){var b=mPc;a=a.replace(kPc,"");for(var c="",d="",e=0;e<a.length;){var f=a;var h=e,k=f.charAt(h),q='"<(['.indexOf(k);if(q==-1||nPc(f,h))f=k;else{q='">)]'.charAt(q);for(var u=f.indexOf(q,h+1);u>=0&&nPc(f,u);)u=f.indexOf(q,u+1);f=u>=0?f.substring(h,u+1):k}f.charAt(0)=="<"&&f.indexOf(">")!=-1?(d=f.indexOf(">"),d=f.substring(1,d)):d==""&&(c+=f);e+=f.length}d==""&&c.indexOf("@")!=-1&&(d=c,c="");c=ggc(c);c=hgc(c,"'");c=hgc(c,'"');c=c.replace(gPc,'"');c=c.replace(iPc,"\\");d=ggc(d);return new b(d,
c)},nPc=function(a,b){if(a.charAt(b)!='"')return!1;var c=0;for(--b;b>=0&&a.charAt(b)=="\\";b--)c++;return c%2!=0};var mPc=function(a,b){Qt.call(this,a,b)};Lu(mPc,Qt);var oPc=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}$");mPc.prototype.isValid=function(){return pPc(this.address)};var pPc=function(a){return a==null?!1:oPc.test(a)};mPc.prototype.toString=function(){return lPc(this,'()<>@:\\".[],;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a')};var qPc=/[^a-z0-9]+/ig,rPc=[9,11,10,12,13,14,19],sPc=[9,19,11],tPc=[1,6],uPc=[2,7],vPc=[3,8],wPc=[1,2,6,7,8,9,11,10,12,13,14,18,19],Acc=[3,4,5,17,20],Yt=function(a,b,c){this.type_=a;this.normalizedValue_=Pq(b);this.originalValue_=Pq(c===void 0?b:c)};Yt.prototype.getType=function(){return this.type_};Yt.prototype.getValue=function(){return this.normalizedValue_};Yt.prototype.getOriginalValue=function(){return this.originalValue_};
var Vt=function(a){return rPc.includes(a.getType())},xPc=function(a){return sPc.includes(a.getType())},yPc=function(a){return tPc.includes(a.getType())},ycc=function(a,b){switch(a){case 1:return Wt(b);case 6:return new Yt(6,Pq(b).toLowerCase(),b);case 2:return vac(b);case 7:return xac(b);case 3:return Aac(b);case 8:return new Yt(8,Pq(b).toLowerCase(),b);case 5:return new Yt(5,Pq(b).toLowerCase(),b);case 4:return Bac(b);case 9:return zPc(b);case 12:return new Yt(12,Pq(b),b);case 13:return new Yt(13,
Pq(b),b);case 14:return new Yt(14,Pq(b),b);case 10:return new Yt(10,Pq(b),b);case 11:return new Yt(11,Pq(b),b);case 18:return zcc(b);case 19:return new Yt(19,Pq(b),b);case 20:return new Yt(20,Pq(b),b);case 17:return APc;default:return new Yt(0,b)}},Wt=function(a){return new Yt(1,Pq(a).toLowerCase(),a)},vac=function(a){var b=Pq(a).toLowerCase().replace(qPc,"");return new Yt(2,b,a)},Aac=function(a){var b=Pq(a).toLowerCase();return b==="me"?APc:new Yt(3,b,a)},Bac=function(a){return new Yt(4,Pq(a).toLowerCase(),
a)},xac=function(a){var b=Pq(a).toLowerCase().replace(qPc,"");return new Yt(7,b,a)},zPc=function(a){return new Yt(9,Pq(a).toLowerCase(),a)},zcc=function(a){return new Yt(18,Pq(a),a)},Pt=function(a){var b=a.indexOf(":");return ycc(b>0?parseInt(a.substring(0,b),10):0,a.substring(b+1))};Yt.prototype.toString=function(){return this.type_+":"+this.normalizedValue_};Yt.prototype.serialize=function(){return this.type_+":"+this.originalValue_};
Yt.prototype.equals=function(a){return a?this===a?!0:this.type_===a.type_&&this.normalizedValue_===a.normalizedValue_:!1};var BPc=function(a){switch(a.getType()){case 1:case 6:return pPc(a.originalValue_);case 2:case 7:return a=a.originalValue_.replace(qPc,""),a.length>=3&&a[0]>="0"&&a[0]<="9";case 3:case 8:return!!Pq(a.originalValue_);default:return!0}},$t=ycc(0,""),APc=new Yt(17,"me");var xt=function(){this.filter_=null;this.boostIds_=[];this.primingTimeoutMillis_=1E3;this.searchMaxResults_=this.suggestMaxResults_=this.searchFormat_=this.suggestFormat_=this.queryScope_=0;this.slots_=[];this.entryPoint_=0;this.filterEmptyExplodingGroups_=!0;this.selectedCustomProviderNames_=null};g=xt.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.getSuggestFormat=function(){return this.suggestFormat_};g.getSearchFormat=function(){return this.searchFormat_};g.getSuggestMaxResults=function(){return this.suggestMaxResults_};g.getSearchMaxResults=function(){return this.searchMaxResults_};
g.clone=function(){var a=new xt;a.filter_=this.filter_;a.filterEmptyExplodingGroups_=this.filterEmptyExplodingGroups_;a.boostIds_=this.boostIds_;a.primingTimeoutMillis_=this.primingTimeoutMillis_;a.queryScope_=this.queryScope_;a.slots_=this.slots_;a.entryPoint_=this.entryPoint_;a.suggestFormat_=this.suggestFormat_;a.searchFormat_=this.searchFormat_;a.suggestMaxResults_=this.suggestMaxResults_;a.searchMaxResults_=this.searchMaxResults_;a.selectedCustomProviderNames_=this.selectedCustomProviderNames_;
return a};var wu=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(wu,n);wu.prototype.getEntryPoint=function(){return Zd(this,5)};wu.prototype.setEntryPoint=function(a){return mf(this,5,a)};var xu=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(xu,n);xu.prototype.getEntryPoint=function(){return Zd(this,1)};xu.prototype.setEntryPoint=function(a){return mf(this,1,a)};var rP=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(rP,n);rP.prototype.getQuery=function(){return Oc(this,1)};rP.prototype.setQuery=function(a){return lf(this,1,a)};rP.prototype.clearQuery=function(){Ou(this,1)};rP.prototype.hasQuery=function(){return Ge(this,1)};var CPc=function(a,b){Ze(a,3,b)};rP.prototype.getAffinityVersion=function(){return Pd(this,7)};rP.prototype.setAffinityVersion=function(a){jf(this,7,a)};
rP.prototype.getAffinityVersionOrUndefined=function(){return Uu(this,7)};var EPc=function(a){var b=DPc();av(a,8,b)};g=rP.prototype;g.getInstanceId=function(){return Oc(this,11)};g.setInstanceId=function(a){return lf(this,11,a)};g.clearInstanceId=function(){Ou(this,11)};g.hasInstanceId=function(){return Ge(this,11)};g.getInstanceIdOrUndefined=function(){return Vu(this,11)};var ru=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ru,n);g=ru.prototype;g.getPersonLoggingId=function(){return Oc(this,1)};g.setPersonLoggingId=function(a){lf(this,1,a)};g.getFieldLoggingId=function(){return Oc(this,2)};g.setFieldLoggingId=function(a){lf(this,2,a)};g.setFieldValue=function(a){return lf(this,3,a)};g.clearFieldValue=function(){return Ou(this,3)};g.getName=function(){return Oc(this,4)};g.setName=function(a){return lf(this,4,a)};
g.hasName=function(){return Ge(this,4)};g.getNameOrUndefined=function(){return Vu(this,4)};g.getContactId=function(){return Oc(this,5)};g.setContactId=function(a){return lf(this,5,a)};g.getProfileId=function(){return Oc(this,6)};g.getProfileId_legacyNullable=function(){return xf(this,6)};g.setProfileId=function(a){return lf(this,6,a)};g.hasProfileId=function(){return Ge(this,6)};g.getFieldType=function(){return Zd(this,7)};g.getIsPlaceholder=function(){return De(this,10)};
g.setIsPlaceholder=function(a){hf(this,10,a)};g.getGroupId=function(){return Oc(this,11)};g.setGroupId=function(a){lf(this,11,a)};g.hasGroupId=function(){return Ge(this,11)};g.getIsBoosted=function(){return De(this,12)};g.setIsBoosted=function(a){hf(this,12,a)};var qu=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(qu,n);g=qu.prototype;g.getProvenance=function(){return Zd(this,3)};g.setProvenance=function(a){return mf(this,3,a)};g.getContext=function(){return Zd(this,5)};g.getExistingSelectionsCount=function(){return Pd(this,6)};g.setExistingSelectionsCount=function(a){jf(this,6,a)};var pu=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(pu,n);var ot=function(a){return r(a,qu,2)};pu.prototype.getSessionState=function(){return r(this,rP,3)};pu.prototype.setSessionState=function(a){return t(this,rP,3,a)};pu.prototype.hasSessionState=function(){return Me(this,rP,3)};var nu=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(nu,n);g=nu.prototype;g.getType=function(){return Zd(this,1)};g.setType=function(a){return mf(this,1,a)};g.hasType=function(){return He(this,1)};g.getValue=function(){return Oc(this,2)};g.setValue=function(a){return lf(this,2,a)};g.hasValue=function(){return Ge(this,2)};var FPc=function(a){this.delegate_=a};g=FPc.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.getCanonicalValue=function(){return this.delegate_.getCanonicalValue()};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.getOrgState=function(){return this.delegate_.getOrgState()};
g.getEmailSecurityInfo=function(){return this.delegate_.getEmailSecurityInfo()};g.getDataSource=function(){return this.delegate_.getDataSource()};g.getOriginatingField=function(){return this.delegate_.getOriginatingField()};g.getReachabilityInfo=function(){return this.delegate_.getReachabilityInfo()};g.getExtendedData=function(){return this.delegate_.getExtendedData()};var dbc=function(){this.familyName_=this.givenName_=this.displayName_="";this.sourceType_=0};g=dbc.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 GPc=function(a,b){this.delegate_=a;this.name_=b};Y(GPc,FPc);GPc.prototype.getName=function(){return this.name_};var sP=function(a){this.delegate_=a};g=sP.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.getIsBoosted=function(){return this.delegate_.getIsBoosted()};g.getMatchInfo=function(){return this.delegate_.getMatchInfo()};g.getExtendedData=function(){return this.delegate_.getExtendedData()};var kYa=function(a){this.delegate_=a};Y(kYa,sP);g=kYa.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 lYa=function(a,b){this.delegate_=a;this.targets_=b};Y(lYa,sP);lYa.prototype.getTargetList=function(){return this.targets_};var ebc=function(){this.url_="";this.sourceType_=this.type_=0;this.glyph_=""};g=ebc.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 HPc=(new ebc).setType(1).setUrl("https://lh3.googleusercontent.com/a/default-user"),IPc=new ebc;var tP=function(){};tP.prototype.filterResult=function(a){var b=this,c=a.getTargetList().filter(function(d){return!b.shouldRemove(d)});return c.length===0?null:c.length===a.getTargetList().length?a:Qq(new lYa(a,c))};tP.prototype.reset=function(){};var nYa=function(a){this.types_=a};Y(nYa,tP);nYa.prototype.shouldRemove=function(a){return!this.types_.includes(a.getTargetType())};nYa.prototype.reset=function(){};var pYa=function(a){this.sourceIds_=a.filter(function(b){return Acc.includes(b.getType())}).map(String);this.targetIds_=a.filter(function(b){return wPc.includes(b.getType())}).map(String)};Y(pYa,tP);pYa.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 JPc=function(a){this.sources_=a};Y(JPc,tP);JPc.prototype.shouldRemove=function(a){return!this.sources_.includes(a.getDataSource())};var rYa=function(a){this.filters_=a};rYa.prototype.filterResult=function(a){for(var b=l(this.filters_),c=b.next();!c.done;c=b.next())if(a=c.value.filterResult(a),!a)return null;return a};rYa.prototype.reset=function(a){for(var b=l(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var tYa=function(a){this.filters_=a};
tYa.prototype.filterResult=function(a){for(var b=l(this.filters_),c=b.next();!c.done;c=b.next())if(c=c.value.filterResult(a))return c;return null};tYa.prototype.reset=function(a){for(var b=l(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var KPc=sYa();var uP=new kh("PeoplekitClientConfig"),LPc=function(a){this.matcher=a};Y(LPc,tP);LPc.prototype.shouldRemove=function(a){return a.getTargetType()===1&&this.matcher(a.getValue())};var vP=function(a){var b=this;this.injector=a;this.clientDarkmode$=this.clientDarkmodeSubject=new $n(!1);this.localDarkmode=!1;this.clientStreamzService=null;this.loadLocalDarkmode=function(){b.localDarkmode=window.localStorage.getItem("onedev-darkmode")!=null;MPc(b,b.localDarkmode);b.clientStreamzService&&HBc(b.clientStreamzService,"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")}};vP.prototype.enableUsageTracking=function(){this.clientStreamzService=this.injector.get(CH)};var MPc=function(a,b){a.clientDarkmodeSubject.next(b);document.body.classList.toggle("dark-mode",b)};vP.\u0275fac=function(a){return new (a||vP)(bh(yj))};vP.\u0275prov=Dg({token:vP,factory:vP.\u0275fac});var NPc=sYa(oYa(1),uYa(function(){return new JPc(rd.apply(0,arguments))}(3),new LPc(function(a){return a.includes("-pager")||a.includes("+pager")||a.includes("-oncall")||a.includes("+oncall")||a.includes("lifeguard-ng")}))),wP=function(){this.theme=x(vP)};wP.prototype.getTheme=function(){return this.theme.clientDarkmodeSubject.getValue()?1:0};
var OPc=function(a){return a.map(function(b){return b.result().getPrimaryTarget().getValue()})},AYa=function(a){return{moveAutocompleteAboveAnchorIfOffscreen:!0,density:2,theme:a.getTheme(),autoActivateFirstSearchResult:!0,showSuggestions:!1}};wP.\u0275fac=function(a){return new (a||wP)};wP.\u0275prov=Dg({token:wP,factory:wP.\u0275fac,providedIn:"root"});var PPc=function(a,b){this.apiEnv_=a;this.experimentsConfig_=b};var QPc=function(a){this.profileId_=a};QPc.prototype.getProfileId=function(){return this.profileId_};var RPc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(RPc,n);g=RPc.prototype;g.setMaxResults=function(a){return jf(this,1,a)};g.getQuery=function(){return Oc(this,2)};g.setQuery=function(a){return lf(this,2,a)};g.clearQuery=function(){Ou(this,2)};g.hasQuery=function(){return Ge(this,2)};var SPc=function(){this.dynamicDataProviders_=[];this.staticDataProviders_=[]};var TPc=Object.freeze({preferOauth:!1}),xP=Object.freeze({userProfileId:"",apiEnv:4,userEmail:"",clearcut:TPc});var UPc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,1)};Y(UPc,n);var VPc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(VPc,n);g=VPc.prototype;g.getExperimentIdsList=function(a){return Sd(this,1,Rd(a))};g.setExperimentIdsList=function(a){return tc(this,1,a,Ab)};g.getExperimentIds=function(){return Wu(this,1)};g.setExperimentIds=function(a){Rec(this,1,a)};g.getProfileId=function(){return Oc(this,2)};g.getProfileId_legacyNullable=function(){return xf(this,2)};g.setProfileId=function(a){return lf(this,2,a)};
g.hasProfileId=function(){return Ge(this,2)};var WPc=function(){},XPc=function(){return!1},YPc=function(){this.experiments_=(new VPc).setProfileId(xP.userProfileId);this.peopleApiEnv_=xP.apiEnv;this.delegatorId_=this.userEmail_="";this.userKeys_=new Set;this.onAuthError_=WPc;this.offlineStorage_=null;this.apiKey_=this.clearcutUrl_="";this.isOffline_=XPc;this.customDataConfig_=null;this.isOrgStateEnabled_=!1;var a=xP.userEmail;this.userEmail_=a||"";a&&this.userKeys_.add(String(Wt(a)))};g=YPc.prototype;g.getUserEmail=function(){return this.userEmail_};
g.getPeopleApiEnv=function(){return this.peopleApiEnv_};g.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};g.getExperiments=function(){return this.experiments_};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 yP=function(a,b){b!=null||(b=x(Kk));var c=new YPc;a.peopleApiEnv&&c.setPeopleApiEnv(a.peopleApiEnv);a.customAuthHeaders&&(c.customAuthHeaders_=a.customAuthHeaders);a.profileId&&c.getExperiments().setProfileId(a.profileId);if(a.dynamicDataProviders||a.staticDataProviders){var d=new SPc;a.dynamicDataProviders&&(d.dynamicDataProviders_=a.dynamicDataProviders);a.staticDataProviders&&(d.staticDataProviders_=a.staticDataProviders);c.customDataConfig_=d}b=b.runOutsideAngular(function(){var e=a.peopleStoreClient.create(c);
e.warmUpCache();return{peopleStore:e,environmentConfig:new PPc(c.getPeopleApiEnv(),new QPc(""))}});this.peopleStore=b.peopleStore;this.environmentConfig=b.environmentConfig};yP.\u0275fac=function(a){return new (a||yP)(bh(uP),bh(Kk))};yP.\u0275prov=Dg({token:yP,factory:yP.\u0275fac});var ZPc=["multiUserInput"],$Pc=function(a){this.component=a;this.name="Buganizer ACL Autocomplete Entries"};$Pc.prototype.getPosition=function(){return 2};$Pc.prototype.warmUpCache=function(){var a=new yw;Lic(a,this.component.additionalContactsFn().map(function(b){var c=(new Kic).setResultType(7),d=(new xw).setValue(b.id);b=mf(d,1,18).setName((new vw).setDisplayName(b.text));rm(c,2,xw,b);return c}));return Promise.resolve(a)};$Pc.prototype.needsWarmUp=function(){return!1};
var zP=function(){Z.apply(this,arguments);var a=this;this.element=x(Ph);this.principalTypes=x(YE);this.activeSession=x(Ks);this.documentationLinks=x(XH);this.appEvents=x(EB);this.cdr=x(jE,{self:!0});this.hotkeys=x(BL);this.autocompleteConfigService=x(wP);this.usersChange=new iE(!0);this.includeViewAliases=this.removeContainerDivTabIndex=this.includeAliases=!1;this.maxUserAllowed=-1;this.customValidators={};this.detailedUserValidators={};this.placeholderText=this.ariaLabel="";this.isValid=new iE;this.sessionOptions=
(new xt).setFilter(uYa(NPc,oYa(18)));this.typedText="";this.items=[];this.additionalContactsFn=function(){return aQc(a)};this.isFocused=!1;this.selectedChipIndex=-1;this.$element=this.element.nativeElement;this.validators={};this.violations=new Set};Y(zP,Z);zP.\u0275dir=Z.\u0275dir;
zP.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.appEvents.contactChipsRevertChanges.subscribe(function(){a.typedText=""}));this.subscriptions.add(CL(this.hotkeys,{title:"Manage Component Page",hotkeys:[{keys:[],displayAs:"Right Arrow (>)",description:"Move the Cursor to Input Field",onPress:function(){}}]}));this.validators=Object.assign({},{validateGaia:function(b,c){return bQc(c)},validateInternalAccessLevel:function(b,c){return cQc(a,c)},validateExternalAccessLevel:function(b,
c){return dQc(a,c)}},this.customValidators)};zP.prototype.ngOnChanges=function(a){if(a.users||a.containerChips)this.items=eQc(this,this.users),AP(this)};var AP=function(a){var b=[].concat(p(a.items)),c=fQc(b),d=gQc(b);b=a.validate(c,d,b);a.isValid.emit(b);a.users&&vd(a.users,c)||(a.users=c,b&&a.usersChange.emit(c))};
zP.prototype.validate=function(a,b,c){for(var d=new Set,e=l(Object.entries(this.validators)),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;h(a,c)||d.add(f)}a=l(Object.entries(this.detailedUserValidators));for(c=a.next();!c.done;c=a.next())e=l(c.value),c=e.next().value,e=e.next().value,e(b)||d.add(c);this.violations=d;return this.violations.size===0};
var yYa=function(a){!a.isWidgetDisabled()&&hQc(a)&&(a.isFocused=!0,a.textInputElement.nativeElement.focus())},wYa=function(a){Rq(a,a.selectedChipIndex)&&(a.items[a.selectedChipIndex].isSelected=!1);a.selectedChipIndex=-1};zP.prototype.isWidgetDisabled=function(){return this.$element.classList.contains("disabled")||!!this.$element.hasAttribute("disabled")};var hQc=function(a){var b,c;return a.maxUserAllowed<0||((c=(b=a.users)==null?void 0:b.length)!=null?c:0)<a.maxUserAllowed};
zP.prototype.removeItem=function(a){this.isWidgetDisabled()||!Rq(this,a)||this.items[a].isReadonly||(wYa(this),this.items.splice(a,1),AP(this))};zP.prototype.setAccessLevel=function(a){this.accessLevel=a};
var aQc=function(a){return iQc(a).map(function(b){return{text:Vea(b),id:vq({alias:b})}})},iQc=function(a){if(!a.includeAliases||Bx(a.activeSession))return[];var b=["googlers_unrestricted"];if(a.accessLevel===void 0||a.accessLevel==="EXTERNAL_PUBLIC")b.push("public_non_google"),a.includeViewAliases&&b.push("public");return b},zYa=function(a,b){b&&(b=FNc.test(b)?jQc(a,b):kQc(a,b),a.items.push(b));a.typedText="";AP(a)},Rq=function(a,b){return b>=0&&b<a.items.length},jQc=function(a,b){var c=c===void 0?
!1:c;var d=RUa(b);if(d.alias===void 0)throw Error("Rd`"+b);b=d.alias;d=Vea(b);return new BP("ALIAS",b,d,null,c,a)},lQc=function(a,b){b=dMa(b);var c=new BP("GROUP",b,b,null,!1,a);ZE(a.principalTypes,b,!0).then(function(d){c.detailedUserType=d.detailedUserType;AP(a)});return c},mQc=function(a,b){var c=c===void 0?!1:c;b=dMa(b);var d=new BP("USER",b,b,null,c,a);ZE(a.principalTypes,b,!0).then(function(e){d.detailedUserType=e.detailedUserType;AP(a)});return d},kQc=function(a,b){var c=c===void 0?!1:c;b=
dMa(b);var d=new BP("PRINCIPAL_TYPE_UNSPECIFIED",b,b,null,c,a);ZE(a.principalTypes,b,!0).then(function(e){d.principalType=e.principalType;d.detailedUserType=e.detailedUserType;AP(a)});return d},nQc=function(a,b,c){return new BP("PRINCIPAL_TYPE_UNSPECIFIED","",b,c,!0,a)};zP.prototype.getAccessLevel=function(){return this.accessLevel};zP.prototype.getAppName=function(){return this.activeSession.getAppName()};
zP.prototype.onKeyDown=function(a){a.keyCode===8?Rq(this,this.selectedChipIndex)?(Rq(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex),a.stopPropagation(),a.preventDefault()):this.typedText===""&&this.items.length>0&&this.removeItem(this.items.length-1):a.keyCode===46?Rq(this,this.selectedChipIndex)&&Rq(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex):a.keyCode===39&&yYa(this)};
var eQc=function(a,b){b=(b||[]).map(function(d){return oQc(a,d)});if(a.containerChips){var c=a.containerChips.filter(function(d){return d.values!==void 0&&Array.isArray(d.values)&&d.values.length>0}).map(function(d){return nQc(a,d.displayText,d.values.map(function(e){return oQc(a,e)}))});return[].concat(p(c),p(b))}return b},oQc=function(a,b){var c=b.split(":");if(c.length!==2)throw Error("Sd`"+b);var d=c[0];if(d!=="USER"&&d!=="GROUP"&&d!=="ALIAS")throw Error("Sd`"+b);return d==="ALIAS"?jQc(a,b):d===
"USER"?mQc(a,c[1]):lQc(a,c[1])},fQc=function(a){return(a||[]).filter(function(b){return b.principalType!=="PRINCIPAL_TYPE_UNSPECIFIED"}).map(function(b){return b.principalType+":"+b.value})},gQc=function(a){return(a||[]).filter(function(b){return b.detailedUserType!=="NO_DETAILED_TYPE"}).map(function(b){return b.detailedUserType+":"+b.value})},bQc=function(a){return!a.some(function(b){return b.isNonGaiaChip()})},cQc=function(a,b){return a.accessLevel!=="INTERNAL"?!0:!b.some(function(c){return c.isInternalAccessViolated()})},
dQc=function(a,b){return a.accessLevel!=="EXTERNAL_PARTNER"?!0:!b.some(function(c){return c.isExternalPartnerAccessViolated()})};zP.prototype.selectAutocomplete=function(a){a.length>0&&(this.typedText=a[0].result().getPrimaryTarget().getValue(),zYa(this,this.typedText.split(",")[0].trim()),this.isFocused=!1,this.cdr.markForCheck())};zP.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(zP)))(b||zP)}}();
zP.\u0275cmp=F({type:zP,selectors:[["b-multi-user-input"]],viewQuery:function(a,b){a&1&&ek(ZPc,5);if(a&2){var c;ik(c=jk())&&(b.textInputElement=c.first)}},hostBindings:function(a,b){a&1&&Q("keydown",function(c){return b.onKeyDown(c)})},inputs:{users:"users",containerChips:"containerChips",accessLevel:"accessLevel",includeAliases:"includeAliases",idForInputBox:"idForInputBox",removeContainerDivTabIndex:"removeContainerDivTabIndex",includeViewAliases:"includeViewAliases",maxUserAllowed:"maxUserAllowed",
customValidators:"customValidators",detailedUserValidators:"detailedUserValidators",ariaLabel:"ariaLabel",placeholderText:"placeholderText"},outputs:{usersChange:"usersChange",isValid:"isValid"},standalone:!1,features:[Bk([jE,yP,{provide:uP,useFactory:function(){var a=x(zP),b=x(uP,{skipSelf:!0}),c;return Object.assign({},b,{staticDataProviders:[].concat(p((c=b.staticDataProviders)!=null?c:[]),[new $Pc(a)])})}}]),xj,$w],decls:17,vars:15,consts:[["multiUserInput",""],["role","list",1,"bv2-multi-user-input",
"keep-focus-ring",3,"click"],["id","input-description","hidden","",1,"screen-reader-only"],["role","listitem",1,"bv2-user-chip"],["b-adaptive-width-input","","tabindex","0","peoplekitAutocomplete","","aria-label","'Add user'",1,"bv2-multi-user-embedded-input",3,"peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","peoplekitAutocompleteInputSearchDelay","ngModel","disabled","placeholder"],["role","alert",1,"bv2-multi-user-errors"],[3,"chipSelection","chipClear","chipRemove","isReadonly","isSelected",
"isWidgetDisabled","principalType","detailedUserType","nestedChips","value","displayText","accessLevel"],["b-adaptive-width-input","","tabindex","0","peoplekitAutocomplete","","aria-label","'Add user'",1,"bv2-multi-user-embedded-input",3,"peoplekitAutocompleteSelectionChange","ngModelChange","focus","blur","peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","peoplekitAutocompleteInputSearchDelay","ngModel","disabled","placeholder"],["target","_blank"]],template:function(a,b){a&1&&(L(0,"div",
1),Q("click",function(){return yYa(b)}),L(1,"div",2),U(2," Press tab to navigate through users and right arrow to go to input section "),M(),L(3,"div"),Mj(4,xYa,2,9,"div",3,Lj),I(6,BYa,2,6,"input",4),M()(),L(7,"div",5),I(8,CYa,4,1,"span"),I(9,DYa,2,0,"span"),I(10,EYa,2,0,"span"),I(11,FYa,2,0,"span"),I(12,GYa,2,0,"span"),I(13,HYa,2,0,"span"),I(14,IYa,2,0,"span"),I(15,JYa,2,0,"span"),I(16,KYa,2,0,"span"),M());if(a&2){rk("focused",b.isFocused);var c;Hj("tabindex",b.removeContainerDivTabIndex?-1:0)("aria-label",
(c=b.idForInputBox)!=null?c:0);E(4);Nj(b.items);E(2);J(hQc(b)?6:-1);E();Hj("aria-hidden",b.violations.size===0);E();J(b.violations.has("noRestrictedPlusGroups")?8:-1);E();J(b.violations.has("validateGaia")?9:-1);E();J(b.violations.has("validateInternalAccessLevel")?10:-1);E();J(b.violations.has("validateExternalAccessLevel")?11:-1);E();J(b.violations.has("escalationOwnerNotUser")?12:-1);E();J(b.violations.has("escalationOwnerNotGoogler")?13:-1);E();J(b.violations.has("userNotInGoogleDomain")?14:-1);
E();J(b.violations.has("userAlreadySelected")?15:-1);E();J(b.violations.has("isNotUserType")?16:-1)}},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:100%;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}/*# sourceMappingURL=multi_user_input.css.map */"]});
var BP=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=BP.prototype;
g.getTooltip=function(){if(this.principalType!=="ALIAS")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 users, excluding the google.com domain.";case "public":return"All users";default:throw Error("Td`"+this.value);}};
g.isGroupChip=function(){return this.principalType==="GROUP"};g.isPublicChip=function(){return this.principalType==="ALIAS"&&["public_non_google","public"].includes(this.value)};g.isDomainChip=function(){return this.principalType==="ALIAS"&&["googlers_unrestricted","google_domain"].includes(this.value)};g.isExternalChip=function(){return this.detailedUserType==="EXTERNAL"||this.detailedUserType==="PUBLIC"||this.isPublicChip()};g.isNonGaiaChip=function(){return this.principalType==="NON_GAIA"};
g.isContainerChip=function(){return this.nestedChips!==null};g.isInternalAccessViolated=function(){return this.parentController.getAccessLevel()==="INTERNAL"&&(this.isExternalChip()||this.isPublicChip())};g.isExternalPartnerAccessViolated=function(){return this.parentController.getAccessLevel()==="EXTERNAL_PARTNER"&&this.isPublicChip()};g.isUserChip=function(){return this.principalType==="USER"};var CP={type:"no_indicator",displayText:""},pQc={type:"visible_to_listed_partners",displayText:"Visible to listed partners",displayTextCompact:"Listed partners",explanation:"This issue is not visible to all partners, but it is visible to partners listed on the issue."},OYa={type:"visible_to_listed_public_users",displayText:"Visible to listed users",displayTextCompact:"Listed users",explanation:"This issue is not visible to all public, but it is visible to public users listed on the issue."},qQc={type:"visible_to_partners",
displayText:"Visible to partners",displayTextCompact:"Partners",explanation:"This issue is visible to partner users."},LYa={type:"visible_to_public",displayText:"Visible to public",displayTextCompact:"Public",explanation:"This issue is visible to the public."},DP=function(){this.issueFullFridge=x(pE);this.componentAccessPolicyFridge=x(rB);this.activeSession=x(Ks)},tQc=function(a,b,c){var d=a.issueFullFridge.watch(b);b=wi(function(){return c?li(c):d.pipe(C(function(e){return e==null?void 0:e.snapshot[0].componentId}))}).pipe(sj(function(e){return e?
a.componentAccessPolicyFridge.watch(e):li(void 0)}));return si([d,b]).pipe(C(function(e){var f=l(e);e=f.next().value;f=f.next().value;var h,k;var q=(k=e==null?void 0:e.snapshot[0].issueAccessLimitLevel)!=null?k:void 0;k=e==null?void 0:(h=e.accessLimit)==null?void 0:h.accessLevel;if(Bx(a.activeSession))h=CP;else if(Ax(a.activeSession))h=rQc(q,k,f);else if(a.activeSession.isInternalSession())h=sQc(q,k,f);else throw Error("Ud");return h}))},rQc=function(a,b,c){switch(b){case "INTERNAL":return CP;case "EXTERNAL_PARTNER":return CP;
case "EXTERNAL_PUBLIC":return PYa(a,c);case "ACCESS_LEVEL_UNSPECIFIED":return CP;default:return CP}},sQc=function(a,b,c){switch(b){case "INTERNAL":return CP;case "EXTERNAL_PARTNER":return a&&NYa(a)?pQc:qQc;case "EXTERNAL_PUBLIC":return PYa(a,c);case "ACCESS_LEVEL_UNSPECIFIED":return CP;default:return CP}};DP.\u0275fac=function(a){return new (a||DP)};DP.\u0275prov=Dg({token:DP,factory:DP.\u0275fac,providedIn:"root"});var EP=function(){Z.apply(this,arguments);var a=this;this.accessIndicatorService=x(DP);this.documentationLinks=x(XH);this.issueFullFridge=x(pE);this.issueApi=x(uD);this.compactMode=!1;this.issueId$=new nj;this.accessIndicator$=this.issueId$.pipe(sj(function(b){return tQc(a.accessIndicatorService,b)}));this.chipClass$=this.accessIndicator$.pipe(C(function(b){return b.type}));this.chipText$=this.accessIndicator$.pipe(C(function(b){return a.compactMode?b.displayTextCompact||b.displayText:b.displayText}));
this.bubbleText$=this.accessIndicator$.pipe(C(function(b){return b.explanation}));this.shouldShowIndicator$=this.accessIndicator$.pipe(C(function(b){return b.type!=="no_indicator"}));this.issue$=this.issueId$.pipe(sj(function(b){return a.issueFullFridge.watch(b)}));this.viewers$=si([this.issue$,this.accessIndicator$]).pipe(fj(0,xp),sj(function(b){var c=l(b);b=c.next().value;c=c.next().value;if(!b||!VYa(c.type))return li([]);var d,e;return a.issueApi.getRetainedAccessPrincipals(b==null?void 0:b.issueId,
(e=b==null?void 0:(d=b.snapshot[0])==null?void 0:d.issueAccessLimitLevel)!=null?e:"LIMIT_NONE",[],[]).pipe(C(function(f){f=[].concat(p(yq(f.writers)),p(yq(f.appenders)),p(yq(f.readers)));return[].concat(p(new Set(f)))}))}),pj({refCount:!0,bufferSize:1}));this.showHovercard$=this.viewers$.pipe(C(function(b){return!!b.length}),Di(Boolean),C(function(){}));this.loadTooltip$=new nj(1);this.tooltipText$=this.loadTooltip$.pipe(sj(function(){return a.viewers$}),C(function(b){return b.length?"Press Alt + Right arrow for more details":
""}));this.loadTooltipOnce=Df(function(){a.loadTooltip$.next()})};Y(EP,Z);EP.\u0275dir=Z.\u0275dir;EP.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.tooltipText$.subscribe(function(b){b&&(a.matTooltip.message=b,a.matTooltip.show())}))};pg.Object.defineProperties(EP.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});EP.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(EP)))(b||EP)}}();
EP.\u0275cmp=F({type:EP,selectors:[["b-issue-visibility-chip"]],viewQuery:function(a,b){a&1&&ek(WF,5);if(a&2){var c;ik(c=jk())&&(b.matTooltip=c.first)}},inputs:{issueId:"issueId",compactMode:"compactMode"},standalone:!1,features:[xj],decls:2,vars:3,consts:[["tooltip","matTooltip"],["card","onedevHovercard"],["tabindex","0",1,"chippy","rounded","nowrap","keep-focus-ring",3,"focus","blur","onedevHovercardTrigger","matTooltipDisabled","matTooltip"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],
[1,"issue-visibility-chip-bubble"],["target","_blank",3,"href"],[3,"onedevIsHovercardReady",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady"],["idForInputBox","Users who can view",3,"users"]],template:function(a,b){a&1&&(I(0,UYa,15,18),W(1,"async"));a&2&&J(X(1,1,b.shouldShowIndicator$)?0:-1)},dependencies:[zP,xH,yH,DH,zH,YF,WF,py],styles:[".chippy[_ngcontent-%COMP%]{margin-right:8px}.chippy[_ngcontent-%COMP%]:hover, .chippy[_ngcontent-%COMP%]:focus, .chippy[_ngcontent-%COMP%]:focus-visible, .chippy[_ngcontent-%COMP%]:focus-within{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color;outline-offset:2px}.chippy.visible_to_partners[_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.visible_to_listed_partners[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);background-color:var(--partner-listed-bg);color:#202124;color:var(--partner-text);box-shadow:inset 0 0 0 2px var(--partner-listed-outline)}.chippy.visible_to_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.visible_to_listed_public_users[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);background-color:var(--public-listed-bg);color:#202124;color:var(--public-text);box-shadow:inset 0 0 0 2px var(--public-listed-outline)}  .issue-visibility-chip-bubble a{color:#1a73e8;color:var(--link)}  .issue-visibility-chip-bubble a:visited{color:#7627bb;color:var(--link-visited)}  .issue-visibility-chip-bubble div.bv2-multi-user-input{width:auto}"],
changeDetection:0});var FP=function(){Z.apply(this,arguments);this.errorHandler=x(PA);this.issueFullFridge=x(pE);this.upvoted=!1;this.voteCount=0;this.onVote=new iE;this.tooltip="Indicate that you are affected by this issue";this.isSaving=!1};Y(FP,Z);FP.\u0275dir=Z.\u0275dir;
FP.prototype.onClick=function(){var a=this;if(this.issueId!=null&&!this.isSaving){var b=(this.upvoted=!this.upvoted)?1:-1;this.voteCount+=b;this.onVote.emit(this.upvoted);this.isSaving=!0;Mwc(this.issueFullFridge,String(this.issueId),this.upvoted).pipe(hj(1),tj(this.destroyed$)).subscribe(function(){a.isSaving=!1},function(c){a.isSaving=!1;a.errorHandler.errorHandler(null,c);a.upvoted=!a.upvoted;a.voteCount-=b})}};FP.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(FP)))(b||FP)}}();
FP.\u0275cmp=F({type:FP,selectors:[["b-app-vote-button"]],hostVars:2,hostBindings:function(a,b){a&2&&rk("no-votes",b.voteCount<=0)},inputs:{issueId:"issueId",upvoted:"upvoted",voteCount:"voteCount"},outputs:{onVote:"onVote"},standalone:!1,features:[xj],decls:4,vars:6,consts:[["type","button","mat-button","",1,"small",3,"click","matTooltip"],["svgIcon","exposure_plus_1_24px",1,"icon-m"],[3,"title"]],template:function(a,b){a&1&&(L(0,"button",0),Q("click",function(){return b.onClick()}),N(1,"mat-icon",
1),L(2,"output",2),U(3),M()());a&2&&(K("matTooltip",b.upvoted?"Remove vote: I am not impacted":"Vote: I am impacted"),Hj("aria-pressed",b.upvoted)("aria-label","Vote count "+b.voteCount),E(2),K("title",zk("",b.voteCount," votes on this issue")),E(),V(" ",b.voteCount>99999?"99999+":b.voteCount," "))},dependencies:[EA,dA,aA,YF,WF],styles:["[_nghost-%COMP%]{display:inline-block;margin-right:12px}.gmat-mdc-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-mdc-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:18px;height:18px;margin:0}.gmat-mdc-button[_ngcontent-%COMP%]:hover{box-shadow:inset 0 0 0 1px #d2e3fc;box-shadow:inset 0 0 0 1px var(--primary-c100)}.gmat-mdc-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-mdc-button[aria-pressed=true][_ngcontent-%COMP%]:hover{background-color:#4285f4;background-color:var(--primary-btn-bg-hover)}button.gmat-mdc-button.mat-mdc-button[aria-pressed=true][_ngcontent-%COMP%]{color:#fff;color:var(--text-inverse)}button.gmat-mdc-button.mat-mdc-button[aria-pressed=true][_ngcontent-%COMP%]:hover, button.gmat-mdc-button.mat-mdc-button[aria-pressed=true][_ngcontent-%COMP%]:focus{--private-gmat-button-text-stateful-color: var(--text-inverse)}.bv2-material   [_nghost-%COMP%]     button.gmat-mdc-button:not(.mat-mdc-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}/*# sourceMappingURL=app_vote_button.css.map */"],
changeDetection:0});var iZa=function(){return[]},GP=function(){Z.apply(this,arguments);var a=this;this.cdr=x(jE,{self:!0});this.activeSession=x(Ks);this.analytics=x(nE);this.relationshipService=x(AE);this.issueFullFridge=x(pE);this.butterBar=x(MA);this.STATUS_JS_FULL_TEXT=Nd;this.ISSUE_PRIORITY_TEXT_JS=cjc;this.ISSUE_PRIORITY_ENUM=jic;this.ROUTES=Hq;this.providedIssueId$=new nj(1);this.issue$=this.providedIssueId$.pipe(sj(function(b){return a.issueFullFridge.watch(b)}),Di(fe));this.FormattingMode=ke;this.init=new nj(1)};
Y(GP,Z);GP.\u0275dir=Z.\u0275dir;GP.prototype.ngOnInit=function(){var a=this;this.providedIssueId$.next(this.issueId);this.issue$.pipe(tj(this.destroyed$)).subscribe(function(b){a.issue=b;a.firstEvent=b.description&&dEa(b.description,b);a.cdr.markForCheck();a.init.next()})};GP.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};
GP.prototype.getNote=function(){var a,b;return{commentNumber:1,unlinkifiedComment:((a=this.firstEvent)==null?void 0:a.unlinkifiedComment)||"",formattedComment:(b=this.firstEvent)==null?void 0:b.formattedComment}};
var hZa=function(a,b){return Hd(b).includes(a.activeSession.getUserEmail())},cZa=function(a,b){var c;return v(function(d){if(d.nextAddress==1)return c=a.issueId,a.issueFullFridge.manualUpdate(b,function(e){var f=e.parentIssueIds.indexOf(c);f<0||(e.parentIssueIds.splice(f,1),Object.assign({},e))}),ei(d,2,3),w(d,pi(a.relationshipService.delete(c,"CHILD",b)),3);if(d.nextAddress!=2)return fi(d),a.issueFullFridge.poke(b),hi(d,0);ii(d);a.butterBar.showWarning("Error removing the parent issue.");return d.jumpTo(3)})};
GP.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(GP)))(b||GP)}}();
GP.\u0275cmp=F({type:GP,selectors:[["b-issue-card"]],inputs:{issueId:"issueId",location:"location",childContextId:"childContextId"},outputs:{init:"init"},standalone:!1,features:[Bk([jE]),xj],decls:2,vars:1,consts:[["role","dialog","aria-label","Issue Hovercard",1,"onedev-hovercard-content"],[1,"bv2-hovercard-wide"],[3,"href"],[1,"bv2-issue-card-title"],[1,"issue-card-id-snippets"],[3,"issueId"],[1,"priority-status"],[1,"bv2-priority"],[1,"issue-card-buttons","margin-y"],[3,"onCc","issueId","ccState"],
["type","button","mat-button","","matTooltip","Remove the parent/child relationship with this issue",1,"medium"],[1,"bv2-issue-card-comment"],[3,"model","hovercardEnabled"],[3,"issueId","voteCount","upvoted"],["type","button","mat-button","","matTooltip","Remove the parent/child relationship with this issue",1,"medium",3,"click"],["mode","date",1,"float-right",3,"timestamp"],[3,"issueId","issueAccessLevel","formattingMode","note"]],template:function(a,b){a&1&&(L(0,"div",0),I(1,jZa,22,17,"div",1),
M());if(a&2){var c;E();J((c=b.issue&&b.issue.snapshot[0])?1:-1,c)}},dependencies:[dA,aA,YF,WF,RM,tN,sL,FP,EP,qP],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 uQc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(uQc,n);g=uQc.prototype;g.getComponentId=function(){return Re(this,1)};g.getComponentId_asString=function(){return Xe(this,1)};g.setComponentId=function(a){return ll(this,1,a)};g.getText=function(){return Oc(this,2)};g.setText=function(a){return Vd(this,2,a)};var HP=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,HP.messageId)};Y(HP,n);HP.prototype.getIt=function(){return r(this,uQc,3,Kc)};HP.prototype.setIt=function(a){return t(this,uQc,3,a,Kc)};HP.messageId="b.CheckBannedWordsRequest";var vQc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(vQc,n);var IP=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,IP.messageId)};Y(IP,n);IP.prototype.getIt=function(){return r(this,vQc,2,Kc)};IP.prototype.setIt=function(a){return t(this,vQc,2,a,Kc)};IP.messageId="b.CheckBannedWordsResponse";var JP=function(){this.executor=x(ey)};JP.prototype.checkBannedWords=function(a){a=(new HP).setIt((new uQc).setComponentId(Number(a.componentId)).setText(a.text));return this.executor.post({url:"action/check_banned_words",body:a,responseConstructor:IP}).pipe(C(kZa))};JP.\u0275fac=function(a){return new (a||JP)};JP.\u0275prov=Dg({token:JP,factory:JP.\u0275fac,providedIn:"root"});var KP=function(){this.observableApi=x(JP)};KP.prototype.checkBannedWords=function(a){return pi(this.observableApi.checkBannedWords(a))};
KP.\u0275fac=function(a){return new (a||KP)};KP.\u0275prov=Dg({token:KP,factory:KP.\u0275fac,providedIn:"root"});var LP=function(){Z.apply(this,arguments);this.bannedWordsApi=x(KP);this.activeSession=x(Ks);this.errorHandler=x(PA);this.analytics=x(nE);this.matchedPatterns=[];this.warningState$=new $n("INITIAL");this.enableBannedWordsCheck=Cx(this.activeSession,"enableBannedWordsCheck");this.isUserInternal=this.activeSession.isInternalSession();this.showWarning$=this.warningState$.pipe(C(function(a){return a==="SHOW_WARNING"}))};Y(LP,Z);LP.\u0275dir=Z.\u0275dir;
LP.prototype.check=function(a,b,c){var d=this;return v(function(e){if(!(d.enableBannedWordsCheck&&d.isUserInternal&&b&&c))return e.return(!0);switch(d.warningState$.value){case "INITIAL":return e.return(wQc(d,c,a));case "SHOW_WARNING":return d.warningState$.next("SKIP_WARNING"),d.analytics.trackEvent("bannedWords","skipBannedWordsCheck",Sq(d)),e.return(!0);default:return e.return(!0)}})};
var wQc=function(a,b,c){var d,e;return v(function(f){if(f.nextAddress==1)return ei(f,2),w(f,a.bannedWordsApi.checkBannedWords({componentId:b,text:c}),4);if(f.nextAddress!=2)return d=f.yieldResult,d.matchedPatterns.length>0?(a.matchedPatterns=d.matchedPatterns,a.warningState$.next("SHOW_WARNING"),a.analytics.trackEvent("bannedWords","failBannedWordsCheck",Sq(a)),f.return(!1)):f.return(!0);e=ii(f);RA(a.errorHandler,e);return f.return(!0)})},Sq=function(a){return a.matchedPatterns.join(", ")};
LP.prototype.showWarning=function(){return this.warningState$.value==="SHOW_WARNING"};LP.prototype.reset=function(){this.matchedPatterns=[];this.warningState$.next("INITIAL")};LP.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(LP)))(b||LP)}}();LP.\u0275prov=Dg({token:LP,factory:LP.\u0275fac});var xQc=["issueTitleCellInputEl"],MP=function(){this.appEvents=x(EB);this.issueFullFridge=x(pE);this.issuePermissionService=x(BF);this.bannedWordsChecker=x(LP);this.savingTitle=!1;this.issue=null;this.isEditMode=this.enableHovercard=this.useButtonToNavigate=!1;this.onCancel=new iE;this.onSave=new iE;this.issueNavigated=new iE;this.title="";this.isDataLoaded=!1;this.link=""};
MP.prototype.ngOnChanges=function(){var a,b;this.title=((a=this.issue)==null?void 0:(b=a.snapshot[0])==null?void 0:b.title)||"";this.isDataLoaded=this.issue!==null;var c,d;this.link=this.getIssueUrl((d=(c=this.issue)==null?void 0:c.issueId)!=null?d:"")};var oZa=function(a,b){b.stopPropagation();var c;if((c=a.issue)==null?0:c.issueId){var d;a.issueNavigated.emit((d=a.issue)==null?void 0:d.issueId)}};MP.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):Hq.viewIssue.makeHref(a)};
var lZa=function(a){var b,c=(b=a.issue)==null?void 0:b.issueId;c!=null&&a.appEvents.didShowIssueHovercard.next(c)},vZa=function(a){var b,c;return v(function(d){if(d.nextAddress==1){if(!a.title||a.savingTitle||((b=a.issue)==null?void 0:b.issueId)==null)return d.return();a.savingTitle=!0;gi(d,2);return w(d,a.bannedWordsChecker.check(a.title,a.issuePermissionService.accessLevel()==="EXTERNAL_PUBLIC",a.issue.snapshot[0].componentId),4)}if(d.nextAddress!=2)return c=d.yieldResult,c?w(d,yQc(a),2):(a.issueTitleCellInputEl.nativeElement.focus(),
d.jumpTo(2));fi(d);a.savingTitle=!1;return hi(d,0)})},yQc=function(a){return v(function(b){if(b.nextAddress==1)return a.bannedWordsChecker.reset(),gi(b,2),w(b,pi(Nwc(a.issueFullFridge,a.issue.issueId,a.title.trim())),2);fi(b);a.onSave.emit();return hi(b,0)})};MP.\u0275fac=function(a){return new (a||MP)};
MP.\u0275cmp=F({type:MP,selectors:[["b-issue-title-cell"]],viewQuery:function(a,b){a&1&&ek(xQc,5);if(a&2){var c;ik(c=jk())&&(b.issueTitleCellInputEl=c.first)}},hostAttrs:[1,"flex-kids-x","line-clamp-3"],hostVars:2,hostBindings:function(a,b){a&2&&rk("isEditMode",b.isEditMode)},inputs:{issue:"issue",issueUrlFactory:"issueUrlFactory",useButtonToNavigate:"useButtonToNavigate",anchorTarget:"anchorTarget",enableHovercard:"enableHovercard",trailingChip:"trailingChip",isEditMode:"isEditMode"},outputs:{onCancel:"onCancel",
onSave:"onSave",issueNavigated:"issueNavigated"},standalone:!1,features:[Bk([LP]),$w],decls:12,vars:9,consts:[["issueHovercard","onedevHovercard"],["editableIssueTitle",""],["issueTitleCellInputEl",""],[1,"title","title-location","gap-s",3,"isReady"],[3,"trackerId","compactMode"],[1,"b-chip","s","margin-s-left",3,"class","matTooltip"],[3,"issueId"],[1,"banned-words-warning","break-word"],[1,"line-clamp-3",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"line-clamp-3"],["mat-icon-button","",
"tabindex","0","matTooltip","Open issue in a new tab","aria-label","Open issue",1,"small","visible-on-row-active","hover-link","pop-out-link",3,"keydown","click","routerLink","target"],["svgIcon","pop-out",1,"icon-s"],[1,"line-clamp-3",3,"onedevHovercardShown","onedevHovercardTrigger","onedevHovercardActive"],[4,"ngTemplateOutlet"],[1,"b-chip","s","margin-s-left",3,"matTooltip"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",
1,"color-bad-text","keep-underline"],[1,"hover-link","line-clamp-3","break-word",3,"routerLink","target","onedevHovercardTrigger","onedevHovercardActive"],["type","text","placeholder","Enter a new title",1,"grow-1",3,"input","ngModelChange","keydown","bFocus","ngModel"],["id","save-button","type","button","mat-stroked-button","","color","primary","format","fill","size","small","title","Change issue title","matTooltip","(Shortcut: Enter)",3,"onAction","disabled"],["id","cancel-button","type","button",
"mat-stroked-button","","format","flat","size","small","title","Cancel","matTooltip","(Shortcut: Esc)",3,"onAction","disabled"],[1,"hover-link","line-clamp-3","break-word",3,"keydown","click","onedevHovercardShown","routerLink","target","onedevHovercardTrigger","onedevHovercardActive"]],template:function(a,b){a&1&&(L(0,"b-async-data-placeholder",3),N(1,"b-tracker-chip-smart",4),I(2,pZa,4,3)(3,rZa,1,1,"ng-container"),I(4,sZa,2,7,"span",5),M(),L(5,"onedev-hovercard",null,0),I(7,tZa,1,1,"b-issue-card",
6),M(),I(8,uZa,4,1,"p",7),W(9,"async"),G(10,yZa,2,1,"ng-template",null,1,Gk));if(a&2){var c;K("isReady",b.isDataLoaded);E();K("trackerId",b.issue==null?null:b.issue.trackerId)("compactMode",!0);E();J(b.useButtonToNavigate?2:3);E(2);J((c=b.trailingChip)?4:-1,c);E(3);J(b.enableHovercard&&b.issue?7:-1);E();J(X(9,7,b.bannedWordsChecker.showWarning$)?8:-1)}},dependencies:[eP,oy,EA,bC,DM,oP,Bp,hG,oG,dA,bA,YF,WF,xH,DH,GP,HO,py],styles:[".title[_ngcontent-%COMP%]{padding-top:7px;padding-bottom:6px;display:flex;flex-direction:row;align-items:center}.isEditMode[_nghost-%COMP%]{margin-left:-10px}.isEditMode[_nghost-%COMP%]   .title[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}a[_ngcontent-%COMP%]{color:inherit}.banned-words-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-text);padding-left:9px}b-async-data-placeholder[_ngcontent-%COMP%]   input[type=text].banned-words-warning[_ngcontent-%COMP%], b-async-data-placeholder[_ngcontent-%COMP%]   input[type=text].banned-words-warning[_ngcontent-%COMP%]:focus, b-async-data-placeholder[_ngcontent-%COMP%]   input[type=text].banned-words-warning[_ngcontent-%COMP%]:focus-within{border-color:#c5221f;border-color:var(--bad-gfx);color:#c5221f;color:var(--bad-text)}"],
changeDetection:0});var NP=function(a,b){this.checker=a;this.document=b};NP.prototype.focusFirstFocusableElement=function(a){(a=zQc(this,a,!0))&&a.focus()};var zQc=function(a,b,c){if((c===void 0||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?zQc(a,b[c]):null;if(d)return d}return null};NP.\u0275fac=function(a){return new (a||NP)(bh(Hy),bh(Mm))};NP.\u0275prov=Dg({token:NP,factory:NP.\u0275fac,providedIn:"root"});var OP=function(){this.elementRef=x(Ph);this.interactivityHelper=x(NP)};OP.prototype.ngOnInit=function(){};OP.prototype.focus=function(){this.element.contains(document.activeElement)||this.interactivityHelper.focusFirstFocusableElement(this.element)};pg.Object.defineProperties(OP.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this.elementRef.nativeElement}}});OP.\u0275fac=function(a){return new (a||OP)};
OP.\u0275dir=$i({type:OP,selectors:[["tr","row",""]],inputs:{row:"row"},exportAs:["tableRowDirective"],standalone:!1});var PP=function(){};PP.\u0275fac=function(a){return new (a||PP)};PP.\u0275mod=Zi({type:PP});PP.\u0275inj=Eg({});var AQc=function(a,b){iz.call(this,a);this.directives=a;this.isEqual=b};Y(AQc,iz);var Uq=function(a,b){var c;return v(function(d){if(d.nextAddress==1)return w(d,pi(a.directives.changes.pipe(rj(a.directives.toArray()),C(function(e){return e.find(function(f){return a.isEqual(f.row,b)})}),Di(Boolean),Ei(3E3))),2);c=d.yieldResult;a.setActiveItem(c);ji(d)})};var BQc=new kh("GM2_CHIPS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var QP=function(a){this.options=a;if(a.disableGmatStyle)throw Error("Mb");};QP.\u0275fac=function(a){return new (a||QP)(Ui(BQc))};
QP.\u0275dir=$i({type:QP,selectors:[["mat-chip"],["mat-basic-chip"],["mat-chip-row"],["mat-basic-chip-row"],["mat-chip-option"],["mat-basic-chip-option"]],hostAttrs:[1,"gmat-mdc-chip"],hostVars:14,hostBindings:function(a,b){a&2&&rk("gmat-input-chip",b.appearance==="input")("gmat-filter-chip",b.appearance==="hairline-filter"||b.appearance==="protected-filter")("gmat-suggestive-chip",b.appearance==="hairline-suggestive"||b.appearance==="protected-suggestive")("gmat-assistive-chip",b.appearance==="hairline-assistive"||
b.appearance==="protected-assistive")("gmat-hairline-chip",b.appearance==="input"||b.appearance==="hairline-filter"||b.appearance==="hairline-suggestive"||b.appearance==="hairline-assistive")("gmat-protected-chip",b.appearance==="protected-filter"||b.appearance==="protected-suggestive"||b.appearance==="protected-assistive")("gmat-selectable-chip",b.appearance==="input"||b.appearance==="hairline-filter"||b.appearance==="protected-filter")},inputs:{appearance:"appearance"},standalone:!1});var CQc=new kh("GM2_TABLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var RP=function(a){this.options=a;if(a.disableGmatStyle)throw Error("Mb");};RP.\u0275fac=function(a){return new (a||RP)(Ui(CQc))};RP.\u0275dir=$i({type:RP,selectors:[["table","mat-table",""],["mat-table"]],hostAttrs:[1,"gmat-mdc-table"],standalone:!1});var DQc=new kh("mat-chips-default-options",{providedIn:"root",factory:function(){return{separatorKeyCodes:[13]}}}),EQc=new kh("MatChipAvatar"),FQc=new kh("MatChipTrailingIcon"),GQc=new kh("MatChipEdit"),HQc=new kh("MatChipRemove"),IQc=new kh("MatChip");var SP=function(){this._elementRef=x(Ph);this._parentChip=x(IQc);this._isPrimary=!0;this._disabled=this._isLeading=!1;this.tabIndex=-1;this._allowFocusWhenDisabled=!1;x(Um).load(Qz);this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")};SP.prototype._getDisabledAttribute=function(){return this.disabled&&!this._allowFocusWhenDisabled?"":null};SP.prototype.focus=function(){this._elementRef.nativeElement.focus()};
pg.Object.defineProperties(SP.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){var a;return this._disabled||((a=this._parentChip)==null?void 0:a.disabled)||!1},set:function(a){this._disabled=a}}});SP.\u0275fac=function(a){return new (a||SP)};
SP.\u0275dir=$i({type:SP,selectors:[["","matChipContent",""]],hostAttrs:[1,"mat-mdc-chip-action","mdc-evolution-chip__action","mdc-evolution-chip__action--presentational"],hostVars:8,hostBindings:function(a,b){a&2&&(Hj("disabled",b._getDisabledAttribute())("aria-disabled",b.disabled),rk("mdc-evolution-chip__action--primary",b._isPrimary)("mdc-evolution-chip__action--secondary",!b._isPrimary)("mdc-evolution-chip__action--trailing",!b._isPrimary&&!b._isLeading))},inputs:{disabled:[2,"disabled","disabled",
Tk],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?-1:Uk(a)}],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}});var TP=function(){SP.apply(this,arguments)};Y(TP,SP);TP.prototype._getTabindex=function(){return this.disabled&&!this._allowFocusWhenDisabled?null:this.tabIndex.toString()};TP.prototype._handleClick=function(a){!this.disabled&&this._isPrimary&&(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())};
TP.prototype._handleKeydown=function(a){a.keyCode!==13&&a.keyCode!==32||this.disabled||!this._isPrimary||this._parentChip._isEditing||(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())};TP.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(TP)))(b||TP)}}();
TP.\u0275dir=$i({type:TP,selectors:[["","matChipAction",""]],hostVars:3,hostBindings:function(a,b){a&1&&Q("click",function(c){return b._handleClick(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Hj("tabindex",b._getTabindex()),rk("mdc-evolution-chip__action--presentational",!1))},features:[xj]});var UP=function(){SP.apply(this,arguments);this._isPrimary=!1};Y(UP,SP);UP.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(UP)))(b||UP)}}();UP.\u0275dir=$i({type:UP,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:["aria-hidden","true",1,"mat-mdc-chip-trailing-icon","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],features:[Bk([{provide:FQc,useExisting:UP}]),xj]});var JQc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],VP=function(){this._changeDetectorRef=x(sx);this._elementRef=x(Ph);this._tagName=x(Wjc);this._ngZone=x(Kk);this._focusMonitor=x(Ey);this._globalRippleOptions=x(Sz,{optional:!0});this._document=x(Mm);this._onFocus=new oj;this._onBlur=new oj;this.role=null;this._hasFocusInternal=!1;this._animationsDisabled=hn();this.id=x(Wm).getId("mat-mdc-chip-");this.ariaDescription=
this.ariaLabel=null;this._hadFocusOnRemove=this._chipListDisabled=!1;this.removable=!0;this._disabled=this.disableRipple=this.highlighted=!1;this.removed=new Lp;this.destroyed=new Lp;this.basicChipAttrName="mat-basic-chip";this._rippleLoader=x(Zz);this._injector=x(yj);var a=x(Um);a.load(Qz);a.load(Iy);this._monitorFocus();var b;(b=this._rippleLoader)==null||vpc(b,this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})};g=VP.prototype;g._hasFocus=function(){return this._hasFocusInternal};
g.ngOnInit=function(){this._isBasicChip=this._elementRef.nativeElement.hasAttribute(this.basicChipAttrName)||this._tagName.toLowerCase()===this.basicChipAttrName};g.ngAfterViewInit=function(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label");this._pendingFocus&&(this._pendingFocus=!1,this.focus())};g.ngAfterContentInit=function(){var a=this;this._actionChanges=Ci(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allEditIcons.changes,this._allRemoveIcons.changes).subscribe(function(){return a._changeDetectorRef.markForCheck()})};
g.ngDoCheck=function(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);var a;(a=this._rippleLoader)==null||upc(a,this._elementRef.nativeElement);var b;(b=this._actionChanges)==null||b.unsubscribe();this.destroyed.emit({chip:this});this.destroyed.complete()};g.remove=function(){this.removable&&(this._hadFocusOnRemove=this._hasFocus(),this.removed.emit({chip:this}))};
g._isRippleDisabled=function(){var a;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!this._hasInteractiveActions()||!((a=this._globalRippleOptions)==null||!a.disabled)};g._hasTrailingIcon=function(){return!(!this.trailingIcon&&!this.removeIcon)};g._handleKeydown=function(a){if(a.keyCode===8&&!a.repeat||a.keyCode===46)a.preventDefault(),this.remove()};g.focus=function(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)};
g._getSourceAction=function(a){return this._getActions().find(function(b){b=b._elementRef.nativeElement;return b===a||b.contains(a)})};g._getActions=function(){var a=[];this.editIcon&&a.push(this.editIcon);this.primaryAction&&a.push(this.primaryAction);this.removeIcon&&a.push(this.removeIcon);return a};g._handlePrimaryActionInteraction=function(){};g._hasInteractiveActions=function(){return this._getActions().length>0};g._edit=function(){};
g._monitorFocus=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b=b!==null;b!==a._hasFocusInternal&&((a._hasFocusInternal=b)?a._onFocus.next({chip:a}):(a._changeDetectorRef.markForCheck(),setTimeout(function(){return a._ngZone.run(function(){return a._onBlur.next({chip:a})})})))})};
pg.Object.defineProperties(VP.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this._value!==void 0?this._value:this._textElement.textContent.trim()},set:function(a){this._value=a}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this._chipListDisabled},set:function(a){this._disabled=a}}});VP.\u0275fac=function(a){return new (a||VP)};
VP.\u0275cmp=F({type:VP,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(a,b,c){a&1&&(fk(c,EQc,5),fk(c,GQc,5),fk(c,FQc,5),fk(c,HQc,5),fk(c,EQc,5),fk(c,FQc,5),fk(c,GQc,5),fk(c,HQc,5));if(a&2){var d;ik(d=jk())&&(b.leadingIcon=d.first);ik(d=jk())&&(b.editIcon=d.first);ik(d=jk())&&(b.trailingIcon=d.first);ik(d=jk())&&(b.removeIcon=d.first);ik(d=jk())&&(b._allLeadingIcons=d);ik(d=jk())&&(b._allTrailingIcons=d);ik(d=jk())&&(b._allEditIcons=
d);ik(d=jk())&&(b._allRemoveIcons=d)}},viewQuery:function(a,b){a&1&&ek(TP,5);if(a&2){var c;ik(c=jk())&&(b.primaryAction=c.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(a,b){a&1&&Q("keydown",function(c){return b._handleKeydown(c)});a&2&&(Oj("id",b.id),Hj("role",b.role)("aria-label",b.ariaLabel),sk("mat-"+(b.color||"primary")),rk("mdc-evolution-chip",!b._isBasicChip)("mdc-evolution-chip--disabled",b.disabled)("mdc-evolution-chip--with-trailing-action",b._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",
b.leadingIcon)("mdc-evolution-chip--with-primary-icon",b.leadingIcon)("mdc-evolution-chip--with-avatar",b.leadingIcon)("mat-mdc-chip-with-avatar",b.leadingIcon)("mat-mdc-chip-highlighted",b.highlighted)("mat-mdc-chip-disabled",b.disabled)("mat-mdc-basic-chip",b._isBasicChip)("mat-mdc-standard-chip",!b._isBasicChip)("mat-mdc-chip-with-trailing-icon",b._hasTrailingIcon())("_mat-animation-noopable",b._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,
"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",Tk],highlighted:[2,"highlighted","highlighted",Tk],disableRipple:[2,"disableRipple","disableRipple",Tk],disabled:[2,"disabled","disabled",Tk]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Bk([{provide:IQc,useExisting:VP}])],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:8,vars:2,
consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipContent",""],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(a,b){a&1&&(Zj(JQc),N(0,"span",0),L(1,"span",1)(2,"span",2),I(3,zZa,2,0,"span",3),L(4,"span",4),ak(5),
N(6,"span",5),M()()(),I(7,AZa,2,0,"span",6));a&2&&(E(3),J(b.leadingIcon?3:-1),E(4),J(b._hasTrailingIcon()?7:-1))},dependencies:[SP],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-outline-width, 1px);border-radius:var(--mat-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--secondary{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mat-chip-with-avatar-avatar-size, 24px);height:var(--mat-chip-with-avatar-avatar-size, 24px);font-size:var(--mat-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic{padding-left:0}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mat-chip-container-shape-radius, 8px);height:var(--mat-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mat-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mat-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mat-chip-with-icon-icon-size, 18px);height:var(--mat-chip-with-icon-icon-size, 18px);font-size:var(--mat-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mat-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-edit,.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-edit:focus,.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-edit:hover::after,.mat-mdc-chip-remove:hover::after{opacity:calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)))}.mat-mdc-chip-edit:focus::after,.mat-mdc-chip-remove:focus::after{opacity:calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:focus::after,.mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:focus::after{opacity:calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:hover::after,.mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:hover::after{opacity:calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mat-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-edit::before,.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}\n'],
encapsulation:2,changeDetection:0});var KQc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],WP=function(){VP.apply(this,arguments);this._defaultOptions=x(DQc,{optional:!0});this.chipListSelectable=!0;this._chipListMultiple=!1;var a,b;this._chipListHideSingleSelectionIndicator=(b=(a=this._defaultOptions)==null?void 0:a.hideSingleSelectionIndicator)!=null?b:!1;this._selectable=!0;this._selected=!1;this.basicChipAttrName="mat-basic-chip-option";this.selectionChange=
new Lp};Y(WP,VP);g=WP.prototype;g.ngOnInit=function(){VP.prototype.ngOnInit.call(this);this.role="presentation"};g.select=function(){this._setSelectedState(!0,!1,!0)};g.deselect=function(){this._setSelectedState(!1,!1,!0)};g._handlePrimaryActionInteraction=function(){this.disabled||(this.focus(),this.selectable&&this._setSelectedState(!this.selected,!0,!0))};g._hasLeadingGraphic=function(){return this.leadingIcon?!0:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple};
g._setSelectedState=function(a,b,c){a!==this.selected&&(this._selected=a,c&&this.selectionChange.emit({source:this,isUserInput:b,selected:this.selected}),this._changeDetectorRef.markForCheck())};
pg.Object.defineProperties(WP.prototype,{selectable:{configurable:!0,enumerable:!0,get:function(){return this._selectable&&this.chipListSelectable},set:function(a){this._selectable=a;this._changeDetectorRef.markForCheck()}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._setSelectedState(a,!1,!0)}},ariaSelected:{configurable:!0,enumerable:!0,get:function(){return this.selectable?this.selected.toString():null}}});
WP.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(WP)))(b||WP)}}();
WP.\u0275cmp=F({type:WP,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(a,b){a&2&&(Oj("id",b.id),Hj("tabindex",null)("aria-label",null)("aria-description",null)("role",b.role),rk("mdc-evolution-chip",!b._isBasicChip)("mdc-evolution-chip--filter",!b._isBasicChip)("mdc-evolution-chip--selectable",!b._isBasicChip)("mat-mdc-chip-selected",b.selected)("mat-mdc-chip-multiple",
b._chipListMultiple)("mat-mdc-chip-disabled",b.disabled)("mat-mdc-chip-with-avatar",b.leadingIcon)("mdc-evolution-chip--disabled",b.disabled)("mdc-evolution-chip--selected",b.selected)("mdc-evolution-chip--selecting",!b._animationsDisabled)("mdc-evolution-chip--with-trailing-action",b._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",b.leadingIcon)("mdc-evolution-chip--with-primary-graphic",b._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",b.leadingIcon)("mat-mdc-chip-highlighted",
b.highlighted)("mat-mdc-chip-with-trailing-icon",b._hasTrailingIcon()))},inputs:{selectable:[2,"selectable","selectable",Tk],selected:[2,"selected","selected",Tk]},outputs:{selectionChange:"selectionChange"},features:[Bk([{provide:VP,useExisting:WP},{provide:IQc,useExisting:WP}]),xj],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:8,vars:6,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],
["matChipAction","","role","option",3,"_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d",
"M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(a,b){a&1&&(Zj(KQc),N(0,"span",0),L(1,"span",1)(2,"button",2),I(3,BZa,5,0,"span",3),L(4,"span",4),ak(5),N(6,"span",5),M()()(),I(7,CZa,2,0,"span",6));a&2&&(E(2),K("_allowFocusWhenDisabled",!0),Hj("aria-description",b.ariaDescription)("aria-label",b.ariaLabel)("aria-selected",b.ariaSelected),E(),J(b._hasLeadingGraphic()?3:-1),E(4),J(b._hasTrailingIcon()?7:-1))},dependencies:[TP],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-outline-width, 1px);border-radius:var(--mat-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--secondary{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mat-chip-with-avatar-avatar-size, 24px);height:var(--mat-chip-with-avatar-avatar-size, 24px);font-size:var(--mat-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic{padding-left:0}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mat-chip-container-shape-radius, 8px);height:var(--mat-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mat-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mat-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mat-chip-with-icon-icon-size, 18px);height:var(--mat-chip-with-icon-icon-size, 18px);font-size:var(--mat-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mat-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-edit,.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-edit:focus,.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-edit:hover::after,.mat-mdc-chip-remove:hover::after{opacity:calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)))}.mat-mdc-chip-edit:focus::after,.mat-mdc-chip-remove:focus::after{opacity:calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:focus::after,.mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:focus::after{opacity:calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:hover::after,.mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:hover::after{opacity:calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mat-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-edit::before,.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}\n'],
encapsulation:2,changeDetection:0});var XP=function(){this._elementRef=x(Ph);this._changeDetectorRef=x(sx);this._dir=x(Xm,{optional:!0});this._lastDestroyedFocusedChipIndex=null;this._destroyed=new oj;this._defaultRole="presentation";this._disabled=!1;this.tabIndex=0;this._explicitRole=null;this._chipActions=new dk};g=XP.prototype;g.ngAfterViewInit=function(){this._setUpFocusManagement();this._trackChipSetChanges();this._trackDestroyedFocusedChip()};
g.ngOnDestroy=function(){var a;(a=this._keyManager)==null||a.destroy();this._chipActions.destroy();this._destroyed.next();this._destroyed.complete()};g._hasFocusedChip=function(){return this._chips&&this._chips.some(function(a){return a._hasFocus()})};g._syncChipsState=function(){var a=this,b;(b=this._chips)==null||b.forEach(function(c){c._chipListDisabled=a._disabled;c._changeDetectorRef.markForCheck()})};g.focus=function(){};g._handleKeydown=function(a){if(this._originatesFromChip(a))this._keyManager.onKeydown(a)};
g._isValidIndex=function(a){return a>=0&&a<this._chips.length};g._allowFocusEscape=function(){var a=this,b=this._elementRef.nativeElement.tabIndex;b!==-1&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(function(){return a._elementRef.nativeElement.tabIndex=b}))};g._getChipStream=function(a){var b=this;return this._chips.changes.pipe(rj(null),sj(function(){return Ci.apply(null,p(b._chips.map(a)))}))};
g._originatesFromChip=function(a){for(a=a.target;a&&a!==this._elementRef.nativeElement;){if(a.classList.contains("mat-mdc-chip"))return!0;a=a.parentElement}return!1};
g._setUpFocusManagement=function(){var a=this;this._chips.changes.pipe(rj(this._chips)).subscribe(function(c){var d=[];c.forEach(function(e){return e._getActions().forEach(function(f){return d.push(f)})});a._chipActions.reset(d);hk(a._chipActions)});this._keyManager=fz(ez(dz(new iz(this._chipActions)),this._dir?this._dir.value:"ltr")).skipPredicate(function(c){return a._skipPredicate(c)});this.chipFocusChanges.pipe(tj(this._destroyed)).subscribe(function(c){(c=c.chip._getSourceAction(document.activeElement))&&
gz(a._keyManager,c)});var b;(b=this._dir)==null||b.change.pipe(tj(this._destroyed)).subscribe(function(c){return ez(a._keyManager,c)})};g._skipPredicate=function(a){return a.disabled};g._trackChipSetChanges=function(){var a=this;this._chips.changes.pipe(rj(null),tj(this._destroyed)).subscribe(function(){a.disabled&&Promise.resolve().then(function(){return a._syncChipsState()});a._redirectDestroyedChipFocus()})};
g._trackDestroyedFocusedChip=function(){var a=this;this.chipDestroyedChanges.pipe(tj(this._destroyed)).subscribe(function(b){var c=a._chips.toArray().indexOf(b.chip),d=b.chip._hasFocus();b=b.chip._hadFocusOnRemove&&a._keyManager.activeItem&&b.chip._getActions().includes(a._keyManager.activeItem);d=d||b;a._isValidIndex(c)&&d&&(a._lastDestroyedFocusedChipIndex=c)})};
g._redirectDestroyedChipFocus=function(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){var a=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1);a=this._chips.toArray()[a];a.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():a.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}};
pg.Object.defineProperties(XP.prototype,{chipFocusChanges:{configurable:!0,enumerable:!0,get:function(){return this._getChipStream(function(a){return a._onFocus})}},chipDestroyedChanges:{configurable:!0,enumerable:!0,get:function(){return this._getChipStream(function(a){return a.destroyed})}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;this._syncChipsState()}},empty:{configurable:!0,enumerable:!0,get:function(){return!this._chips||
this._chips.length===0}},role:{configurable:!0,enumerable:!0,get:function(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole},set:function(a){this._explicitRole=a}},focused:{configurable:!0,enumerable:!0,get:function(){return this._hasFocusedChip()}}});XP.\u0275fac=function(a){return new (a||XP)};
XP.\u0275cmp=F({type:XP,selectors:[["mat-chip-set"]],contentQueries:function(a,b,c){a&1&&fk(c,VP,5);if(a&2){var d;ik(d=jk())&&(b._chips=d)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(a,b){a&1&&Q("keydown",function(c){return b._handleKeydown(c)});a&2&&Hj("role",b.role)},inputs:{disabled:[2,"disabled","disabled",Tk],role:"role",tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:Uk(a)}]},ngContentSelectors:["*"],decls:2,vars:0,consts:[["role",
"presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(Zj(),Pj(0,"div",0),ak(1),Qj())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder{opacity:1}.mat-mdc-chip-set+input.mat-mdc-chip-input{margin-left:0;margin-right:0}\n"],
encapsulation:2,changeDetection:0});var LQc=function(a,b){this.source=a;this.value=b},MQc={provide:cG,useExisting:$g(function(){return YP}),multi:!0},YP=function(){XP.apply(this,arguments);this._onTouched=function(){};this._onChange=function(){};this._defaultRole="listbox";this._defaultOptions=x(DQc,{optional:!0});this._multiple=!1;this.ariaOrientation="horizontal";this._selectable=!0;this.compareWith=function(c,d){return c===d};this.required=!1;var a,b;this._hideSingleSelectionIndicator=(b=(a=this._defaultOptions)==null?void 0:a.hideSingleSelectionIndicator)!=
null?b:!1;this.change=new Lp;this._chips=void 0};Y(YP,XP);g=YP.prototype;
g.ngAfterContentInit=function(){var a=this;this._chips.changes.pipe(rj(null),tj(this._destroyed)).subscribe(function(){a.value!==void 0&&Promise.resolve().then(function(){a._setSelectionByValue(a.value,!1)});a._syncListboxProperties()});this.chipBlurChanges.pipe(tj(this._destroyed)).subscribe(function(){return a._blur()});this.chipSelectionChanges.pipe(tj(this._destroyed)).subscribe(function(b){a.multiple||a._chips.forEach(function(c){c!==b.source&&c._setSelectedState(!1,!1,!1)});b.isUserInput&&a._propagateChanges()})};
g.focus=function(){if(!this.disabled){var a=this._getFirstSelectedChip();a&&!a.disabled?a.focus():this._chips.length>0?this._keyManager._setActiveItemByIndex(0,1):this._elementRef.nativeElement.focus()}};g.writeValue=function(a){a!=null?this.value=a:this.value=void 0};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this.disabled=a};
g._setSelectionByValue=function(a,b){var c=this;b=b===void 0?!0:b;this._clearSelection();Array.isArray(a)?a.forEach(function(d){return c._selectValue(d,b)}):this._selectValue(a,b)};g._blur=function(){var a=this;this.disabled||setTimeout(function(){a.focused||a._markAsTouched()})};g._keydown=function(a){a.keyCode===9&&XP.prototype._allowFocusEscape.call(this)};g._markAsTouched=function(){this._onTouched();this._changeDetectorRef.markForCheck()};
g._propagateChanges=function(){var a=null;Array.isArray(this.selected)?a=this.selected.map(function(b){return b.value}):a=this.selected?this.selected.value:void 0;this._value=a;this.change.emit(new LQc(this,a));this._onChange(a);this._changeDetectorRef.markForCheck()};g._clearSelection=function(a){this._chips.forEach(function(b){b!==a&&b.deselect()})};
g._selectValue=function(a,b){var c=this,d=this._chips.find(function(e){return e.value!=null&&c.compareWith(e.value,a)});d&&(b?d._setSelectedState(!0,!0,!0):d.select());return d};g._syncListboxProperties=function(){var a=this;this._chips&&Promise.resolve().then(function(){a._chips.forEach(function(b){b._chipListMultiple=a.multiple;b.chipListSelectable=a._selectable;b._chipListHideSingleSelectionIndicator=a.hideSingleSelectionIndicator;b._changeDetectorRef.markForCheck()})})};
g._getFirstSelectedChip=function(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected};g._skipPredicate=function(){return!1};
pg.Object.defineProperties(YP.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=a;this._syncListboxProperties()}},selected:{configurable:!0,enumerable:!0,get:function(){var a=this._chips.toArray().filter(function(b){return b.selected});return this.multiple?a:a[0]}},selectable:{configurable:!0,enumerable:!0,get:function(){return this._selectable},set:function(a){this._selectable=a;this._syncListboxProperties()}},hideSingleSelectionIndicator:{configurable:!0,
enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=a;this._syncListboxProperties()}},chipSelectionChanges:{configurable:!0,enumerable:!0,get:function(){return this._getChipStream(function(a){return a.selectionChange})}},chipBlurChanges:{configurable:!0,enumerable:!0,get:function(){return this._getChipStream(function(a){return a._onBlur})}},value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._chips&&
this._chips.length&&this._setSelectionByValue(a,!1);this._value=a}}});YP.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(YP)))(b||YP)}}();
YP.\u0275cmp=F({type:YP,selectors:[["mat-chip-listbox"]],contentQueries:function(a,b,c){a&1&&fk(c,WP,5);if(a&2){var d;ik(d=jk())&&(b._chips=d)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:10,hostBindings:function(a,b){a&1&&Q("focus",function(){return b.focus()})("blur",function(){return b._blur()})("keydown",function(c){return b._keydown(c)});a&2&&(Oj("tabIndex",b.disabled||b.empty?-1:b.tabIndex),Hj("role",b.role)("aria-required",b.role?b.required:null)("aria-disabled",
b.disabled.toString())("aria-multiselectable",b.multiple)("aria-orientation",b.ariaOrientation),rk("mat-mdc-chip-list-disabled",b.disabled)("mat-mdc-chip-list-required",b.required))},inputs:{multiple:[2,"multiple","multiple",Tk],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",Tk],compareWith:"compareWith",required:[2,"required","required",Tk],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Tk],value:"value"},
outputs:{change:"change"},features:[Bk([MQc]),xj],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(Zj(),Pj(0,"div",0),ak(1),Qj())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder{opacity:1}.mat-mdc-chip-set+input.mat-mdc-chip-input{margin-left:0;margin-right:0}\n"],
encapsulation:2,changeDetection:0});var NQc=["componentSearchMenuTrigger"],OQc=["searchInput"],PQc={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1},QQc={SIMILAR_ISSUES:"Similar issues",SEARCH_RESULTS:"Search results",SEMANTIC_SEARCH_RESULTS:"Semantic search results",ISSUE_IDS:"Issue IDs"},RQc={},SQc=(RQc["Similar issues"]="similar",RQc["Search results"]="exact",RQc["Semantic search results"]="semantic",RQc["Issue IDs"]="id",RQc),TQc={SEMANTIC_SEARCH:"Smart search",EXACT_MATCH:"Exact match"},ZP=function(){Z.apply(this,
arguments);var a=this;this.dialogRef=x(YH);this.initialData=x(dI);this.issueFullFridge=x(pE);this.issuePickerSearchService=x(dP);this.analytics=x(nE);this.activeSession=x(Ks);this.componentFridge=x(AB);this.teamFridge=x(qF);this.domSafe=x(SF);this.elRef=x(Ph);this.focusTrapFactory=x(az);this.userPreferencesManager=x(NF);this.enrichmentApi=x(eB);this.issueUserEventsService=x($O);this.destroyRef=x(Cj);this.enableExpandedScopeIssuePicker=Cx(this.activeSession,"enableExpandedScopeIssuePicker");this.EnrichmentFeedbackType=
Ohc;this.isInternalSession=this.activeSession.isInternalSession();this.data=Object.assign({},PQc,this.initialData);var b;this.currentComponentId=(b=this.data.componentId)!=null?b:void 0;this.currentIssueId$=wi(function(){var d;return((d=a.data.currentResource)==null?void 0:d.type)==="issue"?li(a.data.currentResource.id):ix});this.currentIssue$=this.currentIssueId$.pipe(sj(function(d){return a.issueFullFridge.watch(d)}),pj({bufferSize:1,refCount:!0}));this.team$=this.currentIssue$.pipe(sj(function(d){var e,
f;return(d==null?0:(e=d.aggregatedData)==null?0:e.teamId)?a.teamFridge.watch(d==null?void 0:(f=d.aggregatedData)==null?void 0:f.teamId):li(void 0)}),pj({bufferSize:1,refCount:!0}));this.DEFAULT_PREFERENCES={open:!0,searchScope:"COMPONENT",componentScope:this.currentComponentId,includeDescendants:!1};this.assistiveIssuePickerPreferences$=this.userPreferencesManager.preferences$.pipe(C(function(d){var e,f;return(f=a.currentComponentId?d==null?void 0:(e=d.assistiveIssuePickerPreferences)==null?void 0:
e.get(a.currentComponentId):void 0)!=null?f:a.DEFAULT_PREFERENCES}));this.hasCustomPreferences$=this.userPreferencesManager.preferences$.pipe(C(function(d){if(!a.currentComponentId)return!1;var e;return(d=d==null?void 0:(e=d.assistiveIssuePickerPreferences)==null?void 0:e.get(a.currentComponentId))?!vd(d,a.DEFAULT_PREFERENCES):!1}),jj(),pj({bufferSize:1,refCount:!0}));this.showFiltersSubject=new $n(!1);this.showFilters$=ex(this.showFiltersSubject);var c;this.originIsBulk=(c=this.data.originIsBulk)!=
null?c:!1;this.openFilterEnabled$=this.assistiveIssuePickerPreferences$.pipe(C(function(d){return d.open}));this.selectedScope$=this.assistiveIssuePickerPreferences$.pipe(C(function(d){return d.searchScope}));this.includeDescendants$=this.assistiveIssuePickerPreferences$.pipe(C(function(d){return d.includeDescendants}));this.component$=this.assistiveIssuePickerPreferences$.pipe(sj(function(d){return d.componentScope?a.componentFridge.watch(d.componentScope):li(void 0)}));this.selectedIssues=new CF;
this.tableColumns="single-selection title id priority status duplicateCount votes createdTime".split(" ");this.issueUrlFactory=Hq.viewIssue.makeHref;this.trackByIssueId=function(d,e){return e.issueId};this.searchText$=new $n("");this.searchTextTrimmed$=this.searchText$.pipe(C(function(d){return d.trim()}),jj());this.idsInSearchText$=this.searchTextTrimmed$.pipe(C(lMa),C(oo),C(function(d){return d.filter(function(e){return e.length>=4})}),jj(vd));this.issuesWithIdMatches$=this.idsInSearchText$.pipe(sj(function(d){return a.issueFullFridge.watchSet(d)}),
uj(function(){a.isLoading=!1}),pj({bufferSize:1,refCount:!0}));this.openFilter=RH;this.teamFilter=this.componentFilter=void 0;this.defaultChoices$=this.issueFullFridge.watchSet(this.data.defaultChoices.map(function(d){return d.resourceId})).pipe(Di(fe));this.selectedFilters$=new CF([]);this.similarIssues$=si([this.currentIssueId$,this.selectedFilters$.value$,this.searchTextTrimmed$,this.showFilters$]).pipe(fj(0,xp),Di(function(d){d=l(d);d.next();d.next();return d.next().value===""&&a.data.defaultChoices.length===
0}),uj(function(){a.isLoading=!0}),sj(function(d){var e=l(d);d=e.next().value;var f=e.next().value;e.next();return e.next().value?WOc(a.issuePickerSearchService,d,f):WOc(a.issuePickerSearchService,d,void 0,!0)}),uj(function(){a.isLoading=!1}),pj({bufferSize:1,refCount:!0}));this.SearchSource=TQc;this.selectedSearchSource$=new $n("Smart search");this.searchResults$=si([this.searchTextTrimmed$.pipe(uj(function(){a.isLoading=!0}),fj(200)),this.selectedFilters$.value$.pipe(uj(function(){a.isLoading=!0})),
this.selectedSearchSource$]).pipe(sj(function(d){var e=l(d);d=e.next().value;var f=e.next().value;return e.next().value==="Smart search"?(a.analytics.trackEvent("assistive-issue-picker","semantic-search-"+a.data.edgeType),YOc(a.issuePickerSearchService,d,f,a.data.edgeType,a.data.currentResource)):a.issuePickerSearchService.search(d,a.data.edgeType,a.data.currentResource,a.currentComponentId)}),uj(function(){a.isLoading=!1}),pj({bufferSize:1,refCount:!0}));this.idsToAutoSelect$=this.issuesWithIdMatches$.pipe(C(function(d){return d.length!==
1?[]:[d[0].issueId]}),jj(vd),uj(function(d){d.length===0&&(a.isPasteResultInSuggestion=!1);var e,f=(e=tp(a.similarIssues$))!=null?e:[];a.isPasteResultInSuggestion=f.map(function(h){return h.issueId}).includes(d[0])}),pj({bufferSize:1,refCount:!0}));this.TableDataSource=QQc;this.tableDataSource="Search results";this.issues$=si([this.searchTextTrimmed$,this.issuesWithIdMatches$,this.similarIssues$.pipe(rj([])),this.selectedSearchSource$,this.defaultChoices$]).pipe(sj(function(d){var e=l(d);d=e.next().value;
var f=e.next().value;var h=e.next().value;var k=e.next().value;e=e.next().value;return f.length===1?(a.tableDataSource="Issue IDs",a.issuesWithIdMatches$):d?(a.tableDataSource=k==="Smart search"?"Semantic search results":"Search results",a.searchResults$):e&&e.length>0?(a.tableDataSource="Similar issues",a.defaultChoices$):h?(h.length>0&&(a.tableDataSource="Similar issues"),a.similarIssues$):li(void 0)}),jj());this.correctedDisplayedRows=new dk;this.isPasteResultInSuggestion=this.isLoading=!1};
Y(ZP,Z);ZP.\u0275dir=Z.\u0275dir;ZP.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.idsToAutoSelect$.subscribe(function(b){a.selectedIssues.reset(b)}));this.subscriptions.add(this.hasCustomPreferences$.pipe(lj()).subscribe(function(b){a.showFiltersSubject.next(!a.enableExpandedScopeIssuePicker||b)}));this.data.edgeType==="canonical"&&this.subscriptions.add(aPc(this.issuePickerSearchService,this.currentComponentId).subscribe());UQc(this)};
var UQc=function(a){var b,c,d,e,f,h,k,q,u,A,D,H,O;v(function(P){if(P.nextAddress==1)return b=l,w(P,Promise.all([pi(a.openFilterEnabled$),pi(a.component$),pi(a.team$),pi(a.selectedScope$),pi(a.includeDescendants$)]),2);c=b(P.yieldResult);d=c.next().value;e=c.next().value;f=c.next().value;h=c.next().value;k=c.next().value;q=d;u=e;A=f;D=h;H=k;q&&a.selectedFilters$.add(a.openFilter);if(u){a.componentFilter=xLa(u,H);if(O=D==="COMPONENT"||D==="UNSPECIFIED")a.selectedScopeFilter=a.componentFilter,a.selectedFilters$.add(a.componentFilter);
a.selectedComponent=u}A&&(a.teamFilter=wLa(A,H),D==="TEAM"&&(a.selectedScopeFilter=a.teamFilter,a.selectedFilters$.add(a.teamFilter)));ji(P)})};ZP.prototype.ngAfterViewInit=function(){this.focusManager=fz(new AQc(this.correctedDisplayedRows,function(a,b){return a.issueId===b.issueId}));this.trapFocus()};ZP.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);var a;(a=this.focusTrap)==null||a.destroy()};
ZP.prototype.openFilterChanged=function(a){var b=this,c;return v(function(d){if(d.nextAddress==1)return a?b.selectedFilters$.add(RH):b.selectedFilters$.delete(RH),w(d,pi(b.assistiveIssuePickerPreferences$),2);c=d.yieldResult;return w(d,VQc(b,Object.assign({},c,{open:a!==void 0})),0)})};
var VQc=function(a,b){var c;return v(function(d){if(d.nextAddress==1)return w(d,pi(a.userPreferencesManager.preferences$.pipe(C(function(e){return new Map(e.assistiveIssuePickerPreferences)}))),2);c=d.yieldResult;a.currentComponentId&&(c.set(a.currentComponentId,b),a.subscriptions.add(a.userPreferencesManager.save({assistiveIssuePickerPreferences:c}).subscribe()));ji(d)})},MZa=function(a,b){var c,d,e;return v(function(f){if(f.nextAddress==1){if(!a.componentFilter||!a.teamFilter||a.selectedScopeFilter===
b)return f.return();a.selectedScopeFilter=b;c=new Set(a.selectedFilters$.value);(d=b===a.componentFilter)?(c.add(a.componentFilter),c.delete(a.teamFilter)):(c.add(a.teamFilter),c.delete(a.componentFilter));a.selectedFilters$.reset(c);return w(f,pi(a.assistiveIssuePickerPreferences$),2)}e=f.yieldResult;return w(f,VQc(a,Object.assign({},e,{searchScope:d?"COMPONENT":"TEAM"})),0)})},UZa=function(a){var b,c,d,e,f,h,k;return v(function(q){switch(q.nextAddress){case 1:return w(q,pi(a.includeDescendants$),
2);case 2:return b=!q.yieldResult,w(q,pi(a.assistiveIssuePickerPreferences$),3);case 3:return c=q.yieldResult,w(q,VQc(a,Object.assign({},c,{includeDescendants:b})),4);case 4:return w(q,pi(a.component$),5);case 5:return d=q.yieldResult,w(q,pi(a.team$),6);case 6:e=q.yieldResult;if(!d)return q.return();f=xLa(d,b);h=new Set(a.selectedFilters$.value);if(!a.componentFilter)return q.return();h.has(a.componentFilter)&&(h.delete(a.componentFilter),h.add(f),a.selectedScopeFilter=f);a.componentFilter=f;e&&(k=
wLa(e,b),a.teamFilter&&h.has(a.teamFilter)&&(h.delete(a.teamFilter),h.add(k),a.selectedScopeFilter=k),a.teamFilter=k);a.selectedFilters$.reset(h);ji(q)}})},x_a=function(a,b){var c,d;return v(function(e){if(e.nextAddress==1)return w(e,Fq(0),2);c=new Map(a.displayedRows.toArray().map(function(f){return[f.row.issueId,f]}));d=b.map(function(f){return c.get(f.issueId)}).filter(fe);a.correctedDisplayedRows.reset(d);hk(a.correctedDisplayedRows);ji(e)})};
ZP.prototype.onPressConfirm=function(){var a=this,b,c;return v(function(d){if(d.nextAddress==1){if(!a.selectedIssues.size)return d.return();b=[].concat(p(a.selectedIssues));c={selectedIssueIds:b};a.dialogRef.close(c);return w(d,WQc(a,b[0]),2)}return w(d,XQc(a,b[0]),0)})};ZP.prototype.onPressCancel=function(){this.dialogRef.close()};ZP.prototype.selectIssue=function(a){this.selectedIssues.reset([a])};
ZP.prototype.onRowKeydown=function(a,b,c){if(a===0&&c.key==="ArrowUp")this.inputEl.nativeElement.focus(),c.preventDefault();else this.focusManager.onKeydown(c)};
var QZa=function(a,b){var c,d,e,f,h,k,q;return v(function(u){switch(u.nextAddress){case 1:a.trigger.closeMenu();if(!a.componentFilter)return u.return();if(c=!b){u.jumpTo(2);break}return w(u,pi(a.component$),3);case 3:c=u.yieldResult===b;case 2:if(c)return u.return();d=xLa;e=b;return w(u,pi(a.includeDescendants$),4);case 4:return f=d(e,u.yieldResult),a.selectedScopeFilter=f,w(u,pi(a.assistiveIssuePickerPreferences$),5);case 5:return h=u.yieldResult,w(u,VQc(a,Object.assign({},h,{componentScope:b.componentId})),
6);case 6:return k=Set,w(u,pi(a.selectedFilters$.value$),7);case 7:q=new k(u.yieldResult),q.delete(a.componentFilter),q.add(f),a.componentFilter=f,a.selectedFilters$.reset(q),a.analytics.trackEvent("assistive-issue-picker","component-scope-changed","component-id: "+b.componentId),ji(u)}})},IZa=function(a){return v(function(b){if(b.nextAddress==1)return w(b,pi(a.component$),2);a.selectedComponent=b.yieldResult;ji(b)})},XQc=function(a,b){var c,d,e,f,h,k,q;return v(function(u){if(u.nextAddress==1)return a.data.edgeType!==
"canonical"?u.return():w(u,pi(a.issueFullFridge.watch(b)),2);if(u.nextAddress!=3)return(c=u.yieldResult)?w(u,YQc(a,b),3):u.return();d=u.yieldResult;e=SQc[a.tableDataSource];a.analytics.trackEvent("assistive-issue-picker","picked-c-canonical",d?e+"-hit":e+"-miss",d?1:0);a.analytics.trackEvent("assistive-issue-picker","picked-canonical","dupe-count",(h=(f=c.snapshot[0].duplicateIssueId)==null?void 0:f.length)!=null?h:0);a.analytics.trackEvent("assistive-issue-picker","picked-canonical","plus-one-count",
(q=(k=c.aggregatedData)==null?void 0:k.voteCount)!=null?q:0);ji(u)})};ZP.prototype.trapFocus=function(){this.focusTrap=this.focusTrapFactory.create(this.elRef.nativeElement);hoc(this.focusTrap)};
var WQc=function(a,b){var c,d,e,f,h,k;return v(function(q){switch(q.nextAddress){case 1:return w(q,pi(a.similarIssues$),2);case 2:d=(c=q.yieldResult)!=null?c:[];e=d.find(function(u){return u.issueId===b});f=!!e;h=SQc[a.tableDataSource];if(d.length===0){a.analytics.trackEvent("assistive-issue-picker","empty-hit-rate-"+a.data.edgeType,h+"-empty");q.jumpTo(0);break}a.analytics.trackEvent("assistive-issue-picker","hit-rate-"+a.data.edgeType,f?h+"-hit":h+"-miss",f?1:0);if(!f){q.jumpTo(0);break}if(a.tableDataSource!==
"Similar issues"){q.jumpTo(5);break}return w(q,pi(a.currentIssueId$),6);case 6:k=q.yieldResult,a.enrichmentApi.submitEnrichmentFeedback({issueId:String(k),category:"Buganizer",feedbackType:"CLOSE_AS_DUPLICATE"}).pipe(vp(a.destroyRef)).subscribe(),a.issueUserEventsService.logIssueUserEvent(k,"FEATURE_SIMILAR_ISSUES","EVENT_TYPE_CLOSE_AS_DUPLICATE").pipe(vp(a.destroyRef)).subscribe();case 5:a.analytics.trackEvent("assistive-issue-picker","picked-"+a.data.edgeType,"suggestion-rank",d.indexOf(e)+1),e.score&&
a.analytics.trackEvent("assistive-issue-picker","picked-"+a.data.edgeType,"suggestion-score",e.score),ji(q)}})},YQc=function(a,b){var c,d;return v(function(e){if(e.nextAddress==1){if(a.data.edgeType!=="canonical")return e.return(!1);c=Set;return w(e,pi(aPc(a.issuePickerSearchService,a.currentComponentId)),2)}d=new c(e.yieldResult);return e.return(d.has(b))})};ZP.prototype.openLearnMore=function(){this.domSafe.openInNewTab("http://go/b-mark-as-duplicate")};
var KZa=function(a){return a.startsWith("Component:")?"Component":a};ZP.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(ZP)))(b||ZP)}}();
ZP.\u0275cmp=F({type:ZP,selectors:[["assistive-issue-picker-dialog"]],viewQuery:function(a,b){a&1&&(ek(NQc,5),ek(OQc,5),ek(OP,5));if(a&2){var c;ik(c=jk())&&(b.trigger=c.first);ik(c=jk())&&(b.inputEl=c.first);ik(c=jk())&&(b.displayedRows=c)}},hostBindings:function(a,b){a&1&&Q("keydown.control.enter",function(){return b.onPressConfirm()})("keydown.meta.enter",function(){return b.onPressConfirm()})},standalone:!1,features:[xj],decls:29,vars:21,consts:[["searchInput",""],["teamComponentMenu","matMenu"],
["componentSearchMenu","matMenu"],["menuTrigger","matMenuTrigger"],["componentSearchMenuTrigger","matMenuTrigger"],["mat-dialog-title",""],[1,"heading","flex-kids-x","gap-xxs","align-items-center","padded-s-y","heading-m"],["svgIcon","merge_type_24px",1,"rotate-180","green"],[1,"search-field","margin-s-bottom","flex-kids-x","align-items-center","heading-xs"],["cdkFocusInitial","","placeholder","Search by title, contents, or id",3,"keydown.arrowdown","input","keydown.enter"],[1,"padded-s",3,"selectionChange",
"value"],["matTooltip","Searches by semantic similarity of the query. Does not support search atoms (like 'status:open')","matTooltipPosition","left",3,"value"],["matTooltip","Searches by the exact query text. Supports search atoms (like 'status:open')","matTooltipPosition","left",3,"value"],[1,"flex-kids-x","align-items-center","margin-s-bottom","gap-s"],[1,"center-text","padded","margined","pos-rel"],["mat-dialog-content",""],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium",
"cancel",3,"click"],["type","button","mat-flat-button","","color","primary",1,"medium","confirm",3,"click","disabled"],[1,"heading","flex-kids-y","gap-s","border-bottom","padded-bottom","margin-s-bottom"],[1,"type-xs"],[1,"heading-s","line-clamp-3"],["svgIcon","search_spark_24px",1,"icon-m"],["svgIcon","search",1,"icon-m"],["aria-label","Filter open issues",3,"change"],["appearance","hairline-filter",1,"open-filter-chip",3,"selected","value"],[3,"matTooltip"],["xPosition","before"],["matMenuContent",
""],["xPosition","after"],["aria-label","Include subcomponents or subteams",3,"change"],["appearance","hairline-filter",1,"include-descendants-chip",3,"selected"],["matTooltip","Include subcomponents or subteams"],["type","button","mat-button","",1,"component-picker-action-buttons","toggle-filters",3,"click"],"type;button;mat-icon-button;;matTooltip;Learn more;aria-label;help".split(";"),["aria-label","Scope search to component or team",3,"selectable"],["appearance","hairline-filter","aria-label",
"Select search scope","matTooltip","Select Component or Team scope","selected","","color","primary","role","button",1,"team-component-filters",3,"keydown.enter","keyup.space","matMenuTriggerFor"],["matChipTrailingIcon","","svgIcon","arrow-dropdown",1,"dropdown-icon"],["aria-label","Scope search to component",3,"selectable"],["appearance","hairline-filter","aria-label","Select search scope","matTooltip","Search for a component","selected","","color","primary","role","button",1,"component-search-filter",
3,"keydown.enter","keyup.space","menuOpened","matMenuTriggerFor"],["type","button","mat-menu-item","","matTooltipPosition","right",1,"component-filter",3,"matTooltip"],["type","button","mat-menu-item","","matTooltipPosition","right",1,"team-filter",3,"matTooltip"],["type","button","mat-menu-item","","matTooltipPosition","right",1,"component-filter",3,"click","matTooltip"],["svgIcon","done"],["type","button","mat-menu-item","","matTooltipPosition","right",1,"team-filter",3,"click","matTooltip"],[3,
"click","keydown.tab","keydown.shift.tab"],[1,"component-search-menu-item"],["tabindex","0",3,"selectedComponentChange","selectedComponent","placeholder","shouldFocus","isRequired"],[1,"component-picker-action-buttons"],["type","button","mat-button","","color","primary",1,"choose-picker-button","small",3,"click","disabled"],["type","button","mat-button","","color","primary",1,"cancel-picker-button","small",3,"click"],["type","button","mat-icon-button","","matTooltip","Learn more","aria-label","help",
3,"click"],["svgIcon","help-outline"],["text","Finding similar issues...",3,"large"],["text","Searching..."],["ariaLabel","Loading results",1,"margined","inline-block"],["messageType","info","iconOverride","lightbulb_24px"],[1,"heading-xs"],["mat-table","",1,"full-width",3,"dataSource","trackBy"],[1,"center-text","padded"],["href","http://go/b-mark-as-duplicate","target","\u201d_blank\u201d"],["svgIcon","spark_24px","color","primary",1,"valign-middle"],["mat-table","",1,"full-width",3,"contentChanged",
"dataSource","trackBy"],["matColumnDef","single-selection"],["mat-header-cell","",4,"matHeaderCellDef"],["aria-label","Select issue",3,"change"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","id"],["matColumnDef","priority"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","status",4,"matHeaderCellDef"],["matColumnDef","duplicateCount"],["mat-cell","","class","center-text",4,"matCellDef"],["matColumnDef","votes"],["mat-header-cell","","matTooltip","Votes",
4,"matHeaderCellDef"],["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"row","keydown","keydown.enter","focusin","click",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],[1,"a11y-only"],["mat-cell",""],["tabindex","0",3,"checked","aria-label","value"],["anchorTarget","_blank",3,"issue","issueUrlFactory","useButtonToNavigate","enableHovercard"],[3,"id"],[3,
"issue"],["mat-header-cell","","mat-sort-header","status"],["mat-cell","",1,"center-text"],["mat-header-cell","","matTooltip","Votes"],["svgIcon","exposure_plus_1_24px",1,"icon-xs"],["mat-header-cell","","mat-sort-header","createdTime"],["mode","relativepastshort",3,"issue"],["mat-header-row",""],["mat-row","",1,"clickable",3,"keydown","keydown.enter","focusin","click","row"],[1,"margined","inline-block"]],template:function(a,b){if(a&1){var c=y();L(0,"div",5);I(1,EZa,2,3);L(2,"div",6);N(3,"mat-icon",
7);L(4,"span");U(5,"Close as duplicate of:");M()();L(6,"header",8);I(7,HZa,2,1);W(8,"async");L(9,"input",9,0);Q("keydown.arrowdown",function(){z(c);return B(b.focusManager.setActiveItem(0))})("input",function(){z(c);var f=T(10);return B(b.searchText$.next(f.value))})("keydown.enter",function(){z(c);return B(b.onPressConfirm())});M();L(11,"mat-select",10);W(12,"async");Q("selectionChange",function(f){z(c);b.selectedSearchSource$.next(f.value);return B()});L(13,"mat-option",11);U(14);M();L(15,"mat-option",
12);U(16);M()()();I(17,XZa,2,3);W(18,"async");Jj(19,ZZa,4,1,"div",13);M();I(20,c_a,5,3,"div",14);I(21,A_a,5,4,"div",15);W(22,"async");L(23,"div",16)(24,"button",17);Q("click",function(){z(c);return B(b.onPressCancel())});U(25," Cancel ");M();L(26,"button",18);W(27,"async");Q("click",function(){z(c);return B(b.onPressConfirm())});U(28," Close as duplicate ");M()()}if(a&2){var d,e;E();J(b.originIsBulk?-1:1);E(6);J((d=X(8,11,b.selectedSearchSource$))?7:-1,d);E(4);K("value",X(12,13,b.selectedSearchSource$));
E(2);K("value",b.SearchSource.SEMANTIC_SEARCH);E();V(" ",b.SearchSource.SEMANTIC_SEARCH," ");E();K("value",b.SearchSource.EXACT_MATCH);E();V(" ",b.SearchSource.EXACT_MATCH," ");E();J(X(18,15,b.showFilters$)?17:19);E(3);J(b.isLoading?20:-1);E();J((e=X(22,17,b.issues$))?21:-1,e);E(5);K("disabled",!X(27,19,b.selectedIssues.size$))}},dependencies:[EA,QP,YP,WP,UP,fP,kP,mP,nP,MP,dA,aA,bA,hI,jI,iI,FL,mK,kK,lK,pK,qK,rK,VL,WL,Vz,RP,eL,SK,YK,UK,RK,$K,VK,XK,aL,cL,YF,WF,TJc,lL,OP,sM,tM,OO,py],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-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-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.mat-mdc-dialog-title[_ngcontent-%COMP%]{margin:0}.heading[_ngcontent-%COMP%]{padding-left:4px}.mat-mdc-menu-item[_ngcontent-%COMP%]{height:auto}.search-field[_ngcontent-%COMP%]{position:relative}.search-field[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{position:absolute;top:9px;left:5px}.search-field[_ngcontent-%COMP%]   input[_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:40px;padding-right:140px}.search-field[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px #1a73e8;box-shadow:inset 0 0 0 2px var(--primary);outline:none}.search-field[_ngcontent-%COMP%]   mat-select[_ngcontent-%COMP%]{position:absolute;right:8px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border-radius:8px}.search-field[_ngcontent-%COMP%]   mat-select[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.search-field[_ngcontent-%COMP%]   mat-select[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px #1a73e8;box-shadow:inset 0 0 0 2px var(--primary);outline:none}[_nghost-%COMP%]     .mat-mdc-select-arrow, [_nghost-%COMP%]     .mat-mdc-select-value{color:#1a73e8;color:var(--primary)}@media (forced-colors:active){[_nghost-%COMP%]   .mat-mdc-dialog-actions[_ngcontent-%COMP%]   -shadowcsshost     button.gmat-mdc-button{border:1px solid;border-color:#dadce0;border-color:var(--divider)}[_nghost-%COMP%]   .mat-mdc-dialog-actions[_ngcontent-%COMP%]   -shadowcsshost     button.gmat-mdc-button:focus{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color}}[_nghost-%COMP%]   .mat-mdc-dialog-actions[_ngcontent-%COMP%]   -shadowcsshost     button.gmat-mdc-button:not([disabled]):focus{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color;border-radius:2px;outline-offset:3px}.mat-mdc-table[_ngcontent-%COMP%]{background-color:inherit;margin:4px 0}.mat-mdc-table[_ngcontent-%COMP%]   .mat-column-title[_ngcontent-%COMP%]{min-width:250px;max-width:24vw}.mat-mdc-table[_ngcontent-%COMP%]   .mat-column-id[_ngcontent-%COMP%]{margin-right:-8px}.mat-mdc-table[_ngcontent-%COMP%]   .mat-column-single-selection[_ngcontent-%COMP%]{padding-left:6px}.mat-mdc-table[_ngcontent-%COMP%]   .mat-column-votes[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:5px}.component-search-menu-item[_ngcontent-%COMP%]{padding:0 5px}.component-picker-action-buttons[_ngcontent-%COMP%]{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;padding:5px}.dropdown-icon[_ngcontent-%COMP%]{cursor:pointer}\n/*# sourceMappingURL=assistive_issue_picker_dialog.css.map */"],
changeDetection:0});var ZQc=function(){this.enrichmentCategoryFridge=x(QC);this.enrichmentCategoryNames=[]},E_a=function(a,b){return b==="Buganizer"?li({enableHovercard:!1,displayName:b,description:""}):a.enrichmentCategoryFridge.watch(b).pipe(C(function(c){var d,e;return{enableHovercard:!0,displayName:(d=c==null?void 0:c.displayName)!=null?d:b,description:(e=c==null?void 0:c.description)!=null?e:""}}),rj({enableHovercard:!0,displayName:b,description:""}))};ZQc.\u0275fac=function(a){return new (a||ZQc)};
ZQc.\u0275cmp=F({type:ZQc,selectors:[["b-enrichment-categories-cell"]],inputs:{enrichmentCategoryNames:"enrichmentCategoryNames"},standalone:!1,decls:2,vars:0,consts:[["categoryInfoCard","onedevHovercard"],["role","button",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"]],template:function(a,b){a&1&&Mj(0,F_a,2,3,null,null,Lj);a&2&&Nj(b.enrichmentCategoryNames)},dependencies:[xH,DH,py],encapsulation:2,changeDetection:0});var $P=function(){this.expandable=this.issue=null;this.expanded=!1;this.level=0;this.isEditMode=!1;this.onSaveOutput=new iE;this.onCancelOutput=new iE;this.expansionChange=new iE;this.title=""};$P.prototype.ngOnChanges=function(){var a,b;this.title=((a=this.issue)==null?void 0:(b=a.snapshot[0])==null?void 0:b.title)||""};$P.\u0275fac=function(a){return new (a||$P)};
$P.\u0275cmp=F({type:$P,selectors:[["b-expandable-issue-title-cell"]],viewQuery:function(a,b){a&1&&ek(MP,7);if(a&2){var c;ik(c=jk())&&(b.issueTitleCell=c.first)}},inputs:{issue:"issue",expandable:"expandable",expanded:"expanded",level:"level",isEditMode:"isEditMode"},outputs:{onSaveOutput:"onSaveOutput",onCancelOutput:"onCancelOutput",expansionChange:"expansionChange"},standalone:!1,features:[$w],decls:4,vars:5,consts:[[1,"flex-kids-x","align-items-center"],["type","button","mat-icon-button","",1,
"medium","expander",3,"collapsed"],[1,"leaf"],[1,"grow-1",3,"onSave","onCancel","issue","isEditMode"],["type","button","mat-icon-button","",1,"medium","expander",3,"click"],["name","arrow-dropdown","size","small"]],template:function(a,b){a&1&&(L(0,"div",0),I(1,G_a,2,3,"button",1)(2,H_a,1,0,"div",2),L(3,"b-issue-title-cell",3),Q("onSave",function(){return b.onSaveOutput.emit()})("onCancel",function(){return b.onCancelOutput.emit()}),M()());a&2&&(qk("margin-left",b.level*24,"px"),E(),J(b.expandable?
1:2),E(2),K("issue",b.issue)("isEditMode",b.isEditMode))},dependencies:[dA,bA,jK,MP],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 aQ=function(){this.tooltip=this.displayText=this.chipColor=""};aQ.\u0275fac=function(a){return new (a||aQ)};
aQ.\u0275cmp=F({type:aQ,selectors:[["b-signal-chip"]],inputs:{chipColor:"chipColor",icon:"icon",displayText:"displayText",tooltip:"tooltip"},decls:3,vars:6,consts:[["role","button","tabindex","0",3,"matTooltip"],[1,"vertical-centered","icon-s",3,"svgIcon"]],template:function(a,b){a&1&&(L(0,"div",0),I(1,I_a,1,1,"mat-icon",1),U(2),M());a&2&&(sk("signal-chip type-button "+b.chipColor),K("matTooltip",b.tooltip),Hj("aria-label",b.tooltip),E(),J(b.icon?1:-1),E(),V(" ",b.displayText,"\n"))},dependencies:[YF,
WF,EA],styles:[".signal-chip[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:2px 12px;border-radius:32px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;text-align:center;white-space:nowrap}.signal-chip.blue[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg);border:1px solid;border-color:#185abc;border-color:var(--blue-text);color:#185abc;color:var(--blue-text)}.signal-chip.green[_ngcontent-%COMP%]{background-color:#edfbf1;background-color:var(--green-bg);border:1px solid;border-color:#137333;border-color:var(--green-text);color:#137333;color:var(--green-text)}.signal-chip.orange[_ngcontent-%COMP%]{background-color:#fff3e9;background-color:var(--orange-bg);border:1px solid;border-color:#bd4800;border-color:var(--orange-text);color:#bd4800;color:var(--orange-text)}.signal-chip.pink[_ngcontent-%COMP%]{background-color:#fff2f9;background-color:var(--pink-bg);border:1px solid;border-color:#d01884;border-color:var(--pink-text);color:#d01884;color:var(--pink-text)}.signal-chip.purple[_ngcontent-%COMP%]{background-color:#f9f3ff;background-color:var(--purple-bg);border:1px solid;border-color:#9334e6;border-color:var(--purple-text);color:#9334e6;color:var(--purple-text)}.signal-chip.red[_ngcontent-%COMP%]{background-color:#fff2f1;background-color:var(--red-bg);border:1px solid;border-color:#d42521;border-color:var(--red-text);color:#d42521;color:var(--red-text)}"],
changeDetection:0});var bQ=function(){this.issueService=x(GD);this.issueExperimentalFieldsFridge=x(ID);this.isDataLoaded=!1;this.alerts=[]};bQ.prototype.ngOnInit=function(){};var K_a=function(a){return a.alerts.filter(function(b){return sLa(a.issue,b)})};
bQ.prototype.dismissAlert=function(){var a=this,b;return v(function(c){if(c.nextAddress==1)return a.issue.issueId?w(c,pi(a.issueExperimentalFieldsFridge.watch(a.issue.issueId)),2):c.return();b=c.yieldResult;if(!b)return c.return();b.triage.dismissed={seconds:Date.now()/1E3,nanos:0};return w(c,rvc(a.issueService,b),0)})};bQ.\u0275fac=function(a){return new (a||bQ)};
bQ.\u0275cmp=F({type:bQ,selectors:[["b-issue-alerts-cell"]],inputs:{issue:"issue",alerts:"alerts"},standalone:!1,decls:6,vars:3,consts:[["tooltipTemplate",""],[1,"chip-container","flex-kids-x","gap-xs","align-items-center"],[1,"truncated-alerts-chip",3,"xapInlineDialog"],[3,"chipColor","displayText","tooltip"],["type","button","mat-icon-button","","ariaLabel","Dismiss","matTooltip","Dismiss this alert",1,"xs",3,"click","mousedown"],["svgIcon","issue-status-wont-fix","color","primary",1,"dismiss-icon"],
[1,"tooltip-chip-container","flex-kids-x"],["svgIcon","issue-status-wont-fix","color","primary",1,"tooltip-dismiss-icon"]],template:function(a,b){a&1&&(L(0,"div",1),Wj(1),I(2,J_a,3,3),I(3,L_a,2,2,"div",2),M(),G(4,N_a,4,0,"ng-template",null,0,Gk));a&2&&(E(),a=Xj(K_a(b)[0]),E(),J(a?2:-1),E(),J(K_a(b).slice(1).length?3:-1))},dependencies:[EA,dA,bA,YF,WF,aQ,fO,eO,kO],styles:["b-signal-chip[_ngcontent-%COMP%]:not(:last-of-type){margin-right:8px}.dismiss-icon[_ngcontent-%COMP%]{opacity:0;margin-bottom:1px}.dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%]{opacity:1;color:#1a73e8;color:var(--primary);background-color:unset}.truncated-alerts-chip[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:2px 12px;border-radius:32px;width:fit-content;text-align:center;white-space:nowrap}.tooltip-chip-container[_ngcontent-%COMP%]{margin-right:8px;margin-bottom:8px}.tooltip-chip-container[_ngcontent-%COMP%]   b-signal-chip[_ngcontent-%COMP%]{margin-right:8px}.tooltip-dismiss-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--primary)}"],
changeDetection:0});var cQ=function(){this.issue=null;this.isDataLoaded=!1};cQ.prototype.ngOnChanges=function(){var a;this.assignee=pRa(Jd((a=this.issue)==null?void 0:a.snapshot[0].assigneeUser)||void 0);this.isDataLoaded=this.issue!==null};cQ.\u0275fac=function(a){return new (a||cQ)};
cQ.\u0275cmp=F({type:cQ,selectors:[["b-issue-assignee-cell"]],inputs:{issue:"issue"},standalone:!1,features:[$w],decls:2,vars:2,consts:[[3,"isReady"],[3,"email"]],template:function(a,b){a&1&&(L(0,"b-async-data-placeholder",0),I(1,O_a,2,2,"b-person-hovercard",1),M());a&2&&(K("isReady",b.isDataLoaded),E(),J(b.assignee?1:-1))},dependencies:[eP,GJ],encapsulation:2,changeDetection:0});var dQ=function(){this.issue=null;this.componentId=this.teamId="";this.isDataLoaded=!1};dQ.prototype.ngOnChanges=function(){var a,b,c;this.teamId=((a=this.issue)==null?void 0:(b=a.aggregatedData)==null?void 0:(c=b.teamId)==null?void 0:c.toString())||"";var d,e;this.componentId=String((d=this.issue)==null?void 0:(e=d.snapshot[0])==null?void 0:e.componentId)||"";this.isDataLoaded=this.issue!==null};dQ.\u0275fac=function(a){return new (a||dQ)};
dQ.\u0275cmp=F({type:dQ,selectors:[["b-issue-team-cell"]],inputs:{issue:"issue"},standalone:!1,features:[$w],decls:2,vars:2,consts:[[3,"isReady"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"]],template:function(a,b){a&1&&(L(0,"b-async-data-placeholder",0),I(1,P_a,1,3,"b-team-display",1),M());a&2&&(K("isReady",b.isDataLoaded),E(),J(b.teamId?1:-1))},dependencies:[eP,aO],encapsulation:2,changeDetection:0});var eQ=function(){this.activeSession=x(Ks);this.issueExperimentalFieldsFridge=x(ID);this.analytics=x(nE)};eQ.prototype.ngOnInit=function(){};eQ.prototype.claim=function(){var a=this;this.issueExperimentalFieldsFridge.updateOrInsert(this.issue.issueId,function(b){b.triage.triagerEmail=a.activeSession.getUserEmail()});this.analytics.trackEvent("triageIssue","claim")};eQ.\u0275fac=function(a){return new (a||eQ)};
eQ.\u0275cmp=F({type:eQ,selectors:[["b-issue-triager-cell"]],inputs:{issue:"issue"},standalone:!1,decls:2,vars:1,consts:[["size","medium",1,"align-with-btn",3,"email"],["type","button","mat-button","",1,"gmat-button","small","align-with-hr"],["type","button","mat-button","",1,"gmat-button","small","align-with-hr",3,"click","mousedown"]],template:function(a,b){a&1&&I(0,Q_a,1,1,"b-user-image",0)(1,R_a,2,0,"button",1);if(a&2){var c;J((c=b.issue.experimentalFields==null?null:b.issue.experimentalFields.triage==
null?null:b.issue.experimentalFields.triage.triagerEmail)?0:1,c)}},dependencies:[dA,aA,SM],styles:[".align-with-hr[_ngcontent-%COMP%] {\n      margin-left: -8px;\n    }\n    .align-with-btn[_ngcontent-%COMP%] {\n      padding-left: 8px;\n    }"],changeDetection:0});var fQ=function(){this.type=this.issue=null;this.isDataLoaded=!1};fQ.prototype.ngOnChanges=function(){var a,b;this.type=((a=this.issue)==null?void 0:(b=a.snapshot[0])==null?void 0:b.type)||null;this.isDataLoaded=this.issue!==null};fQ.\u0275fac=function(a){return new (a||fQ)};
fQ.\u0275cmp=F({type:fQ,selectors:[["b-issue-type-cell"]],inputs:{issue:"issue"},standalone:!1,features:[$w],decls:2,vars:2,consts:[[1,"nowrap",3,"isReady"]],template:function(a,b){a&1&&(L(0,"b-async-data-placeholder",0),I(1,S_a,3,3,"ng-container"),M());a&2&&(K("isReady",b.isDataLoaded),E(),J(b.type?1:-1))},dependencies:[eP,UM],encapsulation:2,changeDetection:0});var gQ=function(){};gQ.prototype.transform=function(a){return $ta(a)};gQ.\u0275fac=function(a){return new (a||gQ)};gQ.\u0275pipe=aj({name:"toCustomFieldTypeDisplayValue",type:gQ,pure:!0,standalone:!1});var hQ=function(){};hQ.prototype.transform=function(a,b){var c;a=(c=a.split("@"))==null?void 0:c[0];b&&a.length>b&&(b=(b-3)/2,a=a.substring(0,b)+"..."+a.substring(a.length-b));return a+"@"};hQ.\u0275fac=function(a){return new (a||hQ)};hQ.\u0275pipe=aj({name:"shortenEmail",type:hQ,pure:!0,standalone:!1});var iQ=function(){};iQ.prototype.transform=function(a){if(!a||!a.length)return"";var b=(new Set(a.filter(function(c){return!!c.user}).map(function(c){return kg(c)}))).size;b=b>0?"Users: "+b:"";a=a.filter(function(c){return!!c.placeholder}).map(function(c){var d=c.placeholder.role;return c.placeholder.count+" "+(d&&d!=="JOB_ROLE_UNSPECIFIED"?Ro[d]:"Other")});a=a.length>0?"Placeholders: "+a.join(", "):"";return b+(b&&a?", ":"")+a};iQ.\u0275fac=function(a){return new (a||iQ)};
iQ.\u0275pipe=aj({name:"staffingSummary",type:iQ,pure:!0,standalone:!1});var jQ=function(){};jQ.\u0275fac=function(a){return new (a||jQ)};jQ.\u0275mod=Zi({type:jQ});jQ.\u0275inj=Eg({imports:[jC]});var kQ=function(){};kQ.\u0275fac=function(a){return new (a||kQ)};kQ.\u0275mod=Zi({type:kQ});kQ.\u0275inj=Eg({imports:[xy,Jz]});var lQ=function(){};lQ.\u0275fac=function(a){return new (a||lQ)};lQ.\u0275mod=Zi({type:lQ});lQ.\u0275inj=Eg({imports:[jC,jQ,kQ]});var mQ=function(){this.el=x(Ph);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)};mQ.prototype.onInput=function(){this.resize(this.el.nativeElement.value)};
mQ.prototype.ngOnDestroy=function(){document.body.removeChild(this.shadowInput)};mQ.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"};mQ.\u0275fac=function(a){return new (a||mQ)};
mQ.\u0275dir=$i({type:mQ,selectors:[["","b-adaptive-width-input",""]],hostBindings:function(a,b){a&1&&Q("input",function(){return b.onInput()})},inputs:{minWidth:"minWidth",maxWidth:"maxWidth"},standalone:!1});var nQ=function(){};nQ.\u0275fac=function(a){return new (a||nQ)};nQ.\u0275mod=Zi({type:nQ});nQ.\u0275inj=Eg({});var oQ=function(){this.activeSession=x(Ks);this.sessionIsExternal=this.activeSession.isExternalSession()};oQ.prototype.shouldShowLinks=function(){return!this.sessionIsExternal&&!!Rf(this.email)};oQ.prototype.getName=function(){return this.email===void 0?"":this.email.split("@")[0]};oQ.\u0275fac=function(a){return new (a||oQ)};
oQ.\u0275cmp=F({type:oQ,selectors:[["b-group-email-card"]],inputs:{email:"email"},standalone:!1,ngContentSelectors:["*"],decls:4,vars:1,consts:[["content",""],["card",""],["role","button","tabindex","0",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["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"],[1,"bv2-group-email-card-links-container"],["target","_blank",1,"bv2-group-email-card-link",3,"href"]],template:function(a,b){a&1&&(Zj(),I(0,X_a,16,5)(1,Z_a,1,1,"ng-container"),G(2,$_a,1,0,"ng-template",null,0,Gk));a&2&&J(Rf(b.email)?0:1)},dependencies:[oy,EA,xH,DH],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-card-title-max-height: 48px}.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:var(--onedev-card-title-max-height);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;overflow-wrap:anywhere}.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}/*# sourceMappingURL=group_email_card.css.map */"]});
var pQ=function(){};pQ.\u0275fac=function(a){return new (a||pQ)};pQ.\u0275mod=Zi({type:pQ});pQ.\u0275inj=Eg({imports:[jC,uL]});var $Qc=function(){this.dialogTabIndex=0;this.displayText="";this.overlaySizeConfig={maxHeight:"unset",maxWidth:600}};$Qc.\u0275fac=function(a){return new (a||$Qc)};
$Qc.\u0275cmp=F({type:$Qc,selectors:[["b-text-with-tooltip"]],inputs:{dialogTabIndex:"dialogTabIndex",displayText:"displayText"},standalone:!1,ngContentSelectors:["*"],decls:4,vars:5,consts:[["tooltipTemplate",""],[3,"dialogLabel","dialogTabIndex","overlaySize","xapInlineDialog"]],template:function(a,b){a&1&&(Zj(),L(0,"xap-text-trigger",1),U(1),M(),G(2,a0a,3,0,"ng-template",null,0,Gk));a&2&&(a=T(3),K("dialogLabel",b.displayText)("dialogTabIndex",0)("overlaySize",b.overlaySizeConfig)("xapInlineDialog",
a),E(),V(" ",b.displayText,"\n"))},dependencies:[fO,eO,kO,lO],styles:["/*# sourceMappingURL=text_with_tooltip.css.map */"],changeDetection:0});var qQ=function(){};qQ.\u0275fac=function(a){return new (a||qQ)};qQ.\u0275mod=Zi({type:qQ});qQ.\u0275inj=Eg({imports:[fO,lO]});var rQ=function(){Z.apply(this,arguments);this.activeSession=x(Ks);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 iE;this.chipClear=new iE;this.chipRemove=new iE};Y(rQ,Z);rQ.\u0275dir=Z.\u0275dir;g=rQ.prototype;g.isPublicChip=function(){return this.principalType==="ALIAS"&&["public_non_google","public"].includes(this.value)};
g.isNonGaiaChip=function(){return this.principalType==="NON_GAIA"};g.isContainerChip=function(){return this.nestedChips!==null};g.isUserChip=function(){return this.principalType==="USER"};g.isGroupChip=function(){return this.principalType==="GROUP"};g.isDomainChip=function(){return this.principalType==="ALIAS"&&["googlers_unrestricted","google_domain"].includes(this.value)};g.isExternalChip=function(){return this.detailedUserType==="EXTERNAL"||this.detailedUserType==="PUBLIC"||this.isPublicChip()};
g.isExternalPartnerAccessViolated=function(){return this.accessLevel==="EXTERNAL_PARTNER"&&this.isPublicChip()};g.isInternalAccessViolated=function(){return this.accessLevel==="INTERNAL"&&(this.isExternalChip()||this.isPublicChip())};
g.getTooltip=function(){if(this.principalType!=="ALIAS")return this.displayText;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 users, excluding the google.com domain.";case "public":return"All users";default:throw Error("Td`"+this.value);}};
var aRc=function(a){if(a.isGroupChip())return"group";if(a.isDomainChip())return"acl-alias-domain";if(a.isPublicChip())return"public"};rQ.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(rQ)))(b||rQ)}}();
rQ.\u0275cmp=F({type:rQ,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"},standalone:!1,features:[xj],decls:8,vars:17,consts:[[1,"bv2-user-chip-item",3,"focus","blur"],[1,"alias-icon"],
[3,"svgIcon"],[1,"user-chip-name"],[3,"email"],[3,"dialogTabIndex","displayText"],["role","button","tabindex","0",1,"user-chip-x","keep-focus-ring",3,"matTooltip"],[1,"bv2-user-chip-nested-content-container","flex-kids-x","flex-wrap"],[1,"bv2-user-chip"],[3,"value","detailedUserType","principalType","accessLevel","displayText"],["role","button","tabindex","0",1,"user-chip-x","keep-focus-ring",3,"click","keydown.enter","matTooltip"],["svgIcon","close"]],template:function(a,b){a&1&&(L(0,"span",0),Q("focus",
function(){return b.chipSelection.emit()})("blur",function(){return b.chipClear.emit()}),L(1,"span",1),I(2,b0a,1,1,"mat-icon",2),M(),L(3,"div",3),I(4,c0a,2,2,"b-person-hovercard",4),I(5,d0a,2,2,"b-group-email-card",4),I(6,h0a,3,3,"b-text-with-tooltip",5),M(),I(7,i0a,2,3,"div",6),M());if(a&2){var c;rk("bv2-user-chip-external",b.isExternalChip())("bv2-user-chip-non-gaia",b.isNonGaiaChip())("bv2-user-chip-not-accessible",b.isInternalAccessViolated()||b.isExternalPartnerAccessViolated())("bv2-user-chip-container",
b.isContainerChip())("selected",b.isSelected)("readonly",b.isReadonly);E(2);J((c=aRc(b))?2:-1,c);E(2);J(b.isUserChip()?4:-1);E();J(b.isGroupChip()?5:-1);E();J(b.isUserChip()||b.isGroupChip()?-1:6);E();J(b.isReadonly||b.isWidgetDisabled?-1:7)}},dependencies:[EA,YF,WF,GJ,oQ,$Qc,rQ],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.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}.bv2-user-chip-nested-content-container[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]{padding:4px}/*# sourceMappingURL=contact_chip.css.map */"]});var sQ=function(a,b,c,d,e,f,h){this.clientConfig=a;this.document=b;this.peopleKitService=c;this.inputEl=d;this.zone=e;this.renderer=f;this.destroyRef=h;this.selectionChange=new Lp;this.sessionOptions=(new xt).setFilter(bRc);this.inputSearchDelay=200;this.inputChanged$=new nj(1)};g=sQ.prototype;g.ngOnDestroy=function(){this.autocomplete.dispose()};
g.ngOnInit=function(){var a=this,b=this.clientConfig.autocompleteFactory.createConfig(this.peopleKitService.environmentConfig);vYa(b,this.config);this.zone.runOutsideAngular(function(){var c;a.autocomplete=(c=a.clientConfig.autocompleteFactory)==null?void 0:c.create(a.getAnchor(),a.inputEl.nativeElement,a.peopleKitService.peopleStore,b,a.sessionOptions)});this.autocomplete.subscribeToSelectionChanged(function(c){a.zone.run(function(){a.selectionChange.emit(c)});a.autocomplete.report(4)});this.inputChanged$.pipe(fj(this.inputSearchDelay),
vp(this.destroyRef)).subscribe(function(){a.search()})};g.getAnchor=function(){if(!this.peopleKitService.autocompleteAnchor){var a=this.renderer.createElement("div");this.peopleKitService.autocompleteAnchor=a;this.renderer.addClass(a,"peoplekit-autocomplete-anchor");var b;((b=oLa(this.inputEl.nativeElement))!=null?b:this.document.body).append(a)}return this.peopleKitService.autocompleteAnchor};
g.search=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.search(a.inputEl.nativeElement.value,a.inputEl.nativeElement)})};g.cancel=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.cancel()})};sQ.\u0275fac=function(a){return new (a||sQ)(Ui(uP),Ui(Mm),Ui(yP),Ui(Ph),Ui(Kk),Ui($m),Ui(Cj))};
sQ.\u0275dir=$i({type:sQ,selectors:[["input","peoplekitAutocomplete",""]],hostBindings:function(a,b){a&1&&Q("input",function(){return b.inputChanged$.next()})("focus",function(){return b.search()})("blur",function(){return b.cancel()})},inputs:{config:[0,"peoplekitAutocompleteConfig","config"],sessionOptions:[0,"peoplekitSearchSessionOptions","sessionOptions"],inputSearchDelay:[0,"peoplekitAutocompleteInputSearchDelay","inputSearchDelay"]},outputs:{selectionChange:"peoplekitAutocompleteSelectionChange"},
exportAs:["peoplekitAutocomplete"]});var bRc=oYa(1);var tQ=function(){this.selectionChange=new Lp;this.sessionOptions=(new xt).setFilter(cRc);this.clientConfig=x(uP);this.document=x(Mm);this.peopleKitService=x(yP);this.elementRef=x(Ph);this.zone=x(Kk);this.renderer=x($m);this.destroyRef=x(Cj);this.queryChanged$=new nj(1)};
tQ.prototype.ngOnInit=function(){var a=this,b=this.clientConfig.autocompleteFactory.createConfig(this.peopleKitService.environmentConfig);vYa(b,this.config);this.autocomplete=this.zone.runOutsideAngular(function(){var c,d=(c=a.clientConfig.autocompleteFactory)==null?void 0:c.create(a.getAnchor(),a.elementRef.nativeElement,a.peopleKitService.peopleStore,b,a.sessionOptions);d.subscribeToSelectionChanged(function(e){a.zone.run(function(){a.selectionChange.emit(e)});a.autocomplete.report(4)});return d});
this.destroyRef.onDestroy(function(){a.zone.runOutsideAngular(function(){a.autocomplete.dispose()})});this.queryChanged$.pipe(vp(this.destroyRef)).subscribe(function(c){c!==void 0&&a.search(c)})};
tQ.prototype.getAnchor=function(){if(this.peopleKitService.autocompleteAnchor)return this.peopleKitService.autocompleteAnchor;var a=this.renderer.createElement("div");this.peopleKitService.autocompleteAnchor=a;this.renderer.addClass(a,"peoplekit-autocomplete-anchor");var b;((b=oLa(this.elementRef.nativeElement))!=null?b:this.document.body).append(a);return a};tQ.prototype.search=function(a){var b=this;this.zone.runOutsideAngular(function(){b.autocomplete.search(a,b.elementRef.nativeElement)})};
tQ.prototype.cancel=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.cancel()})};pg.Object.defineProperties(tQ.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){this.queryChanged$.next(a)}}});tQ.\u0275fac=function(a){return new (a||tQ)};
tQ.\u0275dir=$i({type:tQ,selectors:[["","peoplekitManualAutocomplete",""]],inputs:{config:[0,"peoplekitAutocompleteConfig","config"],sessionOptions:[0,"peoplekitSearchSessionOptions","sessionOptions"],query:"query"},outputs:{selectionChange:"peoplekitAutocompleteSelectionChange"},exportAs:["peoplekitManualAutocomplete"]});var cRc=oYa(1);var uQ=function(){};uQ.\u0275fac=function(a){return new (a||uQ)};uQ.\u0275mod=Zi({type:uQ});uQ.\u0275inj=Eg({});var vQ=function(){};vQ.\u0275fac=function(a){return new (a||vQ)};vQ.\u0275mod=Zi({type:vQ});vQ.\u0275inj=Eg({imports:[jC,FG,JL,vL,pQ,$M,nQ,uQ,qQ]});isa(zP,[Bp,hG,oG,mQ,sQ,rQ],[]);var wQ=function(){};wQ.\u0275fac=function(a){return new (a||wQ)};wQ.\u0275mod=Zi({type:wQ});wQ.\u0275inj=Eg({imports:[jC,jQ,vQ,uL,JL]});var xQ=function(){};xQ.\u0275fac=function(a){return new (a||xQ)};xQ.\u0275mod=Zi({type:xQ});xQ.\u0275inj=Eg({imports:[jC,FI,JL]});var yQ=function(){};yQ.\u0275fac=function(a){return new (a||yQ)};yQ.\u0275mod=Zi({type:yQ});yQ.\u0275inj=Eg({providers:[{provide:kBc,useValue:GP}],imports:[jC,lQ,FI,JL,cN,yN,rM,xQ,wQ]});var zQ=function(){};zQ.\u0275fac=function(a){return new (a||zQ)};zQ.\u0275mod=Zi({type:zQ});zQ.\u0275inj=Eg({imports:[jC]});var dRc={provide:Fzc,deps:[Gz],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},eRc=zm({passive:!0}),AQ=function(a,b,c,d,e,f,h,k,q,u,A,D){var H=this;this._overlay=a;this._elementRef=b;this._scrollDispatcher=c;this._viewContainerRef=d;this._ngZone=e;this._platform=f;this._ariaDescriber=h;this._focusMonitor=k;this._dir=u;this._defaultOptions=A;this._position="below";this._pointerExitEventsInitialized=this._viewInitialized=this._disabled=this._positionAtOrigin=
!1;this._viewportMargin=8;this._cssClassPrefix="mat";this.touchGestures="auto";this._message="";this._passiveListeners=[];this._destroyed=new oj;this._scrollStrategy=q;this._document=D;A&&(this._showDelay=A.showDelay,this._hideDelay=A.hideDelay,A.position&&(this.position=A.position),A.positionAtOrigin&&(this.positionAtOrigin=A.positionAtOrigin),A.touchGestures&&(this.touchGestures=A.touchGestures));u.change.pipe(tj(this._destroyed)).subscribe(function(){H._overlayRef&&H._updatePosition(H._overlayRef)})};
g=AQ.prototype;g.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(tj(this._destroyed)).subscribe(function(b){b?b==="keyboard"&&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=l(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,eRc)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();Yy(this._ariaDescriber,a,this.message,"tooltip");this._focusMonitor.stopMonitoring(a)};
g.show=function(a,b){var c=this;a=a===void 0?this.showDelay:a;if(this.disabled||!this.message||this._isTooltipVisible()){var d;(d=this._tooltipInstance)==null||d._cancelPendingAnimations()}else b=this._createOverlay(b),this._detach(),this._portal=this._portal||new Az(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b.afterHidden().pipe(tj(this._destroyed)).subscribe(function(){return c._detach()}),
this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),b.show(a)};g.hide=function(a){a=a===void 0?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 Ph)return this._overlayRef;this._detach()}c=Boc(this._scrollDispatcher,this._elementRef);a=Ooc(tz(uz(Soc(yz(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(tj(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(tj(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(tj(this._destroyed)).subscribe(function(){var e;
return(e=b._tooltipInstance)==null?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(tj(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&e.keyCode===27&&!ym(e)&&(e.preventDefault(),e.stopPropagation(),b._ngZone.run(function(){return b.hide(0)}))});var d;((d=this._defaultOptions)==null?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();sz(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||this._dir.value=="ltr",b=this.position;if(b=="above"||b=="below")var c={originX:"center",originY:b=="above"?"top":"bottom"};else if(b=="before"||b=="left"&&a||b=="right"&&!a)c={originX:"start",originY:"center"};else if(b=="after"||b=="right"&&a||b=="left"&&!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||this._dir.value=="ltr",b=this.position;if(b=="above")var c={overlayX:"center",overlayY:"bottom"};else if(b=="below")c={overlayX:"center",overlayY:"top"};else if(b=="before"||b=="left"&&a||b=="right"&&!a)c={overlayX:"end",overlayY:"center"};else if(b=="after"||b=="right"&&a||b=="left"&&!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(hj(1),tj(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){this.position==="above"||this.position==="below"?b==="top"?b="bottom":b==="bottom"&&(b="top"):a==="end"?a="start":a==="start"&&(a="end");return{x:a,y:b}};
g._updateCurrentPositionClass=function(a){var b=a.overlayY,c=a.originX;a=a.originY;b=b==="center"?this._dir&&this._dir.value==="rtl"?c==="end"?"left":"right":c==="start"?"left":"right":b==="bottom"&&a==="top"?"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;b.x!==void 0&&b.y!==void 0&&(c=b);a.show(void 0,c)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(b){var c,d=(b=(c=b.targetTouches)==null?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&&((e=a._overlayRef)==null?0:e.overlayElement.contains(d))||a.hide()}],["wheel",function(d){return a._wheelListener(d)}]);else if(this.touchGestures!=="off"){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=l(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,eRc)})};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(a!=="off"){var b=this._elementRef.nativeElement,c=b.style;if(a==="on"||b.nodeName!=="INPUT"&&b.nodeName!=="TEXTAREA")c.userSelect=c.msUserSelect=c.webkitUserSelect=c.MozUserSelect="none";a!=="on"&&b.draggable||(c.webkitUserDrag="none");c.touchAction="none";c.webkitTapHighlightColor="transparent"}};
pg.Object.defineProperties(AQ.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;(b=this._tooltipInstance)==null||b.show(0);this._overlayRef.updatePosition()}}},positionAtOrigin:{configurable:!0,enumerable:!0,get:function(){return this._positionAtOrigin},set:function(a){this._positionAtOrigin=um(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=um(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=xm(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=xm(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;Yy(this._ariaDescriber,this._elementRef.nativeElement,this._message,"tooltip");this._message=a!=null?String(a).trim():"";!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){ooc(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)}}});AQ.\u0275fac=function(){Joa()};
AQ.\u0275dir=$i({type:AQ,inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},standalone:!1});
var BQ=function(a,b){this._changeDetectorRef=a;this._isVisible=this._closeOnInteraction=!1;this._onHide=new oj;this._animationsDisabled=b==="NoopAnimations"};g=BQ.prototype;g.show=function(a){var b=this;this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=setTimeout(function(){b._toggleVisibility(!0);b._showTimeoutId=void 0},a)};
g.hide=function(a){var b=this;this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId);this._hideTimeoutId=setTimeout(function(){b._toggleVisibility(!1);b._hideTimeoutId=void 0},a)};g.afterHidden=function(){return this._onHide};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(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId);this._hideTimeoutId!=null&&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&&typeof getComputedStyle==="function"&&(c=getComputedStyle(b),c.getPropertyValue("animation-duration")==="0s"||c.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0);a&&this._onShow();this._animationsDisabled&&(b.classList.add("_mat-animation-noopable"),this._finalizeAnimation(a))};
BQ.\u0275fac=function(a){return new (a||BQ)(Ui(sx),Ui(en,8))};BQ.\u0275dir=$i({type:BQ,standalone:!1});var fRc=["tooltip"],DQ=function(a,b,c,d,e,f,h,k,q,u,A,D){AQ.call(this,a,b,c,d,e,f,h,k,q,u,A,D);this._tooltipComponent=CQ};Y(DQ,AQ);DQ.\u0275fac=function(a){return new (a||DQ)(Ui(Gz),Ui(Ph),Ui(Nm),Ui(ck),Ui(Kk),Ui(Qm),Ui(Xy),Ui(Ey),Ui(Fzc),Ui(Xm,8),Ui(Gzc,8),Ui(Mm))};DQ.\u0275dir=$i({type:DQ,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&rk("mat-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],standalone:!1,features:[xj]});
var CQ=function(a,b,c){BQ.call(this,a,c);this._showAnimation="mat-tooltip-show";this._hideAnimation="mat-tooltip-hide";this._isHandset=b.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")};Y(CQ,BQ);CQ.\u0275dir=BQ.\u0275dir;CQ.\u0275fac=function(a){return new (a||CQ)(Ui(sx),Ui(Py),Ui(en,8))};
CQ.\u0275cmp=F({type:CQ,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&ek(fRc,7);if(a&2){var c;ik(c=jk())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&1&&Q("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&(Hj("mat-id-collision",null),qk("zoom",b.isVisible()?1:null))},standalone:!1,features:[xj],decls:4,vars:6,consts:[["tooltip",""],[1,"mat-tooltip",3,"animationend","ngClass"]],template:function(a,b){if(a&1){var c=
y();L(0,"div",1,0);W(2,"async");Q("animationend",function(e){z(c);return B(b._handleAnimationEnd(e))});U(3);M()}if(a&2){var d;rk("mat-tooltip-handset",(d=X(2,4,b._isHandset))==null?null:d.matches);K("ngClass",b.tooltipClass);E(3);tk(b.message)}},dependencies:[ly,py],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)}@media (forced-colors: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 EQ=function(){};EQ.\u0275fac=function(a){return new (a||EQ)};EQ.\u0275mod=Zi({type:EQ});EQ.\u0275inj=Eg({providers:[dRc],imports:[Wy,xy,Jz,kz,pz]});var FQ=function(){};FQ.\u0275fac=function(a){return new (a||FQ)};FQ.\u0275mod=Zi({type:FQ});FQ.\u0275inj=Eg({imports:[xy,Jz,Fz,tL,EQ,Wy,wH]});var GQ=function(){};GQ.\u0275fac=function(a){return new (a||GQ)};GQ.\u0275mod=Zi({type:GQ});GQ.\u0275inj=Eg({imports:[Wy,jC,EL,FI,JL,FQ]});var HQ=function(){var a=this;this.componentFridge=x(AB);this.trackerHelpers=x(sI);this.issue$=new nj(1);this.isLoaded$=this.issue$.pipe(C(function(b){return b!==null}));this.componentId$=this.issue$.pipe(C(function(b){return(b==null?void 0:b.snapshot[0].componentId)||void 0}));this.component$=this.componentId$.pipe(sj(function(b){return b?a.componentFridge.watch(b):li(void 0)}));this.componentName$=si([this.componentId$,this.component$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;
return c?(b=us(a.trackerHelpers,c.componentPathInfo))&&b.componentPathName?b.componentPathName[b.componentPathName.length-1].toString():"":b||""}))};pg.Object.defineProperties(HQ.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){this.issue$.next(a)}}});HQ.\u0275fac=function(a){return new (a||HQ)};
HQ.\u0275cmp=F({type:HQ,selectors:[["b-issue-component-name-cell"]],inputs:{issue:"issue"},standalone:!1,decls:4,vars:6,consts:[[3,"isReady"],[1,"nowrap","overflow-ellipsis",3,"matTooltip"]],template:function(a,b){a&1&&(L(0,"b-async-data-placeholder",0),W(1,"async"),I(2,j0a,2,2,"span",1),W(3,"async"),M());if(a&2){var c;K("isReady",X(1,2,b.isLoaded$));E(2);J((c=X(3,4,b.componentName$))?2:-1,c)}},dependencies:[eP,YF,WF,py],encapsulation:2,changeDetection:0});var IQ=function(){this.issue=null;this.isDataLoaded=!1};IQ.prototype.ngOnChanges=function(){var a;this.reporter=pRa(Jd((a=this.issue)==null?void 0:a.snapshot[0].reporterUser)||void 0);this.isDataLoaded=this.issue!==null};IQ.\u0275fac=function(a){return new (a||IQ)};
IQ.\u0275cmp=F({type:IQ,selectors:[["b-issue-reporter-cell"]],inputs:{issue:"issue"},standalone:!1,features:[$w],decls:2,vars:2,consts:[[3,"isReady"],[3,"email"]],template:function(a,b){a&1&&(L(0,"b-async-data-placeholder",0),I(1,k0a,2,2,"b-person-hovercard",1),M());a&2&&(K("isReady",b.isDataLoaded),E(),J(b.reporter?1:-1))},dependencies:[eP,GJ],encapsulation:2,changeDetection:0});var gRc=["theInput"],JQ=function(){this.placeholder=this.value="";this.readonly=!1;this.autoFocus=!0;this.valueChange=new iE;this.commit=new iE};JQ.prototype.ngAfterViewInit=function(){this.autoFocus&&this.input.nativeElement.focus()};JQ.\u0275fac=function(a){return new (a||JQ)};
JQ.\u0275cmp=F({type:JQ,selectors:[["b-text-input-cell"]],viewQuery:function(a,b){a&1&&ek(gRc,5);if(a&2){var c;ik(c=jk())&&(b.input=c.first)}},inputs:{value:"value",placeholder:"placeholder",readonly:"readonly",autoFocus:"autoFocus"},outputs:{valueChange:"valueChange",commit:"commit"},standalone:!1,decls:2,vars:7,consts:[["theInput",""],["type","text",3,"keydown.enter","ngModelChange","placeholder","disabled","ngModel"]],template:function(a,b){if(a&1){var c=y();L(0,"input",1,0);Q("keydown.enter",
function(d){z(c);b.readonly||b.commit.emit(d);return B()})("ngModelChange",function(d){z(c);return B(b.valueChange.emit(d))});M()}a&2&&(rk("readonly",b.readonly)("override",b.readonly),K("placeholder",b.placeholder)("disabled",b.readonly)("ngModel",b.value))},dependencies:[Bp,hG,oG],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 KQ=function(){};KQ.\u0275fac=function(a){return new (a||KQ)};KQ.\u0275mod=Zi({type:KQ});KQ.\u0275inj=Eg({imports:[jC,uL,FI]});var LQ=function(){};LQ.\u0275fac=function(a){return new (a||LQ)};LQ.\u0275mod=Zi({type:LQ});LQ.\u0275inj=Eg({imports:[jC]});var MQ=function(){};MQ.\u0275fac=function(a){return new (a||MQ)};MQ.\u0275mod=Zi({type:MQ});MQ.\u0275inj=Eg({imports:[LQ,$M,jC,EM,yN,pP,FG,FI,JL,uL,vM,yQ,GQ,zQ,vL,bO,KQ,aQ,cN,fO]});var NQ=function(){};NQ.\u0275fac=function(a){return new (a||NQ)};NQ.\u0275mod=Zi({type:NQ});NQ.\u0275inj=Eg({imports:[kz]});var OQ=function(){};OQ.\u0275fac=function(a){return new (a||OQ)};OQ.\u0275mod=Zi({type:OQ});OQ.\u0275inj=Eg({imports:[NQ]});var PQ=function(){};PQ.\u0275fac=function(a){return new (a||PQ)};PQ.\u0275mod=Zi({type:PQ});PQ.\u0275inj=Eg({imports:[jC,FG,FI,oN,JL,OQ,HI,Jz,Fz,KQ,Wy,$M,lQ]});var QQ=function(){};QQ.\u0275fac=function(a){return new (a||QQ)};QQ.\u0275mod=Zi({type:QQ});QQ.\u0275inj=Eg({providers:[Pz,{provide:DQc,useValue:{separatorKeyCodes:[13]}}],imports:[Wz,kz]});var RQ=function(){};RQ.\u0275fac=function(a){return new (a||RQ)};RQ.\u0275mod=Zi({type:RQ});RQ.\u0275inj=Eg({imports:[QQ]});var SQ=function(){};SQ.\u0275fac=function(a){return new (a||SQ)};SQ.\u0275mod=Zi({type:SQ});SQ.\u0275inj=Eg({imports:[yM]});var TQ=function(){};TQ.\u0275fac=function(a){return new (a||TQ)};TQ.\u0275mod=Zi({type:TQ});TQ.\u0275inj=Eg({imports:[jC,RQ,qM,MQ,FI,HI,IL,wM,ZL,SQ,JL,oL,PP,uM,PQ]});var UQ=function(){this.issuesApi=x(vD)};UQ.prototype.get=function(a){return this.issuesApi.getRelatedIssues({resourceType:a.resourceType===void 0?null:a.resourceType,resourceId:a.resourceId===void 0?null:a.resourceId,q:a.query,trackerId:a.trackerId===void 0?null:a.trackerId,s:a.sort===void 0?null:a.sort,count:a.count===void 0?null:a.count,p:a.page===void 0?null:a.page})};UQ.\u0275fac=function(a){return new (a||UQ)};UQ.\u0275prov=Dg({token:UQ,factory:UQ.\u0275fac,providedIn:"root"});var VQ=function(){Z.apply(this,arguments);var a=this;this.cdr=x(jE,{self:!0});this.paths=x(TO);this.issueFullFridge=x(pE);this.relatedIssues=x(UQ);this.errorHandler=x(PA);this.domSafe=x(SF);this.activeSession=x(Ks);this.STATUS_ICON=ejc;this.entrySelect=new iE;this.selectedIssues=[];this.asyncChoices=[];this.choices=[];this.currentQuery="";this.hasLoadedResults=!0;this.searchingForSelf=!1;this.queryInternal="";this.queryChange=new iE;this.getTextToPutInInputOnSelect=function(){return a.query}};
Y(VQ,Z);VQ.\u0275dir=Z.\u0275dir;VQ.prototype.ngOnInit=function(){var a=this;this.queryChange.pipe(fj(250),tj(this.destroyed$)).subscribe(function(b){a.doSearch(b)})};VQ.prototype.ngOnChanges=function(a){a.defaultChoices&&(this.choices=[].concat(p(this.defaultChoices),p(this.asyncChoices)))};VQ.prototype.selectIssue=function(a){hRc(this,[a])};
var jRc=function(a){var b=a.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});if(iRc(b))return b;b=a;a.startsWith("b/")?b=a.substring(2):a.startsWith("http://b/")&&(b=a.substring(9));return dPa(b)?[b]:[]},iRc=function(a){return!a.some(function(b){return!dPa(b)})};VQ.prototype.search=function(a){typeof a==="string"&&(this.query=a)};
VQ.prototype.doSearch=function(a){this.currentQuery=a;this.searchingForSelf=!1;if(a==="")kRc(this);else{var b=jRc(a);b.length===1||b.length>1&&this.allowMultipleIds?(this.lastSearchType="id",lRc(this,b,a)):(this.lastSearchType="query",mRc(this,a))}};
var kRc=function(a){a.choices=a.defaultChoices;a.asyncChoices=[];a.hasLoadedResults=!0;hRc(a,[])},hRc=function(a,b){a.selectedIssues=b;a.entrySelect.emit(a.selectedIssues);var c;(c=a.autocomplete)==null||nob(c)},lRc=function(a,b,c){var d;((d=a.currentResource)==null?void 0:d.type)==="issue"&&b.length===1&&b[0]===a.currentResource.id?(a.searchingForSelf=!0,kRc(a)):(a.choices=nRc(a,b),a.hasLoadedResults=!1,a.issueFullFridge.watchSet(b).pipe(hj(1),tj(a.destroyed$)).subscribe(function(e){if(a.currentQuery===
c){var f=e.reduce(function(h,k){var q=Aa(k.snapshot);return h.set(k.issueId,{resourceId:k.issueId,displayText:q.title,status:q.status,relations:[]})},new Map);Iaa(b);e=b.map(function(h){return f.get(h)});e.includes(void 0)?a.asyncChoices=[]:a.asyncChoices=e;a.choices=[].concat(p(a.choices),p(a.asyncChoices));hRc(a,a.asyncChoices);a.hasLoadedResults=!0;a.cdr.detectChanges()}},function(){a.asyncChoices=[];a.hasLoadedResults=!0;a.cdr.detectChanges()}))},mRc=function(a,b){a.choices=oRc(a,b);a.hasLoadedResults=
!1;if(ja(b))a.hasLoadedResults=!0;else{var c=pRc(b,a.defaultChoices),d,e,f;a.relatedIssues.get({query:c,trackerId:(d=a.activeSession.getTracker())==null?void 0:d.trackerId,resourceType:(e=a.currentResource)==null?void 0:e.type,resourceId:(f=a.currentResource)==null?void 0:f.id,nonParallelRequest:!0}).then(function(h){a.currentQuery===b&&(h=h.issueDigests.map(function(k){return{resourceId:k.issueId,displayText:k.title,status:k.status,relations:[]}}),a.choices=[].concat(p(a.choices),p(h)),a.cdr.detectChanges())},
function(h){a.errorHandler.errorHandler(null,h)}).finally(function(){a.hasLoadedResults=!0})}},nRc=function(a,b){return a.defaultChoices.filter(function(c){return c.resourceId.toString().startsWith(b[0])})},oRc=function(a,b){return ja(b)?a.defaultChoices:a.defaultChoices.filter(function(c){return c.displayText.toLowerCase().startsWith(b.toLowerCase())})};VQ.prototype.getIssueLink=function(a){return Jq(a.resourceId)};
var q0a=function(a){return a.relations.map(function(b){return qRc.get(b)}).filter(function(b){return!!b}).join("/")},pRc=function(a,b){if(b.length===0)return a;b=b.map(function(c){return c.resourceId}).join("|");return a+" -id:("+b+")"};VQ.prototype.onEnter=function(a){var b;((b=this.autocomplete)==null?0:b.panelOpen)&&a.stopPropagation()};pg.Object.defineProperties(VQ.prototype,{query:{configurable:!0,enumerable:!0,get:function(){return this.queryInternal},set:function(a){this.queryInternal=a;this.queryChange.emit(a)}}});
VQ.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(VQ)))(b||VQ)}}();
VQ.\u0275cmp=F({type:VQ,selectors:[["b-simple-issue-picker"]],viewQuery:function(a,b){a&1&&ek(TN,5);if(a&2){var c;ik(c=jk())&&(b.autocomplete=c.first)}},inputs:{defaultChoices:"defaultChoices",currentResource:"currentResource",allowMultipleIds:"allowMultipleIds"},outputs:{entrySelect:"entrySelect",queryChange:"queryChange"},standalone:!1,features:[Bk([UQ,jE]),xj,$w],decls:10,vars:7,consts:[["auto","matAutocomplete"],["issueHovercard","onedevHovercard"],["cardBody",""],[1,"bv2-issue-picker"],[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,"ngModelChange","keydown.enter","keydown.alt.arrowright","ngModel","matAutocomplete"],[1,"issue-picker","base-resource-picker",3,"optionActivated","optionSelected","displayWith"],["disabled",""],["disabled","",1,"bv2-resource-picker-message"],[1,"bv2-resource-picker-item",
"bv2-issue-picker-item",3,"value"],[1,"bv2-issue-picker-message"],[1,"spinner-container"],[3,"large"],["role","region","tabindex","0"],[1,"icon-s","margin-none",3,"svgIcon"],[1,"bv2-issue-picker-issue-id",3,"title"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],["mat-icon-button","","aria-label","Go to issue page.","data-stable","issue-pop-out","target","_blank",1,"small","bv2-issue-picker-pop-out",3,"click","onedevHovercardTrigger","href"],["svgIcon","pop-out",1,"icon-s"],[1,
"bv2-issue-picker-relations"],[1,"bv2-issue-picker-description",3,"title","innerHTML"],[3,"onedevIsHovercardReady","issueId"]],template:function(a,b){if(a&1){var c=y();L(0,"div",3);I(1,l0a,3,0,"div");L(2,"div",4)(3,"input",5);Q("ngModelChange",function(d){z(c);return B(b.search(d))})("keydown.enter",function(d){z(c);return B(b.onEnter(d))})("keydown.alt.arrowright",function(){z(c);b.activeChoice&&b.domSafe.openInNewTab(b.getIssueLink(b.activeChoice));return B()});M();L(4,"mat-autocomplete",6,0);Q("optionActivated",
function(d){z(c);b.activeChoice=d.option==null?null:d.option.value;return B()})("optionSelected",function(d){z(c);return B(b.selectIssue(d.option.value))});I(6,m0a,3,1,"mat-option",7);I(7,n0a,2,0,"mat-option",8);Mj(8,r0a,14,15,"mat-option",9,Lj);M()()()}a&2&&(a=T(5),E(),J(b.searchingForSelf?1:-1),E(2),K("ngModel",b.query)("matAutocomplete",a),Hj("aria-label",b.selectedIssues.length>0?"issue "+b.selectedIssues[0].resourceId+" selected. Change.":"Choose issue"),E(),K("displayWith",b.getTextToPutInInputOnSelect),
E(2),J(b.query===""||b.hasLoadedResults?-1:6),E(),J(b.query!==""&&b.hasLoadedResults&&b.choices.length===0?7:-1),E(),Nj(b.choices))},dependencies:[EA,Bp,hG,oG,xH,yH,DH,zH,GP,VN,SN,Vz,TN,dA,bA,lL,WM],styles:['b-simple-issue-picker input{width:450px}b-simple-issue-picker .bv2-issue-picker-message{color:#c5221f;color:var(--text-bad);padding:5px;text-align:center}.mat-mdc-autocomplete-panel.issue-picker{max-height:400px;width:450px}.mat-mdc-autocomplete-panel.issue-picker .mat-mdc-option{font-size:inherit;line-height:inherit;white-space:inherit;height:auto;min-height:40px;padding:10px}.mat-mdc-autocomplete-panel.issue-picker .mat-mdc-option .mdc-list-item__primary-text{flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-mdc-autocomplete-panel.issue-picker .bv2-resource-picker-item{cursor:pointer;padding:10px}.mat-mdc-autocomplete-panel.issue-picker .bv2-resource-picker-item:hover,.mat-mdc-autocomplete-panel.issue-picker .bv2-resource-picker-item.selected{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.mat-mdc-autocomplete-panel.issue-picker .bv2-resource-picker-message{color:#5f6368;color:var(--muted);padding:5px;text-align:center}.mat-mdc-autocomplete-panel.issue-picker .mat-icon.margin-none{vertical-align:bottom}.mat-mdc-autocomplete-panel.issue-picker .margin-none{margin:0}.mat-mdc-autocomplete-panel.issue-picker .bv2-issue-picker-relations{color:#5f6368;color:var(--muted);float:right;font-style:italic}.mat-mdc-autocomplete-panel.issue-picker .bv2-issue-picker-issue-id{margin-left:5px;opacity:.8}.mat-mdc-autocomplete-panel.issue-picker .bv2-issue-picker-description{margin-left:20px}.mat-mdc-autocomplete-panel.issue-picker .bv2-issue-picker-pop-out{float:right;visibility:hidden}.mat-mdc-autocomplete-panel.issue-picker .bv2-resource-picker-item:hover .bv2-issue-picker-pop-out,.mat-mdc-autocomplete-panel.issue-picker .bv2-resource-picker-item.selected .bv2-issue-picker-pop-out{visibility:visible}.mat-mdc-autocomplete-panel.issue-picker .spinner-container{height:40px}[mat-dialog-content] .bv2-rel-issue-bubble-issue-picker{padding-bottom:5px}[mat-dialog-content] .bv2-rel-issue-id-link{margin-left:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[mat-dialog-content] .bv2-rel-issue-title-link span{display:inline-block}[mat-dialog-content] .bv2-rel-issue-title-link span.bv2-rel-issue-title-link-txt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:350px;vertical-align:middle;text-decoration:underline}[mat-dialog-content] .bv2-rel-issue-error{color:#c5221f;color:var(--bad-text)}[mat-dialog-content] .bv2-rel-issue-narrow-to-component{color:#1a73e8;color:var(--text-primary);float:left;height:32px;margin-top:7px;width:28px}[mat-dialog-content] .bv2-rel-issue-issue-picker{float:left;margin-top:10px;vertical-align:top}[mat-dialog-content] .bv2-rel-issue-text{float:left;width:370px}[mat-dialog-content] .bv2-rel-issue-apply-button{float:right}[mat-dialog-content] .bv2-rel-issue-preview-link{float:left;margin:0px}[mat-dialog-content] .bv2-rel-issue-row,[mat-dialog-content] .bv2-rel-issue-issue-picker-full-width{width:475px}[mat-dialog-content] .bv2-rel-issue-search{margin-top:10px;clear:both}[mat-dialog-content] .bv2-narrow-search-comp-btn{background:no-repeat url("https://www.gstatic.com/buganizer/img/v0/filter.png");background-position:center center;background-size:20px 16px;cursor:pointer;display:inline-block;height:25px;opacity:.8;vertical-align:middle;width:25px}[mat-dialog-content] .bv2-narrow-search-comp-btn[aria-checked=true]{opacity:.2}\n'],
encapsulation:2});var qRc=new Map([["BLOCKED_BY","blocked"],["BLOCKING","blocking"],["DUPLICATE","duplicate"]]);var WQ=function(){this.dialogRef=x(YH);this.params=x(wF);this.DEFAULTS={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1};this.originalData=x(dI);this.data=Object.assign({},this.DEFAULTS,this.originalData);this.queryRestriction=this.data.componentId?"componentid:"+this.data.componentId+"+":"";this.isQueryRestricted=!1;this.selectedIssues=[]},v0a=function(a){if(a.queryRestriction!==""&&a.issuePicker!=null){var b=a.issuePicker.query;a.issuePicker.query=a.isQueryRestricted?b.replace(new RegExp(oq(a.queryRestriction)+
" ?"),""):a.queryRestriction+" "+b}};g=WQ.prototype;g.onQueryChange=function(a){this.isQueryRestricted=this.queryRestriction!==""&&a.includes(this.queryRestriction)};g.onEnter=function(){if(this.selectedIssues.length!==0)this.onPressConfirm()};g.onEscape=function(){this.dialogRef.close()};g.onPressConfirm=function(){var a,b={selectedIssueIds:this.selectedIssues.map(function(c){return c.resourceId}),lastSearchType:(a=this.issuePicker)==null?void 0:a.lastSearchType};this.dialogRef.close(b)};
g.onPressCancel=function(){this.dialogRef.close()};WQ.\u0275fac=function(a){return new (a||WQ)};
WQ.\u0275cmp=F({type:WQ,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&ek(VQ,5);if(a&2){var c;ik(c=jk())&&(b.issuePicker=c.first)}},hostBindings:function(a,b){a&1&&Q("keydown.escape",function(){return b.onEscape()})},standalone:!1,decls:15,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-rel-issue-text"],[1,"bv2-rel-issue-preview-link"],[1,"bv2-rel-issue-search"],[1,"bv2-rel-issue-bubble-issue-picker"],[1,"bv2-rel-issue-narrow-to-component"],[1,"bv2-rel-issue-issue-picker",
3,"keydown.enter","entrySelect","queryChange","defaultChoices","currentResource","allowMultipleIds"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium","cancel",3,"click"],["type","button","mat-flat-button","","color","primary",1,"medium","confirm",3,"click","disabled"],["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"],["role","checkbox",
"tabindex","0","aria-label","Include subcomponents",1,"bv2-narrow-search-comp-btn","keep-focus-ring",3,"click","keyup.space","matTooltip"]],template:function(a,b){a&1&&(L(0,"h2",0),U(1),M(),L(2,"div",1)(3,"div",2),I(4,t0a,3,0,"div",3),I(5,u0a,6,3,"div",3),M(),L(6,"div",4)(7,"div",5),I(8,w0a,2,2,"div",6),L(9,"b-simple-issue-picker",7),Q("keydown.enter",function(){return b.onEnter()})("entrySelect",function(c){b.selectedIssues=c})("queryChange",function(c){return b.onQueryChange(c)}),M()()()(),L(10,
"div",8)(11,"button",9),Q("click",function(){return b.onPressCancel()}),U(12," Cancel "),M(),L(13,"button",10),Q("click",function(){return b.onPressConfirm()}),U(14," Confirm "),M()());a&2&&(E(),V(" ",b.data.title,"\n"),E(3),J(b.selectedIssues.length>1?4:-1),E(),J(b.selectedIssues.length===1?5:-1),E(3),J(b.queryRestriction?8:-1),E(),rk("bv2-rel-issue-issue-picker-full-width",!!b.queryRestriction),K("defaultChoices",b.data.defaultChoices)("currentResource",b.data.currentResource)("allowMultipleIds",
b.data.allowMultipleIds),E(4),K("disabled",!b.selectedIssues.length))},dependencies:[EA,dA,aA,hI,jI,iI,YF,WF,VQ],encapsulation:2});var XQ=function(){};XQ.\u0275fac=function(a){return new (a||XQ)};XQ.\u0275mod=Zi({type:XQ});XQ.\u0275inj=Eg({imports:[$M,jC,FG,uL,yQ,XN,FI,HI,JL,oL]});var rRc=new kh("XapHatsSurveyApiKey"),sRc=new kh("XapHatsSurveyLocale"),tRc=new kh("XapHatsSurveyWindow"),uRc=new kh("XapHatsSurveyListnrProductId");var vRc=new Map([[0,1],[1,2]]),wRc={anchor:1,verticalMargin:0,horizontalMargin:0},YQ=function(a,b,c,d,e){var f=function(){var h={apiKey:a,locale:c!=null?c:"en-US",window:d};h=zhc(Ehc,"help.service.Lazy.create",b,{apiKey:h.apiKey||h.apiKey,asxUiUri:h.asxUiUri||h.asxUiUri,environment:h.environment||h.environment,flow:h.flow||h.flow,frdProductData:h.frdProductData||h.frdProductData,frdProductDataSerializedJspb:h.frdProductDataSerializedJspb||h.frdProductDataSerializedJspb,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 Dhc(h)};this.helpService=e?e.runOutsideAngular(f):f()},xRc=function(a,b){var c=c===void 0?{}:c;var d=d===void 0?{}:d;var e=d.anonymous?void 0:d.authUser||0;return(new bi(function(f){a.helpService.requestSurvey({triggerId:b,
enableTestingMode:d.enableTestingMode,enableFeedback1pEndpoint:d.enableFeedback1pEndpoint,nonProd:d.nonProd,thirdPartyDomainSupportEnabled:d.thirdPartyDomainSupportEnabled,callback:function(h){h.surveyData!=null&&f.next(h.surveyData);f.complete()},authuser:e})})).pipe(sj(function(f){return new bi(function(h){var k;a.helpService.presentSurvey({surveyData:f,colorScheme:d.theme?vRc.get(d.theme):1,authuser:e,customZIndex:(k=d.zIndex)!=null?k:1E4,customLogoUrl:d.customLogoUrl,productData:c,parentDomElementId:d.parentDomElementId,
listener:{surveyClosed:function(){h.complete()},surveyPositioning:function(){return Object.assign({},wRc,d.placement)}}});h.next(f.surveyMetadata)})}))};YQ.\u0275fac=function(a){return new (a||YQ)(bh(rRc),bh(uRc),bh(sRc,8),bh(tRc,8),bh(Kk,8))};YQ.\u0275prov=Dg({token:YQ,factory:YQ.\u0275fac,providedIn:"root"});var ZQ=function(){this.dialog=x(eI);this.analytics=x(nE);this.hatsService=x(YQ);this.activeSession=x(Ks)};
ZQ.prototype.open=function(a,b){var c=this,d=yRc(a),e=d.dialog,f=d.config;return new Promise(function(h){ZH(c.dialog.open(e,f)).subscribe(function(k){var q,u=(q=k==null?void 0:k.selectedIssueIds)!=null?q:[],A;k=(A=k==null?void 0:k.lastSearchType)!=null?A:"";A=[a.originIsBulk?"bulk":void 0,u.length>1?"search-multi":"search",a.edgeType].filter(Boolean).join("-");c.analytics.trackEvent("issuePicker",A,k);b==null||b(u);h(u);c.activeSession.isInternalSession()&&k==="id"&&xRc(c.hatsService,"etC5mMepi0g6pPHSLo10TaNs15gn").pipe(hj(1)).subscribe()})})};
var yRc=function(a){var b={panelClass:"no-jitter",data:a};return a.edgeType==="canonical"?(b.width="60vw",b.minWidth="800px",{dialog:ZP,config:b}):{dialog:WQ,config:b}};ZQ.\u0275fac=function(a){return new (a||ZQ)};ZQ.\u0275prov=Dg({token:ZQ,factory:ZQ.\u0275fac,providedIn:"root"});var $Q=function(){};$Q.\u0275fac=function(a){return new (a||$Q)};$Q.\u0275mod=Zi({type:$Q});$Q.\u0275inj=Eg({imports:[XQ,TQ]});var aR=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(aR,n);aR.prototype.getContentJudgement=function(){return r(this,kl,1)};aR.prototype.setContentJudgement=function(a){return t(this,kl,1,a)};var bR=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(bR,n);bR.prototype.getContentJudgement=function(){return r(this,kl,1)};bR.prototype.setContentJudgement=function(a){return t(this,kl,1,a)};var cR=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,cR.messageId)};Y(cR,n);cR.prototype.getIt=function(){return r(this,aR,4,Kc)};cR.prototype.setIt=function(a){return t(this,aR,4,a,Kc)};cR.messageId="b.CreateContentJudgementRequest";var zRc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(zRc,n);var dR=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,dR.messageId)};Y(dR,n);dR.prototype.getIt=function(){return r(this,zRc,2,Kc)};dR.prototype.setIt=function(a){return t(this,zRc,2,a,Kc)};dR.messageId="b.ListContentJudgementsResponse";var eR=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,eR.messageId)};Y(eR,n);eR.prototype.getIt=function(){return r(this,bR,2,Kc)};eR.prototype.setIt=function(a){return t(this,bR,2,a,Kc)};eR.messageId="b.UpdateContentJudgementRequest";var fR=function(){this.executor=x(ey)};fR.prototype.create=function(a,b,c){var d=new cR,e=d.setIt,f=new aR,h=f.setContentJudgement;a=KDa(Fta({resourcePath:a,severity:b,judgementReason:c,contentJudgementId:void 0}));a=Xd(a,6,2);d=e.call(d,h.call(f,a));return this.executor.post({url:"action/content_judgements",body:d,responseConstructor:Op}).pipe(C(yya))};
fR.prototype.update=function(a){var b=KDa(Fta(a));b=Ou(b,9);b=(new eR).setIt((new bR).setContentJudgement(b));return this.executor.post({url:"action/content_judgements/"+a.contentJudgementId,body:b,responseConstructor:Op}).pipe(C(yya))};fR.prototype.list=function(a){return this.executor.get({url:"action/content_judgements",options:{params:{resource_path:a}},responseConstructor:dR}).pipe(C(function(b){b=b.getIt();return ie(b,kl,1,Rd()).map(Gta)}))};fR.\u0275fac=function(a){return new (a||fR)};
fR.\u0275prov=Dg({token:fR,factory:fR.\u0275fac,providedIn:"root"});var hR=function(){var a=this;this.dialogRef=x(YH);this.documentationLinks=x(XH);this.contentJudgements=x(fR);this.activeSession=x(Ks);this.data=x(dI);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.RestrictionSeverity=pic;this.loaded=!1;this.minimumSeverity="RESTRICTION_SEVERITY_UNSPECIFIED";this.severity=this.data.severity;this.data.resourcePath?this.contentJudgements.list(this.data.resourcePath).subscribe(function(b){var c="RESTRICTION_SEVERITY_UNSPECIFIED";b=l(b);for(var d=b.next();!d.done;d=
b.next())d=d.value,Jd(d.judge)===a.activeSession.getUserEmail()?ARc(a,d):gR(d.severity,c)&&(c=d.severity);a.minimumSeverity=c;gR(a.minimumSeverity,a.severity)&&(a.severity=a.minimumSeverity);a.loaded=!0}):(ARc(this,this.data.contentJudgement),this.loaded=!0)};hR.prototype.canInteract=function(){return this.loaded&&(this.data.hasAclToCreate||!!this.judgement)};
var gR=function(a,b){return x0a(a)>x0a(b)},ARc=function(a,b){if(a.judgement=b)a.severity=b.severity},BRc=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.";
gR(a.minimumSeverity,"NONE_DETECTED")&&(b+=" You can only select a restriction level equal or greater than the severity already given by other users.");return b};hR.prototype.getContentJudgement=function(){var a;this.judgement?a=Object.assign({},this.judgement):a={contentJudgementId:void 0,resourcePath:void 0,severity:"RESTRICTION_SEVERITY_UNSPECIFIED",judgementReason:""};a.severity=this.severity;a.judgementReason="None specified";return a};
hR.prototype.onSaveClick=function(){var a=this;if(this.data.resourcePath){if(this.judgement==null){this.contentJudgements.create(this.data.resourcePath,this.severity,"None specified").subscribe(function(){a.dialogRef.close({contentJudgement:a.getContentJudgement()})});return}if(this.judgement.severity!==this.severity||this.judgement.judgementReason!=="None specified"){this.contentJudgements.update(this.getContentJudgement()).subscribe(function(){a.dialogRef.close({contentJudgement:a.getContentJudgement()})});
return}}this.dialogRef.close({contentJudgement:this.getContentJudgement()})};hR.prototype.onNoClick=function(){this.dialogRef.close(null)};hR.\u0275fac=function(a){return new (a||hR)};
hR.\u0275cmp=F({type:hR,selectors:[["b-content-judgement-dialog"]],standalone:!1,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,"ngModelChange","ngModel"],[1,"restriction-radio","restriction-none",3,"value","disabled"],[1,"restriction-radio","restriction-pii",
3,"value","disabled"],[1,"restriction-radio","restriction-spii",3,"value","disabled"],["type","button","mat-button","",1,"medium","content-judgement-dialog-cancel",3,"click"],["type","button","mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","content-judgement-dialog-confirm",3,"click","disabled"]],template:function(a,b){a&1&&(L(0,"header",0)(1,"h1"),N(2,"mat-icon",1),L(3,"div"),U(4," Set restriction "),M()()(),L(5,"section",2)(6,"label",3),U(7),L(8,"a",4),U(9," Learn More "),
M()(),L(10,"mat-radio-group",5),xk("ngModelChange",function(c){wk(b.severity,c)||(b.severity=c);return c}),L(11,"mat-radio-button",6),U(12," No restriction "),L(13,"div"),U(14,' Users with "View issues" can access. '),M()(),L(15,"mat-radio-button",7),U(16," Restricted "),L(17,"div"),U(18,' Users with "View restricted content" can access. '),M()(),L(19,"mat-radio-button",8),U(20," Restricted+ "),L(21,"div"),U(22,' Users with "View restricted+ content" can access. '),M()()()(),L(23,"mat-dialog-actions")(24,
"button",9),Q("click",function(){return b.onNoClick()}),U(25," Cancel "),M(),L(26,"button",10),Q("click",function(){return b.onSaveClick()}),U(27," Set "),M()());a&2&&(E(7),V(" ",BRc(b)," "),E(),K("rel",b.EXTERNAL_LINK_REL),Hj("href",b.documentationLinks.getRestrictedAccessHelpLink(),Ni),E(2),vk("ngModel",b.severity),E(),K("value",b.RestrictionSeverity.NONE_DETECTED)("disabled",!b.canInteract()||gR(b.minimumSeverity,b.RestrictionSeverity.NONE_DETECTED)),E(4),K("value",b.RestrictionSeverity.RESTRICTED)("disabled",
!b.canInteract()||gR(b.minimumSeverity,b.RestrictionSeverity.RESTRICTED)),E(4),K("value",b.RestrictionSeverity.RESTRICTED_PLUS)("disabled",!b.canInteract()||gR(b.minimumSeverity,b.RestrictionSeverity.RESTRICTED_PLUS)),E(7),K("disabled",!b.canInteract()))},dependencies:[EA,dA,aA,hI,jI,iI,qK,rK,hG,oG],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)}/*# sourceMappingURL=content_judgement_dialog.css.map */"]});var iR=function(){this.dialogRef=x(YH);this.documentationLinks=x(XH);this.data=x(dI);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.resource=this.data.resource;this.piiRetention=this.data.piiRetention;this.acknowledgeToMatchIssueRetention=!1};iR.prototype.canInteract=function(){return!CRc(this)||this.acknowledgeToMatchIssueRetention};var CRc=function(a){return a.piiRetention==="INDEFINITE"};iR.prototype.onSaveClick=function(){this.dialogRef.close(1)};iR.prototype.onNoClick=function(){this.dialogRef.close(0)};
iR.\u0275fac=function(a){return new (a||iR)};
iR.\u0275cmp=F({type:iR,selectors:[["b-update-retention-dialog"]],standalone:!1,decls:19,vars:6,consts:[["mat-dialog-title",""],["svgIcon","restricted",1,"icon-m"],["mat-dialog-content",""],["target","_blank","aria-label","Learn more about component retention",3,"rel"],[3,"ngModel"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium","update-retention-dialog-cancel",3,"click"],["type","button","mat-button","","color","primary","cdkFocusInitial","",1,"dialog-primary-action","medium",
"update-retention-dialog-confirm",3,"click","disabled"],[3,"ngModelChange","ngModel"]],template:function(a,b){a&1&&(L(0,"h1",0),N(1,"mat-icon",1),L(2,"div"),I(3,y0a,2,1,"span")(4,z0a,2,0,"span"),M()(),L(5,"div",2),I(6,A0a,8,1,"span")(7,B0a,3,2,"span"),L(8,"span")(9,"a",3),U(10," Learn More "),M()(),L(11,"div")(12,"span"),I(13,C0a,2,1,"mat-checkbox",4),M()()(),L(14,"div",5)(15,"button",6),Q("click",function(){return b.onNoClick()}),U(16," Cancel "),M(),L(17,"button",7),Q("click",function(){return b.onSaveClick()}),
U(18," Save "),M()());a&2&&(E(3),J(CRc(b)?3:4),E(3),J(CRc(b)?6:7),E(3),K("rel",b.EXTERNAL_LINK_REL),Hj("href",Gs(),Ni),E(4),J(CRc(b)?13:-1),E(4),K("disabled",!b.canInteract()))},dependencies:[EA,dA,aA,hI,jI,iI,aG,HG,hG,oG],styles:["h1[_ngcontent-%COMP%]{text-align:center}.mat-mdc-dialog-content[_ngcontent-%COMP%]{overflow:inherit}/*# sourceMappingURL=update_retention_dialog.css.map */"]});var jR=function(){this.activeSession=x(Ks);this.errorHandler=x(PA);this.eventsForIssueFridge=x(wD);this.issueFullFridge=x(pE);this.issueCommentsService=x(CI);this.issueInteractionsTracking=x(TI);this.butterBar=x(MA);this.editIssueService=x(XI);this.formattedCommentsForIssueFridge=x(AD);this.userPreferencesManager=x(NF)},DRc=function(a,b){var c=b.issueId;var d=b.newCommentId;var e=b.newComment;var f=b.newCommentFormattingMode;var h=b.recaptchaToken;var k,q;v(function(u){switch(u.nextAddress){case 1:k=
a.editIssueService.savingState(c);if(!e.trim())return a.butterBar.showWarning("New comment cannot be empty."),u.return();iq(k,"commentEdit");hq(a.butterBar,"Saving comment edit...",0);jq(a.issueInteractionsTracking,c,{label:d===1?"description":"comment"});ei(u,2,3);return w(u,a.issueCommentsService.update(c,d,e,f,h),5);case 5:hq(a.butterBar,"Comment edit successful.",4E3),a.eventsForIssueFridge.manualUpdate(c,function(A){A.events=Pha(A.events,d,{formattedComment:void 0,unlinkifiedComment:e,formattingMode:f})}),
a.issueFullFridge.poke(c),a.formattedCommentsForIssueFridge.invalidate(c+"-"+d),a.eventsForIssueFridge.poke(c);case 3:fi(u);VI(k,"commentEdit");hi(u,0);break;case 2:q=ii(u),RA(a.errorHandler,q),u.jumpTo(3)}})};jR.\u0275fac=function(a){return new (a||jR)};jR.\u0275prov=Dg({token:jR,factory:jR.\u0275fac,providedIn:"root"});var ERc=function(a,b,c,d){this.objectId=a;this.version=b;this.payload=c;this.isReplay=d===void 0?!1:d},FRc=function(){},GRc=function(a){this.timestampMicros=a};D0a.prototype.reset=function(){this.currentMaxDelayMs_=this.initialMaxDelayMs_;this.inRetryMode_=!1};var HRc=function(a){var b=0;a.inRetryMode_&&(b=a.random_()*.2,b=Math.ceil((1-b)*a.currentMaxDelayMs_),a.currentMaxDelayMs_<a.maxDelayMs_&&(a.currentMaxDelayMs_*=2,a.currentMaxDelayMs_>a.maxDelayMs_&&(a.currentMaxDelayMs_=a.maxDelayMs_)));a.inRetryMode_=!0;return b};var kR=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(kR,n);var JRc=function(){var a=new kR;return ul(a,1,IRc,tb(!0))},KRc=function(){var a=new kR;return ul(a,2,IRc,tb(!0))},IRc=[1,2,3,15];var R0a=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(R0a,n);var Q0a=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Q0a,n);var ar=[1,2,3,4,5,6,7,8,9,10,11,12,13];var $q=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y($q,n);$q.prototype.getPartsList=function(){return ie(this,Q0a,1,Rd())};$q.prototype.addParts=function(a){return rm(this,1,Q0a,a)};var Zq=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Zq,n);Zq.prototype.getName=function(){return ou(this,1,LRc)};Zq.prototype.setName=function(a){return fl(this,1,LRc,a)};Zq.prototype.hasName=function(){return fp(this,1,LRc)!=null};Zq.prototype.getNameOrUndefined=function(){return fp(this,1,LRc)};var LRc=[1,2];var MRc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(MRc,n);g=MRc.prototype;g.setProject=function(a){t(this,Zq,1,a)};g.getOwner=function(){return r(this,kR,2)};g.setOwner=function(a){return t(this,kR,2,a)};g.getPath=function(){return r(this,$q,3)};g.setPath=function(a){return t(this,$q,3,a)};g.hasPath=function(){return Me(this,$q,3)};var NRc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(NRc,n);g=NRc.prototype;g.setProject=function(a){t(this,Zq,1,a)};g.getOwner=function(){return r(this,kR,2)};g.setOwner=function(a){return t(this,kR,2,a)};g.getPrefix=function(){return r(this,$q,3)};g.setPrefix=function(a){t(this,$q,3,a)};var lR=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(lR,n);lR.prototype.getVersion=function(){return Yu(this,1)};lR.prototype.setVersion=function(a){return jf(this,1,a)};lR.prototype.getVersionOrUndefined=function(){return Uu(this,1)};var ORc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ORc,n);g=ORc.prototype;g.getHeader=function(){return r(this,lR,4)};g.getStartTimeMicros_asString=function(){return Le(this,1)};g.setStartTimeMicros=function(a){return rf(this,1,a)};g.getPrefix=function(){return Zk(this,NRc,6,PRc)};g.setPrefix=function(a){Bl(this,6,PRc,a)};var PRc=[2,3,6];var QRc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(QRc,n);var mR=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(mR,n);mR.prototype.setAffinitization=function(a){mf(this,2,a)};mR.prototype.getAffinitizationOrUndefined=function(){return $l(this,2)};mR.prototype.getStartTimeMicros_asString=function(){return Xe(this,4)};mR.prototype.setStartTimeMicros=function(a){return Ze(this,4,a)};var RRc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(RRc,n);var SRc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(SRc,n);g=SRc.prototype;g.setStreamId=function(a){return rf(this,1,a)};g.getStreamIdOrUndefined_asString=function(){return Ru(this,1)};g.getOpen=function(){return Zk(this,ORc,2,TRc)};g.setOpen=function(a){return Bl(this,2,TRc,a)};g.getClose=function(){return Zk(this,RRc,3,TRc)};g.setClose=function(a){Bl(this,3,TRc,a)};g.hasClose=function(){return Yk(this,RRc,3,TRc)};g.setAffinitization=function(a){mf(this,4,a)};
g.getAffinitizationOrUndefined=function(){return $l(this,4)};var TRc=[2,3];var URc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(URc,n);URc.prototype.setRequestsList=function(a){return Ol(this,1,a)};URc.prototype.addAndReturnRequests=function(){return Bc(this,1,SRc)};var VRc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(VRc,n);VRc.prototype.getChannelId=function(){return Oc(this,1)};VRc.prototype.setChannelId=function(a){return lf(this,1,a)};var WRc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(WRc,n);var nR=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(nR,n);nR.prototype.getCode=function(){return Zd(this,1)};nR.prototype.setCode=function(a){return mf(this,1,a)};nR.prototype.getCodeOrUndefined=function(){return $l(this,1)};var XRc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(XRc,n);var YRc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(YRc,n);g=YRc.prototype;g.getPayloadOrUndefined=function(){return Ke(this,2,void 0,void 0,qc)};g.getVersion=function(){return Zu(this,3)};g.setVersion=function(a){return rf(this,3,a)};g.getVersionOrUndefined=function(){return Ob(Ke(this,3))};g.getVersionOrUndefined_asString=function(){return Ru(this,3)};var ZRc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ZRc,n);var $Rc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y($Rc,n);var aSc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(aSc,n);aSc.prototype.getStart=function(){return Zk(this,$Rc,1,oR)};aSc.prototype.setStart=function(a){return Bl(this,1,oR,a)};aSc.prototype.hasChanges=function(){return Yk(this,ZRc,2,oR)};var oR=[1,2,3,5];var bSc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(bSc,n);bSc.prototype.getChannelId=function(){return Oc(this,1)};bSc.prototype.setChannelId=function(a){return lf(this,1,a)};var pR=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(pR,n);pR.prototype.getStatus=function(){return r(this,Ufc,1)};pR.prototype.setStatus=function(a){return t(this,Ufc,1,a)};pR.prototype.hasStatus=function(){return Me(this,Ufc,1)};var cSc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(cSc,n);g=cSc.prototype;g.setStreamId=function(a){return rf(this,1,a)};g.getStreamIdOrUndefined_asString=function(){return Ru(this,1)};g.getClose=function(){return Zk(this,pR,3,dSc)};g.setClose=function(a){Bl(this,3,dSc,a)};g.hasClose=function(){return Yk(this,pR,3,dSc)};var dSc=[2,3,4];var qR=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(qR,n);qR.prototype.getResponsesList=function(){return ie(this,cSc,1,Rd())};qR.prototype.getStatus=function(){return r(this,nR,2)};qR.prototype.setStatus=function(a){return t(this,nR,2,a)};qR.prototype.hasStatus=function(){return Me(this,nR,2)};var eSc=function(){Jx.call(this,"d")};Lu(eSc,Jx);var fSc=function(){Jx.call(this,"c")};Lu(fSc,Jx);var gSc=function(a,b,c,d){this.uri=a;this.authMethod=b;this.useFetchApi=c;this.addDomainPrefix=d},hSc=function(a){var b=a.uri.clone();a.addDomainPrefix&&Sx(b,Math.floor(Math.random()*10).toString()+"-"+b.getDomain());return b},iSc=function(a,b,c,d,e){this.channelMessageHandler=a;this.channelStatusHandler=b;this.config=c;this.channelCreator=d;this.state=0;this.channelHandler=new Ps;this.channel=this.createWebChannel(e)};
iSc.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()),detectBufferingProxy:!0,useFetchStreams:this.config.useFetchApi,messageHeaders:this.config.authMethod.getHeaders(),supportsCrossDomainXhr:this.config.authMethod.usesCredentialedRequests()};a=this.channelCreator(hSc(this.config).toString(),a);this.channelHandler.listen(a,
"a",function(){b.channelStatusHandler.onOpen()});this.channelHandler.listen(a,"b",function(){b.channelStatusHandler.onClose((new jSc(b.channel.channel_)).getLastStatusCode());b.state=2;b.channel.removeAllListeners();b.channelHandler.removeAll()});this.channelHandler.listen(a,"d",function(c){if(c.data&&Array.isArray(c.data)&&c.data.length===1)if(c.metadataKey&&c.metadataKey==="status"){c=ida(Hx,c.data[0][0]);var d=b.channelStatusHandler;c.getCode()!==0&&(d.channelEventCallback(new kSc(c)),d.handleError(c))}else c=
ida(qR,c.data[0]),b.channelMessageHandler(c)});this.channelHandler.listen(a,"c",function(c){b.channelStatusHandler.onError(c,(new jSc(b.channel.channel_)).getLastStatusCode());c.status!==0&&(b.state=2)});return a};iSc.prototype.open=function(){this.state===0&&(this.state=1,this.channel.open())};iSc.prototype.close=function(){this.state!==2&&this.channel.close()};iSc.prototype.send=function(a){a=a.serialize();this.channel.send(a)};var lSc,mSc=(new lR).setVersion(9);lSc=mf(mSc,2,5);var Wq=function(a){this.rep=a};Wq.prototype.equals=function(a){return this.rep===a.rep};var nSc=function(){var a=8;a=a===void 0?1:a;this.max=8;this.lastAddedTimestampMs=Date.now();this.tokens=a};nSc.prototype.update=function(){var a=Date.now(),b=this.tokens+(a-this.lastAddedTimestampMs)/3E5;this.tokens>=b||(this.tokens=Math.min(b,this.max),this.lastAddedTimestampMs=a)};var oSc=function(){},pSc=function(){},qSc=function(){},rSc=function(){},sSc=function(){},tSc=function(){},uSc=function(a){this.error=a},kSc=function(a){this.status=a};var S0a=function(a,b){this.seconds=a;this.nanos=b},T0a=function(a){var b=new ue;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},Y0a=function(a){try{var b=Number(a.getSeconds()),c=a.getNanos();if(b<-62135596800)throw Error("Wd`"+b);if(253402300800<=b)throw Error("Xd`"+b);if(c<0)throw Error("Yd`"+c);if(1E9<=c)throw Error("Zd`"+c);if(!Number.isInteger(b))throw Error("$d`"+b);if(!Number.isInteger(c))throw Error("ae`"+c);return new S0a(b,c)}catch(d){return null}};
S0a.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var Vq=function(a,b){this.value=a;this.isDecreasing=!!b};
Vq.prototype.equals=function(a){if(this.value===null)var b=a.value===null;else if(this.value instanceof Wq)b=a.value instanceof Wq?this.value.equals(a.value):!1;else if(this.isDecreasing!==a.isDecreasing)b=!1;else if(typeof this.value==="string"||typeof this.value==="number")b=this.value===a.value;else if(this.value instanceof br)b=a.value instanceof br?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 S0a?a.value instanceof S0a?this.value.equals(a.value):!1:!1;return b};var cr=function(a,b){this.parts=a;this.isPrivate=b},V0a=function(){for(var a=[],b=l(rd.apply(0,arguments)),c=b.next();!c.done;c=b.next())c=c.value,c instanceof Vq?a.push(c):a.push(new Vq(c));return new cr(a,!1)};
cr.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 vSc=function(){},K0a=function(a,b){this.apiKey=a;this.authUser=b};g=K0a.prototype;g.getHeaders=function(){var a={},b;(b=O7b([]))?(b=b.split(" "),b={scheme:b[0],hash:b[1]}):b=null;b!=null&&(a.Authorization=b.scheme+" "+b.hash,a["X-Goog-AuthUser"]=String(this.authUser||0));return a};g.getQueryParameters=function(){return{key:this.apiKey}};g.domainType=function(){return 0};g.usesCredentialedRequests=function(){return!0};g.getAuthUser=function(){return this.authUser};
var H0a=function(a){this.oauthTokens=a};g=H0a.prototype;g.getHeaders=function(){var a={};a.Authorization="OAuth "+this.oauthTokens.getValue();return a};g.getQueryParameters=function(){return{}};g.domainType=function(){return 1};g.usesCredentialedRequests=function(){return!0};g.getAuthUser=function(){};var J0a=function(a){this.apiKey=a};g=J0a.prototype;g.getHeaders=function(){return{}};g.getQueryParameters=function(){return{key:this.apiKey}};g.domainType=function(){return 1};
g.usesCredentialedRequests=function(){return!1};g.getAuthUser=function(){};var I0a=function(a,b){this.apiKey=a;this.oauthTokens=b};g=I0a.prototype;g.getHeaders=function(){return{Authorization:"Bearer "+this.oauthTokens.getValue()}};g.getQueryParameters=function(){return{key:this.apiKey}};g.domainType=function(){return 0};g.usesCredentialedRequests=function(){return!0};g.getAuthUser=function(){};var wSc=function(a,b,c){var d=Error.call(this,b);this.message=d.message;"stack"in d&&(this.stack=d.stack);this.code=a;this.message=b;this.status=c;Object.setPrototypeOf(this,wSc.prototype);this.name="XhrError"};Y(wSc,Error);var xSc=function(a,b){b=b===void 0?N0a():b;this.baseUri=a;this.xhrIo=b};xSc.prototype.post=function(a,b,c,d){d=d===void 0?{}:d;return this.request("POST",a,b,c,d)};
var ySc=function(a,b){a.endsWith("/")&&(a=a.substring(0,a.length-1));b.startsWith("/")&&(b=b.substring(1));return a+"/"+b};
xSc.prototype.request=function(a,b,c,d,e){var f=this,h=new er(this.baseUri);h.setPath(ySc(h.getPath(),b));if(e.queryParams){b=l(Object.entries(e.queryParams));for(var k=b.next();!k.done;k=b.next()){var q=l(k.value);k=q.next().value;q=q.next().value;Mr(h,k,q)}}var u={"Content-type":"application/json+protobuf"};Object.assign(u,e.extraHeaders);var A=c.serialize();return new Promise(function(D,H){var O;f.xhrIo.send(h,function(){var P=this.getStatus()===-1?void 0:this.getStatus();if(this.isSuccess())try{D(Oda(d,
this.getResponseText()))}catch(S){H(new wSc(4,"Failed to deserialize response from "+h+": "+this.getResponseText(),P))}else H(new wSc(this.getLastErrorCode(),this.getLastError(),P))},a,A,u,(O=e.timeoutMs)!=null?O:2E4,e.withCredentials)})};var zSc=null,ASc=function(){return zSc=zSc||new st},BSc=function(a){Jx.call(this,"serverreachability",a)};Lu(BSc,Jx);var CSc=function(a){var b=ASc();b.dispatchEvent(new BSc(b,a))},DSc=function(a,b){Jx.call(this,"statevent",a);this.stat=b};Lu(DSc,Jx);var rR=function(a){var b=ASc();b.dispatchEvent(new DSc(b,a))},ESc=function(a,b,c){Jx.call(this,"timingevent",a);this.size=b;this.rtt=c};Lu(ESc,Jx);
var FSc=function(a,b,c){var d=ASc();d.dispatchEvent(new ESc(d,a,b,c))},GSc=function(a,b){if(typeof a!=="function")throw Error("ce");return da.setTimeout(function(){a()},b)};var HSc=function(a,b,c){Ix.call(this);this.listener_=c!=null?a.bind(c):a;this.interval_=b;this.args_=null;this.shouldFire_=!1;this.pauseCount_=0;this.timer_=null};Y(HSc,Ix);g=HSc.prototype;g.fire=function(a){this.args_=arguments;this.timer_||this.pauseCount_?this.shouldFire_=!0:ISc(this)};g.stop=function(){this.timer_&&(da.clearTimeout(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,ISc(this))};g.disposeInternal=function(){Ix.prototype.disposeInternal.call(this);this.stop()};var ISc=function(a){a.timer_=Yq(function(){a.timer_=null;a.shouldFire_&&!a.pauseCount_&&(a.shouldFire_=!1,ISc(a))},a.interval_);var b=a.args_;a.args_=null;a.listener_.apply(null,b)};var sR=function(){this.redactEnabled_=!0};sR.prototype.disableRedact=function(){this.redactEnabled_=!1};
var JSc=function(a,b,c,d,e,f){a.info(function(){if(a.redactEnabled_)if(f){var h="";for(var k=f.split("&"),q=0;q<k.length;q++){var u=k[q].split("=");if(u.length>1){var A=u[0];u=u[1];var D=A.split("_");h=D.length>=2&&D[1]=="type"?h+(A+"="+u+"&"):h+(A+"=redacted&")}}}else h=null;else h=f;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+h})},KSc=function(a,b,c,d,e,f,h){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+f+" "+h})},tR=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+LSc(a,c)+(d?" "+d:"")})},MSc=function(a,b){a.info(function(){return"TIMEOUT: "+b})};sR.prototype.debug=function(){};sR.prototype.info=function(){};sR.prototype.warning=function(){};
var LSc=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(!(e.length<2)){var f=e[1];if(Array.isArray(f)&&!(f.length<1)){var h=f[0];if(h!="noop"&&h!="stop"&&h!="close")for(var k=1;k<f.length;k++)f[k]=""}}}return(new smc).serialize(c)}catch(q){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};var uR=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 Ps(this);this.timeout_=45E3;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 NSc},NSc=function(){this.textDecoder=null;this.responseBuffer="";this.responseArrivedForFetch=!1},OSc=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"}},PSc={},QSc={};
uR.prototype.setExtraHeaders=function(a){this.extraHeaders_=a};uR.prototype.setTimeout=function(a){this.timeout_=a};uR.prototype.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};uR.prototype.getPendingMessages=function(){return this.pendingMessages_};
var SSc=function(a,b,c){a.type_=1;a.baseUri_=knc(b.clone());a.postData_=c;a.decodeChunks_=!0;RSc(a,null)},RSc=function(a,b){a.requestStartTime_=Date.now();TSc(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 NSc;a.xmlHttp_=USc(a.channel_,c?b:null,!a.postData_);a.readyStateChangeThrottleMs_>0&&(a.readyStateChangeThrottle_=new HSc(ut(a.xmlHttpHandler_,
a,a.xmlHttp_),a.readyStateChangeThrottleMs_));a.eventHandler_.listen(a.xmlHttp_,"readystatechange",a.readyStateChangeHandler_);b=a.extraHeaders_?Wc(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));CSc(1);JSc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,a.postData_)};
uR.prototype.readyStateChangeHandler_=function(a){a=a.target;var b=this.readyStateChangeThrottle_;b&&a.getReadyState()==3?(this.channelDebug_.debug("Throttling readystatechange."),b.fire()):this.xmlHttpHandler_(a)};uR.prototype.xmlHttpHandler_=function(a){try{a==this.xmlHttp_?VSc(this):this.channelDebug_.warning("Called back with an unexpected xmlhttp")}catch(b){this.channelDebug_.debug("Failed call to OnXmlHttpReadyStateChanged_"),WSc(this)}finally{}};
var VSc=function(a){var b=a.xmlHttp_.getReadyState(),c=a.xmlHttp_.getLastErrorCode(),d=a.xmlHttp_.getStatus();if(!(b<3||b==3&&!WSc(a))){a.cancelled_||b!=4||c==7||(c==8||d<=0?CSc(3):CSc(2));XSc(a);var e=a.xmlHttp_.getStatus();a.lastStatusCode_=e;c=YSc(a);WSc(a)||a.channelDebug_.debug(function(){return"No response text for uri "+a.requestUri_+" status "+e});a.successful_=e==200;KSc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,b,e);if(a.successful_){if(a.decodeInitialResponse_&&!a.initialResponseDecoded_)if(d=
ZSc(a))tR(a.channelDebug_,a.rid_,d,"Initial handshake response via X-HTTP-Initial-Response"),a.initialResponseDecoded_=!0,$Sc(a,d);else{a.successful_=!1;a.lastError_=3;rR(12);a.channelDebug_.warning("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+a.rid_+")");vR(a);aTc(a);return}a.decodeChunks_?bTc(a,b,c):(tR(a.channelDebug_,a.rid_,c,null),$Sc(a,c));b==4&&vR(a);a.successful_&&!a.cancelled_&&(b==4?cTc(a.channel_,a):(a.successful_=!1,TSc(a)))}else a.xmlHttp_.getResponseHeaders(),e==400&&c.indexOf("Unknown SID")>
0?(a.lastError_=3,rR(12),a.channelDebug_.warning("XMLHTTP Unknown SID ("+a.rid_+")")):(a.lastError_=0,rR(13),a.channelDebug_.warning("XMLHTTP Bad status "+e+" ("+a.rid_+")")),vR(a),aTc(a)}},ZSc=function(a){return a.xmlHttp_&&(a=a.xmlHttp_,(a=a.xhr_?a.xhr_.getResponseHeader("X-HTTP-Initial-Response"):null)&&!ja(a))?a:null},YSc=function(a){if(!dTc(a))return a.xmlHttp_.getResponseText();var b=a.xmlHttp_.getResponse();if(b==="")return"";var c="",d=b.length,e=a.xmlHttp_.getReadyState()==4;if(!a.fetchResponseState_.textDecoder){if(typeof TextDecoder===
"undefined")return vR(a),aTc(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.length=0;a.fetchResponseState_.responseBuffer+=c;a.xmlHttpChunkStart_=0;return a.fetchResponseState_.responseBuffer},WSc=function(a){return a.xmlHttp_?a.fetchResponseState_.responseArrivedForFetch?!0:!(!a.xmlHttp_.getResponseText()&&!a.xmlHttp_.getResponse()):!1},dTc=function(a){return a.xmlHttp_?
a.verb_=="GET"&&a.type_!=2&&a.channel_.usesFetchStreams_:!1},bTc=function(a,b,c){for(var d=!0,e;!a.cancelled_&&a.xmlHttpChunkStart_<c.length;)if(e=eTc(a,c),e==QSc){b==4&&(a.lastError_=4,rR(14),d=!1);tR(a.channelDebug_,a.rid_,null,"[Incomplete Response]");break}else if(e==PSc){a.lastError_=4;rR(15);tR(a.channelDebug_,a.rid_,c,"[Invalid Chunk]");d=!1;break}else tR(a.channelDebug_,a.rid_,e,null),$Sc(a,e);dTc(a)&&a.xmlHttpChunkStart_!=0&&(a.fetchResponseState_.responseBuffer=a.fetchResponseState_.responseBuffer.slice(a.xmlHttpChunkStart_),
a.xmlHttpChunkStart_=0);b!=4||c.length!=0||a.fetchResponseState_.responseArrivedForFetch||(a.lastError_=1,rR(16),d=!1);a.successful_=a.successful_&&d;d?c.length>0&&!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),fTc(b),b.bpDetectionDone_=!0,rR(11))):(tR(a.channelDebug_,a.rid_,c,"[Invalid Chunked Response]"),vR(a),aTc(a))},eTc=function(a,
b){var c=a.xmlHttpChunkStart_,d=b.indexOf("\n",c);if(d==-1)return QSc;c=Number(b.substring(c,d));if(isNaN(c))return PSc;d+=1;if(d+c>b.length)return QSc;b=b.slice(d,d+c);a.xmlHttpChunkStart_=d+c;return b};uR.prototype.cancel=function(){this.cancelled_=!0;vR(this)};
var TSc=function(a){a.watchDogTimeoutTime_=Date.now()+a.timeout_;gTc(a,a.timeout_)},gTc=function(a,b){if(a.watchDogTimerId_!=null)throw Error("de");a.watchDogTimerId_=GSc(ut(a.onWatchDogTimeout_,a),b)},XSc=function(a){a.watchDogTimerId_&&(da.clearTimeout(a.watchDogTimerId_),a.watchDogTimerId_=null)};
uR.prototype.onWatchDogTimeout_=function(){this.watchDogTimerId_=null;var a=Date.now();a-this.watchDogTimeoutTime_>=0?(MSc(this.channelDebug_,this.requestUri_),this.type_!=2&&(CSc(3),rR(17)),vR(this),this.lastError_=2,aTc(this)):(this.channelDebug_.warning("WatchDog timer called too early"),gTc(this,this.watchDogTimeoutTime_-a))};
var aTc=function(a){a.channel_.isClosed()||a.cancelled_||cTc(a.channel_,a)},vR=function(a){XSc(a);Wk(a.readyStateChangeThrottle_);a.readyStateChangeThrottle_=null;a.eventHandler_.removeAll();if(a.xmlHttp_){var b=a.xmlHttp_;a.xmlHttp_=null;b.abort();b.dispose()}};uR.prototype.getLastError=function(){return this.lastError_};uR.prototype.getLastStatusCode=function(){return this.lastStatusCode_};uR.prototype.getRequestId=function(){return this.rid_};
var $Sc=function(a,b){try{var c=a.channel_;if(c.state_!=0&&(c.backChannelRequest_==a||hTc(c.forwardChannelRequestPool_,a)))if(!a.initialResponseDecoded_&&hTc(c.forwardChannelRequestPool_,a)&&c.state_==3){try{var d=c.wireCodec_.parser_.parse(b)}catch(ya){d=null}if(Array.isArray(d)&&d.length==3){var e=d;if(e[0]==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_)iTc(c),jTc(c);else break a;else c.channelDebug_.warning("We do not have a BackChannel established");kTc(c);rR(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");h<37500&&c.enableStreaming_&&c.backChannelRetryCount_==0&&!c.deadBackChannelTimerId_&&(c.deadBackChannelTimerId_=GSc(ut(c.onBackChannelDead_,c),6E3))}}if(lTc(c.forwardChannelRequestPool_)<=
1&&c.forwardChannelFlushedCallback_){try{c.forwardChannelFlushedCallback_()}catch(ya){}c.forwardChannelFlushedCallback_=void 0}}else c.channelDebug_.debug("Bad POST response data returned"),wR(c,11)}else if((a.initialResponseDecoded_||c.backChannelRequest_==a)&&iTc(c),!ja(b))for(e=c.wireCodec_.parser_.parse(b),f=0;f<e.length;f++){var k=e[f],q=k[0];if(q<=c.lastArrayId_)c.channelDebug_.warning("Ignoring out-of-order or duplicate message with arrayId: "+q+", lastArrayId: "+c.lastArrayId_);else if(q>
c.lastArrayId_+1&&c.lastArrayId_>-1&&c.channelDebug_.warning("Received non-consecutive message with arrayId: "+q+", lastArrayId: "+c.lastArrayId_),c.lastArrayId_=q,k=k[1],c.state_==2)if(k[0]=="c"){c.sid_=k[1];c.hostPrefix_=c.correctHostPrefix(k[2]);var u=k[3];u!=null&&(c.channelVersion_=u,c.channelDebug_.info("VER="+c.channelVersion_));var A=k[4];A!=null&&(c.serverVersion_=A,c.channelDebug_.info("SVER="+c.serverVersion_));var D=k[5];D!=null&&typeof D==="number"&&D>0&&(h=1.5*D,c.backChannelRequestTimeoutMs_=
h,c.channelDebug_.info("backChannelRequestTimeoutMs_="+h));h=c;var H=a.xmlHttp_;if(H){var O=H.xhr_?H.xhr_.getResponseHeader("X-Client-Wire-Protocol"):null;if(O){var P=h.forwardChannelRequestPool_;b=O;!P.requestPool_&&(ka(b,"spdy")||ka(b,"quic")||ka(b,"h2"))&&(P.maxSize_=P.maxPoolSizeConfigured_,P.requestPool_=new Set,P.request_&&(mTc(P,P.request_),P.request_=null))}if(h.httpSessionIdParam_){var S=H.xhr_?H.xhr_.getResponseHeader("X-HTTP-Session-Id"):null;S?(h.httpSessionId_=S,Mr(h.forwardChannelUri_,
h.httpSessionIdParam_,S)):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 aa=d=h,ia=nTc(aa,aa.supportsCrossDomainXhrs_?h.hostPrefix_:null,h.path_);aa.channelDebug_.debug("GetBackChannelUri: "+ia);d.backChannelUri_=ia;if(b.initialResponseDecoded_){h.channelDebug_.debug("Upgrade the handshake request to a backchannel.");
oTc(h.forwardChannelRequestPool_,b);d=b;var la=h.backChannelRequestTimeoutMs_;la&&d.setTimeout(la);d.watchDogTimerId_&&(XSc(d),TSc(d));h.backChannelRequest_=b}else pTc(h);c.outgoingMaps_.length>0&&qTc(c)}else k[0]!="stop"&&k[0]!="close"||wR(c,7);else c.state_==3&&(k[0]=="stop"||k[0]=="close"?k[0]=="stop"?wR(c,7):c.disconnect():k[0]!="noop"&&c.handler_&&c.handler_.channelHandleArray(k),c.backChannelRetryCount_=0)}CSc(4)}catch(ya){}};var rTc=function(a,b){this.mapId=a;this.map=b;this.context=null};var sTc=function(a){this.maxPoolSizeConfigured_=a||10;da.PerformanceNavigationTiming?(a=da.performance.getEntriesByType("navigation"),a=a.length>0&&(a[0].nextHopProtocol=="hq"||a[0].nextHopProtocol=="h2")):a=!!(da.chrome&&da.chrome.loadTimes&&da.chrome.loadTimes()&&da.chrome.loadTimes().wasFetchedViaSpdy);this.maxSize_=a?this.maxPoolSizeConfigured_:1;this.requestPool_=null;this.maxSize_>1&&(this.requestPool_=new Set);this.request_=null;this.pendingMessages_=[]},tTc=function(a){return a.request_?!0:
a.requestPool_?a.requestPool_.size>=a.maxSize_:!1},lTc=function(a){return a.request_?1:a.requestPool_?a.requestPool_.size:0},hTc=function(a,b){return a.request_?a.request_==b:a.requestPool_?a.requestPool_.has(b):!1},mTc=function(a,b){a.requestPool_?a.requestPool_.add(b):a.request_=b},oTc=function(a,b){a.request_&&a.request_==b?a.request_=null:a.requestPool_&&a.requestPool_.has(b)&&a.requestPool_.delete(b)};
sTc.prototype.cancel=function(){this.pendingMessages_=this.getPendingMessages();if(this.request_)this.request_.cancel(),this.request_=null;else if(this.requestPool_&&this.requestPool_.size!==0){for(var a=l(this.requestPool_.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.requestPool_.clear()}};
sTc.prototype.getPendingMessages=function(){if(this.request_!=null)return this.pendingMessages_.concat(this.request_.getPendingMessages());if(this.requestPool_!=null&&this.requestPool_.size!==0){for(var a=this.pendingMessages_,b=l(this.requestPool_.values()),c=b.next();!c.done;c=b.next())a=a.concat(c.value.getPendingMessages());return a}return Ja(this.pendingMessages_)};var uTc=function(a,b){a.pendingMessages_=a.pendingMessages_.concat(b)};var vTc=function(a,b){var c=new sR;c.debug("TestLoadImage: loading "+a);if(da.Image){var d=new Image;d.onload=Ku(xR,c,"TestLoadImage: loaded",!0,b,d);d.onerror=Ku(xR,c,"TestLoadImage: error",!1,b,d);d.onabort=Ku(xR,c,"TestLoadImage: abort",!1,b,d);d.ontimeout=Ku(xR,c,"TestLoadImage: timeout",!1,b,d);da.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)},wTc=function(a,b){var c=new sR,d=new AbortController,e=setTimeout(function(){d.abort();xR(c,"TestPingServer: timeout",!1,
b)},1E4);fetch(a,{signal:d.signal}).then(function(f){clearTimeout(e);f.ok?xR(c,"TestPingServer: ok",!0,b):xR(c,"TestPingServer: server error",!1,b)}).catch(function(){clearTimeout(e);xR(c,"TestPingServer: error",!1,b)})},xR=function(a,b,c,d,e){try{a.debug(b),e&&(e.onload=null,e.onerror=null,e.onabort=null,e.ontimeout=null),d(c)}catch(f){}};var xTc=function(){this.replacer_=void 0};xTc.prototype.stringify=function(a){return da.JSON.stringify(a,this.replacer_)};xTc.prototype.parse=function(a){return da.JSON.parse(a,void 0)};var yTc=function(){this.parser_=new xTc};var zTc=function(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b},yR=function(a){this.serverVersion_=0;this.outgoingMaps_=[];this.channelDebug_=new sR;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_=zTc("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_=zTc("baseRetryDelayMs",5E3,a);this.retryDelaySeedMs_=zTc("retryDelaySeedMs",1E4,a);this.forwardChannelMaxRetries_=zTc("forwardChannelMaxRetries",2,a);this.forwardChannelRequestTimeoutMs_=
zTc("forwardChannelRequestTimeoutMs",2E4,a);this.xmlHttpFactory_=a&&a.xmlHttpFactory||void 0;this.networkTestUrl_=a&&a.networkTestUrl||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 sTc(a&&a.concurrentRequestLimit);this.wireCodec_=new yTc;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&&a.longPollingTimeout>0&&(this.longPollingTimeout_=a.longPollingTimeout);this.forwardChannelFlushedCallback_=void 0;this.handshakeRttMs_=0;this.bpDetectionDone_=!1;this.nonAckedMapsAtChannelClose_=this.bpDetectionTimerId_=null};yR.prototype.channelVersion_=8;yR.prototype.state_=1;
yR.prototype.connect=function(a,b,c,d){this.channelDebug_.debug("connect()");rR(0);this.path_=a;this.extraParams_=b||{};c&&d!==void 0&&(this.extraParams_.OSID=c,this.extraParams_.OAID=d);this.enableStreaming_=this.allowStreamingMode_;this.channelDebug_.debug("connectChannel_()");a=nTc(this,null,this.path_);this.channelDebug_.debug("GetForwardChannelUri: "+a);this.forwardChannelUri_=a;qTc(this)};
yR.prototype.disconnect=function(){this.channelDebug_.debug("disconnect()");ATc(this);if(this.state_==3){var a=this.nextRid_++,b=this.forwardChannelUri_.clone();Mr(b,"SID",this.sid_);Mr(b,"RID",a);Mr(b,"TYPE","terminate");BTc(this,b);a=new uR(this,this.channelDebug_,this.sid_,a);a.type_=2;a.baseUri_=knc(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_=USc(a.channel_,
null),a.xmlHttp_.send(a.baseUri_));a.requestStartTime_=Date.now();TSc(a)}CTc(this)};var jTc=function(a){a.backChannelRequest_&&(fTc(a),a.backChannelRequest_.cancel(),a.backChannelRequest_=null)},ATc=function(a){jTc(a);a.backChannelTimerId_&&(da.clearTimeout(a.backChannelTimerId_),a.backChannelTimerId_=null);iTc(a);a.forwardChannelRequestPool_.cancel();a.forwardChannelTimerId_&&(typeof a.forwardChannelTimerId_==="number"&&da.clearTimeout(a.forwardChannelTimerId_),a.forwardChannelTimerId_=null)};
g=yR.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 this.state_==0};g.getState=function(){return this.state_};g.getLastStatusCode=function(){return this.errorResponseStatusCode_};
var qTc=function(a){tTc(a.forwardChannelRequestPool_)||a.forwardChannelTimerId_||(a.forwardChannelTimerId_=!0,Dv(a.onStartForwardChannelTimer_,a),a.forwardChannelRetryCount_=0)},ETc=function(a,b){if(lTc(a.forwardChannelRequestPool_)>=a.forwardChannelRequestPool_.maxSize_-(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(a.state_==1||
a.state_==2||a.forwardChannelRetryCount_>=(a.failFast_?0:a.forwardChannelMaxRetries_))return!1;a.channelDebug_.debug("Going to retry POST");a.forwardChannelTimerId_=GSc(ut(a.onStartForwardChannelTimer_,a,b),DTc(a,a.forwardChannelRetryCount_));a.forwardChannelRetryCount_++;return!0};
yR.prototype.onStartForwardChannelTimer_=function(a){if(this.forwardChannelTimerId_)if(this.forwardChannelTimerId_=null,this.channelDebug_.debug("startForwardChannel_"),this.state_==1){if(!a){this.channelDebug_.debug("open_()");this.nextRid_=Math.floor(Math.random()*1E5);a=this.nextRid_++;var b=new uR(this,this.channelDebug_,"",a),c=this.extraHeaders_;this.initHeaders_&&(c?(c=Wc(c),Xda(c,this.initHeaders_)):c=this.initHeaders_);this.httpHeadersOverwriteParam_!==null||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__,typeof f==="string")){f=f.length;break b}f=void 0}if(f===void 0)break;d+=f;if(d>4096){d=e;break a}if(d===4096||e===this.outgoingMaps_.length-1){d=e+1;break a}}d=1E3}else d=1E3;d=FTc(this,b,d);e=this.forwardChannelUri_.clone();Mr(e,"RID",a);Mr(e,"CVER",22);this.httpSessionIdParam_&&Mr(e,"X-HTTP-Session-Id",this.httpSessionIdParam_);
BTc(this,e);c&&(this.encodeInitMessageHeaders_?d="headers="+sv(nnc(c))+"&"+d:this.httpHeadersOverwriteParam_&&onc(e,this.httpHeadersOverwriteParam_,c));mTc(this.forwardChannelRequestPool_,b);this.blockingHandshake_&&Mr(e,"TYPE","init");this.fastHandshake_?(Mr(e,"$req",d),Mr(e,"SID","null"),b.decodeInitialResponse_=!0,SSc(b,e,null)):SSc(b,e,d);this.state_=2}}else this.state_==3&&(a?GTc(this,a):this.outgoingMaps_.length==0?this.channelDebug_.debug("startForwardChannel_ returned: nothing to send"):tTc(this.forwardChannelRequestPool_)||
(GTc(this),this.channelDebug_.debug("startForwardChannel_ finished, sent request")))};
var GTc=function(a,b){var c;b?c=b.getRequestId():c=a.nextRid_++;var d=a.forwardChannelUri_.clone();Mr(d,"SID",a.sid_);Mr(d,"RID",c);Mr(d,"AID",a.lastArrayId_);BTc(a,d);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&onc(d,a.httpHeadersOverwriteParam_,a.extraHeaders_);c=new uR(a,a.channelDebug_,a.sid_,c,a.forwardChannelRetryCount_+1);a.httpHeadersOverwriteParam_===null&&c.setExtraHeaders(a.extraHeaders_);b&&(a.outgoingMaps_=b.getPendingMessages().concat(a.outgoingMaps_));b=FTc(a,c,1E3);c.setTimeout(Math.round(a.forwardChannelRequestTimeoutMs_*
.5)+Math.round(a.forwardChannelRequestTimeoutMs_*.5*Math.random()));mTc(a.forwardChannelRequestPool_,c);SSc(c,d,b)},BTc=function(a,b){a.extraParams_&&Rc(a.extraParams_,function(c,d){Mr(b,d,c)});a.handler_&&Rc({},function(c,d){Mr(b,d,c)})},FTc=function(a,b,c){c=Math.min(a.outgoingMaps_.length,c);var d=a.handler_?ut(a.handler_.badMapError,a.handler_,a):null;a:{for(var e=a.outgoingMaps_,f=-1;;){var h=["count="+c];f==-1?c>0?(f=e[0].mapId,h.push("ofs="+f)):f=0:h.push("ofs="+f);for(var k=!0,q=0;q<c;q++){var u=
e[q].mapId,A=e[q].map;u-=f;if(u<0)f=Math.max(0,e[q].mapId-100),k=!1;else try{u="req"+u+"_"||"";try{var D=A instanceof Map?A:Object.entries(A);for(var H=l(D),O=H.next();!O.done;O=H.next()){var P=l(O.value),S=P.next().value,aa=P.next().value,ia=aa;La(aa)&&(ia=(new smc).serialize(aa));h.push(u+S+"="+encodeURIComponent(ia))}}catch(la){throw h.push(u+"type="+encodeURIComponent("_badmap")),la;}}catch(la){d&&d(A)}}if(k){D=h.join("&");break a}}D=void 0}a=a.outgoingMaps_.splice(0,c);b.pendingMessages_=a;return D},
pTc=function(a){a.backChannelRequest_||a.backChannelTimerId_||(a.backChannelAttemptId_=1,Dv(a.onStartBackChannelTimer_,a),a.backChannelRetryCount_=0)},kTc=function(a){if(a.backChannelRequest_||a.backChannelTimerId_||a.backChannelRetryCount_>=3)return!1;a.channelDebug_.debug("Going to retry GET");a.backChannelAttemptId_++;a.backChannelTimerId_=GSc(ut(a.onStartBackChannelTimer_,a),DTc(a,a.backChannelRetryCount_));a.backChannelRetryCount_++;return!0};
yR.prototype.onStartBackChannelTimer_=function(){this.backChannelTimerId_=null;HTc(this);if(this.detectBufferingProxy_&&!this.bpDetectionDone_)if(this.backChannelRequest_==null||this.handshakeRttMs_<=0)this.channelDebug_.warning("Skip bpDetectionTimerId_ "+this.backChannelRequest_+" "+this.handshakeRttMs_);else{var a=4*this.handshakeRttMs_;this.channelDebug_.info("BP detection timer enabled: "+a);this.bpDetectionTimerId_=GSc(ut(this.onBpDetectionTimer_,this),a)}};
yR.prototype.onBpDetectionTimer_=function(){if(this.bpDetectionTimerId_){this.bpDetectionTimerId_=null;this.channelDebug_.info("BP detection timeout reached.");if(this.backChannelRequest_.xmlHttp_!=null){var a=this.backChannelRequest_.xmlHttp_.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;rR(10);jTc(this);HTc(this)}else this.channelDebug_.warning("Invalid operation.")};
var fTc=function(a){a.bpDetectionTimerId_!=null&&(a.channelDebug_.debug("Cancel the BP detection timer."),da.clearTimeout(a.bpDetectionTimerId_),a.bpDetectionTimerId_=null)},HTc=function(a){a.channelDebug_.debug("Creating new HttpRequest");a.backChannelRequest_=new uR(a,a.channelDebug_,a.sid_,"rpc",a.backChannelAttemptId_);a.httpHeadersOverwriteParam_===null&&a.backChannelRequest_.setExtraHeaders(a.extraHeaders_);a.backChannelRequest_.setReadyStateChangeThrottle(a.readyStateChangeThrottleMs_);var b=
a.backChannelUri_.clone();Mr(b,"RID","rpc");Mr(b,"SID",a.sid_);Mr(b,"AID",a.lastArrayId_);Mr(b,"CI",a.enableStreaming_?"0":"1");!a.enableStreaming_&&a.longPollingTimeout_&&Mr(b,"TO",a.longPollingTimeout_);Mr(b,"TYPE","xmlhttp");BTc(a,b);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&onc(b,a.httpHeadersOverwriteParam_,a.extraHeaders_);a.backChannelRequestTimeoutMs_&&a.backChannelRequest_.setTimeout(a.backChannelRequestTimeoutMs_);var c=a.backChannelRequest_,d=a.hostPrefix_;c.type_=1;c.baseUri_=knc(b.clone());
c.postData_=null;c.decodeChunks_=!0;RSc(c,d);a.channelDebug_.debug("New Request created")};yR.prototype.correctHostPrefix=function(a){return this.handler_?this.handler_.correctHostPrefix(a):a};yR.prototype.onBackChannelDead_=function(){this.deadBackChannelTimerId_!=null&&(this.deadBackChannelTimerId_=null,jTc(this),kTc(this),rR(19))};
var iTc=function(a){a.deadBackChannelTimerId_!=null&&(da.clearTimeout(a.deadBackChannelTimerId_),a.deadBackChannelTimerId_=null)},cTc=function(a,b){a.channelDebug_.debug("Request complete");var c=null;if(a.backChannelRequest_==b){iTc(a);fTc(a);a.backChannelRequest_=null;var d=2}else if(hTc(a.forwardChannelRequestPool_,b))c=b.getPendingMessages(),oTc(a.forwardChannelRequestPool_,b),d=1;else return;if(a.state_!=0)if(b.successful_)d==1?(FSc(b.postData_?b.postData_.length:0,Date.now()-b.requestStartTime_,
a.forwardChannelRetryCount_),qTc(a)):pTc(a);else{var e=b.getLastStatusCode(),f=b.getLastError();if(f==3||f==0&&e>0)a.channelDebug_.debug("Not retrying due to error type"),e>200&&(a.errorResponseStatusCode_=b.getLastStatusCode());else{a.channelDebug_.debug(function(){return"Maybe retrying, last error: "+OSc(f,a.errorResponseStatusCode_)});if(d==1&&ETc(a,b)||d==2&&kTc(a))return;a.channelDebug_.debug("Exceeded max number of retries")}c&&c.length>0&&uTc(a.forwardChannelRequestPool_,c);a.channelDebug_.debug("Error: HTTP request failed");
switch(f){case 1:wR(a,5);break;case 4:wR(a,10);break;case 3:wR(a,6);break;default:wR(a,2)}}},DTc=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},wR=function(a,b){a.channelDebug_.info("Error code "+b);if(b==2){var c=ut(a.testNetworkCallback_,a),d=a.networkTestUrl_,e=!d;d=new er(d||"//www.google.com/images/cleardot.gif");da.location&&da.location.protocol=="http"||Rx(d,"https");knc(d);e?vTc(d.toString(),
c):wTc(d.toString(),c)}else rR(2);a.onError_(b)};yR.prototype.testNetworkCallback_=function(a){a?(this.channelDebug_.info("Successfully pinged google.com"),rR(2)):(this.channelDebug_.info("Failed to ping google.com"),rR(1))};yR.prototype.onError_=function(a){this.channelDebug_.debug("HttpChannel: error - "+a);this.state_=0;this.handler_&&this.handler_.channelError(a);CTc(this);ATc(this)};
var CTc=function(a){a.state_=0;a.nonAckedMapsAtChannelClose_=[];if(a.handler_){var b=a.forwardChannelRequestPool_.getPendingMessages();if(b.length!=0||a.outgoingMaps_.length!=0)a.channelDebug_.debug(function(){return"Number of undelivered maps, pending: "+b.length+", outgoing: "+a.outgoingMaps_.length}),Eaa(a.nonAckedMapsAtChannelClose_,b),Eaa(a.nonAckedMapsAtChannelClose_,a.outgoingMaps_),a.forwardChannelRequestPool_.pendingMessages_.length=0,Ja(a.outgoingMaps_),a.outgoingMaps_.length=0;a.handler_.channelClosed()}},
nTc=function(a,b,c){var d=Kr(c);d.getDomain()!=""?(b&&Sx(d,b+"."+d.getDomain()),Tx(d,d.port_)):(d=da.location,d=lnc(d.protocol,null,b?b+"."+d.hostname:d.hostname,+d.port,c));b=a.httpSessionIdParam_;c=a.getHttpSessionId();b&&c&&Mr(d,b,c);Mr(d,"VER",a.channelVersion_);BTc(a,d);return d},USc=function(a,b,c){if(b&&!a.supportsCrossDomainXhrs_)throw Error("ee");b=a.usesFetchStreams_&&!a.xmlHttpFactory_?new Xq(new Px({streamBinaryChunks:c})):new Xq(a.xmlHttpFactory_);b.withCredentials_=a.supportsCrossDomainXhrs_;
return b};yR.prototype.isActive=function(){return!!this.handler_&&this.handler_.isActive(this)};var ITc=function(){};g=ITc.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 JTc=function(){};JTc.prototype.createWebChannel=function(a,b){return new zR(a,b)};
var zR=function(a,b){st.call(this);this.channel_=new yR(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)&&!ja(a)&&(this.channel_.httpHeadersOverwriteParam_=a);this.supportsCrossDomainXhr_=b&&b.supportsCrossDomainXhr||!1;this.sendRawJson_=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!ja(b)&&(this.channel_.httpSessionIdParam_=b,Sda(this.messageUrlParams_,b)&&Uc(this.messageUrlParams_,b));this.channelHandler_=new AR(this)};Lu(zR,st);
zR.prototype.open=function(){this.channel_.handler_=this.channelHandler_;this.supportsCrossDomainXhr_&&(this.channel_.supportsCrossDomainXhrs_=!0);this.channel_.connect(this.url_,this.messageUrlParams_||void 0)};zR.prototype.close=function(){this.channel_.disconnect()};zR.prototype.send=function(a){var b=this.channel_;if(typeof a==="string"){var c={};c.__data__=a;a=c}else this.sendRawJson_&&(c={},c.__data__=(new smc).serialize(a),a=c);b.outgoingMaps_.push(new rTc(b.nextMapId_++,a));b.state_==3&&qTc(b)};
zR.prototype.disposeInternal=function(){this.channel_.handler_=null;delete this.channelHandler_;this.channel_.disconnect();delete this.channel_;zR.superClass_.disposeInternal.call(this)};var KTc=function(a){eSc.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)?Vc(b,this.metadataKey):b}else this.data=a};Lu(KTc,eSc);
var LTc=function(a){fSc.call(this);this.status=1;this.errorCode=a};Lu(LTc,fSc);var AR=function(a){this.channel_=a};Lu(AR,ITc);AR.prototype.channelOpened=function(){this.channel_.dispatchEvent("a")};AR.prototype.channelHandleArray=function(a){this.channel_.dispatchEvent(new KTc(a))};AR.prototype.channelError=function(a){this.channel_.dispatchEvent(new LTc(a))};AR.prototype.channelClosed=function(){this.channel_.dispatchEvent("b")};var jSc=function(a){this.channel_=a};
jSc.prototype.getHttpSessionId=function(){return this.channel_.getHttpSessionId()};jSc.prototype.commit=function(a){this.channel_.forwardChannelFlushedCallback_=a};jSc.prototype.getLastStatusCode=function(){return this.channel_.getLastStatusCode()};var MTc=function(){this.changeList=[]};MTc.prototype.add=function(a){this.changeList.push(a)};
var NTc=function(){var a=a===void 0?Date:a;var b=b===void 0?Tw(a.now()*1E3):b;this.clock=a;this.clientStartMicros=b},OTc=function(a,b,c){this.authMethod=b;this.jspbClient=new xSc(a,c)},PTc=function(a,b,c,d){var e,f,h,k,q,u,A;return v(function(D){if(D.nextAddress==1){e=new NTc;var H=new QRc;H=t(H,ORc,1,b);f=jf(H,4,c);if(d){if(d.rttMicros==null)throw Error("ge");H=Ow(d.rttMicros)/1E6;H=av(f,2,H);var O=d.clockOffsetMicros!=null?Tw(d.clock.now()*1E3).add(d.clockOffsetMicros):void 0;O=(h=O)==null?void 0:
h.toString();Ze(H,3,O)}return w(D,a.jspbClient.post("/v1/chooseServer",f,mR,G0a(a.authMethod)),2)}k=D.yieldResult;H=e;O=dr(k.getStartTimeMicros_asString());var P=dr(Xe(k,5)),S=Tw(H.clock.now()*1E3),aa=Qw(P,O);H.rttMicros=Qw(Qw(S,H.clientStartMicros),aa);H.clockOffsetMicros=Qw(Qw(O,H.clientStartMicros).add(P),S).div(Tw(2));q=Vu(k,1);if(q==null)throw Error("he");return D.return({gsessionid:q,affinitization:(u=k.getAffinitizationOrUndefined())!=null?u:0,initialConnectionDelayMillis:(A=Uu(k,3))!=null?
A:0,timeEstimator:e})})},QTc=function(a,b,c){this.authMethod=b;this.jspbClient=new xSc(a,c)},RTc=function(a,b,c){var d,e;return v(function(f){if(f.nextAddress==1){if(a.authMethod instanceof J0a)return f.return(Promise.resolve());d=(new VRc).setChannelId(c);e=G0a(a.authMethod);e.queryParams==null&&(e.queryParams={});e.queryParams.gsessionid=b;e.timeoutMs=1E4;ei(f,2);return w(f,a.jspbClient.post("/v1/refreshCreds",d,WRc,e),4)}if(f.nextAddress!=2)return Iu(f,0);ii(f);ji(f)})},STc=function(a,b,c){this.project=
a;this.interestSet=b;this.knowledgeTimestamp=c;this.hasRecurred=!1;this.resyncMillis=Date.now()},BR=function(a,b){var c=this;this.channelDeps=a;this.options=b;this.refreshCredsTimerScheduled=!1;this.causalStreams=new Map;this.limboStreams=new Map;this.nonCausalStreams=new Map;this.newStreamSubject=new oj;this.streamNumber=0;this.rawStatus=new oj;this.status=new $n(new Hx);this.skipBackoff=new nSc;this.recentResyncs=[];this.hasConnected=!1;this.consecutiveThrottledConnections=0;this.channelStatHandler=
new Ps;this.channelEventCallback=function(f){Promise.resolve().then(function(){var h,k;(k=(h=c.options).channelEventCallback)==null||k.call(h,f)}).catch(function(){})};this.options.channelEventCallback&&this.channelStatHandler.listen(ASc(),"statevent",function(f){c.channelEventCallback(f)});this.rawStatus.pipe(Mpa(function(f){return f.getCode()===0?Promise.resolve():new Promise(function(h){Yq(h,500)})})).subscribe(this.status);this.delayGenerator=new D0a;var d,e;this.reconnectHint=(e=(d=b.reconnectHint)==
null?void 0:d.pipe(cj(function(){return ix}),Lpa(ix)))!=null?e:ix;TTc(this)},UTc=function(a,b,c){b=b.then(function(d){var e=!1;switch(d.domainType()){case 2:case 0:var f=a.firstPartyUri;e=a.addDomainPrefix;break;case 1:f=a.thirdPartyUri;break;default:f=new er}var h=f.clone().setPath(ySc(f.getPath(),"/multi-watch/channel")),k=new gSc(h,d,c.xmlHttpFactory!==void 0,e);return{serverChooser:new OTc(f,d,N0a(c.xmlHttpFactory)),credentialRefresher:new QTc(f,d,N0a(c.xmlHttpFactory)),channelCreator:function(q,
u,A){q=new iSc(q,u,k,function(D,H){return(new JTc).createWebChannel(D,H)},A);q.open();return q}}});return new BR(b,c)},VTc=function(a,b){return Math.max(Math.min(a,b!=null?b:a)+(24E4+4E4*Math.random())-a,0)},WTc=function(a){var b;Yq(function(){a.channelDeps.then(function(c){var d,e;((d=a.channelState)==null?void 0:d.channelId)!=null&&((e=a.channelState)==null?void 0:e.lastRefreshTime)!=null&&Date.now()>=a.channelState.lastRefreshTime+24E4?(RTc(c.credentialRefresher,a.channelState.gsessionid,a.channelState.channelId).catch(function(){}),
a.channelState.lastRefreshTime=Date.now(),WTc(a)):a.refreshCredsTimerScheduled=!1})},VTc(Date.now(),(b=a.channelState)==null?void 0:b.lastRefreshTime))};BR.prototype.handleClose=function(a,b){var c=this.causalStreams.get(a)||this.limboStreams.get(a)||this.nonCausalStreams.get(a);c&&(b.getCodeOrUndefined()===0?c.observer.complete():c.observer.error(b),this.causalStreams.delete(a),this.limboStreams.delete(a),this.nonCausalStreams.delete(a))};
var XTc=function(a){for(var b=0,c=Date.now();b<a.recentResyncs.length;)c>=a.recentResyncs[b].resyncMillis+6E4?a.recentResyncs.splice(b):++b},YTc=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 cr&&d instanceof cr?c.equals(d):!1;return d})};BR.prototype.onOpen=function(){this.channelEventCallback(new sSc);var a=(new Hx).setCode(0);try{this.rawStatus.next(a)}catch(b){}};
BR.prototype.onClose=function(){this.channelEventCallback(new tSc);this.channelState=void 0;TTc(this)};BR.prototype.onError=function(a,b){this.channelEventCallback(new uSc(a));a=(new Hx).setCode(M0a(b));this.handleError(a)};
BR.prototype.handleError=function(a){this.channelState==null||this.channelState.hasReceivedMessage||a.getCode()!==14||this.consecutiveThrottledConnections++;try{this.rawStatus.next(a)}catch(c){}a=l(this.causalStreams.values());for(var b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2;a=l(this.nonCausalStreams.values());for(b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2};
var aUc=function(a,b,c){if(a.channelState){var d=ZTc(c.project,c.interestSet);if(c instanceof $Tc){var e=d.setStartTimeMicros(c.knowledgeTimestamp.toString());hf(e,8,c.knowledgeTimestampChosenByPunctual)}mf(d,9,c.streamInitiationReason);c.streamInitiationReason=0;c=new URc;c.addAndReturnRequests().setStreamId(b.toString()).setOpen(d).setAffinitization(a.channelState.affinitization);a.channelState.channel.send(c)}},ZTc=function(a,b){var c=new ORc;c=t(c,lR,4,lSc);if(b instanceof cr){var d=new MRc;a!=
null&&d.setProject(P0a(a));d.setOwner(b.isPrivate?KRc():JRc()).setPath(U0a(b));Bl(c,2,PRc,d)}else d=new NRc,a!=null&&d.setProject(P0a(a)),d.setOwner(b.root.isPrivate?KRc():JRc()).setPrefix(U0a(b.root)),c.setPrefix(d);return c},bUc=function(a,b){var c=new URc;c.addAndReturnRequests().setStreamId(b.toString()).setClose(new RRc);a.channelState&&a.channelState.channel.send(c);a.causalStreams.delete(b);a.limboStreams.delete(b);a.nonCausalStreams.delete(b)},TTc=function(a){var b=HRc(a.delayGenerator);O0a(b).pipe(Ypa(a.reconnectHint.pipe(lj(function(){var c=
a.skipBackoff;c.update();c.tokens<1?c=!1:(c.tokens--,c=!0);return c})))).subscribe(function(){a.channelDeps.then(function(c){a.channelEventCallback(new oSc);cUc(a,c.serverChooser).then(function(d){a.channelEventCallback(new pSc);a.serverTimeEstimator=d.timeEstimator;Yq(function(){a.hasConnected=!0;dUc(a,c.channelCreator,d)},a.hasConnected?0:d.initialConnectionDelayMillis)},function(d){var e=(new Hx).setCode(2);d instanceof wSc?(e.setMessage(d.message),d.status&&e.setCode(M0a(d.status)),d.status===
503&&a.consecutiveThrottledConnections++):e.setMessage(d.toString());a.channelEventCallback(new qSc);try{a.rawStatus.next(e)}catch(f){}TTc(a)})},function(c){c=(new Hx).setCode(13).setMessage(c.toString());a.rawStatus.next(c)})})},cUc=function(a,b){var c,d,e,f,h,k;return v(function(q){if(q.nextAddress==1)return w(q,eUc(a),2);c=q.yieldResult;d=l(c);e=d.next().value;f=d.next().value;h=e;k=f;return q.return(PTc(b,ZTc(h,k),a.consecutiveThrottledConnections,a.serverTimeEstimator))})},eUc=function(a){var b,
c,d,e,f,h,k;return v(function(q){b=[a.causalStreams,a.limboStreams,a.nonCausalStreams];c=l(b);for(d=c.next();!d.done;d=c.next())for(e=d.value,f=l(e.values()),h=f.next();!h.done;h=f.next())return k=h.value,q.return([k.project,k.interestSet]);return w(q,pi(ex(a.newStreamSubject).pipe(lj())),1)})},dUc=function(a,b,c){a.channelEventCallback(new rSc);a.channelState={channel:b(function(f){for(var h=l(f.getResponsesList()),k=h.next();!k.done;k=h.next()){var q=a,u=k.value;q.channelState!=null&&(q.channelState.hasReceivedMessage=
!0);q.consecutiveThrottledConnections=0;k=u.getStreamIdOrUndefined_asString();if(k!=null)if(k=Number(k),u.hasClose()){a:{if(u=u.getClose())if(u=u.getStatus())break a;u=void 0}u&&q.handleClose(k,u)}else if(u=Zk(u,aSc,2,dSc))switch(al(u,oR)){case 1:if(u=q.causalStreams.get(k)){try{u.observer.next(new FRc)}catch(aa){}q.causalStreams.delete(k);q.limboStreams.set(k,u.start())}break;case 3:a:{if(u=Zk(u,XRc,3,oR))if(u=Ru(u,1),u!=null){var A=new GRc(dr(u));break a}A=void 0}if(A&&(u=k,k=A,(A=q.limboStreams.get(u))?
(A=A.advance(k.timestampMicros),q.limboStreams.delete(u),q.nonCausalStreams.set(u,A),q=A):q=q.nonCausalStreams.get(u),q)){u=q;A=k.timestampMicros;A>u.knowledgeTimestamp&&(u.knowledgeTimestamp=A,u.knowledgeTimestampChosenByPunctual=!0);try{q.observer.next(k)}catch(aa){}}break;case 2:k=q.nonCausalStreams.get(k)||q.limboStreams.get(k);if(!k)break;q=k.interestSet;if(A=Zk(u,ZRc,2,oR)){u=new MTc;A=l(ie(A,YRc,1,Rd()));for(var D=A.next();!D.done;D=A.next()){D=D.value;var H=r(D,$q,6),O=D.getVersionOrUndefined_asString();
if(H&&O!=null){var P=void 0,S=(P=D.getPayloadOrUndefined())==null?void 0:new Uint8Array(Fc(P)||0);P=S==null?void 0:S;(H=Z0a(q,H))&&u.add(new ERc(H,dr(O),P,!!ub(Ke(D,7))))}}q=u}else q=void 0;if(q)for(q=l(q.changeList),u=q.next();!u.done;u=q.next()){u=u.value;u=new ERc(u.objectId,u.version,u.payload,u.isReplay);try{k.observer.next(u)}catch(aa){}}break;case 5:if(k=q.causalStreams.get(k)||q.limboStreams.get(k)||q.nonCausalStreams.get(k)){k instanceof $Tc&&(XTc(q),(u=YTc(q,k))?(u.hasRecurred=!0,u.knowledgeTimestamp=
k.knowledgeTimestamp,u.resyncMillis=Date.now()):q.recentResyncs.push(new STc(k.project,k.interestSet,k.knowledgeTimestamp)));try{k.observer.complete()}catch(aa){}}}}if(f.hasStatus())switch(f.getStatus().getCodeOrUndefined()){case 1:h=l(a.causalStreams.values());for(k=h.next();!k.done;k=h.next())k.value.streamInitiationReason=3;h=l(a.nonCausalStreams.values());for(k=h.next();!k.done;k=h.next())k.value.streamInitiationReason=3;a.channelState&&a.channelState.channel.close()}Me(f,bSc,3)&&a.channelState&&
(a.channelState.channelId=r(f,bSc,3).getChannelId(),a.channelState.lastRefreshTime=Date.now(),a.refreshCredsTimerScheduled||(WTc(a),a.refreshCredsTimerScheduled=!0))},a,c.gsessionid),affinitization:c.affinitization,gsessionid:c.gsessionid,hasReceivedMessage:!1};b=[].concat(Array.from(a.causalStreams.entries())).concat(Array.from(a.nonCausalStreams.entries()));b.sort(function(f,h){return f[0]-h[0]});b=l(b);for(c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;aUc(a,
c,d)}b=l(a.limboStreams);for(c=b.next();!c.done;c=b.next())c=l(c.value),c.next(),c.next().value.observer.complete();a.limboStreams.clear();var e=a.channelState;Yq(function(){a.channelState===e&&a.delayGenerator.reset()},45E3)};
BR.prototype.watch=function(a,b){var c=this;b=b===void 0?{}:b;return new bi(function(d){var e=++c.streamNumber,f,h=(f=b.projectOverride)!=null?f:c.options.defaultProject;d=new fUc(d,h,a);c.causalStreams.set(e,d);c.newStreamSubject.next({});aUc(c,e,d);return function(){bUc(c,e)}})};
BR.prototype.watchWithStartTime=function(a,b,c){var d=this;c=c===void 0?{}:c;return new bi(function(e){var f=++d.streamNumber,h,k=(h=c.projectOverride)!=null?h:d.options.defaultProject,q=new $Tc(e,k,a,b,!1);XTc(d);if((e=YTc(d,q))&&(e.hasRecurred||b.compare(e.knowledgeTimestamp)<=0)){var u=!0;Yq(function(){u&&q.observer.complete()},6E4);return function(){u=!1}}d.nonCausalStreams.set(f,q);d.newStreamSubject.next({});aUc(d,f,q);return function(){bUc(d,f)}})};
var fUc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c;this.streamInitiationReason=1};fUc.prototype.start=function(){return new gUc(this.observer,this.project,this.interestSet)};var gUc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};gUc.prototype.advance=function(a){return new $Tc(this.observer,this.project,this.interestSet,a,!0)};
var $Tc=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 hUc={firstPartyUri:new er("https://signaler-pa.clients6.google.com/punctual"),thirdPartyUri:new er("https://signaler-pa.googleapis.com/punctual"),addDomainPrefix:!1},iUc={firstPartyUri:new er("https://punctual.corp.google.com/punctual"),thirdPartyUri:new er,addDomainPrefix:!1},jUc={firstPartyUri:new er("https://punctual-dev.corp.google.com/punctual"),thirdPartyUri:new er("https://signaler-staging.sandbox.google.com/punctual"),addDomainPrefix:!1},kUc=new Map([["corp",iUc],["prod",hUc],["prod-up",
iUc],["preprod-dynamite-alpha-us",fr("preprod-dynamite-alpha-us")],["preprod-dynamite-alpha-eu",fr("preprod-dynamite-alpha-eu")],["preprod-dynamite-beta-us",fr("preprod-dynamite-beta-us")],["preprod-dynamite-beta-eu",fr("preprod-dynamite-beta-eu")],["preprod-dynamite-gamma-us",fr("preprod-dynamite-gamma-us")],["preprod-dynamite-gamma-eu",fr("preprod-dynamite-gamma-eu")],["preprod-qual-dynamite-perftest",fr("preprod-qual-dynamite-perftest")],["prod-dynamite-prod-00-eu",fr("prod-dynamite-prod-00-eu")],
["prod-dynamite-prod-01-eu",fr("prod-dynamite-prod-01-eu")],["prod-dynamite-prod-00-us",fr("prod-dynamite-prod-00-us")],["prod-dynamite-prod-01-us",fr("prod-dynamite-prod-01-us")],["prod-dynamite-prod-02-us",fr("prod-dynamite-prod-02-us")],["prod-dynamite-prod-03-us",fr("prod-dynamite-prod-03-us")],["prod-dynamite-prod-04-us",fr("prod-dynamite-prod-04-us")],["prod-dynamite-prod-05-us",fr("prod-dynamite-prod-05-us")],["prod-dynamite-prod-06-us",fr("prod-dynamite-prod-06-us")],["prod-dynamite-prod-07-us",
fr("prod-dynamite-prod-07-us")],["prod-dynamite-prod-08-us",fr("prod-dynamite-prod-08-us")],["prod-dynamite-prod-09-us",fr("prod-dynamite-prod-09-us")],["dynamite-alpha-us",gr("preprod","alpha-us")],["dynamite-alpha-eu",gr("preprod","alpha-eu")],["dynamite-beta-us",gr("preprod","beta-us")],["dynamite-beta-eu",gr("preprod","beta-eu")],["dynamite-gamma-us",gr("preprod","gamma-us")],["dynamite-gamma-eu",gr("preprod","gamma-eu")],["dynamite-prod-00-us",gr("prod","prod-00-us")],["dynamite-prod-00-eu",
gr("prod","prod-00-eu")],["dynamite-prod-01-us",gr("prod","prod-01-us")],["dynamite-prod-01-eu",gr("prod","prod-01-eu")],["dynamite-prod-02-us",gr("prod","prod-02-us")],["dynamite-prod-03-us",gr("prod","prod-03-us")],["dynamite-prod-04-us",gr("prod","prod-04-us")],["dynamite-prod-05-us",gr("prod","prod-05-us")],["dynamite-prod-06-us",gr("prod","prod-06-us")],["dynamite-prod-07-us",gr("prod","prod-07-us")],["dynamite-prod-08-us",gr("prod","prod-08-us")],["dynamite-prod-09-us",gr("prod","prod-09-us")],
["ytprod",{firstPartyUri:new er("https://signaler-pa.youtube.com/punctual"),thirdPartyUri:new er("https://signaler-pa.googleapis.com/punctual"),addDomainPrefix:!1}],["dev",jUc]]);var lUc=function(a){this.projectPath=a;this.authParams=new vSc;this.fetchApi=!1};lUc.prototype.setApiKey=function(a){this.authParams.apiKey=a;return this};lUc.prototype.useFetchApi=function(a){this.fetchApi=!0;this.worker=a;return this};
lUc.prototype.build=function(){var a=L0a(this.authParams),b=this.projectPath;if(!b.startsWith("/punctual/"))throw Error("ie`"+b);var c=b.substring(10).split("/");if(c.length!==2)throw Error("je`"+b);b=l(c);c=b.next().value;b=b.next().value;if(c.startsWith("custom:"))c=new er(decodeURIComponent(c.substring(7))),c.setPath("/punctual"),c={firstPartyUri:c,thirdPartyUri:c,addDomainPrefix:!1};else{var d=kUc.get(c);if(!d)throw Error("ke`"+c);c=d}var e;this.fetchApi&&(e=new Px({worker:this.worker}));return UTc(c,
a,{reconnectHint:this.reconnectHint,defaultProject:b,xmlHttpFactory:e,channelEventCallback:this.channelEventCallback})};var mUc={watch:function(){return ix},watchWithStartTime:function(){return ix},status:ix},CR=function(){this.activeSession=x(Ks);if(Cx(this.activeSession,"enablePushUpdatesClient")){switch(this.activeSession.getEnvironmentType()){case "PROD":case "NIGHTLY":var 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 lUc(b)).setApiKey(a).build()}else this.punctualClient=mUc};CR.prototype.watch=function(a,b){return this.punctualClient.watch(V0a(String(a),b)).pipe(Di(function(c){return c instanceof ERc}))};CR.\u0275fac=function(a){return new (a||CR)};CR.\u0275prov=Dg({token:CR,factory:CR.\u0275fac,providedIn:"root"});var DR=function(){this.punctualService=x(CR);this.stream=new oj;this.isPaused=!1;this.closeStream$=new oj};DR.prototype.resume=function(){this.isPaused=!1};var nUc=function(a,b){a.issueId!==b&&(a.closeStream$.next(),a.stream=new oj,a.issueId=b,a.resume(),a.watch(b).subscribe(a.stream));return a.stream};DR.prototype.watch=function(a){var b=this;return this.punctualService.watch("new-comment-issue",a).pipe(Di(function(){var c=!b.isPaused;b.resume();return c}),fj(1E3),tj(this.closeStream$))};
DR.\u0275fac=function(a){return new (a||DR)};DR.\u0275prov=Dg({token:DR,factory:DR.\u0275fac,providedIn:"root"});var oUc=function(a,b){this.displayText=a;this.value=b;this.enabled=!0;this.disabledReason=""};var ER=function(){Z.call(this);this.window=x(RF);this.scrolledOnScreenService=x(OL);this.elementRef=x(Ph);this.onAutoResize=new iE;this.el=this.elementRef.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)};Y(ER,Z);ER.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.scrolledOnScreenService.getObservable(this.el,!0).subscribe(function(b){b&&pUc(a,0)}));this.autoResize&&this.subscriptions.add(this.autoResize.subscribe(function(){pUc(a,2)}))};
ER.prototype.onInput=function(){pUc(this,1)};
var pUc=function(a,b){for(var c=a.window.getComputedStyle(a.el),d=l("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=Pf(d.getPropertyValue("border-top-width"))+Pf(d.getPropertyValue("padding-top"))+c.scrollHeight+Pf(d.getPropertyValue("padding-bottom"))+Pf(d.getPropertyValue("border-bottom-width"))+
24;Number.isNaN(c)||(e=Pf(d.getPropertyValue("max-height")),d=Pf(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})))};ER.prototype.ngOnDestroy=function(){this.cloneEl.parentElement&&this.cloneEl.parentElement.removeChild(this.cloneEl);Z.prototype.ngOnDestroy.call(this)};ER.\u0275fac=function(a){return new (a||ER)};
ER.\u0275dir=$i({type:ER,selectors:[["textarea","autoResize",""]],hostBindings:function(a,b){a&1&&Q("input",function(){return b.onInput()})},inputs:{autoResize:"autoResize"},outputs:{onAutoResize:"onAutoResize"},standalone:!1,features:[xj]});var qUc=new kh("isMac",{factory:function(){return At}}),FR=function(){this.isMac=x(qUc);this.textarea=x(Ph).nativeElement;this.macPasteWorkaroundActivated=new iE};
FR.prototype.handlePaste=function(a){if(this.isMac&&this.textarea){var b,c=(b=this.textarea.selectionStart)!=null?b:0;if(c!==0&&this.textarea.value[c-1]==="@"){var d;b=(d=this.textarea.selectionEnd)!=null?d:0;var e,f;d=(f=(e=a.clipboardData)==null?void 0:e.getData("text/plain"))!=null?f:"";d!==""&&(a.stopPropagation(),a.preventDefault(),this.textarea.setRangeText(d,c,b),a=c+d.length,this.textarea.setSelectionRange(a,a),this.textarea.focus(),this.textarea.dispatchEvent(new Event("input")),this.macPasteWorkaroundActivated.emit())}}};
FR.\u0275fac=function(a){return new (a||FR)};FR.\u0275dir=$i({type:FR,selectors:[["textarea","macPasteWorkaround",""]],hostBindings:function(a,b){a&1&&Q("paste",function(c){return b.handlePaste(c)})},outputs:{macPasteWorkaroundActivated:"macPasteWorkaroundActivated"},standalone:!1});var GR=function(){this.activeSession=x(Ks);this.issuePermissionService=x(BF);this.window=x(RF);this.userPreferencesManager=x(NF);this.placeholderPrefix="@";this.candidateDenylist=new Set;this.isMentionAutocompleteEnabled=function(){throw Error("le");};this.getHiddenInput=function(){throw Error("le");};this.getAutocompleteUnderlay=function(){throw Error("le");};this.getTextarea=function(){throw Error("le");};this.focusOnComponent=function(){throw Error("le");};this.emitContentChange=function(){throw Error("le");
};this.autocompleteUserName=new $n("");this.autocompleteUserName$=this.autocompleteUserName.pipe(jj());this.autocompleteTop=new $n(0);this.autocompleteTop$=this.autocompleteTop.pipe(jj());this.autocompleteLeft=new $n(0);this.autocompleteLeft$=this.autocompleteLeft.pipe(jj());this.scrollPosition=0;this.taggingInProgress=new $n(!1);this.taggingInProgress$=this.taggingInProgress.pipe(jj());this.wordInfo={wordStart:0,wordEnd:0,word:""}};g=GR.prototype;
g.initialize=function(a){this.placeholderPrefix=a.placeholderPrefix;var b;this.candidateDenylist=new Set((b=a.candidateDenylist)!=null?b:[]);this.isMentionAutocompleteEnabled=a.isMentionAutocompleteEnabled;this.getHiddenInput=a.getHiddenInput;this.getAutocompleteUnderlay=a.getAutocompleteUnderlay;this.getTextarea=a.getTextarea;this.focusOnComponent=a.focusOnComponent;this.emitContentChange=a.emitContentChange};
g.findWordAroundCursor=function(){var a=this.getTextarea().selectionStart;this.wordInfo=b1a(this.getTextarea().value,a!=null?a:0)};g.textAreaContainerElKeyDown=function(a){a.key==="Escape"&&(this.taggingInProgress.next(!1),this.focusOnComponent())};
g.textAreaKeyDown=function(a){if(rUc(a)&&this.taggingInProgress.value&&this.isMentionAutocompleteEnabled()&&this.taggingInProgress.value){a==null||a.preventDefault();var b;(b=this.getHiddenInput())==null||b.focus();b=a.code;var c=a.key,d=a.keyCode,e=a.which;a=new KeyboardEvent("keydown",{charCode:a.charCode,metaKey:a.metaKey,type:a.type,code:c==="Enter"?"Tab":b,key:c==="Enter"?"Tab":c,keyCode:c==="Enter"?9:d,which:c==="Enter"?9:e});var f;(f=this.getHiddenInput())==null||f.dispatchEvent(a)}};
g.textAreaKeyUp=function(a){if(!rUc(a))if(a=a.target,this.scrollPosition=a.scrollTop,this.findWordAroundCursor(),e1a(this,this.wordInfo.word)){a=a.selectionStart;if(this.isMentionAutocompleteEnabled()&&!this.taggingInProgress.value){var b=this.getAutocompleteUnderlay();if(b){b.textContent=this.getTextarea().value;var c=this.getAutocompleteUnderlay(),d=this.getTextarea(),e="height width font-family margin line-height padding border".split(" ");if(c&&d){d=this.window.getComputedStyle(d);e=l(e);for(var f=
e.next();!f.done;f=e.next()){f=f.value;var h=d.getPropertyValue(f);c.style.setProperty(f,h)}}this.synchronizeScrolling()}b=b==null?void 0:b.firstChild;c=b==null?void 0:b.textContent;b&&c&&a&&(c=new Range,c.setStart(b,a),c.setEnd(b,a),a=document.createElement("span"),c.deleteContents(),c.insertNode(a),b=a.getBoundingClientRect(),this.autocompleteTop.next(b.top),this.autocompleteLeft.next(b.left),a.remove())}this.taggingInProgress.next(!0);if(this.isMentionAutocompleteEnabled()){this.autocompleteUserName.next(this.wordInfo.word.slice(this.placeholderPrefix.length));
var k;(k=this.getHiddenInput())==null||k.dispatchEvent(new KeyboardEvent("keydown"))}}else this.taggingInProgress.next(!1)};var rUc=function(a){return a.key==="ArrowDown"||a.key==="ArrowUp"||a.key==="Enter"||a.key==="Escape"||a.key==="Tab"};GR.prototype.synchronizeScrolling=function(){var a=this.getAutocompleteUnderlay(),b=this.getTextarea();a&&b&&(a.scrollTop=b.scrollTop)};
GR.prototype.escapeKeyupAnywhere=function(a){var b=a.key;a=a.target.classList.contains("autocomplete-hidden-input");b==="Escape"&&a&&(this.taggingInProgress.next(!1),this.focusOnComponent())};var e1a=function(a,b){if(b===a.placeholderPrefix)return!0;if(!b.startsWith(a.placeholderPrefix))return!1;b=b.slice(a.placeholderPrefix.length);return a.candidateDenylist.has(b)?!1:vjc.test(b)&&!ujc.test(b)};GR.\u0275fac=function(a){return new (a||GR)};GR.\u0275prov=Dg({token:GR,factory:GR.\u0275fac});
var $0a=/[\s,]/gu,a1a=/[\s,]|$/u;var sUc=["textarea"],tUc=["hiddenInput"],uUc=["autocompleteUnderlay"],HR=function(){Z.apply(this,arguments);var a=this;this.codefont=x(PF);this.activeSession=x(Ks);this.issuePermissionService=x(BF);this.autocompleteLogic=x(GR);this.userPreferencesManager=x(NF);this.autocompleteConfigService=x(wP);this.darkmodeService=x(vP);this.refresh$=this.darkmodeService.clientDarkmode$.pipe(C(function(){}));this.textareaClass=[];this.isLiteralModeSupported=this.enableMentionsAutocomplete=this.canEditIssuesInComponent=
this.disabled=!1;this.contentChange=new iE;this.focus=new iE;this.blur=new iE;this.autoResize=new iE;this.manualResize$=new iE;this.autocompleteTop$=this.autocompleteLogic.autocompleteTop$;this.autocompleteLeft$=this.autocompleteLogic.autocompleteLeft$;this.taggingInProgress$=this.autocompleteLogic.taggingInProgress$;this.autocompleteUserName$=this.autocompleteLogic.autocompleteUserName$;this.sessionOptions=(new xt).setFilter(NPc);this.isCreateCommentFormatLiteral=!1;this.shouldShowMentionsNotSupportedWarning$=
this.autocompleteLogic.taggingInProgress$.pipe(C(function(b){return a.enableMentionsAutocomplete&&Bx(a.activeSession)?!(a.issueId?a.issuePermissionService.hasAclToEdit():a.canEditIssuesInComponent)&&b:!1}))};Y(HR,Z);HR.\u0275dir=Z.\u0275dir;HR.prototype.getConfig=function(){return AYa(this.autocompleteConfigService)};
HR.prototype.ngOnChanges=function(){var a=this;this.autocompleteLogic.initialize({placeholderPrefix:"@",isMentionAutocompleteEnabled:function(){return a.isMentionAutocompleteEnabled()},getTextarea:function(){return a.getTextarea()},focusOnComponent:function(){a.focusOnComponent()},emitContentChange:function(){a.emitContentChange()},getHiddenInput:function(){var b;return(b=a.hiddenInputRef)==null?void 0:b.nativeElement},getAutocompleteUnderlay:function(){var b;return(b=a.autocompleteUnderlayRef)==
null?void 0:b.nativeElement}})};HR.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.codefont.codefont$.subscribe(function(b){b?a.getTextarea().classList.add("codefont"):a.getTextarea().classList.remove("codefont")}));this.subscriptions.add(this.userPreferencesManager.isCreateCommentFormatLiteral$.subscribe(function(b){a.isCreateCommentFormatLiteral=b}));vUc(this)};
var vUc=function(a){si([a.taggingInProgress$,a.autocompleteUserName$]).pipe(ij(0),tj(a.destroyed$)).subscribe(function(b){var c=l(b);b=c.next().value;c=c.next().value;if(b){var d;if((d=a.hiddenInputRef)==null?0:d.nativeElement)if(d=a.hiddenInputRef.nativeElement,d.value!==c){d.value=c;var e;(e=a.hiddenInputRef)==null||e.nativeElement.dispatchEvent(new Event("input"))}}})};g=HR.prototype;g.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.focus.complete();this.blur.complete();this.manualResize$.complete()};
g.emitContentChange=function(){this.contentChange.emit(this.getTextarea().value)};g.focusOnComponent=function(){this.getTextarea().focus()};g.setValue=function(a){this.getTextarea().value!==a&&(this.getTextarea().value=a,this.manualResize$.next())};g.getTextarea=function(){return this.textareaRef.nativeElement};g.textAreaContainerElKeyDown=function(a){this.autocompleteLogic.textAreaContainerElKeyDown(a)};g.textAreaKeyDown=function(a){this.autocompleteLogic.textAreaKeyDown(a)};g.textAreaKeyUp=function(a){this.autocompleteLogic.textAreaKeyUp(a)};
g.escapeKeyupAnywhere=function(a){this.autocompleteLogic.escapeKeyupAnywhere(a)};g.synchronizeScrolling=function(){this.autocompleteLogic.synchronizeScrolling()};var wUc=function(a){setTimeout(function(){a.autocompleteLogic.taggingInProgress.next(!1)})};
HR.prototype.isMentionAutocompleteEnabled=function(){return this.isLiteralModeSupported&&this.isCreateCommentFormatLiteral||!this.enableMentionsAutocomplete?!1:Bx(this.activeSession)?this.issueId?this.issuePermissionService.hasAclToEdit():this.canEditIssuesInComponent:!0};HR.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(HR)))(b||HR)}}();
HR.\u0275cmp=F({type:HR,selectors:[["b-comment-draft-textarea"]],viewQuery:function(a,b){a&1&&(ek(sUc,7),ek(tUc,5),ek(uUc,5));if(a&2){var c;ik(c=jk())&&(b.textareaRef=c.first);ik(c=jk())&&(b.hiddenInputRef=c.first);ik(c=jk())&&(b.autocompleteUnderlayRef=c.first)}},hostBindings:function(a,b){a&1&&Q("click",function(){return wUc(b)},Sla)("keyUp",function(c){return b.escapeKeyupAnywhere(c)},Sla)},inputs:{textareaClass:"textareaClass",disabled:"disabled",placeholder:"placeholder",idForAriaLabel:"idForAriaLabel",
audience:"audience",issueId:"issueId",canEditIssuesInComponent:"canEditIssuesInComponent",enableMentionsAutocomplete:"enableMentionsAutocomplete",isLiteralModeSupported:"isLiteralModeSupported"},outputs:{contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize"},standalone:!1,features:[Bk([GR]),xj,$w],decls:13,vars:22,consts:[["commentBoxContainer",""],["textarea",""],["hiddenInput",""],["autocompleteUnderlay",""],[1,"pos-rel","comment-box-container",3,"keydown"],["aria-label",
"Comment box - add your comment","cdkFocusInitial","","macPasteWorkaround","",3,"input","focus","blur","onAutoResize","keydown","keyup","scroll","autoResize","disabled"],[1,"bv2-literal-mode-warning"],["id","mentions-warning","role","alert",1,"bv2-validation-error-banner"],[1,"autocomplete-input-container"],[3,"refreshable"],["contentEditable","true",1,"autocomplete-underlay"],[1,"bv2-literal-mode-warning-icon"],["svgIcon","verified_user_24px",1,"icon-xxs"],["href","http://go/buganizer-literal-mode",
"target","_blank"],[1,"bv2-validation-error"],["type","text","tabIndex","-1","inert","","autocomplete","off","spellcheck","off","peoplekitAutocomplete","",1,"autocomplete-hidden-input",3,"peoplekitAutocompleteSelectionChange","peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","peoplekitAutocompleteInputSearchDelay"]],template:function(a,b){if(a&1){var c=y();L(0,"div",4,0);Q("keydown",function(d){z(c);return B(b.textAreaContainerElKeyDown(d))});L(2,"textarea",5,1);Q("input",function(){z(c);
return B(b.emitContentChange())})("focus",function(d){z(c);return B(b.focus.emit(d))})("blur",function(d){z(c);return B(b.blur.emit(d))})("onAutoResize",function(d){z(c);return B(b.autoResize.emit(d))})("keydown",function(d){z(c);return B(b.textAreaKeyDown(d))})("keyup",function(d){z(c);return B(b.textAreaKeyUp(d))})("scroll",function(){z(c);return B(b.synchronizeScrolling())});M();I(4,c1a,8,0,"div",6);I(5,d1a,3,0,"div",7);W(6,"async");L(7,"span",8);W(8,"async");W(9,"async");I(10,g1a,1,1,null,9);
W(11,"async");M();I(12,h1a,2,0,"div",10);M()}a&2&&(E(2),sk(b.textareaClass),K("autoResize",b.manualResize$)("disabled",b.disabled),Hj("placeholder",b.placeholder)("id",b.idForAriaLabel),E(2),J(b.isLiteralModeSupported&&b.isCreateCommentFormatLiteral?4:-1),E(),J(X(6,14,b.shouldShowMentionsNotSupportedWarning$)?5:-1),E(2),qk("top",X(8,16,b.autocompleteTop$)+"px")("left",X(9,18,b.autocompleteLeft$)+"px"),E(3),J(b.isMentionAutocompleteEnabled()&&X(11,20,b.taggingInProgress$)?10:-1),E(2),J(b.isMentionAutocompleteEnabled()?
12:-1))},dependencies:[EA,ML,sQ,ER,FR,py],styles:["textarea.banned-words-warning[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-gfx)}.bv2-literal-mode-warning[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg);margin-bottom:12px;margin-top:8px;padding:8px}.bv2-literal-mode-warning-icon[_ngcontent-%COMP%]{display:inline;font-weight:bold;color:#1967d2;color:var(--primary-c700);margin-right:16px}/*# sourceMappingURL=comment_draft_textarea.css.map */"],changeDetection:0});var IR=function(){Z.apply(this,arguments);var a=this;this.cdr=x(jE,{self:!0});this.ref=x(Ph);this.events=x(EB);this.previewDisabled=!1;this.selectedIndex=0;this.render=function(){var b=a.matTabGroup;b._tabHeader&&b._tabHeader._alignInkBarToSelectedTab();a.cdr.markForCheck()}};Y(IR,Z);IR.\u0275dir=Z.\u0275dir;IR.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.events.commentSubmitted.subscribe(function(){a.matTabGroup.selectedIndex=0}))};
IR.prototype.synchronizeHeight=function(a){this.ref.nativeElement.querySelector("mat-tab-group").style.height=a+8+48+"px"};IR.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(IR)))(b||IR)}}();
IR.\u0275cmp=F({type:IR,selectors:[["b-comment-draft-tab-group"]],viewQuery:function(a,b){a&1&&ek(kM,7);if(a&2){var c;ik(c=jk())&&(b.matTabGroup=c.first)}},inputs:{editArea:"editArea",previewArea:"previewArea",previewDisabled:"previewDisabled"},standalone:!1,features:[Bk([jE]),xj],decls:5,vars:5,consts:[[1,"small","no-border",3,"animationDone","selectedIndexChange","dynamicHeight","selectedIndex"],["label","Edit"],[4,"ngTemplateOutlet"],["label","Preview",3,"disabled"]],template:function(a,b){a&1&&
(L(0,"mat-tab-group",0),Q("animationDone",function(){setTimeout(b.render,2E3)})("selectedIndexChange",function(c){return b.selectedIndex=c}),L(1,"mat-tab",1),G(2,i1a,1,0,"ng-container",2),M(),L(3,"mat-tab",3),G(4,j1a,1,0,"ng-container",2),M()());a&2&&(K("dynamicHeight",!1)("selectedIndex",b.selectedIndex),E(2),K("ngTemplateOutlet",b.editArea),E(),K("disabled",b.previewDisabled),E(),K("ngTemplateOutlet",b.previewArea))},dependencies:[oy,oM,jM,kM],styles:["[_nghost-%COMP%]     mat-tab-header{margin-left:8px;margin-bottom:16px}/*# sourceMappingURL=comment_draft_tab_group.css.map */"],
changeDetection:0});
var JR=function(){Z.apply(this,arguments);this.codefont=x(PF);this.ngZone=x(Kk);this.prefs=x(NF);this.hotkeys=x(BL);this.isMarkdown$=this.prefs.lastPublishFormattingMode$.pipe(C(function(a){return a==="MARKDOWN"}));this.idPrefix="b-draft";this.content="";this.textareaClass=[];this.disabled=!1;this.audience="EXTERNAL";this.isLiteralModeSupported=this.enableMentionsAutocomplete=this.canEditIssuesInComponent=!1;this.init=new iE;this.contentChange=new iE;this.focus=new iE;this.blur=new iE;this.autoResize=
new iE;this.onSubmit=new iE};Y(JR,Z);JR.\u0275dir=Z.\u0275dir;JR.prototype.ngOnChanges=function(){this.commentDraftTextarea&&this.commentDraftTextarea.setValue(this.content)};
JR.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 xUc=function(a){a.ngZone.run(function(){if(a.commentDraftTabGroup){var b=a.commentDraftTabGroup;b.selectedIndex=0;b.render()}a.commentDraftTextarea&&a.commentDraftTextarea.focusOnComponent()})};JR.prototype.synchronizeHeight=function(a){this.commentDraftTabGroup&&this.commentDraftTabGroup.synchronizeHeight(a.newHeight)};JR.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(JR)))(b||JR)}}();
JR.\u0275cmp=F({type:JR,selectors:[["b-comment-draft"]],viewQuery:function(a,b){a&1&&(ek(HR,5),ek(IR,5));if(a&2){var c;ik(c=jk())&&(b.commentDraftTextarea=c.first);ik(c=jk())&&(b.commentDraftTabGroup=c.first)}},inputs:{content:"content",textareaClass:"textareaClass",disabled:"disabled",placeholder:"placeholder",audience:"audience",idForAriaLabel:"idForAriaLabel",issueId:"issueId",canEditIssuesInComponent:"canEditIssuesInComponent",enableMentionsAutocomplete:"enableMentionsAutocomplete",isLiteralModeSupported:"isLiteralModeSupported"},
outputs:{init:"init",contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize",onSubmit:"onSubmit"},standalone:!1,features:[xj,$w],decls:2,vars:13,consts:[[3,"autoResize","keydown.control.enter","keydown.meta.enter","textareaClass","disabled","placeholder","idForAriaLabel","audience","issueId","canEditIssuesInComponent","enableMentionsAutocomplete","isLiteralModeSupported"]],template:function(a,b){a&1&&(L(0,"b-comment-draft-textarea",0),W(1,"async"),Q("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()}),M());a&2&&(rk("draft-markdown",X(1,11,b.isMarkdown$)),K("textareaClass",b.textareaClass)("disabled",b.disabled)("placeholder",b.placeholder)("idForAriaLabel",b.idForAriaLabel)("audience",b.audience)("issueId",b.issueId)("canEditIssuesInComponent",b.canEditIssuesInComponent)("enableMentionsAutocomplete",b.enableMentionsAutocomplete)("isLiteralModeSupported",b.isLiteralModeSupported))},
dependencies:[HR,py],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)}/*# sourceMappingURL=comment_draft.css.map */"],
changeDetection:0});var yUc=["captchaContainer"],KR=function(){this.ngZone=x(Kk);this.window=x(RF);this.darkmodeService=x(vP);this.appEvents=x(EB);this.analytics=x(nE);this.onUpdate=new iE;this.destroyed$=new nj(1)};KR.prototype.ngOnInit=function(){var a=this;this.appEvents.recaptchaSubmitted.pipe(tj(this.destroyed$)).subscribe(function(){a.reset();a.onUpdate.emit("")})};
KR.prototype.ngAfterViewInit=function(){var a=this;this.onUpdate.emit("");var b;(b=this.window.recaptchaAsync)==null||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);a.analytics.trackEvent("recaptchaToken","create")})},"expired-callback":function(){a.ngZone.run(function(){a.onUpdate.emit("");a.analytics.trackEvent("recaptchaToken",
"expire")})},theme:d?"dark":"light"})})};KR.prototype.ngOnDestroy=function(){this.reset();this.destroyed$.next()};KR.prototype.reset=function(){var a=this;if(this.widgetId!==void 0){var b;(b=this.window.recaptchaAsync)==null||b.then(function(c){c.reset(a.widgetId)})}};KR.\u0275fac=function(a){return new (a||KR)};
KR.\u0275cmp=F({type:KR,selectors:[["b-recaptcha"]],viewQuery:function(a,b){a&1&&ek(yUc,5);if(a&2){var c;ik(c=jk())&&(b.captchaContainer=c.first)}},outputs:{onUpdate:"onUpdate"},standalone:!1,decls:2,vars:0,consts:[["captchaContainer",""]],template:function(a){a&1&&N(0,"div",null,0)},encapsulation:2});var LR=function(){var a=this;this.checks=[];this.didTriggerBeforeUnloadHandler=!1;this.beforeUnloadEventHandler=function(b){if(a.checks.some(function(c){return c.dataChanged()}))return a.didTriggerBeforeUnloadHandler=!0,b.preventDefault(),b.returnValue="","You have unsaved changes in your form.";a.didTriggerBeforeUnloadHandler=!1};this.onUnload=function(){if(a.didTriggerBeforeUnloadHandler){var b;(b=a.didConfirm)==null||b.call(a)}};window.addEventListener("beforeunload",this.beforeUnloadEventHandler);
window.addEventListener("unload",this.onUnload)};LR.prototype.ngOnDestroy=function(){this.checks=[];window.removeEventListener("beforeunload",this.beforeUnloadEventHandler);window.removeEventListener("unload",this.onUnload)};var MR=function(a,b,c){var d={dataChanged:b,triggerOnSearch:c};a.checks.push(d);return new Yh(function(){a.checks=a.checks.filter(function(e){return e!==d})})};
LR.prototype.canDeactivate=function(a,b,c,d){a:{a=Kr(c.url).getPath()===Kr(d.url).getPath();b=l(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?zUc(this)?(this.checks=[],!0):!1:!0};var zUc=function(a){var b=window.confirm("You have unsaved changes; are you sure you want to navigate away without saving?");if(b){var c;(c=a.didConfirm)==null||c.call(a)}return b};
LR.\u0275fac=function(a){return new (a||LR)};LR.\u0275prov=Dg({token:LR,factory:LR.\u0275fac,providedIn:"root"});var AUc=function(a){return[a]},NR=function(){this.matDialog=x(eI)};
NR.prototype.show=function(a){var b=a.issueId;var c=a.audience;var d=a.componentId;var e=a.text===void 0?"":a.text;var f=a.formattingMode===void 0?"PLAIN":a.formattingMode;var h=a.commentNumber;var k=a.dialogTitle;this.dialog=this.matDialog.open(OR,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{issueId:b,componentId:d,audience:c,commentNumber:h,text:e,formattingMode:f,dialogTitle:k!=null?k:"Editing Comment #"+h+" of Issue "+b,showPiiWarning:a.showPiiWarning===void 0?!0:a.showPiiWarning}});
return pi(ZH(this.dialog))};NR.\u0275fac=function(a){return new (a||NR)};NR.\u0275prov=Dg({token:NR,factory:NR.\u0275fac,providedIn:"root"});
var OR=function(){Z.apply(this,arguments);this.activeSession=x(Ks);this.originalData=x(dI);this.dialogRef=x(YH);this.bannedWordsChecker=x(LP);this.checkBeforeExit=x(LR);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=this.activeSession.userRequiresCaptcha();this.recaptchaResponse="";this.dataDraft=Object.assign({},
this.originalData)};Y(OR,Z);OR.\u0275dir=Z.\u0275dir;g=OR.prototype;g.ngOnInit=function(){var a=this;this.subscriptions.add(MR(this.checkBeforeExit,function(){return a.isModified()},!1));this.dialogRef.keydownEvents().pipe(tj(this.destroyed$)).subscribe(function(b){b.key==="Escape"&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(tj(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};g.closeIfUnmodified=function(){this.isModified()||this.dialogRef.close()};
g.isCaptchaValid=function(){return!this.enableRecaptcha||this.recaptchaResponse!==""};g.isModified=function(){return!vd(this.dataDraft,this.originalData)};
g.closeDialogForSave=function(){var a=this,b,c,d;return v(function(e){if(e.nextAddress==1)return a.isModified()?w(e,a.bannedWordsChecker.check(a.dataDraft.text,a.dataDraft.audience==="EXTERNAL",a.dataDraft.componentId),2):e.return();(b=e.yieldResult)?(d={text:a.dataDraft.text,formattingMode:a.dataDraft.formattingMode},a.enableRecaptcha&&(d.recaptchaToken=a.recaptchaResponse),a.dialogRef.close(d)):(c=a.commentDraft)==null||xUc(c);ji(e)})};
OR.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(OR)))(b||OR)}}();
OR.\u0275cmp=F({type:OR,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&ek(JR,5);if(a&2){var c;ik(c=jk())&&(b.commentDraft=c.first)}},standalone:!1,features:[Bk([LP]),xj],decls:18,vars:27,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],[3,"contentChange","onSubmit","content","audience","textareaClass","enableMentionsAutocomplete","isLiteralModeSupported"],[1,"banned-words-warning","break-word"],[1,"inline-block",3,"change","initialValue"],[3,"comment","issueId","audience",
"formattingMode"],["mat-dialog-actions",""],["type","button","mat-button","",3,"mat-dialog-close"],["type","button","mat-flat-button","",1,"save",3,"click","disabled","color"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],[1,"recaptcha-container"],[3,"onUpdate"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1),M(),L(2,"section",
1),I(3,k1a,6,1,"p",2),L(4,"b-comment-draft",3),W(5,"async"),xk("contentChange",function(c){wk(b.dataDraft.text,c)||(b.dataDraft.text=c);return c}),Q("onSubmit",function(){return b.closeDialogForSave()})("contentChange",function(){b.bannedWordsChecker.reset()}),M(),I(6,l1a,4,1,"p",4),W(7,"async"),L(8,"b-markdown-toggle",5),Q("change",function(c){return b.dataDraft.formattingMode=c}),M(),I(9,m1a,1,4,"b-live-preview",6),M(),I(10,n1a,3,0,"section"),L(11,"footer",7)(12,"button",8),U(13," Cancel "),M(),
L(14,"button",9),W(15,"async"),Q("click",function(){return b.closeDialogForSave()}),U(16),W(17,"async"),M()());a&2&&(E(),tk(b.originalData.dialogTitle),E(2),J(b.originalData.showPiiWarning?3:-1),E(),vk("content",b.dataDraft.text),K("audience",b.originalData.audience)("textareaClass",Dk(25,AUc,X(5,17,b.bannedWordsChecker.showWarning$)?"banned-words-warning":""))("enableMentionsAutocomplete",!0)("isLiteralModeSupported",!1),E(2),J(X(7,19,b.bannedWordsChecker.showWarning$)?6:-1),E(2),rk("margin-bottom",
(b.dataDraft==null?null:b.dataDraft.formattingMode)!==b.MARKDOWN),K("initialValue",b.originalData.formattingMode),E(),J(b.dataDraft.formattingMode===b.MARKDOWN?9:-1),E(),J(b.enableRecaptcha?10:-1),E(2),K("mat-dialog-close",void 0),E(2),K("disabled",!b.isModified()||!b.isCaptchaValid())("color",X(15,21,b.bannedWordsChecker.showWarning$)?"warn":"primary"),E(2),V(" ",X(17,23,b.bannedWordsChecker.showWarning$)?"Save Anyway":"Save"," "))},dependencies:[fI,hI,jI,iI,dA,aA,qL,gK,JR,KR,py],styles:[".recaptcha-container[_ngcontent-%COMP%]{float:right;padding-top:8px}.banned-words-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-text)}\n/*# sourceMappingURL=edit_comment_dialog.css.map */"],
changeDetection:0});var PR=function(){this.dismissalService=x(UO);this.editIssueService=x(XI);this.butterBar=x(MA);this.issuePermissionService=x(BF);this.issueCommentService=x(jR);this.editCommentDialogService=x(NR);this.issueFullFridge=x(pE);this.matDialogService=x(eI);this.paths=x(TO);this.analytics=x(nE);this.domSafe=x(SF);this.confirmationDialogService=x(lI);this.issueComments=x(CI);this.errorHandler=x(PA);this.eventsForIssueFridge=x(wD);this.componentFridge=x(AB);this.commentFormatter=x(KF);this.confirmNoAccessService=
x(EI);this.activeSession=x(Ks);this.appEvents=x(EB);this.issuePicker=x(ZQ);this.eventsForIssueWatcher=x(DR);this.issueInteractionsTracking=x(TI)},C9a=function(a,b,c){var d,e,f,h,k,q,u,A,D,H;return v(function(O){if(O.nextAddress==1)return w(O,pi(a.issueFullFridge.watch(b)),2);if(O.nextAddress!=3){d=O.yieldResult;h=(f=(e=d)==null?void 0:e.snapshot[0].componentId)!=null?f:void 0;k=a.editIssueService.savingState(b);if(k.get("commentEdit"))return O.return();q=c.commentNumber;if(!q)return O.return();a.butterBar.dismiss();
A=(u=a.issuePermissionService.audience())!=null?u:"EXTERNAL";return w(O,a.editCommentDialogService.show({issueId:b,audience:A,componentId:h,text:(D=c.unlinkifiedComment)!=null?D:void 0,formattingMode:c.formattingMode,commentNumber:q}),3)}H=O.yieldResult;if(H==null)return O.return();DRc(a.issueCommentService,{issueId:b,newCommentId:q,newComment:H.text,newCommentFormattingMode:H.formattingMode,recaptchaToken:H.recaptchaToken});ji(O)})},CUc=function(a,b,c){var d,e,f;return v(function(h){if(h.nextAddress==
1)return c?w(h,BUc(a,b),2):h.return();if(h.nextAddress!=3)return d={title:"Choose target issue",defaultChoices:h.yieldResult,allowMultipleIds:!1,currentResource:{id:b,type:"issue"},edgeType:"copyComment"},w(h,a.issuePicker.open(d),3);e=h.yieldResult;if((f=e)==null?0:f.length){var k=Jq(e[0],{template_issue:b,template_comment:c,do_attribution:!0});a.analytics.trackEvent("editIssue","copyComment");a.domSafe.openInNewTab(k)}ji(h)})},BUc=function(a,b){function c(ia){return D.get(ia)}var d,e,f,h,k,q,u,
A,D,H,O,P,S,aa;return v(function(ia){if(ia.nextAddress==1)return w(ia,pi(a.issueFullFridge.watch(b)),2);if(ia.nextAddress!=3){d=ia.yieldResult;if(!d)return ia.return([]);f=(e=d.snapshot[0].duplicateIssueId)!=null?e:[];k=(h=d.snapshot[0].blockingIssueId)!=null?h:[];u=(q=d.snapshot[0].blockedByIssueId)!=null?q:[];return w(ia,pi(a.issueFullFridge.watchSet(oo([].concat(p(f),p(k),p(u))))),3)}A=ia.yieldResult;D=new Map(A.map(function(la){return[la.issueId,la]}));H=u.map(c).filter(fe).map(o1a("BLOCKED_BY"));
O=k.map(c).filter(fe).map(o1a("BLOCKING"));P=f.map(c).filter(fe).map(o1a("DUPLICATE"));S=[].concat(p(H),p(O),p(P));aa=p1a(S);return ia.return(aa)})},EUc=function(a,b,c){var d;return v(function(e){return e.nextAddress==1?c?w(e,jDc(a.confirmationDialogService,{title:"Restore comment # "+c+"?",content:md("Are you sure you want to restore this comment?")}),2):e.return():(d=e.yieldResult)?w(e,DUc(a,b,c),0):e.return()})},DUc=function(a,b,c){var d,e;return v(function(f){switch(f.nextAddress){case 1:d=a.editIssueService.savingState(b);
if(d.get("commentUndelete"))return f.return();hq(a.butterBar,"Restoring comment...",0);ei(f,2,3);iq(d,"commentUndelete");return w(f,a.issueComments.undelete(b,c),5);case 5:hq(a.butterBar,"Comment restored successfully.");case 3:fi(f);VI(d,"commentUndelete");a.issueFullFridge.poke(b);a.eventsForIssueFridge.poke(b);hi(f,0);break;case 2:e=ii(f),hq(a.butterBar,"Comment restoration failed."),RA(a.errorHandler,e),f.jumpTo(3)}})},HUc=function(a,b,c,d){var e,f,h,k;return v(function(q){if(q.nextAddress==1){if(!c)return q.return();
e=a.editIssueService.savingState(b);return e.get("commentDelete")?q.return():w(q,FUc(a,b),2)}return q.nextAddress!=3?(f=q.yieldResult,a.butterBar.dismiss(),w(q,pi(ZH(a.matDialogService.open(xOc,{width:"560px",data:{commentNumber:c,issueId:b,deletionReasons:f}}))),3)):(h=q.yieldResult)?w(q,GUc(a,b,c,h.value,(k=d)!=null?k:""),0):q.jumpTo(0)})},GUc=function(a,b,c,d,e){var f,h;return v(function(k){switch(k.nextAddress){case 1:f=a.editIssueService.savingState(b);if(f.get("commentDelete"))return k.return();
ei(k,2,3);hq(a.butterBar,"Deleting comment...",0);iq(f,"commentDelete");return w(k,a.issueComments.delete(b,c,d,e),5);case 5:hq(a.butterBar,"Comment deleted. Deleted items may be restored within 30 days."),a.eventsForIssueFridge.poke(b);case 3:fi(k);VI(f,"commentDelete");a.issueFullFridge.poke(b);hi(k,0);break;case 2:h=ii(k),hq(a.butterBar,"Comment deletion failed."),RA(a.errorHandler,h),k.jumpTo(3)}})},FUc=function(a,b){var c,d,e,f,h,k,q,u;return v(function(A){switch(A.nextAddress){case 1:return w(A,
pi(a.issueFullFridge.watch(b,{trustUncertainMemory:!0})),2);case 2:c=A.yieldResult;e=((d=c)==null?void 0:d.snapshot[0].componentId)||void 0;if(!e){f=void 0;A.jumpTo(3);break}return w(A,pi(a.componentFridge.watch(e)),4);case 4:f=A.yieldResult;case 3:return h=f,k=new oUc("Other","USER_REQUEST"),h&&h.commentEditState!=="DISABLED"||(k.enabled=!1,k.disabledReason="comment editing must be enabled"),q=new oUc("Spam or Abuse","ABUSE"),a.issuePermissionService.accessLevel()!=="EXTERNAL_PUBLIC"&&(q.enabled=
!1,q.disabledReason="available on Public components"),u=new oUc("Personally Identifiable Information","RESTRICTED"),A.return([u,q,k])}})},IUc=function(a,b,c){var d,e;return v(function(f){if(f.nextAddress==1)return d=AF(a.issuePermissionService,Jd(c.userPerformingActionUser)),a.analytics.trackEvent("restrictedContent","updateContentJudgement","comment"),w(f,a.showContentJudgementDialog({severity:pn(c.commentContentVerdict),resourcePath:"issues/"+b+"/comments/"+c.commentNumber,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||
d}),2);if(e=f.yieldResult)c.commentContentVerdict={piiVerdict:{severity:e.contentJudgement.severity}},a.issueFullFridge.poke(b),a.eventsForIssueFridge.poke(b),rE(a.issueFullFridge,[b],{markRead:!0,userActivityType:"EDIT"});ji(f)})};PR.prototype.showContentJudgementDialog=function(a){return pi(ZH(this.matDialogService.open(hR,{panelClass:"no-jitter",width:"500px",data:a})))};
var JUc=function(a,b,c){var d;return v(function(e){if(e.nextAddress==1)return w(e,pi(ZH(a.matDialogService.open(iR,{width:"500px",data:{resource:b,piiRetention:c}}))),2);d=e.yieldResult;return e.return(d===1)})},KUc=function(a,b,c,d){var e;v(function(f){if(f.nextAddress==1){if(d==null)return f.return();a.analytics.trackEvent("restrictedContent","updateContentJudgement","attachment");return w(f,a.showContentJudgementDialog({severity:pn(d.contentVerdict),resourcePath:"issues/"+b+"/attachments/"+d.attachmentId,
hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||c}),2)}if(e=f.yieldResult)d.contentVerdict={piiVerdict:{severity:e.contentJudgement.severity}},a.issueFullFridge.poke(b),a.eventsForIssueFridge.poke(b),rE(a.issueFullFridge,[b],{markRead:!0,userActivityType:"EDIT"});ji(f)})};
PR.prototype.showDeleteAttachmentDialog=function(a,b){var c=this,d,e,f,h,k,q;v(function(u){if(u.nextAddress==1){d=c.editIssueService.savingState(a);if(d.get("deleteAttachment")||!b.attachmentId||b.attachmentId==="0")return u.return();e=pi;f=c.matDialogService;h=f.open;k=wOc;return w(u,FUc(c,a),3)}return u.nextAddress!=2?w(u,e(ZH(h.call(f,k,{width:"560px",data:{deletionReasons:u.yieldResult,attachmentId:b.attachmentId}}))),2):(q=u.yieldResult)?w(u,AFc(c.editIssueService,a,b,q.value),0):u.jumpTo(0)})};
var LUc=function(a,b){var c=b.issueId;var d=b.componentId;var e=b.comment;var f,h,k;return v(function(q){if(q.nextAddress==1){if(Bx(a.activeSession)&&!a.issuePermissionService.hasAclToEdit()||a.issuePermissionService.hasAclToEdit()&&a.issuePermissionService.isImplicitAccessEnabled())return q.return(!0);ei(q,2);var u=a.commentFormatter;var A={comment:e.value,issueId:c,audience:(f=a.issuePermissionService.audience())!=null?f:"EXTERNAL",formattingMode:e.formattingMode,idPrefix:"b"+c+"-draft"};u=A.formattingMode===
"LITERAL"||A.comment.trim()===""?li([]):qzc(u,A).pipe(C(pJa));return w(q,pi(u),4)}if(q.nextAddress!=2)return h=q.yieldResult,q.return(VDc(a.confirmNoAccessService,{componentId:d,userEmails:h,relation:"reader",analyticsEventLabel:"mention"}));k=ii(q);RA(a.errorHandler,k);return q.return(!1)})},MUc=function(a,b){b=b===void 0?"comment":b;var c,d,e;return v(function(f){if(f.nextAddress==1)return(c=a.issuePermissionService.accessLevel())&&c==="INTERNAL"||a.issuePermissionService.hasAclToEdit()||a.activeSession.isInternalSession()||
Ax(a.activeSession)?f.return(!0):w(f,a.dismissalService.isDismissed(HXa(b)),2);if(d=f.yieldResult)return f.return(!0);switch(b){case "comment":e=md("Commenting on this bug report means your email address will be shared with the team that works on this product.");break;case "reaction":e=md("Reacting to this comment means your email address will be shared with the team that works on this product.");break;default:qb(b)}return f.return(pi(ZH(a.matDialogService.open(VO,{width:"500px",data:{content:e,action:b}}))))})};
PR.prototype.submitCommentBox=function(a,b,c,d){var e=this,f,h,k,q;return v(function(u){switch(u.nextAddress){case 1:f=e.editIssueService.savingState(b);if(!e.issuePermissionService.hasAclToComment()||!aEc(c)||f.get("comment"))return u.return(!1);iq(f,"comment");h=function(){VI(f,"comment")};return w(u,LUc(e,{issueId:b,componentId:a,comment:c}),2);case 2:return k=u.yieldResult,k?w(u,MUc(e),3):(h(),u.return(!1));case 3:q=u.yieldResult;if(!q)return h(),u.return(!1);e.analytics.trackEvent("editIssue",
"addComment",c.formattingMode==="MARKDOWN"?"markdown":"non markdown");jq(e.issueInteractionsTracking,b);e.eventsForIssueWatcher.isPaused=!0;return w(u,e.editIssueService.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY.saveCommentDraft(b,d).finally(function(){h();e.appEvents.commentSubmitted.next(b)}),4);case 4:return u.return(!0)}})};
PR.prototype.showNewContentJudgementDialog=function(a){var b=this,c,d,e,f,h,k;return v(function(q){if(q.nextAddress==1)return c=b.editIssueService.issueCommentDraft(a),d=c.judgementForNewContent(),h=(f=(e=d)==null?void 0:e.severity)!=null?f:"NONE_DETECTED",w(q,b.showContentJudgementDialog({severity:h,contentJudgement:void 0,hasAclToCreate:!0}),2);(k=q.yieldResult)&&c.setJudgementForNewContent(k.contentJudgement);ji(q)})};
PR.prototype.updateCommentReaction=function(a){var b=this,c;return v(function(d){return d.nextAddress==1?a.hasReacted?w(d,MUc(b,"reaction"),3):d.jumpTo(2):d.nextAddress==2||(c=d.yieldResult,c)?d.return(b.issueComments.updateCommentReaction(a)):d.return(void 0)})};PR.\u0275fac=function(a){return new (a||PR)};PR.\u0275prov=Dg({token:PR,factory:PR.\u0275fac,providedIn:"root"});var QR=function(){this.editIssueService=x(XI);this.issuePicker=x(ZQ);this.analytics=x(nE);this.butterBar=x(MA)},NUc=function(a,b){var c,d,e,f,h,k,q;return v(function(u){if(u.nextAddress==1)return b=String(b),c=a.editIssueService.editableIssue(b),d=c.status,c.setStatus("DUPLICATE"),e={title:"Mark issue as duplicate of:",currentResource:{id:b,type:"issue"},componentId:c.componentId,allowMultipleIds:!1,edgeType:"canonical"},f=(new Date).getTime(),w(u,a.issuePicker.open(e),2);if(u.nextAddress!=3){h=u.yieldResult;
if((k=h)==null||!k.length)return c.status=d,u.return("DISMISSED");if(b===h[0])return c.status=d,a.butterBar.showWarning("Cannot set issue as a duplicate of itself"),u.return("DISMISSED");q=(new Date).getTime()-f;a.analytics.trackEvent("issuePicker","duplicate duration","<"+Math.min(2*Math.ceil(q/2E3),600)+"s",q);a.analytics.trackEvent("editIssue","setCanonicalIssue");Jwc(a.analytics,"DUPLICATE");return w(u,rFc(a.editIssueService,b,h[0]),3)}return u.return("DUPLICATE")})};
QR.\u0275fac=function(a){return new (a||QR)};QR.\u0275prov=Dg({token:QR,factory:QR.\u0275fac,providedIn:"root"});var D1a=function(a,b){return b.id},RR=function(){var a=this;this.componentFridge=x(AB);this.issueEditComponentService=x(SO);this.trackerHelpers=x(sI);this.activeSession=x(Ks);this.cdr=x(sx);this.componentId$=new nj(1);this.readOnly=!1;this.linkifyComponentNames=!0;this.showPickerOverlayAbove=!1;this.handleSave=!0;this.compactMode$=new $n(!1);this.componentChanged=new iE;this.displayValueOverride="";this.editing=!1;this.component$=this.componentId$.pipe(sj(function(b){return a.componentFridge.watch(b).pipe(rj(void 0))}));
this.isArchived$=this.component$.pipe(C(function(b){return b==null?void 0:b.archived}));this.showPublicIndicator$=this.component$.pipe(C(function(b){var c;b=b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel;return b==null||a.activeSession.isExternalSession()?!1:a.activeSession.isInternalSession()||Ax(a.activeSession)?b==="EXTERNAL_PUBLIC":!1}));this.showPartnerIndicator$=this.component$.pipe(C(function(b){var c;b=b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel;return b==null||
a.activeSession.isExternalSession()||Ax(a.activeSession)?!1:a.activeSession.isInternalSession()?b==="EXTERNAL_PARTNER":!1}));this.folder$=si([this.showPublicIndicator$,this.showPartnerIndicator$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b?{icon:"folder_shared_24px",tooltip:"Public component. Issues can be made visible to public Google Search."}:c?{icon:"folder_shared_24px",tooltip:"Partner component. Issues can be made visible to Google partners."}:Iq(a.activeSession)?
{icon:"folder_special_24px",tooltip:"This component is inside a tracker"}:{icon:"folder",tooltip:""}}),rj({icon:"folder",tooltip:""}));this.componentPath$=si([this.componentId$,this.component$,this.compactMode$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;if(d==null)return bVa({componentPathId:[b]});b=us(a.trackerHelpers,d.componentPathInfo);b=bVa(b);if(c){c=[];d=0;for(var e=b.length-1;e>=0;e--){var f=b[e],h=e===b.length-1?48:32;if(d>=h)break;var k=String(f.name),
q=void 0;if(d+[].concat(p(k)).length>h){var u=h-d;h="";k=k===void 0?"":k;u=u===void 0?48:u;h=h===void 0?"...":h;q=[].concat(p(k));q.length<=u||(k=u-[].concat(p(h)).length,k=q.slice(-k).join(""),String.prototype.trimStart!=null&&(k=k.trimStart()),k=h+k);q=!0}d+=[].concat(p(k)).length;c.unshift(Object.assign({},f,{name:k,isTruncated:q}));if(q)break}b.length>c.length&&(c[0].isSpliced=!0);b=c}return b}));this.isEmpty$=this.component$.pipe(C(function(b){return!b}));this.isThinkingAndEmpty$=si([this.componentFridge.thinking$,
this.isEmpty$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b&&c}));this.isReady$=this.isThinkingAndEmpty$.pipe(C(function(b){return!b}))};RR.prototype.ngOnInit=function(){};var J1a=function(a,b){a.editing=!1;(b=b==null?void 0:b.componentId)&&(a.handleSave?a.issueEditComponentService.updateComponent(a.issueId,b):a.componentChanged.emit(b))};
pg.Object.defineProperties(RR.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){a!=null&&this.componentId$.next(a)}},compactMode:{configurable:!0,enumerable:!0,set:function(a){this.compactMode$.next(a)}}});RR.\u0275fac=function(a){return new (a||RR)};
RR.\u0275cmp=F({type:RR,selectors:[["b-component-breadcrumb-chip"]],inputs:{componentId:"componentId",issueId:"issueId",readOnly:"readOnly",linkifyComponentNames:"linkifyComponentNames",popoutLink:"popoutLink",showPickerOverlayAbove:"showPickerOverlayAbove",handleSave:"handleSave",compactMode:"compactMode",displayValueOverride:"displayValueOverride"},outputs:{componentChanged:"componentChanged"},standalone:!1,decls:2,vars:1,consts:[["card",""],["cardBody",""],[3,"isReady"],["placeholder","Choose Component",
3,"selectedComponent","isRequired","shouldFocus","showOverlayAbove"],[1,"b-chip","squared","s"],["title","Component folder path",1,"icon-xs",3,"svgIcon","matTooltip"],[1,"component-path"],["type","button","mat-icon-button","","aria-label","Change Component","matTooltip","Change Component",1,"edit-btn"],["mat-icon-button","","aria-label","View Component (Link opens in a new window)","matTooltip","View Component","target","_blank",1,"small","pop-out-btn",3,"routerLinkObj"],["href","javascript:void(0);",
"title","Show all Components","aria-label","Show all Components","role","button",1,"subtle-link"],[4,"onedevHovercardLazyBody"],["href","javascript:void(0);","title","Show all Components","aria-label","Show all Components","role","button",1,"subtle-link",3,"click"],["aria-hidden","true"],[1,"subtle-link",3,"routerLinkObj","onedevHovercardTrigger","muted"],[1,"subtle-link",3,"routerLinkObj","onedevHovercardTrigger"],[1,"plain-component-name",3,"muted"],[1,"plain-component-name"],[3,"onedevIsHovercardReady",
"componentId"],["type","button","mat-icon-button","","aria-label","Change Component","matTooltip","Change Component",1,"edit-btn",3,"click"],["svgIcon","edit-outline",1,"icon-xxs"],["svgIcon","pop-out",1,"icon-xs"],["placeholder","Choose Component",3,"selectedComponentChange","dropdownClosed","selectedComponent","isRequired","shouldFocus","showOverlayAbove"]],template:function(a,b){a&1&&I(0,I1a,13,22,"b-async-data-placeholder",2)(1,K1a,2,6,"b-team-component-picker",3);a&2&&J(b.editing?1:0)},dependencies:[eP,
EA,gC,dA,bA,OO,xH,yH,DH,zH,YF,WF,CO,py],styles:["[_nghost-%COMP%]     b-async-data-placeholder{display:inline-block;height:22px}a[_ngcontent-%COMP%], .plain-component-name[_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%]     .mat-mdc-button-persistent-ripple, .pop-out-btn[_ngcontent-%COMP%]     .mat-mdc-button-persistent-ripple{border-radius:inherit}.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}.partner[_ngcontent-%COMP%]{background-color:#fff3e9;background-color:var(--partner-component-breadcrumb-bg);color:#202124;color:var(--partner-text);box-shadow:inset 0 0 0 2px var(--partner-component-breadcrumb-outline)}.public[_ngcontent-%COMP%]{background-color:#fff8e4;background-color:var(--public-component-breadcrumb-bg);color:#202124;color:var(--public-text);box-shadow:inset 0 0 0 2px var(--public-component-breadcrumb-outline)}.public[_ngcontent-%COMP%]   .edit-btn[_ngcontent-%COMP%], .public[_ngcontent-%COMP%]   .pop-out-btn[_ngcontent-%COMP%], .partner[_ngcontent-%COMP%]   .edit-btn[_ngcontent-%COMP%], .partner[_ngcontent-%COMP%]   .pop-out-btn[_ngcontent-%COMP%]{border-left-color:rgba(0,0,0,0)}.issue-editor-false   [_nghost-%COMP%]     .edit-btn{display:none}"],
changeDetection:0});var M1a={accessLevel:"LIMIT_NONE",title:"Default access",descriptionWithExpandedAccess:"Assignee, verifier and collaborators may edit. CCs can comment. Regular component-level permission settings apply.",descriptionNoExpandedAccess:"Issue access determined by component-level permission settings.",icon:"acl-alias-domain"},OUc={accessLevel:"LIMIT_VIEW_TRUSTED",title:"Limited visibility + Google",descriptionWithExpandedAccess:'Same as "limited visibility", but also allow Googlers to access, according to their component-level permissions.',
descriptionNoExpandedAccess:'Same as "limited visibility", but also allow Googlers to access, according to their component-level permissions.',icon:"visibility-off"},L1a=[M1a,{accessLevel:"LIMIT_APPEND",title:"Limited commenting",descriptionWithExpandedAccess:"Only the assignee, verifier and collaborators may edit. CCs can comment. Issue admins retain full access. Visibility is unchanged.",descriptionNoExpandedAccess:"Only added users may edit or comment if their component-level permissions allow. Issue admins retain full access. Visibility is unchanged.",
icon:"comments_disabled_24px"},{accessLevel:"LIMIT_VIEW",title:"Limited visibility",descriptionWithExpandedAccess:"Only added users may access. The assignee, verifier and collaborators may edit. CCs can comment.",descriptionNoExpandedAccess:"Only added users may access. They have their normal access as defined by the component-level permissions.",icon:"visibility-off"},OUc];var SR=function(){Z.call(this);var a=this;this.defaultAccessLimitLevel$=new nj(1);this.disabled=!0;this.implicitAccessEnabled=!1;this.updatedAccessLimitLevel=new iE;this.selectedDisplay$=new $n(null);this.displays=L1a;this.disabledDropdownTooltip="Only users with Issue Admin permission can adjust restriction levels.";this.currentIssueAccessLimitLevelDisplay$=si([this.selectedDisplay$,this.defaultAccessLimitLevel$]).pipe(C(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c?c:PUc(a,d)}));
this.issueAccessLimitLevelDisplayTitle$=this.currentIssueAccessLimitLevelDisplay$.pipe(C(function(c){return c.title}));var b=x(Cj);this.defaultAccessLimitLevel$.pipe(vp(b)).subscribe(function(c){a.selectedDisplay$.next(PUc(a,c))})};Y(SR,Z);SR.\u0275dir=Z.\u0275dir;var PUc=function(a,b){a=l(a.displays);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.accessLevel===b)return c;return M1a};pg.Object.defineProperties(SR.prototype,{defaultAccessLimitLevel:{configurable:!0,enumerable:!0,set:function(a){this.defaultAccessLimitLevel$.next(a)}}});
SR.\u0275fac=function(a){return new (a||SR)};
SR.\u0275cmp=F({type:SR,selectors:[["b-issue-access-limits-dropdown"]],inputs:{defaultAccessLimitLevel:"defaultAccessLimitLevel",disabled:"disabled",implicitAccessEnabled:"implicitAccessEnabled"},outputs:{updatedAccessLimitLevel:"updatedAccessLimitLevel"},standalone:!1,features:[xj],decls:14,vars:9,consts:[["accessLimitsMenu","matMenu"],[1,"access-limits-dropdown"],["mat-button","","mat-stroked-button","","dropdown-menu-button","","type","button",1,"access-limits-dropdown-button","gmat-mdc-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"],["iconPositionEnd","","svgIcon","arrow-dropdown",1,"icon-s"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",1,"icon-s","valign-middle",3,"matTooltip"],[1,"access-limit-level-options"],["type","button","mat-menu-item","",1,"access-limit-level-option"],["type","button","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&&(L(0,"div",1)(1,"button",2),W(2,"async"),L(3,"span",3),N(4,"mat-icon",4),L(5,"span",5),U(6),W(7,"async"),M()(),N(8,"mat-icon",6),M(),I(9,O1a,1,1,"mat-icon",7),L(10,"mat-menu",8,0),Mj(12,P1a,7,3,"button",9,Lj),M()());if(a&2){var c;a=T(11);E();K("matMenuTriggerFor",a)("disabled",b.disabled);var d;Hj("aria-label","Issue Access level, "+
((d=(c=X(2,5,b.selectedDisplay$))==null?null:c.title)!=null?d:"Default access"));E(5);V(" ",X(7,7,b.issueAccessLimitLevelDisplayTitle$)," ");E(3);J(b.disabled?9:-1);E(3);Nj(b.displays)}},dependencies:[EA,dA,aA,FL,mK,kK,pK,YF,WF,py],styles:[".bv2-material.d-compact .mat-mdc-menu-item.access-limit-level-option{height:fit-content;line-height:12px}.bv2-material.d-cozy .mat-mdc-menu-item.access-limit-level-option{height:fit-content;line-height:16px}.mat-mdc-menu-panel.access-limit-level-options{min-width:320px}.mat-mdc-menu-item.access-limit-level-option{--mat-menu-item-with-icon-leading-spacing: 0px;--mat-menu-item-with-icon-trailing-spacing: 0px;height:fit-content;line-height:20px}.mat-mdc-menu-item.access-limit-level-option:focus,.mat-mdc-menu-item.access-limit-level-option:focus-within{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color}.mat-mdc-menu-item.access-limit-level-option .mat-icon.icon-s{margin-right:2px}.access-limits-dropdown{padding:5px 0px}.access-limits-dropdown mat-icon{vertical-align:middle;color:#202124;color:var(--text-default)}.access-limits-dropdown>mat-icon{padding-left:3px}.access-limits-dropdown-button:disabled{background-color:var(--disabled-bg);color:var(--text-disabled)}.access-limit-level-option{padding:5px 0px}.access-limit-level-option:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);cursor:pointer}.access-limit-level-title{padding:0px 10px;white-space:nowrap}.access-limit-level-title mat-icon{vertical-align:text-bottom}.access-limit-level-description{padding:0px 15px 0px 35px;color:#5f6368;color:var(--text-muted);white-space:normal}.access-limit-level-options mat-icon{color:#202124;color:var(--text-default)}.selected-access-limit-level-title{color:#202124;color:var(--text-default);font-size:small}.selected-access-limit-level-title-text{padding:0px 6px}\n"],
encapsulation:2});var TR=function(){Z.apply(this,arguments);var a=this;this.errorHandler=x(PA);this.activeSession=x(Ks);this.issueApi=x(vD);this.issueFullFridge=x(pE);this.componentFridge=x(AB);this.trackerFridge=x(vF);this.eventsForIssueFridge=x(wD);this.issuePermissionService=x(BF);this.snackBar=x(JA);this.dialogRef=x(YH);this.data=x(dI);this.analytics=x(nE);this.confirmationDialogService=x(lI);this.jspbPrincipalTypes=x(XE);this.defaultAccessLimitLevel="LIMIT_NONE";this.COLLABORATOR_GROUPS_TOOLTIP="Collaborator groups are trusted groups that are configured by tracker admins only. Select and add these groups if they should be given collaborator access to this issue.";
this.writers=[];this.appenders=[];this.readers=[];this.currentUserEmail=this.activeSession.getUserEmail();this.isImplicitAccessEnabled$=this.issuePermissionService.isImplicitAccessEnabled$;this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.issueId=this.data.issueId;this.issue$=this.issueFullFridge.watch(this.issueId);this.currentAccessLimitLevel$=this.issue$.pipe(C(function(b){var c;return(c=b==null?void 0:b.snapshot[0].issueAccessLimitLevel)!=null?c:a.defaultAccessLimitLevel}));
this.updatedAccessLimitLevel$=new $n(this.defaultAccessLimitLevel);this.hasAccessLimitLevelSelectionChanged$=si([this.currentAccessLimitLevel$,this.updatedAccessLimitLevel$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b!==c}));this.componentId=this.data.componentId;this.component$=this.componentFridge.watch(this.componentId);this.trackerId$=this.component$.pipe(C(function(b){return b==null?void 0:b.trackerId}));this.tracker$=this.trackerId$.pipe(sj(function(b){return b?
a.trackerFridge.watch(b):li(void 0)}));this.collaboratorGroupsEmailToDetailsMap=new Map;this.addedCollaboratorGroups=new Set;this.removedCollaboratorGroups=new Set;this.expandedAccessTooltip$=this.isImplicitAccessEnabled$.pipe(C(function(b){return b?"This component has expanded access enabled. Assignees, verifiers, and collaborators 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."}))};
Y(TR,Z);TR.\u0275dir=Z.\u0275dir;
TR.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.currentAccessLimitLevel$.subscribe(function(b){a.updatedAccessLimitLevel$.next(b);Q1a(a,b)}));this.subscriptions.add(si([this.tracker$,this.issue$]).subscribe(function(b){var c=l(b);b=c.next().value;c=c.next().value;a.updateCollaboratorGroups(b,c)}));this.subscriptions.add(this.hasAccessLimitLevelSelectionChanged$.subscribe(function(b){a.dialogRef.disableClose=b}));this.analytics.trackEvent("issueAccessLimits","view","issue_access_limits_dialog:"+
this.issueId)};
TR.prototype.updateCollaboratorGroups=function(a,b){var c=this,d,e,f,h;v(function(k){if(k.nextAddress==1){c.collaboratorGroupsEmailToDetailsMap.clear();c.addedCollaboratorGroups.clear();c.removedCollaboratorGroups.clear();if(a&&a.collaboratorGroups)for(d=l(a.collaboratorGroups),e=d.next();!e.done;e=d.next())f=e.value,f.emailAddress&&c.collaboratorGroupsEmailToDetailsMap.set(f.emailAddress,{user:f,specifiedOnIssue:!1});return b&&b.snapshot&&b.snapshot[0].collaboratorsUsers?w(k,QUc(c,b.snapshot[0].collaboratorsUsers),
3):k.jumpTo(0)}h=k.yieldResult;h.forEach(function(q){c.collaboratorGroupsEmailToDetailsMap.set(q.emailAddress,{user:q,specifiedOnIssue:!0})});ji(k)})};
var QUc=function(a,b){var c,d;return v(function(e){if(e.nextAddress==1)return c=b.map(function(f){return f.emailAddress}).filter(fe),w(e,vyc(a.jspbPrincipalTypes,c,!1),2);d=e.yieldResult;return e.return(b.filter(function(f){if(!f.emailAddress)return!1;var h;return((h=d[f.emailAddress])==null?void 0:h.principalType)==="GROUP"}))})},RUc=function(a){return a?"Expanded access on":"Expanded access off"},T1a=function(a,b){return a.addedCollaboratorGroups.size>0||a.removedCollaboratorGroups.size>0||b===
!0},Q1a=function(a,b){a.addedCollaboratorGroups.size>0&&a.analytics.trackEvent("quickAddCollaborators","update","idp_added_dryrun:"+a.issueId);a.removedCollaboratorGroups.size>0&&a.analytics.trackEvent("quickAddCollaborators","update","idp_removed_dryrun:"+a.issueId);a.issueApi.getRetainedAccessPrincipals(a.issueId,b,Array.from(a.addedCollaboratorGroups),Array.from(a.removedCollaboratorGroups)).then(function(c){a.writers=yq(c.writers);a.appenders=yq(c.appenders);a.readers=yq(c.readers)},function(c){RA(a.errorHandler,
c)})};g=TR.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,b=vq({user:{emailAddress:this.currentUserEmail}});if(this.writers.includes(b)||this.appenders.includes(b)||this.readers.includes(b))this.save();else{b="You will lose access";var c="You will no longer be able to access this issue. Are you sure you want to proceed?";this.writers.length===0&&this.appenders.length===0&&this.readers.length===0&&(b="Issue will be orphaned",c="No one will be able to access this issue. We strongly recommend maintaining at least one user with access. Are you sure you still want to proceed?");
this.confirmationDialogService.open({title:b,content:md(c),onConfirm:function(){a.save()}})}};
g.save=function(){var a=this;this.dialogRef.close();this.issueApi.updateAccessLimit(this.issueId,this.updatedAccessLimitLevel$.value,Array.from(this.addedCollaboratorGroups),Array.from(this.removedCollaboratorGroups)).then(function(){a.didSave();a.analytics.trackEvent("issueAccessLimits","update","issue_access_limits_dialog:"+a.updatedAccessLimitLevel$.value);a.addedCollaboratorGroups.size>0&&a.analytics.trackEvent("quickAddCollaborators","update","idp_added:"+a.issueId);a.removedCollaboratorGroups.size>
0&&a.analytics.trackEvent("quickAddCollaborators","update","idp_removed:"+a.issueId)},function(b){RA(a.errorHandler,b)})};g.didSave=function(){this.snackBar.open("Successfully saved access configuration",void 0,{duration:2500});this.issueFullFridge.poke(this.issueId);this.eventsForIssueFridge.poke(this.issueId)};g.onPressCancel=function(){this.dialogRef.close()};TR.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(TR)))(b||TR)}}();
TR.\u0275cmp=F({type:TR,selectors:[["b-issue-access-limits-dialog"]],hostBindings:function(a,b){a&1&&Q("keydown.escape",function(){return b.onEscape()})},standalone:!1,features:[xj],decls:38,vars:43,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","readOnly","linkifyComponentNames"],[1,"expanded-access"],[1,"expanded-access-txt"],["svgIcon","help-outline","tabindex",
"0","aria-hidden","false","aria-label","Help","role","button",1,"icon-s","valign-middle",3,"matTooltip"],[3,"updatedAccessLimitLevel","disabled","defaultAccessLimitLevel","implicitAccessEnabled"],[1,"user-display-area"],[1,"limit-users-title"],["idForInputBox","Users who can edit, comment, and view",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Users who can comment and view",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Users who can only view",3,"users",
"includeAliases","includeViewAliases"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium","close"],[1,"collaborator-groups-title"],[1,"collaborator-groups-checkboxes"],[1,"collaborator-group-checkbox",3,"id","name","checked"],[1,"collaborator-group-checkbox",3,"click","change","id","name","checked"],["type","button","mat-button","",1,"medium","cancel",3,"click"],["type","button","mat-flat-button","","color","primary",1,"medium","confirm",3,"click","disabled"],["type","button","mat-button",
"",1,"medium","close",3,"click"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"span",1),N(2,"mat-icon",2),M(),L(3,"h2",3),U(4,"Issue access level"),M()(),L(5,"mat-dialog-content")(6,"div"),N(7,"b-component-breadcrumb-chip",4),L(8,"span",5),W(9,"async"),L(10,"span",6),U(11),W(12,"async"),M(),N(13,"mat-icon",7),W(14,"async"),M()(),L(15,"b-issue-access-limits-dropdown",8),W(16,"async"),W(17,"async"),W(18,"async"),Q("updatedAccessLimitLevel",function(h){b.updatedAccessLimitLevel$.next(h);Q1a(b,h)}),M(),
I(19,S1a,8,4),W(20,"async"),L(21,"div",9)(22,"div")(23,"div",10),U(24,"Users who can edit, comment, and view"),M(),N(25,"b-multi-user-input",11),M(),L(26,"div")(27,"div",10),U(28,"Users who can comment and view"),M(),N(29,"b-multi-user-input",12),M(),L(30,"div")(31,"div",10),U(32,"Users who can only view"),M(),N(33,"b-multi-user-input",13),M()()(),L(34,"div",14),I(35,U1a,5,3),W(36,"async"),Jj(37,V1a,2,0,"button",15),M());if(a&2){E(7);K("issueId",b.issueId)("componentId",b.data.componentId)("compactMode",
!0)("popoutLink",b.manageComponentAccessRouterLink)("readOnly",!0)("linkifyComponentNames",!1);E();rk("expanded-access-on",X(9,27,b.isImplicitAccessEnabled$));E(3);var c;tk(RUc((c=X(12,29,b.isImplicitAccessEnabled$))!=null?c:!1));E(2);var d;K("matTooltip",(d=X(14,31,b.expandedAccessTooltip$))!=null?d:"");E(2);var e,f;K("disabled",!X(16,33,b.hasAclToAdmin$))("defaultAccessLimitLevel",(e=X(17,35,b.currentAccessLimitLevel$))!=null?e:b.defaultAccessLimitLevel)("implicitAccessEnabled",(f=X(18,37,b.isImplicitAccessEnabled$))!=
null?f:!1);E(4);J(b.collaboratorGroupsEmailToDetailsMap.size>0&&X(20,39,b.hasAclToAdmin$)?19:-1);E(6);K("users",b.writers)("includeAliases",!1)("includeViewAliases",!1);Hj("disabled",!0);E(4);K("users",b.appenders)("includeAliases",!1)("includeViewAliases",!1);Hj("disabled",!0);E(4);K("users",b.readers)("includeAliases",!1)("includeViewAliases",!1);Hj("disabled",!0);E(2);J(X(36,41,b.hasAclToAdmin$)?35:37)}},dependencies:[SR,EA,RR,dA,aA,jI,iI,YF,WF,zP,aG,HG,py,uy],styles:[".issue-limits-dialog-title-txt[_ngcontent-%COMP%]{padding:0 20px;font-size:1.4rem;line-height:2rem}.user-display-area[_ngcontent-%COMP%]{min-height:400px}.limit-users-title[_ngcontent-%COMP%]{font-weight:400;color:#202124;color:var(--text-default);padding-bottom:5px;font-size:1rem}.bv2-issue-limits-title[_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;font-weight:400;padding:20px 24px 0}.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(--bad-bg);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(--good-bg)}.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}.mat-mdc-checkbox[_ngcontent-%COMP%]{padding-right:5px}.collaborator-groups-title[_ngcontent-%COMP%]{padding:0 5px 5px 0;font-size:1rem}.collaborator-groups-checkboxes[_ngcontent-%COMP%]{padding:5px 10px 20px 0}div.disabled[_ngcontent-%COMP%]{color:var(--text-disabled)}.collaborator-groups-email[_ngcontent-%COMP%]{padding-right:20px}.expanded-access-txt[_ngcontent-%COMP%], .issue-limits-component-id[_ngcontent-%COMP%]{padding:5px}\n/*# sourceMappingURL=issue_access_limits_dialog.css.map */"]});
var UR=function(){this.dialog=x(eI);this.dialogRef=null};UR.prototype.open=function(a){this.dialogRef=this.dialog.open(TR,{panelClass:"no-jitter",data:a,ariaLabel:"Issue access level"})};UR.prototype.isOpen=function(){return this.dialogRef?this.dialogRef.getState()===0:!1};UR.\u0275fac=function(a){return new (a||UR)};UR.\u0275prov=Dg({token:UR,factory:UR.\u0275fac,providedIn:"root"});var VR=function(){this.buttonRef=x(Ph);this.toRefocus=!1};VR.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}))};VR.\u0275fac=function(a){return new (a||VR)};
VR.\u0275dir=$i({type:VR,selectors:[["button","disabled","","focusBack",""]],inputs:{disabled:"disabled"},standalone:!1,features:[$w]});var WR=function(){this.activeSession=x(Ks);this.cdr=x(sx);this.disabled=this.starred=!1;this.acceptInput=!0;this.starMessage="Star the issue";this.unStarMessage="Un-star the issue";this.starClicked=new iE;this.isAnonymous=this.activeSession.isAnonymous()};g=WR.prototype;g.onClick=function(a){a.stopPropagation();this.acceptInput&&(this.starClicked.emit(!!this.starred),this.cdr.markForCheck())};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};WR.\u0275fac=function(a){return new (a||WR)};
WR.\u0275cmp=F({type:WR,selectors:[["b-star-toggle"]],inputs:{starred:"starred",disabled:"disabled",acceptInput:"acceptInput",starMessage:"starMessage",unStarMessage:"unStarMessage"},outputs:{starClicked:"starClicked"},standalone:!1,decls:4,vars:7,consts:[["tooltip","matTooltip"],[1,"inline-block",3,"matTooltip"],["type","button","mat-icon-button","","focusBack","","role","checkbox",1,"small",3,"keydown.enter","click","focus","blur","disabled"],[1,"icon-s",3,"svgIcon"]],template:function(a,b){if(a&
1){var c=y();L(0,"div",1,0)(2,"button",2);Q("keydown.enter",function(d){z(c);return B(b.onEnter(d))})("click",function(d){z(c);return B(b.onClick(d))})("focus",function(){z(c);var d=T(1);return B(d.show())})("blur",function(){z(c);var d=T(1);return B(d.hide())});N(3,"mat-icon",3);M()()}a&2&&(K("matTooltip",b.getLabel()),E(2),rk("starred",b.starred),K("disabled",b.isDisabled()),Hj("aria-label",b.getAriaLabel())("aria-checked",b.starred),E(),K("svgIcon",b.starred?"star-filled":"star-empty"))},dependencies:[EA,
dA,bA,YF,WF,VR],styles:["[_nghost-%COMP%]{opacity:.9;text-align:center}[_nghost-%COMP%]:hover{opacity:1}[_nghost-%COMP%]   button.mat-mdc-icon-button[_ngcontent-%COMP%]{color:#80868b;color:var(--gfx-muted)}[_nghost-%COMP%]   button.mat-mdc-icon-button.starred[_ngcontent-%COMP%]{color:#e37400;color:var(--favorite-star)}[_nghost-%COMP%]   button.mat-mdc-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-2px;margin-right:initial}"],changeDetection:0});var YR=function(){this.activeSession=x(Ks);this.ROUTES=Hq;this.isCompact=!1;this.starClicked=new iE;this.currentUserEmail=this.activeSession.getUserEmail()};YR.prototype.ngOnInit=function(){};YR.prototype.isDirectAdmin=function(a){return a?Hd(a.adminUsers).includes(this.currentUserEmail):!1};YR.prototype.shouldShowStar=function(a){return!this.isDirectAdmin(a)&&!a.archived};YR.\u0275fac=function(a){return new (a||YR)};
YR.\u0275cmp=F({type:YR,selectors:[["hotlist-matlist-option"]],inputs:{hotlist:"hotlist",isCompact:"isCompact",starredHotlists:"starredHotlists",isSavingStar:"isSavingStar"},outputs:{starClicked:"starClicked"},standalone:!1,decls:1,vars:1,consts:[[1,"hotlist-link-and-star","flex-kids-x","align-items-center","gap-xs"],[1,"valign-middle",3,"starMessage","unStarMessage","acceptInput","starred"],[1,"spacer"],["target","_blank",1,"keep-focus-ring",3,"click","keydown.enter","matTooltip","routerLink"],["svgIcon",
"pop-out",1,"icon-s"],[1,"valign-middle",3,"starClicked","starMessage","unStarMessage","acceptInput","starred"]],template:function(a,b){a&1&&I(0,Y1a,5,5,"span",0);a&2&&J(b.hotlist?0:-1)},dependencies:[EA,bC,WR,YF,WF,py],styles:[".hotlist-link-and-star[_ngcontent-%COMP%]{height:50px}.hotlist-link-and-star[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .hotlist-link-and-star[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{height:17px;line-height:17px}.hotlist-link-and-star[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin-right:2px}.hotlist-link-and-star[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-2px}.hotlist-link-and-star[_ngcontent-%COMP%]   .spacer[_ngcontent-%COMP%]{width:24px}\n/*# sourceMappingURL=hotlist_matlist_option.css.map */"],
changeDetection:0});var SUc=function(){this.tokens=new Map};SUc.prototype.add=function(a,b){var c=this.tokens.get(a);c?c.push(b):this.tokens.set(a,[b]);return this};SUc.prototype.build=function(){var a=this,b=Array.from(this.tokens.keys()).sort();return new TUc(b.map(function(c){return{token:c,labels:a.tokens.get(c)}}))};var TUc=function(a){this.sortedEntries=a};
TUc.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};TUc.prototype.search=function(a){var b=new Set;a=l(this.match(a));for(var c=a.next();!c.done;c=a.next()){c=l(c.value.labels);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b};
var UUc=function(a,b){if(b.length===0)return new Set;for(var c=a.search(b[0]),d=1;d<b.length&&c.size>0;d++){var e=[].concat(p(a.search(b[d]))).filter(function(f){return c.has(f)});c=new Set(e)}return c};var VUc=function(a){this.hotlists=a;var b=new SUc,c=new SUc;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=((e=d.name)==null?0:e.trim())?fMa(d.name.toLowerCase()):[];e=l(f);for(f=e.next();!f.done;f=e.next())b.add(f.value,d);e=void 0;f=((e=d.description)==null?0:e.trim())?fMa(d.description.toLowerCase()):[];e=l(f);for(f=e.next();!f.done;f=e.next())c.add(f.value,d)}this.nameTokenMatcher=b.build();this.descriptionTokenMatcher=c.build();this.positions=new Map(this.hotlists.map(function(h,
k){return[h,k]}))};
VUc.prototype.search=function(a){a=a.toLowerCase();for(var b=new Set,c=l(this.hotlists),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0,f=(e=d.name)==null?void 0:e.toLowerCase(),h=void 0;e=(h=d.description)==null?void 0:h.toLowerCase();h=d.hotlistId;var k=void 0,q=void 0;(Mea(a)&&String(h).includes(a)||((k=f)==null?0:k.includes(a))||((q=e)==null?0:q.includes(a)))&&b.add(d)}a=fMa(a);c=l(UUc(this.nameTokenMatcher,a));for(d=c.next();!d.done;d=c.next())b.add(d.value);a=l(UUc(this.descriptionTokenMatcher,a));
for(c=a.next();!c.done;c=a.next())b.add(c.value);return WUc(this,b)};var WUc=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 ZR=function(){this.innerHeight$=vi(wi(function(){return li(window.innerHeight)}),yi(window,"resize").pipe(C(function(){return window.innerHeight})))};ZR.\u0275fac=function(a){return new (a||ZR)};ZR.\u0275prov=Dg({token:ZR,factory:ZR.\u0275fac,providedIn:"root"});var n2a=function(a,b){return b.hotlistId},XUc={USER:"USER",ISSUE:"ISSUE",RECOMMENDED:"RECOMMENDED"},$R=function(){Z.call(this);var a=this;this.dialogRef=x(YH);this.data=x(dI);this.paths=x(TO);this.hotlistFridge=x(EC);this.currentUserBookmarksFridge=x(JC);this.hotlistApi=x(zC);this.snackBar=x(JA);this.appEvents=x(EB);this.errorHandler=x(PA);this.userApi=x(DC);this.windowHeight=x(ZR);this.permissionsFridge=x(WE);this.activeSession=x(Ks);this.isInternalSession=this.activeSession.isInternalSession();
this.HotlistType=XUc;this.NO_ACCESS_MESSAGE="You don't have permissions to add/remove issues on this hotlist.";this.showCreateNewPane=!1;this.query$=new $n("");this.debouncedQuery$=this.query$.pipe(fj(100),rj(""));this.hotlists=[];var b;this.allHotlistIds=new Set([].concat(p(this.data.selectedHotlistIds),p((b=this.data.partiallySelectedHotlistIds)!=null?b:[])));this.selectedHotlistIds=new Set(this.data.selectedHotlistIds);this.partiallySelectedHotlistIds=new Set(this.data.partiallySelectedHotlistIds);
var c;this.selectedHotlistIdsMap=A2a((c=this.data.selectedHotlistIdsMap)!=null?c:new Map);var d;this.originalSelectedHotlistIdsMap=A2a((d=this.data.selectedHotlistIdsMap)!=null?d:new Map);z2a(this.data);this.originalIds=new Set(this.data.selectedHotlistIds);this.pristine=!0;this.saveBtnLabel="Save";this.saveBtnTooltip="Save your hotlist choices (Shift + Enter)";this.hotlistUnderEdit=new lG({name:new nG("",zp),description:new nG("")});this.starredHotlists=new CF;this.isSavingStar=new CF;this.userHotlists$=
KC(this.currentUserBookmarksFridge).pipe(C(function(e){return e.sort(x2a)}));this.issueHotlists$=this.hotlistFridge.watchSet(Array.from(this.allHotlistIds)).pipe(C(function(e){return e.sort(x2a)}));this.combineHotlistsWithPermissions=C(function(e){var f=a.permissionsFridge.watchSet(e.map(function(h){return"hotlists/"+h.hotlistId}));return e.map(function(h,k){return Object.assign({},h,{permissions$:f.pipe(C(function(q){return q[k]}))})})});this.recommendedHotlists$=this.data.recommendedHotlists$;this.hotlists$=
si([this.issueHotlists$,this.recommendedHotlists$,this.userHotlists$]).pipe(C(function(e){var f=l(e);e=f.next().value;var h=f.next().value;f=f.next().value;return[].concat(p(e.map(function(k){return Object.assign({},k,{type:"ISSUE"})})),p(h.map(function(k){return Object.assign({},k,{type:"RECOMMENDED"})})),p(f.map(function(k){return Object.assign({},k,{type:"USER"})})))}),C(lCa(function(e){return e.hotlistId})),C(function(e){return e.filter(fe)}),this.combineHotlistsWithPermissions,pj({bufferSize:1,
refCount:!0}));this.hotlistQuerySearcher$=this.hotlists$.pipe(C(function(e){return new VUc(e)}),pj({bufferSize:1,refCount:!0}));this.forceShowOverflow$=new oj;this.matchedHotlists$=si([this.debouncedQuery$,this.hotlistQuerySearcher$,this.hotlists$]).pipe(C(function(e){var f=l(e);e=f.next().value;var h=f.next().value;f=f.next().value;return e.trim()!==""?h.search(e):f}),pj({bufferSize:1,refCount:!0}));this.visibleHotlists$=si([this.matchedHotlists$,Ci(this.matchedHotlists$.pipe(C(function(){return!1})),
this.forceShowOverflow$)]).pipe(C(function(e){var f=l(e);e=f.next().value;f=f.next().value;return e.length>200&&!f?e.slice(0,200):e}),pj({bufferSize:1,refCount:!0}));this.isOverflowMode$=si([this.matchedHotlists$,this.visibleHotlists$]).pipe(C(function(e){var f=l(e);e=f.next().value;f=f.next().value;return e.length!==f.length}));this.showLoadById$=this.query$.pipe(C(function(e){e=e.trim();return!a.allHotlistIds.has(Number(e))&&Mea(e)}));this.showCreateNew$=si([this.query$,this.matchedHotlists$]).pipe(C(function(e){var f=
l(e);e=f.next().value;f=f.next().value;return y2a(e,f)}));this.compactNumberOfHotlistsToShow$=this.windowHeight.innerHeight$.pipe(C(function(e){return Math.max(1,Math.floor(e*.5/24))}),jj());this.compactNumberOfHotlistsToShow$.pipe(C(function(e){return e*24}));this.subscriptions.add(this.hotlists$.subscribe(function(e){a.hotlists=e;e=l(e);for(var f=e.next();!f.done;f=e.next())a.allHotlistIds.add(f.value.hotlistId)}))};Y($R,Z);$R.\u0275dir=Z.\u0275dir;
$R.prototype.ngOnInit=function(){var a=this;YUc(this);this.query$.pipe(tj(this.destroyed$)).subscribe(function(){a.hotlistUnderEdit.setValue({name:a.query$.value,description:""})})};
$R.prototype.onCheckboxChange=function(a,b){a.checked?this.selectedHotlistIds.add(b):this.selectedHotlistIds.delete(b);for(var c=l(this.selectedHotlistIdsMap.values()),d=c.next();!d.done;d=c.next())d=d.value,a.checked?d.add(b):d.delete(b);a=ud(this.originalIds,this.selectedHotlistIds);b=[];c=l(this.selectedHotlistIdsMap.entries());for(d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;var f=e.next().value;e=void 0;(d=ud(f,(e=this.originalSelectedHotlistIdsMap.get(d))!=null?e:new Set))&&
b.push(d)}this.pristine=!a&&b.length===0;var h;b=(h=a==null?void 0:a.added.length)!=null?h:0;var k;h=(k=a==null?void 0:a.removed.length)!=null?k:0;h=l(a?b>0&&h===0?["Add ("+b+")","Add "+b+" hotlist(s)"]:b===0&&h>0?["Remove ("+h+")","Remove "+h+" hotlist(s)"]:["Save","Save all changes ("+b+" added, "+h+" removed)"]:["Save","(No changes)"]);k=h.next().value;h=h.next().value;this.saveBtnLabel=k;this.saveBtnTooltip=h};
var hr=function(a){a.dialogRef.close({selectedHotlistIds:a.selectedHotlistIds,selectedHotlistIdsMap:a.selectedHotlistIdsMap})},u2a=function(a){var b;return(a=(b=a.hotlistUnderEdit.get("name"))==null?void 0:b.value)?a:""},ZUc=function(a){var b;return(a=(b=a.hotlistUnderEdit.get("description"))==null?void 0:b.value)?a:""},t2a=function(a){a.snackBar.open("Saving hotlist...","dismiss",{duration:0});var b=u2a(a),c=ZUc(a);a.hotlistApi.createHotlist(b,c).then(function(d){a.snackBar.open('Hotlist "'+d.name+
"'\" saved.","dismiss",{duration:3E3});var e=d.hotlistId;a.appEvents.hotlistChanged.next({hotlistId:e});a.selectedHotlistIds.add(e);a.selectedHotlistIdsMap.forEach(function(f){f.add(e)});a.dialogRef.close({selectedHotlistIds:a.selectedHotlistIds,selectedHotlistIdsMap:a.selectedHotlistIdsMap})}).catch(function(d){a.errorHandler.errorHandler(null,d)})},YUc=function(a){pi(luc(a.currentUserBookmarksFridge)).then(function(b){a.starredHotlists.clear();for(var c=l(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=l(b.bookmarkGroups);for(c=b.next();!c.done;c=b.next())for(c=l(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)})};
$R.prototype.toggleStar=function(a){var b=this,c,d,e;return v(function(f){switch(f.nextAddress){case 1:c=b.starredHotlists.has(a);d={resourceType:"HOTLIST",resourceId:a};ei(f,2,3);b.isSavingStar.add(a);if(c)return b.starredHotlists.delete(a),w(f,b.userApi.removeUserBookmark(d),3);b.starredHotlists.add(a);return w(f,b.userApi.addUserBookmark(d),3);case 3:fi(f);b.isSavingStar.delete(a);hi(f,4);break;case 2:e=ii(f);RA(b.errorHandler,e);f.jumpTo(3);break;case 4:b.appEvents.hotlistChanged.next(),b.appEvents.favoritesModified.next(),
ji(f)}})};var a2a=function(a,b){a.hotlistApi.get(b).then(function(c){a.hotlists.push(c);a.selectedHotlistIds.add(c.hotlistId);hr(a)}).catch(function(c){a.errorHandler.errorHandler(null,c)})};$R.\u0275fac=function(a){return new (a||$R)};
$R.\u0275cmp=F({type:$R,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&Q("keydown.meta.enter",function(){return hr(b)})("keydown.shift.enter",function(){return hr(b)})("keydown.control.enter",function(){return hr(b)})},standalone:!1,features:[xj],decls:11,vars:2,consts:[["createNewHotlistBtn",""],["createNewHotlistPane",""],["searchBox",""],["content",""],["tooltip","matTooltip"],["type","button","mat-button","","mat-dialog-close","","tooltip","Dismiss modal","aria-label","Dismiss modal",
"role","button",3,"click"],["type","button","mat-flat-button","","color","primary",3,"mat-dialog-close","matTooltip","disabled"],[4,"ngTemplateOutlet"],["mat-dialog-title",""],[1,"search-container"],["svgIcon","search"],["type","search","spellcheck","false","autocomplete","off","aria-label","Filter hotlists","placeholder","Type to filter hotlists from your sidebar",1,"search-box",3,"input"],["mat-dialog-content","",1,"search-results"],["type","button",1,"load-from-id-btn"],["type","button",1,"create-new-hotlist-btn"],
["type","button",1,"load-from-id-btn",3,"click"],[1,"muted"],["type","button",1,"create-new-hotlist-btn",3,"click"],[1,"grid-two-col"],["aria-label","Hotlists","role","listbox"],[1,"column-1"],[3,"matTooltip"],[1,"hotlist-actions-column"],[1,"full-width",3,"has-description","hotlist","isCompact","starredHotlists","isSavingStar"],[1,"margin-top","kids-x"],[3,"class"],["role","option",1,"hotlist-list-item",3,"height"],["svgIcon","issue-status-new",1,"icon-s","vertical-centered"],["svgIcon","star-filled",
1,"icon-s","canned-search-icon"],[1,"icon-s"],["role","option",1,"hotlist-list-item",3,"focus","blur"],[1,"flex-kids-x","align-items-center"],["role","checkbox",3,"change","value","checked","disabled","indeterminate"],[1,"hotlist-matlist-option"],[1,"title-line"],[1,"overflow-ellipsis"],[1,"line-clamp-2","muted","type-s"],["role","checkbox",3,"click","change","value","checked","disabled","indeterminate"],[1,"full-width",3,"starClicked","hotlist","isCompact","starredHotlists","isSavingStar"],["type",
"button",1,"force-show-overflow-btn",3,"click"],["type","button","mat-flat-button","","color","primary",3,"click","mat-dialog-close","matTooltip","disabled"],["type","button","mat-flat-button","","color","primary","matTooltip","Create new hotlist","aria-label","Create",3,"click","disabled"],["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){if(a&1){var c=y();I(0,$1a,1,1,"ng-container")(1,p2a,15,9);L(2,"mat-dialog-actions")(3,"button",5);Q("click",function(){z(c);b.dialogRef.close();return B()});U(4," Cancel ");M();I(5,r2a,1,1,"ng-container")(6,s2a,2,5,"button",6);M();G(7,v2a,2,1,"ng-template",null,0,Gk)(9,w2a,14,1,"ng-template",null,1,Gk)}a&2&&(J(b.showCreateNewPane?0:1),E(5),J(b.showCreateNewPane?5:6))},dependencies:[oy,EA,fI,hI,jI,
iI,aG,HG,dA,aA,BN,NN,ON,pG,Bp,hG,iG,AG,wG,vG,YF,WF,YR,py],styles:[".left-padding[_ngcontent-%COMP%]{padding-left:10px}[_nghost-%COMP%]     .mat-mdc-dialog-content{width:500px;overflow-y:overlay}[_nghost-%COMP%]     .mat-mdc-dialog-title{margin:0}[_nghost-%COMP%]     .mat-mdc-dialog-title::before{height:unset}[_nghost-%COMP%]     .mat-mdc-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{width:425px}[_nghost-%COMP%]     .search-results .hotlist-actions-column{padding:8px 0}[_nghost-%COMP%]     .search-results mat-list-item .title-line{display:flex;align-items:center;justify-content:space-between;height:24px}[_nghost-%COMP%]     .search-results mat-list-item a, [_nghost-%COMP%]     .search-results mat-list-item mat-icon{height:17px;line-height:17px}[_nghost-%COMP%]     .search-results mat-list-item p{font-size:.75rem;margin-top:-2px;line-height:1.2}[_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-item .title-line p{font-size:.8125rem}[_nghost-%COMP%]     .mat-mdc-list-base{margin:0 -24px}[_nghost-%COMP%]     .mat-list-item.mat-list-item .mat-list-item-content .mat-list-text{padding-left:12px}[_nghost-%COMP%]     mat-list mat-list-item{padding:0}[_nghost-%COMP%]     mat-list mat-list-item mat-checkbox{padding:11px}[_nghost-%COMP%]     mat-list mat-list-item .hotlist-matlist-option{width:100%}[_nghost-%COMP%]     mat-list-item.hotlist-list-item{padding-left:0}[_nghost-%COMP%]     hotlist-matlist-option{display:block}[_nghost-%COMP%]     .has-description{height:72px}/*# sourceMappingURL=hotlist_picker_modal.css.map */"],
changeDetection:0});var aS=function(){this.dialog=x(eI);this.issueFullFridge=x(pE);this.eventsForIssueFridge=x(wD);this.errorHandler=x(PA);this.issueRecommendationFridge=x(sE);this.recommendationsApi=x(ky);this.issueUserEventsService=x($O);this.activeSession=x(Ks);this.analytics=x(nE)},aVc=function(a,b){var c,d,e,f;return v(function(h){if(h.nextAddress==1)return w(h,pi(b),2);c=h.yieldResult;e=(d=c)==null?void 0:d.snapshot[0].hotlistId;if(!e||!c)return h.return();a.analytics.trackEvent("hotlistPicker","open","IDP");f=
String(c.issueId);return w(h,$Uc(a,f,e),0)})},$Uc=function(a,b,c,d){d=d===void 0?!0:d;var e,f,h,k,q,u,A;return v(function(D){switch(D.nextAddress){case 1:return e=bVc(a,b),f=e.pipe(C(function(H){return H.map(function(O){var P;return(P=O.content)==null?void 0:P.recommendedHotlist}).filter(fe)}),uj(function(H){H.length>0&&a.analytics.trackEvent("hotlistRecommendation","display","hotlistPicker")})),h=new Map,h.set(b,new Set(c)),w(D,cVc(a,c,f),2);case 2:k=D.yieldResult;if(k==null||!k.hotlistDiff)return D.return();
q=k.hotlistDiff;u=q.added.map(String);A=q.removed.map(String);if(!d){D.jumpTo(3);break}return w(D,a.updateHotlists(b,u,A),4);case 4:return w(D,dVc(a,b,e,u),3);case 3:return D.return({addedIds:u,removedIds:A})}})},eVc=function(a,b){var c=!1;c=c===void 0?!0:c;var d,e,f,h,k,q,u,A,D,H,O,P,S,aa,ia,la,ya,Ia,Pa,gb,ua,Ea,Ha,mb,nb,Lb,bc,yc,kc;return v(function(Ee){switch(Ee.nextAddress){case 1:d=new Map;e=l(b.values());for(f=e.next();!f.done;f=e.next())if(h=f.value)for(k=l(h),q=k.next();!q.done;q=k.next())u=
q.value,d.has(u)?(A=void 0,D=(A=d.get(u))!=null?A:0,D++,d.set(u,D)):d.set(u,1);H=b.size;O=[];P=[];S=l(d.entries());for(aa=S.next();!aa.done;aa=S.next())ia=aa.value,la=l(ia),ya=la.next().value,Ia=la.next().value,Pa=ya,gb=Ia,gb<H?O.push(Pa):gb===H&&P.push(Pa);return w(Ee,cVc(a,P,li([]),b,O),2);case 2:ua=Ee.yieldResult;if(ua==null)return Ee.return();if(!c){Ee.jumpTo(3);break}Ea=l(ua.issueMapDiffs.entries());Ha=Ea.next();case 4:if(Ha.done){Ee.jumpTo(3);break}mb=Ha.value;nb=l(mb);Lb=nb.next().value;bc=
nb.next().value;yc=Lb;kc=bc;return w(Ee,a.updateHotlists(yc,kc.added.map(String),kc.removed.map(String)),5);case 5:Ha=Ea.next();Ee.jumpTo(4);break;case 3:return Ee.return(ua)}})};aS.prototype.updateHotlists=function(a,b,c){var d=this,e;return v(function(f){if(f.nextAddress==1)return ei(f,2,3),w(f,d.issueFullFridge.updateHotlists(a,b,c),3);if(f.nextAddress!=2)return fi(f),d.eventsForIssueFridge.poke(a),hi(f,0);e=ii(f);RA(d.errorHandler,e);return f.jumpTo(3)})};
var cVc=function(a,b,c,d,e){var f,h,k,q,u,A,D,H,O,P,S,aa,ia,la,ya,Ia,Pa,gb,ua;return v(function(Ea){if(Ea.nextAddress==1)return f={selectedHotlistIds:b,recommendedHotlists$:c,selectedHotlistIdsMap:d,partiallySelectedHotlistIds:e},h={panelClass:"no-jitter",data:f,ariaLabel:"Search for Hotlists"},k=a.dialog.open($R,h),w(Ea,pi(ZH(k)),2);q=Ea.yieldResult;if(!q)return Ea.return(Promise.resolve());u=q.selectedHotlistIds;A=q.selectedHotlistIdsMap;D=ud(new Set(b),new Set(u));H=new Map;if(d&&A)for(O=l(A.entries()),
P=O.next();!P.done;P=O.next())S=P.value,aa=l(S),ia=aa.next().value,la=aa.next().value,ya=ia,Ia=la,Pa=void 0,gb=ud((Pa=d.get(ya))!=null?Pa:new Set,Ia),ua=void 0,H.set(ya,(ua=gb)!=null?ua:{added:[],removed:[]});return Ea.return(Promise.resolve({hotlistDiff:D,issueMapDiffs:H}))})},bVc=function(a,b){return b&&a.activeSession.isInternalSession()?a.issueRecommendationFridge.watch(b+"-HOTLIST").pipe(C(function(c){return(c==null?void 0:c.recommendations)||[]})):li([])},dVc=function(a,b,c,d){var e,f,h,k,q,
u,A;return v(function(D){switch(D.nextAddress){case 1:return w(D,pi(c),2);case 2:e=D.yieldResult;f=e.filter(function(H){var O,P;return(H=(O=H.content)==null?void 0:(P=O.recommendedHotlist)==null?void 0:P.hotlistId)&&d.includes(String(H))});h=f.map(function(H){return{parent:H.name,userEngagement:{type:"ACCEPTED"}}});if(h.length===0)return D.return();a.analytics.trackEvent("hotlistRecommendation","accept","hotlistPicker");return w(D,a.recommendationsApi.createUserEngagements(h),3);case 3:if(Cx(a.activeSession,
"enableBatchLogIssueUserEvent"))return A=f.map(function(H){return{issueId:b,feature:"FEATURE_HOTLIST",eventType:"EVENT_TYPE_ACCEPT",recommendationName:H.name}}),w(D,pi(a.issueUserEventsService.logIssueUserEventForRecommendations(A)),0);k=l(f);q=k.next();case 6:if(q.done){D.jumpTo(0);break}u=q.value;return w(D,pi(a.issueUserEventsService.logIssueUserEventForRecommendation(b,"FEATURE_HOTLIST","EVENT_TYPE_ACCEPT",u.name)),7);case 7:q=k.next(),D.jumpTo(6)}})};aS.\u0275fac=function(a){return new (a||aS)};
aS.\u0275prov=Dg({token:aS,factory:aS.\u0275fac,providedIn:"root"});var fVc={ASSIGNEE:"ASSIGNEE",CC_LIST:"CC_LIST",CODE_CHANGES:"CODE_CHANGES",COLLABORATORS:"COLLABORATORS",COMMENT:"COMMENT",COMPONENT:"COMPONENT",CUSTOM_FIELDS:"CUSTOM_FIELDS",HOTLISTS:"HOTLISTS",PRIORITY:"PRIORITY",SEVERITY:"SEVERITY",STATUS:"STATUS",TYPE:"TYPE"},bS=function(){Z.apply(this,arguments);var a=this;this.butterBar=x(MA);this.componentTemplatesFridge=x(kC);this.errorHandler=x(PA);this.triageService=x(TH);this.issueApi=x(vD);this.issueFullFridge=x(pE);this.editIssueService=x(XI);this.hotlistPickerService=
x(aS);this.issueCommentDialogsService=x(PR);this.issueLimits=x(UR);this.issuePermissionService=x(BF);this.jspbPrincipalTypes=x(XE);this.statusMessages=x(rI);this.constants=x(oI);this.activeSession=x(Ks);this.issueEditComponentService=x(SO);this.IssueFieldKey=fVc;this.HOTKEYS=nq;this.FieldType=rN;this.ListFieldType=ENc;this.IssueType=Dic;this.IssueSeverity=wic;this.IssuePriority=jic;this.IssueStatus=zic;this.codeChangesValidator=SEa;this.overlayPositionList=[{originX:"start",originY:"top",overlayX:"start",
overlayY:"bottom",offsetY:-8},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top",offsetY:-8}];this.componentId$=new $n(void 0);this.issueId$=this.triageService.currentIssueId$.pipe(Di(fe),jj());this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.defaultAssigneeForComponent$=this.componentId$.pipe(sj(function(b){return b?a.componentTemplatesFridge.defaultTemplate$(String(b)):li(void 0)}),C(function(b){return b&&Jd(b.snapshot.assigneeUser)}));this.issueIds$=si([this.triageService.currentIssueIds$,
this.triageService.selectedIssueIds$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return c.length?c:b}));this.issues$=this.issueIds$.pipe(sj(function(b){return a.issueFullFridge.watchSet(b)}));this.editableIssues$=this.issueIds$.pipe(C(function(b){return b.map(function(c){return a.editIssueService.editableIssue(c)})}));this.editableIssue$=this.editableIssues$.pipe(C(function(b){return b[0]}));this.areEditableIssuesLoaded$=this.editableIssues$.pipe(C(function(b){return b.every(function(c){return c.issueId!==
""})}));this.fieldMultipleValueMap$=si([this.editableIssues$,this.areEditableIssuesLoaded$]).pipe(C(function(b){var c=l(b);b=c.next().value;if(!c.next().value)return new Map;jr(a,b);return a.doesFieldHaveMultipleValues}));this.isCurrentUserCollaborator=this.isCurrentUserCcd=!1;this.hotlistIds=[];this.hotlistIdsMap=new Map;this.MULTIPLE_FIELD_VALUES_LABEL="Multiple values";this.MULTIPLE_COMPONENT_SELECTED_LABEL="Multiple components selected";this.customFieldMap={};this.doesFieldHaveMultipleValues=
new Map([["ASSIGNEE",!1],["COLLABORATORS",!1],["CC_LIST",!1],["COMPONENT",!1],["SEVERITY",!1],["PRIORITY",!1],["STATUS",!1],["TYPE",!1]]);this.customFieldBulkEditOps=[];this.fields=[];this.automaticChanges=[];this.showAssignToSelf=!1;this.showAssignToDefault=!0;this.expandCommentBox=!1;this.subphase=this.phase=void 0;this.cancelAction=new iE;this.completeAction=new iE;this.typeChoices=this.constants.editIssueTypeChoices;this.severityChoices=this.constants.severities.map(function(b){return{value:b,
displayText:b}});this.priorityChoices=this.constants.priorities.map(function(b){return{value:b,displayText:b,hotkey:WPa(b)}});this.statusChoices=fjc.filter(function(b){return b.value!=="DUPLICATE"}).map(function(b){return Object.assign({},b,{hotkey:XPa(b.value)})});this.showAssigneeChips$=si([this.hasAclToEdit$,this.defaultAssigneeForComponent$,this.editableIssue$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;return a.sessionIsInternal&&b&&(a.showAssignToDefault||
a.showAssignToSelf)?a.showAssignToDefault&&d||a.showAssignToSelf&&c.assignee!==a.currentUserEmail?!0:!1:!1}));this.currentUserEmail=this.activeSession.getUserEmail();this.sessionIsInternal=this.activeSession.isInternalSession();this.sessionIsExternal=this.activeSession.isExternalSession();this.isSaving$=new $n(!1);this.showCommentInput=!1;this.collaboratorUserPrincipalValidator=function(b){var c,d,e;return v(function(f){if(f.nextAddress==1){if(!b)return f.return("This field is required");c=b.split(",").map(function(h){return h.trim()}).filter(Boolean);
return w(f,vyc(a.jspbPrincipalTypes,c,!1),2)}d=f.yieldResult;e=c.find(function(h){var k;return((k=d[h])==null?void 0:k.principalType)!=="USER"});return f.return(e?"You can only add users to collaborators.":"")})}};Y(bS,Z);bS.\u0275dir=Z.\u0275dir;g=bS.prototype;
g.ngOnInit=function(){for(var a=l(this.automaticChanges),b=a.next();!b.done;b=a.next())gVc(this,b.value);this.showCommentInput=this.expandCommentBox;a=up(this.editableIssue$);this.componentId=a.componentId||void 0;this.componentId$.next(this.componentId);ir(this,a);kr(this,a)};g.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);var a=tp(this.issueId$);a&&this.editIssueService.clear(a)};
g.setSeverity=function(a,b){for(var c=l(a),d=c.next();!d.done;d=c.next())d.value.setSeverity(b);jr(this,a)};g.setPriority=function(a,b){for(var c=l(a),d=c.next();!d.done;d=c.next())d.value.setPriority(b);jr(this,a)};g.setAssignee=function(a,b){for(var c=l(a),d=c.next();!d.done;d=c.next())d.value.setAssignee(b);jr(this,a)};g.setType=function(a,b){for(var c=l(a),d=c.next();!d.done;d=c.next())d.value.setType(b);jr(this,a)};
g.setStatus=function(a,b){for(var c=l(a),d=c.next();!d.done;d=c.next())d.value.setStatus(b);jr(this,a)};g.setComponent=function(a,b){this.componentId=b;this.componentId$.next(b);for(var c=l(a),d=c.next();!d.done;d=c.next())d.value.componentId=b;jr(this,a)};g.setCodeChanges=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next())c.value.setCodeChanges(b)};g.setCcs=function(a,b){b=[].concat(p(new Set(b.newUsers)));for(var c=l(a),d=c.next();!d.done;d=c.next())d.value.cc=b;kr(this,a[0])};
g.setCollaborators=function(a,b){b=[].concat(p(new Set(b.newUsers)));for(var c=l(a),d=c.next();!d.done;d=c.next())d.value.setCollaborators(b);ir(this,a[0])};
var Y2a=function(a,b){for(var c=a.activeSession.getUserEmail(),d=l(b),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.cc.filter(function(h){return h!==c});e.cc=f}kr(a,b[0]);jr(a,b)},T2a=function(a,b){for(var c=a.activeSession.getUserEmail(),d=l(b),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.collaborators.filter(function(h){return h!==c});e.setCollaborators(f)}ir(a,b[0]);jr(a,b)},U2a=function(a,b,c){for(var d=l(b),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.collaborators.filter(function(h){return!c.includes(h)});
e.setCollaborators(f)}ir(a,b[0]);jr(a,b)},Z2a=function(a,b,c){for(var d=l(b),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.cc.filter(function(h){return!c.includes(h)});e.cc=f}kr(a,b[0]);jr(a,b)},a3a=function(a,b){for(var c=l(b),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.cc;a.isCurrentUserCcd?(e=e.filter(function(f){return!AF(a.issuePermissionService,f)}),d.cc=e):(e.push(a.activeSession.getUserEmail()),d.cc=e)}kr(a,b[0])};
bS.prototype.toggleCollaborators=function(a){for(var b=this,c=l(a),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.collaborators;this.isCurrentUserCollaborator?(e=e.filter(function(f){return!AF(b.issuePermissionService,f)}),d.setCollaborators(e)):(e.push(this.activeSession.getUserEmail()),d.setCollaborators(e))}ir(this,a[0])};
var kr=function(a,b){a.isCurrentUserCcd=b.cc.includes(a.activeSession.getUserEmail())},ir=function(a,b){a.isCurrentUserCollaborator=b.collaborators.includes(a.activeSession.getUserEmail())},e3a=function(a,b){return a.automaticChanges.find(function(c){return c.field===b})},hVc=function(a,b){var c=[];b=l(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.componentId&&a.componentId!==d.componentId&&c.push({issueIds:[d.issueId],actions:[{fieldName:"componentId",value:String(a.componentId)}]});return c};
bS.prototype.save=function(a){var b=this,c,d,e,f,h,k,q,u,A,D;return v(function(H){if(H.nextAddress==1){b.isSaving$.next(!0);c=a[0];d=a.map(function(O){return RCc(O)}).flat().filter(function(O){return O!==null});e=d.map(function(O){return{issueIds:[O.issueId],actions:O.actions}});f=hVc(b,a);e.push.apply(e,p(f));h=a.map(function(O){return O.issueId});(k=iVc(b,c.issueId)?{fieldName:"comment",value:b.editIssueService.issueCommentDraft(c.issueId).comment().value}:null)&&e.push({issueIds:h,actions:[k]});
b.customFieldBulkEditOps.length&&e.push.apply(e,p(b.customFieldBulkEditOps));q=l(a);for(u=q.next();!u.done;u=q.next())A=u.value,D=A.customFieldMap,Object.assign(b.customFieldMap,D);return w(H,b.sendBulkEditRequest(e),2)}if(H.nextAddress!=3)return w(H,b.updateHotlists(),3);b.isSaving$.next(!1);b.completeAction.emit(h);ji(H)})};bS.prototype.toggleAccessLimits=function(a){this.issueLimits.isOpen()||this.componentId&&this.issueLimits.open({componentId:this.componentId,issueId:a})};
var jr=function(a,b){var c=b[0],d=b.some(function(e){return e.severity!==c.severity});a.doesFieldHaveMultipleValues.set("SEVERITY",d);d=b.some(function(e){return e.priority!==c.priority});a.doesFieldHaveMultipleValues.set("PRIORITY",d);d=b.some(function(e){return e.status!==c.status});a.doesFieldHaveMultipleValues.set("STATUS",d);d=b.some(function(e){return e.type!==c.type});a.doesFieldHaveMultipleValues.set("TYPE",d);d=b.some(function(e){return e.assignee!==c.assignee});a.doesFieldHaveMultipleValues.set("ASSIGNEE",
d);d=b.some(function(e){return e.componentId!==c.componentId});a.doesFieldHaveMultipleValues.set("COMPONENT",d);d=b.some(function(e){return!pCa(e.cc,c.cc)});a.doesFieldHaveMultipleValues.set("CC_LIST",d);b=b.some(function(e){return!pCa(e.collaborators,c.collaborators)});a.doesFieldHaveMultipleValues.set("COLLABORATORS",b)},iVc=function(a,b){b=a.editIssueService.issueCommentDraft(b).comment();return a.showCommentInput&&!!b.value},Q2a=function(a,b){var c;return v(function(d){if(d.nextAddress==1)return a.showCommentInput=
!1,w(d,Fq(0),2);(c=b)==null||c.focus();ji(d)})},gVc=function(a,b){var c,d;v(function(e){switch(e.nextAddress){case 1:return w(e,pi(a.editableIssue$),2);case 2:c=e.yieldResult;d=b.field;switch(d){case "STATUS":c.setStatus(b.value);break;case "ASSIGNEE":c.setAssignee(b.value);break;case "COMMENT":return e.jumpTo(3);default:qb(d)}e.jumpTo(0);break;case 3:return w(e,a.setComment(b.value),5);case 5:e.jumpTo(0)}})};
bS.prototype.setComment=function(a){var b=this,c,d,e;return v(function(f){if(f.nextAddress==1)return w(f,pi(b.triageService.currentIssueId$),2);c=f.yieldResult;if(!c)return f.return();d=b.editIssueService.issueCommentDraft(c).comment();if(d.value)return f.return();e=d.value;d.value=a;b.destroyed$.subscribe(function(){var h=b.editIssueService.issueCommentDraft(c).comment();h.value===a&&(h.value=e)});ji(f)})};
bS.prototype.updateHotlists=function(){var a=this,b,c,d,e,f;return v(function(h){switch(h.nextAddress){case 1:return(b=a.fields.includes("HOTLISTS"))?w(h,pi(a.issues$),2):h.return();case 2:c=h.yieldResult;if(!c||!c.length)return h.return();d=l(c);e=d.next();case 3:if(e.done){h.jumpTo(0);break}f=e.value;return w(h,jVc(a,f),4);case 4:e=d.next(),h.jumpTo(3)}})};
var jVc=function(a,b){var c,d,e,f;return v(function(h){e=(c=b.snapshot[0])==null?void 0:(d=c.hotlistId)==null?void 0:d.map(String);return e?(f=a.hotlistIdsMap.get(b.issueId))?w(h,a.hotlistPickerService.updateHotlists(b.issueId,f.added.map(function(k){return k.toString()}),f.removed.map(function(k){return k.toString()})),0):h.return():h.return()})};
bS.prototype.sendBulkEditRequest=function(a){var b=this,c;return v(function(d){c={bulkEditOps:a};hq(b.butterBar,"Saving changes...",0);return d.return(b.issueApi.issueBulkEdit(c).then(function(e){e.errors&&e.errors.length?(e=jg(e.errors),b.butterBar.showWarning("Failed to update issue(s) "+e+".")):(e=DDc(b.statusMessages,c,b.customFieldMap))?hq(b.butterBar,e):hq(b.butterBar,"Saved "+ILa(a).length+" issue(s).")}).catch(function(e){b.errorHandler.errorHandler(null,e)}))})};
bS.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(bS)))(b||bS)}}();
bS.\u0275cmp=F({type:bS,selectors:[["verify-fields"]],inputs:{fields:"fields",automaticChanges:"automaticChanges",showAssignToSelf:"showAssignToSelf",showAssignToDefault:"showAssignToDefault",expandCommentBox:"expandCommentBox",phase:"phase",subphase:"subphase"},outputs:{cancelAction:"cancelAction",completeAction:"completeAction"},standalone:!1,features:[xj],decls:2,vars:3,consts:[["priorityField",""],["assigneeField",""],["typeField",""],["statusField",""],["postCommentComponent",""],["addCommentButton",
""],[1,"bv2-issue-metadata","overflow"],[1,"full-width","padded-s-top","flex-kids-x","gap"],[1,"flex-kids-x","gap","margin-top"],["type","button","mat-flat-button","",1,"gmat-button",3,"click","disabled"],["type","button","mat-button","",1,"gmat-button",3,"click"],[1,"flex-1",3,"name","title","type","tooltip","value","choices","readonly","displayValueOverride"],[1,"flex-1",3,"name","title","type","tooltip","value","choices","hotkey","readonly","displayValueOverride"],[3,"phase","subphase"],[1,"flex-1",
3,"editableIssue","hasMultipleIssues","phase","subphase"],[1,"flex-kids-y","full-width"],[1,"flex-1",3,"name","title","type","value","choices","readonly","displayValueOverride"],[1,"flex-1",3,"name","title","type","value","choices","showHotkeyHint","hotkey","readonly","displayValueOverride"],[1,"bv2-issue-metadata-field","bv2-issue-metadata-field-inner","flex-1"],[1,"flex-1"],[3,"issueId","automaticChange"],[1,"flex-1",3,"valueChange","name","title","type","tooltip","value","choices","readonly","displayValueOverride"],
[1,"flex-1",3,"onHotkey","valueChange","name","title","type","tooltip","value","choices","hotkey","readonly","displayValueOverride"],[3,"hotlistIdsChange","hotlistIdsMapChange","phase","subphase"],[1,"flex-1",3,"onCustomFieldBulkEdit","editableIssue","hasMultipleIssues","phase","subphase"],[1,"flex-1","flex-kids-x","align-items-center","gap"],[1,"flex-1",3,"onHotkey","valueChange","emailChange","name","title","hotkey","displayValueOverride","value"],[1,"assign-chips"],["type","button","mat-stroked-button",
"","aria-label","Assign to me",1,"small","add-assignee-btn",3,"matTooltip"],["type","button","mat-stroked-button","",1,"small","add-assignee-btn",3,"disabled","hotkey","matTooltip"],["type","button","mat-stroked-button","",1,"small","add-assignee-btn",3,"click","onHotkey","disabled","hotkey","matTooltip"],[1,"icon-xs","margin-xs-right",3,"svgIcon"],["type","button","mat-stroked-button","","aria-label","Assign to me",1,"small","add-assignee-btn",3,"click","onHotkey","matTooltip"],["svgIcon","add",
1,"icon-xs","margin-xs-right"],[1,"flex-1",3,"valueChange","name","title","type","value","choices","readonly","displayValueOverride"],[1,"flex-1",3,"onHotkey","valueChange","name","title","type","value","choices","showHotkeyHint","hotkey","readonly","displayValueOverride"],[1,"flex-1",3,"readonly","defaultLineCount","title","inputValidator","type","values"],[1,"flex-1",3,"valuesChange","readonly","defaultLineCount","title","inputValidator","type","values"],[1,"bv2-editable-title"],[3,"componentChanged",
"issueId","componentId","compactMode","handleSave","showPickerOverlayAbove","displayValueOverride"],[3,"commentSubmitted","issueId","showActionsAfterPreview","showCommentButton"],[1,"flex-1",3,"title","subtitle","inputValidator","isAllowedToEditCollection"],[1,"flex-1",3,"title","values","users","includeSelfActionDescription","includeSelfActionLongDescription","overlayPosition","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isCurrentUserInCollection",
"isAllowedToEditCollection","iconName","inputValidator","checkAccessLimits"],[1,"flex-1",3,"addCurrentUser","removeCurrentUser","onAddUsers","onRemoveUsers","title","subtitle","inputValidator","isAllowedToEditCollection"],[1,"flex-1",3,"userInclusionToggle","valueChange","toggleAccessLimits","title","values","users","includeSelfActionDescription","includeSelfActionLongDescription","overlayPosition","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isCurrentUserInCollection",
"isAllowedToEditCollection","iconName","inputValidator","checkAccessLimits"],[1,"flex-1",3,"title","subtitle","isAllowedToEditCollection"],[1,"flex-1",3,"title","values","users","includeSelfActionDescription","includeSelfActionLongDescription","overlayPosition","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isCurrentUserInCollection","isAllowedToEditCollection","iconName"],[1,"flex-1",3,"addCurrentUser","removeCurrentUser","onAddUsers","onRemoveUsers",
"title","subtitle","isAllowedToEditCollection"],[1,"flex-1",3,"userInclusionToggle","valueChange","title","values","users","includeSelfActionDescription","includeSelfActionLongDescription","overlayPosition","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isCurrentUserInCollection","isAllowedToEditCollection","iconName"]],template:function(a,b){a&1&&(I(0,i3a,2,3),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.issues$))?0:-1,c)}},styles:["[_nghost-%COMP%]     .bv2-issue-metadata{padding:0}[_nghost-%COMP%]     .bv2-issue-metadata .bv2-issue-metadata-field.bv2-issue-metadata-field{margin:0}[_nghost-%COMP%]     .bv2-issue-metadata onedev-edit-field{margin:0!important}[_nghost-%COMP%]     .bv2-issue-metadata onedev-edit-field onedev-field-label{width:unset;min-width:75px}[_nghost-%COMP%]     .bv2-issue-metadata onedev-edit-field onedev-user-picker button{padding-left:9px}[_nghost-%COMP%]     .bv2-issue-metadata .bv2-issue-metadata-list-field .no-value{display:none}[_nghost-%COMP%]     .bv2-issue-metadata .bv2-editable-title{width:unset}[_nghost-%COMP%]     b-post-comment{margin-bottom:0}[_nghost-%COMP%]     b-post-comment .bv2-comment-box-container .bv2-comment-toolbar{margin:0}[_nghost-%COMP%]     b-post-comment .md-preview{margin-top:0}[_nghost-%COMP%]     b-post-comment .bv2-edit-issue-add-comment{padding-top:0}.hotlist-container[_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:2px;line-height:20px;max-height:72px;overflow-y:auto}.add-assignee-btn[_ngcontent-%COMP%], .add-hotlists-btn[_ngcontent-%COMP%], button.gmat-mdc-button[_ngcontent-%COMP%]:not(.mat-mdc-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;margin-right:4px}.add-hotlists-btn.mat-mdc-outlined-button[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-right:4px}.bv2-issue-metadata[_ngcontent-%COMP%]{max-height:50vh;padding-right:10px}"]});var cS=function(){Z.apply(this,arguments);this.TriageActionKey=sCc;this.TriagePhase=Bic;this.TriageSubphase=Cic;this.CONFIRM_ACTION=uCc;this.SET_IN_PROGRESS=wCc;this.SET_FIXED=CCc;this.CHANGE_COMPONENT=DCc;this.NEEDS_MORE_INFO=tCc;this.SET_WONT_FIX=ACc;this.SET_NEW=BCc;this.SET_PENDING_OWNER=vCc;this.SET_EXPECTED=xCc;this.SET_PLANNED=yCc;this.SET_COMMITTED=zCc;this.needsInfoAutomaticChanges=[];this.cancelAction=new iE;this.finalizeAction=new iE};Y(cS,Z);cS.\u0275dir=Z.\u0275dir;
cS.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(cS)))(b||cS)}}();
cS.\u0275cmp=F({type:cS,selectors:[["secondary-footer"]],inputs:{needsInfoAutomaticChanges:"needsInfoAutomaticChanges",selectedTriageAction:"selectedTriageAction"},outputs:{cancelAction:"cancelAction",finalizeAction:"finalizeAction"},standalone:!1,features:[xj],decls:33,vars:1,consts:[["setNeedsInfo",""],["setConfirmed",""],["setPendingOwner",""],["changeComponent",""],["setInProgress",""],["setExpected",""],["setPlanned",""],["setCommitted",""],["setFixed",""],["setNew",""],["setWontFix",""],[4,
"ngTemplateOutlet"],[1,"flex-kids-y","full-width"],[1,"heading-s"],[3,"cancelAction","completeAction","fields","phase","subphase","automaticChanges","expandCommentBox","showAssignToDefault","showAssignToSelf"],[3,"cancelAction","completeAction","fields","phase"],[3,"cancelAction","completeAction","fields","phase","showAssignToSelf"],[3,"cancelAction","completeAction","fields","phase","automaticChanges"],[3,"cancelAction","completeAction","fields","automaticChanges"]],template:function(a,b){a&1&&(I(0,
k3a,1,1,"ng-container")(1,m3a,1,1,"ng-container")(2,o3a,1,1,"ng-container")(3,q3a,1,1,"ng-container")(4,s3a,1,1,"ng-container")(5,u3a,1,1,"ng-container")(6,w3a,1,1,"ng-container")(7,y3a,1,1,"ng-container")(8,A3a,1,1,"ng-container")(9,C3a,1,1,"ng-container")(10,E3a,1,1,"ng-container"),G(11,F3a,4,7,"ng-template",null,0,Gk)(13,G3a,4,2,"ng-template",null,1,Gk)(15,H3a,4,2,"ng-template",null,2,Gk)(17,I3a,4,2,"ng-template",null,3,Gk)(19,J3a,4,3,"ng-template",null,4,Gk)(21,K3a,4,3,"ng-template",null,5,Gk)(23,
L3a,4,3,"ng-template",null,6,Gk)(25,M3a,4,3,"ng-template",null,7,Gk)(27,N3a,4,3,"ng-template",null,8,Gk)(29,O3a,4,3,"ng-template",null,9,Gk)(31,P3a,4,2,"ng-template",null,10,Gk));if(a&2){var c;J((c=b.selectedTriageAction)===b.TriageActionKey.SET_NEEDS_INFO?0:c===b.TriageActionKey.SET_CONFIRMED?1:c===b.TriageActionKey.SET_PENDING_OWNER?2:c===b.TriageActionKey.SET_WONT_FIX?3:c===b.TriageActionKey.SET_IN_PROGRESS?4:c===b.TriageActionKey.SET_EXPECTED?5:c===b.TriageActionKey.SET_PLANNED?6:c===b.TriageActionKey.SET_COMMITTED?
7:c===b.TriageActionKey.SET_FIXED?8:c===b.TriageActionKey.CHANGE_COMPONENT?9:c===b.TriageActionKey.SET_NEW?10:-1)}},dependencies:[oy,bS],encapsulation:2,changeDetection:0});var dS=function(){this.issueExperimentalFieldsFridge=x(ID)},kVc=function(a,b,c){var d;return v(function(e){switch(e.nextAddress){case 1:switch(c){case "SET_NEEDS_INFO":return e.jumpTo(2);case "SET_CONFIRMED":return e.jumpTo(3);case "SET_PENDING_OWNER":return e.jumpTo(4);case "SET_NEW":return e.jumpTo(5);case "SET_IN_PROGRESS":return e.jumpTo(6);case "SET_EXPECTED":return e.jumpTo(7);case "SET_PLANNED":return e.jumpTo(8);case "SET_COMMITTED":return e.jumpTo(9);case "SET_FIXED":return e.jumpTo(10);
case "CHANGE_COMPONENT":return e.jumpTo(11);case "SET_WONT_FIX":return e.jumpTo(12);case "MARK_AS_DUPLICATE":throw Error("me");default:qb(c)}e.jumpTo(13);break;case 2:return w(e,a.setNeedsInfo(b),14);case 14:d=e.yieldResult;e.jumpTo(13);break;case 3:return w(e,a.setConfirmed(b),15);case 15:d=e.yieldResult;e.jumpTo(13);break;case 4:return w(e,a.setPendingOwner(b),16);case 16:d=e.yieldResult;e.jumpTo(13);break;case 5:return w(e,a.setNew(b),17);case 17:d=e.yieldResult;e.jumpTo(13);break;case 6:return w(e,
a.setInProgress(b),18);case 18:d=e.yieldResult;e.jumpTo(13);break;case 7:return w(e,a.setExpected(b),19);case 19:d=e.yieldResult;e.jumpTo(13);break;case 8:return w(e,a.setPlanned(b),20);case 20:d=e.yieldResult;e.jumpTo(13);break;case 9:return w(e,a.setCommitted(b),21);case 21:d=e.yieldResult;e.jumpTo(13);break;case 10:return w(e,a.setFixed(b),22);case 22:d=e.yieldResult;e.jumpTo(13);break;case 11:return w(e,a.setNew(b),23);case 23:d=e.yieldResult;e.jumpTo(13);break;case 12:return w(e,a.setWontFix(b),
24);case 24:d=e.yieldResult;e.jumpTo(13);break;case 13:return e.return(d)}})};g=dS.prototype;g.setNeedsInfo=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,Promise.all(a.map(function(d){return v(function(e){return e.nextAddress==1?w(e,b.issueExperimentalFieldsFridge.updateOrInsert(d,function(f){f.triage.phase="NEW";f.triage.subphase="NEEDS_INFO"}),2):e.return(e.yieldResult)})})),2):c.return(c.yieldResult)})};
g.setConfirmed=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,Promise.all(a.map(function(d){return v(function(e){return e.nextAddress==1?w(e,b.issueExperimentalFieldsFridge.updateOrInsert(d,function(f){f.triage.phase="CONFIRMED";f.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):e.return(e.yieldResult)})})),2):c.return(c.yieldResult)})};
g.setPendingOwner=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,Promise.all(a.map(function(d){return v(function(e){return e.nextAddress==1?w(e,b.issueExperimentalFieldsFridge.updateOrInsert(d,function(f){f.triage.phase="CONFIRMED";f.triage.subphase="PENDING_OWNER"}),2):e.return(e.yieldResult)})})),2):c.return(c.yieldResult)})};
g.setInProgress=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,Promise.all(a.map(function(d){return v(function(e){return e.nextAddress==1?w(e,b.issueExperimentalFieldsFridge.updateOrInsert(d,function(f){f.triage.phase="IN_PROGRESS";f.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):e.return(e.yieldResult)})})),2):c.return(c.yieldResult)})};
g.setExpected=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,Promise.all(a.map(function(d){return v(function(e){return e.nextAddress==1?w(e,b.issueExperimentalFieldsFridge.updateOrInsert(d,function(f){f.triage.phase="IN_PROGRESS";f.triage.subphase="EXPECTED"}),2):e.return(e.yieldResult)})})),2):c.return(c.yieldResult)})};
g.setPlanned=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,Promise.all(a.map(function(d){return v(function(e){return e.nextAddress==1?w(e,b.issueExperimentalFieldsFridge.updateOrInsert(d,function(f){f.triage.phase="IN_PROGRESS";f.triage.subphase="PLANNED"}),2):e.return(e.yieldResult)})})),2):c.return(c.yieldResult)})};
g.setCommitted=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,Promise.all(a.map(function(d){return v(function(e){return e.nextAddress==1?w(e,b.issueExperimentalFieldsFridge.updateOrInsert(d,function(f){f.triage.phase="IN_PROGRESS";f.triage.subphase="COMMITTED"}),2):e.return(e.yieldResult)})})),2):c.return(c.yieldResult)})};
g.setFixed=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,Promise.all(a.map(function(d){return v(function(e){return e.nextAddress==1?w(e,b.issueExperimentalFieldsFridge.updateOrInsert(d,function(f){f.triage.phase="FIXED";f.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):e.return(e.yieldResult)})})),2):c.return(c.yieldResult)})};
g.setNew=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,Promise.all(a.map(function(d){return v(function(e){return e.nextAddress==1?w(e,b.issueExperimentalFieldsFridge.updateOrInsert(d,function(f){f.triage.phase="NEW";f.triage.triagerEmail=void 0;f.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):e.return(e.yieldResult)})})),2):c.return(c.yieldResult)})};
g.setWontFix=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,Promise.all(a.map(function(d){return v(function(e){return e.nextAddress==1?w(e,b.issueExperimentalFieldsFridge.updateOrInsert(d,function(f){f.triage.phase="WONT_FIX";f.triage.triagerEmail=void 0;f.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):e.return(e.yieldResult)})})),2):c.return(c.yieldResult)})};dS.\u0275fac=function(a){return new (a||dS)};dS.\u0275prov=Dg({token:dS,factory:dS.\u0275fac,providedIn:"root"});var lVc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(lVc,n);var mVc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(mVc,n);g=mVc.prototype;g.getDataCase=function(){return al(this,nVc)};g.clearData=function(){return Jec(this,nVc)};g.getText=function(){return cl(this,2,nVc)};g.setText=function(a){return fl(this,2,nVc,a)};g.getVideoMetadata=function(){return Zk(this,lVc,14,oVc)};g.hasVideoMetadata=function(){return Yk(this,lVc,14,oVc)};var nVc=[2,3,4,5,6,7,9,10,15,17,18],oVc=[14];var eS=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(eS,n);eS.prototype.getPartsList=function(){return ie(this,mVc,1,Rd())};eS.prototype.addParts=function(a){return rm(this,1,mVc,a)};eS.prototype.getRole=function(){return Oc(this,2)};eS.prototype.setRole=function(a){return Vd(this,2,a)};var pVc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(pVc,n);var qVc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(qVc,n);qVc.prototype.setModel=function(a){return Vd(this,1,a)};qVc.prototype.setRequestContext=function(a){t(this,pVc,17,a)};var Q3a=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Q3a,n);g=Q3a.prototype;g.getIndex=function(){return Pd(this,3)};g.setIndex=function(a){jf(this,3,a)};g.getContent=function(){return r(this,eS,1)};g.setContent=function(a){return t(this,eS,1,a)};g.hasContent=function(){return Me(this,eS,1)};var lr=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(lr,n);lr.prototype.getModelVersion=function(){return Oc(this,4)};lr.prototype.setModelVersion=function(a){return Vd(this,4,a)};lr.prototype.getResponseId=function(){return Oc(this,5)};lr.prototype.setResponseId=function(a){return Vd(this,5,a)};var rVc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,rVc.messageId)};Y(rVc,n);rVc.messageId="b.GenerateContentResponse";var fS=function(){this.executor=x(fy)};fS.\u0275fac=function(a){return new (a||fS)};fS.\u0275prov=Dg({token:fS,factory:fS.\u0275fac,providedIn:"root"});var gS=function(){var a=this;this.geminiApi=x(fS);this.issueFridge=x(MD);this.issueFullFridge=x(pE);this.getLlmResponse=dha(function(b,c){var d,e;return v(function(f){if(f.nextAddress==1){d={prompt:b};var h=a.geminiApi;var k;var q=(new qVc).setModel((k=d.model)!=null?k:"models/gemini-1.5-flash");k=(new eS).addParts((new mVc).setText(d.prompt));q=rm(q,2,eS,k);h=h.executor.post({url:"/action/gemini/generate",options:{params:{feature:c}},body:q,responseConstructor:rVc}).then(R3a);return w(f,h,2)}e=f.yieldResult;
return f.return(e.output)})})},sVc=function(a,b){return b.length<3?li("Unknown (cluster is too small)"):wi(function(){return a.issueFridge.watchSet(b)}).pipe(sj(function(c){c="Analyze the following list of topics and summarize them into one common theme.Please respond in 2 to 3 words, plain text no markdown. Here's the list of topics: "+c.map(function(d){return d.snapshot[0].title}).join("\n");return a.getLlmResponse(c,"CLUSTER_TITLE")}))},uVc=function(a,b,c){return wi(function(){return si(b.map(function(d){return a.issueFridge.watchSet(d)})).pipe(sj(function(d){d=
d.map(function(e){return e.map(function(f){return f.snapshot[0].title})});return tVc(a,d,c)}))})},tVc=function(a,b,c){var d="";b=l(b);for(var e=b.next();!e.done;e=b.next())e=e.value,d+=c?"{team name: "+c+", titles:["+e.join(",")+"]}\n":"titles:["+e.join(",")+"]\n";var f='You are a software engineer at Google. Your task is to summarize a cluster of bugs ,tasks,\n        alerts and feature requests into a theme so that the reader can decide if they need to investigate them deeper.\n        All the bugs, tasks, alerts and feature requests come from the same team.\n        Theme names follows these rules:\n        1. In two to three words\n        2. Title Case: Every word starts with a capital letter (e.g., "Foo Bar"). Acronyms are allowed, e.g. "SRE Frontend".\n        3. Do not include the team name in the result.\n        Example Input:\n        {team name: Buganizer, titles: [dark mode needs more contrast, it is very hard to read text in dark mode, Please increase the contract of dark mode}\n        Example output:  Dark mode readability\n\n        Please follow the above rules and output the theme names in a list, split by \',\'. Make sure the output is in the same order as the input.\n        '+
d;return wi(function(){return a.getLlmResponse(f,"CLUSTER_TITLE")}).pipe(C(function(h){return h.split(",")}))},vVc=function(a,b){return b.length<3?li("Unknown (cluster is too small)"):wi(function(){return a.issueFullFridge.watchSet(b)}).pipe(sj(function(c){var d,e,f,h,k,q,u;return v(function(A){if(A.nextAddress==1)return d="<START>",e="<END>",f=c.map(function(D){var H;return"Task b/"+D.issueId+' has title "'+D.snapshot[0].title+'" and has description "'+((H=D.description)==null?void 0:H.unlinkifiedComment.substring(0,
100))+'"'}).join("\n"),h="\nYou are a world-class technical lead and manager in software engineering, tasked with summarizing a set of issues using data from a issue tracking tool. You will receive a list of issues including titles and descriptions.\n\nGeneral Information:\n\nIssues: Issues are stored in a system called Buganizer and are usually referred as b/<id>. All b/<id> are references to the same issue. http://b/<id> can be used to refer to a issue in summary.\n\nSteps to Follow:\n\n1. Understand Issue Context: Use the issue title and description to understand the nature of the issue. DO NOT include the titles or specific names of issues in the summary.\n2. Generate Summary:\n  - Start with a high-level overview of the issues, in one small sentence, focusing on the key accomplishments and outcomes. Summarize the issues and their impact, using concise and informative language. Don't include introductory phrases and additional formatting. Skip this if you don't find a common theme. Don't hallucinate.\n  - Use the format "+
d+" and "+e+" tags for the summary without additional headers.\n  - If you need to reference issues in the summary, you may do so by their IDs as http://b/<id>\n\nImportant: Ensure the summary is concise, informative, and does not include any issue titles or names.\n\nIssues, title and description:\n\n"+f+"\n\nOutput:\n",w(A,a.getLlmResponse(h,"CLUSTER_DESCRIPTION"),2);k=A.yieldResult;q=k.indexOf(d);u=k.indexOf(e);return A.return(k.substring(q+d.length,u).trim())})}))};
gS.\u0275fac=function(a){return new (a||gS)};gS.\u0275prov=Dg({token:gS,factory:gS.\u0275fac,providedIn:"root"});var wVc=Fu(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/homepage-feedback-dark-mode.md"]),xVc=Fu(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/homepage-feedback.md"]),yVc=Fu(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback-dark-mode.md"]),zVc=Fu(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback.md"]),hS=function(){var a=this;this.dialogRef=x(YH);this.darkmodeService=x(vP);this.data=
x(dI);this.contentLoaded=!1;this.docUrl$=this.darkmodeService.clientDarkmode$.pipe(C(function(b){switch(a.data.type){case "HOMEPAGE":return b?sd(wVc):sd(xVc);default:return b?sd(yVc):sd(zVc)}}))};hS.\u0275fac=function(a){return new (a||hS)};
hS.\u0275cmp=F({type:hS,selectors:[["b-feedback-dialog"]],standalone:!1,decls:9,vars:4,consts:[["mat-dialog-content",""],["frameborder","0","allowtransparency","true",3,"loading","src"],["diameter","60"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium",3,"click"],["type","button","mat-flat-button","","cdkFocusInitial","","color","primary",1,"medium","dialog-primary-action",3,"click"],["frameborder","0","allowtransparency","true",3,"load","src"]],template:function(a,b){a&1&&(L(0,
"div",0),I(1,S3a,1,3,"iframe",1),W(2,"async"),I(3,T3a,1,0,"mat-spinner",2),M(),L(4,"div",3)(5,"button",4),Q("click",function(){return b.dialogRef.close(!1)}),U(6," Cancel "),M(),L(7,"button",5),Q("click",function(){return b.dialogRef.close(!0)}),U(8," File a new issue "),M()());if(a&2){var c;E();J((c=X(2,2,b.docUrl$))?1:-1,c);E(2);J(b.contentLoaded?-1:3)}},dependencies:[jI,iI,dA,aA,kL,iL,py],styles:["iframe[_ngcontent-%COMP%]{display:block;width:100%;height:100%;border:0}.loading[_ngcontent-%COMP%]{display:none}.mat-mdc-dialog-content[_ngcontent-%COMP%]{display:flex;flex-grow:1;position:relative;justify-content:center;align-items:center}"],
changeDetection:0});var or=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(or,n);g=or.prototype;g.getEnableSsEngine=function(){return De(this,2)};g.getEnableAwr=function(){return De(this,3)};g.getAlohaAutoGaRollout=function(){return De(this,5)};g.getEnableConfigurator=function(){return De(this,6)};g.getEnableMweb=function(){return De(this,7)};var BVc=function(){var a=AVc();return Dl(a,7,!0)};or.prototype.getEnableCtlConsentCheckbox=function(){return De(this,8)};
or.prototype.getEnableIframe=function(){return De(this,9)};var AVc=function(){var a=new or;a=Dl(a,5,!0);a=Dl(a,2,!0);a=Dl(a,4,!1);a=Dl(a,8,!0);return Dl(a,9,!0)};or.prototype.getEnableScreenshotNudge=function(){return De(this,10)};var CVc=function(){var a=BVc();return Dl(a,10,!0)};or.prototype.getEnableWebStartupConfigEndpoint=function(){return De(this,11)};or.prototype.getEnableJunkNudge=function(){return De(this,12)};var l4a=function(){var a=CVc();return Dl(a,12,!0)};g=or.prototype;
g.getEnableConfiguratorLocale=function(){return De(this,13)};g.getEnableTinyNoPointer=function(){return De(this,14)};g.getEnableSupportSessionLogging=function(){return De(this,15)};g.getEnableFileUploadForScreenshot=function(){return De(this,16)};g.getEnableDirectDeflectionForSingleCategory=function(){return De(this,17)};g.getEnableImageSanitization=function(){return De(this,18)};g.getEnableAlohaBinarySplit=function(){return De(this,19)};g.getEnableDbFeedbackIntents=function(){return De(this,20)};
g.getEnableMarkMandatoryFieldsWithRequired=function(){return De(this,21)};g.getEnableFeedbackCategoryCustomUi=function(){return De(this,22)};g.getEnableRealtimeCtl=function(){return De(this,23)};var k4a=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(k4a,n);var U3a=[/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 W3a="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 X3a=Fu(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),Y3a=Fu(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);var nr=function(){var a=Error.call(this,"Form is either loading or already opened");this.message=a.message;"stack"in a&&(this.stack=a.stack);this.name="DuplicateFormError"};Y(nr,Error);var $3a,c4a,a4a,d4a;var DVc=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||da,e=d.document,f=a.nonce||jea(d.document);f&&!a.nonce&&(a.nonce=f);if(a.flow=="help"){var h=it("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var k=JSON.stringify(b);(h=k.length<=1200)&&(a.psdJson=k)}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],b==null||La(b)||(d+=encodeURIComponent(q)+"="+encodeURIComponent(b)+"&");a=Nr(e).createElement("SCRIPT");f&&a.setAttribute("nonce",f);kd(a,Yc(d));e.body.appendChild(a)}},EVc=function(a,b,c,d){var e,f;return v(function(h){e=c||da;var k=a.serverEnvironment==="DEV",q=c||da;q=a.nonce||jea(q.document);k={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,additionalDataConsent:a.additionalDataConsent},initializationData:{isLocalServer:k,nonce:q,useNightlyRelease:k,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)),k.extraData.productSpecificData=q);f=k;return w(h,h4a(f,d,e),0)})},FVc=function(a,b,c){try{if(a.flow==="help"){var d=a.helpCenterPath.replace(/^\//,
"");jd(c||window,"https://support.google.com/"+d)}else a.flow==="submit"?DVc(a,b,c):m4a(a.productId,a.feedbackServerUri).then(function(e){e=r(e,or,1);var f=!Wdc||(e==null?void 0:e.getEnableMweb()),h=!a.tinyNoPointer||(e==null?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&f&&h?EVc(a,b,c,e).catch(function(k){!k||k instanceof nr||DVc(a,b,c)}):DVc(a,b,c)},function(e){!e||e instanceof nr||DVc(a,b,c)})}catch(e){EVc(a,b,c,null).catch(function(f){!f||f instanceof nr||DVc(a,b,c)})}};
tdc("userfeedback.api.startFeedback",FVc);var GVc={width:"500px",maxHeight:"80vh",autoFocus:!0},HVc=new Date,iS=function(){this.activeSession=x(Ks);this.matDialog=x(eI);this.reportStartTime=new Date};iS.prototype.startFeedback=function(){var a=this;this.reportStartTime=new Date;this.activeSession.isInternalSession()?ZH(this.matDialog.open(hS,Object.assign({},GVc,{height:"640px",data:{type:"DEFAULT"}}))).subscribe(function(b){b&&IVc(a)}):IVc(this)};
var d3b=function(a){a.reportStartTime=new Date;a.activeSession.isInternalSession()?ZH(a.matDialog.open(hS,Object.assign({},GVc,{height:"400px",data:{type:"HOMEPAGE"}}))).subscribe(function(b){b&&IVc(a)}):IVc(a)},IVc=function(a){var b={productId:92912,nonce:a.activeSession.getCspNonce(),productVersion:"buganizer.frontend_20251015.05_p0"};b.bucket=Iq(a.activeSession)?"buganizer-trackers-feedback":"buganizer3-feedback";for(var c=[],d=c.concat,e=p([]),f=[],h=l(a.activeSession.session.config.enabledFlags),
k=h.next();!k.done;k=h.next()){var q=l(k.value);k=q.next().value;(q=q.next().value)&&f.push(k)}c=d.call(c,e,p(f)).join(", ");c={userType:a.activeSession.getUserTypeLabel(),flags:c};if(Iq(a.activeSession)){var u,A;c.trackerId=(A=(u=a.activeSession.getTracker())==null?void 0:u.trackerId)!=null?A:""}c.initialLoadTime=n4a(HVc);c.reportStartTime=n4a(a.reportStartTime);FVc(b,c)};iS.\u0275fac=function(a){return new (a||iS)};iS.\u0275prov=Dg({token:iS,factory:iS.\u0275fac,providedIn:"root"});var JVc=["actionsMenuIconButton"],jS=function(){this.buttonLabel="";this.buttonIcon="more-settings-vertical";this.buttonSize="medium";this.menuClass="actions-menu"};jS.prototype.onAction=function(a,b){return v(function(c){if(c.nextAddress==1)return w(c,Fq(0),2);if(a.type==="mouseup"&&a instanceof MouseEvent&&a.button!==1)return c.return();b.type!=="action"&&b.type!=="select"||b.action(a);ji(c)})};jS.prototype.ngOnInit=function(){};jS.\u0275fac=function(a){return new (a||jS)};
jS.\u0275cmp=F({type:jS,selectors:[["b-actions-menu"]],viewQuery:function(a,b){a&1&&ek(JVc,5);if(a&2){var c;ik(c=jk())&&(b.actionsMenuIconButton=c.first)}},inputs:{menuItems:"menuItems",buttonLabel:"buttonLabel",buttonIcon:"buttonIcon",buttonSize:"buttonSize",header:"header",menuClass:"menuClass"},standalone:!1,decls:7,vars:5,consts:[["menu","matMenu"],["actionsMenuIconButton",""],["submenu","matMenu"],["type","button","mat-icon-button","","aria-haspopup","true",3,"class","matTooltip","matMenuTriggerFor"],
[1,"b-actions-menu-panel"],[1,"bv2-menu-header"],["type","button","mat-icon-button","","aria-haspopup","true",3,"matTooltip","matMenuTriggerFor"],[1,"icon-s",3,"svgIcon"],["type","button","mat-menu-item","",3,"matMenuTriggerFor"],[1,"hint"],["type","button","mat-menu-item","",3,"disabled","class"],["type","button","mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled","class"],["type","button","mat-menu-item","",3,"click","mouseup","disabled"],["type","button","mat-menu-item",
"","role","menuitemcheckbox",3,"click","mouseup","disabled"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"]],template:function(a,b){a&1&&(I(0,o4a,3,6,"button",3),L(1,"mat-menu",null,0)(3,"div",4),I(4,p4a,2,1,"div",5),Mj(5,D4a,2,2,null,null,Kj),M()());a&2&&(J(b.menuItems.length>0?0:-1),E(),sk(zk("",b.menuClass,"-menu")),E(3),J(b.header?4:-1),E(),Nj(b.menuItems))},dependencies:[FL,mK,kK,pK,EA,dA,bA,YF,WF],styles:["[_nghost-%COMP%]{display:inline-block}.mat-mdc-menu-item[_ngcontent-%COMP%]{align-items:center;display:flex}.mat-mdc-menu-item[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-right:8px}.mat-mdc-menu-item[_ngcontent-%COMP%]   .hint[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin-left:auto;padding-left:16px}  .b-actions-menu-panel .mat-mdc-menu-item[disabled]{pointer-events:auto}/*# sourceMappingURL=actions_menu.css.map */"],
changeDetection:0});var KVc={type:"action",label:"Report illegal content"},LVc={type:"submenu",label:"View as"},MVc={type:"action",label:"Restriction settings..."},NVc={type:"action",label:"Show editing history"};var kS=function(){Z.apply(this,arguments);var a=this;this.triageService=x(TH);this.llmService=x(gS);this.issueFridge=x(MD);this.issueFullFridge=x(pE);this.issuePermissionService=x(BF);this.issuePicker=x(ZQ);this.issueApi=x(vD);this.errorHandler=x(PA);this.butterBar=x(MA);this.domSafe=x(SF);this.analytics=x(nE);this.triagePhaseService=x(dS);this.userFeedback=x(iS);this.isClosed=Vha;this.thumbsDownClicked=this.thumbsUpClicked=this.hasReacted=!1;this.trackBy=function(b,c){return c.id};this.issueIds$=
this.triageService.currentIssueIds$;this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.issue$=this.issueIds$.pipe(sj(function(b){return a.issueFridge.watch(b[0])}));this.issuePhase$=this.issue$.pipe(C(Fp));this.title$=this.issueIds$.pipe(sj(function(b){return sVc(a.llmService,b)}));this.clusterDescription$=this.issueIds$.pipe(sj(function(b){return vVc(a.llmService,b)}));this.rows$=this.issueIds$.pipe(C(function(b){return b.map(function(c){return{id:c,issue$:a.issueFridge.watch(c)}})}));
this.searchUrl$=this.issueIds$.pipe(C(function(b){return{path:"/issues",params:{q:"id:("+b.join("|")+")"}}}));this.refreshTable=new iE;this.checkedIssueIds=new CF;this.areAllChecked$=si([this.issueIds$,this.checkedIssueIds.value$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;return b.every(function(e){return d.has(e)})}));this.tableColumns=["checkbox","title","phase","relativeModifiedTime","menu"];this.displaySecondaryFooter=!1};Y(kS,Z);kS.\u0275dir=Z.\u0275dir;g=kS.prototype;
g.ngOnInit=function(){var a=this,b;return v(function(c){if(c.nextAddress==1)return w(c,pi(a.issueIds$),2);b=c.yieldResult;a.checkedIssueIds.reset(b);ji(c)})};g.toggleAll=function(a){var b=this,c;return v(function(d){if(d.nextAddress==1)return w(d,pi(b.issueIds$),2);c=d.yieldResult;a.checked?b.checkedIssueIds.reset(c):b.checkedIssueIds.reset([]);ji(d)})};
g.openDupeDialog=function(){var a=this,b,c,d,e,f,h,k;return v(function(q){if(q.nextAddress==1){b=[].concat(p(a.checkedIssueIds));if(!b||!b.length)return q.return();c=tia;return w(q,pi(a.issueFridge.watchSet(b)),2)}if(q.nextAddress!=3)return d=c(q.yieldResult),e=l,w(q,a.issuePicker.open({componentId:d||null,allowMultipleIds:!1,currentResource:{id:b[0],type:"issue"},edgeType:"canonical",originIsBulk:!0}),3);f=e(q.yieldResult);return(k=h=f.next().value)?w(q,a.markAsDuplicate(k,b),0):q.return()})};
g.getMenuItems=function(a){var b=this;return[{type:"action",label:"Go to issue",action:function(){b.domSafe.openInNewTab(Hq.viewIssue.makeHref(a.id))},title:"Go to issue",icon:"arrow-forward"},{type:"action",label:"Mark selected issues as duplicate of this one",action:function(){var c=[].concat(p(b.checkedIssueIds));b.markAsDuplicate(a.id,c.filter(function(d){return d!==a.id}))},title:"Mark selected issues as duplicate of this one",icon:"issue-status-duplicate"}]};
g.markAsDuplicate=function(a,b){var c=this,d,e,f;return v(function(h){switch(h.nextAddress){case 1:d=b.filter(function(k){return k!==a});if(!d.length)return h.return();e={bulkEditOps:[{actions:[{fieldName:"duplicateOfIssueId",value:a}],issueIds:b}]};ei(h,2,3);hq(c.butterBar,"Saving...");return w(h,c.issueApi.issueBulkEdit(e),5);case 5:hq(c.butterBar,"Marked "+b.length+" issues as duplicate.");case 3:return fi(h),w(h,Promise.all([].concat(p(b.map(function(k){return c.issueFridge.poke(k)})),[c.issueFridge.poke(a)])),
6);case 6:hi(h,0);break;case 2:f=ii(h),RA(c.errorHandler,f),h.jumpTo(3)}})};g.cancelAction=function(){this.displaySecondaryFooter=!1};g.finalizeSecondaryAction=function(a){var b=this,c,d;return v(function(e){if(e.nextAddress==1)return b.displaySecondaryFooter=!1,(c=b.selectedTriageAction)?w(e,kVc(b.triagePhaseService,a,c),2):e.return();d=e.yieldResult;b.displaySecondaryFooter=!1;b.announceUpdate(a,d);ji(e)})};g.sendFeedback=function(){IVc(this.userFeedback)};
g.trackThumbsUp=function(){this.thumbsUpClicked=this.hasReacted=!0;this.analytics.trackEvent("issueCluster","accept","trendingThemes")};g.trackThumbsDown=function(){this.thumbsDownClicked=this.hasReacted=!0;this.analytics.trackEvent("issueCluster","reject","trendingThemes")};
g.openSecondaryActionFooter=function(a){var b=this,c;return v(function(d){if(d.nextAddress==1)return c=[].concat(p(b.checkedIssueIds)),b.triageService.internalSelectedIssueIds$.next(c),a!=="MARK_AS_DUPLICATE"?d.jumpTo(2):w(d,b.openDupeDialog(),3);if(d.nextAddress!=2)return d.return();b.selectedTriageAction=a;b.displaySecondaryFooter=!0;ji(d)})};g.announceUpdate=function(a,b){if(b&&b.length)for(a=l(a),b=a.next();!b.done;b=a.next())this.issueFullFridge.poke(b.value);this.refreshTable.emit()};
kS.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(kS)))(b||kS)}}();
kS.\u0275cmp=F({type:kS,selectors:[["cluster-triage-sidebar"]],outputs:{refreshTable:"refreshTable"},standalone:!1,features:[xj],decls:48,vars:25,consts:[[1,"container","bg-secondary","flex-kids-y"],[1,"flex-kids-x","space-between","border-bottom","bg-main","align-items-center"],["chipColor","purple","displayText","Trending themes","icon","issue-status-new","tooltip","Trending theme identified by AI",1,"margin-s-left"],["type","button","mat-icon-button","","matTooltip","Close sidebar","aria-label",
"Close sidebar",1,"gmat-button","margin-left-auto",3,"click"],["svgIcon","close"],[1,"content","flex-kids-y","margin-s"],[1,"flex-kids-x","space-between","full-width"],[1,"heading-m"],[1,"type-s"],[1,"flex-kids-x","gap-s"],["type","button","mat-icon-button","","matTooltip","Send feedback for the trending themes","aria-label","send feedback for the trending themes",1,"feedback-button",3,"click"],["svgIcon","feedback-outline",1,"icon-s"],["type","button","mat-icon-button","","matTooltip","Trending themes are helpful",
"aria-label","thumb up",1,"feedback-button",3,"click","disabled"],["svgIcon","thumb_up_24px",1,"icon-s"],["type","button","mat-icon-button","","matTooltip","Trending themes are not helpful","aria-label","thumb down",1,"feedback-button",3,"click","disabled"],["svgIcon","thumb_down_24px",1,"icon-s"],[1,"bg-main","rounded","bordered","flex-kids-y","margin-s-y","gap-xs"],[1,"description","border-bottom","padded"],[1,"padded"],[1,"muted"],["mat-table","",1,"full-width",3,"dataSource","trackBy"],["matColumnDef",
"checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","phase"],["matColumnDef","relativeModifiedTime"],["mat-header-cell","","mat-sort-header","relativeModifiedTime","start","desc","class","nowrap",4,"matHeaderCellDef"],["mat-cell","","class","nowrap",4,"matCellDef"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"closed",4,"matRowDef","matRowDefColumns"],["mat-button","","color","primary",
1,"small","width-fit-content","margin-s-top",3,"routerLink","queryParams"],[1,"bg-main","carded","flex-kids-x","align-items-center","margin-s"],[1,"muted","uppercase"],[1,"margin-s-top"],["mat-header-cell",""],["gmat-checkbox","",3,"change","checked","indeterminate"],["mat-cell",""],["gmat-checkbox","",3,"change","checked"],["anchorTarget","_blank",3,"issue","enableHovercard"],[1,"chippy"],["mat-header-cell","","mat-sort-header","relativeModifiedTime","start","desc",1,"nowrap"],["mat-cell","",1,"nowrap"],
[3,"timestamp","mode","paddingLeftPx"],["buttonLabel","More options","buttonIcon","more-settings-vertical","menuClass","issue-cluster-options",3,"click","menuItems"],["mat-header-row",""],["mat-row",""],[1,"full-width",3,"selectedTriageAction"],[1,"full-width",3,"cancelAction","finalizeAction","selectedTriageAction"],[3,"onSelect","phase"],["type","button","mat-button","","matTooltip","Mark selected issues as duplicate",1,"gmat-button",3,"click","disabled"]],template:function(a,b){a&1&&(L(0,"div",
0)(1,"div",1),N(2,"b-signal-chip",2),L(3,"button",3),Q("click",function(){return b.triageService.closeSidebar()}),N(4,"mat-icon",4),M()(),L(5,"div",5)(6,"div",6)(7,"h3",7),U(8),W(9,"async"),W(10,"async"),M(),N(11,"span",8),L(12,"div",9)(13,"button",10),Q("click",function(){return b.sendFeedback()}),N(14,"mat-icon",11),M(),L(15,"button",12),Q("click",function(){return b.trackThumbsUp()}),N(16,"mat-icon",13),M(),L(17,"button",14),Q("click",function(){return b.trackThumbsDown()}),N(18,"mat-icon",15),
M()()(),L(19,"div",16),I(20,G4a,5,1,"div",17),W(21,"async"),L(22,"div",18)(23,"span",19),U(24,"Select issues to take action"),M(),L(25,"table",20),Sj(26,21),G(27,H4a,4,6,"th",22)(28,I4a,3,3,"td",23),Tj(),Sj(29,24),G(30,J4a,2,0,"th",22)(31,K4a,3,4,"td",23),Tj(),Sj(32,25),G(33,L4a,2,0,"th",22)(34,O4a,3,3,"td",23),Tj(),Sj(35,26),G(36,P4a,2,0,"th",27)(37,S4a,3,3,"td",28),Tj(),Sj(38,29),G(39,T4a,1,0,"th",22)(40,U4a,2,1,"td",23),Tj(),G(41,V4a,1,0,"tr",30)(42,W4a,2,4,"tr",31),M(),I(43,X4a,2,2,"a",32),W(44,
"async"),M()()(),L(45,"div",33),I(46,$4a,2,1),W(47,"async"),M()());if(a&2){var c,d,e,f;E(8);uk("",X(9,15,b.title$)," (",(c=X(10,17,b.issueIds$))==null?null:c.length," issues)");E(7);K("disabled",b.hasReacted);E();rk("has-reacted-icon",b.thumbsUpClicked);E();K("disabled",b.hasReacted);E();rk("has-reacted-icon",b.thumbsDownClicked);E(2);J((d=X(21,19,b.clusterDescription$))?20:-1,d);E(5);K("dataSource",b.rows$)("trackBy",b.trackBy);E(16);K("matHeaderRowDef",b.tableColumns);E();K("matRowDefColumns",b.tableColumns);
E();J((e=X(44,21,b.searchUrl$))?43:-1,e);E(3);J((f=X(47,23,b.issuePhase$))?46:-1,f)}},dependencies:[jS,EA,bC,tN,dA,aA,bA,aG,HG,RP,eL,SK,YK,UK,RK,$K,VK,XK,aL,cL,YF,WF,MP,aQ,cS,CM,py],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-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-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}.container[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden;position:absolute}.content[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;overflow:hidden auto}tr.closed[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--row-fixed-bg)}tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link)}  div.mat-mdc-menu-panel.issue-cluster-options-menu{max-width:350px}  div.mat-mdc-menu-panel.issue-cluster-options-menu .mat-mdc-menu-content button.mat-mdc-menu-item{width:350px}.feedback-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}.feedback-button[_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}"]});var lS=function(){var a=this;this.data=x(dI);this.cdr=x(jE,{self:!0});this.codefont=x(PF);this.location=x(cn);this.paths=x(TO);this.userFeedback=x(iS);this.errorHandler=x(PA);this.issueId=this.data.issueId;this.commentNumber=this.data.commentNumber;this.commentVersion=this.data.commentVersion;this.history=[];this.diffView=this.isLoading=!0;this.data.commentHistory.then(function(b){a.history=b}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
lS.prototype.startFeedback=function(){this.userFeedback.startFeedback()};lS.\u0275fac=function(a){return new (a||lS)};
lS.\u0275cmp=F({type:lS,selectors:[["comment-history-dialog"]],standalone:!1,features:[Bk([jE])],decls:14,vars:3,consts:[["mat-dialog-title",""],[1,"diff-checkbox"],[3,"change","checked"],[1,"dialog-feedback",3,"click"],[1,"float-clear"],[1,"bv2-view-loading"],[1,"comment-history-list"],"type button mat-button  mat-dialog-close ".split(" "),[1,"comment-version",3,"comment-version-open"],[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"],[1,"muted","float-right","float-clear"],[1,"type-xs",3,"innerHtml"],[1,"type-xs"],[1,"comment-version-email"],[3,"email"],[3,"click","id"],[1,"comment-version-preview"],[1,"comment-version-preview","deleted"],[1,"comment-version-restricted"],[1,"comment-version-content","deleted"],[1,"comment-version-content",3,"codefont","innerHtml"],[1,"comment-version-content",3,"innerHtml"]],template:function(a,b){a&1&&(L(0,"h2",
0),U(1),M(),L(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",2),Q("change",function(c){return b.diffView=c.checked}),U(5," Show Diff "),M()(),L(6,"a",3),Q("click",function(){return b.startFeedback()}),U(7,"Feedback"),M(),N(8,"br",4),I(9,a5a,2,0,"div",5)(10,p5a,3,0,"ul",6),M(),L(11,"mat-dialog-actions")(12,"button",7),U(13,"Close"),M()());a&2&&(E(),V("History for Comment #",b.commentNumber),E(3),K("checked",b.diffView),E(5),J(b.isLoading?9:10))},dependencies:[tN,aG,HG,dA,aA,fI,hI,jI,iI,GJ,lL,
SM,RM,py,WI,NM],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}/*# sourceMappingURL=comment_history_dialog.css.map */"],
changeDetection:0});var q5a=function(){},qr=function(a,b,c,d,e){typeof e=="undefined"&&(e=(new Date).getTime()+1E3);if(b==null||c==null)throw Error("qe");if(b==c)return b?[[0,b]]:[];typeof d=="undefined"&&(d=!0);var f=OVc(b,c),h=b.substring(0,f);b=b.substring(f);c=c.substring(f);f=PVc(b,c);var k=b.substring(b.length-f);b=b.substring(0,b.length-f);c=c.substring(0,c.length-f);b=QVc(a,b,c,d,e);h&&b.unshift([0,h]);k&&b.push([0,k]);RVc(a,b);return b},QVc=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,k=f.indexOf(h);if(k!=-1)return a=[[1,f.substring(0,k)],[0,h],[1,f.substring(k+h.length)]],b.length>c.length&&(a[0][0]=a[2][0]=-1),a;if(h.length==1)return[[-1,b],[1,c]];if(f=SVc(b,c))return c=f[1],h=f[3],b=f[4],f=qr(a,f[0],f[2],d,e),a=qr(a,c,h,d,e),f.concat([[0,b]],a);if(d&&b.length>100&&c.length>100){b=TVc(b,c);c=b.lineArray;b=qr(a,b.chars1,b.chars2,!1,e);for(d=0;d<b.length;d++){f=b[d][1];h=[];for(k=0;k<f.length;k++)h[k]=c[f.charCodeAt(k)];b[d][1]=h.join("")}r5a(a,
b);b.push([0,""]);f=d=c=0;for(k=h="";c<b.length;){switch(b[c][0]){case 1:f++;k+=b[c][1];break;case -1:d++;h+=b[c][1];break;case 0:if(d>=1&&f>=1){b.splice(c-d-f,d+f);c=c-d-f;d=qr(a,h,k,!1,e);for(f=d.length-1;f>=0;f--)b.splice(c,0,d[f]);c+=d.length}d=f=0;k=h=""}c++}b.pop();a=b}else a:{d=b.length;f=c.length;h=Math.ceil((d+f)/2);k=2*h;for(var q=Array(k),u=Array(k),A=0;A<k;A++)q[A]=-1,u[A]=-1;q[h+1]=0;u[h+1]=0;A=d-f;for(var D=A%2!=0,H=0,O=0,P=0,S=0,aa=0;aa<h&&!((new Date).getTime()>e);aa++){for(var ia=
-aa+H;ia<=aa-O;ia+=2){var la=h+ia;var ya=ia==-aa||ia!=aa&&q[la-1]<q[la+1]?q[la+1]:q[la-1]+1;for(var Ia=ya-ia;ya<d&&Ia<f&&b.charAt(ya)==c.charAt(Ia);)ya++,Ia++;q[la]=ya;if(ya>d)O+=2;else if(Ia>f)H+=2;else if(D&&(la=h+A-ia,la>=0&&la<k&&u[la]!=-1)){var Pa=d-u[la];if(ya>=Pa){a=UVc(a,b,c,ya,Ia,e);break a}}}for(ia=-aa+P;ia<=aa-S;ia+=2){la=h+ia;Pa=ia==-aa||ia!=aa&&u[la-1]<u[la+1]?u[la+1]:u[la-1]+1;for(ya=Pa-ia;Pa<d&&ya<f&&b.charAt(d-Pa-1)==c.charAt(f-ya-1);)Pa++,ya++;u[la]=Pa;if(Pa>d)S+=2;else if(ya>f)P+=
2;else if(!D&&(la=h+A-ia,la>=0&&la<k&&q[la]!=-1&&(ya=q[la],Ia=h+ya-la,Pa=d-Pa,ya>=Pa))){a=UVc(a,b,c,ya,Ia,e);break a}}}a=[[-1,b],[1,c]]}return a},UVc=function(a,b,c,d,e,f){var h=b.substring(d),k=c.substring(e);b=qr(a,b.substring(0,d),c.substring(0,e),!1,f);a=qr(a,h,k,!1,f);return b.concat(a)},TVc=function(a,b){function c(h){for(var k="",q=0,u=-1,A=d.length;u<h.length-1;){u=h.indexOf("\n",q);u==-1&&(u=h.length-1);var D=h.substring(q,u+1);(e.hasOwnProperty?e.hasOwnProperty(D):e[D]!==void 0)?k+=String.fromCharCode(e[D]):
(A==f&&(D=h.substring(q),u=h.length),k+=String.fromCharCode(A),e[D]=A,d[A++]=D);q=u+1}return k}var d=[],e={};d[0]="";var f=4E4;a=c(a);f=65535;b=c(b);return{chars1:a,chars2:b,lineArray:d}},OVc=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},PVc=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},VVc=function(a,b){var c=a.length,d=b.length;if(c==0||d==0)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(f==-1)return d;e+=f;if(f==0||a.substring(c-e)==b.substring(0,e))d=e,e++}},SVc=function(a,b){function c(k,q,u){for(var A=k.substring(u,u+Math.floor(k.length/4)),D=-1,H="",
O,P,S,aa;(D=q.indexOf(A,D+1))!=-1;){var ia=OVc(k.substring(u),q.substring(D)),la=PVc(k.substring(0,u),q.substring(0,D));H.length<la+ia&&(H=q.substring(D-la,D)+q.substring(D,D+ia),O=k.substring(0,u-la),P=k.substring(u+ia),S=q.substring(0,D-la),aa=q.substring(D+ia))}return H.length*2>=k.length?[O,P,S,aa,H]:null}var d=a.length>b.length?a:b,e=a.length>b.length?b:a;if(d.length<4||e.length*2<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]]},r5a=function(a,b){for(var c=!1,d=[],e=0,f=null,h=0,k=0,q=0,u=0,A=0;h<b.length;)b[h][0]==0?(d[e++]=h,k=u,q=A,A=u=0,f=b[h][1]):(b[h][0]==1?u+=b[h][1].length:A+=b[h][1].length,f&&f.length<=Math.max(k,q)&&f.length<=Math.max(u,A)&&(b.splice(d[e-1],0,[-1,f]),b[d[e-1]+1][0]=1,e--,e--,h=e>0?d[e-1]:-1,A=u=q=k=0,f=null,c=!0)),h++;c&&RVc(a,b);WVc(b);for(h=1;h<b.length;){if(b[h-
1][0]==-1&&b[h][0]==1){a=b[h-1][1];c=b[h][1];d=VVc(a,c);e=VVc(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++}},WVc=function(a){function b(D,H){if(!D||!H)return 6;var O=D.charAt(D.length-1),P=H.charAt(0),S=O.match(XVc),aa=P.match(XVc),
ia=S&&O.match(YVc),la=aa&&P.match(YVc);O=ia&&O.match(ZVc);P=la&&P.match(ZVc);D=O&&D.match($Vc);H=P&&H.match(aWc);return D||H?5:O||P?4:S&&!ia&&la?3:ia||la?2:S||aa?1:0}for(var c=1;c<a.length-1;){if(a[c-1][0]==0&&a[c+1][0]==0){var d=a[c-1][1],e=a[c][1],f=a[c+1][1],h=PVc(d,e);if(h){var k=e.substring(e.length-h);d=d.substring(0,d.length-h);e=k+e.substring(0,e.length-h);f=k+f}h=d;k=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 A=
b(d,e)+b(e,f);A>=u&&(u=A,h=d,k=e,q=f)}a[c-1][1]!=h&&(h?a[c-1][1]=h:(a.splice(c-1,1),c--),a[c][1]=k,q?a[c+1][1]=q:(a.splice(c+1,1),c--))}c++}},XVc=/[^a-zA-Z0-9]/,YVc=/\s/,ZVc=/[\r\n]/,$Vc=/\n\r?\n$/,aWc=/^\r?\n\r?\n/,RVc=function(a,b){b.push([0,""]);for(var c=0,d=0,e=0,f="",h="",k;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:d+e>1?(d!==0&&e!==0&&(k=OVc(h,f),k!==0&&(c-d-e>0&&b[c-d-e-1][0]==0?b[c-d-e-1][1]+=h.substring(0,k):(b.splice(0,0,[0,h.substring(0,
k)]),c++),h=h.substring(k),f=f.substring(k)),k=PVc(h,f),k!==0&&(b[c][1]=h.substring(h.length-k)+b[c][1],h=h.substring(0,h.length-k),f=f.substring(0,f.length-k))),d===0?b.splice(c-e,d+e,[1,h]):e===0?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):c!==0&&b[c-1][0]==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;)b[c-1][0]==0&&b[c+1][0]==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&&RVc(a,b)};var mS=function(){this.analytics=x(nE);this.issueComments=x(CI);this.dialogManager=x(eI)};mS.prototype.show=function(a,b,c){var d=this,e;return v(function(f){if(d.dialog&&d.dialog.getState()!==2)return f.return();d.analytics.trackEvent("commentHistoryModal","open");e={issueId:a,commentNumber:b,commentVersion:c,commentHistory:bWc(d,a,b,c)};d.dialog=d.dialogManager.open(lS,{data:e,width:"50vw"});return f.return(pi(ZH(d.dialog)))})};
var bWc=function(a,b,c,d){return a.issueComments.listHistory(b,c).then(function(e){var f=e.length>0?e[0].unlinkifiedComment:"",h=e.length>0?e[0].formattingMode:"",k=!1,q=[];e=l(e);for(var u=e.next();!u.done;u=e.next()){u=u.value;var A=t5a(u);A||k?(f=cWc(u.unlinkifiedComment),h=cWc(u.formattingMode)):(f=s5a(f,u.unlinkifiedComment),k=u.formattingMode,h=h===k?cWc(k):pd([cWc(h,"diff-removed"),cWc(k,"diff-added")]));k=u.unlinkifiedComment===void 0?"":u.unlinkifiedComment;var D=u.version,H=u.commentContentVerdict;
q.push({unlinkifiedComment:k,lastEditorUser:u.lastEditorUser,version:D,formattingMode:u.formattingMode,formattingModeDiff:h,lastModified:Number(u.lastModified)/1E3,open:D<25,preview:k.length<=48?k:k.substring(0,45)+"...",diff:f,restricted:H&&H.piiVerdict&&H.piiVerdict.severity!=="NONE_DETECTED"||!1,deleted:t5a(u)});f=u.unlinkifiedComment;h=u.formattingMode;k=A}d>-1?q[d].open=!0:q[0].open=!0;return q})},cWc=function(a,b){return qd("span",b?{"class":b}:void 0,a)};
mS.\u0275fac=function(a){return new (a||mS)};mS.\u0275prov=Dg({token:mS,factory:mS.\u0275fac,providedIn:"root"});var nS=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,nS.messageId)};Y(nS,n);nS.prototype.getUrl=function(){return Oc(this,1,void 0,Kc)};nS.prototype.setUrl=function(a){return lf(this,1,a,Kc)};nS.prototype.hasUrl=function(){return Ge(this,1,Kc)};nS.messageId="b.AttachmentUrlResponse";var oS=function(){this.executor=x(fy)};oS.prototype.get=function(a,b,c,d){if(!a||!b)return Promise.reject(Error("se"));var e={};d&&(e["X-Restricted-Content-Limit"]=String(wya(d)));return this.executor.get({url:"action/issues/"+a+"/attachments/"+b+"/url",options:{headers:e,params:{download:String(c)}},responseConstructor:nS}).then(function(f){return f.getUrl()})};oS.\u0275fac=function(a){return new (a||oS)};oS.\u0275prov=Dg({token:oS,factory:oS.\u0275fac,providedIn:"root"});var pS=function(){this.templateRef=x(bk);this.viewContainer=x(ck);this.activeSession=x(Ks);this.isInternal=this.activeSession.isInternalSession()};pS.prototype.ngOnInit=function(){this.isInternal&&this.viewContainer.createEmbeddedView(this.templateRef)};pS.\u0275fac=function(a){return new (a||pS)};pS.\u0275dir=$i({type:pS,selectors:[["","internalOnly",""]],standalone:!1});var qS=function(){this.dialogRef=x(YH);this.data=x(dI);this.userAccess=x(dD);this.attachmentsUrl=x(oS);this.butterBar=x(MA);this.domSafe=x(SF);this.documentationLinks=x(XH);this.changeDetectorRef=x(jE,{self:!0});this.attachment=this.data.attachment;this.issueId=this.data.issueId;this.isLoading=!0;this.hasViewAccess=!1;this.download=this.data.download};qS.prototype.ngOnInit=function(){this.changeDetectorRef.detectChanges();this.setHasViewAccess()};
qS.prototype.setHasViewAccess=function(){var a=this;this.isLoading=!0;v5a(this)?(this.hasViewAccess=!1,eD(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)};qS.prototype.getRestrictionSeverity=function(){var a=this.attachment.contentVerdict;if(a&&(a=a.piiVerdict))return a.severity};
var v5a=function(a){return(a=a.getRestrictionSeverity())?a!=="NONE_DETECTED":!1},dWc=function(a){var b=a.download&&Oea(a.attachment.contentType);a.attachmentsUrl.get(a.issueId,a.attachment.attachmentId,b,a.getRestrictionSeverity()).then(function(c){b?TF(a.domSafe,c):a.domSafe.openInNewTab(c);a.close()},function(){a.butterBar.showWarning("Failed to load attachment. Please refresh and try again.");a.close()})};qS.prototype.close=function(){this.dialogRef.close();this.changeDetectorRef.detectChanges()};
qS.prototype.getRestrictedAccessHelpLink=function(){return this.documentationLinks.getRestrictedAccessHelpLink()};qS.\u0275fac=function(a){return new (a||qS)};
qS.\u0275cmp=F({type:qS,selectors:[["b-attachment-download-dialog"]],standalone:!1,features:[Bk([jE])],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"],["diameter","60",1,"centered-spinner"],["mat-dialog-actions",""],["type","button","mat-button","",3,"click"],["type","button","mat-flat-button","",1,"dialog-primary-action",
3,"click","disabled"],["target","_blank","aria-label","Learn more about restricted access in Buganizer.",3,"href"],[1,"no-access-warning"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1,"Access Attachment"),M(),L(2,"div",1)(3,"div",2),U(4," Are you sure you would like to access the following attachment? "),M(),N(5,"br"),L(6,"div",3)(7,"div",4),N(8,"mat-icon",5),M(),L(9,"div",6),U(10),M()(),N(11,"br"),G(12,w5a,2,1,"ng-container",7),I(13,x5a,3,0,"div",2),M(),I(14,y5a,1,0,"mat-spinner",8),L(15,"div",
9)(16,"button",10),Q("click",function(){return b.close()}),U(17," Cancel "),M(),L(18,"button",11),Q("click",function(){return dWc(b)}),U(19," Continue "),M()());a&2&&(E(10),V(" ",b.attachment.filename," "),E(3),J(b.isLoading||b.hasViewAccess?-1:13),E(),J(b.isLoading?14:-1),E(4),K("disabled",!b.hasViewAccess))},dependencies:[EA,dA,aA,hI,jI,iI,kL,iL,pS],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 eWc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(eWc,n);g=eWc.prototype;g.getIssueId=function(){return Re(this,1)};g.getIssueId_asString=function(){return Xe(this,1)};g.setIssueId=function(a){return ll(this,1,a)};g.getAttachmentId_asString=function(){return Xe(this,2)};g.setAttachmentId=function(a){return ll(this,2,a)};g.getRestrictedRetention=function(){return Zd(this,3)};g.setRestrictedRetention=function(a){return Xd(this,3,a)};var fWc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(fWc,n);fWc.prototype.getIt=function(){return r(this,eWc,4)};fWc.prototype.setIt=function(a){return t(this,eWc,4,a)};var rS=function(){this.executor=x(ey)};rS.prototype.updateRetention=function(a,b,c){c=(new fWc).setIt((new eWc).setIssueId(a).setAttachmentId(Number(b)).setRestrictedRetention(Uta(c)));return this.executor.post({url:"action/issues/"+a+"/attachments/"+b+"/update_retention",body:c,responseConstructor:tI}).pipe(C(OLa))};rS.\u0275fac=function(a){return new (a||rS)};rS.\u0275prov=Dg({token:rS,factory:rS.\u0275fac,providedIn:"root"});var gWc=Symbol("te"),hWc=Symbol("ue"),iWc=/^[a-z0-9-_]{6,30}$/,jWc="productID must match the expression: "+iWc;Lu(rr,z5a);for(var kWc=[],lWc=0;lWc<63;lWc++)kWc[lWc]=0;var mWc=[].concat(128,kWc);rr.prototype.reset=function(){this.total_=this.inChunk_=0;this.hash_=da.Int32Array?new Int32Array(this.initHashBlocks_):Ja(this.initHashBlocks_)};
var nWc=function(a){for(var b=a.chunk_,c=a.w_,d=0,e=0;e<b.length;)c[d++]=b[e]<<24|b[e+1]<<16|b[e+2]<<8|b[e+3],e=d*4;for(b=16;b<64;b++)d=c[b-15]|0,e=c[b-2]|0,c[b]=((c[b-16]|0)+((d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3)|0)+((c[b-7]|0)+((e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)|0)|0;b=a.hash_[0]|0;d=a.hash_[1]|0;e=a.hash_[2]|0;for(var f=a.hash_[3]|0,h=a.hash_[4]|0,k=a.hash_[5]|0,q=a.hash_[6]|0,u=a.hash_[7]|0,A=0;A<64;A++){var D=((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+(b&d^b&e^d&e)|0,H=(u+((h>>>6|h<<26)^
(h>>>11|h<<21)^(h>>>25|h<<7))|0)+(((h&k^~h&q)+(A5a[A]|0)|0)+(c[A]|0)|0)|0;u=q;q=k;k=h;h=f+H|0;f=e;e=d;d=b;b=H+D|0}a.hash_[0]=a.hash_[0]+b|0;a.hash_[1]=a.hash_[1]+d|0;a.hash_[2]=a.hash_[2]+e|0;a.hash_[3]=a.hash_[3]+f|0;a.hash_[4]=a.hash_[4]+h|0;a.hash_[5]=a.hash_[5]+k|0;a.hash_[6]=a.hash_[6]+q|0;a.hash_[7]=a.hash_[7]+u|0};
rr.prototype.update=function(a,b){b===void 0&&(b=a.length);var c=0,d=this.inChunk_;if(typeof a==="string")for(;c<b;)this.chunk_[d++]=a.charCodeAt(c++),d==this.blockSize&&(nWc(this),d=0);else if(Ka(a))for(;c<b;){var e=a[c++];if(!("number"==typeof e&&0<=e&&255>=e&&e==(e|0)))throw Error("ve");this.chunk_[d++]=e;d==this.blockSize&&(nWc(this),d=0)}else throw Error("we");this.inChunk_=d;this.total_+=b};
rr.prototype.digest=function(){var a=[],b=this.total_*8;this.inChunk_<56?this.update(mWc,56-this.inChunk_):this.update(mWc,this.blockSize-(this.inChunk_-56));for(var c=63;c>=56;c--)this.chunk_[c]=b&255,b/=256;nWc(this);for(c=b=0;c<this.numHashBlocks_;c++)for(var d=24;d>=0;d-=8)a[b++]=this.hash_[c]>>d&255;return a};
var B5a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,
4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],A5a;Lu(D5a,rr);var C5a=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var F5a=new TextEncoder,G5a=F5a.encode("$@#|").buffer;var oWc=["allow-same-origin","allow-scripts","allow-forms","allow-popups"],pWc=new TextEncoder,qWc={},rWc=function(){var a=this;this.productID="buganizer";this.shimOptions=void 0;this.renderCalled=!1;this.shimIframe=document.createElement("iframe");if(!iWc.test("buganizer"))throw Error(jWc);if(!N5a())throw Error("ye");qWc.shimBlobUrlFactory!==void 0&&(this.shimBlobUrlFactory=qWc.shimBlobUrlFactory);this.attachedPromise=new Promise(function(b){a.shimIframe.addEventListener("load",function(){b()},{once:!0});
a.shimIframe.addEventListener("error",function(){b()},{once:!0})})},sWc=function(a,b,c){if(!a.shimIframe||!a.shimIframe.contentWindow)throw Error("ze");var d=new MessageChannel;a.shimIframe.contentWindow.postMessage(b,c,[d.port2]);return new Promise(function(e){d.port1.onmessage=function(f){f=f.data;if(f.type==="msg")f.message==="Reloading iframe"&&e();else if(f.type==="error")throw Error(f.message);}})},tWc=function(a,b,c,d){var e,f,h,k,q,u,A,D,H,O,P,S,aa,ia,la,ya,Ia,Pa,gb,ua,Ea,Ha;v(function(mb){switch(mb.nextAddress){case 1:if(a.renderCalled)throw Error("Ae");
a.renderCalled=!0;h=(f=(e=a.shimOptions)==null?void 0:e.sandbox)!=null?f:oWc;c.toLowerCase()!=="application/pdf"&&(a.shimIframe.sandbox.add.apply(a.shimIframe.sandbox,p(h)),a.shimIframe.sandbox.add("allow-scripts"),a.shimIframe.sandbox.add("allow-same-origin"));q=(k=a.shimOptions)==null?void 0:k.useSubtleCrypto;D=(A=a.shimOptions)==null?void 0:A.enableBrowserCaching;O=(H=a.shimOptions)==null?void 0:H.urlFragment;if(!D){u=J5a().buffer;mb.jumpTo(2);break}if(D===!0)return w(mb,I5a({useSubtleCrypto:q,
parts:[b,location.pathname]}),7);if(typeof D!=="object"||!D[hWc])throw Error("Be");return w(mb,E5a(pWc.encode(D[hWc]).buffer,q),6);case 6:u=mb.yieldResult;mb.jumpTo(2);break;case 7:u=mb.yieldResult;case 2:return P=window.origin,w(mb,L5a({product:a.productID,salt:u,useSubtleCrypto:q,trustedOrigin:P,version:Number("819068872")}),8);case 8:return S=mb.yieldResult,aa=M5a({trustedOrigin:P,fileHash:S,version:"819068872",product:a.productID,cache:!!D}),ia=(new URL(aa)).origin,a.shimBlobUrlFactory!==void 0?
(la=a.shimBlobUrlFactory(aa),ya=URL.createObjectURL(la),a.shimIframe.src=ya,ia=(new URL(ya)).origin):a.shimIframe.src=aa,((Ia=a.shimOptions)==null?void 0:Ia.useShadowDom)===gWc?(Pa=document.createElement("safe-content-frame"),gb=Pa.attachShadow({mode:"open"}),a.shimIframe.part.add("shim-iframe"),gb.appendChild(a.shimIframe),d.appendChild(Pa)):d.appendChild(a.shimIframe),w(mb,a.attachedPromise,9);case 9:return ua=!1,Ha=new Promise(function(nb){a.shimIframe.addEventListener("load",function(){ua=!0;
nb(Ea)},{once:!0})}),Ea={sendMessage:function(nb,Lb){if(!a.shimIframe||!a.shimIframe.contentWindow)throw Error("ze");a.shimIframe.contentWindow.postMessage(nb,ia,Lb)},origin:ia,fullyLoadedPromise:Ha,fullyLoadedPromiseWithTimeout:function(nb){var Lb=new Promise(function(bc,yc){setTimeout(function(){ua?bc(Ea):yc(Error("Ce"))},nb)});return Promise.race([Ha,Lb])}},w(mb,sWc(a,{body:b,mimeType:c,salt:u,urlFragment:O},ia),10);case 10:return mb.return(Ea)}})};var uWc=["attachmentContent"],sS=function(){Z.apply(this,arguments);this.attachmentsApi=x(wI)};Y(sS,Z);sS.\u0275dir=Z.\u0275dir;sS.prototype.ngOnInit=function(){vWc(this)};var vWc=function(a){a.subscriptions.add(LDc(a.attachmentsApi,a.issueId,a.attachmentId).subscribe(function(b){b&&tWc(new rWc,b,a.mimeType,a.container.nativeElement)}))};sS.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(sS)))(b||sS)}}();
sS.\u0275cmp=F({type:sS,selectors:[["attachment-preview"]],viewQuery:function(a,b){a&1&&ek(uWc,5);if(a&2){var c;ik(c=jk())&&(b.container=c.first)}},inputs:{issueId:"issueId",attachmentId:"attachmentId",mimeType:"mimeType"},standalone:!1,features:[xj],decls:2,vars:0,consts:[["attachmentContent",""],[1,"full-width","full-height"]],template:function(a){a&1&&N(0,"div",1,0)},styles:["[_nghost-%COMP%]     iframe{border:0;height:100%;width:100%}/*# sourceMappingURL=attachment_preview.css.map */"]});var tS=function(){this.inlinedAttachmentSet=new Set};tS.prototype.getCount=function(){return this.inlinedAttachmentSet.size};tS.\u0275fac=function(a){return new (a||tS)};tS.\u0275prov=Dg({token:tS,factory:tS.\u0275fac,providedIn:"root"});var uS=function(){this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.isGreyedOut=!0;this.linkUrl=this.displayName="";this.useCustomHandler=this.linkEnabled=!1;this.customHandler=new iE};uS.prototype.handleClick=function(a){this.useCustomHandler&&(a.preventDefault(),this.customHandler.emit())};uS.\u0275fac=function(a){return new (a||uS)};
uS.\u0275cmp=F({type:uS,selectors:[["b-conditional-link"]],inputs:{isGreyedOut:"isGreyedOut",displayName:"displayName",linkUrl:"linkUrl",linkEnabled:"linkEnabled",useCustomHandler:"useCustomHandler"},outputs:{customHandler:"customHandler"},standalone:!1,decls:2,vars:2,consts:[[3,"muted"],["target","_blank",1,"normal-link",3,"href","rel"],["target","_blank",1,"normal-link",3,"click","href","rel"]],template:function(a,b){a&1&&(I(0,O5a,2,3,"span",0),I(1,P5a,2,3,"a",1));a&2&&(J(b.isGreyedOut||!b.linkEnabled?
0:-1),E(),J(!b.isGreyedOut&&b.linkEnabled?1:-1))},encapsulation:2,changeDetection:0});var vS=function(){this.tooltipRegistry={}};vS.prototype.showTooltip=function(a){return this.tooltipRegistry[a]?!1:this.tooltipRegistry[a]=!0};vS.\u0275fac=function(a){return new (a||vS)};vS.\u0275prov=Dg({token:vS,factory:vS.\u0275fac,providedIn:"root"});var wS=function(){Dz.apply(this,arguments)};Y(wS,Dz);wS.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(wS)))(b||wS)}}();wS.\u0275dir=$i({type:wS,selectors:[["","expandable-tab-content",""]],standalone:!1,features:[xj]});var xS=function(){Dz.apply(this,arguments)};Y(xS,Dz);xS.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(xS)))(b||xS)}}();xS.\u0275dir=$i({type:xS,selectors:[["","expandable-tab-header",""]],standalone:!1,features:[xj]});
var yS=function(){Dz.apply(this,arguments)};Y(yS,Dz);yS.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(yS)))(b||yS)}}();yS.\u0275dir=$i({type:yS,selectors:[["","expandable-tab-icon",""]],standalone:!1,features:[xj]});var zS=function(){};zS.prototype.ngOnInit=function(){};zS.\u0275fac=function(a){return new (a||zS)};
zS.\u0275cmp=F({type:zS,selectors:[["expandable-tab"]],contentQueries:function(a,b,c){a&1&&(fk(c,xS,5,bk),fk(c,wS,5,bk),fk(c,yS,5,bk));if(a&2){var d;ik(d=jk())&&(b.tabHeaderTemplate=d.first);ik(d=jk())&&(b.tabContentTemplate=d.first);ik(d=jk())&&(b.tabIconTemplate=d.first)}},inputs:{key:"key",ariaLabel:"ariaLabel"},standalone:!1,decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var S5a=function(a){return{tab:a}},a6a=function(a){return{allTabsExpanded:a}},n6a=function(){return[]},wWc=function(a,b){return b.key},AS=function(){Z.apply(this,arguments);this.internalTabKeys$=new $n([]);this.ariaLabel="";this.openTabCallback=function(){return v(function(a){return a.return(!0)})};this.openAllTabsCallback=function(){return v(function(a){return a.return(!0)})};this.expandableTabsTitle="";this.internalExpandedTabs=new CF;this.showIcons=this.showMultiple=!0;this.visibleExpandedTabs$=
si([this.internalTabKeys$,this.internalExpandedTabs.value$]).pipe(C(function(a){var b=l(a);a=b.next().value;var c=b.next().value;return a.filter(function(d){return c.has(d)})}));this.expandedTabsChanged=new iE;this.contentShownChanged=new iE;this.showAllClicked=new iE;this.tabs$=new $n([]);this.allTabsExpanded$=si([this.tabs$,this.internalExpandedTabs.value$]).pipe(C(function(a){var b=l(a);a=b.next().value;var c=b.next().value;return a.every(function(d){return c.has(d.key)})}))};Y(AS,Z);
AS.\u0275dir=Z.\u0275dir;
AS.prototype.ngAfterContentInit=function(){var a=this;this.subscriptions.add(this.internalTabs.changes.pipe(rj(void 0),C(function(){return a.internalTabs.toArray()}),C(function(b){return new Map(b.map(function(c){return[c.key,c]}))}),sj(function(b){return si([li(b),a.internalTabKeys$])}),C(function(b){b=l(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(si([this.internalTabKeys$,this.internalExpandedTabs.value$]).pipe(C(function(b){var c=
l(b);b=c.next().value;c=c.next().value;return Cea(new Set(b),new Set(c))}),jj(vd)).subscribe(function(b){a.contentShownChanged.emit(b)}))};AS.prototype.ngOnInit=function(){};
var Y5a=function(a,b){var c;return v(function(d){if(d.nextAddress==1)return(c=a.internalExpandedTabs.has(b))?(a.internalExpandedTabs.delete(b),d.jumpTo(2)):w(d,a.openTabCallback(b),3);if(d.nextAddress!=2){if(!d.yieldResult)return d.return();a.showMultiple||a.internalExpandedTabs.clear();a.internalExpandedTabs.add(b)}a.expandedTabsChanged.emit(new Set(a.internalExpandedTabs));ji(d)})};
AS.prototype.showAll=function(){var a=this;return v(function(b){if(b.nextAddress==1)return w(b,a.openAllTabsCallback(a.tabKeys),2);if(!b.yieldResult)return b.return();a.internalExpandedTabs.add.apply(a.internalExpandedTabs,p(a.tabs$.value.map(function(c){return c.key})));a.expandedTabsChanged.emit(new Set(a.internalExpandedTabs));ji(b)})};AS.prototype.hideAll=function(){this.internalExpandedTabs.clear();this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};
AS.prototype.toggleAll=function(){var a=this,b;return v(function(c){if(c.nextAddress==1)return w(c,pi(a.allTabsExpanded$),2);if(c.nextAddress!=4)return(b=c.yieldResult)?(a.hideAll(),c.jumpTo(0)):w(c,a.showAll(),4);a.showAllClicked.emit(void 0);ji(c)})};
pg.Object.defineProperties(AS.prototype,{tabKeys:{configurable:!0,enumerable:!0,set:function(a){this.internalTabKeys$.next([].concat(p(a)))},get:function(){return this.internalTabKeys$.value}},expandedTabs:{configurable:!0,enumerable:!0,set:function(a){if(!this.showMultiple&&a.length>1)throw Error("De");this.internalExpandedTabs.reset(a)},get:function(){return[].concat(p(this.internalExpandedTabs))}}});AS.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(AS)))(b||AS)}}();
AS.\u0275cmp=F({type:AS,selectors:[["expandable-tabs"]],contentQueries:function(a,b,c){a&1&&fk(c,zS,5);if(a&2){var d;ik(d=jk())&&(b.internalTabs=d)}},inputs:{tabKeys:"tabKeys",ariaLabel:"ariaLabel",openTabCallback:"openTabCallback",openAllTabsCallback:"openAllTabsCallback",expandableTabsTitle:"expandableTabsTitle",expandedTabs:"expandedTabs",showMultiple:"showMultiple",showIcons:"showIcons"},outputs:{expandedTabsChanged:"expandedTabsChanged",contentShownChanged:"contentShownChanged",showAllClicked:"showAllClicked"},
standalone:!1,features:[xj],decls:15,vars:7,consts:[["headerText",""],["spacer",""],[1,"tabs-row","flex-kids-x","centered-inside"],[1,"expandable-tabs-title"],["role","tablist","aria-multiselectable","true",1,"expandable-tabs","flex-kids-x"],["type","button","mat-button","","role","tab",1,"expandable-tab","keep-focus-ring",3,"has-icon","expanded"],[1,"margin-left-auto"],[1,"expandable-tabs-contents"],["type","button","mat-button","","role","tab",1,"expandable-tab","keep-focus-ring",3,"click"],["svgIcon",
"done",1,"icon-s"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],["type","button","mat-button","",1,"small",3,"expandable-tabs-hide-all","expandable-tabs-show-all"],["type","button","mat-button","",1,"small",3,"click"],["type","button","mat-button","",1,"small","expandable-tabs-hide-all"],["type","button","mat-button","",1,"small","expandable-tabs-show-all",3,"click"],["iconPositionEnd","","svgIcon","arrow_outward_24px",1,"icon-s"],["type","button","mat-button","",1,"small",
"expandable-tabs-hide-all",3,"click"],["role","tabpanel",3,"class","id"],["role","tabpanel",3,"id"],[1,"spacer"]],template:function(a,b){a&1&&(L(0,"div",2),I(1,Q5a,2,2,"span",3),L(2,"div",4),Mj(3,Z5a,9,21,"button",5,wWc),W(5,"async"),M(),L(6,"div",6),I(7,b6a,2,5)(8,d6a,5,4),M()(),L(9,"div",7),Mj(10,p6a,2,3,null,null,wWc),W(12,"async"),M(),G(13,u6a,2,1,"ng-template",null,0,Gk));a&2&&(E(),J(b.expandableTabsTitle?1:-1),E(),Hj("aria-label",b.ariaLabel),E(),Nj(X(5,3,b.tabs$)),E(4),J(b.showMultiple?7:8),
E(3),Nj(X(12,5,b.tabs$)))},dependencies:[oy,EA,dA,aA,py],styles:[".expandable-tabs[_ngcontent-%COMP%]{gap:8px}.expandable-tab[_ngcontent-%COMP%]{padding:4px 12px;border-radius:16px;border:1px solid;border-color:#dadce0;border-color:var(--c300);color:#3c4043;color:var(--c800)}.expandable-tab.has-icon[_ngcontent-%COMP%]{padding-left:8px}.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-mdc-button{line-height:unset;height:auto}[_nghost-%COMP%]     .expandable-tab.mat-mdc-button .mat-icon{margin-right:4px}.expandable-tabs.flex-kids-x[_ngcontent-%COMP%]{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.expandable-tabs-title[_ngcontent-%COMP%]{margin-right:8px}.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%]   .spacer[_ngcontent-%COMP%]{margin-top:8px}.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 xWc={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 BS=function(a,b,c){var d=this;this.document=a;this.focusTrapFactory=b;this.elementRef=c;this.dismiss=new Lp;this.action=new Lp;this.pointerPosition=2;this.color="blue";this.actionBtnIcon=this.actionBtnText="";this.Position=xWc;this.width=272;this.previouslyFocusedElement=null;this.dismissIfEscape=function(e){e.key==="Escape"&&d.dismissTooltip()};this.setPreviouslyFocusedElement=function(){var e=d.document.activeElement;e!=null&&e.closest("onedev-feature-tooltip-body")||(d.previouslyFocusedElement=
d.document.activeElement)};this.focusTrap=this.focusTrapFactory.create(this.elementRef.nativeElement,{defer:!0});this.document.addEventListener("keydown",this.dismissIfEscape);this.document.addEventListener("focusin",this.setPreviouslyFocusedElement)};BS.prototype.ngAfterContentInit=function(){Ky(this.focusTrap);this.setPreviouslyFocusedElement();hoc(this.focusTrap)};
BS.prototype.ngOnDestroy=function(){this.document.removeEventListener("keydown",this.dismissIfEscape);this.document.removeEventListener("focusin",this.setPreviouslyFocusedElement);this.focusTrap.destroy()};
BS.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)};pg.Object.defineProperties(BS.prototype,{widthOffset:{configurable:!0,enumerable:!0,set:function(a){this.width=272+a*64}}});
BS.\u0275fac=function(a){return new (a||BS)(Ui(Mm),Ui(az),Ui(Ph))};
BS.\u0275cmp=F({type:BS,selectors:[["onedev-feature-tooltip-body"]],hostVars:16,hostBindings:function(a,b){a&2&&rk("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"},standalone:!1,features:[Bk([{provide:qoc,useValue:{preventFocus:function(){},allowFocus:function(){}}},az])],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,"click","color"],["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&&(Zj(),L(0,"div",0)(1,"div",1),N(2,"div",2),M(),ak(3),L(4,
"div",3),G(5,w6a,4,2,"button",4),L(6,"button",5),Q("click",function(){return b.dismissTooltip()}),U(7," Got it "),M()()());a&2&&(qk("width",b.width,"px"),K("ngClass",b.color),E(5),K("ngIf",b.actionBtnText),E(),K("color",b.color==="white"?"primary":""))},dependencies:[Ny,ly,ny,RJ,EA],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 CS=function(){};CS.\u0275fac=function(a){return new (a||CS)};CS.\u0275mod=Zi({type:CS});CS.\u0275inj=Eg({});var DS=function(){this.anchorMap=new Map},yWc=function(a,b){if(a.anchorMap.has(b))return a.anchorMap.get(b);var c={created$:new nj(1),destroyed$:new oj,dismissTooltip$:new oj};a.anchorMap.set(b,c);return c},zWc=function(a,b,c){yWc(a,b).created$.next(c)},AWc=function(a,b){yWc(a,b).destroyed$.next();yWc(a,b).created$.next(void 0)};DS.prototype.dismissTooltip=function(){yWc(this).dismissTooltip$.next()};DS.\u0275fac=function(a){return new (a||DS)};DS.\u0275prov=Dg({token:DS,factory:DS.\u0275fac,providedIn:CS});var ES={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}}},BWc=[ES.TOP_CENTER_RIGHT,ES.TOP_CENTER_LEFT,ES.BOTTOM_CENTER_RIGHT,ES.BOTTOM_CENTER_LEFT],CWc=[ES.TOP_LEFT,ES.TOP_RIGHT,ES.BOTTOM_LEFT,ES.BOTTOM_RIGHT],DWc=[ES.LEFT_CENTER_BOTTOM,ES.LEFT_CENTER_TOP,ES.RIGHT_CENTER_BOTTOM,ES.RIGHT_CENTER_TOP],EWc=[ES.LEFT_TOP,ES.LEFT_BOTTOM,ES.RIGHT_TOP,ES.RIGHT_BOTTOM];var FS=function(){};FS.\u0275fac=function(a){return new (a||FS)};FS.\u0275mod=Zi({type:FS});FS.\u0275inj=Eg({});var GS=function(){},GWc=function(a,b){return FWc(a,b).map(function(c){return c.connectedPosition})},HWc=function(a,b,c){a=FWc(a,b).find(function(d){return d.connectedPosition===c});if(!a)throw Error("Ee`"+JSON.stringify(c));return a.pointerPosition},FWc=function(a,b){b=IWc(b).filter(function(c){return!a.includes(c)});return a.concat(b)},IWc=function(a){var b,c=a==null?void 0:(b=a.nativeElement)==null?void 0:b.clientWidth,d;a=a==null?void 0:(d=a.nativeElement)==null?void 0:d.clientHeight;return(c!==
void 0&&c<60?BWc:CWc).concat(a!==void 0&&a<60?DWc:EWc)};GS.\u0275fac=function(a){return new (a||GS)};GS.\u0275prov=Dg({token:GS,factory:GS.\u0275fac,providedIn:FS});var JWc=["template"],HS=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 oj;this.customPositions=[];this.widthOffset=0;this.color="blue";this.hasBackdrop=!1;this.actionBtnIcon=this.actionBtnText="";this.dismiss=new Lp;this.beforeShown=new Lp;this.action=new Lp;this.pointerPosition=0;this.destroyed$=new nj;this.init$=new nj;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;(h=f.overlayRef)==null||h.dispose();f.overlayRef=void 0}};HS.prototype.ngOnChanges=function(a){if(a.customPositions){var b;(b=this.overlayRef)==null||Koc(b,KWc(this))}};
HS.prototype.ngOnInit=function(){var a=yWc(this.anchorService,this.tooltipId),b=a.destroyed$,c=a.dismissTooltip$;LWc(this,a.created$);b.pipe(tj(this.destroyed$)).subscribe(this.hideFeatureTooltip);MWc(this,c)};HS.prototype.ngAfterViewInit=function(){this.init$.next()};HS.prototype.ngOnDestroy=function(){this.hideFeatureTooltip();this.destroyed$.next()};
var LWc=function(a,b){a.open$.pipe(cqa(a.init$),uj(function(){a.beforeShown.emit()}),sj(function(){return b.pipe(tj(a.dismiss))}),tj(a.destroyed$),Di(function(c){return!!c&&!a.isVisible()})).subscribe(function(c){a.showFeatureTooltip(c)})},MWc=function(a,b){b.pipe(tj(a.destroyed$),Di(function(){return a.isVisible()})).subscribe(function(){a.hideFeatureTooltip();a.dismiss.emit()})};
HS.prototype.showFeatureTooltip=function(a){this.anchor=a;a=a.nativeElement;if(this.hasBackdrop){var b=a.style,c=b.position;this.savedAnchorStyles={zIndex:b.zIndex,position:c};if(c==="static"||c==="")a.style.position="relative";a.style.zIndex="1001"}this.overlayRef=this.overlay.create({positionStrategy:KWc(this),scrollStrategy:this.getScrollStrategy(),minWidth:"fit-content",hasBackdrop:this.hasBackdrop});var d;(d=this.overlayRef)==null||d.attach(new Bz(this.templateRef,this.containerRef))};
HS.prototype.getScrollStrategy=function(){var a=this.overlay.scrollStrategies;return this.hasBackdrop?a.block():a.reposition()};HS.prototype.getPositionStrategy=function(){if(!this.anchor)throw Error("Fe");return sz(yz(this.overlay.position(),this.anchor),GWc(this.customPositions,this.anchor))};
var KWc=function(a){var b=a.getPositionStrategy();b.positionChanges.subscribe(function(c){a.ngZone.run(function(){a.pointerPosition=HWc(a.customPositions,a.anchor,c.connectionPair);a.changeDetectorRef.markForCheck()})});return b};HS.prototype.isVisible=function(){return!!this.overlayRef};HS.\u0275fac=function(a){return new (a||HS)(Ui(DS),Ui(Gz),Ui(ck),Ui(Kk),Ui(sx),Ui(GS))};
HS.\u0275cmp=F({type:HS,selectors:[["onedev-feature-tooltip"]],viewQuery:function(a,b){a&1&&ek(JWc,5);if(a&2){var c;ik(c=jk())&&(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"},standalone:!1,features:[$w],ngContentSelectors:["*"],decls:2,vars:0,consts:[["template",
""],[3,"action","dismiss","actionBtnText","actionBtnIcon","color","pointerPosition","widthOffset"]],template:function(a){a&1&&(Zj(),G(0,x6a,2,5,"ng-template",null,0,Gk))},dependencies:[BS],encapsulation:2,changeDetection:0});var IS=function(){};IS.\u0275fac=function(a){return new (a||IS)};IS.\u0275mod=Zi({type:IS});IS.\u0275inj=Eg({});var JS=function(){this.observedValues=new Map};JS.prototype.getValue=function(a){a=window.localStorage.getItem(a);return li(a?JSON.parse(a):null)};JS.prototype.getValues=function(a){return li(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))};JS.prototype.setValue=function(a,b){window.localStorage.setItem(a,JSON.stringify(b));var c;(c=this.observedValues.get(a))==null||c.set(b);return li(void 0)};
JS.\u0275fac=function(a){return new (a||JS)};JS.\u0275prov=Dg({token:JS,factory:JS.\u0275fac,providedIn:"root"});var NWc=new kh("Feature Tooltip Controller Config"),KS=function(a,b,c){this.config=a;this.keyValueStore=b;this.injector=c;this.clientStreamzService=this.config.enableUsageTracking?this.injector.get(CH):void 0;this.lastTooltipKey="onedev.lastTooltipTime."+this.config.productName;var d;this.config.shownMetricName=(d=this.config.shownMetricName)!=null?d:"tooltipShown";var e;this.config.hiddenMetricName=(e=this.config.hiddenMetricName)!=null?e:"tooltipHidden"},OWc=function(a){return a.keyValueStore.getValue(a.lastTooltipKey).pipe(C(function(b){return b===
null?!0:(new Date).getTime()-b>=a.config.cooldownMilliseconds}))};KS.prototype.hideTooltip=function(a){var b;(b=this.clientStreamzService)==null||HBc(b,this.config.hiddenMetricName,!0);xi([this.keyValueStore.setValue(this.lastTooltipKey,(new Date).getTime()),this.keyValueStore.setValue(LS(this,a),"HIDDEN")]).pipe(gj())};
var PWc=function(a,b){a.keyValueStore.getValue(LS(a,b)).pipe(Di(function(c){return c!=="SHOWING"})).subscribe(function(){a.keyValueStore.setValue(LS(a,b),"HIDDEN")})},RWc=function(a,b,c){var d=c.map(function(e){return LS(a,e)});return a.keyValueStore.getValues(d).pipe(C(function(e){return QWc(a,b,c,e)}))};
KS.prototype.showTooltip=function(a){var b;(b=this.clientStreamzService)==null||HBc(b,this.config.shownMetricName,!0);return xi([this.keyValueStore.setValue(this.lastTooltipKey,(new Date).getTime()),this.keyValueStore.setValue(LS(this,a),"SHOWING")]).pipe(gj())};var QWc=function(a,b,c,d){return c.filter(function(e){e=d.get(LS(a,e));return e===b||b==="UNSEEN"&&e===null})},LS=function(a,b){return"onedev.tooltips."+a.config.productName+"."+b};
KS.\u0275fac=function(a){return new (a||KS)(bh(NWc),bh(JS),bh(yj))};KS.\u0275prov=Dg({token:KS,factory:KS.\u0275fac,providedIn:IS});var MS=function(a){var b=this;this.featureTooltipService=a;this.showTooltip$=li(void 0);this.destroyed$=new nj;this.getCurrentlyShowingTooltips=function(){return RWc(b.featureTooltipService,"SHOWING",SWc(b))}};
MS.prototype.ngAfterContentInit=function(){var a=this,b=this.showTooltip$.pipe(sj(this.getCurrentlyShowingTooltips),sj(function(c){return c.length>0?li(c[0]):li(void 0).pipe(TWc(a),UWc(a))}),C(function(c){return VWc(a,c)}),Di(function(c){return!!c}),C(function(c){return c}),pj({bufferSize:1,refCount:!0}));WWc(this,b);b.pipe(tj(this.destroyed$)).subscribe(function(c){c.open$.next();a.featureTooltipService.showTooltip(c.tooltipId)})};MS.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var TWc=function(a){return ai(sj(function(){return OWc(a.featureTooltipService)}),Di($h))},UWc=function(a){return ai(sj(function(){return RWc(a.featureTooltipService,"UNSEEN",SWc(a))}),Di(function(b){return b.length>0}),C(function(b){return b[0]}))},WWc=function(a,b){b.pipe(sj(function(c){return c.dismiss.pipe(gj(c.tooltipId))}),tj(a.destroyed$)).subscribe(function(c){a.featureTooltipService.hideTooltip(c)})},SWc=function(a){return a.tooltips.map(function(b){return b.tooltipId})},VWc=function(a,b){return a.tooltips.find(function(c){return c.tooltipId===
b})};MS.\u0275fac=function(a){return new (a||MS)(Ui(KS))};MS.\u0275cmp=F({type:MS,selectors:[["onedev-feature-tooltip-controller"]],contentQueries:function(a,b,c){a&1&&fk(c,HS,4);if(a&2){var d;ik(d=jk())&&(b.tooltips=d)}},inputs:{showTooltip$:"showTooltip$"},standalone:!1,decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var NS=function(a,b){this.anchorService=a;this.element=b;this.hideTooltipWhenAnchorNotVisible=!1};NS.prototype.ngOnInit=function(){var a=this;this.hideTooltipWhenAnchorNotVisible?(this.intersectionObserver=new IntersectionObserver(function(b){l(b).next().value.isIntersecting?zWc(a.anchorService,a.tooltipId,a.element):AWc(a.anchorService,a.tooltipId)}),this.intersectionObserver.observe(this.element.nativeElement)):zWc(this.anchorService,this.tooltipId,this.element)};
NS.prototype.ngOnDestroy=function(){AWc(this.anchorService,this.tooltipId);var a;(a=this.intersectionObserver)==null||a.disconnect()};NS.\u0275fac=function(a){return new (a||NS)(Ui(DS),Ui(Ph))};NS.\u0275dir=$i({type:NS,selectors:[["","onedevTooltipAnchor",""]],inputs:{tooltipId:[0,"onedevTooltipAnchor","tooltipId"],hideTooltipWhenAnchorNotVisible:"hideTooltipWhenAnchorNotVisible"},standalone:!1});var OS=function(a,b,c){var d=this;this.featureTooltipService=a;this.renderer=b;this.elementRef=c;this.preventTooltipFromShowing=function(){PWc(d.featureTooltipService,d.tooltipId)}};OS.prototype.ngOnInit=function(){this.unsubscribeFromEvent||(this.event="click")};OS.prototype.ngOnDestroy=function(){var a;(a=this.unsubscribeFromEvent)==null||a.call(this)};
pg.Object.defineProperties(OS.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){var b;(b=this.unsubscribeFromEvent)==null||b.call(this);this.unsubscribeFromEvent=this.renderer.listen(this.elementRef.nativeElement,a,this.preventTooltipFromShowing)}}});OS.\u0275fac=function(a){return new (a||OS)(Ui(KS),Ui($m),Ui(Ph))};
OS.\u0275dir=$i({type:OS,selectors:[["","onedevTooltipPreventer",""]],inputs:{tooltipId:[0,"onedevTooltipPreventer","tooltipId"],event:[0,"onedevPreventTooltipOn","event"]},standalone:!1});var XWc=new kh("TooltipAnchor"),YWc=new kh("TooltipPeventer"),PS=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)};PS.prototype.ngOnInit=function(){this.tooltipPreventer.ngOnInit();this.tooltipAnchor.ngOnInit()};
PS.prototype.ngOnDestroy=function(){this.tooltipPreventer.ngOnDestroy();this.tooltipAnchor.ngOnDestroy()};pg.Object.defineProperties(PS.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}}});
PS.\u0275fac=function(a){return new (a||PS)(Ui(KS),Ui(DS),Ui(Ph),Ui($m),Ui(XWc),Ui(YWc))};PS.\u0275dir=$i({type:PS,selectors:[["","onedevFeatureTooltip",""]],inputs:{tooltipId:[0,"onedevFeatureTooltip","tooltipId"],hideTooltipWhenAnchorNotVisible:"hideTooltipWhenAnchorNotVisible",event:[0,"onedevPreventTooltipOn","event"]},standalone:!1,features:[Bk([{provide:XWc,useValue:NS},{provide:YWc,useValue:OS}])]});var ZWc=function(){this.className="gmat-subtitle-1 tooltip-title"};ZWc.\u0275fac=function(a){return new (a||ZWc)};ZWc.\u0275dir=$i({type:ZWc,selectors:[["","onedevTooltipTitle",""]],hostVars:2,hostBindings:function(a,b){a&2&&sk(b.className)},standalone:!1});var y6a=function(a,b){return[a,b]},QS=function(){Z.apply(this,arguments);this.analytics=x(nE);this.enrichmentApi=x(eB);this.enrichmentCategoryFridge=x(QC);this.attachmentEnrichmentFridge=x(fB);this.issueUserEventsService=x($O);this.confirmationDialogService=x(lI);this.destroyRef=x(Cj);this.issuePermissionService=x(BF);this.documentationLinks=x(XH);this.canDeleteEnrichments$=new $n(!1);this.enrichmentCategoryToContent=new Map;this.enrichmentCategoryToLoading=new Map;this.restrictedDialogContentHtml=
md("You are about to access enrichments for an attachment\n    marked as restricted. Access will be logged and audited.\n    You must delete any data used locally when finished with\n    business use. ");this.requiredDialogLearnMoreHtml=qd("a",{href:dd(this.documentationLinks.getRestrictedAccessHelpLink()),target:"_blank"},"Learn More");this.restrictedDialogHtml=od([this.restrictedDialogContentHtml,this.requiredDialogLearnMoreHtml]);this.openTabs=new Set;this.categoryToRestriction=new Map;this.cdr=
x(jE);this.featureTooltipRegistry=x(vS);this.ATTACHMENT_ENRICHMENTS_FEATURE_TOOLTIP_ID="attachmentEnrichmentsFeatureTooltip";this.TOOLTIP_POSITIONS=ES;this.showFeatureTooltip=this.featureTooltipRegistry.showTooltip("attachmentEnrichmentsFeatureTooltip");this.CATEGORY_INFO_HOVERCARD_CONFIG=Object.assign({},new AH,{position:[qBc]});this.someEnrichmentsRestricted=!1;this.categoryToActionMenuItems=new Map;this.hasReactedToEnrichment={};this.thumbsUpClickedForEnrichment={};this.thumbsDownClickedForEnrichment=
{}};Y(QS,Z);QS.\u0275dir=Z.\u0275dir;g=QS.prototype;
g.ngOnInit=function(){var a=this;this.enrichmentCategoryToContent.clear();this.attachmentEnrichments.forEach(function(b){var c,d,e;a.categoryToRestriction.set(b.category,(e=(c=b.contentVerdict)==null?void 0:(d=c.piiVerdict)==null?void 0:d.severity)!=null?e:"NONE_DETECTED");var f,h;((f=b.contentVerdict)==null?void 0:(h=f.piiVerdict)==null?void 0:h.severity)!=="NONE_DETECTED"?a.someEnrichmentsRestricted=!0:a.enrichmentCategoryToContent.set(b.category,{content:b.content,formattedContent:b.formattedContent})});
this.issuePermissionService.hasAclToAdmin$.pipe(vp(this.destroyRef)).subscribe(function(b){a.canDeleteEnrichments$.next(b);a.initializeMenuItems()})};g.initializeMenuItems=function(){var a=this;this.attachmentEnrichments.forEach(function(b){var c=[];a.canDeleteEnrichments$.value&&c.push({type:"action",action:function(){a.showDeleteAttachmentDialog(b.category)},label:"Delete enrichment..."});a.categoryToActionMenuItems.set(b.category,c)})};
g.showDeleteAttachmentDialog=function(a){var b=this;this.confirmationDialogService.open({title:"Delete Enrichment",content:md("You are about to delete enrichment "+a+" on attachment "+this.attachmentId+". This action cannot be undone."),onConfirm:function(){Irc(b.enrichmentApi,b.issueId,b.attachmentId,a).pipe(vp(b.destroyRef)).subscribe(function(){b.logIssueUserEvent(b.issueId,"EVENT_TYPE_DELETE",b.attachmentId,a,"DELETE");b.attachmentEnrichmentFridge.poke(b.issueId)})}})};
g.openAllTabsCallback=function(a){var b=this,c;return v(function(d){if(!b.someEnrichmentsRestricted||a.every(function(e){return b.enrichmentCategoryToContent.has(e)}))return d.return(!0);c=Cf();b.confirmationDialogService.open({title:"Access Enrichment",content:b.restrictedDialogHtml,onConfirm:function(){a.forEach(function(e){b.categoryToRestriction.get(e)!=="NONE_DETECTED"&&$Wc(b,e)});c.resolve(!0)},onDismiss:function(){c.resolve(!1)}});return d.return(c.promise)})};
g.openTabCallback=function(a){var b=this;return v(function(c){return b.categoryToRestriction.get(a)==="NONE_DETECTED"?c.return(!0):c.return(b.openAllTabsCallback([a]))})};
var $Wc=function(a,b){a.enrichmentCategoryToLoading.set(b,!0);Grc(a.enrichmentApi,a.issueId,a.attachmentId,b,a.categoryToRestriction.get(b)).pipe(vp(a.destroyRef)).subscribe(function(c){a.enrichmentCategoryToContent.set(b,{content:c.content,formattedContent:c.formattedContent});a.enrichmentCategoryToLoading.set(b,!1);a.cdr.detectChanges()})},aXc=function(a,b){[].concat(p(b)).filter(function(c){return!a.openTabs.has(c)}).forEach(function(c){a.openTabs.add(c);a.trackEvent("open",a.issueId+"_"+a.attachmentId+
"_"+c);a.logIssueUserEvent(a.issueId,"EVENT_TYPE_OPEN",a.attachmentId,c,"OPEN")});[].concat(p(a.openTabs)).filter(function(c){return!b.has(c)}).forEach(function(c){a.openTabs.delete(c);a.trackEvent("close",a.issueId+"_"+a.attachmentId+"_"+c);a.logIssueUserEvent(a.issueId,"EVENT_TYPE_CLOSE",a.attachmentId,c,"CLOSE")})};g=QS.prototype;g.isLoading=function(a){var b;return(b=this.enrichmentCategoryToLoading.get(a))!=null?b:!1};
g.copyContent=function(a){var b,c=(b=this.enrichmentCategoryToContent.get(a.category))==null?void 0:b.content;c&&(navigator.clipboard.writeText(c),this.trackEvent("copy",L6a(a)),this.logIssueUserEvent(a.issueId,"EVENT_TYPE_COPY",a.attachmentId,a.category,"COPY"))};g.hasReacted=function(a){return this.hasReactedToEnrichment[a.category]?this.hasReactedToEnrichment[a.category]:!1};
g.thumbsUpClicked=function(a){return this.thumbsUpClickedForEnrichment[a.category]?this.thumbsUpClickedForEnrichment[a.category]:!1};g.thumbsDownClicked=function(a){return this.thumbsDownClickedForEnrichment[a.category]?this.thumbsDownClickedForEnrichment[a.category]:!1};
g.trackThumbsUp=function(a){this.hasReactedToEnrichment[a.category]=!0;this.thumbsUpClickedForEnrichment[a.category]=!0;this.trackEvent("accept",L6a(a));this.logIssueUserEvent(a.issueId,"EVENT_TYPE_THUMBS_UP",a.attachmentId,a.category,"THUMBS_UP")};g.trackThumbsDown=function(a){this.hasReactedToEnrichment[a.category]=!0;this.thumbsDownClickedForEnrichment[a.category]=!0;this.trackEvent("reject",L6a(a));this.logIssueUserEvent(a.issueId,"EVENT_TYPE_THUMBS_DOWN",a.attachmentId,a.category,"THUMBS_DOWN")};
g.logIssueUserEvent=function(a,b,c,d,e){e={issueId:a,attachmentId:c,category:d,feedbackType:e};var f=this.issueUserEventsService,h=new YO;c=(new XO).setAttachmentId(c).setCategory(d);c=Bl(h,4,EOc,c);f.logIssueUserEvent(a,"FEATURE_ATTACHMENT_ANALYSIS",b,c).pipe(vp(this.destroyRef)).subscribe();this.enrichmentApi.submitEnrichmentFeedback(e).pipe(vp(this.destroyRef)).subscribe()};g.trackEvent=function(a,b){this.analytics.trackEvent("attachmentEnrichment",a,b)};
var bXc=function(a){return a.attachmentEnrichments.map(function(b){return b.category})},A6a=function(a,b){return a.enrichmentCategoryFridge.watch(b).pipe(C(function(c){var d;return(d=c==null?void 0:c.displayName)!=null?d:b}),rj(b))},I6a=function(a,b){return a.enrichmentCategoryFridge.watch(b).pipe(C(function(c){var d;return(d=c==null?void 0:c.description)!=null?d:""}),rj(""))};QS.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(QS)))(b||QS)}}();
QS.\u0275cmp=F({type:QS,selectors:[["b-attachment-enrichments"]],inputs:{issueId:"issueId",attachmentId:"attachmentId",attachmentEnrichments:"attachmentEnrichments"},standalone:!1,features:[Bk([jE]),xj],decls:5,vars:7,consts:[["categoryInfoCard","onedevHovercard"],[3,"onedevFeatureTooltip","hideTooltipWhenAnchorNotVisible"],["expandableTabsTitle","Attachment Analysis",3,"expandedTabsChanged","tabKeys","ariaLabel","openTabCallback","openAllTabsCallback"],[3,"key","ariaLabel"],[3,"customPositions",
"tooltipId"],["onedevTooltipTitle",""],["expandable-tab-header",""],["expandable-tab-content",""],[1,"attachment-enrichment-table"],[1,"attachment-enrichment-headers"],[1,"attachment-enrichment-header-email"],[3,"model"],["svgIcon","info",1,"icon-xs",3,"onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],[1,"attachment-enrichment-header-date-icons"],[1,"attachment-enrichment-header-date"],["mode","datetime",
3,"timestamp"],["type","button","mat-icon-button","","matTooltip","Copy","aria-label","copy attachment enrichment content",1,"feedback-button","copy-attachment-enrichment",3,"click"],["svgIcon","copy",1,"icon-xs"],["type","button","mat-icon-button","","aria-label","thumb up",1,"feedback-button","thumbs-up-attachment-enrichment",3,"click","disabled"],["svgIcon","thumb_up_24px",1,"icon-xs"],["type","button","mat-icon-button","","aria-label","thumb down",1,"feedback-button","thumbs-down-attachment-enrichment",
3,"click","disabled"],["svgIcon","thumb_down_24px",1,"icon-xs"],[1,"bv2-issue-attachment-overflow-menu"],[1,"attachment-enrichment-content"],["colspan","2"],[1,"issue-detail-actions",3,"menuItems","buttonLabel","matTooltip"],[3,"content"]],template:function(a,b){a&1&&(I(0,z6a,5,5,"onedev-feature-tooltip-controller"),L(1,"div",1)(2,"expandable-tabs",2),Q("expandedTabsChanged",function(c){return aXc(b,c)}),Mj(3,K6a,3,2,"expandable-tab",3,Lj),M()());a&2&&(J(b.showFeatureTooltip?0:-1),E(),K("onedevFeatureTooltip",
b.ATTACHMENT_ENRICHMENTS_FEATURE_TOOLTIP_ID)("hideTooltipWhenAnchorNotVisible",!0),E(),K("tabKeys",bXc(b))("ariaLabel","Attachment enrichments for attachment id "+b.attachmentId)("openTabCallback",b.openTabCallback.bind(b))("openAllTabsCallback",b.openAllTabsCallback.bind(b)),E(),Nj(b.attachmentEnrichments))},dependencies:[EA,jS,QF,aK,bK,tN,zS,wS,xS,AS,dA,bA,YF,WF,xH,DH,HS,MS,PS,ZWc,RM,lL,py],styles:[".attachment-enrichment-table[_ngcontent-%COMP%]{border:1px solid var(--hairline);border-collapse:collapse;border-radius:4px}tr.attachment-enrichment-headers[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border-bottom:1px solid var(--hairline);padding:0px 10px;color:var(--muted);font-size:95%}tr.attachment-enrichment-headers[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   .attachment-enrichment-header-email[_ngcontent-%COMP%]{text-align:left}.attachment-enrichment-header-date-icons[_ngcontent-%COMP%]{text-align:right}.attachment-enrichment-header-date-icons[_ngcontent-%COMP%]   .attachment-enrichment-header-date[_ngcontent-%COMP%]{padding-right:4px}tr.attachment-enrichment-content[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{background-color:var(--c100);padding:10px}.feedback-button[_ngcontent-%COMP%]{width:fit-content}.feedback-button[_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}mat-icon[_ngcontent-%COMP%]{vertical-align:middle;padding:0px 4px}[_nghost-%COMP%]     mat-icon{color:var(--muted)}"]});var RS=function(){this.documentationLinks=x(XH);this.dateFormatter=x(MI);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.retentionModel=qic;this.label="Restricted";this.contentType="item"};RS.prototype.getRetentionPeriod=function(){return this.retentionState&&this.retentionState.retentionPeriod?Tf(Math.floor(this.retentionState.retentionPeriod.seconds*1E3/864E5)):""};
var N6a=function(a){var b=new Date(864E13);return a.retentionState&&a.retentionState.scheduledDeletionTime?new Date(Sf(a.retentionState.scheduledDeletionTime)||b):b},cXc=function(a){return a.retentionState&&a.retentionState.scheduledDeletionTime?Sf(a.retentionState.scheduledDeletionTime)-Date.now()<12096E5:!1};RS.\u0275fac=function(a){return new (a||RS)};
RS.\u0275cmp=F({type:RS,selectors:[["b-restricted-chip"]],inputs:{label:"label",contentType:"contentType",retention:"retention",retentionState:"retentionState"},standalone:!1,decls:7,vars:5,consts:[["bubble",""],["popup",""],[1,"bubble",3,"panelTemplate"],["tabindex","0","aria-label","Display retention information","aria-haspopup","dialog","role","button",1,"chip","nowrap",3,"focus","blur"],[1,"icon-s",3,"svgIcon"],[1,"popup"],["target","_blank",3,"rel"]],template:function(a,b){if(a&1){var c=y();
L(0,"xap-bubble",2,0)(2,"div",3);Q("focus",function(){z(c);var d=T(1);return B(d.toggle(!0))})("blur",function(){z(c);var d=T(1);return B(d.toggle(!1))});N(3,"mat-icon",4);U(4);M();G(5,U6a,8,4,"ng-template",null,1,Gk);M()}a&2&&(a=T(6),K("panelTemplate",a),E(2),rk("warning",cXc(b)),E(),K("svgIcon",cXc(b)?"delete-alert":"delete-clock"),E(),V(" ",b.label," "))},dependencies:[EA,yO,sy],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}/*# sourceMappingURL=restricted_chip.css.map */"],
changeDetection:0});var W6a=Yc(""),dXc=function(){this.port=this.iframe=null;this.deferredMessages=[]};dXc.prototype.load=function(){var a=this,b=eXc();this.iframe=X6a(b);fXc().then(function(){a.iframe&&document.body.appendChild(a.iframe)});return V6a(this.iframe,b).then(function(c){for(a.port=c.ports[0];a.deferredMessages.length>0;)c=a.deferredMessages.shift(),a.port.postMessage(c.data,c.transferables)})};
dXc.prototype.exec=function(a,b){var c=this;return new Promise(function(d,e){var f=new MessageChannel;f.port1.onmessage=function(D){f.port1.onmessage=null;D=D.data;D.error!=null?e(new EvalError(D.error)):d(D.result)};for(var h=[],k=[],q=[],u=l(b!=null?b:[]),A=u.next();!A.done;A=u.next())A=A.value,h.push(A.name),k.push(A.value),A.transfer&&q.push(A.value);h={code:a,paramNames:h,values:k};c.port?c.port.postMessage(h,[f.port2].concat(p(q))):c.deferredMessages.push({data:h,transferables:[f.port2].concat(p(q))})})};
dXc.prototype.dispose=function(){this.iframe!=null&&(this.iframe.parentNode&&this.iframe.parentNode.removeChild(this.iframe),this.iframe=null)};var eXc=function(){var a=(window.crypto||window.msCrypto).getRandomValues(new Uint8Array(16));return Array.prototype.join.call(a,".")},fXc=function(){return new Promise(function(a){document.readyState!="loading"?a():Mx(document,"DOMContentLoaded",function(){a()})})};var gXc={useFilePicker:!1},hXc,SS=function(a){this.options=a=a===void 0?gXc:a;iXc(this.options)||typeof navigator.msSaveOrOpenBlob==="function"||(this.sandbox=new dXc)};SS.download=function(a,b,c,d){c=c===void 0?"":c;d=d===void 0?gXc:d;return v(function(e){if(e.nextAddress==1)return w(e,jXc(a,b,c,d),2);if(e.yieldResult)return e.return();hXc||(hXc=new SS,hXc.init());return w(e,kXc(hXc,a,b,c),0)})};
SS.prototype.init=function(){var a=this;return v(function(b){return a.sandbox==null?b.return():w(b,a.sandbox.load(),0)})};SS.prototype.download=function(a,b,c){c=c===void 0?"":c;var d=this;return v(function(e){return e.nextAddress==1?w(e,jXc(a,b,c,d.options),2):e.yieldResult?e.return():w(e,kXc(d,a,b,c),0)})};
var kXc=function(a,b,c,d){d=d===void 0?"":d;var e,f;return v(function(h){switch(h.nextAddress){case 1:e=b instanceof Blob?b:new Blob([b],{type:d});if(typeof navigator.msSaveOrOpenBlob!=="function"){h.jumpTo(2);break}navigator.msSaveOrOpenBlob(e,c);return w(h,Y6a(),3);case 3:return h.return();case 2:if(!xa()||naa(zaa(),16)>=0||!va()&&(!ra("iPad")&&!ra("iPhone")||raa()||va()||(sa()?0:ra("Coast"))||ta()||!ra("AppleWebKit"))){h.jumpTo(4);break}f=new FileReader;f.onload=function(){var k=mr(document,"A"),
q=dd(String(f.result));hea(k,q);k.download=c;k.click()};f.readAsDataURL(e);return w(h,Y6a(),5);case 5:return h.return();case 4:return a.sandbox==null&&(a.sandbox=new dXc,a.sandbox.load()),w(h,a.sandbox.exec('var url=URL.createObjectURL(blob);var a=document.createElement("a");if(!("download" in a)){throw new Error("Downloading not supported on this browser");}a.href=url;a.download=filename;document.body.appendChild(a);a.click();setTimeout(function(){document.body.removeChild(a);URL.revokeObjectURL(url);},250);',
[{name:"blob",value:e,transfer:!1},{name:"filename",value:c,transfer:!1}]),6);case 6:return w(h,Y6a(),0)}})},jXc=function(a,b,c,d){c=c===void 0?"":c;d=d===void 0?gXc:d;var e;return v(function(f){switch(f.nextAddress){case 1:if(!iXc(d))return f.return(!1);ei(f,2);return w(f,lXc(a,b,c),4);case 4:Iu(f,3);break;case 2:e=ii(f);if(e instanceof DOMException&&e.name==="SecurityError")return f.return(!1);throw e;case 3:return f.return(!0)}})},iXc=function(a){a=a===void 0?gXc:a;return a.useFilePicker&&!!window.showSaveFilePicker},
lXc=function(a,b,c){c=c===void 0?"":c;var d,e,f,h;return v(function(k){switch(k.nextAddress){case 1:var q={suggestedName:b},u;(u=b.match(/\..+$/))?(u=u[0],u=u.length>16?null:u):u=null;if(u){var A={},D=c;D=D.replace(/;[^]*/,"");q.types=[{description:"*"+u,accept:(A[/^\s*[a-zA-Z0-9+._-]+\/[a-zA-Z0-9+._-]+?\s*$/.test(D)?D:"*/*"]=[u],A)}]}d=q;ei(k,2);return w(k,window.showSaveFilePicker(d),4);case 4:e=k.yieldResult;Iu(k,3);break;case 2:f=ii(k);if(f instanceof DOMException&&f.name==="AbortError")return k.return();
throw f;case 3:return w(k,e.createWritable(),5);case 5:return h=k.yieldResult,gi(k,6),w(k,h.write(a),6);case 6:return fi(k),w(k,h.close(),9);case 9:hi(k,7);break;case 7:return k.return()}})};SS.prototype.dispose=function(){this.sandbox!=null&&this.sandbox.dispose()};tdc("SafeDownloader",SS);var TS=function(){Z.apply(this,arguments);var a=this;this.activeSession=x(Ks);this.documentationLinks=x(XH);this.domSafe=x(SF);this.matDialogService=x(eI);this.attachmentService=x(rS);this.cdr=x(jE,{self:!0});this.differs=x(vx);this.paths=x(TO);this.userAccess=x(dD);this.butterBar=x(MA);this.errorHandler=x(PA);this.analytics=x(nE);this.clipboard=x(ZF);this.issueCommentDialogsService=x(PR);this.issuePermissionService=x(BF);this.editIssueService=x(XI);this.snackBar=x(JA);this.trackerHelpers=x(sI);this.attachmentCountService=
x(tS);this.attachmentsApi=x(wI);this.attachmentEnrichmentFridge=x(fB);this.routeParams=x(NI);this.attachmentEnrichments$=wi(function(){return a.activeSession.isInternalSession()?a.attachmentEnrichmentFridge.watch(a.issueId):li(void 0)}).pipe(C(function(b){return(b==null?void 0:b.enrichments.filter(function(c){var d,e;return c.attachmentId===((d=a.attachment)==null?void 0:(e=d.attachmentId)==null?void 0:e.toString())}))||[]}));this.hasViewAccess=!1;this.actionMenuItems=[];this.attachmentRetentionSaveInProgress=
!1;this.enableInactiveUserContent=Cx(this.activeSession,"enableInactiveUserContent");this.enableInlineImageAttachments=Cx(this.activeSession,"enableInlineImageAttachments");this.canDeleteAttachment$=new $n(!1);this.canUndeleteAttachment$=new $n(!1)};Y(TS,Z);TS.\u0275dir=Z.\u0275dir;g=TS.prototype;
g.ngOnInit=function(){var a=this;this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create());var b;this.attachmentRetentionOverride=(b=this.attachment)==null?void 0:b.piiRetention;this.initializeMenuItems();mXc(this);this.issuePermissionService.canDeleteAttachment$(this.attachment,this.attachmentUploader).pipe(tj(this.destroyed$)).subscribe(function(c){a.canDeleteAttachment$.next(c);a.initializeMenuItems()});this.issuePermissionService.canUndeleteAttachment$(this.attachment,
this.attachmentUploader).pipe(tj(this.destroyed$)).subscribe(function(c){a.canUndeleteAttachment$.next(c);a.initializeMenuItems()});this.destroyed$.subscribe(function(){var c;((c=a.attachment)==null?0:c.attachmentId)&&a.attachmentCountService.inlinedAttachmentSet.delete(a.attachment.attachmentId)})};g.ngDoCheck=function(){this.attachmentDiffer&&this.attachmentDiffer.diff(this.attachment)&&this.initializeMenuItems()};
g.ngOnChanges=function(a){this.setHasViewAccess();a.attachment&&this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create())};
g.initializeMenuItems=function(){var a=this;this.actionMenuItems=[];var b;if((b=this.attachment)==null?0:b.attachmentId)this.canDeleteAttachment$.value&&this.actionMenuItems.push({type:"action",action:function(){a.showDeleteAttachmentDialog()},label:"Delete attachment..."}),this.canUndeleteAttachment$.value&&this.actionMenuItems.push({type:"action",action:function(){zFc(a.editIssueService,a.issueId,a.attachment)},label:"Restore attachment"});this.actionMenuItems.push({type:"action",action:function(){KUc(a.issueCommentDialogsService,
a.issueId,a.attachmentUploader===a.activeSession.getUserEmail(),a.attachment)},label:"Restriction settings..."});if(this.isRestricted()&&this.isActive()&&this.activeSession.isInternalSession()){var c=this.attachmentRetentionOverride==="COMPONENT_DEFAULT";this.actionMenuItems.push({type:"action",action:function(){var d=c?"INDEFINITE":"COMPONENT_DEFAULT";JUc(a.issueCommentDialogsService,"attachment",d).then(function(e){e&&nXc(a,d)})},label:c?"Match issue retention...":"Revert to component retention..."})}this.cdr.markForCheck()};
g.setHasViewAccess=function(){var a=this;this.isRestricted()?this.attachment==null?this.hasViewAccess=!1:(this.hasViewAccess=!1,eD(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b;a.cdr.detectChanges()})):this.hasViewAccess=!0};g.getFilename=function(){var a;return((a=this.attachment)==null?void 0:a.filename)||""};g.getSize=function(){var a;return((a=this.attachment)==null?void 0:a.length)||0};
var b7a=function(a,b){b=b===void 0?!0:b;var c;if((c=a.attachment)==null||!c.attachmentId)throw Error("He");if(a.enableInactiveUserContent){if(b)return KDc(a.attachmentsApi)+"/download/attachment/"+a.issueId+"/"+a.attachment.attachmentId+"?download=true";var d;return Hq.viewAttachment.makeHref(a.issueId,a.attachment.attachmentId,(d=a.attachment.contentType)!=null?d:"")}c="action/issues/"+a.issueId.toString()+"/attachments/"+a.attachment.attachmentId.toString();a=a.paths.getBaseUrl()+"/"+c;return Fmc(a,
"download",b)};TS.prototype.isActive=function(){var a;if((a=this.attachment)==null||!a.attachmentId||this.attachment.attachmentId==="0")return!1;var b;return((b=this.attachment.entityStatus)==null?void 0:b.status)==="ACTIVE"};TS.prototype.viewAttachment=function(){this.isRestricted()?oXc(this,!1):this.domSafe.openInNewTab(b7a(this,!1))};
var d7a=function(a){var b,c=(b=a.attachment)==null?void 0:b.attachmentId,d,e=(d=a.attachment)==null?void 0:d.filename,f,h=(f=a.attachment)==null?void 0:f.contentType;a.isRestricted()?oXc(a,!0):a.enableInactiveUserContent?a.subscriptions.add(LDc(a.attachmentsApi,a.issueId,c.toString()).subscribe(function(k){k&&SS.download(k,e,h)})):a.domSafe.openInNewTab(b7a(a,!0))};TS.prototype.isRestricted=function(){return this.getRestrictionSeverity()!=="NONE_DETECTED"};
TS.prototype.getRestrictionSeverity=function(){var a;return pn((a=this.attachment)==null?void 0:a.contentVerdict)};TS.prototype.getRestrictedLabel=function(){return xya(this.getRestrictionSeverity())};var a7a=function(a){return(a=a.getRestrictionSeverity())?"bv2-restricted-content-limit-"+wya(a):""},oXc=function(a,b){a.analytics.trackEvent("restrictedContent","viewRestrictedContent","attachment");a.matDialogService.open(qS,{width:"400px",data:{attachment:a.attachment,issueId:a.issueId,download:b}})};
TS.prototype.showDeleteAttachmentDialog=function(){var a;(a=this.attachment)!=null&&a.attachmentId&&this.issueCommentDialogsService.showDeleteAttachmentDialog(this.issueId,this.attachment)};
var nXc=function(a,b){var c;(c=a.attachment)!=null&&c.attachmentId?(a.analytics.trackEvent("restrictedContent","updateRetention","attachment"),a.attachmentRetentionSaveInProgress=!0,a.attachmentService.updateRetention(a.issueId,a.attachment.attachmentId,b).pipe(tj(a.destroyed$)).subscribe({next:function(d){a.attachmentRetentionSaveInProgress=!1;a.attachment&&(a.attachment.piiRetention=d.piiRetention,a.attachment.piiRetentionState=d.piiRetentionState);hq(a.butterBar,"Attachment retention updated",
4E3);a.attachmentRetentionOverride=b==="INDEFINITE"?"INDEFINITE":"COMPONENT_DEFAULT";a.initializeMenuItems();a.cdr.detectChanges()},error:function(){a.attachmentRetentionSaveInProgress=!1;QA(a.errorHandler,"Attachment retention update failed")}})):QA(a.errorHandler,"Attachment id is missing")},mXc=function(a){var b,c,d;v(function(e){(b=a.routeParams.downloadAttachment)&&b===((c=a.attachment)==null?void 0:c.attachmentId)&&(d=a.routeParams.download==="true",oXc(a,d));ji(e)})};
TS.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(TS)))(b||TS)}}();
TS.\u0275cmp=F({type:TS,selectors:[["b-attachment-viewer"]],inputs:{attachment:"attachment",issueId:"issueId",attachmentUploader:"attachmentUploader"},standalone:!1,features:[Bk([jE]),xj,$w],decls:19,vars:12,consts:[["restrictedAccessHelp",""],[1,"bv2-issue-attachment-image"],["name","file-present","size","large",1,"bv2-issue-attachment-icon"],[1,"flex-kids-y"],[1,"bv2-issue-attachment-filename"],[1,"bv2-issue-event-attachment-info","flex-kids-x","align-items-center"],[3,"label","retentionState",
"contentType"],[1,"bv2-issue-attachment-overflow-menu"],[1,"flex-kids-x","align-items-center"],[3,"class"],[3,"panelTemplate"],[1,"bv2-restricted-access-help-icon","help-icon"],[2,"display","none",3,"issueId","attachmentId","mimeType"],[1,"issue-detail-actions",3,"menuItems","buttonLabel","matTooltip"],[3,"customHandler","isGreyedOut","displayName","linkUrl","linkEnabled","useCustomHandler"],[1,"bv2-issue-attachment-link","icon-button-container"],["type","button","aria-label","Copy link to attachment",
"color","primary","mat-icon-button","","matTooltip","Copy link to attachment","matTooltipPosition","above",1,"bv2-issue-copy-attachment-link",3,"click"],["name","link","size","small"],["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"],[3,"issueId","attachmentId","attachmentEnrichments"]],template:function(a,b){a&1&&(L(0,"div",1),N(1,"b-icon",2),M(),L(2,
"div",3)(3,"div",4),U(4),L(5,"span",5),I(6,Z6a,1,3,"b-restricted-chip",6),I(7,$6a,2,3,"span",7),M()(),L(8,"div",8),U(9),I(10,c7a,2,8,"span",9),I(11,e7a,5,8),L(12,"xap-bubble",10),I(13,f7a,3,3,"span",11),G(14,g7a,4,1,"ng-template",null,0,Gk),M(),I(16,h7a,1,3,"attachment-preview",12),M(),I(17,j7a,1,1),W(18,"async"),M());if(a&2){var c;a=T(15);E(4);V(" ",b.getFilename()," ");E(2);J(b.isRestricted()?6:-1);E();J(b.actionMenuItems.length>0?7:-1);E(2);V(" ",nRa(b.getSize())," ");E();var d;var e=b.isActive()&&
Oea((d=b.attachment)==null?void 0:d.contentType);J(e?10:-1);E();J(b.isActive()?11:-1);E();K("panelTemplate",a);E();J(b.isRestricted()&&!b.hasViewAccess?13:-1);E(3);var f,h,k;if(d=!(!(b.enableInlineImageAttachments&&b.hasViewAccess&&b.isActive()&&((f=b.attachment)==null?0:f.contentType)&&((h=b.attachment)==null?0:h.contentType.startsWith("image/")))||((k=b.attachment)==null?0:k.contentType.startsWith("image/svg")))){var q;((q=b.attachment)==null?0:q.attachmentId)?(f=b.attachmentCountService,h=b.attachment.attachmentId,
f.inlinedAttachmentSet.has(h)?f=!0:f.getCount()<12?(f.inlinedAttachmentSet.add(h),f=!0):f=!1):f=!1;d=f}J(d?16:-1);E();J((c=X(18,10,b.attachmentEnrichments$))?17:-1,c)}},dependencies:[QS,sS,EA,jS,uS,jK,dA,bA,YF,WF,RS,yO,py],styles:[".icon-button-container[_ngcontent-%COMP%]{--mat-icon-button-touch-target-display: none;margin-bottom:2px}.icon-button-container[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size: 36px;--mat-icon-button-state-layer-size: 36px;width:var(--mat-icon-button-state-layer-size);height:var(--mat-icon-button-state-layer-size);padding:6px}"],
changeDetection:0});var US=function(){this.dialogRef=x(YH);this.documentationLinks=x(XH);this.data=x(dI);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc"};US.prototype.onNoClick=function(){this.dialogRef.close(!1)};US.\u0275fac=function(a){return new (a||US)};
US.\u0275cmp=F({type:US,selectors:[["b-restricted-confirmation-dialog"]],standalone:!1,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",""],["type","button","mat-button","",1,"medium","restricted-confirmation-dialog-cancel",3,"click"],["type","button","mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","dialog-primary-action","restricted-confirmation-dialog-confirm",
3,"mat-dialog-close"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1),M(),L(2,"div",1)(3,"p"),U(4),L(5,"a",2),U(6," Learn More "),M()()(),L(7,"div",3)(8,"button",4),Q("click",function(){return b.onNoClick()}),U(9," Cancel "),M(),L(10,"button",5),U(11," Confirm "),M()());a&2&&(E(),tk(b.data.title),E(3),V(" ",b.data.content," "),E(),K("rel",b.EXTERNAL_LINK_REL),Hj("href",b.documentationLinks.getRestrictedAccessHelpLink(),Ni),E(5),K("mat-dialog-close",!0))},dependencies:[dA,aA,fI,hI,jI,iI],encapsulation:2});var VS=function(){this.dialog=x(eI);this.documentationLinks=x(XH);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.disabled=!1;this.onConfirm=new iE};
VS.prototype.openDialog=function(){var a=this;ZH(this.dialog.open(US,{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()})};VS.\u0275fac=function(a){return new (a||VS)};
VS.\u0275cmp=F({type:VS,selectors:[["b-restricted-comment-placeholder"]],inputs:{disabled:"disabled"},outputs:{onConfirm:"onConfirm"},standalone:!1,decls:5,vars:3,consts:[["type","button","mat-stroked-button","","color","primary",1,"small","restricted-comment-load",3,"click","disabled"],["target","_blank","aria-label","Learn more about restricted access",3,"rel"]],template:function(a,b){a&1&&(L(0,"span")(1,"button",0),Q("click",function(){return b.openDialog()}),U(2," Show Restricted Content "),M(),
L(3,"a",1),U(4," Learn More "),M()());a&2&&(E(),K("disabled",b.disabled),E(2),K("rel",b.EXTERNAL_LINK_REL),Hj("href",b.documentationLinks.getRestrictedAccessHelpLink(),Ni))},dependencies:[dA,aA],styles:[".mat-mdc-outlined-button[_ngcontent-%COMP%]{margin-right:1em}/*# sourceMappingURL=restricted_comment_placeholder.css.map */"],changeDetection:0});var WS=function(){};WS.\u0275fac=function(a){return new (a||WS)};WS.\u0275mod=Zi({type:WS});WS.\u0275inj=Eg({imports:[IL,jC,FI,JL]});var pXc=["commentActionsMenu"],qXc=["editDescription"],G7a=function(){return[]},XS=function(){Z.apply(this,arguments);var a=this;this.eventsForIssue=x(wD);this.userPreferencesManager=x(NF);this.issueFullFridge=x(pE);this.issueReferenceResolver=x(uH);this.activeSession=x(Ks);this.commentService=x(BI);this.errorHandler=x(PA);this.analytics=x(nE);this.butterBar=x(MA);this.userAccess=x(dD);this.issueCommentDialogsService=x(PR);this.issuePermissionService=x(BF);this.commentHistoryDialogService=x(mS);this.dateFormatter=
x(MI);this.domSafe=x(SF);this.FormattingMode=ke;this.emailToUser=Kd;this.id$=new nj(1);this.issue$=this.id$.pipe(sj(function(b){return a.issueFullFridge.watch(b)}),pj({bufferSize:1,refCount:!0}));this.accessLevel$=this.issue$.pipe(C(function(b){var c;return b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel}));this.firstEventOverride$=new $n(void 0);this.firstEvent$=this.firstEventOverride$.pipe(sj(function(b){return b?li(b):a.issue$.pipe(Di(fe),C(function(c){if(c.description)var d=dEa(c.description,
c);else{var e,f;d={attachments:[],preDiffs:[],postDiffs:[],modifiedDate:zfa(xe((f=(e=c.aggregatedData)==null?void 0:e.createdTimeMicros)!=null?f:0)),userPerformingActionUser:void 0,userPerformingAction:"<none>",commentVersion:void 0,version:void 0,commentLastModifiedAtDate:void 0,commentRedacted:void 0,commentContentVerdict:void 0,commentRetentionState:void 0,commentDeletionStatus:void 0,commentRetention:void 0,lastCommentEditorUser:void 0,commentEtag:void 0,commentNumber:void 0,isCommentEvent:!0,
unlinkifiedComment:"",formattingMode:void 0,isMajorEvent:!0,statusUpdate:void 0,taggedSummary:void 0,formattedComment:void 0,commentReactions:void 0,issueId:c.issueId}}return d}))})).pipe(pj({bufferSize:1,refCount:!0}));this.firstNote$=this.firstEvent$.pipe(C(function(b){return b}));this.hasDescription$=this.firstEvent$.pipe(C(function(b){return!!b&&Nha(b)}));this.isDisplayCommentFormatLiteral$=this.userPreferencesManager.isCommentDisplayOverrideSet$;this.formattingModeOverride$=new $n(void 0);this.formattingMode$=
this.formattingModeOverride$.pipe(sj(function(b){return b?li(b):a.firstEvent$.pipe(Di(fe),C(function(c){var d;return(d=c.formattingMode)!=null?d:"PLAIN"}),jj())}));this.isRedacted$=this.firstEvent$.pipe(C(function(b){var c;return(c=b==null?void 0:b.commentRedacted)!=null?c:!1}));this.isDeleted$=this.firstEvent$.pipe(C(function(b){return(b==null?void 0:b.commentDeletionStatus)==="DELETED"}));this.shouldShowRestrictedPlaceholder$=si([this.isRedacted$,this.isDeleted$]).pipe(C(function(b){var c=l(b);
b=c.next().value;c=c.next().value;return!(!b||c)}));this.isRestricted$=this.firstEvent$.pipe(C(function(b){return pn(b==null?void 0:b.commentContentVerdict)}),C(function(b){if(b==null)return!1;switch(b){case "NONE_DETECTED":case "RESTRICTION_SEVERITY_UNSPECIFIED":return!1;case "RESTRICTED":case "RESTRICTED_PLUS":return!0;default:qb(b)}}));this.commentRetentionOverride$=this.firstEvent$.pipe(C(function(b){return b==null?void 0:b.commentRetention}));this.commentHistoryEnabled=Cx(this.activeSession,
"enableCommentHistoryUi");this.isShowCommentHistoryActionInMenu$=si([this.firstEvent$,this.isRedacted$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return!(!(Cx(a.activeSession,"enableCommentHistoryUi")&&((b==null?void 0:b.commentVersion)||0)>0)||c)}));this.canEditComment$=this.firstEvent$.pipe(sj(function(b){return b?a.issuePermissionService.canEditComment$(b):li(!1)}),pj({refCount:!0,bufferSize:1}));this.mayReadPii$=this.isRestricted$.pipe(sj(function(b){return b?rXc(a):li(void 0)}));
this.reporterUser$=this.issue$.pipe(C(function(b){var c;return b==null?void 0:(c=b.snapshot[0])==null?void 0:c.reporterUser}));this.currentReporterEmail$=this.reporterUser$.pipe(C(function(b){return Jd(b)||""}));this.allEvents$=this.id$.pipe(sj(function(b){return a.eventsForIssue.watch(b)}));this.attachments$=this.allEvents$.pipe(C(function(b){var c,d;return(d=b==null?void 0:(c=b.events[0])==null?void 0:c.attachments)!=null?d:[]}));this.initialReporterEmail$=this.allEvents$.pipe(C(function(b){return b==
null?void 0:b.events[0]}),C(function(b){b=l((b==null?void 0:b.postDiffs)||[]);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.name==="reporter")return c.newValue||"";return""}));this.onBehalfOfEmail$=si([this.initialReporterEmail$,this.currentReporterEmail$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b||c}));this.originalAuthor$=this.allEvents$.pipe(C(function(b){return b==null?void 0:b.events[0]}),C(function(b){return b==null?void 0:b.userPerformingActionUser}));
this.originalAuthorEmail$=this.originalAuthor$.pipe(C(Jd));this.isAuthorNotReporter$=si([this.originalAuthorEmail$,this.onBehalfOfEmail$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b!==c}));this.lastNonCreatorCommentEditorUser$=si([this.firstEvent$.pipe(Di(fe)),this.onBehalfOfEmail$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d;if(c.next().value!==((d=b.lastCommentEditorUser)==null?void 0:d.emailAddress)){var e;return(e=b.lastCommentEditorUser)!=null?e:void 0}}));
this.editedTooltipText$=this.firstEvent$.pipe(Di(fe),sj(function(b){var c="Last edited";b.lastCommentEditorUser&&(c+=" by "+Gd(b.lastCommentEditorUser));return b.commentLastModifiedAtDate?MEc(a.dateFormatter,new Date(b.commentLastModifiedAtDate)).pipe(C(function(d){return c+" on "+d})):li(c)}));this.formattingModeMenuItems$=this.formattingMode$.pipe(C(function(b){var c={};return c.PLAIN={type:"select",action:function(){a.formattingModeOverride$.next("PLAIN")},label:"Classic",selected:b==="PLAIN"},
c.MARKDOWN={type:"select",action:function(){a.formattingModeOverride$.next("MARKDOWN")},label:"Markdown",selected:b==="MARKDOWN"},c.LITERAL={type:"select",action:function(){a.formattingModeOverride$.next("LITERAL")},label:"Source",selected:b==="LITERAL"},c}));this.commentActionMenuItems$=si({isDisplayCommentFormatLiteral:this.isDisplayCommentFormatLiteral$,formattingModeMenuItems:this.formattingModeMenuItems$,event:this.firstEvent$,canEditComment:this.canEditComment$,isRedacted:this.isRedacted$,isRestricted:this.isRestricted$,
isDeleted:this.isDeleted$,accessLevel:this.accessLevel$,isShowCommentHistoryActionInMenu:this.isShowCommentHistoryActionInMenu$,canDeleteComment:this.firstEvent$.pipe(sj(function(b){return a.issuePermissionService.canDeleteComment(b)})),canUndeleteComment:this.firstEvent$.pipe(sj(function(b){return a.issuePermissionService.canUndeleteComment(b)})),canSeeRestrictionSettings:this.issuePermissionService.hasAclToView$,canChangeCommentRetention:this.issuePermissionService.canChangeCommentRetention$,commentRetentionOverride:this.commentRetentionOverride$}).pipe(C(function(b){var c=
b.isDisplayCommentFormatLiteral;var d=b.formattingModeMenuItems;var e=b.event;var f=b.canEditComment;var h=b.isRedacted;var k=b.isRestricted;var q=b.isDeleted;var u=b.accessLevel;var A=b.isShowCommentHistoryActionInMenu;var D=b.canDeleteComment;var H=b.canUndeleteComment;var O=b.canSeeRestrictionSettings;var P=b.canChangeCommentRetention;b=b.commentRetentionOverride;var S=[];c||S.push(Object.assign({},LVc,{items:[d.PLAIN,d.MARKDOWN,d.LITERAL]}));f&&e&&S.push({type:"action",action:function(){C9a(a.issueCommentDialogsService,
a.id,e).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Edit description...",disabled:h});A&&e&&S.push(Object.assign({},NVc,{action:function(){e.commentNumber&&a.showCommentHistoryDialog(e.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));e&&D&&S.push({type:"action",action:function(){e.commentEtag&&HUc(a.issueCommentDialogsService,a.id,1,e.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete description"});
e&&H&&S.push({type:"action",action:function(){EUc(a.issueCommentDialogsService,a.id,1).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore description"});e&&O&&S.push(Object.assign({},MVc,{action:function(){IUc(a.issueCommentDialogsService,a.id,e).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));if(k&&P&&!q&&a.activeSession.isInternalSession()){var aa=b==="COMPONENT_DEFAULT";S.push({type:"action",action:function(){var ia=aa?"INDEFINITE":"COMPONENT_DEFAULT";
JUc(a.issueCommentDialogsService,"comment",ia).then(function(la){a.commentActionsMenu.actionsMenuIconButton.focus();la&&a.updateCommentRetention(ia)})},label:aa?"Match issue retention...":"Revert to component retention..."})}E4a({userIsExternal:!a.activeSession.isInternalSession(),issueIsExternal:u!=="INTERNAL"})&&S.push(Object.assign({},KVc,{action:function(){var ia=F4a({bugId:a.id,comment:1});a.domSafe.openInNewTab(ia)}}));return S}))};Y(XS,Z);XS.\u0275dir=Z.\u0275dir;
var rXc=function(a){return a.id$.pipe(sj(function(b){return wi(function(){return eD(a.userAccess,"reader","issues/"+b+"/comments/1").catch(function(c){oe("error: ",c);return!1})})}))};
XS.prototype.updateCommentRetention=function(a){var b=this,c,d;v(function(e){if(e.nextAddress==1)return w(e,pi(b.firstEvent$),2);if(e.nextAddress!=3)return c=e.yieldResult,w(e,pi(b.id$),3);d=e.yieldResult;c&&!c.commentNumber&&QA(b.errorHandler,"Comment number is missing");b.analytics.trackEvent("restrictedContent","updateRetention","comment");d&&c&&b.commentService.updateRetention(d,c.commentNumber||0,a).pipe(tj(b.destroyed$)).subscribe({next:function(){b.eventsForIssue.poke(d);hq(b.butterBar,"Comment retention updated",
4E3)},error:function(){QA(b.errorHandler,"Comment retention update failed")}});ji(e)})};
XS.prototype.loadRestrictedComment=function(a,b){var c=this;this.analytics.trackEvent("restrictedContent","viewRestrictedContent","comment");var d=b.commentNumber||0,e=pn(b.commentContentVerdict);a&&this.commentService.get(a,d,e).pipe(hj(1),tj(this.destroyed$)).subscribe(function(f){f=Oha(b,f);c.firstEventOverride$.next(f)},function(f){var h;c.butterBar.showWarning("Error showing comment "+d+": "+((h=f.error)==null?void 0:h.message))})};
XS.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.id,a,-1)};var k7a=function(a){var b;return v(function(c){if(c.nextAddress==1)return w(c,pi(a.firstEvent$),2);if(c.nextAddress!=3)return(b=c.yieldResult)?w(c,C9a(a.issueCommentDialogsService,a.id,b),3):c.return();a.editDescriptionButton.focus();ji(c)})};pg.Object.defineProperties(XS.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)},get:function(){return up(this.id$)}}});
XS.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(XS)))(b||XS)}}();
XS.\u0275cmp=F({type:XS,selectors:[["b-issue-description"]],viewQuery:function(a,b){a&1&&(ek(pXc,5),ek(qXc,5));if(a&2){var c;ik(c=jk())&&(b.commentActionsMenu=c.first);ik(c=jk())&&(b.editDescriptionButton=c.first)}},inputs:{id:"id"},standalone:!1,features:[xj],decls:3,vars:3,consts:[["commentActionsMenu",""],["editDescription",""],["card",""],["lastEditorCard",""],["id","comment1",1,"flex-kids-x","comment1"],["svgIcon","description_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"flex-1-hemmed"],
[1,"b-description-heading","flex-kids-x"],[1,"flex-1"],[1,"uppercase","inline-block","margin-xs-right"],["type","button","mat-stroked-button","","color","primary","aria-label","Edit description",1,"update-button","small","margin-xs-right"],[1,"keep-focus-ring","first-comment",3,"routerLinkObj"],[1,"muted",3,"matTooltip"],["mode","datetime",1,"margin-s-right",3,"timestamp"],[1,"issue-detail-actions",3,"buttonLabel","menuItems"],[1,"description-deleted"],["type","button","mat-stroked-button","","color",
"primary","aria-label","Edit description",1,"update-button","small","margin-xs-right",3,"click"],[3,"onedevHovercardTrigger","model"],[3,"email"],[3,"user","showEmail"],[1,"keep-focus-ring","first-comment",3,"click","routerLinkObj"],[1,"critical-feature",3,"disabled"],[1,"critical-feature",3,"onConfirm","disabled"],[1,"muted","critical-feature"],[1,"critical-feature",3,"issueId","issueAccessLevel","note","formattingMode","canEditComment"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],
[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,"issueId","attachment","attachmentUploader"]],template:function(a,b){a&1&&(I(0,H7a,27,27,"div",4),W(1,"async"),Jj(2,I7a,1,0,"b-spinner"));if(a&2){var c;J((c=X(1,1,b.firstEvent$))?0:2,c)}},dependencies:[jS,TS,sL,EA,gC,tN,xH,DH,TJ,dA,aA,YF,WF,VS,lL,QM,RM,ZM,py],styles:["[_nghost-%COMP%]{display:block}.description-deleted[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);font-style:italic}.first-comment[_ngcontent-%COMP%]:hover{text-decoration:underline}"],
changeDetection:0});var YS=function(){this.reactionState$=new nj(1);this.issueId="";this.emails$=this.reactionState$.pipe(Di(fe),C(function(a){return a.recentResponders.map(Jd).filter(function(b){return b!==""}).slice(0,5)}))};pg.Object.defineProperties(YS.prototype,{reactionState:{configurable:!0,enumerable:!0,set:function(a){a&&this.reactionState$.next(a)}}});YS.\u0275fac=function(a){return new (a||YS)};
YS.\u0275cmp=F({type:YS,selectors:[["b-comment-reaction-responders-card"]],inputs:{reactionState:"reactionState",issueId:"issueId",commentNumber:"commentNumber"},standalone:!1,decls:5,vars:2,consts:[["role","dialog","tabindex","0","aria-label","Comment Reactions Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"div",1),Mj(2,L7a,5,2,"div",null,Lj),W(4,"async"),M()());a&2&&(E(2),Nj(X(4,0,b.emails$)))},dependencies:[py],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto;max-width:400px}.normal-link.unstyled-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}"]});var sXc=function(){};sXc.\u0275fac=function(a){return new (a||sXc)};sXc.\u0275cmp=F({type:sXc,selectors:[["b-comment-edit-timestamp-message"]],inputs:{event:"event"},standalone:!1,decls:1,vars:1,consts:[["mode","datetime",3,"timestamp"]],template:function(a,b){a&1&&I(0,N7a,6,2);a&2&&J(b.event.commentLastModifiedAtDate?0:-1)},dependencies:[tN],encapsulation:2,changeDetection:0});var ZS=function(){this.texts=[]};ZS.prototype.getIssueId=function(a){return a.text};ZS.\u0275fac=function(a){return new (a||ZS)};ZS.\u0275cmp=F({type:ZS,selectors:[["b-tagged-text"]],inputs:{texts:"texts"},standalone:!1,decls:2,vars:0,consts:[[3,"email","withProfile"],[3,"href","issueId"]],template:function(a,b){a&1&&Mj(0,R7a,3,1,null,null,Kj);a&2&&Nj(b.texts)},dependencies:[FH,aN],encapsulation:2,changeDetection:0});var tXc=function(){this.hotlists=x(EC);this.ROUTES=Hq};tXc.\u0275fac=function(a){return new (a||tXc)};tXc.\u0275cmp=F({type:tXc,selectors:[["hotlist-link"]],inputs:{id:"id"},standalone:!1,decls:3,vars:4,consts:[[3,"href"]],template:function(a,b){a&1&&(L(0,"a",0),U(1),W(2,"async"),M());if(a&2){var c;K("href",b.ROUTES.viewHotlist.makeHref(b.id),Ni);E();tk(((c=X(2,2,b.hotlists.watch(b.id)))==null?null:c.name)||b.id)}},dependencies:[py],encapsulation:2,changeDetection:0});var $S=function(){var a=this;this.componentFridge=x(AB);this.id$=new nj(1);this.name$=this.id$.pipe(jj(),sj(function(b){return a.componentFridge.watch(b).pipe(C(function(c){var d=c?(c=(d=c.componentPathInfo)==null?void 0:d.componentPathName)?c.join(" > "):b:b;return d}))}))};$S.prototype.ngOnChanges=function(){this.id$.next(this.id)};$S.\u0275fac=function(a){return new (a||$S)};
$S.\u0275cmp=F({type:$S,selectors:[["plain-component-path"]],inputs:{id:"id"},standalone:!1,features:[$w],decls:6,vars:4,consts:[["thisHovercard","onedevHovercard"],["cardBody",""],[3,"onedevHovercardTrigger"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"]],template:function(a,b){a&1&&(L(0,"span",2),U(1),W(2,"async"),M(),L(3,"onedev-hovercard",null,0),G(5,U7a,3,2,"ng-container",3),M());a&2&&(a=T(4),K("onedevHovercardTrigger",a),E(),tk(X(2,2,b.name$)||b.id))},dependencies:[xH,
yH,DH,zH,AO,py],encapsulation:2,changeDetection:0});var L8a=function(a,b,c){return{diff:a,change:b,isLast:c}},aT=function(){Z.apply(this,arguments);this.activeSession=x(Ks);this.preferences=x(NF);this.emailToUser=Kd;this.customFieldMap={};this.effortEnabled=!0;this.isStringArray=yd;this.isLinkedItemArray=XEa;this.isIssueDiff=UEa;this.isHotlistDiff=VEa;this.DiffType=Vic};Y(aT,Z);aT.\u0275dir=Z.\u0275dir;
var uXc=function(a){if(a.internalDiffs.length<2)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((c=b.timestamp)!=null?c:0)<=((d=a.timestamp)!=null?d:0)},vXc=function(a){if(a.internalDiffs.length<2)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((c=b.timestamp)!=null?c:0)>=((d=a.timestamp)!=
null?d:0)};aT.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Di(fe),tj(this.destroyed$)).subscribe(function(b){a.internalDiffs.length<2||(b&&uXc(a)||!b&&vXc(a))&&a.internalDiffs.reverse()})};
var X8a=function(a,b,c){return Vc(b,c)==="<none>"?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&a.customFieldMap[b.customFieldId].type==="DATE"?!0:!1},Y8a=function(a,b,c){return Vc(b,c)==="<none>"?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&a.customFieldMap[b.customFieldId].type==="REPEATED_DATE"?!0:!1};aT.prototype.asNumber=function(a){return Number(a)};
aT.prototype.customFieldName=function(a){if(a.customFieldId){var b;return((b=this.customFieldMap[a.customFieldId])==null?void 0:b.customFieldName)||"customfield"+a.customFieldId}return""};pg.Object.defineProperties(aT.prototype,{diffs:{configurable:!0,enumerable:!0,set:function(a){this.internalDiffs=[].concat(p(a))}}});aT.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(aT)))(b||aT)}}();
aT.\u0275cmp=F({type:aT,selectors:[["b-issue-event-details"]],inputs:{diffs:"diffs",customFieldMap:"customFieldMap",effortSpecName:"effortSpecName",effortEnabled:"effortEnabled"},standalone:!1,features:[xj],decls:5,vars:0,consts:[["changeCollection",""],[1,"bv2-event-details"],[1,"bv2-diff-row"],["mode","time",1,"float-right",3,"timestamp"],[1,"bv2-diff-detail"],[3,"id"],[1,"bv2-diff-arrow"],[3,"user","showEmail"],["mode","date",3,"timestamp"],[3,"bv2-diff-newvalue-nextline"],[4,"ngTemplateOutlet",
"ngTemplateOutletContext"],["title","For more detail, click on the three-dot menu near status update"],[1,"muted","inline-block","margin-none","unhandled-diff-type"],[3,"href","issueId"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(L(0,"div",1),Mj(1,n9a,2,1,"div",2,Kj),M(),G(3,t9a,1,1,"ng-template",null,0,Gk));a&2&&(E(),Nj(b.internalDiffs))},dependencies:[oy,tN,QM,FH,tXc,$S,ty,ZM],styles:["/*# sourceMappingURL=issue_event_details.css.map */"],changeDetection:0});var bT=function(){var a=x(NF);Z.call(this);var b=this;a.commentDisplayOverride$.pipe(tj(this.destroyed$)).subscribe(function(c){b.formattingModeOverride=c})};Y(bT,Z);bT.\u0275dir=Z.\u0275dir;bT.prototype.ngOnInit=function(){};
bT.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";this.summaryType==="CRITIQUE"?wXc(this):this.summaryType==="GERRIT"&&xXc(this);this.audience=this.issueAccessLevel&&this.issueAccessLevel==="INTERNAL"?"INTERNAL":"EXTERNAL";this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber};
var wXc=function(a){if(a.rawComment.split("\n").slice(0,3).filter(Boolean).length<2)a.rawComment=eMa(a.rawComment,250);else{var b=a.rawComment.split("\n").filter(function(c){c=c.trim();return c!==""&&c!=="BEGIN_PUBLIC"&&c!=="END_PUBLIC"}).slice(0,2);a.rawComment=yXc(a,b)}},xXc=function(a){var b=a.rawComment.split("\n");if(b.length>9){var c=b.slice(0,8).filter(Boolean).map(function(h){return h.trim()}),d=c[0],e=c[1],f=c[3];c=c[5];b=b.at(-2);a.rawComment=yXc(a,[d,e,f,"Gerrit change: "+b,"",c])}},yXc=
function(a,b){return a.formattingMode==="MARKDOWN"||a.formattingModeOverride==="MARKDOWN"?b.join("\n\n"):b.join("\n")};bT.\u0275fac=function(a){return new (a||bT)};
bT.\u0275cmp=F({type:bT,selectors:[["b-summarized-note-container"]],inputs:{note:"note",issueId:"issueId",formattingMode:"formattingMode",summaryType:"summaryType",issueAccessLevel:"issueAccessLevel"},standalone:!1,features:[xj,$w],decls:1,vars:5,consts:[[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&N(0,"b-live-preview",0);a&2&&K("comment",b.rawComment)("issueId",b.issueId)("audience",b.audience)("formattingMode",b.formattingModeOverride||b.formattingMode)("idPrefix",
b.idPrefix)},dependencies:[gK],styles:["[_nghost-%COMP%]     b-live-preview .md-preview{background-color:#fff;background-color:var(--background);padding:0}"]});var zXc=["commentActionsMenu"],AXc=["commentReactionButton"],F9a=function(){return[]},L9a=function(){return{unlinkifiedComment:""}},BXc=[{label:"Classic",mode:"PLAIN"},{label:"Markdown",mode:"MARKDOWN"},{label:"Source",mode:"LITERAL"}],cT=function(){Z.apply(this,arguments);var a=this;this.documentationLinks=x(XH);this.activeSession=x(Ks);this.issueReferenceResolver=x(uH);this.commentService=x(BI);this.el=x(Ph);this.userAccess=x(dD);this.butterBar=x(MA);this.errorHandler=x(PA);this.analytics=x(nE);
this.userPreferencesManager=x(NF);this.issueDetailsBrain=x(zF);this.editIssueService=x(XI);this.issuePermissionService=x(BF);this.commentHistoryDialogService=x(mS);this.issueCommentDialogsService=x(PR);this.dateFormatter=x(MI);this.paths=x(TO);this.domSafe=x(SF);this.eventsForIssueFridge=x(wD);this.isSummarized=!1;this.userToLossyEmail=Jd;this.issueId$=new nj(1);this.distinctIssueId$=this.issueId$.pipe(jj());this.event$=new nj(1);this.deobfuscatedEvent$=new $n(void 0);this.isCommentEvent=ag;this.isNonObfuscatedEmail=
Rf;this.isInternalSession=this.activeSession.isInternalSession();this.enableTeamAnnotations=this.activeSession.isInternalSession();this.formattingModeOverride$=new $n(void 0);this.formattingMode$=si({event:this.event$,formattingModeOverride:this.formattingModeOverride$}).pipe(C(function(b){var c=b.event;return(b=b.formattingModeOverride)?b:c.formattingMode&&c.formattingMode!=="UNSPECIFIED_FORMATTING_MODE"?c.formattingMode:"PLAIN"}));this.commentRetentionOverride$=new $n(null);this.wasSummarized$=
new $n(!1);this.formattingModeMenuItems$=this.formattingMode$.pipe(C(function(b){return BXc.map(function(c){return{type:"select",action:function(){a.formattingModeOverride$.next(c.mode)},label:c.label,selected:b===c.mode}})}));this.isDisplayCommentFormatLiteral$=this.userPreferencesManager.isCommentDisplayOverrideSet$;this.canonicalIssueId$=this.issueDetailsBrain.canonicalIssueId$;this.canEditComment$=this.event$.pipe(sj(function(b){return a.issuePermissionService.canEditComment$(b)}),pj({refCount:!0,
bufferSize:1}));this.commentHistoryEnabled=Cx(this.activeSession,"enableCommentHistoryUi");this.commentReactionsEnabled=this.activeSession.isInternalSession();this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;this.teamId$=this.issueDetailsBrain.teamId$;this.issue$=this.distinctIssueId$.pipe(sj(function(b){return a.editIssueService.editableIssue$(b)}));this.modifiedDateDisplay$=this.event$.pipe(C(function(b){return new Date(b.modifiedDate)}),
sj(function(b){return MEc(a.dateFormatter,b)}));this.ariaLabelHeading$=si([this.event$,this.modifiedDateDisplay$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;if(b==null)b="";else{var d=[];b.commentNumber&&d.push("Comment #"+b.commentNumber);b.userPerformingActionUser&&d.push(Gd(b.userPerformingActionUser));d.push("Modified: "+c);b=d.join(", ")}return b}));this.ReactionType=kic;this.upvoteReactionCount$=this.event$.pipe(C(function(b){var c,d,e;return(e=(c=b.commentReactions)==
null?void 0:(d=c.get("UPVOTE"))==null?void 0:d.count)!=null?e:0}));this.upvoteReactionCountDisplayString$=this.upvoteReactionCount$.pipe(C(function(b){return b&&b!==0?b>999?"999+":String(b):null}));this.noUpvoteReactions$=this.upvoteReactionCount$.pipe(C(function(b){return b===0}));this.commentReactionsHovercardConfig=Object.assign({},new AH,{position:[qBc]});this.commentReactionIsSaving=!1;this.FormattingMode=ke;this.commentActionMenuItems$=si({event:this.event$,isDisplayCommentFormatLiteral:this.isDisplayCommentFormatLiteral$,
formattingModeMenuItems:this.formattingModeMenuItems$,canEditComment:this.canEditComment$,canDeleteComment:this.event$.pipe(sj(function(b){return a.issuePermissionService.canDeleteComment(b)})),canUndeleteComment:this.event$.pipe(sj(function(b){return a.issuePermissionService.canUndeleteComment(b)})),canonicalIssueId:this.canonicalIssueId$,deobfuscatedEvent:this.deobfuscatedEvent$,canSeeRestrictionSettings:this.issuePermissionService.hasAclToView$,canChangeCommentRetention:this.issuePermissionService.canChangeCommentRetention$,
commentRetentionOverride:this.commentRetentionOverride$}).pipe(C(function(b){var c=b.event;var d=b.isDisplayCommentFormatLiteral;var e=b.formattingModeMenuItems;var f=b.canEditComment;var h=b.canDeleteComment;var k=b.canUndeleteComment;var q=b.canonicalIssueId;var u=b.deobfuscatedEvent;var A=b.canSeeRestrictionSettings;var D=b.canChangeCommentRetention;b=b.commentRetentionOverride;var H=[];if(!a.isCommentEvent(c))return H;d||e&&H.push(Object.assign({},LVc,{items:e}));f&&H.push({type:"action",action:function(){C9a(a.issueCommentDialogsService,
String(a.issueId),u||c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Edit comment",disabled:a.isRedacted()});a.isShowCommentHistoryActionInMenu()&&H.push(Object.assign({},NVc,{action:function(){c.commentNumber&&a.showCommentHistoryDialog(c.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));!q||a.isDeleted()||a.activeSession.isAnonymous()||H.push({type:"action",action:function(){var P=Jq(q,{template_issue:a.issueId,template_comment:c.commentNumber,
do_attribution:!0});a.domSafe.openInNewTab(P);a.commentActionsMenu.actionsMenuIconButton.focus()},label:"Copy to canonical issue",disabled:a.isRedacted()});a.isDeleted()||a.activeSession.isAnonymous()||H.push({type:"action",action:function(){CUc(a.issueCommentDialogsService,String(a.issueId),c.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Copy comment to",disabled:a.isRedacted()});h&&H.push({type:"action",action:function(){HUc(a.issueCommentDialogsService,
String(a.issueId),c.commentNumber,c.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete comment"});k&&H.push({type:"action",action:function(){EUc(a.issueCommentDialogsService,String(a.issueId),c.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore comment"});A&&H.push(Object.assign({},MVc,{action:function(){IUc(a.issueCommentDialogsService,String(a.issueId),c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));
if(a.isRestricted(c)&&D&&!a.isDeleted()){var O=b==="COMPONENT_DEFAULT";H.push({type:"action",action:function(){var P=O?"INDEFINITE":"COMPONENT_DEFAULT";JUc(a.issueCommentDialogsService,"comment",P).then(function(S){a.commentActionsMenu.actionsMenuIconButton.focus();S&&a.updateCommentRetention(P)})},label:O?"Match issue retention":"Revert to component retention"})}E4a({userIsExternal:!a.isInternalSession,issueIsExternal:a.issueAccessLevel!=="INTERNAL"})&&H.push(Object.assign({},KVc,{action:function(){c.commentNumber==
null&&oe("unable to buildLegalReportingUrl() correctly without an event.commentNumber");var P,S=F4a({bugId:c.issueId,comment:(P=c.commentNumber)!=null?P:0});a.domSafe.openInNewTab(S)}}));return H}));this.eventAsNote$=si([this.deobfuscatedEvent$,this.event$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;b=b||c;var d;return{commentNumber:b.commentNumber,unlinkifiedComment:(d=b.unlinkifiedComment)!=null?d:"",formattedComment:b.formattedComment}}));this.mayReadPii$=this.event$.pipe(sj(function(b){return ag(b)&&
a.isRestricted(b)?wi(function(){var c=eD(a.userAccess,"reader","issues/"+a.issueId+"/comments/"+b.commentNumber);c.catch(function(d){oe("error: ",d);return!1});return c}):li(void 0)}));this.showRecentEventsFirst$=this.userPreferencesManager.showRecentEventsFirst$;this.showFullHistoryFromFiltering$=this.userPreferencesManager.commentFilterPreferences$.pipe(C(function(b){var c;return(c=b.commentFilter)!=null?c:""}));this.isFullHistoryPreference$=this.showFullHistoryFromFiltering$.pipe(C(function(b){return b===
"FULL_HISTORY"}));this.preEventDiffs$=si([this.event$,this.showRecentEventsFirst$]).pipe(C(function(b){var c=l(b);b=c.next().value;return c.next().value?b.postDiffs:b.preDiffs}));this.postEventDiffs$=si([this.event$,this.showRecentEventsFirst$]).pipe(C(function(b){var c=l(b);b=c.next().value;return c.next().value?b.preDiffs:b.postDiffs}));this.hasAclToUpvoteReact$=si([this.event$,this.issuePermissionService.hasAclToComment$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;var d,e;
return((d=b.commentReactions)==null?void 0:(e=d.get("UPVOTE"))==null?void 0:e.hasReacted)||c}));this.showCommentReactionHovercard$=si([this.issuePermissionService.hasAclToEdit$,this.upvoteReactionCount$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b&&c>0&&c<=5}));this.isShowingCommentTimestamp$=this.isFullHistoryPreference$.pipe(C(function(b){return b&&c$a(a)&&(a.event.preDiffs.length>0||a.event.postDiffs.length>0)}));this.getCommentNumberLink=function(b){return xIa(a.issueId,
{comment:b})}};Y(cT,Z);cT.\u0275dir=Z.\u0275dir;g=cT.prototype;g.ngOnInit=function(){this.event.commentNumber&&this.el.nativeElement.setAttribute("id","comment"+this.event.commentNumber);var a;this.commentRetentionOverride$.next((a=this.event.commentRetention)!=null?a:null)};
g.updateCommentRetention=function(a){var b=this;this.event.commentNumber||QA(this.errorHandler,"Comment number is missing");this.analytics.trackEvent("restrictedContent","updateRetention","comment");this.commentService.updateRetention(this.issueId,this.event.commentNumber||0,a).pipe(tj(this.destroyed$)).subscribe({next:function(c){b.event=Object.assign({},b.event,{commentRetention:c.piiRetention,commentRetentionState:c.piiRetentionState});hq(b.butterBar,"Comment retention updated",4E3);b.commentRetentionOverride$.next(a===
"INDEFINITE"?"INDEFINITE":"COMPONENT_DEFAULT")},error:function(){QA(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$.value)b=a.previousValue,a=a.currentValue,b=(b==null?void 0:b.commentVersion)!==(a==null?void 0:a.commentVersion)||(b==null?void 0:b.commentContentVerdict)!==(a==null?void 0:a.commentContentVerdict);b&&this.deobfuscatedEvent$.next(void 0)};
g.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};g.getRestrictedLabel=function(){return xya(pn(this.event.commentContentVerdict))};g.isRestricted=function(a){a=pn(a.commentContentVerdict);switch(a){case "NONE_DETECTED":case "RESTRICTION_SEVERITY_UNSPECIFIED":return!1;case "RESTRICTED":case "RESTRICTED_PLUS":return!0;default:qb(a)}};g.isDeleted=function(){return this.event.commentDeletionStatus==="DELETED"};
g.isRedacted=function(){var a;return((a=this.event)==null?void 0:a.commentRedacted)&&!this.deobfuscatedEvent$.value};
g.loadRestrictedComment=function(){var a=this;this.analytics.trackEvent("restrictedContent","viewRestrictedContent","comment");var b=this.event.commentNumber||0;this.commentService.get(String(this.issueId),b,pn(this.event.commentContentVerdict)).pipe(hj(1)).subscribe(function(c){a.deobfuscatedEvent$.next(Oha(a.event,c))},function(c){var d;a.butterBar.showWarning("Error showing comment "+b+": "+((d=c.error)==null?void 0:d.message))})};
g.isShowCommentHistoryActionInMenu=function(){return!(!(this.commentHistoryEnabled&&(this.event.commentVersion||0)>0)||this.isRedacted())};var c$a=function(a){return ag(a.event)&&a.event.isCommentEvent};cT.prototype.getSummaryType=function(){return ig(this.event)?"GERRIT":"CRITIQUE"};cT.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.issueId,a,-1)};
var U9a=function(a){var b,c,d,e,f;return v(function(h){if(h.nextAddress==1)return w(h,pi(a.hasAclToUpvoteReact$),2);if(h.nextAddress!=3){b=h.yieldResult;if(!b)return h.return();a.commentReactionIsSaving=!0;c=W9a(a,"UPVOTE");return w(h,a.issueCommentDialogsService.updateCommentReaction({issueId:a.issueId,commentId:(d=a.event.commentNumber)!=null?d:2,reactionType:"UPVOTE",hasReacted:!c}),3)}e=h.yieldResult;a.commentReactionIsSaving=!1;if(!e)return h.return();f=a.event;f.commentReactions=e;a.event$.next(f);
a.eventsForIssueFridge.manualUpdate(a.issueId,function(k){var q;k.events=Pha(k.events,(q=a.event.commentNumber)!=null?q:2,{commentReactions:e})});a.analytics.trackEvent("editIssue","click",c?"removeUpvoteReaction":"addUpvoteReaction");ji(h)})},W9a=function(a,b){var c,d,e;return(e=(c=a.event.commentReactions)==null?void 0:(d=c.get(b))==null?void 0:d.hasReacted)!=null?e:!1},V9a=function(a,b){var c;a=(c=a.event.commentReactions)==null?void 0:c.get(b);if(!a)return"Comment reaction button";b=b==="UPVOTE"?
"Thumbs up":"";a.count===1?b+=", "+a.count+" reaction":a.count>1&&(b+=", "+a.count+" reactions");a.hasReacted&&(b+=", reacted");return b};pg.Object.defineProperties(cT.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){this.internalEvent=a;this.event$.next(a)},get:function(){return this.internalEvent}}});cT.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(cT)))(b||cT)}}();
cT.\u0275cmp=F({type:cT,selectors:[["b-history-event"]],viewQuery:function(a,b){a&1&&(ek(zXc,5),ek(AXc,5));if(a&2){var c;ik(c=jk())&&(b.commentActionsMenu=c.first);ik(c=jk())&&(b.commentReactionButton=c.first)}},inputs:{issueId:"issueId",issueAccessLevel:"issueAccessLevel",isSummarized:"isSummarized",event:"event"},standalone:!1,features:[xj,$w],decls:2,vars:3,consts:[["emailDisplay",""],["card",""],["commentActionsMenu",""],["commentReactionButton",""],["commentReactionCard","onedevHovercard"],[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"],[1,"bv2-event-user-name",3,"model"],[1,"bv2-event-user-id"],["type","button","matTooltip","Edit Comment","aria-label","Edit Comment",1,"bv2-edit-comment-button"],[1,"bv2-event-info"],["content-type","comment",3,"label","retention","retentionState"],["mode","datetime",3,"timestamp"],[1,"issue-detail-actions",3,"buttonLabel","menuItems"],[1,"float-clear"],[1,
"bv2-event-major-status"],[3,"diffs","customFieldMap","effortSpecName","effortEnabled"],[1,"bv2-event-note-container","critical-feature"],[1,"flex-kids-x","space-between"],[1,"muted","italic"],[3,"disabled"],[1,"flex-kids-y","flex-1-hemmed"],[3,"issueId","issueAccessLevel","note","formattingMode","canEditComment"],["type","button","mat-button","",1,"summarized-note-button"],[1,"flex-kids-y","justify-space-between"],[1,"comment-timestamp"],["mode","time",1,"muted","type-s",3,"timestamp"],[1,"align-self-flex-end"],
[1,"bv2-event-note-edit-timestamp"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],[1,"keep-focus-ring","vertical-centered","comment-number",3,"click","routerLinkObj"],["type","button","matTooltip","Edit Comment","aria-label","Edit Comment",1,"bv2-edit-comment-button",3,"click"],[3,"texts"],[3,"onConfirm","disabled"],[3,"issueId","issueAccessLevel","note","summaryType","formattingMode"],["type","button","mat-button",
"",1,"summarized-note-button",3,"click"],["svgIcon","arrow-down",1,"icon-m"],["svgIcon","arrow-up",1,"icon-m"],["type","button","mat-stroked-button","","disabledInteractive","",1,"comment-reaction-button",3,"click","ariaLabel","aria-disabled","disabled","onedevHovercardTrigger","onedevHovercardConfig","onedevHovercardActive"],["svgIcon","thumb_up_filled_24px",1,"icon-s","has-reacted-icon"],["svgIcon","thumb_up_24px",1,"icon-s"],[3,"reactionState","issueId","commentNumber"],[3,"event"],[3,"click"],
[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,"issueId","attachment","attachmentUploader"]],template:function(a,b){a&1&&(I(0,d$a,43,32),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.issue$))?0:-1,c)}},dependencies:[jS,TS,sL,oy,EA,gC,tN,xH,DH,aT,TJ,RS,VS,SM,RM,bN,YF,WF,bT,dA,aA,YS,sXc,ZS,py],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}.gmat-mdc-button.comment-reaction-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){-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}.gmat-mdc-button.comment-reaction-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   mat-icon[_ngcontent-%COMP%]{margin-right:4px;margin-left:0}.gmat-mdc-button.comment-reaction-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .has-reacted-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.gmat-mdc-button.comment-reaction-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix):focus:enabled:not(.comment-reaction-button[aria-disabled=true]), .gmat-mdc-button.comment-reaction-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix):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%]   .gmat-mdc-button.mat-mdc-outlined-button.comment-reaction-button[aria-disabled=true][_ngcontent-%COMP%]{cursor:default;color:#bdc1c6;color:var(--text-disabled);--private-gmat-button-outlined-stateful-color:var(--text-disabled);--mat-button-outlined-hover-state-layer-opacity:0;--mat-button-outlined-focus-state-layer-opacity:0;--mat-button-outlined-pressed-state-layer-opacity:0}[_nghost-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.comment-reaction-button[aria-disabled=true][_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:rgba(26,115,232,.4);color:var(--hover-btn)}.gmat-mdc-button.no-upvote-reactions.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){border:0;margin-right:2px}.gmat-mdc-button.no-upvote-reactions.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   mat-icon[_ngcontent-%COMP%]{margin-right:0;--mat-button-outlined-icon-offset:0}.comment-timestamp[_ngcontent-%COMP%]{-webkit-box-flex:0.92;-webkit-flex:0.92;-moz-box-flex:0.92;-ms-flex:0.92;flex:0.92}.comment-timestamp.hasCommentTimestamp[_ngcontent-%COMP%]{margin-top:14px}.comment-number[_ngcontent-%COMP%]:hover{text-decoration:underline}\n/*# sourceMappingURL=history_event.css.map */"],
changeDetection:0});var dT=function(){};dT.prototype.watch=function(a,b){b=b===void 0?document.documentElement:b;return vi(wi(function(){return li(document.getElementById(a))}),$ya(b,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0}).pipe(C(function(){return document.getElementById(a)}))).pipe(Di(fe),hj(1))};dT.\u0275fac=function(a){return new (a||dT)};dT.\u0275prov=Dg({token:dT,factory:dT.\u0275fac,providedIn:"root"});var eT=function(){this.idWatch=x(dT)},CXc=function(a,b){var c=b.elementId;var d=b.parentElement;var e=b.scrollableContainerId;var f=b.scrollPadding===void 0?0:b.scrollPadding;return a.idWatch.watch(c,d).pipe(hj(1),C(function(h){h.scrollIntoView();if(h=document.getElementById(e))h.scrollTop-=f}))};eT.\u0275fac=function(a){return new (a||eT)};eT.\u0275prov=Dg({token:eT,factory:eT.\u0275fac,providedIn:"root"});var DXc={FULL:"full",SUMMARIZED:"summarized",FOLDED:"folded",HIDDEN:"hidden"},EXc=RegExp("(comment|attachment)([0-9]+)"),fT=function(){Z.apply(this,arguments);var a=this;this.formattedCommentsForIssueFridge=x(AD);this.preferences=x(NF);this.eventsForIssue=x(wD);this.dynamicScrollIntoView=x(eT);this.bLocation=x(hL);this.elementRef=x(Ph);this.routerEvents=x(mE);this.analytics=x(nE);this.teamFridge=x(qF);this.issueFullFridge=x(pE);this.activeSession=x(Ks);this.issueId$=new nj(1);this.internalIssueId=
"";this.eventDisplayModes=DXc;this.internalEvents=[];this.showRecentEventsFirst=null;this.currentFilterLevel="FULL_HISTORY";this.issue$=this.issueId$.pipe(sj(function(b){return a.issueFullFridge.watch(b)}));this.events$=new nj(1);this.commentsToFormat$=new nj(1);this.eventDisplayMode=new Map;this.commentNumbersDisplayed=new Set;this.foldedCommentsCounts=new Map;this.authoritativeEmails=new Set;this.authoritativeEmails$=this.preferences.commentFilterPreferences$.pipe(sj(function(b){var c=new Set;return b.commentFilter!==
"TEAM_AND_ASSIGNEE"?li(c):a.issue$.pipe(sj(function(d){var e;if((d==null?void 0:(e=d.snapshot[0].assigneeUser)==null?void 0:e.emailAddress)!==void 0){var f;c.add(d==null?void 0:(f=d.snapshot[0].assigneeUser)==null?void 0:f.emailAddress)}var h;if((d==null?void 0:(h=d.snapshot[0].verifierUser)==null?void 0:h.emailAddress)!==void 0){var k;c.add(d==null?void 0:(k=d.snapshot[0].verifierUser)==null?void 0:k.emailAddress)}var q;if((d==null?void 0:(q=d.aggregatedData)==null?void 0:q.teamId)===void 0)return li(c);
var u;return FXc(a,String(d==null?void 0:(u=d.aggregatedData)==null?void 0:u.teamId)).pipe(sj(function(A){A=l(A);for(var D=A.next();!D.done;D=A.next())c.add(D.value);return li(c)}))}))}));this.isLoading$=si([this.formattedCommentsForIssueFridge.thinking$,this.eventsForIssue.thinking$]).pipe(ij(0),C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b||c}));this.sendAnalytics=Fv(function(){var b=[].concat(p(document.querySelectorAll(".bv2-event-note, .bv2-event-major-status"))).map(function(c){return c.innerText}).join("").length;
a.analytics.trackEvent("editIssue","updateCommentThread","visibleCharCount",b)},200);this.scrollToCommentOrAttachment=Fv(function(){var b=a.bLocation.hash();if(b&&a.lastHashScrolled!==b&&a.internalEvents){var c,d=l((c=b.match(EXc))!=null?c:[]);d.next();c=d.next().value;var e=d.next().value;d=c;var f=e;if(b==="lastcomment"){d=Tha(a.internalEvents);if(d===-1)return;f=String(d);d="comment"}if(d&&f){c=a.internalEvents.findIndex(function(k){return k.commentNumber===Number(f)});e=c>-1;var h=a.internalEvents.flatMap(function(k){return k.attachments}).some(function(k){return k.attachmentId===
f});if(e||h)e&&a.eventDisplayMode.get(c)==="folded"&&(a.eventDisplayMode.set(c,"full"),GXc(a,c)),h&&(c=a.internalEvents.findIndex(function(k){return k.attachments.findIndex(function(q){return q.attachmentId===f})>-1}),a.eventDisplayMode.get(c)||(a.eventDisplayMode.set(c,"full"),GXc(a,c))),CXc(a.dynamicScrollIntoView,{elementId:d+f,parentElement:a.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(uj(function(){a.lastHashScrolled=b}),tj(a.destroyed$)).subscribe()}else CXc(a.dynamicScrollIntoView,
{elementId:b,parentElement:a.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(uj(function(){a.lastHashScrolled=b}),tj(a.destroyed$)).subscribe()}},200)};Y(fT,Z);fT.\u0275dir=Z.\u0275dir;
fT.prototype.ngOnInit=function(){var a=this;this.authoritativeEmails$.pipe(tj(this.destroyed$)).subscribe(function(b){a.authoritativeEmails=b});this.preferences.showRecentEventsFirst$.pipe(Di(fe),jj(),tj(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst!==b&&(a.showRecentEventsFirst=b,HXc(a))});si([this.events$,this.preferences.commentFilterPreferences$,this.authoritativeEmails$]).pipe(tj(this.destroyed$)).subscribe(function(b){b=l(b);var c=b.next().value;var d=b.next().value;var e=
b.next().value;b=[];if(d.commentFilter)for(a.currentFilterLevel=d.commentFilter,IXc(a,c,d.commentFilter,e),JXc(a),c=l(a.commentNumbersDisplayed.values()),d=c.next();!d.done;d=c.next())b.push(a.internalIssueId+"-"+d.value);else for(c=l(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(Di(fe),sj(function(b){return a.formattedCommentsForIssueFridge.watchSet(b)}),tj(this.destroyed$)).subscribe(function(b){KXc(a,
b)});this.routerEvents.navigationEnd$.pipe(tj(this.destroyed$)).subscribe(function(){a.internalEvents&&a.internalEvents.length!==0&&a.scrollToCommentOrAttachment()})};
var KXc=function(a,b){for(var c={i$jscomp$842:0};c.i$jscomp$842<a.internalEvents.length;c={i$jscomp$842:c.i$jscomp$842},c.i$jscomp$842++)if(j$a(a.eventDisplayMode.get(c.i$jscomp$842))&&ag(a.internalEvents[c.i$jscomp$842])){var d=b.find(function(e){return function(f){return f.id.commentId===a.internalEvents[e.i$jscomp$842].commentNumber}}(c));d&&(a.internalEvents[c.i$jscomp$842]=Object.assign({},a.internalEvents[c.i$jscomp$842],{formattedComment:d.formattedComment.formattedComment,formattingMode:d.formattedComment.formattingMode}))}HXc(a)},
IXc=function(a,b,c,d){a.eventDisplayMode.clear();a.commentNumbersDisplayed.clear();a.foldedCommentsCounts.clear();switch(c){case "FULL_HISTORY":for(c=0;c<b.length;c++){var e=LXc(b[c]);a.eventDisplayMode.set(c,e?"full":"hidden");ag(b[c])&&b[c].commentNumber&&e&&(e=void 0,a.commentNumbersDisplayed.add((e=b[c].commentNumber)!=null?e:0))}break;case "ALL_COMMENTS":for(c=0;c<b.length;c++)e=MXc(b[c]),a.eventDisplayMode.set(c,e?"full":"hidden"),ag(b[c])&&b[c].commentNumber&&e&&(e=void 0,a.commentNumbersDisplayed.add((e=
b[c].commentNumber)!=null?e:0));break;case "HUMAN_ONLY":NXc(a,b,function(f){var h;return(h=xha(f.userPerformingAction)&&f.isMajorEvent)!=null?h:!0});break;case "TEAM_AND_ASSIGNEE":NXc(a,b,function(f){var h;return(h=d.has(f.userPerformingAction)&&f.isMajorEvent)!=null?h:!0});break;default:for(c=0;c<b.length;c++)a.eventDisplayMode.set(c,"full"),ag(b[c])&&b[c].commentNumber&&(e=void 0,a.commentNumbersDisplayed.add((e=b[c].commentNumber)!=null?e:0))}a.sendAnalytics()},JXc=function(a){if(a.currentFilterLevel!==
"FULL_HISTORY")for(var b=0;b<a.internalEvents.length;b++){var c=a.internalEvents[b];ag(c)&&(hg(c)||c!=null&&c.formattingMode&&c.formattingMode!=="MARKDOWN"&&ig(c))&&(Cx(a.activeSession,"enableCLsInHumanFilterView")||a.currentFilterLevel!=="HUMAN_ONLY"&&a.currentFilterLevel!=="TEAM_AND_ASSIGNEE")&&(a.eventDisplayMode.set(b,"summarized"),GXc(a,b))}},NXc=function(a,b,c){for(var d=0,e=0,f=0,h=0;h<b.length;h++){var k=c(b[h]);a.eventDisplayMode.set(h,k?"full":"folded");if(k){if(d>0||e>0)a.foldedCommentsCounts.has(f)||
a.foldedCommentsCounts.set(f,{commentFoldedCount:d,eventFoldedCount:e});e=d=0;ag(b[h])&&b[h].commentNumber&&(k=void 0,a.commentNumbersDisplayed.add((k=b[h].commentNumber)!=null?k:0))}else{if(ag(b[h])&&b[h].commentNumber||bg(b[h]))d++,f=h;e++}}if(d>0||e>0)b=Tha(a.internalEvents)===1?a.showRecentEventsFirst?0:a.internalEvents.length:OXc(a),a.foldedCommentsCounts.set(b,{commentFoldedCount:d,eventFoldedCount:e})},OXc=function(a){return Baa(a.internalEvents,function(b){var c;return(c=b.isMajorEvent)!=
null?c:!1})},LXc=function(a){return ag(a)&&a.isCommentEvent||bg(a)||a.preDiffs.length>0||a.postDiffs.length>0},MXc=function(a){var b;return((b=a.isMajorEvent)!=null?b:!1)&&(ag(a)&&a.isCommentEvent||bg(a)||a.preDiffs.length>0||a.postDiffs.length>0)},HXc=function(a){if(!(a.internalEvents.length<2)){if(a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate<=PXc(a,a.internalEvents).modifiedDate||!a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate>=PXc(a,a.internalEvents).modifiedDate){a.internalEvents.reverse();
var b;IXc(a,a.internalEvents,(b=a.currentFilterLevel)!=null?b:"FULL_HISTORY",a.authoritativeEmails);JXc(a)}a.internalEvents&&a.internalEvents.length!==0&&a.scrollToCommentOrAttachment()}},PXc=function(a,b){var c;return(c=b.find(function(d){return a.internalEvents[0].modifiedDate!==d.modifiedDate}))!=null?c:b[1]};fT.prototype.trackEventByVersion=function(a,b){return b.version};
var GXc=function(a,b){if(a.foldedCommentsCounts.has(b)){var c,d,e=(d=(c=a.foldedCommentsCounts.get(b))==null?void 0:c.commentFoldedCount)!=null?d:0,f,h;c=(h=(f=a.foldedCommentsCounts.get(b))==null?void 0:f.eventFoldedCount)!=null?h:0;e>1&&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(k,q){return k[0]-q[0]})),e=l(e.entries()),f=e.next();!f.done;f=e.next())if(h=
l(f.value),f=h.next().value,h=h.next().value,f>b){if(h.commentFoldedCount-(f-b)===0)a.foldedCommentsCounts.set(f,{commentFoldedCount:h.commentFoldedCount-1,eventFoldedCount:h.eventFoldedCount-1});else{e=0;for(c=b;c<f;c++)(ag(a.internalEvents[c])||bg(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}},
j$a=function(a){return a==="summarized"||a==="full"},FXc=function(a,b){var c=new Set;return a.teamFridge.watch(b).pipe(C(function(d){if(d!==void 0){d=l(d.members.map(function(f){return f.user.emailAddress}).filter(fe));for(var e=d.next();!e.done;e=d.next())c.add(e.value)}return c}))};
pg.Object.defineProperties(fT.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&&a.length>0){var b=a;a=[].concat(p(b));b=Object.assign({},b[0],{attachments:[],commentNumber:void 0,formattedComment:void 0,taggedSummary:[],isMajorEvent:!1});a[0]=b}a&&!pCa(this.internalEvents,a)&&(this.internalEvents=a,this.events$.next(a))}}});
fT.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(fT)))(b||fT)}}();
fT.\u0275cmp=F({type:fT,selectors:[["b-event-stream"]],inputs:{issueAccessLevel:"issueAccessLevel",showFullHistory:"showFullHistory",issueId:"issueId",events:"events"},standalone:!1,features:[xj],decls:7,vars:6,consts:[[1,"padded","margined"],[1,"bv2-edit-issue-history-stream"],[1,"fold-indication"],[1,"bv2-event"],["type","button","mat-stroked-button","","color","primary",3,"click"],[1,"horizontal-divider"],[3,"issueId","issueAccessLevel","event","isSummarized"]],template:function(a,b){a&1&&(I(0,
e$a,2,0,"aside",0),W(1,"async"),L(2,"div",1),Mj(3,k$a,2,2,null,null,b.trackEventByVersion,!0),M(),I(5,l$a,2,0,"aside",0),W(6,"async"));a&2&&(J(b.showRecentEventsFirst&&X(1,2,b.isLoading$)?0:-1),E(3),Nj(b.internalEvents),E(2),J(!b.showRecentEventsFirst&&X(6,4,b.isLoading$)?5:-1))},dependencies:[cT,dA,aA,lL,py],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;vertical-align:middle}[_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 hT=function(){var a=this;this.issueFullFridge=x(pE);this.issueApi=x(uD);this.issueUserEventsService=x($O);this.prompts=x(gT);this.contextSensitiveRegistry=x(yF);this.analytics=x(nE);this.activeSession=x(Ks);this.enableNoButton=Cx(this.activeSession,"enableIssueSummarizationNoButton")&&this.activeSession.isInternalSession();this.issueId$=this.contextSensitiveRegistry.getIssueId().pipe(Di(fe),jj());this.issue$=this.issueId$.pipe(sj(function(c){return a.issueFullFridge.watch(c)}),Di(fe),jj(function(c,
d){return c.issueId===d.issueId&&c.version===d.version}));this.summarizable$=this.issue$.pipe(sj(function(c){return QXc(a.prompts,c.issueId).pipe(C(function(d){return{issue:c,isSummarizable:d}}))}),pj({refCount:!0,bufferSize:1}));this.pregeneratedSummary$=this.summarizable$.pipe(Di(function(c){return c.isSummarizable}),sj(function(c){return a.getIssueSummary(c.issue,"COMMENTS_LONG")}),pj({refCount:!0,bufferSize:1}));this.generateSummaryRequested$=new nj(1);this.generatedSummary$=this.generateSummaryRequested$.pipe(sj(function(c){return RXc(a,
c)}),pj({refCount:!0,bufferSize:1}));this.summary$=Ci(this.pregeneratedSummary$,this.generatedSummary$).pipe(pj({refCount:!0,bufferSize:1}));this.stage$=si([this.issueId$.pipe(rj(void 0)),this.issue$.pipe(rj(void 0)),this.pregeneratedSummary$.pipe(rj(void 0)),this.generateSummaryRequested$.pipe(rj(void 0)),this.generatedSummary$.pipe(rj(void 0))]).pipe(C(function(c){var d=l(c);c=d.next().value;var e=d.next().value;var f=d.next().value;var h=d.next().value;d=d.next().value;return c&&e&&f&&f.issueId===
c?f.summary?"SUMMARY_VISIBLE":h&&h.issueId===c&&h.version===e.version?!d||d.issueId!==c||d.issueVersion<e.version?"GENERATING":"SUMMARY_VISIBLE":"BUTTON":"HIDDEN"}),pj({refCount:!0,bufferSize:1}));var b=x(Cj);this.stage$.pipe(vp(b)).subscribe()},n$a=function(a){a.issue$.pipe(hj(1)).subscribe(function(b){a.generateSummaryRequested$.next(b)})};
hT.prototype.getIssueSummary=function(a,b){return this.issueApi.getIssueSummary(a.issueId,b).pipe(cj(function(c){c.status!==404&&oe("Error to get an issue summary: error: ",c);return li({issueId:a.issueId,summaryType:b,issueVersion:a.version,summary:""})}))};var RXc=function(a,b){return a.issueApi.generateIssueSummary(b.issueId,"COMMENTS_LONG").pipe(cj(function(c){oe("Error to generate an issue summary: error: ",c);return li({issueId:b.issueId,summaryType:"COMMENTS_LONG",issueVersion:b.version,summary:""})}))};
hT.prototype.trackThumbsUp=function(a,b){this.trackEvent("accept",b);SXc(this,a,"THUMBS_UP","EVENT_TYPE_THUMBS_UP")};hT.prototype.trackThumbsDown=function(a,b){this.trackEvent("reject",b);SXc(this,a,"THUMBS_DOWN","EVENT_TYPE_THUMBS_DOWN")};var TXc=function(a,b,c){a.trackEvent("copy",c);SXc(a,b,"COPY","EVENT_TYPE_COPY")},UXc=function(a,b){SXc(a,b,"FEEDBACK","EVENT_TYPE_FEEDBACK")};hT.prototype.trackEvent=function(a,b){this.analytics.trackEvent("llmSummarize",a,b)};
var SXc=function(a,b,c,d){if(b.modelVersion&&b.issueVersion){a.issueApi.submitIssueSummaryFeedback({issueId:b.issueId,summaryType:b.summaryType,modelVersion:b.modelVersion,issueVersion:b.issueVersion,feedbackType:c}).subscribe();a=a.issueUserEventsService;c=b.issueId;var e=b.summaryType,f=b.modelVersion,h=b.issueVersion;b=new YO;e=(new DOc).setSummaryType(gic[e]).setModelVersion(f).setIssueVersion(h);b=Bl(b,1,EOc,e);a.logIssueUserEvent(c,"FEATURE_SUMMARY",d,b).subscribe()}};
hT.\u0275fac=function(a){return new (a||hT)};hT.\u0275prov=Dg({token:hT,factory:hT.\u0275fac,providedIn:"root"});
var gT=function(){this.eventsForIssueFridge=x(wD)},QXc=function(a,b){return VXc(a,b).pipe(C(function(c){return!!(c&&c.commentEvents.length>=3)}),jj())},VXc=function(a,b){return a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(C(function(c){if(!c)return{commentEvents:[]};c=c.events;return{commentEvents:[].concat(p(c.slice(0,1).filter(function(d){var e;return(e=d.unlinkifiedComment)==null?void 0:e.trim()})),p(c.slice(1).filter(m$a).filter(function(d){var e;return(e=d.unlinkifiedComment)==
null?void 0:e.trim()})))}}))};gT.\u0275fac=function(a){return new (a||gT)};gT.\u0275prov=Dg({token:gT,factory:gT.\u0275fac,providedIn:"root"});var iT=function(){Z.apply(this,arguments);this.llmIssueSummaryService=x(hT);this.BUTTON="BUTTON";this.enableNoButton=this.llmIssueSummaryService.enableNoButton;this.stage$=this.llmIssueSummaryService.stage$};Y(iT,Z);iT.\u0275dir=Z.\u0275dir;iT.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(iT)))(b||iT)}}();
iT.\u0275cmp=F({type:iT,selectors:[["summarize-button"]],standalone:!1,features:[xj],decls:1,vars:1,consts:[[1,"margin-right"],["svgIcon","chat_spark_24px","color","primary"],["type","button","mat-button","","color","secondary",1,"gmat-button","small","generate-summary",3,"click"]],template:function(a,b){a&1&&I(0,q$a,2,3);a&2&&J(b.enableNoButton?0:-1)},dependencies:[EA,dA,aA,py],styles:["mat-icon[_ngcontent-%COMP%]{vertical-align:bottom}\n/*# sourceMappingURL=summarize_button.css.map */"]});var jT=function(){Z.apply(this,arguments);this.preferences=x(NF);this.activeSession=x(Ks);this.clearcut=x(cE);this.analytics=x(nE);this.selectedFilter=null;var a=this.activeSession.isInternalSession();t$a.description=a?"Including CLs, Blunderbuss, etc.":"Including all automated comments";this.filters=WXc;this.showRecentEventsFirst=!1};Y(jT,Z);jT.\u0275dir=Z.\u0275dir;
jT.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Di(fe),tj(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.preferences.commentFilterPreferences$.pipe(tj(this.destroyed$)).subscribe(function(b){b.commentFilter?a.selectedFilter=w$a(b.commentFilter):(a.selectedFilter=OF(a.preferences).showFullHistory?s$a:t$a,a.preferences.save({commentFilterPreferences:{commentFilter:a.selectedFilter.commentFilterType}}).pipe(tj(a.destroyed$)).subscribe())})};
jT.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(jT)))(b||jT)}}();
jT.\u0275cmp=F({type:jT,selectors:[["b-event-stream-header"]],standalone:!1,features:[xj],decls:14,vars:4,consts:[[1,"flex-kids-x","flex-spread"],[1,"uppercase"],[1,"flex-kids-x"],["appearance","outline","subscriptSizing","dynamic",1,"filter-select"],[3,"valueChange","selectionChange","value"],[1,"filter-option",3,"value"],["type","button","mat-stroked-button","","color","primary",1,"sort-order-button",3,"click"],["matButtonIcon","",1,"sort-order-arrow","icon-xs",3,"svgIcon"],[1,"filter-option-name"],
[1,"filter-option-description"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"h4",1),U(2,"Comments"),M(),L(3,"div",2),N(4,"summarize-button"),L(5,"mat-form-field",3)(6,"mat-select",4),xk("valueChange",function(c){wk(b.selectedFilter,c)||(b.selectedFilter=c);return c}),Q("selectionChange",function(c){c=c.value;b.preferences.save({commentFilterPreferences:{commentFilter:c.commentFilterType}}).pipe(tj(b.destroyed$)).subscribe();b.analytics.trackEvent("editIssue","click",c.commentFilterType)}),L(7,"mat-select-trigger"),
U(8),M(),Mj(9,r$a,5,3,"mat-option",5,Lj),M()(),L(11,"button",6),Q("click",function(){var c=!b.showRecentEventsFirst;vwc(b.clearcut,"click_recentFirst_"+c);b.preferences.save({showRecentEventsFirst:c}).pipe(tj(b.destroyed$)).subscribe()}),N(12,"mat-icon",7),U(13),M()()());a&2&&(E(6),vk("value",b.selectedFilter),E(2),tk(b.selectedFilter==null?null:b.selectedFilter.displayName),E(),Nj(b.filters),E(3),K("svgIcon",b.showRecentEventsFirst?"arrow-upward":"arrow-downward"),E(),V(" ",b.showRecentEventsFirst?
"Newest first":"Oldest first"," "))},dependencies:[EA,dA,aA,TL,eH,iT,VL,WL,XL,Vz],styles:[".gmat-mdc-button.mat-mdc-outlined-button.sort-order-button[_ngcontent-%COMP%]{height:24px;line-height:24px;padding-left:6px;padding-right:10px}.sort-order-arrow[_ngcontent-%COMP%]{--mat-button-outlined-icon-spacing:4px;--mat-button-outlined-icon-offset:0;height:16px;width:16px;line-height:16px}[_nghost-%COMP%]     .filter-select{max-width:175px;margin-right:8px}[_nghost-%COMP%]     .filter-select .mat-mdc-form-field{min-width:70px}[_nghost-%COMP%]     .mat-mdc-form-field-flex .mat-mdc-form-field-infix{min-height:auto;border-top-width:8px;padding:0}[_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-mdc-select-arrow{color:#1967d2;color:var(--primary-c700)}  .mat-mdc-select-panel .mat-mdc-option.filter-option{height:48px}.filter-option[_ngcontent-%COMP%]   .filter-option-name[_ngcontent-%COMP%], [_nghost-%COMP%]     .mat-mdc-select-value .filter-option-name{line-height:20px;font-size:.94rem}.filter-option[_ngcontent-%COMP%]   .filter-option-description[_ngcontent-%COMP%], [_nghost-%COMP%]     .mat-mdc-select-value .filter-option-description{line-height:20px;color:#5f6368;color:var(--text-muted);font-size:.8125rem}  .mat-mdc-select-panel .mat-mdc-option.filter-option.mat-mdc-option-active{background-color:#e8f0fe;background-color:var(--selected-bg-muted)}  .mat-mdc-select-panel .mat-mdc-option.filter-option.mat-mdc-option-active .filter-option-name{color:#174ea6;color:var(--primary-c900)}  .mat-mdc-select-panel .mat-mdc-option.filter-option.mat-mdc-option-active .filter-option-description,   .mat-mdc-select-panel .mat-mdc-option.filter-option.mat-mdc-option-active .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked:after{color:#185abc;color:var(--primary-high-contrast)}"]});
var s$a={name:"Full history",description:"Including everything with audit trail",displayName:"Full history",commentFilterType:"FULL_HISTORY"},t$a={name:"All comments and updates",description:"Including CLs, Blunderbuss, etc.",displayName:"All comments",commentFilterType:"ALL_COMMENTS"},u$a={name:"Users' comments",description:"All human generated comments",displayName:"Users",commentFilterType:"HUMAN_ONLY"},v$a={name:"Team and assignee comments",description:"Issue's owning team and assignee",displayName:"Team and assignee",
commentFilterType:"TEAM_AND_ASSIGNEE"},WXc=[s$a,t$a,u$a,v$a];var kT=function(){this.admins=[]};kT.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId;this.admins=Hd(this.hotlist.adminUsers)};kT.\u0275fac=function(a){return new (a||kT)};
kT.\u0275cmp=F({type:kT,selectors:[["b-hotlist-card"]],inputs:{hotlist:"hotlist"},standalone:!1,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&&(L(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),U(5),M()(),L(6,"ul")(7,"li"),U(8),M(),L(9,"li"),U(10),M()(),L(11,"div")(12,"p"),U(13),M()()()()());a&2&&(E(4),K("href",b.url,Ni),E(),tk(b.hotlist.name),E(3),V("ID: ",b.hotlist.hotlistId),E(2),
uk("",b.admins.length===1?"Admin":"Admins",": ",b.admins.join(", ")),E(3),tk(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 lT=function(){this.ROUTES=Hq;this.showHovercard=this.removable=!0;this.disabled=!1;this.removeHotlist=new iE};lT.prototype.getAriaLabel=function(a){return"hotlist: "+a.name};lT.\u0275fac=function(a){return new (a||lT)};
lT.\u0275cmp=F({type:lT,selectors:[["b-hotlist-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&rk("removable",b.removable)},inputs:{hotlist:"hotlist",removable:"removable",showHovercard:"showHovercard",disabled:"disabled"},outputs:{removeHotlist:"removeHotlist"},standalone:!1,decls:1,vars:1,consts:[["card","onedevHovercard"],[1,"chip",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"name"],[1,"keep-focus-ring",3,"href"],["mat-icon-button","","type","button",3,"invisible"],[3,"hotlist"],
["mat-icon-button","","type","button",3,"click"],["svgIcon","close"]],template:function(a,b){a&1&&I(0,y$a,8,9);a&2&&J(b.hotlist?0:-1)},dependencies:[EA,xH,DH,kT,dA,bA],styles:["[_nghost-%COMP%]{margin-right:8px;display:inline-block;vertical-align:middle;white-space:nowrap}[_nghost-%COMP%]     mat-icon svg{height:50%;width:50%}.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-mdc-icon-button[_ngcontent-%COMP%]{height:25px;width:25px;line-height:25px;--mat-icon-button-icon-size: 24px}.chip[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}.removable[_nghost-%COMP%]   .chip[_ngcontent-%COMP%]{padding-right:0}"]});var mT=function(){var a=this;this.hotlists=x(EC);this.userAccess=x(dD);this.id$=new nj(1);this.removeHotlist=new iE;this.removable=!0;this.removable$=this.id$.pipe(sj(function(b){return a.removable!=="check-acl"?li(a.removable):eD(a.userAccess,"appender","hotlists/"+b)}));this.hotlist$=this.id$.pipe(sj(function(b){return a.hotlists.watch(b)}));this.isDisabled$=si([this.id$,this.id$.pipe(sj(this.hotlists.isSaving$))]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b==null?!1:
c?!0:!1}))};pg.Object.defineProperties(mT.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.idInternal=String(a);this.id$.next(String(a))}}});mT.\u0275fac=function(a){return new (a||mT)};
mT.\u0275cmp=F({type:mT,selectors:[["b-hotlist-chip-smart"]],inputs:{id:"id",removable:"removable"},outputs:{removeHotlist:"removeHotlist"},standalone:!1,decls:4,vars:9,consts:[[3,"removeHotlist","hotlist","disabled","removable"]],template:function(a,b){a&1&&(L(0,"b-hotlist-chip",0),W(1,"async"),W(2,"async"),W(3,"async"),Q("removeHotlist",function(){b.idInternal==null?oe("Missing id"):b.removeHotlist.emit()}),M());if(a&2){var c;K("hotlist",X(1,3,b.hotlist$))("disabled",X(2,5,b.isDisabled$)===!0)("removable",
(c=X(3,7,b.removable$))!=null?c:!1)}},dependencies:[lT,py],encapsulation:2,changeDetection:0});var XXc=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],YXc=new kh("MAT_CARD_CONFIG"),ZXc=function(){var a;this.appearance=((a=x(YXc,{optional:!0}))==null?void 0:a.appearance)||"raised"};ZXc.\u0275fac=function(a){return new (a||ZXc)};
ZXc.\u0275cmp=F({type:ZXc,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:8,hostBindings:function(a,b){a&2&&rk("mat-mdc-card-outlined",b.appearance==="outlined")("mdc-card--outlined",b.appearance==="outlined")("mat-mdc-card-filled",b.appearance==="filled")("mdc-card--filled",b.appearance==="filled")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Zj(),ak(0))},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));border-color:var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mat-card-elevated-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mat-card-outlined-container-color, var(--mat-sys-surface));border-radius:var(--mat-card-outlined-container-shape, var(--mat-sys-corner-medium));border-width:var(--mat-card-outlined-outline-width, 1px);border-color:var(--mat-card-outlined-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mat-card-outlined-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mat-mdc-card-filled{background-color:var(--mat-card-filled-container-color, var(--mat-sys-surface-container-highest));border-radius:var(--mat-card-filled-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mat-card-filled-container-elevation, var(--mat-sys-level0))}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}\n'],
encapsulation:2,changeDetection:0});var nT=function(){};nT.\u0275fac=function(a){return new (a||nT)};nT.\u0275dir=$i({type:nT,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]});var $Xc=function(){this.align="start"};$Xc.\u0275fac=function(a){return new (a||$Xc)};
$Xc.\u0275dir=$i({type:$Xc,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(a,b){a&2&&rk("mat-mdc-card-actions-align-end",b.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]});var oT=function(){};oT.\u0275fac=function(a){return new (a||oT)};
oT.\u0275cmp=F({type:oT,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n      [mat-card-title], [mat-card-subtitle],\n      [matCardTitle], [matCardSubtitle]","*"],decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(a){a&1&&(Zj(XXc),ak(0),Pj(1,"div",0),ak(2,1),Qj(),ak(3,2))},encapsulation:2,changeDetection:0});var pT=function(){Z.apply(this,arguments);this.onAccept=new iE;this.onDismiss=new iE};Y(pT,Z);pT.\u0275dir=Z.\u0275dir;pT.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId};pT.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(pT)))(b||pT)}}();
pT.\u0275cmp=F({type:pT,selectors:[["b-hotlist-recommendation-card"]],inputs:{hotlist:"hotlist"},outputs:{onAccept:"onAccept",onDismiss:"onDismiss"},standalone:!1,features:[xj],decls:16,vars:3,consts:[[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body","hotlist-recommendation-card"],[1,"title"],[1,"name"],["target","_blank",3,"href"],[1,"description"],[1,"actions"],["type","button","mat-button","","color","primary",1,"medium","accept-button",3,"click"],["type","button","mat-button","","color",
"basic",1,"medium","dismiss-button",3,"click"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"div",1)(2,"mat-card-header",2),U(3," Suggested hotlist"),M(),L(4,"mat-card-content")(5,"h3",3)(6,"a",4),U(7),M()(),L(8,"div",5)(9,"p"),U(10),M()()(),L(11,"mat-card-actions",6)(12,"button",7),Q("click",function(){return b.onAccept.emit(b.hotlist.hotlistId)}),U(13,"Accept"),M(),L(14,"button",8),Q("click",function(){return b.onDismiss.emit()}),U(15,"Dismiss"),M()()()());a&2&&(E(6),K("href",b.url,Ni),E(),tk(b.hotlist.name),
E(3),tk(b.hotlist.description))},dependencies:[dA,aA,$Xc,nT,oT],styles:['.onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.hotlist-recommendation-card[_ngcontent-%COMP%]{display:flex;width:200px;flex-direction:column;align-items:flex-start;border-radius:8px}.hotlist-recommendation-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif;font-weight:500;font-size:.875rem;line-height:1.25rem;letter-spacing:.8px;text-transform:uppercase}.hotlist-recommendation-card[_ngcontent-%COMP%]   mat-card-content[_ngcontent-%COMP%]{width:190px}.hotlist-recommendation-card[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{margin:5px 0;font-family:"Google Sans",Roboto,Arial,sans-serif;font-weight:500;font-size:1rem;line-height:1.5rem}.hotlist-recommendation-card[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);font-family:Roboto,Arial,sans-serif;font-size:.75rem;font-weight:400;letter-spacing:.025em;line-height:1rem;max-height:40px;overflow:hidden scroll}.hotlist-recommendation-card[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{display:flex;align-items:center;margin:10px 0 0;justify-content:space-evenly;width:inherit}']});var qT=function(){this.issueFullFridge=x(pE);this.recommendationsApi=x(ky);this.issueUserEventsService=x($O);this.analytics=x(nE);this.issueRecommendationFridge=x(sE);this.ROUTES=Hq;this.updateHotlistsInstantly=this.showHovercard=!0;this.onAccept=new iE;this.hovercardConfig={showDelay:250,hideDelay:250,position:[oBc],triggerKey:[]}};qT.prototype.getAriaLabel=function(a){return"suggested hotlist: "+a.name};
qT.prototype.addHotlist=function(a){var b=this;return v(function(c){return c.nextAddress==1?b.issueId==null?c.return():b.updateHotlistsInstantly?w(c,b.issueFullFridge.updateHotlists(b.issueId,[a.toString()],[]),2):c.jumpTo(2):c.nextAddress!=4?(b.onAccept.emit(),b.analytics.trackEvent("hotlistRecommendation","accept",b.analyticsLabel),w(c,b.recommendationsApi.createUserEngagements([{parent:b.recommendationId,userEngagement:{type:"ACCEPTED"}}]),4)):w(c,pi(b.issueUserEventsService.logIssueUserEventForRecommendation(b.issueId,
"FEATURE_HOTLIST","EVENT_TYPE_ACCEPT",b.recommendationId)),0)})};
var z$a=function(a){return v(function(b){if(b.nextAddress==1){if(a.issueId==null)return b.return();a.analytics.trackEvent("hotlistRecommendation","dismiss",a.analyticsLabel);return w(b,a.recommendationsApi.createUserEngagements([{parent:a.recommendationId,userEngagement:{type:"REJECTED"}}]),2)}return b.nextAddress!=3?w(b,pi(a.issueUserEventsService.logIssueUserEventForRecommendation(a.issueId,"FEATURE_HOTLIST","EVENT_TYPE_REJECT",a.recommendationId)),3):w(b,a.issueRecommendationFridge.poke(a.issueId+
"-HOTLIST"),0)})};qT.\u0275fac=function(a){return new (a||qT)};
qT.\u0275cmp=F({type:qT,selectors:[["b-hotlist-recommendation-chip"]],inputs:{hotlist:"hotlist",recommendationId:"recommendationId",issueId:"issueId",analyticsLabel:"analyticsLabel",showHovercard:"showHovercard",updateHotlistsInstantly:"updateHotlistsInstantly"},outputs:{onAccept:"onAccept"},standalone:!1,decls:1,vars:1,consts:[["card","onedevHovercard"],[1,"chip",3,"onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig"],["type","button","mat-icon-button","",1,"add-button","vertical-centered",
3,"click"],["svgIcon","add"],["svgIcon","issue-status-new",1,"vertical-centered"],[1,"name"],[1,"keep-focus-ring",3,"href"],[3,"onAccept","onDismiss","hotlist"]],template:function(a,b){a&1&&I(0,A$a,11,10);a&2&&J(b.hotlist?0:-1)},dependencies:[EA,dA,bA,xH,DH,pT],styles:["[_nghost-%COMP%]{margin-right:8px;display:inline-block;vertical-align:middle;white-space:nowrap}[_nghost-%COMP%]     mat-icon svg{width:50%}.chip[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);display:inline-flex;align-items:center;height:18px;font-size:.75rem;font-weight:normal;border-style:dashed;border-width:.5px;border-color:var(--border-color);border-radius:100px}.chip[_ngcontent-%COMP%]   .mat-mdc-icon-button[_ngcontent-%COMP%]{height:25px;width:25px;line-height:25px;--mat-icon-button-icon-size: 24px}.chip[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}"]});var aYc=[[["","before",""]]],E$a=function(a,b){return b.name},rT=function(){Z.apply(this,arguments);var a=this;this.activeSession=x(Ks);this.issueFullFridge=x(pE);this.issueInteractionsTracking=x(TI);this.errorHandler=x(PA);this.eventsForIssueFridge=x(wD);this.liveAnnouncer=x(Vy);this.hotlistPickerService=x(aS);this.issueRecommendationFridge=x(sE);this.analytics=x(nE);this.isInternalSession=this.activeSession.isInternalSession();this.HOTKEYS=nq;this.issueId$=new nj(1);this.issue$=this.issueId$.pipe(sj(function(b){return a.issueFullFridge.watch(b)}));
this.hotlistIds$=this.issue$.pipe(C(function(b){var c;return(c=b==null?void 0:b.snapshot[0].hotlistId)!=null?c:[]}));this.recommendations$=this.issueId$.pipe(sj(function(b){return a.issueRecommendationFridge.watch(b+"-HOTLIST")}),C(function(b){return((b==null?void 0:b.recommendations)||[]).filter(function(c){return c.confidence==="VERY_HIGH"}).filter(fe).slice(0,2)}));this.textOfHotlistBtn$=this.hotlistIds$.pipe(C(function(b){return b.length}),C(function(b){return b<=5?"Add Hotlist":""}))};Y(rT,Z);
rT.\u0275dir=Z.\u0275dir;rT.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.hotlistIds$.subscribe(function(){if(a.isInternalSession){var b=up(a.issueId$);a.issueRecommendationFridge.poke(b+"-HOTLIST")}}));this.subscriptions.add(this.recommendations$.subscribe(function(b){b.length>0&&a.analytics.trackEvent("hotlistRecommendation","display","IDP")}))};rT.prototype.openHotlistModal=function(){var a=this;return v(function(b){return w(b,aVc(a.hotlistPickerService,a.issue$),0)})};
var B$a=function(a,b){var c,d;return v(function(e){switch(e.nextAddress){case 1:return w(e,pi(a.issueId$),2);case 2:return c=e.yieldResult,jq(a.issueInteractionsTracking,c,{label:"remove-hotlists",value:1}),ei(e,3,4),w(e,a.issueFullFridge.removeHotlists(c,[String(b)]),6);case 6:return w(e,a.liveAnnouncer.announce("Hotlist removed successfully"),4);case 4:fi(e);a.eventsForIssueFridge.poke(c);hi(e,0);break;case 3:d=ii(e),RA(a.errorHandler,d),e.jumpTo(4)}})};
pg.Object.defineProperties(rT.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});rT.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(rT)))(b||rT)}}();
rT.\u0275cmp=F({type:rT,selectors:[["b-issue-hotlists"]],inputs:{issueId:"issueId"},standalone:!1,features:[xj],ngContentSelectors:["[before]"],decls:2,vars:3,consts:[[1,"hotlist-container","chip-container"],["type","button","mat-stroked-button","","aria-label","Add Hotlist","matTooltip","Add Hotlist",1,"small","add-hotlists-btn",3,"onHotkey","click","hotkey"],["svgIcon","add",1,"icon-xs"],["removable","check-acl",3,"id"],["removable","check-acl",3,"removeHotlist","id"],["analyticsLabel","IDP",3,
"hotlist","recommendationId","issueId"]],template:function(a,b){a&1&&(Zj(aYc),I(0,H$a,11,11,"div",0),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.hotlistIds$))?0:-1,c)}},dependencies:[EA,mT,qT,DL,dA,aA,py],styles:[".add-hotlists-btn[_ngcontent-%COMP%], button.gmat-mdc-button[_ngcontent-%COMP%]:not(.mat-mdc-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.icon-only[_ngcontent-%COMP%]{--mat-button-outlined-icon-spacing: 0px;--mat-button-outlined-icon-offset: 0px}.add-hotlists-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);--mat-button-outlined-icon-spacing: 2px;width:16px;height:16px;line-height:16px}.hotlist-container[_ngcontent-%COMP%]{max-height:72px;overflow-y:auto;padding-bottom:5px;align-items:center;align-self:start;display:flex;flex-wrap:wrap;gap:8px;line-height:22px}[_nghost-%COMP%]     .chip-container b-hotlist-chip, [_nghost-%COMP%]     .chip-container b-hotlist-recommendation-chip, [_nghost-%COMP%]     .chip-container .b-chip{margin-right:0}"]});var bYc=["issueTitleEl"],cYc=["issueTitleInputEl"],sT=function(){this.issuePermissionService=x(BF);this.issueFullFridge=x(pE);this.bannedWordsChecker=x(LP);this.disabled=!1;this.titleChanged=new iE;this.isSaving=this.isEditMode=!1},I$a=function(a){a.isEditMode=!a.isEditMode;a.isEditMode?setTimeout(function(){a.issueTitleInputEl.nativeElement.focus()},0):a.bannedWordsChecker.reset()};
sT.prototype.saveTitle=function(){var a=this,b,c,d;return v(function(e){if(e.nextAddress==1)return(c=(b=a.issueTitleInputEl)==null?void 0:b.nativeElement.value)&&a.isModified(c)?w(e,a.bannedWordsChecker.check(c,a.issuePermissionService.accessLevel()==="EXTERNAL_PUBLIC",a.componentId),3):e.jumpTo(2);if(e.nextAddress!=2){d=e.yieldResult;if(!d)return a.issueTitleInputEl.nativeElement.focus(),e.return();dYc(a,c.trim());a.bannedWordsChecker.reset()}a.isEditMode=!1;ji(e)})};
var dYc=function(a,b){v(function(c){a.isSaving=!0;return w(c,pi(Nwc(a.issueFullFridge,a.issueId,b)).finally(function(){a.isSaving=!1;a.titleChanged.next(b)}),0)})};sT.prototype.isModified=function(a){return a!==this.titlePlain};sT.prototype.onInputBlur=function(){this.bannedWordsChecker.showWarning()||this.saveTitle()};
pg.Object.defineProperties(sT.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titlePlain=a=a!=null?a:void 0;this.titleTruncated=eMa(a,300);this.isLongTitle=a==null?!1:a.length>=300}}});sT.\u0275fac=function(a){return new (a||sT)};
sT.\u0275cmp=F({type:sT,selectors:[["issue-title"]],viewQuery:function(a,b){a&1&&(ek(bYc,5),ek(cYc,5));if(a&2){var c;ik(c=jk())&&(b.issueTitleEl=c.first);ik(c=jk())&&(b.issueTitleInputEl=c.first)}},inputs:{title:"title",componentId:"componentId",issueId:"issueId",disabled:"disabled",hasAclToEdit:"hasAclToEdit"},outputs:{titleChanged:"titleChanged"},standalone:!1,features:[Bk([LP])],decls:6,vars:7,consts:[["issueTitleInputEl",""],["issueTitleEl",""],[1,"issue-title-container","flex-kids-x"],["subscriptSizing",
"dynamic",1,"full-width",3,"banned-words-warning"],[1,"heading-m"],["type","button","mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",1,"small","align-self-center",3,"disabled"],[1,"banned-words-warning","break-word"],["subscriptSizing","dynamic",1,"full-width"],["matInput","","aria-label","Enter a new title",1,"heading-m","full-width",3,"keydown","blur","value"],["type","button","mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",
1,"small","align-self-center",3,"click","disabled"],["svgIcon","edit-outline",1,"icon-xxs"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"]],template:function(a,b){a&1&&(L(0,"div",2),I(1,J$a,4,5,"mat-form-field",3)(2,K$a,3,2,"h3",4),I(3,L$a,2,1,"button",5),M(),I(4,M$a,4,1,"p",6),W(5,"async"));a&2&&(rk("full-width",b.isEditMode),E(),J(b.isEditMode?1:2),E(2),J(b.hasAclToEdit?3:-1),E(),J(X(5,5,
b.bannedWordsChecker.showWarning$)?4:-1))},dependencies:[EA,dA,bA,YF,WF,TL,eH,oO,mH,py],styles:["[_nghost-%COMP%]{display:flex;align-items:center}h3[_ngcontent-%COMP%]{vertical-align:middle;margin-bottom:-1px;word-break:break-word}[_nghost-%COMP%]     mat-form-field{min-width:200px;max-width:100%;padding-bottom:8px}[_nghost-%COMP%]     mat-form-field .mat-mdc-text-field-wrapper{padding-left:0}[_nghost-%COMP%]     mat-form-field .mat-mdc-form-field-infix{min-height:initial;padding:0;height:22px}[_nghost-%COMP%]     mat-form-field .mat-mdc-form-field-infix .mat-mdc-form-field-input-control{font-size:1.125rem}[_nghost-%COMP%]     .gmat-mdc-form-field.mat-primary.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper:not(.mdc-text-field--disabled){background-color:rgba(0,0,0,0)}[_nghost-%COMP%]     .gmat-mdc-form-field.mat-primary.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--text-high-contrast)}.issue-title-container[_ngcontent-%COMP%]{display:inline-flex}mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--c700);margin-top:-2px}.banned-words-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-text)}"],
changeDetection:0});var eYc={FOCUS_SYNC:"FOCUS_SYNC",REMAIN_ACTIVE:"REMAIN_ACTIVE"},fYc={DISABLED:"DISABLED",INTERNAL_SORT:"INTERNAL_SORT",EXTERNAL_SORT:"EXTERNAL_SORT"},gYc={ALL:"ALL",NONE:"NONE"},hYc=new Map([["SEVEN_DAY_VIEW_COUNT","7d Views"],["ALERTS","Alerts"],["ASSIGNEE","Assignee"],["CHANGELIST","CLs"],["COMPONENT_PATH","Component"],["CREATED_TIME","Created"],["DUPLICATE_COUNT","Dupes"],["ENRICHMENT_CATEGORIES","Source"],["ISSUE_ID","ID"],["MODIFIED_TIME","Last Modified"],["PRIORITY","P"],["PROGRESS","Progress"],
["RELATIVE_MODIFIED_TIME","Modified"],["REPORTER","Reporter"],["STATUS","Status"],["TEAM","Team"],["TIMEFRAME","Timeframe"],["TITLE","Title"],["TRIAGER","Triager"],["TYPE","Type"],["VOTE_COUNT","+1s"]]),iYc=[{type:"TITLE"},{type:"TYPE"},{type:"TEAM"},{type:"ISSUE_ID"},{type:"ASSIGNEE"},{type:"STATUS"}],jYc=[{type:"TITLE"},{type:"TYPE"},{type:"ISSUE_ID"},{type:"ASSIGNEE"},{type:"STATUS"}],kYc=[{type:"PRIORITY"},{type:"TITLE"},{type:"ASSIGNEE"},{type:"STATUS"},{type:"ISSUE_ID"},{type:"MODIFIED_TIME"}],
lYc=[{type:"PRIORITY"},{type:"TITLE"},{type:"ASSIGNEE"},{type:"PROGRESS"},{type:"ISSUE_ID"},{type:"MODIFIED_TIME"}],mYc=[{type:"TITLE"},{type:"ASSIGNEE"},{type:"STATUS"},{type:"ISSUE_ID"}],nYc={modes:{assignee:"avatar-if-open",modifiedTime:"relativepast"},rowLimit:15},oYc={showActiveIndicator:!0,enableDragging:!0,showMenu:!0,modes:{assignee:"avatar-if-open"},hideColumnHeaders:!0};var tT=function(){this.liveAnnouncer=x(Vy);this.originalItems=[];this.allowRemoval=!1;this.itemsOutput=new iE;this.hasChanges=new iE(!1);this.items=[];this.grabbed=!1};tT.prototype.ngOnInit=function(){this.originalItems.forEach(function(a){a.enabled===void 0&&(a.enabled=!0);return a});this.items=wd(this.originalItems)};var pYc=function(a){a.items.sort(function(b,c){return b.name.localeCompare(c.name)});a.detectChanges()};
tT.prototype.drop=function(a){sq(this.items,a.previousIndex,a.currentIndex);this.detectChanges()};var O$a=function(a,b){return b>0?(sq(a.items,b,b-1),a.detectChanges(),!0):!1},P$a=function(a,b){return b<a.items.length-1?(sq(a.items,b,b+1),a.detectChanges(),!0):!1};tT.prototype.trackByFn=function(){return-1};tT.prototype.onFocus=function(a){this.liveAnnouncer.announce(this.items[a].name+" focused at position "+(a+1)+" of "+this.items.length+". Press space to grab the item.")};
tT.prototype.onKeyDown=function(a,b){if(!(a.target instanceof HTMLInputElement&&a.target.type==="checkbox"))switch(a.key){case " ":a.preventDefault();qYc(this,b);break;case "Tab":this.grabbed&&qYc(this,b);break;case "ArrowUp":rYc(this,a);break;case "ArrowDown":rYc(this,a)}};
var qYc=function(a,b){a.grabbed?(a.grabbed=!1,a.grabbedIndex=void 0,a.liveAnnouncer.announce(a.items[b].name+" dropped at position "+(b+1)+" of "+a.items.length+".")):(a.grabbed=!0,a.grabbedIndex=b,a.liveAnnouncer.announce(a.items[b].name+" grabbed at position "+(b+1)+" of "+a.items.length+". Press up and down arrow to move the item."))},rYc=function(a,b){if(a.grabbed){var c=document.activeElement;if(c&&a.grabbedIndex!==void 0){if(b.key==="ArrowUp"){if(O$a(a,a.grabbedIndex)){var d=c.previousElementSibling;
a.grabbedIndex--}}else P$a(a,a.grabbedIndex)&&(d=c.nextElementSibling,a.grabbedIndex++);d&&(d.focus(),a.liveAnnouncer.announce(a.items[a.grabbedIndex].name+" moved to position "+(a.grabbedIndex+1)+" of "+a.items.length+". Press space to drop the item."))}}};tT.prototype.detectChanges=function(){var a=!vd(this.items,this.originalItems);this.itemsOutput.emit(this.items);this.hasChanges.emit(a)};tT.\u0275fac=function(a){return new (a||tT)};
tT.\u0275cmp=F({type:tT,selectors:[["b-reorder-items"]],inputs:{originalItems:"originalItems",allowRemoval:"allowRemoval"},outputs:{itemsOutput:"items",hasChanges:"hasChanges"},standalone:!1,decls:3,vars:0,consts:[["cdkDropList","",3,"cdkDropListDropped"],["cdkDrag","","tabindex","0"],["cdkDrag","","tabindex","0",3,"keydown","focus"],[3,"checked","aria-label"],["cdkDragHandle","","svgIcon","drag-indicator",1,"drag-handle"],[1,"arrows"],["type","button","mat-icon-button","","aria-label","Move the item up",
3,"click"],["svgIcon","arrow-up"],["type","button","mat-icon-button","","aria-label","Move the item down",3,"click"],["svgIcon","arrow-down"],[3,"change","checked","aria-label"]],template:function(a,b){a&1&&(L(0,"ol",0),Q("cdkDropListDropped",function(c){return b.drop(c)}),Mj(1,Q$a,10,8,"li",1,b.trackByFn,!0),M());a&2&&(E(),Nj(b.items))},dependencies:[EA,uO,tO,rO,dA,bA,HG],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:-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}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%]{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.2,1);transition:-webkit-transform .25s cubic-bezier(0,0,.2,1);transition:transform .25s cubic-bezier(0,0,.2,1);transition:transform .25s cubic-bezier(0,0,.2,1),-webkit-transform .25s cubic-bezier(0,0,.2,1)}"],
changeDetection:0});var uT=function(){this.data=x(dI);this.dialogRef=x(YH);this.originalColumns=this.data.columnItems;this.columns=[].concat(p(this.originalColumns));this.hasChanges=!1};uT.prototype.onClose=function(){this.dialogRef.close(this.columns)};uT.\u0275fac=function(a){return new (a||uT)};
uT.\u0275cmp=F({type:uT,selectors:[["b-configure-columns-dialog"]],standalone:!1,decls:12,vars:3,consts:[["reorderItems",""],["mat-dialog-title",""],[1,"flex-kids-x","space-between","align-items-center"],[1,"margin-none"],["mat-dialog-content",""],[3,"items","hasChanges","originalItems","allowRemoval"],["mat-dialog-actions",""],["type","button","mat-stroked-button","",1,"medium","cancel",3,"click"],["type","button","mat-flat-button","","color","primary",1,"medium","dialog-primary-action","save",3,
"click","disabled"]],template:function(a,b){if(a&1){var c=y();L(0,"div",1)(1,"div",2)(2,"h1",3);U(3," Customize columns for triage view ");M()()();L(4,"div",4)(5,"b-reorder-items",5,0);Q("items",function(d){z(c);return B(b.columns=d)})("hasChanges",function(d){z(c);return B(b.hasChanges=d)});M()();L(7,"div",6)(8,"button",7);Q("click",function(){z(c);return B(b.dialogRef.close())});U(9," Cancel ");M();L(10,"button",8);Q("click",function(){z(c);return B(b.onClose())});U(11," Save ");M()()}a&2&&(E(5),
K("originalItems",b.originalColumns)("allowRemoval",!0),E(5),K("disabled",!b.hasChanges))},dependencies:[tT,dA,aA,hI,jI,iI],encapsulation:2,changeDetection:0});var vT=function(){this.JOINING_ARROW="\u2192";this.showIcon=!0};pg.Object.defineProperties(vT.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){if(a!=null){var b=mia(1049928)(a);this.startDate=Vf(b==null?void 0:b.dateValue);a=mia(1049953)(a);this.endDate=Vf(a==null?void 0:a.dateValue);this.startDateShortStr=Eha(this.startDate);this.endDateShortStr=Eha(this.endDate)}}}});vT.\u0275fac=function(a){return new (a||vT)};
vT.\u0275cmp=F({type:vT,selectors:[["issue-timeframe"]],inputs:{issue:"issue",showIcon:"showIcon"},standalone:!1,decls:1,vars:1,consts:[[1,"flex-kids-x","align-items-center"],["svgIcon","calendar_month_24px","title","Start date and/or end date for this project",1,"icon-m","margin-xs-right"],[1,"margin-xs-right","date",3,"title"],[1,"date",3,"title"],[1,"muted"]],template:function(a,b){a&1&&I(0,V$a,5,3,"div",0);a&2&&J(b.startDate||b.endDate?0:-1)},dependencies:[EA,sy],styles:["[_nghost-%COMP%] {\n      white-space: nowrap;\n    }\n    .date[_ngcontent-%COMP%] {\n      display: inline-block;\n    }"],
changeDetection:0});var wT=function(){this.makePie=X$a;this.total=this.closed=0;this.useXofYLabel=!1};pg.Object.defineProperties(wT.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){a!=null&&(this.total=a.descendantCount,this.closed=this.total-a.openDescendantCount)}}});wT.\u0275fac=function(a){return new (a||wT)};
wT.\u0275cmp=F({type:wT,selectors:[["progress-pie"]],inputs:{issue:"issue",closed:"closed",total:"total"},standalone:!1,decls:1,vars:1,consts:[[1,"flex-kids-x","align-items-center",3,"title"],[1,"flex-kids-x","align-items-center",3,"click","title"],[1,"pie","margin-s-right"]],template:function(a,b){a&1&&I(0,fab,7,14,"div",0);a&2&&J(b.total>0?0:-1)},dependencies:[vy],encapsulation:2,changeDetection:0});var sYc=Nf().user.email,xr={ASSIGNED_TO_ME_AND_OPEN:{key:"ASSIGNED_TO_ME_AND_OPEN",displayAs:"Assigned to me",check:function(a){var b,c=(b=a.snapshot[0].assigneeUser)==null?void 0:b.emailAddress;return c?c===sYc&&eg(a):!1},queryFragment:"assignee:me status:open",tooltip:"Open issues with me as the assignee"},ASSIGNED_TO_ME:{key:"ASSIGNED_TO_ME",displayAs:"Assigned to me",check:function(a){var b;return(a=(b=a.snapshot[0].assigneeUser)==null?void 0:b.emailAddress)?a===sYc:!1},queryFragment:"assignee:me",
tooltip:"Issues with me as the assignee"},OPEN:{key:"OPEN",displayAs:"Open",check:function(a){return eg(a)},queryFragment:"status:open",tooltip:'Issues that match "status:open"'},FIXED:{key:"FIXED",displayAs:"Fixed",check:Xha,queryFragment:"status:fixed"},BROAD_IN_PROGRESS:{key:"BROAD_IN_PROGRESS",displayAs:"Assigned",check:function(a){return Wha(a,"ASSIGNED")||Wha(a,"ACCEPTED")},queryFragment:"status:(assigned | accepted)",tooltip:"Issues that are either in progress or assigned to someone"},NEWLY_FILED:{key:"NEWLY_FILED",
displayAs:"Newly filed",check:function(a){var b=b===void 0?6048E5:b;var c=Date.now(),d,e,f=((e=(d=a.aggregatedData)==null?void 0:d.createdTimeMicros)!=null?e:0)/1E3;return c-f<b&&!(a.version>0)&&eg(a)},queryFragment:"created:7d commentcount<2 status:open",tooltip:"Open issues created in the last seven days that have not been modified"},RECENTLY_ACTIVE:{key:"RECENTLY_ACTIVE",displayAs:"Recently active",check:function(a){var b=b===void 0?6048E5:b;var c=Date.now(),d,e=((d=a.majorModifiedTimeMicros)!=
null?d:0)/1E3;return c-e<b&&a.version>0&&eg(a)},queryFragment:"modified:7d commentcount>1 status:open",tooltip:'Open issues with edits or comments in the last seven days (excluding "creation")'},HIGH_PRIORITY:{key:"HIGH_PRIORITY",displayAs:"High Priority",check:function(a){var b=["P0","P1"];b=b===void 0?[]:b;return b.includes(hia(a))&&eg(a)},queryFragment:"priority:(p0 | p1) status:open",tooltip:"Open issues that are P0 or P1"},TRENDING:{key:"TRENDING",displayAs:"Trending",check:function(a,b,c){return qia(b,
c)},queryFragment:'(no server query available for "is trending")',tooltip:"Issues with unusually high view activity"},PROGRESS:{key:"PROGRESS",displayAs:"Progress",check:function(a){return a.descendantCount>0},queryFragment:"descendantcount>0",tooltip:"Issues with child subtasks"}};var xT=function(){this.changes=new oj};xT.\u0275fac=function(a){return new (a||xT)};xT.\u0275prov=Dg({token:xT,factory:xT.\u0275fac,providedIn:"root"});var tYc=new kh("MAT_SORT_DEFAULT_OPTIONS"),yT=function(a){this._defaultOptions=a;this._initializedStream=new nj(1);this.sortables=new Map;this._stateChanges=new oj;this.start="asc";this._direction="";this.disabled=!1;this.sortChange=new Lp;this.initialized=this._initializedStream};g=yT.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=(d=(c=a==null?void 0:a.disableClear)!=null?c:this.disableClear)!=null?d:!((b=this._defaultOptions)==null||!b.disableClear);b=["asc","desc"];(a.start||this.start)=="desc"&&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._initializedStream.next()};
g.ngOnChanges=function(){this._stateChanges.next()};g.ngOnDestroy=function(){this._stateChanges.complete();this._initializedStream.complete()};pg.Object.defineProperties(yT.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return this._direction},set:function(a){this._direction=a}}});yT.\u0275fac=function(a){return new (a||yT)(Ui(tYc,8))};
yT.\u0275dir=$i({type:yT,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",Tk],disabled:[2,"matSortDisabled","disabled",Tk]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[$w]});var uYc=["*",[["","matSortHeaderIcon",""]]],zT=function(){this._intl=x(xT);this._sort=x(yT,{optional:!0});this._columnDef=x("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0});this._changeDetectorRef=x(sx);this._focusMonitor=x(Ey);this._elementRef=x(Ph);this._ariaDescriber=x(Xy,{optional:!0});this._animationsDisabled=hn();this._recentlyCleared=kk.apply(null,[null].concat(p([])));this.arrowPosition="after";this.disabled=!1;this._sortActionDescription="Sort";x(Um).load(Qz);var a=x(tYc,{optional:!0});if(a==
null?0:a.arrowPosition)this.arrowPosition=a==null?void 0:a.arrowPosition};g=zT.prototype;g.ngOnInit=function(){var a=this;!this.id&&this._columnDef&&(this.id=this._columnDef.name);this._sort.register(this);this._renderChanges=Ci(this._sort._stateChanges,this._sort.sortChange).subscribe(function(){return a._changeDetectorRef.markForCheck()});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(){Promise.resolve().then(function(){return a._recentlyCleared.set(null)})})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._sort.deregister(this);var a;(a=this._renderChanges)==null||a.unsubscribe();if(this._sortButton){var b;(b=this._ariaDescriber)==null||Yy(b,this._sortButton,this._sortActionDescription)}};
g._toggleOnInteraction=function(){if(!this._isDisabled()){var a=this._isSorted(),b=this._sort.direction;this._sort.sort(this);this._recentlyCleared.set(a&&!this._isSorted()?b:null)}};g._handleKeydown=function(a){if(a.keyCode===32||a.keyCode===13)a.preventDefault(),this._toggleOnInteraction()};g._isSorted=function(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")};g._isDisabled=function(){return this._sort.disabled||this.disabled};
g._getAriaSortAttribute=function(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"};g._renderArrow=function(){return!this._isDisabled()||this._isSorted()};g._updateSortActionDescription=function(a){if(this._sortButton){var b;(b=this._ariaDescriber)==null||Yy(b,this._sortButton,this._sortActionDescription);var c;(c=this._ariaDescriber)==null||ooc(c,this._sortButton,a)}this._sortActionDescription=a};
pg.Object.defineProperties(zT.prototype,{sortActionDescription:{configurable:!0,enumerable:!0,get:function(){return this._sortActionDescription},set:function(a){this._updateSortActionDescription(a)}}});zT.\u0275fac=function(a){return new (a||zT)};
zT.\u0275cmp=F({type:zT,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(a,b){a&1&&Q("click",function(){return b._toggleOnInteraction()})("keydown",function(c){return b._handleKeydown(c)})("mouseleave",function(){return b._recentlyCleared.set(null)});a&2&&(Hj("aria-sort",b._getAriaSortAttribute()),rk("mat-sort-header-disabled",b._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled",
"disabled",Tk],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",Tk]},exportAs:["matSortHeader"],attrs:["mat-sort-header",""],ngContentSelectors:["*","[matSortHeaderIcon]"],decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],"viewBox;0 -960 960 960;focusable;false;aria-hidden;true".split(";"),["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(a,
b){a&1&&(Zj(uYc),Pj(0,"div",0)(1,"div",1),ak(2),Qj(),I(3,jab,3,0,"div",2),Qj());a&2&&(rk("mat-sort-header-sorted",b._isSorted())("mat-sort-header-position-before",b.arrowPosition==="before")("mat-sort-header-descending",b._sort.direction==="desc")("mat-sort-header-ascending",b._sort.direction==="asc")("mat-sort-header-recently-cleared-ascending",b._recentlyCleared()==="asc")("mat-sort-header-recently-cleared-descending",b._recentlyCleared()==="desc")("mat-sort-header-animations-disabled",b._animationsDisabled),
Hj("tabindex",b._isDisabled()?null:0)("role",b._isDisabled()?null:"button"),E(3),J(b._renderArrow()?3:-1))},styles:[".mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;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-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow>svg,.mat-sort-header-arrow [matSortHeaderIcon]{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(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}\n"],
encapsulation:2,changeDetection:0});var vYc={showActiveIndicator:!0,showMenu:!0,menu:{includeGoToIssueItem:!0},sortMode:"INTERNAL_SORT",activeRowMode:"FOCUS_SYNC"},AT=function(){Z.call(this);var a=this;this.issueFridge=x(MD);this.router=x($B);this.domSafe=x(SF);this.llmService=x(gS);this.matDialog=x(eI);this.cdr=x(jE,{self:!0});this.isOpen=function(b){return eg(b)};this.isSingleIssue=function(b,c){return c.issueIds.length===1};this.isMultiIssue=function(b,c){return c.issueIds.length>1};this.isClosed=Vha;this.isUnread=Yha;this.getAssigneeString=
function(b){var c,d;b=Jd(b==null?void 0:(c=b.snapshot)==null?void 0:(d=c[0])==null?void 0:d.assigneeUser);return Rf(b)?b:void 0};this.userToLossyEmail=Jd;this.toMatSortDirection=Bfa;this.idsToString=dcb;this.ClickTargetsForNavigation=gYc;this.SortMode=fYc;this.ActiveRowMode=eYc;this.IssueFieldType=cic;this.selection=new nz(!0,[]);this.issueIds$=new $n([]);this.menuItemFactory=function(){return[]};this.showReadStatus=!1;this.alerts=[];this.enrichmentCategoriesFunction=function(){return[]};this.optionsInternal=
vYc;this.activeIssueChange=new iE;this.rowClick=new iE;this.sortChange=new iE;this.columnsChange=new iE;this.selectedIssuesChange=new iE;this.issueNavigated=new iE;this.rowLimit$=new $n(this.options.rowLimit);this.DEFAULT_DATETIME_MODE="datetime";this.DEFAULT_MENU_OPTIONS={buttonIcon:"more-settings-vertical",buttonLabel:"More options"};this.internalFilters=new CF;this.goToIssueItemFactory=function(b){return{type:"action",label:"Go to issue",action:function(c){a.navigateToIssue(c,b)},title:"Go to issue",
icon:"arrow-forward"}};this.customFieldIds=[];this.customFieldNames=new Map;this.dataColumns=[];this.tableColumns=[];this.columnItems=[];this.editableColumns=!1;this.activeSort$=new $n(void 0);this.allRows$=this.issueIds$.pipe(wp(),C(function(b){return b.map(function(c){return{issueIds:c,issue$:c.length===1?Ci(a.issueFridge.watch(c[0]),a.issueFridge.watchOneError(c[0]).pipe(C(function(){}))):li(void 0),summaryTitle$:wi(function(){return sVc(a.llmService,c)})}})}),pj({refCount:!0,bufferSize:1}));this.allIssues$=
this.allRows$.pipe(sj(function(b){return si(b.map(function(c){return c.issue$}))}),C(function(b){return b.filter(fe)}),jj(),pj({bufferSize:1,refCount:!0}));this.allIssuesAreLoaded$=this.allRows$.pipe(sj(function(b){return si(b.map(function(c){return c.issue$.pipe(rj(null))}))}),C(function(b){return b.every(function(c){return c!==null})}),jj(),pj({bufferSize:1,refCount:!0}));this.unarchivedRows$=this.allRows$.pipe(dj(this.allIssuesAreLoaded$),C(function(b){var c=l(b);b=c.next().value;return c.next().value?
b.filter(function(d){var e;return!((e=gg(d))==null?0:e.isArchived)}):b}));this.unarchivedRows$.pipe(C(function(b){return b.length}));this.sortRows=ai(dj(this.activeSort$,this.allIssuesAreLoaded$),C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;return c.next().value&&a.options.sortMode==="INTERNAL_SORT"?ecb(b,d):b}));this.filterRows=ai(dj(this.internalFilters.value$),sj(function(b){b=l(b);var c=b.next().value;var d=b.next().value;return d.size===0?li(c):si(c.map(function(e){return e.issue$})).pipe(C(function(e){return c.filter(function(f,
h){return e[h]?gab(d,h,e):!0})}))}));this.limitRows=ai(dj(this.rowLimit$),C(function(b){var c=l(b);b=c.next().value;return(c=c.next().value)?b.slice(0,c):b}));this.filteredRows$=this.unarchivedRows$.pipe(this.filterRows);this.trendingChipsById$=this.unarchivedRows$.pipe(dj(this.allIssuesAreLoaded$),C(function(b){b=l(b);var c=b.next().value;if(b.next().value){b=c.map(gg).map(function(h){return h==null?void 0:h.userActivityStats});b={views24h:b.map(function(h){var k;return(k=h==null?void 0:h.oneDayViewCount)!=
null?k:0}),views7d:b.map(function(h){var k;return(k=h==null?void 0:h.sevenDayViewCount)!=null?k:0}),views30d:b.map(function(h){var k;return(k=h==null?void 0:h.thirtyDayViewCount)!=null?k:0})};var d={};c=l(c.entries());for(var e=c.next();!e.done;e=c.next()){var f=l(e.value);e=f.next().value;f=f.next().value.issueIds;(e=fcb(b,e))&&(d[f[0]]=e)}return d}}));this.rows$=this.filteredRows$.pipe(this.limitRows,this.sortRows);this.rowCountAfterFilters$=this.unarchivedRows$.pipe(this.filterRows,C(function(b){return b.length}));
this.hiddenRowCount$=si([this.unarchivedRows$,this.rows$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b.length-c.length}),jj());this.trackBy=function(b,c){return dcb(c.issueIds)};this.correctedDisplayedRows=new dk;this.correctedRows$=wi(function(){return si([a.rows$,a.displayedRows.changes.pipe(rj(void 0))])}).pipe(fj(0),C(function(b){b=l(b).next().value;var c=new Map(a.displayedRows.map(function(d){return[dcb(d.row.issueIds),d]}));return b.map(function(d){return c.get(dcb(d.issueIds))}).filter(fe)}));
this.dataColumns=[].concat(p(iYc));this.tableColumns=this.getRenderableColumns(this.dataColumns);this.columnItems=wYc(this,this.dataColumns)};Y(AT,Z);AT.\u0275dir=Z.\u0275dir;AT.prototype.getMenuItems=function(a){var b=[],c;((c=this.options.menu)==null?0:c.includeGoToIssueItem)&&b.push(this.goToIssueItemFactory(a));b.push.apply(b,p(this.menuItemFactory(a)));return b};
var yYc=function(a,b){var c,d;return v(function(e){c=b.filter(function(f){return f.type==="CUSTOM_FIELD"});a.customFieldIds=no(c.map(function(f){return f.customFieldId}),function(f){return f});d=a.customFieldIds.filter(function(f){return!a.customFieldNames.has(f)||a.customFieldNames.get(f)===""+f});return d.length?w(e,xYc(a,d),0):e.jumpTo(0)})},xYc=function(a,b){var c,d,e,f,h,k,q,u;return v(function(A){if(A.nextAddress==1)return w(A,pi(a.allIssues$),2);c=A.yieldResult;d=l(b);e=d.next();for(f={};!e.done;f=
{id$jscomp$401:void 0},e=d.next()){f.id$jscomp$401=e.value;h=l(c);for(k=h.next();!k.done;k=h.next())if(q=k.value,u=q.customFields.find(function(D){return function(H){return H.customFieldId===D.id$jscomp$401}}(f))){a.customFieldNames.set(f.id$jscomp$401,u.name);break}a.customFieldNames.has(f.id$jscomp$401)||a.customFieldNames.set(f.id$jscomp$401,""+f.id$jscomp$401)}ji(A)})};
AT.prototype.getRenderableColumns=function(a){var b=[];this.options.showActiveIndicator&&b.push("active-indicator");this.options.enableSelection&&b.push("selection");this.options.enableDragging&&b.push("drag-handle");this.editableColumns&&b.push("edit-columns-button");a=a.map(function(c){return c.type==="CUSTOM_FIELD"?"CUSTOM_FIELD-"+c.customFieldId:c.type});b.push.apply(b,p(a));this.options.showMenu&&b.push("menu");return b};
var wYc=function(a,b){var c=function(h,k){if(h.type==="CUSTOM_FIELD"){var q;var u=(q=a.customFieldNames.get(h.customFieldId))!=null?q:""+h.customFieldId}else{var A;u=(A=hYc.get(h.type))!=null?A:h.type}return{name:u,data:h,enabled:k}};b=b.map(function(h){return c(h,!0)});var d,e,f=(e=(d=a.options.optionalColumns)==null?void 0:d.map(function(h){return c(h,!1)}))!=null?e:[];d=[].concat(p(b),p(f));return no(d,function(h){return h.name})};AT.prototype.ngOnInit=function(){this.initialSort&&this.activeSort$.next(this.initialSort)};
AT.prototype.ngAfterViewInit=function(){var a=this;this.correctedRows$.pipe(tj(this.destroyed$)).subscribe(function(b){a.correctedDisplayedRows.reset(b);hk(a.correctedDisplayedRows);var c;((c=a.focusManager)==null?0:c.activeItem)&&gz(a.focusManager,a.focusManager.activeItem)});this.focusManager=fz(new AQc(this.correctedDisplayedRows,ccb));this.focusManager.change.pipe(tj(this.destroyed$)).subscribe(function(){var b,c,d,e=(b=a.focusManager)==null?void 0:(c=b.activeItem)==null?void 0:(d=c.row)==null?
void 0:d.issueIds;e&&a.activeIssueChange.emit(e)})};var Rbb=function(a,b,c){var d;(d=a.focusManager)==null||d.setActiveItem(c);var e;a.rowClick.emit((e=c.row)==null?void 0:e.issueIds);var f;d=(f=a.options.navigationOptions)==null?void 0:f.clickTargets;switch(d){case void 0:case "ALL":var h;a.navigateToIssue(b,(h=c.row)==null?void 0:h.issueIds[0]);break;case "NONE":break;default:qb(d)}};g=AT.prototype;g.getDisplayName=function(a){var b;return(b=hYc.get(a))!=null?b:a};
g.navigateToIssue=function(a,b){if(b&&!a.defaultPrevented&&!(a.type==="mouseup"&&a instanceof MouseEvent&&a.button!==1)&&(this.issueNavigated.emit(b),a.target.tagName!=="A")){b=this.getIssueUrl(b);var c;((c=this.options.navigationOptions)==null?0:c.alwaysOpenNewTab)||zn(a)?this.domSafe.openInNewTab(b):a&&a.shiftKey?yp(this.domSafe,b):Rr(this.router,b)}};g.onRowKeydown=function(a,b){var c;(c=this.focusManager)==null||c.onKeydown(b)};
g.onSortChange=function(a){var b=a.direction;b=b!==""?b==="asc"?"ASCENDING":"DESCENDING":void 0;a=b&&a.active?{column:a.active,direction:b}:void 0;this.activeSort$.next(a);this.sortChange.emit(a)};g.toggleAllRows=function(a){if(sab(this,a))this.selection.clear();else{a=l(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.isSingleIssue(0,b)&&this.selection.select(b.issueIds[0])}this.selectedIssuesChange.emit(this.selection)};
var Ubb=function(a){return a.tableColumns.map(function(b){return b==="TITLE"?"multi-issue-title":b==="PRIORITY"?"multi-issue-icon":b==="selection"?"multi-issue-selection":b})},sab=function(a,b){b=b.filter(function(c){return a.isSingleIssue(0,c)}).length;return a.selection.selected.length===b};AT.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):Hq.viewIssue.makeHref(a)};
var mab=function(a){var b,c;return v(function(d){if(d.nextAddress==1)return b=a.matDialog.open(uT,{width:"500px",autoFocus:!1,data:{columnItems:a.columnItems}}),w(d,pi(ZH(b)),2);if(d.nextAddress!=3){c=d.yieldResult;if(!c)return d.return();a.columnItems=c;a.dataColumns=a.columnItems.filter(function(e){return e.enabled}).map(function(e){return e.data});return w(d,yYc(a,a.dataColumns),3)}a.tableColumns=a.getRenderableColumns(a.dataColumns);a.columnsChange.emit(a.dataColumns);ji(d)})};
AT.prototype.getCustomFieldName=function(a){var b;return(b=this.customFieldNames.get(a))!=null?b:String(a)};AT.prototype.getCustomFieldValue=function(a,b){a=a.snapshot[0];if(!a)return"--";var c;return(a=(c=a.customField)==null?void 0:c.find(function(d){return d.customFieldId===b}))?KEa(a):"--"};
pg.Object.defineProperties(AT.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a.map(function(b){return Array.isArray(b)?b:[b]}))}},options:{configurable:!0,enumerable:!0,set:function(a){var b=this;this.optionsInternal=Object.assign({},vYc,a);this.rowLimit$.next(a.rowLimit);var c;yYc(this,[].concat(p(this.dataColumns),p((c=this.options.optionalColumns)!=null?c:[]))).then(function(){b.tableColumns=b.getRenderableColumns(b.dataColumns);b.columnItems=wYc(b,b.dataColumns);
b.cdr.detectChanges()})},get:function(){return this.optionsInternal}},filters:{configurable:!0,enumerable:!0,set:function(a){this.internalFilters.reset(a!=null?a:[])}},tableColumnsInput:{configurable:!0,enumerable:!0,set:function(a){var b=this;this.dataColumns=a;yYc(this,this.dataColumns).then(function(){b.tableColumns=b.getRenderableColumns(a);b.columnItems=wYc(b,a);b.cdr.detectChanges()})}}});AT.\u0275fac=function(a){return new (a||AT)};
AT.\u0275cmp=F({type:AT,selectors:[["b-issues-table"]],viewQuery:function(a,b){a&1&&ek(OP,5);if(a&2){var c;ik(c=jk())&&(b.displayedRows=c)}},inputs:{issueIds:"issueIds",menuItemFactory:"menuItemFactory",initialSort:"initialSort",teamId:"teamId",showReadStatus:"showReadStatus",alerts:"alerts",enrichmentCategoriesFunction:"enrichmentCategoriesFunction",options:"options",issueUrlFactory:"issueUrlFactory",filters:"filters",tableColumnsInput:[0,"tableColumns","tableColumnsInput"],editableColumns:"editableColumns"},
outputs:{activeIssueChange:"activeIssueChange",rowClick:"rowClick",sortChange:"sortChange",columnsChange:"columnsChange",selectedIssuesChange:"selectedIssuesChange",issueNavigated:"issueNavigated"},standalone:!1,features:[Bk([jE]),xj],decls:3,vars:4,consts:[["directive","tableRowDirective"],["mat-table","","matSort","",1,"full-width",3,"dataSource","trackBy","hide-header","matSortDisabled","matSortActive","matSortDirection"],[1,"muted","margin-s-top","flex-kids-x","align-items-center"],["mat-table",
"","matSort","",1,"full-width",3,"matSortChange","dataSource","trackBy","matSortDisabled","matSortActive","matSortDirection"],["matColumnDef","active-indicator"],["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",4,"matCellDef"],["matColumnDef","edit-columns-button"],[3,"matColumnDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","selection"],["matColumnDef","multi-issue-selection"],["matColumnDef","multi-issue-title"],["mat-header-cell","",3,"mat-sort-header",4,"matHeaderCellDef"],
["mat-header-cell","","title","Priority",3,"mat-sort-header",4,"matHeaderCellDef"],["matColumnDef","multi-issue-icon"],["mat-header-cell","","title","",4,"matHeaderCellDef"],["mat-header-cell","","start","desc",3,"mat-sort-header",4,"matHeaderCellDef"],["mat-header-cell","","start","desc","class","nowrap",3,"mat-sort-header",4,"matHeaderCellDef"],["mat-cell","","class","nowrap",4,"matCellDef"],["mat-header-cell","","class","nowrap",4,"matHeaderCellDef"],["mat-header-cell","","title","Timeframe is populated by the 'Start Date' and 'End Date' fields",
3,"mat-sort-header",4,"matHeaderCellDef"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","closed","active","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","active","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-header-cell",""],["tabindex","-1","mat-cell",
""],["type","button","color","neutral","mat-button","","matTooltip","Edit table columns",1,"edit-columns","small","visible-on-row-active",3,"click"],["color","secondary","svgIcon","add_column_left_24px",1,"edit-columns","icon-m"],["mat-cell",""],[3,"id"],["aria-label","Select all issues",3,"change","checked","indeterminate"],[3,"click","change","checked"],[3,"issueNavigated","issue","issueUrlFactory","enableHovercard","useButtonToNavigate","trailingChip","anchorTarget"],["mat-header-cell","",3,"mat-sort-header"],
[3,"issue"],["size","medium",3,"email"],["mat-header-cell","","title","Priority",3,"mat-sort-header"],[3,"issuePriority"],["mat-header-cell","","title",""],["matTooltip","Trending theme identified by AI","svgIcon","auto_tab_group_24px",1,"icon-s","display-block"],[3,"title"],["mat-header-cell","","start","desc",3,"mat-sort-header"],[3,"issue","mode"],[3,"timestamp","mode","paddingLeftPx"],["mat-header-cell","","start","desc",1,"nowrap",3,"mat-sort-header"],["mat-cell","",1,"nowrap"],["mat-header-cell",
"",1,"nowrap"],"chipColor;purple;displayText;Trending themes;icon;issue-status-new;tooltip;Trending theme identified by AI".split(";"),[3,"alerts","issue"],["mat-header-cell","","title","Timeframe is populated by the 'Start Date' and 'End Date' fields",3,"mat-sort-header"],[3,"issue","showIcon"],[3,"click","buttonLabel","buttonIcon","menuItems"],[3,"enrichmentCategoryNames"],["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"click","mouseup","focusin","keydown","row"],
["type","button",1,"link-button"],["type","button",1,"link-button",3,"click"]],template:function(a,b){a&1&&(I(0,Vbb,89,36,"table",1),W(1,"async"),I(2,bcb,3,3,"div",2));if(a&2){var c;J((c=X(1,2,b.rows$))?0:-1,c);E(2);J(b.options.rowLimit?2:-1)}},dependencies:[jS,EA,tN,dA,aA,aG,HG,RP,eL,SK,YK,UK,RK,$K,VK,XK,aL,cL,YF,WF,lP,ZQc,cQ,bQ,HQ,fP,kP,IQ,nP,dQ,MP,eQ,fQ,yT,zT,wT,vT,PL,aQ,OP,SM,py],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-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-mdc-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-mdc-row[_ngcontent-%COMP%]   .mat-column-active-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-mdc-row[_ngcontent-%COMP%]:focus-within   .mat-column-active-indicator[_ngcontent-%COMP%], tr.mat-mdc-row.active[_ngcontent-%COMP%]   .mat-column-active-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}[_nghost-%COMP%]     .hide-header thead{display:none}[_nghost-%COMP%]     .mat-mdc-row:hover .dismiss-icon, [_nghost-%COMP%]     .mat-mdc-row:focus-visible .dismiss-icon, [_nghost-%COMP%]     .dismiss-btn.cdk-keyboard-focused .dismiss-icon{opacity:1;color:#1a73e8;color:var(--primary);background-color:unset}tr.closed[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--row-fixed-bg)}tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#1a73e8;color:var(--link)}.display-block[_ngcontent-%COMP%]{display:block}.edit-columns[_ngcontent-%COMP%]{position:absolute;right:0;padding-right:8px;margin:-14px 4px -14px auto}"],
changeDetection:0});var BT=function(){Z.call(this);var a=this;this.issueFullFridge=x(pE);this.eventsForIssueFridge=x(wD);this.snackBar=x(LA);this.analytics=x(nE);this.hostElement=x(Ph);this.appEvents=x(EB);this.enrichmentApi=x(eB);this.issueUserEventsService=x($O);this.activeSession=x(Ks);this.scrolledOnScreenService=x(OL);this.destroyRef=x(Cj);this.similarIssueIds$=new nj(1);this.similarIssuesEnrichments$=new nj(1);this.enableSimilarIssuesEnrichments=this.activeSession.isInternalSession()&&Cx(this.activeSession,"enableSimilarIssuesEnrichments");
this.enableSimilarIssuesEnrichmentFeedback=this.activeSession.isInternalSession();this.limit=3;this.issueIds$=si([this.similarIssueIds$,this.similarIssuesEnrichments$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return[].concat(p(c.map(function(d){var e,f;return(f=(e=d.similarIssues)==null?void 0:e.issueIds)!=null?f:[]}).flat()),p(b))}),C(function(b){return b.slice(0,a.limit)}),uj(function(b){a.mostRecentIssueIds=b}));this.mostRecentIssueIds=[];this.tableColumns$=this.similarIssuesEnrichments$.pipe(C(function(b){var c=
[{type:"TITLE"},{type:"DUPLICATE_COUNT"},{type:"VOTE_COUNT"},{type:"CREATED_TIME"}];b.some(function(d){var e,f;return(e=d.similarIssues)==null?void 0:(f=e.issueIds)==null?void 0:f.length})&&c.push({type:"ENRICHMENT_CATEGORIES"});return c}));this.issueIdToCategories$=si([this.similarIssueIds$,this.similarIssuesEnrichments$]).pipe(C(function(b){b=l(b);var c=b.next().value;var d=b.next().value;b=new Map;d=l(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=void 0,h=void 0,k=l((h=(f=e.similarIssues)==
null?void 0:f.issueIds)!=null?h:[]);for(f=k.next();!f.done;f=k.next()){f=f.value;h=void 0;var q=(h=b.get(f))!=null?h:[];q.push(e.category);b.set(f,q)}}c=l(c);for(d=c.next();!d.done;d=c.next())d=d.value,e=void 0,k=(e=b.get(d))!=null?e:[],k.push("Buganizer"),b.set(d,k);return b}));this.issueTableData$=si([this.issueIds$,this.issueIdToCategories$,this.tableColumns$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;return{issueIds:b,tableColumns:c,categoriesFunction:function(e){var f;
return(f=d.get(e))!=null?f:[]}}}));this.EnrichmentFeedbackType=Ohc;this.EventType=Qhc;this.tableOptions={showActiveIndicator:!1,modes:{createdTime:"date"},enableIssueHovercard:!0,showMenu:!0,menu:{includeGoToIssueItem:!1}};this.menuItemFactory=function(b){return[{type:"action",label:"Close current issue as duplicate of this row",action:function(){zYc(a,b)}}]};this.gotErr=function(b){a.snackBar.open({message:on(b)||"Error with network request",snackbarType:"ERROR"})};this.subscriptions.add(this.appEvents.didShowIssueHovercard.subscribe(function(b){if(a.mostRecentIssueIds.includes(b)){var c;
(c=a.analytics)==null||c.trackEvent("similar-issues-idp","hovercard");gcb(a,"EVENT_TYPE_ISSUE_HOVERCARD",b,"ISSUE_HOVERCARD")}}))};Y(BT,Z);BT.\u0275dir=Z.\u0275dir;
BT.prototype.ngOnInit=function(){var a=this;this.hostElement.nativeElement.addEventListener("click",this.captureAnyClick,!0);si([this.similarIssueIds$,this.similarIssuesEnrichments$,rKc(this.scrolledOnScreenService,this.hostElement.nativeElement,{durationOnScreenMs:3E3})]).pipe(hj(1)).subscribe(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c.next();b.length>0&&a.submitEnrichmentFeedback("EVENT_TYPE_VIEW","Buganizer","VIEW");b=l(d);for(d=b.next();!d.done;d=b.next()){d=d.value;var e=
c=void 0;(e=(c=d.similarIssues)==null?void 0:c.issueIds.length)!=null&&e&&a.submitEnrichmentFeedback("EVENT_TYPE_VIEW",d.category,"VIEW")}})};BT.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.captureAnyClick,!0)};
var zYc=function(a,b){var c=String(a.issueIdInternal);c&&Owc(a.issueFullFridge,b,c).then(function(){return v(function(d){AYc(a,b);AYc(a,c);a.snackBar.open({message:"Issue closed as duplicate",actionLabel:"Undo"}).afterDismissed().subscribe(function(e){e.dismissedByAction&&BYc(a,b,c)});a.analytics.trackEvent("similar-issues-idp","closeAsDuplicate","fromSummaryWidget");gcb(a,"EVENT_TYPE_CLOSE_AS_DUPLICATE",b,"CLOSE_AS_DUPLICATE");ji(d)})}).catch(a.gotErr)},BYc=function(a,b,c){a.issueFullFridge.removeDuplicate(b,
c).then(function(){AYc(a,b);AYc(a,c);a.snackBar.open({message:"Un-marked issue as duplicate"})}).catch(a.gotErr);a.analytics.trackEvent("similar-issues-idp","undoCloseAsDuplicate","fromSummaryWidget")},AYc=function(a,b){a.issueFullFridge.poke(b);a.eventsForIssueFridge.poke(b)};BT.prototype.captureAnyClick=function(){var a;(a=this.analytics)==null||a.trackEvent("similar-issues-idp","any-click")};
var gcb=function(a,b,c,d){var e,f,h,k,q,u;return v(function(A){if(A.nextAddress==1)return w(A,pi(a.issueIdToCategories$),2);e=A.yieldResult;h=(f=e.get(c))!=null?f:[];k=l(h);for(q=k.next();!q.done;q=k.next())u=q.value,a.submitEnrichmentFeedback(b,u,d);ji(A)})};
BT.prototype.submitEnrichmentFeedback=function(a,b,c){if(this.enableSimilarIssuesEnrichmentFeedback){var d=String(this.issueIdInternal);this.enrichmentApi.submitEnrichmentFeedback({issueId:d,category:b,feedbackType:c}).pipe(vp(this.destroyRef)).subscribe();b==="Buganizer"?this.issueUserEventsService.logIssueUserEvent(d,"FEATURE_SIMILAR_ISSUES",a).pipe(vp(this.destroyRef)).subscribe():this.issueUserEventsService.logIssueUserEventForIssueEnrichment(d,"FEATURE_SIMILAR_ISSUES",a,b).pipe(vp(this.destroyRef)).subscribe()}};
pg.Object.defineProperties(BT.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueIdInternal=Number(a)}},similarIssueIds:{configurable:!0,enumerable:!0,set:function(a){this.similarIssueIds$.next(a.map(function(b){return String(b)}))},get:function(){throw Error("Ie");}},similarIssuesEnrichments:{configurable:!0,enumerable:!0,set:function(a){this.similarIssuesEnrichments$.next(a)},get:function(){throw Error("Je");}}});BT.\u0275fac=function(a){return new (a||BT)};
BT.\u0275cmp=F({type:BT,selectors:[["suggested-similar-issues"]],inputs:{issueId:"issueId",similarIssueIds:"similarIssueIds",similarIssuesEnrichments:"similarIssuesEnrichments",limit:"limit"},standalone:!1,features:[xj],decls:3,vars:3,consts:[[3,"issueIds","tableColumns","options","enrichmentCategoriesFunction","menuItemFactory"],[3,"issueNavigated","issueIds","tableColumns","options","enrichmentCategoriesFunction","menuItemFactory"]],template:function(a,b){a&1&&(I(0,hcb,1,5,"b-issues-table",0),W(1,
"async"),Jj(2,icb,2,0,"div"));if(a&2){var c;J((c=X(1,1,b.issueTableData$))?0:2,c)}},dependencies:[AT,lL,py],encapsulation:2});var CT={},CYc=(CT.assignee="single_value",CT.attachments="collection",CT.blockedByIssueId="collection",CT.blockingIssueId="collection",CT.ccs="collection",CT.changelists="collection",CT.collaborators="collection",CT.comment="single_value",CT.componentId="single_value",CT.customField="any_value",CT.deletionReason="single_value",CT.duplicateOfIssueId="single_value",CT.effortEstimate="single_value",CT.foundInVersion="collection",CT.gerritChanges="collection",CT.hotlists="collection",CT.inProd="single_value",
CT.isArchived="single_value",CT.isDeleted="single_value",CT.parentId="collection",CT.priority="single_value",CT.readState="single_value",CT.reporter="single_value",CT.severity="single_value",CT.sloEndTime="single_value",CT.sloSnoozeType="single_value",CT.sloStartTime="single_value",CT.staffing="single_value",CT.status="single_value",CT.targetedToVersion="collection",CT.title="single_value",CT.type="single_value",CT.verifiedInVersion="collection",CT.verifier="single_value",CT),tcb=new Set(Object.entries(CYc).filter(function(a){a=
l(a);a.next();return a.next().value==="collection"}).map(function(a){return l(a).next().value})),scb=new Set("componentId priority reporter severity status title type".split(" "));var DT={},lcb=(DT.TYPE_UNSPECIFIED=new Set([]),DT.ISSUE_DEDUPLICATION=new Set([]),DT.HOTLIST=new Set([]),DT.ISSUE_DEDUPLICATION_BATCH=new Set([]),DT.NEEDS_INFO=new Set(["comment"]),DT.COMPONENT_ROUTING=new Set("componentId priority severity type assignee hotlists".split(" ")),DT.ANY_ISSUE_EDIT=new Set("componentId priority severity type assignee hotlists comment".split(" ")),DT),ET={},mcb=(ET.TYPE_UNSPECIFIED=new Set([]),ET.ISSUE_DEDUPLICATION=new Set([]),ET.HOTLIST=new Set([]),ET.ISSUE_DEDUPLICATION_BATCH=
new Set(["duplicateOfIssueId"]),ET.NEEDS_INFO=new Set(["comment"]),ET.COMPONENT_ROUTING=new Set("componentId priority severity type assignee hotlists ccs".split(" ")),ET.ANY_ISSUE_EDIT=new Set("comment componentId priority severity type assignee hotlists ccs".split(" ")),ET);var DYc=new Set(["NEEDS_INFO","COMPONENT_ROUTING","ANY_ISSUE_EDIT"]),FT={},EYc=(FT.TYPE_UNSPECIFIED="FEATURE_UNSPECIFIED",FT.ISSUE_DEDUPLICATION="FEATURE_ISSUE_DEDUPLICATION",FT.HOTLIST="FEATURE_HOTLIST",FT.ISSUE_DEDUPLICATION_BATCH="FEATURE_ISSUE_DEDUPLICATION_BATCH",FT.NEEDS_INFO="FEATURE_NEEDS_INFO",FT.COMPONENT_ROUTING="FEATURE_COMPONENT_ROUTING",FT.ANY_ISSUE_EDIT="FEATURE_ANY_ISSUE_EDIT",FT),GT=function(){this.api=x(jy);this.butterBar=x(MA);this.editIssueService=x(XI);this.issueUserEventsService=
x($O);this.analytics=x(nE);this.errorHandler=x(PA);this.issueFridge=x(MD);this.issueFullFridge=x(pE);this.editIssueComponentService=x(SO);this.issueCommentDialogsService=x(PR);this.recommendationTriggerService=x(EF);this.issueApi=x(vD);this.activeSession=x(Ks);this.contextSensitiveRegistry=x(yF)},IYc=function(a,b){var c=b.recommendation;var d=b.originalActions;var e=b.acceptedActions;var f=b.disableLogging===void 0?!1:b.disableLogging;var h,k,q,u,A;return v(function(D){switch(D.nextAddress){case 1:return d=
d.filter(pcb),e=e.filter(pcb),ei(D,2,3),c.type==="ISSUE_DEDUPLICATION_BATCH"?w(D,FYc(a,e),6):w(D,GYc(a,e),6);case 6:if(f){D.jumpTo(9);break}return w(D,HYc(a,c,d,e),9);case 9:a.recommendationTriggerService.hiddenRecommendationIds.add(c.name);case 3:fi(D);h=oo(e.map(function(H){return H.issueId}));k=l(h);for(q=k.next();!q.done;q=k.next())u=q.value,a.editIssueService.clear(u);hi(D,0);break;case 2:A=ii(D),RA(a.errorHandler,A),D.jumpTo(3)}})},KYc=function(a,b){var c,d,e,f,h;return v(function(k){switch(k.nextAddress){case 1:return a.analytics.trackEvent("editIssue",
"reject",ucb(b)),b.type==="ISSUE_DEDUPLICATION_BATCH"?(c=new Set,c.add(b.name),d=[{issueId:yr(b.resource),recommendationName:b.name}],(e=b.content)==null||(f=e.issueDeduplicationBatch)==null||f.entries.forEach(function(q){c.has(q.recommendation)||(c.add(q.recommendation),d.push({issueId:q.issue.issueId,recommendationName:q.recommendation}))}),h=Array.from(c,function(q){return{parent:q,userEngagement:{type:"REJECTED"}}}),w(k,pi(a.api.createUserEngagements(h)),6)):w(k,JYc(a,"REJECTED",b),4);case 4:return w(k,
a.logIssueUserEventForRecommendation(b,"EVENT_TYPE_REJECT"),3);case 6:return w(k,a.logIssueUserEventForRecommendations("FEATURE_ISSUE_DEDUPLICATION_BATCH","EVENT_TYPE_REJECT",d),3);case 3:a.recommendationTriggerService.hiddenRecommendationIds.add(b.name),ji(k)}})},FYc=function(a,b){var c,d;return v(function(e){if(!b.length)return e.return();c={issueIds:b.map(function(f){return f.issueId}),actions:[{fieldName:"duplicateOfIssueId",value:b[0].value,actionType:"ADD"}]};d={bulkEditOps:[c]};hq(a.butterBar,
"Marking "+b.length+" issues as duplicates...");return w(e,a.issueApi.issueBulkEdit(d).then(function(f){f.errors&&f.errors.length?(f=jg(f.errors),a.butterBar.showWarning("Failed to mark issue(s) as duplicates: "+f+".")):hq(a.butterBar,"Marked "+b.length+" issue(s) as duplicates.");pi(a.contextSensitiveRegistry.getIssueId()).then(function(h){h&&a.issueFridge.poke(h)})}),0)})},GYc=function(a,b){var c,d,e,f,h,k,q,u,A,D,H,O,P,S,aa,ia,la,ya,Ia,Pa,gb,ua,Ea,Ha;return v(function(mb){switch(mb.nextAddress){case 1:if(!b.length)return mb.return();
c=oo(b.map(function(nb){return nb.issueId}));return w(mb,Promise.all(c.map(function(nb){return pi(a.issueFridge.watch(nb))})),2);case 2:d=mb.yieldResult.filter(fe);if(d.length!==c.length)throw Error("Le");e=new Map;f=l(d);for(h=f.next();!h.done;h=f.next())k=h.value,q=a.editIssueService.editableIssue(k.issueId),q.setData(k),e.set(k.issueId,q);u=b.filter(function(nb){return nb.fieldName!=="componentId"&&nb.fieldName!=="comment"&&nb.fieldName!=="hotlists"});A=l(u);for(D=A.next();!D.done;D=A.next())H=
D.value,O=e.get(H.issueId),NCc(O,H);return w(mb,Promise.all(Array.from(e.values(),function(nb){return YI(a.editIssueService,nb)})),3);case 3:P=b.filter(function(nb){return nb.fieldName==="comment"}),S=l(P),aa=S.next();case 4:if(aa.done){Pa=b.filter(function(nb){return nb.fieldName==="hotlists"});if(!(Pa.length>0)){mb.jumpTo(8);break}return w(mb,LYc(a,e.get(Pa[0].issueId),Pa),8)}ia=aa.value;if(!ia.value){mb.jumpTo(5);break}la=a.editIssueService.issueCommentDraft(ia.issueId).comment();la.value=ia.value;
ya=void 0;la.formattingMode=(ya=ia.formattingMode)!=null?ya:"PLAIN";Ia=e.get(ia.issueId);return w(mb,a.issueCommentDialogsService.submitCommentBox(String(Ia.componentId),Ia.issueId,la),5);case 5:aa=S.next();mb.jumpTo(4);break;case 8:gb=b.filter(function(nb){return nb.fieldName==="componentId"}),ua=l(gb),Ea=ua.next();case 10:if(Ea.done){mb.jumpTo(0);break}Ha=Ea.value;return w(mb,a.editIssueComponentService.updateComponent(Ha.issueId,Ha.value||null),11);case 11:Ea=ua.next(),mb.jumpTo(10)}})},MYc=function(a,
b){v(function(c){a.analytics.trackEvent("editIssue","view",ucb(b)+"-initialization");ji(c)})},NYc=function(a,b){v(function(c){return c.nextAddress==1?(a.analytics.trackEvent("editIssue","view",ucb(b)),w(c,JYc(a,"VIEWED",b),2)):w(c,a.logIssueUserEventForRecommendation(b,"EVENT_TYPE_VIEW"),0)})},HYc=function(a,b,c,d){var e,f,h,k,q,u,A,D;return v(function(H){return H.nextAddress==1?(a.analytics.trackEvent("editIssue","accept",ucb(b)),e=vd(c,d),f=void 0,DYc.has(b.type)&&(f=rcb(d)),b.type==="ISSUE_DEDUPLICATION_BATCH"?
(h=new Set,h.add(b.name),k=[{issueId:yr(b.resource),recommendationName:b.name}],q=new Set(d.map(function(O){return O.issueId})),(u=b.content)==null||(A=u.issueDeduplicationBatch)==null||A.entries.filter(function(O){return q.has(O.issue.issueId)}).forEach(function(O){h.has(O.recommendation)||(h.add(O.recommendation),k.push({issueId:O.issue.issueId,recommendationName:O.recommendation}))}),D=Array.from(h,function(O){return{parent:O,userEngagement:{type:"ACCEPTED"}}}),w(H,pi(a.api.createUserEngagements(D)),
6)):w(H,JYc(a,e?"ACCEPTED":"PARTIALLY_ACCEPTED",b,f),4)):H.nextAddress!=6?w(H,a.logIssueUserEventForRecommendation(b,e?"EVENT_TYPE_ACCEPT":"EVENT_TYPE_PARTIALLY_ACCEPT"),0):w(H,a.logIssueUserEventForRecommendations("FEATURE_ISSUE_DEDUPLICATION_BATCH","EVENT_TYPE_ACCEPT",k),0)})},JYc=function(a,b,c,d){var e,f;return v(function(h){if(h.nextAddress==1)return ei(h,2),e=c.name,w(h,pi(a.api.createUserEngagements([{parent:e,userEngagement:{type:b,issueModification:d}}])),4);if(h.nextAddress!=2)return Iu(h,
0);f=ii(h);RA(a.errorHandler,f);ji(h)})};GT.prototype.logIssueUserEventForRecommendation=function(a,b){var c=this,d,e,f;return v(function(h){if(h.nextAddress==1){d=yr(a.resource);if(!d||c.activeSession.isExternalSession())return h.return();ei(h,2);e=EYc[a.type];return e==="FEATURE_UNSPECIFIED"?h.jumpTo(4):w(h,pi(c.issueUserEventsService.logIssueUserEventForRecommendation(d,e,b,a.name)),4)}if(h.nextAddress!=2)return Iu(h,0);f=ii(h);RA(c.errorHandler,f);ji(h)})};
GT.prototype.logIssueUserEventForRecommendations=function(a,b,c){var d=this,e,f;return v(function(h){if(h.nextAddress==1)return e=c.map(function(k){return{issueId:k.issueId,feature:a,eventType:b,recommendationName:k.recommendationName}}),ei(h,2),w(h,pi(d.issueUserEventsService.logIssueUserEventForRecommendations(e)),4);if(h.nextAddress!=2)return Iu(h,0);f=ii(h);RA(d.errorHandler,f);ji(h)})};
var LYc=function(a,b,c){var d,e,f,h,k,q,u,A,D,H,O,P,S;return v(function(aa){f=new Set((e=(d=b.hotlistId)==null?void 0:d.map(String))!=null?e:[]);h=c.filter(function(ia){return ia.actionType==="ADD"}).flatMap(function(ia){var la,ya;return(ya=(la=ia.value)==null?void 0:la.split(","))!=null?ya:[]}).filter(Boolean);k=c.filter(function(ia){return ia.actionType==="REMOVE"}).flatMap(function(ia){var la,ya;return(ya=(la=ia.value)==null?void 0:la.split(","))!=null?ya:[]}).filter(Boolean);q=new Set;u=new Set;
A=l(h);for(D=A.next();!D.done;D=A.next())H=D.value,f.has(H)||q.add(H);O=l(k);for(P=O.next();!P.done;P=O.next())S=P.value,f.has(S)&&u.add(S);return q.size>0||u.size>0?w(aa,a.issueFullFridge.updateHotlists(b.issueId,[].concat(p(q)),[].concat(p(u))),0):aa.jumpTo(0)})};GT.\u0275fac=function(a){return new (a||GT)};GT.\u0275prov=Dg({token:GT,factory:GT.\u0275fac,providedIn:"root"});var OYc=function(a,b){return b.issueId},PYc=new Set(["duplicateOfIssueId"]),HT=function(){var a=this;this.clipboard=x(ZF);this.eventsForIssueFridge=x(wD);this.issueFridge=x(MD);this.paths=x(TO);this.snackBar=x(JA);this.excludedActions=new Set;this.canonicalIssueId$=new $n("");this.issue$=function(b){return a.issueFridge.watch(b)};this.hiddenActionCount=0;this.showExpansionOption=!1;this.draftActions=[];this.actionsToAccept=new iE;this.canonicalIssue$=this.canonicalIssueId$.pipe(sj(function(b){return a.issue$(b)}));
this.canonicalEvents$=this.canonicalIssue$.pipe(sj(function(b){return(b==null?0:b.issueId)?a.eventsForIssueFridge.watch(b.issueId):li(void 0)}),C(function(b){var c;return(c=b==null?void 0:b.events)!=null?c:[]}));this.canonicalComments$=this.canonicalEvents$.pipe(C(function(b){return b.filter(ag)}));this.canonicalDuplicates$=this.canonicalIssue$.pipe(C(function(b){var c;return(c=b==null?void 0:b.snapshot[0].duplicateIssueId)!=null?c:[]}))};
HT.prototype.copyIssueId=function(a){this.clipboard.copy(a);this.snackBar.open("Issue ID copied","",{duration:2E3})};HT.prototype.getIssueLink=function(a){return Jq(a)};
var Gcb=function(a,b){if(!(a.draftActions.length<1)){var c=a.draftActions.find(function(d){return d.issueId===b});c&&(a.excludedActions.add(c.actionKey),a.draftActions=a.draftActions.filter(function(d){return!a.excludedActions.has(d.actionKey)}),QYc(a),a.updateActionsToAccept(),RYc(a))}},Fcb=function(a,b){var c,d,e,f;return v(function(h){if(h.nextAddress==1)return w(h,pi(a.canonicalIssueId$),2);c=h.yieldResult;if(!c)return h.return();d=l(a.draftActions);for(e=d.next();!e.done;e=d.next())f=e.value,
f.issueId===b.issueId&&(f.issueId=c),f.value=b.issueId,f.isDirty=!0;a.canonicalIssueId$.next(b.issueId);a.updateActionsToAccept();ji(h)})},QYc=function(a){a=l(a.draftActions);for(var b=a.next();!b.done;b=a.next())b.value.isDirty=!0},SYc=function(a,b,c){b=Yf(b,function(h){return h.actionKey});var d=[];c=c.filter(function(h){return!a.excludedActions.has(h.actionKey)});c=l(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;var f=b.get(e.actionKey);f&&f.isDirty?d.push(f):d.push(e)}return wd(d)};
HT.prototype.updateActionsToAccept=function(){var a=this;this.actionsToAccept.emit(this.draftActions.filter(function(b){return!a.excludedActions.has(b.actionKey)}))};var RYc=function(a){a.draftActions.length<=6?a.showExpansionOption=!1:a.hiddenActionCount=a.draftActions.length-5};
pg.Object.defineProperties(HT.prototype,{actions:{configurable:!0,enumerable:!0,set:function(a){var b=this,c=this.draftActions.length===0;this.draftActions=SYc(this,this.draftActions,a).filter(function(f){return PYc.has(f.fieldName)});var d,e=(d=this.draftActions[0])==null?void 0:d.value;e&&(this.canonicalIssueId$.next(e),this.draftActions=this.draftActions.filter(function(f){return f.issueId!==e}));a=this.draftActions.findIndex(function(f){return f.issueId===b.currentIssue.issueId});a>0&&(a=this.draftActions.splice(a,
1)[0],this.draftActions.unshift(a));this.draftActions.length<=6?this.showExpansionOption=!1:(c&&(this.showExpansionOption=!0),this.hiddenActionCount=this.draftActions.length-5);this.updateActionsToAccept()}}});HT.\u0275fac=function(a){return new (a||HT)};
HT.\u0275cmp=F({type:HT,selectors:[["b-dedupe-actions-component"]],inputs:{currentIssue:"currentIssue",actions:"actions"},outputs:{actionsToAccept:"actionsToAccept"},standalone:!1,decls:6,vars:4,consts:[["canonicalHovercard","onedevHovercard"],["canonicalCardBody",""],["duplicateHovercard","onedevHovercard"],["duplicateCardBody",""],[1,"flex-kids-y","gap-xs"],[1,"flex-kids-x","align-items-center"],[1,"circle","shrink-0"],[1,"shrink-0",3,"id"],["target","_blank",1,"title","hover-link","overflow-ellipsis",
3,"href"],[1,"bold",3,"onedevHovercardTrigger"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[1,"current-issue-chip","shrink-0"],[1,"margin-left-auto","shrink-0"],[3,"onedevIsHovercardReady","issueId"],[1,"dupe-issue","flex-kids-x","full-width","align-items-center"],[1,"curved-arrow"],[1,"icon-container"],[1,"connector"],["svgIcon","tab_close_24px",1,"icon-s","shrink-0"],["target","_blank",1,"hover-link","overflow-ellipsis",3,"href"],["role","button",3,"onedevHovercardTrigger"],
[1,"actions","shrink-0","margin-left-auto"],["type","button","mat-icon-button","","matTooltip","Make this issue the canonical issue",1,"small","include",3,"click"],["svgIcon","vertical_align_top_24px",1,"icon-xs"],["type","button","mat-icon-button","","matTooltip","Remove this issue",1,"small","include",3,"click","disabled"],["svgIcon","close",1,"icon-xs"],["mat-button","","color","primary",1,"more-issues",3,"click"]],template:function(a,b){a&1&&(L(0,"div",4),I(1,Acb,2,3),W(2,"async"),Mj(3,Icb,2,
3,null,null,OYc),I(5,Jcb,4,2,"div"),M());if(a&2){var c;E();J((c=X(2,2,b.canonicalIssueId$))?1:-1,c);E(2);a=b.draftActions;Nj(b.showExpansionOption?a.slice(0,5):a);E(2);J(b.showExpansionOption?5:-1)}},dependencies:[EA,dA,aA,bA,YF,WF,xH,yH,DH,zH,GP,kP,py],styles:[".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}.current-issue-chip[_ngcontent-%COMP%]{color:var(--primary-c800);font-size:.75rem;font-weight:700;background:var(--primary-c100);padding:2px 8px;margin-left:8px;border-radius:4px}.dupe-issue[_ngcontent-%COMP%]{color:var(--text-secondary);padding-left:10px}.dupe-issue[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-left:6px;margin-right:2px;vertical-align:middle}.circle[_ngcontent-%COMP%]{width:8px;height:8px;background:var(--primary-c800);border-radius:4px;display:inline-block;margin-right:2px}.curved-arrow[_ngcontent-%COMP%]{-webkit-transform:rotate(90deg);transform:rotate(90deg);display:inline-block;margin:-14px 0 0 -13px;position:absolute;font-size:15px}.icon-container[_ngcontent-%COMP%]{position:relative}.icon-container[_ngcontent-%COMP%]   .connector[_ngcontent-%COMP%]{border:1px solid;border-color:var(--text-secondary);position:absolute;height:7px;top:-8px;left:14px}.more-issues[_ngcontent-%COMP%]{color:var(--text-secondary)}"],
changeDetection:0});var IT=function(){};var TYc=["popOverContent"],JT=function(a,b){this.overlay=a;this.viewContainerRef=b;this.newlineWithEnterKey=this.displayUnder=!1;this.hasBackdrop=!0;this.fitToViewport=!1;this.width=this.maxWidth=this.minWidth=null;this.saveDisabled=Hk.apply(null,[!1].concat(p([])));this.closedWithAction=new Lp;this.isOpen=!1;this.destroyed$=new nj(1);this.backdropClickSubscription=Yh.EMPTY};JT.prototype.ngOnInit=function(){};JT.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
JT.prototype.open=function(){var a=this;this.isOpen||(this.overlayRef=this.createOverlay(),this.attach(),this.isOpen=!0,this.backdropClickSubscription=this.overlayRef.backdropClick().pipe(tj(this.destroyed$)).subscribe(function(){Mcb(a)}))};JT.prototype.close=function(){this.isOpen&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=void 0,this.isOpen=!1,this.backdropClickSubscription.unsubscribe())};
var Lcb=function(a){a.closedWithAction.emit(0);a.close()},Mcb=function(a){a.closedWithAction.emit(1);a.close()};g=JT.prototype;g.processKeydown=function(a){switch(a.key){case "Escape":Mcb(this);a.stopPropagation();break;case "Enter":if(this.newlineWithEnterKey){if(a.metaKey||a.ctrlKey)Lcb(this),a.stopPropagation(),a.preventDefault()}else a.shiftKey||(Lcb(this),a.stopPropagation(),a.preventDefault())}};
g.createOverlay=function(){var a,b=this.width||8+Math.max((a=this.minWidth)!=null?a:0,this.anchor.offsetWidth);a=this.getPositionStrategy();var c=this.getScrollStrategy();b=this.overlay.create({positionStrategy:a,scrollStrategy:c,hasBackdrop:this.hasBackdrop,backdropClass:"onedev-pop-over-edit-panel-backdrop",panelClass:"onedev-pop-over-edit-panel",width:this.maxWidth?Math.min(b,this.maxWidth):b});b.overlayElement.setAttribute("role","dialog");b.overlayElement.setAttribute("aria-label","Pop over edit panel");
return b};g.attach=function(){var a=new Bz(this.contentTemplateRef,this.viewContainerRef),b;(b=this.overlayRef)==null||b.attach(a);var c;(c=this.overlayRef)==null||c.updatePosition()};g.getPositionStrategy=function(){var a=Qoc(uz(yz(this.overlay.position(),this.anchor),this.fitToViewport),this.fitToViewport);a._offsetX=-4;a._offsetY=this.displayUnder?this.anchor.offsetHeight:-4;return sz(a,UYc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
JT.\u0275fac=function(a){return new (a||JT)(Ui(Gz),Ui(ck))};
JT.\u0275cmp=F({type:JT,selectors:[["onedev-pop-over-edit-panel"]],viewQuery:function(a,b){a&1&&ek(TYc,7);if(a&2){var c;ik(c=jk())&&(b.contentTemplateRef=c.first)}},inputs:{anchor:"anchor",editorTemplate:"editorTemplate",displayUnder:"displayUnder",newlineWithEnterKey:"newlineWithEnterKey",hasBackdrop:"hasBackdrop",fitToViewport:"fitToViewport",minWidth:"minWidth",maxWidth:"maxWidth",width:"width",saveDisabled:[1,"saveDisabled"]},outputs:{closedWithAction:"closedWithAction"},exportAs:["onedevPopOverEditPanel"],
standalone:!1,decls:2,vars:0,consts:[["popOverContent",""],["cdkTrapFocus","",1,"pop-over-edit-panel-content","content","gmat-elevation-z2",3,"keydown","cdkTrapFocusAutoCapture"],[1,"edit-field"],[4,"ngTemplateOutlet"],[1,"actions"],["mat-button","","type","button","color","primary",1,"save",3,"click","disabled"],["type","button","mat-button","","color","primary",1,"cancel",3,"click"]],template:function(a){a&1&&G(0,Ncb,8,3,"ng-template",null,0,Gk)},dependencies:[oy,Ny,RJ],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 UYc=[{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 VYc=["popOver"],WYc=["inputBox"],KT=function(a){this.defaultAutocompleteConfig=a;this.displayUnder=!1;this.initialInputValue="";this.required=this.openPopOverOnInit=!1;this.minWidth=null;this.closed=new Lp;this.inputValue=new nG("",{nonNullable:!0});this.sessionOptions=XYc;this.mergedAutocompleteConfig=Object.assign({},YYc,this.defaultAutocompleteConfig)};g=KT.prototype;g.ngOnInit=function(){this.inputValue._assignValidators(this.required?[zp]:[])};
g.ngAfterViewInit=function(){this.openPopOverOnInit&&this.openPopOver(this.initialInputValue)};g.ngOnChanges=function(a){a.autocompleteConfig&&(this.mergedAutocompleteConfig=Object.assign({},YYc,this.defaultAutocompleteConfig,this.autocompleteConfig))};g.selectAutocomplete=function(a){a.length>0&&this.inputValue.setValue(a[0].result().getPrimaryTarget().getValue())};
g.openPopOver=function(a){var b=this;this.inputValue.setValue(a);this.popOver.open();setTimeout(function(){var c;(c=b.inputBox)==null||c.nativeElement.select()})};g.onPopOverClose=function(a){this.inputValue.valid&&a===0?this.closed.emit(this.inputValue.value):this.closed.emit(void 0);this.inputValue.setValue("")};KT.\u0275fac=function(a){return new (a||KT)(Ui(ZYc,8))};
KT.\u0275cmp=F({type:KT,selectors:[["onedev-user-picker-panel","anchor",""]],viewQuery:function(a,b){a&1&&(ek(VYc,7),ek(WYc,5));if(a&2){var c;ik(c=jk())&&(b.popOver=c.first);ik(c=jk())&&(b.inputBox=c.first)}},inputs:{anchor:"anchor",autocompleteConfig:"autocompleteConfig",displayUnder:"displayUnder",initialInputValue:"initialInputValue",openPopOverOnInit:"openPopOverOnInit",required:"required",minWidth:"minWidth"},outputs:{closed:"closed"},standalone:!1,features:[$w],attrs:["anchor",""],decls:4,vars:5,
consts:[["popOver","onedevPopOverEditPanel"],["autocompleteTemplate",""],["inputBox",""],[3,"closedWithAction","anchor","displayUnder","editorTemplate","saveDisabled","minWidth"],["peoplekitAutocomplete","",3,"peoplekitAutocompleteSelectionChange","required","peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","formControl"]],template:function(a,b){if(a&1){var c=y();L(0,"onedev-pop-over-edit-panel",3,0);Q("closedWithAction",function(d){z(c);return B(b.onPopOverClose(d))});M();G(2,Ocb,2,4,
"ng-template",null,1,Gk)}a&2&&(a=T(3),K("anchor",b.anchor)("displayUnder",b.displayUnder)("editorTemplate",a)("saveDisabled",b.inputValue.invalid)("minWidth",b.minWidth))},dependencies:[Bp,hG,AG,JT,sQ,uG],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 ZYc=new kh("user-picker-autocomplete-config"),YYc={showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2},XYc=(new xt).setFilter(sYa(oYa(1),new LPc(function(a){return a.indexOf("-pager")>=0||a.indexOf("+pager")>=0||a.indexOf("-oncall")>=0||a.indexOf("+oncall")>=0||a.indexOf("lifeguard-ng")>=0})));var Rcb=function(a){return{$implicit:a}},$Yc=0,LT=function(){this.val="";this.required=this.disabled=!1;this.minWidth=null;this.emailChange=new Lp;this.displayUnder=!1;this.displayValueOverride="";this.popOverOpen=this.active=!1;this.contentId="onedev-user-picker-"+$Yc;this.onChange=function(){};this.onTouched=function(){};$Yc++};Y(LT,IT);g=LT.prototype;g.openPopOver=function(){this.disabled||(this.onTouched(),this.popOver.openPopOver(this.email),this.popOverOpen=!0)};
g.onPopOverClose=function(a){a!=null&&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){a!=null&&(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};
pg.Object.defineProperties(LT.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});LT.\u0275fac=function(a){return new (a||LT)};
LT.\u0275cmp=F({type:LT,selectors:[["onedev-user-picker"]],viewQuery:function(a,b){a&1&&ek(KT,7);if(a&2){var c;ik(c=jk())&&(b.popOver=c.first)}},inputs:{email:"email",disabled:"disabled",required:"required",minWidth:"minWidth",labelledById:"labelledById",selectedUserTemplate:"selectedUserTemplate",autocompleteConfig:"autocompleteConfig",anchor:"anchor",displayUnder:"displayUnder",displayValueOverride:"displayValueOverride"},outputs:{emailChange:"emailChange"},exportAs:["onedevUserPicker"],standalone:!1,
features:[Bk([{provide:IT,useExisting:$g(function(){return LT}),multi:!0},{provide:cG,useExisting:$g(function(){return LT}),multi:!0}]),xj],decls:7,vars:12,consts:[["button",""],["type","button",1,"unstyled-button",3,"focus","blur","click"],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],[3,"closed","displayUnder","anchor","autocompleteConfig","required","minWidth"],[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){if(a&1){var c=y();L(0,"button",1,0);Q("focus",function(){z(c);return B(b.active=!0)})("blur",function(){z(c);return B(b.active=!1)})("click",function(){z(c);return B(b.openPopOver())});I(2,Pcb,1,1)(3,Scb,1,4,"ng-container")(4,Tcb,1,1);G(5,Ucb,2,0,"svg",2);
M();L(6,"onedev-user-picker-panel",3);Q("closed",function(d){z(c);return B(b.onPopOverClose(d))});M()}a&2&&(a=T(1),rk("active",b.isActive()),Hj("tabindex",b.disabled?-1:null)("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy()),E(2),J(b.displayValueOverride?2:b.selectedUserTemplate?3:4),E(3),K("ngIf",!b.disabled),E(),K("displayUnder",b.displayUnder)("anchor",b.anchor||a)("autocompleteConfig",b.autocompleteConfig)("required",b.required)("minWidth",b.minWidth))},dependencies:[ny,oy,KT],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 aZc=["picker"],MT=function(){this.autocompleteConfigService=x(wP);this.disabled=!1;this.emailChange=new iE;this.displayValueOverride="";this.minWidth=180;this.userEmail=""};Y(MT,IT);MT.prototype.openPopOver=function(){this.picker.openPopOver()};MT.prototype.isActive=function(){return this.picker.isActive()};pg.Object.defineProperties(MT.prototype,{user:{configurable:!0,enumerable:!0,set:function(a){this.userJs=a;this.userEmail=Jd(a)||""},get:function(){return this.userJs}}});
MT.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(MT)))(b||MT)}}();
MT.\u0275cmp=F({type:MT,selectors:[["b-user-picker"]],viewQuery:function(a,b){a&1&&ek(aZc,7);if(a&2){var c;ik(c=jk())&&(b.picker=c.first)}},inputs:{user:"user",teamId:"teamId",disabled:"disabled",labelledById:"labelledById",anchor:"anchor",displayValueOverride:"displayValueOverride",minWidth:"minWidth"},outputs:{emailChange:"emailChange"},exportAs:["bUserPicker"],standalone:!1,features:[Bk([{provide:IT,useExisting:$g(function(){return MT}),multi:!0}]),xj],decls:4,vars:9,consts:[["picker","onedevUserPicker"],
["userChip",""],[3,"emailChange","anchor","displayUnder","email","disabled","labelledById","selectedUserTemplate","autocompleteConfig","displayValueOverride","minWidth"],[3,"user","email","teamId","enableSmallChip"]],template:function(a,b){if(a&1){var c=y();L(0,"onedev-user-picker",2,0);Q("emailChange",function(d){z(c);b.userJs=Kd(d);b.userEmail=d;b.emailChange.emit(d);return B()});M();G(2,Wcb,1,1,"ng-template",null,1,Gk)}a&2&&(a=T(3),K("anchor",b.anchor)("displayUnder",!0)("email",b.userEmail)("disabled",
b.disabled)("labelledById",b.labelledById)("selectedUserTemplate",a)("autocompleteConfig",AYa(b.autocompleteConfigService))("displayValueOverride",b.displayValueOverride)("minWidth",b.minWidth))},dependencies:[bN,LT],styles:["[_nghost-%COMP%]     .user-chip-small, [_nghost-%COMP%]     .internal-non-team-member-chip{width:100%}  .peoplekit-autocomplete-anchor{z-index:1001}/*# sourceMappingURL=user_picker.css.map */"]});var bdb=function(a){return{group:a,fieldName:"Assignee"}},gdb=function(a){return{group:a,fieldName:"Priority"}},kdb=function(a){return{group:a,fieldName:"Comment"}},qdb=function(a){return{group:a,fieldName:"Component"}},ydb=function(a){return{group:a,fieldName:"Hotlist"}},Hdb=function(a){return{group:a,fieldName:"CCs"}},Adb=function(a,b){return b.actionKey},bZc=new Set("assignee comment componentId hotlists priority ccs".split(" ")),NT=function(){var a=this;this.issueFridge=x(MD);this.constants=x(oI);
this.editCommentDialogService=x(NR);this.issuePermissionService=x(BF);this.hotlistFridge=x(EC);this.hotlistPickerService=x(aS);this.includeCommentByDefault=!0;this.draftActions=[];this.issue$=function(b){return a.issueFridge.watch(b)};this.hotlist$=function(b){return a.hotlistFridge.watch(b)};this.formattingAudience$=this.issuePermissionService.audience$;this.actionsToAccept=new iE;this.groupTrackBy=function(b){return b.map(function(c){return c.actionKey}).join(",")};this.split=function(b){var c;
return(c=b==null?void 0:b.split(","))!=null?c:[]};this.priorityChoices=this.constants.priorities.map(function(b){return{value:b,displayText:b}});this.dirtyCommentActions=new Set;this.excludedActions=new Set;this.IssueFieldName=Wic;this.IssuePriority=jic;this.FormattingMode=ke;this.ActionType=Hhc;this.FieldType=rN;this.emailToUser=Kd;this.userToLossyEmail=Jd;this.getTeamId=JIa;this.getComponentId=KIa;this.getReporter=IIa;this.getAssignee=HIa;this.getPriority=GIa};
NT.prototype.ngOnChanges=function(){this.draftActions=Pdb(this.draftActions,this.actions).filter(function(a){return bZc.has(a.fieldName)});this.updateActionsToAccept()};var cZc=function(a){return sCa(a,function(b){return b.fieldName})},ddb=function(a,b,c){dZc(a,b,function(d){d.value=String(c)})};NT.prototype.hasHotlist=function(a,b){var c,d;return(d=(c=a.snapshot[0].hotlistId)==null?void 0:c.includes(Number(b)))!=null?d:!1};
var Edb=function(a,b){var c,d;return(d=(c=a.snapshot[0].ccUsers)==null?void 0:c.find(function(e){return e.emailAddress===b}))!=null?d:!1},dZc=function(a,b,c){b&&(a.draftActions=a.draftActions.map(function(d){if(d.actionKey!==b.actionKey)return d;d=wd(d);c(d);d.isDirty=!0;return d}),a.updateActionsToAccept())},jdb=function(a,b,c){var d,e,f,h,k,q,u;return v(function(A){if(A.nextAddress==1)return e=(d=a.issuePermissionService.audience())!=null?d:"EXTERNAL",k=(h=(f=c)==null?void 0:f.snapshot[0].componentId)!=
null?h:void 0,w(A,a.editCommentDialogService.show({issueId:b.issueId,audience:e,componentId:k,text:b.value,formattingMode:(q=b.formattingMode)!=null?q:"PLAIN",showPiiWarning:!1,dialogTitle:"Edit draft comment"}),2);(u=A.yieldResult)&&dZc(a,b,function(D){D.value=u.text;D.formattingMode=u.formattingMode});ji(A)})};
NT.prototype.openHotlistPicker=function(a){var b=this,c,d,e,f,h,k,q,u,A,D,H,O,P,S,aa,ia,la,ya,Ia,Pa,gb,ua,Ea,Ha,mb,nb,Lb;return v(function(bc){if(bc.nextAddress==1)return c=a[0].issueId,w(bc,pi(b.issue$(c)),2);if(bc.nextAddress!=3)return d=bc.yieldResult,k=(h=(e=d)==null?void 0:(f=e.snapshot[0].hotlistId)==null?void 0:f.map(String))!=null?h:[],q=a.find(function(yc){return yc.actionType==="ADD"}),u=a.find(function(yc){return yc.actionType==="REMOVE"}),O=new Set((H=(A=q)==null?void 0:(D=A.value)==null?
void 0:D.split(","))!=null?H:[]),ia=new Set((aa=(P=u)==null?void 0:(S=P.value)==null?void 0:S.split(","))!=null?aa:[]),la=[].concat(p(k),p(O)).filter(function(yc){return!ia.has(yc)}),w(bc,$Uc(b.hotlistPickerService,a[0].issueId,la.map(Number),!1),3);ya=bc.yieldResult;if(!ya)return bc.return();Ia=ya;Pa=Ia.addedIds;gb=Ia.removedIds;ua=l(gb);for(Ea=ua.next();!Ea.done;Ea=ua.next())Ha=Ea.value,O.delete(Ha),ia.add(Ha);mb=l(Pa);for(nb=mb.next();!nb.done;nb=mb.next())Lb=nb.value,O.add(Lb),ia.delete(Lb);dZc(b,
q,function(yc){yc.value=[].concat(p(O)).join(",")});dZc(b,u,function(yc){yc.value=[].concat(p(ia)).join(",")});ji(bc)})};NT.prototype.updateActionsToAccept=function(){var a=this,b=this.draftActions.filter(function(c){return!a.excludedActions.has(c.actionKey)}).filter(pcb);this.includeCommentByDefault||(b=b.filter(function(c){return c.fieldName!=="comment"||a.dirtyCommentActions.has(c.actionKey)}));this.actionsToAccept.emit(b)};NT.\u0275fac=function(a){return new (a||NT)};
NT.\u0275cmp=F({type:NT,selectors:[["b-issue-actions-component"]],inputs:{actions:"actions",includeCommentByDefault:"includeCommentByDefault"},outputs:{actionsToAccept:"actionsToAccept"},standalone:!1,features:[$w],decls:5,vars:0,consts:[["excludeButton",""],["assigneePicker",""],["priorityPicker",""],["componentPicker",""],[1,"flex-kids-y","gap-s"],[1,"row","flex-kids-x","gap-xs","align-items-center",3,"excluded"],[1,"row","flex-kids-x","gap-xs","align-items-center"],[1,"field-name"],[1,"field-value",
"gap-xs","flex-kids-x","align-items-center","flex-wrap"],[3,"emailChange","user","displayValueOverride","teamId","disabled"],[1,"note"],[1,"buttons","margin-left-auto"],[3,"user","teamId","disabled"],[1,"muted"],["svgIcon","arrow-forward","color","primary",1,"icon-s"],["type","button","mat-icon-button","","matTooltip","Edit assignee","aria-label","Edit assignee",1,"small",3,"click","disabled"],["svgIcon","edit-outline",1,"icon-xxs"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"field-value",
"gap-xs","flex-kids-x","align-items-center"],[3,"valueChange","type","value","choices","readonly"],[3,"type","value","choices","readonly"],["type","button","mat-icon-button","","matTooltip","Edit priority","aria-label","Edit priority",1,"small",3,"click","disabled"],[3,"comment","issueId","audience","formattingMode"],["type","button","mat-button","","matTooltip","Accept suggested comment","aria-label","Accept suggested comment",1,"small","accept-comment"],["type","button","mat-icon-button","","matTooltip",
"Edit comment","aria-label","Edit comment",1,"small","edit-comment",3,"click","disabled"],["type","button","mat-button","","matTooltip","Accept suggested comment","aria-label","Accept suggested comment",1,"small","accept-comment",3,"click"],["svgIcon","add",1,"icon-xxs"],[3,"componentChanged","issueId","componentId","compactMode","handleSave","showPickerOverlayAbove","readOnly"],[3,"issueId","componentId","compactMode","readOnly"],["type","button","mat-icon-button","","matTooltip","Edit component",
"aria-label","Edit component",1,"small",3,"click","disabled"],[1,"flex-kids-x","align-items-center"],["matTooltip","Adding hotlist","svgIcon","add",1,"good","icon-xs"],[3,"hotlist","removable"],["matTooltip","Removing hotlist","svgIcon","remove_24px",1,"bad","icon-xs"],["type","button","mat-icon-button","","matTooltip","Edit hotlists","aria-label","Edit hotlists",1,"small",3,"click","disabled"],["matTooltip","Adding CC","svgIcon","add",1,"good","icon-xs"],["matTooltip","Removing CC","svgIcon","remove_24px",
1,"bad","icon-xs"],["type","button","mat-icon-button","",1,"small","include",3,"matTooltip"],["type","button","mat-icon-button","",1,"small","exclude",3,"matTooltip"],["type","button","mat-icon-button","",1,"small","include",3,"click","matTooltip"],["svgIcon","done",1,"icon-xxs"],["type","button","mat-icon-button","",1,"small","exclude",3,"click","matTooltip"],["svgIcon","close",1,"icon-xxs"]],template:function(a,b){a&1&&(L(0,"div",4),Mj(1,Kdb,5,7,"div",5,Xcb,!0),M(),G(3,Odb,2,2,"ng-template",null,
0,Gk));a&2&&(E(),Nj(cZc(b.draftActions)))},dependencies:[oy,EA,gK,RR,qN,dA,aA,bA,YF,WF,lT,MT,py,ZM],styles:["[_nghost-%COMP%]     onedev-user-picker>button{width:unset;padding:0;min-height:unset}[_nghost-%COMP%]     div.md-preview{background-color:unset;margin:unset;padding:0}[_nghost-%COMP%]     b-edit-field .bv2-edit-button, [_nghost-%COMP%]     b-user-picker .edit-icon{display:none}[_nghost-%COMP%]     b-hotlist-chip .chip{padding:0;padding-left:2px;background-color:unset}b-user-picker[_ngcontent-%COMP%]{width:unset;margin-right:-6px}.field-name[_ngcontent-%COMP%]{min-width:100px;min-height:24px;line-height:24px;-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start}.buttons[_ngcontent-%COMP%]{-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;visibility:hidden}.buttons.unaccepted-comment[_ngcontent-%COMP%]{visibility:visible}[_nghost-%COMP%]:focus-within   .buttons[_ngcontent-%COMP%], [_nghost-%COMP%]:hover   .buttons[_ngcontent-%COMP%]{visibility:visible}.row[_ngcontent-%COMP%]{min-height:24px}.row[_ngcontent-%COMP%]:has(>.unaccepted-comment){border:2px dashed;border-color:var(--border-color);border-radius:4px}.good[_ngcontent-%COMP%]{color:#188038;color:var(--text-good)}.bad[_ngcontent-%COMP%]{color:#c5221f;color:var(--text-bad)}[_nghost-%COMP%]     .excluded .field-name, [_nghost-%COMP%]     .excluded .field-value *{color:#bdc1c6;color:var(--text-disabled);text-decoration:line-through}.note[_ngcontent-%COMP%]{border-radius:4px;color:#1967d2;color:var(--primary-c700);background-color:#e8f0fe;background-color:var(--primary-c50);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;text-transform:uppercase;padding:2px 4px;font-weight:500;letter-spacing:.05rem}.unaccepted-comment[_ngcontent-%COMP%]   b-live-preview[_ngcontent-%COMP%]{opacity:.7}"],
changeDetection:0});var Qdb=function(){return[]},eZc=new Map(["componentId","hotlists","priority","assignee","comment"].map(function(a,b){return[a,b]})),fZc=ze(function(a){var b;return(b=eZc.get(a.fieldName))!=null?b:Infinity},Ae,"ASCENDING"),OT=function(){Z.apply(this,arguments);var a=this;this.activeSession=x(Ks);this.recommendationsService=x(GT);this.documentationLinks=x(XH);this.domSafe=x(SF);this.checkBeforeExit=x(LR);this.issueFridge=x(MD);this.scrolledOnScreenService=x(OL);this.cdr=x(sx);this.elementRef=x(Ph);
this.RecommendationType=Eic;this.recommendation$=new nj(1);this.disableLogging=!1;this.issueId$=this.recommendation$.pipe(C(function(b){return yr(b==null?void 0:b.resource)}));this.currentIssue$=this.issueId$.pipe(sj(function(b){return b?a.issueFridge.watch(b):li(void 0)}));this.actions=[];this.actions$=si([this.recommendation$,this.currentIssue$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;d&&b.type==="ISSUE_DEDUPLICATION_BATCH"&&(b=wd(b),b.content.issueDeduplicationBatch.recommendedCanonicalIssue||
(b.content.issueDeduplicationBatch.recommendedCanonicalIssue=d));b=wd(b);if(d){var e=gZc[b.type];if(e){var f,h,k;c=new Set((k=(f=b.content)==null?void 0:(h=f.issueModification)==null?void 0:h.addMask)!=null?k:[]);var q,u,A;f=new Set((A=(q=b.content)==null?void 0:(u=q.issueModification)==null?void 0:u.removeMask)!=null?A:[]);q=new Set([].concat(p(c),p(f)));var D,H;if((D=b.content)==null?0:(H=D.issueModification)==null?0:H.addState)b.content.issueModification.addState=Object.assign({},d.snapshot[0],
b.content.issueModification.addState);var O,P;if((O=b.content)==null?0:(P=O.issueModification)==null?0:P.addMask)for(D=l(e),H=D.next();!H.done;H=D.next())H=H.value,q.has(H)||b.content.issueModification.addMask.push(H);var S;e.has("comment")&&((S=b.content)==null?0:S.issueModification)&&!b.content.issueModification.comment&&(b.content.issueModification.comment={issueId:d.issueId,commentNumber:0,formattedComment:void 0,lastEditorUser:void 0,lastModified:0,version:0,unlinkifiedComment:"",formattingMode:"PLAIN",
entityStatus:void 0,piiRetentionState:void 0,piiRetention:void 0,redacted:!1,etag:void 0,commentReactions:new Map});S=l(q);for(d=S.next();!d.done;d=S.next())d=d.value,tcb.has(d)&&(c.has(d)||(H=D=void 0,(D=b.content)==null||(H=D.issueModification)==null||H.addMask.push(d)),f.has(d)||(H=D=void 0,(D=b.content)==null||(H=D.issueModification)==null||H.removeMask.push(d)))}}return ncb(b)}),C(function(b){return fZc(b,"ASCENDING")}));this.actionsToAccept=[];this.isSaving$=new $n(!1)};Y(OT,Z);
OT.\u0275dir=Z.\u0275dir;
OT.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(MR(this.checkBeforeExit,function(){return a.hasUnsavedChanges()&&a.recommendation.type!=="ISSUE_DEDUPLICATION_BATCH"&&a.recommendation.type!=="ISSUE_DEDUPLICATION"},!0));this.disableLogging||(MYc(this.recommendationsService,this.recommendation),this.subscriptions.add(si([rKc(this.scrolledOnScreenService,this.elementRef.nativeElement,{durationOnScreenMs:3E3})]).pipe(hj(1)).subscribe(function(){NYc(a.recommendationsService,a.recommendation)})));
this.subscriptions.add(this.actions$.subscribe(function(b){a.actions=b}))};OT.prototype.updateActionsToAccept=function(a){this.actionsToAccept=a;this.cdr.detectChanges()};OT.prototype.accept=function(a){var b=this;return v(function(c){if(c.nextAddress==1)return b.isSaving$.next(!0),w(c,IYc(b.recommendationsService,{recommendation:a,acceptedActions:b.actionsToAccept,originalActions:b.actions,disableLogging:b.disableLogging}),2);b.isSaving$.next(!1);ji(c)})};
OT.prototype.reject=function(a){var b=this;return v(function(c){if(c.nextAddress==1)return b.isSaving$.next(!0),w(c,KYc(b.recommendationsService,a),2);b.isSaving$.next(!1);ji(c)})};
var hZc=function(a,b){switch(b.type){case "ISSUE_DEDUPLICATION":var c,d,e;return"Accept changes and close current issue as duplicate of "+((c=b.content)==null?void 0:(d=c.recommendedIssue)==null?void 0:(e=d.snapshot[0])==null?void 0:e.title);case "ISSUE_DEDUPLICATION_BATCH":return a.actionsToAccept.length>1?"Close "+a.actionsToAccept.length+" issues as duplicates":"Close "+a.actionsToAccept.length+" issue as duplicate";default:return"Accept changes"}},iZc=function(a){switch(a.type){case "ISSUE_DEDUPLICATION":var b,
c,d;return"Reject recommendation to mark current issue as duplicate of "+((b=a.content)==null?void 0:(c=b.recommendedIssue)==null?void 0:(d=c.snapshot[0])==null?void 0:d.title);default:return"Reject recommendation"}};OT.prototype.openLink=function(a){this.domSafe.openInNewTab(a)};OT.prototype.hasUnsavedChanges=function(){return this.actionsToAccept.some(function(a){return a.isDirty})};
pg.Object.defineProperties(OT.prototype,{recommendation:{configurable:!0,enumerable:!0,set:function(a){this.recommendation$.next(a)},get:function(){return up(this.recommendation$)}}});OT.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(OT)))(b||OT)}}();
OT.\u0275cmp=F({type:OT,selectors:[["b-recommendation"]],inputs:{recommendation:"recommendation",disableLogging:"disableLogging"},standalone:!1,features:[xj],decls:18,vars:16,consts:[[1,"flex-kids-y","gap-s","rounded","container"],[3,"actions","includeCommentByDefault"],[1,"flex-kids-x","space-between","full-width"],[1,"actions","flex-kids-x","gap-s","align-items-center","padded-s-bottom","full-width"],["type","button","mat-flat-button","","color","primary",1,"accept","keep-focus-ring",3,"click",
"disabled"],["svgIcon","done",1,"icon-s"],["type","button","mat-button","","mainSegment","","color","primary",1,"reject","small",3,"click","disabled"],["svgIcon","close",1,"icon-s"],[1,"margin-left-auto"],[1,"flex-kids-x"],[3,"currentIssue","actions"],[3,"actionsToAccept","currentIssue","actions"],[3,"actionsToAccept","actions","includeCommentByDefault"],[1,"flex-kids-x","gap-s","margin-s-bottom"],[3,"formattedComment","canEditComment"],["type","button","mat-icon-button","","aria-label","help",1,
"feedback-button",3,"click"],["svgIcon","help-outline",1,"icon-s"]],template:function(a,b){if(a&1){var c=y();L(0,"div",0);I(1,Sdb,2,3)(2,Tdb,2,5,"b-issue-actions-component",1);I(3,Wdb,6,1);L(4,"div",2)(5,"div",3)(6,"button",4);W(7,"async");Q("click",function(){z(c);return B(b.accept(b.recommendation))});N(8,"mat-icon",5);U(9);M();L(10,"button",6);W(11,"async");Q("click",function(){z(c);return B(b.reject(b.recommendation))});N(12,"mat-icon",7);U(13," Reject ");M();I(14,Xdb,1,0,"b-spinner",8);W(15,
"async");M();Wj(16);I(17,Ydb,3,0,"div",9);M()()}if(a&2){E();J(b.recommendation.type===b.RecommendationType.ISSUE_DEDUPLICATION_BATCH||b.recommendation.type===b.RecommendationType.ISSUE_DEDUPLICATION?1:2);E(2);J(b.recommendation.rationale?3:-1);E(3);K("disabled",X(7,9,b.isSaving$)||b.actionsToAccept.length===0);Hj("aria-label",hZc(b,b.recommendation));E(3);a:switch(b.recommendation.type){case "ISSUE_DEDUPLICATION":a="Close issue as duplicate";break a;case "ISSUE_DEDUPLICATION_BATCH":a=b.actionsToAccept.length>
1?"Close "+b.actionsToAccept.length+" issues as duplicates":"Close "+b.actionsToAccept.length+" issue as duplicate";break a;default:a="Accept changes"}V(" ",a," ");E();K("disabled",X(11,11,b.isSaving$));Hj("aria-label",iZc(b.recommendation));E(4);J(X(15,13,b.isSaving$)?14:-1);E(2);a:{switch(b.recommendation.type){case "ISSUE_DEDUPLICATION":a="https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/mark-as-duplicate";break a}a=void 0}a=Xj(a);E();J(a?17:-1)}},dependencies:[EA,fK,dA,
aA,bA,eN,lL,HT,NT,py],styles:[".container[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg);padding:8px 16px}.container[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{margin-left:auto}[_nghost-%COMP%]     .actions button{height:26px;line-height:unset}.feedback-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}"],
changeDetection:0});var jZc={},gZc=(jZc.COMPONENT_ROUTING=new Set(["componentId","hotlists","priority","assignee"]),jZc.NEEDS_INFO=new Set(["comment"]),jZc);var PT=function(){this.isReady=!1};PT.\u0275fac=function(a){return new (a||PT)};PT.\u0275cmp=F({type:PT,selectors:[["onedev-async-data-placeholder"]],inputs:{isReady:"isReady"},standalone:!1,ngContentSelectors:["*"],decls:2,vars:2,consts:[["class","loading-indicator",4,"ngIf"],[4,"ngIf"],[1,"loading-indicator"]],template:function(a,b){a&1&&(Zj(),G(0,Zdb,1,0,"div",0)(1,$db,2,0,"ng-container",1));a&2&&(K("ngIf",!b.isReady),E(),K("ngIf",b.isReady))},dependencies:[ny],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 kZc=function(){this.warning=""};kZc.\u0275fac=function(a){return new (a||kZc)};
kZc.\u0275cmp=F({type:kZc,selectors:[["onedev-warning-icon"]],hostVars:2,hostBindings:function(a,b){a&2&&rk("is-present",b.warning)},inputs:{warning:"warning"},standalone:!1,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&&G(0,aeb,2,
1,"svg",0);a&2&&K("ngIf",b.warning)},dependencies:[ny,DQ],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 lZc=["*",[["","actions",""]]],mZc=[[["onedev-field-label"]],[["onedev-field-value"]]],nZc=0,QT=function(){this.thinking=!1;this.warning=this.labelTooltip="";this.id="onedev-field-label-"+nZc;nZc++};QT.\u0275fac=function(a){return new (a||QT)};
QT.\u0275cmp=F({type:QT,selectors:[["onedev-field-label"]],hostVars:1,hostBindings:function(a,b){a&2&&Hj("id",b.id)},inputs:{thinking:"thinking",labelTooltip:"labelTooltip",warning:"warning"},standalone:!1,ngContentSelectors:["*"],decls:4,vars:3,consts:[[3,"isReady"],[1,"label",3,"matTooltip"],[3,"warning"]],template:function(a,b){a&1&&(Zj(),L(0,"onedev-async-data-placeholder",0)(1,"span",1),ak(2),M(),N(3,"onedev-warning-icon",2),M());a&2&&(K("isReady",!b.thinking),E(),K("matTooltip",b.labelTooltip),
E(2),K("warning",b.warning))},dependencies:[PT,DQ,kZc],styles:["[_nghost-%COMP%]{line-height:29px;font-size:13px}span.label[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]});var RT=function(){this.thinking=!1};RT.\u0275fac=function(a){return new (a||RT)};
RT.\u0275cmp=F({type:RT,selectors:[["onedev-field-value"]],inputs:{thinking:"thinking"},standalone:!1,ngContentSelectors:["*","[actions]"],decls:3,vars:1,consts:[[3,"isReady"]],template:function(a,b){a&1&&(Zj(lZc),L(0,"onedev-async-data-placeholder",0),ak(1),ak(2,1),M());a&2&&K("isReady",!b.thinking)},dependencies:[PT],encapsulation:2});var ST=function(){this.labelPosition="left"};ST.prototype.ngAfterContentInit=function(){var a=this;setTimeout(function(){a.field&&a.label&&(a.field.labelledById=a.label.id)})};
ST.\u0275fac=function(a){return new (a||ST)};
ST.\u0275cmp=F({type:ST,selectors:[["onedev-edit-field"]],contentQueries:function(a,b,c){a&1&&(fk(c,IT,5),fk(c,QT,7));if(a&2){var d;ik(d=jk())&&(b.field=d.first);ik(d=jk())&&(b.label=d.first)}},inputs:{labelPosition:"labelPosition"},standalone:!1,ngContentSelectors:["onedev-field-label","onedev-field-value"],decls:3,vars:4,consts:[[1,"wrapper"]],template:function(a,b){a&1&&(Zj(mZc),L(0,"div",0),ak(1),ak(2,1),M());a&2&&rk("active",b.field==null?null:b.field.isActive())("top-label",b.labelPosition===
"top")},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 oZc=["traditionalEditorField"],pZc=["peopleKitUserPicker"],TT=function(){this.activeSession=x(Ks);this.issuePermissionService=x(BF);this.issueDetailsBrain=x(zF);this.elementRef=x(Ph);this.cdr=x(sx);this.title=this.name="";this.value=null;this.valueChange=new iE;this.emailChange=new iE;this.displayValueOverride="";this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.teamId$=this.issueDetailsBrain.teamId$;this.FieldType=
rN};TT.prototype.emailToUser=function(a){return ee(Kd(a))};TT.prototype.emitValueChange=function(){this.valueChange.emit({editField:void 0,newEmail:void 0});this.cdr.markForCheck()};TT.prototype.openEditor=function(){var a;(a=this.peopleKitUserPicker)==null||a.openPopOver()};TT.\u0275fac=function(a){return new (a||TT)};
TT.\u0275cmp=F({type:TT,selectors:[["b-single-user-control"]],viewQuery:function(a,b){a&1&&(ek(oZc,5),ek(pZc,5));if(a&2){var c;ik(c=jk())&&(b.traditionalEditorField=c.first);ik(c=jk())&&(b.peopleKitUserPicker=c.first)}},inputs:{name:"name",title:"title",value:"value",user:"user",anchor:"anchor",isSaving:"isSaving",displayValueOverride:"displayValueOverride"},outputs:{valueChange:"valueChange",emailChange:"emailChange"},standalone:!1,decls:10,vars:14,consts:[["peopleKitUserPicker",""],[3,"thinking"],
[3,"emailChange","anchor","user","teamId","disabled","displayValueOverride"],[3,"user"]],template:function(a,b){if(a&1){var c=y();L(0,"onedev-edit-field")(1,"onedev-field-label");U(2);M();L(3,"onedev-field-value",1)(4,"b-user-picker",2,0);W(6,"emailToUser");W(7,"async");W(8,"async");Q("emailChange",function(h){z(c);b.emailChange.emit(h);b.cdr.markForCheck();return B()});M();I(9,beb,1,1,"b-availability-chip",3);M()()}if(a&2){E(2);tk(b.title);E();K("thinking",!!b.isSaving);E();var d,e,f;K("anchor",
(d=b.anchor)!=null?d:b.elementRef.nativeElement)("user",(e=b.user)!=null?e:X(6,8,b.value||""))("teamId",(f=X(7,10,b.teamId$))!=null?f:"")("disabled",!X(8,12,b.hasAclToEdit$))("displayValueOverride",b.displayValueOverride);E(5);J(b.user?9:-1)}},dependencies:[JM,QT,RT,ST,MT,ZM,py],encapsulation:2});var qZc=[[["","expansion-panel-header",""]],"*"],UT=function(){this.instance=UT.instanceCounter;this.expanded=!1};UT.prototype.ngOnInit=function(){UT.instanceCounter++};UT.prototype.toggle=function(){this.expanded=!this.expanded};UT.instanceCounter=0;UT.\u0275fac=function(a){return new (a||UT)};
UT.\u0275cmp=F({type:UT,selectors:[["b-expansion-panel"]],inputs:{expanded:"expanded"},exportAs:["expansionPanel"],standalone:!1,ngContentSelectors:["[expansion-panel-header]","*"],decls:6,vars:7,consts:[[1,"flex-kids-y"],["role","button","tabindex","0","aria-disabled","false",1,"header","flex-kids-x","padded-s","clickable-row",3,"click","keydown.enter","keydown.space","keyup.space","id"],["type","button","mat-icon-button","","aria-label","Toggle expansion state",1,"small","margin-left-auto",3,"click"],
["svgIcon","arrow-down",1,"icon-m"],["role","region",1,"content",3,"id"]],template:function(a,b){a&1&&(Zj(qZc),L(0,"div",0)(1,"div",1),Q("click",function(){return b.toggle()})("keydown.enter",function(){return b.toggle()})("keydown.space",function(c){return c.preventDefault()})("keyup.space",function(){return b.toggle()}),ak(2),L(3,"button",2),Q("click",function(c){b.toggle();return c.stopPropagation()}),N(4,"mat-icon",3),M()(),I(5,ceb,2,3,"div",4),M());a&2&&(rk("expanded",b.expanded),E(),K("id",
zk("expansion-panel-header-",b.instance)),Hj("aria-controls","expansion-panel-content-"+b.instance)("aria-expanded",b.expanded),E(4),J(b.expanded?5:-1))},dependencies:[EA,dA,bA],styles:[".header[_ngcontent-%COMP%]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.header[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out}.expanded[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.content[_ngcontent-%COMP%]{padding:4px 12px 12px}\n/*# sourceMappingURL=expansion_panel.css.map */"]});var reb=function(){return[]},xeb=function(a,b){return b.key},VT=function(){Z.apply(this,arguments);var a=this;this.issueFridge=x(MD);this.issueFullFridge=x(pE);this.eventsForIssueFridge=x(wD);this.paramsService=x(wF);this.issueExperimentalFieldsFridge=x(ID);this.issuePermissionService=x(BF);this.triageService=x(TH);this.activeSession=x(Ks);this.errorHandler=x(PA);this.preferences=x(NF);this.similarIssuesApi=x(cP);this.issueMarkAsDuplicateDialogService=x(QR);this.analytics=x(nE);this.recommendationTriggerService=
x(EF);this.refreshMonitor=x(JD);this.enableSummaryBasedSimilarIssuesUI=Cx(this.activeSession,"enableSummaryBasedSimilarIssuesUI");this.isPlaybookEnabled=Cx(this.activeSession,"enablePlaybook");this.issueId$=this.triageService.currentIssueId$.pipe(Di(fe),jj());this.PHASE_TO_ACTIONS=ECc;this.TriagePhase=Bic;this.MAX_SIMILAR_ISSUES=10;this.displaySecondaryFooter=!1;this.refreshTable=new iE;this.teamId$=xF(this.paramsService,"teamId").pipe(jj(),Di(fe));this.triageViewId=this.paramsService.params.triageId;
this.phaseUrlSlug=this.paramsService.params.phase;this.data$=this.teamId$.pipe(C(function(b){return a.triageService.triageDataFactory.get(b,a.triageViewId)}));this.triageScope$=this.data$.pipe(sj(function(b){return b.triageScope$}));this.issue$=this.issueId$.pipe(sj(function(b){return a.issueFridge.watch(b)}));this.canonicalIssueId$=this.issue$.pipe(C(function(b){var c,d;return(d=b==null?void 0:(c=b.snapshot[0])==null?void 0:c.duplicateOfIssueId)!=null?d:void 0}));this.experimentalFields$=this.issueId$.pipe(sj(function(b){return a.issueExperimentalFieldsFridge.watch(b)}));
this.reporterUser$=this.issue$.pipe(C(function(b){var c;return b==null?void 0:(c=b.snapshot[0])==null?void 0:c.reporterUser}));this.reporterEmail$=this.reporterUser$.pipe(C(function(b){return Jd(b)||""}));this.triagerEmail$=this.experimentalFields$.pipe(C(function(b){var c;return b==null?void 0:(c=b.triage)==null?void 0:c.triagerEmail}));this.triager$=this.triagerEmail$.pipe(C(function(b){return Kd(b)}));this.issuePhase$=this.issue$.pipe(C(Fp));this.issuePhaseDisplay$=this.issuePhase$.pipe(C(function(b){var c;
return(c=b&&pr.get(b))!=null?c:""}));this.issueSubphase$=this.issue$.pipe(C(Gp));this.issueSubphaseDisplay$=this.issueSubphase$.pipe(C(function(b){var c;return(c=b&&MBc[b])!=null?c:""}));this.events$=this.issueId$.pipe(sj(function(b){return a.eventsForIssueFridge.watch(b)}),C(function(b){return(b==null?void 0:b.events)||[]}));this.comments$=this.events$.pipe(C(function(b){return b.filter(ag).slice(1)}));this.accessLevel$=this.issue$.pipe(C(function(b){var c;return b==null?void 0:(c=b.accessLimit)==
null?void 0:c.accessLevel}));this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(C(Boolean),rj(!0));this.similarIssueIds$=si([this.issueId$,this.triageScope$]).pipe(sj(function(b){var c=l(b);b=c.next().value;c=c.next().value;return ROc(a.similarIssuesApi,{issueId:Number(b),scope:c+" status:open",embeddingType:a.enableSummaryBasedSimilarIssuesUI?2:1})}),C(function(b){return b.similarIssues}),C(function(b){return b.map(function(c){return c.issueId})}),
C(function(b){return b.slice(0,10)}),pj({bufferSize:1,refCount:!0}));this.needsInfoAutomaticChanges$=this.reporterEmail$.pipe(C(function(b){return[{field:"ASSIGNEE",value:b},{field:"COMMENT",value:"Hi @"+b+", "}]}));this.teamId$.pipe(sj(function(b){return ICc(a.triageService.triageDataFactory.get(b,a.triageViewId),"NEW")}),C(function(b){var c=[].concat(p(BCc.fieldsToShow));if(b==null?0:b.length)b=c.findIndex(function(d){return d==="STATUS"}),c.splice(b+1,0,"HOTLISTS");return c}));this.dedupeCanonicalRecommendation$=
this.issueId$.pipe(sj(function(b){return azc(a.recommendationTriggerService,b)}),pj({bufferSize:1,refCount:!0}));this.dedupeBatchRecommendation$=this.issueId$.pipe(sj(function(b){return bzc(a.recommendationTriggerService,b)}),pj({bufferSize:1,refCount:!0}));this.dedupeRecommendation$=si([this.dedupeCanonicalRecommendation$,this.dedupeBatchRecommendation$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b!=null?b:c}),pj({bufferSize:1,refCount:!0}));this.triageRecommendation$=
this.issueId$.pipe(sj(function(b){return ezc(a.recommendationTriggerService,b)}),pj({bufferSize:1,refCount:!0}))};Y(VT,Z);VT.\u0275dir=Z.\u0275dir;g=VT.prototype;g.ngOnInit=function(){var a=this;this.subscriptions.add(this.refreshMonitor.getObservable().pipe(vj(this.issueId$)).subscribe(function(b){b=l(b);b.next();b=b.next().value;a.eventsForIssueFridge.poke(b)}))};
g.setNeedsInfo=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,b.issueExperimentalFieldsFridge.updateOrInsert(a,function(d){d.triage.phase="NEW";d.triage.subphase="NEEDS_INFO"}),2):c.return(c.yieldResult)})};g.setConfirmed=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,b.issueExperimentalFieldsFridge.updateOrInsert(a,function(d){d.triage.phase="CONFIRMED";d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):c.return(c.yieldResult)})};
g.setPendingOwner=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,b.issueExperimentalFieldsFridge.updateOrInsert(a,function(d){d.triage.phase="CONFIRMED";d.triage.subphase="PENDING_OWNER"}),2):c.return(c.yieldResult)})};g.setInProgress=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,b.issueExperimentalFieldsFridge.updateOrInsert(a,function(d){d.triage.phase="IN_PROGRESS";d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):c.return(c.yieldResult)})};
g.setExpected=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,b.issueExperimentalFieldsFridge.updateOrInsert(a,function(d){d.triage.phase="IN_PROGRESS";d.triage.subphase="EXPECTED"}),2):c.return(c.yieldResult)})};g.setPlanned=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,b.issueExperimentalFieldsFridge.updateOrInsert(a,function(d){d.triage.phase="IN_PROGRESS";d.triage.subphase="PLANNED"}),2):c.return(c.yieldResult)})};
g.setCommitted=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,b.issueExperimentalFieldsFridge.updateOrInsert(a,function(d){d.triage.phase="IN_PROGRESS";d.triage.subphase="COMMITTED"}),2):c.return(c.yieldResult)})};g.setFixed=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,b.issueExperimentalFieldsFridge.updateOrInsert(a,function(d){d.triage.phase="FIXED";d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):c.return(c.yieldResult)})};
g.setNew=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,b.issueExperimentalFieldsFridge.updateOrInsert(a,function(d){d.triage.phase="NEW";d.triage.triagerEmail=void 0;d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):c.return(c.yieldResult)})};
g.setWontFix=function(a){var b=this;return v(function(c){return c.nextAddress==1?w(c,b.issueExperimentalFieldsFridge.updateOrInsert(a,function(d){d.triage.phase="WONT_FIX";d.triage.triagerEmail=void 0;d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):c.return(c.yieldResult)})};
g.openSecondaryActionFooter=function(a,b){var c=this;return v(function(d){if(d.nextAddress==1)return a!=="MARK_AS_DUPLICATE"?d.jumpTo(2):w(d,NUc(c.issueMarkAsDuplicateDialogService,b),3);if(d.nextAddress!=2)return c.analytics.trackEvent("triageIssue","changePhase",c.phaseUrlSlug+"_"+a),d.return();c.selectedTriageAction=a;c.displaySecondaryFooter=!0;c.announceUpdate(void 0,b);ji(d)})};
g.finalizeSecondaryAction=function(a){var b=this,c,d,e;return v(function(f){switch(f.nextAddress){case 1:if(!b.selectedTriageAction)return f.return();c=b.selectedTriageAction;d=a[0];switch(c){case "SET_NEEDS_INFO":return f.jumpTo(2);case "SET_CONFIRMED":return f.jumpTo(3);case "SET_PENDING_OWNER":return f.jumpTo(4);case "SET_NEW":return f.jumpTo(5);case "SET_IN_PROGRESS":return f.jumpTo(6);case "SET_EXPECTED":return f.jumpTo(7);case "SET_PLANNED":return f.jumpTo(8);case "SET_COMMITTED":return f.jumpTo(9);
case "SET_FIXED":return f.jumpTo(10);case "CHANGE_COMPONENT":return f.jumpTo(11);case "SET_WONT_FIX":return f.jumpTo(12);case "MARK_AS_DUPLICATE":throw Error("me");default:qb(c)}f.jumpTo(13);break;case 2:return w(f,b.setNeedsInfo(d),14);case 14:e=f.yieldResult;f.jumpTo(13);break;case 3:return w(f,b.setConfirmed(d),15);case 15:e=f.yieldResult;f.jumpTo(13);break;case 4:return w(f,b.setPendingOwner(d),16);case 16:e=f.yieldResult;f.jumpTo(13);break;case 5:return w(f,b.setNew(d),17);case 17:e=f.yieldResult;
f.jumpTo(13);break;case 6:return w(f,b.setInProgress(d),18);case 18:e=f.yieldResult;f.jumpTo(13);break;case 7:return w(f,b.setExpected(d),19);case 19:e=f.yieldResult;f.jumpTo(13);break;case 8:return w(f,b.setPlanned(d),20);case 20:e=f.yieldResult;f.jumpTo(13);break;case 9:return w(f,b.setCommitted(d),21);case 21:e=f.yieldResult;f.jumpTo(13);break;case 10:return w(f,b.setFixed(d),22);case 22:e=f.yieldResult;f.jumpTo(13);break;case 11:return w(f,b.setNew(d),23);case 23:e=f.yieldResult;f.jumpTo(13);
break;case 12:return w(f,b.setWontFix(d),24);case 24:e=f.yieldResult;f.jumpTo(13);break;case 13:b.displaySecondaryFooter=!1,b.announceUpdate(e,d),b.analytics.trackEvent("triageIssue","changePhase",b.phaseUrlSlug+"_"+c),ji(f)}})};g.announceUpdate=function(a,b){a&&(this.issueFullFridge.poke(b),this.refreshTable.emit())};g.cancelAction=function(){this.selectedTriageAction=void 0;this.displaySecondaryFooter=!1};
var heb=function(a,b){var c,d;return v(function(e){if(e.nextAddress==1)return b&&b.length>0&&((c=b)==null||!c.endsWith("@google.com"))?(QA(a.errorHandler,"Only Googlers can be triagers."),e.return()):w(e,pi(a.issueId$),2);d=e.yieldResult;return w(e,a.issueExperimentalFieldsFridge.updateOrInsert(d,function(f){f.triage.triagerEmail=b}),0)})};VT.prototype.claim=function(){heb(this,this.activeSession.getUserEmail());this.analytics.trackEvent("triageIssue","claim")};
VT.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(VT)))(b||VT)}}();
VT.\u0275cmp=F({type:VT,selectors:[["issue-triage-sidebar"]],outputs:{refreshTable:"refreshTable"},standalone:!1,features:[xj],decls:2,vars:3,consts:[["canonicalHovercard","onedevHovercard"],["canonicalCardBody",""],["triagerFieldAnchor",""],["triagerField",""],["expansionPanel",""],["card",""],[1,"container","bg-secondary","flex-kids-y"],[1,"top-bar","flex-kids-x","space-between","border-bottom","bg-main"],[1,"flex-kids-x","align-items-center","margin-s-left","gap-s"],[3,"issueId","showCopyOptions"],
[1,"flex-kids-x","align-items-center"],[1,"actions"],["mat-icon-button","","tabindex","0","target","_blank","matTooltip","Open issue in a new tab","aria-label","Open issue",1,"small","hover-link",3,"href"],["svgIcon","pop-out",1,"icon-s"],["type","button","mat-icon-button","","matTooltip","Close sidebar","aria-label","Close sidebar",1,"gmat-button",3,"click"],["svgIcon","close"],[1,"muted"],[1,"chippy"],[1,"chippy",3,"onedevHovercardTrigger"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],
[3,"onedevIsHovercardReady","issueId"],["type","button","mat-button","","matTooltip","Set myself as the triager",1,"gmat-button","small"],["size","small",3,"email"],[1,"flex-1","triagerField",3,"valueChange","emailChange","name","anchor","title","value","user"],["type","button","mat-icon-button","","matTooltip","Edit triager","aria-label","Edit triager",1,"small","align-self-center",3,"click"],["svgIcon","edit-outline",1,"icon-xxs"],["type","button","mat-button","","matTooltip","Set myself as the triager",
1,"gmat-button","small",3,"click"],[1,"content","flex-kids-y"],[1,"title","margin-s"],[3,"title","issueId","componentId","hasAclToEdit"],[1,"margin-s-top","flex-kids-x","gap-s"],[1,"b-chip","issue-type","nowrap"],[1,"priority"],[3,"issuePriority"],[3,"vertical"],[3,"issueId"],[1,"rounded","bordered","margin-s","margin-top-none","bg-main",3,"expanded"],["expansion-panel-header",""],[1,"flex-kids-x","align-items-center","gap-xs","full-width"],["svgIcon","description_24px","color","primary",1,"margin-xs-right",
"shrink-0"],[1,"uppercase","margin-xs-right","muted"],[3,"id"],[1,"flex-kids-x","align-items-center","grow-1","margin-s-right"],["svgIcon","chat_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"uppercase","margin-xs-right","muted","nowrap"],[1,"margin-left-auto"],[3,"issueId","events","issueAccessLevel","showFullHistory"],["svgIcon","spark_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"uppercase","muted"],["svgIcon","info",1,"margin-left-auto","icon-s",3,"matTooltip"],[1,"triage-actions",
"bg-main","carded","flex-kids-x","align-items-center","margin-s"],[3,"onedevHovercardTrigger","model"],[3,"email"],[1,"margin-left-auto",3,"click"],["svgIcon","tab_close_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"rounded",3,"recommendation"],[3,"issueId","similarIssueIds","similarIssuesEnrichments","limit"],[1,"full-width",3,"needsInfoAutomaticChanges","selectedTriageAction"],[1,"full-width",3,"cancelAction","finalizeAction","needsInfoAutomaticChanges","selectedTriageAction"],[3,
"onSelect","phase"],["type","button","mat-button","",1,"gmat-button",3,"disabled"],["type","button","mat-button","",1,"gmat-button",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,Beb,19,19,"div",6),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.issueId$))?0:-1,c)}},dependencies:[EA,jT,fT,UT,dA,aA,bA,YF,WF,xH,yH,DH,zH,GP,XS,rT,jP,TJ,lP,sT,eN,OT,TT,BT,cS,SM,RM,CM,UM,py],styles:[".container[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden;position:absolute}[_nghost-%COMP%]     .triagerField onedev-field-label{min-width:unset}[_nghost-%COMP%]     .triagerField onedev-edit-field{margin:0}.triagerField[_ngcontent-%COMP%]{visibility:hidden;width:0}.content[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;overflow:hidden auto}.content[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .issue-type[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary);border:1px solid;border-color:#5f6368;border-color:var(--icon);font-family:Google Sans,Roboto,Arial,sans-serif;margin-right:0}.content[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .priority[_ngcontent-%COMP%]{margin-top:1px}.content[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .hotlist-container[_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:2px;line-height:18px;max-height:64px;overflow-y:auto}[_nghost-%COMP%]     .comment1>mat-icon{display:none}[_nghost-%COMP%]     .comment1 .b-description-heading{display:none}[_nghost-%COMP%]     .comment1 .bv2-event-note{margin-top:4px}[_nghost-%COMP%]     b-event-stream-header h4{display:none}[_nghost-%COMP%]     .bv2-edit-issue-history-stream{padding-left:0}[_nghost-%COMP%]     .bv2-event-content-cell{padding-top:8px;padding-left:4px;padding-right:0}"]});var rZc=function(){var a=this;this.activeSession=x(Ks);this.issueExperimentalFieldsFridge=x(ID);this.triageService=x(TH);this.currentUserEmail=this.activeSession.getUserEmail();this.issueIds$=this.triageService.currentIssueIds$;this.onToggleClaim$=new $n(void 0);this.hasUserClaimedIssues$=si([this.issueIds$,this.onToggleClaim$]).pipe(C(function(b){var c=l(b);b=c.next().value;c.next();return b}),sj(function(b){return a.issueExperimentalFieldsFridge.watchSet(b)}),C(function(b){return b.every(function(c){var d;
return((d=c.triage)==null?void 0:d.triagerEmail)===a.currentUserEmail})}));this.buttonText$=si([this.hasUserClaimedIssues$]).pipe(C(function(b){return l(b).next().value?"Unclaim":"Claim"}));this.isSaving=!1},Ceb=function(a,b,c){var d,e,f;return v(function(h){switch(h.nextAddress){case 1:a.isSaving=!0,d=l(b),e=d.next();case 2:if(e.done){h.jumpTo(4);break}f=e.value;return w(h,a.issueExperimentalFieldsFridge.updateOrInsert(f,function(k){k.triage.triagerEmail=c?void 0:a.currentUserEmail}),3);case 3:e=
d.next();h.jumpTo(2);break;case 4:a.isSaving=!1,a.onToggleClaim$.next(),ji(h)}})};rZc.\u0275fac=function(a){return new (a||rZc)};
rZc.\u0275cmp=F({type:rZc,selectors:[["claim-issues-button"]],standalone:!1,decls:2,vars:3,consts:[["type","button","mat-button","",1,"gmat-button",3,"ariaLabel","disabled"],["type","button","mat-button","",1,"gmat-button",3,"click","ariaLabel","disabled"]],template:function(a,b){a&1&&(I(0,Deb,6,8,"button",0),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.issueIds$))?0:-1,c)}},dependencies:[dA,aA,py],encapsulation:2,changeDetection:0});var Leb=function(a,b){return b.key},WT=function(){Z.apply(this,arguments);var a=this;this.triageService=x(TH);this.analytics=x(nE);this.butterBar=x(MA);this.errorHandler=x(PA);this.issueApi=x(vD);this.issueFridge=x(MD);this.issueFullFridge=x(pE);this.issuePermissionService=x(BF);this.issuePicker=x(ZQ);this.paramsService=x(wF);this.triagePhaseService=x(dS);this.phaseUrlSlug=this.paramsService.params.phase;this.issueIds$=this.triageService.currentIssueIds$;this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;
this.PHASE_TO_ACTIONS=ECc;this.TriagePhase=Bic;this.displaySecondaryFooter=!1;this.issue$=this.issueIds$.pipe(sj(function(b){return a.issueFridge.watch(b[0])}));this.issuePhase$=this.issue$.pipe(C(Fp));this.issuePhaseDisplay$=this.issuePhase$.pipe(C(function(b){var c;return(c=b&&pr.get(b))!=null?c:""}));this.issues$=this.issueIds$.pipe(sj(function(b){return a.issueFridge.watchSet(b)}));this.issueSubphases$=this.issues$.pipe(C(function(b){return b.map(function(c){return Gp(c)}).filter(function(c){return c!==
void 0})}));this.issueSubphasesDisplay$=this.issueSubphases$.pipe(C(function(b){b=b.map(function(c){var d;return(d=MBc[c])!=null?d:""});return oo(b)}));this.refreshTable=new iE};Y(WT,Z);WT.\u0275dir=Z.\u0275dir;g=WT.prototype;
g.openDupeDialog=function(){var a=this,b,c,d,e,f,h,k;return v(function(q){switch(q.nextAddress){case 1:return w(q,pi(a.issueIds$),2);case 2:b=q.yieldResult;if(!b||!b.length)return q.return();c=tia;return w(q,pi(a.issueFridge.watchSet(b)),3);case 3:return d=c(q.yieldResult),e=l,w(q,a.issuePicker.open({componentId:d||null,allowMultipleIds:!1,currentResource:{id:b[0],type:"issue"},edgeType:"canonical",originIsBulk:!0}),4);case 4:return f=e(q.yieldResult),(k=h=f.next().value)?w(q,a.markAsDuplicate(k,
b),0):q.return()}})};g.openSecondaryActionFooter=function(a){var b=this;return v(function(c){if(c.nextAddress==1)return a!=="MARK_AS_DUPLICATE"?c.jumpTo(2):w(c,b.openDupeDialog(),3);if(c.nextAddress!=2)return b.analytics.trackEvent("triageIssue","changePhase",b.phaseUrlSlug+"_"+a),c.return();b.selectedTriageAction=a;b.displaySecondaryFooter=!0;ji(c)})};g.cancelAction=function(){this.displaySecondaryFooter=!1};g.closeSidebar=function(){this.triageService.closeSidebar();this.triageService.setMode(0)};
g.finalizeSecondaryAction=function(a){var b=this,c,d;return v(function(e){if(e.nextAddress==1){if(!b.selectedTriageAction)return e.return();c=b.selectedTriageAction;return w(e,kVc(b.triagePhaseService,a,c),2)}d=e.yieldResult;b.displaySecondaryFooter=!1;b.announceUpdate(a,d);ji(e)})};
g.markAsDuplicate=function(a,b){var c=this,d,e,f;return v(function(h){if(h.nextAddress==1){d=b.filter(function(k){return k!==a});if(!d.length)return h.return();e={bulkEditOps:[{actions:[{fieldName:"duplicateOfIssueId",value:a}],issueIds:b}]};ei(h,2);hq(c.butterBar,"Saving...");return w(h,c.issueApi.issueBulkEdit(e),4)}if(h.nextAddress!=2)return hq(c.butterBar,"Marked "+b.length+" issues as duplicate."),c.announceUpdate(b),c.closeSidebar(),Iu(h,0);f=ii(h);RA(c.errorHandler,f);return w(h,Promise.all([].concat(p(b.map(function(k){return c.issueFridge.poke(k)})),
[c.issueFridge.poke(a)])),0)})};g.announceUpdate=function(a,b){if(b&&b.length)for(a=l(a),b=a.next();!b.done;b=a.next())this.issueFullFridge.poke(b.value);this.refreshTable.emit()};WT.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(WT)))(b||WT)}}();
WT.\u0275cmp=F({type:WT,selectors:[["selection-triage-sidebar"]],outputs:{refreshTable:"refreshTable"},standalone:!1,features:[xj],decls:15,vars:12,consts:[[1,"container","bg-secondary","flex-kids-y"],[1,"border-bottom","bg-main","align-items-center","flex-kids-x"],[1,"margin-s-left","margin-s-right"],["type","button","mat-icon-button","","matTooltip","Close sidebar","aria-label","Close sidebar",1,"gmat-button","margin-left-auto",3,"click"],["svgIcon","close"],[1,"content","flex-kids-y"],[1,"heading-m",
"margin-s"],[1,"bg-main","carded","flex-kids-x","align-items-center","margin-s"],[1,"muted"],[1,"chippy"],[1,"chippy","margin-s-right"],[1,"full-width",3,"selectedTriageAction"],[1,"full-width",3,"cancelAction","finalizeAction","selectedTriageAction"],[3,"onSelect","phase"],["type","button","mat-button","",1,"gmat-button",3,"disabled"],["type","button","mat-button","",1,"gmat-button",3,"click","disabled"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"div",1),I(2,Eeb,5,1,"div",2),W(3,"async"),I(4,
Heb,1,1),W(5,"async"),L(6,"button",3),Q("click",function(){return b.closeSidebar()}),N(7,"mat-icon",4),M()(),L(8,"div",5)(9,"h3",6),U(10),W(11,"async"),M(),L(12,"div",7),I(13,Oeb,2,3),W(14,"async"),M()()());if(a&2){var c,d,e,f;E(2);J((c=X(3,4,b.issuePhaseDisplay$))?2:-1,c);E(2);J((d=X(5,6,b.issueSubphasesDisplay$))?4:-1,d);E(6);V("",(e=X(11,8,b.issueIds$))==null?null:e.length," issues");E(3);J((f=X(14,10,b.issueIds$))?13:-1,f)}},dependencies:[EA,dA,aA,bA,YF,WF,rZc,cS,CM,py],styles:[".container[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden;position:absolute}.content[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;overflow:hidden auto}\n/*# sourceMappingURL=selection_triage_sidebar.css.map */"],
changeDetection:0});var XT=function(){var a=this;this.editIssueService=x(XI);this.issueFridge=x(MD);this.IssueFieldKey=fVc;this.issueId$=new nj(1);this.automaticChange$=new nj(1);this.editableIssue$=this.issueId$.pipe(sj(function(b){return a.editIssueService.editableIssue$(b)}),pj({refCount:!0,bufferSize:1}));this.undone=!1;this.text$=si([this.editableIssue$,this.automaticChange$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;a:{var d=c.field;switch(d){case "STATUS":b="Auto changed status";break a;
case "ASSIGNEE":b=c.value===b.reporter?"Auto assigned to reporter":"Auto assigned";break a;case "COMMENT":b="";break a;default:qb(d)}b=void 0}return b}))};XT.prototype.ngOnInit=function(){};
XT.prototype.undo=function(){var a=this,b,c,d;return v(function(e){if(e.nextAddress==1)return b=a.automaticChange.field,w(e,pi(a.editableIssue$),2);if(e.nextAddress!=3)return c=e.yieldResult,w(e,pi(a.issueFridge.watch(a.issueId)),3);d=e.yieldResult;if(!d)return e.return();switch(b){case "STATUS":c.setStatus(d.snapshot[0].status);break;case "ASSIGNEE":c.setAssignee(Gd(d.snapshot[0].assigneeUser));break;case "COMMENT":throw Error("Me");default:qb(b)}a.undone=!0;ji(e)})};
pg.Object.defineProperties(XT.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return up(this.issueId$)}},automaticChange:{configurable:!0,enumerable:!0,set:function(a){this.automaticChange$.next(a)},get:function(){return up(this.automaticChange$)}}});XT.\u0275fac=function(a){return new (a||XT)};
XT.\u0275cmp=F({type:XT,selectors:[["automatic-change-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&qk("display",b.automaticChange.field===b.IssueFieldKey.COMMENT||b.undone?"none":"block")},inputs:{issueId:"issueId",automaticChange:"automaticChange"},standalone:!1,decls:7,vars:3,consts:[[1,"b-chip","blue","flex-kids-x","align-items-center","gap-xs"],["matTooltip","System suggestion","svgIcon","pen_spark_24px",1,"icon-s","margin-xs-right","color-text"],[1,"color-text"],["type","button","mat-button",
"",1,"gmat-button","small",3,"click"]],template:function(a,b){a&1&&(L(0,"div",0),N(1,"mat-icon",1),L(2,"span",2),U(3),W(4,"async"),M(),L(5,"button",3),Q("click",function(){return b.undo()}),U(6,"Undo"),M()());a&2&&(E(3),tk(X(4,1,b.text$)))},dependencies:[EA,dA,aA,YF,WF,py],encapsulation:2,changeDetection:0});var sZc=["pickerToggle"],YT=function(){this.customAriaLabelledBy=this.customFormId=void 0;this.required=!1;this.valueChange=new iE};YT.\u0275fac=function(a){return new (a||YT)};
YT.\u0275cmp=F({type:YT,selectors:[["b-date-time-input"]],viewQuery:function(a,b){a&1&&ek(sZc,7);if(a&2){var c;ik(c=jk())&&(b.pickerToggle=c.first)}},inputs:{customFormId:"customFormId",customAriaLabelledBy:"customAriaLabelledBy",value:"value",required:"required"},outputs:{valueChange:"valueChange"},exportAs:["bDateTimeInput"],standalone:!1,decls:4,vars:6,consts:[["pickerToggle","bDateTimePickerToggle"],["mat-stroked-button","","type","button","bDateTimePickerToggle","",3,"bDateTimePickerToggleSelectedChange",
"id","bDateTimePickerToggleRequired","bDateTimePickerToggleSelected","bDateTimePickerToggleFocusTrapHost"],["mode","date",3,"date"]],template:function(a,b){if(a&1){var c=y();L(0,"button",1,0);Q("bDateTimePickerToggleSelectedChange",function(d){z(c);b.value=d;b.valueChange.emit(d);return B()});I(2,Peb,1,1,"b-formatted-date-time",2)(3,Qeb,2,0,"ng-container");M()}a&2&&(K("id",b.customFormId)("bDateTimePickerToggleRequired",b.required)("bDateTimePickerToggleSelected",b.value)("bDateTimePickerToggleFocusTrapHost",
!1),Hj("aria-labelledby",b.customAriaLabelledBy),E(2),J(b.value?2:3))},dependencies:[hN,tN,dA,aA],styles:["/*# sourceMappingURL=date_time_input.css.map */"]});var tZc=["filterInput"],ZT=function(){Z.apply(this,arguments);this.dateFormatter=x(pI);this.enumChoices=[];this.onSave=new iE;this.valueMap=new Map;this.sortedValues=[];this.filterValue=null;this.currentSelectedDate=void 0};Y(ZT,Z);ZT.\u0275dir=Z.\u0275dir;g=ZT.prototype;g.ngOnInit=function(){this.initValues()};g.ngOnChanges=function(a){a.originalValueMap&&this.initValues()};g.ngAfterViewInit=function(){var a=this,b;(b=this.trigger)==null||b.menuOpened.pipe(sj(function(){return Ai(0)}),tj(this.destroyed$)).subscribe(function(){a.focusFilterBox()})};
g.showMenu=function(){this.trigger.openMenu()};g.closeMenu=function(){this.trigger.closeMenu()};g.focusFilterBox=function(){var a;(a=this.filterElement)==null||a.nativeElement.focus()};var uZc=function(a){return a.filterValue&&a.type!=="REPEATED_DATE"?a.sortedValues.filter(function(b){return a.getDisplayString(b).includes(String(a.filterValue))}):a.sortedValues};
ZT.prototype.addValue=function(){var a=this.filterValue;this.filterValue=null;a&&!this.valueMap.get(a)&&(this.valueMap.set(a,!0),vZc(this),this.onSave.emit({valueMap:this.valueMap,valueChanged:this.valueChanged()}))};ZT.prototype.changeSelection=function(a){this.focusFilterBox();var b=this.valueMap.get(a);b?this.valueMap.set(a,!1):b===!1?(b=this.originalValueMap.get(a)===null,this.valueMap.set(a,b?null:!0)):this.valueMap.set(a,!0);this.onSave.emit({valueMap:this.valueMap,valueChanged:this.valueChanged()})};
ZT.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||b!==void 0?c!==b:!1})};ZT.prototype.initValues=function(){this.valueMap=new Map(this.originalValueMap||[]);this.enumChoices=this.enumChoices||[];for(var a=l(this.enumChoices),b=a.next();!b.done;b=a.next())b=b.value,this.valueMap.has(b)||this.valueMap.set(b,!1);vZc(this)};
var vZc=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:c===!1?-1:0)-(b?1:b===!1?-1:0)})},Seb=function(a){return!!a.filterValue&&a.type!=="REPEATED_ENUM"&&a.type!=="REPEATED_DATE"};ZT.prototype.getDisplayString=function(a){return this.type==="REPEATED_DATE"?this.dateFormatter.formatUserCalendar(Cd(a)):a};ZT.prototype.getLabel=function(){return this.valueChanged()?"Changed":"Unchanged"};
ZT.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(ZT)))(b||ZT)}}();
ZT.\u0275cmp=F({type:ZT,selectors:[["b-bulk-repeated-field-picker"]],viewQuery:function(a,b){a&1&&(ek(pK,5),ek(tZc,5));if(a&2){var c;ik(c=jk())&&(b.trigger=c.first);ik(c=jk())&&(b.filterElement=c.first)}},inputs:{type:"type",originalValueMap:"originalValueMap",enumChoices:"enumChoices"},outputs:{onSave:"onSave"},standalone:!1,features:[xj,$w],decls:14,vars:6,consts:[["customFieldMenu","matMenu"],["filterInput",""],["mat-button","","type","button",1,"medium","primary",3,"matMenuTriggerFor"],["name",
"arrow-dropdown","size","small"],["role","option",1,"multi-edit-menuitem",3,"title"],[1,"filter"],["mat-input","","step","any",3,"type","ngModel","placeholder"],["mat-menu-item",""],[3,"change","click","checked","indeterminate"],["mat-input","","step","any",3,"keydown","click","ngModelChange","type","ngModel","placeholder"],["mat-menu-item","",3,"click"],[3,"valueChange","value"],["mat-menu-item","","aria-label","Add a date value","tabindex","0","aria-haspopup","true",3,"click"]],template:function(a,
b){a&1&&(L(0,"button",2)(1,"span"),U(2),M(),N(3,"b-icon",3),M(),L(4,"mat-menu",null,0),Mj(6,Reb,3,4,"div",4,Lj),N(8,"mat-divider"),L(9,"div",5),I(10,Teb,2,3,"input",6),M(),I(11,Ueb,1,0,"mat-divider"),I(12,Veb,2,0,"div",7),I(13,Web,4,1,"div"),M());a&2&&(a=T(5),K("matMenuTriggerFor",a),E(2),tk(b.getLabel()),E(4),Nj(uZc(b)),E(4),J(b.type!=="REPEATED_DATE"?10:-1),E(),J(Seb(b)?11:-1),E(),J(Seb(b)?12:-1),E(),J(b.type==="REPEATED_DATE"?13:-1))},dependencies:[FL,mK,kK,pK,eN,jK,dA,aA,aG,HG,Bp,hG,oG,YT],styles:[".multi-edit-menuitem[_ngcontent-%COMP%]{padding:0 5px}.filter[_ngcontent-%COMP%]{padding:0 5px}/*# sourceMappingURL=bulk_repeated_field_picker.css.map */"]});var wZc=0,$T=function(a){this.changeDetectorRef=a;this.active=!1;this.id="b-list-option-"+wZc;wZc+=1};$T.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};$T.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};$T.\u0275fac=function(a){return new (a||$T)(Ui(sx))};
$T.\u0275dir=$i({type:$T,selectors:[["","onedevListOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Oj("id",b.id),rk("active",b.active))},inputs:{option:"option"},exportAs:["onedevListOption"],standalone:!1});var aU=function(){};aU.\u0275fac=function(a){return new (a||aU)};aU.\u0275mod=Zi({type:aU});aU.\u0275inj=Eg({});var Zeb=function(a){return{$implicit:a}},bU=function(a){var b=this;this.includeEmptyOption=this.disabled=!1;this.emptyOptionValue=void 0;this.showFilterBar=!1;this.options$=new $n([]);this.filterText$=new $n("");this.filteredOptions$=si([this.options$,this.filterText$]).pipe(C(function(c){var d=l(c);c=d.next().value;var e=d.next().value;return b.filterFunction!==void 0&&b.filterFunction!==null?c.filter(function(f){return b.filterFunction(e,f)}):c}));this.valueChange=new Lp;this.selected=new Lp;this.destroyed$=
new nj(1);a&&this.handleKeydown(a.keydown$)};g=bU.prototype;g.ngOnInit=function(){};g.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};g.ngAfterViewInit=function(){this.keyManager=dz(cz(new hz(this.viewOptions)))};g.ngOnChanges=function(a){a.value&&xZc(this);a.options&&this.options$.next(this.options)};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 xZc=function(a){if(a.keyManager)if(a.includeEmptyOption&&a.isSelected(a.emptyOptionValue))a.keyManager.setActiveItem(0);else{var b=a.options.findIndex(function(c){return a.isSelected(c)});b!==-1&&(a.keyManager.setActiveItem(a.includeEmptyOption?b+1:b),yZc(a))}};bU.prototype.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&this.keyManager.setActiveItem(-1)};
bU.prototype.handleKeydown=function(a){var b=this;a.pipe(tj(this.destroyed$)).subscribe(function(c){if(!b.disabled&&b.keyManager){var d=c.code;d==="ArrowUp"||d==="ArrowDown"?(c.preventDefault(),b.keyManager.onKeydown(c),yZc(b)):d==="Home"||d==="End"?(c.preventDefault(),d==="Home"?b.keyManager._setActiveItemByIndex(0,1):woc(b.keyManager),yZc(b)):d!=="Enter"&&d!=="Space"||!b.keyManager.activeItem||(c.preventDefault(),b.select(b.keyManager.activeItem.option))}})};
var yZc=function(a){var b,c;if(a=(b=a.keyManager)==null?void 0:(c=b.activeItem)==null?void 0:c.id){var d;(d=document.getElementById(a))==null||d.scrollIntoView({block:"nearest"})}};bU.\u0275fac=function(a){return new (a||bU)(Ui(gP,8))};
bU.\u0275cmp=F({type:bU,selectors:[["onedev-selectable-list"]],viewQuery:function(a,b){a&1&&ek($T,5);if(a&2){var c;ik(c=jk())&&(b.viewOptions=c)}},hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(a,b){a&1&&Q("focus",function(){return xZc(b)})("blur",function(){return b.clearActiveItem()});a&2&&(a=b.keyManager&&b.keyManager.activeItem?b.keyManager.activeItem.id:void 0,Hj("aria-activedescendant",a)("aria-disabled",b.disabled)("aria-label",b.label))},inputs:{value:"value",options:"options",
optionTemplate:"optionTemplate",disabled:"disabled",includeEmptyOption:"includeEmptyOption",emptyOptionValue:"emptyOptionValue",label:"label",showFilterBar:"showFilterBar",filterFunction:"filterFunction"},outputs:{valueChange:"valueChange",selected:"selected"},standalone:!1,features:[$w],decls:3,vars:4,consts:[["filterEl",""],["optionDisplay",""],["customOptionDisplay",""],["emptyOption",""],["class","filter-bar","onedevListOption","",4,"ngIf"],[4,"ngIf"],["onedevListOption","",1,"filter-bar"],["xmlns",
"http://www.w3.org/2000/svg","viewBox","0 0 24 24"],["d","M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"],["placeholder","Type to filter","spellcheck","false",3,"input"],["role","option","onedevListOption","",3,"option","click",4,"ngIf"],[4,"ngFor","ngForOf"],["role","option","onedevListOption","",3,"click","option"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],["aria-label","empty"]],template:function(a,b){a&1&&(G(0,Xeb,5,0,"div",4)(1,jfb,5,2,"ng-container",5),W(2,"async"));
a&2&&(K("ngIf",b.showFilterBar),E(),K("ngIf",X(2,2,b.filteredOptions$)))},dependencies:[my,ny,oy,$T,py],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)}.filter-bar[_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);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;border-bottom:1px solid var(--hairline,#dadce0)}.filter-bar[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{height:18px;width:18px;color:var(--icon,#5f6368);fill:currentColor}.filter-bar[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:none;background-color:var(--surface-default,#fff);color:var(--text-default,#202124);outline:none;width:100%;padding-left:4px}"],
changeDetection:0});var zZc=["trigger"],lfb=function(a){return{$implicit:a}},AZc=0,cU=function(){this.includeEmptyOption=this.disabled=!1;this.emptyOptionValue=void 0;this.showFilterBar=!1;this.popupMaxHeight=300;this.label="";this.valueChange=new Lp;this.closed=new Lp;this.displayArrowIcon=!0;this.openPopupOnInit=!1;this.required=Hk.apply(null,[!1].concat(p([])));this.focused=!1;this.contentId="onedev-single-select-"+AZc;this.onChange=function(){};this.onTouched=function(){};AZc++};Y(cU,IT);g=cU.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 BZc=function(a){var b="";a.label&&(b+=a.label+", ");a.required()&&(b+="required, ");return b};cU.prototype.setDisabledState=function(a){this.disabled=a};pg.Object.defineProperties(cU.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});cU.\u0275fac=function(a){return new (a||cU)};
cU.\u0275cmp=F({type:cU,selectors:[["onedev-single-select"]],viewQuery:function(a,b){a&1&&ek(zZc,7);if(a&2){var c;ik(c=jk())&&(b.popupTrigger=c.first)}},inputs:{value:"value",options:"options",disabled:"disabled",includeEmptyOption:"includeEmptyOption",emptyOptionValue:"emptyOptionValue",showFilterBar:"showFilterBar",filterFunction:"filterFunction",popupMaxHeight:"popupMaxHeight",label:"label",labelledById:"labelledById",valueTemplate:"valueTemplate",optionTemplate:"optionTemplate",displayArrowIcon:"displayArrowIcon",
openPopupOnInit:"openPopupOnInit",required:[1,"required"]},outputs:{valueChange:"valueChange",closed:"closed"},standalone:!1,features:[Bk([{provide:cG,useExisting:$g(function(){return cU}),multi:!0},{provide:IT,useExisting:$g(function(){return cU}),multi:!0}]),xj],decls:13,vars:22,consts:[["trigger","onedevPopupPanelTrigger"],["optionTemplateOrTextLabel",""],["textLabel",""],["panel","onedevPopupPanel"],["emptyValue",""],["type","button","onedevPopupPanelTrigger","",3,"focus","blur","click","closed",
"onedevPopupPanelTriggerDisabled","disabled","onedevPopupPanelTriggerFor"],[1,"cdk-visually-hidden"],[4,"ngIf","ngIfElse"],["class","arrow-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],["onedevKeyEventReceiver","",3,"relayOnly"],["tabindex","0",1,"single-select-panel",3,"valueChange","selected","value","includeEmptyOption","emptyOptionValue","options","optionTemplate","label","showFilterBar","filterFunction"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["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=y();L(0,"button",5,0);Q("focus",function(){z(c);return B(b.focused=!0)})("blur",function(){z(c);return B(b.focused=!1)})("click",function(){z(c);var e=T(1);return B(e.open())})("closed",function(){z(c);b.closed.emit();b.onTouched();return B()});L(2,"span",6);U(3);M();G(4,mfb,2,4,"ng-container",7)(5,pfb,1,2,"ng-template",null,1,Gk)(7,sfb,3,2,"ng-template",
null,2,Gk)(9,tfb,2,0,"svg",8);M();L(10,"onedev-popup-panel",9,3)(12,"onedev-selectable-list",10);Q("valueChange",function(e){z(c);return B(b.onSelectionChange(e))})("selected",function(){z(c);var e=T(1);return B(e.close())});M()()}if(a&2){a=T(6);var d=T(11);rk("active",b.isActive());K("onedevPopupPanelTriggerDisabled",b.disabled)("disabled",b.disabled)("onedevPopupPanelTriggerFor",d);Hj("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());E(3);tk(BZc(b));E();K("ngIf",b.valueTemplate)("ngIfElse",
a);E(5);K("ngIf",b.displayArrowIcon);E();K("relayOnly",!0);E(2);qk("max-height",b.popupMaxHeight,"px");K("value",b.value)("includeEmptyOption",b.includeEmptyOption)("emptyOptionValue",b.emptyOptionValue)("options",b.options)("optionTemplate",b.optionTemplate)("label",b.label)("showFilterBar",b.showFilterBar)("filterFunction",b.filterFunction)}},dependencies:[ny,oy,gP,bU,hP,iP],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}.single-select-panel[_ngcontent-%COMP%]:focus{outline:0}"]});var Bfb=function(){return[]},dU=function(){this.data=x(dI);this.dialogRef=x(YH);this.customFields=[];this.originalCustomFields=new Map;this.repeatedCustomFieldsMap=new Map;this.issues=this.data;this.bulkEditOps=[]};g=dU.prototype;
g.ngOnInit=function(){for(var a=new Map,b=null,c=l(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=l(Object.keys(d)),h=f.next();!h.done;h=f.next())h=h.value,b.set(Bd(h),e[h]||void 0)}f=l(b);for(h=f.next();!h.done;h=f.next()){var k=l(h.value);h=k.next().value;k=k.next().value;var q=d[h],u=e[h],A=void 0,D=(A=q)==null?void 0:A.type;if(q)if(D==="REPEATED_DATE"||D==="REPEATED_ENUM"||D==="REPEATED_NUMERIC"||D==="REPEATED_TEXT"){k=
this.repeatedCustomFieldsMap.get(h)||new Map;q=k.size===0;u=CZc(u);A=Array.from(k.keys()).concat(u);A=l(A);for(D=A.next();!D.done;D=A.next())D=D.value,u.includes(D)?k.has(D)||k.set(D,q||null):k.set(D,null);this.repeatedCustomFieldsMap.set(h,k)}else(!u&&k!==void 0||u&&!vd(u,k))&&b.set(h,null);else b.delete(h)}d=l(Object.entries(d));for(e=d.next();!e.done;e=d.next())f=l(e.value),e=f.next().value,f=f.next().value,a.set(Number(e),wd(f))}this.customFields=Array.from(b.keys(),function(H){return a.get(H)}).filter(function(H){return H});
this.customFields=this.customFields.map(function(H){var O=b.get(H.customFieldId);H.hasMultipleValues=O===null;O?H=Object.assign(O,H):H.hasMultipleValues||H.type!=="ENUM"||(H.enumValue="");return H});c=l(this.customFields);for(d=c.next();!d.done;d=c.next())d=d.value,this.originalCustomFields.set(d.customFieldId,wd(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 wfb=function(a){return"bv2-custom-field-"+a.customFieldId+"-label"},CZc=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()}):[]},zfb=function(a){return a?Lo(a):null},Dfb=function(a,b,c){for(var d=l(a.bulkEditOps),e=d.next();!e.done;e=d.next())e=e.value,e.actions=e.actions.filter(function(A){return A.customFieldValue.customFieldId!==
b});a.bulkEditOps=a.bulkEditOps.filter(function(A){return A.actions.length});if(c.valueChanged){d=l(a.issues);var f=d.next();for(e={};!f.done;e={issueValues$jscomp$1:void 0,action$jscomp$130:void 0},f=d.next()){f=f.value;var h=Uda(f.customFieldValueMap,function(A){return A.customFieldId===b});e.issueValues$jscomp$1=CZc(h);c.valueMap.forEach(function(A){return function(D,H){D&&!A.issueValues$jscomp$1.includes(H)?A.issueValues$jscomp$1.push(H):D===!1&&(A.issueValues$jscomp$1=A.issueValues$jscomp$1.filter(function(O){return O!==
H}))}}(e));h=a.originalCustomFields.get(b).type;var k=[],q=[];h=="REPEATED_DATE"?k=e.issueValues$jscomp$1.map(function(A){return DEa(Cd(A))}):h=="REPEATED_NUMERIC"&&(q=e.issueValues$jscomp$1.map(function(A){return Number(A)}));var u={customFieldId:b};switch(h){case "REPEATED_TEXT":u.repeatedTextValue={values:e.issueValues$jscomp$1};break;case "REPEATED_DATE":u.repeatedDateValue={values:k};break;case "REPEATED_ENUM":u.repeatedEnumValue={values:e.issueValues$jscomp$1};break;case "REPEATED_NUMERIC":u.repeatedNumericValue=
{values:q}}e.action$jscomp$130={fieldName:"customField",customFieldValue:u,actionType:No(u)?"REMOVE":"ADD"};h=a.bulkEditOps.findIndex(function(A){return function(D){return D.actions.some(function(H){return vd(A.action$jscomp$130,H)})}}(e));h!==-1?a.bulkEditOps[h].issueIds.push(f.issueId):a.bulkEditOps.push({actions:[e.action$jscomp$130],issueIds:[f.issueId]})}}},DZc=function(a){var b=a.customFields.filter(function(k){return!k.type.includes("REPEATED")&&!vd(k,a.originalCustomFields.get(k.customFieldId))}),
c=[];b=l(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d={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=(f=e.numericValue)!=null?f:void 0}if(e=No(d))d.textValue="";c.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}if(c.length){var h=a.issues.map(function(k){return k.issueId});b=a.bulkEditOps.findIndex(function(k){a:if(k=
k.issueIds,Ka(h)&&Ka(k)&&h.length==k.length){for(var q=h.length,u=0;u<q;u++)if(h[u]!==k[u]){k=!1;break a}k=!0}else k=!1;return k});b!==-1?a.bulkEditOps[b].actions=a.bulkEditOps[b].actions.concat(c):a.bulkEditOps.push({actions:c,issueIds:h})}};dU.\u0275fac=function(a){return new (a||dU)};
dU.\u0275cmp=F({type:dU,selectors:[["b-bulk-custom-field-dialog"]],standalone:!1,decls:11,vars:1,consts:[["mat-dialog-title",""],[1,"bv2-create-adv-field"],["mat-button","","mat-dialog-close","","type","button",3,"class"],["mat-flat-button","","type","button","color","primary",1,"medium","dialog-primary-action","save",3,"click"],[1,"bv2-top-field-label"],["matTooltipPosition","right",3,"matTooltip"],["name","customInput","placeholder","no value","type","text",3,"ngModel"],["step","any","name","customInput",
"type","number",3,"ngModel"],[3,"value","options","labelledById"],[3,"type","originalValueMap","enumChoices"],["name","customInput","placeholder","no value","type","text",3,"ngModelChange","ngModel"],["step","any","name","customInput","type","number",3,"ngModelChange","ngModel"],[3,"valueChange","value","required","customAriaLabelledBy","customFormId"],[3,"valueChange","value","options","labelledById"],[3,"onSave","type","originalValueMap","enumChoices"],["title","Clear values",3,"click"]],template:function(a,
b){a&1&&(L(0,"h2",0),U(1,"Update custom fields"),M(),L(2,"mat-dialog-content"),I(3,ufb,2,0,"div"),Mj(4,Hfb,7,5,"div",1,Lj),M(),L(6,"mat-dialog-actions")(7,"button",2),Q("class",function(){return b.dialogRef.close()}),U(8,"Cancel"),M(),L(9,"button",3),Q("click",function(){DZc(b);b.bulkEditOps.length?b.dialogRef.close(b.bulkEditOps):b.dialogRef.close()}),U(10," Save "),M()());a&2&&(E(3),J(b.customFields.length===0?3:-1),E(),Nj(b.customFields))},dependencies:[fI,hI,jI,iI,cU,ZT,Bp,qG,hG,oG,YT,dA,aA,YF,
WF],encapsulation:2});var Lfb=function(){return[]},eU=function(){this.disabled=this.readonly=!1;this.save=new iE},EZc=function(a){return a.issue.customFieldMap[a.field.customFieldId]};eU.prototype.getDisplayValue=function(){var a,b,c=(b=(a=EZc(this).displayValues)==null?void 0:a[0])!=null?b:null;c==="0.0"&&(c="0");return c};eU.prototype.getTooltip=function(){var a=this.field.customFieldId;a=this.field.shared?"(Shared Field "+a+". see go/b-scf)":"[ID: "+a+"]";var b;return((b=this.field.description)!=null?b:"")+" "+a};
var Kfb=function(a){return(a=Mo(EZc(a)))&&a.values===void 0?a:null},Ifb=function(a){return(a=Mo(EZc(a)))&&a.values!==void 0?a.values:null};pg.Object.defineProperties(eU.prototype,{isShared:{configurable:!0,enumerable:!0,get:function(){return this.field.shared}}});eU.\u0275fac=function(a){return new (a||eU)};
eU.\u0275cmp=F({type:eU,selectors:[["b-custom-field-editor"]],viewQuery:function(a,b){a&1&&ek(qN,5);if(a&2){var c;ik(c=jk())&&(b.editField=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&rk("is-shared-field",b.isShared)},inputs:{issue:"issue",field:"field",readonly:"readonly",disabled:"disabled"},outputs:{save:"save"},standalone:!1,decls:1,vars:1,consts:[[3,"readonly","defaultLineCount","title","type","customFieldId","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled"],
[3,"readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","customFieldId"],[3,"valuesChange","readonly","defaultLineCount","title","type","customFieldId","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled"],[3,"valueChange","readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","customFieldId"]],template:function(a,b){a&1&&I(0,Nfb,2,1);if(a&
2){var c;J((c=EZc(b))?0:-1,c)}},dependencies:[wO,qN],encapsulation:2});var fU=function(){};fU.\u0275fac=function(a){return new (a||fU)};fU.\u0275mod=Zi({type:fU});fU.\u0275inj=Eg({imports:[jC,xO,sN]});var Ofb=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.lastModifier=
this.ccCount=this.collaboratorCount=this.duplicateCount=this.voteCount=null;this.isClosed=this.isRead=this.selected=!1;this.escalationOwner=this.issueAccessLevel=this.sloEndTime=this.sloStartTime=this.sloStatus=this.position=this.effort=null};var gU=function(){Z.apply(this,arguments);var a=this;this.componentFridge=x(AB);this.editIssueService=x(XI);this.issueFridge=x(MD);this.matDialog=x(eI);this.paramsService=x(wF);this.triageService=x(TH);this.hasMultipleIssues=!1;this.subphase=this.phase=void 0;this.onCustomFieldBulkEdit=new iE;this.issueId$=this.triageService.currentIssueId$;this.issueIds$=this.triageService.currentIssueIds$;this.teamId=this.paramsService.params.teamId;this.triageViewId=this.paramsService.params.triageId;this.issues$=
this.issueIds$.pipe(sj(function(b){return a.issueFridge.watchSet(b)}));this.components$=this.issues$.pipe(sj(function(b){b=b.map(function(c){return c.snapshot[0].componentId}).filter(function(c){return c!==null});return a.componentFridge.watchSet(b)}));this.bulkEditUpdate$=new $n([]);this.issueRows$=si([this.issues$,this.components$]).pipe(C(function(b){b=l(b);var c=b.next().value;b=b.next().value;var d=[];c=l(c);for(var e=c.next(),f={};!e.done;f={issue$jscomp$239:void 0},e=c.next())f.issue$jscomp$239=
e.value,e=b.find(function(h){return function(k){return k.componentId===h.issue$jscomp$239.snapshot[0].componentId}}(f)),d.push(Qfb(f.issue$jscomp$239,e));return d}));this.updatedIssueRows$=si([this.issueRows$,this.bulkEditUpdate$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return c.length?FZc(b,c):b}));this.customFieldConfigs$=HCc(this.triageService.triageDataFactory.get(this.teamId,this.triageViewId),this.phase,this.subphase);this.visibleCustomFields$=this.issueId$.pipe(sj(function(b){return b?
a.editIssueService.issueFields(b).visibleCustomFields$:li(void 0)}));this.customFields$=si([this.visibleCustomFields$,this.customFieldConfigs$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;var d=(c==null?void 0:c.map(function(e){return e.customFieldId}))||[];if(b=b==null?void 0:b.filter(function(e){return d.includes(String(e.customFieldId))}))return b}),pj({refCount:!0,bufferSize:1}))};Y(gU,Z);gU.\u0275dir=Z.\u0275dir;
gU.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.customFieldConfigs$.subscribe(function(b){if(b){b=l(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a.editableIssue.setCustomFieldValue(Number(c.customFieldId),c.defaultValues[0].value)}}))};
var Rfb=function(a,b){var c,d;return v(function(e){if(e.nextAddress==1)return c=a.matDialog.open(dU,{data:b,width:"500px"}),w(e,pi(ZH(c)),2);d=e.yieldResult;if(!d)return e.return();a.onCustomFieldBulkEdit.emit(d);a.bulkEditUpdate$.next(d);ji(e)})};gU.prototype.updateCustomField=function(a,b){this.editableIssue.setCustomField(a,b)};
var FZc=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=d.issueIds;d=l(d.actions);for(var e=d.next();!e.done;e=d.next())if(e=e.value,e.fieldName==="customField"&&(e=e.customFieldValue))for(var f=e.customFieldId,h=l(c),k=h.next(),q={};!k.done;q={issueId$jscomp$334:void 0},k=h.next())q.issueId$jscomp$334=k.value,(k=a.find(function(u){return function(A){return A.issueId===u.issueId$jscomp$334}}(q)))&&(k.customFieldValueMap[f]=e)}return a};
gU.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(gU)))(b||gU)}}();
gU.\u0275cmp=F({type:gU,selectors:[["triage-custom-fields-editor"]],inputs:{editableIssue:"editableIssue",hasMultipleIssues:"hasMultipleIssues",phase:"phase",subphase:"subphase"},outputs:{onCustomFieldBulkEdit:"onCustomFieldBulkEdit"},standalone:!1,features:[xj],decls:2,vars:1,consts:[[1,"bv2-issue-metadata-list-field","bv2-issue-metadata-field"],[1,"bv2-issue-metadata-field-inner","align-items-center"],[1,"bv2-editable-title"],["type","button","mat-button","",1,"gmat-button",3,"click"],[3,"issue",
"field"],[3,"save","issue","field"]],template:function(a,b){a&1&&I(0,Tfb,2,3)(1,Vfb,3,2);a&2&&J(b.hasMultipleIssues?0:1)},dependencies:[eU,dA,aA,py],encapsulation:2,changeDetection:0});var GZc=["input"],hU=function(){this.internalValue="";this.autocompleteConfigService=x(wP);this.destroyRef=x(Cj);this.darkmodeService=x(vP);this.refresh$=Ci(this.darkmodeService.clientDarkmode$).pipe(C(function(){}));this.wordInfo={wordStart:0,wordEnd:0,word:""};this.placeholder=this.ariaLabel="";this.candidateDenylist=[];this.sessionOptions=(new xt).setFilter(NPc);this.valueChange=new iE};g=hU.prototype;
g.handleSelectionChange=function(a){var b,c=(b=this.inputRef)==null?void 0:b.nativeElement;c&&(this.findWordAroundCursor(),a=OPc(a).join(", "),HZc.test(c.value.substring(this.wordInfo.wordEnd))||(a+=", "),c.setRangeText(a,this.wordInfo.wordStart,this.wordInfo.wordEnd),c.selectionStart=this.wordInfo.wordStart+a.length,c.selectionEnd=this.wordInfo.wordStart+a.length,this.emitValueChange())};g.emitValueChange=function(){var a,b=(a=this.inputRef)==null?void 0:a.nativeElement;b&&this.valueChange.emit(b.value)};
g.focus=function(){var a;(a=this.inputRef)==null||a.nativeElement.focus()};g.cancel=function(){this.manualAutocomplete.cancel()};g.findWordAroundCursor=function(){var a,b=(a=this.inputRef)==null?void 0:a.nativeElement.selectionStart;a=this.wordInfo;var c,d;this.wordInfo=b1a((d=(c=this.inputRef)==null?void 0:c.nativeElement.value)!=null?d:"",b!=null?b:0);return a.word!==this.wordInfo.word||a.wordStart!==this.wordInfo.wordStart||a.wordEnd!==this.wordInfo.wordEnd};
pg.Object.defineProperties(hU.prototype,{value:{configurable:!0,enumerable:!0,set:function(a){this.internalValue=a}}});hU.\u0275fac=function(a){return new (a||hU)};
hU.\u0275cmp=F({type:hU,selectors:[["b-peoplekit-multi"]],viewQuery:function(a,b){a&1&&(ek(GZc,5),ek(tQ,5));if(a&2){var c;ik(c=jk())&&(b.inputRef=c.first);ik(c=jk())&&(b.manualAutocomplete=c.first)}},hostBindings:function(a,b){a&1&&Q("selectionchange",function(){b.inputRef&&document.activeElement===b.inputRef.nativeElement&&b.findWordAroundCursor()&&b.manualAutocomplete.cancel()},Sla)},inputs:{ariaLabel:"ariaLabel",placeholder:"placeholder",candidateDenylist:"candidateDenylist",value:"value"},outputs:{valueChange:"valueChange"},
standalone:!1,decls:1,vars:1,consts:[["input",""],[3,"refreshable"],["type","text","autocomplete","off","spellcheck","off","aria-expanded","true","peoplekitManualAutocomplete","",3,"input","blur","peoplekitAutocompleteSelectionChange","placeholder","ngModel","peoplekitAutocompleteConfig","peoplekitSearchSessionOptions"]],template:function(a,b){a&1&&G(0,Wfb,2,5,"ng-template",1);a&2&&K("refreshable",b.refresh$)},dependencies:[Bp,hG,oG,ML,tQ],styles:["input[_ngcontent-%COMP%] {width: 100%}"],changeDetection:0});
var HZc=/^\s*,/u;var IZc=["peoplekitMulti"],iU=function(){this.cdr=x(sx);this.activeSession=x(Ks);this.destroyRef=x(Cj);this.autocompleteConfigService=x(wP);this.actionName="Addition";this.inputValidator=null;this.title="";this.onAddItems=new iE;this.onCancel=new iE;this.newlySelectedUsersString=this.invalidMessage=""};
iU.prototype.textPopupSubmit=function(a){var b=this,c,d;return v(function(e){c=b.newlySelectedUsersString;d=wi(function(){return b.inputValidator?b.inputValidator(c):li("")});d.pipe(hj(1),vp(b.destroyRef)).subscribe(function(f){b.invalidMessage=f;if(a.valid&&!b.invalidMessage){a==null||a.reset();var h;(h=b.peoplekitMulti)==null||h.focus();b.onAddItems.emit(c);b.newlySelectedUsersString=""}b.cdr.markForCheck()});ji(e)})};iU.\u0275fac=function(a){return new (a||iU)};
iU.\u0275cmp=F({type:iU,selectors:[["b-person-lookup-form"]],viewQuery:function(a,b){a&1&&ek(IZc,5,hU);if(a&2){var c;ik(c=jk())&&(b.peoplekitMulti=c.first)}},inputs:{actionName:"actionName",isAllowedToEditCollection:"isAllowedToEditCollection",inputValidator:"inputValidator",title:"title"},outputs:{onAddItems:"onAddItems",onCancel:"onCancel"},standalone:!1,decls:11,vars:11,consts:[["textPopupForm","ngForm","formEl",""],["peoplekitMulti",""],[3,"ngSubmit"],["aria-expanded","true",3,"valueChange"],
[1,"bv2-list-field-addition-dialog-buttons"],["mat-flat-button","","type","submit",1,"medium","field-popup-button",3,"disabled"],["svgIcon","done"],["mat-stroked-button","","type","button",1,"medium","field-popup-button",3,"click"],["svgIcon","close"]],template:function(a,b){if(a&1){var c=y();L(0,"form",2,0);Q("ngSubmit",function(){z(c);var d=T(1),e=T(2);return B(b.textPopupSubmit(d,e))});L(3,"b-peoplekit-multi",3,1);Q("valueChange",function(d){z(c);return B(b.newlySelectedUsersString=d)});M();L(5,
"div",4)(6,"button",5);N(7,"mat-icon",6);M();L(8,"button",7);Q("click",function(){z(c);return B(b.onCancel.emit())});N(9,"mat-icon",8);M()();I(10,Xfb,2,4,"mat-error");M()}a&2&&(a=T(1),E(3),Hj("aria-label",Ak("",b.actionName," to ",b.title)),E(3),Hj("aria-label",Ak("Apply ",b.actionName," to ",b.title)),K("disabled",!a.valid||!b.isAllowedToEditCollection),E(2),Hj("aria-label",Ak("Discard ",b.actionName," to ",b.title)),E(2),J(b.invalidMessage?10:-1))},dependencies:[EA,pG,iG,mG,dA,aA,WG,hU],encapsulation:2,
changeDetection:0});var JZc=["addButton"],KZc=["removeButton"],jU=function(){this.inputValidator=null;this.title=this.subtitle="";this.addCurrentUser=new iE;this.removeCurrentUser=new iE;this.onAddUsers=new iE;this.onRemoveUsers=new iE};jU.prototype.closeAddPopup=function(){var a,b=l((a=this.popupTriggers)!=null?a:[]);for(a=b.next();!a.done;a=b.next())this.closeInlineDialog(a.value)};var $fb=function(a){var b,c=l((b=a.popupTriggers)!=null?b:[]);for(b=c.next();!b.done;b=c.next())a.closeInlineDialog(b.value)};
jU.prototype.handleAddItems=function(a){Zfb(a,this.onAddUsers);this.closeAddPopup()};jU.prototype.closeInlineDialog=function(a){a.disabled||(a.disabled=!0,a.disabled=!1)};var Zfb=function(a,b){a&&(a=a.split(/[,; ]/).filter(function(c){return!!c}),a.length&&b.emit(a))};jU.\u0275fac=function(a){return new (a||jU)};
jU.\u0275cmp=F({type:jU,selectors:[["triage-edit-user-buttons"]],viewQuery:function(a,b){a&1&&(ek(JZc,5),ek(KZc,5),ek(jO,5));if(a&2){var c;ik(c=jk())&&(b.addButtonEl=c.first);ik(c=jk())&&(b.removeButtonEl=c.first);ik(c=jk())&&(b.popupTriggers=c)}},inputs:{inputValidator:"inputValidator",isAllowedToEditCollection:"isAllowedToEditCollection",subtitle:"subtitle",title:"title"},outputs:{addCurrentUser:"addCurrentUser",removeCurrentUser:"removeCurrentUser",onAddUsers:"onAddUsers",onRemoveUsers:"onRemoveUsers"},
standalone:!1,decls:22,vars:12,consts:[["addButton",""],["removeButton",""],["addUsersPopup",""],["removeUsersPopup",""],[1,"bv2-issue-metadata-list-field","bv2-issue-metadata-field"],[1,"bv2-issue-metadata-field-inner","align-items-center"],[1,"bv2-editable-title"],[1,"subtitle"],[1,"flex-kids-x","gap"],["type","button","mat-button","",1,"small",3,"xapInlineDialogClick","dialogLabel"],["type","button","mat-button","",1,"gmat-button","small",3,"click","disabled"],[3,"onAddItems","onCancel","actionName",
"inputValidator","isAllowedToEditCollection","title"]],template:function(a,b){if(a&1){var c=y();L(0,"div",4)(1,"div",5)(2,"div",6)(3,"label");U(4);M()();L(5,"div",7);U(6);M();L(7,"div",8)(8,"button",9,0);U(10," Add ");M();L(11,"button",9,1);U(13," Remove ");M();L(14,"button",10);Q("click",function(){z(c);return B(b.addCurrentUser.emit())});U(15," Add me ");M();L(16,"button",10);Q("click",function(){z(c);return B(b.removeCurrentUser.emit())});U(17," Remove me ");M()()()();G(18,Yfb,3,4,"ng-template",
null,2,Gk)(20,agb,3,4,"ng-template",null,3,Gk)}if(a&2){a=T(19);var d=T(21);E(4);V(" ",b.title," ");E(2);tk(b.subtitle);E(2);K("dialogLabel",zk("Add users to ",b.title))("xapInlineDialogClick",a);E(3);K("dialogLabel",zk("Remove users from ",b.title))("xapInlineDialogClick",d);E(3);K("disabled",!b.isAllowedToEditCollection);Hj("aria-label","Add me to "+b.title);E(2);K("disabled",!b.isAllowedToEditCollection);Hj("aria-label","Remove me from "+b.title)}},dependencies:[dA,aA,iU,fO,eO,jO],styles:[".subtitle[_ngcontent-%COMP%]{cursor:default}.subtitle[_ngcontent-%COMP%]:hover{cursor:default}\n/*# sourceMappingURL=edit_user_buttons.css.map */"],
changeDetection:0});var igb=function(a,b){return b.name},kU=function(){Z.apply(this,arguments);var a=this;this.hotlistPickerService=x(aS);this.issueFullFridge=x(pE);this.paramsService=x(wF);this.triageService=x(TH);this.issueRecommendationFridge=x(sE);this.analytics=x(nE);this.hotlistIdsChange=new iE;this.hotlistIdsMapChange=new iE;this.areAllHotlistsEqual=!0;this.hasMultipleIssues=!1;this.hotlistIdSet=new Set;this.selectedHotlistIdsMap=new Map;this.subphase=this.phase=void 0;this.triageViewId=this.paramsService.params.triageId;
this.teamId=this.paramsService.params.teamId;this.issueId$=this.triageService.currentIssueId$.pipe(Di(fe),jj());this.issue$=this.issueId$.pipe(sj(function(b){return a.issueFullFridge.watch(b)}));this.issueIds$=this.triageService.currentIssueIds$.pipe(Di(fe),jj());this.issues$=this.issueIds$.pipe(sj(function(b){return a.issueFullFridge.watchSet(b)}));this.recommendations$=this.issueId$.pipe(sj(function(b){return a.issueRecommendationFridge.watch(b+"-HOTLIST")}),C(function(b){return((b==null?void 0:
b.recommendations)||[]).filter(function(c){return c.confidence==="VERY_HIGH"}).filter(fe).slice(0,2)}))};Y(kU,Z);kU.\u0275dir=Z.\u0275dir;
kU.prototype.ngOnInit=function(){var a=this,b,c,d,e,f,h,k,q,u,A,D,H,O,P,S;return v(function(aa){if(aa.nextAddress==1)return w(aa,pi(a.issue$),2);if(aa.nextAddress!=3)return b=aa.yieldResult,w(aa,pi(a.issues$),3);d=(c=aa.yieldResult)!=null?c:[];a.hasMultipleIssues=d.length>1;q=(k=(e=b)==null?void 0:(f=e.snapshot[0])==null?void 0:(h=f.hotlistId)==null?void 0:h.map(String))!=null?k:[];a.hotlistIdSet=new Set(q);a.hotlistIdsChange.emit([].concat(p(a.hotlistIdSet)));u=l(d);for(A=u.next();!A.done;A=u.next())D=
A.value,P=O=H=void 0,S=(P=(H=D)==null?void 0:(O=H.snapshot[0])==null?void 0:O.hotlistId)!=null?P:[],a.selectedHotlistIdsMap.set(D.issueId.toString(),new Set(S.map(String)));a.areAllHotlistsEqual=LZc(a);a.subscriptions.add(ICc(a.triageService.triageDataFactory.get(a.teamId,a.triageViewId),a.phase,a.subphase).subscribe(function(ia){var la=[],ya=[];ia=l(ia);for(var Ia=ia.next();!Ia.done;Ia=ia.next())Ia=Ia.value,Ia.operation==="ADD"&&la.push.apply(la,p(Ia.hotlistIds)),Ia.operation==="REMOVE"&&ya.push.apply(ya,
p(Ia.hotlistIds));la.length&&a.addHotlists(la);ya.length&&a.removeHotlists(ya)}));a.subscriptions.add(a.recommendations$.pipe(hj(1)).subscribe(function(ia){ia.length>0&&a.analytics.trackEvent("hotlistRecommendation","display","Triage")}));ji(aa)})};kU.prototype.openHotlistModal=function(){this.hasMultipleIssues?kgb(this):MZc(this)};
var MZc=function(a){var b,c,d,e,f;v(function(h){if(h.nextAddress==1)return w(h,pi(a.issueId$),2);if(h.nextAddress!=3)return b=h.yieldResult,w(h,$Uc(a.hotlistPickerService,b,[].concat(p(a.hotlistIdSet)).map(Number),!1),3);c=h.yieldResult;if(!c)return h.return();d=c;e=d.addedIds;f=d.removedIds;e.length>0&&a.addHotlists(e);f.length>0&&a.removeHotlists(f);ji(h)})},kgb=function(a){var b,c,d,e,f,h,k,q,u,A,D,H,O;return v(function(P){if(P.nextAddress==1)return w(P,pi(a.issueIds$),2);if(P.nextAddress!=3){b=
P.yieldResult;c=new Map;d=l(a.selectedHotlistIdsMap.entries());for(e=d.next();!e.done;e=d.next())f=e.value,h=l(f),k=h.next().value,q=h.next().value,u=k,A=q,c.set(u,new Set([].concat(p(A)).map(Number)));return w(P,eVc(a.hotlistPickerService,c),3)}D=P.yieldResult;if(!D)return P.return();NZc(a,D);a.areAllHotlistsEqual=LZc(a);a.areAllHotlistsEqual&&((H=a.selectedHotlistIdsMap.get(b[0]))?(O=[].concat(p(H)).map(String),a.hotlistIdSet=new Set(O)):a.hotlistIdSet.clear());ji(P)})};
kU.prototype.addHotlists=function(a){for(var b=l(a),c=b.next();!c.done;c=b.next())this.hotlistIdSet.add(c.value);this.updateSelectedHotlists(function(d){for(var e=l(a),f=e.next();!f.done;f=e.next())d.add(f.value)});this.hotlistIdsChange.emit([].concat(p(this.hotlistIdSet)))};kU.prototype.removeHotlists=function(a){for(var b=l(a),c=b.next();!c.done;c=b.next())this.hotlistIdSet.delete(c.value);this.updateSelectedHotlists(function(d){for(var e=l(a),f=e.next();!f.done;f=e.next())d.delete(f.value)});this.hotlistIdsChange.emit([].concat(p(this.hotlistIdSet)))};
var egb=function(a,b){var c,d,e,f=b==null?void 0:(c=b.content)==null?void 0:(d=c.recommendedHotlist)==null?void 0:(e=d.hotlistId)==null?void 0:e.toString();f&&!a.hotlistIdSet.has(f)&&a.hotlistIdSet.add(f);a.updateSelectedHotlists(function(h){f&&h.add(f)});a.hotlistIdsChange.emit([].concat(p(a.hotlistIdSet)))},LZc=function(a){if(a.selectedHotlistIdsMap.size<2)return!0;var b=[].concat(p(a.selectedHotlistIdsMap.values()));a=b[0];b=l(b);for(var c=b.next();!c.done;c=b.next())if(!Aea(a,c.value))return!1;
return!0},NZc=function(a,b){b=b.issueMapDiffs;for(var c=l(b.values()),d=c.next(),e={};!d.done;e={added$jscomp$11:void 0,removed$jscomp$8:void 0},d=c.next())d=d.value,e.added$jscomp$11=d.added,e.removed$jscomp$8=d.removed,a.updateSelectedHotlists(function(f){return function(h){for(var k=l(f.added$jscomp$11),q=k.next();!q.done;q=k.next())h.add(q.value.toString());k=l(f.removed$jscomp$8);for(q=k.next();!q.done;q=k.next())h.delete(q.value.toString())}}(e));a.hotlistIdsMapChange.emit(b)};
kU.prototype.updateSelectedHotlists=function(a){var b=[].concat(p(this.selectedHotlistIdsMap.values()));b=l(b);for(var c=b.next();!c.done;c=b.next())a(c.value)};kU.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(kU)))(b||kU)}}();
kU.\u0275cmp=F({type:kU,selectors:[["triage-hotlists-editor"]],inputs:{phase:"phase",subphase:"subphase"},outputs:{hotlistIdsChange:"hotlistIdsChange",hotlistIdsMapChange:"hotlistIdsMapChange"},standalone:!1,features:[xj],decls:2,vars:3,consts:[[1,"bv2-issue-metadata-field","bv2-issue-metadata-field-inner","flex-1"],[1,"bv2-editable-title"],[1,"flex-1","hotlist-container","bv2-editable-value","align-items-center"],["type","button","mat-stroked-button","","aria-label","Add Hotlist","matTooltip","Add Hotlist",
1,"small","add-hotlists-btn",3,"click"],["svgIcon","add",1,"icon-xs","margin-xs-right"],[1,"multiple-values"],[3,"id"],[3,"removeHotlist","id"],["analyticsLabel","Triage",3,"hotlist","recommendationId","issueId","updateHotlistsInstantly"],["analyticsLabel","Triage",3,"onAccept","hotlist","recommendationId","issueId","updateHotlistsInstantly"]],template:function(a,b){a&1&&(I(0,lgb,12,4,"div",0),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.issue$))?0:-1,c)}},dependencies:[EA,dA,aA,YF,WF,mT,qT,py],styles:["button.add-hotlists-btn[_ngcontent-%COMP%]{margin-right:8px}"]});var lU=function(){var a=this;this.elementRef=x(Ph);this.eventType="click";this.clickOutside=new iE;this.clickHandler=function(b){var c=b.target instanceof Element?b.target:b.target instanceof Node?b.target.parentElement:null;c&&(c.closest(".cdk-overlay-container")||a.elementRef.nativeElement.contains(c)||a.clickOutside.emit(b))}};lU.prototype.ngOnInit=function(){document.addEventListener(this.eventType,this.clickHandler,!0)};
lU.prototype.ngOnDestroy=function(){document.removeEventListener(this.eventType,this.clickHandler,!0)};lU.\u0275fac=function(a){return new (a||lU)};lU.\u0275dir=$i({type:lU,selectors:[["","clickOutside",""]],inputs:{eventType:[0,"clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"},standalone:!1});var mU=function(){};mU.\u0275fac=function(a){return new (a||mU)};mU.\u0275mod=Zi({type:mU});mU.\u0275inj=Eg({});var nU=function(){};nU.\u0275fac=function(a){return new (a||nU)};nU.\u0275mod=Zi({type:nU});nU.\u0275inj=Eg({imports:[SL,jC,FG,Jz,mU,QL,ZL,qM,FI,JL,vM,uQ]});var oU=function(){};oU.\u0275fac=function(a){return new (a||oU)};oU.\u0275mod=Zi({type:oU});oU.\u0275inj=Eg({imports:[jC,FI,lQ]});var pU=function(){};pU.\u0275fac=function(a){return new (a||pU)};pU.\u0275mod=Zi({type:pU});pU.\u0275inj=Eg({imports:[LQ,jC,FI,PQ,uL,JL,oU]});var qU=function(){};qU.\u0275fac=function(a){return new (a||qU)};qU.\u0275mod=Zi({type:qU});qU.\u0275inj=Eg({imports:[kz]});var rU=function(){};rU.\u0275fac=function(a){return new (a||rU)};rU.\u0275mod=Zi({type:rU});rU.\u0275inj=Eg({imports:[jC,FI,qU]});var sU=function(){};sU.\u0275fac=function(a){return new (a||sU)};sU.\u0275mod=Zi({type:sU});sU.\u0275inj=Eg({imports:[jC,FI,uL,rU]});var tU=function(){};tU.\u0275fac=function(a){return new (a||tU)};tU.\u0275mod=Zi({type:tU});tU.\u0275inj=Eg({imports:[jC]});var uU=function(){};uU.\u0275fac=function(a){return new (a||uU)};uU.\u0275mod=Zi({type:uU});uU.\u0275inj=Eg({imports:[jC,uL,tU,sU,FI]});var vU=function(){};vU.\u0275fac=function(a){return new (a||vU)};vU.\u0275mod=Zi({type:vU});vU.\u0275inj=Eg({imports:[xy,Wy,Jz,Fz,tL]});var wU=function(){};wU.\u0275fac=function(a){return new (a||wU)};wU.\u0275mod=Zi({type:wU});wU.\u0275inj=Eg({imports:[xy,FG,vU,uQ,GG]});var xU=function(){};xU.\u0275fac=function(a){return new (a||xU)};xU.\u0275mod=Zi({type:xU});xU.\u0275inj=Eg({imports:[jC,cN,wU]});var yU=function(){this.elementRef=x(Ph);this.autocompleteConfigService=x(wP);this.destroyRef=x(Cj);this.darkmodeService=x(vP);this.refresh$=Ci(this.darkmodeService.clientDarkmode$).pipe(C(function(){}));this.name=this.email=this.ariaLabel="";this.cdkFocusInitial=this.disabled=this.required=this.asMatInput=!1;this.emailChange=new iE;this.sessionOptions=(new xt).setFilter(NPc);this.id="peoplekit-single-"+yU.nextId++;this.stateChanges=new oj;this.placeholderInternal="";this.ngControl=null;this.errorState=
this.focused=!1;this.controlType="peoplekit-single";this.describedByIds=[]};yU.prototype.getConfig=function(){return AYa(this.autocompleteConfigService)};var mgb=function(a,b){b.length>0&&a.emailChange.emit(b[0].result().getPrimaryTarget().getValue())},ngb=function(a){a.focused||(a.focused=!0,a.stateChanges.next())},ogb=function(a,b){a.elementRef.nativeElement.contains(b.relatedTarget)||(a.focused=!1,a.stateChanges.next())};yU.prototype.setDescribedByIds=function(a){this.describedByIds=a;this.stateChanges.next()};
yU.prototype.onContainerClick=function(){};
pg.Object.defineProperties(yU.prototype,{placeholder:{configurable:!0,enumerable:!0,get:function(){return this.placeholderInternal},set:function(a){this.placeholderInternal=a;this.stateChanges.next()}},value:{configurable:!0,enumerable:!0,set:function(a){this.email=a!=null?a:"";this.stateChanges.next()},get:function(){return this.email}},shouldLabelFloat:{configurable:!0,enumerable:!0,get:function(){return this.focused||!this.empty}},empty:{configurable:!0,enumerable:!0,get:function(){return!this.email}}});
yU.nextId=0;yU.\u0275fac=function(a){return new (a||yU)};
yU.\u0275cmp=F({type:yU,selectors:[["b-peoplekit-single"]],hostVars:1,hostBindings:function(a,b){a&2&&Oj("id",b.id)},inputs:{ariaLabel:"ariaLabel",email:"email",name:"name",asMatInput:"asMatInput",required:"required",disabled:"disabled",cdkFocusInitial:"cdkFocusInitial",placeholder:"placeholder"},outputs:{emailChange:"emailChange"},standalone:!1,features:[Bk([{provide:$G,useExisting:yU}])],decls:1,vars:1,consts:[[3,"refreshable"],["matInput","","type","text","autocomplete","off","peoplekitAutocomplete",
"",3,"name","required","placeholder","disabled","ngModel","peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","peoplekitAutocompleteInputSearchDelay"],["type","text","autocomplete","off","peoplekitAutocomplete","",3,"name","required","placeholder","disabled","ngModel","peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","peoplekitAutocompleteInputSearchDelay"],["matInput","","type","text","autocomplete","off","peoplekitAutocomplete","",3,"ngModelChange","peoplekitAutocompleteSelectionChange",
"focusin","focusout","name","required","placeholder","disabled","ngModel","peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","peoplekitAutocompleteInputSearchDelay"],["type","text","autocomplete","off","peoplekitAutocomplete","",3,"ngModelChange","peoplekitAutocompleteSelectionChange","focusin","focusout","name","required","placeholder","disabled","ngModel","peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","peoplekitAutocompleteInputSearchDelay"]],template:function(a,b){a&1&&
G(0,rgb,2,1,"ng-template",0);a&2&&K("refreshable",b.refresh$)},dependencies:[Bp,hG,AG,oG,ML,sQ,oO,mH],styles:["input[_ngcontent-%COMP%] { width: 100%; }"],changeDetection:0});var zU=function(){};zU.\u0275fac=function(a){return new (a||zU)};zU.\u0275mod=Zi({type:zU});zU.\u0275inj=Eg({imports:[jC,FG,QL,uQ,pO]});var OZc=new kh("SearchBarClientConfig");var AU=function(a){var b=new YPc;a.peopleApiEnv&&b.setPeopleApiEnv(a.peopleApiEnv);a.apiKey&&b.setApiKey(a.apiKey);this.peopleStore=a.peopleStoreClient.create(b);this.peopleStore.warmUpCache();this.environmentConfig=new PPc(b.getPeopleApiEnv(),new QPc(""))};AU.\u0275fac=function(a){return new (a||AU)(bh(OZc))};AU.\u0275prov=Dg({token:AU,factory:AU.\u0275fac});var BU=function(){};BU.\u0275fac=function(a){return new (a||BU)};BU.\u0275mod=Zi({type:BU});BU.\u0275inj=Eg({imports:[xy]});var CU=function(){};CU.\u0275fac=function(a){return new (a||CU)};CU.\u0275mod=Zi({type:CU});CU.\u0275inj=Eg({imports:[jC,FG,FI,UL,vM,BU,xU,zU]});var PZc=function(a){this.uploadUrl_=a};var QZc=function(){st.call(this)};Lu(QZc,st);var DU=function(a){Jx.call(this,a)};Lu(DU,Jx);var EU=function(a){Jx.call(this,a)};Lu(EU,Jx);var RZc=function(a,b){this.name_=a;this.inputElement_=b};RZc.prototype.getName=function(){return this.name_};var SZc=function(){this.maxChunkSize_=1073741824;this.retryOnHttpClientErrorEnabled_=!0};var FU=function(){st.call(this);this.name_="closure_frame"+TZc++;this.iframesForDisposal_=[];UZc[this.name_]=this},GU;Lu(FU,st);var UZc={},TZc=0,VZc=function(a,b){var c=Nr(a);bnc(b,function(d,e){Array.isArray(d)||(d=[d]);Ba(d,function(f){f=c.createDom("INPUT",{type:"hidden",name:e,value:f});a.appendChild(f)})})};g=FU.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("Ne");this.lastUri_=a=new er(a);b=b?b.toUpperCase():"GET";c&&knc(a);GU||(GU=ygc("FORM"),GU.acceptCharset="utf-8",c=GU.style,c.position="absolute",c.visibility="hidden",c.top=c.left="-10px",c.width=c.height="10px",c.overflow="hidden",document.body.appendChild(GU));this.form_=GU;b=="GET"&&VZc(this.form_,a.queryData_);d&&VZc(this.form_,d);c=a.toString();d=this.form_;c=ed(new $c(c===null?"null":c===void 0?"undefined":c));c!==void 0&&(d.action=c);this.form_.method=
b;WZc(this);XZc(this)};g.abort=function(a){if(this.active_){var b=YZc(this);if(b)if(Lx(b))b.removeAllListeners();else if(b=lmc(b)){var c=0,d;for(d in b.listeners)for(var e=b.listeners[d].concat(),f=0;f<e.length;++f)Ox(e[f])&&++c}this.success_=this.active_=this.complete_=!1;this.lastErrorCode_=a||7;this.dispatchEvent("abort");ZZc(this)}};
g.disposeInternal=function(){this.active_&&this.abort();FU.superClass_.disposeInternal.call(this);this.iframe_&&$Zc(this);XZc(this);delete this.errorChecker_;this.lastUri_=this.lastContent_=this.form_=null;this.lastErrorCode_=0;delete UZc[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 rmc(this.lastContent_)};
g.getLastUri=function(){return this.lastUri_};g.getLastErrorCode=function(){return this.lastErrorCode_};g.getLastError=function(){return qmc(this.lastErrorCode_)};
var WZc=function(a){a.active_=!0;a.complete_=!1;a.lastErrorCode_=0;a.iframeName_=a.name_+"_"+(a.nextIframeId_++).toString(36);a.iframe_=Nr(a.form_).createDom("IFRAME",{name:a.iframeName_,id:a.iframeName_});var b=a.iframe_.style;b.visibility="hidden";b.width=b.height="10px";b.display="none";Cr?b.marginTop=b.marginLeft="-10px":(b.position="absolute",b.top=b.left="-10px");Nr(a.form_).document_.body.appendChild(a.iframe_);b=a.iframeName_+"_inner";var c=Cgc(a.iframe_);if(document.baseURI){var d=Wr(b);
d=lea('<head><base href="'+Wr(document.baseURI)+'"></head><body><iframe id="'+d+'" name="'+d+'"></iframe>')}else d=Wr(b),d=gd('<body><iframe id="'+d+'" name="'+d+'"></iframe>');c.write(id(d));tt(c.getElementById(b),"load",a.onIframeLoaded_,!1,a);d=xv("TEXTAREA",a.form_);for(var e=0,f=d.length;e<f;e++){var h=d[e].value,k=[];Hgc(d[e],k,!1);k.join("")!=h&&(Dgc(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=xv("SELECT",a.form_);f=xv("SELECT",
d);h=0;for(k=e.length;h<k;h++)for(var q=xv("OPTION",e[h]),u=xv("OPTION",f[h]),A=0,D=q.length;A<D;A++)u[A].selected=q[A].selected;e=xv("INPUT",a.form_);f=xv("INPUT",d);h=0;for(k=e.length;h<k;h++)if(e[h].type=="file"&&e[h].value!=f[h].value){a.form_.target=b;d=a.form_;break}try{a.errorHandled_=!1,d.submit(),c.close(),Dr&&setTimeout(a.testForFirefoxSilentError_.bind(a),250)}catch(H){Nx(c.getElementById(b),"load",a.onIframeLoaded_,!1,a),c.close(),a.handleError_(2)}};
FU.prototype.onIframeLoaded_=function(){Nx(YZc(this),"load",this.onIframeLoaded_,!1,this);try{var a=this.iframe_?Cgc(YZc(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||typeof this.errorChecker_!="function"||(d=this.errorChecker_(a))&&(c=4);c?this.handleError_(c):(this.success_=!0,this.lastErrorCode_=0,this.dispatchEvent("complete"),this.dispatchEvent("success"),ZZc(this))}catch(e){this.handleError_(1)}};
FU.prototype.handleError_=function(a){this.errorHandled_||(this.active_=this.success_=!1,this.complete_=!0,this.lastErrorCode_=a,this.dispatchEvent("complete"),this.dispatchEvent("error"),ZZc(this),this.errorHandled_=!0)};
var ZZc=function(a){$Zc(a);XZc(a);a.form_=null;a.dispatchEvent("ready")},$Zc=function(a){var b=a.iframe_;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.iframesForDisposal_.push(b));a.iframeDisposalTimer_&&(clearTimeout(a.iframeDisposalTimer_),a.iframeDisposalTimer_=null);Dr?a.iframeDisposalTimer_=setTimeout(a.disposeIframes_.bind(a),2E3):a.disposeIframes_();a.iframe_=null;a.iframeName_=null};
FU.prototype.disposeIframes_=function(){this.iframeDisposalTimer_&&(clearTimeout(this.iframeDisposalTimer_),this.iframeDisposalTimer_=null);for(;this.iframesForDisposal_.length!=0;){var a=this.iframesForDisposal_.pop();Bv(a)}};var XZc=function(a){a.form_&&a.form_==GU&&Av(a.form_)},YZc=function(a){return a.iframe_?Cgc(a.iframe_).getElementById(a.iframeName_+"_inner"):null};
FU.prototype.testForFirefoxSilentError_=function(){if(this.active_){var a=this.iframe_?Cgc(YZc(this)):null;a&&!t6b(a,"documentUri")?(Nx(YZc(this),"load",this.onIframeLoaded_,!1,this),navigator.onLine?this.handleError_(3):this.handleError_(9)):setTimeout(this.testForFirefoxSilentError_.bind(this),250)}};var a_c=function(a,b,c,d,e){st.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 er(a);Mr(a,"upload_protocol","multipart");this.url_=a.toString();this.request_=new FU;this.state_="Ready";this.errorDescription_=
null;this.eventHandler_=new Ps(this);Ir(this,this.eventHandler_);this.eventHandler_.listen(this.request_,"success",this.onTransferSuccess_);this.eventHandler_.listen(this.request_,"error",this.onTransferError_)};Y(a_c,QZc);g=a_c.prototype;g.run=function(){this.state_="Transferring";var a=this.request_,b=this.form_;if(a.active_)throw Error("Ne");var c=new er(this.url_||b.action);a.lastUri_=c;a.form_=b;b=a.form_;c=ed(c.toString());c!==void 0&&(b.action=c);WZc(a)};g.getBytesTransferred=function(){return null};
g.getResponseCode=function(){return null};g.getErrorType=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 DU("i"))};g.pause=function(){};g.unpause=function(){};g.onTransferSuccess_=function(){this.state_="Complete";this.dispatchEvent(new DU("f"))};
g.onTransferError_=function(){this.errorDescription_="Transfer failed.";this.state_="Error";this.dispatchEvent(new DU("h"))};var d_c=function(a,b){a.name!==void 0?(this.name=a.name,this.code=b_c[a.name]):(this.code=a=a.code,this.name=c_c(a));ba.call(this,fgc("%s %s",this.name,b))};Lu(d_c,ba);
var c_c=function(a){var b=Tda(b_c,function(c){return a==c});if(b===void 0)throw Error("Oe`"+a);return b},HU={},b_c=(HU.AbortError=3,HU.EncodingError=5,HU.InvalidModificationError=9,HU.InvalidStateError=7,HU.NotFoundError=1,HU.NotReadableError=4,HU.NoModificationAllowedError=6,HU.PathExistsError=12,HU.QuotaExceededError=10,HU.SecurityError=2,HU.SyntaxError=8,HU.TypeMismatchError=11,HU);var e_c=function(a,b){Jx.call(this,a.type,b);this.event_=a};Lu(e_c,Jx);var f_c=function(a,b,c){c===void 0&&(c=a.size);return a.slice?a.slice(b,c):null};var tgb=new WeakMap,sgb=function(a,b){a=[a];for(var c=b.length-1;c>=0;--c)a.push(typeof b[c],b[c]);return a.join("\v")};zr(function(){if(!da.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return b.size!=100?!1:!0});var g_c=zr(function(){if(!da.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return f_c(b,0,1)===null?!1:!0});var h_c=function(){st.call(this);this.reader_=new FileReader;this.reader_.onloadstart=ut(this.dispatchProgressEvent_,this);this.reader_.onprogress=ut(this.dispatchProgressEvent_,this);this.reader_.onload=ut(this.dispatchProgressEvent_,this);this.reader_.onabort=ut(this.dispatchProgressEvent_,this);this.reader_.onerror=ut(this.dispatchProgressEvent_,this);this.reader_.onloadend=ut(this.dispatchProgressEvent_,this)};Lu(h_c,st);g=h_c.prototype;
g.abort=function(){try{this.reader_.abort()}catch(a){throw new d_c(a,"aborting read");}};g.getReadyState=function(){return this.reader_.readyState};g.getError=function(){return this.reader_.error&&new d_c(this.reader_.error,"reading file")};g.dispatchProgressEvent_=function(a){this.dispatchEvent(new e_c(a,this))};g.disposeInternal=function(){h_c.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 i_c=function(a){var b=new oJ;a.listen("loadend",Ku(function(c,d){var e=d.reader_.result,f=d.getError();e==null||f?c.errback(f):c.callback(e);d.dispose()},b,a));return b};var IU=function(){Xq.call(this)};Y(IU,Xq);IU.prototype.createXhr=function(){var a=Xq.prototype.createXhr.call(this);a.upload&&(a.upload.onprogress=ut(this.onProgress_,this));return a};IU.prototype.onProgress_=function(a){this.dispatchEvent(a)};var j_c=function(){this.attempt_=-1;this.delayCallId_=null;this.maxDelayMs_=6E4;this.maxAttempts_=-1},l_c=function(a,b){var c=a.attempt_+1;if(a.maxAttempts_>0&&c>a.maxAttempts_)return!1;c==0?b():a.delayCallId_=Yq(function(){a.delayCallId_=null;b()},k_c(a),a);a.attempt_=c;return!0};j_c.prototype.reset=function(){this.delayCallId_&&da.clearTimeout(this.delayCallId_);this.attempt_=-1};var k_c=function(a){var b=250*Math.pow(2,a.attempt_);a.maxDelayMs_>=0&&(b=Math.min(b,a.maxDelayMs_));return b};var vgb=["Content-Length","Content-Type","Content-Encoding","Transfer-Encoding"];var m_c=function(a){st.call(this);a=a||new SZc;this.request_=this.state_=null;this.withCredentials_=!1;this.transferHandle_=null;this.offset_=this.bytesTransferred_=0;this.retryIterator_=new j_c;this.retryIterator_.maxAttempts_=6;this.retryIterator_.maxDelayMs_=6E4;this.errorType_=this.errorDescription_=null;this.eventHandler_=new Ps(this);Ir(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};Lu(m_c,QZc);g=m_c.prototype;g.run=function(){JU(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.getErrorType=function(){return this.errorType_};
g.cancel=function(){if(this.state_!="Response received"&&this.state_!="Error"){this.eventHandler_.removeAll();this.request_&&this.request_.abort();this.retryIterator_.reset();var a=this.state_==="Paused"?this.stateAfterUnpausing_:this.state_;if(a==="Upload"||a==="Query")a=new IU,a.withCredentials_=this.withCredentials_,a.send(this.transferHandle_.uploadUrl_,"POST","",{"X-Goog-Upload-Command":"cancel"});this.state_="Cancel";this.bytesTransferred_=0;this.dispatchEvent(new DU("i"))}};
g.pause=function(){this.pauseRequested_=!0};g.unpause=function(){this.pauseRequested_=!1;this.state_==="Paused"&&(this.state_=this.stateAfterUnpausing_,this.stateAfterUnpausing_=null,n_c(this))};
var JU=function(a){var b=a.state_;a.pauseRequested_?(a.pauseRequested_=!1,a.stateAfterUnpausing_=b,a.state_="Paused"):l_c(a.retryIterator_,function(){return n_c(a)})||KU(a,1,"Transfer encountered too many consecutive failures.")},n_c=function(a){switch(a.state_){case "Start":a.start_();break;case "Upload":var b=a.transferHandle_.uploadUrl_,c=a.blob_.size;if(g_c()){var d=a.chunkSize_;var e=a.offset_+d>=c;c=f_c(a.blob_,a.offset_,e?c:a.offset_+d)}else a.offset_=0,c=a.blob_,e=!0;a.request_=new IU;a.request_.withCredentials_=
a.withCredentials_;a.eventHandler_.removeAll();a.eventHandler_.listen(a.request_,"progress",a.onUploadProgress_);d=ut(a.onUploadComplete_,a,a.offset_+c.size,e);a.eventHandler_.listen(a.request_,"complete",d);a.lastCommandResponseCode_=null;a.dispatchEvent(new EU("k"));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("Pe");}},KU=function(a,
b,c){a.state_="Error";a.errorDescription_=c;a.errorType_=b;a.dispatchEvent(new DU("h"))};g=m_c.prototype;
g.start_=function(){this.request_=new IU;var a=Wc(this.headers_);this.blob_.size!=null&&(a["Content-Length"]=this.blob_.size);a=wgb(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 EU("k"))};
g.onStartComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new EU("l"));o_c(b)?p_c(this,b):q_c(b)?(b=Ar(a.target.getAllResponseHeaders()),this.dispatchEvent(new DU("g")),a=Br(b,"X-Goog-Upload-URL"),b=(b=Br(b,"X-Goog-Upload-Chunk-Granularity"))?parseInt(b,10):1,a===void 0||isNaN(b)||b<=0?KU(this,2,"Server returned invalid headers."):(this.chunkSize_=Math.floor(this.maxChunkSize_/b)*b,this.transferHandle_=new PZc(a),this.dispatchEvent(new DU("j")),this.state_=
"Upload",this.retryIterator_.reset(),JU(this))):JU(this)};g.onUploadProgress_=function(a){this.bytesTransferred_=this.offset_+a.loaded;this.dispatchEvent(new DU("e"))};
g.onUploadComplete_=function(a,b,c){var d=this,e,f;return v(function(h){switch(h.nextAddress){case 1:e=c.target;d.lastCommandResponseCode_=e.getStatus();d.dispatchEvent(new EU("l"));if(d.retryOnHttpClientErrorEnabled_?r_c(e)||e.getStatus()==404:o_c(e))return d.bytesTransferred_=a,p_c(d,e),h.return();if(q_c(e)){h.jumpTo(2);break}if(!(f=d.detectCorruptedBlobEnabled_)){h.jumpTo(3);break}return w(h,s_c(d),4);case 4:f=h.yieldResult;case 3:if(f)return KU(d,3,"Blob has been modified or corrupted."),h.return();
d.requireUploadRequestModification_=e.getStatus()==400;d.state_="Query";JU(d);return h.return();case 2:if(b)return KU(d,4,"Got a non-final success response after issuing a finalize command."),h.return();d.bytesTransferred_=a;d.offset_=a;d.retryIterator_.reset();JU(d);return h.return()}})};
g.query_=function(){this.request_=new IU;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_.uploadUrl_,"POST","",a);this.lastCommandResponseCode_=null;this.dispatchEvent(new EU("k"))};
g.onQueryComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new EU("l"));o_c(b)?(b.getStatus()===200&&(this.bytesTransferred_=this.blob_.size),p_c(this,b)):q_c(b)?(a=Ar(a.target.getAllResponseHeaders()),a=parseInt(Br(a,"X-Goog-Upload-Size-Received"),10),isNaN(a)?KU(this,5,"Server did not respond with current offset."):a<this.offset_?KU(this,6,"Server lost bytes! Expected an offset of at least "+this.offset_+", but got an offset of "+a+"."):this.requireUploadRequestModification_&&
this.offset_===a?KU(this,7,"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",JU(this))):JU(this)};
var p_c=function(a,b){a.responseCode_=b.getStatus();var c=Ar(b.getAllResponseHeaders());a.responseHeaders_=xgb(c);a.responseText_=b.getResponseText();a.state_="Response received";a.dispatchEvent(new DU("f"))},q_c=function(a){var b=a.getStatus();a=Ar(a.getAllResponseHeaders());a=Br(a,"X-Goog-Upload-Status");return b===200&&a==="active"},r_c=function(a){a=Ar(a.getAllResponseHeaders());return Br(a,"X-Goog-Upload-Status")==="final"},o_c=function(a){if(r_c(a))return!0;a=a.getStatus();return a>=400&&a<
500},s_c=function(a){var b;return v(function(c){if(c.nextAddress==1){if(!a.blob_||a.originalBlobSize_<=0)return c.return(!1);if(a.blob_.size!==a.originalBlobSize_)return c.return(!0);ei(c,2);if(b=f_c(a.blob_,0,1)){var d=new h_c,e=i_c(d);d.readAsBinaryString(b);c=w(c,e,4)}else c=c.return(!0);return c}if(c.nextAddress!=2)return c.return(a.blob_.size!==a.originalBlobSize_);ii(c);return c.return(!0)})};var t_c=function(a,b,c,d,e,f){st.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 Ad;this.boundary_="uploader-"+Xgb()+"-"+a.toIsoString();this.transferRequest_=null;this.bytesTransferred_=0;this.responseText_=this.responseHeaders_=this.responseCode_=null;this.state_="Ready";this.errorDescription_=null;this.eventHandler_=new Ps(this);Ir(this,this.eventHandler_)};Y(t_c,QZc);g=t_c.prototype;
g.run=function(){var a=Wc(this.headers_);this.payload_.length!=null&&(a["Content-Length"]=this.payload_.length);a=wgb(a);a["X-Goog-Upload-Protocol"]="multipart";a["Content-Type"]="multipart/related; boundary="+this.boundary_;this.state_="Transferring";this.transferRequest_=new IU;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.getErrorType=function(){return null};g.cancel=function(){this.state_!="Complete"&&this.state_!="Error"&&(this.eventHandler_.removeAll(),this.transferRequest_&&this.transferRequest_.abort(),this.state_="Cancel",this.dispatchEvent(new DU("i")))};g.pause=function(){};g.unpause=function(){};
g.onTransferProgress_=function(a){this.bytesTransferred_=Math.max(0,a.loaded-this.metadataOverhead_);this.dispatchEvent(new DU("e"))};g.onTransferComplete_=function(a){var b=a.target.getStatus();b===void 0||b===-1?(this.errorDescription_="Connection broken before response was received.",this.state_="Error",this.dispatchEvent(new DU("h"))):(this.responseCode_=b,a=a.target,b=Ar(a.getAllResponseHeaders()),this.responseHeaders_=xgb(b),this.responseText_=a.getResponseText(),this.state_="Complete",this.dispatchEvent(new DU("f")))};var u_c=function(){},v_c=function(a,b,c,d,e){e=e===void 0?!1:e;if(c instanceof RZc)return new a_c(a,"POST",b,c.inputElement_,d);if(typeof c==="string"||c instanceof String)return new t_c(a,"POST",b,c,d);var f=new m_c(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 w_c=new kh("ScottyUploaderConfigFactory"),x_c=new kh("ScottyUploader",{factory:function(){return new u_c}}),LU=function(a,b){this.uploader=a;this.configFactory=b;this.internalTransferStatus=new oj;this.transferStatus=ex(this.internalTransferStatus)};
LU.prototype.upload=function(a,b){var c=this;b=b===void 0?this.configFactory.create(a):b;a=v_c(b.url,b.headers||{},a,b.metadata||"",!!b.withCredentials);this.transferSubscription&&!b.allowSimultaneousUpload&&this.transferSubscription.unsubscribe();this.transferSubscription=Ci(yi(a,"g"),yi(a,"e"),yi(a,"j"),yi(a,"h"),yi(a,"f"),yi(a,"i")).pipe(tj(yi(a,"f").pipe(ij(0)))).subscribe(function(d){c.internalTransferStatus.next(d)});a.run()};LU.\u0275fac=function(a){return new (a||LU)(bh(x_c),bh(w_c))};
LU.\u0275prov=Dg({token:LU,factory:LU.\u0275fac});var y_c=function(a){this.name_=a;this.files_=[];this.directories_=[];this.directoryMap_={}};y_c.prototype.getDirectory=function(a){return this.directoryMap_[a]};y_c.prototype.getName=function(){return this.name_};g=Er.prototype;g.getWidth=function(){return this.right-this.left};g.getHeight=function(){return this.bottom-this.top};g.clone=function(){return new Er(this.top,this.right,this.bottom,this.left)};g.contains=function(a){return this&&a?a instanceof Er?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){La(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 Us?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,typeof b==="number"&&(this.top+=b,this.bottom+=b));return this};g.scale=function(a,b){b=typeof b==="number"?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var Xs=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};Xs.prototype.clone=function(){return new Xs(this.left,this.top,this.width,this.height)};var s6b=function(a){return new Xs(a.left,a.top,a.right-a.left,a.bottom-a.top)};
Xs.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 z_c=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 Xs(c,e,d-c,a-e)}return null};
g=Xs.prototype;g.difference=function(a){var b=z_c(this,a);if(b&&b.height&&b.width){b=[];var c=this.top,d=this.height,e=this.left+this.width,f=this.top+this.height,h=a.left+a.width,k=a.top+a.height;a.top>this.top&&(b.push(new Xs(this.left,this.top,this.width,a.top-this.top)),c=a.top,d-=a.top-this.top);k<f&&(b.push(new Xs(this.left,k,this.width,f-k)),d=k-c);a.left>this.left&&b.push(new Xs(this.left,c,a.left-this.left,d));h<e&&b.push(new Xs(h,c,e-h,d));a=b}else a=[this.clone()];return a};
g.contains=function(a){return a instanceof Us?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 vv(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 Us?(this.left+=a.x,this.top+=a.y):(this.left+=a,typeof b==="number"&&(this.top+=b));return this};g.scale=function(a,b){b=typeof b==="number"?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var Q$b={},MU=function(a,b){var c=Ws(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},Jr=function(a,b){return MU(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},j6b=function(a){return Jr(a,"position")},Ys=function(a,b,c){if(b instanceof Us){var d=b.x;b=b.y}else d=b,b=c;a.style.left=NU(d,!1);a.style.top=NU(b,!1)},u6b=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,
right:0,bottom:0}}},d7b=function(a){var b=Ws(a),c=Jr(a,"position"),d=c=="fixed"||c=="absolute";for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(a.nodeType==11&&a.host&&(a=a.host),c=Jr(a,"position"),d=d&&c=="static"&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c=="fixed"||c=="absolute"||c=="relative"))return a;return null},r6b=function(a){for(var b=new Er(0,Infinity,Infinity,0),c=Nr(a),d=c.document_.body,e=c.document_.documentElement,f=wgc(c.document_);a=
d7b(a);)if((!Cr||a.clientHeight!=0||a!=d)&&a!=d&&a!=e&&Jr(a,"overflow")!="visible"){var h=Ss(a),k=new Us(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.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 b.top>=0&&b.left>=0&&b.bottom>
b.top&&b.right>b.left?b:null},e7b=function(a,b){b=b||wgc(document);var c=b||wgc(document);var d=Ss(a),e=Ss(c),f=MU(c,"borderLeftWidth");var h=MU(c,"borderRightWidth");var k=MU(c,"borderTopWidth"),q=MU(c,"borderBottomWidth");h=new Er(parseFloat(k),parseFloat(h),parseFloat(q),parseFloat(f));c==wgc(document)?(f=d.x-c.scrollLeft,d=d.y-c.scrollTop):(f=d.x-e.x-h.left,d=d.y-e.y-h.top);a=A_c(a);e=c.clientHeight-a.height;h=c.scrollLeft;k=c.scrollTop;h+=Math.min(f,Math.max(f-(c.clientWidth-a.width),0));k+=
Math.min(d,Math.max(d-e,0));c=new Us(h,k);b.scrollLeft=c.x;b.scrollTop=c.y},Ss=function(a){var b=Ws(a),c=new Us(0,0);if(a==(b?Ws(b):document).documentElement)return c;a=u6b(a);b=Kgc(Nr(b));c.x=a.left+b.x;c.y=a.top+b.y;return c},B_c=function(a,b,c){if(b instanceof vv)c=b.height,b=b.width;else if(c==void 0)throw Error("Qe");a.style.width=NU(b,!0);a.style.height=NU(c,!0)},NU=function(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a},C_c=function(a){return w6b(a)},w6b=function(a){var b=
A_c;if(Jr(a,"display")!="none")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},A_c=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=Cr&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=u6b(a),new vv(a.right-a.left,a.bottom-a.top)):new vv(b,c)},q6b=function(a){var b=Ss(a);a=w6b(a);return new Xs(b.x,b.y,a.width,a.height)},D_c=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="+Number(b)*100+")")},Pr=function(a,b){a.style.display=b?"":"none"},Ts=function(a){return"rtl"==Jr(a,"direction")},E_c=function(a){var b=MU(a,"marginLeft"),c=MU(a,"marginRight"),d=MU(a,"marginTop");a=MU(a,"marginBottom");return new Er(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};var G_c=function(a,b,c){b=b===void 0?"single_file":b;c=c===void 0?[]:c;st.call(this);this.overlayTarget_=a;this.parentOverlay_=a!=null?a.parentNode:mr(document,"scotty-overlay-parent");this.selectorType_=b;this.acceptTypes_=c;this.overlay_=F_c(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};Y(G_c,st);
var F_c=function(a,b,c,d){var e=document.createElement("input");e.setAttribute("type","file");e.setAttribute("name","Filedata");tt(e,"change",a.onFilesSelected_,!1,a);c==="multiple_file"&&(e.multiple="true");c==="single_directory"&&(e.webkitdirectory="true");d.length>0&&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(a.overlayTarget_!=
null)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),Ys(e,new Us(b.offsetLeft,b.offsetTop)),e;a.parentOverlay_.appendChild(e);return e};G_c.prototype.click=function(){this.overlay_.click()};
G_c.prototype.onFilesSelected_=function(a){a:{try{var b=(new XMLHttpRequest).upload!==void 0;break a}catch(u){}b=!1}if(b){var c;a=Array.from((c=a.target.files)!=null?c:[]);c=[];if(this.selectorType_==="single_directory"&&(Cr||Vdc||Dr)){c=new y_c("");if(File.prototype.hasOwnProperty("webkitRelativePath"))for(b=0;b<a.length;b++)for(var d=a[b],e=d.webkitRelativePath.split("/"),f=c,h=0;h<e.length;h++){var k=e[h];if(h==e.length-1){k!="."&&f.files_.push(d);break}var q=f.getDirectory(k);q==void 0&&(k=q=
new y_c(k),f.directoryMap_[k.getName()]=k,f.directories_.push(k));f=q}c=c.directories_}this.dispatchEvent(new H_c(a,c,null))}else a=a.target.value,a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12)),this.dispatchEvent(new H_c([],[],new RZc(a,this.overlay_)));this.parentOverlay_.removeChild(this.overlay_);this.overlay_=F_c(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};
var I_c={SINGLE_FILE_SELECTION:"single_file",MULTIPLE_FILE_SELECTION:"multiple_file",SINGLE_DIRECTORY_SELECTION:"single_directory"},H_c=function(a,b){Jx.call(this,"q");this.files=a;this.directories=b};Y(H_c,Jx);var OU=function(a,b){this.elementRef=a;this.ngZone=b;this.destroyed=new nj(1);this.supportedFileExtensions=null;this.fileExtensionRejected=new Lp;this.maxFileSize=null;this.fileSizeRejected=new Lp;this.fileSelected=new Lp;this.fileNameLengthRejected=new Lp};
OU.prototype.ngAfterViewInit=function(){var a=this;this.getOverlay().pipe(sj(function(b){return Ci(yi(b,"m"),yi(b,"q"))}),tj(this.destroyed)).subscribe(function(b){a.ngZone.run(function(){a:{if(a.supportedFileExtensions){var c=l(b.files);for(var d=c.next();!d.done;d=c.next()){d=d.value.name;var e=d.lastIndexOf(".");if(!a.supportedFileExtensions.includes(e!==-1?d.substr(e+1).toLowerCase():"")){c=!1;break a}}}c=!0}if(c){a:{if(a.maxFileSize)for(c=l(b.files),d=c.next();!d.done;d=c.next())if(d.value.size>
a.maxFileSize){c=!1;break a}c=!0}if(c){a:{if(a.maxFileNameLength)for(c=l(b.files),d=c.next();!d.done;d=c.next())if(d.value.name.length>a.maxFileNameLength){c=!1;break a}c=!0}c?a.fileSelected.emit(b):a.fileNameLengthRejected.emit(b)}else a.fileSizeRejected.emit(b)}else a.fileExtensionRejected.emit(b)})});this.getOverlay().subscribe(function(b){yi(b,"o").subscribe(function(){a.ngZone.run(function(){})})});this.getOverlay().subscribe(function(b){yi(b,"p").subscribe(function(){a.ngZone.run(function(){})})})};
OU.prototype.ngOnDestroy=function(){this.destroyed.next(!0);this.destroyed.complete()};OU.\u0275fac=function(a){return new (a||OU)(Ui(Ph),Ui(Kk))};OU.\u0275dir=$i({type:OU,inputs:{supportedFileExtensions:"supportedFileExtensions",maxFileSize:"maxFileSize",maxFileNameLength:"maxFileNameLength"},outputs:{fileExtensionRejected:"fileExtensionRejected",fileSizeRejected:"fileSizeRejected",fileSelected:"fileSelected",fileNameLengthRejected:"fileNameLengthRejected"}});var PU=function(a,b){OU.call(this,a,b);this.overlay=this.fileSelectorOverlay=null};Y(PU,OU);
PU.prototype.getOverlay=function(){var a=this;this.overlay||(this.overlay=this.ngZone.runOutsideAngular(function(){return Ci(yi(a.elementRef.nativeElement,"mouseover"),yi(a.elementRef.nativeElement,"focus")).pipe(lj(),tj(a.destroyed),C(function(){a.fileSelectorOverlay=new G_c(a.elementRef.nativeElement,a.selectorType,J_c(a));a.fileSelectorOverlay.overlay_.style.display="none";return a.fileSelectorOverlay}),pj(1))}));return this.overlay};PU.prototype.onClick=function(){this.fileSelectorOverlay&&this.fileSelectorOverlay.click()};
var J_c=function(a){return(a.supportedFileExtensions||[]).map(function(b){return"."+b})};PU.\u0275fac=function(a){return new (a||PU)(Ui(Ph),Ui(Kk))};PU.\u0275dir=$i({type:PU,hostBindings:function(a,b){a&1&&Q("click",function(){return b.onClick()})},inputs:{selectorType:"selectorType"},features:[xj]});var QU=function(a,b,c){PU.call(this,a,b);this.uploader=c;this.disableAutoUploadInternal=!1};Y(QU,PU);
QU.prototype.ngOnInit=function(){var a=this;this.fileSelected.pipe(tj(this.destroyed),Di(function(){return!a.disableAutoUpload})).subscribe(function(b){b=l(b.files);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;(d=a.uploader)==null||d.upload(c)}})};pg.Object.defineProperties(QU.prototype,{disableAutoUpload:{configurable:!0,enumerable:!0,get:function(){return this.disableAutoUploadInternal},set:function(a){this.disableAutoUploadInternal=um(a)}}});
QU.\u0275fac=function(a){return new (a||QU)(Ui(Ph),Ui(Kk),Ui(LU,8))};QU.\u0275dir=$i({type:QU,selectors:[["","xapUploaderTrigger",""],["","xapScottyUploaderTrigger",""]],inputs:{disableAutoUpload:"disableAutoUpload"},features:[xj]});var RU=function(){this.SelectorType=I_c;this.includeTextLabel=this.disabled=!1;this.onSelect=new iE},Agb=function(a,b){if(b=b.files){b=l(b);for(var c=b.next();!c.done;c=b.next())a.onSelect.emit(c.value)}};RU.\u0275fac=function(a){return new (a||RU)};
RU.\u0275cmp=F({type:RU,selectors:[["b-attachment-selector"]],inputs:{disabled:"disabled",includeTextLabel:"includeTextLabel"},outputs:{onSelect:"onSelect"},standalone:!1,decls:3,vars:1,consts:[[1,"goog-inline-block","vertical-centered"],["type","button","mat-icon-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"selectorType","disableAutoUpload","disabled"],["type","button","mat-stroked-button","","xapUploaderTrigger","","matTooltip","Add attachments",
"aria-label","Add attachments",3,"selectorType","disableAutoUpload","disabled"],["type","button","mat-icon-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"fileSelected","selectorType","disableAutoUpload","disabled"],["svgIcon","attachment"],["type","button","mat-stroked-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"fileSelected","selectorType","disableAutoUpload","disabled"]],template:function(a,
b){a&1&&(L(0,"div",0),I(1,Bgb,2,3,"button",1)(2,Cgb,3,3,"button",2),M());a&2&&(E(),J(b.includeTextLabel?2:1))},dependencies:[EA,dA,aA,bA,YF,WF,QU],encapsulation:2});var K_c=function(a,b){XDc.call(this,a.size,a.name);var c=this;this.destroyed$=new oj;this.onTransferEventUpdate=function(d){var e=d.target;c.transfer=e;switch(d.type){case "e":case "g":case "j":c.state=1;c.transferredBytes=e.getBytesTransferred()||0;break;case "h":c.handleError(e);break;case "f":c.transferredBytes=e.getBytesTransferred()||0;(d=e.getResponseCode())&&d!=200?c.handleError(e):(d=e.getResponseText())?(c.state=2,c.blobRef=JSON.parse(d).encryptedMedia):c.handleError(e);c.unsubscribe();break;
case "i":c.state=4;c.transferredBytes=e.getBytesTransferred()||0;break;default:c.transferredBytes=e.getBytesTransferred()||0}};b.pipe(tj(this.destroyed$)).subscribe(function(d){c.onTransferEventUpdate(d)})};Y(K_c,XDc);
K_c.prototype.handleError=function(a){this.transferredBytes=a.getBytesTransferred()||0;this.state=3;var b=a.getResponseText();if(b)try{this.errorMessage=JSON.parse(b).errorMessage}catch(d){oe("Unable to extract error message",b,d);var c;this.errorMessage=(c=a.getErrorDescription())!=null?c:""}this.errorMessage||(this.errorMessage="Error while uploading.")};K_c.prototype.cancel=function(){var a,b;(a=this.transfer)==null||(b=a.cancel)==null||b.call(a);this.unsubscribe()};
K_c.prototype.unsubscribe=function(){this.destroyed$.next();this.destroyed$.complete()};var SU=function(){this.activeSession=x(Ks)};
SU.prototype.create=function(a){for(var b=a.name,c=[],d=0,e=0;e<b.length;e++){var f=b.charCodeAt(e);f<128?c[d++]=f:(f<2048?c[d++]=f>>6|192:((f&64512)==55296&&e+1<b.length&&(b.charCodeAt(e+1)&64512)==56320?(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=qec(c);a=gMa(a.name)?a.name:b;return{url:Mr(lnc().setPath("/upload/"),"authuser",this.activeSession.getSessionIdentifier()).toString(),headers:{"X-Bv2-Encoded-Upload-File-Name":b,
"X-Goog-Upload-File-Name":a},withCredentials:!0}};SU.\u0275fac=function(a){return new (a||SU)};SU.\u0275prov=Dg({token:SU,factory:SU.\u0275fac,providedIn:"root"});var TU=function(){this.uploader=x(x_c);this.uploaderConfigFactory=x(SU)};TU.prototype.create=function(){return new LU(this.uploader,this.uploaderConfigFactory)};TU.\u0275fac=function(a){return new (a||TU)};TU.\u0275prov=Dg({token:TU,factory:TU.\u0275fac,providedIn:"root"});var UU=function(){Z.apply(this,arguments);this.scottyUploaderFactory=x(TU);this.uploads=[];this.onUploadCancel=new iE;this.onUploadComplete=new iE;this.uploadStates=YDc};Y(UU,Z);UU.\u0275dir=Z.\u0275dir;UU.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);for(var a=l(this.uploads),b=a.next();!b.done;b=a.next())b.value.cancel()};
UU.prototype.upload=function(a){var b=this,c=this.scottyUploaderFactory.create();c.upload(a);a=new K_c(a,c.transferStatus);c.transferStatus.pipe(tj(this.destroyed$)).subscribe(function(d){d.type==="f"&&b.onUploadComplete.emit()});return a};UU.prototype.cancel=function(a){a.cancel();this.onUploadCancel.emit(a)};UU.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(UU)))(b||UU)}}();
UU.\u0275cmp=F({type:UU,selectors:[["b-attachment-uploader"]],inputs:{uploads:"uploads"},outputs:{onUploadCancel:"onUploadCancel",onUploadComplete:"onUploadComplete"},standalone:!1,features:[xj],decls:1,vars:1,consts:[[1,"attachments"],[1,"attachment",3,"attachment-error"],[1,"attachment"],[1,"attachment-title"],["svgIcon","file-present"],[1,"issue-attachment-filename",3,"matTooltip"],[1,"attachment-filesize"],["role","alert","aria-live","assertive"],["type","button",1,"bv2-remove-icon","keep-focus-ring",
"attachment-cancel-button",3,"click","matTooltip"]],template:function(a,b){a&1&&I(0,Hgb,3,0,"div",0);a&2&&J(b.uploads.length>0?0:-1)},dependencies:[EA,YF,WF,sLc],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 L_c=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 M_c=function(a){XDc.call(this,a.size,a.name);this.attachment=a};Y(M_c,XDc);var N_c=function(a,b){a.state=1;JDc(b,{filename:a.attachment.name,mimeType:a.attachment.mimeType,encryptedBlobId:a.attachment.encryptedBlobId?a.attachment.encryptedBlobId:null,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=nn(c)?on(c):"Error while uploading."})};var Fr=function(a){this.id_=a;this.opts={}};g=Fr.prototype;g.setLabel=function(a){this.label_=a||void 0;return this};g.setOptions=function(a){this.opts=a};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=Sc(this.opts,function(c){return c!==null});a=Tc(a)?null:a;a=[this.id_,this.label_,a];var b=Baa(a,Vgc);return a=a.slice(0,b+1)};
g.toString=function(){var a=this.toArray();return"("+Rdc(a,function(b){return JSON.stringify(b)}).join(",")+")"};g.getId=function(){return this.id_};g.getLabel=function(){return this.label_};g.getOptions=function(){return Wc(this.opts)};g.getQuery=function(){return this.opts.query};Lu(Gr,Fr);var O_c=["dr","fileIds","parent"],P_c=function(){var a=(new Gr("all")).setOwnedByMe(!0);a.opts.drdis=!0;a.opts.includeFolders=!0;a.opts.sortKey=7;a.opts.ff=!0;return a};g=Gr.prototype;g.setMode=function(a){this.opts.mode=a;return this};g.setOwnedByMe=function(a){a!==void 0?this.opts.ownedByMe=a:delete this.opts.ownedByMe;return this};g.setLabel=function(a){Gr.superClass_.setLabel.call(this,a);return this};g.setQuery=function(a){Gr.superClass_.setQuery.call(this,a);return this};
g.setParent=function(a){for(var b=l(O_c),c=b.next();!c.done;c=b.next())c=c.value,this.opts[c]&&delete this.opts[c];Gr.superClass_.setParent.call(this,a);return this};g.setItems=function(a){this.opts.items=a};var Q_c=function(){Fr.call(this,"image-search")};Y(Q_c,Fr);g=Q_c.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){Fr.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){Fr.prototype.setQuery.call(this,a);return this};g.setParent=function(a){Fr.prototype.setParent.call(this,a);return this};var VU=function(){Fr.call(this,"maps")};Y(VU,Fr);VU.prototype.setMode=function(a){this.opts.mode=a;return this};VU.prototype.setLabel=function(a){Fr.prototype.setLabel.call(this,a);return this};VU.prototype.setQuery=function(a){Fr.prototype.setQuery.call(this,a);return this};VU.prototype.setParent=function(a){Fr.prototype.setParent.call(this,a);return this};var R_c=function(){Fr.call(this,"photos")};Y(R_c,Fr);g=R_c.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){Fr.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){Fr.prototype.setQuery.call(this,a);return this};g.setParent=function(a){Fr.prototype.setParent.call(this,a);return this};g.removeDuplicates=function(){this.opts.rdv=!0;return this};var WU=function(){Fr.call(this,"url")};Y(WU,Fr);WU.prototype.setType=function(a){this.opts.type=a;return this};WU.prototype.setLabel=function(a){Fr.prototype.setLabel.call(this,a);return this};WU.prototype.setQuery=function(a){Fr.prototype.setQuery.call(this,a);return this};WU.prototype.setParent=function(a){Fr.prototype.setParent.call(this,a);return this};var S_c=function(){Fr.call(this,"video-search")};Y(S_c,Fr);S_c.prototype.setLabel=function(a){Fr.prototype.setLabel.call(this,a);return this};S_c.prototype.setQuery=function(a){Fr.prototype.setQuery.call(this,a);return this};S_c.prototype.setParent=function(a){Fr.prototype.setParent.call(this,a);return this};var T_c=function(){Fr.call(this,"web")};Y(T_c,Fr);T_c.prototype.setLabel=function(a){Fr.prototype.setLabel.call(this,a);return this};T_c.prototype.setQuery=function(a){Fr.prototype.setQuery.call(this,a);return this};T_c.prototype.setParent=function(a){Fr.prototype.setParent.call(this,a);return this};var U_c=function(){this.root_=void 0;this.items_=[];this.opts={}},V_c=function(a){switch(a){case "image-search":return new Q_c;case "maps":return new VU;case "photos":return new R_c;case "url":return new WU;case "video-search":return new S_c;case "web":return new T_c}return new Fr(a)};U_c.prototype.addView=function(a){this.items_.push(typeof a==="string"?V_c(a):a);return this};
var W_c=function(a){return"("+Rdc(a.items_,function(b){return b.toString()}).join(",")+")"},X_c=function(a){a=Sc(a.opts,function(b){return b!==null});return(a=Tc(a)?null:a)?JSON.stringify(Pda(a,function(b){return b.toString()})):""};U_c.prototype.toString=function(){if(this.root_){var a=["{root:",this.root_.toString(),",items:",W_c(this)],b=X_c(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return W_c(this)};U_c.prototype.getOptions=function(){return Wc(this.opts)};
U_c.prototype.setCollapsible=function(a){this.opts.collapsible=a};var Igb=function(a){this.basePickerUrl_=a||"https://docs.google.com/picker";this.nav_=new U_c};g=Igb.prototype;g.nav_=null;g.domHelper_=null;g.addView=function(a){this.nav_.addView(a);return this};g.getAppId=function(){return this.appId_};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};Lu(Jgb,Igb);var Y_c=function(a){return typeof a.className=="string"?a.className:a.getAttribute&&a.getAttribute("class")||""},Z_c=function(a){return a.classList?a.classList:Y_c(a).match(/\S+/g)||[]},$_c=function(a,b){typeof a.className=="string"?a.className=b:a.setAttribute&&a.setAttribute("class",b)},a0c=function(a,b){a.classList?b=a.classList.contains(b):(a=Z_c(a),b=Ca(a,b)>=0);return b},b0c=function(a,b){if(a.classList)a.classList.add(b);else if(!a0c(a,b)){var c=Y_c(a);$_c(a,c+(c.length>0?" "+b:b))}},c0c=function(a,
b){if(a.classList)Array.prototype.forEach.call(b,function(e){b0c(a,e)});else{var c={};Array.prototype.forEach.call(Z_c(a),function(e){c[e]=!0});Array.prototype.forEach.call(b,function(e){c[e]=!0});b="";for(var d in c)b+=b.length>0?" "+d:d;$_c(a,b)}},d0c=function(a,b){a.classList?a.classList.remove(b):a0c(a,b)&&$_c(a,Array.prototype.filter.call(Z_c(a),function(c){return c!=b}).join(" "))},e0c=function(a,b){a.classList?Array.prototype.forEach.call(b,function(c){d0c(a,c)}):$_c(a,Array.prototype.filter.call(Z_c(a),
function(c){return!(Ca(b,c)>=0)}).join(" "))};var n6b=function(){if(Xdc){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(oa()))?a[1]:"0"}return At?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(oa()))?a[0].replace(/_/g,"."):"10"):Zdc?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(oa()))?a[1]:""):$dc||aec||bec?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(oa()))?a[1].replace(/_/g,"."):""):""}();var XU=function(a){return(a=a.exec(oa()))?a[1]:""},l6b=function(){if(iec)return XU(/Firefox\/([0-9.]+)/);if(dt||Vdc||Udc)return hec;if(o6b){if(xa()||za()){var a=XU(/CriOS\/([0-9.]+)/);if(a)return a}return XU(/Chrome\/([0-9.]+)/)}if(k6b&&!xa())return XU(/Version\/([0-9.]+)/);if(jec||kec){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(oa()))return a[1]+"."+a[2]}else if(lec)return(a=XU(/Android\s+([0-9.]+)/))?a:XU(/Version\/([0-9.]+)/);return""}();var v6b=function(a,b){return(b&8&&Ts(a)?b^4:b)&-9};var et=function(){};et.instance_=void 0;et.getInstance=function(){return et.instance_?et.instance_:et.instance_=new et};et.prototype.nextId_=0;et.prototype.idPrefix_="";et.prototype.setIdPrefix=function(a){this.idPrefix_=a};var Os=function(a){return a.idPrefix_+":"+(a.nextId_++).toString(36)};var YU=function(a){st.call(this);this.dom_=a||Nr();this.rightToLeft_=f0c;this.id_=null;this.inDocument_=!1;this.element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.parent_=null;this.wasDecorated_=!1};Lu(YU,st);YU.prototype.idGenerator_=et.getInstance();var f0c=!1;g=YU.prototype;g.getId=function(){return this.id_||(this.id_=Os(this.idGenerator_))};
g.setId=function(a){if(this.parent_&&this.parent_.childIndex_){Uc(this.parent_.childIndex_,this.id_);var b=this.parent_.childIndex_;if(b!==null&&a in b)throw Error("Y`"+a);b[a]=this}this.id_=a};g.getElement=function(){return this.element_};g.getHandler=function(){this.googUiComponentHandler_||(this.googUiComponentHandler_=new Ps(this));return this.googUiComponentHandler_};
g.setParent=function(a){if(this==a)throw Error("Re");var b;if(b=a&&this.parent_&&this.id_){b=this.parent_;var c=this.id_;b=b.childIndex_&&c?Vc(b.childIndex_,c)||null:null}if(b&&this.parent_!=a)throw Error("Re");this.parent_=a;YU.superClass_.setParentEventTarget.call(this,a)};g.getParent=function(){return this.parent_};g.setParentEventTarget=function(a){if(this.parent_&&this.parent_!=a)throw Error("Se");YU.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("Te");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.decorate=function(a){if(this.inDocument_)throw Error("Te");if(a&&this.canDecorate(a)){this.wasDecorated_=!0;var b=Ws(a);this.dom_&&this.dom_.document_==b||(this.dom_=Nr(a));this.decorateInternal(a);this.enterDocument()}else throw Error("Ue");};g.canDecorate=function(){return!0};g.decorateInternal=function(a){this.element_=a};g.enterDocument=function(){this.inDocument_=!0;g0c(this,function(a){!a.inDocument_&&a.getElement()&&a.enterDocument()})};
g.exitDocument=function(){g0c(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_);g0c(this,function(a){a.dispose()});!this.wasDecorated_&&this.element_&&Bv(this.element_);this.parent_=this.element_=this.childIndex_=this.children_=null;YU.superClass_.disposeInternal.call(this)};
g.setModel=function(){};
g.addChild=function(){var a=this.children_?this.children_.length:0;if((void 0).inDocument_&&!this.inDocument_)throw Error("Te");if(a<0||a>(this.children_?this.children_.length:0))throw Error("Ve");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;Fa(this.children_)}else{b=this.childIndex_;c=(void 0).getId();if(b!==null&&c in b)throw Error("Y`"+c);b[c]=void 0}(void 0).setParent(this);Gaa(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&&(void 0).element_.parentNode.nodeType==1&&(void 0).enterDocument()};g.getContentElement=function(){return this.element_};
g.isRightToLeft=function(){this.rightToLeft_==null&&(this.rightToLeft_=Ts(this.inDocument_?this.element_:this.dom_.document_.body));return this.rightToLeft_};g.hasChildren=function(){return!!this.children_&&this.children_.length!=0};var g0c=function(a,b){a.children_&&a.children_.forEach(b,void 0)};
YU.prototype.removeChild=function(a,b){if(a){var c=typeof a==="string"?a:a.getId();a=this.childIndex_&&c?Vc(this.childIndex_,c)||null:null;c&&a&&(Uc(this.childIndex_,c),Fa(this.children_,a),b&&(a.exitDocument(),a.element_&&Bv(a.element_)),a.setParent(null))}if(!a)throw Error("We");return a};Lu(Lgb,Kgb);Lu(Mgb,Kgb);var h0c=Fu(["//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick"]),i0c=Fu(["//apis.google.com/js/rpc.js"]),$gb=sd(h0c),Zgb=sd(i0c),Ogb=null;var j0c=function(a){st.call(this);this.element_=a;this.listenKeyIn_=tt(this.element_,"focus",this,!0);this.listenKeyOut_=tt(this.element_,"blur",this,!0)};Lu(j0c,st);j0c.prototype.handleEvent=function(a){var b=new Kx(a.event_);b.type=a.type=="focusin"||a.type=="focus"?"focusin":"focusout";this.dispatchEvent(b)};j0c.prototype.disposeInternal=function(){j0c.superClass_.disposeInternal.call(this);Ox(this.listenKeyIn_);Ox(this.listenKeyOut_);delete this.element_};var k0c=new Map;k0c.set("application/vnd.google-apps.document","application/vnd.google-gsuite.document-blob");k0c.set("application/vnd.google-apps.spreadsheet","application/vnd.google-gsuite.spreadsheet-blob");k0c.set("application/vnd.google-apps.presentation","application/vnd.google-gsuite.presentation-blob");var l0c=new Set;l0c.add("application/vnd.google-apps.kix");l0c.add("application/vnd.google-apps.ritz");l0c.add("application/vnd.google-apps.punch");var x0c=function(a,b,c){var d=c&&Oc(c,1);c=m0c(c);switch(a[0].getId().getSourceId()){case 13:return n0c(a,b,d,c);case 3:return o0c(a,b,d,c);case 10:return p0c(a,b,d,c);case 27:return p0c(a,b,d,c);case 12:return q0c(a,b);case 2:return r0c(a,b,d,c);case 5:return s0c(a,b,d,c);case 9:return t0c(a,b,d,c);case 6:return u0c(a,b,d,c);case 25:return v0c(a,b,d,c);case 1:return Me(a[0],Dfc,26)?w0c(a,b,d,c):p0c(a,b,d,c);default:return{}}},u0c=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),
serviceId:"youtube",name:e.getName(),description:e.getDescription(),type:ZU(e),lastEditedUtc:r(e,ue,16).toDate().getTime(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:Oc(e,13),thumbnails:$U(nv(e))}});return{action:b,docs:a,viewToken:d,view:c||"youtube",v2Translated:!0}},r0c=function(a,b,c,d){var e=a.map(function(f){var h=f.getId().getId(),k=f.getMimeType(),q=f.getName(),u=ZU(f),A=f.getLastModifiedTimestamp().toDate().getTime(),D=f.getUrl(),
H=Number(Nec(f)),O=f.getDescription(),P=f.getIconUrl(),S=$U(nv(f)),aa=r(f,ov,21).getShared(),ia=r(f,ov,21).getDownloadUrl(),la=Oc(f,13);var ya=r(f,ov,21);ya=De(ya,9);var Ia=r(f,ov,21);Ia=Oc(Ia,11);h={id:h,serviceId:"docs",mimeType:k,name:q,type:u,lastEditedUtc:A,url:D,sizeBytes:H,description:O,iconUrl:P,thumbnails:S,isShared:aa,downloadUrl:ia,embedUrl:la,copyable:ya,resourceKey:Ia};k=r(f,ov,21);De(k,12)&&(h.uploadState="success",h.isNew=!0);r(f,ov,21).hasVideoMetadata()&&(f=r(f,ov,21).getVideoMetadata(),
Me(f,we,2)&&(k=pe(r(f,we,2).getSeconds())+r(f,we,2).getNanos()/1E9,h.duration=k),h.aspectRatio=wl(f,1));return h});return{action:b,docs:e,viewToken:d,view:c||"all",extraUserInputs:y0c(a),v2Translated:!0}},s0c=function(a,b,c,d){a=a.map(function(e){var f=r(e,Mfc,15);f=r(f,Bfc,1);rm(e,10,Bfc,f);return{id:e.getId().getId(),serviceId:"web",mimeType:e.getMimeType(),name:e.getName(),type:ZU(e),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",
thumbnails:$U(nv(e))}});return{action:b,docs:a,viewToken:d,view:c||"image-search",v2Translated:!0}},t0c=function(a,b,c,d){a=a.map(function(e){return{serviceId:"url",name:nv(e)[0].getUrl().split("/").pop(),type:ZU(e),mimeType:e.getMimeType(),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:$U(nv(e))}});return{action:b,docs:a,viewToken:d,view:c||"url",v2Translated:!0}},w0c=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),
serviceId:"picasa",name:e.getName(),type:ZU(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:$U(nv(e))}});return{action:b,docs:a,viewToken:d,view:c||"webcam",v2Translated:!0}},p0c=function(a,b,c,d){return{action:b,docs:a.map(z0c),viewToken:d,view:A0c(c||"upload",a),extraUserInputs:y0c(a),v2Translated:!0}},A0c=function(a,b){return b.some(function(c){var d;return((d=r(c,kv,30))==null?void 0:d.getAgentId())===9})?a+"/gmailphotos":
a},o0c=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:ZU(f),lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),url:f.getUrl(),sizeBytes:Number(Nec(f)),description:f.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:$U(nv(f)),mediaKey:f.getId().getId(),parentId:f.getParentId()},k,q=(k=r(f,Gfc,18))==null?void 0:r(k,Ffc,3);q&&(h.latitude=wl(q,1),
h.longitude=wl(q,2));var u;(f=qe((u=r(f,Gfc,18))==null?void 0:Re(u,6)))&&(h.version=f);return h});return{action:b,docs:e,viewToken:d,view:c||"photos",extraUserInputs:y0c(a),v2Translated:!0}},n0c=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"et",name:nv(e)[0].getUrl().split("/").pop(),description:e.getDescription(),type:"et",iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:$U(nv(e),"etjpg")}});return{action:b,docs:a,viewToken:d,
view:c||"et",v2Translated:!0}},v0c=function(a,b,c,d){a=a.map(function(e){var f=e.getId().getId(),h=d["2"];return{id:f,serviceId:h.type!=="gmail_themes"&&h.parent==="6226252643674576769"?"picasa":"static_themes",name:e.getName(),mimeType:e.getMimeType(),type:ZU(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:e.getUrl(),thumbnails:$U(nv(e))}});return{action:b,docs:a,viewToken:d,view:c||"photos",v2Translated:!0}},
q0c=function(a,b){a=a.map(function(c){var d=r(c,Efc,27).getEmailList()[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",v2Translated:!0}},m0c=function(a){if(!a)return{};var b=Oc(a,3);b=b&&JSON.parse(b)||{};return{0:Oc(a,1),1:a.getLabel(),2:b}},$U=function(a,b){b=b===void 0?"":b;if(!a.length)return null;b=="etjpg"&&(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}})},y0c=function(a){return{isAttachment:a.some(function(b){return De(b,31)})}},z0c=function(a){var b,c={id:(b=a.getId())==null?void 0:b.getId(),serviceId:B0c(a),mimeType:a.getMimeType(),name:a.getName(),type:ZU(a),sizeBytes:Number(Nec(a)),description:a.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:$U(nv(a)),isNew:!0};if(b=r(a,kv,30)){c.dataUrl=
Oc(b,1)||null;a:{var d=r(a,kv,30);switch(d.getAgentId()){case 9:d=Zk(d,Kfc,2,lv);d={remoteRefs:d&&Oc(d,1)};break a;case 10:case 15:d=Zk(d,Jfc,4,lv);var e=nv(a);d={photo_id:d&&d.getPhotoId(),media_key:a.getId().getId(),media_type:a.getType()===1?1:2,image_url:e&&e[0].getUrl(),width:e&&String(e[0].getWidth()),height:e&&String(e[0].getHeight())};break a}d=null}c.uploadMetadata=d;c.uploadId=Oc(b,9)||null;c.uploadState=C0c(b)||null}(d=b&&Zk(b,Jfc,4,lv))&&(c.id=d.getPhotoId());(d=b&&Zk(b,Lfc,5,lv))&&(c.contentId=
Oc(d,1));(d=b&&Zk(b,Hfc,7,lv))&&(c.contentId=Oc(d,1));(d=b&&Zk(b,Ifc,6,lv))&&(c.contentId=Oc(d,1));(b==null?void 0:b.getAgentId())===1&&(c.mediaKey=a.getId().getId());return c},B0c=function(a){var b;switch(((b=r(a,kv,30))==null?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},ZU=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"}},C0c=function(a){switch(a==null?void 0:Zd(a,8)){case 0:return"default";case 1:return"canceled";case 2:return"error";case 3:return"running";case 4:return"scheduled";case 5:return"success"}return null};var D0c=function(a){this.obj_=a};g=D0c.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 E0c=function(a){this.obj_=a||{}};g=E0c.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 F0c=function(a){a.obj_.attributes=a.obj_.attributes||{};return new D0c(a.obj_.attributes)};var G0c=function(){E0c.apply(this,arguments)};Y(G0c,E0c);var H0c=Fu(["https://apis.google.com/js/api.js"]),I0c=sd(H0c),M0c=function(a,b,c){c=c===void 0?{}:c;var d=!1,e=J0c(a,b,c).then(function(h){d=!0;return h}),f=nwc().then(function(){return d?J0c(a,b,c):K0c(b,c).then(function(h){return L0c(h,a)})});return ghc([e,f])},J0c=function(a,b,c){c=c===void 0?{}:c;return N0c(b,c).then(function(d){return L0c(d,a)})},L0c=function(a,b){var c=b.lastIndexOf("gapi.",0)==0?b.slice(5):b;return a[c]?bhc(a[c]):new Hv(function(d,e){var f=Yq(function(){e(Error("Xe"))},3E4);
a.load(b,{callback:function(){da.clearTimeout(f);d(a[c])},onerror:function(h){da.clearTimeout(f);e(h)}})})},N0c=function(a,b){b=b===void 0?{}:b;return a.gapi&&a.gapi.load?bhc(a.gapi):K0c(a,b)},K0c=function(a,b){b=b===void 0?{}:b;return VMa(I0c,{document:a.document,attributes:b}).then(function(){return a.gapi})},O0c=function(){};
O0c.prototype.load=function(a,b,c){b=b===void 0?window:b;c=c===void 0?{}:c;var d=Date.now();return M0c(a,b,c).then(function(e){var f=Date.now();return{library:e,loadStartMs:d,loadEndMs:f}},function(e){throw e instanceof Error?e:Error(String(e));})};var Wgb=function(){Ix.call(this);this.gapiLoader_=new O0c;this.origin_=null;this.gapiPickerIframeResolver_=ihc();this.gapiIframesResolver_=ihc();this.gapiIframesResolver_.promise.then(null,function(){});this.gapiPickerIframeResolver_.promise.then(null,function(){});this.hostMessageHandlerInternal_={}};Y(Wgb,Ix);
var P0c=function(a,b){var c=c===void 0?{}:c;var d=it("gapi.iframes",b);return d?(a=Date.now(),bhc({library:d,loadStartMs:a,loadEndMs:a})):a.gapiLoader_.load("gapi.iframes",b,c)},Q0c=function(a,b,c,d,e,f){var h=!1;h=h===void 0?!1:h;P0c(a,Vs(b.ownerDocument)).then(function(k){var q=k.library;a.gapiIframesResolver_.resolve(q);k=a.gapiPickerIframeResolver_;var u=k.resolve,A=h;A=A===void 0?!1:A;var D={};D["host-message-handler"]=c;a.hostMessageHandlerInternal_=D;var H=Kr(d);H=Kr(H);H=Tx(Sx(Rx(new er,H.scheme_),
H.getDomain()),H.port_).toString();a.origin_=H;H=(new G0c).setUrl(d);H.obj_.where=b;H.obj_.allowPost=A;H.obj_.messageHandlers=D;A=it("makeWhiteListIframesFilter",q)([a.origin_]);H.obj_.messageHandlersFilter=A;e!=null&&H.setId(e);f!=null&&(H.obj_.rpctoken=f);F0c(H).setStyle({display:"block","min-width":"100%",width:"1px"}).setHeight("100%");F0c(H).value().allow="camera 'src' "+a.origin_;q=q.getContext().openChild(H.value());u.call(k,q)},function(k){a.gapiIframesResolver_.reject(k);a.gapiPickerIframeResolver_.reject(k)});
return a.gapiPickerIframeResolver_.promise},R0c=function(a,b){return fhc([a.gapiIframesResolver_.promise,a.gapiPickerIframeResolver_.promise]).then(function(c){var d=l(c);c=d.next().value;return(d=d.next().value)?d.send("picker-message-handler",b,void 0,it("makeWhiteListIframesFilter",c)([a.origin_])):chc(Error("Ye"))})};Wgb.prototype.disposeInternal=function(){S0c(this);Ix.prototype.disposeInternal.call(this)};
var S0c=function(a){a.gapiPickerIframeResolver_.promise.then(function(b){b&&(b.unregister("host-message-handler"),delete a.hostMessageHandlerInternal_["host-message-handler"])})};var T0c=function(){this.nextId=0};T0c.prototype.getUniqueId=function(){return":"+(this.nextId++).toString(36)};var V0c=function(a,b){switch(a.action){case "select-contacts":a=U0c(a.contacts);break;case "visibility":a=a.visible;a=(new Pfc).setCommand(7).setVisible(a);var c={};c["iframe-command"]=a.serialize();a=c;break;default:a=null}return a?R0c(b,a):bhc()},U0c=function(a){if(!a||a.length==0)return null;var b=new Pfc;b.setCommand(11);var c=new T0c;a.forEach(function(d){if(d.email){var e=(new mv).setName(d.name?d.name:d.email);d=(new Efc).addEmail(d.email);e=t(e,Efc,27,d).setId((new jv).setId(c.getUniqueId()).setSourceId(12))}else e=
null;e&&b.addItem(e)});a={};a["iframe-command"]=b.serialize();return a};var aV=function(a,b,c){st.call(this);this.target=a;this.handle=b||a;this.limits=c||new Xs(NaN,NaN,NaN,NaN);this.document_=Ws(a);this.eventHandler_=new Ps(this);Ir(this,this.eventHandler_);this.deltaY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this.clientX=0;this.dragging_=!1;tt(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.useSetCapture_=W0c};Lu(aV,st);
var W0c=da.document&&da.document.documentElement&&!!da.document.documentElement.setCapture&&!!da.document.releaseCapture;g=aV.prototype;g.getHandler=function(){return this.eventHandler_};g.disposeInternal=function(){aV.superClass_.disposeInternal.call(this);Nx(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=a.type=="mousedown";if(this.dragging_||b&&(a.event_.button!=0||At&&a.ctrlKey))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new bV("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(Vs(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=Kgc(Nr(this.document_))}};
g.endDrag=function(a,b){this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.dragging_?(this.dragging_=!1,this.dispatchEvent(new bV("end",this,a.clientX,a.clientY,a,X0c(this,this.deltaX),Y0c(this,this.deltaY),b||a.type=="touchcancel"))):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(d*d+e*e>0)if(this.dispatchEvent(new bV("start",this,a.clientX,a.clientY,a)))this.dragging_=!0;else{this.isDisposed()||this.endDrag(a);return}}c=Z0c(this,b,c);b=c.x;c=c.y;this.dragging_&&this.dispatchEvent(new bV("beforedrag",this,a.clientX,a.clientY,
a,b,c))&&($0c(this,a,b,c),a.preventDefault())};var Z0c=function(a,b,c){var d=Kgc(Nr(a.document_));b+=d.x-a.pageScroll.x;c+=d.y-a.pageScroll.y;a.pageScroll=d;a.deltaX+=b;a.deltaY+=c;return new Us(X0c(a,a.deltaX),Y0c(a,a.deltaY))};aV.prototype.onScroll_=function(a){var b=Z0c(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;$0c(this,a,b.x,b.y)};
var $0c=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new bV("drag",a,b.clientX,b.clientY,b,c,d))},X0c=function(a,b){var c=a.limits;a=isNaN(c.left)?null:c.left;c=isNaN(c.width)?0:c.width;return Math.min(a!=null?a+c:Infinity,Math.max(a!=null?a:-Infinity,b))},Y0c=function(a,b){var c=a.limits;a=isNaN(c.top)?null:c.top;c=isNaN(c.height)?0:c.height;return Math.min(a!=null?a+c:Infinity,Math.max(a!=null?a:-Infinity,b))};aV.prototype.isDragging=function(){return this.dragging_};
var bV=function(a,b,c,d,e,f,h){Jx.call(this,a);this.clientX=c;this.clientY=d;this.left=f!==void 0?f:b.deltaX;this.top=h!==void 0?h:b.deltaY};Lu(bV,Jx);var cV=function(a){this.map_=new Map;var b=arguments.length;if(b>1){if(b%2)throw Error("Z");for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.addAll(a)};g=cV.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.equals=function(a,b){var c=this;b=b===void 0?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 this.map_.size==0};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 cV){a=l(a.map_);for(var b=a.next();!b.done;b=a.next()){var c=l(b.value);b=c.next().value;c=c.next().value;this.map_.set(b,c)}}else if(a)for(a=l(Object.entries(a)),b=a.next();!b.done;b=a.next())c=l(b.value),b=c.next().value,c=c.next().value,this.map_.set(b,c)};g.forEach=function(a,b){var c=this;b=b===void 0?this:b;this.map_.forEach(function(d,e){return a.call(b,d,e,c)})};g.clone=function(){return new cV(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 a1c=[[],[]],b1c=0,c1c=!1,d1c=0,f1c=function(a,b){var c=d1c++,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(){arguments.length>0?(d.args||(d.args=[]),d.args.length=0,d.args.push.apply(d.args,arguments),d.args.push(d.state)):d.args&&d.args.length!=0?(d.args[0]=d.state,d.args.length=1):d.args=[d.state];d.isScheduled||(d.isScheduled=!0,a1c[b1c].push(d));c1c||(c1c=!0,window.requestAnimationFrame(e1c))}},e1c=
function(){c1c=!1;var a=a1c[b1c],b=a.length;b1c=(b1c+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 g1c=Fu(["about:blank"]),h1c=Fu(["javascript:undefined"]),i1c=sd(g1c);Zc(i1c);var j1c=sd(h1c);Zc(j1c);var k1c=function(a,b){this.element_=a;this.dom_=b};var dV=function(a,b){YU.call(this,b);this.useIframeMask_=!!a;this.lastFocus_=null;this.resizeBackgroundTask_=f1c({mutate:this.resizeBackground_},this);f1c({mutate:this.updateModalAndBackground_},this)};Lu(dV,YU);g=dV.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(){dV.superClass_.createDom.call(this);var a=this.getElement();c0c(a,na(this.getCssClass()).split(" "));a.tabIndex=0;Pr(a,!1);l1c(this);m1c(this)};
var l1c=function(a){if(a.useIframeMask_&&!a.bgIframeEl_){var b=a.getDomHelper().createDom("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});iea(b,i1c);a.bgIframeEl_=b;a.bgIframeEl_.className=a.getCssClass()+"-bg";Pr(a.bgIframeEl_,!1);D_c(a.bgIframeEl_,0)}a.bgEl_||(a.bgEl_=a.getDomHelper().createDom("DIV",a.getCssClass()+"-bg"),Pr(a.bgEl_,!1))},m1c=function(a){a.tabCatcherElement_||(a.tabCatcherElement_=a.getDomHelper().createElement("SPAN"),Pr(a.tabCatcherElement_,!1),a.tabCatcherElement_.tabIndex=
0,a.tabCatcherElement_.style.position="absolute")};g=dV.prototype;g.resetBackwardTabWrap_=function(){this.backwardTabWrapInProgress_=!1};g.canDecorate=function(a){return!!a&&a.tagName=="DIV"};g.decorateInternal=function(a){dV.superClass_.decorateInternal.call(this,a);a=na(this.getCssClass()).split(" ");c0c(this.getElement(),a);l1c(this);m1c(this);this.getElement().tabIndex=0;Pr(this.getElement(),!1)};
g.enterDocument=function(){if(this.bgIframeEl_){var a=this.bgIframeEl_,b=this.getElement();b.parentNode&&b.parentNode.insertBefore(a,b)}a=this.bgEl_;b=this.getElement();b.parentNode&&b.parentNode.insertBefore(a,b);dV.superClass_.enterDocument.call(this);a=this.tabCatcherElement_;b=this.getElement();b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling);this.focusHandler_=new j0c(this.getDomHelper().document_);this.getHandler().listen(this.focusHandler_,"focusin",this.onFocus);n1c(this,!1)};
g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);Wk(this.focusHandler_);dV.superClass_.exitDocument.call(this);Bv(this.bgIframeEl_);Bv(this.bgEl_);Bv(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_&&n1c(this,a),a){if(this.dispatchEvent("beforeshow")){try{this.lastFocus_=this.getDomHelper().document_.activeElement}catch(e){}this.updateModalAndBackground_();this.getHandler().listen(this.getDomHelper().getWindow(),
"resize",this.resizeBackground_).listen(this.getDomHelper().getWindow(),"orientationchange",this.resizeBackgroundTask_);o1c(this,!0);this.focus();this.visible_=!0;if(this.popupShowTransition_&&this.bgShowTransition_)Mx(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_)Mx(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 n1c=function(a,b){a.modalAriaVisibilityHelper_||(a.modalAriaVisibilityHelper_=new k1c(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_||cKc(d,"hidden")||(zL(d,"hidden",!0),a.hiddenElements_.push(d))}}else if(a.hiddenElements_){for(b=0;b<a.hiddenElements_.length;b++)a.hiddenElements_[b].removeAttribute("aria-hidden");a.hiddenElements_=null}};
dV.prototype.updateModalAndBackground_=function(){this.resizeBackground_();this.reposition()};var o1c=function(a,b){a.bgIframeEl_&&Pr(a.bgIframeEl_,b);a.bgEl_&&Pr(a.bgEl_,b);Pr(a.getElement(),b);Pr(a.tabCatcherElement_,b)};g=dV.prototype;g.onShow=function(){this.dispatchEvent("show")};g.onHide=function(){o1c(this,!1);this.dispatchEvent("hide")};g.isVisible=function(){return this.visible_};g.focus=function(){this.focusElement_()};
g.resizeBackground_=function(){this.bgIframeEl_&&Pr(this.bgIframeEl_,!1);this.bgEl_&&Pr(this.bgEl_,!1);var a=this.getDomHelper().document_;var b=p1c(this);var 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_&&(Pr(this.bgIframeEl_,!0),B_c(this.bgIframeEl_,c,a));this.bgEl_&&(Pr(this.bgEl_,!0),B_c(this.bgEl_,c,a))};
g.reposition=function(){var a;if(j6b(this.getElement())=="fixed")var b=a=0;else b=Kgc(this.getDomHelper()),a=b.x,b=b.y;var c=C_c(this.getElement());var d=p1c(this);a=Math.max(a+d.width/2-c.width/2,0);b=Math.max(b+d.height/2-c.height/2,0);Ys(this.getElement(),a,b);Ys(this.tabCatcherElement_,a,b)};g.onFocus=function(a){this.backwardTabWrapInProgress_?this.resetBackwardTabWrap_():a.target==this.tabCatcherElement_&&Yq(this.focusElement_,0,this)};g.focusElement_=function(){try{this.getElement().focus()}catch(a){}};
var p1c=function(a){a=a.getDomHelper().document_;return zv(Vs(a)||window)};dV.prototype.disposeInternal=function(){Wk(this.popupShowTransition_);this.popupShowTransition_=null;Wk(this.popupHideTransition_);this.popupHideTransition_=null;Wk(this.bgShowTransition_);this.bgShowTransition_=null;Wk(this.bgHideTransition_);this.bgHideTransition_=null;dV.superClass_.disposeInternal.call(this)};var Hr=function(a,b,c){dV.call(this,b,c);this.class_=a||"modal-dialog";this.buttons_=eV(eV(new fV,q1c,!0),r1c,!1,!0)};Lu(Hr,dV);g=Hr.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_&&Dgc(this.titleTextEl_,a)};g.getTitle=function(){return this.title_};g.getContent=function(){return""};g.getContentElement=function(){this.getElement()||this.render();return this.contentEl_};var s1c=function(a){a.getElement()||a.render();return a.getElement()};Hr.prototype.getBackgroundElement=function(){this.getElement()||this.render();return Hr.superClass_.getBackgroundElement.call(this)};
var t1c=function(a,b){a.backgroundElementOpacity_=b;a.getElement()&&(b=a.getBackgroundElement())&&D_c(b,a.backgroundElementOpacity_)};Hr.prototype.handleDrag=function(){};
var u1c=function(a,b){var c=na(a.class_+"-title-draggable").split(" ");a.getElement()&&(b?c0c(a.titleEl_,c):e0c(a.titleEl_,c));b&&!a.dragger_?(b=new aV(a.getElement(),a.titleEl_),a.dragger_=b,c0c(a.titleEl_,c),tt(a.dragger_,"start",a.setDraggerLimits_,!1,a),tt(a.dragger_,"drag",a.handleDrag,!1,a)):!b&&a.dragger_&&(a.dragger_.dispose(),a.dragger_=null)};g=Hr.prototype;
g.createDom=function(){Hr.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"));Agc(a,this.titleEl_,this.contentEl_=b.createDom("DIV",{className:this.class_+"-content",id:c}),this.buttonEl_=
b.createDom("DIV",this.class_+"-buttons"));bKc(this.titleTextEl_,"heading");bKc(this.titleCloseEl_,"button");this.titleCloseEl_.tabIndex=0;dKc(this.titleCloseEl_,"Close");bKc(a,"dialog");zL(a,"labelledby",this.titleTextId_||"");Pr(this.titleCloseEl_,this.hasTitleCloseButton_);this.buttons_&&(a=this.buttons_,a.element_=this.buttonEl_,a.render());Pr(this.buttonEl_,!!this.buttons_);t1c(this,this.backgroundElementOpacity_)};
g.decorateInternal=function(a){Hr.superClass_.decorateInternal.call(this,a);a=this.getElement();var b=this.class_+"-content";this.contentEl_=yv(document,null,b,a)[0];this.contentEl_||(this.contentEl_=this.getDomHelper().createDom("DIV",b),a.appendChild(this.contentEl_));b=this.class_+"-title";var c=this.class_+"-title-text",d=this.class_+"-title-close";(this.titleEl_=yv(document,null,b,a)[0])?(this.titleTextEl_=yv(document,null,c,this.titleEl_)[0],this.titleCloseEl_=yv(document,null,d,this.titleEl_)[0]):
(this.titleEl_=this.getDomHelper().createDom("DIV",b),a.insertBefore(this.titleEl_,this.contentEl_));this.titleTextEl_?(this.title_=Igc(this.titleTextEl_),this.titleTextEl_.id||(this.titleTextEl_.id=this.getId())):(this.titleTextEl_=ygc("SPAN",{className:c,id:this.getId()}),this.titleEl_.appendChild(this.titleTextEl_));this.titleTextId_=this.titleTextEl_.id;zL(a,"labelledby",this.titleTextId_||"");this.titleCloseEl_||(this.titleCloseEl_=this.getDomHelper().createDom("SPAN",d),this.titleEl_.appendChild(this.titleCloseEl_));
Pr(this.titleCloseEl_,this.hasTitleCloseButton_);b=this.class_+"-buttons";(this.buttonEl_=yv(document,null,b,a)[0])?(this.buttons_=new fV(this.getDomHelper()),this.buttons_.decorate(this.buttonEl_)):(this.buttonEl_=this.getDomHelper().createDom("DIV",b),a.appendChild(this.buttonEl_),this.buttons_&&(a=this.buttons_,a.element_=this.buttonEl_,a.render()),Pr(this.buttonEl_,!!this.buttons_));t1c(this,this.backgroundElementOpacity_)};
g.enterDocument=function(){Hr.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_);u1c(this,!0);this.getHandler().listen(this.titleCloseEl_,"click",this.onTitleCloseClick_);var a=this.getElement();bKc(a,"dialog");this.titleTextEl_.id!==""&&zL(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()&&n1c(this,!1)}};g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);u1c(this,!1);Hr.superClass_.exitDocument.call(this)};g.setVisible=function(a){a!=this.isVisible()&&(this.inDocument_||this.render(),Hr.superClass_.setVisible.call(this,a))};g.onShow=function(){Hr.superClass_.onShow.call(this);this.dispatchEvent("aftershow")};
g.onHide=function(){Hr.superClass_.onHide.call(this);this.dispatchEvent("afterhide");this.disposeOnHide_&&this.dispose()};g.setDraggerLimits_=function(){var a=this.getDomHelper().document_,b=zv(Vs(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=C_c(this.getElement());j6b(this.getElement())=="fixed"?this.dragger_.limits=new Xs(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height)):this.dragger_.limits=new Xs(0,0,c-d.width,a-d.height)};
g.onTitleCloseClick_=function(){v1c(this)};var v1c=function(a){if(a.hasTitleCloseButton_){var b=a.buttons_,c=b&&b.cancelButton_;c?(b=b.get(c),a.dispatchEvent(new w1c(c,b))&&a.setVisible(!1)):a.setVisible(!1)}},x1c=function(a){a.hasTitleCloseButton_=!1;a.titleCloseEl_&&Pr(a.titleCloseEl_,a.hasTitleCloseButton_)};Hr.prototype.setDisposeOnHide=function(a){this.disposeOnHide_=a};Hr.prototype.disposeInternal=function(){this.buttonEl_=this.titleCloseEl_=null;Hr.superClass_.disposeInternal.call(this)};
Hr.prototype.onButtonClick_=function(a){a:{for(a=a.target;a!=null&&a!=this.buttonEl_;){if(a.tagName=="BUTTON")break a;a=a.parentNode}a=null}if(a&&!a.disabled){a=a.name;var b=this.buttons_.get(a);this.dispatchEvent(new w1c(a,b))&&this.setVisible(!1)}};
Hr.prototype.onKey_=function(a){var b=!1,c=!1,d=this.buttons_,e=a.target;if(a.type=="keydown")if(this.escapeToCancel_&&a.keyCode==27){var f=d&&d.cancelButton_;e=e.tagName=="SELECT"&&!e.disabled;f&&!e?(c=!0,b=d.get(f),b=this.dispatchEvent(new w1c(f,b))):e||(b=!0)}else{if(a.keyCode==9&&a.shiftKey&&e==this.getElement()){this.backwardTabWrapInProgress_=!0;try{this.tabCatcherElement_.focus()}catch(A){}Yq(this.resetBackwardTabWrap_,0,this)}}else if(a.keyCode==13){if(e.tagName=="BUTTON"&&!e.disabled)f=e.name;
else if(e==this.titleCloseEl_)v1c(this);else if(d){var h=d.defaultButton_,k;if(k=h)a:{k=xv("BUTTON",d.element_);for(var q,u=0;q=k[u];u++)if(q.name==h||q.id==h){k=q;break a}k=null}e=(e.tagName=="TEXTAREA"||e.tagName=="SELECT"||e.tagName=="A")&&!e.disabled;!k||k.disabled||e||(f=h)}f&&d&&(c=!0,b=this.dispatchEvent(new w1c(f,String(d.get(f)))))}else e!=this.titleCloseEl_||a.keyCode!=32&&a.key!=" "||v1c(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};
var w1c=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};Lu(w1c,Jx);var fV=function(a){cV.call(this);this.dom_=a||Nr();this.class_="goog-buttonset";this.cancelButton_=this.element_=this.defaultButton_=null};Lu(fV,cV);fV.prototype.clear=function(){cV.prototype.clear.call(this);this.defaultButton_=this.cancelButton_=null};fV.prototype.set=function(a,b,c,d){cV.prototype.set.call(this,a,b);c&&(this.defaultButton_=a);d&&(this.cancelButton_=a);return this};
var eV=function(a,b,c,d){return a.set(b.key,b.caption,c,d)};fV.prototype.render=function(){if(this.element_){kea(this.element_,Or);var a=Nr(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)}};
fV.prototype.decorate=function(a){if(a&&a.nodeType==1){this.element_=a;a=xv("BUTTON",this.element_);for(var b,c,d,e=0;b=a[e];e++)if(c=b.name||b.id,d=Igc(b)||b.value,c){var f=e==0;this.set(c,d,f,b.name=="cancel");f&&b0c(b,this.class_+"-default")}}};fV.prototype.getElement=function(){return this.element_};fV.prototype.getDomHelper=function(){return this.dom_};
var q1c={key:"ok",caption:"OK"},r1c={key:"cancel",caption:"Cancel"},y1c={key:"yes",caption:"Yes"},z1c={key:"no",caption:"No"},A1c={key:"save",caption:"Save"},B1c={key:"continue",caption:"Continue"};typeof document!="undefined"&&(eV(new fV,q1c,!0,!0),eV(eV(new fV,q1c,!0),r1c,!1,!0),eV(eV(new fV,y1c,!0),z1c,!1,!0),eV(eV(eV(new fV,y1c),z1c,!0),r1c,!1,!0),eV(eV(eV(new fV,B1c),A1c),r1c,!0,!0));Lu(Qgb,Hr);var Rgb=function(a,b){st.call(this);this.element_=a;a=Bgc(this.element_)?this.element_:this.element_?this.element_.body:null;this.isRtl_=!!a&&Ts(a);this.listenKey_=tt(this.element_,Dr?"DOMMouseScroll":"mousewheel",this,b)};Lu(Rgb,st);
Rgb.prototype.handleEvent=function(a){var b=0,c=0,d=a.event_;d.type=="mousewheel"?(a=C1c(-d.wheelDelta),d.wheelDeltaX!==void 0?(b=C1c(-d.wheelDeltaX),c=C1c(-d.wheelDeltaY)):c=a):(a=d.detail,a>100?a=3:a<-100&&(a=-3),d.axis!==void 0&&d.axis===d.HORIZONTAL_AXIS?b=a:c=a);typeof this.maxDeltaX_==="number"&&(b=Math.min(Math.max(b,-this.maxDeltaX_),this.maxDeltaX_));typeof this.maxDeltaY_==="number"&&(c=Math.min(Math.max(c,-this.maxDeltaY_),this.maxDeltaY_));this.isRtl_&&(b=-b);b=new D1c(a,d,b,c);this.dispatchEvent(b)};
var C1c=function(a){return Cr&&(At||Ydc)&&a%40!=0?a:a/40};Rgb.prototype.disposeInternal=function(){Rgb.superClass_.disposeInternal.call(this);Ox(this.listenKey_);this.listenKey_=null};var D1c=function(a,b,c,d){Kx.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};Lu(D1c,Kx);var Ygb;var E1c=Fu(["https://about:blank"]),F1c=Fu(['javascript:""']),G1c=Fu(["about:blank"]);Lu(Qr,Qgb);g=Qr.prototype;g.url_="";g.iframe_=null;g.iframeLoaded_=!1;g.loadedFired_=!1;g.callback_=function(){};g.enterDocument=function(){Qr.superClass_.enterDocument.call(this);Tgb(this.getBackgroundElement(),this.getHandler())};
g.render=function(a){var b=this;Qr.superClass_.render.call(this,a);this.useGapi_?P0c(this.iframeManager_,window).then(function(){return H1c(b)}).then(null,function(c){return void b.handleError_(c)}):I1c(this)};
var H1c=function(a){var b=a.getDomHelper().createDom("div",["picker-dialog-content","picker-frame"]);Pr(b,!1);a.getContentElement().appendChild(b);return Q0c(a.iframeManager_,b,function(c){var d=Rfc(c["iframe-command"]);switch(d.getCommand()){case 1:c=a.callback_;d=r(d,Ofc,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);d=f.length===0?{action:e}:x0c(f,e,d.getInternalOnlyV1ViewInfo());c.call(a,d);a.setVisible(!1);break;case 4:x1c(a);
a.callback_({action:"loaded"});break;case 7:case 8:c=a.callback_;a:{e=d.getCommand();f=r(d,Ofc,2);switch(e){case 7:e="uploadScheduled";break;case 8:e="uploadStateChange";break;default:d={};break a}d=f.getItemList($d);if(d.length===0)d={action:e};else{var h=f.getInternalOnlyV1ViewInfo();f=h&&Oc(h,1);h=m0c(h);d=p0c(d,e,f,h)}}c.call(a,d)}},a.url_,a.targetId_,a.rpcToken_).then(function(c){a.iframe_=c.getIframeEl();J1c(a);Pr(a.iframe_.parentElement,!0);b0c(a.getElement(),"picker-dialog");K1c(a);return c})},
I1c=function(a){a.iframe_=a.dom_.createDom("IFRAME",{id:a.targetId_,name:a.targetId_,"class":"picker-frame",frameBorder:"0",allow:"camera"});iea(a.iframe_,L1c(a));b0c(a.getElement(),"picker-dialog");a.getContentElement().appendChild(a.iframe_);a.getHandler().listen(a.iframe_,"load",function(){return void J1c(a)});a.iframe_.src=a.url_;K1c(a)},N1c=function(a){M1c(a,ut(function(b){b.setAuthToken(this.targetId_,this.rpcToken_)},a))},K1c=function(a){var b=Lr(Kr(a.url_),"title");b&&a.setTitle(b)},L1c=function(a){return uaa()>=
7&&a.url_.lastIndexOf("https",0)==0?sd(E1c):dt?sd(F1c):sd(G1c)},J1c=function(a){N1c(a);a.iframeLoaded_=!0;a.iframe_.tabIndex=0;a.isVisible()&&a.focus()};Qr.prototype.handleKeydown_=function(a){a.keyCode==27&&(this.setVisible(!1),this.callback_({action:"cancel"}),a.stopPropagation(),a.preventDefault())};var M1c=function(a,b){var c=a.gadgetsDomHelper_;Pgb(function(){b(c.getWindow().gadgets.rpc)},c)};
Qr.prototype.setUrl=function(a){a=Mr(new er(a),"rpcService",this.targetId_);Mr(a,"rpctoken",this.rpcToken_);dnc(a,"rpctoken="+this.rpcToken_);Rx(a,"https");this.url_=a.toString();this.iframe_&&(this.iframe_.src=this.url_)};Qr.prototype.setAppId=function(a){this.appId_=a;this.loadedFired_&&O1c(this)};Qr.prototype.setCallback=function(a){this.callback_=a;M1c(this,ut(function(b){b.register(this.targetId_,ut(this.handlePickerAction_,this))},this))};
Qr.prototype.handlePickerAction_=function(a){var b=a.action;b=="loaded"&&(this.loadedFired_=!0,P1c(this,new Mgb(this.isVisible())),O1c(this),x1c(this),this.getHandler().unlisten(this.getDomHelper().getWindow(),"keydown",this.handleKeydown_),this.iframe_.tabIndex=0);b!="picked"&&b!="cancel"||this.setVisible(!1);this.callback_(a)};var O1c=function(a){a.appId_&&P1c(a,new Lgb(a.appId_,window.location.protocol+"//"+window.location.host))};
Qr.prototype.setRelayUrl=function(a){M1c(this,ut(function(b){b.setRelayUrl(this.targetId_,a)},this))};var P1c=function(a,b){a.useGapi_&&V0c(b,a.iframeManager_).then(null,function(c){return void a.handleError_(c)});M1c(a,ut(function(c){c.call(this.targetId_,"picker",null,b)},a))};g=Qr.prototype;
g.resizePicker_=function(){var a=this.getDomHelper().document_;a=Vs(a)||window;if(Lr(Kr(this.url_),"ignoreLimits")=="true")a=new vv(this.preferredDialogWidth_,this.preferredDialogHeight_);else if(Lr(Kr(this.url_),"shadeDialog")=="true"){var b=s1c(this);b=E_c(b);var c=zv(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 vv(a>0?a:0,c>0?c:0)}else(b=this.preferredDialogWidth_)?(b=Math.max(320,Math.min(1051,b)),(c=this.preferredDialogHeight_)||
(c=zv(a).height*.85),c=Math.max(480,Math.min(650,c))):(b=zv(a),c=b.width*.618,c=c<b.height?Math.round(Math.max(480,Math.min(650,c*.85))):Math.round(Math.max(480,Math.min(650,b.height*.85))),b=Math.round(c/.618)),a=zv(a),b=Math.min(b,Math.max(a.width,320)),c=Math.min(c,Math.max(a.height,480)),a=new vv(b,c);B_c(this.getContentElement(),a);this.reposition()};
g.reposition=function(){if(Lr(Kr(this.url_),"shadeDialog")=="true"){var a=C_c(this.getElement()),b=zv(this.getDomHelper().getWindow());a=Math.floor(b.width/2-a.width/2);b=s1c(this);if(b=E_c(b)){var c=b.left?b.left:0;c+=b.right?b.right:0;a=Math.floor(a-c/2)}a=a>0?a:0;b=Kgc(this.getDomHelper()).y;Ys(this.getElement(),a,b)}else Qr.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_))}Qr.superClass_.setVisible.call(this,a);P1c(this,new Mgb(a))};
g.focus=function(){Qr.superClass_.focus.call(this);if(this.iframe_&&this.iframeLoaded_&&this.loadedFired_)try{this.iframe_.focus()}catch(a){}};g.handleError_=function(){this.callback_({action:"error"})};var gV=function(a,b){b=b===void 0?Qr:b;Igb.call(this,a);this.pickerConstructor=b;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};Y(gV,Jgb);gV.prototype.disposeOnHide_=!1;
gV.prototype.build=function(){this.getAppId()&&this.urlParamMap_.has("oauth_token")&&this.urlParamMap_.set("appId",this.getAppId());this.urlParamMap_.get("parent")||this.setRelayUrl(dnc(cnc(Kr(window.location.href)),"").setPath("/favicon.ico").toString());this.urlParamMap_.set("ifls",Date.now());if(this.urlParamMap_.get("minimal"))throw Error("Ze");var a=new this.pickerConstructor(Q1c(this).toString(),!0,this.getDomHelper(),this.dialogWidth_,this.dialogHeight_,"",this.gadgetsDomHelper_,!1,!1);a.setDisposeOnHide(this.disposeOnHide_);
a.setAppId(this.getAppId());a.setCallback(this.callback_);return a};var R1c=function(a,b){a.urlParamMap_.set(b,"true");return a};g=gV.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.setDisposeOnHide=function(a){this.disposeOnHide_=a};g.setGroupId=function(a){this.urlParamMap_.set("groupId",a)};
var S1c=function(a){a.urlParamMap_.set("hostId","buganizer-drive");return a};g=gV.prototype;g.setOrigin=function(a){a&&this.urlParamMap_.set("origin",a);return this};g.setLocale=function(a){this.urlParamMap_.set("hl",a)};g.setRelayUrl=function(a){this.urlParamMap_.set("parent",a)};g.setSize=function(a){this.dialogWidth_=a;this.dialogHeight_=void 0;return this};g.setTitle=function(a){this.urlParamMap_.set("title",a);return this};
var Q1c=function(a){a.postProcessors_.length&&a.urlParamMap_.set("pp",JSON.stringify(a.postProcessors_));a.urlParamMap_.set("nav",W_c(a.nav_));var b=new er(a.getBaseUrl());a.urlParamMap_.forEach(function(c,d){Mr(b,d,c)});return b};var hV=function(){this.activeSession=x(Ks);this.attachmentsApi=x(wI);this.onePickUrl=this.activeSession.getOnePickUrl();this.disabled=!1;this.onPickDoc=new iE;this.onCloneBlob=new iE};
hV.prototype.showDialog=function(){var a=this;if(!this.drivePicker){var b=window.location.origin||window.location.protocol+"//"+window.location.host;this.drivePicker=S1c(R1c(R1c(R1c(R1c((new gV(this.onePickUrl)).addView(P_c().setMode("list")),"navHidden"),"multiselectEnabled"),"edbe"),"showAttach").setCallback(function(c){if(c&&c.action==="picked")for(var d=l(c.docs),e=d.next();!e.done;e=d.next())e=new L_c(e.value),c.extraUserInputs.isAttachment?(e=new M_c(e),N_c(e,a.attachmentsApi),a.onCloneBlob.emit(e)):
a.onPickDoc.emit(e)}).setOrigin(b)).build()}this.drivePicker.setVisible(!0)};hV.\u0275fac=function(a){return new (a||hV)};
hV.\u0275cmp=F({type:hV,selectors:[["b-drive-attachment"]],inputs:{disabled:"disabled"},outputs:{onPickDoc:"onPickDoc",onCloneBlob:"onCloneBlob"},standalone:!1,decls:3,vars:1,consts:[[1,"goog-inline-block","vertical-centered"],["type","button","mat-icon-button","","matTooltip","Add Drive attachments","aria-label","Add Drive attachments",3,"click","disabled"],["svgIcon","google-drive"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"button",1),Q("click",function(){return b.showDialog()}),N(2,"mat-icon",
2),M()());a&2&&(E(),K("disabled",b.disabled))},dependencies:[EA,dA,bA,YF,WF],encapsulation:2});var iV=function(){Z.apply(this,arguments);this.issueDetailsBrain=x(zF);this.userResources=x(CC);this.analytics=x(nE);this.isPlusOneText=!1;this.onSubmitComment=new iE};Y(iV,Z);iV.\u0275dir=Z.\u0275dir;iV.prototype.ngOnChanges=function(a){a.isPlusOneText&&this.isPlusOneText&&this.analytics.trackEvent("editIssue","view","commentAndVoteBanner")};
iV.prototype.onClick=function(a){var b=this,c,d;return v(function(e){if(e.nextAddress==1)return w(e,pi(b.issueDetailsBrain.id$),2);c=e.yieldResult;b.onSubmitComment.emit(a);if(c==null)return e.return();d={voted:!0,starred:null,notificationSubscription:null};huc(b.userResources,c,d).pipe(tj(b.destroyed$)).subscribe();b.analytics.trackEvent("editIssue","click","commentAndVote");ji(e)})};iV.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(iV)))(b||iV)}}();
iV.\u0275cmp=F({type:iV,selectors:[["b-plus-one-comment-callout"]],inputs:{isPlusOneText:"isPlusOneText"},outputs:{onSubmitComment:"onSubmitComment"},standalone:!1,features:[xj,$w],decls:1,vars:1,consts:[[1,"callout"],["svgIcon","info",1,"info-icon",3,"matTooltip"],["role","alert",1,"content"],[1,"actions"],["type","button","mat-flat-button","","color","primary",3,"click"]],template:function(a,b){a&1&&I(0,ahb,7,1,"div",0);a&2&&J(b.isPlusOneText?0:-1)},dependencies:[EA,dA,aA,YF,WF],styles:[".callout[_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;border-radius:8px;min-height:36px;padding:8px;background-color:#e8f0fe;background-color:var(--primary-c50)}.callout[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.info-icon[_ngcontent-%COMP%]{margin-left:8px;margin-right:16px}.content[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}"]});var T1c=["commentBoxContainer"],U1c=[[["","warning",""]],[["","recaptchaContainer",""]],[["","additionalToolbarItems",""]]],V1c=function(a,b){return[a,b]},jV=function(){this.analytics=x(nE);this.hotkeys=x(BL);this.activeSession=x(Ks);this.appEvents=x(EB);this.MARKDOWN="MARKDOWN";this.commentChange=new iE;this.warn=this.disabled=this.supportsPreview=!1;this.showToolbar=!0;this.attachmentsDisabled=!1;this.showRestrictionOptions=!0;this.isLiteralModeSupported=this.canEditIssuesInComponent=this.isPlusOneCalloutEnabled=
!1;this.onPlusOneTextEntered=new iE;this.onChange=new iE;this.onFocusEvent=new iE;this.onSubmit=new iE;this.onRestrict=new iE;this.createRestrictedResourcesComponentIds=this.activeSession.getCreateRestrictedSubresourcesComponentIds();this.focused=!1;this.commentRebound$=new nj(1);this.destroyed$=new nj(1);this.currentTracker=this.activeSession.getTracker()};g=jV.prototype;g.ngOnDestroy=function(){var a;(a=this.comment)==null||ZDc(a);this.destroyed$.next()};
g.ngOnInit=function(){var a=this;this.appEvents.focusCommentBox.pipe(tj(this.destroyed$)).subscribe(function(b){R2a(a,b)});this.appEvents.scrollToCommentBox.pipe(tj(this.destroyed$)).subscribe(function(){a.scrollIntoView()})};g.ngOnChanges=function(a){a.comment&&this.commentRebound$.next()};g.getRestrictedLabel=function(){var a,b,c=(b=(a=this.judgementForNewContent)==null?void 0:a.severity)!=null?b:"NONE_DETECTED";return xya(c)};
g.isRestricted=function(){var a,b;return((b=(a=this.judgementForNewContent)==null?void 0:a.severity)!=null?b:"NONE_DETECTED")!=="NONE_DETECTED"};var R2a=function(a,b){(b=b===void 0?"":b)&&a.analytics.trackEvent("commentBox","takeFocus",b);a.scrollIntoView();setTimeout(function(){var c;(c=a.commentDraftComponent)==null||xUc(c)})};g=jV.prototype;g.uploadFile=function(a){a=this.attachmentUploader.upload(a);this.addUpload(a)};g.addUpload=function(a){this.comment&&this.comment.uploads.push(a)};
g.removeUpload=function(a){this.comment&&Fa(this.comment.uploads,a)};g.scrollIntoView=function(){var a;(a=this.commentBoxContainer)==null||a.nativeElement.scrollIntoView({behavior:"smooth"})};g.onFocus=function(){this.focused=!0;this.onFocusEvent.emit()};g.onBlur=function(){this.focused=!1};g.onKeydown=function(a){this.hotkeys.isEnabled()&&(a.key!=="Enter"||!a.ctrlKey&&!a.metaKey||this.disabled||this.onSubmit.emit(a))};
g.handlePaste=function(a){if(a&&a.clipboardData!=null){var b=a.clipboardData;for(var c=!1,d=!1,e=0,f=0;f<b.items.length;f++)b.items[f].kind==="string"&&b.items[f].type==="text/plain"?c=!0:b.items[f].kind==="file"&&(d=!0,e=f);d&&b.items&&b.files?(d=b.files[0],e=b.items[e].type.replace(/^.*[/]/,""),c?(b=b.getData("text/plain"),b=b.replace(/^.*[\\\/]/,"")):b=(new Date).toString()+"."+e,b={file:d,filename:b}):b=void 0;b&&(a.preventDefault(),a=new File([b.file],b.filename,{type:b.file.type}),this.uploadFile(a))}};
jV.\u0275fac=function(a){return new (a||jV)};
jV.\u0275cmp=F({type:jV,selectors:[["b-comment-box"]],viewQuery:function(a,b){a&1&&(ek(JR,5),ek(T1c,5),ek(UU,5));if(a&2){var c;ik(c=jk())&&(b.commentDraftComponent=c.first);ik(c=jk())&&(b.commentBoxContainer=c.first);ik(c=jk())&&(b.attachmentUploader=c.first)}},inputs:{issueId:"issueId",comment:"comment",supportsPreview:"supportsPreview",placeholder:"placeholder",judgementForNewContent:"judgementForNewContent",audience:"audience",disabled:"disabled",warn:"warn",showToolbar:"showToolbar",idForAriaLabel:"idForAriaLabel",
attachmentsDisabled:"attachmentsDisabled",showRestrictionOptions:"showRestrictionOptions",isPlusOneCalloutEnabled:"isPlusOneCalloutEnabled",canEditIssuesInComponent:"canEditIssuesInComponent",isLiteralModeSupported:"isLiteralModeSupported"},outputs:{commentChange:"commentChange",onPlusOneTextEntered:"onPlusOneTextEntered",onChange:"onChange",onFocusEvent:"onFocusEvent",onSubmit:"onSubmit",onRestrict:"onRestrict"},standalone:!1,features:[$w],ngContentSelectors:["[warning]","[recaptchaContainer]","[additionalToolbarItems]"],
decls:10,vars:19,consts:[["commentBoxContainer",""],[1,"bv2-comment-box-container"],[1,"bv2-comment-textarea-wrapper"],[3,"contentChange","focus","blur","keydown","paste","content","placeholder","disabled","textareaClass","audience","idForAriaLabel","issueId","canEditIssuesInComponent","enableMentionsAutocomplete","isLiteralModeSupported"],[3,"isPlusOneText"],[3,"onUploadCancel","onUploadComplete","uploads"],[1,"bv2-comment-toolbar"],[3,"onSubmitComment","isPlusOneText"],[3,"onSelect","disabled"],
[3,"disabled"],[1,"goog-inline-block","vertical-centered","restriction-button"],[3,"onPickDoc","onCloneBlob","disabled"],["type","button","mat-icon-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",3,"disabled"],["type","button","mat-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",1,"button-with-text"],["type","button","mat-icon-button","","matTooltip","Restrict this comment/attachment",
"aria-label","Restrict this comment/attachment",3,"click","disabled"],["svgIcon","restricted"],["type","button","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){if(a&1){var c=y();Zj(U1c);L(0,"div",1,0)(2,"div",2)(3,"b-comment-draft",3);Q("contentChange",function(d){z(c);if(b.comment){var e=b.comment.value;b.comment.value=d;d!==e&&
(b.onChange&&(b.commentChange.emit(b.comment),b.onChange.emit()),b.onPlusOneTextEntered&&b.onPlusOneTextEntered.emit(d.trim()==="+1"))}return B()})("focus",function(){z(c);return B(b.onFocus())})("blur",function(){z(c);return B(b.onBlur())})("keydown",function(d){z(c);return B(b.onKeydown(d))})("paste",function(d){z(c);return B(b.handlePaste(d))});M();I(4,bhb,1,1,"b-plus-one-comment-callout",4);M();ak(5);L(6,"b-attachment-uploader",5);Q("onUploadCancel",function(d){z(c);b.removeUpload(d);return B(b.onChange.emit())})("onUploadComplete",
function(){z(c);return B(b.onChange.emit())});M();ak(7,1);I(8,ghb,5,3,"div",6);M();I(9,hhb,2,4,"div")}a&2&&(rk("focused",b.focused),E(3),K("content",b.comment.value)("placeholder",b.placeholder)("disabled",b.disabled)("textareaClass",Ek(16,V1c,b.disabled?"bv2-disabled":"",b.warn?"banned-words-warning":""))("audience",b.audience)("idForAriaLabel",b.idForAriaLabel)("issueId",b.issueId)("canEditIssuesInComponent",b.canEditIssuesInComponent)("enableMentionsAutocomplete",!0)("isLiteralModeSupported",b.isLiteralModeSupported),
E(),J(b.isPlusOneCalloutEnabled?4:-1),E(2),K("uploads",b.comment.uploads),E(2),J(b.showToolbar?8:-1),E(),J(b.supportsPreview&&b.comment.formattingMode===b.MARKDOWN?9:-1))},dependencies:[EA,JR,YF,WF,gK,hV,RU,UU,dA,aA,bA,iV],encapsulation:2});var kV=function(){this.documentationLinks=x(XH);this.issueLimits=x(UR);this.accessPolicyApi=x(qB);this.implicitAccessEnabled=!1};kV.prototype.ngOnInit=function(){var a=this;this.componentId&&this.accessPolicyApi.checkComponentImplicitAccessEnabled(this.componentId).then(function(b){return a.implicitAccessEnabled=b})};kV.prototype.toggleAccessLimits=function(){var a=this;return v(function(b){if(!a.componentId)return b.return();a.issueLimits.open({componentId:a.componentId,issueId:a.issueId});ji(b)})};
kV.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};kV.prototype.getAccessLimitLevelDisplay=function(a){return a==="LIMIT_APPEND"?"Commenting":a==="LIMIT_VIEW"||a==="LIMIT_VIEW_TRUSTED"?"Visibility":""};
var W1c=function(a,b){if(b)a:if(a=a.implicitAccessEnabled,b===OUc.accessLevel)b=a?"Only added users + Googlers may access. The assignee, verifier and collaborators may edit. CCs can comment. Googler access is according to their component-level permissions.":"Only added users + Googlers may access. They have their normal access as defined by the component-level permissions.";else{for(var c=l(L1a),d=c.next();!d.done;d=c.next())if(d=d.value,d.accessLevel===b){b=a?d.descriptionWithExpandedAccess:d.descriptionNoExpandedAccess;
break a}b=a?M1a.descriptionWithExpandedAccess:M1a.descriptionNoExpandedAccess}else b="";return b};kV.\u0275fac=function(a){return new (a||kV)};
kV.\u0275cmp=F({type:kV,selectors:[["b-access-limits-chip"]],inputs:{issueId:"issueId",componentId:"componentId",accessLimitLevel:"accessLimitLevel"},standalone:!1,decls:12,vars:4,consts:[["card","onedevHovercard"],["type","button","role","button","matTooltip","Press Alt + Right arrow for more details",1,"chippy","rounded","nowrap","access-limited",3,"click","keydown.enter","keydown.space","onedevHovercardTrigger"],["svgIcon","encrypted_24px",1,"icon-s","valign-middle"],[1,"access-limit-display-name"],
[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],["target","_blank","aria-label","Learn more about issue access limits",3,"href"]],template:function(a,b){if(a&1){var c=y();L(0,"button",1);Q("click",function(){z(c);return B(b.toggleAccessLimits())})("keydown.enter",function(d){z(c);return B(b.toggleAccessLimitsWithKeystroke(d))})("keydown.space",function(d){z(c);return B(b.toggleAccessLimitsWithKeystroke(d))});N(1,"mat-icon",2);L(2,"span",3);U(3);M()();L(4,"onedev-hovercard",
null,0)(6,"div",4)(7,"div",5)(8,"span",6);U(9);L(10,"a",7);U(11," Learn more");M()()()()()}a&2&&(a=T(5),K("onedevHovercardTrigger",a),E(3),tk(b.getAccessLimitLevelDisplay(b.accessLimitLevel)),E(6),V(" Issue access is limited. ",W1c(b,b.accessLimitLevel)," "),E(),K("href",b.documentationLinks.getIssueAccessLimit(),Ni))},dependencies:[EA,YF,WF,xH,DH],styles:[".chippy[_ngcontent-%COMP%]{margin-right:8px;cursor:pointer}.chippy[_ngcontent-%COMP%]:hover, .chippy[_ngcontent-%COMP%]:focus, .chippy[_ngcontent-%COMP%]:focus-visible, .chippy[_ngcontent-%COMP%]:focus-within{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color;outline-offset:2px}.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;font-weight:500}.bubble[_ngcontent-%COMP%]{width:300px}"],
changeDetection:0});var X1c=[[["","additionalToolbarItems",""]]],lV=function(){var a=this;this.issuePermissionService=x(BF);this.userPreferencesManager=x(NF);this.editIssueService=x(XI);this.analytics=x(nE);this.draftStore=x(WH);this.activeSession=x(Ks);this.issueDetailsBrain=x(zF);this.issueCommentDialogsService=x(PR);this.appEvents=x(EB);this.bannedWordsChecker=x(LP);this.componentFridge=x(AB);this.butterBar=x(MA);this.destroyRef=x(Cj);this.issueId$=new nj(1);this.distinctIssueId$=this.issueId$.pipe(jj());this.issue$=
this.distinctIssueId$.pipe(sj(function(b){return a.editIssueService.editableIssue$(b)}));this.wasFocused=!1;this.enableRecaptcha=this.activeSession.userRequiresCaptcha();this.recaptchaResponse$=new $n("");this.showActionsAfterPreview=!1;this.showCommentButton=!0;this.commentSubmitted=new iE;this.issueComponent$=this.issue$.pipe(sj(function(b){return(b==null?0:b.componentId)?a.componentFridge.watch(b==null?void 0:b.componentId):li(void 0)}));this.issueAccessLimitLevel$=this.issuePermissionService.accessLimitLevel$.pipe(C(function(b){return b!=
null?b:"LIMIT_NONE"}));this.isAccessLimited$=this.issueAccessLimitLevel$.pipe(C(function(b){return b==="LIMIT_VIEW"||b==="LIMIT_APPEND"||b==="LIMIT_VIEW_TRUSTED"}));this.HOTKEYS=nq;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(C(function(b){return b.autoCcOnComment}));this.issueCommentDraft$=this.issueId$.pipe(C(function(b){return a.editIssueService.issueCommentDraft(b)}));this.judgementForNewContent$=this.issueCommentDraft$.pipe(sj(function(b){return b.judgementForNewContent$}));this.comment$=this.issueCommentDraft$.pipe(sj(function(b){return b.comment$}));this.events$=this.issueDetailsBrain.eventsJs$;this.savingState$=this.issueId$.pipe(C(function(b){return a.editIssueService.savingState(b)}));
this.isSaving$=this.savingState$.pipe(sj(function(b){return iFc(b,"comment")}));this.commentLimitReached$=this.events$.pipe(C(function(b){var c=a.activeSession.getCommentNumberLimit();return Tha(b)>=c}));this.commentPlaceholderText$=si([this.commentLimitReached$,this.hasAclToComment$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b?"The comment limit has been reached and no additional comments are permitted.":a.activeSession.isAnonymous()?"Sign in to use full features.":
c?"Add a comment.":"You do not have access to comment on this issue."}));this.commentBoxEnabled$=si([this.hasAclToComment$,this.commentLimitReached$,this.isSaving$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;return b&&!d&&!c}));this.showRecaptcha$=si([this.hasAclToComment$,this.commentLimitReached$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b&&!c&&a.enableRecaptcha}));this.isPlusOneCalloutEnabled$=this.issueDetailsBrain.voted$.pipe(C(function(b){return a.activeSession.isInternalSession()&&
!b}));this.isPlusOneText$=new $n(!1);this.commentButtonStyle$=si([this.isPlusOneCalloutEnabled$,this.isPlusOneText$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b&&c?"hairline":"fill"}));this.commentDraftUpdated$=new $n(!0);this.commentButtonEnabled$=si([this.hasAclToComment$,this.comment$,this.isSaving$,this.recaptchaResponse$,this.commentDraftUpdated$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;var e=c.next().value;c=c.next().value;return b&&
aEc(d)&&!e&&(!a.enableRecaptcha||c!=="")}));this.empty$=si([this.comment$,this.commentDraftUpdated$]).pipe(C(function(b){var c,d;return(d=(c=l(b).next().value)==null?void 0:c.value)!=null?d:""}),C(function(b){return b.length===0}));this.doAutoRestrictComment$=si([this.issueComponent$,this.comment$,this.commentDraftUpdated$,this.judgementForNewContent$]).pipe(C(function(b){b=l(b);var c=b.next().value;var d=b.next().value;b.next();b=b.next().value;c=c!=null?c:null;d=d.uploads.length>0;var e=!(c==null||
!c.trackerId);b=(b==null?void 0:b.severity)!=="RESTRICTED"&&(b==null?void 0:b.severity)!=="RESTRICTED_PLUS";return ur(c)&&e&&!Iq(a.activeSession)&&d&&b}))};lV.prototype.setJudgementForNewContent=function(a,b){this.editIssueService.issueCommentDraft(a).setJudgementForNewContent(b)};
lV.prototype.autoRestrictComment=function(a){var b=this,c;return v(function(d){a&&(c={severity:"RESTRICTED",judgementReason:"Auto-restricted for issue on public tracker being edited from outside of a tracker",resourcePath:void 0,contentJudgementId:void 0},b.setJudgementForNewContent(b.issueId,c),hq(b.butterBar,"Because this issue is displayed on a public tracker, this comment will be Restricted. You may modify the restriction level before submitting the comment."));ji(d)})};
lV.prototype.ngOnInit=function(){this.doAutoRestrictComment$.pipe(vp(this.destroyRef)).subscribe(this.autoRestrictComment.bind(this))};var mhb=function(a){var b;return v(function(c){b=!OF(a.userPreferencesManager).autoCcOnComment;a.analytics.trackEvent("editIssue","toggleAutoCcOnComment",String(b));return w(c,pi(a.userPreferencesManager.save({autoCcOnComment:b})),0)})};
lV.prototype.saveCommentDraft=function(){var a=this,b;return v(function(c){if(c.nextAddress==1)return a.bannedWordsChecker.reset(),w(c,pi(a.comment$),2);b=c.yieldResult;a.draftStore.$window.sessionStorage.setItem(Kp(a.internalIssueId),b.value);a.commentDraftUpdated$.next(!0);ji(c)})};
lV.prototype.submitCommentBox=function(a){var b=this,c,d,e,f,h,k,q;return v(function(u){if(u.nextAddress==1)return(c=a)==null||c.stopPropagation(),d=b.enableRecaptcha?b.recaptchaResponse$.getValue():void 0,e=b.editIssueService.issueCommentDraft(b.internalIssueId).comment(),f=b.editIssueService.editableIssue(b.internalIssueId),w(u,b.bannedWordsChecker.check(e.value,b.issuePermissionService.accessLevel()==="EXTERNAL_PUBLIC",f.componentId),2);if(u.nextAddress!=3)return h=u.yieldResult,h?w(u,b.issueCommentDialogsService.submitCommentBox(String(f.componentId),
b.internalIssueId,e,d),3):((k=a)==null||k.preventDefault(),(q=b.commentBox)==null||R2a(q),u.return());b.commentSubmitted.emit();b.bannedWordsChecker.reset();b.appEvents.recaptchaSubmitted.next();ji(u)})};lV.prototype.showNewContentJudgementDialog=function(){var a=this;return v(function(b){return w(b,a.issueCommentDialogsService.showNewContentJudgementDialog(a.internalIssueId),0)})};
pg.Object.defineProperties(lV.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a);this.internalIssueId=a},get:function(){return this.internalIssueId}},componentIdString:{configurable:!0,enumerable:!0,get:function(){return String(this.editIssueService.editableIssue(this.internalIssueId).componentId)}}});lV.\u0275fac=function(a){return new (a||lV)};
lV.\u0275cmp=F({type:lV,selectors:[["b-post-comment"]],viewQuery:function(a,b){a&1&&ek(jV,5);if(a&2){var c;ik(c=jk())&&(b.commentBox=c.first)}},inputs:{issueId:"issueId",showActionsAfterPreview:"showActionsAfterPreview",showCommentButton:"showCommentButton"},outputs:{commentSubmitted:"commentSubmitted"},standalone:!1,features:[Bk([LP])],ngContentSelectors:["[additionalToolbarItems]"],decls:4,vars:3,consts:[["actionButtons",""],["commentBox",""],[1,"a11y-only"],[1,"bv2-edit-issue-add-comment"],["id",
"AddCommentBox",3,"hotkey","supportsPreview","issueId","comment","placeholder","judgementForNewContent","audience","disabled","isPlusOneCalloutEnabled","warn","isLiteralModeSupported"],["id","AddCommentBox",3,"onHotkey","onChange","onFocusEvent","onSubmit","onRestrict","onPlusOneTextEntered","hotkey","supportsPreview","issueId","comment","placeholder","judgementForNewContent","audience","disabled","isPlusOneCalloutEnabled","warn","isLiteralModeSupported"],["warning","",1,"banned-words-warning","break-word"],
["recaptchaContainer",""],["additionalToolbarItems","",1,"goog-inline-block"],[1,"goog-inline-block"],[1,"goog-inline-block","vertical-centered"],[3,"initialValue"],[3,"issueId","componentId","accessLimitLevel"],[3,"issueId"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],[3,"onUpdate"],[4,"ngTemplateOutlet"],[3,"change","checked","disabled"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",
3,"checked","disabled"],[3,"change","initialValue"],[3,"format","disabled","color"],[3,"onAction","click","format","disabled","color"]],template:function(a,b){a&1&&(Zj(X1c),I(0,whb,1,1),W(1,"async"),G(2,yhb,1,1,"ng-template",null,0,Gk));if(a&2){var c;J((c=X(1,1,b.issue$))?0:-1,c)}},dependencies:[DM,jV,qL,oy,DL,aG,HG,KR,kV,EP,py],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%}@media(forced-colors: active){[_nghost-%COMP%]     .bv2-comment-toolbar .goog-inline-block b-button .gmat-mdc-button.mat-mdc-unelevated-button{border:1px solid;border-color:#dadce0;border-color:var(--divider)}}[_nghost-%COMP%]     .bv2-comment-toolbar .goog-inline-block b-button .gmat-mdc-button.mat-mdc-unelevated-button.mat-warn{background-color:#c5221f;background-color:var(--bad-gfx)}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}.banned-words-warning[_ngcontent-%COMP%]{margin-bottom:16px;color:#c5221f;color:var(--bad-text)}/*# sourceMappingURL=post_comment.css.map */"]});var mV=function(){};mV.\u0275fac=function(a){return new (a||mV)};mV.\u0275mod=Zi({type:mV});mV.\u0275inj=Eg({providers:[{provide:x_c,useFactory:function(){return new u_c}}]});var nV=function(){};nV.\u0275fac=function(a){return new (a||nV)};nV.\u0275mod=Zi({type:nV});nV.\u0275inj=Eg({imports:[xy,mV]});var oV=function(){};oV.\u0275fac=function(a){return new (a||oV)};oV.\u0275mod=Zi({type:oV});oV.\u0275inj=Eg({providers:[{provide:w_c,useFactory:SU}],imports:[jC,FI,JL,nV,$M]});var pV=function(){};pV.\u0275fac=function(a){return new (a||pV)};pV.\u0275mod=Zi({type:pV});pV.\u0275inj=Eg({imports:[jC,FI,JL]});var qV=function(){};qV.\u0275fac=function(a){return new (a||qV)};qV.\u0275mod=Zi({type:qV});qV.\u0275inj=Eg({imports:[jC,nU,vM,JL,EM,rM,oV,FI,pV]});var rV=function(){};rV.\u0275fac=function(a){return new (a||rV)};rV.\u0275mod=Zi({type:rV});rV.\u0275inj=Eg({imports:[jC,FI,IL,JL,vM]});var sV=function(){};sV.\u0275fac=function(a){return new (a||sV)};sV.\u0275mod=Zi({type:sV});sV.\u0275inj=Eg({imports:[rV,jC,pU,vM,FI,HI,IL,JL,vQ,SL]});var tV=function(){};tV.\u0275fac=function(a){return new (a||tV)};tV.\u0275mod=Zi({type:tV});tV.\u0275inj=Eg({imports:[jC,jQ,JL,uL,sV]});var uV=function(){};uV.\u0275fac=function(a){return new (a||uV)};uV.\u0275mod=Zi({type:uV});uV.\u0275inj=Eg({});var vV=function(){};vV.\u0275fac=function(a){return new (a||vV)};vV.\u0275mod=Zi({type:vV});vV.\u0275inj=Eg({imports:[EM,qV,rM,jC,lQ,FG,EL,FI,SL,uV,tV,wQ]});var Y1c=["addLink"],Z1c=["peopleKitDiv"],$1c=[Object.assign({},Nhb("start","bottom"),Ohb("start","top"),{offsetY:8}),Object.assign({},Nhb("center","bottom"),Ohb("center","top"),{offsetY:8}),Object.assign({},Nhb("end","bottom"),Ohb("end","top"),{offsetY:8}),Object.assign({},Nhb("start","top"),Ohb("start","bottom"),{offsetY:-8}),Object.assign({},Nhb("end","top"),Ohb("end","bottom"),{offsetY:-8})],wV=function(){var a=this;this.activeSession=x(Ks);this.principalTypesFridge=x($E);this.issuePermissionService=
x(BF);this.issueDetailsBrain=x(zF);this.autocompleteConfigService=x(wP);this.title=this.name="";this.values=null;this.iconName=this.collectionHovercardDescription=this.removeSelfActionLongDescription=this.removeSelfActionDescription=this.includeSelfActionLongDescription=this.includeSelfActionDescription="";this.inputValidator=null;this.checkAccessLimits=!1;this.overlayPosition=$1c;this.valueChange=new iE;this.userInclusionToggle=new iE;this.toggleAccessLimits=new iE;this.teamId$=this.issueDetailsBrain.teamId$;
this.ListFieldType=ENc;this.providedValues$=new nj(1);this.groups$=this.providedValues$.pipe(sj(function(b){return a.extractGroups(b)}),rj(new Set));this.OVERLAY_POSITION_LIST=$1c;this.newlySelectedUsersString="";this.USER_FIELD_HOVERCARD_CONFIG=Object.assign({},new AH,{position:[pBc]});this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.enableTeamAnnotations=this.activeSession.isInternalSession()};g=wV.prototype;
g.extractGroups=function(a){var b=function(c){return c.principalType==="GROUP"};return this.principalTypesFridge.watchSet(a).pipe(C(function(c){return new Set(c.filter(b).map(function(d){return d.email}))}))};g.removeItem=function(a){if(this.values){var b=[].concat(p(this.values));b.splice(a,1);this.valueChange.emit({editField:null,newUsers:b})}};g.getUser=function(a){if(!this.users||!this.values)return{emailAddress:""};a=this.values.indexOf(a);return a===-1?{emailAddress:""}:this.users[a]};
g.closeAddPopup=function(a){var b,c=l((b=this.menuTriggers)!=null?b:[]);for(b=c.next();!b.done;b=c.next())b.value.closeMenu();var d;c=l((d=this.popupTriggers)!=null?d:[]);for(d=c.next();!d.done;d=c.next())this.closeInlineDialog(d.value);a&&this.addLinkEl&&this.addLinkEl.nativeElement.focus()};g.closeInlineDialog=function(a){a.disabled||(a.disabled=!0,a.disabled=!1)};g.handleAddItems=function(a){this.closeAddPopup(!0);this.addItems(a)};
g.addItems=function(a){if(a){var b=[];this.values=this.values||[];a=l(a.split(/[,; ]/));for(var c=a.next();!c.done;c=a.next())(c=c.value)&&!this.values.includes(c)&&b.push(c);b.length!==0&&(this.values=[].concat(p(this.values),p(b)),this.valueChange.emit({editField:null,newUsers:this.values}))}};wV.\u0275fac=function(a){return new (a||wV)};
wV.\u0275cmp=F({type:wV,selectors:[["b-multi-user-control"]],viewQuery:function(a,b){a&1&&(ek(Y1c,5),ek(pK,5),ek(jO,5),ek(Z1c,5));if(a&2){var c;ik(c=jk())&&(b.addLinkEl=c.first);ik(c=jk())&&(b.menuTriggers=c);ik(c=jk())&&(b.popupTriggers=c);ik(c=jk())&&(b.peopleKitDiv=c)}},inputs:{name:"name",title:"title",values:"values",users:"users",includeSelfActionDescription:"includeSelfActionDescription",includeSelfActionLongDescription:"includeSelfActionLongDescription",removeSelfActionDescription:"removeSelfActionDescription",
removeSelfActionLongDescription:"removeSelfActionLongDescription",collectionHovercardDescription:"collectionHovercardDescription",isSaving:"isSaving",iconName:"iconName",isCurrentUserInCollection:"isCurrentUserInCollection",isAllowedToEditCollection:"isAllowedToEditCollection",inputValidator:"inputValidator",checkAccessLimits:"checkAccessLimits",overlayPosition:"overlayPosition"},outputs:{valueChange:"valueChange",userInclusionToggle:"userInclusionToggle",toggleAccessLimits:"toggleAccessLimits"},
standalone:!1,decls:25,vars:17,consts:[["listActions",""],["textPopup",""],["addLink",""],["hovercard","onedevHovercard"],["removeButton",""],[1,"bv2-issue-metadata-list-field","bv2-issue-metadata-field",3,"onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig"],[1,"bv2-issue-metadata-field-inner"],[1,"bv2-editable-title"],[1,"list-field-content"],[3,"isExpanded","iconName","hasCompactTitleBar","ariaLabel","title"],[1,"flex-kids-x","flex-cross-axis-centered","flex-wrappable"],[1,
"bv2-field-user-action-footer"],["type","button","mat-button","","panelClass","bv2-add-item-bubble","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","dialogLabel","overlayPositions","matTooltip"],[4,"ngTemplateOutlet"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],["mat-button","","href","https://developers.google.com/issue-tracker/references/glossary-of-fields","target","_blank",1,"primary"],[1,"value-action"],["tabindex",
"0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"disabled","matTooltip"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],[3,"onAddItems","onCancel","actionName","inputValidator","isAllowedToEditCollection","title"],[1,"bv2-issue-metadata-list-item","list-field-user-container"],[3,"user","email","teamId","enableSmallChip","enableGroupIcon"],["type","button","aria-label","Open issue access dialog.",1,"unstyled",
"keep-focus-ring",3,"disabled"],["name","group_24px","size","small",1,"group-icon"],[3,"email"],["type","button","aria-label","Open issue access dialog.",1,"unstyled","keep-focus-ring",3,"click","disabled"],["size","small","name","edit_24px",1,"issue-metadata-field-edit-icon"],["type","button",1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"matTooltip"],["type","button",1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"click","matTooltip"]],template:function(a,b){a&1&&(G(0,Chb,
2,1,"ng-template",null,0,Gk)(2,Dhb,3,4,"ng-template",null,1,Gk),L(4,"div",5)(5,"div",6)(6,"div",7)(7,"label"),U(8),M()(),L(9,"div",8)(10,"collapsible-panel",9),Mj(11,Khb,7,4,"div",10,Kj),M(),L(13,"div",11,2),I(15,Lhb,2,8,"button",12),G(16,Mhb,1,0,"ng-container",13),M()()()(),L(17,"onedev-hovercard",null,3)(19,"div",14)(20,"div",15)(21,"span",16),U(22),L(23,"a",17),U(24,"Learn more."),M()()()()());if(a&2){a=T(1);var c=T(18);E(4);K("onedevHovercardTrigger",c)("onedevHovercardActive",!0)("onedevHovercardConfig",
b.USER_FIELD_HOVERCARD_CONFIG);E(4);V(" ",b.title," ");E(2);K("ariaLabel",Wra("",b.title,", ",(b.values==null?null:b.values.length)||0," ",((b.values==null?null:b.values.length)||0)===1?"user":"users"))("title",Ak("",(b.values==null?null:b.values.length)||0," ",((b.values==null?null:b.values.length)||0)===1?"user":"users"))("isExpanded",!0)("iconName",b.iconName)("hasCompactTitleBar",!0);E();Nj(b.values);E(4);J(b.isAllowedToEditCollection?15:-1);E();K("ngTemplateOutlet",a);E(6);V(" ",b.collectionHovercardDescription,
" ")}},dependencies:[oy,xH,DH,GJ,YF,WF,dA,aA,cO,bN,jK,jO,fO,eO,iU,py],styles:["xap-dialog-layout[_ngcontent-%COMP%]{padding:16px}xap-dialog-layout-content[_ngcontent-%COMP%]{padding:0}.bv2-editable-title[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{word-break:normal;overflow-wrap:anywhere}b-icon[_ngcontent-%COMP%]{margin-bottom:4px}.bv2-field-user-action-footer[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:max-content;display:flex}[_nghost-%COMP%]     b-icon.group-icon{width:12px;margin-top:1px}[_nghost-%COMP%]     b-icon.group-icon mat-icon{width:inherit}[_nghost-%COMP%]     b-icon.group-icon mat-icon svg{width:12px;height:16px}[_nghost-%COMP%]     b-icon.disabled-icon mat-icon svg{color:#bdc1c6;color:var(--text-disabled)}"]});var xV=function(){};xV.\u0275fac=function(a){return new (a||xV)};xV.\u0275mod=Zi({type:xV});xV.\u0275inj=Eg({imports:[xy]});var yV=function(){};yV.\u0275fac=function(a){return new (a||yV)};yV.\u0275mod=Zi({type:yV});yV.\u0275inj=Eg({imports:[xy,EQ]});var zV=function(){};zV.\u0275fac=function(a){return new (a||zV)};zV.\u0275mod=Zi({type:zV});zV.\u0275inj=Eg({imports:[xV,xy,EQ,yV]});var AV=function(){};AV.\u0275fac=function(a){return new (a||AV)};AV.\u0275mod=Zi({type:AV});AV.\u0275inj=Eg({});var BV=function(){};BV.\u0275fac=function(a){return new (a||BV)};BV.\u0275mod=Zi({type:BV});BV.\u0275inj=Eg({imports:[xy,tL,EQ,vO,Wy,AV]});var CV=function(){};CV.\u0275fac=function(a){return new (a||CV)};CV.\u0275mod=Zi({type:CV});CV.\u0275inj=Eg({imports:[KM,jC,xO,zV,uL,vL,$M,JL,FI,dO,BV,cN,vM,nO,gO,CU]});var DV=function(){};DV.\u0275fac=function(a){return new (a||DV)};DV.\u0275mod=Zi({type:DV});DV.\u0275inj=Eg({imports:[KM,$M,jC,sN,zV,EL,vL,$M,cN,xU]});var EV=function(){};EV.\u0275fac=function(a){return new (a||EV)};EV.\u0275mod=Zi({type:EV});EV.\u0275inj=Eg({imports:[jC,nU,pU,fU,sN,FG,FI,SL,IL,ZL,JL,EL,uU,sU,uL,wL,zQ,xO,wM,CV,CU,vV,DV,oL,cN,fO]});isa(bS,[EA,RR,qN,dA,aA,YF,WF,DL,wO,wV,lV,TT,XT,gU,kU,jU],[py]);var FV=function(){};FV.\u0275fac=function(a){return new (a||FV)};FV.\u0275mod=Zi({type:FV});FV.\u0275inj=Eg({});var GV=function(){};GV.\u0275fac=function(a){return new (a||GV)};GV.\u0275mod=Zi({type:GV});GV.\u0275inj=Eg({imports:[jC]});var HV=function(){};HV.\u0275fac=function(a){return new (a||HV)};HV.\u0275mod=Zi({type:HV});HV.\u0275inj=Eg({imports:[jC,FI,Fz]});var IV=function(){};IV.\u0275fac=function(a){return new (a||IV)};IV.\u0275mod=Zi({type:IV});IV.\u0275inj=Eg({imports:[Wy,CS,xy,IS,tL,iC,Jz,FS]});var JV=function(){};JV.\u0275fac=function(a){return new (a||JV)};JV.\u0275mod=Zi({type:JV});JV.\u0275inj=Eg({imports:[jC,WS,rM,yN,HV,vM,FI,HI,JL,uL,IV,cN,oL,kQ]});var KV=function(){};KV.\u0275fac=function(a){return new (a||KV)};KV.\u0275mod=Zi({type:KV});KV.\u0275inj=Eg({imports:[jC,IL,FI,HI,oN,UL,QN,JL,SQ,wM,SL,FG,kQ]});var LV=function(){};LV.\u0275fac=function(a){return new (a||LV)};LV.\u0275mod=Zi({type:LV});LV.\u0275inj=Eg({imports:[JV,FV,jC,WS,GV,vM,FI,JL,KV,kQ]});var MV=function(){};MV.\u0275fac=function(a){return new (a||MV)};MV.\u0275mod=Zi({type:MV});MV.\u0275inj=Eg({imports:[WS,LV,$M,rM,jC,yN,uL,wL,FI,JL,KV,oL,cN]});var NV=function(){};NV.\u0275fac=function(a){return new (a||NV)};NV.\u0275mod=Zi({type:NV});NV.\u0275inj=Eg({imports:[jC]});var OV=function(){};OV.\u0275fac=function(a){return new (a||OV)};OV.\u0275mod=Zi({type:OV});OV.\u0275inj=Eg({imports:[jC,lQ]});var PV=function(){};PV.\u0275fac=function(a){return new (a||PV)};PV.\u0275mod=Zi({type:PV});PV.\u0275inj=Eg({imports:[jC,uL,yQ,yN,cN,OV,rM,$M]});var QV=function(){};QV.\u0275fac=function(a){return new (a||QV)};QV.\u0275mod=Zi({type:QV});QV.\u0275inj=Eg({imports:[jC,rM]});var RV=function(){};RV.\u0275fac=function(a){return new (a||RV)};RV.\u0275mod=Zi({type:RV});RV.\u0275inj=Eg({imports:[WS,LV,rM,jC,yN,uL,PV,wL,KV,cN,JL,QV,FI,NV]});var SV=function(){};SV.\u0275fac=function(a){return new (a||SV)};SV.\u0275mod=Zi({type:SV});SV.\u0275inj=Eg({imports:[jC,RV,PV,FI,oL]});var Phb=function(a){return{stage:a}},Yhb=function(a){return{summary:a}},TV=function(){Z.apply(this,arguments);var a=this;this.llmIssueSummaryService=x(hT);this.userFeedback=x(iS);this.GENERATING="GENERATING";this.SUMMARY_VISIBLE="SUMMARY_VISIBLE";this.isIssueSummaryExpanded=!0;this.stage$=this.llmIssueSummaryService.stage$;this.summary$=this.llmIssueSummaryService.summary$.pipe(uj(function(b){b&&b.summary&&a.llmIssueSummaryService.trackEvent("display","issueDetailsPage")}),pj({refCount:!0,bufferSize:1}));
this.thumbsDownClicked=this.thumbsUpClicked=this.hasReacted=!1};Y(TV,Z);TV.\u0275dir=Z.\u0275dir;g=TV.prototype;g.ngOnInit=function(){var a=this;this.llmIssueSummaryService.summarizable$.pipe(tj(this.destroyed$)).subscribe(function(b){b.isSummarizable&&a.llmIssueSummaryService.trackEvent("viewSummarizableIssue","issueDetailsPage")})};g.trackThumbsUp=function(a){ne("thumbsup");this.thumbsUpClicked=this.hasReacted=!0;this.llmIssueSummaryService.trackThumbsUp(a,"issueDetailsPage")};
g.trackThumbsDown=function(a){ne("thumbsdown");this.thumbsDownClicked=this.hasReacted=!0;this.llmIssueSummaryService.trackThumbsDown(a,"issueDetailsPage")};g.openFeedbackDialog=function(a){this.userFeedback.startFeedback();a&&UXc(this.llmIssueSummaryService,a)};g.copySummary=function(a){navigator.clipboard.writeText(a.summary);TXc(this.llmIssueSummaryService,a,"issueDetailsPage")};TV.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(TV)))(b||TV)}}();
TV.\u0275cmp=F({type:TV,selectors:[["llm-summary"]],standalone:!1,features:[xj],decls:10,vars:3,consts:[["showHeader",""],["showBody",""],["renderedSummary",""],["showingSummary",""],["aiHelp",""],[1,"summary","main-div","carded","margin-s-sides","margin-s-bottom","flex-kids-x","padded-sides"],["svgIcon","chat_spark_24px","color","primary",1,"margin-s-right","shrink-0"],[1,"flex-kids-y","gap-s","full-width"],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"summary-header"],
[1,"uppercase"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["type","button","mat-icon-button","","aria-label","Toggle the AI-generated summary for this issue","matTooltip","Toggle the AI-generated summary for this issue","matTooltipPosition","above",1,"small","expand-button",3,"click"],["svgIcon","arrow-up",1,"icon-s"],["svgIcon","arrow-down",1,"icon-s"],[3,"content"],[1,"white-space-pre-wrap","overflow"],[1,"flex-kids-x","space-between","full-width"],[1,"type-s","instructional"],[1,
"flex-kids-x","gap-s"],["type","button","mat-icon-button","","matTooltip","Copy","aria-label","copy summary",1,"feedback-button","copy-issue-summary",3,"click"],["svgIcon","copy",1,"icon-s"],["type","button","mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",1,"feedback-button","summary-feedback",3,"click"],["svgIcon","feedback-outline",1,"icon-s"],["type","button","mat-icon-button","","aria-label","thumb up",1,"feedback-button","summary-thumbs-up",3,"click","disabled"],
["svgIcon","thumb_up_24px",1,"icon-s"],["type","button","mat-icon-button","","aria-label","thumb down",1,"feedback-button","summary-thumbs-down",3,"click","disabled"],["svgIcon","thumb_down_24px",1,"icon-s"],[1,"instructional"],["type","button","mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",1,"feedback-button",3,"click"],["svgIcon","feedback-outline"]],template:function(a,b){a&1&&(I(0,Shb,1,1),W(1,"async"),G(2,Whb,11,3,"ng-template",null,0,Gk)(4,aib,2,1,"ng-template",
null,1,Gk)(6,dib,2,1,"ng-template",null,2,Gk)(8,gib,2,1,"ng-template",null,3,Gk));if(a&2){var c;J((c=X(1,1,b.stage$))?0:-1,c)}},dependencies:[oy,EA,lL,dA,bA,YF,WF,yO,mO,aK,py],styles:[".main-div[_ngcontent-%COMP%]{background-color:#edfbf1;background-color:var(--green-bg)}.summary-header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.expand-button[_ngcontent-%COMP%]{margin-left:auto}.feedback-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}.feedback-button[_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.instructional[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}mat-icon[_ngcontent-%COMP%]{vertical-align:bottom}\n/*# sourceMappingURL=llm_summary.css.map */"]});var UV=function(){};UV.\u0275fac=function(a){return new (a||UV)};UV.\u0275mod=Zi({type:UV});UV.\u0275inj=Eg({imports:[jC,oL,FI,HI,JL,kQ,nO,rM]});var VV=function(){};VV.\u0275fac=function(a){return new (a||VV)};VV.\u0275mod=Zi({type:VV});VV.\u0275inj=Eg({imports:[jC,FI,UL,UV,ZL]});var WV=function(){};WV.\u0275fac=function(a){return new (a||WV)};WV.\u0275mod=Zi({type:WV});WV.\u0275inj=Eg({imports:[jC,uU,sU,EL,FI]});var XV=function(){};XV.\u0275fac=function(a){return new (a||XV)};XV.\u0275mod=Zi({type:XV});XV.\u0275inj=Eg({imports:[jC,FI,JL,UL,pO]});var YV=function(){this.LIMIT_INCREMENT=32;this.limit=8;this.emails=[]};YV.\u0275fac=function(a){return new (a||YV)};
YV.\u0275cmp=F({type:YV,selectors:[["avatar-bunch"]],inputs:{emails:"emails"},standalone:!1,decls:4,vars:5,consts:[["size","medium",3,"email"],["type","button",1,"link-button","subtle-link",3,"title"],["type","button",1,"link-button","subtle-link",3,"click","title"]],template:function(a,b){a&1&&(Mj(0,hib,1,1,"b-user-image",0,Lj),W(2,"slice"),I(3,jib,1,1));a&2&&(Nj(hsa(2,1,b.emails,b.limit)),E(3),J(b.emails.length-b.limit>0?3:-1))},dependencies:[SM,wy],styles:["[_nghost-%COMP%]{display:block;margin-bottom:-8px}b-user-image[_ngcontent-%COMP%]{margin-right:8px;margin-bottom:8px}b-user-image.medium[_ngcontent-%COMP%]{width:24px}\n/*# sourceMappingURL=avatar_bunch.css.map */"]});var kib=function(){return[]},ZV=function(){this.makeCritiqueUrl=W$a;this.submitted=[];this.pending=[]};ZV.\u0275fac=function(a){return new (a||ZV)};
ZV.\u0275cmp=F({type:ZV,selectors:[["cl-counts"]],inputs:{submitted:"submitted",pending:"pending"},standalone:!1,decls:1,vars:1,consts:[[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",1,"logo"],["target","_blank","title","Number of total CLs and pending CLs associated with all of these issues",1,"subtle-link",3,"href"],["target","_blank","title","Number of pending CLs associated with all of these issues",
1,"subtle-link",3,"href"]],template:function(a,b){a&1&&I(0,mib,7,3,"div",0);if(a&2){var c;J((c=b.submitted.length+b.pending.length)?0:-1,c)}},styles:["[_nghost-%COMP%] {\n      white-space: nowrap;\n    }\n    .logo[_ngcontent-%COMP%] {\n      width: 20px;\n    }\n    a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:focus {\n      color: var(--text-good)\n    }"],changeDetection:0});var a2c=function(){this.changes=[]};a2c.\u0275fac=function(a){return new (a||a2c)};a2c.\u0275cmp=F({type:a2c,selectors:[["gerrit-changes-count"]],inputs:{changes:"changes"},standalone:!1,decls:5,vars:2,consts:[[1,"flex-kids-x","align-items-center"],["svgIcon","gerrit-logo",1,"icon-xs"]],template:function(a,b){a&1&&(L(0,"div",0),N(1,"mat-icon",1),U(2," \u00a0 "),L(3,"p"),U(4),M()());a&2&&(E(4),uk("",b.changes.length," ",b.changes.length>1?"Gerrit changes":"Gerrit change"))},dependencies:[EA],styles:["a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:focus {\n      color: var(--text-good);\n    }"]});var $V=function(){this.imageUrls=x(FO);this.LOGO_LIGHT=this.imageUrls.LOGO_LIGHT};pg.Object.defineProperties($V.prototype,{ref:{configurable:!0,enumerable:!0,set:function(a){this.searchPageUrl=a?bab(a):void 0}}});$V.\u0275fac=function(a){return new (a||$V)};
$V.\u0275cmp=F({type:$V,selectors:[["issue-count"]],inputs:{ref:"ref",count:"count"},standalone:!1,decls:5,vars:2,consts:[["title","Total issues in this area, in any status",1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","",1,"logo",3,"src"],[1,"subtle-link",3,"routerLink"]],template:function(a,b){a&1&&(L(0,"div",0),N(1,"img",1),U(2," \u00a0 "),I(3,oib,1,1)(4,pib,1,1),M());a&2&&(E(),K("src",b.LOGO_LIGHT,Ni),E(2),J(b.searchPageUrl?3:4))},dependencies:[bC],styles:["[_nghost-%COMP%] {\n      white-space: nowrap;\n    }\n    .logo[_ngcontent-%COMP%] {\n      width: 20px; \n\n      max-width: 20px; \n\n    }"],
changeDetection:0});var aW=function(){};aW.\u0275fac=function(a){return new (a||aW)};aW.\u0275mod=Zi({type:aW});aW.\u0275inj=Eg({imports:[jC,qM,iC,FI,cN]});var bW=function(){};bW.\u0275fac=function(a){return new (a||bW)};bW.\u0275mod=Zi({type:bW});bW.\u0275inj=Eg({imports:[kz]});var cW=function(){};cW.\u0275fac=function(a){return new (a||cW)};cW.\u0275mod=Zi({type:cW});cW.\u0275inj=Eg({imports:[Wy,WS,LQ,QJ,CA,jC,yN,FG,FI,SL,SQ,qM,JL,zQ,MQ,bW,GG,aW,QL,aQ,oL,PP,cN]});var dW=function(){};dW.\u0275fac=function(a){return new (a||dW)};dW.\u0275mod=Zi({type:dW});dW.\u0275inj=Eg({imports:[jC,cW,oL]});var eW=function(){};eW.\u0275fac=function(a){return new (a||eW)};eW.\u0275mod=Zi({type:eW});eW.\u0275inj=Eg({imports:[jC,$M,rM,pU,sN,FI,JL,uU,uL,yQ,GQ,MQ,oN,iC,oL,xU]});var fW=function(){};fW.\u0275fac=function(a){return new (a||fW)};fW.\u0275mod=Zi({type:fW});fW.\u0275inj=Eg({imports:[jC,FI]});var gW=function(){};gW.\u0275fac=function(a){return new (a||gW)};gW.\u0275mod=Zi({type:gW});gW.\u0275inj=Eg({imports:[WS,$M,jC,rM,yN,VV,SV,fW,FI,SL,IL,SQ,JL,uU,uL,yQ,MV,WV,GQ,wL,zQ,MQ,XV,oN,eW,aQ,DV,dW,EV,cN]});var hW=function(){this.matDialog=x(eI)};hW.prototype.show=function(a){this.dialog=this.matDialog.open(iW,{width:"500px",data:a});return pi(ZH(this.dialog))};hW.\u0275fac=function(a){return new (a||hW)};hW.\u0275prov=Dg({token:hW,factory:hW.\u0275fac,providedIn:"root"});
var iW=function(){this.butterBar=x(MA);this.data=x(dI);this.dialogRef=x(YH);this.teamsService=x(kF);this.dialogTitle="Create Triage View";this.triageForm=new lG({displayName:new nG("",zp),scope:new nG("",zp),showComponentColumn:new nG(!1)});this.data.triage?(this.triage=wd(this.data.triage),this.triage.displayName=Hp(this.data.teamName,this.triage)):this.triage={id:Math.max.apply(Math,p(this.data.teamExperiments.triage.map(function(a){return a.id})))+1,displayName:"",scope:"",showComponentColumn:!1,
config:[]};this.triageForm.patchValue({displayName:this.triage.displayName,scope:this.triage.scope,showComponentColumn:this.triage.showComponentColumn});this.dialogTitle=this.data.triage?"Edit triage view":"Create new triage view"};
iW.prototype.save=function(){var a=this,b,c;return v(function(d){if(d.nextAddress==1)return a.triage.displayName=a.triageForm.value.displayName,a.triage.scope=a.triageForm.value.scope,a.triage.showComponentColumn=a.triageForm.value.showComponentColumn,a.data.triage?(b=a.data.teamExperiments.triage.findIndex(function(e){return e.id===a.triage.id}),a.data.teamExperiments.triage.splice(b,1,a.triage)):a.data.teamExperiments.triage.push(a.triage),hq(a.butterBar,"Saving changes...",0),ei(d,2),w(d,pi(Ryc(a.teamsService,
a.data.teamExperiments)),4);if(d.nextAddress!=2)return hq(a.butterBar,"Save complete."),a.dialogRef.close(a.triage),Iu(d,0);c=ii(d);a.butterBar.showWarning("Failed to save changes.");console.error(c);ji(d)})};iW.\u0275fac=function(a){return new (a||iW)};
iW.\u0275cmp=F({type:iW,selectors:[["b-triage-view-config-dialog"]],standalone:!1,decls:22,vars:3,consts:[["mat-dialog-title",""],[1,"bv2-material","flex-kids-x"],[3,"formGroup"],[1,"dialog-row"],[1,"bv2-top-field-label"],["for","triage-title",1,"required"],"type text id triage-title formControlName displayName required  aria-required true".split(" "),["for","triage-scope",1,"required"],"type text id triage-scope formControlName scope placeholder componentid:123+ required  aria-required true".split(" "),
"gmat-checkbox  id triage-component-name-toggle formControlName showComponentColumn".split(" "),["mat-dialog-actions",""],"type button gmat-button  mat-stroked-button  mat-dialog-close ".split(" "),["type","button","gmat-button","","mat-flat-button","","color","primary",3,"click","disabled"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1),M(),L(2,"mat-dialog-content",1)(3,"form",2)(4,"div",3)(5,"div",4)(6,"label",5),U(7,"Title"),M()(),N(8,"input",6),M(),L(9,"div",3)(10,"div",4)(11,"label",7),U(12,
"Search Scope"),M()(),N(13,"textarea",8),M(),L(14,"div",3)(15,"mat-checkbox",9),U(16," Show component name column in triage view "),M()()()(),L(17,"footer",10)(18,"button",11),U(19,"Cancel"),M(),L(20,"button",12),Q("click",function(){return b.save()}),U(21,"Save"),M()());a&2&&(E(),tk(b.dialogTitle),E(2),K("formGroup",b.triageForm),E(17),K("disabled",!b.triageForm.valid))},dependencies:[pG,Bp,hG,iG,AG,dA,aA,aG,HG,fI,hI,jI,iI,wG,vG],styles:[".dialog-row[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:24px}input[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:4px;background-color:#fff;background-color:var(--input-field-bg);color:#202124;color:var(--text-high-contrast);-moz-box-sizing:border-box;box-sizing:border-box;height:29px;line-height:16px;padding-left:9px;vertical-align:top}input[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{width:100%}"],
changeDetection:0});var jW=function(){};jW.\u0275fac=function(a){return new (a||jW)};jW.\u0275mod=Zi({type:jW});jW.\u0275inj=Eg({imports:[FG,FI,SL,HI,pO,GG]});var b2c=new kh("CdkAccordion"),kW=function(){this._stateChanges=new oj;this._openCloseAllActions=new oj;this.id=x(Wm).getId("cdk-accordion-");this.multi=!1};kW.prototype.closeAll=function(){this._openCloseAllActions.next(!1)};kW.prototype.ngOnChanges=function(a){this._stateChanges.next(a)};kW.prototype.ngOnDestroy=function(){this._stateChanges.complete();this._openCloseAllActions.complete()};kW.\u0275fac=function(a){return new (a||kW)};
kW.\u0275dir=$i({type:kW,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",Tk]},exportAs:["cdkAccordion"],features:[Bk([{provide:b2c,useExisting:kW}]),$w]});var lW=function(){this.accordion=x(b2c,{optional:!0,skipSelf:!0});this._changeDetectorRef=x(sx);this._expansionDispatcher=x(oz);this._openCloseAllSubscription=Yh.EMPTY;this.closed=new Lp;this.opened=new Lp;this.destroyed=new Lp;this.expandedChange=new Lp;this.id=x(Wm).getId("cdk-accordion-child-");this._expanded=!1;this._disabled=kk.apply(null,[!1].concat(p([])));this._removeUniqueSelectionListener=function(){}};g=lW.prototype;
g.ngOnInit=function(){var a=this;this._removeUniqueSelectionListener=this._expansionDispatcher.listen(function(b,c){a.accordion&&!a.accordion.multi&&a.accordion.id===c&&a.id!==b&&(a.expanded=!1)});this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())};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)})};
pg.Object.defineProperties(lW.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){return this._expanded},set:function(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.set(a)}}});
lW.\u0275fac=function(a){return new (a||lW)};lW.\u0275dir=$i({type:lW,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",Tk],disabled:[2,"disabled","disabled",Tk]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Bk([{provide:b2c,useValue:void 0}])]});var mW=function(){};mW.\u0275fac=function(a){return new (a||mW)};mW.\u0275mod=Zi({type:mW});mW.\u0275inj=Eg({});var c2c=new kh("MAT_ACCORDION");var d2c=new kh("MAT_EXPANSION_PANEL");var nW=function(){this._template=x(bk);this._expansionPanel=x(d2c,{optional:!0})};nW.\u0275fac=function(a){return new (a||nW)};nW.\u0275dir=$i({type:nW,selectors:[["ng-template","matExpansionPanelContent",""]]});var e2c=["body"],f2c=["bodyWrapper"],g2c=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],h2c=new kh("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),oW=function(){lW.call(this);var a=this;this._viewContainerRef=x(ck);this._animationsDisabled=hn();this._document=x(Mm);this._ngZone=x(Kk);this._elementRef=x(Ph);this._renderer=x($m);this._hideToggle=!1;this.afterExpand=new Lp;this.afterCollapse=new Lp;this._inputChanges=new oj;this.accordion=x(c2c,{optional:!0,skipSelf:!0});this._headerId=x(Wm).getId("mat-expansion-panel-header-");
this._transitionEndListener=function(c){var d=c.target;c=c.propertyName;var e;d===((e=a._bodyWrapper)==null?void 0:e.nativeElement)&&c==="grid-template-rows"&&a._ngZone.run(function(){a.expanded?a.afterExpand.emit():a.afterCollapse.emit()})};var b=x(h2c,{optional:!0});this._expansionDispatcher=x(oz);b&&(this.hideToggle=b.hideToggle)};Y(oW,lW);oW.\u0275dir=lW.\u0275dir;g=oW.prototype;g._hasSpacing=function(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!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(rj(null),Di(function(){return a.expanded&&!a._portal}),hj(1)).subscribe(function(){a._portal=new Bz(a._lazyContent._template,a._viewContainerRef)});this._setupAnimationEvents()};
g.ngOnChanges=function(a){this._inputChanges.next(a)};g.ngOnDestroy=function(){lW.prototype.ngOnDestroy.call(this);var a;(a=this._cleanupTransitionEnd)==null||a.call(this);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};
g._setupAnimationEvents=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._animationsDisabled?(a.opened.subscribe(function(){return a._ngZone.run(function(){return a.afterExpand.emit()})}),a.closed.subscribe(function(){return a._ngZone.run(function(){return a.afterCollapse.emit()})})):setTimeout(function(){var b=a._elementRef.nativeElement;a._cleanupTransitionEnd=a._renderer.listen(b,"transitionend",a._transitionEndListener);b.classList.add("mat-expansion-panel-animations-enabled")},
200)})};pg.Object.defineProperties(oW.prototype,{hideToggle:{configurable:!0,enumerable:!0,get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(a){this._hideToggle=a}},togglePosition:{configurable:!0,enumerable:!0,get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(a){this._togglePosition=a}}});oW.\u0275fac=function(a){return new (a||oW)};
oW.\u0275cmp=F({type:oW,selectors:[["mat-expansion-panel"]],contentQueries:function(a,b,c){a&1&&fk(c,nW,5);if(a&2){var d;ik(d=jk())&&(b._lazyContent=d.first)}},viewQuery:function(a,b){a&1&&(ek(e2c,5),ek(f2c,5));if(a&2){var c;ik(c=jk())&&(b._body=c.first);ik(c=jk())&&(b._bodyWrapper=c.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(a,b){a&2&&rk("mat-expanded",b.expanded)("mat-expansion-panel-spacing",b._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",Tk],
togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Bk([{provide:c2c,useValue:void 0},{provide:d2c,useExisting:oW}]),xj,$w],ngContentSelectors:["mat-expansion-panel-header","*","mat-action-row"],decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(a,
b){a&1&&(Zj(g2c),ak(0),L(1,"div",2,0)(3,"div",3,1)(5,"div",4),ak(6,1),G(7,qib,0,0,"ng-template",5),M(),ak(8,2),M()());a&2&&(E(),Hj("inert",b.expanded?null:""),E(2),K("id",b.id),Hj("aria-labelledby",b._headerId),E(4),K("cdkPortalOutlet",b._portal))},dependencies:[Ez],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel.mat-expansion-panel-animations-enabled{transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:var(--mat-expansion-container-elevation-shadow, 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-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:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel-content-wrapper{display:grid;grid-template-rows:0fr;grid-template-columns:100%}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper{transition:grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{grid-template-rows:1fr}@supports not (grid-template-rows: 0fr){.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;min-height:0;visibility:hidden;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content{transition:visibility 190ms linear}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper>.mat-expansion-panel-content{visibility:visible}.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;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.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,changeDetection:0});var i2c=function(){};i2c.\u0275fac=function(a){return new (a||i2c)};i2c.\u0275dir=$i({type:i2c,selectors:[["mat-action-row"]],hostAttrs:[1,"mat-action-row"]});var j2c=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],pW=function(){var a=this;this.panel=x(oW,{host:!0});this._element=x(Ph);this._focusMonitor=x(Ey);this._changeDetectorRef=x(sx);this._parentChangeSubscription=Yh.EMPTY;this.tabIndex=0;x(Um).load(Qz);var b=this.panel,c=x(h2c,{optional:!0}),d=x(new ax("tabindex"),{optional:!0}),e=b.accordion?b.accordion._stateChanges.pipe(Di(function(f){return!(!f.hideToggle&&!f.togglePosition)})):Bi;this.tabIndex=parseInt(d||"")||0;this._parentChangeSubscription=
Ci(b.opened,b.closed,e,b._inputChanges.pipe(Di(function(f){return!!(f.hideToggle||f.disabled||f.togglePosition)}))).subscribe(function(){return a._changeDetectorRef.markForCheck()});b.closed.pipe(Di(function(){return b._containsFocus()})).subscribe(function(){return Fy(a._focusMonitor,a._element,"program")});c&&(this.expandedHeight=c.expandedHeight,this.collapsedHeight=c.collapsedHeight)};g=pW.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:ym(a)||(a.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(a)}};g.focus=function(a,b){a?Fy(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)};pg.Object.defineProperties(pW.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this.panel.disabled}}});pW.\u0275fac=function(a){return new (a||pW)};
pW.\u0275cmp=F({type:pW,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(a,b){a&1&&Q("click",function(){return b._toggle()})("keydown",function(c){return b._keydown(c)});a&2&&(Hj("id",b.panel._headerId)("tabindex",b.disabled?-1:b.tabIndex)("aria-controls",b.panel.id)("aria-expanded",b.panel.expanded)("aria-disabled",b.panel.disabled),qk("height",b._getHeaderHeight()),rk("mat-expanded",b.panel.expanded)("mat-expansion-toggle-indicator-after",
b._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",b._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:Uk(a)}]},ngContentSelectors:["mat-panel-title","mat-panel-description","*"],decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],"xmlns;http://www.w3.org/2000/svg;viewBox;0 -960 960 960;aria-hidden;true;focusable;false".split(";"),["d",
"M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(a,b){a&1&&(Zj(j2c),Pj(0,"span",0),ak(1),ak(2,1),ak(3,2),Qj(),I(4,rib,3,0,"span",1));a&2&&(rk("mat-content-hide-toggle",!b._showToggle()),E(4),J(b._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-header{transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header::before{border-radius:inherit}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-sys-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.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.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{color:var(--mat-expansion-header-text-color, var(--mat-sys-on-surface))}.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[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant))}.mat-expansion-panel-animations-enabled .mat-expansion-indicator{transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator{transform:rotate(180deg)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}\n'],
encapsulation:2,changeDetection:0});var k2c=function(){};k2c.\u0275fac=function(a){return new (a||k2c)};k2c.\u0275dir=$i({type:k2c,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]});var qW=function(){};qW.\u0275fac=function(a){return new (a||qW)};qW.\u0275dir=$i({type:qW,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]});var rW=function(){Z.apply(this,arguments);var a=this;this.llmService=x(gS);this.imageUrls=x(FO);this.clusters$=new $n([]);this.tableColumns=[{type:"PRIORITY"},{type:"TITLE"},{type:"ASSIGNEE"},{type:"STATUS"},{type:"COMPONENT_PATH"},{type:"ISSUE_ID"},{type:"MODIFIED_TIME"}];this.SPACE_EMPTY_STATE=this.imageUrls.SPACE_EMPTY_STATE;this.tableOptions=Object.assign({},nYc,{showActiveIndicator:!1,showMenu:!1,rowLimit:20});this.titles$=this.clusters$.pipe(sj(function(b){return uVc(a.llmService,b,a.teamName)}))};
Y(rW,Z);rW.\u0275dir=Z.\u0275dir;pg.Object.defineProperties(rW.prototype,{clusters:{configurable:!0,enumerable:!0,set:function(a){a&&this.clusters$.next(a)}}});rW.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(rW)))(b||rW)}}();
rW.\u0275cmp=F({type:rW,selectors:[["b-issue-themes"]],inputs:{clusters:"clusters",teamName:"teamName"},standalone:!1,features:[xj],decls:2,vars:3,consts:[["tabindex","-1",1,"layout-centered-column","gap"],[1,"flex-kids-y","margin-s","gap-s"],["aria-hidden","true","alt","",1,"empty-state-img",3,"src"],[1,"animated-loading-bar"],[3,"issueIds","tableColumns","options"]],template:function(a,b){a&1&&(I(0,xib,2,1),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.clusters$))?0:-1,c)}},dependencies:[AT,oW,pW,qW,
k2c,py],styles:[".empty-state-img[_ngcontent-%COMP%]{max-width:320px}\n/*# sourceMappingURL=issue_themes.css.map */"],changeDetection:0});var l2c=new kh("GM2_SLIDER_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var m2c=function(a){this.options=a;if(a.disableGmatStyle)throw Error("Mb");};m2c.\u0275fac=function(a){return new (a||m2c)(Ui(l2c))};m2c.\u0275dir=$i({type:m2c,selectors:[["mat-slider"]],hostAttrs:[1,"gmat-mdc-slider"],standalone:!1});var n2c=new kh("_MatSlider"),o2c=new kh("_MatSliderThumb"),p2c=new kh("_MatSliderRangeThumb"),q2c=new kh("_MatSliderVisualThumb");var r2c={provide:cG,useExisting:$g(function(){return sW}),multi:!0},sW=function(){var a=this;this._ngZone=x(Kk);this._elementRef=x(Ph);this._cdr=x(sx);this._slider=x(n2c);this._platform=x(Qm);this.valueChange=new Lp;this.dragStart=new Lp;this.dragEnd=new Lp;this.thumbPosition=2;this._hostElement=this._elementRef.nativeElement;this._valuetext=kk.apply(null,[""].concat(p([])));this._knobRadius=8;this._tickMarkOffset=3;this._hasSetInitialValue=this._isFocused=this._isActive=!1;this._destroyed=new oj;
this._skipUIUpdate=!1;this._onTouchedFn=function(){};this._isControlInitialized=!1;var b=x($m);this._ngZone.runOutsideAngular(function(){a._listenerCleanups=[b.listen(a._hostElement,"pointerdown",a._onPointerDown.bind(a)),b.listen(a._hostElement,"pointermove",a._onPointerMove.bind(a)),b.listen(a._hostElement,"pointerup",a._onPointerUp.bind(a))]})};sW.prototype._setValue=function(a){this._hostElement.value=a;this._updateThumbUIByValue();this._slider._onValueChange(this);this._cdr.detectChanges();this._slider._cdr.markForCheck()};
sW.prototype._setIsFocused=function(a){this._isFocused=a};sW.prototype.ngOnDestroy=function(){this._listenerCleanups.forEach(function(a){return a()});this._destroyed.next();this._destroyed.complete();this.dragStart.complete();this.dragEnd.complete()};var s2c=function(a){a._updateWidthInactive();a.disabled!==a._slider.disabled&&(a._slider.disabled=!0);a.step=a._slider.step;a.min=a._slider.min;a.max=a._slider.max;a._initValue()};g=sW.prototype;
g._initValue=function(){this._hasSetInitialValue=!0;this._initialValue===void 0?this.value=this.min:(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())};g._getDefaultValue=function(){return this.min};g._onBlur=function(){this._setIsFocused(!1);this._onTouchedFn()};g._onFocus=function(){this._slider._setTransition(!1);this._slider._updateTrackUI(this);this._setIsFocused(!0)};
g._onChange=function(){this.valueChange.emit(this.value);this._isActive&&this._updateThumbUIByValue({withAnimation:!0})};g._onInput=function(){var a;(a=this._onChangeFn)==null||a.call(this,this.value);!this._slider.step&&this._isActive||this._updateThumbUIByValue({withAnimation:!0});this._slider._onValueChange(this)};g._onNgControlValueChange=function(){this._isActive&&this._isFocused||(this._slider._onValueChange(this),this._updateThumbUIByValue());this._slider.disabled=this._formControl.disabled};
g._onPointerDown=function(a){this.disabled||a.button!==0||(this._platform.IOS?(this._isActive=this._slider._isCursorOnSliderThumb(a,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect()),this._slider._updateDimensions()):(this._isActive=!0,this._setIsFocused(!0),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(a,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(a),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))))};
g._handleValueCorrection=function(a){var b=this;this._skipUIUpdate=!0;setTimeout(function(){b._skipUIUpdate=!1;b._fixValue(a)},0)};
g._fixValue=function(a){var b=a.clientX-this._slider._cachedLeft,c=this._slider._cachedWidth,d=this._slider.step===0?1:this._slider.step,e=Math.floor((this._slider.max-this._slider.min)/d);b=Math.round((Math.round((this._slider._isRtl?1-b/c:b/c)*e)/e*(this._slider.max-this._slider.min)+this._slider.min)/d)*d;if(b!==this.value){this.value=b;this.valueChange.emit(this.value);var f;(f=this._onChangeFn)==null||f.call(this,this.value)}this._slider._onValueChange(this);this._slider.step>0?this._updateThumbUIByValue():
this._updateThumbUIByPointerEvent(a,{withAnimation:this._slider._hasAnimation})};g._onPointerMove=function(a){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(a)};g._onPointerUp=function(){var a=this;this._isActive&&(this._isActive=!1,this._platform.SAFARI&&this._setIsFocused(!1),this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(function(){return a._updateWidthInactive()},this._platform.IOS?10:0))};
g._clamp=function(a){return Math.max(Math.min(a,this._slider._cachedWidth-this._tickMarkOffset),this._tickMarkOffset)};g._calcTranslateXByValue=function(){return this._slider._isRtl?(1-this.percentage)*(this._slider._cachedWidth-this._tickMarkOffset*2)+this._tickMarkOffset:this.percentage*(this._slider._cachedWidth-this._tickMarkOffset*2)+this._tickMarkOffset};g._calcTranslateXByPointerEvent=function(a){return a.clientX-this._slider._cachedLeft};g._updateWidthActive=function(){};
g._updateWidthInactive=function(){this._hostElement.style.padding="0 "+this._slider._inputPadding+"px";this._hostElement.style.width="calc(100% + "+(this._slider._inputPadding-this._tickMarkOffset*2)+"px)";this._hostElement.style.left="-"+(this._slider._rippleRadius-this._tickMarkOffset)+"px"};g._updateThumbUIByValue=function(a){this.translateX=this._clamp(this._calcTranslateXByValue());this._updateThumbUI(a)};
g._updateThumbUIByPointerEvent=function(a,b){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(a));this._updateThumbUI(b)};g._updateThumbUI=function(a){this._slider._setTransition(!(a==null||!a.withAnimation));this._slider._onTranslateXChange(this)};g.writeValue=function(a){if(this._isControlInitialized||a!==null)this.value=a};g.registerOnChange=function(a){this._onChangeFn=a;this._isControlInitialized=!0};g.registerOnTouched=function(a){this._onTouchedFn=a};
g.setDisabledState=function(a){this.disabled=a};g.focus=function(){this._hostElement.focus()};g.blur=function(){this._hostElement.blur()};
pg.Object.defineProperties(sW.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return Uk(this._hostElement.value,0)},set:function(a){a===null&&(a=this.min);a=isNaN(a)?0:a;a+="";this._hasSetInitialValue?this._isActive||this._setValue(a):this._initialValue=a}},translateX:{configurable:!0,enumerable:!0,get:function(){if(this._slider.min>=this._slider.max)return this._translateX=this._tickMarkOffset;this._translateX===void 0&&(this._translateX=this._calcTranslateXByValue());return this._translateX},
set:function(a){this._translateX=a}},min:{configurable:!0,enumerable:!0,get:function(){return Uk(this._hostElement.min,0)},set:function(a){this._hostElement.min=a+"";this._cdr.detectChanges()}},max:{configurable:!0,enumerable:!0,get:function(){return Uk(this._hostElement.max,0)},set:function(a){this._hostElement.max=a+"";this._cdr.detectChanges()}},step:{configurable:!0,enumerable:!0,get:function(){return Uk(this._hostElement.step,0)},set:function(a){this._hostElement.step=a+"";this._cdr.detectChanges()}},
disabled:{configurable:!0,enumerable:!0,get:function(){return Tk(this._hostElement.disabled)},set:function(a){this._hostElement.disabled=a;this._cdr.detectChanges();this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}},percentage:{configurable:!0,enumerable:!0,get:function(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}},fillPercentage:{configurable:!0,enumerable:!0,get:function(){return this._slider._cachedWidth?
this._translateX===0?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}}});sW.\u0275fac=function(a){return new (a||sW)};
sW.\u0275dir=$i({type:sW,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(a,b){a&1&&Q("change",function(){return b._onChange()})("input",function(){return b._onInput()})("blur",function(){return b._onBlur()})("focus",function(){return b._onFocus()});a&2&&Hj("aria-valuetext",b._valuetext())},inputs:{value:[2,"value","value",Uk]},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],
features:[Bk([r2c,{provide:o2c,useExisting:sW}])]});var t2c=["knob"],u2c=["valueIndicatorContainer"],tW=function(){var a=this;this._cdr=x(sx);this._ngZone=x(Kk);this._slider=x(n2c);this._renderer=x($m);this._isValueIndicatorVisible=this._isActive=this._isHovered=!1;this._hostElement=x(Ph).nativeElement;this._platform=x(Qm);this._onPointerMove=function(b){if(!a._sliderInput._isFocused){var c=a._hostElement.getBoundingClientRect();b=a._slider._isCursorOnSliderThumb(b,c);(a._isHovered=b)?a._showHoverRipple():a._hideRipple(a._hoverRippleRef)}};this._onMouseLeave=
function(){a._isHovered=!1;a._hideRipple(a._hoverRippleRef)};this._onFocus=function(){a._hideRipple(a._hoverRippleRef);a._showFocusRipple();a._hostElement.classList.add("mdc-slider__thumb--focused")};this._onBlur=function(){a._isActive||a._hideRipple(a._focusRippleRef);a._isHovered&&a._showHoverRipple();a._hostElement.classList.remove("mdc-slider__thumb--focused")};this._onDragStart=function(b){b.button===0&&(a._isActive=!0,a._showActiveRipple())};this._onDragEnd=function(){a._isActive=!1;a._hideRipple(a._activeRippleRef);
a._sliderInput._isFocused||a._hideRipple(a._focusRippleRef);a._platform.SAFARI&&a._showHoverRipple()}};g=tW.prototype;
g.ngAfterViewInit=function(){var a=this,b=this._slider._getInput(this.thumbPosition);b&&(this._ripple.radius=24,this._sliderInput=b,this._sliderInputEl=this._sliderInput._hostElement,this._ngZone.runOutsideAngular(function(){var c=a._sliderInputEl,d=a._renderer;a._listenerCleanups=[d.listen(c,"pointermove",a._onPointerMove),d.listen(c,"pointerdown",a._onDragStart),d.listen(c,"pointerup",a._onDragEnd),d.listen(c,"pointerleave",a._onMouseLeave),d.listen(c,"focus",a._onFocus),d.listen(c,"blur",a._onBlur)]}))};
g.ngOnDestroy=function(){var a;(a=this._listenerCleanups)==null||a.forEach(function(b){return b()})};g._showHoverRipple=function(){if(!this._isShowingRipple(this._hoverRippleRef)){this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0});var a;(a=this._hoverRippleRef)==null||a.element.classList.add("mat-mdc-slider-hover-ripple")}};
g._showFocusRipple=function(){if(!this._isShowingRipple(this._focusRippleRef)){this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0);var a;(a=this._focusRippleRef)==null||a.element.classList.add("mat-mdc-slider-focus-ripple")}};g._showActiveRipple=function(){if(!this._isShowingRipple(this._activeRippleRef)){this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400});var a;(a=this._activeRippleRef)==null||a.element.classList.add("mat-mdc-slider-active-ripple")}};
g._isShowingRipple=function(a){return(a==null?void 0:a.state)===0||(a==null?void 0:a.state)===1};
g._showRipple=function(a,b){if(!this._slider.disabled){this._showValueIndicator();this._slider._isRange&&this._slider._getThumb(this.thumbPosition===1?2:1)._showValueIndicator();var c;if((c=this._slider._globalRippleOptions)==null||!c.disabled||b)return b=this._ripple,a={animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:a,centered:!0,persistent:!0},typeof a==="number"?mpc(b._rippleRenderer,a,0,Object.assign({},b.rippleConfig,void 0)):mpc(b._rippleRenderer,0,0,Object.assign({},
b.rippleConfig,a))}};g._hideRipple=function(a){a!=null&&npc(a._renderer,a);this._isShowingAnyRipple()||(this._slider._isRange||this._hideValueIndicator(),a=this._getSibling(),a._isShowingAnyRipple()||(this._hideValueIndicator(),a._hideValueIndicator()))};g._showValueIndicator=function(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")};g._hideValueIndicator=function(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")};
g._getSibling=function(){return this._slider._getThumb(this.thumbPosition===1?2:1)};g._getValueIndicatorContainer=function(){var a;return(a=this._valueIndicatorContainer)==null?void 0:a.nativeElement};g._getKnob=function(){return this._knob.nativeElement};g._isShowingAnyRipple=function(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)};tW.\u0275fac=function(a){return new (a||tW)};
tW.\u0275cmp=F({type:tW,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(a,b){a&1&&(ek(Tz,5),ek(t2c,5),ek(u2c,5));if(a&2){var c;ik(c=jk())&&(b._ripple=c.first);ik(c=jk())&&(b._knob=c.first);ik(c=jk())&&(b._valueIndicatorContainer=c.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},features:[Bk([{provide:q2c,useExisting:tW}])],decls:4,vars:2,consts:[["knob",""],["valueIndicatorContainer",
""],[1,"mdc-slider__value-indicator-container"],[1,"mdc-slider__thumb-knob"],["matRipple","",1,"mat-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(a,b){a&1&&(I(0,yib,5,1,"div",2),N(1,"div",3,0)(3,"div",4));a&2&&(J(b.discrete?0:-1),E(3),K("matRippleDisabled",!0))},dependencies:[Tz],styles:[".mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}\n"],
encapsulation:2,changeDetection:0});var v2c=["trackActive"],uW=function(){var a=this;this._ngZone=x(Kk);this._cdr=x(sx);this._elementRef=x(Ph);this._dir=x(Xm,{optional:!0});this._globalRippleOptions=x(Sz,{optional:!0});this._showTickMarks=this._discrete=this._disabled=!1;this._min=0;this.disableRipple=!1;this._max=100;this._step=1;this.displayWith=function(b){return""+b};this._noopAnimations=hn();this._rippleRadius=24;this.endValueIndicatorText=this.startValueIndicatorText="";this._hasViewInitialized=this._isRtl=this._isRange=!1;this._tickMarkTrackWidth=
0;this._hasAnimation=!1;this._resizeTimer=null;this._platform=x(Qm);this._knobRadius=8;this._thumbsOverlap=!1;x(Um).load(Qz);this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(function(){return a._onDirChange()}),this._isRtl=this._dir.value==="rtl")};g=uW.prototype;g._updateMin=function(a){var b=this._min;this._min=a;this._isRange?this._updateMinRange({old:b,new:a}):this._updateMinNonRange(a);this._onMinMaxOrStepChange()};
g._updateMinRange=function(a){var b=this._getInput(2),c=this._getInput(1),d=b.value,e=c.value;c.min=a.new;b.min=Math.max(a.new,c.value);c.max=Math.min(b.max,b.value);c._updateWidthInactive();b._updateWidthInactive();a.new<a.old?this._onTranslateXChangeBySideEffect(b,c):this._onTranslateXChangeBySideEffect(c,b);d!==b.value&&this._onValueChange(b);e!==c.value&&this._onValueChange(c)};
g._updateMinNonRange=function(a){var b=this._getInput(2);if(b){var c=b.value;b.min=a;b._updateThumbUIByValue();this._updateTrackUI(b);c!==b.value&&this._onValueChange(b)}};g._updateMax=function(a){var b=this._max;this._max=a;this._isRange?this._updateMaxRange({old:b,new:a}):this._updateMaxNonRange(a);this._onMinMaxOrStepChange()};
g._updateMaxRange=function(a){var b=this._getInput(2),c=this._getInput(1),d=b.value,e=c.value;b.max=a.new;c.max=Math.min(a.new,b.value);b.min=c.value;b._updateWidthInactive();c._updateWidthInactive();a.new>a.old?this._onTranslateXChangeBySideEffect(c,b):this._onTranslateXChangeBySideEffect(b,c);d!==b.value&&this._onValueChange(b);e!==c.value&&this._onValueChange(c)};
g._updateMaxNonRange=function(a){var b=this._getInput(2);if(b){var c=b.value;b.max=a;b._updateThumbUIByValue();this._updateTrackUI(b);c!==b.value&&this._onValueChange(b)}};g._updateStep=function(a){this._step=a;this._isRange?this._updateStepRange():this._updateStepNonRange();this._onMinMaxOrStepChange()};
g._updateStepRange=function(){var a=this._getInput(2),b=this._getInput(1),c=a.value,d=b.value,e=b.value;a.min=this._min;b.max=this._max;a.step=this._step;b.step=this._step;this._platform.SAFARI&&(a.value=a.value,b.value=b.value);a.min=Math.max(this._min,b.value);b.max=Math.min(this._max,a.value);b._updateWidthInactive();a._updateWidthInactive();a.value<e?this._onTranslateXChangeBySideEffect(b,a):this._onTranslateXChangeBySideEffect(a,b);c!==a.value&&this._onValueChange(a);d!==b.value&&this._onValueChange(b)};
g._updateStepNonRange=function(){var a=this._getInput(2);if(a){var b=a.value;a.step=this._step;this._platform.SAFARI&&(a.value=a.value);a._updateThumbUIByValue();b!==a.value&&this._onValueChange(a)}};
g.ngAfterViewInit=function(){this._platform.isBrowser&&this._updateDimensions();var a=this._getInput(2),b=this._getInput(1);this._isRange=!!a&&!!b;this._cdr.detectChanges();this._rippleRadius=this._getThumb(2)._ripple.radius;this._inputPadding=this._rippleRadius-this._knobRadius;this._isRange?this._initUIRange(a,b):this._initUINonRange(a);this._updateTrackUI(a);this._updateTickMarkUI();this._updateTickMarkTrackUI();this._observeHostResize();this._cdr.detectChanges()};
g._initUINonRange=function(a){s2c(a);a._updateThumbUIByValue();this._updateValueIndicatorUI(a);this._hasViewInitialized=!0;a._updateThumbUIByValue()};g._initUIRange=function(a,b){s2c(a);a._updateThumbUIByValue();s2c(b);b._updateThumbUIByValue();a._updateMinMax();b._updateMinMax();a._updateStaticStyles();b._updateStaticStyles();this._updateValueIndicatorUIs();this._hasViewInitialized=!0;a._updateThumbUIByValue();b._updateThumbUIByValue()};
g.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe();var a;(a=this._resizeObserver)==null||a.disconnect();this._resizeObserver=null};g._onDirChange=function(){var a;this._isRtl=((a=this._dir)==null?void 0:a.value)==="rtl";this._isRange?this._onDirChangeRange():this._onDirChangeNonRange();this._updateTickMarkUI()};
g._onDirChangeRange=function(){var a=this._getInput(2),b=this._getInput(1);a._setIsLeftThumb();b._setIsLeftThumb();a.translateX=a._calcTranslateXByValue();b.translateX=b._calcTranslateXByValue();a._updateStaticStyles();b._updateStaticStyles();a._updateWidthInactive();b._updateWidthInactive();a._updateThumbUIByValue();b._updateThumbUIByValue()};g._onDirChangeNonRange=function(){this._getInput(2)._updateThumbUIByValue()};
g._observeHostResize=function(){var a=this;typeof ResizeObserver!=="undefined"&&ResizeObserver&&this._ngZone.runOutsideAngular(function(){a._resizeObserver=new ResizeObserver(function(){a._isActive()||a._onResize()});a._resizeObserver.observe(a._elementRef.nativeElement)})};g._isActive=function(){return this._getThumb(1)._isActive||this._getThumb(2)._isActive};g._getValue=function(a){return(a=this._getInput(a===void 0?2:a))?a.value:this.min};
g._skipUpdate=function(){var a,b;return!!(((a=this._getInput(1))==null?0:a._skipUIUpdate)||((b=this._getInput(2))==null?0:b._skipUIUpdate))};g._updateDimensions=function(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth;this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left};g._setTrackActiveStyles=function(a){var b=this._trackActive.nativeElement.style;b.left=a.left;b.right=a.right;b.transformOrigin=a.transformOrigin;b.transform=a.transform};
g._calcTickMarkTransform=function(a){a*=this._tickMarkTrackWidth/(this._tickMarks.length-1);return"translateX("+(this._isRtl?this._cachedWidth-6-a:a)+"px"};g._onTranslateXChange=function(a){this._hasViewInitialized&&(this._updateThumbUI(a),this._updateTrackUI(a),this._updateOverlappingThumbUI(a))};g._onTranslateXChangeBySideEffect=function(a,b){this._hasViewInitialized&&(a._updateThumbUIByValue(),b._updateThumbUIByValue())};
g._onValueChange=function(a){this._hasViewInitialized&&(this._updateValueIndicatorUI(a),this._updateTickMarkUI(),this._cdr.detectChanges())};g._onMinMaxOrStepChange=function(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())};
g._onResize=function(){if(this._hasViewInitialized){this._updateDimensions();if(this._isRange){var a=this._getInput(2),b=this._getInput(1);a._updateThumbUIByValue();b._updateThumbUIByValue();a._updateStaticStyles();b._updateStaticStyles();a._updateMinMax();b._updateMinMax();a._updateWidthInactive();b._updateWidthInactive()}else(a=this._getInput(2))&&a._updateThumbUIByValue();this._updateTickMarkUI();this._updateTickMarkTrackUI();this._cdr.detectChanges()}};
g._areThumbsOverlapping=function(){var a=this._getInput(1),b=this._getInput(2);return a&&b?b.translateX-a.translateX<20:!1};g._updateOverlappingThumbClassNames=function(a){var b=a.getSibling();a=this._getThumb(a.thumbPosition);this._getThumb(b.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top");a._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)};
g._updateOverlappingThumbUI=function(a){this._isRange&&!this._skipUpdate()&&this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(a))};g._updateThumbUI=function(a){this._skipUpdate()||(this._getThumb(a.thumbPosition===2?2:1)._hostElement.style.transform="translateX("+a.translateX+"px)")};
g._updateValueIndicatorUI=function(a){if(!this._skipUpdate()){var b=this.displayWith(a.value);this._hasViewInitialized?a._valuetext.set(b):a._hostElement.setAttribute("aria-valuetext",b);this.discrete&&(a.thumbPosition===1?this.startValueIndicatorText=b:this.endValueIndicatorText=b,a=this._getThumb(a.thumbPosition),b.length<3?a._hostElement.classList.add("mdc-slider__thumb--short-value"):a._hostElement.classList.remove("mdc-slider__thumb--short-value"))}};
g._updateValueIndicatorUIs=function(){var a=this._getInput(2),b=this._getInput(1);a&&this._updateValueIndicatorUI(a);b&&this._updateValueIndicatorUI(b)};g._updateTickMarkTrackUI=function(){if(this.showTickMarks&&!this._skipUpdate()){var a=this._step&&this._step>0?this._step:1;this._tickMarkTrackWidth=(Math.floor(this.max/a)*a-this.min)/(this.max-this.min)*(this._cachedWidth-6)}};g._updateTrackUI=function(a){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(a):this._updateTrackUINonRange(a))};
g._updateTrackUIRange=function(a){var b=a.getSibling();if(b&&this._cachedWidth){var c=Math.abs(b.translateX-a.translateX)/this._cachedWidth;a._isLeftThumb&&this._cachedWidth?this._setTrackActiveStyles({left:"auto",right:this._cachedWidth-b.translateX+"px",transformOrigin:"right",transform:"scaleX("+c+")"}):this._setTrackActiveStyles({left:b.translateX+"px",right:"auto",transformOrigin:"left",transform:"scaleX("+c+")"})}};
g._updateTrackUINonRange=function(a){this._isRtl?this._setTrackActiveStyles({left:"auto",right:"0px",transformOrigin:"right",transform:"scaleX("+(1-a.fillPercentage)+")"}):this._setTrackActiveStyles({left:"0px",right:"auto",transformOrigin:"left",transform:"scaleX("+a.fillPercentage+")"})};g._updateTickMarkUI=function(){if(this.showTickMarks&&this.step!==void 0&&this.min!==void 0&&this.max!==void 0){var a=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(a):this._updateTickMarkUINonRange(a)}};
g._updateTickMarkUINonRange=function(a){var b=this._getValue(),c=Math.max(Math.round((b-this.min)/a),0)+1;a=Math.max(Math.round((this.max-b)/a),0)-1;this._isRtl?c++:a++;this._tickMarks=Array(c).fill(0).concat(Array(a).fill(1))};g._updateTickMarkUIRange=function(a){var b=this._getValue(),c=this._getValue(1),d=Math.max(Math.round((b-c)/a)+1,0);b=Math.max(Math.round((this.max-b)/a),0);this._tickMarks=Array(Math.max(Math.round((c-this.min)/a),0)).fill(1).concat(Array(d).fill(0),Array(b).fill(1))};
g._getInput=function(a){if(a===2&&this._input)return this._input;var b;if((b=this._inputs)==null?0:b.length)return a===1?this._inputs.first:this._inputs.last};g._getThumb=function(a){var b,c;return a===2?(b=this._thumbs)==null?void 0:b.last:(c=this._thumbs)==null?void 0:c.first};g._setTransition=function(a){this._hasAnimation=!this._platform.IOS&&a&&!this._noopAnimations;this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)};
g._isCursorOnSliderThumb=function(a,b){var c=b.width/2;return Math.pow(a.clientX-(b.x+c),2)+Math.pow(a.clientY-(b.y+c),2)<Math.pow(c,2)};
pg.Object.defineProperties(uW.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;a=this._getInput(2);var b=this._getInput(1);a&&(a.disabled=this._disabled);b&&(b.disabled=this._disabled)}},discrete:{configurable:!0,enumerable:!0,get:function(){return this._discrete},set:function(a){this._discrete=a;this._updateValueIndicatorUIs()}},showTickMarks:{configurable:!0,enumerable:!0,get:function(){return this._showTickMarks},set:function(a){this._showTickMarks=
a;this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI())}},min:{configurable:!0,enumerable:!0,get:function(){return this._min},set:function(a){a=a===void 0||a===null||isNaN(a)?this._min:a;this._min!==a&&this._updateMin(a)}},max:{configurable:!0,enumerable:!0,get:function(){return this._max},set:function(a){a=a===void 0||a===null||isNaN(a)?this._max:a;this._max!==a&&this._updateMax(a)}},step:{configurable:!0,enumerable:!0,get:function(){return this._step},set:function(a){a=
isNaN(a)?this._step:a;this._step!==a&&this._updateStep(a)}}});uW.\u0275fac=function(a){return new (a||uW)};
uW.\u0275cmp=F({type:uW,selectors:[["mat-slider"]],contentQueries:function(a,b,c){a&1&&(fk(c,o2c,5),fk(c,p2c,4));if(a&2){var d;ik(d=jk())&&(b._input=d.first);ik(d=jk())&&(b._inputs=d)}},viewQuery:function(a,b){a&1&&(ek(v2c,5),ek(q2c,5));if(a&2){var c;ik(c=jk())&&(b._trackActive=c.first);ik(c=jk())&&(b._thumbs=c)}},hostAttrs:[1,"mat-mdc-slider","mdc-slider"],hostVars:12,hostBindings:function(a,b){a&2&&(sk("mat-"+(b.color||"primary")),rk("mdc-slider--range",b._isRange)("mdc-slider--disabled",b.disabled)("mdc-slider--discrete",
b.discrete)("mdc-slider--tick-marks",b.showTickMarks)("_mat-animation-noopable",b._noopAnimations))},inputs:{disabled:[2,"disabled","disabled",Tk],discrete:[2,"discrete","discrete",Tk],showTickMarks:[2,"showTickMarks","showTickMarks",Tk],min:[2,"min","min",Uk],color:"color",disableRipple:[2,"disableRipple","disableRipple",Tk],max:[2,"max","max",Uk],step:[2,"step","step",Uk],displayWith:"displayWith"},exportAs:["matSlider"],features:[Bk([{provide:n2c,useExisting:uW}])],ngContentSelectors:["*"],decls:9,
vars:5,consts:[["trackActive",""],["tickMarkContainer",""],[1,"mdc-slider__track"],[1,"mdc-slider__track--inactive"],[1,"mdc-slider__track--active"],[1,"mdc-slider__track--active_fill"],[1,"mdc-slider__tick-marks"],[3,"discrete","thumbPosition","valueIndicatorText"],[3,"class","transform"]],template:function(a,b){a&1&&(Zj(),ak(0),L(1,"div",2),N(2,"div",3),L(3,"div",4),N(4,"div",5,0),M(),I(6,Bib,3,1,"div",6),M(),I(7,Cib,1,3,"mat-slider-visual-thumb",7),N(8,"mat-slider-visual-thumb",7));a&2&&(E(6),
J(b.showTickMarks?6:-1),E(),J(b._isRange?7:-1),E(),K("discrete",b.discrete)("thumbPosition",2)("valueIndicatorText",b.endValueIndicatorText))},dependencies:[tW],styles:['.mdc-slider__track{position:absolute;top:50%;transform:translateY(-50%);width:100%;pointer-events:none;height:var(--mat-slider-inactive-track-height, 4px)}.mdc-slider__track--active,.mdc-slider__track--inactive{display:flex;height:100%;position:absolute;width:100%}.mdc-slider__track--active{overflow:hidden;border-radius:var(--mat-slider-active-track-shape, var(--mat-sys-corner-full));height:var(--mat-slider-active-track-height, 4px);top:calc((var(--mat-slider-inactive-track-height, 4px) - var(--mat-slider-active-track-height, 4px))/2)}.mdc-slider__track--active_fill{border-top-style:solid;box-sizing:border-box;height:100%;width:100%;position:relative;transform-origin:left;transition:transform 80ms ease;border-color:var(--mat-slider-active-track-color, var(--mat-sys-primary));border-top-width:var(--mat-slider-active-track-height, 4px)}.mdc-slider--disabled .mdc-slider__track--active_fill{border-color:var(--mat-slider-disabled-active-track-color, var(--mat-sys-on-surface))}[dir=rtl] .mdc-slider__track--active_fill{-webkit-transform-origin:right;transform-origin:right}.mdc-slider__track--inactive{left:0;top:0;opacity:.24;background-color:var(--mat-slider-inactive-track-color, var(--mat-sys-surface-variant));height:var(--mat-slider-inactive-track-height, 4px);border-radius:var(--mat-slider-inactive-track-shape, var(--mat-sys-corner-full))}.mdc-slider--disabled .mdc-slider__track--inactive{background-color:var(--mat-slider-disabled-inactive-track-color, var(--mat-sys-on-surface));opacity:.24}.mdc-slider__track--inactive::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(forced-colors: active){.mdc-slider__track--inactive::before{border-color:CanvasText}}.mdc-slider__value-indicator-container{bottom:44px;left:50%;pointer-events:none;position:absolute;transform:var(--mat-slider-value-indicator-container-transform, translateX(-50%) rotate(-45deg))}.mdc-slider__thumb--with-indicator .mdc-slider__value-indicator-container{pointer-events:auto}.mdc-slider__value-indicator{display:flex;align-items:center;transform:scale(0);transform-origin:var(--mat-slider-value-indicator-transform-origin, 0 28px);transition:transform 100ms cubic-bezier(0.4, 0, 1, 1);word-break:normal;background-color:var(--mat-slider-label-container-color, var(--mat-sys-primary));color:var(--mat-slider-label-label-text-color, var(--mat-sys-on-primary));width:var(--mat-slider-value-indicator-width, 28px);height:var(--mat-slider-value-indicator-height, 28px);padding:var(--mat-slider-value-indicator-padding, 0);opacity:var(--mat-slider-value-indicator-opacity, 1);border-radius:var(--mat-slider-value-indicator-border-radius, 50% 50% 50% 0)}.mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:transform 100ms cubic-bezier(0, 0, 0.2, 1);transform:scale(1)}.mdc-slider__value-indicator::before{border-left:6px solid rgba(0,0,0,0);border-right:6px solid rgba(0,0,0,0);border-top:6px solid;bottom:-5px;content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;display:var(--mat-slider-value-indicator-caret-display, none);border-top-color:var(--mat-slider-label-container-color, var(--mat-sys-primary))}.mdc-slider__value-indicator::after{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(forced-colors: active){.mdc-slider__value-indicator::after{border-color:CanvasText}}.mdc-slider__value-indicator-text{text-align:center;width:var(--mat-slider-value-indicator-width, 28px);transform:var(--mat-slider-value-indicator-text-transform, rotate(45deg));font-family:var(--mat-slider-label-label-text-font, var(--mat-sys-label-medium-font));font-size:var(--mat-slider-label-label-text-size, var(--mat-sys-label-medium-size));font-weight:var(--mat-slider-label-label-text-weight, var(--mat-sys-label-medium-weight));line-height:var(--mat-slider-label-label-text-line-height, var(--mat-sys-label-medium-line-height));letter-spacing:var(--mat-slider-label-label-text-tracking, var(--mat-sys-label-medium-tracking))}.mdc-slider__thumb{-webkit-user-select:none;user-select:none;display:flex;left:-24px;outline:none;position:absolute;height:48px;width:48px;pointer-events:none}.mdc-slider--discrete .mdc-slider__thumb{transition:transform 80ms ease}.mdc-slider--disabled .mdc-slider__thumb{pointer-events:none}.mdc-slider__thumb--top{z-index:1}.mdc-slider__thumb-knob{position:absolute;box-sizing:border-box;left:50%;top:50%;transform:translate(-50%, -50%);border-style:solid;width:var(--mat-slider-handle-width, 20px);height:var(--mat-slider-handle-height, 20px);border-width:calc(var(--mat-slider-handle-height, 20px)/2) calc(var(--mat-slider-handle-width, 20px)/2);box-shadow:var(--mat-slider-handle-elevation, var(--mat-sys-level1));background-color:var(--mat-slider-handle-color, var(--mat-sys-primary));border-color:var(--mat-slider-handle-color, var(--mat-sys-primary));border-radius:var(--mat-slider-handle-shape, var(--mat-sys-corner-full))}.mdc-slider__thumb:hover .mdc-slider__thumb-knob{background-color:var(--mat-slider-hover-handle-color, var(--mat-sys-primary));border-color:var(--mat-slider-hover-handle-color, var(--mat-sys-primary))}.mdc-slider__thumb--focused .mdc-slider__thumb-knob{background-color:var(--mat-slider-focus-handle-color, var(--mat-sys-primary));border-color:var(--mat-slider-focus-handle-color, var(--mat-sys-primary))}.mdc-slider--disabled .mdc-slider__thumb-knob{background-color:var(--mat-slider-disabled-handle-color, var(--mat-sys-on-surface));border-color:var(--mat-slider-disabled-handle-color, var(--mat-sys-on-surface))}.mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border:solid 1px #fff;box-sizing:content-box;border-color:var(--mat-slider-with-overlap-handle-outline-color, var(--mat-sys-on-primary));border-width:var(--mat-slider-with-overlap-handle-outline-width, 1px)}.mdc-slider__tick-marks{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:space-between;padding:0 1px;position:absolute;width:100%}.mdc-slider__tick-mark--active,.mdc-slider__tick-mark--inactive{width:var(--mat-slider-with-tick-marks-container-size, 2px);height:var(--mat-slider-with-tick-marks-container-size, 2px);border-radius:var(--mat-slider-with-tick-marks-container-shape, var(--mat-sys-corner-full))}.mdc-slider__tick-mark--inactive{opacity:var(--mat-slider-with-tick-marks-inactive-container-opacity, 0.38);background-color:var(--mat-slider-with-tick-marks-inactive-container-color, var(--mat-sys-on-surface-variant))}.mdc-slider--disabled .mdc-slider__tick-mark--inactive{opacity:var(--mat-slider-with-tick-marks-inactive-container-opacity, 0.38);background-color:var(--mat-slider-with-tick-marks-disabled-container-color, var(--mat-sys-on-surface))}.mdc-slider__tick-mark--active{opacity:var(--mat-slider-with-tick-marks-active-container-opacity, 0.38);background-color:var(--mat-slider-with-tick-marks-active-container-color, var(--mat-sys-on-primary))}.mdc-slider__input{cursor:pointer;left:2px;margin:0;height:44px;opacity:0;position:absolute;top:2px;width:44px;box-sizing:content-box}.mdc-slider__input.mat-mdc-slider-input-no-pointer-events{pointer-events:none}.mdc-slider__input.mat-slider__right-input{left:auto;right:0}.mat-mdc-slider{display:inline-block;box-sizing:border-box;outline:none;vertical-align:middle;cursor:pointer;height:48px;margin:0 8px;position:relative;touch-action:pan-y;width:auto;min-width:112px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-slider.mdc-slider--disabled{cursor:auto;opacity:.38}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__input{cursor:auto}.mat-mdc-slider .mdc-slider__thumb,.mat-mdc-slider .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider.mdc-slider--discrete .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider .mat-ripple .mat-ripple-element{background-color:var(--mat-slider-ripple-color, var(--mat-sys-primary))}.mat-mdc-slider .mat-ripple .mat-mdc-slider-hover-ripple{background-color:var(--mat-slider-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-primary) 5%, transparent))}.mat-mdc-slider .mat-ripple .mat-mdc-slider-focus-ripple,.mat-mdc-slider .mat-ripple .mat-mdc-slider-active-ripple{background-color:var(--mat-slider-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-primary) 20%, transparent))}.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__track--active_fill,.mat-mdc-slider._mat-animation-noopable .mdc-slider__value-indicator{transition:none}.mat-mdc-slider .mat-focus-indicator::before{border-radius:50%}.mdc-slider__thumb--focused .mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var w2c=function(a,b){return b.componentId},x2c=function(a,b){return b.displayAs},vW=function(){Z.apply(this,arguments);var a=this;this.activatedRoute=x(Zn);this.teamFridge=x(qF);this.issueFridge=x(MD);this.componentActions=x(DO);this.teamId=this.activatedRoute.snapshot.params.teamId;this.components=[];this.openFilter=RH;this.selectedOpenFilter$=new CF;this.selectComponents$=new CF;this.dateRangeFilters=[{displayAs:"Last 1 Year",queryAtom:"modified:365d",tooltip:"Issues modified within 1 Year"},{displayAs:"Last 6 Months",
queryAtom:"modified:180d",tooltip:"Issues modified within 6 Months"},{displayAs:"Last 30 Days",queryAtom:"modified:30d",tooltip:"Issues modified within 30 Days"},{displayAs:"Last 7 Days",queryAtom:"modified:7d",tooltip:"Issues modified within 7 Days"}];this.selectedDateRangeFilter$=new $n(this.dateRangeFilters[0]);this.clusterGranularity$=new $n(1);this.query$=si([this.selectedOpenFilter$.value$,this.selectComponents$.value$,this.selectedDateRangeFilter$]).pipe(fj(0,xp),C(function(b){var c=l(b);b=
c.next().value;var d=c.next().value;c=c.next().value;return y2c(a)?Jp.apply(null,[Ip("teamid",a.teamId)].concat(p(Array.from(b,function(e){return e.queryAtom})),[c.queryAtom])):Jp.apply(null,[].concat(p(Array.from(b,function(e){return e.queryAtom})),[Ip("componentId",[].concat(p(d)).map(function(e){return e.componentId}),!1),c.queryAtom]))}));this.issues$=this.query$.pipe(sj(function(b){return a.issueFridge.watchMany({filter:b,pageSize:500})}),C(function(b){return b.results.filter(function(c){var d;
return(d=c.experimentalFields)==null?void 0:d.clusterIds.length})}));this.clusters$=si([this.issues$,this.clusterGranularity$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return z2c(b,c)}))};Y(vW,Z);vW.\u0275dir=Z.\u0275dir;
vW.prototype.ngOnInit=function(){var a=this;this.componentActions.search("teamid:"+this.teamId).then(function(b){b.sort(function(c,d){return c.name.localeCompare(d.name)});a.components=b;a.selectComponents$.add.apply(a.selectComponents$,p(a.components))});this.teamId&&pi(this.teamFridge.watch(this.teamId)).then(function(b){a.teamName=b==null?void 0:b.name})};vW.prototype.openFilterChanged=function(a){a?this.selectedOpenFilter$.add(RH):this.selectedOpenFilter$.delete(RH)};
var y2c=function(a){return a.selectComponents$.size===a.components.length};vW.prototype.onCheckboxChange=function(a){this.selectComponents$.has(a)?this.selectComponents$.delete(a):this.selectComponents$.add(a)};
var z2c=function(a,b){var c=new Map;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.experimentalFields.clusterIds[b],f=void 0,h=(f=c.get(e))!=null?f:new Set;h.add(d.issueId);c.set(e,h)}b=[].concat(p(c.values())).map(function(k){return[].concat(p(k))});return no(b,function(k){return k.sort().join(",")}).filter(function(k){return k.length>=3}).sort(function(k,q){return q.length-k.length}).slice(0,10).map(function(k){return[].concat(p(k))})};
vW.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(vW)))(b||vW)}}();
vW.\u0275cmp=F({type:vW,selectors:[["b-issue-themes-dashboard"]],standalone:!1,features:[xj],decls:46,vars:16,consts:[["componentMenuTrigger","matMenuTrigger"],["ComponentMultiSelect","matMenu"],["dateMenuTrigger","matMenuTrigger"],["DateRangeMenu","matMenu"],["slider",""],[1,"pos-fill","flex-kids-y"],[1,"border-bottom","padded-s-sides","flex-kids-x","align-items-center","gap-xs"],["type","button","mat-icon-button","","matTooltip","Refresh","aria-label","Refresh",1,"medium"],["color","primary","svgIcon",
"refresh",1,"icon-m"],[1,"margin-none","nowrap"],["svgIcon","chevron-right",1,"icon-s","muted"],[1,"overflow","overflow-on-print-media"],[1,"flex-kids-x","align-items-center","margin-s","gap-s"],["aria-label","Filter open issues",3,"change"],["appearance","hairline-filter",3,"value","selected"],[3,"matTooltip"],["aria-label","Scope search to component",3,"selectable"],["appearance","hairline-filter","aria-label","Select component search scope","color","primary","role","button",3,"keydown.enter","keyup.space",
"matMenuTriggerFor"],["matChipTrailingIcon","","svgIcon","arrow-dropdown"],["mat-menu-item","",3,"click"],[3,"change","checked"],["mat-menu-item",""],["aria-label","Select date range",3,"selectable"],["appearance","hairline-filter","aria-label","Select date range","color","primary","role","button",3,"keydown.enter","keyup.space","matMenuTriggerFor"],"max;3;min;1;step;1;showTickMarks;;matTooltip;Move slider to the right to see more general clusters.".split(";"),["aria-label","cluster granularity",
"matSliderThumb","",3,"valueChange"],[3,"clusters","teamName"],[3,"checked"]],template:function(a,b){if(a&1){var c=y();L(0,"div",5)(1,"header",6)(2,"button",7);N(3,"mat-icon",8);M();L(4,"h2",9);U(5);M();N(6,"mat-icon",10);L(7,"h2",9);U(8,"Explore issue themes");M()();L(9,"div",11)(10,"div",12)(11,"mat-chip-listbox",13);Q("change",function(e){z(c);return B(b.openFilterChanged(e.value))});L(12,"mat-chip-option",14)(13,"span",15);U(14);M()()();L(15,"mat-chip-listbox",16)(16,"mat-chip-option",17,0);Q("keydown.enter",
function(){z(c);var e=T(17);return B(e.openMenu())})("keyup.space",function(){z(c);var e=T(17);return B(e.openMenu())});I(18,Dib,2,0,"span")(19,Eib,2,0,"span");N(20,"mat-icon",18);M()();L(21,"mat-menu",null,1)(23,"button",19);Q("click",function(e){z(c);return B(e.stopPropagation())});L(24,"mat-checkbox",20);Q("change",function(){z(c);y2c(b)?b.selectComponents$.clear():b.selectComponents$.add.apply(b.selectComponents$,p(b.components));return B()});U(25," Select all ");M()();N(26,"mat-divider");Mj(27,
Fib,3,2,"button",21,w2c);M();L(29,"mat-chip-listbox",22)(30,"mat-chip-option",23,2);Q("keydown.enter",function(){z(c);var e=T(31);return B(e.openMenu())})("keyup.space",function(){z(c);var e=T(31);return B(e.openMenu())});L(32,"span");U(33);M();N(34,"mat-icon",18);M()();L(35,"mat-menu",null,3);Mj(37,Gib,2,1,"button",21,x2c);M();L(39,"span");U(40," Granularity");M();L(41,"mat-slider",24)(42,"input",25,4);Q("valueChange",function(e){z(c);b.clusterGranularity$.next(e);return B()});M()()();N(44,"b-issue-themes",
26);W(45,"async");M()()}if(a&2){a=T(22);var d=T(36);E(5);tk(b.teamName);E(7);K("value",b.openFilter)("selected",b.selectedOpenFilter$.has(b.openFilter));E();K("matTooltip",b.openFilter.tooltip||"");E();V(" ",b.openFilter.displayAs," ");E();K("selectable",!1);E();K("matMenuTriggerFor",a);E(2);J(y2c(b)?18:19);E(6);K("checked",y2c(b));E(3);Nj(b.components);E(2);K("selectable",!1);E();K("matMenuTriggerFor",d);E(3);tk(b.selectedDateRangeFilter$.value.displayAs);E(4);Nj(b.dateRangeFilters);E(7);K("clusters",
X(45,14,b.clusters$))("teamName",b.teamName)}},dependencies:[EA,dA,bA,FL,mK,kK,pK,QP,YP,WP,UP,YF,WF,aG,HG,eN,m2c,uW,sW,rW,py],styles:["/*# sourceMappingURL=issue_themes_dashboard.css.map */"],changeDetection:0});var wW=function(){};wW.\u0275fac=function(a){return new (a||wW)};wW.\u0275mod=Zi({type:wW});wW.\u0275inj=Eg({imports:[Wz,kz]});var xW=function(){};xW.\u0275fac=function(a){return new (a||xW)};xW.\u0275mod=Zi({type:xW});xW.\u0275inj=Eg({imports:[wW]});var yW=function(){kW.apply(this,arguments);this._ownHeaders=new dk;this.hideToggle=!1;this.displayMode="default";this.togglePosition="after"};Y(yW,kW);yW.prototype.ngAfterContentInit=function(){var a=this;this._headers.changes.pipe(rj(this._headers)).subscribe(function(b){a._ownHeaders.reset(b.filter(function(c){return c.panel.accordion===a}));hk(a._ownHeaders)});this._keyManager=fz(cz(new iz(this._ownHeaders)))};yW.prototype._handleHeaderKeydown=function(a){this._keyManager.onKeydown(a)};
yW.prototype._handleHeaderFocus=function(a){gz(this._keyManager,a)};yW.prototype.ngOnDestroy=function(){kW.prototype.ngOnDestroy.call(this);var a;(a=this._keyManager)==null||a.destroy();this._ownHeaders.destroy()};yW.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(yW)))(b||yW)}}();
yW.\u0275dir=$i({type:yW,selectors:[["mat-accordion"]],contentQueries:function(a,b,c){a&1&&fk(c,pW,5);if(a&2){var d;ik(d=jk())&&(b._headers=d)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(a,b){a&2&&rk("mat-accordion-multi",b.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",Tk],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[Bk([{provide:c2c,useExisting:yW}]),xj]});var zW=function(){};zW.\u0275fac=function(a){return new (a||zW)};zW.\u0275mod=Zi({type:zW});zW.\u0275inj=Eg({imports:[mW,Fz,kz]});var AW=function(){};AW.\u0275fac=function(a){return new (a||AW)};AW.\u0275mod=Zi({type:AW});AW.\u0275inj=Eg({imports:[jC,cW,zW,FI,IL,ZL,RQ,JL,SL,oN,xW]});var Oib=Date.now(),BW=function(){var a=this;this.issueFridge=x(MD);this.router=x($B);this.ROUTES=Hq;this.phaseToUrlSlug=Sr;this.FETCH_SIZE=500;this.teamId$=new nj(1);this.triageId$=new nj(1);this.phase$=new $n("NEW");this.heading$=this.phase$.pipe(C(function(b){return pr.get(b)}));this.searchFilter$=si([this.teamId$,this.phase$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return"teamid:"+b+"+ "+QBc[c]}));this.issues$=this.searchFilter$.pipe(sj(function(b){return a.issueFridge.watchMany({filter:b,
pageSize:500})}),C(function(b){return b.results}));this.daysOld$=this.issues$.pipe(C(function(b){return b.map(function(c){var d,e;return(e=(d=c.aggregatedData)==null?void 0:d.modifiedTimeMicros)!=null?e:0})}),C(function(b){return b.map(Pib)}));this.avgAge$=this.daysOld$.pipe(C(Kha),C(function(b){return Math.round(b*10)/10}));this.countsByDaysOld$=this.daysOld$.pipe(C(function(b){var c=b.map(function(e){return Math.floor(e)});b=[];c=l(c);for(var d=c.next();!d.done;d=c.next())d=d.value,b[d]=~~b[d]+
1;return Array.from(b,function(e){return e!=null?e:0}).reverse()}));this.ratioDaysOld$=this.countsByDaysOld$.pipe(C(function(b){var c=Math.max.apply(Math,p(b));return b.map(function(d){return d/c})}))};pg.Object.defineProperties(BW.prototype,{teamId:{configurable:!0,enumerable:!0,set:function(a){this.teamId$.next(a)}},triageId:{configurable:!0,enumerable:!0,set:function(a){this.triageId$.next(a)}},phase:{configurable:!0,enumerable:!0,set:function(a){this.phase$.next(a)}}});
BW.\u0275fac=function(a){return new (a||BW)};
BW.\u0275cmp=F({type:BW,selectors:[["phase-card-contents"]],inputs:{teamId:"teamId",triageId:"triageId",phase:"phase"},standalone:!1,decls:19,vars:12,consts:[[1,"flex-kids-x","margin-s-bottom"],[1,"padded-s-y","padded-right","border-right"],[1,"type-s","muted"],[1,"type-l"],[1,"padded-s-y","padded-sides"],[1,"bar-chart"],[1,"flex-kids-x"],[1,"heading-s","subtle-link","align-self-center",3,"href"],["type","button","mat-button","","color","primary margin-left-auto","title","View issues",3,"click"],
["svgIcon","arrow-forward","iconPositionEnd",""],[3,"title","style"],[3,"title"]],template:function(a,b){a&1&&(I(0,Iib,2,3),W(1,"async"),L(2,"div",0)(3,"div",1)(4,"p",2),U(5,"Total Issues"),M(),L(6,"p",3),I(7,Jib,1,2),W(8,"async"),Jj(9,Kib,1,0),M()(),L(10,"div",4)(11,"p",2),U(12,"Avg Last Modified"),M(),L(13,"p",3),U(14),W(15,"async"),M()()(),L(16,"div",5),I(17,Nib,2,3),W(18,"async"),M());if(a&2){var c,d,e;J((c=X(1,4,b.teamId$))?0:-1,c);E(7);J((d=X(8,6,b.issues$))?7:9,d);E(7);V(" ",X(15,8,b.avgAge$),
" days ");E(3);J((e=X(18,10,b.countsByDaysOld$))?17:-1,e)}},dependencies:[EA,dA,aA,py],styles:["[_nghost-%COMP%]{overflow:auto}.bar-chart[_ngcontent-%COMP%]{margin:0;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;-moz-box-align:end;-ms-flex-align:end;align-items:flex-end;gap:1px;height:96px}.bar-chart[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary);min-height:1px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1}\n/*# sourceMappingURL=phase_card_contents.css.map */"]});var CW=function(){var a=this;this.activatedRoute=x(Zn);this.appSearchState=x(hK);this.teamFridge=x(qF);this.ROUTES=Hq;this.TriagePhase=Bic;this.activatedRoute.params.pipe(C(function(b){return{teamId:b.teamId,triageId:b.triageId}}));this.id$=this.activatedRoute.params.pipe(C(function(b){return b.teamId}));this.triageId$=this.activatedRoute.params.pipe(C(function(b){return b.triageId}));si([this.id$,this.triageId$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return!(!b||!c&&c!==
"0")}));this.team$=this.id$.pipe(sj(function(b){return a.teamFridge.watch(b)}));this.query$=this.id$.pipe(C(function(b){return"teamid:"+b+"+"}))};CW.prototype.ngOnInit=function(){var a=this;setTimeout(function(){a.appSearchState.clear()})};CW.\u0275fac=function(a){return new (a||CW)};
CW.\u0275cmp=F({type:CW,selectors:[["triage-dashboard"]],standalone:!1,decls:14,vars:11,consts:[[1,"pos-fill","overflow","overflow-on-print-media"],[1,"border-bottom","padded-s-sides"],[1,"left","flex-kids-x","align-items-center","gap-s"],["mat-icon-button","","aria-label","Back to Triage",1,"medium",3,"href"],["color","primary","svgIcon","arrow-backward",1,"icon-m","back-btn"],[3,"title"],[1,"muted"],[1,"main-content","padded","grid"],[1,"carded","bg-off-main",3,"phase","teamId","triageId"]],template:function(a,
b){a&1&&(L(0,"div",0)(1,"header",1)(2,"div",2)(3,"a",3),W(4,"async"),W(5,"async"),N(6,"mat-icon",4),M(),L(7,"h2"),U(8," Dashboard: "),I(9,Qib,2,2,"span",5),W(10,"async"),Jj(11,Rib,3,3,"code",6),M()()(),I(12,Tib,2,3),W(13,"async"),M());if(a&2){var c,d;E(3);K("href",b.ROUTES.viewTriage.makeHref(X(4,3,b.id$),X(5,5,b.triageId$)),Ni);E(6);J((c=X(10,7,b.team$))?9:11,c);E(3);J((d=X(13,9,b.id$))?12:-1,d)}},dependencies:[EA,dA,bA,BW,py],styles:["[_nghost-%COMP%]{display:block;padding:16px}.grid[_ngcontent-%COMP%]{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}@media (min-width:1100px){.grid[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1500px){.grid[_ngcontent-%COMP%]{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:2200px){.grid[_ngcontent-%COMP%]{grid-template-columns:repeat(5,minmax(0,1fr))}}.screen-logo-icon[_ngcontent-%COMP%]{width:40px}.phase-card[_ngcontent-%COMP%]{min-height:200px}a.mat-mdc-icon-button[_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;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}\n/*# sourceMappingURL=triage_dashboard.css.map */"]});var A2c="comment priority status assignee self-assign self-unassign unassign".split(" "),B2c=["create"],DW=function(){this.paths=x(TO);this.activeSession=x(Ks);this.issueFullFridge=x(pE);this.toIssuePriority=td;this.getResponsibleEmailAddress=Zib;this.getChangelistNumber=Vib;this.getLink=Wib;this.getPreviousDiffValue=$ib;this.getNewDiffValue=Yib;this.shorthandAllDiffs=Xib;this.getClMetadata=Uib;this.isCritiqueComment=hg;this.isFullGerritComment=ig;this.STATUS_CODE_FROM_DISPLAY_STRING=ajc;this.type=
"default"};DW.prototype.ngOnInit=function(){this.type=ajb(this.event)};DW.prototype.getComment=function(){return this.event.unlinkifiedComment?this.event.unlinkifiedComment:this.event.formattedComment?Qf(this.event.formattedComment):""};DW.\u0275fac=function(a){return new (a||DW)};
DW.\u0275cmp=F({type:DW,selectors:[["recent-event-row"]],inputs:{event:"event"},standalone:!1,decls:15,vars:5,consts:[[3,"ldapOnly","email"],[3,"href","issueId"],["mode","relativepast",3,"timestamp"],[3,"id"],["target","_blank",3,"href"],[1,"cl-title","muted",3,"title"],[3,"issuePriority"],[1,"status-update","muted",3,"title"],[3,"title"],[1,"comment-text","muted",3,"title"],[1,"issue-title","muted",3,"title"]],template:function(a,b){a&1&&(N(0,"b-user-email",0),I(1,bjb,4,4)(2,fjb,5,4)(3,gjb,4,4)(4,
hjb,6,5)(5,jjb,4,5)(6,ljb,5,5)(7,mjb,6,6)(8,njb,4,4)(9,ojb,4,4)(10,Ujb,6,6)(11,Vjb,5,4)(12,Wjb,5,5),I(13,Yjb,1,1),I(14,$jb,1,1));if(a&2){var c;K("ldapOnly",!0)("email",b.getResponsibleEmailAddress(b.event));E();J((c=b.type)==="create"?1:c==="changelist"?2:c==="comment"?3:c==="priority"?4:c==="status"?5:c==="statusUpdate"?6:c==="assignee"?7:c==="self-assign"?8:c==="self-unassign"?9:c==="unassign"?10:c==="component"?11:12);E(12);J(A2c.includes(b.type)?13:-1);E();J(B2c.includes(b.type)?14:-1)}},dependencies:[aN,
tN,FH,lP,ZLc],styles:["[_nghost-%COMP%]{display:block;min-height:20px;padding:2px 0;font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}b-user-email[_ngcontent-%COMP%]{font-weight:500}[_nghost-%COMP%]     .cl-link{color:#1e8e3e;color:var(--good-link)}"],changeDetection:0});var EW=function(){Z.apply(this,arguments);var a=this;this.recentEventsForIssuesFridge=x(aF);this.activeSession=x(Ks);this.quickFilter=new nG("");this.printStats=nkb;this.defaultNumEvents=6;this.numDisplayed$=new $n(this.defaultNumEvents);this.query$=new nj(1);this.renderDelay$=li(!0).pipe(ij(1E3));this.allEvents$=this.query$.pipe(Di(fe),tj(this.destroyed$),C(function(b){return[b,100].join("___")}),sj(function(b){return a.recentEventsForIssuesFridge.watch(b)}),C(function(b){var c;return(c=b==null?
void 0:b.events)!=null?c:[]}));this.events$=si([this.allEvents$,this.quickFilter.valueChanges.pipe(rj(""))]).pipe(C(function(b){var c=l(b);b=c.next().value;b=b===void 0?[]:b;c=c.next().value;return b.filter(mkb(c))}));this.bucketedEvents$=si([this.events$,this.numDisplayed$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b.slice(0,c)}),C(okb));this.allBucketedEvents$=this.events$.pipe(C(okb));this.bucketedEventStats$=this.allBucketedEvents$.pipe(C(function(b){return{"<24h":pkb("<24h",
b),"24h-7d":pkb("24h-7d",b),"7d-30d":pkb("7d-30d",b),">30d":pkb(">30d",b)}}))};Y(EW,Z);EW.\u0275dir=Z.\u0275dir;pg.Object.defineProperties(EW.prototype,{numEvents:{configurable:!0,enumerable:!0,set:function(a){var b;a=(b=a)!=null?b:6;this.numDisplayed$.next(a);this.defaultNumEvents=a}},query:{configurable:!0,enumerable:!0,set:function(a){a!=null&&this.query$.next(a)}}});EW.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(EW)))(b||EW)}}();
EW.\u0275cmp=F({type:EW,selectors:[["recent-events"]],inputs:{numEvents:"numEvents",query:"query"},standalone:!1,features:[xj],decls:2,vars:3,consts:[[1,"heading-xs","margin-bottom"],["type","search","placeholder","filter","aria-label","filter recent activity",1,"margin-s-left","subtle","b-input-style",3,"formControl"],["type","button",1,"link-button","margin-s-top"],[1,"muted","bold","margin-s-bottom"],[3,"event"],[1,"muted","bold","margin-s-bottom","margin-top"],["type","button",1,"link-button",
"margin-s-top",3,"click"]],template:function(a,b){a&1&&(I(0,lkb,5,4),W(1,"async"));a&2&&J(X(1,1,b.renderDelay$)?0:-1)},dependencies:[Bp,hG,uG,DW,py],styles:["[_nghost-%COMP%]{display:block}input[type=search].subtle[_ngcontent-%COMP%]{vertical-align:baseline;width:80px;-webkit-transition:width .2s ease-out;transition:width .2s ease-out}input[type=search].subtle[_ngcontent-%COMP%]:focus{width:140px}.ai-summary[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}.ai-summary[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-top:0}.ai-summary[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]   .muted[_ngcontent-%COMP%]{font-weight:400}.ai-summary[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle}"],
changeDetection:0});var FW=function(){};FW.\u0275fac=function(a){return new (a||FW)};FW.\u0275mod=Zi({type:FW});FW.\u0275inj=Eg({imports:[GG,FG,jC,cN,yN,rM,zQ,zN]});var tkb=function(a,b){return b.searchId},GW=function(){Z.apply(this,arguments);this.dialogRef=x(YH);this.currentUserBookmarksFridge=x(JC);this.selectedIds=new Set;this.savedSearches$=muc(this.currentUserBookmarksFridge)};Y(GW,Z);GW.\u0275dir=Z.\u0275dir;var skb=function(a,b){b.options.forEach(function(c){c.selected?a.selectedIds.add(c.value):a.selectedIds.delete(c.value)})};GW.prototype.onSave=function(){this.dialogRef.close([].concat(p(this.selectedIds)))};GW.prototype.onCancel=function(){this.dialogRef.close()};
GW.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(GW)))(b||GW)}}();
GW.\u0275cmp=F({type:GW,selectors:[["saved-search-picker-dialog"]],standalone:!1,features:[xj],decls:10,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["aria-label","Add a Saved Search"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium","cancel",3,"click"],["type","button","mat-flat-button","","color","primary","data-test","save",1,"medium",3,"click","disabled"],["aria-label","Add a Saved Search",3,"selectionChange"],["checkboxPosition","before",3,"selected",
"value","height"],["checkboxPosition","before",3,"selected","value"],[1,"savedsearch-name","type-m","flex-kids-x","align-items-center"],[1,"overflow-ellipsis"],[1,"line-clamp-2","muted","type-s"]],template:function(a,b){a&1&&(L(0,"header",0),U(1," Add a Saved Search "),M(),L(2,"div",1),I(3,ukb,3,0,"mat-selection-list",2),W(4,"async"),M(),L(5,"div",3)(6,"button",4),Q("click",function(){return b.onCancel()}),U(7," Cancel "),M(),L(8,"button",5),Q("click",function(){return b.onSave()}),U(9),M()());if(a&
2){var c;E(3);J((c=X(4,3,b.savedSearches$))?3:-1,c);E(5);K("disabled",b.selectedIds.size===0);E();V(" Save ",b.selectedIds.size>1?"("+b.selectedIds.size+")":""," ")}},dependencies:[dA,aA,hI,jI,iI,BN,KN,JN,py],styles:["[_nghost-%COMP%]     .mat-mdc-dialog-title{margin-bottom:8px}.mat-mdc-dialog-content[_ngcontent-%COMP%]{width:500px;padding:0}\n/*# sourceMappingURL=saved_search_picker_dialog.css.map */"]});var HW=function(){};HW.\u0275fac=function(a){return new (a||HW)};HW.\u0275mod=Zi({type:HW});HW.\u0275inj=Eg({imports:[jC,FI,HI,JL,SL,QN,FG,GG,$M,FI,XN,yQ,uL]});var IW=function(){this.dialog=x(eI)};IW.prototype.open=function(a){var b=this,c={panelClass:"no-jitter"};return new Promise(function(d){ZH(b.dialog.open(GW,c)).subscribe(function(e){e=e===void 0?[]:e;a==null||a(e);d(e)})})};IW.\u0275fac=function(a){return new (a||IW)};IW.\u0275prov=Dg({token:IW,factory:IW.\u0275fac,providedIn:"root"});var C2c=function(){return[]},JW=function(){Z.apply(this,arguments);var a=this;this.issueFridge=x(MD);this.changelistFridge=x(mB);this.activeSession=x(Ks);this.query$=new nj(1);this.issues$=this.query$.pipe(sj(function(b){return a.issueFridge.watchMany(b).pipe(C(function(c){if(wr(a.ref)==="issue")return c.results;var d;return IDc(c.results,(d=a.activeSession.getTracker())==null?void 0:d.trackerId)}))}));this.emails$=this.issues$.pipe(C(function(b){return b.map(Qha).filter(fe)}),C(uCa));this.submittedClLinks$=
this.issues$.pipe(C(function(b){return b.flatMap(function(c){var d,e,f;return(f=(d=c.snapshot)==null?void 0:(e=d[0])==null?void 0:e.changelist)!=null?f:[]})}));this.pendingCls$=this.issues$.pipe(C(function(b){return b.map(function(c){return c.issueId})}),sj(function(b){return a.changelistFridge.watchMany({pendingForIssues:b})}),C(function(b){return b.results}))};Y(JW,Z);JW.\u0275dir=Z.\u0275dir;JW.prototype.getHotlistId=function(){if(wr(this.ref)==="hotlist")return vr(this.ref)};
pg.Object.defineProperties(JW.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){a!=null&&this.query$.next(a)}}});JW.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(JW)))(b||JW)}}();
JW.\u0275cmp=F({type:JW,selectors:[["rollups-list"]],inputs:{ref:"ref",query:"query"},standalone:!1,features:[xj],decls:11,vars:16,consts:[[1,"flex-kids-x","align-items-center"],[1,"flex-kids-x","align-items-center","dividers-between"],[3,"ref","count"],[3,"submitted","pending"],[3,"emails"],[1,"shrink-0","margin-left-auto"],["mat-stroked-button","","target","_blank",1,"small","pop-out-link",3,"href"],["svgIcon","pop-out",1,"icon-xs"]],template:function(a,b){a&1&&(L(0,"section",0)(1,"div",1),N(2,
"issue-count",2),W(3,"async"),N(4,"cl-counts",3),W(5,"async"),W(6,"async"),I(7,vkb,1,1,"avatar-bunch",4),W(8,"async"),M(),L(9,"div",5),I(10,wkb,3,1,"a",6),M()());if(a&2){var c,d,e;E(2);K("ref",b.ref)("count",(c=X(3,6,b.issues$))==null?null:c.length);E(2);var f,h;K("submitted",(f=X(5,8,b.submittedClLinks$))!=null?f:Ck(14,C2c))("pending",(h=X(6,10,b.pendingCls$))!=null?h:Ck(15,C2c));E(3);J((d=X(8,12,b.emails$))?7:-1,d);E(3);a:{if(Oq(b.activeSession)&&(a=b.getHotlistId(),a!=null)){a="https://taskflow.corp.google.com/hotlists/"+
a;break a}a=void 0}J((e=a)?10:-1,e)}},dependencies:[EA,dA,aA,YV,ZV,$V,py],styles:["[_nghost-%COMP%]{display:block}.dividers-between[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding-right:16px;margin-right:16px;border-right:1px solid;border-right-color:#dadce0;border-right-color:var(--divider)}.dividers-between[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:empty, .dividers-between[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{border-right:none;padding-right:0;margin-right:0}\n/*# sourceMappingURL=rollups_list.css.map */"],
changeDetection:0});var ykb=function(){return[]},KW=function(){Z.call(this);var a=this;this.issueRelationshipsFridge=x(CE);this.metadataFridge=x(ZA);this.issueFullFridge=x(pE);this.changelistFridge=x(mB);this.id$=new nj(1);this.issue$=this.id$.pipe(sj(function(b){return a.issueFullFridge.watch(b)}));this.metadata$=this.id$.pipe(sj(function(b){return a.metadataFridge.watch(b)}));this.closedAndTotal$=this.metadata$.pipe(C(DFa));this.metadata$.pipe(C(FFa));this.gerritChanges$=this.metadata$.pipe(C(GFa));this.emails$=this.metadata$.pipe(C(HFa));
this.pendingCls$=si([this.id$,this.metadata$]).pipe(sj(function(b){var c=l(b);b=c.next().value;c=c.next().value;var d;c=(d=c==null?void 0:c.issueIds)!=null?d:[];d=[b].concat(p(c));return a.changelistFridge.watchMany({pendingForIssues:d})}),C(function(b){return b.results}));this.subscriptions.add(Ci(this.issueRelationshipsFridge.memoryWasSet$,this.issueRelationshipsFridge.collectiveMemoryWasSet$,this.issueFullFridge.memoryWasSet$,this.issueFullFridge.collectiveMemoryWasSet$).pipe(dj(this.id$),fj(2E3)).subscribe(function(b){return void a.metadataFridge.poke(b[1])}))};
Y(KW,Z);KW.\u0275dir=Z.\u0275dir;pg.Object.defineProperties(KW.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});KW.\u0275fac=function(a){return new (a||KW)};
KW.\u0275cmp=F({type:KW,selectors:[["rollups-project"]],inputs:{id:"id"},standalone:!1,features:[xj],decls:11,vars:15,consts:[[1,"flex-kids-x","align-items-center","dividers-between"],[3,"closed","total"],[3,"issue"],[3,"submitted","pending"],[3,"changes"],[3,"emails"]],template:function(a,b){a&1&&(L(0,"section",0),I(1,xkb,1,2,"progress-pie",1),W(2,"async"),N(3,"issue-timeframe",2),W(4,"async"),I(5,zkb,2,5,"cl-counts",3),W(6,"async"),I(7,Bkb,1,1),W(8,"async"),I(9,Dkb,1,1),W(10,"async"),M());if(a&
2){var c,d,e,f;E();J((c=X(2,5,b.closedAndTotal$))?1:-1,c);E(2);K("issue",X(4,7,b.issue$));E(2);J((d=X(6,9,b.metadata$))?5:-1,d);E(2);J((e=X(8,11,b.gerritChanges$))?7:-1,e);E(2);J((f=X(10,13,b.emails$))?9:-1,f)}},dependencies:[YV,ZV,wT,vT,a2c,py],styles:["[_nghost-%COMP%]{display:block}.dividers-between[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding-right:16px;margin-right:16px;border-right:1px solid;border-right-color:#dadce0;border-right-color:var(--divider)}.dividers-between[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:empty, .dividers-between[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{border-right:none;padding-right:0;margin-right:0}\n/*# sourceMappingURL=rollups_project.css.map */"],
changeDetection:0});var LW=function(){this.activeSession=x(Ks)};LW.\u0275fac=function(a){return new (a||LW)};LW.\u0275prov=Dg({token:LW,factory:LW.\u0275fac,providedIn:"root"});var D2c=(new YM).transform,MW=function(){var a=this;this.kansasPrefsManager=x(NF);this.activeSession=x(Ks);this.filteredSignalsSource=x(LW);this.destroyRef=x(Cj);this.filteredSignalsOptions=wd(this.filteredSignalsSource.activeSession.isInternalSession()?pyc:qyc);this.needsAttentionSourceFilters=this.activeSession.isInternalSession()?lyc:myc;this.prefs$=this.kansasPrefsManager.preferences$.pipe(C(function(b){var c;return(c=b==null?void 0:b.missionControlPreferences)!=null?c:{}}));this.prefs={};this.myTasksSources$=
this.prefs$.pipe(C(function(b){var c,d=(c=b==null?void 0:b.myTasksSources)!=null?c:[];b=b==null?void 0:b.isMyTasksSourcesConfigured;return d.length!==0||b?d.map(Fkb):[].concat(p(nyc))}));this.needsAttentionSources$=this.prefs$.pipe(C(function(b){var c,d=(c=b==null?void 0:b.needsAttentionSources)!=null?c:[];b=b==null?void 0:b.isNeedsAttentionSourcesConfigured;c=a.needsAttentionSourceFilters;return d.length!==0||b?d.map(Fkb):[].concat(p(c))}));this.needsAttentionTimeBoundary$=this.prefs$.pipe(C(function(b){var c;
return(c=b==null?void 0:b.needsAttentionDaysOld)!=null?c:30}));this.needsAttentionFilteredSignals$=this.prefs$.pipe(C(function(b){return{buganizerSignals:Hkb(b==null?void 0:b.needsAttentionBuganizerFilteredSignals,a.filteredSignalsOptions),driveSignals:Lkb(b==null?void 0:b.needsAttentionDriveFilteredSignals,a.filteredSignalsOptions),gerritSignals:Nkb(b==null?void 0:b.needsAttentionGerritFilteredSignals,a.filteredSignalsOptions),changelistSignals:Jkb(b==null?void 0:b.needsAttentionChangelistFilteredSignals,
a.filteredSignalsOptions),googleTasksSignals:Okb(b==null?void 0:b.needsAttentionGoogleTasksFilteredSignals,a.filteredSignalsOptions),irmSignals:Pkb(b==null?void 0:b.needsAttentionIrmFilteredSignals,a.filteredSignalsOptions)}}),pj({bufferSize:1,refCount:!0}));this.prefs$.pipe(vp(this.destroyRef)).subscribe(function(b){a.prefs=b})},Vr=function(a,b){a.kansasPrefsManager.save({missionControlPreferences:Object.assign({},a.prefs,b)}).subscribe()},snb=function(a,b,c){switch(b){case "mc-my-tasks":a.prefs.myTasksTab=
c;Vr(a,{myTasksTab:c});break;case "work-areas-wrapper-card":a.prefs.workAreaTab=c;Vr(a,{workAreaTab:c});break;default:console.error("unhandled tab key, cannot save preference")}};MW.prototype.toggleCollapsed=function(a){var b;this.prefs.collapsed=(b=this.prefs.collapsed)!=null?b:{};this.prefs.collapsed[a]=!this.prefs.collapsed[a];Vr(this,{collapsed:this.prefs.collapsed})};MW.prototype.isCollapsed=function(a){var b;return!((b=this.prefs.collapsed)==null||!b[a])};
var E2c=function(a,b){switch(b){case "mc-my-tasks":return a.prefs.myTasksTab;case "work-areas-wrapper-card":return a.prefs.workAreaTab;default:console.error("unhandled tab key, cannot get preference")}};MW.prototype.getMyTasksSources=function(){var a,b=(a=this.prefs.myTasksSources)!=null?a:[];a=this.prefs.isMyTasksSourcesConfigured;return b.length!==0||a?b.map(Fkb):[].concat(p(nyc))};var F2c=function(a,b){var c;return(a=(c=a.prefs.workAreaQuickFilters)==null?void 0:c[b])?[a]:[]};
MW.prototype.addHotlist=function(a){NW(this,Y$a(a))};MW.prototype.hasHotlist=function(a){return a==null?!1:G2c(this,Y$a(a))};MW.prototype.hasSavedSearch=function(a){return a==null?!1:G2c(this,Z$a(a))};
var G2c=function(a,b){var c;return((c=a.prefs.workAreaUrls)!=null?c:[]).includes(b)},NW=function(a,b){typeof b==="string"&&(b=[b]);if(b!=null&&b.length!==0){var c,d=(c=a.prefs.workAreaUrls)!=null?c:[];d=qCa(b,d);Vr(a,{workAreaUrls:d})}},onb=function(a,b,c){var d,e=((d=a.prefs.workAreaUrls)!=null?d:[]).slice();D2c(b,e,c)?console.info('Cannot move "'+b+'" by '+c+". peers: ["+e+"]"):(d=e.indexOf(b),e[d]=e[d+c],e[d+c]=b,Vr(a,{workAreaUrls:e}))};MW.\u0275fac=function(a){return new (a||MW)};
MW.\u0275prov=Dg({token:MW,factory:MW.\u0275fac,providedIn:"root"});var OW=function(){this.issueFridge=x(MD);this.candidateIssues$=this.issueFridge.watchMany(ryc);this.suggestions$=this.candidateIssues$.pipe(C(eab))};OW.\u0275fac=function(a){return new (a||OW)};OW.\u0275prov=Dg({token:OW,factory:OW.\u0275fac,providedIn:"root"});var H2c=function(a){this.maxEntries=a;this.dataStore=new Map};H2c.prototype.getKeys=function(){return Array.from(this.dataStore.keys())};
var I2c=function(a,b){for(a.dataStore.has(b)&&a.dataStore.delete(b);a.dataStore.size>=a.maxEntries;)a.dataStore.delete(a.dataStore.keys().next().value);a.dataStore.set(b,void 0)},J2c=function(a){return Array.from(a.dataStore.keys()).join(",")},K2c=function(a,b){var c;b=(c=b==null?void 0:b.split(","))!=null?c:[];a.dataStore.clear();c=l(b);for(b=c.next();!b.done;b=c.next())a.dataStore.set(b.value,void 0)};H2c.prototype.hasKey=function(a){return this.dataStore.has(a)};var PW=function(){var a=this;this.prefsService=x(MW);this.isNumeric=dPa;this.isActive=function(){return L2c(a,a.prefsService.prefs,a.filter.key)};this.active$=this.prefsService.prefs$.pipe(C(function(b){var c;return L2c(a,b,(c=a.filter)==null?void 0:c.key)}))};
PW.prototype.onClick=function(){var a=!this.isActive();if(this.prefKey!=null){var b=this.prefsService,c=this.prefKey;a=a?this.filter.key:void 0;var d;b.prefs.workAreaQuickFilters=(d=b.prefs.workAreaQuickFilters)!=null?d:{};a?b.prefs.workAreaQuickFilters[c]=a:delete b.prefs.workAreaQuickFilters[c];Vr(b,{workAreaQuickFilters:b.prefs.workAreaQuickFilters})}};PW.prototype.isDisabled=function(){return String(this.countDisplay)==="0"&&!this.isActive()};
var L2c=function(a,b,c){if(b==null||a.prefKey==null)return!1;var d;return((d=b.workAreaQuickFilters)==null?void 0:d[a.prefKey])===c};
pg.Object.defineProperties(PW.prototype,{metadata:{configurable:!0,enumerable:!0,set:function(a){this.metadataInternal=a;if(a!=null)if(this.filter.key==="OPEN"){if(a==null)var b=0;else{b=0;a=l(a.aggregatedStatus);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.issueIds===void 0?[]:c.issueIds,e=void 0;if((e=dg.get(c.status))==null?0:e.open)b+=d.length}}this.countDisplay=b}else if(this.filter.key==="BROAD_IN_PROGRESS")b=EFa(a,"ASSIGNED"),a=EFa(a,"ACCEPTED"),this.countDisplay=b+a;else throw Error("$e`"+
this.filter.key);},get:function(){return this.metadataInternal}},key:{configurable:!0,enumerable:!0,set:function(a){this.filter=xr[a]}},computeCountFor:{configurable:!0,enumerable:!0,set:function(a){if(a==null)this.countDisplay="-";else{var b,c,d=(c=xr[(b=this.filter)==null?void 0:b.key])==null?void 0:c.check;this.countDisplay=a.filter(d).length}}}});PW.\u0275fac=function(a){return new (a||PW)};
PW.\u0275cmp=F({type:PW,selectors:[["qif-stat"]],hostBindings:function(a,b){a&1&&Q("click",function(){return b.onClick()})},inputs:{metadata:"metadata",key:"key",prefKey:"prefKey",computeCountFor:"computeCountFor"},standalone:!1,decls:5,vars:7,consts:[["type","button",1,"unstyled-button","stat-card",3,"title"],[1,"big-number",3,"muted"],[1,"big-number"]],template:function(a,b){a&1&&(L(0,"button",0),W(1,"async"),L(2,"label"),U(3),M(),I(4,Skb,2,3,"div",1),M());if(a&2){var c;K("title",(c=b.filter.tooltip)!=
null?c:"");Hj("aria-pressed",X(1,5,b.active$))("disabled",b.isDisabled()?"true":null);E(3);tk(b.filter.displayAs);E();J(b.metadata||b.countDisplay!==void 0?4:-1)}},dependencies:[py],styles:["[_nghost-%COMP%], label[_ngcontent-%COMP%]{display:block}.big-number[_ngcontent-%COMP%]{font-size:1.5rem;line-height:1;margin-top:4px;color:#1a73e8;color:var(--text-primary)}.big-number.muted[_ngcontent-%COMP%]{color:#80868b;color:var(--gfx-muted)}button.stat-card[_ngcontent-%COMP%]{border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:8px 16px;cursor:pointer}button.stat-card[_ngcontent-%COMP%]:focus-visible, button.stat-card[_ngcontent-%COMP%]:hover{box-shadow:0 0 0 1px #1a73e8;box-shadow:0 0 0 1px var(--primary)}button.stat-card[aria-pressed=true][_ngcontent-%COMP%]{background-color:#e8f0fe;background-color:var(--primary-c50);border-color:#1a73e8;border-color:var(--primary)}button.stat-card[aria-pressed=true][_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}button.stat-card[disabled][_ngcontent-%COMP%]{cursor:default;background-color:#f8f9fa;background-color:var(--c50);border-color:transparent;box-shadow:none}button.stat-card[disabled][_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}\n/*# sourceMappingURL=qif_stat.css.map */"],
changeDetection:0});var QW=function(){};QW.\u0275fac=function(a){return new (a||QW)};QW.\u0275mod=Zi({type:QW});QW.\u0275inj=Eg({imports:[jC,qM,iC,FI]});var RW=function(){var a=this;this.issueFridge=x(MD);this.activeSession=x(Ks);this.QuickFilterKey=Yic;this.query$=new nj(1);this.issues$=this.query$.pipe(sj(function(b){return a.issueFridge.watchMany(b)}),C(function(b){if(a.entityType==="issue")return b.results;var c;return IDc(b.results,(c=a.activeSession.getTracker())==null?void 0:c.trackerId)}))};pg.Object.defineProperties(RW.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){a!=null&&this.query$.next(a)}}});
RW.\u0275fac=function(a){return new (a||RW)};
RW.\u0275cmp=F({type:RW,selectors:[["stat-cards-list"]],inputs:{prefKey:"prefKey",entityType:"entityType",query:"query"},standalone:!1,decls:17,vars:40,consts:[[1,"flex-kids-x","gap"],[3,"key","prefKey","computeCountFor"]],template:function(a,b){a&1&&(L(0,"div",0),N(1,"qif-stat",1),W(2,"async"),N(3,"qif-stat",1),W(4,"async"),N(5,"qif-stat",1),W(6,"async"),N(7,"qif-stat",1),W(8,"async"),N(9,"qif-stat",1),W(10,"async"),N(11,"qif-stat",1),W(12,"async"),N(13,"qif-stat",1),W(14,"async"),N(15,"qif-stat",
1),W(16,"async"),M());a&2&&(E(),K("key",b.QuickFilterKey.OPEN)("prefKey",b.prefKey)("computeCountFor",X(2,24,b.issues$)),E(2),K("key",b.QuickFilterKey.BROAD_IN_PROGRESS)("prefKey",b.prefKey)("computeCountFor",X(4,26,b.issues$)),E(2),K("key",b.QuickFilterKey.ASSIGNED_TO_ME_AND_OPEN)("prefKey",b.prefKey)("computeCountFor",X(6,28,b.issues$)),E(2),K("key",b.QuickFilterKey.NEWLY_FILED)("prefKey",b.prefKey)("computeCountFor",X(8,30,b.issues$)),E(2),K("key",b.QuickFilterKey.RECENTLY_ACTIVE)("prefKey",b.prefKey)("computeCountFor",
X(10,32,b.issues$)),E(2),K("key",b.QuickFilterKey.HIGH_PRIORITY)("prefKey",b.prefKey)("computeCountFor",X(12,34,b.issues$)),E(2),K("key",b.QuickFilterKey.TRENDING)("prefKey",b.prefKey)("computeCountFor",X(14,36,b.issues$)),E(2),K("key",b.QuickFilterKey.PROGRESS)("prefKey",b.prefKey)("computeCountFor",X(16,38,b.issues$)))},dependencies:[PW,py],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_list.css.map */"],changeDetection:0});var SW=function(){var a=this;this.metadataFridge=x(ZA);this.QuickFilterKey=Yic;this.id$=new nj(1);this.metadata$=this.id$.pipe(sj(function(b){return a.metadataFridge.watch(b)}));this.hasDescendants$=this.metadata$.pipe(C(function(b){var c;return((c=b==null?void 0:b.descendantCount)!=null?c:0)>0}))};pg.Object.defineProperties(SW.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a);this.idInternal=a},get:function(){return this.idInternal}}});
SW.\u0275fac=function(a){return new (a||SW)};SW.\u0275cmp=F({type:SW,selectors:[["stat-cards-project"]],inputs:{id:"id"},standalone:!1,decls:2,vars:3,consts:[[1,"flex-kids-x","gap"],[3,"key","prefKey","metadata"]],template:function(a,b){a&1&&(I(0,Tkb,5,10,"div",0),W(1,"async"));a&2&&J(X(1,1,b.hasDescendants$)?0:-1)},dependencies:[PW,py],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_project.css.map */"],changeDetection:0});var TW=function(){};TW.\u0275fac=function(a){return new (a||TW)};TW.\u0275mod=Zi({type:TW});TW.\u0275inj=Eg({imports:[jC,qM,iC,FI,aW,QW]});var M2c={CANCEL:"CANCEL",ARCHIVE_ALL:"ARCHIVE_ALL",ARCHIVE_ONE:"ARCHIVE_ONE"},N2c=function(){this.data=x(dI);this.paths=x(TO);this.descendantIssuesUrl=this.paths.listIssues({q:"parentId:"+this.data.issueId+"+"});this.numberOfDescendants=this.data.numberOfDescendants;this.ActionType=M2c};N2c.\u0275fac=function(a){return new (a||N2c)};
N2c.\u0275cmp=F({type:N2c,selectors:[["b-issue-archive-dialog"]],standalone:!1,decls:18,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["href","http://go/b-issue-archive","target","_blank"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium",3,"matDialogClose"],["type","button","mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium",3,"matDialogClose"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1,"Archive with all descendant issues?"),
M(),L(2,"div",1),U(3),N(4,"br")(5,"br"),L(6,"a",2),U(7,"View all descendant issues"),M(),N(8,"br"),L(9,"a",3),U(10,"Learn more"),M()(),L(11,"div",4)(12,"button",5),U(13,"Cancel"),M(),L(14,"button",5),U(15," Just this one "),M(),L(16,"button",6),U(17," Archive all "),M()());a&2&&(E(3),V(" 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? "),E(3),K("href",yk(b.descendantIssuesUrl),
Ni),E(6),K("matDialogClose",b.ActionType.CANCEL),E(2),K("matDialogClose",b.ActionType.ARCHIVE_ONE),E(2),K("matDialogClose",b.ActionType.ARCHIVE_ALL))},dependencies:[dA,aA,fI,hI,jI,iI],encapsulation:2});var UW=function(){this.issueApi=x(vD);this.dialog=x(eI);this.confirmationDialogService=x(lI);this.issueRelationshipsFridge=x(CE);this.issueFullFridge=x(pE);this.eventsForIssueFridge=x(wD);this.paths=x(TO);this.butterBar=x(MA);this.editIssueService=x(XI)};
UW.prototype.submitArchivalState=function(a,b){var c=this;return v(function(d){if(d.nextAddress==1)return b?w(d,c.archive(a),5):w(d,c.editIssueService.unarchive(a),0);c.issueFullFridge.poke(a);c.eventsForIssueFridge.poke(a);ji(d)})};
UW.prototype.archive=function(a){var b=this,c,d,e,f,h,k,q,u,A,D;return v(function(H){if(H.nextAddress==1)return w(H,Promise.all([b.getDescendants(a),pi(b.issueFullFridge.watch(a))]),2);c=H.yieldResult;d=l(c);e=d.next().value;f=d.next().value;h=e;k=f;q=h;u=q.childToParents;A=q.completeResult;D=[].concat(p(u.keys()));u.set(a,k.parentIssueIds||[]);return D.length===0?H.return(O2c(b,a,u)):A?H.return(P2c(b,a,D,u)):H.return(Q2c(b,a,u))})};
var P2c=function(a,b,c,d){var e,f,h;return v(function(k){if(k.nextAddress==1)return e={numberOfDescendants:c.length,issueId:b},f={data:e,width:"500px"},w(k,pi(ZH(a.dialog.open(N2c,f))),2);h=k.yieldResult;switch(h){case "ARCHIVE_ALL":return k.return(R2c(a,[b].concat(p(c)),d));case "ARCHIVE_ONE":return k.return(O2c(a,b,d));case "CANCEL":return k.return();default:return k.return(qb(h))}})},R2c=function(a,b,c){var d=[{issueIds:b,actions:[{fieldName:"isArchived",value:"true"}]}];S2c(a,c);hq(a.butterBar,
"Archiving "+b.length+" issues...");return a.issueApi.issueBulkEdit({bulkEditOps:d}).then(function(){hq(a.butterBar,"Archived "+b.length+" issues successfully.")}).catch(function(e){a.butterBar.showWarning(e);T2c(a,c)})},O2c=function(a,b,c){S2c(a,c);return a.issueApi.updateIssue(b,{issueId:b,actions:[{fieldName:"isArchived",value:"true"}]}).then(function(){hq(a.butterBar,"Archived successfully.")}).catch(function(d){a.butterBar.showWarning(d);T2c(a,c)})},Q2c=function(a,b,c){return new Promise(function(d){a.confirmationDialogService.open({title:"Archive issue with descendant issues?",
content:pd([md("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."),qd("br",{}),qd("br",{}),qd("a",{href:a.paths.listIssues({q:"parentId:"+b+"+"}),target:"_blank"},"View all descendant issues"),qd("br",{}),qd("a",{href:"http://go/b-issue-archive",target:"_blank"},"Learn more")]),cancelButtonText:"Cancel",confirmButtonText:"Just this one",
onConfirm:function(){O2c(a,b,c).then(d)},onDismiss:d})})},S2c=function(a,b){b=l(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;d=l(d);for(var e=d.next();!e.done;e=d.next())a.issueRelationshipsFridge.unlinkFromParent(c,e.value,!0)}},T2c=function(a,b){b=[].concat(p(b.values())).flat();b=l(b);for(var c=b.next();!c.done;c=b.next())a.issueRelationshipsFridge.poke(c.value)};
UW.prototype.getDescendants=function(a){var b=this,c,d,e,f,h,k,q,u,A,D,H,O;return v(function(P){if(P.nextAddress==1)return w(P,pi(hxc(b.issueRelationshipsFridge,a)),2);c=P.yieldResult;d=c.results;e=!0;f=new Map;h=l(d);for(k=h.next();!k.done;k=h.next()){q=k.value;u=l(q.relatedChildren);for(A=u.next();!A.done;A=u.next())D=A.value,H=void 0,O=(H=f.get(D.targetIssueId))!=null?H:[],O.push(q.issueId),f.set(D.targetIssueId,O);q.totalChildCount===q.relatedChildren.length||(e=!1)}return P.return({childToParents:f,
completeResult:e})})};UW.\u0275fac=function(a){return new (a||UW)};UW.\u0275prov=Dg({token:UW,factory:UW.\u0275fac,providedIn:"root"});var VW=function(a){this.pathToAncestor=a},Tr=function(a){return new VW(a.split(">"))},U2c=function(a,b){return new VW([].concat(p(a.pathToAncestor),[b]))};VW.prototype.hash=function(){return this.pathToAncestor.join(">")};VW.prototype.equals=function(a){return!!a&&vd(this.pathToAncestor,a.pathToAncestor)};var V2c=function(a,b){a=l(a.pathToAncestor.entries());for(var c=a.next();!c.done;c=a.next()){c=l(c.value);var d=c.next().value;if(c.next().value!==b.pathToAncestor[d])return!1}return!0};
VW.prototype.contains=function(a){return this.pathToAncestor.join(",").includes(a.pathToAncestor.join(","))};VW.prototype.some=function(a){return this.pathToAncestor.some(a)};VW.prototype.toString=function(){return this.hash()};
pg.Object.defineProperties(VW.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 VW(this.pathToAncestor.slice(0,this.size-1))}},root:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[0]}}});var WW=function(){var a=this;this.draftRows=new Map;this.changed$=new oj;this.counter=0;this.createId=function(){return String(a.counter++)}};WW.prototype.create=function(a,b,c){var d=this.createId();b={type:"draft-issue",title:"",ancestorChain:U2c(a,d),level:a.size-1,issue$:b,afterDraftId:c==null?void 0:c.afterDraftId,afterIssueId:c==null?void 0:c.afterIssueId,id:d,saving:!1,draftStartedAt:new Date};this.set(a,b);return b};
WW.prototype.get=function(a){var b;return(b=this.draftRows.get(a.hash()))!=null?b:[]};WW.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=l(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 W2c=function(a,b){return v(function(c){return c.return(pi(a.changed$.pipe(rj(a.draftRows),C(function(d){return![].concat(p(d.values())).flat().some(function(e){return e.issueId===b||e.id===b})}),Di(Boolean),C(function(){}))))})};WW.prototype.isSaving=function(){return[].concat(p(this.draftRows.values())).flat().some(function(a){return a.saving})};WW.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 X2c={defaultExpandedChildren:10,defaultExpansionLevel:3,maxExpansion:500},Y2c=function(a){var b=void 0;b=b===void 0?X2c:b;a=a===void 0?{}:a;this.config=b;this.expansionState=this.initialState=a;this.changed$=new nj(1)},Z2c=function(a,b){b=b.hash();return a.expansionState[b]},$2c=function(a,b,c){b=b.hash();c===void 0?delete a.expansionState[b]:a.expansionState[b]=c;a.changed$.next(a.expansionState)},a3c=function(a,b,c){var d=!1;c=l(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;var f=U2c(b,
e.nodeId);e.size<=a.config.defaultExpansionLevel&&Z2c(a,e)===void 0&&(a.expansionState[f.hash()]=a.config.defaultExpandedChildren,d=!0);for(var h=l(Object.entries(a.expansionState)),k=h.next();!k.done;k=h.next()){k=l(k.value);var q=k.next().value;k=k.next().value;q=Tr(q);q.contains(e)&&(d=q.pathToAncestor.join(",").replace(e.pathToAncestor.join(","),f.pathToAncestor.join(",")).split(","),d=new VW(d),delete a.expansionState[q.hash()],a.expansionState[d.hash()]=k,d=!0)}}if(!Z2c(a,b)){var u;a.expansionState[b.hash()]=
(u=a.config.defaultExpandedChildren)!=null?u:a.config.maxExpansion;d=!0}d&&a.changed$.next(a.expansionState)};var XW=function(){this.issueApi=x(vD);this.activeSession=x(Ks);this.issueFullFridge=x(pE);this.componentFridge=x(AB);this.componentTemplatesFridge=x(kC);this.currentUser=Kd(this.activeSession.getUserEmail())},c3c=function(a,b){var c,d,e;return v(function(f){if(f.nextAddress==1)return w(f,b3c(a,b),2);c=f.yieldResult;d=c.component;e=c.defaultTemplate;return f.return(IFa(d,e))})},e3c=function(a,b){return d3c(a,b).pipe(C(function(c){return{snapshot:[c],issueId:"",version:0,userData:void 0,aggregatedData:void 0,
accessLimit:void 0,customFields:[],visibleFields:[],majorModifiedTimeMicros:0,parentIssueIds:[],ancestors:new Map,childIssueCount:0,isArchived:!1,relatedLinks:[],descendantCount:0,openDescendantCount:0}}))},f3c=function(a,b,c){var d;return v(function(e){if(e.nextAddress==1)return w(e,pi(d3c(a,b)),2);d=e.yieldResult;d.title=c;return e.return(a.create(d))})};
XW.prototype.create=function(a){var b=this,c,d;return v(function(e){return e.nextAddress==1?w(e,b.issueApi.createIssue({snapshot:a}),2):e.nextAddress!=3?(c=e.yieldResult,d=c.issueId,w(e,b.issueFullFridge.poke(String(d)),3)):e.return({issueId:String(d)})})};
var d3c=function(a,b){return a.issueFullFridge.watch(b).pipe(Di(fe),sj(function(c){var d,e;return v(function(f){if(f.nextAddress==1)return w(f,b3c(a,String(c.snapshot[0].componentId)),2);d=f.yieldResult;if(c){var h={};c.snapshot[0].priority&&(h.priority=c.snapshot[0].priority);c.snapshot[0].severity&&(h.severity=c.snapshot[0].severity);c.snapshot[0].type&&(h.type=dxc[c.snapshot[0].type])}else h={};e=Object.assign({},{componentId:d.component.componentId},{inProd:!1,status:"NEW",isDeleted:!1,deletionReason:"DELETION_REASON_UNSPECIFIED",
isArchived:!1,formattingMode:"UNSPECIFIED_FORMATTING_MODE",reporterUser:a.currentUser,ccUsers:[a.currentUser]},h,g3c(d.defaultTemplate),h3c(d.component,d.defaultTemplate));e.assigneeUser&&(e.status="ASSIGNED");return f.return(e)})}))},g3c=function(a){if(!a)return{};a=Sc(a.snapshot,function(b){return b==null||typeof b==="string"&&ja(b)?!1:!0});delete a.componentId;return a},h3c=function(a,b){var c=[],d,e;a=l((e=(d=a.componentPathInfo)==null?void 0:d.allCustomField)!=null?e:[]);e=a.next();for(d={};!e.done;d=
{customField$jscomp$16:void 0},e=a.next())if(d.customField$jscomp$16=e.value,d.customField$jscomp$16.required){var f=void 0;e=(f=d.customField$jscomp$16.typedDefaultValue)!=null?f:{customFieldId:d.customField$jscomp$16.customFieldId};var h=f=void 0,k=void 0,q=(k=(f=b)==null?void 0:(h=f.snapshot.customField)==null?void 0:h.find(function(u){return function(A){return A.customFieldId===u.customField$jscomp$16.customFieldId}}(d)))!=null?k:e;q&&c.push(Object.assign({},q))}return c.length===0?{}:{customField:c}},
b3c=function(a,b){var c,d,e,f,h,k;return v(function(q){if(q.nextAddress==1)return w(q,Promise.all([pi(a.componentTemplatesFridge.defaultTemplate$(b)),pi(a.componentFridge.watch(b).pipe(Di(fe)))]),2);c=q.yieldResult;d=l(c);e=d.next().value;f=d.next().value;h=e;k=f;return q.return({component:k,defaultTemplate:h})})};XW.\u0275fac=function(a){return new (a||XW)};XW.\u0275prov=Dg({token:XW,factory:XW.\u0275fac,providedIn:"root"});var YW=function(a,b,c,d,e,f,h,k,q,u,A,D,H,O,P){c=c===void 0?1:c;Z.call(this);var S=this;this.rootIssueId=a;this.quickFilters=b;this.defaultExpansionLevel=c;this.saveExpansionAtKey=d;this.analytics=e;this.butterBar=f;this.issueFullFridge=h;this.issuePicker=k;this.issueRelationshipsFridge=q;this.paths=u;this.router=A;this.issueCreationService=D;this.clearcut=H;this.refreshMonitor=O;this.permissionsFridge=P;this.defaultExpandedChildren=10;this.isOneLineCreationSupported=function(){return S.supportsOneLineCreation};
this.defaultApiRequestDepth=this.defaultExpansionLevel+2;a=this.saveExpansionAtKey?Jf(this.saveExpansionAtKey):function(){};this.expansion=new Y2c(i3c(this));this.draftRows=new WW;this.refetchingAll$=new $n(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(vj(wi(function(){return S.rows$})),sj(function(aa){aa=l(aa);aa.next();var ia=aa.next().value;S.refetchingAll$.next(!0);aa=[];if(!ia)return Promise.resolve();aa.push(ixc(S.issueRelationshipsFridge,S.rootIssueId,S.defaultApiRequestDepth));
ia=l(ia);for(var la=ia.next();!la.done;la=ia.next())la=la.value,la.type==="data"&&aa.push(S.issueFullFridge.poke(la.id)),la.level>S.defaultExpansionLevel&&aa.push(S.issueRelationshipsFridge.poke(la.id));return Promise.all(aa).then(function(){S.refetchingAll$.next(!1)})}));this.rows$=Ci(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,sma(li({}),xp)).pipe(sj(function(){return hxc(S.issueRelationshipsFridge,S.rootIssueId,S.defaultApiRequestDepth)}),sj(function(){for(var aa=
new Map,ia=l(Object.entries(S.expansion.expansionState)),la=ia.next();!la.done;la=ia.next()){la=l(la.value);var ya=la.next().value;la=la.next().value;ya=Tr(ya).nodeId;var Ia=void 0;la=Math.max(la,(Ia=aa.get(ya))!=null?Ia:0);aa.set(ya,la)}return j3c(S,aa)}),dj(this.quickFilters.value$),sj(function(aa){aa=l(aa);var ia=aa.next().value;var la=aa.next().value;return la.size===0?(S.hiddenRowCount$.next(0),li(ia)):S.getAllIssues(ia).pipe(C(function(ya){return k3c(S,ia,la,ya)}))}),C(function(aa){return l3c(S,
aa)}),pj({refCount:!0,bufferSize:1}));this.hiddenRowCount$=new $n(0);this.rootIssue$=this.issueFullFridge.watch(this.rootIssueId).pipe(Di(fe));this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new VW([this.rootIssueId]),expandedCount:500,issue$:ix,hasChildren$:ix,isEditMode:!1,issuePermissions$:ix};this.supportsOneLineCreation=pi(this.rootIssue$).then(function(aa){return qRa(aa.snapshot[0].componentId)}).then(function(aa){return c3c(S.issueCreationService,aa)});this.saveExpansionAtKey&&
this.subscriptions.add(this.expansion.changed$.pipe(fj(100)).subscribe(a))};Y(YW,Z);YW.\u0275dir=Z.\u0275dir;YW.\u0275fac=Z.\u0275fac;
var i3c=function(a){a=a.saveExpansionAtKey;if(a!=null){a=If(a)();a:if(typeof a!=="object"||Object.getPrototypeOf(a)!==Object.prototype)var b=!1;else{b=l(Object.getOwnPropertyNames(a));for(var c=b.next();!c.done;c=b.next())if(c=c.value,!c||typeof a[c]!=="number"){b=!1;break a}b=!0}return b?a:void 0}},m3c=function(a,b,c){b=b===void 0?a.ROOT_ROW.ancestorChain:b;var d,e,f,h,k,q,u;v(function(A){switch(A.nextAddress){case 1:return d=b.nodeId,w(A,pi(a.issueFullFridge.watch(d)),2);case 2:return(e=A.yieldResult)?
w(A,a.supportsOneLineCreation,3):A.return();case 3:if(f=A.yieldResult)return h=e3c(a.issueCreationService,d),A.return(a.draftRows.create(b,h,c));k=e.snapshot[0].componentId;u={};return w(A,Rr(a.router,a.paths.createIssue((u.component=k||void 0,u.parentIssueId=e.issueId,u.redirectUrl=Hq.issueDependencies.makeHref(a.rootIssueId),u.afterIssueId=(q=c)==null?void 0:q.afterIssueId,u))),4);case 4:return A.return()}})};
YW.prototype.addExistingChild=function(a){var b=this,c,d,e,f;v(function(h){if(h.nextAddress==1)return w(h,pi((d=(c=a)==null?void 0:c.issue$)!=null?d:b.rootIssue$),2);e=h.yieldResult;if(!e)return h.return();f=String(e.issueId);return w(h,b.issuePicker.open({title:"Add Children of b/"+f,allowMultipleIds:!0,edgeType:"child"},function(k){return v(function(q){if(q.nextAddress==1){if(k.length===0)return q.return();b.assignParentToIssues(f,k);b.analytics.trackEvent("editIssue","add","existing-child-issue");
return w(q,Fq(0),2)}a&&$2c(b.expansion,a.ancestorChain,500);ji(q)})}),0)})};YW.prototype.saveDraft=function(a){var b=this,c;return v(function(d){if(d.nextAddress==1){if(a.saving||!a.title)return d.return();a.saving=!0;return w(d,n3c(b,a),2)}return(c=d.yieldResult)?d.return(o3c(b,a,c)):d.return()})};
var n3c=function(a,b){var c,d,e,f;return v(function(h){switch(h.nextAddress){case 1:return c=b.ancestorChain.parentNodeId,ei(h,2),w(h,f3c(a.issueCreationService,c,b.title),4);case 4:e=h.yieldResult;d=e.issueId;Iu(h,3);break;case 2:return f=ii(h),a.butterBar.showWarning("Could not create issue. Error: "+JSON.stringify(f)),a.draftRows.remove(b),h.return();case 3:var k=(new Date).getTime()-b.draftStartedAt.getTime();if(k>0){var q=Math.min(k,108E5);Iwc("createIssue",q,"from-tree");a.analytics.trackEvent("createIssue",
"createIssue","time-to-create-from-tree",q);dE(a.clearcut,k,"createIssue-fromTree")}$2c(a.expansion,b.ancestorChain.parentChain,500);k=a.draftRows;q=d;b.issueId=q;for(var u=l(k.draftRows.values()),A=u.next();!A.done;A=u.next()){A=l(A.value);for(var D=A.next();!D.done;D=A.next())D=D.value,D.afterDraftId===b.id&&(D.afterIssueId=q)}k.changed$.next(k.draftRows);return h.return(d)}})},o3c=function(a,b,c){var d,e,f,h,k,q;return v(function(u){if(u.nextAddress==1)return d=b.ancestorChain.parentNodeId,f=(e=
b.afterIssueId)!=null?e:b.afterDraftId,f===void 0||f==="-1"?u.jumpTo(2):w(u,W2c(a.draftRows,f),2);if(u.nextAddress!=4)return w(u,a.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:c,afterIssueId:b.afterIssueId}]),4);h=u.yieldResult;k=h.errors;((q=k)==null?0:q.length)&&a.butterBar.showWarning("Could not create issue relationship. Error: "+JSON.stringify(k));a.draftRows.remove(b);ji(u)})},j3c=function(a,b,c){c=c===void 0?0:c;return si([a.rootIssueId].concat(p(b.keys())).map(function(d){return a.refetchingAll$.pipe(Di(function(e){return!e}),
sj(function(){return gxc(a.issueRelationshipsFridge,d)}))})).pipe(sj(function(d){var e=new Map;d=l(d);for(var f=d.next();!f.done;f=d.next())(f=f.value)&&e.set(f.issueId,f);if(c===a.defaultExpansionLevel)return li(e);d=p3c(a,e,c);d=new Map(d.map(function(h){return[h,a.defaultExpandedChildren]}));return j3c(a,d,c+1).pipe(C(function(h){var k=new Map(e);h=l(h.entries());for(var q=h.next();!q.done;q=h.next()){var u=l(q.value);q=u.next().value;u=u.next().value;k.set(q,u)}return k}))}))},p3c=function(a,
b,c){var d=[];a=[{id:a.rootIssueId,level:-1}];for(var e={};a.length>0;e={current$jscomp$49:void 0})if(e.current$jscomp$49=a.pop(),e.current$jscomp$49.level===c&&d.push(e.current$jscomp$49.id),!(e.current$jscomp$49.level>c)){var f=void 0,h=void 0,k=(h=(f=b.get(e.current$jscomp$49.id))==null?void 0:f.relatedChildren)!=null?h:[];a.push.apply(a,p(k.map(function(q){return function(u){return{id:u.targetIssueId,level:q.current$jscomp$49.level+1}}}(e))))}return d},l3c=function(a,b){for(var c=[],d=[a.ROOT_ROW],
e={};d.length>0;e={parentRow$jscomp$1:void 0,childrenLevel:void 0})if(e.parentRow$jscomp$1=d.pop(),e.parentRow$jscomp$1.type==="load-more-children"||e.parentRow$jscomp$1.type==="draft-issue")c.push(e.parentRow$jscomp$1);else{e.parentRow$jscomp$1.id!==a.rootIssueId&&c.push(e.parentRow$jscomp$1);var f=void 0,h=void 0,k=(h=(f=b.get(e.parentRow$jscomp$1.id))==null?void 0:f.relatedChildren)!=null?h:[];f=k.slice(0,e.parentRow$jscomp$1.expandedCount);e.childrenLevel=e.parentRow$jscomp$1.level+1;e.parentRow$jscomp$1.expandedCount&&
f.length<k.length&&(h=U2c(e.parentRow$jscomp$1.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.childrenLevel,parentIssue$:e.parentRow$jscomp$1.issue$,ancestorChain:h,truncatedSiblingCount:k.length-f.length}));k=f.map(function(q){return function(u){var A=U2c(q.parentRow$jscomp$1.ancestorChain,u.targetIssueId);return{type:"data",id:u.targetIssueId,level:q.childrenLevel,hasChildren$:a.issueRelationshipsFridge.watch(u.targetIssueId).pipe(C(PGa)),ancestorChain:A,
expandedCount:q3c(a,A,q.childrenLevel,b),issue$:a.issueFullFridge.watch(u.targetIssueId),isEditMode:!1,issuePermissions$:a.permissionsFridge.watch(An(u.targetIssueId)).pipe(C(function(D){return D!=null?D:Yyc}),rj(Yyc))}}}(e));d.push.apply(d,p(r3c(a,k,e.parentRow$jscomp$1.ancestorChain).reverse()))}return c},r3c=function(a,b,c){var d=[].concat(p(b));a=a.draftRows.get(c);a=l(a);var e=a.next();for(c={};!e.done;c={draft$jscomp$8:void 0},e=a.next())c.draft$jscomp$8=e.value,b.some(function(f){return function(h){return h.id===
f.draft$jscomp$8.issueId}}(c))||(e=d.findIndex(function(f){return function(h){return h.id===f.draft$jscomp$8.afterDraftId||h.id===f.draft$jscomp$8.afterIssueId}}(c)),d.splice(e===-1?d.length:e+1,0,c.draft$jscomp$8));return d},q3c=function(a,b,c,d){var e=b.nodeId;b=Z2c(a.expansion,b);if(b!==void 0)return b;if(c<a.defaultExpansionLevel){var f,h;return Math.min(a.defaultExpandedChildren,(h=(f=d.get(e))==null?void 0:f.relatedChildren.length)!=null?h:0)}return 0};
YW.prototype.assignParentToIssues=function(a,b){var c=this,d,e,f,h;return v(function(k){if(k.nextAddress==1)return b.length===0?k.return():w(k,c.issueRelationshipsFridge.assignParentToIssues(a,b.map(function(q){return{issueId:q,afterIssueId:"-1"}})),2);d=k.yieldResult;e=d.notAdded;f=d.errors;if(e.length)return c.butterBar.showWarning("Could not add "+e+" as child of b/"+a+". "+((h=f)==null?void 0:h.map(function(q){return on(q)}))),k.return();ji(k)})};
YW.prototype.getAllIssues=function(a){for(var b=this,c=new Set,d=l(a.keys()),e=d.next();!e.done;e=d.next())c.add(e.value);a=l(a.values());for(d=a.next();!d.done;d=a.next())for(d=d.value.relatedChildren.map(function(f){return f.targetIssueId}),d=l(d),e=d.next();!e.done;e=d.next())c.add(e.value);return si([].concat(p(c)).map(function(f){return b.issueFullFridge.watch(f)})).pipe(C(function(f){return f.filter(fe)}))};
var k3c=function(a,b,c,d){function e(q){if(!q)return!1;var u=f.get(q),A=h.get(q);if(!u||u.relatedChildren.length===0)return A;var D=u.relatedChildren.filter(function(H){return e(H.targetIssueId)});k+=u.relatedChildren.length-D.length;f.set(q,Object.assign({},u,{relatedChildren:D}));return D.length!==0||A}var f=new Map(b.entries()),h=new Map(d.map(function(q,u,A){return[q.issueId,gab(c,u,A)]})),k=0;e(a.rootIssueId);a.hiddenRowCount$.next(k);return f},ZW=function(){this.analytics=x(nE);this.butterBar=
x(MA);this.issueFullFridge=x(pE);this.issuePicker=x(ZQ);this.issueRelationshipsFridge=x(CE);this.paths=x(TO);this.router=x($B);this.issueCreationService=x(XW);this.clearcut=x(cE);this.refreshMonitor=x(JD);this.permissionsFridge=x(WE)};ZW.prototype.create=function(a,b,c,d){b=b===void 0?new CF:b;return new YW(a,b,c,d,this.analytics,this.butterBar,this.issueFullFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor,this.permissionsFridge)};
ZW.\u0275fac=function(a){return new (a||ZW)};ZW.\u0275prov=Dg({token:ZW,factory:ZW.\u0275fac,providedIn:"root"});var $W=function(a,b,c,d){var e=this;this.rootElement=a;this.rows=b;this.ngZone=c;this.rowSelectionModel=d;this.onLongHover$=new oj;this.onRowsMoved$=new oj;this.activeDrag=!1;this.placeholder=this.rootElement.querySelector(".placeholder");this.insertionBar=this.rootElement.querySelector(".insertion-bar");this.dragPreviewTemplate=this.rootElement.querySelector(".drag-preview");this.onDragOver=Wgc(function(f,h){if(e.activeDrag){var k=f||0,q=h.getBoundingClientRect();f=q.height;k-=q.top;f=Xkb(k<=f*.25?
"top":k>=f*.75?"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=(k=(u=f.querySelector(".title-location"))==null?void 0:u.getBoundingClientRect().left)?k-f.getBoundingClientRect().left:0;u=f.offsetLeft+u;k=h==="after"?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=k-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};s3c(e,f,h)}},10);this.ngZone.runOutsideAngular(function(){a.addEventListener("dragover",function(f){var h,k=(h=f.target)==null?void 0:h.closest("tr");
if(k&&(e.onDragOver(f.clientY,k),k.classList.contains("dragging")||k.classList.contains("nodrop")))return!0;var q;if(((q=e.currentReorderingGuide)==null?void 0:q.position)==="none")return!0;f.preventDefault();return!1});a.addEventListener("dragend",function(){t3c(e)});a.addEventListener("drop",function(){e.reorder(e.currentReorderingGuide,u3c(e.rowSelectionModel),"mouse",4);t3c(e)})})};
$W.prototype.handleDragStart=function(a){var b=this;this.activeDrag=!0;var c=a.target.closest("tr");this.rowSelectionModel.select(Ykb(c));v3c(this.rowSelectionModel);w3c(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=this.rowSelectionModel.selectedCount===1?"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=l(a);for(c=a.next();!c.done;c=a.next())c.value.element.classList.add("dragging")};
var x3c=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)},y3c=function(a,b){var c=a.rows.toArray(),d=c.findIndex(function(f){return f.row.ancestorChain.equals(b.row.ancestorChain)});if(d!==-1&&d!==0){c=c.slice(0,d).reverse();c=l(c);for(d=c.next();!d.done;d=c.next()){d=d.value;if(d.row.type==="load-more-children"){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)}};
$W.prototype.moveUp=function(a){var b=a.element.previousElementSibling;if(b){if(b.dataset.type==="load-more-children"){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)}};
$W.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;b.row.type==="load-more-children"?x3c(this,a):(b=c&&b.row.level<Wkb(c)?{position:"before",rowElement:c}:{position:"after",rowElement:b.element},this.reorder(b,[a.row.ancestorChain],"keyboard",1))}};
$W.prototype.onKeydown=function(a){if(a.ctrlKey){var b,c=(b=a.target)==null?void 0:b.closest("tr");if(c){var d=Ykb(c);if(b=this.rows.toArray().find(function(e){return e.row.ancestorChain.equals(d)}))switch(a.key){case "ArrowLeft":x3c(this,b);break;case "ArrowRight":y3c(this,b);break;case "ArrowUp":this.moveUp(b);break;case "ArrowDown":this.moveDown(b)}}}};
$W.prototype.reorder=function(a,b,c,d){var e=this;if(a){var f=Ykb(a.rowElement),h=void 0,k=f;switch(a.position){case "current":k=f;h={parentId:f.nodeId};break;case "before":case "after":k=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:k,origin:c,actionMessage:Vkb(d)})})}};
var t3c=function(a){for(var b=l(a.rootElement.querySelectorAll("tr.dragging")),c=b.next();!c.done;c=b.next())c.value.classList.remove("dragging");b=l(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;(d=a.updatingNoDropRows)==null||d.unsubscribe();var e,f;(e=a.dragPreview)==null||(f=e.parentElement)==null||f.removeChild(a.dragPreview);
a.activeDrag=!1},s3c=function(a,b,c){if(c!=="current")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(Date.now()-a.longHoveredRow.enterTime>=1E3&&!a.longHoveredRow.emitted){var d=a.rows.toArray().find(function(e){return Ykb(b).equals(e.row.ancestorChain)});d&&(a.ngZone.run(function(){a.onLongHover$.next(d)}),a.longHoveredRow.emitted=!0)}},w3c=function(a){var b;
(b=a.updatingNoDropRows)==null||b.unsubscribe();a.updatingNoDropRows=a.rows.changes.pipe(rj(null)).subscribe(function(){var c=a.rows.toArray(),d=new Set(a.rowSelectionModel.selectedRows.map(function(f){return f.nodeId}));c=l(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 aX=function(){Z.call(this);var a=this;this.analytics=x(nE);this.dragStarted$=new oj;this.onRowsMoved$=new oj;Ci(this.dragStarted$,this.onRowsMoved$).pipe(sJa(),tj(this.destroyed$)).subscribe(function(b){var c=b[b.length-1].timestamp-b[0].timestamp;b=oo(b.map(function(d){return d.event.origin}));b=b.length===1?b[0]:"mixed";a.analytics.trackEvent("editIssue","reorderChildren",b);Iwc("reorderChildren",c,b)})};Y(aX,Z);aX.\u0275dir=Z.\u0275dir;aX.\u0275fac=function(a){return new (a||aX)};
aX.\u0275prov=Dg({token:aX,factory:aX.\u0275fac,providedIn:"root"});var bX=function(){this.changed$=new oj;this.selectedRowHashes=new Set;this.isSelectedObservableMap=new Map};bX.prototype.init=function(a){this.visibleRows=a};bX.prototype.isSelected=function(a){return this.selectedRowHashes.has(a.hash())};var Nlb=function(a,b){var c=b.hash(),d,e=(d=a.isSelectedObservableMap.get(c))!=null?d:a.changed$.pipe(rj(a.selectedRowHashes),C(function(f){return f.has(b.hash())}),jj(),pj({refCount:!0,bufferSize:1}));a.isSelectedObservableMap.set(c,e);return e};
bX.prototype.select=function(a){this.selectedRowHashes.add(a.hash());this.changed$.next(this.selectedRowHashes)};bX.prototype.clear=function(){this.selectedRowHashes.clear();this.changed$.next(this.selectedRowHashes)};
var v3c=function(a){for(var b=a.visibleRows.toArray().map(function(k){return k.row.ancestorChain}),c=!1,d=l(a.selectedRowHashes.values()),e=d.next();!e.done;e=d.next()){e=Tr(e.value);for(var f=l(b),h=f.next();!h.done;h=f.next())h=h.value,V2c(e,h)&&(a.selectedRowHashes.add(h.hash()),c=!0)}c&&a.changed$.next(a.selectedRowHashes)},u3c=function(a){var b=a.visibleRows.toArray().map(function(f){return f.row});b=new Map(b.filter(function(f){return f.type==="data"}).map(function(f){return[f.ancestorChain.hash(),
f]}));var c=new Set([].concat(p(a.selectedRowHashes.values())).map(function(f){return Tr(f)}).map(function(f){return f.nodeId})),d=[];a=l(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};
pg.Object.defineProperties(bX.prototype,{selectedRows:{configurable:!0,enumerable:!0,get:function(){return[].concat(p(this.selectedRowHashes)).map(function(a){return Tr(a)})}},selectedCount:{configurable:!0,enumerable:!0,get:function(){return this.selectedRowHashes.size}}});var z3c=function(){return["active-indicator","load-more-children"]},ylb=function(){return[]},A3c=Hq.listIssues.makeHref,B3c={type:"data",id:"",issue$:ix,hasChildren$:ix,ancestorChain:new VW([]),level:0,expandedCount:0,isEditMode:!1,issuePermissions$:ix},cX=function(){Z.call(this);var a=this;this.issueRelationshipsFridge=x(CE);this.router=x($B);this.butterBar=x(MA);this.analytics=x(nE);this.issueArchiveService=x(UW);this.ngZone=x(Kk);this.elementRef=x(Ph);this.domSafe=x(SF);this.reorderingSessionTracker=
x(aX);this.cdr=x(jE);this.relationsTableModelFactory=x(ZW);this.liveAnnouncer=x(Vy);this.clearcut=x(cE);this.paths=x(TO);this.checkBeforeExit=x(LR);this.activeSession=x(Ks);this.enableRenameFeature=Cx(this.activeSession,"enableRenameChildBugsInDependenciesTab");this.IssueFieldType=cic;this.defaultExpansionLevel=1;this.internalFilters=new CF;this.isClosed=Vha;this.dataColumns=[];this.tableColumns=[];this.options={showActiveIndicator:!0,enableDragging:!0,showMenu:!0};this.trackBy=function(b,c){return c.ancestorChain.hash()+
c.type};this.isLoadMoreRow=function(b,c){return c.type==="load-more-children"};this.isDataRow=function(b,c){return c.type==="data"};this.isDraftRow=function(b,c){return c.type==="draft-issue"};this.selectionModel=new bX;this.hasLogged=!1;this.correctedDisplayedRows=new dk;this.TITLE_FIXED_OFFSET_PX=42;this.EDITABLE_TITLE_OFFSET_PX=8;this.rowDirectiveMap=new Map;this.getRowIndex=function(b){var c;return((c=tp(a.rows$))!=null?c:[]).findIndex(function(d){return Ukb(d,b)})};this.showError=function(b){return function(c){a.butterBar.showWarning(b+
". "+(nn(c)?on(c):c))}};this.dataColumns=[].concat(p(jYc));this.tableColumns=this.getRenderableColumns(this.dataColumns)};Y(cX,Z);cX.\u0275dir=Z.\u0275dir;
cX.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(MR(this.checkBeforeExit,function(){return a.tableModel.draftRows.isSaving()||a.issueRelationshipsFridge.isSaving()},!1));this.tableModel=this.relationsTableModelFactory.create(this.rootIssueId,this.internalFilters,this.defaultExpansionLevel,this.saveExpansionAtKey);this.rows$=sma([this.tableModel.rows$,li([B3c])],zi).pipe(ui(1),pj({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(sj(function(c){return si(c.filter(function(d){return d.type===
"data"}).map(function(d){return d.issue$}))}),fj(0,xp));this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();C3c(a,c)}));this.rowReorderingModel=new $W(this.elementRef.nativeElement,this.correctedDisplayedRows,this.ngZone,this.selectionModel);this.subscriptions.add(this.rowReorderingModel.onLongHover$.subscribe(function(c){var d=c.row;d.type==="load-more-children"?Glb(a,d):d.type==="data"&&(c=a.tableModel.expansion,d=d.ancestorChain,Z2c(c,d)||$2c(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;
return v(function(e){if(e.nextAddress==1)return mxc(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")),a3c(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),w(e,pi(a.correctedDisplayedRows.changes.pipe(C(function(f){return f.find(function(h){return h.row.type==="data"&&h.row.ancestorChain.nodeId===
c.movedRows[0].nodeId&&h.row.ancestorChain.parentNodeId===c.insertAt.parentId})}),Di(Boolean),Ei(6E4))),2);d=e.yieldResult;d.focus();ji(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
cX.prototype.getRenderableColumns=function(a){var b=[];this.options.showActiveIndicator&&b.push("active-indicator");this.options.enableSelection&&b.push("selection");this.options.enableDragging&&b.push("drag-handle");a=a.map(function(c){return c.type});b.push.apply(b,p(a));this.options.showMenu&&b.push("menu");return b};
var C3c=function(a,b){if(!a.hasLogged&&b.length!==0){a.hasLogged=!0;var c=b.length,d=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===0;vwc(a.clearcut,"view-relations-"+(d?"all-loaded":"some-loaded"));a.analytics.trackEvent("editIssue","view-relations","visible-count",c);d&&(b=b.filter(function(e){var f;return(e==null?void 0:(f=e.snapshot[0])==null?void 0:
f.effort)!=null}).length/c,c=b>.5?"most-estimated":"most-unestimated",vwc(a.clearcut,"view-relations-"+c),a.analytics.trackEvent("editIssue","view-relations","ratio-estimated",b),a.analytics.trackEvent("editIssue","view-relations",c))}};
cX.prototype.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);si([this.rows$,this.displayedRows.changes]).pipe(tj(this.destroyed$)).subscribe(function(b){b=l(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);hk(a.correctedDisplayedRows)});this.focusManager=fz(new AQc(this.correctedDisplayedRows,
Ukb))};cX.prototype.toggleExpansion=function(a){$2c(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};cX.prototype.navigateToIssue=function(a,b){b.isEditMode||!b.id||a.defaultPrevented||a.type==="mouseup"&&a instanceof MouseEvent&&a.button!==1||a.target.tagName==="A"||(this.analytics.trackEvent("editIssue","navigate","to-child-issue"),b=Hq.viewIssue.makeHref(b.id),zn(a)?this.domSafe.openInNewTab(b):a&&a.shiftKey?yp(this.domSafe,b):Rr(this.router,b))};
var Glb=function(a,b){var c;return v(function(d){if(d.nextAddress==1)return c=a.getRowIndex(b),$2c(a.tableModel.expansion,b.ancestorChain.parentChain,500),w(d,Fq(0),2);a.focusManager.setActiveItem(c);ji(d)})},Blb=function(a,b){return[{type:"action",label:"Continue on the create issue page",action:function(c){return D3c(a,c,b)},title:"Continue on the create issue page",icon:"arrow-forward"}]};
cX.prototype.getMenuItems=function(a){var b=this,c={type:"action",label:"Rename title",action:function(){a.isEditMode=!0;b.analytics.trackEvent("editIssue","three_dots_menu","rename_issue_title");b.cdr.detectChanges()},title:"Rename title",icon:"edit"};return a.issuePermissions$.pipe(C(function(d){d=!!d.writer;return[{type:"action",label:"Go to issue",action:function(e){b.navigateToIssue(e,a)},title:"Go to issue",icon:"arrow-forward"}].concat(p(b.enableRenameFeature&&d?[c]:[]),[{type:"action",label:"View Children",
disabled:!tp(a.hasChildren$),action:function(){var e=A3c({q:"parentid:"+a.id});b.domSafe.openInNewTab(e)},title:"View the children of this issue on the main search page",icon:"pop-out"},{type:"action",label:"Create child",action:function(){Ymb(b,a)},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(){E3c(b,a)},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(){y3c(b.rowReorderingModel,
b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},{type:"action",label:"Unindent",action:function(){x3c(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(){F3c(b,a)},title:"Archive issue",
icon:"archive_24px"}])}))};cX.prototype.saveDraft=function(a){var b=this,c,d;return v(function(e){if(e.nextAddress==1){if(!a.title)return e.return();b.tableModel.saveDraft(a);b.focusManager.setActiveItem(b.getRowIndex(a));return w(e,pi(b.displayedRows.changes.pipe(C(function(f){return f.find(function(h){return h.row.type==="data"&&h.row.id===a.issueId})}),Di(Boolean),Ei(6E4))),2)}c=e.yieldResult;Ukb((d=b.focusManager.activeItem)==null?void 0:d.row,a)&&b.focusManager.setActiveItem(c);ji(e)})};
var Jlb=function(a,b){if(!b.saving){a.tableModel.draftRows.remove(b);var c;Ukb((c=a.focusManager.activeItem)==null?void 0:c.row,b)&&a.focusManager.setPreviousItemActive()}},Ymb=function(a,b){m3c(a.tableModel,b==null?void 0:b.ancestorChain,{afterIssueId:"-1"})},E3c=function(a,b){b.type==="data"?m3c(a.tableModel,b.ancestorChain.parentChain,{afterIssueId:b.id}):m3c(a.tableModel,b.ancestorChain.parentChain,{afterDraftId:b.id})};cX.prototype.addExistingChild=function(a){this.tableModel.addExistingChild(a)};
var G3c=function(a){return a.tableColumns.map(function(b){return b==="TITLE"?"editable-title":b==="menu"?"save":b==="ISSUE_ID"?"empty-id":b})};cX.prototype.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
cX.prototype.onRowKeydown=function(a,b){var c=this,d;return v(function(e){switch(e.nextAddress){case 1:switch(b.keyCode){case 39:case 37:if(b.ctrlKey)break;a.type==="data"&&(c.toggleExpansion(a),b.preventDefault());a.type==="load-more-children"&&(Glb(c,a),b.preventDefault());break;case 13:return e.jumpTo(2)}e.jumpTo(3);break;case 2:return b.target.tagName!=="BUTTON"||b.shiftKey||b.metaKey?w(e,c.tableModel.isOneLineCreationSupported(),4):e.return();case 4:d=e.yieldResult;if(!d)return e.return();a.type===
"data"&&(b.shiftKey?Ymb(c,a):E3c(c,a));a.type==="draft-issue"&&a.saving&&E3c(c,a);b.preventDefault();e.jumpTo(3);break;case 3:if(b.target.tagName==="INPUT")return e.return();c.focusManager.onKeydown(b);c.rowReorderingModel.onKeydown(b);ji(e)}})};
var D3c=function(a,b,c){var d,e,f,h,k,q,u,A;return v(function(D){if(D.nextAddress==1)return b.defaultPrevented||b.type==="mouseup"&&b instanceof MouseEvent&&b.button!==1?D.return():w(D,pi(c.issue$),2);d=D.yieldResult;u={};A=a.paths.createIssue((u.component=String((e=d)==null?void 0:e.snapshot[0].componentId),u.parentIssueId=c.ancestorChain.parentChain.nodeId,u.redirectUrl=Hq.issueDependencies.makeHref(a.rootIssueId),u.afterIssueId=c.afterIssueId,u.title=c.title,u.priority=(k=(f=d)==null?void 0:f.snapshot[0].priority)!=
null?k:void 0,u.type=(q=(h=d)==null?void 0:h.snapshot[0].type)!=null?q:void 0,u));if(zn(b))return Jlb(a,c),a.domSafe.openInNewTab(A),D.return();if(b&&b.shiftKey)return Jlb(a,c),yp(a.domSafe,A),D.return();Rr(a.router,A);ji(D)})},F3c=function(a,b){var c,d;v(function(e){if(e.nextAddress==1)return a.analytics.trackEvent("editIssue","update","archive-child-issue"),c=a.getRowIndex(b),a.issueArchiveService.archive(b.id),w(e,pi(a.rows$.pipe(C(function(f){return!f.find(function(h){return h.type==="data"&&
h.id===b.id})}),Di(Boolean),Ei(6E4))),2);Ukb((d=a.focusManager.activeItem)==null?void 0:d.row,b)&&a.focusManager.setActiveItem(c);ji(e)})};
cX.prototype.unlinkFromParent=function(a){var b=this,c,d;return v(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent("editIssue","update","unlink-child-issue");return w(e,b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){hq(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};cX.prototype.isOpen=function(a){return eg(a)};
cX.prototype.getAssigneeString=function(a){var b,c;return pRa(Jd(a==null?void 0:(b=a.snapshot)==null?void 0:(c=b[0])==null?void 0:c.assigneeUser)||void 0)};
pg.Object.defineProperties(cX.prototype,{filters:{configurable:!0,enumerable:!0,set:function(a){this.internalFilters.reset(a!=null?a:[])}},hiddenRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.tableModel.hiddenRowCount$}},tableColumnsInput:{configurable:!0,enumerable:!0,set:function(a){this.dataColumns=[].concat(p(a));this.tableColumns=this.getRenderableColumns(this.dataColumns)}}});cX.\u0275fac=function(a){return new (a||cX)};
cX.\u0275cmp=F({type:cX,selectors:[["b-issue-relations-table"]],viewQuery:function(a,b){a&1&&ek(OP,5);if(a&2){var c;ik(c=jk())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",defaultExpansionLevel:"defaultExpansionLevel",saveExpansionAtKey:"saveExpansionAtKey",filters:"filters",tableColumnsInput:[0,"tableColumns","tableColumnsInput"],options:"options"},standalone:!1,features:[Bk([jE]),xj],decls:46,vars:16,consts:[["focusIndicator",""],["dragHandle",""],["saving",""],["mat-table","","multiTemplateDataRows",
"",1,"full-width",3,"dataSource","trackBy"],["matColumnDef","active-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"],[3,"matColumnDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","empty-id"],["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",""],["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"],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart"],["svgIcon","drag-indicator",1,"icon-s"],["mat-cell",""],[3,"id"],[3,"expansionChange","onSaveOutput","onCancelOutput","isEditMode","issue","expandable","expanded","level"],[3,"issue"],["size","medium",3,"email"],[3,"issue","showPendingFix"],["buttonLabel","More options",
3,"click","menuItems"],["mat-cell","",1,"text-center"],["buttonLabel","More options",3,"menuItems"],[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,"valueChange","commit","value","readonly"],["color","primary","format","fill","size","small","title","Create issue","matTooltip","(Shortcut: Enter)",3,"onAction","disabled"],["format","flat","size","small","title","Cancel","matTooltip",
"(Shortcut: Esc)",3,"onAction","disabled"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","",1,"clickable",3,"click","mouseup","focusin","keydown","row"],["mat-row","",3,"focusin","keydown","row"],["mat-row","","cdkTrapFocus","",1,"draft",3,"keydown","keydown.escape","keydown.backspace","focusin","row"]],template:function(a,b){a&1&&(L(0,"table",3),Sj(1,4),G(2,Zkb,1,0,"th",5)(3,$kb,2,0,"td",6),Tj(),Sj(4,7),G(5,alb,1,0,"th",5)(6,blb,3,0,"td",8),Tj(),Sj(7,9),G(8,clb,
2,0,"th",5)(9,dlb,2,1,"td",10),Tj(),Sj(10,11),G(11,elb,2,0,"th",5)(12,flb,2,0,"td",10),Tj(),Sj(13,9),G(14,glb,2,0,"th",5)(15,hlb,4,9,"td",10),Tj(),Sj(16,9),G(17,ilb,2,0,"th",5)(18,jlb,3,3,"td",10),Tj(),Sj(19,9),G(20,mlb,3,1,"th",5)(21,slb,3,1,"td",10),Tj(),Sj(22,9),G(23,tlb,2,0,"th",5)(24,ulb,3,4,"td",10),Tj(),Sj(25,9),G(26,vlb,2,0,"th",5)(27,wlb,3,3,"td",10),Tj(),Sj(28,12),G(29,xlb,1,0,"th",5)(30,zlb,3,4,"td",10),Tj(),Sj(31,13),G(32,Alb,1,0,"th",5)(33,Flb,5,1,"td",14),Tj(),Sj(34,15),G(35,Hlb,6,7,
"td",16),Tj(),Sj(36,17),G(37,Ilb,2,0,"th",5)(38,Klb,7,6,"td",16),Tj(),I(39,Mlb,1,1,"tr",18),G(40,Olb,3,12,"tr",19)(41,Plb,1,4,"tr",20)(42,Qlb,1,2,"tr",21),M(),N(43,"div",22)(44,"div",23)(45,"div",24));a&2&&(K("dataSource",b.rows$)("trackBy",b.trackBy),E(7),K("matColumnDef",b.IssueFieldType.ISSUE_ID),E(6),K("matColumnDef",b.IssueFieldType.TITLE),E(3),K("matColumnDef",b.IssueFieldType.TYPE),E(3),K("matColumnDef",b.IssueFieldType.ASSIGNEE),E(3),K("matColumnDef",b.IssueFieldType.STATUS),E(3),K("matColumnDef",
b.IssueFieldType.TEAM),E(14),J(b.options.hideColumnHeaders?-1:39),E(),K("matRowDefColumns",b.tableColumns)("matRowDefWhen",b.isDataRow),E(),K("matRowDefColumns",Ck(15,z3c))("matRowDefWhen",b.isLoadMoreRow),E(),K("matRowDefColumns",G3c(b))("matRowDefWhen",b.isDraftRow))},dependencies:[Ny,EA,RP,eL,SK,YK,UK,RK,$K,VK,XK,aL,cL,YF,WF,jS,eP,DM,$P,cQ,kP,nP,dQ,fQ,JQ,PL,lL,OP,SM,py],styles:['.mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-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-mdc-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-mdc-row[_ngcontent-%COMP%]   .mat-column-active-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-mdc-row[_ngcontent-%COMP%]:focus-within   .mat-column-active-indicator[_ngcontent-%COMP%], tr.mat-mdc-row.active[_ngcontent-%COMP%]   .mat-column-active-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}tr.mat-mdc-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]{box-sizing:border-box;cursor:move;outline-width:0;padding:0px;width:18px}tr.mat-mdc-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:32px;opacity:.2}.mat-mdc-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-mdc-cell[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-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 Tlb=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Tlb,n);g=Tlb.prototype;g.getFilename=function(){return Oc(this,1)};g.setFilename=function(a){return lf(this,1,a)};g.getLineNumber=function(a){return Wu(this,2,a)};g.getChangeNumber=function(){return Re(this,3)};g.getChangeNumber_asLegacyNumberOrString=function(){return gm(this,3)};g.setChangeNumber=function(a){return Ze(this,3,a)};var Vlb=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Vlb,n);var H3c=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,H3c.messageId)};Y(H3c,n);H3c.messageId="b.MentionSearchResult";var dX=function(){this.executor=x(fy)};dX.\u0275fac=function(a){return new (a||dX)};dX.\u0275prov=Dg({token:dX,factory:dX.\u0275fac,providedIn:"root"});var eX=function(){this.mentionsApi=x(dX);this.refreshMonitor=x(JD);this.analytics=x(nE)},I3c=function(a,b){var c=a.getLink(b);a.cachedId===b&&a.cachedEntry||(a.cachedId=b,a.cachedEntry=svc(a.refreshMonitor,wi(function(){return a.mentionsApi.executor.get({url:"action/issues/"+b+"/mentions",responseConstructor:H3c}).then(Wlb).then(function(d){return{mentions:d,link:c}}).catch(function(){return{link:c}})}).pipe(rj({link:c}))).pipe(pj({refCount:!0,bufferSize:1})));return a.cachedEntry};
eX.prototype.displayPackageNames=function(a){var b;a=(b=a.mentions)==null?void 0:b.packageMentionSet;var c;return(a==null?void 0:a.length)>1||(a==null?void 0:(c=a[0])==null?void 0:c.packageName)!=="piper"};eX.prototype.getLink=function(a){return"https://todo.corp.google.com/?issue="+a};eX.prototype.trackSqueegeeClick=function(){this.analytics.trackEvent("codeMentions","clickSqueegeeLink")};eX.\u0275fac=function(a){return new (a||eX)};eX.\u0275prov=Dg({token:eX,factory:eX.\u0275fac,providedIn:"root"});var J3c=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(J3c,n);var K3c=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,K3c.messageId)};Y(K3c,n);g=K3c.prototype;g.getIssueId=function(){return Re(this,1,void 0,Kc)};g.getIssueId_asString=function(){return Xe(this,1,void 0,Kc)};g.setIssueId=function(a){return Ze(this,1,a,void 0,Kc)};g.getResponseId=function(){return Oc(this,2,void 0,Kc)};g.setResponseId=function(a){return lf(this,2,a,Kc)};K3c.messageId="hmf.SendFeedbackRequest";var fX=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,fX.messageId)};Y(fX,n);fX.prototype.getIssueCategory=function(){return Zd(this,1,void 0,Kc)};fX.prototype.getIssueId=function(){return Re(this,2,void 0,Kc)};fX.prototype.getIssueId_asString=function(){return Xe(this,2,void 0,Kc)};fX.prototype.setIssueId=function(a){return Ze(this,2,a,void 0,Kc)};fX.messageId="hmf.GetIssueEligibilityResponse";var L3c=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,L3c.messageId)};Y(L3c,n);g=L3c.prototype;g.getResponse=function(){return Oc(this,1,void 0,Kc)};g.getIssueCategory=function(){return Zd(this,2,void 0,Kc)};g.getResponseId=function(){return Oc(this,3,void 0,Kc)};g.setResponseId=function(a){return lf(this,3,a,Kc)};g.getIssueId=function(){return Re(this,4,void 0,Kc)};g.getIssueId_asString=function(){return Xe(this,4,void 0,Kc)};
g.setIssueId=function(a){return Ze(this,4,a,void 0,Kc)};L3c.messageId="hmf.GetIssueHelpResponse";var gX=function(){this.executor=x(ey)},M3c=function(a,b){return a.executor.get({url:"action/helpmefix/"+b,responseConstructor:L3c}).pipe(C(Ylb),cj(function(){return li({issueId:b,issueCategory:"ISSUE_CATEGORY_UNSUPPORTED"})}))};gX.prototype.getIssueEligibility=function(a){return this.executor.get({url:"action/helpmefix/"+a+"/eligibility",responseConstructor:fX}).pipe(C(Zlb),cj(function(){return li({issueId:a,issueCategory:"ISSUE_CATEGORY_UNSUPPORTED"})}))};
gX.prototype.sendFeedback=function(a,b){var c=this.executor,d=c.post;var e=(new K3c).setIssueId(b.issueId).setResponseId(b.responseId);var f=new J3c;b=mf(f,1,vic[b.userFeedback.sentiment]);e=t(e,J3c,3,b,Kc);return d.call(c,{url:"action/helpmefix/"+a+"/feedback",body:e,responseConstructor:null})};gX.\u0275fac=function(a){return new (a||gX)};gX.\u0275prov=Dg({token:gX,factory:gX.\u0275fac,providedIn:"root"});var hX=function(){YA.call(this);this.api=x(gX);this.recordType="issueHelpMeFixEligibility";this.idForRecord=function(a){return String(a.issueId)};this.isEqual=function(a,b){return a.issueId===b.issueId}};Y(hX,YA);hX.prototype.fetchOne=function(a){return this.api.getIssueEligibility(Number(a))};hX.\u0275fac=function(a){return new (a||hX)};hX.\u0275prov=Dg({token:hX,factory:hX.\u0275fac,providedIn:"root"});var iX=function(){YA.call(this);this.api=x(gX);this.recordType="issueHelpMeFix";this.idForRecord=function(a){return String(a.issueId)};this.isEqual=function(a,b){return a.responseId===b.responseId}};Y(iX,YA);iX.prototype.fetchOne=function(a){return M3c(this.api,Number(a))};iX.\u0275fac=function(a){return new (a||iX)};iX.\u0275prov=Dg({token:iX,factory:iX.\u0275fac,providedIn:"root"});var jX=function(){var a=this;this.analytics=x(nE);this.activeSession=x(Ks);this.contextSensitiveRegistry=x(yF);this.issueHelpMeFixFridge=x(iX);this.issueHelpMeFixEligibilityFridge=x(hX);this.helpMeFixApi=x(gX);this.issueId$=this.contextSensitiveRegistry.getIssueId().pipe(C(de),jj(),pj({bufferSize:1,refCount:!0}));this.isHelpMeFixEnabled$=li(Cx(this.activeSession,"enableHelpMeFixSidebar")&&this.activeSession.isInternalSession()).pipe(pj({bufferSize:1,refCount:!0}));this.issueHelpMeFixEligibility$=
this.issueId$.pipe(sj(function(b){return b?a.issueHelpMeFixEligibilityFridge.watch(Number(b),{trustUncertainMemory:!0}):li(void 0)}),pj({bufferSize:1,refCount:!0}));this.isEnabledForCurrentIssue$=this.isHelpMeFixEnabled$.pipe(sj(function(b){return b?a.issueId$.pipe(sj(function(c){return c?a.issueHelpMeFixEligibility$.pipe(C(function(d){return(d==null?void 0:d.issueCategory)!=="ISSUE_CATEGORY_UNSUPPORTED"})):li(!1)}),pj({bufferSize:1,refCount:!0})):li(!1)}));this.issueHelpMeFix$=this.isEnabledForCurrentIssue$.pipe(sj(function(b){return b?
a.issueId$.pipe(hj(1),sj(function(c){return c?a.issueHelpMeFixFridge.watch(Number(c),{trustUncertainMemory:!0}):li(void 0)}),pj({bufferSize:1,refCount:!0})):li(void 0)}))},N3c=function(a){var b,c,d;return v(function(e){if(e.nextAddress==1)return w(e,pi(a.issueHelpMeFixEligibility$),2);if(e.nextAddress!=3)return b=e.yieldResult,w(e,pi(a.issueId$),3);c=e.yieldResult;a.analytics.trackEvent("helpMeFix","impressionOnIssueIdJson",JSON.stringify({issueCategory:(d=b)==null?void 0:d.issueCategory,issueId:c}));
ji(e)})},O3c=function(a){var b,c,d;return v(function(e){if(e.nextAddress==1)return w(e,pi(a.issueHelpMeFixEligibility$),2);if(e.nextAddress!=3)return b=e.yieldResult,w(e,pi(a.issueId$),3);c=e.yieldResult;a.analytics.trackEvent("helpMeFix","openOnIssueIdJson",JSON.stringify({issueCategory:(d=b)==null?void 0:d.issueCategory,issueId:c}));ji(e)})};
jX.prototype.trackThumbsUp=function(){var a=this,b,c,d,e,f;return v(function(h){if(h.nextAddress==1)return w(h,pi(a.issueHelpMeFix$),2);if(h.nextAddress!=3)return b=h.yieldResult,c=Number,w(h,pi(a.issueId$),3);d=c(h.yieldResult);((e=b)==null?0:e.responseId)&&a.helpMeFixApi.sendFeedback(d,{issueId:d,responseId:b.responseId,userFeedback:{sentiment:"SENTIMENT_POSITIVE"}}).pipe(hj(1)).subscribe();a.analytics.trackEvent("helpMeFix","thumbsUpOnIssueIdJson",JSON.stringify({issueCategory:(f=b)==null?void 0:
f.issueCategory,issueId:d}));ji(h)})};
jX.prototype.trackThumbsDown=function(){var a=this,b,c,d,e,f;return v(function(h){if(h.nextAddress==1)return w(h,pi(a.issueHelpMeFix$),2);if(h.nextAddress!=3)return b=h.yieldResult,c=Number,w(h,pi(a.issueId$),3);d=c(h.yieldResult);((e=b)==null?0:e.responseId)&&a.helpMeFixApi.sendFeedback(d,{issueId:d,responseId:b.responseId,userFeedback:{sentiment:"SENTIMENT_NEGATIVE"}}).pipe(hj(1)).subscribe();a.analytics.trackEvent("helpMeFix","thumbsDownOnIssueIdJson",JSON.stringify({issueCategory:(f=b)==null?
void 0:f.issueCategory,issueId:d}));ji(h)})};jX.\u0275fac=function(a){return new (a||jX)};jX.\u0275prov=Dg({token:jX,factory:jX.\u0275fac,providedIn:"root"});var P3c={issueId:"",category:"issue-summary",displayName:"AI Summary",author:{emailAddress:"buganizer@google.com"},timestamp:{seconds:Date.now()/1E3,nanos:0}},Q3c={issueId:"",category:"help-me-fix",displayName:"Help me fix",author:{emailAddress:"buganizer@google.com"},timestamp:{seconds:Date.now()/1E3,nanos:0}},R3c=["issue-summary","help-me-fix"],kX={},S3c=(kX.EVENT_TYPE_UNSPECIFIED="ENRICHMENT_FEEDBACK_TYPE_UNSPECIFIED",kX.EVENT_TYPE_THUMBS_UP="THUMBS_UP",kX.EVENT_TYPE_THUMBS_DOWN="THUMBS_DOWN",
kX.EVENT_TYPE_OPEN="OPEN",kX.EVENT_TYPE_CLOSE="CLOSE",kX.EVENT_TYPE_COPY="COPY",kX.EVENT_TYPE_CLOSE_AS_DUPLICATE="CLOSE_AS_DUPLICATE",kX.EVENT_TYPE_ISSUE_HOVERCARD="ISSUE_HOVERCARD",kX.EVENT_TYPE_GO_TO_ISSUE="GO_TO_ISSUE",kX.EVENT_TYPE_DELETE="DELETE",kX.EVENT_TYPE_VIEW="VIEW",kX.EVENT_TYPE_IMPRESSION="IMPRESSION",kX.EVENT_TYPE_COPY_DEEP_LINK="COPY_DEEP_LINK",kX.EVENT_TYPE_ACCEPT="ENRICHMENT_FEEDBACK_TYPE_UNSPECIFIED",kX.EVENT_TYPE_PARTIALLY_ACCEPT="ENRICHMENT_FEEDBACK_TYPE_UNSPECIFIED",kX.EVENT_TYPE_REJECT=
"ENRICHMENT_FEEDBACK_TYPE_UNSPECIFIED",kX.EVENT_TYPE_FEEDBACK="ENRICHMENT_FEEDBACK_TYPE_UNSPECIFIED",kX.EVENT_TYPE_DISPLAYED_DURING_ISSUE_CREATION="ENRICHMENT_FEEDBACK_TYPE_UNSPECIFIED",kX),lX=function(){var a=this;this.contextSensitiveRegistry=x(yF);this.issueEnrichmentFridge=x(CD);this.enrichmentCategoryFridge=x(QC);this.activeSession=x(Ks);this.llmIssueSummaryService=x(hT);this.helpMeFixService=x(jX);this.commentFormatter=x(KF);this.enrichmentApi=x(eB);this.issueUserEventsService=x($O);this.issueId$=
this.contextSensitiveRegistry.getIssueId().pipe(Di(fe),jj());this.baseEnrichments$=this.issueId$.pipe(sj(function(b){return a.issueEnrichmentFridge.watch(b)}),C(function(b){var c;return((c=b==null?void 0:b.enrichments)!=null?c:[]).filter(function(d){var e;return(e=d.general)==null?void 0:e.content})}));this.categoryDisplayNames$=this.baseEnrichments$.pipe(sj(function(b){b=b.map(function(c){return c.category});return a.enrichmentCategoryFridge.watchSet(b)}),C(function(b){var c=new Map;b=l(b);for(var d=
b.next();!d.done;d=b.next())d=d.value,c.set(d.name,d.displayName);return c}));this.isFirstPartyInsightEnrichmentsEnabled=this.activeSession.isInternalSession()&&Cx(this.activeSession,"enableInsightsEnrichments")&&Cx(this.activeSession,"enableFirstPartyInsightEnrichments");this.issueSummaryEnrichment$=si([this.llmIssueSummaryService.summarizable$,this.llmIssueSummaryService.stage$]).pipe(uj(function(b){var c=l(b);b=c.next().value;c=c.next().value;b.isSummarizable&&a.isFirstPartyInsightEnrichmentsEnabled&&
c==="BUTTON"&&n$a(a.llmIssueSummaryService)}),sj(function(b){b=l(b);var c=b.next().value;b.next();return c.isSummarizable&&a.isFirstPartyInsightEnrichmentsEnabled?a.llmIssueSummaryService.summary$.pipe(C(function(d){return d.summary?Object.assign({},P3c,{issueId:c.issue.issueId,general:{content:d.summary,formattedContent:{markdownFormat:d.formattedSummary}}}):Object.assign({},P3c,{issueId:c.issue.issueId})}),rj(Object.assign({},P3c,{issueId:c.issue.issueId}))):li(void 0)}));this.helpMeFixAsyncContent$=
this.helpMeFixService.issueHelpMeFix$.pipe(sj(function(b){if(b==null||!b.response){var c={content:"",formattedContent:{markdownFormat:{content:md("HelpMeFix did not return a response")}}};return li(c)}return a.commentFormatter.format({comment:b.response,formattingMode:"MARKDOWN",audience:"INTERNAL",idPrefix:"help_me_fix"}).pipe(C(function(d){return{content:b.response,formattedContent:d}}))}));this.helpMeFixEnrichment$=this.helpMeFixService.isEnabledForCurrentIssue$.pipe(sj(function(b){return b&&a.isFirstPartyInsightEnrichmentsEnabled?
a.issueId$.pipe(hj(1),sj(function(c){return li(Object.assign({},Q3c,{issueId:c,asyncContent:a.helpMeFixAsyncContent$}))})):li(void 0)}));this.issueEnrichments$=si([this.baseEnrichments$,this.categoryDisplayNames$,this.issueSummaryEnrichment$,this.helpMeFixEnrichment$]).pipe(C(function(b){var c=l(b);var d=c.next().value;var e=c.next().value;b=c.next().value;c=c.next().value;d=d.map(function(f){var h;return Object.assign({},f,{displayName:(h=e.get(f.category))!=null?h:f.category})});b&&d.push(b);c&&
d.push(c);return d}))};lX.prototype.logIssueUserEventForIssueEnrichment=function(a,b,c){var d=this;return v(function(e){return e.nextAddress==1?c==="issue-summary"?w(e,d.submitIssueSummaryFeedback(b),0):c==="help-me-fix"?w(e,T3c(d,b),0):w(e,pi(d.issueUserEventsService.logIssueUserEventForIssueEnrichment(a,"FEATURE_INSIGHT",b,c)),6):w(e,d.submitEnrichmentFeedback(a,c,b),0)})};
lX.prototype.submitEnrichmentFeedback=function(a,b,c){var d=this,e;return v(function(f){e=S3c[c];return e==="ENRICHMENT_FEEDBACK_TYPE_UNSPECIFIED"?f.jumpTo(0):w(f,pi(d.enrichmentApi.submitEnrichmentFeedback({issueId:a,category:b,feedbackType:e})),0)})};
lX.prototype.submitIssueSummaryFeedback=function(a){var b=this,c;return v(function(d){if(d.nextAddress==1)return w(d,pi(b.llmIssueSummaryService.summary$),2);if(c=d.yieldResult)switch(a){case "EVENT_TYPE_THUMBS_UP":b.llmIssueSummaryService.trackThumbsUp(c,"issueInsights");break;case "EVENT_TYPE_THUMBS_DOWN":b.llmIssueSummaryService.trackThumbsDown(c,"issueInsights");break;case "EVENT_TYPE_VIEW":b.llmIssueSummaryService.trackEvent("display","issueInsights");break;case "EVENT_TYPE_COPY":TXc(b.llmIssueSummaryService,
c,"issueInsights")}ji(d)})};
var T3c=function(a,b){return v(function(c){switch(c.nextAddress){case 1:switch(b){case "EVENT_TYPE_IMPRESSION":return c.jumpTo(2);case "EVENT_TYPE_THUMBS_UP":return c.jumpTo(3);case "EVENT_TYPE_THUMBS_DOWN":return c.jumpTo(4);case "EVENT_TYPE_VIEW":return c.jumpTo(5)}c.jumpTo(0);break;case 2:return w(c,N3c(a.helpMeFixService),7);case 7:c.jumpTo(0);break;case 3:return w(c,a.helpMeFixService.trackThumbsUp(),8);case 8:c.jumpTo(0);break;case 4:return w(c,a.helpMeFixService.trackThumbsDown(),9);case 9:c.jumpTo(0);
break;case 5:return w(c,O3c(a.helpMeFixService),10);case 10:c.jumpTo(0)}})};lX.\u0275fac=function(a){return new (a||lX)};lX.\u0275prov=Dg({token:lX,factory:lX.\u0275fac,providedIn:"root"});var nX=function(){var a=this;this.paramsService=x(wF);this.issueRelationshipsFridge=x(CE);this.issueFullFridge=x(pE);this.issueFridge=x(MD);this.codeMentions=x(eX);this.eventsForIssue=x(wD);this.activeSession=x(Ks);this.issueEnrichmentService=x(lX);this.id$=this.paramsService.issueId$.pipe(Di(fe),ij(1E3));this.issue$=this.id$.pipe(sj(function(b){return a.issueFullFridge.watch(b)}));this.issueEvents$=this.id$.pipe(sj(function(b){return a.eventsForIssue.watch(b)}),C(function(b){var c;return(c=b==null?
void 0:b.events)!=null?c:[]}));this.blockerIssueIds$=this.issue$.pipe(C(function(b){var c;return(c=b==null?void 0:b.snapshot[0].blockedByIssueId)!=null?c:[]}),jj(vd));this.blockedIssueIds$=this.issue$.pipe(C(function(b){var c;return(c=b==null?void 0:b.snapshot[0].blockingIssueId)!=null?c:[]}),jj(vd));this.parentIds$=this.issue$.pipe(C(function(b){var c;return(c=b==null?void 0:b.parentIssueIds)!=null?c:[]}),jj(vd));this.childrenIds$=this.id$.pipe(sj(function(b){return a.issueRelationshipsFridge.watch(b)}),
C(function(b){var c;return(c=b==null?void 0:b.relatedChildren.map(function(d){return d.targetIssueId}))!=null?c:[]}));this.duplicateIssueIds$=this.issue$.pipe(C(function(b){var c;return(c=b==null?void 0:b.snapshot[0].duplicateIssueId)!=null?c:[]}),jj(vd));this.blockersDualCount$=si([this.id$,this.blockerIssueIds$]).pipe(sj(function(b){var c=l(b);b=c.next().value;c=c.next().value;return mX(a,b,c,["BLOCKED_BY"])}),pj({bufferSize:1,refCount:!0}));this.countBlockersDisplay$=this.blockersDualCount$.pipe(C(amb),
pj({bufferSize:1,refCount:!0}));this.blockedDualCount$=si([this.id$,this.blockedIssueIds$]).pipe(sj(function(b){var c=l(b);b=c.next().value;c=c.next().value;return mX(a,b,c,["BLOCKING"])}),pj({bufferSize:1,refCount:!0}));this.countBlockedDisplay$=this.blockedDualCount$.pipe(C(amb),pj({bufferSize:1,refCount:!0}));this.childrenDualCount$=si([this.id$,this.childrenIds$]).pipe(sj(function(b){var c=l(b);b=c.next().value;c=c.next().value;return mX(a,b,c,["CHILDREN"])}),pj({bufferSize:1,refCount:!0}));this.countChildrenDisplay$=
this.childrenDualCount$.pipe(C(amb),pj({bufferSize:1,refCount:!0}));this.parentsDualCount$=si([this.id$,this.parentIds$]).pipe(sj(function(b){var c=l(b);b=c.next().value;c=c.next().value;return mX(a,b,c,["PARENT"])}),pj({bufferSize:1,refCount:!0}));this.countParentsDisplay$=this.parentsDualCount$.pipe(C(amb),pj({bufferSize:1,refCount:!0}));this.dependenciesDualCount$=si([this.id$,this.blockerIssueIds$,this.childrenIds$]).pipe(sj(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;
return mX(a,b,[].concat(p(c),p(d)),["CHILDREN","BLOCKED_BY"])}));this.countDependenciesDisplay$=this.dependenciesDualCount$.pipe(C(amb),pj({bufferSize:1,refCount:!0}));this.duplicatesDualCount$=si([this.id$,this.duplicateIssueIds$]).pipe(sj(function(b){var c=l(b);b=c.next().value;c=c.next().value;return mX(a,b,c,["DUPLICATE"])}),pj({bufferSize:1,refCount:!0}));this.countDuplicateDisplay$=this.duplicatesDualCount$.pipe(C(function(b){return b.total}),C(bmb),pj({bufferSize:1,refCount:!0}));this.countResourcesDisplay$=
this.issue$.pipe(C(function(b){var c;return(c=b==null?void 0:b.relatedLinks)!=null?c:[]}),C(function(b){return a.activeSession.isInternalSession()?b:b.filter(function(c){return!DOa(c)})}),C(function(b){return Ur(b.length)}),C(bmb),pj({bufferSize:1,refCount:!0}));this.countInsightsDisplay$=this.issueEnrichmentService.issueEnrichments$.pipe(C(function(b){return Ur(b.length)}),C(bmb),pj({bufferSize:1,refCount:!0}));this.countTodosDisplay$=this.id$.pipe(Di(fe),sj(function(b){return I3c(a.codeMentions,
b)}),C(function(b){var c,d;return Ur((d=(c=b.mentions)==null?void 0:c.totalMentions)!=null?d:0)}),C(bmb),pj({bufferSize:1,refCount:!0}));this.countCommentsDisplay$=this.issueEvents$.pipe(C(function(b){return Ur(b.filter(ag).length)}),C(bmb),pj({bufferSize:1,refCount:!0}))},mX=function(a,b,c,d){d=d===void 0?[]:d;c=oo(c);if(!b||c.length===0)return li({open:{count:0,exact:!0},total:{count:0,exact:!0}});d=d.map(function(e){return cmb(b,e)}).filter(fe).map(function(e){return"("+e+")"}).join(" OR ");return c.length>
99&&d?a.issueFridge.watchMany({filter:d,pageSize:100}).pipe(C(function(e){e=e.results.filter(eg).filter(fg).length;return{open:Ur(e),total:Ur(c.length)}})):si(c.map(function(e){return a.issueFullFridge.watch(e)})).pipe(C(function(e){return{open:Ur(e.filter(fe).filter(eg).filter(fg).length),total:Ur(e.filter(function(f){return!f||fg(f)}).length)}}))};nX.\u0275fac=function(a){return new (a||nX)};nX.\u0275prov=Dg({token:nX,factory:nX.\u0275fac,providedIn:"root"});var oX=function(){Z.call(this);var a=this;this.issueFullFridge=x(pE);this.butterBar=x(MA);this.analytics=x(nE);this.refreshMonitor=x(JD);this.contextSensitiveRegistry=x(yF);this.issuePermissionService=x(BF);this.issuePicker=x(ZQ);this.errorHandler=x(PA);this.counts=x(nX);this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe(sj(function(b){return b?a.issueFullFridge.watch(b):li(void 0)}));this.filters=[];this.shouldResetFilters=new iE;this.tableColumns=[].concat(p(iYc));
this.initialSort={column:"STATUS",direction:"ASCENDING"};this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.blockerIds$=this.issue$.pipe(C(function(b){return b==null?void 0:b.snapshot[0]}),C(function(b){var c,d;return(d=b==null?void 0:(c=b.blockedByIssueId)==null?void 0:c.map(String))!=null?d:[]}));this.blockersCount$=this.blockerIds$.pipe(sj(function(b){return b.length===0?li(0):a.counts.blockersDualCount$.pipe(C(function(c){return c.total.count}))}));this.showBlockersTable$=this.blockersCount$.pipe(C(function(b){return b>
0}),rj(!0));this.tableOptions={menu:{includeGoToIssueItem:!0},deEmphasizeClosedIssues:!0};this.getMenuItems=function(b){return[{type:"action",label:"Remove blocker",action:function(){U3c(a,b)},title:"Remove blocker",icon:"clear"}]};this.subscriptions.add(this.refreshMonitor.getObservable().pipe(vj(this.blockerIds$)).subscribe(function(b){b=l(b);b.next();b=b.next().value;if(b!=null){b=l(b);for(var c=b.next();!c.done;c=b.next())a.issueFullFridge.poke(c.value)}}))};Y(oX,Z);oX.\u0275dir=Z.\u0275dir;
var kmb=function(a){var b;return v(function(c){if(c.nextAddress==1)return w(c,pi(a.issueId$),2);b=c.yieldResult;if(b==null)return c.return();a.analytics.trackEvent("editIssue","update","add-blocker");return w(c,a.issuePicker.open({title:"Add Blockers of "+b,allowMultipleIds:!0,edgeType:"blocker"},function(d){V3c(a,b,d)}),0)})},V3c=function(a,b,c){v(function(d){return c.length===0?d.return():w(d,a.issueFullFridge.addBlockedBy(b,c).catch(function(e){RA(a.errorHandler,e)}),0)})},U3c=function(a,b){var c,
d;v(function(e){switch(e.nextAddress){case 1:return w(e,pi(a.issueId$),2);case 2:c=e.yieldResult;if(c==null)return e.return();a.analytics.trackEvent("editIssue","update","remove-blocker");ei(e,3);return w(e,a.issueFullFridge.removeBlockedBy(c,[b]),5);case 5:Iu(e,0);break;case 3:d=ii(e),a.butterBar.showWarning("Could not remove blocker "+b+". "+(nn(d)?on(d):d)),ji(e)}})};oX.\u0275fac=function(a){return new (a||oX)};
oX.\u0275cmp=F({type:oX,selectors:[["b-blockers-table"]],viewQuery:function(a,b){a&1&&ek(AT,5);if(a&2){var c;ik(c=jk())&&(b.issuesTable=c.first)}},inputs:{filters:"filters"},outputs:{shouldResetFilters:"shouldResetFilters"},standalone:!1,features:[xj],decls:15,vars:12,consts:[["addBlocker",""],[1,"table-header","blockers-count","flex-kids-x","align-items-center"],[1,"muted","margin-s-y","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"],[1,"muted"],[4,"ngTemplateOutlet"],[3,"issueIds","tableColumns","menuItemFactory","filters","initialSort","options"],[1,"emoji"],["type","button",1,"subtle-link","unstyled",3,"click"],["size","small","title","Mark an existing issue as blocker",1,"add",3,"onAction","disabled"]],template:function(a,b){a&1&&(L(0,"div",1)(1,"h4",2)(2,"div",3),N(3,"mat-icon",4),M(),U(4),W(5,"async"),M(),I(6,emb,1,
1,"ng-container"),W(7,"async"),M(),I(8,gmb,2,3),W(9,"async"),Jj(10,imb,6,1,"div"),I(11,jmb,4,2,"p",5),W(12,"async"),G(13,lmb,3,3,"ng-template",null,0,Gk));if(a&2){var c;E(4);V(" Blockers ",X(5,4,b.counts.countBlockersDisplay$)," ");E(2);J(X(7,6,b.showBlockersTable$)?6:-1);E(2);J(X(9,8,b.showBlockersTable$)?8:10);E(3);J((c=X(12,10,b.issuesTable==null?null:b.issuesTable.hiddenRowCount$))?11:-1,c)}},dependencies:[oy,EA,YF,WF,DM,AT,py],styles:["[_nghost-%COMP%] {\n      display: block;\n    }\n    b-issues-table[_ngcontent-%COMP%] {\n      display: block;\n      overflow-x: auto;\n    }"],
changeDetection:0});var qX=function(){Z.apply(this,arguments);this.routerEvents=x(mE);this.documentVisibility=x(pX);this.validNavigations=0;this.ignoringNextNav=!1;this.mostRecentlyMeasured="";this.tabWasHidden=!1};Y(qX,Z);qX.\u0275dir=Z.\u0275dir;
qX.prototype.install=function(){var a=this;PFa()&&(this.subscriptions.add(this.routerEvents.routeChangeStart.subscribe(function(){W3c(a)})),this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(function(){a.ignoringNextNav?a.ignoringNextNav=!1:a.validNavigations++})),this.subscriptions.add(this.routerEvents.routeUpdate.subscribe(function(){W3c(a);a.ignoringNextNav?a.ignoringNextNav=!1:a.validNavigations++})),this.subscriptions.add(this.documentVisibility.visibilityState$.pipe(Di(function(b){return b!==
"visible"}),hj(1)).subscribe(function(){a.tabWasHidden=!0})))};
var W3c=function(a){a.ignoringNextNav||(tvc("appNavStart"),a.mostRecentlyMeasured="")},X3c=function(a,b){tvc(b);if(b!==a.mostRecentlyMeasured){var c=a.validNavigations<=1?void 0:"appNavStart",d=c?"appNavStart-to-CF":"browserStart-to-CF",e=d+" -> "+b;a.mostRecentlyMeasured=b;if((d!=="browserStart-to-CF"||!a.tabWasHidden)&&PFa())if(b===null)console.warn("window.performance does not support endMark `null`");else try{window.performance.measure(e,c,b)}catch(f){console.warn("route_performance",f)}}};
qX.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(qX)))(b||qX)}}();qX.\u0275prov=Dg({token:qX,factory:qX.\u0275fac,providedIn:"root"});var pX=function(){var a=this;this.window=x(RF);this.visibilityState$=yi(this.window.document,"visibilityChange").pipe(rj(void 0),C(function(){return a.currentVisibility}))};pg.Object.defineProperties(pX.prototype,{currentVisibility:{configurable:!0,enumerable:!0,get:function(){return this.window.document.visibilityState}}});
pX.\u0275fac=function(a){return new (a||pX)};pX.\u0275prov=Dg({token:pX,factory:pX.\u0275fac,providedIn:"root"});var Y3c=function(){this.imageUrls=x(FO);this.EMPTY_BLOCKER_LIGHT=this.imageUrls.EMPTY_BLOCKER_LIGHT;this.EMPTY_BLOCKER_DARK=this.imageUrls.EMPTY_BLOCKER_DARK;this.EMPTY_CHILD_LIGHT=this.imageUrls.EMPTY_CHILD_LIGHT;this.EMPTY_CHILD_DARK=this.imageUrls.EMPTY_CHILD_DARK};Y3c.\u0275fac=function(a){return new (a||Y3c)};
Y3c.\u0275cmp=F({type:Y3c,selectors:[["b-issue-dependencies-onboarding-dialog"]],standalone:!1,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",""],"type button mat-flat-button  color primary matDialogClose  cdkFocusInitial ".split(" ")],template:function(a,b){a&1&&(L(0,"h1",0),U(1,"About Dependencies"),M(),L(2,"div",1)(3,"div",2),N(4,"img",3)(5,"img",3)(6,"img",4)(7,"img",4),M(),L(8,"article")(9,"p",5),U(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. "),L(11,"a",6),U(12,"Learn more"),M()()()(),L(13,
"div",7)(14,"button",8),U(15,"Ok"),M()());a&2&&(E(4),K("src",b.EMPTY_CHILD_LIGHT,Ni),E(),K("src",b.EMPTY_BLOCKER_LIGHT,Ni),E(),K("src",b.EMPTY_CHILD_DARK,Ni),E(),K("src",b.EMPTY_BLOCKER_DARK,Ni))},dependencies:[dA,aA,fI,hI,jI,iI],styles:["[_nghost-%COMP%]{padding:24px;display:block}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-mdc-dialog-content[_ngcontent-%COMP%], .mat-mdc-dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.mat-dialog-actions[_ngcontent-%COMP%]{padding-top:8px;margin-bottom:8px}"],
changeDetection:0});var rX=function(){Z.call(this);var a=this;this.issueFullFridge=x(pE);this.butterBar=x(MA);this.analytics=x(nE);this.refreshMonitor=x(JD);this.issueRelationshipsFridge=x(CE);this.ROUTES=Hq;this.parentIssueIds$=new $n([]);this.filters=[];this.tableColumns=[].concat(p(iYc));this.tableOptions={menu:{includeGoToIssueItem:!0},deEmphasizeClosedIssues:!0};this.getMenuItems=function(b){return[{type:"action",label:"Unlink parent",action:function(){return Z3c(a,b)},title:"Unlink parent",icon:"link"}]};this.showError=
function(b){return function(c){a.butterBar.showWarning(b+". "+(nn(c)?on(c):c))}};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){for(var b=l(a.parentIssueIds$.value),c=b.next();!c.done;c=b.next())a.issueFullFridge.poke(c.value)}))};Y(rX,Z);rX.\u0275dir=Z.\u0275dir;rX.prototype.ngOnInit=function(){};
var Z3c=function(a,b){var c;return v(function(d){a.analytics.trackEvent("editIssue","update","remove-parent");c=a.issueId;return w(d,a.issueRelationshipsFridge.unlinkFromParent(c,b).catch(a.showError("Failed to unlink child "+c+" from parent "+b)),0)})};pg.Object.defineProperties(rX.prototype,{parentIds:{configurable:!0,enumerable:!0,set:function(a){this.parentIssueIds$.next(a!=null?a:[])}},hiddenRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.issuesTable.hiddenRowCount$}}});
rX.\u0275fac=function(a){return new (a||rX)};
rX.\u0275cmp=F({type:rX,selectors:[["b-parents-table"]],viewQuery:function(a,b){a&1&&ek(AT,5);if(a&2){var c;ik(c=jk())&&(b.issuesTable=c.first)}},inputs:{parentIds:"parentIds",filters:"filters",issueId:"issueId"},standalone:!1,features:[xj],decls:2,vars:3,consts:[[3,"issueIds","tableColumns","options","filters","issueUrlFactory","menuItemFactory"]],template:function(a,b){a&1&&(I(0,mmb,1,6,"b-issues-table",0),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.parentIssueIds$))?0:-1,c)}},dependencies:[AT,py],
encapsulation:2,changeDetection:0});var sX=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 iE;this.onConfirm=new iE;this.onCancel=new iE;this.internalSelectedOptions=new CF};sX.prototype.confirm=function(a){this.onConfirm.emit(new Set(this.internalSelectedOptions));a.close()};sX.prototype.cancel=function(a){this.onCancel.emit();a.close()};
pg.Object.defineProperties(sX.prototype,{selectedOptions:{configurable:!0,enumerable:!0,set:function(a){this.internalSelectedOptions.reset(a)}}});sX.\u0275fac=function(a){return new (a||sX)};
sX.\u0275cmp=F({type:sX,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"},standalone:!1,decls:12,
vars:14,consts:[["trigger","onedevPopupPanelTrigger"],["optionsPanel","onedevPopupPanel"],["type","button","mat-icon-button","","onedevPopupPanelTrigger","","aria-haspopup","true",3,"click","onedevPopupPanelTriggerFor","color","matTooltip"],[3,"svgIcon"],["role","region","className","select-menu-popup"],[1,"padded-s","flex-kids-y"],[1,"title","margin-s-x","padded-s"],[1,"flex-kids-x"],[1,"badge",3,"title"],[1,"option","grow-1","flex-kids-x","align-items-center","padded-x","padded-s-y","gap"],[3,"change",
"checked"],[1,"flex-kids-x","justify-flex-end","padded-s","gap-s"],["type","button","mat-stroked-button","",1,"cancel",3,"click"],["type","button","mat-flat-button","","color","primary",1,"confirm",3,"click"]],template:function(a,b){if(a&1){var c=y();L(0,"button",2,0);W(2,"async");Q("click",function(){z(c);var d=T(1),e;(e=d.isOpen)!=null&&e?d.close():d.open();return B()});N(3,"mat-icon",3);I(4,omb,2,3);M();L(5,"onedev-popup-panel",4,1)(7,"div",5);I(8,pmb,2,1,"h1",6);Mj(9,smb,7,5,"div",7,Lj);I(11,
tmb,6,2);M()()}a&2&&(a=T(6),rk("large",b.buttonSize==="large")("small",b.buttonSize==="small"),K("onedevPopupPanelTriggerFor",a)("color",b.showActiveState&&X(2,12,b.internalSelectedOptions.size$)?"primary":null)("matTooltip",b.buttonTooltip),Hj("aria-label",b.buttonAriaLabel),E(3),K("svgIcon",b.buttonSvgIcon),E(),J(b.showActiveState?4:-1),E(4),J(b.overlayTitle?8:-1),E(),Nj(b.options),E(2),J(b.showActionButtons?11:-1))},dependencies:[EA,dA,aA,bA,aG,HG,eN,YF,WF,hP,iP,py],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 $3c=function(){return[]},Bmb=function(a){return{filteredCount:a}},tX=function(){Z.call(this);var a=this;this.brain=x(zF);this.issuePicker=x(ZQ);this.issueRelationshipsFridge=x(CE);this.issueFullFridge=x(pE);this.router=x($B);this.routePerformance=x(qX);this.element=x(Ph);this.analytics=x(nE);this.issuePermissionService=x(BF);this.activeSession=x(Ks);this.counts=x(nX);this.matDialog=x(eI);this.butterBar=x(MA);this.makeIlpUrlForParentIssue=cab;this.recallFilters=If("deps-filters");this.saveFilters=
Jf("deps-filters");this.isThinking$=si([this.issueFullFridge.saving$,this.issueRelationshipsFridge.saving$]).pipe(C(function(b){return b.some(Boolean)}));this.issueId$=this.brain.id$.pipe(Di(fe),C(qRa));this.issue$=this.brain.issueJs$.pipe(Di(fe));this.parentIds$=this.issue$.pipe(C(function(b){var c;return(c=b==null?void 0:b.parentIssueIds)!=null?c:[]}));this.parentIssues$=this.parentIds$.pipe(sj(function(b){return a.issueFullFridge.watchSet(b)}));this.parentsCount$=this.parentIssues$.pipe(C(function(b){return b.filter(fg).length}));
this.childrenIds$=this.issueId$.pipe(sj(function(b){return a.issueRelationshipsFridge.watch(b)}),C(function(b){var c;return(c=b==null?void 0:b.relatedChildren.map(function(d){return d.targetIssueId}))!=null?c:[]}));this.totalDaysOpen$=this.issue$.pipe(C(function(b){var c,d;return((c=cg(b))==null?void 0:(d=c.effort)==null?void 0:d.totalOpen)||0}));this.totalDaysComplete$=this.issue$.pipe(C(function(b){var c,d;return((c=cg(b))==null?void 0:(d=c.effort)==null?void 0:d.totalComplete)||0}));this.unarchivedChildIssueCount$=
this.childrenIds$.pipe(C(function(b){return b.length}));this.isTotalEstimatesEnabled=Cx(this.activeSession,"enableAggregationRules");this.isNonPublicSession=this.activeSession.isNonPublicSession();this.isInternalSession=this.activeSession.isInternalSession();this.enableRollupStatsUi=Cx(this.activeSession,"enableRollupStatsUi");this.totalDaysCount$=si([this.totalDaysOpen$,this.totalDaysComplete$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b+c}));this.totalDaysDisplayPercent$=
Umb(this.totalDaysComplete$,this.totalDaysCount$);this.progressHovercardContent$=si([this.totalDaysComplete$,this.totalDaysOpen$,this.totalDaysDisplayPercent$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;return Vmb(Math.round(b*100)/100)+" completed | "+Vmb(Math.round(d*100)/100)+" open | "+c+"% completed"}));this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.rowCreated$=new oj;this.issueFilters=new CF;this.ISSUE_FILTER_OPTIONS=[{key:xr.OPEN.key,
title:xr.OPEN.displayAs,description:"Hides closed issues"},{key:xr.ASSIGNED_TO_ME.key,title:xr.ASSIGNED_TO_ME.displayAs,description:"Hides issues not assigned to me"}];pi(aza("b-issue-relations-table tr .mat-column-title a",this.element.nativeElement).pipe(tj(Ci(this.destroyed$,this.rowCreated$)))).then(function(){var b=function(){X3c(a.routePerformance,"issue-details-w-tree")};requestAnimationFrame(b);setTimeout(b)}).catch(function(){});try{this.issueFilters.reset(this.recallFilters().filter(hab))}catch(b){}this.subscriptions.add(this.issueFilters.value$.subscribe(function(b){a.saveFilters([].concat(p(b)))}))};
Y(tX,Z);tX.\u0275dir=Z.\u0275dir;
var Qmb=function(a){var b,c;return v(function(d){if(d.nextAddress==1)return a.analytics.trackEvent("editIssue","update","add-parent"),w(d,pi(a.issue$),2);b=d.yieldResult;c=b.issueId;return w(d,a.issuePicker.open({title:"Add Parent to b/"+c,allowMultipleIds:!1,edgeType:"parent"},function(e){a4c(a,c,e)}),0)})},a4c=function(a,b,c){var d=l(c).next().value;var e,f,h,k;v(function(q){if(q.nextAddress==1)return(e=d)?w(q,a.issueRelationshipsFridge.assignParentToOneIssue(e,b),2):q.return();f=q.yieldResult;
h=f.errors;return((k=h)==null?0:k.length)?(a.butterBar.showWarning("Could not add parent"),q.return()):w(q,a.issueFullFridge.poke(b),0)})};tX.prototype.shouldResetFilters=function(){this.issueFilters.reset([])};tX.prototype.addChild=function(){this.rowCreated$.next();var a;(a=this.relationsTable)==null||a.addExistingChild()};tX.prototype.createChild=function(){this.rowCreated$.next();var a;(a=this.relationsTable)==null||Ymb(a)};
tX.prototype.openLearnMore=function(){this.matDialog.open(Y3c,{maxWidth:"1300px",width:"90%"})};tX.\u0275fac=function(a){return new (a||tX)};
tX.\u0275cmp=F({type:tX,selectors:[["b-issue-dependencies"]],viewQuery:function(a,b){a&1&&(ek(cX,5),ek(oX,5),ek(rX,5));if(a&2){var c;ik(c=jk())&&(b.relationsTable=c.first);ik(c=jk())&&(b.blockersTable=c.first);ik(c=jk())&&(b.parentsTable=c.first)}},standalone:!1,features:[xj],decls:15,vars:13,consts:[["filterInfo",""],["addParent",""],["addChildren",""],["progressHovercard","onedevHovercard"],["effortHovercard","onedevHovercard"],[1,"status","flex-kids-x","gap-s","align-items-center","justify-flex-end"],
["buttonSize","small","buttonSvgIcon","filter-alt","buttonTooltip","Filter issues","buttonAriaLabel","Filter issues","overlayTitle","Only show issues that are",3,"onChange","options","selectedOptions","showActionButtons","showActiveState"],["type","button","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"],[3,"issueId","parentIds","filters"],[3,"shouldResetFilters","filters"],[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"],[1,"progress-header"],[1,"margin-s-bottom",3,"id"],[3,"rootIssueId","filters","saveExpansionAtKey"],[4,"ngTemplateOutlet"],[1,"muted"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"flex-kids-x","align-items-center"],[1,"margin-s-right"],[1,"label"],[1,"progress","margin-s-right",3,"onedevHovercardTrigger"],[1,"completion"],["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"],[1,"onedev-hovercard-body"],[1,"margin-s-top"],["title","View the search results page for this issue and all descendants",3,"href"],["type","button",
1,"subtle-link","unstyled",3,"click"],["size","small","title","Add a parent of the current issue",1,"add",3,"onAction","disabled"],["size","small","title","Create an issue as a child",1,"add",3,"disabled"],["size","small","title","Add an existing issue as a child",1,"add",3,"onAction","disabled"],["size","small","title","Create an issue as a child",1,"add",3,"onAction","disabled"]],template:function(a,b){if(a&1){var c=y();L(0,"div",5);I(1,umb,1,0,"b-spinner");W(2,"async");L(3,"select-menu",6);W(4,
"async");Q("onChange",function(f){z(c);return B(b.issueFilters.reset(f))});M();L(5,"button",7);Q("click",function(){z(c);return B(b.openLearnMore())});N(6,"mat-icon",8);M()();I(7,Nmb,40,47,"div",9);W(8,"async");G(9,Pmb,1,1,"ng-template",null,0,Gk)(11,Rmb,3,3,"ng-template",null,1,Gk)(13,Tmb,4,4,"ng-template",null,2,Gk)}if(a&2){var d;E();J(X(2,6,b.isThinking$)?1:-1);E(2);var e;K("options",b.ISSUE_FILTER_OPTIONS)("selectedOptions",(e=X(4,8,b.issueFilters.value$))!=null?e:Ck(12,$3c))("showActionButtons",
!1)("showActiveState",!0);E(4);J((d=X(8,10,b.issueId$))?7:-1,d)}},dependencies:[oy,EA,xH,DH,dA,bA,YF,WF,DM,sX,lL,KW,oX,cX,rX,py,vy],styles:["b-issue-dependencies h4 button{margin:-8px 0}b-issue-dependencies h4 button.gmat-mdc-button.mat-mdc-outlined-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{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 uX=function(){};uX.\u0275fac=function(a){return new (a||uX)};uX.\u0275mod=Zi({type:uX});uX.\u0275inj=Eg({imports:[jC,FI,SL,oN,JL,FQ]});var vX=function(){};vX.\u0275fac=function(a){return new (a||vX)};vX.\u0275mod=Zi({type:vX});vX.\u0275inj=Eg({imports:[Wy,QJ,CA,jC,FG,uL,FI,HI,bW,SQ,qM,JL,GG,WS,LQ,EM,yQ,cW,MQ,uX,QL,oL,TW,PP,cN]});var wX=function(){Z.apply(this,arguments);var a=this;this.prefsService=x(MW);this.issueFullFridge=x(pE);this.savedSearchFridge=x(IC);this.analytics=x(nE);this.activeSession=x(Ks);this.TREE_COLUMNS=[].concat(p(mYc));this.TREE_OPTIONS=Object.assign({},oYc);this.isInternalSession=this.activeSession.isInternalSession();this.refreshWorkArea=new oj;this.hideRecentActivity=!1;this.typeAndId$=new $n([void 0,void 0]);this.typeAndId$.pipe(sj(function(b){var c=l(b);b=c.next().value;return(c=c.next().value)&&
b==="savedsearch"?a.savedSearchFridge.watch(c):li(void 0)}));this.issue$=this.typeAndId$.pipe(sj(function(b){var c=l(b);b=c.next().value;return(c=c.next().value)&&b==="issue"?a.issueFullFridge.watch(c):li(void 0)}));this.issueFilter$=this.typeAndId$.pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;if(b==="issue")return"parentid:"+c+"+ | id:"+c;if(b==="savedsearch")return"savedsearchid:"+c;if(b==="hotlist")return"hotlistid:"+c}),C(function(b){if(b!==void 0){var c;if((c=a.activeSession.getTracker())==
null?0:c.trackerId){var d;b+=" trackerid:"+((d=a.activeSession.getTracker())==null?void 0:d.trackerId)}return b}}))};Y(wX,Z);wX.\u0275dir=Z.\u0275dir;wX.prototype.ngOnInit=function(){var a=this;this.refreshWorkArea.pipe(tj(this.destroyed$)).subscribe(function(){a.typeAndId$.next([a.entityType,a.referencedId])})};wX.prototype.getFilters=function(){return F2c(this.prefsService,this.entityReference)};wX.prototype.showTable=function(){return this.onlyShowTableWhenFiltered?this.getFilters().length>0:!0};
pg.Object.defineProperties(wX.prototype,{reference:{configurable:!0,enumerable:!0,set:function(a){this.entityReference=a;this.referencedId=vr(a);this.entityType=wr(a);this.analytics.trackEvent("missionControl","view","work-area-"+this.entityType);this.typeAndId$.next([this.entityType,this.referencedId])}}});wX.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(wX)))(b||wX)}}();
wX.\u0275cmp=F({type:wX,selectors:[["one-work-area"]],viewQuery:function(a,b){a&1&&ek(cX,5);if(a&2){var c;ik(c=jk())&&(b.relationsTable=c.first)}},inputs:{reference:"reference",refreshWorkArea:"refreshWorkArea",hideRecentActivity:"hideRecentActivity",numRecentActivityEvents:"numRecentActivityEvents",onlyShowTableWhenFiltered:"onlyShowTableWhenFiltered"},standalone:!1,features:[xj],decls:1,vars:1,consts:[[3,"searchString","prefKey","reference","onlyShowTableWhenFiltered","entityType"],[1,"margin-top",
3,"query","numEvents"],[1,"margin-bottom",3,"id"],[3,"saveExpansionAtKey","rootIssueId","filters","tableColumns","options","defaultExpansionLevel"],[1,"bg-off-main","margin-bottom","rounded","padded"],[1,"muted","margin-s-bottom"],["type","button","mat-flat-button","","color","primary","title","Create an issue as a child in this work area",1,"small","gmat-button",3,"click"],["type","button","mat-button","","title","Add an existing issue as a child in this work area",1,"small","gmat-button",3,"click"]],
template:function(a,b){a&1&&I(0,enb,4,2);if(a&2){var c;J((c=b.referencedId)?0:-1,c)}},styles:["[_nghost-%COMP%] { display: block; }"]});var b4c=Object.assign({},nYc,{showActiveIndicator:!1,showMenu:!1,showTrending:!0}),c4c={column:"MODIFIED_TIME",direction:"DESCENDING"},xX=function(){var a=this;this.prefsService=x(MW);this.activeSession=x(Ks);this.issueFridge=x(MD);this.DEFAULT_COLUMNS=[].concat(p(kYc));this.PROGRESS_COLUMNS=[].concat(p(lYc));this.TABLE_OPTIONS=Object.assign({},b4c);this.INITIAL_SORT=c4c;this.isInternalSession=this.activeSession.isInternalSession();this.searchString$=new $n(void 0);this.issueQuery$=this.searchString$.pipe(C(fnb));
this.issueIds$=this.issueQuery$.pipe(sj(function(b){return a.issueFridge.watchMany(b)}),C(function(b){if(a.entityType==="issue")return b.results;var c;return IDc(b.results,(c=a.activeSession.getTracker())==null?void 0:c.trackerId)}),C(function(b){return b.map(function(c){return c.issueId})}))};xX.prototype.getFilters=function(){return this.prefKey==null?[]:F2c(this.prefsService,this.prefKey)};xX.prototype.showTable=function(){return this.onlyShowTableWhenFiltered?this.getFilters().length>0:!0};
pg.Object.defineProperties(xX.prototype,{searchString:{configurable:!0,enumerable:!0,set:function(a){this.searchString$.next(a!=null?a:void 0)}}});xX.\u0275fac=function(a){return new (a||xX)};
xX.\u0275cmp=F({type:xX,selectors:[["one-work-area-list"]],inputs:{searchString:"searchString",prefKey:"prefKey",entityType:"entityType",reference:"reference",onlyShowTableWhenFiltered:"onlyShowTableWhenFiltered"},standalone:!1,decls:2,vars:2,consts:[[1,"margin-bottom",3,"ref","query"],[1,"margin-bottom",3,"prefKey","query","entityType"],[3,"issueIds","options","filters","tableColumns","initialSort"]],template:function(a,b){a&1&&(I(0,gnb,4,9),I(1,inb,2,3));a&2&&(J(b.isInternalSession?0:-1),E(),J(b.showTable()?
1:-1))},dependencies:[JW,RW,AT,py],styles:["[_nghost-%COMP%] { display: block; }"]});var tnb=function(a,b){return b.workAreaUrl},yX=function(){Z.call(this);var a=this;this.prefsService=x(MW);this.issueFullFridge=x(pE);this.hotlistFridge=x(EC);this.savedSearchFridge=x(IC);this.hotlistPicker=x(aS);this.issuePicker=x(ZQ);this.savedSearchPicker=x(IW);this.analytics=x(nE);this.clipboard=x(ZF);this.butterBar=x(MA);this.parentIssueSuggestions=x(OW);this.imageUrls=x(FO);this.activeSession=x(Ks);this.refreshData=new oj;this.SECTION_SLUG="work-areas-wrapper-card";this.EMPTY_STATE_IMG=this.imageUrls.WORK_AREA_EXAMPLE_ILLUSTRATION;
this.inferEntityType=wr;this.makeBuganizerUrl=bab;this.makeIlpUrlForParentIssue=cab;this.getEntityTypeName=aab;this.extractLastDigits=vr;this.suggestions=[];this.titles={};var b;this.currentTrackerId=(b=this.activeSession.getTracker())==null?void 0:b.trackerId;this.INITIAL_TAB_INDEX=E2c(this.prefsService,"work-areas-wrapper-card");this.workAreaReferences$=this.prefsService.prefs$.pipe(C(function(d){var e;return(e=d==null?void 0:d.workAreaUrls)!=null?e:[]}));this.issues$=this.workAreaReferences$.pipe(C(function(d){return d.filter(function(e){return wr(e)===
"issue"})}),C(function(d){return d.map(vr)}),jj(vd),C(function(d){return d.filter(fe)}),sj(function(d){return a.issueFullFridge.watchSet(d)}));this.hotlists$=this.workAreaReferences$.pipe(C(function(d){return d.filter(function(e){return wr(e)==="hotlist"})}),C(function(d){return d.map(vr)}),jj(vd),C(function(d){return d.filter(fe)}),sj(function(d){return a.hotlistFridge.watchSet(d)}));this.savedSearches$=this.workAreaReferences$.pipe(C(function(d){return d.filter(function(e){return wr(e)==="savedsearch"})}),
C(function(d){return d.map(vr)}),jj(vd),C(function(d){return d.filter(fe)}),sj(function(d){return a.savedSearchFridge.watchSet(d)}));this.refsForTemplate$=this.workAreaReferences$.pipe(dj(this.issues$),tj(this.destroyed$),C(function(d){var e=l(d);d=e.next().value;var f=e.next().value;return d.map(function(h){var k=f.find(function(q){return q.issueId===h});return{workAreaUrl:h,trackerId:k==null?void 0:k.trackerId}})}));this.issues$.pipe(tj(this.destroyed$)).subscribe(this.updateTitlesForIssues.bind(this));
this.hotlists$.pipe(tj(this.destroyed$)).subscribe(this.updateTitlesForHotlists.bind(this));this.savedSearches$.pipe(tj(this.destroyed$)).subscribe(this.updateTitlesForSavedSearches.bind(this));b=this.workAreaReferences.length;this.analytics.trackEvent("missionControl","display","num-work-areas-"+b,b);var c;b=Object.values((c=this.prefsService.prefs.workAreaQuickFilters)!=null?c:{}).flat();b.length>0&&this.analytics.trackEvent("missionControl","view","workAreas-filters-"+b.join(","));Ai(2E3).pipe(sj(function(){return a.parentIssueSuggestions.suggestions$}),
tj(this.destroyed$),hj(1)).subscribe(function(d){var e=3;e=e===void 0?3:e;if(d.length!==0){var f=d.slice(0,e*2),h=[].concat(p(f));if(!(f.length<=1))for(f=h.length-1;f>0;--f){var k=Math.floor(Math.random()*(f+1)),q=h[f];h[f]=h[k];h[k]=q}e=h.slice(0,e);d=d[0];e.includes(d)||(e.pop(),e.unshift(d));d=e}a.suggestions=d;a.workAreaReferences.length===0&&(d=d.length,a.analytics.trackEvent("missionControl","suggestions-shown",String(d),d))})};Y(yX,Z);yX.\u0275dir=Z.\u0275dir;g=yX.prototype;
g.toggleCollapsed=function(){this.prefsService.toggleCollapsed("work-areas-wrapper-card")};g.ariaLabelForToggleButton=function(){return this.isCollapsed?"Expand work areas section":"Collapse work areas section"};g.updateTitlesForIssues=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;this.titles[b.issueId]=(c=b.snapshot[0])==null?void 0:c.title}};
g.updateTitlesForHotlists=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[Y$a(b.hotlistId)]=b.name};g.updateTitlesForSavedSearches=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[Z$a(b.searchId)]=b.name};
var d4c=function(a){var b,c,d,e,f,h,k,q,u;return v(function(A){if(A.nextAddress==1)return b=a.workAreaReferences.filter(function(D){return wr(D)==="hotlist"}).map(vr).map(Number),w(A,cVc(a.hotlistPicker,b,li([])),2);c=A.yieldResult;f=((e=(d=c)==null?void 0:d.hotlistDiff.added)!=null?e:[]).map(Y$a);q=((k=(h=c)==null?void 0:h.hotlistDiff.removed)!=null?k:[]).map(Y$a);u=a.workAreaReferences.slice();u=nCa(q,u);u=qCa(f,u);Vr(a.prefsService,{workAreaUrls:u});ji(A)})},e4c=function(a){var b;return v(function(c){if(c.nextAddress==
1)return w(c,a.issuePicker.open({title:"Choose a parent issue",allowMultipleIds:!0}),2);b=c.yieldResult;b!=null&&NW(a.prefsService,b);ji(c)})},wnb=function(a,b){var c=a.suggestions.map(function(d){return d.ref}).indexOf(b);a.analytics.trackEvent("missionControl","suggestion-chosen",String(c));b!=null&&NW(a.prefsService,b)},f4c=function(a){var b,c,d,e;return v(function(f){if(f.nextAddress==1)return w(f,a.savedSearchPicker.open(),2);b=f.yieldResult;d=(c=b)!=null?c:[];if(d.length===0)return f.return();
e=d.map(Z$a);NW(a.prefsService,e);ji(f)})};pg.Object.defineProperties(yX.prototype,{workAreaReferences:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.prefsService.prefs.workAreaUrls)!=null?a:[]}},isEmpty:{configurable:!0,enumerable:!0,get:function(){return this.workAreaReferences.length===0}},isCollapsed:{configurable:!0,enumerable:!0,get:function(){return this.prefsService.isCollapsed("work-areas-wrapper-card")}}});yX.\u0275fac=function(a){return new (a||yX)};
yX.\u0275cmp=F({type:yX,selectors:[["work-areas-wrapper-card"]],hostVars:4,hostBindings:function(a,b){a&2&&rk("is-empty",b.isEmpty)("collapsed",b.isCollapsed)},inputs:{refreshData:"refreshData"},standalone:!1,features:[xj],decls:18,vars:3,consts:[["addMenu","matMenu"],["editMenu","matMenu"],["issueHovercard","onedevHovercard"],[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center"],[1,"heading-s"],["svgIcon","info","tabindex","0","role","button","aria-hidden","false","aria-label","Keeping a close eye on the projects, hotlists, or saved searches that you are focusing on",
"matTooltip","Keeping a close eye on the projects, hotlists, or saved searches that you are focusing on",1,"info","margin-s-left"],["type","button","mat-icon-button","",1,"small","collapse-btn","margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],["type","button","mat-stroked-button","","title","Add a work area",1,"small","add-work-area","margin-s-left",3,"matMenuTriggerFor"],["type","button","mat-menu-item","",3,"click"],["gmat-tabs","",1,"main-content","margin-s-top",3,"selectedIndex"],
[1,"flex-kids-y","align-items-center","text-align-center","empty-state","main-content"],["svgIcon","add",1,"icon-s"],["gmat-tabs","",1,"main-content","margin-s-top",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],["matTabContent",""],[3,"trackerId","compactMode"],["type","button","mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"small","muted","menu-trigger",3,"click","matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-xs"],["data-test","edit-menu",
1,"foo"],["mat-menu-item","","title","View the work area full screen",3,"routerLink"],["type","button","mat-menu-item",""],["type","button","mat-menu-item","",3,"click","disabled"],["svgIcon","arrow-backward",1,"icon-s"],["svgIcon","arrow-forward",1,"icon-s"],["type","button","mat-menu-item","",3,"click","title"],["svgIcon","close",1,"icon-s"],["mat-menu-item","","title","View the issue details page",3,"routerLink"],["svgIcon","link",1,"icon-s"],["mat-menu-item","","title","View the search results page for this issue and all descendants",
3,"href"],["svgIcon","copy",1,"icon-s"],[1,"margin-top",3,"reference","refreshWorkArea"],[1,"inline-block","pos-rel"],["aria-hidden","true","alt","",3,"src"],[1,"pos-abs","work-area-suggestions"],[1,"type-l","muted","margin-y","match-image-width"],["type","button","mat-flat-button","","color","primary","title","Add a work area",3,"matMenuTriggerFor"],["svgIcon","add"],[1,"unstyled"],["tabindex","0",1,"elevated","rounded","padded-s","margined-s","slide-in",3,"title"],["tabindex","0",1,"elevated","rounded",
"padded-s","margined-s","slide-in",3,"click","title"],[1,"line-clamp-2"],[1,"muted","type-s",3,"onedevHovercardTrigger"],[3,"issueId"]],template:function(a,b){if(a&1){var c=y();L(0,"div",3)(1,"header",4)(2,"h3",5);U(3," Work areas ");M();N(4,"mat-icon",6);L(5,"button",7);Q("click",function(){z(c);return B(b.toggleCollapsed())});N(6,"mat-icon",8);M();I(7,jnb,3,1,"button",9);L(8,"mat-menu",null,0)(10,"button",10);Q("click",function(){z(c);return B(e4c(b))});U(11,"Issue (parent/child project)");M();
L(12,"button",10);Q("click",function(){z(c);return B(d4c(b))});U(13,"Hotlist");M();L(14,"button",10);Q("click",function(){z(c);return B(f4c(b))});U(15,"Saved Search");M()()();I(16,unb,4,3,"mat-tab-group",11)(17,znb,9,3,"section",12);M()}a&2&&(E(5),Hj("aria-label",b.ariaLabelForToggleButton()),E(2),J(b.workAreaReferences.length>0?7:-1),E(9),J(b.workAreaReferences.length>0?16:17))},dependencies:[EA,bC,FL,mK,kK,pK,dA,aA,bA,eN,oM,fM,iM,jM,kM,YF,WF,GP,xH,DH,HO,wX,py],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     issue-as-project-card>.carded{border:none;padding-left:0}.add-work-area[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{--mat-button-outlined-icon-spacing:4px;--mat-button-outlined-icon-offset:0}.add-work-area.gmat-mdc-button[_ngcontent-%COMP%], .add-work-area.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button[_ngcontent-%COMP%]{padding-left:4px}.info[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);height:20px;width:20px}.empty-state[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:32px}.empty-state[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:320px;box-shadow:0 0 0 10px var(--background),0 0 0 20px var(--primary-c50);margin:20px 0;border-radius:8px}[_nghost-%COMP%]     .mat-mdc-tab-label .mat-mdc-tab-label-content{padding-left:4px;margin-right:-4px}[_nghost-%COMP%]     .mat-mdc-tab-label .menu-trigger{visibility:hidden}[_nghost-%COMP%]     .mat-mdc-tab-label.mat-mdc-tab-label-active .menu-trigger, [_nghost-%COMP%]     .mat-mdc-tab-label:hover .menu-trigger{visibility:visible}.collapsed[_nghost-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_nghost-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_nghost-%COMP%]   footer[_ngcontent-%COMP%], .collapsed[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .add-work-area[_ngcontent-%COMP%]{display:none}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_nghost-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}[_nghost-%COMP%] > .carded[_ngcontent-%COMP%]{-webkit-transition:none .1s ease-in-out;transition:none .1s ease-in-out;-webkit-transition-property:padding;transition-property:padding}.collapsed[_nghost-%COMP%] > .carded[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}[_nghost-%COMP%]{min-height:800px}.collapsed[_nghost-%COMP%], .is-empty[_nghost-%COMP%]{min-height:0}.match-image-width[_ngcontent-%COMP%]{max-width:360px}.work-area-suggestions[_ngcontent-%COMP%]{position:absolute;top:0;left:100%;width:200px;margin-left:48px;overflow-x:hidden;overflow-y:visible}.work-area-suggestions[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-top:0}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{-moz-box-sizing:border-box;box-sizing:border-box;text-align:center;cursor:pointer}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus-visible{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{-webkit-transform:translateX(120%);transform:translateX(120%)}.work-area-suggestions[_ngcontent-%COMP%]   li.slide-in[_ngcontent-%COMP%]{-webkit-animation:_ngcontent-%COMP%_slide-in .5s forwards;animation:_ngcontent-%COMP%_slide-in .5s forwards}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:0ms;animation-delay:0ms}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.1s;animation-delay:.1s}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.2s;animation-delay:.2s}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:.3s;animation-delay:.3s}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:.4s;animation-delay:.4s}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:.5s;animation-delay:.5s}@-webkit-keyframes _ngcontent-%COMP%_slide-in{to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes _ngcontent-%COMP%_slide-in{to{-webkit-transform:translateX(0);transform:translateX(0)}}"]});var zX=function(){};zX.\u0275fac=function(a){return new (a||zX)};zX.\u0275mod=Zi({type:zX});zX.\u0275inj=Eg({imports:[jC,IL,iC,FI,oN,qM,JL,TW,cW,HW,vX,FW,yQ,uL,KQ]});isa(wX,[dA,aA,KW,SW,cX,EW,xX],[py]);var g4c=["*"],h4c=["content"],i4c=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],j4c=new kh("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),k4c=new kh("MAT_DRAWER_CONTAINER"),BX=function(){var a=x(Ph),b=x(Nm),c=x(Kk);mz.call(this,a,b,c);this._platform=x(Qm);this._changeDetectorRef=x(sx);this._container=x(AX)};Y(BX,mz);BX.\u0275dir=mz.\u0275dir;BX.prototype.ngAfterContentInit=function(){var a=this;this._container._contentMarginChanges.subscribe(function(){a._changeDetectorRef.markForCheck()})};
BX.prototype._shouldBeHidden=function(){if(this._platform.isBrowser)return!1;var a=this._container,b=a.start;a=a.end;return b!=null&&b.mode!=="over"&&b.opened||a!=null&&a.mode!=="over"&&a.opened};BX.\u0275fac=function(a){return new (a||BX)};
BX.\u0275cmp=F({type:BX,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:6,hostBindings:function(a,b){a&2&&(qk("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px"),rk("mat-drawer-content-hidden",b._shouldBeHidden()))},features:[Bk([{provide:mz,useExisting:BX}]),xj],ngContentSelectors:g4c,decls:1,vars:0,template:function(a){a&1&&(Zj(),ak(0))},encapsulation:2,changeDetection:0});
var CX=function(){var a=this;this._elementRef=x(Ph);this._focusTrapFactory=x(My);this._focusMonitor=x(Ey);this._platform=x(Qm);this._ngZone=x(Kk);this._renderer=x($m);this._interactivityChecker=x(Hy);this._doc=x(Mm);this._container=x(k4c,{optional:!0});this._elementFocusedBeforeDrawerWasOpened=this._focusTrap=null;this._position="start";this._mode="over";this._disableClose=!1;this._opened=kk.apply(null,[!1].concat(p([])));this._animationStarted=new oj;this._animationEnd=new oj;this.openedChange=new Lp(!0);
this._openedStream=this.openedChange.pipe(Di(function(b){return b}),C(function(){}));this.openedStart=this._animationStarted.pipe(Di(function(){return a.opened}),gj());this._closedStream=this.openedChange.pipe(Di(function(b){return!b}),C(function(){}));this.closedStart=this._animationStarted.pipe(Di(function(){return!a.opened}),gj());this._destroyed=new oj;this.onPositionChanged=new Lp;this._modeChanged=new oj;this._injector=x(yj);this._changeDetectorRef=x(sx);this._handleTransitionEvent=function(b){b.target===
a._elementRef.nativeElement&&a._ngZone.run(function(){b.type==="transitionrun"?a._animationStarted.next(b):(b.type==="transitionend"&&a._setIsAnimating(!1),a._animationEnd.next(b))})};this.openedChange.pipe(tj(this._destroyed)).subscribe(function(b){b?(a._elementFocusedBeforeDrawerWasOpened=a._doc.activeElement,a._takeFocus()):a._isFocusWithinDrawer()&&a._restoreFocus(a._openedVia||"program")});this._ngZone.runOutsideAngular(function(){var b=a._elementRef.nativeElement;yi(b,"keydown").pipe(Di(function(c){return c.keyCode===
27&&!a.disableClose&&!ym(c)}),tj(a._destroyed)).subscribe(function(c){return a._ngZone.run(function(){a.close();c.stopPropagation();c.preventDefault()})});a._eventCleanups=[a._renderer.listen(b,"transitionrun",a._handleTransitionEvent),a._renderer.listen(b,"transitionend",a._handleTransitionEvent),a._renderer.listen(b,"transitioncancel",a._handleTransitionEvent)]});this._animationEnd.subscribe(function(){a.openedChange.emit(a.opened)})};g=CX.prototype;
g._forceFocus=function(a,b){var c=this;this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(function(){var d=function(){e();f();a.removeAttribute("tabindex")},e=c._renderer.listen(a,"blur",d),f=c._renderer.listen(a,"mousedown",d)}));a.focus(b)};g._focusByCssSelector=function(a,b){(a=this._elementRef.nativeElement.querySelector(a))&&this._forceFocus(a,b)};
g._takeFocus=function(){var a=this;if(this._focusTrap){var b=this._elementRef.nativeElement;switch(this.autoFocus){case !1:case "dialog":break;case !0:case "first-tabbable":Ej(function(){a._focusTrap.focusInitialElement()||typeof b.focus!=="function"||b.focus()},{injector:this._injector});break;case "first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}};
g._restoreFocus=function(a){this.autoFocus!=="dialog"&&(this._elementFocusedBeforeDrawerWasOpened?Fy(this._focusMonitor,this._elementFocusedBeforeDrawerWasOpened,a):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)};g._isFocusWithinDrawer=function(){var a=this._doc.activeElement;return!!a&&this._elementRef.nativeElement.contains(a)};
g.ngAfterViewInit=function(){this._isAttached=!0;this._position==="end"&&this._updatePositionInParent("end");this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())};
g.ngOnDestroy=function(){this._eventCleanups.forEach(function(c){return c()});var a;(a=this._focusTrap)==null||a.destroy();var b;(b=this._anchor)==null||b.remove();this._anchor=null;this._animationStarted.complete();this._animationEnd.complete();this._modeChanged.complete();this._destroyed.next();this._destroyed.complete()};g.open=function(a){return this.toggle(!0,a)};g.close=function(){return this.toggle(!1)};g._closeViaBackdropClick=function(){return this._setOpen(!1,!0,"mouse")};
g.toggle=function(a,b){(a=a===void 0?!this.opened:a)&&b&&(this._openedVia=b);b=this._setOpen(a,!a&&this._isFocusWithinDrawer(),this._openedVia||"program");a||(this._openedVia=null);return b};
g._setOpen=function(a,b,c){var d=this;if(a===this.opened)return Promise.resolve(a?"open":"close");this._opened.set(a);var e;((e=this._container)==null?0:e._transitionsEnabled)?this._setIsAnimating(!0):setTimeout(function(){d._animationStarted.next();d._animationEnd.next()});this._elementRef.nativeElement.classList.toggle("mat-drawer-opened",a);!a&&b&&this._restoreFocus(c);this._changeDetectorRef.markForCheck();this._updateFocusTrapState();return new Promise(function(f){d.openedChange.pipe(hj(1)).subscribe(function(h){return f(h?
"open":"close")})})};g._setIsAnimating=function(a){this._elementRef.nativeElement.classList.toggle("mat-drawer-animating",a)};g._getWidth=function(){return this._elementRef.nativeElement.offsetWidth||0};g._updateFocusTrapState=function(){if(this._focusTrap){var a;this._focusTrap.enabled=!((a=this._container)==null||!a.hasBackdrop)&&this.opened}};
g._updatePositionInParent=function(a){if(this._platform.isBrowser){var b=this._elementRef.nativeElement,c=b.parentNode;a==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),c.insertBefore(this._anchor,b)),c.appendChild(b)):this._anchor&&this._anchor.parentNode.insertBefore(b,this._anchor)}};
pg.Object.defineProperties(CX.prototype,{position:{configurable:!0,enumerable:!0,get:function(){return this._position},set:function(a){a=a==="end"?"end":"start";a!==this._position&&(this._isAttached&&this._updatePositionInParent(a),this._position=a,this.onPositionChanged.emit())}},mode:{configurable:!0,enumerable:!0,get:function(){return this._mode},set:function(a){this._mode=a;this._updateFocusTrapState();this._modeChanged.next()}},disableClose:{configurable:!0,enumerable:!0,get:function(){return this._disableClose},
set:function(a){this._disableClose=um(a)}},autoFocus:{configurable:!0,enumerable:!0,get:function(){var a=this._autoFocus;return a==null?this.mode==="side"?"dialog":"first-tabbable":a},set:function(a){if(a==="true"||a==="false"||a==null)a=um(a);this._autoFocus=a}},opened:{configurable:!0,enumerable:!0,get:function(){return this._opened()},set:function(a){this.toggle(um(a))}}});CX.\u0275fac=function(a){return new (a||CX)};
CX.\u0275cmp=F({type:CX,selectors:[["mat-drawer"]],viewQuery:function(a,b){a&1&&ek(h4c,5);if(a&2){var c;ik(c=jk())&&(b._content=c.first)}},hostAttrs:[1,"mat-drawer"],hostVars:12,hostBindings:function(a,b){a&2&&(Hj("align",null)("tabIndex",b.mode!=="side"?"-1":null),qk("visibility",b._container||b.opened?null:"hidden"),rk("mat-drawer-end",b.position==="end")("mat-drawer-over",b.mode==="over")("mat-drawer-push",b.mode==="push")("mat-drawer-side",b.mode==="side"))},inputs:{position:"position",mode:"mode",
disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:g4c,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(a){a&1&&(Zj(),L(0,"div",1,0),ak(2),M())},dependencies:[mz],encapsulation:2,changeDetection:0});
var AX=function(){var a=this;this._dir=x(Xm,{optional:!0});this._element=x(Ph);this._ngZone=x(Kk);this._changeDetectorRef=x(sx);this._animationDisabled=hn();this._transitionsEnabled=!1;this._drawers=new dk;this._autosize=x(j4c);this.backdropClick=new Lp;this._destroyed=new oj;this._doCheckSubject=new oj;this._contentMargins={left:null,right:null};this._contentMarginChanges=new oj;this._injector=x(yj);var b=x(Qm),c=x(Lm),d;(d=this._dir)==null||d.change.pipe(tj(this._destroyed)).subscribe(function(){a._validateDrawers();
DX(a)});c.change().pipe(tj(this._destroyed)).subscribe(function(){return DX(a)});!this._animationDisabled&&b.isBrowser&&this._ngZone.runOutsideAngular(function(){setTimeout(function(){a._element.nativeElement.classList.add("mat-drawer-transition");a._transitionsEnabled=!0},200)})};
AX.prototype.ngAfterContentInit=function(){var a=this;this._allDrawers.changes.pipe(rj(this._allDrawers),tj(this._destroyed)).subscribe(function(b){a._drawers.reset(b.filter(function(c){return!c._container||c._container===a}));hk(a._drawers)});this._drawers.changes.pipe(rj(null)).subscribe(function(){a._validateDrawers();a._drawers.forEach(function(b){a._watchDrawerToggle(b);a._watchDrawerPosition(b);a._watchDrawerMode(b)});(!a._drawers.length||a._isDrawerOpen(a._start)||a._isDrawerOpen(a._end))&&
DX(a);a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._doCheckSubject.pipe(fj(10),tj(a._destroyed)).subscribe(function(){return DX(a)})})};AX.prototype.ngOnDestroy=function(){this._contentMarginChanges.complete();this._doCheckSubject.complete();this._drawers.destroy();this._destroyed.next();this._destroyed.complete()};AX.prototype.open=function(){this._drawers.forEach(function(a){return a.open()})};AX.prototype.close=function(){this._drawers.forEach(function(a){return a.close()})};
var DX=function(a){var b=0,c=0;if(a._left&&a._left.opened)if(a._left.mode=="side")b+=a._left._getWidth();else if(a._left.mode=="push"){var d=a._left._getWidth();b+=d;c-=d}a._right&&a._right.opened&&(a._right.mode=="side"?c+=a._right._getWidth():a._right.mode=="push"&&(d=a._right._getWidth(),c+=d,b-=d));b=b||null;c=c||null;if(b!==a._contentMargins.left||c!==a._contentMargins.right)a._contentMargins={left:b,right:c},a._ngZone.run(function(){return a._contentMarginChanges.next(a._contentMargins)})};
g=AX.prototype;g.ngDoCheck=function(){var a=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return a._doCheckSubject.next()})};g._watchDrawerToggle=function(a){var b=this;a._animationStarted.pipe(tj(this._drawers.changes)).subscribe(function(){DX(b);b._changeDetectorRef.markForCheck()});a.mode!=="side"&&a.openedChange.pipe(tj(this._drawers.changes)).subscribe(function(){return b._setContainerClass(a.opened)})};
g._watchDrawerPosition=function(a){var b=this;a.onPositionChanged.pipe(tj(this._drawers.changes)).subscribe(function(){Ej({read:function(){return b._validateDrawers()}},{injector:b._injector})})};g._watchDrawerMode=function(a){var b=this;a._modeChanged.pipe(tj(Ci(this._drawers.changes,this._destroyed))).subscribe(function(){DX(b);b._changeDetectorRef.markForCheck()})};g._setContainerClass=function(a){var b=this._element.nativeElement.classList;a?b.add("mat-drawer-container-has-open"):b.remove("mat-drawer-container-has-open")};
g._validateDrawers=function(){var a=this;this._start=this._end=null;this._drawers.forEach(function(b){b.position=="end"?a._end=b:a._start=b});this._right=this._left=null;this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)};g._isPushed=function(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"};
g._onBackdropClicked=function(){this.backdropClick.emit();this._closeModalDrawersViaBackdrop()};g._closeModalDrawersViaBackdrop=function(){var a=this;[this._start,this._end].filter(function(b){return b&&!b.disableClose&&a._drawerHasBackdrop(b)}).forEach(function(b){return b._closeViaBackdropClick()})};g._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)};
g._isDrawerOpen=function(a){return a!=null&&a.opened};g._drawerHasBackdrop=function(a){return this._backdropOverride==null?!!a&&a.mode!=="side":this._backdropOverride};
pg.Object.defineProperties(AX.prototype,{start:{configurable:!0,enumerable:!0,get:function(){return this._start}},end:{configurable:!0,enumerable:!0,get:function(){return this._end}},autosize:{configurable:!0,enumerable:!0,get:function(){return this._autosize},set:function(a){this._autosize=um(a)}},hasBackdrop:{configurable:!0,enumerable:!0,get:function(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)},set:function(a){this._backdropOverride=a==null?null:um(a)}},scrollable:{configurable:!0,
enumerable:!0,get:function(){return this._userContent||this._content}}});AX.\u0275fac=function(a){return new (a||AX)};
AX.\u0275cmp=F({type:AX,selectors:[["mat-drawer-container"]],contentQueries:function(a,b,c){a&1&&(fk(c,BX,5),fk(c,CX,5));if(a&2){var d;ik(d=jk())&&(b._content=d.first);ik(d=jk())&&(b._allDrawers=d)}},viewQuery:function(a,b){a&1&&ek(BX,5);if(a&2){var c;ik(c=jk())&&(b._userContent=c.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(a,b){a&2&&rk("mat-drawer-container-explicit-backdrop",b._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},
exportAs:["matDrawerContainer"],features:[Bk([{provide:k4c,useExisting:AX}])],ngContentSelectors:["mat-drawer","mat-drawer-content","*"],decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(a,b){a&1&&(Zj(i4c),I(0,Anb,1,2,"div",0),ak(1),ak(2,1),I(3,Bnb,2,0,"mat-drawer-content"));a&2&&(J(b.hasBackdrop?0:-1),E(3),J(b._content?-1:3))},dependencies:[BX],styles:[".mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}\n"],
encapsulation:2,changeDetection:0});var l4c=["*"],m4c=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],EX=function(){BX.apply(this,arguments)};Y(EX,BX);EX.\u0275dir=BX.\u0275dir;EX.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(EX)))(b||EX)}}();EX.\u0275cmp=F({type:EX,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[Bk([{provide:mz,useExisting:EX}]),xj],ngContentSelectors:l4c,decls:1,vars:0,template:function(a){a&1&&(Zj(),ak(0))},encapsulation:2,changeDetection:0});
var FX=function(){CX.apply(this,arguments);this._fixedInViewport=!1;this._fixedBottomGap=this._fixedTopGap=0};Y(FX,CX);
pg.Object.defineProperties(FX.prototype,{fixedInViewport:{configurable:!0,enumerable:!0,get:function(){return this._fixedInViewport},set:function(a){this._fixedInViewport=um(a)}},fixedTopGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedTopGap},set:function(a){this._fixedTopGap=xm(a)}},fixedBottomGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedBottomGap},set:function(a){this._fixedBottomGap=xm(a)}}});
FX.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(FX)))(b||FX)}}();
FX.\u0275cmp=F({type:FX,selectors:[["mat-sidenav"]],hostAttrs:[1,"mat-drawer","mat-sidenav"],hostVars:16,hostBindings:function(a,b){a&2&&(Hj("tabIndex",b.mode!=="side"?"-1":null)("align",null),qk("top",b.fixedInViewport?b.fixedTopGap:null,"px")("bottom",b.fixedInViewport?b.fixedBottomGap:null,"px"),rk("mat-drawer-end",b.position==="end")("mat-drawer-over",b.mode==="over")("mat-drawer-push",b.mode==="push")("mat-drawer-side",b.mode==="side")("mat-sidenav-fixed",b.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",
fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[Bk([{provide:CX,useExisting:FX}]),xj],ngContentSelectors:l4c,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(a){a&1&&(Zj(),L(0,"div",1,0),ak(2),M())},dependencies:[mz],encapsulation:2,changeDetection:0});var GX=function(){AX.apply(this,arguments);this._content=this._allDrawers=void 0};Y(GX,AX);
GX.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(GX)))(b||GX)}}();
GX.\u0275cmp=F({type:GX,selectors:[["mat-sidenav-container"]],contentQueries:function(a,b,c){a&1&&(fk(c,EX,5),fk(c,FX,5));if(a&2){var d;ik(d=jk())&&(b._content=d.first);ik(d=jk())&&(b._allDrawers=d)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(a,b){a&2&&rk("mat-drawer-container-explicit-backdrop",b._backdropOverride)},exportAs:["matSidenavContainer"],features:[Bk([{provide:k4c,useExisting:GX},{provide:AX,useExisting:GX}]),xj],ngContentSelectors:["mat-sidenav",
"mat-sidenav-content","*"],decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(a,b){a&1&&(Zj(m4c),I(0,Cnb,1,2,"div",0),ak(1),ak(2,1),I(3,Dnb,2,0,"mat-sidenav-content"));a&2&&(J(b.hasBackdrop?0:-1),E(3),J(b._content?-1:3))},dependencies:[EX],styles:[".mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}\n"],
encapsulation:2,changeDetection:0});var HX=function(){};HX.\u0275fac=function(a){return new (a||HX)};HX.\u0275mod=Zi({type:HX});HX.\u0275inj=Eg({imports:[pz,kz,pz]});var IX=function(){};IX.\u0275fac=function(a){return new (a||IX)};IX.\u0275mod=Zi({type:IX});IX.\u0275inj=Eg({imports:[jC,FG,aM,qM,JL,FI,HX,GG,FW,oL,zX]});var JX=function(){this.showPageSizeSelector=!1;this.pageSizeOptions=[10,25,50,100,250];this.pageSize=1;this.hasNextPage=this.hasPreviousPage=!1;this.previousPageLabel="Previous page";this.nextPageLabel="Next page";this.nextPage=new iE;this.prevPage=new iE;this.pageSizeChange=new iE};JX.prototype.ngOnInit=function(){};JX.\u0275fac=function(a){return new (a||JX)};
JX.\u0275cmp=F({type:JX,selectors:[["b-paginator"]],inputs:{showPageSizeSelector:"showPageSizeSelector",pageSizeOptions:"pageSizeOptions",pageSize:"pageSize",startIndex:"startIndex",endIndex:"endIndex",totalNumber:"totalNumber",hasPreviousPage:"hasPreviousPage",hasNextPage:"hasNextPage",previousPageLabel:"previousPageLabel",nextPageLabel:"nextPageLabel"},outputs:{nextPage:"nextPage",prevPage:"prevPage",pageSizeChange:"pageSizeChange"},standalone:!1,decls:13,vars:8,consts:[["pageSizeMenu","matMenu"],
[1,"page-number"],["type","button","mat-icon-button","","color","primary",3,"click","matTooltip","disabled"],["svgIcon","chevron-left"],["svgIcon","chevron-right"],["type","button","mat-icon-button","","matTooltip","Change page size",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown"],[1,"b-menu-header"],["type","button","mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked"],["type","button","mat-menu-item","","role","menuitemcheckbox",3,"click"],[1,"b-menu-item-check-mark"],["svgIcon",
"done",1,"icon-s"]],template:function(a,b){a&1&&(I(0,Fnb,8,1),L(1,"span",1)(2,"strong"),U(3),M(),I(4,Gnb,4,1,"span"),L(5,"span"),U(6," of "),L(7,"strong"),U(8),M()(),L(9,"button",2),Q("click",function(){return b.prevPage.emit()}),N(10,"mat-icon",3),M(),L(11,"button",2),Q("click",function(){return b.nextPage.emit()}),N(12,"mat-icon",4),M()());a&2&&(J(b.showPageSizeSelector?0:-1),E(3),tk(b.startIndex),E(),J(b.endIndex!=null?4:-1),E(4),tk(b.totalNumber),E(),K("matTooltip",b.previousPageLabel)("disabled",
!b.hasPreviousPage),E(2),K("matTooltip",b.nextPageLabel)("disabled",!b.hasNextPage))},dependencies:[EA,dA,bA,FL,mK,kK,pK,YF,WF],styles:["[_nghost-%COMP%] {\n      display: flex;\n      align-items: center;\n    }\n    .page-number[_ngcontent-%COMP%] {\n      white-space: nowrap;\n    }"]});var Unb=function(a,b){return{issueIds:a,teamId:b}},cob=function(){return[]},dob=function(){return{}},Pnb=function(a,b){return b.key},KX=function(){Z.call(this);var a=this;this.activeSession=x(Ks);this.paramsService=x(wF);this.appSearchState=x(hK);this.userPreferencesManager=x(NF);this.imageUrls=x(FO);this.teamExperimentalFieldsFridge=x(pF);this.triageService=x(TH);this.punctualService=x(CR);this.issueFridge=x(MD);this.issueFullFridge=x(pE);this.bLocation=x(hL);this.refreshMonitor=x(JD);this.issueExperimentalFieldsFridge=
x(ID);this.starredTeamsService=x(QH);this.teamsService=x(kF);this.ROUTES=Hq;this.TriageServiceMode=JCc;this.SUBPHASE_TO_DISPLAY_NAME=MBc;this.LAST_30_DAYS=hCc.LAST_30_DAYS;this.EMPTY_STATE_IMG=this.imageUrls.EMPTY_TRIAGE;this.HOTKEYS=nq;this.RIGHT_SIDEBAR_MIN_WIDTH=650;this.RIGHT_SIDEBAR_MAX_WIDTH=1400;this.selectedFilterKeys=new CF;this.teamId=this.paramsService.params.teamId;this.triageId=this.paramsService.params.triageId;this.enableTeamScope=Cx(this.activeSession,"enableTeamScope")&&this.activeSession.isInternalSession();
this.phase$=xF(this.paramsService,"phase").pipe(C(function(d){var e;return(e=PBc.get(d))!=null?e:"NEW"}),jj());this.subphase$=xF(this.paramsService,"subphase").pipe(C(function(d){var e;return(e=OBc.get(d))!=null?e:void 0}),jj());this.pageSize$=this.userPreferencesManager.resultsPerPage$;this.pageNumber$=new $n(1);this.activeSort$=new $n(void 0);this.data=this.triageService.triageDataFactory.get(this.teamId,this.triageId);this.phaseData$=this.phase$.pipe(C(function(d){return a.data.phase(d)}));this.allIssuesInPhase$=
this.phaseData$.pipe(sj(function(d){return d.issues$}));this.allIssuesInSubphase$=si([this.allIssuesInPhase$,this.subphase$]).pipe(C(function(d){var e,f=l(d);d=f.next().value;return(e=f.next().value)?d.filter(function(h){return Gp(h)===e}):d}));this.selectedFilters$=this.selectedFilterKeys.value$.pipe(C(function(d){return[].concat(p(d)).map(function(e){return hCc[e]})}));this.alerts$=this.phase$.pipe(C(function(d){return kob.get(d)}));this.trendingThemes$=this.allIssuesInSubphase$.pipe(C(function(d){return rLa(d)}));
this.filteredIssuesInPhase$=si([this.allIssuesInSubphase$,this.selectedFilters$,this.alerts$]).pipe(C(function(d){var e=l(d);d=e.next().value;var f=e.next().value;e=e.next().value;return hob(d,f,e)}));this.filteredTotalRowCount$=si([this.filteredIssuesInPhase$,this.trendingThemes$]).pipe(C(function(d){var e=l(d);d=e.next().value;e=e.next().value;return d.length+e.length}),pj({refCount:!0,bufferSize:1}));this.startIndex$=si([this.pageSize$,this.pageNumber$]).pipe(C(function(d){var e=l(d);d=e.next().value;
return(e.next().value-1)*d+1}),pj({refCount:!0,bufferSize:1}));this.endIndex$=si([this.pageSize$,this.startIndex$,this.filteredTotalRowCount$]).pipe(C(function(d){var e=l(d);d=e.next().value;var f=e.next().value;e=e.next().value;return Math.min(f+d-1,e)}),pj({refCount:!0,bufferSize:1}));this.sortedFilteredIssueIdsInPhase$=si([this.filteredIssuesInPhase$,this.trendingThemes$,this.activeSort$,this.phase$]).pipe(C(function(d){var e=l(d);d=e.next().value;var f=e.next().value;var h=e.next().value;e=e.next().value;
return job(d,f,h,e)}),pj({refCount:!0,bufferSize:1}));this.issueIdsToRender$=si([this.sortedFilteredIssueIdsInPhase$,this.startIndex$,this.endIndex$]).pipe(C(function(d){var e=l(d);d=e.next().value;var f=e.next().value;e=e.next().value;return d.slice(f-1,e)}),jj(vd),pj({refCount:!0,bufferSize:1}));this.availableFiltersInCurrentPhase$=si([this.phase$,this.allIssuesInSubphase$,this.trendingThemes$]).pipe(C(function(d){var e=l(d);d=e.next().value;var f=e.next().value;var h=e.next().value;var k;return((k=
gCc.get(d))!=null?k:[]).map(function(q){var u=f.filter(q.check).length;q.key==="NEEDS_ATTENTION"&&(u+=h.length);return Object.assign({},q,{count:u})})}),C(function(d){return d.filter(function(e){return e.count||a.selectedFilterKeys.has(e.key)})}));this.issueAlertsForCurrentPhase$=this.phase$.pipe(C(function(d){return kob.get(d)}));this.issues$=this.issueIdsToRender$.pipe(sj(function(d){return a.issueFridge.watchSet(d.flat())}));this.customFieldConfigs$=HCc(this.data).pipe(Di(fe));this.tableOptions$=
si([this.issues$,this.customFieldConfigs$]).pipe(C(function(d){d=l(d);d.next();return{enableSelection:!0,showMenu:!1,modes:{createdTime:"relativepastshort"},navigationOptions:{clickTargets:"NONE",alwaysOpenNewTab:!0},sortMode:"EXTERNAL_SORT",activeRowMode:"REMAIN_ACTIVE",optionalColumns:d.next().value.map(function(e){return{type:"CUSTOM_FIELD",customFieldId:$k(e.customFieldId)}})}}));this.teamExperimentalFields$=this.teamExperimentalFieldsFridge.watch(this.teamId);this.tableColumns$=si([this.teamExperimentalFields$,
this.phase$]).pipe(C(function(d){var e=l(d);d=e.next().value;e=e.next().value;d=d==null?void 0:d.triage.find(function(k){return""+k.id===a.triageId});e=[].concat(p(SBc[e]));var f,h=(f=d==null?void 0:d.displayColumns)!=null?f:[];(h==null?void 0:h.length)>0&&(e=h);return d!=null&&d.showComponentColumn?e:e.filter(function(k){return k.type!=="COMPONENT_PATH"})}));var b;this.sidebarWidthPreference$=new $n(Math.max(this.RIGHT_SIDEBAR_MIN_WIDTH,(b=qjc("triage-sidebar-width")())!=null?b:0));this.sidebarWidth$=
si([this.triageService.isSidebarOpen$,this.sidebarWidthPreference$]).pipe(C(function(d){var e=l(d);d=e.next().value;e=e.next().value;return d?e:0}));this.subphases$=this.phase$.pipe(C(function(d){return LBc[d]}));this.subphaseDisplayName$=this.subphase$.pipe(C(function(d){return d?MBc[d]:"All subphases"}));this.subphaseSelectorTooltip$=this.subphase$.pipe(C(function(d){return d?"Showing issues in the "+MBc[d].toLowerCase()+" subphase.":"Showing issues in all subphases"}));this.starred$=this.starredTeamsService.starredTriageViews$.pipe(C(function(d){return d.some(function(e){return e.triageId===
a.triageId&&e.teamId===a.teamId})}));this.savingStar=!1;this.selectedIssues=new nz(!0,[]);this.punctualSubscriptions=new Yh;var c=x(nE);this.subscriptions.add(this.phase$.subscribe(function(){a.selectedFilterKeys.reset([hCc.LAST_30_DAYS.key])}));this.subscriptions.add(this.data.allIssues$.subscribe(function(d){for(var e=l(d.entries()),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;qia(f,d)&&UBc.add(h.issueId)}}));this.subscriptions.add(this.issueIdsToRender$.subscribe(function(d){n4c(a,
d)}));this.subscriptions.add(this.phaseData$.pipe(sj(function(d){return d.totalCount$.pipe(C(function(e){return[e,d.phase]}))}),hj(1)).subscribe(function(d){var e=l(d);d=e.next().value;e=e.next().value;c.trackEvent("triageIssue","ISSUE_COUNT_"+e,a.teamId+":"+a.triageId,d)}))};Y(KX,Z);KX.\u0275dir=Z.\u0275dir;
var n4c=function(a,b){a.punctualSubscriptions.unsubscribe();a.punctualSubscriptions=new Yh;b=l(b);for(var c=b.next(),d={};!c.done;d={issueId$jscomp$374:void 0},c=b.next())d.issueId$jscomp$374=c.value,Array.isArray(d.issueId$jscomp$374)||(a.punctualSubscriptions.add(a.punctualService.watch("issue-edit",d.issueId$jscomp$374).subscribe(function(e){return function(){a.issueFullFridge.poke(e.issueId$jscomp$374,{trustMemory:!1})}}(d))),a.punctualSubscriptions.add(a.punctualService.watch("issue-experimental-field-edit",
d.issueId$jscomp$374).subscribe(function(e){return function(){a.issueExperimentalFieldsFridge.poke(e.issueId$jscomp$374,{trustMemory:!1})}}(d))))};KX.prototype.ngOnInit=function(){var a=this;setTimeout(function(){a.appSearchState.clear()})};KX.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.punctualSubscriptions.unsubscribe()};
var bob=function(a,b){a.triageService.mode!==1&&(a.triageService.setIssueIds(b),a.triageService.openSidebar())},o4c=function(a,b){return v(function(c){if(c.nextAddress==1)return w(c,pi(a.userPreferencesManager.saveResultsPerPage(b)),2);a.pageNumber$.next(1);ji(c)})};KX.prototype.onSortChange=function(a){this.activeSort$.next(a)};
KX.prototype.onColumnsChange=function(a){var b=this,c,d,e;return v(function(f){if(f.nextAddress==1)return w(f,pi(b.teamExperimentalFields$),2);d=(c=f.yieldResult)!=null?c:{id:b.teamId,triage:[{id:$k(b.triageId)}],playbooks:[]};e=d.triage.findIndex(function(h){return""+h.id===b.triageId});if(e===-1)return f.return();d.triage[e].displayColumns=a;return w(f,pi(Ryc(b.teamsService,d)),0)})};
KX.prototype.toggleStar=function(){var a=this;return v(function(b){if(b.nextAddress==1)return a.savingStar=!0,w(b,rCc(a.starredTeamsService,a.triageId,a.teamId),2);a.savingStar=!1;ji(b)})};KX.prototype.refreshTable=function(){this.refreshMonitor.refreshRequest.next();this.data.reload();this.selectedIssues.clear()};
var Knb=function(a,b){var c,d,e,f;return v(function(h){if(h.nextAddress==1)return w(h,pi(a.phase$),2);c=h.yieldResult;d=Sr[c];e=b&&NBc[b];f=Hq.viewTriage.makeHref(a.teamId,a.triageId,d,e);return w(h,a.bLocation.setUrl(f,!0),0)})};KX.\u0275fac=function(a){return new (a||KX)};
KX.\u0275cmp=F({type:KX,selectors:[["b-triage-phase"]],standalone:!1,features:[xj],decls:54,vars:64,consts:[["subphaseMenu","matMenu"],["issuesTable",""],[1,"pos-fill","flex-kids-y"],[1,"border-bottom","padded-s-sides","flex-kids-x","align-items-center","gap-xs"],["type","button","mat-icon-button","","matTooltip","Refresh","aria-label","Refresh",1,"medium",3,"onHotkey","click","hotkey"],["color","primary","svgIcon","refresh",1,"icon-m"],[3,"starClicked","starred","disabled","starMessage","unStarMessage"],
[1,"margin-none","nowrap"],["svgIcon","chevron-right",1,"icon-s","muted"],[1,"flex-kids-x","align-items-center","gap-s"],["type","button","mat-stroked-button","","color","neutral",1,"small","gmat-button",3,"matMenuTriggerFor","matTooltip"],[1,"margin-xs-right"],["name","arrow-dropdown","size","small"],["type","button","mat-menu-item","",3,"click"],["type","button","mat-menu-item",""],[1,"margin-left-auto",3,"pageSizeChange","prevPage","nextPage","showPageSizeSelector","startIndex","endIndex","totalNumber",
"hasPreviousPage","hasNextPage","pageSize"],[1,"flex-kids-x"],["href","http://go/b-triage-docs","target","_blank","mat-icon-button","","aria-label","More info about the new triage UI","matTooltip","More info about the new triage UI",1,"medium","gfx-muted","settings-btn"],["svgIcon","info",1,"icon-s"],["mat-icon-button","","aria-label","Configure triage for your team","matTooltip","Configure triage for your team",1,"medium","gfx-muted","settings-btn",3,"href"],["svgIcon","settings",1,"icon-s"],["mode",
"indeterminate"],[1,"flex-1","flex-kids-x","overflow","overflow-on-print-media"],[1,"flex-1","pos-rel","overflow","overflow-on-print-media"],["direction","rtl",3,"widthChanged","minWidth","maxWidth","size"],[3,"refreshable"],[1,"type-xs","flex-kids-x","align-items-center"],[1,"b-chip","xs","alert-chip"],["aria-label","Select filter",1,"padded-s-sides",3,"multiple"],["aria-label","Select filter",1,"padded-s-sides",3,"change","multiple"],["appearance","hairline-filter",3,"value","selected"],[3,"matTooltip"],
[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"refreshTable"],[3,"issueIds","tableColumns","editableColumns","options","teamId","showReadStatus","alerts"],[1,"full-height","flex-kids-y","align-items-center","justify-content-center","gap"],[3,"activeIssueChange","rowClick","selectedIssuesChange","sortChange","columnsChange","issueIds","tableColumns","editableColumns","options","teamId","showReadStatus","alerts"],["aria-hidden","true","alt","","height","232","width","321",3,"src"]],template:function(a,
b){if(a&1){var c=y();L(0,"div",2)(1,"header",3)(2,"button",4);Q("onHotkey",function(){z(c);return B(b.refreshTable())})("click",function(){z(c);return B(b.refreshTable())});N(3,"mat-icon",5);M();L(4,"b-star-toggle",6);W(5,"async");Q("starClicked",function(){z(c);return B(b.toggleStar())});M();L(6,"h2",7);U(7);W(8,"async");M();N(9,"mat-icon",8);I(10,Jnb,9,7,"div",9);W(11,"async");N(12,"mat-icon",8);L(13,"button",10);W(14,"async");L(15,"span",11);U(16);W(17,"async");M();N(18,"b-icon",12);M();L(19,"mat-menu",
null,0)(21,"button",13);Q("click",function(){z(c);return B(Knb(b))});U(22,"All subphases");M();N(23,"hr");Mj(24,Lnb,2,1,"button",14,Lj);W(26,"async");M();L(27,"b-paginator",15);W(28,"async");W(29,"async");W(30,"async");W(31,"async");W(32,"async");W(33,"async");W(34,"async");W(35,"async");Q("pageSizeChange",function(H){z(c);return B(o4c(b,H))})("prevPage",function(){z(c);b.pageNumber$.next(b.pageNumber$.value-1);return B()})("nextPage",function(){z(c);b.pageNumber$.next(b.pageNumber$.value+1);return B()});
M();L(36,"div",16)(37,"a",17);N(38,"mat-icon",18);M();L(39,"a",19);N(40,"mat-icon",20);M()()();I(41,Mnb,1,0,"mat-progress-bar",21);W(42,"async");L(43,"div",22)(44,"div",23);I(45,Snb,2,3);W(46,"async");I(47,Vnb,1,5,"ng-container");W(48,"async");M();L(49,"b-resizable-sidebar",24);W(50,"async");Q("widthChanged",function(H){z(c);H<b.RIGHT_SIDEBAR_MIN_WIDTH||(b.sidebarWidthPreference$.next(H),rjc("triage-sidebar-width")(H));return B()});G(51,aob,2,3,"ng-template",25);M()()();G(52,gob,2,1,"ng-template",
null,1,Gk)}if(a&2){var d,e,f,h;a=T(20);E(2);K("hotkey",b.HOTKEYS.REFRESH_ISSUE);E(2);K("starred",X(5,28,b.starred$))("disabled",b.savingStar)("starMessage","Star this team to add it to the Triage section on the left sidebar")("unStarMessage","Unstar this team to remove it from the Triage section on the left sidebar");E(3);V(" ",X(8,30,b.data.triageName$)," ");E(3);J((d=X(11,32,b.phaseData$))?10:-1,d);E(3);K("matTooltip",yk(X(14,34,b.subphaseSelectorTooltip$)))("matMenuTriggerFor",a);E(3);tk(X(17,
36,b.subphaseDisplayName$));E(8);Nj(X(26,38,b.subphases$));E(3);rk("invisible",!((e=X(28,40,b.issueIdsToRender$))==null?0:e.length));var k,q,u,A;K("showPageSizeSelector",!0)("startIndex",(k=X(29,42,b.startIndex$))!=null?k:1)("endIndex",(q=X(30,44,b.endIndex$))!=null?q:0)("totalNumber",(u=X(31,46,b.filteredTotalRowCount$))!=null?u:0)("hasPreviousPage",X(32,48,b.pageNumber$)>1)("hasNextPage",X(33,50,b.filteredTotalRowCount$)>X(34,52,b.endIndex$))("pageSize",(A=X(35,54,b.pageSize$))!=null?A:0);E(12);
K("href",b.ROUTES.editTeam.makeHref(b.teamId,"triage"),Ni);E(2);J(X(42,56,b.data.isLoading$)?41:-1);E(4);J(((f=X(46,58,b.allIssuesInSubphase$))==null?0:f.length)?45:-1);E(2);J((h=X(48,60,b.issueIdsToRender$))?47:-1,h);E(2);var D;K("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("maxWidth",b.RIGHT_SIDEBAR_MAX_WIDTH)("size",(D=X(50,62,b.sidebarWidth$))!=null?D:0);E(2);K("refreshable",b.triageService.currentIssueIds$)}},dependencies:[oy,EA,dA,aA,bA,QP,YP,WP,FL,mK,kK,pK,MO,NO,YF,WF,DL,jK,AT,VT,kS,WT,JX,NL,ML,WR,
py],styles:[".settings-btn[_ngcontent-%COMP%]{line-height:38px}.left[_ngcontent-%COMP%]{overflow:hidden auto}.alert-chip[_ngcontent-%COMP%]{background-color:#c5221f;background-color:var(--text-bad);color:#fff;color:var(--text-inverse);margin-right:0;padding-top:2px;padding-left:5px;padding-bottom:2px;line-height:inherit}[_nghost-%COMP%]     .mat-column-title{width:100%;min-width:400px}[_nghost-%COMP%]     .mat-column-alerts.mat-mdc-cell, [_nghost-%COMP%]     .mat-column-alerts.mat-mdc-header-cell{padding:0}[_nghost-%COMP%]     .mat-column-componentName{max-width:150px}[_nghost-%COMP%]     .mat-column-title .pop-out-link{display:none}\n/*# sourceMappingURL=triage_phase.css.map */"],
changeDetection:0});var LX=function(){};LX.\u0275fac=function(a){return new (a||LX)};LX.\u0275mod=Zi({type:LX});LX.\u0275inj=Eg({});var MX=function(){};MX.\u0275fac=function(a){return new (a||MX)};MX.\u0275mod=Zi({type:MX});MX.\u0275inj=Eg({imports:[jC,vM,FI,JL,LX]});var NX=function(){};NX.\u0275fac=function(a){return new (a||NX)};NX.\u0275mod=Zi({type:NX});NX.\u0275inj=Eg({imports:[jC,FI,IL,JL]});var OX=function(){};OX.\u0275fac=function(a){return new (a||OX)};OX.\u0275mod=Zi({type:OX});OX.\u0275inj=Eg({imports:[jC,FG,FI,RQ,IL,OQ,aM,JL,EL,vM,cW,gW,xM,NX,GG,FW,QL,oL,MX]});var PX=function(){var a=this;this.teamsService=x(kF);this.placeholder="Choose Team";this.panelWidth="574px";this.disabled=!1;this.onTeamSelect=new iE;this.onEmptyQuery=new iE;this.searchQuery$=new oj;this.teamSuggestions$=this.searchQuery$.pipe(fj(300),jj(),sj(function(b){return mF(a.teamsService,b)}),C(function(b){return b.map(function(c){return new mob(c.pathIds,c.pathNames,c.description)})}))};PX.prototype.updateSelectionOnChange=function(a){this.onTeamSelect.emit(a.option.value)};
PX.prototype.search=function(a){a||this.onEmptyQuery.emit();this.searchQuery$.next(a)};PX.prototype.displayFn=function(a){return a?a.name:""};PX.prototype.ngAfterViewInit=function(){};PX.\u0275fac=function(a){return new (a||PX)};
PX.\u0275cmp=F({type:PX,selectors:[["b-team-picker"]],viewQuery:function(a,b){a&1&&ek(TN,7);if(a&2){var c;ik(c=jk())&&(b.autocompleteTrigger=c.first)}},inputs:{teamSelected:"teamSelected",placeholder:"placeholder",panelWidth:"panelWidth",disabled:"disabled"},outputs:{onTeamSelect:"onTeamSelect",onEmptyQuery:"onEmptyQuery"},standalone:!1,decls:8,vars:10,consts:[["searchInput",""],["auto","matAutocomplete"],[1,"team-id-select"],["id","team-id","matInput","","type","text","autocomplete","off","aria-label",
"Team selection",3,"click","input","placeholder","ngModel","disabled","matAutocomplete"],[3,"optionSelected","panelWidth","displayWith"],[1,"team-search-result",3,"value"],[1,"description",3,"matTooltip"],[1,"path-names",3,"click","matTooltip"],[1,"path-names-separator"]],template:function(a,b){if(a&1){var c=y();L(0,"div",2)(1,"input",3,0);Q("click",function(){z(c);var d=T(2);return B(b.search(d.value))})("input",function(){z(c);var d=T(2);return B(b.search(d.value))});M();L(3,"mat-autocomplete",
4,1);Q("optionSelected",function(d){z(c);return B(b.updateSelectionOnChange(d))});Mj(5,pob,7,7,"mat-option",5,Lj);W(7,"async");M()()}a&2&&(a=T(4),E(),K("placeholder",yk(b.placeholder))("ngModel",b.teamSelected)("disabled",b.disabled)("matAutocomplete",a),Hj("aria-disabled",b.disabled),E(2),K("panelWidth",b.panelWidth)("displayWith",b.displayFn),E(2),Nj(X(7,8,b.teamSuggestions$)))},dependencies:[VN,SN,Vz,TN,YF,WF,Bp,hG,oG,py,wy],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)}.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;white-space:nowrap}"],
changeDetection:0});var mob=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 p4c(a.slice(0,e+1),b.slice(0,e+1))})},p4c=function(a,b){this.pathIds=a;this.pathNames=b;this.name=b.length>0?b[b.length-1]:"";this.pathNameText=b.join(" > ")};var QX=function(){Z.apply(this,arguments);var a=this;this.teamExperimentalFieldsFridge=x(pF);this.teamsService=x(kF);this.starredTeamsService=x(QH);this.teamUserActivity=x(PH);this.selectedTeam$=new $n(null);this.suggestedTeams$=this.teamUserActivity.mostActiveTeams$;this.starInProgress={};this.starredTriageViews$=this.starredTeamsService.starredTriageViews$;this.tableColumns=["starred","triageName","teamName","scope"];this.populateEmptyExperiments=ai(C(function(b){b=l(b);var c=b.next().value;b.next().value.forEach(function(d){c.has(d)||
c.set(d,{id:d,triage:[{id:0}],playbooks:[]})});return c}));this.suggestedTeamIds$=this.suggestedTeams$.pipe(C(function(b){return b.map(function(c){return c.teamId})}));this.starredAndSuggestedTeamIds$=si([this.starredTriageViews$,this.suggestedTeamIds$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;c=new Set(c);b=l(b);for(var d=b.next();!d.done;d=b.next())c.add(d.value.teamId);return[].concat(p(c))}));this.teamIdToTeamExperiments$=this.starredAndSuggestedTeamIds$.pipe(sj(function(b){return a.teamExperimentalFieldsFridge.watchSet([].concat(p(b))).pipe(C(function(c){return new Map(c.map(function(d){return[d.id,
d]}))}))}),dj(this.starredAndSuggestedTeamIds$),this.populateEmptyExperiments);this.teamIds$=this.teamIdToTeamExperiments$.pipe(C(function(b){return[].concat(p(b.keys()))}));this.teamIdToTriageViews$=this.teamIdToTeamExperiments$.pipe(C(function(b){return Hha(b,function(c){return Yf(c.triage,function(d){return d.id.toString()})})}));this.teamsIdToTeamName$=this.teamIds$.pipe(sj(function(b){return Qyc(a.teamsService,b).pipe(C(function(c){var d=new Map;c=l(c);for(var e=c.next();!e.done;e=c.next()){var f=
l(e.value);e=f.next().value;f=f.next().value;d.set(e,f.name)}return d}))}));this.starredTeamIdToTriageIds$=this.starredTriageViews$.pipe(C(function(b){var c=new Map;b=l(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d=e.teamId;e=e.triageId;var f=void 0,h=(f=c.get(d))!=null?f:new Set;h.add(e);c.set(d,h)}return c}));this.defaultTriageViewList$=si([this.teamIdToTriageViews$,this.teamsIdToTeamName$,this.starredTeamIdToTriageIds$,this.suggestedTeamIds$]).pipe(C(function(b){var c=l(b);var d=c.next().value;
b=c.next().value;var e=c.next().value;c=c.next().value;c=new Set(c);var f=[];d=l(d);for(var h=d.next();!h.done;h=d.next()){var k=l(h.value);h=k.next().value;var q=k=k.next().value;k=c.has(h);var u=void 0,A=(u=b.get(h))!=null?u:h;q=l(q);for(u=q.next();!u.done;u=q.next()){var D=l(u.value);u=D.next().value;D=D.next().value;var H=void 0,O=void 0,P=(O=(H=e.get(h))==null?void 0:H.has(u))!=null?O:!1;if(k||P)H=void 0,f.push({teamId:h,teamName:A,triageId:u,triageName:Hp(A,D),scope:(H=D.scope)!=null?H:""})}}return f}));
this.selectedTeamExperiment$=this.selectedTeam$.pipe(sj(function(b){return b===null?li(void 0):a.teamExperimentalFieldsFridge.watch(b.id)}));this.selectedTeamTriageRows$=si([this.selectedTeam$,this.selectedTeamExperiment$]).pipe(C(function(b){b=l(b);var c=b.next().value;b=b.next().value;return c===null?[]:b===void 0?[{teamId:c.id,teamName:c.name,triageId:"0",triageName:Hp(c.name)}]:b.triage.map(function(d){var e;return{teamId:c.id,teamName:c.name,triageId:d.id.toString(),triageName:Hp(c.name,d),scope:(e=
d.scope)!=null?e:""}})}));this.triageRows$=si([this.defaultTriageViewList$,this.selectedTeamTriageRows$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return c.length?c:b}))};Y(QX,Z);QX.\u0275dir=Z.\u0275dir;QX.prototype.getTriageLink=function(a,b){return Hq.viewTriage.makeHref(b,a)};QX.prototype.isTriageStarred=function(a,b,c){return c.some(function(d){return d.triageId===a&&d.teamId===b})};QX.prototype.onTeamSelect=function(a){this.selectedTeam$.next(a)};
QX.prototype.toggleStar=function(a,b){var c=this,d;return v(function(e){if(e.nextAddress==1){d=a+":"+b;if(c.starInProgress[d])return e.jumpTo(0);c.starInProgress[d]=!0;return w(e,rCc(c.starredTeamsService,a,b),3)}c.starInProgress[d]=!1;ji(e)})};QX.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(QX)))(b||QX)}}();
QX.\u0275cmp=F({type:QX,selectors:[["ng-component"]],standalone:!1,features:[xj],decls:15,vars:11,consts:[[1,"pos-fill","overflow","overflow-on-print-media"],[1,"border-bottom","padded-sides"],[1,"main-content","padded"],[1,"margin-bottom","team-picker-container"],[3,"onTeamSelect","onEmptyQuery","teamSelected","panelWidth","placeholder"],[1,"margin-bottom"],["mat-table","",1,"full-width",3,"dataSource","fixedLayout"],["matColumnDef","starred"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell",
"",4,"matCellDef"],["matColumnDef","triageName"],["mat-cell","","class","triage-name",4,"matCellDef"],["matColumnDef","teamName"],["mat-cell","","class","team-name-2",4,"matCellDef"],["matColumnDef","scope"],["mat-cell","","class","scope",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],[1,"a11y-only"],["mat-cell",""],["tabindex","-1",3,"starClicked","disabled","starred","starMessage","unStarMessage"],["mat-cell","",1,
"triage-name"],[1,"hover-link",3,"href"],["mat-cell","",1,"team-name-2"],["mat-cell","",1,"scope"],["mat-header-row",""],["mat-row",""]],template:function(a,b){a&1&&(L(0,"div",0)(1,"header",1)(2,"h2"),U(3," Search triage view "),M()(),L(4,"div",2)(5,"div",3)(6,"b-team-picker",4),W(7,"async"),Q("onTeamSelect",function(d){return b.onTeamSelect(d)})("onEmptyQuery",function(){b.selectedTeam$.next(null)}),M()(),L(8,"div",5)(9,"h3"),I(10,qob,1,0),W(11,"async"),Jj(12,rob,1,0),M(),I(13,Eob,3,3),W(14,"async"),
M()()());if(a&2){var c;E(6);K("teamSelected",X(7,5,b.selectedTeam$))("panelWidth","400px")("placeholder","Search by team name or id");E(4);J(X(11,7,b.selectedTeam$)?10:12);E(3);J((c=X(14,9,b.starredTriageViews$))?13:-1,c)}},dependencies:[RP,eL,SK,YK,UK,RK,$K,VK,XK,aL,cL,lL,WR,PX,py],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-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-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}[_nghost-%COMP%]{display:block;padding:16px}.scope[_ngcontent-%COMP%]{width:50%}.team-picker-container[_ngcontent-%COMP%]{width:400px}\n/*# sourceMappingURL=triage_settings.css.map */"]});var RX=function(){};RX.\u0275fac=function(a){return new (a||RX)};RX.\u0275mod=Zi({type:RX});RX.\u0275inj=Eg({imports:[jC,XN,SL,JL,FG]});var SX=function(){};SX.\u0275fac=function(a){return new (a||SX)};SX.\u0275mod=Zi({type:SX});SX.\u0275inj=Eg({imports:[jC,FI,SQ,JL,oL,MX,PP,RX]});var TX=function(){};TX.\u0275fac=function(a){return new (a||TX)};TX.\u0275mod=Zi({type:TX});TX.\u0275inj=Eg({imports:[jC,IX,OX,SX,AW]});var UX=function(){this.roundCorners=this.showDividers=!1};UX.\u0275fac=function(a){return new (a||UX)};
UX.\u0275cmp=F({type:UX,selectors:[["b-button-group"]],hostVars:4,hostBindings:function(a,b){a&2&&rk("show-dividers",b.showDividers)("round-corners",b.roundCorners)},inputs:{showDividers:"showDividers",roundCorners:"roundCorners"},standalone:!1,ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Zj(),ak(0))},styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap}.show-dividers[_nghost-%COMP%]     button.gmat-mdc-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-mdc-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-mdc-button:not(:last-of-type), [_nghost-%COMP%]:not(.round-corners)     :not(:last-child) button.gmat-mdc-button{margin-right:-1px;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}[_nghost-%COMP%]:not(.round-corners)     button.gmat-mdc-button:not(:first-of-type), [_nghost-%COMP%]:not(.round-corners)     :not(:first-child) button.gmat-mdc-button{border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}[_nghost-%COMP%]:not(.round-corners)     button.gmat-mdc-button:hover{z-index:2}[_nghost-%COMP%]:not(.round-corners)     button.gmat-mdc-button:focus{z-index:3}/*# sourceMappingURL=button-group.css.map */"],changeDetection:0});var VX=function(){this.constants=x(oI);this.activeSession=x(Ks);this.STATUS_JS_FULL_TEXT=Nd;this.STATUSES=qDc;this.SEVERITIES_VALUES=vDc;this.PRIORITIES_VALUES=pDc;this.enableBulkEstimatedEffortOption=!1;this.onBulkEdit=new iE;this.onQuickBulkEdit=new iE;this.onBulkEditIssueRelation=new iE;this.onBulkMarkIssueRead=new iE;this.isAnonymous=this.activeSession.isAnonymous();this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha()};g=VX.prototype;g.bulkEdit=function(a){this.onBulkEdit.emit(a)};
g.quickBulkEdit=function(a,b){this.onQuickBulkEdit.emit({field:a,newValue:b})};g.bulkEditIssueRelation=function(a,b){this.onBulkEditIssueRelation.emit({issueRelation:a,isMarking:b===void 0?!0:b})};g.bulkMarkIssueRead=function(){this.onBulkMarkIssueRead.emit()};g.getIssueTypes=function(){return this.constants.editIssueTypeChoices.filter(function(a){return a.value!=="VULNERABILITY"})};VX.\u0275fac=function(a){return new (a||VX)};
VX.\u0275cmp=F({type:VX,selectors:[["b-app-bar-bulk-edit-menus"]],inputs:{readStatePrompt:"readStatePrompt",enableBulkEstimatedEffortOption:"enableBulkEstimatedEffortOption"},outputs:{onBulkEdit:"onBulkEdit",onQuickBulkEdit:"onQuickBulkEdit",onBulkEditIssueRelation:"onBulkEditIssueRelation",onBulkMarkIssueRead:"onBulkMarkIssueRead"},standalone:!1,decls:97,vars:13,consts:[["editMenu","matMenu"],["prioritySubmenu","matMenu"],["severitySubmenu","matMenu"],["statusSubmenu","matMenu"],["typeSubmenu","matMenu"],
["ArchiveSubmenu","matMenu"],["inProdSubmenu","matMenu"],["linkMenu","matMenu"],["ccMenu","matMenu"],["type","button","mat-button","",1,"medium",3,"disabled","matMenuTriggerFor"],["type","button","mat-button","",1,"medium",3,"click","disabled"],["type","button","mat-menu-item","",3,"click"],["type","button","mat-menu-item","",3,"matMenuTriggerFor"],["type","button","mat-menu-item",""],["name","arrow-dropdown","size","small"],["type","button","mat-menu-item","",3,"click","matTooltip"],[3,"svgIcon"]],
template:function(a,b){if(a&1){var c=y();L(0,"b-button-group");I(1,Fob,4,2,"button",9);L(2,"button",10);Q("click",function(){z(c);return B(b.bulkMarkIssueRead())});U(3);M();I(4,Gob,4,2,"button",9);I(5,Hob,4,2,"button",9);M();L(6,"mat-menu",null,0)(8,"button",11);Q("click",function(){z(c);return B(b.bulkEdit("ASSIGNEE"))});U(9,"Assignee");M();L(10,"button",11);Q("click",function(){z(c);return B(b.bulkEdit("COMPONENT"))});U(11,"Component");M();L(12,"button",12);U(13,"Priority");M();L(14,"button",12);
U(15,"Severity");M();L(16,"button",12);U(17,"Status");M();L(18,"button",12);U(19,"Type");M();L(20,"button",11);Q("click",function(){z(c);return B(b.bulkEdit("VERIFIER"))});U(21,"Verifier");M();L(22,"button",11);Q("click",function(){z(c);return B(b.bulkEdit("REPORTER"))});U(23,"Reporter");M();L(24,"button",11);Q("click",function(){z(c);return B(b.bulkEdit("CHANGELIST"))});U(25,"Changelist");M();L(26,"button",11);Q("click",function(){z(c);return B(b.bulkEdit("CUSTOM_FIELDS"))});U(27,"Custom Fields");
M();L(28,"button",12);U(29," Archival state ");M();L(30,"button",11);Q("click",function(){z(c);return B(b.bulkEdit("FOUND_IN"))});U(31,"Found In");M();L(32,"button",11);Q("click",function(){z(c);return B(b.bulkEdit("SLO_START_TIME"))});U(33,"SLO Start Time");M();I(34,Iob,2,0,"button",13);L(35,"button",11);Q("click",function(){z(c);return B(b.bulkEdit("VERIFIED_IN"))});U(36,"Verified In");M();L(37,"button",11);Q("click",function(){z(c);return B(b.bulkEdit("TARGETED_TO"))});U(38,"Targeted To");M();
L(39,"button",12);U(40,"In Prod");M();N(41,"mat-divider");L(42,"button",11);Q("click",function(){z(c);return B(b.bulkEdit("COMMENT"))});U(43,"Add Comment");M()();L(44,"mat-menu",null,1);Mj(46,Job,2,1,"button",13,Lj);M();L(48,"mat-menu",null,2);Mj(50,Kob,2,1,"button",13,Lj);M();L(52,"mat-menu",null,3);Mj(54,Lob,2,1,"button",13,Lj);M();L(56,"mat-menu",null,4);Wj(58);Mj(59,Oob,4,4,null,null,Lj);M();L(61,"mat-menu",null,5)(63,"button",11);Q("click",function(){z(c);return B(b.quickBulkEdit("IS_ARCHIVED",
!0))});U(64,"Archive");M();L(65,"button",11);Q("click",function(){z(c);return B(b.quickBulkEdit("IS_ARCHIVED",!1))});U(66,"Unarchive");M()();L(67,"mat-menu",null,6)(69,"button",11);Q("click",function(){z(c);return B(b.quickBulkEdit("IN_PROD",!0))});U(70,"In Prod");M();L(71,"button",11);Q("click",function(){z(c);return B(b.quickBulkEdit("IN_PROD",!1))});U(72,"Not in Prod");M()();L(73,"mat-menu",null,7)(75,"button",11);Q("click",function(){z(c);return B(b.bulkEditIssueRelation("BLOCKED_BY",!0))});U(76,
"Mark as Blocked By");M();L(77,"button",11);Q("click",function(){z(c);return B(b.bulkEditIssueRelation("BLOCKING",!0))});U(78,"Mark as Blocking");M();L(79,"button",11);Q("click",function(){z(c);return B(b.bulkEditIssueRelation("PARENT",!0))});U(80,"Add Parent");M();L(81,"button",11);Q("click",function(){z(c);return B(b.bulkEditIssueRelation("DUPLICATE"))});U(82,"Duplicate");M();L(83,"button",11);Q("click",function(){z(c);return B(b.bulkEditIssueRelation("BLOCKED_BY",!1))});U(84,"Unmark as Blocked By");
M();L(85,"button",11);Q("click",function(){z(c);return B(b.bulkEditIssueRelation("BLOCKING",!1))});U(86,"Unmark as Blocking");M();L(87,"button",11);Q("click",function(){z(c);return B(b.bulkEditIssueRelation("PARENT",!1))});U(88,"Remove Parent");M()();L(89,"mat-menu",null,8)(91,"button",11);Q("click",function(){z(c);return B(b.quickBulkEdit("CC",!0))});U(92,"CC me");M();L(93,"button",11);Q("click",function(){z(c);return B(b.quickBulkEdit("CC",!1))});U(94,"Un-CC me");M();L(95,"button",11);Q("click",
function(){z(c);return B(b.bulkEdit("CC"))});U(96,"Edit CC");M()()}if(a&2){a=T(45);var d=T(49),e=T(53),f=T(57),h=T(62),k=T(68);E();J(b.enableBulkEditUi?1:-1);E();K("disabled",b.isAnonymous);E();V(" ",b.readStatePrompt," ");E();J(b.enableBulkEditUi?4:-1);E();J(b.enableBulkEditUi?5:-1);E(7);K("matMenuTriggerFor",a);E(2);K("matMenuTriggerFor",d);E(2);K("matMenuTriggerFor",e);E(2);K("matMenuTriggerFor",f);E(10);K("matMenuTriggerFor",h);E(6);J(b.enableBulkEstimatedEffortOption?34:-1);E(5);K("matMenuTriggerFor",
k);E(7);Nj(b.PRIORITIES_VALUES);E(4);Nj(b.SEVERITIES_VALUES);E(4);Nj(b.STATUSES);E(4);a=Xj(b.getIssueTypes());E();Nj(a)}},dependencies:[FL,mK,kK,pK,EA,jK,UX,dA,aA,eN,YF,WF],encapsulation:2,changeDetection:0});var WX=function(){this.activeSession=x(Ks);this.showFlagIssuesAsSpam=this.showExportCsv=!1;this.exportCsvClicked=new iE;this.flagAsSpamClicked=new iE;this.isAnonymous=this.activeSession.isAnonymous()};WX.\u0275fac=function(a){return new (a||WX)};
WX.\u0275cmp=F({type:WX,selectors:[["b-app-bar-more-menu"]],inputs:{showExportCsv:"showExportCsv",showFlagIssuesAsSpam:"showFlagIssuesAsSpam"},outputs:{exportCsvClicked:"exportCsvClicked",flagAsSpamClicked:"flagAsSpamClicked"},standalone:!1,decls:1,vars:1,consts:[["moreMenu","matMenu"],["type","button","mat-button","",1,"medium",3,"disabled","matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["type","button","mat-menu-item",""],["type","button","mat-menu-item","",3,"click"]],template:function(a,
b){a&1&&I(0,Rob,8,4);a&2&&J(b.showExportCsv||b.showFlagIssuesAsSpam?0:-1)},dependencies:[FL,mK,kK,pK,jK,dA,aA],encapsulation:2,changeDetection:0});var XX=function(){};XX.\u0275fac=function(a){return new (a||XX)};XX.\u0275mod=Zi({type:XX});XX.\u0275inj=Eg({imports:[jC]});var YX=function(){};YX.\u0275fac=function(a){return new (a||YX)};YX.\u0275mod=Zi({type:YX});YX.\u0275inj=Eg({imports:[IL,jC,vM,XX,FI,oN,JL]});var aY=function(){var a=this;this.activeSession=x(Ks);this.connectionChecker=x(ZX);this.ssoInterceptorState=x($X);this.notifyUserAndWaitForGoodConnection$=new bi(function(b){a.ssoInterceptorState.showRefreshSso$.next(!0);var c=a.watchForRestoredConnection$.subscribe(b);a.watchForRestoredConnection$.subscribe(function(){a.ssoInterceptorState.showRefreshSso$.next(!1)});return function(){c.unsubscribe()}});this.watchForRestoredConnection$=yi(window,"focus").pipe(sj(function(){return a.connectionChecker.ok$}),
Di(function(b){return b}),hj(1),C(function(){}),aqa())};aY.prototype.intercept=function(a,b){return Cx(this.activeSession,"enableRefreshSsoPopup")&&a.url&&a.url.startsWith("action/")?q4c(this,b,a):b.handle(a)};
var q4c=function(a,b,c){return new bi(function(d){var e=b.handle(c).subscribe({next:function(h){d.next(h)},complete:function(){d.complete()},error:function(h){r4c(a,b,c,h).pipe(tj(f)).subscribe(d)}}),f=new nj(1);return function(){f.next();e.unsubscribe()}})},r4c=function(a,b,c,d){return d.status===403||d.status===404||d.status===429?mi(function(){return d}):a.connectionChecker.ok$.pipe(sj(function(e){return e?mi(function(){return d}):a.notifyUserAndWaitForGoodConnection$.pipe(sj(function(){return b.handle(c)}))}))};
aY.\u0275fac=function(a){return new (a||aY)};aY.\u0275prov=Dg({token:aY,factory:aY.\u0275fac,providedIn:"root"});var $X=function(){this.showRefreshSso$=new $n(!1)};$X.\u0275fac=function(a){return new (a||$X)};$X.\u0275prov=Dg({token:$X,factory:$X.\u0275fac,providedIn:"root"});var ZX=function(){var a=this;this.ngZone=x(Kk);this.ok$=new bi(function(b){var c=j4a("action/yes",function(){a.ngZone.run(function(){c.isSuccess()?b.next(c.getResponseText()==="yes"):b.next(!1);b.complete()})});return function(){c.dispose()}})};
ZX.\u0275fac=function(a){return new (a||ZX)};ZX.\u0275prov=Dg({token:ZX,factory:ZX.\u0275fac,providedIn:"root"});var s4c={provide:kqc,useClass:aY,multi:!0};var t4c=function(){this.activeSession=x(Ks);this.ssoInterceptorState=x($X);this.showRefreshSsoMessage$=this.ssoInterceptorState.showRefreshSso$;this.isAnonymous=this.activeSession.isAnonymous()};t4c.\u0275fac=function(a){return new (a||t4c)};
t4c.\u0275cmp=F({type:t4c,selectors:[["b-sso-expired-callout-outlet"]],standalone:!1,decls:2,vars:3,consts:[["format","app",3,"messageType"],["type","button","mat-flat-button",""],["type","button","mat-flat-button","",3,"click"]],template:function(a,b){a&1&&(I(0,Wob,6,3,"b-callout",0),W(1,"async"));a&2&&J(X(1,1,b.showRefreshSsoMessage$)?0:-1)},dependencies:[sM,tM,dA,aA,py],encapsulation:2,changeDetection:0});var u4c=function(){var a=this;this.session=x(Ks);this.principalTypes=x(YE);this.cdr=x(jE,{self:!0});this.showHiringBanner=!1;Cx(this.session,"weAreHiring")&&ZE(this.principalTypes,this.session.getUserEmail(),!0).then(function(b){a.showHiringBanner=b.detailedUserType==="UNRESTRICTED_GOOGLER";a.cdr.detectChanges()}).catch(function(){})};u4c.\u0275fac=function(a){return new (a||u4c)};
u4c.\u0275cmp=F({type:u4c,selectors:[["b-hiring-banner"]],standalone:!1,features:[Bk([jE])],decls:1,vars:1,consts:[["title","See jobs related to Buganizer","href","http://goto.google.com/buganizer-hiring","target","_blank",1,"hiring-banner"]],template:function(a,b){a&1&&I(0,Xob,2,0,"a",0);a&2&&J(b.showHiringBanner?0:-1)},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 bY=function(){};bY.\u0275fac=function(a){return new (a||bY)};bY.\u0275mod=Zi({type:bY});bY.\u0275inj=Eg({imports:[jC]});var cY=function(){this.hotkeys=x(BL)};cY.prototype.ngOnInit=function(){this.hotkeys.pause()};cY.prototype.ngOnDestroy=function(){this.hotkeys.unpause()};cY.\u0275fac=function(a){return new (a||cY)};
cY.\u0275cmp=F({type:cY,selectors:[["b-hotkeys-dialog"]],standalone:!1,decls:9,vars:0,consts:[["mat-dialog-title",""],["mat-button","","mat-dialog-close","","type","button",1,"medium","primary"],["colspan","2"],[1,"bv2-hotkeys-header"],[1,"bv2-hotkeys-key"],[1,"bv2-hotkeys-value"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1,"Keyboard shortcuts"),M(),L(2,"mat-dialog-content")(3,"table"),Mj(4,Zob,7,1,"thead",null,Lj),M()(),L(6,"mat-dialog-actions")(7,"button",1),U(8,"Close"),M()());a&2&&(E(4),Nj(jKc(b.hotkeys)))},
dependencies:[dA,aA,fI,hI,jI,iI],encapsulation:2});var dY=function(){};dY.\u0275fac=function(a){return new (a||dY)};dY.\u0275mod=Zi({type:dY});dY.\u0275inj=Eg({imports:[jC,FI,HI]});var Xr=function(a){this.type=a.type;this.customFieldId=a.customFieldId||void 0;this.customFieldName=a.customFieldName||void 0};Xr.prototype.isCustomField=function(){return this.type==="CUSTOM_FIELD"};Xr.prototype.toApiUrlParam=function(){return this.isCustomField()?this.type.toLowerCase()+"."+this.customFieldId:this.type.toLowerCase()};Xr.prototype.toString=function(){return this.toApiUrlParam()};var $r=function(a,b){this.fieldId=a;this.direction=b};$r.prototype.toApiUrlParam=function(){return this.fieldId.toApiUrlParam()+":"+(this.direction==="ASCENDING"?"asc":"desc")};$r.prototype.toString=function(){return this.toApiUrlParam()};var eY=function(a,b,c){this.internalIssues=a;this.params=b;this.responseMetadata=c;this.numResults=this.responseMetadata.numTotalResults;this.numPages=Math.ceil(this.numResults/b.resultsPerPage);this.startIndex=(b.page-1)*b.resultsPerPage+1;this.endIndex=Math.min(this.startIndex+b.resultsPerPage-1,this.numResults);this.maySkipResults=this.responseMetadata.maySkipResults;this.totalText=this.responseMetadata.totalSizeAccurate?this.numResults.toString():"many";this.changed$=new $n(this)},v4c=function(a,
b){var c=b.positionMap||{},d=b.issues.map(function(e){var f=Qfb(e,null);c&&c[e.issueId]&&(f.position=c[e.issueId]);return f});return new eY(d,a,b)};eY.prototype.hasPreviousPage=function(){return this.params.page>1};eY.prototype.hasNextPage=function(){return!!this.responseMetadata.nextPageToken};
var fY=function(a,b){var c=a.issues.findIndex(function(d){return d.issueId===b});return c!==-1?c+a.startIndex:-1},w4c=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=d.issue;d=d.component;var e=fY(a,c.issueId);e!==-1&&(e-=a.startIndex,Pfb(a.issues[e],c,d))}a.changed$.next(a)},x4c=function(a,b,c,d){b=fY(a,b);b!==-1&&(b-=a.startIndex,d!==void 0&&(a.issues[b].lastViewedTime=d!=null?d:null),c!==void 0&&(a.issues[b].isRead=c),c===void 0&&d===void 0&&(a.issues[b].isRead=!!a.issues[b].lastViewedTime&&
a.issues[b].lastViewedTime>=a.issues[b].majorModifiedTime));a.changed$.next(a)};eY.prototype.clone=function(){var a=new eY(this.internalIssues,this.params,this.responseMetadata);a.changed$.next(a);return a};pg.Object.defineProperties(eY.prototype,{issues:{configurable:!0,enumerable:!0,get:function(){return this.internalIssues},set:function(a){this.internalIssues=a;this.changed$.next(this)}}});var gY=function(){this.issueApi=x(vD);this.hotlistApi=x(zC);this.paths=x(TO)};gY.prototype.create=function(a){return new y4c(this.issueApi,this.hotlistApi,this.paths,a)};gY.\u0275fac=function(a){return new (a||gY)};gY.\u0275prov=Dg({token:gY,factory:gY.\u0275fac,providedIn:"root"});
var y4c=function(a,b,c,d){this.issueApi=a;this.hotlistApi=b;this.paths=c;this.params=d;this.resultPromise=this.searchResultsPage=null},hY=function(a){if(a.params.page<1)return Promise.reject(Error("bf"));if(!a.resultPromise)if(a.params.hotlistId)a.resultPromise=a.hotlistApi.getPagedHotlistContent(a.params.hotlistId,a.params.page,a.params.resultsPerPage,a.params.sortColumns,a.params.trackerIds);else{var b={p:a.params.page,count:a.params.resultsPerPage,trackerIds:a.params.trackerIds},c=xXa(a.params.sortColumns);
c&&(b.s=c);var d;a.resultPromise=a.issueApi.listIssues((d=a.params.query)!=null?d:"",b)}return a.resultPromise.then(function(e){a.searchResultsPage||(a.searchResultsPage=v4c(a.params,e));return a.searchResultsPage},function(e){return Promise.reject(e)})},z4c=function(a){return a.searchResultsPage?a.searchResultsPage.hasNextPage():!0};var iY=function(){this.$window=x(RF);this.searchResultsPageFetcherFactory=x(gY);this.previousResultsFetcher=this.nextResultsFetcher=this.currentResultsFetcher=null;this.focusedIssueIndex=-1},B4c=function(a,b){var c=Cf();A4c(b.page)?(a.setSearchParams(b),hY(a.currentResultsFetcher).then(function(d){d.numPages&&b.page>d.numPages?c.reject(d.numPages):c.resolve(d)},function(d){c.reject(d)})):c.reject(1);return c.promise},D4c=function(a){var b=Cf(),c=null;a.currentResultsFetcher?c=a.currentResultsFetcher.params:
c=C4c(a);c?(a.setSearchParams(c),hY(a.currentResultsFetcher).then(function(d){b.resolve(d)},function(d){b.reject(d)})):b.reject("No related search results available.");return b.promise},E4c=function(a){a.currentResultsFetcher=null;a.nextResultsFetcher=null;a.previousResultsFetcher=null;a.focusedIssueIndex=-1},F4c=function(a,b){var c=Cf();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(Math.abs(d-a.currentResultsFetcher.params.page)>1)return c.reject("Requested index is out of range."),c.promise;var e=wd(a.currentResultsFetcher.params);e.page=d;a.setSearchParams(e);hY(a.currentResultsFetcher).then(function(f){a:{if(b>=f.startIndex&&b<=f.endIndex){var h=b-f.startIndex;if(h<f.issues.length){f=f.issues[h].issueId;break a}}f=void 0}f?(a.focusedIssueIndex=b,c.resolve(f)):c.reject("No issue available at index "+b)},function(f){c.reject(f)});return c.promise};
iY.prototype.getFocusedIssue=function(){return this.focusedIssueIndex};
var G4c=function(a){a.currentResultsFetcher?hY(a.currentResultsFetcher).then(function(b){a.focusedIssueIndex=b.endIndex>=b.startIndex?b.startIndex:-1}).catch(function(b){oe("unexpected error fetching:",b)}):a.focusedIssueIndex=-1},C4c=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 $r(new Xr(b.fieldId),b.direction)}));return a}return null},
H4c=function(a,b,c){b=wd(b);b.page=c;return a.searchResultsPageFetcherFactory.create(b)},I4c=function(a,b){a.currentResultsFetcher||(a.currentResultsFetcher=H4c(a,b,b.page),hY(a.currentResultsFetcher).catch(function(c){oe("unexpected error fetching:",c)}));!a.previousResultsFetcher&&b.page>1&&(a.previousResultsFetcher=H4c(a,b,b.page-1),Fq(2E3).then(function(){var c;return(c=a.previousResultsFetcher)==null?void 0:hY(c)}).catch(function(c){oe("unexpected error fetching:",c)}));!a.nextResultsFetcher&&
z4c(a.currentResultsFetcher)&&(a.nextResultsFetcher=H4c(a,b,b.page+1),Fq(2E3).then(function(){var c;return(c=a.nextResultsFetcher)==null?void 0:hY(c)}).catch(function(c){oe("unexpected error fetching:",c)}))};
iY.prototype.setSearchParams=function(a){a.page=Bd(a.page);if(!a.resultsPerPage||isNaN(a.resultsPerPage))throw Error("cf");this.previousResultsFetcher&&a.page===this.previousResultsFetcher.params.page?(this.nextResultsFetcher=this.currentResultsFetcher,this.currentResultsFetcher=this.previousResultsFetcher,this.previousResultsFetcher=null):this.nextResultsFetcher&&a.page===this.nextResultsFetcher.params.page&&(this.previousResultsFetcher=this.currentResultsFetcher,this.currentResultsFetcher=this.nextResultsFetcher,
this.nextResultsFetcher=null);if(this.currentResultsFetcher){var b=this.currentResultsFetcher.params;a.page===b.page&&a.query===b.query&&vd(a.sortColumns,b.sortColumns)&&a.resultsPerPage===b.resultsPerPage&&vd(a.trackerIds,b.trackerIds)?this.currentResultsFetcher.params.returnUrl=a.returnUrl:E4c(this)}I4c(this,a);a=JSON.stringify(this.currentResultsFetcher.params);this.$window.sessionStorage.setItem("buganizer.searchParams",a)};
var A4c=function(a){var b=Bd(""+a);return isNaN(b)||b!=Number(a)||b<1||b>2147483647?!1:!0};iY.\u0275fac=function(a){return new (a||iY)};iY.\u0275prov=Dg({token:iY,factory:iY.\u0275fac,providedIn:"root"});var jY=function(){this.$window=x(RF);this.activeSession=x(Ks)};jY.prototype.setTitle=function(a){a=as(a,this.activeSession.session);this.$window.document.title=a};jY.\u0275fac=function(a){return new (a||jY)};jY.\u0275prov=Dg({token:jY,factory:jY.\u0275fac,providedIn:"root"});var kY=function(){Z.apply(this,arguments);var a=this;this.paramsService=x(wF);this.issueFullFridge=x(pE);this.pageTitle=x(jY);this.accessIndicatorService=x(DP);this.newTitle$=this.paramsService.routeParams$.pipe(jj(vd),sj(function(b){return a.onRouteParamsChanged(b)}));this.init=function(){a.subscriptions.add(a.newTitle$.subscribe(function(b){a.pageTitle.setTitle(b)}))};this.initOnce=Df(this.init)};Y(kY,Z);kY.\u0275dir=Z.\u0275dir;
kY.prototype.onRouteParamsChanged=function(a){return a.issueId?J4c(this,a.issueId):ix};var J4c=function(a,b){return si([a.issueFullFridge.watch(b),tQc(a.accessIndicatorService,b).pipe(rj(void 0),cj(function(){return li(void 0)}))]).pipe(rj([void 0,void 0]),C(function(c){c=l(c);var d=c.next().value;c=c.next().value;d=d==null?void 0:d.snapshot[0].title;if(!d)return"View issue";d=d+" ["+b+"]";if(c==null?0:c.displayText)d=d+" - "+c.displayText;return d}))};
kY.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(kY)))(b||kY)}}();kY.\u0275prov=Dg({token:kY,factory:kY.\u0275fac,providedIn:"root"});var N4c=function(a){var b=this;this.parentElement=a;this.lastTimestamp=this.state=this.y=this.x=0;this.animate=function(c){b.state!==3&&requestAnimationFrame(b.animate);if(!(c-b.lastTimestamp<30)){b.lastTimestamp=c;if(b.state===2){if(K4c(b),b.x<-50||b.x>document.documentElement.clientWidth+50||b.y<-50||b.y>document.documentElement.clientHeight+50)b.element.remove(),b.state=3}else{b.moveFlipCounter--;b.moveFlipCounter<=0&&(b.state===0?b.state=1:b.state===1&&(b.state=0),b.moveFlipCounter=50+100*Math.random(),
L4c(b));if(b.state===1)return;b.turnCounter--;b.turnCounter<=0&&(b.direction=360*Math.random(),b.turnCounter=40*Math.random());b.x<0&&b.direction>90&&b.direction<270&&(b.direction=(180-b.direction)%360);b.x>document.documentElement.clientWidth&&(b.direction<90||b.direction>270)&&(b.direction=(180-b.direction)%360);b.y<0&&b.direction>180&&(b.direction=360-b.direction);b.y>document.documentElement.clientHeight&&b.direction<180&&(b.direction=360-b.direction);K4c(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();L4c(this);M4c(this)};N4c.prototype.start=function(){this.parentElement.appendChild(this.element);requestAnimationFrame(this.animate)};
N4c.prototype.stop=function(){this.state=2;L4c(this);this.direction=Math.atan2(this.y-document.documentElement.clientHeight/2,this.x-document.documentElement.clientWidth/2)*180/Math.PI+(Math.random()-.5)*90;this.speed=15+10*Math.random()};
var M4c=function(a){var b=Math.floor(Math.random()*4);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)}};
N4c.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 L4c=function(a){a.element.src=a.state===1?"https://www.gstatic.com/buganizer/img/v0/logo.svg":"https://www.gstatic.com/buganizer/img/v0/bug-move.svg"},K4c=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};N4c.prototype.transform=function(){this.element.style.transform="translate("+this.x+"px,"+this.y+"px) rotate("+(this.direction+90)%360+"deg) scaleX("+this.flip};var O4c=function(a){this.element=a;this.bugs=[]};O4c.prototype.start=function(){for(var a=this,b=0;b<3;b++)P4c(this);this.intervalSubscription=Vma(1E4).subscribe(function(){P4c(a);a.bugs.length>=10&&a.intervalSubscription&&a.intervalSubscription.unsubscribe()})};O4c.prototype.stop=function(){this.intervalSubscription&&this.intervalSubscription.unsubscribe();for(var a=l(this.bugs),b=a.next();!b.done;b=a.next())b.value.stop();this.bugs=[]};var P4c=function(a){var b=new N4c(a.element);b.start();a.bugs.push(b)};var lY=function(){var a=this;this.ngZone=x(Kk);this.userPreferencesManager=x(NF);this.snackBar=x(JA);this.elementRef=x(Ph);this.bugAnimation=new O4c(this.elementRef.nativeElement);this.destroyed$=new nj(1);this.active$=new $n(!0);this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY;this.active$.pipe(jj(),tj(this.destroyed$)).subscribe(function(b){b?Q4c(a):R4c(a)})};lY.prototype.ngOnInit=function(){document.visibilityState==="visible"&&S4c(this)};lY.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var S4c=function(a){a.timeoutId=setTimeout(function(){a.active$.next(!1)},18E4)};lY.prototype.onUserEvent=function(){var a=Date.now();a<this.lastTimeoutResetTimestamp+1E4||(this.lastTimeoutResetTimestamp=a,this.active$.next(!0),clearTimeout(this.timeoutId),S4c(this))};lY.prototype.onVisibilityChange=function(){this.onUserEvent();switch(document.visibilityState){case "hidden":clearTimeout(this.timeoutId),this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY}};
var R4c=function(a){a.snackBar.open("Bug screensaver started because of inactivity.","Disable",{duration:5E3}).onAction().subscribe(function(){T4c(a)});a.ngZone.runOutsideAngular(function(){a.bugAnimation.start()})},Q4c=function(a){a.ngZone.runOutsideAngular(function(){a.bugAnimation.stop()})},T4c=function(a){var b,c,d;v(function(e){if(e.nextAddress==1)return b=Object,c=b.assign,w(e,pi(a.userPreferencesManager.bugScreensaverPreferences$),2);d=c.call(b,{},e.yieldResult,{enableBugScreensaver:!1});a.userPreferencesManager.save({bugScreensaverPreferences:d}).subscribe();
ji(e)})};lY.\u0275fac=function(a){return new (a||lY)};
lY.\u0275cmp=F({type:lY,selectors:[["bug-screensaver"]],hostBindings:function(a,b){a&1&&Q("click",function(){return b.onUserEvent()},Rh)("keydown",function(){return b.onUserEvent()},Rh)("mousemove",function(){return b.onUserEvent()},Rh)("wheel",function(){return b.onUserEvent()},Rh)("touchstart",function(){return b.onUserEvent()},Rh)("focus",function(){return b.onUserEvent()},Rh)("visibilitychange",function(){return b.onVisibilityChange()},Sla)},standalone:!1,decls:0,vars:0,template:function(){},
encapsulation:2});var U4c=function(){var a=this;this.userPreferencesManager=x(NF);this.activeSession=x(Ks);this.isEnabled$=this.userPreferencesManager.bugScreensaverPreferences$.pipe(C(function(b){return(b.enableBugScreensaver||!1)&&a.activeSession.isInternalSession()}))};U4c.\u0275fac=function(a){return new (a||U4c)};
U4c.\u0275cmp=F({type:U4c,selectors:[["bug-screensaver-manager"]],standalone:!1,decls:2,vars:3,template:function(a,b){a&1&&(I(0,bpb,1,0,"bug-screensaver"),W(1,"async"));a&2&&J(X(1,1,b.isEnabled$)?0:-1)},dependencies:[lY,py],encapsulation:2});var mY=function(){};mY.\u0275fac=function(a){return new (a||mY)};mY.\u0275mod=Zi({type:mY});mY.\u0275inj=Eg({imports:[jC,aM,EM,uM]});var V4c=function(){this.activeSession=x(Ks);this.currentTracker=this.activeSession.getTracker();var a,b;this.trackerName=(b=(a=this.currentTracker)==null?void 0:a.name)!=null?b:"";var c,d,e;this.trackerLogo=(e=(c=this.currentTracker)==null?void 0:(d=c.branding)==null?void 0:d.logoUrl)!=null?e:"";var f,h,k;this.trackerCoc=(k=(f=this.currentTracker)==null?void 0:(h=f.branding)==null?void 0:h.cocUrl)!=null?k:""};V4c.\u0275fac=function(a){return new (a||V4c)};
V4c.\u0275cmp=F({type:V4c,selectors:[["b-footer"]],standalone:!1,decls:1,vars:1,consts:[["href","https://policies.google.com/privacy","target","_blank"],[1,"padded-s-sides"],["href","https://policies.google.com/terms","target","_blank"],["alt","",1,"logo",3,"src"],[1,"title"],["id","code-of-conduct","target","_blank",3,"href"]],template:function(a,b){a&1&&I(0,epb,9,2,"footer");a&2&&J(b.currentTracker||b.activeSession.isExternalSession()?0:-1)},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 nY=function(){};nY.\u0275fac=function(a){return new (a||nY)};nY.\u0275mod=Zi({type:nY});nY.\u0275inj=Eg({imports:[jC]});var oY=function(){var a=this;this.paths=x(TO);this.context=x(yF);this.activeSession=x(Ks);this.componentFridge=x(AB);this.createIssuePath=this.paths.createIssue();this.currentTracker=this.activeSession.getTracker();this.component$=this.context.getComponentId().pipe(sj(function(d){return d?a.componentFridge.watch(d):li(void 0)}),C(function(d){return d&&!d.archived?d:void 0}));this.visibleOptions$=si([this.component$,this.context.getIssueId(),this.context.getHotlistId()]).pipe(ij(0),C(function(d){var e=
l(d);d=e.next().value;var f=e.next().value;e=e.next().value;return W4c(a,a.currentTracker,d,f,e)}));this.buttonLabel$=this.visibleOptions$.pipe(C(function(d){return d.length?"Create":"Create Issue"}));var b,c;this.buttonIcon=((b=this.currentTracker)==null?void 0:(c=b.branding)==null?void 0:c.theme)==="OPEN_SOURCE"?"create-open-source-36px":"create-color-36px"};oY.prototype.ngOnInit=function(){};oY.prototype.trackClick=function(a){Yo("create","click",a)};
var W4c=function(a,b,c,d,e){var f=new Map;b=b&&c&&b.trackerId&&b.trackerId!==c.trackerId;c=(c==null?0:c.componentId)?String(c.componentId):void 0;if(e!==null){var h={};f.set("in_same_hotlist",a.paths.createIssue((h.hotlistIds=String(e),h)))}b||c===void 0||(e={},f.set("in_same_component",a.paths.createIssue((e.component=c,e))));b||d===null||(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(k){var q=l(k);k=q.next().value;q=q.next().value;return{name:iRa(k),path:q}})};oY.\u0275fac=function(a){return new (a||oY)};
oY.\u0275cmp=F({type:oY,selectors:[["b-create-issue-button"]],standalone:!1,decls:2,vars:3,consts:[[3,"label","icon","href","segments"],[3,"clickMain","clickSegment","label","icon","href","segments"]],template:function(a,b){a&1&&(I(0,gpb,2,3),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.visibleOptions$))?0:-1,c)}},dependencies:[GL,py],encapsulation:2,changeDetection:0});var pY=function(){this.router=x($B);this.location=x(hL)},ONb=function(a){var b=a.location.getUrl();Rr(a.router,"/",{skipLocationChange:!0}).then(function(){return Rr(a.router,b,{skipLocationChange:!0})})};pY.\u0275fac=function(a){return new (a||pY)};pY.\u0275prov=Dg({token:pY,factory:pY.\u0275fac,providedIn:"root"});var rY=function(){Z.call(this);var a=this;this.reloadService=x(pY);this.activeSession=x(Ks);this.bLocation=x(hL);this.paths=x(TO);this.issuePagination=x(iY);this.sidebarItemFactory=x(qY);this.appEvents=x(EB);this.analytics=x(nE);this.currentUserBookmarksFridge=x(JC);this.sidebarData={hotlists:[],bookmarkGroups:[],archivedHotlists:[],archivedBookmarkGroups:[],userSearches:[]};this.userSavedSearches=[];this.userHotlists=[];this.subscriptions.add(luc(this.currentUserBookmarksFridge).subscribe(function(b){a.sidebarData.hotlists=
X4c(a,b.hotlists);a.sidebarData.bookmarkGroups=g5c(a,b.bookmarkGroups);a.sidebarData.archivedHotlists=X4c(a,b.archivedHotlists);a.sidebarData.archivedBookmarkGroups=g5c(a,b.archivedBookmarkGroups);a.appEvents.sidebarUpdated.next()}));this.subscriptions.add(muc(this.currentUserBookmarksFridge).subscribe(function(b){b=h5c(a,b);a.sidebarData.userSearches=b;Daa(a.userSavedSearches);Eaa(a.userSavedSearches,b);a.appEvents.sidebarUpdated.next()}));this.subscriptions.add(KC(this.currentUserBookmarksFridge).subscribe(function(b){i5c(a,
b);a.appEvents.sidebarUpdated.next()}))};Y(rY,Z);rY.\u0275dir=Z.\u0275dir;
var X4c=function(a,b){return b.map(function(c){return j5c(a.sidebarItemFactory,c)}).sort(function(c,d){return c.name.localeCompare(d.name)})},g5c=function(a,b){return b.map(function(c){var d=a.sidebarItemFactory;return new k5c(c,d.activeSession,d.analytics,d.userApi,d.bookmarkGroupsApi,d.butterBar,d.paths,d.userPreferencesManager,d.errorHandler,d,d.confirmationDialogService,d.appEvents)})},h5c=function(a,b){return b.map(function(c){return{id:String(c.searchId),name:c.name,adminUsers:c.adminUsers,
description:c.description,starred:!1,resourceType:"SAVED_SEARCH"}}).map(function(c){return l5c(a.sidebarItemFactory,c)})},i5c=function(a,b){b=b.map(function(c){c={id:String(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 j5c(a.sidebarItemFactory,c)});Daa(a.userHotlists);Eaa(a.userHotlists,b)};
rY.prototype.onAnchorClick=function(a,b){var c,d=(c=b.target)==null?void 0:c.innerText;d=(d===void 0?"":d).replace(/\b(\d+)\b/g,"");this.analytics.trackEvent("nav","click",d.trim());b.metaKey||b.ctrlKey||b.shiftKey||b.button!==0||(E4c(this.issuePagination),uOc(this.paths,a)&&ONb(this.reloadService),this.bLocation.setUrl(a),b.preventDefault(),b.stopPropagation())};rY.\u0275fac=function(a){return new (a||rY)};rY.\u0275prov=Dg({token:rY,factory:rY.\u0275fac,providedIn:"root"});
var sY=function(a,b,c,d,e,f,h,k){this.item=a;this.analytics=c;this.userApi=d;this.bookmarkGroupsApi=e;this.butterBar=f;this.paths=h;this.userPreferencesManager=k;this.id=a.id;this.name=a.name;this.description=a.description;this.adminUsers=a.adminUsers;this.starred=a.starred;this.userEmail=b.getUserEmail()};sY.prototype.getDisplayName=function(){return this.item.name?this.item.name:"resourceType"in this.item?Fd(this.item.resourceType.toLowerCase())+" "+this.item.id:this.item.id};
sY.prototype.isEditable=function(){return m5c(this)};sY.prototype.isSelected=function(){var a=this.paths,b=this.href;b=b.charAt(0)!=="/"?"/"+b:b;return a.bLocation.path()===b};sY.prototype.isUnstarable=function(){return!m5c(this)&&this.starred};
var m5c=function(a){return a.adminUsers.some(function(b){return b.emailAddress===a.userEmail})},n5c=function(a,b){var c=OF(a.userPreferencesManager).homepagePreferences;return(c==null?void 0:c.resourceId)===a.id&&c.resourceType===b},o5c=function(a,b){hq(a.butterBar,"Updating homepage...",0);uzc(a.userPreferencesManager,{resourceType:b,resourceId:a.id}).pipe(hj(1)).subscribe(function(){hq(a.butterBar,"Homepage updated")})},p5c=function(a,b,c,d,e,f,h,k,q,u,A,D){sY.call(this,a,b,c,d,e,h,k,q);this.hotlistApi=
f;this.errorHandler=u;this.confirmationDialogService=A;this.appEvents=D;this.href=Hq.viewHotlist.makeHref(a.id);this.type="HOTLIST"};Y(p5c,sY);g=p5c.prototype;g.isPreferredHomepage=function(){return n5c(this,"HOTLIST")};g.setAsPreferredHomepage=function(){o5c(this,"HOTLIST")};
g.archive=function(){var a=this;hq(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});hq(a.butterBar,'Archived hotlist "'+a.name+'".');a.analytics.trackEvent("sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unarchive=function(){var a=this;hq(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});hq(a.butterBar,'Unarchived hotlist "'+a.name+'".');a.analytics.trackEvent("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:md("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;hq(this.butterBar,"Unstarring hotlist ID "+this.id+"...");this.userApi.removeUserBookmark({resourceType:"HOTLIST",resourceId:this.id}).then(function(){hq(a.butterBar,"Unstarred hotlist ID "+a.id);a.appEvents.hotlistChanged.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};var tY=function(a,b,c,d,e,f,h,k){sY.call(this,a,b,c,d,e,f,h,k);this.href=h.viewSavedSearch(a.id);this.type="SAVED_SEARCH"};Y(tY,sY);tY.prototype.isUnstarable=function(){return!1};
tY.prototype.unstar=function(){};tY.prototype.isPreferredHomepage=function(){return n5c(this,"SAVED_SEARCH")};tY.prototype.setAsPreferredHomepage=function(){o5c(this,"SAVED_SEARCH")};
var k5c=function(a,b,c,d,e,f,h,k,q,u,A,D){sY.call(this,a,b,c,d,e,f,h,k);this.errorHandler=q;this.sidebarItemFactory=u;this.confirmationDialogService=A;this.appEvents=D;this.items=[];a=l(a.sublinks||[]);for(b=a.next();!b.done;b=a.next())switch(b=b.value,b.resourceType){case "HOTLIST":this.items.push(j5c(this.sidebarItemFactory,b));break;case "SAVED_SEARCH":this.items.push(l5c(this.sidebarItemFactory,b))}this.items.sort(function(H,O){return H.name.localeCompare(O.name)})};Y(k5c,sY);g=k5c.prototype;
g.isPreferredHomepage=function(){return n5c(this,"BOOKMARK_GROUP")};g.setAsPreferredHomepage=function(){o5c(this,"BOOKMARK_GROUP")};
g.archive=function(){var a=this;hq(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});hq(a.butterBar,'Archived bookmark group "'+a.name+'".');a.analytics.trackEvent("sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unarchive=function(){var a=this;hq(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});hq(a.butterBar,'Unarchived bookmark group "'+a.name+'".');a.analytics.trackEvent("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:md("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;hq(this.butterBar,"Unstarring bookmark group ID "+this.id+"...");this.userApi.removeUserBookmark({resourceType:"BOOKMARK_GROUP",resourceId:this.id}).then(function(){hq(a.butterBar,"Unstarred bookmark group ID "+a.id);a.appEvents.bookmarkGroupModified.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var qY=function(){this.activeSession=x(Ks);this.userApi=x(DC);this.bookmarkGroupsApi=x(hB);this.hotlistApi=x(zC);this.errorHandler=x(PA);this.paths=x(TO);this.analytics=x(nE);this.butterBar=x(MA);this.userPreferencesManager=x(NF);this.confirmationDialogService=x(lI);this.appEvents=x(EB)},j5c=function(a,b){return new p5c(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.hotlistApi,a.butterBar,a.paths,a.userPreferencesManager,a.errorHandler,a.confirmationDialogService,a.appEvents)},l5c=
function(a,b){return new tY(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.butterBar,a.paths,a.userPreferencesManager)};qY.\u0275fac=function(a){return new (a||qY)};qY.\u0275prov=Dg({token:qY,factory:qY.\u0275fac,providedIn:"root"});var uY=function(){this.prefs=x(NF);this.expanded=!0;this.content=this.header=null;this.onExpand=new iE};uY.prototype.ngOnInit=function(){this.prefKey&&(this.expanded=!wzc(this.prefs,this.prefKey))};uY.prototype.onClick=function(){var a=this,b,c;return v(function(d){if(d.nextAddress==1){b=!a.expanded;a.expanded=b;if(!a.prefKey)return d.jumpTo(2);c={};return w(d,pi(vzc(a.prefs,(c[a.prefKey]=!b,c))),2)}a.expanded&&a.onExpand.next();ji(d)})};uY.\u0275fac=function(a){return new (a||uY)};
uY.\u0275cmp=F({type:uY,selectors:[["sidebar-zippy"]],inputs:{expanded:"expanded",header:"header",content:"content",prefKey:"prefKey"},outputs:{onExpand:"onExpand"},standalone:!1,decls:3,vars:7,consts:[["tabindex","0","role","tab",1,"bv2-nav-expandable-header",3,"click","keydown.enter","keydown.space"],[4,"ngTemplateOutlet"]],template:function(a,b){a&1&&(L(0,"div",0),Q("click",function(){return b.onClick()})("keydown.enter",function(c){b.onClick();return c.stopPropagation()})("keydown.space",function(c){b.onClick();
return c.preventDefault()}),G(1,hpb,1,0,"ng-container",1),M(),I(2,jpb,1,1,"ng-container"));a&2&&(rk("opened",b.expanded)("closed",!b.expanded),Hj("aria-expanded",b.expanded),E(),K("ngTemplateOutlet",b.header),E(),J(b.expanded?2:-1))},dependencies:[oy],encapsulation:2});var q5c=function(){return[]},vY=function(){var a=this;this.location=x(cn);this.starredTeamsService=x(QH);this.bLocation=x(hL);this.triageService=x(TH);this.sidebar=x(rY);this.routeParamsService=x(wF);this.teamExperimentalFieldsFridge=x(pF);this.teamFridge=x(qF);this.ROUTES=Hq;this.ALL_PHASES=KBc;this.phaseToUrlSlug=Sr;this.triageTeamIdFromUrl$=this.routeParamsService.routeParams$.pipe(C(function(b){return b.phase&&b.teamId}));this.triageIdFromUrl$=this.routeParamsService.routeParams$.pipe(C(function(b){return b.phase&&
b.triageId}));this.triageViewFromUrl$=si([this.triageTeamIdFromUrl$,this.triageIdFromUrl$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;if(b&&c)return{teamId:b,triageId:c}}));this.sidebarTriagePreferences$=si([this.starredTeamsService.starredTriageViews$,this.triageViewFromUrl$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return[].concat(p(b),[c]).filter(fe)}),C(function(b){return no(b,function(c){return c.teamId+":"+c.triageId})}));this.teamExperiments$=this.sidebarTriagePreferences$.pipe(C(function(b){return b.map(function(c){return c.teamId})}),
C(function(b){return oo(b.filter(fe))}),sj(function(b){return a.teamExperimentalFieldsFridge.watchSet(b)}),C(function(b){return new Map(b.map(function(c){return[c.id,c]}))}));this.teamIdToTriageViews$=this.teamExperiments$.pipe(C(function(b){return Hha(b,function(c){return Yf(c.triage,function(d){return d.id})})}));this.triageSidebarEntries$=si([this.teamIdToTriageViews$,this.sidebarTriagePreferences$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=[];d=l(d);for(var e=d.next();!e.done;e=
d.next()){e=e.value;var f=e.teamId,h=e.triageId,k=void 0,q=(k=b.get(f))==null?void 0:k.get(Number(h));q?(h=a.teamFridge.watch(f),c.push({teamId:f,triageId:e.triageId,displayName$:vLa(h,f,q)})):console.log("triage not found",f,h)}return c}))},tpb=function(a,b,c){return a.routeParamsService.routeParams$.pipe(C(function(d){return!(d.teamId!==b||d.triageId!==c||!d.phase&&!a.location.path().endsWith("issue-themes"))}))};
vY.prototype.isTriageUrlFor=function(a,b,c){return this.location.path().startsWith(Hq.viewTriage.makeHref(a,c,Sr[b],""))};vY.prototype.goToTriageSettingsPage=function(){this.bLocation.setUrl(Hq.triageSettings.makeHref())};vY.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};vY.\u0275fac=function(a){return new (a||vY)};
vY.\u0275cmp=F({type:vY,selectors:[["nav-sidebar-triage"]],standalone:!1,decls:2,vars:4,consts:[["mainZippyHeader",""],["mainZippyContent",""],["triageMenu",""],["triageZippyHeader",""],["triageZippyContent",""],[1,"canned-searches"],[3,"href"],["svgIcon","story-point-24px",1,"canned-search-icon"],["prefKey","nav-triage",3,"header","content"],[1,"chip-new"],["type","button","mat-icon-button","","disableRipple","true","aria-label","Configure triage",1,"bv2-nav-item-menubutton",3,"click","matMenuTriggerFor"],
["svgIcon","more-settings-vertical"],["matMenuContent",""],["type","button","mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],[1,"triage-teams-list"],[3,"title"],[3,"onExpand","header","content","expanded"],[1,"bv2-nav-item","bv2-nav-triage-team","full-width"],[1,"bv2-nav-item-text","no-indent"],[1,"bv2-nav-links-no-indent","triage-team-phase-list"],[1,"bv2-nav-item",3,"selected-indented","title"],["title","Issue Themes",1,"bv2-nav-item"],[1,"bv2-nav-indented","flex-kids-x","padded-s-right",
3,"href"],["svgIcon","issue-status-new",1,"vertical-centered","icon-s"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented","flex-kids-x","padded-s-right",3,"click","href"],[1,"margin-left-auto"]],template:function(a,b){a&1&&(I(0,xpb,2,1),W(1,"async"));if(a&2){var c,d;J((c=(d=X(1,1,b.triageSidebarEntries$))!=null?d:Ck(3,q5c))?0:-1,c)}},dependencies:[EA,dA,bA,FL,mK,kK,lK,pK,uY,py],styles:[".triage-teams-list[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.triage-teams-list[_ngcontent-%COMP%]   .bv2-nav-item-text[_ngcontent-%COMP%]{padding-right:0}.chip-new[_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;line-height:16px;border-radius:8px;margin-left:8px;padding:0 6px;background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--text-inverse)}\n/*# sourceMappingURL=nav_sidebar_triage.css.map */"]});var wY=function(){this.location=x(hL);this.analytics=x(nE);this.paths=x(TO);this.sidebar=x(rY);this.bookmarkGroups=[];this.hotlists=[]};g=wY.prototype;g.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarArchived","open");this.location.setUrl(this.paths.viewBookmarkGroup(a))};g.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarArchived","dashboard");this.location.setUrl(Kq(Hq.viewDashboard.routeDeclarationPath,{id:a}))};g.openEditHotlist=function(a){this.location.setUrl(Hq.editHotlist.makeHref(a))};
g.openEditBookmarkGroup=function(a){this.location.setUrl(this.paths.editBookmarkGroup(a))};g.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};wY.\u0275fac=function(a){return new (a||wY)};
wY.\u0275cmp=F({type:wY,selectors:[["sidebar-archived"]],inputs:{bookmarkGroups:"bookmarkGroups",hotlists:"hotlists"},standalone:!1,decls:1,vars:1,consts:[["zippyHeader",""],["zippyContent",""],["bgZippyHeader",""],["bgZippyContent",""],["groupMenu",""],["hotlistMenu",""],["prefKey","nav-archived",3,"header","content"],[1,"archived-list"],[3,"title"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"selected","id","title"],[3,"header","content"],[1,"bv2-nav-item","bv2-nav-bookmark-group"],[1,
"bv2-nav-item-text"],["type","button","mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor"],["matMenuContent",""],["type","button","mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"click","matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["type","button","mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],
["type","button","mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem"],[1,"bv2-nav-links-no-indent","bookmark-group-content-list"],[1,"bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented",3,"click","href"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"id","title"],[3,"click","href"],["type","button","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&&I(0,Npb,7,2,"div");a&2&&J(b.hotlists.length||b.bookmarkGroups.length?0:-1)},dependencies:[EA,dA,bA,FL,mK,kK,lK,pK,uY],encapsulation:2,changeDetection:0});var xY=function(){this.admins=[]};xY.prototype.ngOnInit=function(){this.url="bookmark-groups/"+this.bookmarkGroup.bookmarkGroupId;this.admins=Hd(this.bookmarkGroup.adminUsers)};xY.\u0275fac=function(a){return new (a||xY)};
xY.\u0275cmp=F({type:xY,selectors:[["b-bookmark-group-card"]],inputs:{bookmarkGroup:"bookmarkGroup"},standalone:!1,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&&(L(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),U(5),M()(),L(6,"ul")(7,"li"),U(8),M(),L(9,"li"),U(10),M()(),L(11,"div")(12,"p"),U(13),M()()()()());a&2&&(E(4),
K("href",b.url,Ni),E(),tk(b.bookmarkGroup.name),E(3),V("ID: ",b.bookmarkGroup.bookmarkGroupId),E(2),uk("",b.admins.length===1?"Admin":"Admins",": ",b.admins.join(", ")),E(3),tk(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 r5c=["searchBox"],yY=function(){this.cdr=x(jE,{self:!0});this.activeSession=x(Ks);this.userApi=x(DC);this.bookmarkGroupsApi=x(hB);this.hotlistApi=x(zC);this.paths=x(TO);this.analytics=x(nE);this.errorHandler=x(PA);this.appEvents=x(EB);this.currentUserBookmarksFridge=x(JC);this.allowStarring=this.showHotlists=this.showGroups=!0;this.focusOnInit=!1;this.itemSelect=new iE;this.lastProcessedIndex=-1;this.nextRequestIndex=0;this.favoriteBookmarkGroups=new Set;this.favoriteHotlists=new Set;this.currentUserEmail=
this.activeSession.getUserEmail();this.query="";this.matches=[]};yY.prototype.ngOnInit=function(){this.allowStarring&&s5c(this)};yY.prototype.onSpace=function(a){var b;if((b=this.autocomplete)==null?0:b.activeOption)this.toggleStar(this.autocomplete.activeOption.value),a.preventDefault(),a.stopPropagation()};
var s5c=function(a){a.favoriteBookmarkGroups.clear();a.favoriteHotlists.clear();pi(luc(a.currentUserBookmarksFridge)).then(function(b){if(a.showGroups)for(var c=l(b.bookmarkGroups),d=c.next();!d.done;d=c.next()){d=d.value;d.starred&&a.favoriteBookmarkGroups.add(d.id);var e=void 0;d=l((e=d.sublinks)!=null?e:[]);for(e=d.next();!e.done;e=d.next())e=e.value,e.starred&&a.favoriteHotlists.add(e.id)}if(a.showHotlists)for(b=l(b.hotlists),c=b.next();!c.done;c=b.next())c=c.value,c.starred&&a.favoriteHotlists.add(c.id);
a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};g=yY.prototype;g.reset=function(){this.query="";this.matches=[]};g.isLoading=function(){return this.lastProcessedIndex+1!==this.nextRequestIndex};g.onQueryChange=function(){this.matches=[];this.query&&typeof this.query!=="string"&&(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=l(e);e=f.next().value;f=f.next().value;if(b===a.nextRequestIndex-1){for(var h=l(e),k=h.next();!k.done;k=h.next()){k=k.value;var q=k.bookmarkGroupId;k.href=a.paths.viewBookmarkGroup(q);k.isGroup=!0;k.isStarred=a.favoriteBookmarkGroups.has(q)}h=
l(f);for(k=h.next();!k.done;k=h.next())k=k.value,q=k.hotlistId,k.href=Hq.viewHotlist.makeHref(q),k.isGroup=!1,k.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&&!Hd(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();s5c(b);b.cdr.detectChanges()};c={resourceId:c,resourceType:d};a.isStarred?(this.analytics.trackEvent("hotlistSearch","starItem"),this.userApi.addUserBookmark(c).then(e)):(this.analytics.trackEvent("hotlistSearch","unstarItem"),this.userApi.removeUserBookmark(c).then(e))};
yY.\u0275fac=function(a){return new (a||yY)};
yY.\u0275cmp=F({type:yY,selectors:[["b-hotlist-search"]],viewQuery:function(a,b){a&1&&(ek(r5c,5),ek(TN,5));if(a&2){var c;ik(c=jk())&&(b.searchBoxEl=c.first);ik(c=jk())&&(b.autocomplete=c.first)}},hostAttrs:[1,"'bv2-hotlist-search'"],inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",focusOnInit:"focusOnInit"},outputs:{itemSelect:"itemSelect"},standalone:!1,features:[Bk([jE])],decls:14,vars:5,consts:[["searchBox",""],["auto","matAutocomplete"],["itemHovercard",
"onedevHovercard"],[1,"bv2-hotlist-search"],["id","hotlist-search-input-box","type","text","placeholder","Enter query","role","combobox",3,"ngModelChange","keydown.space","ngModel","matAutocomplete"],[1,"bv2-hotlist-search-dropdown",3,"optionSelected"],[1,"bv2-hotlist-search-dropdown-item",3,"value"],[1,"bv2-hotlist-search-subtext"],[1,"flex-kids-x","align-items-center","gap-xxs"],[3,"starMessage","unStarMessage","starred"],[3,"hotlist"],[3,"bookmarkGroup"],[1,"bv2-hotlist-name",3,"onedevHovercardTrigger"],
[3,"starClicked","starMessage","unStarMessage","starred"]],template:function(a,b){if(a&1){var c=y();L(0,"div",3)(1,"input",4,0);xk("ngModelChange",function(d){z(c);wk(b.query,d)||(b.query=d);return B(d)});Q("ngModelChange",function(){z(c);return B(b.onQueryChange())})("keydown.space",function(d){z(c);return B(b.onSpace(d))});M();I(3,Opb,1,0,"b-spinner");L(4,"mat-autocomplete",5,1);Q("optionSelected",function(d){z(c);b.itemSelect.emit(d.option.value);return B()});Mj(6,Spb,9,7,"mat-option",6,Lj);M();
L(8,"div",7);U(9,' e.g., "foo bar admin:user@google.com" ');N(10,"br");U(11,' or "foo bar admin:group@google.com" ');N(12,"br");U(13," Only identities directly listed as Admins can be searched. ");M()()}a&2&&(a=T(5),E(),vk("ngModel",b.query),K("matAutocomplete",a),Hj("autofocus",b.focusOnInit)("aria-label","Add query for searching "+(b.showGroups?"bookmark groups":"hotlists")),E(2),J(b.isLoading()?3:-1),E(3),Nj(b.matches))},dependencies:[xY,kT,xH,DH,lL,WR,Bp,hG,oG,VN,SN,Vz,TN],encapsulation:2});var zY=function(){this.allowStarring=this.showHotlists=this.showGroups=!0;this.ariaLabel="";this.itemSelect=new iE};zY.\u0275fac=function(a){return new (a||zY)};
zY.\u0275cmp=F({type:zY,selectors:[["b-hotlist-search-popup"]],viewQuery:function(a,b){a&1&&ek(jO,5);if(a&2){var c;ik(c=jk())&&(b.dialog=c.first)}},inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",ariaLabel:[0,"aria-label","ariaLabel"]},outputs:{itemSelect:"itemSelect"},standalone:!1,decls:4,vars:2,consts:[["popup",""],["matTooltip","Search","dialogLabel","Search",3,"xapInlineDialogClick"],["svgIcon","search"],[3,"itemSelect","showGroups","showHotlists","allowStarring",
"focusOnInit"]],template:function(a,b){a&1&&(L(0,"xap-icon-trigger",1),N(1,"mat-icon",2),M(),G(2,Tpb,3,4,"ng-template",null,0,Gk));a&2&&(a=T(3),K("xapInlineDialogClick",a),Hj("aria-label",b.ariaLabel))},dependencies:[EA,fO,eO,YF,WF,jO,mO,yY],styles:["xap-dialog-layout[_ngcontent-%COMP%] { padding: 16px; }","xap-dialog-layout-content[_ngcontent-%COMP%] { padding: 0; }"]});var AY=function(){this.location=x(hL);this.analytics=x(nE);this.paths=x(TO);this.sidebar=x(rY);this.bookmarkGroups=[]};AY.prototype.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","open");this.location.setUrl(this.paths.viewBookmarkGroup(a))};AY.prototype.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","dashboard");this.location.setUrl(Kq(Hq.viewDashboard.routeDeclarationPath,{id:a}))};
AY.prototype.editBookmarkGroup=function(a){this.location.setUrl(this.paths.editBookmarkGroup(a))};AY.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};AY.\u0275fac=function(a){return new (a||AY)};
AY.\u0275cmp=F({type:AY,selectors:[["sidebar-bookmark-groups"]],inputs:{bookmarkGroups:"bookmarkGroups"},standalone:!1,decls:7,vars:2,consts:[["zippyHeader",""],["zippyContent",""],["bgZippyHeader",""],["bgZippyContent",""],["topMenu",""],["innerMenu",""],[1,"bv2-nav-section"],["prefKey","nav-bkg",3,"header","content"],["aria-label","Search for bookmark groups",3,"itemSelect","click","showHotlists"],[1,"bookmark-group-list"],[3,"title"],[3,"header","content","expanded"],[1,"bv2-nav-item","bv2-nav-bookmark-group"],
[1,"bv2-nav-item-text"],["type","button","mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor"],["matMenuContent",""],["type","button","mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"click","matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["type","button","mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,
"click"],["type","button","mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem"],[1,"bv2-nav-links-no-indent","bookmark-group-content-list"],[1,"bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented",3,"click","href"],["type","button","mat-icon-button","","disableRipple","true","aria-label","Bookmark item actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"]],template:function(a){a&
1&&(L(0,"div",6),N(1,"hr"),L(2,"sidebar-zippy",7),G(3,Upb,3,1,"ng-template",null,0,Gk)(5,iqb,1,1,"ng-template",null,1,Gk),M()());if(a&2){a=T(4);var b=T(6);E(2);K("header",a)("content",b)}},dependencies:[EA,zY,dA,bA,FL,mK,kK,lK,pK,uY],encapsulation:2,changeDetection:0});var BY=function(){Z.call(this);var a=this;this.location=x(hL);this.activeSession=x(Ks);this.analytics=x(nE);this.sidebar=x(rY);this.paths=x(TO);this.routerEvents=x(mE);this.cdr=x(sx);this.mcPrefs=x(MW);this.ENABLE_MISSION_CONTROL=this.activeSession.isInternalSession();this.userEmail=this.activeSession.getUserEmail();this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(function(){a.cdr.detectChanges()}))};Y(BY,Z);BY.\u0275dir=Z.\u0275dir;BY.prototype.getUserEmail=function(){return this.userEmail};
BY.prototype.openEditHotlist=function(a){this.location.setUrl(Hq.editHotlist.makeHref(a))};BY.prototype.addToMissionControl=function(a){this.mcPrefs.addHotlist(a);this.location.setUrl(this.paths.home())};BY.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};BY.\u0275fac=function(a){return new (a||BY)};
BY.\u0275cmp=F({type:BY,selectors:[["sidebar-hotlists"]],inputs:{hotlists:"hotlists"},standalone:!1,features:[xj],decls:7,vars:2,consts:[["zippyHeader",""],["zippyContent",""],["menu",""],[1,"bv2-nav-section"],["prefKey","nav-hotlists",3,"header","content"],["aria-label","Search for hotlists",3,"itemSelect","click","showGroups"],[1,"hotlist-list"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"selected","id","title"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"id","title"],[3,"click",
"href"],[1,"bv2-nav-item-text"],["type","button","mat-icon-button","","disableRipple","true","aria-label","Hotlist actions keep-focus-ring",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["matMenuContent",""],["svgIcon","more-settings-vertical"],["type","button","mat-menu-item",""],["type","button","mat-menu-item","",3,"click"],["svgIcon","settings",1,"icon-s"],["svgIcon","home",1,"icon-s"],["svgIcon","save",1,"icon-s"],["svgIcon","star-empty",1,"icon-s"]],template:function(a){a&1&&(L(0,"div",
3),N(1,"hr"),L(2,"sidebar-zippy",4),G(3,jqb,3,1,"ng-template",null,0,Gk)(5,rqb,1,1,"ng-template",null,1,Gk),M()());if(a&2){a=T(4);var b=T(6);E(2);K("header",a)("content",b)}},dependencies:[EA,zY,dA,bA,FL,mK,kK,lK,pK,uY],encapsulation:2,changeDetection:0});var CY=function(){Z.call(this);var a=this;this.cdr=x(jE,{self:!0});this.location=x(hL);this.savedSearchApi=x(HC);this.paths=x(TO);this.butterBar=x(MA);this.analytics=x(nE);this.sidebar=x(rY);this.errorHandler=x(PA);this.routerEvents=x(mE);this.confirmationDialogService=x(lI);this.appEvents=x(EB);this.mcPrefs=x(MW);this.activeSession=x(Ks);this.ENABLE_MISSION_CONTROL=this.activeSession.isInternalSession();this.searches=[];this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(function(){a.cdr.detectChanges()}))};
Y(CY,Z);CY.\u0275dir=Z.\u0275dir;CY.prototype.openEditSavedSearch=function(a){this.location.setUrl(this.paths.editSavedSearch(a))};CY.prototype.addToMissionControl=function(a){NW(this.mcPrefs,Z$a(a));this.location.setUrl(this.paths.home())};
var vqb=function(a,b){a.confirmationDialogService.open({title:"Deleting saved search: "+b.name,content:md("Are you sure you want to delete this search?"),isDestructive:!0,onConfirm:function(){t5c(a,b)}})},t5c=function(a,b){var c=b.id;hq(a.butterBar,'Deleting saved search "'+b.name+'"...');a.savedSearchApi.delete(c).then(function(){a.appEvents.savedSearchModified.next({savedSearchId:c,action:"delete"});hq(a.butterBar,'Deleted saved search "'+b.name+'".');a.analytics.trackEvent("sidebarSavedSearches",
"deleted");a.cdr.detectChanges()}).catch(function(d){a.errorHandler.errorHandler(null,d)})};CY.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};CY.\u0275fac=function(a){return new (a||CY)};
CY.\u0275cmp=F({type:CY,selectors:[["sidebar-saved-searches"]],inputs:{searches:"searches"},standalone:!1,features:[Bk([jE]),xj],decls:7,vars:2,consts:[["zippyHeader",""],["zippyContent",""],["menu",""],[1,"bv2-nav-section","bv2-nav-section-savedsearches"],["prefKey","nav-ss",3,"header","content"],[1,"saved-search-list"],[1,"bv2-nav-item",3,"selected","title"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-item-link",3,"click","href"],[1,"bv2-nav-item-text"],["type","button","mat-icon-button","","disableRipple",
"true","aria-label","Saved search actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["matMenuContent",""],["type","button","mat-menu-item",""],["type","button","mat-menu-item","",3,"click"],["svgIcon","settings",1,"icon-s"],["svgIcon","delete",1,"icon-s"],["svgIcon","home",1,"icon-s"],["svgIcon","save",1,"icon-s"]],template:function(a){a&1&&(L(0,"div",3),N(1,"hr"),L(2,"sidebar-zippy",4),G(3,sqb,2,0,"ng-template",null,0,Gk)(5,zqb,1,1,"ng-template",null,
1,Gk),M()());if(a&2){a=T(4);var b=T(6);E(2);K("header",a)("content",b)}},dependencies:[EA,dA,bA,FL,mK,kK,lK,pK,uY],encapsulation:2,changeDetection:0});var u5c=function(){};u5c.\u0275fac=function(a){return new (a||u5c)};
u5c.\u0275cmp=F({type:u5c,selectors:[["ng-component"]],decls:0,vars:0,template:function(){},styles:[".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color, var(--mat-sys-error));color:var(--mat-badge-text-color, var(--mat-sys-on-error));font-family:var(--mat-badge-text-font, var(--mat-sys-label-small-font));font-weight:var(--mat-badge-text-weight, var(--mat-sys-label-small-weight));border-radius:var(--mat-badge-container-shape, var(--mat-sys-corner-full))}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}@media(forced-colors: active){.mat-badge-content{outline:solid 1px;border-radius:0}}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-error) 38%, transparent));color:var(--mat-badge-disabled-state-text-color, var(--mat-sys-on-error))}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, 6px);min-height:var(--mat-badge-small-size-container-size, 6px);line-height:var(--mat-badge-small-size-line-height, 6px);padding:var(--mat-badge-small-size-container-padding, 0);font-size:var(--mat-badge-small-size-text-size, 0);margin:var(--mat-badge-small-size-container-offset, -6px 0)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset, -6px)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, 16px);min-height:var(--mat-badge-container-size, 16px);line-height:var(--mat-badge-line-height, 16px);padding:var(--mat-badge-container-padding, 0 4px);font-size:var(--mat-badge-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-container-offset, -12px 0)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset, -12px)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, 16px);min-height:var(--mat-badge-large-size-container-size, 16px);line-height:var(--mat-badge-large-size-line-height, 16px);padding:var(--mat-badge-large-size-container-padding, 0 4px);font-size:var(--mat-badge-large-size-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-large-size-container-offset, -12px 0)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset, -12px)}\n"],encapsulation:2,
changeDetection:0});var DY=function(){this._ngZone=x(Kk);this._elementRef=x(Ph);this._ariaDescriber=x(Xy);this._renderer=x($m);this._animationsDisabled=hn();this._idGenerator=x(Wm);this._color="primary";this.overlap=!0;this.position="above after";this.size="medium";this._isInitialized=!1;this._interactivityChecker=x(Hy);this._document=x(Mm);var a=x(Um);a.load(u5c);a.load(Iy)};g=DY.prototype;
g.ngOnInit=function(){this._clearExistingBadges();this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content));this._isInitialized=!0};g.ngOnDestroy=function(){if(this._renderer.destroyNode){this._renderer.destroyNode(this._badgeElement);var a;(a=this._inlineBadgeDescription)==null||a.remove()}Yy(this._ariaDescriber,this._elementRef.nativeElement,this.description)};
g._isHostInteractive=function(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})};
g._createBadgeElement=function(){var a=this._renderer.createElement("span");a.setAttribute("id",this._idGenerator.getId("mat-badge-content-"));a.setAttribute("aria-hidden","true");a.classList.add("mat-badge-content");this._animationsDisabled&&a.classList.add("_mat-animation-noopable");this._elementRef.nativeElement.appendChild(a);typeof requestAnimationFrame!=="function"||this._animationsDisabled?a.classList.add("mat-badge-active"):this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){a.classList.add("mat-badge-active")})});
return a};g._updateRenderedContent=function(a){a=(""+(a!=null?a:"")).trim();this._isInitialized&&a&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement());this._badgeElement&&(this._badgeElement.textContent=a);this._content=a};
g._updateDescription=function(a){Yy(this._ariaDescriber,this._elementRef.nativeElement,this.description);a&&!this._isHostInteractive()||this._removeInlineDescription();this._description=a;this._isHostInteractive()?ooc(this._ariaDescriber,this._elementRef.nativeElement,a):this._updateInlineDescription()};
g._updateInlineDescription=function(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden"));this._inlineBadgeDescription.textContent=this.description;var a;(a=this._badgeElement)==null||a.appendChild(this._inlineBadgeDescription)};g._removeInlineDescription=function(){var a;(a=this._inlineBadgeDescription)==null||a.remove();this._inlineBadgeDescription=void 0};
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=l(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()};
pg.Object.defineProperties(DY.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color},set:function(a){this._setColor(a);this._color=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._updateDescription(a)}}});DY.\u0275fac=function(a){return new (a||DY)};
DY.\u0275dir=$i({type:DY,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(a,b){a&2&&rk("mat-badge-overlap",b.overlap)("mat-badge-above",b.position.indexOf("below")===-1)("mat-badge-below",b.position.indexOf("below")!==-1)("mat-badge-before",b.position.indexOf("before")!==-1)("mat-badge-after",b.position.indexOf("before")===-1)("mat-badge-small",b.size==="small")("mat-badge-medium",b.size==="medium")("mat-badge-large",b.size==="large")("mat-badge-hidden",b.hidden||
!b.content)("mat-badge-disabled",b.disabled)},inputs:{color:[0,"matBadgeColor","color"],overlap:[2,"matBadgeOverlap","overlap",Tk],disabled:[2,"matBadgeDisabled","disabled",Tk],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",Tk]}});var EY=function(){var a=this;this.cdr=x(jE,{self:!0});this.activeSession=x(Ks);this.butterBar=x(MA);this.appSearchState=x(hK);this.paths=x(TO);this.userPreferencesManager=x(NF);this.sidebar=x(rY);this.location=x(cn);this.appEvents=x(EB);this.missionControlPrefs=x(MW);this.needsAttentionTaskFridge=x(VE);this.bLocation=x(hL);this.ROUTES=Hq;this.appName=this.activeSession.getAppName();this.userEmail=this.activeSession.getUserEmail();this.environmentType=this.activeSession.getEnvironmentType();this.missionControlTaskCount$=
this.appEvents.missionControlTaskCount;this.assignedPath=this.paths.listIssues({q:YIc(this.userEmail)});this.starredPath=this.paths.listIssues({q:this.appSearchState.getStarred()});this.ccdPath=this.paths.listIssues({q:"cc:"+this.userEmail});this.collaborateOnPath=this.paths.listIssues({q:"collaborator:"+this.userEmail});this.verifiedPath=this.paths.listIssues({q:$Ic(this.userEmail)});this.reportedPath=this.paths.listIssues({q:"reporter:"+this.userEmail});this.componentsPath=Hq.listComponents.makeHref();
this.createBookmarkGroupPath=this.paths.createBookmarkGroup();this.missionControlPath=this.paths.home();this.sidebarData=this.sidebar.sidebarData;this.enableTriageView=Cx(this.activeSession,"enableTeamScope")&&this.activeSession.isInternalSession();this.enableMissionControlInExternalEnvironments=Cx(this.activeSession,"enableMissionControlInExternalEnvironments");this.enableHomepage=!this.activeSession.isAnonymous()&&(this.activeSession.isInternalSession()||this.enableMissionControlInExternalEnvironments);
this.paths.listIssues({q:"vote:true"});this.homepagePreferences$=this.userPreferencesManager.preferences$.pipe(C(function(d){return(d||Nw).homepagePreferences}));this.hasPreferredHomepage$=this.homepagePreferences$.pipe(C(function(d){return!(!d||!d.resourceType)}),jj());this.isHomepageMissionControl$=this.homepagePreferences$.pipe(C(function(d){return d.resourceType==="MISSION_CONTROL"}),jj());this.isHomepageAssignedToMe$=this.homepagePreferences$.pipe(C(function(d){return!a.enableHomepage&&!d.resourceType||
d.resourceType==="ASSIGNED_TO_ME"}),jj());this.hideBadgeInNav$=this.userPreferencesManager.preferences$.pipe(C(function(d){var e;return d==null?void 0:(e=d.missionControlPreferences)==null?void 0:e.hideBadgeInNav}),C(Boolean));this.destroyed$=new iE;var b,c=!!this.location.path().match(/^\/home\b/)&&!((b=this.missionControlPrefs.prefs.collapsed)==null?0:b["needs-attention-wrapper"]);Cx(this.activeSession,"runQueryForSidebarIssueCount")&&setTimeout(function(){a.enableHomepage&&!c&&si([a.missionControlPrefs.needsAttentionTimeBoundary$,
a.missionControlPrefs.needsAttentionSources$,a.missionControlPrefs.needsAttentionFilteredSignals$]).pipe(jj(function(d,e){return vd(d,e)}),sj(function(d){var e=l(d);d=e.next().value;var f=e.next().value;e=e.next().value;f=f.map(function(h){return ip(h)});return a.needsAttentionTaskFridge.watchMany({maxTaskAgeDays:d,sources:f,signalFilter:0,filterSignals:e})}),C(function(d){return d.results.length}),tj(a.destroyed$)).subscribe(function(d){a.appEvents.missionControlTaskCount.next(d)})},1E3)};
EY.prototype.ngOnInit=function(){var a=this;this.hasPreferredHomepage$.pipe(tj(this.destroyed$)).subscribe(function(){setTimeout(function(){a.cdr.detectChanges()})})};EY.prototype.ngOnDestroy=function(){this.destroyed$.next()};var Dqb=function(a,b){hq(a.butterBar,"Updating homepage...",0);uzc(a.userPreferencesManager,{resourceType:b}).subscribe(function(){hq(a.butterBar,"Homepage updated")})};EY.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};
EY.prototype.isTriageUrlFor=function(a){if(!this.location.path().match(/^\/triage\b/))return!1;a=new RegExp("\\b"+a+"\\b");return!!this.location.path().match(a)};EY.prototype.goToTriageSettingsPage=function(){this.bLocation.setUrl(Hq.triageSettings.makeHref())};EY.\u0275fac=function(a){return new (a||EY)};
EY.\u0275cmp=F({type:EY,selectors:[["b-sidebar"]],standalone:!1,features:[Bk([jE])],decls:50,vars:31,consts:[["menu",""],["homepageMenu",""],[1,"bv2-nav-header"],[1,"bv2-nav-bar"],["role","region",1,"bv2-nav-links"],["aria-label","Canned searches",1,"canned-searches"],["id","mission-control-sidebar-link",1,"bv2-nav-item",3,"selected"],["id","assigned-to-me-sidebar-link",1,"bv2-nav-item"],[3,"click","href"],["svgIcon","issue-status-accepted",1,"canned-search-icon"],["type","button","mat-icon-button",
"","disableRipple","true","aria-label","Assigned issues actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["matMenuContent",""],["svgIcon","star-filled",1,"canned-search-icon"],["svgIcon","person-add-18px",1,"canned-search-icon"],["svgIcon","user-attributes",1,"canned-search-icon"],["svgIcon","issue-status-fixed",1,"canned-search-icon"],[3,"bookmarkGroups"],[3,"searches"],[3,"hotlists"],[3,"hotlists","bookmarkGroups"],[1,"bv2-nav-manage-link"],[3,"href"],["id","mission-control-sidebar-link",
1,"bv2-nav-item"],["svgIcon","home","matBadgeColor","warn","matBadgeSize","small",1,"canned-search-icon",3,"matBadge","matBadgeHidden","matBadgeDescription"],["svgIcon","home",1,"canned-search-icon"],["type","button","mat-icon-button","","disableRipple","true","aria-label","More settings",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["type","button","mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"]],template:function(a,b){if(a&1){var c=y();
L(0,"div",2);N(1,"b-create-issue-button");M();L(2,"div",3)(3,"div",4)(4,"ul",5);I(5,Fqb,12,11,"li",6);L(6,"li",7)(7,"a",8);Q("click",function(d){z(c);return B(b.onAnchorClick(b.assignedPath,d))});N(8,"mat-icon",9);U(9," Assigned to me ");M();I(10,Gqb,2,1,"button",10);W(11,"async");L(12,"mat-menu",null,0);G(14,Hqb,2,0,"ng-template",11);M()();L(15,"li")(16,"a",8);Q("click",function(d){z(c);return B(b.onAnchorClick(b.starredPath,d))});N(17,"mat-icon",12);U(18," Starred by me ");M()();L(19,"li")(20,"a",
8);Q("click",function(d){z(c);return B(b.onAnchorClick(b.ccdPath,d))});N(21,"mat-icon",13);U(22," CC'd to me ");M()();L(23,"li")(24,"a",8);Q("click",function(d){z(c);return B(b.onAnchorClick(b.collaborateOnPath,d))});N(25,"mat-icon",13);U(26," Collaborating ");M()();L(27,"li")(28,"a",8);Q("click",function(d){z(c);return B(b.onAnchorClick(b.reportedPath,d))});N(29,"mat-icon",14);U(30," Reported by me ");M()();L(31,"li")(32,"a",8);Q("click",function(d){z(c);return B(b.onAnchorClick(b.verifiedPath,d))});
N(33,"mat-icon",15);U(34," To be verified ");M()()();I(35,Iqb,1,0,"nav-sidebar-triage");N(36,"sidebar-bookmark-groups",16)(37,"sidebar-saved-searches",17)(38,"sidebar-hotlists",18)(39,"sidebar-archived",19)(40,"hr");L(41,"div",20)(42,"a",21);U(43," Create hotlist ");M()();L(44,"div",20)(45,"a",21);U(46," Create bookmark group ");M()();L(47,"div",20)(48,"a",21);U(49," Browse components ");M()()()()}a&2&&(E(5),J(b.enableHomepage?5:-1),E(),rk("selected",ZIc(b.appSearchState,b.userEmail)),E(),K("href",
b.assignedPath,Ni),E(3),J(X(11,29,b.isHomepageAssignedToMe$)?-1:10),E(5),rk("selected",b.appSearchState.isStarred()),E(),K("href",b.starredPath,Ni),E(3),rk("selected",b.appSearchState.currentQuery==="cc:"+b.userEmail),E(),K("href",b.ccdPath,Ni),E(3),rk("selected",b.appSearchState.currentQuery==="collaborator:"+b.userEmail),E(),K("href",b.collaborateOnPath,Ni),E(3),rk("selected",b.appSearchState.currentQuery==="reporter:"+b.userEmail),E(),K("href",b.reportedPath,Ni),E(3),rk("selected",b.appSearchState.currentQuery===
$Ic(b.userEmail)),E(),K("href",b.verifiedPath,Ni),E(3),J(b.enableTriageView?35:-1),E(),K("bookmarkGroups",b.sidebarData.bookmarkGroups),E(),K("searches",b.sidebarData.userSearches),E(),K("hotlists",b.sidebarData.hotlists),E(),K("hotlists",b.sidebarData.archivedHotlists)("bookmarkGroups",b.sidebarData.archivedBookmarkGroups),E(3),K("href",b.ROUTES.createHotlist.makeHref(),Ni),E(3),K("href",b.createBookmarkGroupPath,Ni),E(3),K("href",b.componentsPath,Ni))},dependencies:[oY,EA,dA,bA,FL,mK,kK,lK,pK,DY,
vY,wY,AY,BY,CY,py],encapsulation:2});var FY=function(){};FY.\u0275fac=function(a){return new (a||FY)};FY.\u0275mod=Zi({type:FY});FY.\u0275inj=Eg({imports:[jC]});var GY=function(){};GY.\u0275fac=function(a){return new (a||GY)};GY.\u0275mod=Zi({type:GY});GY.\u0275inj=Eg({imports:[jC,FY,tU,uL,oL,MX,gO,JL,FG,nO,XN]});var HY=function(){};HY.\u0275fac=function(a){return new (a||HY)};HY.\u0275mod=Zi({type:HY});HY.\u0275inj=Eg({imports:[jC,KL]});var IY=function(){};IY.\u0275fac=function(a){return new (a||IY)};IY.\u0275mod=Zi({type:IY});IY.\u0275inj=Eg({imports:[Wy,kz]});var JY=function(){};JY.\u0275fac=function(a){return new (a||JY)};JY.\u0275mod=Zi({type:JY});JY.\u0275inj=Eg({imports:[HY,jC,GY,FI,IL,IY,IV,fC,oN]});var KY=function(){this.executor=x(ey)};KY.\u0275fac=function(a){return new (a||KY)};KY.\u0275prov=Dg({token:KY,factory:KY.\u0275fac,providedIn:"root"});var LY=function(){Z.apply(this,arguments);this.dialogRef=x(YH);this.tosApi=x(KY);this.ackChecked=!1};Y(LY,Z);LY.\u0275dir=Z.\u0275dir;LY.prototype.accept=function(){var a=this;this.tosApi.executor.post({url:"action/terms_ack",body:null,responseConstructor:null}).pipe(tj(this.destroyed$)).subscribe(function(){a.dialogRef.close()})};LY.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(LY)))(b||LY)}}();
LY.\u0275cmp=F({type:LY,selectors:[["b-terms-of-service-dialog"]],standalone:!1,features:[xj],decls:16,vars:2,consts:[["mat-dialog-title",""],[1,"b-tos-content"],[3,"ngModelChange","ngModel"],["href","https://www.google.com/policies/terms/","target","_blank"],["href","/terms","target","_blank"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1,"Google IssueTracker Terms of Service"),M(),L(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",2),
xk("ngModelChange",function(c){wk(b.ackChecked,c)||(b.ackChecked=c);return c}),M(),L(5,"span"),U(6," I acknowledge and agree to the "),L(7,"a",3),U(8,"Google Terms of Service"),M(),U(9," and the "),L(10,"a",4),U(11,"Google IssueTracker Conduct Policy"),M(),U(12,". "),M()()(),L(13,"mat-dialog-actions")(14,"button",5),Q("click",function(){return b.accept()}),U(15," OK "),M()());a&2&&(E(4),vk("ngModel",b.ackChecked),E(10),K("disabled",!b.ackChecked))},dependencies:[hG,oG,dA,aA,aG,HG,hI,jI,iI],styles:[".b-tos-content[_ngcontent-%COMP%]{padding-top:1em}.b-tos-content[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]{padding-right:8px}"]});var MY=function(){Z.apply(this,arguments);this.activeSession=x(Ks);this.matDialogService=x(eI)};Y(MY,Z);MY.\u0275dir=Z.\u0275dir;MY.prototype.ngOnInit=function(){this.activeSession.getMustAcknowledgeTerms()&&ZH(this.matDialogService.open(LY,{width:"400px",disableClose:!0})).pipe(tj(this.destroyed$))};MY.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(MY)))(b||MY)}}();
MY.\u0275cmp=F({type:MY,selectors:[["b-terms-of-service"]],standalone:!1,features:[xj],decls:0,vars:0,template:function(){},encapsulation:2});var NY=function(){};NY.\u0275fac=function(a){return new (a||NY)};NY.\u0275mod=Zi({type:NY});NY.\u0275inj=Eg({imports:[FG,jC,FI,SL,HI]});var OY=function(){};OY.\u0275fac=function(a){return new (a||OY)};OY.\u0275mod=Zi({type:OY});OY.\u0275inj=Eg({imports:[jC,NY]});var PY=function(){Z.apply(this,arguments);this.routerEvents=x(mE);this.bLocation=x(hL);this.history=[]};Y(PY,Z);PY.\u0275dir=Z.\u0275dir;PY.prototype.install=function(){var a=this;this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(function(){a.history.push(a.bLocation.getUrl());a.history.length>21&&a.history.shift()}))};PY.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};PY.prototype.hasPreviousPage=function(){return this.history.length>1};
var QY=function(a){if(a.hasPreviousPage()){a.history.pop();var b=a.history.pop();b?a.bLocation.setUrl(b):a.bLocation.setUrl("/")}else a.bLocation.setUrl("/")};PY.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(PY)))(b||PY)}}();PY.\u0275prov=Dg({token:PY,factory:PY.\u0275fac,providedIn:"root"});var RY=function(){this.$window=x(RF);this.activeSession=x(Ks);this.faviconUrl=this.defaultFaviconUrl=dd("https://www.gstatic.com/buganizer/img/v4/favicon.png")},v5c=function(a){var b=a.$window.document.head.querySelector('link[rel="shortcut icon"]'),c=b==null?void 0:b.href;a.faviconUrl=c?dd(c):a.defaultFaviconUrl;c=a.activeSession.getTracker();var d;if(c==null?0:(d=c.branding)==null?0:d.logoUrl){var e;a=dd(c==null?void 0:(e=c.branding)==null?void 0:e.logoUrl)}else a=a.faviconUrl;e=a;if(b&&b.href!==
e.toString())if(e instanceof Xc)b.href=Zc(e).toString(),b.rel="icon";else{if(agc.indexOf("icon")===-1)throw Error("aa`icon");e=ed(e);e!==void 0&&(b.href=e,b.rel="icon")}};RY.\u0275fac=function(a){return new (a||RY)};RY.\u0275prov=Dg({token:RY,factory:RY.\u0275fac,providedIn:"root"});var w5c=sjc("edited-ids"),x5c=Gf("edited-ids"),y5c=sjc("viewed-ids"),z5c=Gf("viewed-ids"),SY=function(){this.appEvents=x(EB);this.stop$=new oj;this.edited=new H2c(50);this.viewed=new H2c(50)},A5c=function(a){K2c(a.viewed,z5c());K2c(a.edited,x5c());a.appEvents.issueViewed.pipe(tj(a.stop$)).subscribe(function(b){I2c(a.viewed,b);y5c(J2c(a.viewed))});a.appEvents.issueEdited.pipe(tj(a.stop$)).subscribe(function(b){I2c(a.edited,b);w5c(J2c(a.edited))})};SY.\u0275fac=function(a){return new (a||SY)};
SY.\u0275prov=Dg({token:SY,factory:SY.\u0275fac,providedIn:"root"});var B5c=/^\s*[^:/?#]+:/i,C5c=/^#/i,TY=function(){var a=this;this.bLocation=x(hL);this.linkClickHandler=function(b){if(!(b.ctrlKey||b.metaKey||b.shiftKey||b.which===2||b.button===2||b.defaultPrevented)){var c;a:{for(c=b.target;c;){if(c.tagName==="A")break a;c=c.parentElement}c=void 0}if(c&&(!c.hasAttribute("target")||c.getAttribute("target")==="_self")&&(c=c.getAttribute("href"))&&!B5c.test(c))if(C5c.test(c)){a.bLocation.hash(c.substring(1));var d;(d=document.getElementById(c.substring(1)))==null||
d.scrollIntoView();b.stopPropagation();b.preventDefault()}else b.preventDefault(),a.bLocation.setUrl(c)}}};TY.prototype.install=function(){document.addEventListener("click",this.linkClickHandler)};TY.\u0275fac=function(a){return new (a||TY)};TY.\u0275prov=Dg({token:TY,factory:TY.\u0275fac,providedIn:"root"});var D5c=[],E5c=!1,UY=function(){this.destroyRef=x(Cj);this.hatsService=x(YQ);this.iconRegistry=x(DA);this.session=x(Ks);this.appHistory=x(PY);this.routePerformance=x(qX);this.linkClickHandler=x(TY);this.issueLru=x(SY);this.faviconService=x(RY);this.imageUrls=x(FO);this.ngZone=x(Kk);this.peoplekitService=x(yP)},F5c=function(a){E5c||(a.iconRegistry._addSvgIconSetConfig("",new vqc(a.imageUrls.ICON_URL)),E5c=!0);if(a.session.isInternalSession()){xRc(a.hatsService,"Y4qgAGETM0g6pPHSLo10T83aMF4T").pipe(hj(1),
vp(a.destroyRef)).subscribe();for(var b=l(D5c),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.hatsTriggerId;Cx(a.session,c.flagName)&&xRc(a.hatsService,d).pipe(hj(1),vp(a.destroyRef)).subscribe()}}a.appHistory.install();a.routePerformance.install();a.linkClickHandler.install();a.destroyRef.onDestroy(function(){document.removeEventListener("click",a.linkClickHandler.linkClickHandler)});A5c(a.issueLru);v5c(a.faviconService);a.ngZone.runOutsideAngular(function(){a.peoplekitService.peopleStore.warmUpCache()})};
UY.\u0275fac=function(a){return new (a||UY)};UY.\u0275prov=Dg({token:UY,factory:UY.\u0275fac,providedIn:"root"});var Lqb=0;var G5c=fha("blinkers-activated"),H5c=Ff("blinkers-activated"),I5c=Ff("log-xhrs-to-console"),J5c=fha("log-xhrs-to-console"),K5c=Mqb("debug-dom-mutation","var(--c400)"),L5c=Mqb("debug-ng-zone","var(--red-400)"),M5c=Mqb("debug-xhr","var(--green-500)",1200),N5c=function(a,b,c){b=b===void 0?"#ccc":b;c=c===void 0?400:c;Lqb++;var d=156;d+=(Lqb-1)*12;return function(e,f){f=f===void 0?b:f;var h,k=(h=document.getElementById(a))!=null?h:Jqb(a,d);k.style.transition="opacity "+c+"ms";k.style.backgroundColor=
f;k.style.opacity=e?"1":"0"}}("active-user","var(--yellow-500)"),VY=function(){var a=this;this.activityMonitor=x(hE);this.userActivity=x(kE);this.destroyed$=new oj;this.xhrLog=[];this.publicApi={isEnabled:this.isEnabled.bind(this),enable:this.enable.bind(this),disable:this.disable.bind(this)};this.onAnyClick=function(b){b.target.id==="debug-xhr"&&(b=!I5c(),J5c(b),b?O5c(a):clearInterval(a.loggingInterval))};this.printXhrLog=function(){var b=a.xhrLog.length;if(b>0){var c=Array(b).fill("\u2588").join("");
console.log(window.location.pathname.padEnd(20)+" XHRs: "+c+" "+(b>0?"("+b+")":""))}a.xhrLog=[]};this.isEnabled()&&P5c(this)};VY.prototype.ngOnDestroy=function(){Q5c(this)};VY.prototype.isEnabled=function(){return H5c()};VY.prototype.enable=function(){this.isEnabled()||(G5c(!0),P5c(this))};VY.prototype.disable=function(){G5c(!1);Q5c(this)};
var P5c=function(a){a.activityMonitor.dom$.pipe(tj(a.destroyed$)).subscribe(function(){return void K5c()});Dwc(a.activityMonitor);a.activityMonitor.cdr$.pipe(tj(a.destroyed$)).subscribe(function(){return void L5c()});a.activityMonitor.xhr$.pipe(tj(a.destroyed$)).subscribe(function(){M5c();var b=a.xhrLog,c=Date.now();b.push(c);c=c===void 0?Date.now():c;var d=d===void 0?5E3:d;for(var e=0;e<b.length&&!(c-b[e]<=d);e++);b.splice(0,e)});a.userActivity.active$.pipe(tj(a.destroyed$)).subscribe(function(b){return void N5c(b)});
document.addEventListener("click",a.onAnyClick);I5c()&&O5c(a)},Q5c=function(a){a.destroyed$.next();a.activityMonitor.domObserver.disconnect();document.removeEventListener("click",a.onAnyClick)},O5c=function(a){clearInterval(a.loggingInterval);a.loggingInterval=setInterval(a.printXhrLog,1E3)};VY.\u0275fac=function(a){return new (a||VY)};VY.\u0275prov=Dg({token:VY,factory:VY.\u0275fac,providedIn:"root"});var WY=function(){this.activeSession=x(Ks);this.email=this.activeSession.getUserEmail();this.user=Kd(this.activeSession.getUserEmail())};WY.\u0275fac=function(a){return new (a||WY)};WY.\u0275prov=Dg({token:WY,factory:WY.\u0275fac,providedIn:"root"});var XY=function(){var a=this;this.activeSession=x(Ks);this.appEvents=x(EB);this.ngZone=x(Kk);this.window=x(RF);this.buganizerBlinkers=x(VY);this.currentUser=x(WY);this.routeParamsService=x(wF);this.userPreferencesManager=x(NF);this.router=x($B);this.issueFullFridge=x(pE);this.eventsForIssueFridge=x(wD);this.starredTeamsService=x(QH);this.teamsService=x(kF);this.fridges=[x(ZA),x(fB),x(iB),x(mB),x(rB),x(AB),x(kC),x(JC),x(PC),x(QC),x(wD),x(AD),x(BD),x(EC),x(ID),x(MD),x(pE),x(sE),x(CE),x(UE),x(VE),x(WE),
x($E),x(aF),x(IC),x(eF),x(oF),x(pF),x(qF),x(vF)];this.getCurrentIssueId=function(){var b;return(b=a.routeParamsService.routeParams$.value)==null?void 0:b.issueId};this.getCurrentIssue=function(){return a.issueFullFridge.peek(a.getCurrentIssueId())};this.getCurrentIssueEvents=function(){return a.eventsForIssueFridge.peek(a.getCurrentIssueId())};this.getCurrentIssueAsText=function(){var b=a.getCurrentIssue();if(b==null)return"";var c,d=(c=a.eventsForIssueFridge.peek(b.issueId))==null?void 0:c.events;
return Yqb(b,d)}};
XY.prototype.install=function(){var a=this;if(this.activeSession.isInternalSession()){var b=this;this.window.bedbug=Object.assign({},this,{ngZone:this.ngZone,appEvents:this.appEvents,router:this.router,requestKeeper:Bwc,activeSession:this.activeSession,teamsService:this.teamsService,blinkers:this.buganizerBlinkers.publicApi,toggleDebugLogging:tjc("debug-logging"),toggleOptOutExperiments:tjc("opt-out-experiments"),currentUser:this.currentUser,userPreferencesManager:this.userPreferencesManager,setFlagOverrideForOneDay:mha,
clearFlagOverride:nha,clearAllFlagOverrides:jha,getCurrentIssueAsText:this.getCurrentIssueAsText,printCurrentIssueAsText:function(){var c=a.getCurrentIssueAsText();console.log(c)},get initialSession(){return Nf()},get initialPrefs(){return Nf().userPreferences},get currentPrefs(){return OF(b.userPreferencesManager)},get currentIssue(){return b.getCurrentIssue()},get currentIssueEvents(){return b.getCurrentIssueEvents()},get flags(){return Object.fromEntries(Nf().config.enabledFlags)},showFridgeGuts:function(){console.log("\ud83e\uddca Fridge: printing the values for each fridge. \nTo see details on cache age look for methods like debug() and debugTable() on each fridge instance.");
console.log();b.fridges.forEach(function(c){var d=c.peekAllRecords();d!=null&&d.length!==0&&console.log(c.recordType,d)})},toggleVerboseFridge:function(){return prc=!prc},setTrackerOverride:function(c){arb(String(c),1)},clearTrackerOverride:function(){arb("")},resetTriageStars:function(){return a.starredTeamsService.reset()},getTeamExperiments:function(c){return nF(a.teamsService,c)},updateTeamExperiments:function(c){return Ryc(a.teamsService,c)}})}};XY.\u0275fac=function(a){return new (a||XY)};
XY.\u0275prov=Dg({token:XY,factory:XY.\u0275fac,providedIn:"root"});var YY=function(){this.activatedRoute=x(Zn);var a,b=(a=this.activatedRoute.snapshot.firstChild)==null?void 0:a.routeConfig;this.hideAppChrome=b&&b.hideAppChrome?!0:!1};YY.\u0275fac=function(a){return new (a||YY)};YY.\u0275prov=Dg({token:YY,factory:YY.\u0275fac,providedIn:"root"});var R5c=function(a){this.delegate_=a};R5c.prototype.getDelegate=function(){return this.delegate_};var S5c=function(a){this.delegate_=a;this.target_=null};Y(S5c,R5c);S5c.prototype.getType=function(){return this.getDelegate().xa};var T5c=function(a){this.delegate_=a};Y(T5c,R5c);g=T5c.prototype;g.listen=function(a,b,c,d){var e=this;return this.getDelegate().za(a,function(f){return b.call(d||da,new S5c(f,e))},c)};g.listenOnce=function(){throw Error("df");};g.unlisten=function(){throw Error("df");};g.unlistenByKey=function(){throw Error("df");};g.dispatchEvent=function(){throw Error("df");};g.removeAllListeners=function(){throw Error("df");};g.getParentEventTarget=function(){throw Error("df");};
g.fireListeners=function(){throw Error("df");};g.getListener=function(){throw Error("df");};g.hasListener=function(){throw Error("df");};T5c.prototype[amc]=!0;var U5c=function(a){this.delegate_=a};Y(U5c,T5c);U5c.prototype.getHeight=function(){return this.getDelegate().pa()};U5c.prototype.setPageTitle=function(){this.getDelegate().pb(void 0)};U5c.prototype.setBackgroundColor=function(a){this.getDelegate().pd(a)};var V5c=function(a,b){this.delegate_=a;this.wrapperConstructor_=b||null};Y(V5c,R5c);V5c.prototype.then=function(a,b,c){var d;a&&(d=W5c(this,a));this.getDelegate().aa(d,b,c)};var W5c=function(a,b){var c=a.wrapperConstructor_;return c?function(d){b.call(this,new c(d))}:b};var ZY=function(a){this.delegate_=a||gbar.a;this.gapiPromise_=this.barPromise_=null};Y(ZY,R5c);ZY.prototype.getGapi=function(){this.gapiPromise_||(this.gapiPromise_=new V5c(this.getDelegate().bh()));return this.gapiPromise_};ZY.getInstance=function(){var a="instance_";ZY.instance_&&ZY.hasOwnProperty(a)?a=ZY.instance_:(a=new ZY,ZY.instance_=a);return a};
var X5c=function(){return new Promise(function(a){window.gbar||(window.gbar={});if(window.gbar.a)return a(ZY.getInstance());(new Promise(function(b){window.gbar.ap=b})).then(function(){return a(ZY.getInstance())})})};var $Y=function(){Z.apply(this,arguments);this.router=x($B);this.window=x(RF)};Y($Y,Z);$Y.\u0275dir=Z.\u0275dir;$Y.prototype.start=function(){var a=this,b;return v(function(c){if(c.nextAddress==1)return w(c,X5c(),2);b=c.yieldResult;return c.return((new Promise(function(d,e){b.barPromise_||(b.barPromise_=new V5c(b.getDelegate().bf(),U5c));b.barPromise_.then(d,e)})).then(function(d){Y5c(a,d)}))})};var Y5c=function(a,b){a.router.events.pipe(Di(CGa),tj(a.destroyed$)).subscribe(function(){b.getDelegate().pl(a.window.location.href)})};
$Y.\u0275fac=function(){var a;return function(b){return(a||(a=Nh($Y)))(b||$Y)}}();$Y.\u0275prov=Dg({token:$Y,factory:$Y.\u0275fac,providedIn:"root"});var aZ=function(){Z.apply(this,arguments);var a=this;this.paramsService=x(wF);this.issueFullFridge=x(pE);this.eventsForIssueFridge=x(wD);this.handlers$=this.paramsService.routeParams$.pipe(jj(vd),sj(function(b){return a.onRouteParamsChanged(b)}));this.init=function(){a.subscriptions.add(a.handlers$.subscribe(function(){}))};this.initOnce=Df(this.init)};Y(aZ,Z);aZ.\u0275dir=Z.\u0275dir;
aZ.prototype.onRouteParamsChanged=function(a){var b=this,c,d;return v(function(e){if(e.nextAddress==1){c={trustUncertainMemory:!0};if(!a.issueId)return e.jumpTo(2);d=a.issueId;return w(e,Promise.all([b.issueFullFridge.poke(d,c),b.eventsForIssueFridge.poke(d,c)]),3)}return e.return()})};aZ.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(aZ)))(b||aZ)}}();aZ.\u0275prov=Dg({token:aZ,factory:aZ.\u0275fac,providedIn:"root"});var bZ=function(){var a=x(mE);Z.call(this);var b=this;this.scrollTimingMap=new Map;a.routeChangeSuccess.pipe(tj(this.destroyed$)).subscribe(function(){b.scrollTimingMap.clear()})};Y(bZ,Z);bZ.\u0275dir=Z.\u0275dir;bZ.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)};bZ.\u0275fac=function(a){return new (a||bZ)};
bZ.\u0275prov=Dg({token:bZ,factory:bZ.\u0275fac,providedIn:"root"});var Z5c=["leftSidebar"],$5c=function(){this.hideAppChromeHelper=x(YY);this.renderer=x($m);(this.hideAppChrome=this.hideAppChromeHelper.hideAppChrome)?this.renderer.addClass(document.body,"hide-topbar"):this.renderer.removeClass(document.body,"hide-topbar")};$5c.\u0275fac=function(a){return new (a||$5c)};
$5c.\u0275cmp=F({type:$5c,selectors:[["app-root"]],standalone:!1,decls:2,vars:1,consts:[["role","main",1,"full-width","full-height"]],template:function(a,b){a&1&&I(0,brb,2,0,"div",0)(1,crb,2,0,"div",0);a&2&&J(b.hideAppChrome?0:1)},dependencies:function(){return[MB,cZ]},encapsulation:2});
var cZ=function(){Z.call(this);var a=this;this.appInitializer=x(UY);this.appSearchState=x(hK);this.appEvents=x(EB);this.performanceToClearcut=x(gE);this.window=x(RF);this.issueComments=x(CI);this.oneGoogleBar=x($Y);this.scrollTiming=x(bZ);this.pageTitleUpdaterService=x(kY);this.pageLoadOptimizerService=x(aZ);this.bedbugService=x(XY);this.userActivity=x(kE);this.bLocation=x(hL);this.reloadService=x(pY);this.activeSession=x(Ks);this.hotkeys=x(BL);this.paths=x(TO);this.userPrefs=x(NF);this.issuePagination=
x(iY);this.userFeedback=x(iS);this.matDialogService=x(eI);this.renderer=x($m);this.densityClass="d-comfort";this.announcement=this.dismissedMessageId=null;this.sidebarWidth=220;this.isAnonymous=this.activeSession.isAnonymous();F5c(this.appInitializer);this.bedbugService.install();this.userActivity.install();Awc(this.performanceToClearcut);this.subscriptions.add(this.appEvents.onClickAppMenuIcon.subscribe(function(){var u;(u=a.leftSidebar)==null||u.toggle()}));this.renderer.addClass(document.body,
this.densityClass);this.userPrefs.themePreferences$.pipe(tj(this.destroyed$)).subscribe(function(u){u=irb(u.density);u!==a.densityClass&&(a.renderer.addClass(document.body,u),a.renderer.removeClass(document.body,a.densityClass),a.densityClass=u)});this.subscriptions.add(dJc(this.appSearchState,function(u){a.doSearch(u)}));var b=[{keys:["/","F3"],displayAs:"/ or F3",description:"Search",onPress:function(){var u=document.querySelector(".search-box-container .search-box");u==null||u.focus();u==null||
u.select()}},{keys:[lq("2"),SPa()],displayAs:"@ or Alt+Shift+f",description:"Send feedback",onPress:function(){a.startFeedback()}},{keys:["c"],displayAs:"c",description:"Create issue",onPress:function(){a.bLocation.setUrl(c)}}];this.activeSession.isInternalSession()&&b.push({keys:[mq("g","p")],displayAs:"g then p",description:"Go to your preferred homepage",onPress:function(){a.bLocation.setUrl("/")}},{keys:[mq("g","h")],displayAs:"g then h",description:'Go to "Home"',onPress:function(){a.bLocation.setUrl(a.paths.home())}});
var c=this.paths.createIssue(),d=this.paths.listIssues({q:YIc(this.activeSession.getUserEmail())}),e=this.paths.listIssues({q:"cc:"+this.activeSession.getUserEmail()}),f=this.paths.listIssues({q:$Ic(this.activeSession.getUserEmail())}),h=this.paths.listIssues({q:"reporter:"+this.activeSession.getUserEmail()}),k=this.paths.listIssues({q:this.appSearchState.getStarred()}),q=this.paths.listIssues({q:"vote:true"});b.push({keys:[mq("g","a")],displayAs:"g then a",description:'Go to "Assigned to me"',onPress:function(){a.bLocation.setUrl(d)}},
{keys:[mq("g","c")],displayAs:"g then c",description:'Go to "CC\'d to me"',onPress:function(){a.bLocation.setUrl(e)}},{keys:[mq("g","r")],displayAs:"g then r",description:'Go to "Reported by me"',onPress:function(){a.bLocation.setUrl(h)}},{keys:[mq("g","s")],displayAs:"g then s",description:'Go to "Starred by me"',onPress:function(){a.bLocation.setUrl(k)}},{keys:[mq("g","1")],displayAs:"g then 1",description:'Go to "Upvoted by me"',onPress:function(){a.bLocation.setUrl(q)}},{keys:[mq("g","v")],displayAs:"g then v",
description:'Go to "To be verified"',onPress:function(){a.bLocation.setUrl(f)}},{keys:[],displayAs:"Ctrl+Enter",description:"Submit entered text (while focused)",onPress:function(){}},{keys:[],displayAs:"Alt+Right",description:"Opens hovercard (if available)",onPress:function(){}},{keys:["?",RPa("F1")],displayAs:"? or Ctrl+F1",description:"Display the keyboard shortcuts pop-up",onPress:function(){a.matDialogService.open(cY,{minWidth:512})}});this.subscriptions.add(CL(this.hotkeys,{title:"General",
hotkeys:b}));this.announcement=this.activeSession.getAnnouncement();this.userPrefs.preferences$.pipe(hj(1),tj(this.destroyed$)).subscribe(function(u){a.dismissedMessageId=u.bannerMessageId||"";var A;a.sidebarWidth=((A=u.layoutPreferences)==null?void 0:A.leftSidebarWidth)||220});this.oneGoogleBar.start();PFa()&&(uvc!=null&&uvc.disconnect(),uvc=new ZFa.PerformanceObserver(dGa),uvc.observe({entryTypes:["measure"]}));setTimeout($ob,6E4);this.scrollTiming.start();this.pageTitleUpdaterService.initOnce();
this.pageLoadOptimizerService.initOnce();this.window.emergencyBugjugglerWorkaround={session:this.activeSession,issueComments:this.issueComments}};Y(cZ,Z);cZ.\u0275dir=Z.\u0275dir;var grb=function(a,b){var c;return v(function(d){if(d.nextAddress==1){if(b===a.sidebarWidth)return d.return();a.sidebarWidth=b;return w(d,pi(a.userPrefs.layoutPreferences$),2)}c=d.yieldResult;return w(d,pi(a.userPrefs.save({layoutPreferences:Object.assign({},c,{leftSidebarWidth:b})})),0)})};
cZ.prototype.doSearch=function(a){a=this.paths.listIssues({q:a});var b=uOc(this.paths,a);E4c(this.issuePagination);b&&ONb(this.reloadService);this.bLocation.setUrl(a)};var drb=function(a){a.announcement!==null&&(a.dismissedMessageId=a.announcement.messageId,a.userPrefs.save({bannerMessageId:a.dismissedMessageId}).pipe(hj(1),tj(a.destroyed$)).subscribe())};cZ.prototype.startFeedback=function(){this.userFeedback.startFeedback()};cZ.\u0275fac=function(a){return new (a||cZ)};
cZ.\u0275cmp=F({type:cZ,selectors:[["app-root-body"]],viewQuery:function(a,b){a&1&&ek(Z5c,5);if(a&2){var c;ik(c=jk())&&(b.leftSidebar=c.first)}},standalone:!1,features:[xj],decls:10,vars:2,consts:[["leftSidebar",""],[1,"bv2-announce-bar"],[1,"bv2-content","flex-kids-x","border-top"],["id","main-app-nav",3,"size"],["id","skiplink-navigation-target","role","main",1,"flex","pos-rel"],"aria-live polite role status aria-atomic true".split(" "),[3,"innerHtml"],["role","button","tabindex","0",1,"announce-dismiss"],
["role","button","tabindex","0",1,"announce-dismiss",3,"keydown.enter","keydown.space","click"],["id","main-app-nav",3,"widthChanged","size"]],template:function(a,b){a&1&&(N(0,"b-hiring-banner")(1,"b-terms-of-service"),I(2,frb,4,2,"div",1),N(3,"b-sso-expired-callout-outlet"),L(4,"div",2),I(5,hrb,3,1,"b-resizable-sidebar",3),L(6,"div",4),N(7,"router-outlet"),M()(),N(8,"b-footer")(9,"bug-screensaver-manager"));if(a&2){E(2);var c;a=b.announcement;a=a===void 0?b.announcement:a;if((c=a)!=null&&c.message){var d;
c=((d=a.tags)==null?void 0:d.length)>0||!Cx(b.activeSession,"canSeeAnnouncementBanner")?!1:a.dismissible?b.dismissedMessageId==null?!1:a.messageId!==b.dismissedMessageId:!0}else c=!1;J(c?2:-1);E(3);J(b.isAnonymous?-1:5)}},dependencies:function(){return[MB,U4c,V4c,u4c,NL,EY,MY,t4c]},encapsulation:2});var dZ=function(){};dZ.\u0275fac=function(a){return new (a||dZ)};dZ.\u0275mod=Zi({type:dZ});dZ.\u0275inj=Eg({imports:[jC,mY,uM,nY,FI,bY,dY,QL,JY,OY]});var eZ=function(){};eZ.\u0275fac=function(a){return new (a||eZ)};eZ.\u0275mod=Zi({type:eZ});eZ.\u0275inj=Eg({imports:[jC]});var fZ=function(){};fZ.\u0275fac=function(a){return new (a||fZ)};fZ.\u0275mod=Zi({type:fZ});fZ.\u0275inj=Eg({imports:[jC,FI,HI,nL,EM,eZ]});var gZ=function(){};gZ.\u0275fac=function(a){return new (a||gZ)};gZ.\u0275mod=Zi({type:gZ});gZ.\u0275inj=Eg({imports:[pN,yN,FI,jC]});var hZ=function(){};hZ.\u0275fac=function(a){return new (a||hZ)};hZ.\u0275mod=Zi({type:hZ});hZ.\u0275inj=Eg({imports:[jC,IL,oN,QN,vM,FI,pO,SL,FG,gZ]});var iZ=function(){};iZ.\u0275fac=function(a){return new (a||iZ)};iZ.\u0275mod=Zi({type:iZ});iZ.\u0275inj=Eg({imports:[xy]});var jZ=function(){};jZ.\u0275fac=function(a){return new (a||jZ)};jZ.\u0275mod=Zi({type:jZ});jZ.\u0275inj=Eg({imports:[xy,tL,aU]});var kZ=function(){};kZ.\u0275fac=function(a){return new (a||kZ)};kZ.\u0275mod=Zi({type:kZ});kZ.\u0275inj=Eg({imports:[xy,iC,tL,FG,iZ,jZ,FQ]});var lZ=function(){};lZ.\u0275fac=function(a){return new (a||lZ)};lZ.\u0275mod=Zi({type:lZ});lZ.\u0275inj=Eg({imports:[jC,HI,kZ,hZ,FG,gZ,FI,JL]});var mZ=function(){};mZ.\u0275fac=function(a){return new (a||mZ)};mZ.\u0275mod=Zi({type:mZ});mZ.\u0275inj=Eg({imports:[jC,yN,SL,FI,HI,vL,jQ,oL,cN]});var a6c=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"]]),b6c=new Map([["ENABLED","Enabled"],["DISABLED","Disabled"]]),lrb=new Map([["BUGANIZER_DEFAULT","Default (10 years)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Indefinite"]]),mrb=new Map([["BUGANIZER_DEFAULT",
"Default (60 days)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Match Issue Retention"]]),nZ=function(){this.$log=x(NA);this.activeSession=x(Ks);this.sessionIsInternal=this.activeSession.isInternalSession()};nZ.\u0275fac=function(a){return new (a||nZ)};nZ.\u0275prov=Dg({token:nZ,factory:nZ.\u0275fac,providedIn:"root"});var orb=new Map([["SLO_SOURCE_UNSPECIFIED","--"],["USER","User"],["BUGSCOPE","Bugscope"]]);var c6c=new kh("GM2_PAGINATOR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var d6c=function(a){this.options=a;if(a.disableGmatStyle)throw Error("Mb");};d6c.\u0275fac=function(a){return new (a||d6c)(Ui(c6c))};d6c.\u0275dir=$i({type:d6c,selectors:[["mat-paginator"]],hostAttrs:[1,"gmat-mdc-paginator"],standalone:!1});var oZ=function(){this.changes=new oj;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(c==0||b==0)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}};oZ.\u0275fac=function(a){return new (a||oZ)};oZ.\u0275prov=Dg({token:oZ,factory:oZ.\u0275fac,providedIn:"root"});var e6c=new kh("MAT_PAGINATOR_DEFAULT_OPTIONS"),pZ=function(){var a=this;this._intl=x(oZ);this._changeDetectorRef=x(sx);this._pageSizeLabelId=x(Wm).getId("mat-paginator-page-size-label-");this._isInitialized=!1;this._initializedStream=new nj(1);this._length=this._pageIndex=0;this._pageSizeOptions=[];this.showFirstLastButtons=this.hidePageSize=!1;this.selectConfig={};this.disabled=!1;this.page=new Lp;this.initialized=this._initializedStream;var b=this._intl,c=x(e6c,{optional:!0});this._intlChanges=
b.changes.subscribe(function(){return a._changeDetectorRef.markForCheck()});if(c){var d=c.pageSize,e=c.pageSizeOptions,f=c.hidePageSize,h=c.showFirstLastButtons;d!=null&&(this._pageSize=d);e!=null&&(this._pageSizeOptions=e);f!=null&&(this.hidePageSize=f);h!=null&&(this.showFirstLastButtons=h)}this._formFieldAppearance=(c==null?void 0:c.formFieldAppearance)||"outline"};g=pZ.prototype;g.ngOnInit=function(){this._isInitialized=!0;this._updateDisplayedPageSizeOptions();this._initializedStream.next()};
g.ngOnDestroy=function(){this._initializedStream.complete();this._intlChanges.unsubscribe()};g.nextPage=function(){this.hasNextPage()&&this._navigate(this.pageIndex+1)};g.hasPreviousPage=function(){return this.pageIndex>=1&&this.pageSize!=0};g.hasNextPage=function(){return this.pageIndex<(this.pageSize?Math.ceil(this.length/this.pageSize):0)-1&&this.pageSize!=0};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._isInitialized&&(this.pageSize||(this._pageSize=this.pageSizeOptions.length!=0?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),this._displayedPageSizeOptions.indexOf(this.pageSize)===-1&&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})};g._navigate=function(a){var b=this.pageIndex;a!==b&&(this.pageIndex=a,this._emitPageEvent(b))};g._buttonClicked=function(a,b){b||this._navigate(a)};
pg.Object.defineProperties(pZ.prototype,{pageIndex:{configurable:!0,enumerable:!0,get:function(){return this._pageIndex},set:function(a){this._pageIndex=Math.max(a||0,0);this._changeDetectorRef.markForCheck()}},length:{configurable:!0,enumerable:!0,get:function(){return this._length},set:function(a){this._length=a||0;this._changeDetectorRef.markForCheck()}},pageSize:{configurable:!0,enumerable:!0,get:function(){return this._pageSize},set:function(a){this._pageSize=Math.max(a||0,0);this._updateDisplayedPageSizeOptions()}},
pageSizeOptions:{configurable:!0,enumerable:!0,get:function(){return this._pageSizeOptions},set:function(a){this._pageSizeOptions=(a||[]).map(function(b){return Uk(b,0)});this._updateDisplayedPageSizeOptions()}}});pZ.\u0275fac=function(a){return new (a||pZ)};
pZ.\u0275cmp=F({type:pZ,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",Uk],length:[2,"length","length",Uk],pageSize:[2,"pageSize","pageSize",Uk],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",Tk],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",Tk],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",Tk]},outputs:{page:"page"},exportAs:["matPaginator"],
decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-atomic","true","aria-live","polite","role","status",1,"mat-mdc-paginator-range-label"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["matIconButton","","type","button",
"matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],
["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["aria-hidden","true",1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass",
"disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled",
"disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(a,b){a&1&&(L(0,"div",1)(1,"div",2),I(2,urb,5,4,"div",3),L(3,"div",4)(4,"div",5),U(5),M(),I(6,vrb,3,5,"button",6),L(7,"button",7),Q("click",function(){return b._buttonClicked(b.pageIndex-1,b._previousButtonsDisabled())}),Gh(),L(8,"svg",8),N(9,"path",9),M()(),Hh(),L(10,"button",10),Q("click",function(){return b._buttonClicked(b.pageIndex+1,b._nextButtonsDisabled())}),Gh(),L(11,"svg",8),N(12,
"path",11),M()(),I(13,wrb,3,5,"button",12),M()()());a&2&&(E(2),J(b.hidePageSize?-1:2),E(3),V(" ",b._intl.getRangeLabel(b.pageIndex,b.pageSize,b.length)," "),E(),J(b.showFirstLastButtons?6:-1),E(),K("matTooltip",b._intl.previousPageLabel)("matTooltipDisabled",b._previousButtonsDisabled())("disabled",b._previousButtonsDisabled())("tabindex",b._previousButtonsDisabled()?-1:null),Hj("aria-label",b._intl.previousPageLabel),E(3),K("matTooltip",b._intl.nextPageLabel)("matTooltipDisabled",b._nextButtonsDisabled())("disabled",
b._nextButtonsDisabled())("tabindex",b._nextButtonsDisabled()?-1:null),Hj("aria-label",b._intl.nextPageLabel),E(3),J(b.showFirstLastButtons?13:-1))},dependencies:[eH,WL,Vz,bA,WF],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height: var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding: var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:var(--mat-paginator-page-size-select-width, 84px)}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled]{color:GrayText}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:var(--mat-paginator-page-size-select-width, 84px);height:var(--mat-paginator-page-size-select-touch-target-height, 48px);background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}\n"],
encapsulation:2,changeDetection:0});var qZ=function(){this.paths=x(TO);this.ROUTES=Hq;this.children=[];this.onVisit=new iE;this.pageSize=25;this.pageSizeOptions=[10,25,100];this.childrenOnPage=[]};qZ.prototype.ngOnInit=function(){this.childrenOnPage=this.children.slice(0,this.pageSize)};qZ.\u0275fac=function(a){return new (a||qZ)};
qZ.\u0275cmp=F({type:qZ,selectors:[["b-component-children-list"]],inputs:{children:"children"},outputs:{onVisit:"onVisit"},standalone:!1,decls:4,vars:1,consts:[["card","onedevHovercard"],[3,"length","pageSize","pageSizeOptions"],[1,"component-children"],[3,"page","length","pageSize","pageSizeOptions"],[1,"keep-underline","keep-focus-ring",3,"click","onedevHovercardTrigger","href"],[3,"componentId"]],template:function(a,b){a&1&&(I(0,xrb,1,3,"mat-paginator",1),L(1,"ul",2),Mj(2,yrb,6,4,"li",null,Lj),
M());a&2&&(J(b.children.length>b.pageSize?0:-1),E(2),Nj(b.childrenOnPage))},dependencies:[xH,DH,AO,d6c,pZ],encapsulation:2});var rZ=function(){};rZ.\u0275fac=function(a){return new (a||rZ)};rZ.\u0275mod=Zi({type:rZ});rZ.\u0275inj=Eg({imports:[cA,YL,XF,pZ]});var sZ=function(){};sZ.\u0275fac=function(a){return new (a||sZ)};sZ.\u0275mod=Zi({type:sZ});sZ.\u0275inj=Eg({providers:[CKc],imports:[rZ]});var tZ=function(){};tZ.\u0275fac=function(a){return new (a||tZ)};tZ.\u0275mod=Zi({type:tZ});tZ.\u0275inj=Eg({imports:[jC,uL,OV,sZ]});var uZ=function(){this.shouldShowCopyIssueShortLinks=!1;this.shortLinkPrefix="b/";this.onClickCopyIssueIds=new iE;this.onClickCopyIssueShortLinks=new iE;this.onClickCopyAsIssueSearch=new iE};uZ.\u0275fac=function(a){return new (a||uZ)};
uZ.\u0275cmp=F({type:uZ,selectors:[["b-copy-issue-id-button"]],inputs:{shouldShowCopyIssueShortLinks:"shouldShowCopyIssueShortLinks",shortLinkPrefix:"shortLinkPrefix"},outputs:{onClickCopyIssueIds:"onClickCopyIssueIds",onClickCopyIssueShortLinks:"onClickCopyIssueShortLinks",onClickCopyAsIssueSearch:"onClickCopyAsIssueSearch"},standalone:!1,decls:10,vars:2,consts:[["splitMenu","matMenu"],["type","button","mat-button","","aria-label","Copy selected issue IDs",1,"medium","icon-only",3,"click"],["name",
"copy","size","small"],["type","button","mat-button","","aria-label","More copy issue ID options",1,"medium","compact",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["type","button","mat-menu-item",""],["type","button","mat-menu-item","",3,"click"]],template:function(a,b){if(a&1){var c=y();L(0,"b-button-group")(1,"button",1);Q("click",function(){z(c);return B(b.onClickCopyIssueIds.emit())});N(2,"b-icon",2);M();L(3,"button",3);N(4,"b-icon",4);M();L(5,"mat-menu",null,0);I(7,zrb,2,
1,"button",5);L(8,"button",6);Q("click",function(){z(c);return B(b.onClickCopyAsIssueSearch.emit())});U(9," Copy as issue search ");M()()()}a&2&&(a=T(6),E(3),K("matMenuTriggerFor",a),E(4),J(b.shouldShowCopyIssueShortLinks?7:-1))},dependencies:[FL,mK,kK,pK,dA,aA,UX,jK],encapsulation:2,changeDetection:0});tOa(vOa(uOa(function(a){this._elementRef=a})));p(["disabled","disableRipple","color","tabIndex"]);var f6c=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var g6c=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new oj;this._afterOpened=new oj;this._onAction=new oj;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};g=g6c.prototype;g.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit();clearTimeout(this._durationTimeoutId)};
g.dismissWithAction=function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss());clearTimeout(this._durationTimeoutId)};g._dismissAfter=function(a){var b=this;this._durationTimeoutId=setTimeout(function(){return b.dismiss()},Math.min(a,2147483647))};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.afterDismissed=function(){return this._afterDismissed};g.afterOpened=function(){return this.containerInstance._onEnter};g.onAction=function(){return this._onAction};var h6c=nNa("state",[Vp("void, hidden",Up({transform:"scale(0.8)",opacity:0})),Vp("visible",Up({transform:"scale(1)",opacity:1})),Wp("* => visible",Tp("150ms cubic-bezier(0, 0, 0.2, 1)")),Wp("* => void, * => hidden",Tp("75ms cubic-bezier(0.4, 0.0, 1, 1)",Up({opacity:0})))]);var i6c=0,vZ=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=x(Mm);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new oj;this._onExit=new oj;this._onEnter=new oj;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+i6c++;this._live=e.politeness!=="assertive"||e.announcementMessage?e.politeness==="off"?"off":"polite":"assertive";
this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))};Y(vZ,Cz);g=vZ.prototype;g.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._afterPortalAttached();return a};g.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._afterPortalAttached();return a};
g.onAnimationEnd=function(a){var b=a.fromState;a=a.toState;(a==="void"&&b!=="void"||a==="hidden")&&this._completeExit();if(a==="visible"){var c=this._onEnter;this._ngZone.run(function(){c.next();c.complete()})}};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(hj(1)).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?e.indexOf(a)===-1&&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(),c.length>0?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;(e=d)==null||
e.focus();a._onAnnounce.next();a._onAnnounce.complete()}},a._announceDelay)})};vZ.\u0275fac=function(a){return new (a||vZ)(Ui(Kk),Ui(Ph),Ui(sx),Ui(Qm),Ui(f6c))};vZ.\u0275dir=$i({type:vZ,viewQuery:function(a,b){a&1&&ek(Ez,7);if(a&2){var c;ik(c=jk())&&(b._portalOutlet=c.first)}},standalone:!1,features:[xj]});var wZ=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=wZ.prototype;g.openFromComponent=function(a,b){return this._attach(a,b)};g.open=function(a,b,c){b=b===void 0?"":b;var d=Object.assign({},this._defaultConfig,c);d.data={message:a,action:b};d.announcementMessage===a&&(d.announcementMessage=void 0);return this.openFromComponent(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=Rk({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:f6c,useValue:b}]});a=a.attach(new Az(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
g._attach=function(a,b){var c=this,d=Object.assign({},new f6c,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var f=new g6c(b,e);if(a instanceof bk)f.instance=b.attachTemplatePortal(new Bz(a,null,{$implicit:d.data,snackBarRef:f}));else{var h=this._createInjector(d,f);a=b.attachComponentPortal(new Az(a,void 0,h));f.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(tj(e._detachments)).subscribe(function(k){e.overlayElement.classList.toggle(c.handsetCssClass,
k.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&&b.duration>0&&a.afterOpened().subscribe(function(){return a._dismissAfter(b.duration)})};
g._createOverlay=function(a){var b=new Zm;b.direction=a.direction;var c=this._overlay.position().global(),d=a.direction==="rtl";d=a.horizontalPosition==="left"||a.horizontalPosition==="start"&&!d||a.horizontalPosition==="end"&&d;var e=!d&&a.horizontalPosition!=="center";d?c.left("0"):e?c.right("0"):wz(c);a.verticalPosition==="top"?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
g._createInjector=function(a,b){return Rk({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:g6c,useValue:b},{provide:FA,useValue:a.data}]})};pg.Object.defineProperties(wZ.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}}});
wZ.\u0275fac=function(a){return new (a||wZ)(bh(Gz),bh(Vy),bh(yj),bh(Py),bh(wZ,12),bh(Iqc))};wZ.\u0275prov=Dg({token:wZ,factory:wZ.\u0275fac});var xZ=function(a,b){this.snackBarRef=a;this.data=b};xZ.prototype.action=function(){this.snackBarRef.dismissWithAction()};pg.Object.defineProperties(xZ.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});xZ.\u0275fac=function(a){return new (a||xZ)(Ui(g6c),Ui(FA))};
xZ.\u0275cmp=F({type:xZ,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],hostVars:1,hostBindings:function(a){a&2&&Hj("mat-id-collision",null)},standalone:!1,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&&(L(0,"span",0),U(1),M(),G(2,Arb,3,1,"div",1));a&2&&(E(),tk(b.data.message),E(),K("ngIf",b.hasAction))},dependencies:[ny,RJ],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 yZ=function(){vZ.apply(this,arguments)};Y(yZ,vZ);yZ.\u0275dir=vZ.\u0275dir;yZ.prototype._afterPortalAttached=function(){vZ.prototype._afterPortalAttached.call(this);this.snackBarConfig.horizontalPosition==="center"&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center");this.snackBarConfig.verticalPosition==="top"&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")};yZ.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(yZ)))(b||yZ)}}();
yZ.\u0275cmp=F({type:yZ,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(a,b){a&1&&hra("@state.done",function(c){return b.onAnimationEnd(c)});a&2&&($qa("@state",b._animationState),Hj("mat-id-collision",null))},standalone:!1,features:[xj],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(L(0,"div",0),G(1,Brb,0,0,"ng-template",1),M(),N(2,"div"));a&2&&(E(2),Hj("aria-live",b._live)("role",b._role)("id",
b._liveElementId))},dependencies:[Ez],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}@media(forced-colors: 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:[h6c]}});var zZ=function(){};zZ.\u0275fac=function(a){return new (a||zZ)};zZ.\u0275mod=Zi({type:zZ});zZ.\u0275inj=Eg({imports:[Jz,Fz,xy,tL,kz]});var AZ=function(a,b,c,d,e,f){wZ.call(this,a,b,c,d,e,f);this.simpleSnackBarComponent=xZ;this.snackBarContainerComponent=yZ;this.handsetCssClass="mat-snack-bar-handset"};Y(AZ,wZ);AZ.\u0275fac=function(a){return new (a||AZ)(bh(Gz),bh(Vy),bh(yj),bh(Py),bh(AZ,12),bh(Iqc))};AZ.\u0275prov=Dg({token:AZ,factory:AZ.\u0275fac,providedIn:zZ});var j6c={duration:1E3},k6c=new kh("xap-clipboard-snackbar-options"),BZ=function(a,b,c){this.clipboard=a;this.snackBar=b;this.snackBarConfig=c;this.textJob=""},l6c=function(a){var b,c,d,e;return v(function(f){if(f.nextAddress==1){b=Object.assign({},j6c,a.snackBarConfig);c=a.text;if(!a.clipboard.copy(c))return a.snackBar.open("Failed to copy.",void 0,b),f.jumpTo(0);if(typeof a.textJob==="string"||(d=a.textJob)==null||!d.richText)return f.jumpTo(3);e=a.textJob.richText instanceof Function?a.textJob.richText():
a.textJob.richText;if(typeof ClipboardItem!=="undefined"){var h=new ClipboardItem({"text/html":new Blob([e],{type:"text/html"}),"text/plain":new Blob([c],{type:"text/plain"})});h=navigator.clipboard.write([h])}else h=Promise.resolve();return w(f,h,3)}a.snackBar.open("Copied to clipboard.",void 0,b);ji(f)})};
pg.Object.defineProperties(BZ.prototype,{text:{configurable:!0,enumerable:!0,get:function(){return typeof this.textJob==="object"?this.textJob.plainText instanceof Function?this.textJob.plainText():this.textJob.plainText:this.textJob}}});BZ.\u0275fac=function(a){return new (a||BZ)(Ui(ZF),Ui(AZ),Ui(k6c,8))};BZ.\u0275dir=$i({type:BZ,selectors:[["","xapCopyToClipboard",""]],hostBindings:function(a,b){a&1&&Q("click",function(){return l6c(b)})},inputs:{textJob:[0,"xapCopyToClipboard","textJob"]}});var CZ=function(){};CZ.prototype.getAriaLabel=function(){return this.ariaLabel?this.ariaLabel:this.ariaLabelledBy||this.ariaDescribedBy?null:"Copy content to clipboard"};CZ.\u0275fac=function(a){return new (a||CZ)};
CZ.\u0275cmp=F({type:CZ,selectors:[["xap-copy-button"]],hostAttrs:[1,"xap-copy-button"],hostVars:2,hostBindings:function(a,b){a&2&&rk("xap-copy-button-unthemed",!b.color)},inputs:{copyText:"copyText",disabled:"disabled",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledBy:[0,"aria-labelledby","ariaLabelledBy"],ariaDescribedBy:[0,"aria-describedby","ariaDescribedBy"],tabIndex:[0,"tabindex","tabIndex"],color:"color"},decls:3,vars:7,consts:[["mat-icon-button","","type","button",3,"xapCopyToClipboard",
"disabled","color"],[1,"xap-clipboard-icon"]],template:function(a,b){a&1&&(L(0,"button",0)(1,"mat-icon",1),U(2," content_copy "),M()());a&2&&(K("xapCopyToClipboard",b.copyText)("disabled",b.disabled)("color",b.color),Hj("tabindex",b.tabIndex)("aria-label",b.getAriaLabel())("aria-labelledby",b.ariaLabelledBy)("aria-describedby",b.ariaDescribedBy))},dependencies:[xy,tL,RJ,iC,EA,zZ,BZ],encapsulation:2,changeDetection:0});var DZ=function(){};DZ.\u0275fac=function(a){return new (a||DZ)};DZ.\u0275mod=Zi({type:DZ});DZ.\u0275inj=Eg({imports:[CZ]});var EZ=function(){};EZ.\u0275fac=function(a){return new (a||EZ)};EZ.\u0275mod=Zi({type:EZ});EZ.\u0275inj=Eg({imports:[jC,IL,FI,XX,vM,DZ]});var FZ=function(){this.clipboard=x(ZF);this.analytics=x(nE);this.butterBar=x(MA);this.window=x(RF);this.activeSession=x(Ks);this.shortLinkPrefix=Oq(this.activeSession)?"b/":"b-qa/"},ctb=function(a,b){a.clipboard.copy(b.join(", "));hq(a.butterBar,"Issue IDs copied.",2E3);a.analytics.trackEvent("listIssues","copyIssueId","IDs")},dtb=function(a,b){a.clipboard.copy(b.map(function(c){return a.shortLinkPrefix+c}).join(", "));hq(a.butterBar,"'"+a.shortLinkPrefix+"' links copied.",2E3);a.analytics.trackEvent("listIssues",
"copyIssueId","b/ links")},etb=function(a,b){b=Hq.listIssues.makeHref({q:"id:("+b.join("|")+")"});a.clipboard.copy(a.window.location.origin+b);hq(a.butterBar,"Issue search link copied.",2E3);a.analytics.trackEvent("listIssues","copyIssueId","Issue search link")};FZ.\u0275fac=function(a){return new (a||FZ)};FZ.\u0275prov=Dg({token:FZ,factory:FZ.\u0275fac,providedIn:"root"});var GZ=function(){};GZ.\u0275fac=function(a){return new (a||GZ)};GZ.\u0275mod=Zi({type:GZ});GZ.\u0275inj=Eg({imports:[jC,uL,OV]});var HZ=function(){};HZ.\u0275fac=function(a){return new (a||HZ)};HZ.\u0275mod=Zi({type:HZ});HZ.\u0275inj=Eg({imports:[jC,FG,FI,wM,SL,HI,lQ]});var IZ=function(){this.componentActions=x(DO);this.errorHandler=x(PA);this.cdr=x(jE)};IZ.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;c.length===0&&(a.noChildren=!0);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var JZ=function(a,b){a.selectedId&&m6c(a.selectedId);a.selectedId=b;if(a=n6c(a.selectedId))a.focus(),a.setAttribute("aria-selected","true")},KZ=function(a){if(!a.selectedId)return null;var b;return(b=a.components.find(function(c){return c.componentId===a.selectedId}))!=null?b:null},o6c=function(a){return a.selectedId?a.components.findIndex(function(b){return b.componentId===a.selectedId}):-1},m6c=function(a){a&&(a=n6c(a))&&a.setAttribute("aria-selected","false")},n6c=function(a){return a?document.getElementById("component-"+
a):null},p6c=function(a){for(a=a.target;;){if(!a)return!1;if(a.tagName==="A")return!0;a=a.parentNode}};IZ.\u0275fac=function(a){return new (a||IZ)};IZ.\u0275cmp=F({type:IZ,selectors:[["component-subtree-list-base"]],standalone:!1,decls:0,vars:0,template:function(){},encapsulation:2});var Frb=function(a){return{q:a}},LZ=function(){IZ.apply(this,arguments);this.paths=x(TO);this.ROUTES=Hq;this.includeArchived=!1;this.childClosed=new iE;this.selectedId=null};Y(LZ,IZ);LZ.prototype.ngOnInit=function(){};LZ.prototype.ngOnDestroy=function(){this.parentComponent.focusOnChildren=void 0};LZ.prototype.ngOnChanges=function(a){a.components&&q6c(this)};LZ.prototype.onSubtreeChildClosed=function(a){this.selectedId=a;JZ(this,a);this.rootController.selectionChanged(this,a)};
var q6c=function(a){a.parentComponent.focusOnChildren||(a.parentComponent.focusOnChildren=function(){a.selectNext()})};g=LZ.prototype;
g.selectNext=function(){if(this.components)if(this.selectedId){var a=o6c(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(m6c(this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(JZ(this,this.components[a+1].componentId),this.rootController.selectionChanged(this,this.selectedId))}else JZ(this,this.components[0].componentId),this.rootController.selectionChanged(this,this.selectedId)};
g.selectPrevious=function(){var a=o6c(this);a==0?(this.selectedId=null,this.childClosed.emit(this.parentComponent.componentId)):(JZ(this,this.components[a-1].componentId),this.rootController.selectionChanged(this,this.selectedId))};g.closeSubtree=function(){if(this.selectedId){var a=KZ(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=KZ(this);a&&this.showChildren(a)};g.setSelected=function(a,b){p6c(b)||(JZ(this,a),this.rootController.selectionChanged(this,a),b.preventDefault(),b.stopPropagation())};g.toggleChildrenForSelectedId=function(){var a=KZ(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};LZ.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(LZ)))(b||LZ)}}();
LZ.\u0275cmp=F({type:LZ,selectors:[["component-subtree-list"]],inputs:{parentComponent:"parentComponent",rootController:"rootController",components:"components",includeArchived:"includeArchived"},outputs:{childClosed:"childClosed"},standalone:!1,features:[Bk([jE]),xj,$w],decls:3,vars:0,consts:[[1,"components-list"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id"],["tabindex","-1","role","treeitem","aria-selected","false",3,"click","id"],[1,"component-row"],[1,"selected-indicator"],
[1,"component-tree-toggle"],["matTooltip","Hide child components"],["matTooltip","Show child components"],[1,"component-info"],[1,"component-name",3,"href"],[3,"href"],[3,"accessLevel"],[3,"trackerId"],[1,"component-description"],[1,"component-buttons"],["mat-raised-button","","color","primary",3,"href"],["role","group","aria-expanded","true",1,"child-component-list"],["matTooltip","Hide child components",3,"click"],["svgIcon","arrow-dropdown"],["matTooltip","Show child components",3,"click"],["svgIcon",
"arrow-dropdown",2,"transform","rotate(-90deg)"],[1,"component-no-children"],[1,"bv2-view-loading"],[3,"components","parentComponent","rootController","includeArchived"],[3,"childClosed","components","parentComponent","rootController","includeArchived"]],template:function(a,b){a&1&&(L(0,"ol",0),Mj(1,Mrb,19,11,"li",1,Lj),M());a&2&&(E(),Nj(b.components))},dependencies:[EA,YF,WF,dA,aA,lL,zO,HO,LZ],encapsulation:2});var Qrb=function(a){return{q:a}},MZ=function(){IZ.call(this);this.paths=x(TO);this.hotkeys=x(BL);this.elementRef=x(Ph);this.ROUTES=Hq;this.scrollArea=this.elementRef.nativeElement.parentElement;this.selectedId=null;this.includeArchived=!1;this.init=new iE;this.subscriptions=new Yh;this.destroyed$=new nj(1);this.registerKeys()};Y(MZ,IZ);
MZ.prototype.ngOnInit=function(){var a=this;this.rootController=this;Ai(0).pipe(tj(this.destroyed$)).subscribe(function(){r6c(a)&&!a.selectedId&&JZ(a,a.components[0].componentId)});this.init.emit(this)};MZ.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};MZ.prototype.ngOnChanges=function(a){a.components&&s6c(this)};MZ.prototype.onSubtreeChildClosed=function(a){var b=this;JZ(this,a);this.focusedController=void 0;Ai(0).pipe(tj(this.destroyed$)).subscribe(function(){NZ(b)})};
var s6c=function(a){Ai(0).pipe(tj(a.destroyed$)).subscribe(function(){r6c(a)&&!a.selectedId&&JZ(a,a.components[0].componentId)})};g=MZ.prototype;g.selectionChanged=function(a,b){b&&NZ(this,b);a!==this.focusedController&&(this.focusedController&&(b=this.focusedController,b.selectedId&&m6c(b.selectedId),b.selectedId=null),this.focusedController=a||void 0)};g.setSelected=function(a,b){p6c(b)||(JZ(this,a),this.selectionChanged(null),NZ(this),b.preventDefault(),b.stopPropagation())};
g.registerKeys=function(){var a=this;this.subscriptions.add(CL(this.hotkeys,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next component",onPress:function(){a.selectNext()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous component",onPress:function(){a.selectPrevious()}},{keys:["RIGHT"],displayAs:"Right",description:"View the components children",onPress:function(){a.showChildrenForSelectedId()}},{keys:["LEFT"],displayAs:"Left",
description:"Close the components children",onPress:function(){a.closeSubtree()}},{keys:["SPACE","ENTER"],displayAs:"Space / Enter",description:"Toggle component children display",onPress:function(){a.toggleChildrenForSelectedId()}}]}))};g.showChildrenForSelectedId=function(){if(this.focusedController)this.focusedController.showChildrenForSelectedId();else{var a=KZ(this);a&&this.showChildren(a)}};
g.toggleChildrenForSelectedId=function(){this.focusedController&&this.focusedController.toggleChildrenForSelectedId();var a=KZ(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};g.closeSubtree=function(){this.focusedController?this.focusedController.closeSubtree():this.selectedId&&(KZ(this).showChildren=!1,this.cdr.detectChanges())};
g.selectPrevious=function(){if(this.focusedController)this.focusedController.selectPrevious();else{var a=o6c(this);r6c(this)&&a>=1&&(JZ(this,this.components[a-1].componentId),NZ(this))}};
g.selectNext=function(){if(r6c(this))if(this.focusedController)this.focusedController.selectNext();else if(this.selectedId){var a=o6c(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(m6c(this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(JZ(this,this.components[a+1].componentId),NZ(this))}else JZ(this,this.components[0].componentId),NZ(this)};
var NZ=function(a,b){var c=t6c(a.scrollArea),d=c+a.scrollArea.offsetHeight;if(a=n6c(b||a.selectedId)){b=t6c(a);var e=b+a.offsetHeight;b<c?a.scrollIntoView(!1):e>d&&a.scrollIntoView(!0)}},t6c=function(a){for(var b=0;a&&a instanceof HTMLElement;)b+=a.offsetTop,a=a.offsetParent;return b},r6c=function(a){return!!(a.components&&a.components.length>0)};MZ.\u0275fac=function(a){return new (a||MZ)};
MZ.\u0275cmp=F({type:MZ,selectors:[["component-tree-list"]],inputs:{components:"components",includeArchived:"includeArchived"},outputs:{init:"init"},standalone:!1,features:[Bk([jE]),xj,$w],decls:3,vars:0,consts:[["role","tree",1,"components-list"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id"],["tabindex","-1","role","treeitem","aria-selected","false",3,"click","id"],[1,"component-row"],[1,"selected-indicator"],[1,"component-tree-toggle"],["matTooltip","Hide child components"],
["matTooltip","Show child components"],[1,"component-info"],[1,"component-name",3,"href"],[3,"href"],[3,"accessLevel"],[3,"trackerId"],[1,"component-description"],[1,"component-buttons"],["mat-raised-button","","color","primary",3,"href"],["role","group","aria-expanded","true",1,"child-component-list"],["matTooltip","Hide child components",3,"click"],["svgIcon","arrow-dropdown"],["matTooltip","Show child components",3,"click"],["svgIcon","arrow-dropdown",2,"transform","rotate(-90deg)"],[1,"component-no-children"],
[1,"bv2-view-loading"],[3,"components","parentComponent","rootController","includeArchived"],[3,"childClosed","components","parentComponent","rootController","includeArchived"]],template:function(a,b){a&1&&(L(0,"ol",0),Mj(1,Xrb,19,10,"li",1,Lj),M());a&2&&(E(),Nj(b.components))},dependencies:[EA,YF,WF,dA,aA,lL,zO,HO,LZ],encapsulation:2});var OZ=function(){};OZ.\u0275fac=function(a){return new (a||OZ)};OZ.\u0275mod=Zi({type:OZ});OZ.\u0275inj=Eg({imports:[jC,JL,FI,oL,lQ,KQ]});var PZ=function(){this.customFields=this.selectedComponent=null;this.fieldSelected=new iE;this.filter=function(){return!0}};PZ.prototype.onComponentSelect=function(a){var b=this;if(this.selectedComponent=a){var c;this.customFields=(((c=a.componentPathInfo)==null?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};PZ.\u0275fac=function(a){return new (a||PZ)};
PZ.\u0275cmp=F({type:PZ,selectors:[["b-custom-field-picker"]],inputs:{filter:"filter"},outputs:{fieldSelected:"fieldSelected"},standalone:!1,decls:5,vars:4,consts:[[1,"bv2-custom-field-picker"],[1,"bv2-custom-field-picker-message"],[3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],[1,"bv2-custom-field-picker-select-box"],["appearance","outline"],[1,"mat-select","bv2-custom-field-picker-select",3,"selectionChange"],[3,"value"]],template:function(a,b){a&1&&(L(0,"div",0)(1,
"div",1),U(2," First, select a component that contains the custom field. "),M(),L(3,"b-team-component-picker",2),Q("selectedComponentChange",function(c){return b.onComponentSelect(c!=null?c:null)}),M(),I(4,bsb,4,3,"div",3),M());a&2&&(E(3),K("selectedComponent",b.selectedComponent)("placeholder","Choose Component")("isRequired",!0),E(),J(b.selectedComponent?4:-1))},dependencies:[VL,eH,YG,WL,Vz,TL,OO],encapsulation:2});var QZ=function(){};QZ.\u0275fac=function(a){return new (a||QZ)};QZ.\u0275mod=Zi({type:QZ});
QZ.\u0275inj=Eg({imports:[jC,ZL,PQ]});var u6c=function(a){return{value:a}},RZ=function(){this.isNonemptyJsonDateValue=EEa};RZ.prototype.toDate=function(a){return Lo(a)};RZ.\u0275fac=function(a){return new (a||RZ)};
RZ.\u0275cmp=F({type:RZ,selectors:[["b-custom-field-value-display"]],inputs:{customFieldValue:"customFieldValue"},standalone:!1,decls:6,vars:4,consts:[["null",""],["nonNull",""],[1,"bv2-custom-field-value-display"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["mode","date",3,"date"]],template:function(a,b){a&1&&(L(0,"span",2),G(1,csb,1,0,"ng-container",3),M(),G(2,dsb,0,0,"ng-template",null,0,Gk)(4,qsb,8,8,"ng-template",null,1,Gk));a&2&&(a=T(5),E(),K("ngTemplateOutlet",b.customFieldValue==null?
null:a)("ngTemplateOutletContext",Dk(2,u6c,b.customFieldValue)))},dependencies:[oy,tN],encapsulation:2});var SZ=function(){};SZ.\u0275fac=function(a){return new (a||SZ)};SZ.\u0275mod=Zi({type:SZ});SZ.\u0275inj=Eg({imports:[jC,yN]});var TZ=function(){this.documentationLinks=x(XH);this.userAccess=x(dD);this.errorHandler=x(PA);this.data=x(dI);this.issuesToFlag=this.data.issuesToFlag;this.issuesChecked=0;this.protectedIssues=[];this.permissionsCheckComplete=!1};TZ.prototype.ngOnInit=function(){v6c(this,this.issuesToFlag)};
var v6c=function(a,b){b.length<=0?a.permissionsCheckComplete=!0:eD(a.userAccess,"admin","components/"+b[0].componentId).then(function(c){a.issuesChecked++;c||a.protectedIssues.push(b[0]);v6c(a,b.slice(1))},function(c){a.errorHandler.errorHandler(null,c)})};TZ.\u0275fac=function(a){return new (a||TZ)};
TZ.\u0275cmp=F({type:TZ,selectors:[["b-bulk-flag-as-spam-dialog"]],standalone:!1,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"],["mat-dialog-actions",""],["type","button","mat-button","","mat-dialog-close","",1,"medium"],["type","button","mat-flat-button","","cdkFocusInitial","",1,"dialog-primary-action",3,"disabled","mat-dialog-close"]],template:function(a,
b){a&1&&(L(0,"h1",0),U(1,"Flag Issues as Spam"),M(),L(2,"div",1)(3,"div",2)(4,"p"),U(5),L(6,"a",3),U(7,"see here"),M(),U(8,". "),M(),L(9,"p"),U(10," This operation cannot be undone in bulk. "),M()(),L(11,"div",4),I(12,rsb,3,2,"div"),I(13,tsb,6,1,"div"),M()(),L(14,"div",5)(15,"button",6),U(16," Close "),M(),L(17,"button",7),U(18," Flag as Spam "),M()());a&2&&(E(5),V(" 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, "),
E(),K("href",ZCc(b.documentationLinks),Ni),E(6),J(b.permissionsCheckComplete?-1:12),E(),J(b.permissionsCheckComplete&&b.protectedIssues.length>0?13:-1),E(4),K("disabled",!b.permissionsCheckComplete)("mat-dialog-close",!0))},dependencies:[dA,aA,fI,hI,jI,iI],encapsulation:2});var UZ=function(){this.cdr=x(jE,{self:!0});this.dialogRef=x(YH);this.component=null};UZ.prototype.updateComponent=function(a){this.component=a;this.cdr.detectChanges()};UZ.prototype.save=function(){this.dialogRef.close(this.component)};UZ.prototype.cancel=function(){this.dialogRef.close()};UZ.\u0275fac=function(a){return new (a||UZ)};
UZ.\u0275cmp=F({type:UZ,selectors:[["b-bulk-move-dialog"]],standalone:!1,features:[Bk([jE])],decls:13,vars:4,consts:[["mat-dialog-title",""],[1,"bv2-bulk-move-warning"],[3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],["type","button","mat-button","",3,"click"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1,"Change Component"),M(),L(2,"mat-dialog-content")(3,"p"),U(4,"Choose new component for these issues."),M(),
L(5,"p",1),U(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. "),M(),L(7,"b-team-component-picker",2),Q("selectedComponentChange",function(c){return b.updateComponent(c!=null?c:null)}),M()(),L(8,"mat-dialog-actions")(9,"button",3),Q("click",function(){return b.cancel()}),U(10," Cancel "),M(),L(11,"button",4),Q("click",function(){return b.save()}),U(12," Save "),M()());a&2&&(E(7),K("selectedComponent",
b.component)("placeholder","Choose Component")("isRequired",!0),E(4),K("disabled",b.component==null))},dependencies:[dA,aA,hI,jI,iI,OO],styles:[".bv2-bulk-move-warning[_ngcontent-%COMP%]{font-weight:bold}mat-dialog-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--text)}"]});var VZ=function(){this.renderPanel=this.noneButtonEnabled=!0;this.sloEditCommit=new iE;this.closePicker=new iE;this.currentPickerDate=new Uf};VZ.prototype.ngOnChanges=function(a){if(a.sloEditTime){var b;this.currentPickerDate=(b=new Uf(oRa(this.sloEditTime)))!=null?b:void 0}};VZ.prototype.setDate=function(a){this.currentPickerDate=a};VZ.\u0275fac=function(a){return new (a||VZ)};
VZ.\u0275cmp=F({type:VZ,selectors:[["slo-edit-date-time-picker"]],inputs:{sloEditTime:"sloEditTime",noneButtonEnabled:"noneButtonEnabled",sloStatus:"sloStatus",renderPanel:"renderPanel"},outputs:{sloEditCommit:"sloEditCommit",closePicker:"closePicker"},standalone:!1,features:[Bk([jE]),$w],decls:2,vars:4,consts:[[3,"clickOutside"],[3,"dateTimeChange","saveClicked","cancelClicked","renderPanel","dateTime","noneButtonEnabled","includeTimePicker"]],template:function(a,b){a&1&&(L(0,"div",0),Q("clickOutside",
function(){b.closePicker.emit()}),L(1,"b-date-time-picker-content",1),Q("dateTimeChange",function(c){return b.setDate(c)})("saveClicked",function(){var c=(c=b.currentPickerDate)?{seconds:c.getTime()/1E3,nanos:0}:null;b.sloEditCommit.emit({date:c!=null?c:null});b.closePicker.emit()})("cancelClicked",function(){b.closePicker.emit()}),M()());a&2&&(E(),K("renderPanel",b.renderPanel)("dateTime",b.currentPickerDate)("noneButtonEnabled",b.noneButtonEnabled)("includeTimePicker",!0))},dependencies:[lU,fN],
styles:["b-date-time-picker-content[_ngcontent-%COMP%]{right:10px;z-index:100}[_nghost-%COMP%]     .mat-mdc-form-field{width:9rem;margin-left:1rem}/*# sourceMappingURL=slo_edit_date_time_picker.css.map */"],changeDetection:0});var WZ=function(){this.data=x(dI);this.dialogRef=x(YH);this.fieldDisplayName=this.data.fieldDisplayName;this.commitEvent=void 0};WZ.prototype.close=function(){this.dialogRef.close(this.commitEvent)};WZ.\u0275fac=function(a){return new (a||WZ)};
WZ.\u0275cmp=F({type:WZ,selectors:[["b-edit-calendar-modal"]],standalone:!1,decls:3,vars:2,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"sloEditCommit","closePicker","renderPanel"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1),M(),L(2,"slo-edit-date-time-picker",1),Q("sloEditCommit",function(c){b.commitEvent=c})("closePicker",function(){return b.close()}),M());a&2&&(E(),V("Edit ",b.fieldDisplayName),E(),K("renderPanel",!1))},dependencies:[hI,iI,VZ],encapsulation:2});var XZ=function(){this.data=x(dI);this.dialogRef=x(YH);this.fieldDisplayName=this.data.fieldDisplayName;this.effortSpec=this.data.effortSpec;this.numericEstimatedEffort="";this.effortSpecName=this.effortSpec.name;this.currentEnumLabel="";this.enumSpec=this.effortSpec.enumSpec;var a,b;this.enumOptions=(b=(a=this.enumSpec)==null?void 0:a.options)!=null?b:[];this.isEnumSpec=!!this.enumSpec;var c;this.allowedLabels=((c=this.enumOptions)!=null?c:[]).map(function(d){return d.label})};
XZ.prototype.enableSubmit=function(){return this.isEnumSpec&&this.currentEnumLabel!==""||!this.isEnumSpec};XZ.prototype.cancel=function(){this.dialogRef.close(void 0)};XZ.prototype.save=function(){if(this.enumSpec)var a={estimate:this.currentEnumLabel};else a=this.numericEstimatedEffort,a={estimate:a.length===0||isNaN(Number(a))?"":String(Number(a))};this.dialogRef.close(a)};XZ.\u0275fac=function(a){return new (a||XZ)};
XZ.\u0275cmp=F({type:XZ,selectors:[["b-edit-estimated-effort-modal"]],standalone:!1,decls:9,vars:3,consts:[["mat-dialog-title",""],[1,"bv2-top-field-label"],["type","button","mat-button","",3,"click"],["type","button","mat-flat-button","",3,"click","disabled"],[3,"valueChange","value","includeEmptyOption","options"],["matInput","",3,"ngModelChange","keypress","ngModel"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1),M(),I(2,usb,4,4,"div",1)(3,vsb,5,2,"mat-dialog-content"),L(4,"mat-dialog-actions")(5,
"button",2),Q("click",function(){return b.cancel()}),U(6," Cancel "),M(),L(7,"button",3),Q("click",function(){return b.save()}),U(8," Save "),M()());a&2&&(E(),V("Edit ",b.fieldDisplayName),E(),J(b.isEnumSpec?2:3),E(5),K("disabled",!b.enableSubmit()))},dependencies:[Bp,hG,oG,dA,aA,hI,jI,iI,oO,mH,eH,YG,TL,cU],encapsulation:2});var YZ=function(){this.data=x(dI);this.dialogRef=x(YH);this.removeItems=this.addItems="";this.fieldDisplayName=this.data.fieldDisplayName};YZ.prototype.save=function(){this.dialogRef.close({addItems:this.addItems,removeItems:this.removeItems})};YZ.prototype.close=function(){this.dialogRef.close()};YZ.\u0275fac=function(a){return new (a||YZ)};
YZ.\u0275cmp=F({type:YZ,selectors:[["b-edit-item-modal"]],standalone:!1,decls:20,vars:6,consts:[["mat-dialog-title",""],[1,"bv2-modal-form"],["appearance","outline","subscriptSizing","dynamic"],["matInput","","type","text",3,"ngModelChange","ngModel"],["type","button","mat-button","",3,"click"],["type","button","mat-flat-button","",3,"click"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1),M(),L(2,"mat-dialog-content")(3,"p"),U(4),M(),L(5,"div",1)(6,"mat-form-field",2)(7,"mat-label"),U(8),M(),L(9,
"input",3),xk("ngModelChange",function(c){wk(b.addItems,c)||(b.addItems=c);return c}),M()(),N(10,"br"),L(11,"mat-form-field",2)(12,"mat-label"),U(13),M(),L(14,"input",3),xk("ngModelChange",function(c){wk(b.removeItems,c)||(b.removeItems=c);return c}),M()()()(),L(15,"mat-dialog-actions")(16,"button",4),Q("click",function(){return b.close()}),U(17," Cancel "),M(),L(18,"button",5),Q("click",function(){return b.save()}),U(19," Save "),M()());a&2&&(E(),V("Edit ",b.fieldDisplayName),E(3),V("Enter ",b.fieldDisplayName,
" to add or remove"),E(4),V(" ",b.fieldDisplayName," to Add "),E(),vk("ngModel",b.addItems),E(4),V(" ",b.fieldDisplayName," to Remove "),E(),vk("ngModel",b.removeItems))},dependencies:[Bp,hG,oG,dA,aA,oO,mH,eH,YG,TL,hI,jI,iI],styles:["mat-form-field[_ngcontent-%COMP%]{margin-top:8px}"]});var w6c=["hotlistFilterInput"],x6c=["hotlistCreate"],y6c=["hotlistApply"],z6c=["hotlistLoad"],A6c=["menuitem"],ZZ=function(){Z.apply(this,arguments);this.liveAnnouncer=x(Vy);this.butterBar=x(MA);this.userAccess=x(dD);this.analytics=x(nE);this.activeSession=x(Ks);this.cdr=x(jE,{self:!0});this.selectedHotlistIds=[[]];this.choices=[];this.checkEditAcl=!0;this.onCreate=new iE;this.onApply=new iE;this.onLoad=new iE;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()};Y(ZZ,Z);ZZ.\u0275dir=Z.\u0275dir;ZZ.prototype.ngAfterViewInit=function(){var a=this,b;(b=this.trigger)==null||b.menuOpened.pipe(tj(this.destroyed$)).subscribe(function(){Ai(0).pipe(tj(a.destroyed$)).subscribe(function(){a.focusFilterBox()})});var c;(c=this.trigger)==null||c.menuClosed.pipe(tj(this.destroyed$)).subscribe(function(){B6c(a)})};
ZZ.prototype.focusFilterBox=function(){this.filterElement.nativeElement.focus()};ZZ.prototype.ngOnChanges=function(){C6c(this);this.oldSelectedHotlistMap=Object.assign({},this.selectedHotlistMap);this.pendingChanges=this.canCreate=!1;D6c(this)};
var C6c=function(a){var b={};Vda(a.selectedHotlistMap);if(a.choices){a.validHotlistIds.clear();for(var c=l(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=l(a.selectedHotlistIds);for(var e=d.next();!e.done;e=d.next())if(e=e.value){e=l(e);for(var f=e.next();!f.done;f=e.next())b[f.value]++}d=l(Object.entries(b));for(e=d.next();!e.done;e=d.next())f=l(e.value),e=f.next().value,f=f.next().value,
a.selectedHotlistMap[Number(e)]=f?f===c?!0:null:!1;Kaa(a.choices,function(h,k){var q=b[h.hotlistId],u=b[k.hotlistId];return q>u?-1:q<u?1:ha(h.name,k.name)})}}};ZZ.prototype.open=function(){this.trigger.openMenu();this.cdr.detectChanges()};ZZ.prototype.close=function(){this.trigger.closeMenu()};
ZZ.prototype.hasAclToEdit=function(a){var b=this;if(Sda(this.hotlistEditAcls,a.hotlistId))return this.hotlistEditAcls[a.hotlistId];eD(this.userAccess,"appender","hotlists/"+a.hotlistId).then(function(c){b.hotlistEditAcls[a.hotlistId]=c})};
var wsb=function(a,b){if(!a.checkEditAcl)return!1;a=a.hasAclToEdit(b);return a===void 0?!0:!a},xsb=function(a,b){var c=a.selectedHotlistMap[b.hotlistId];a.selectedHotlistMap[b.hotlistId]=c===null?!0:!c;Esb(a);a.close()},Esb=function(a){a.onApply.emit({oldSelectionMap:a.oldSelectedHotlistMap,newSelectionMap:a.selectedHotlistMap})},D6c=function(a){for(var b=a.filterText,c=!1,d=l(a.choices),e=d.next();!e.done;e=d.next())e=e.value,a.shouldShowHotlist[e.hotlistId]=ma(e.name,b),e.name===b&&(c=!0);a.canCreate=
!(!b||c);a.canLoad=dPa(na(b))&&!!b&&!!a.onLoad},B6c=function(a){a.trigger.menuOpen||(C6c(a),a.filterText="",D6c(a),a.pendingChanges=!1,a.focusedRowIndex=-1)},E6c=function(a){var b=a.selectedHotlistIds;return b&&b.length===1?"Hotlists ("+Aaa(b[0],function(c){return a.validHotlistIds.has(c)})+")":"Hotlists"};
ZZ.prototype.createHotlist=function(){var a=this,b=this.filterText;this.canCreate&&(this.filterText="",D6c(this),this.onCreate.emit({name:b,successCallback:function(c){xsb(a,c)},errorCallback:function(){a.butterBar.showWarning("Failed to create hotlist "+b)}}))};
ZZ.prototype.loadHotlist=function(){var a=this,b=this.filterText;if(this.canLoad){this.analytics.trackEvent("hotlistPicker","loadHotlist");hq(this.butterBar,"Loading hotlist "+b.toString());this.filterText="";D6c(this);for(var c=Bd(b),d=l(this.choices),e=d.next();!e.done;e=d.next())if(e=e.value,c===e.hotlistId){xsb(this,e);return}this.onLoad.emit({hotlistId:c,successCallback:function(f){xsb(a,f)},errorCallback:function(){a.butterBar.showWarning("Failed to load hotlist "+b)}})}};
ZZ.prototype.handleSelectionChange=function(){this.focusFilterBox();this.pendingChanges=!vd(this.oldSelectedHotlistMap,this.selectedHotlistMap)};
var ysb=function(a,b){wsb(a,b)||(a.selectedHotlistMap[b.hotlistId]=!a.selectedHotlistMap[b.hotlistId],a.handleSelectionChange())},L6c=function(a,b){b=b===void 0?0:b;var c=F6c(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=Ca(F6c(a),b),G6c(a),H6c(a,b)):a.focusedRowIndex<d&&a.canCreate?I6c(a,d):a.focusedRowIndex<d+1&&a.canLoad?J6c(a,d):a.focusedRowIndex<d+2&&a.pendingChanges&&
K6c(a,d)},F6c=function(a){return a.menuItems.map(function(b){return b.nativeElement})},M6c=function(a,b){b=b===void 0?0:b;if(a.focusedRowIndex===a.choices.length+1&&a.canCreate)I6c(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canLoad)J6c(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canCreate)I6c(a,a.choices.length);else{var c=F6c(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=Ca(F6c(a),b),G6c(a),H6c(a,b)):(a.focusedRowIndex=-1,H6c(a,null))}},H6c=function(a,b){a.filterElement&&AL(a.filterElement.nativeElement,b);a.focusFilterBox()},I6c=function(a,b){a.focusedRowIndex=b;AL(a.filterElement.nativeElement,null);var c;(c=a.createElement)==null||c.focus();a.liveAnnouncer.announce("Create new hotlist "+a.filterText);a.focusFilterBox()},J6c=function(a,b){a.focusedRowIndex=b+1;AL(a.filterElement.nativeElement,null);var c;(c=a.loadElement)==
null||c.focus();a.liveAnnouncer.announce("Load hotlist "+a.filterText);a.focusFilterBox()},K6c=function(a,b){a.focusedRowIndex=b+2;AL(a.filterElement.nativeElement,null);var c;(c=a.applyElement)==null||c.focus();a.liveAnnouncer.announce("Apply");a.focusFilterBox()},G6c=function(a){a.focusedRowIndex===-1||a.focusedRowIndex>=a.choices.length||(a=F6c(a)[a.focusedRowIndex],a.scrollIntoViewIfNeeded?a.scrollIntoViewIfNeeded():a.scrollIntoView({block:"end"}))},zsb=function(a){return a==null?"mixed":a.toString()},
Asb=function(a){return a==null?"indeterminate":a?"checked":"unchecked"};ZZ.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(ZZ)))(b||ZZ)}}();
ZZ.\u0275cmp=F({type:ZZ,selectors:[["b-hotlist-picker"]],viewQuery:function(a,b){a&1&&(ek(pK,5),ek(w6c,5),ek(x6c,5),ek(y6c,5),ek(z6c,5),ek(A6c,5));if(a&2){var c;ik(c=jk())&&(b.trigger=c.first);ik(c=jk())&&(b.filterElement=c.first);ik(c=jk())&&(b.createElement=c.first);ik(c=jk())&&(b.applyElement=c.first);ik(c=jk())&&(b.loadElement=c.first);ik(c=jk())&&(b.menuItems=c)}},inputs:{selectedHotlistIds:"selectedHotlistIds",choices:"choices",checkEditAcl:"checkEditAcl"},outputs:{onCreate:"onCreate",onApply:"onApply",
onLoad:"onLoad"},standalone:!1,features:[Bk([jE]),xj,$w],decls:13,vars:4,consts:[["hotlistMenu","matMenu"],["hotlistFilterInput",""],["hotlistChoices",""],["hotlistCreate",""],["menuitem",""],["hotlistLoad",""],["hotlistApply",""],["type","button","mat-button","","id","hotlist-picker-button","aria-describedby","hotlist-picker-label-text",1,"medium","primary",3,"matMenuTriggerFor","disabled"],["id","hotlist-picker-label-text"],["name","arrow-dropdown","size","small"],[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 hotlists from your sidebar","autocomplete","off",3,"ngModelChange","mousedown","blur","click","keydown","ngModel"],["matMenuContent",""],["role","listbox",1,"multi-edit-scrollarea"],["role","option",1,"multi-edit-menuitem",3,"display","focused","title"],["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,"click","keydown.enter","disabled"],["mat-menu-item","","matTooltip","Type a hotlist id number to load a hotlist by id.","matTooltipPosition","right",3,"focused"],["mat-menu-item","","id","hotlist-apply","aria-label","apply",1,"hotlist-apply",3,"focused"],["role","option",1,"multi-edit-menuitem",3,"click","title"],["role","checkbox",3,"click","state","disabled"],["mat-menu-item",
"","matTooltip","Type a hotlist id number to load a hotlist by id.","matTooltipPosition","right",3,"click","keydown.enter"],["mat-menu-item","","id","hotlist-apply","aria-label","apply",1,"hotlist-apply",3,"click","keydown.enter"]],template:function(a,b){if(a&1){var c=y();L(0,"button",7)(1,"span",8);U(2);M();N(3,"b-icon",9);M();L(4,"mat-menu",null,0)(6,"div",10)(7,"div",11)(8,"div",12)(9,"input",13,1);xk("ngModelChange",function(d){z(c);wk(b.filterText,d)||(b.filterText=d);return B(d)});Q("ngModelChange",
function(){z(c);return B(D6c(b))})("mousedown",function(d){z(c);return B(d.stopPropagation())})("blur",function(){z(c);return B(B6c(b))})("click",function(d){z(c);return B(d.stopPropagation())})("keydown",function(d){z(c);d.stopImmediatePropagation();d.key==="Escape"?b.close():d.key==="ArrowDown"?(L6c(b),d.preventDefault()):d.key==="ArrowUp"?(M6c(b),d.preventDefault()):d.key==="PageUp"?M6c(b,11):d.key==="PageDown"?L6c(b,11):d.key===" "?b.focusedRowIndex===-1||b.focusedRowIndex>=b.choices.length||
(ysb(b,b.choices[b.focusedRowIndex]),d.preventDefault()):d.key==="Enter"&&(b.focusedRowIndex===b.choices.length?b.createHotlist():b.focusedRowIndex===b.choices.length+1?b.loadHotlist():b.pendingChanges?(b.close(),Esb(b)):0<=b.focusedRowIndex&&b.focusedRowIndex<b.choices.length&&b.hasAclToEdit(b.choices[b.focusedRowIndex])&&xsb(b,b.choices[b.focusedRowIndex]));return B()});M()()();N(11,"mat-divider");G(12,Gsb,12,7,"ng-template",14);M()()}a&2&&(a=T(5),K("matMenuTriggerFor",a)("disabled",b.isAnonymous),
E(2),tk(E6c(b)),E(7),vk("ngModel",b.filterText))},dependencies:[FL,mK,kK,lK,pK,dA,aA,Bp,hG,BG,oG,Uz,YF,WF,eN,jK],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-mdc-menu-item.focused[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg);border:0}/*# sourceMappingURL=hotlist_picker.css.map */"]});var P6c=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 II;this.selectedVerifiersStatus=this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";N6c(this,b);O6c(this,b)},N6c=function(a,b){var c=b[0],d=dg.get(c.status),
e=c.duplicateOfIssueId;if(d)for(b.every(function(f){return f.status==="DUPLICATE"&&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},Q6c=function(a){if(a.length===1)return"IDENTICAL_EMAILS";var b=!a.every(function(c){return c===a[0]});return a.every(function(c){return c===void 0||Rf(c)})?b?"MULTIPLE":"IDENTICAL_EMAILS":"POSSIBLY_MULTIPLE"},O6c=function(a,b){var c=
b.map(function(d){return d.assigneeEmail});b=b.map(function(d){return d.verifierEmail});a.selectedAssigneesStatus=Q6c(c);a.selectedVerifiersStatus=Q6c(b);a.selectedAssigneesStatus==="IDENTICAL_EMAILS"&&(a.commonAssignee=c[0],a.origCommonAssignee=c[0]);a.selectedVerifiersStatus==="IDENTICAL_EMAILS"&&(a.commonVerifier=b[0],a.origCommonVerifier=b[0])};
P6c.prototype.clearAssignee=function(){this.commonAssignee="";this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteAssignee=!0;R6c(this)};P6c.prototype.clearVerifier=function(){this.commonVerifier="";this.selectedVerifiersStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteVerifier=!0};
var Rsb=function(a){return a.origIssues.every(function(b){return!!b.verifierEmail})},Msb=function(a,b){(a.origCommonIssueState=b)?(b.status==="NEW"?S6c(a.selectedAssigneesStatus)?a.clearAssignee():a.commonAssignee&&(a.lastCommonAssignee=a.commonAssignee,a.commonAssignee=""):b.status==="DUPLICATE"?(a.commonAssignee=a.origCommonAssignee,a.commonVerifier=a.origCommonVerifier):(b.assigneeRequirement!=="REQUIRED"||a.commonAssignee||S6c(a.selectedAssigneesStatus)||(a.commonAssignee=a.lastCommonAssignee?
a.lastCommonAssignee:a.userEmail),S6c(a.selectedVerifiersStatus)||a.commonVerifier||b.status!=="VERIFIED"||(a.commonVerifier=a.userEmail)),a.issueState=a.origCommonIssueState):a.issueState=void 0},S6c=function(a){return a==="MULTIPLE"||a==="POSSIBLY_MULTIPLE"},R6c=function(a){a.issueState===Yea&&a.commonAssignee?a.origCommonIssueState===Yea?a.issueState=Zea:a.issueState=a.origCommonIssueState:a.commonAssignee||a.issueState&&!gjc.has(a.issueState)||(a.issueState=Yea)},T6c=function(a){var b=a.issueState;
return b?a.origIssues.some(function(c){return b.status!==c.status}):!1},U6c=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);T6c(a)&&(a.commonDuplicateOf!==a.origCommonDuplicateOf?b.set("duplicateOfIssueId",a.commonDuplicateOf):b.set("status",a.issueState.status));a.comment.value&&b.set("comment",a.comment.value);return b};var $Z=function(){this.externalWarnings=[]};$Z.\u0275fac=function(a){return new (a||$Z)};
$Z.\u0275cmp=F({type:$Z,selectors:[["b-external-warnings"]],inputs:{externalWarnings:"externalWarnings"},standalone:!1,decls:1,vars:1,consts:[[1,"bv2-external-component-modal-warning"],[3,"href"],[3,"issueId"],[3,"accessLevel"]],template:function(a,b){a&1&&I(0,Lsb,11,0,"div",0);a&2&&J(b.externalWarnings.length>0?0:-1)},dependencies:[zO,EP],styles:[".bv2-external-component-modal-warning[_ngcontent-%COMP%] {\n  padding-top: 10px;\n\n  ul {\n    padding-left: 0;\n  }\n}"],changeDetection:0});
var a_=function(){};a_.\u0275fac=function(a){return new (a||a_)};a_.\u0275mod=Zi({type:a_});a_.\u0275inj=Eg({imports:[lQ,wQ]});var V6c=["dialog"],W6c=["statusForm"],b_=function(){Z.call(this);this.matDialog=x(eI);this.activeSession=x(Ks);this.hotkeys=x(BL);this.userPreferencesManager=x(NF);this.comment=new II;this.save=new iE;this.close=new iE;this.externalWarnings=[];this.issueStates=ifa();this.issueEditBuilder=null;this.FocusableField=X6c;this.enableRecaptcha=this.activeSession.userRequiresCaptcha()&&Cx(this.activeSession,"enableBulkEditCaptchaUi");var a;this.comment.formattingMode=je((a=OF(this.userPreferencesManager).commentFormattingPreferences)==
null?void 0:a.lastPublishMode)};Y(b_,Z);b_.\u0275dir=Z.\u0275dir;b_.prototype.showDialog=function(a,b,c){var d=this;this.issueEditBuilder=new P6c(this.activeSession.getUserEmail(),a);this.issueEditBuilder.comment=this.comment;b&&Msb(this.issueEditBuilder,b);this.focus=c;this.hotkeys.pause();this.matDialogRef=this.matDialog.open(this.dialog,{minWidth:512,maxWidth:512});ZH(this.matDialogRef).pipe(tj(this.destroyed$)).subscribe(function(e){d.hotkeys.unpause();e&&d.save.emit();d.close.emit()})};
var Zsb=function(a){var b;if(!(b=!a.statusForm||a.statusForm.invalid))a:{if(a.issueEditBuilder!=null){b=U6c(a.issueEditBuilder);var c=b.get("status");if(c==="DUPLICATE"){b=!b.get("duplicateOfIssueId");break a}if(c==="VERIFIED"){b=!Rsb(a.issueEditBuilder)&&!b.get("verifier");break a}}b=!1}return b||a.enableRecaptcha&&a.issueEditBuilder.recaptchaResponse===""?!1:!0},ds=function(a){if(Zsb(a)){var b;(b=a.matDialogRef)==null||b.close(!0)}};
b_.prototype.setAssignee=function(a){this.issueEditBuilder&&(this.issueEditBuilder.commonAssignee=a,R6c(this.issueEditBuilder))};b_.\u0275fac=function(a){return new (a||b_)};
b_.\u0275cmp=F({type:b_,selectors:[["b-state-modal"]],viewQuery:function(a,b){a&1&&(ek(V6c,5),ek(W6c,5));if(a&2){var c;ik(c=jk())&&(b.dialog=c.first);ik(c=jk())&&(b.statusForm=c.first)}},inputs:{externalWarnings:"externalWarnings"},outputs:{save:"save",close:"close"},standalone:!1,features:[xj],decls:2,vars:0,consts:[["dialog",""],["statusForm","ngForm"],["statusMenu",""],["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-modal-form"],[1,"flex-kids-x","justify-flex-end"],["mat-dialog-actions",
""],["type","button","mat-button","",1,"medium",3,"mat-dialog-close"],["type","submit","color","primary","mat-flat-button","",1,"medium","confirm",3,"mat-dialog-close","disabled"],["type","button","mat-button","",1,"medium","primary","status-select",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["mat-menu-item","","type","button",3,"click","disabled"],["mat-menu-item","","type","button",3,"disabled"],[1,"bv2-modal-text-field"],["placeholder","Add a comment (optional)",3,"onSubmit",
"comment","showToolbar","isLiteralModeSupported"],[1,"float-clear"],[3,"externalWarnings"],["for","bv2-state-modal-assignee",1,"bv2-top-field-label"],[1,"bv2-multiple-user-chip"],["for","bv2-state-modal-verifier",1,"bv2-top-field-label"],[1,"bv2-multiple-user-chip",3,"bv2-invalid-multiple-user-chip"],["title","Clear assignees",3,"click"],["name","assignee",3,"emailChange","keydown.control.enter","keydown.meta.enter","cdkFocusInitial","email"],["title","Clear verifiers",3,"click"],["name","verifier",
3,"emailChange","keydown.control.enter","keydown.meta.enter","cdkFocusInitial","email","required"],["for","bv2-state-modal-issue-id",1,"bv2-top-field-label"],["type","text","name","duplicateOf",3,"ngModelChange","keydown.control.enter","keydown.meta.enter","ngModel"],[3,"onUpdate"]],template:function(a){a&1&&G(0,$sb,14,5,"ng-template",null,0,Gk)},dependencies:[fI,hI,jI,iI,pG,Bp,hG,iG,oG,mG,dA,aA,jK,FL,mK,kK,pK,jV,KR,$Z,yU],encapsulation:2});
var X6c={ASSIGNEE:0,VERIFIER:1,COMMENT:2,DUPE_ID:3,0:"ASSIGNEE",1:"VERIFIER",2:"COMMENT",3:"DUPE_ID"};var c_=function(){this.dialogRef=x(YH);this.activeSession=x(Ks);this.reporter="";this.autocompleteActive=!1};c_.prototype.enableSubmit=function(){return this.reporter!==""};c_.prototype.cancel=function(){this.dialogRef.close()};c_.prototype.save=function(){this.dialogRef.close(this.reporter)};c_.\u0275fac=function(a){return new (a||c_)};
c_.\u0275cmp=F({type:c_,selectors:[["b-reporter-picker-dialog"]],standalone:!1,decls:13,vars:3,consts:[["mat-dialog-title",""],["appearance","outline","subscriptSizing","dynamic"],[3,"keydown"],[3,"emailChange","asMatInput","email"],["type","button","mat-button","",3,"click"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1,"Change Reporter"),M(),L(2,"mat-dialog-content")(3,"mat-form-field",1)(4,"mat-label"),U(5," Reporter "),M(),L(6,"div",
2),Q("keydown",function(c){c.key==="Enter"&&!b.autocompleteActive&&b.enableSubmit()&&b.save()}),L(7,"b-peoplekit-single",3),xk("emailChange",function(c){wk(b.reporter,c)||(b.reporter=c);return c}),M()()()(),L(8,"mat-dialog-actions")(9,"button",4),Q("click",function(){return b.cancel()}),U(10," Cancel "),M(),L(11,"button",5),Q("click",function(){return b.save()}),U(12," Save "),M()());a&2&&(E(7),K("asMatInput",!0),vk("email",b.reporter),E(4),K("disabled",!b.enableSubmit()))},dependencies:[dA,aA,hI,
jI,iI,eH,YG,TL,yU],styles:["mat-dialog-content[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{margin-top:8px}"]});var Y6c=["addCommentDialog"],d_=function(){Z.apply(this,arguments);var a=this;this.componentFridge=x(AB);this.cdr=x(jE);this.activeSession=x(Ks);this.analytics=x(nE);this.hotkeys=x(BL);this.componentActions=x(DO);this.issueTypeDialog=x(mI);this.copyIssueIdService=x(FZ);this.matDialog=x(eI);this.$log=x(NA);this.issuePicker=x(ZQ);this.userPreferencesManager=x(NF);this.accessIndicatorService=x(DP);this.currentUserEmail=this.activeSession.getUserEmail();this.uniqueComponentIds$=new oj;this.effortSpec$=
this.uniqueComponentIds$.pipe(sj(function(b){return a.componentFridge.watchSet(b)}),C(function(b){return a.getCommonEffortSpec(b)}),pj({bufferSize:1,refCount:!0}));this.enableBulkEstimatedEffortOption$=this.effortSpec$.pipe(C(function(b){return b!==void 0}));this.hotlistIdMatrix=[];this.hotlistChoices=[];this.onSave=new iE;this.onCreateHotlist=new iE;this.onLoadHotlist=new iE;this.externalWarnings=[];this.enableRecaptcha=this.activeSession.userRequiresCaptcha()&&Cx(this.activeSession,"enableBulkEditCaptchaUi");
this.recaptchaResponse="";this.controllerName="baseControls"};Y(d_,Z);d_.\u0275dir=Z.\u0275dir;var Z6c=function(a){var b=new II,c;b.formattingMode=je((c=OF(a.userPreferencesManager).commentFormattingPreferences)==null?void 0:c.lastPublishMode);return b};d_.prototype.hasSelectedIssues=function(){return this.getSelectedIssues().length>0};var $6c=function(a){return a.getSelectedIssues().some(function(b){return!b.isRead})},atb=function(a){return $6c(a)?"Mark as read":"Mark as unread"},es=function(a){return a.getSelectedIssues().map(function(b){return b.issueId})};
d_.prototype.onSelectionChange=function(){for(var a=this.getSelectedIssues(),b=l(a),c=b.next();!c.done;c=b.next()){var d=void 0;(d=c.value).hotlistId!=null||(d.hotlistId=[])}this.hotlistIdMatrix=a.map(function(e){return e.hotlistId});this.cdr.detectChanges();a=a7c(a);this.uniqueComponentIds$.next(a)};
var a7c=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b.includes(c.componentId)||b.push(c.componentId);return b},b7c=function(a){if(!Bx(a.activeSession)){a.externalWarnings=[];var b=si(a.getSelectedIssues().map(function(e){return tQc(a.accessIndicatorService,e.issueId,e.componentId).pipe(C(function(f){return{issue:e,indicator:f}}))}));pi(b).then(function(e){e=l(e);for(var f=e.next();!f.done;f=e.next()){f=f.value;var h=f.issue;f.indicator.type!=="no_indicator"&&a.externalWarnings.push({type:"issue",
issueId:h.issueId})}}).then(function(){a.cdr.detectChanges()});b=new Set(a.getSelectedIssues().map(function(e){return e.componentId}));b=l(b);for(var c=b.next(),d={};!c.done;d={id$jscomp$506:void 0},c=b.next())d.id$jscomp$506=c.value,a.componentActions.get(d.id$jscomp$506).then(function(e){if(a.activeSession.isInternalSession()&&tr(e)||Ax(a.activeSession)&&ur(e)){var f,h=(f=e.componentPathInfo)==null?void 0:f.componentPathName;a.externalWarnings.push({type:"component",path:h?h.join(" > "):e.componentId,
accessLevel:e.accessLimit.accessLevel});a.cdr.detectChanges()}}).catch(function(e){return function(){a.$log.warn("Could not retrieve component "+e.id$jscomp$506+".")}}(d))}};g=d_.prototype;g.getCommonEffortSpec=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;if(!b.effortSpec)return;b=b.effortSpec;var c=b.id;if(!d){var d=c;var e=b}else if(d!==c)return}return e};
g.bulkEdit=function(a){switch(a){case "ASSIGNEE":e_(this,null,0);break;case "COMPONENT":c7c(this);break;case "VERIFIER":e_(this,null,1);break;case "REPORTER":d7c(this);break;case "CHANGELIST":e7c(this,"changelists","Changelists",!0);break;case "CUSTOM_FIELDS":f7c(this);break;case "FOUND_IN":e7c(this,"foundInVersion","Found In");break;case "VERIFIED_IN":e7c(this,"verifiedInVersion","Verified In");break;case "TARGETED_TO":e7c(this,"targetedToVersion","Targeted To");break;case "COMMENT":g7c(this);break;
case "SLO_START_TIME":h7c(this);break;case "ESTIMATED_EFFORT":i7c(this);break;case "CC":e7c(this,"ccs","CCs");break;default:this.$log.error("unsupported bulk edit field: "+a)}};
g.quickBulkEdit=function(a){switch(a.field){case "PRIORITY":(a=a.newValue)&&f_(this,"priority",a);break;case "SEVERITY":(a=a.newValue)&&f_(this,"severity",a);break;case "STATUS":if(a=a.newValue){var b=a==="DUPLICATE"?3:void 0;e_(this,dg.get(a),b)}break;case "TYPE":(a=a.newValue)&&f_(this,"type",a);break;case "IS_ARCHIVED":f_(this,"isArchived",""+a.newValue);break;case "IN_PROD":f_(this,"inProd",""+a.newValue);break;case "CC":f_(this,"ccs",this.currentUserEmail,a.newValue?"ADD":"REMOVE");break;default:this.$log.error("unsupported bulk edit field: "+
a.field)}};
g.bulkEditIssueRelation=function(a){switch(a.issueRelation){case "BLOCKED_BY":a.isMarking?g_(this,{actionType:"ADD",fieldName:"blockedByIssueId",title:"Mark all selected issues as blocked by:",edgeType:"blocker"}):g_(this,{actionType:"REMOVE",fieldName:"blockedByIssueId",title:"Unmark all selected issues as blocked by:",edgeType:"un-blocker"});break;case "BLOCKING":a.isMarking?g_(this,{actionType:"ADD",fieldName:"blockingIssueId",title:"Mark all selected issues as blocking:",edgeType:"blocking"}):g_(this,
{actionType:"REMOVE",fieldName:"blockingIssueId",title:"Unmark all selected issues as blocking:",edgeType:"un-blocking"});break;case "PARENT":a.isMarking?g_(this,{actionType:"ADD",fieldName:"parentId",title:"Mark all selected issues as children of:",edgeType:"child"}):g_(this,{actionType:"REMOVE",fieldName:"parentId",title:"Unlink all selected issues from this parent:",edgeType:"un-parent"});break;case "DUPLICATE":e_(this,cfa,3);break;default:this.$log.error("unsupported issue relation: "+a.issueRelation)}};
g.bulkMarkIssueRead=function(){var a=$6c(this);f_(this,"readState",a?"true":"")};
var f_=function(a,b,c,d){var e={fieldName:b,value:c};d!==void 0&&(e.actionType=d);var f=es(a),h=[e];b==="deletionReason"&&h.push({fieldName:"isDeleted",value:"true"});d=function(){var k={bulkEditOps:[{issueIds:f,actions:h}]};a.enableRecaptcha&&a.recaptchaResponse!==""&&(k.recaptchaToken=a.recaptchaResponse);a.onSave.emit(k)};b!=="type"||c!=="VULNERABILITY"&&c!=="PRIVACY_ISSUE"?d():(c==="VULNERABILITY"&&kDc(a.issueTypeDialog,"VULNERABILITY",d,function(){}),c==="PRIVACY_ISSUE"&&kDc(a.issueTypeDialog,
"PRIVACY_ISSUE",d,function(){}))},e_=function(a,b,c){a.hasSelectedIssues()&&(b7c(a),a.stateModal.showDialog(a.getSelectedIssues(),b,c))},j7c=function(a){var b=a.onSave,c=b.emit,d=es(a),e=a.stateModal.issueEditBuilder,f=[];e.issueState||Msb(e);e=l(U6c(e));for(var h=e.next();!h.done;h=e.next()){var k=l(h.value);h=k.next().value;k=k.next().value;k!==void 0&&f.push({fieldName:h,value:k})}c.call(b,{bulkEditOps:[{issueIds:d,actions:f}],recaptchaToken:a.stateModal.issueEditBuilder.recaptchaResponse})},d7c=
function(a){a.hasSelectedIssues()&&(b7c(a),ZH(a.matDialog.open(c_,{width:"400px"})).pipe(tj(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&f_(a,"reporter",b)}),a.hotkeys.pause())},e7c=function(a,b,c,d){d=d===void 0?!1:d;a.hasSelectedIssues()&&(ZH(a.matDialog.open(YZ,{width:"400px",data:{fieldDisplayName:c}})).pipe(tj(a.destroyed$)).subscribe(function(e){a.hotkeys.unpause();e&&k7c(a,b,e.addItems,e.removeItems,d)}),a.hotkeys.pause())},h7c=function(a){a.hasSelectedIssues()&&(ZH(a.matDialog.open(WZ,
{width:"330px",data:{fieldDisplayName:"SLO Start Time"}})).pipe(tj(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();if(b&&(b=b.date)){var c=[];c.push({fieldName:"sloStartTime",value:String(b.seconds)});c.length&&a.onSave.emit({bulkEditOps:[{issueIds:es(a),actions:c}]})}}),a.hotkeys.pause())},i7c=function(a){var b,c;v(function(d){if(d.nextAddress==1)return w(d,pi(a.effortSpec$),2);b=d.yieldResult;if(!a.hasSelectedIssues()||b===void 0)return d.return();c=a.matDialog.open(XZ,{width:"400px",data:{fieldDisplayName:"Estimated Effort",
effortSpec:b}});ZH(c).pipe(tj(a.destroyed$)).subscribe(function(e){a.hotkeys.unpause();if(e){var f=[];f.push({fieldName:"effortEstimate",value:e.estimate});a.onSave.emit({bulkEditOps:[{issueIds:es(a),actions:f}]})}});a.hotkeys.pause();ji(d)})},k7c=function(a,b,c,d,e){e=e===void 0?!1:e;c=Zr(c);d=Zr(d);var f=[],h=!["foundInVersion","targetedToVersion","verifiedInVersion"].includes(b),k=function(q){return Sea(q,h).map(function(u){return u.trim()})};ja(c)||(c=k(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"}}))));ja(d)||(d=k(d),f.push.apply(f,p(d.map(function(q){return{fieldName:b,value:q,actionType:"REMOVE"}}))));f.length&&a.onSave.emit({bulkEditOps:[{issueIds:es(a),actions:f}]})},c7c=function(a){a.hasSelectedIssues()&&(ZH(a.matDialog.open(UZ,{width:"600px",position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(tj(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.onSave.emit({bulkEditOps:[{issueIds:es(a),
actions:[{fieldName:"componentId",value:String(b.componentId)}]}]}),a.analytics.trackEvent(a.controllerName,"bulkMove"))}),a.hotkeys.pause())},l7c=function(a){a.hasSelectedIssues()&&(ZH(a.matDialog.open(TZ,{width:"600px",data:{issuesToFlag:a.getSelectedIssues()}})).pipe(tj(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.analytics.trackEvent(a.controllerName,"bulkFlagAsSpam"),f_(a,"deletionReason","ABUSE"))}),a.hotkeys.pause())},g7c=function(a){a.hasSelectedIssues()&&a.addCommentDialog&&
(a.comment||(a.comment=Z6c(a)),a.addCommentDialogRef=a.matDialog.open(a.addCommentDialog,{panelClass:"no-jitter",minWidth:512,maxWidth:512}),ZH(a.addCommentDialogRef).pipe(tj(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();a.comment&&(b&&aEc(a.comment)&&f_(a,"comment",a.comment.value),a.comment.reset())}),a.hotkeys.pause(),b7c(a))},htb=function(a){var b;(b=a.addCommentDialogRef)==null||b.close(!0)},f7c=function(a){a.hasSelectedIssues()&&ZH(a.matDialog.open(dU,{data:a.getSelectedIssues(),
width:"500px"})).pipe(tj(a.destroyed$)).subscribe(function(b){b&&(a.onSave.emit({bulkEditOps:b}),a.analytics.trackEvent(a.controllerName,"bulkCustomField"))})};d_.prototype.openHotlistPicker=function(){if(this.hasSelectedIssues()){var a;(a=this.hotlistPicker)==null||a.open()}};
d_.prototype.handleHotlistPickerSave=function(a){var b=a.newSelectionMap;var c=a.oldSelectionMap;this.analytics.trackEvent("hotlistPicker","edit","base_controls");var d=[],e=[],f=0;Object.entries(b).forEach(function(h){var k=l(h);h=k.next().value;k=k.next().value;k!==c[h]&&(k?d.push(h):e.push(h),f++)});a=[];d.length&&a.push({fieldName:"hotlists",actionType:"ADD",value:d.join(",")});e.length&&a.push({fieldName:"hotlists",actionType:"REMOVE",value:e.join(",")});a.length&&(this.onSave.emit({bulkEditOps:[{issueIds:es(this),
actions:a}]}),this.analytics.trackEvent(this.controllerName,"applyHotlists","numHotlists",f))};var g_=function(a,b){var c=b.actionType;var d=b.fieldName;a.issuePicker.open({title:b.title,edgeType:b.edgeType,originIsBulk:!0},function(e){a.hotkeys.unpause();e.length!==0&&(e=e[0],a.onSave.emit({bulkEditOps:[{issueIds:es(a),actions:[{fieldName:d,value:e,actionType:c}]}]}))});a.hotkeys.pause()};d_.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(d_)))(b||d_)}}();
d_.\u0275cmp=F({type:d_,selectors:[["b-grid-controls-base"]],viewQuery:function(a,b){a&1&&(ek(Y6c,5),ek(ZZ,5),ek(b_,5));if(a&2){var c;ik(c=jk())&&(b.addCommentDialog=c.first);ik(c=jk())&&(b.hotlistPicker=c.first);ik(c=jk())&&(b.stateModal=c.first)}},inputs:{hotlistChoices:"hotlistChoices"},outputs:{onSave:"onSave",onCreateHotlist:"onCreateHotlist",onLoadHotlist:"onLoadHotlist"},standalone:!1,features:[xj],decls:0,vars:0,template:function(){},encapsulation:2});var h_=function(){};h_.\u0275fac=function(a){return new (a||h_)};h_.\u0275mod=Zi({type:h_});h_.\u0275inj=Eg({imports:[jC,IL,FI,pO,FG,Xz,JL,oN,QN,vM]});var i_=function(){};i_.\u0275fac=function(a){return new (a||i_)};i_.\u0275mod=Zi({type:i_});i_.\u0275inj=Eg({imports:[jC,HI,lQ,FG,FI,vM,IL,qV,uV,a_,zU]});var j_=function(){d_.apply(this,arguments);this.panels=[];this.isNonPublicSession=this.activeSession.isNonPublicSession();this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha();this.controllerName="dashboardControls";this.onSelectionChange.bind(this);this.getCommonEffortSpec.bind(this)};Y(j_,d_);j_.\u0275dir=d_.\u0275dir;j_.prototype.ngOnChanges=function(a){if(a.panels)this.onSelectionChange()};
j_.prototype.getSelectedIssues=function(){var a=this.panels.flatMap(function(b){return b.selectedIssues});Iaa(a,null,function(b){return b.issueId.toString()});return a};j_.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(j_)))(b||j_)}}();
j_.\u0275cmp=F({type:j_,selectors:[["b-dashboard-controls"]],inputs:{panels:"panels"},standalone:!1,features:[Bk([jE]),xj,$w],decls:7,vars:5,consts:[["addCommentDialog",""],[3,"readStatePrompt","enableBulkEstimatedEffortOption"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks"],[1,"bv2-grid-hotlist-picker"],[1,"bv2-appbar-menu",3,"flagAsSpamClicked","showFlagIssuesAsSpam"],[3,"save","close","externalWarnings"],[3,"onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead","readStatePrompt",
"enableBulkEstimatedEffortOption"],[3,"onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch","shortLinkPrefix","shouldShowCopyIssueShortLinks"],[3,"onApply","onCreate","onLoad","selectedHotlistIds","choices"],["mat-dialog-title",""],[3,"comment","showToolbar","isLiteralModeSupported"],[3,"externalWarnings"],[1,"flex-kids-x","justify-flex-end"],["type","button","mat-button","",1,"medium",3,"mat-dialog-close"],["type","button","mat-flat-button","","cdkFocusInitial","",1,"medium",
"primary",3,"disabled","mat-dialog-close"],[3,"commentChange","onSubmit","comment","showToolbar","isLiteralModeSupported"],[3,"onUpdate"]],template:function(a,b){if(a&1){var c=y();I(0,btb,2,4,"b-app-bar-bulk-edit-menus",1);I(1,ftb,1,2,"b-copy-issue-id-button",2);I(2,gtb,2,2,"div",3);L(3,"b-app-bar-more-menu",4);Q("flagAsSpamClicked",function(){z(c);return B(l7c(b))});M();L(4,"b-state-modal",5);Q("save",function(){z(c);return B(j7c(b))})("close",function(){z(c);return B(b.hotkeys.unpause())});M();
G(5,ktb,11,6,"ng-template",null,0,Gk)}a&2&&(J(b.hasSelectedIssues()?0:-1),E(),J(b.hasSelectedIssues()?1:-1),E(),J(b.enableBulkEditUi&&b.hasSelectedIssues()?2:-1),E(),K("showFlagIssuesAsSpam",b.isNonPublicSession&&b.hasSelectedIssues()),E(),K("externalWarnings",b.externalWarnings))},dependencies:[WX,VX,jV,uZ,ZZ,dA,aA,fI,hI,jI,iI,b_,KR,$Z,py],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var k_=function(){};k_.\u0275fac=function(a){return new (a||k_)};k_.\u0275mod=Zi({type:k_});
k_.\u0275inj=Eg({imports:[YX,EM,qV,jC,lQ,EZ,h_,vM,FI,HI,i_,uV,a_]});var m7c=function(a,b,c){this.index=a;this.inherited=c;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);this.componentId=b.componentId},n7c=function(a,b){this.cellType=b;this.enumFields=null;this.id=a.customFieldId;this.name=a.name;this.type=a.type;if(this.type==="ENUM"||this.type==="REPEATED_ENUM")this.enumFields=(a.allowedValue||[]).map(function(c){return{displayText:c,
value:c}});["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(a.type)},l_=function(a,b){this.dirty=!1;this.collaboratorGroups=[];var c=b.snapshot||{};this.customFields=a;this.new=b.templateId==null;this.componentId=b.componentId;this.name=b.name||"";this.description=b.description||"";this.inheritable=b.inheritable||!1;this.type=c.type||"--";this.priority=c.priority||"--";this.severity=c.severity||"--";this.assignee=Jd(c.assigneeUser)||"";this.verifier=Jd(c.verifierUser)||
"";this.collaborators=Id(c.collaboratorsUsers).map(Gd);this.staffing=c.staffing||null;this.cc=Id(c.ccUsers).map(Gd);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=l(c.customField||[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.customFieldValues[b.customFieldId.toString()]=
b;a=l(Object.entries(this.customFields));for(b=a.next();!b.done;b=a.next())c=l(b.value),b=c.next().value,c=c.next().value,b=Number(b),this.customFieldValues[b]||(this.customFieldValues[b]=c.typedDefaultValue!=null?c.typedDefaultValue:{customFieldId:b})},p7c=function(a,b){b.name=a.name;b.description=a.description;b.inheritable=a.inheritable;var c=b.snapshot||{};c.componentId=a.componentId;o7c(a.type)?delete c.type:c.type=a.type;o7c(a.priority)?delete c.priority:c.priority=a.priority;o7c(a.severity)?
delete c.severity:c.severity=a.severity;c.assigneeUser=Kd(a.assignee);c.verifierUser=Kd(a.verifier);c.collaboratorsUsers=a.collaborators.map(function(f){return Kd(f)});a.collaboratorGroups.length>0&&(c.collaboratorsUsers=Xea(a.collaboratorGroups).concat(c.collaboratorsUsers||[]));c.staffing=a.staffing;c.ccUsers=a.cc.map(function(f){return Kd(f)});c.comment=a.comment;c.formattingMode=a.formattingMode;c.title=a.title;c.hotlistId=a.hotlistId;c.inProd=a.inProd;c.customField=[];c.issueAccessLimitLevel=
a.issueAccessLimitLevel;for(var d=l(Object.keys(a.customFields)),e=d.next();!e.done;e=d.next())(e=a.customFieldValues[e.value])&&!No(e)&&c.customField.push(e);b.snapshot=c};
l_.prototype.setCustomField=function(a,b){a=String(a);if(this.customFieldValues[a]){var c=this.customFields[a].type;if(!c)return;switch(c){case "TYPE_UNSPECIFIED":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:oe("Unexpected custom field type: "+c)}}this.dirty=!0};l_.prototype.isDirty=function(){return this.dirty};l_.prototype.setFormattingMode=function(a){this.formattingMode=a;this.dirty=!0};l_.prototype.onAccessLimitLevelSelected=function(a){this.issueAccessLimitLevel=a;this.dirty=!0};
var o7c=function(a){return ja(a)||a==="--"};l_.prototype.getCollaboratorGroupsString=function(){return this.collaboratorGroups.length===0?"":this.collaboratorGroups.length>1?this.collaboratorGroups.length+" groups selected":this.collaboratorGroups[0]};l_.prototype.separateCollaboratorGroups=function(a){a=new Set(a);for(var b=[],c=l(this.collaborators),d=c.next();!d.done;d=c.next())d=d.value,a.has(d)?this.collaboratorGroups.push(d):b.push(d);this.collaborators=b};
var Hub=function(a,b){a.collaborators=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},Iub=function(a,b){a.cc=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},q7c={value:"--",displayText:"--"};var r7c=new So("M/d/yyyy"),m_=function(){this.dateFormatter=x(pI);this.boundValueChange=new iE;this.textValue="";this.ariaLabelledBy=this.inputId=void 0;this.isRequired=!1};m_.prototype.ngOnInit=function(){if(this.boundValue){if(this.boundValue)if(typeof this.boundValue==="string")var a=Cd(this.boundValue);else{var b;a=(b=Lo(this.boundValue))!=null?b:void 0}else a=void 0;this.googDate=a;this.change(this.googDate,!0)}};
m_.prototype.change=function(a,b){b=b===void 0?!1:b;var c=this.googDate;if((c&&a?!c.equals(a):c||a)&&!b){this.googDate=a;if(a)if(typeof this.boundValue==="string")a=r7c.format(a);else{var d;a=(d=GEa(r7c.format(a)))!=null?d:void 0}else a=typeof this.boundValue==="string"?"":void 0;this.boundValue=a;this.boundValueChange.emit(this.boundValue);this.textValue=this.googDate?this.dateFormatter.formatUserCalendar(this.googDate):""}};m_.\u0275fac=function(a){return new (a||m_)};
m_.\u0275cmp=F({type:m_,selectors:[["bv2-input-date-picker"]],inputs:{boundValue:"boundValue",inputId:[0,"bv2Id","inputId"],ariaLabelledBy:[0,"bv2AriaLabelledby","ariaLabelledBy"],isRequired:"isRequired"},outputs:{boundValueChange:"boundValueChange"},standalone:!1,decls:1,vars:4,consts:[[3,"valueChange","required","value","customFormId","customAriaLabelledBy"]],template:function(a,b){a&1&&(L(0,"b-date-time-input",0),Q("valueChange",function(c){return b.change(c)}),M());a&2&&K("required",b.isRequired)("value",
b.googDate)("customFormId",b.inputId)("customAriaLabelledBy",b.ariaLabelledBy)},dependencies:[YT],encapsulation:2});var s7c=["allocationInput"],t7c=["editAllocationBtn"],u7c=function(a,b){return b.columnDef},ttb=function(a,b){return b.value},Jtb=function(a,b){return b.displayText},n_=function(){var a=this;this.subscriptions=new Yh;this.userToLossyEmail=Jd;this.rows$=new $n([]);this.trackBy=function(b,c){return c[0].user.user.emailAddress};this.tableColumns$=new $n(["user","involvement","remove-user"]);this.timeboundQuarterColumns$=new $n([]);this.Involvement=bic;this.involvementOptions=sDc.map(function(b){return{value:b,
displayText:lg[b]}});this.roleOptions$=new $n([{value:void 0,displayText:"--"}].concat(p(tDc.map(function(b){return{value:b,displayText:Lw[b]}}))));this.allocationUnderEdit=null;this.allocationInputChanges$=new $n("");this.allocations=[];this.staffingEnhancementsEnabled=this.isAllowedToEdit=!1;this.updatedAllocations=new iE;this.removedUser=new iE;this.subscriptions.add(this.allocationInputChanges$.pipe(fj(250),jj()).subscribe(function(){Ptb(a);if(a.allocationInputEl){var b;a.allocationInputEl.nativeElement.value=
(b=a.allocationFromInputPlain)!=null?b:""}}))};n_.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};n_.prototype.ngOnChanges=function(a){(a.allocations||a.staffingEnhancementsEnabled)&&v7c(this);a.staffingEnhancementsEnabled&&this.roleOptions$.next([{value:void 0,displayText:"--"}].concat(p((this.staffingEnhancementsEnabled?uDc:tDc).map(function(b){return{value:b,displayText:Lw[b]}}))))};
var v7c=function(a){var b=[];if(a.staffingEnhancementsEnabled){var c=a.allocations.some(function(q){var u;return((u=q.allocation)==null?void 0:u.percentage)!==void 0});b=w7c(a,c);var d=[];d=b.length?b.map(function(q){return q.columnDef}):[c?"allocation":"involvement"];a.tableColumns$.next(["user","role","is-lead"].concat(p(d),["remove-user"]));a.timeboundQuarterColumns$.next(b)}else a.tableColumns$.next(["user","involvement","remove-user"]),a.timeboundQuarterColumns$.next([]);c=new Map;d=l(a.allocations.filter(function(q){var u;
return(u=q.user)==null?void 0:u.user}));for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=void 0,h=void 0,k=(f=e.user)==null?void 0:(h=f.user)==null?void 0:h.emailAddress;k&&(f=void 0,h=(f=c.get(k))!=null?f:[],h.push(e),c.set(k,h))}c=[].concat(p(c.values()));a.rows$.next(c.map(function(q){var u=[];if(b.length){for(var A=l(b),D=A.next();!D.done;D=A.next()){D=D.value;var H=D.extractPlannedAllocation(q),O=void 0,P=void 0;((O=H.allocation)==null?void 0:O.startDate)===D.startDate&&((P=H.allocation)==
null?void 0:P.endDate)===D.endDate?u.push(H):(P=O=void 0,u.push(Object.assign({},H,{allocation:Object.assign({},H.allocation,{aggregationValue:(P=(O=H.allocation)==null?void 0:O.aggregationValue)!=null?P:0,startDate:Cha(D.startDate),endDate:Cha(D.endDate)})})))}q=u}return q}).sort(function(q,u){var A,D,H,O,P,S;q=(P=(A=q[0].user)==null?void 0:(D=A.user)==null?void 0:D.emailAddress)!=null?P:"";u=(S=(H=u[0].user)==null?void 0:(O=H.user)==null?void 0:O.emailAddress)!=null?S:"";return!q&&u?-1:!u&&q?1:
q.localeCompare(u)}))},w7c=function(a,b){a=x7c(a);var c=a.earliestDate,d=a.latestDate;a=[];if(!c||!d)return a;var e=Dha(c).quarterStartDate;c=Dha(d).quarterStartDate;d=e;for(e={};d<=c;e={quarterStartDate$jscomp$1:void 0,quarterEndDate$jscomp$1:void 0}){var f=Dha(d);e.quarterStartDate$jscomp$1=f.quarterStartDate;e.quarterEndDate$jscomp$1=f.quarterEndDate;f=e.quarterStartDate$jscomp$1.getFullYear();var h=Math.floor(e.quarterStartDate$jscomp$1.getMonth()/3)+1;a.push({columnDef:"q"+h+"-"+f,displayText:"Q"+
h+" "+f,startDate:e.quarterStartDate$jscomp$1,endDate:e.quarterEndDate$jscomp$1,extractPlannedAllocation:function(k){return function(q){a:{var u=k.quarterStartDate$jscomp$1,A=k.quarterEndDate$jscomp$1;if(u||A){for(var D=l(q),H=D.next();!H.done;H=D.next()){H=H.value;var O=void 0,P=void 0,S=((O=H.allocation)==null?0:O.startDate)?Vf((P=H.allocation)==null?void 0:P.startDate):void 0;P=O=void 0;var aa=((O=H.allocation)==null?0:O.endDate)?Vf((P=H.allocation)==null?void 0:P.endDate):void 0;if(!S&&!aa||!S&&
A&&aa>=A||!aa&&u&&S<=u||S&&aa&&u&&A&&S<=u&&aa>=A){q=H;break a}}q=Object.assign({},q[0],{allocation:{involvement:"ZERO",aggregationValue:0,startDate:u?Cha(u):void 0,endDate:A?Cha(A):void 0}})}else q=q[0]}return q}}(e),displayInvolvementAsPercentage:b});d=new Date(d.getFullYear(),d.getMonth()+3,1)}return a},x7c=function(a){var b=void 0,c=void 0;a=l(a.allocations);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=void 0,h=((e=d.allocation)==null?0:e.startDate)?Vf((f=d.allocation)==null?
void 0:f.startDate):void 0;if(h){if(!b||h<b)b=h;if(!c||h>c)c=h}f=e=void 0;if(h=((e=d.allocation)==null?0:e.endDate)?Vf((f=d.allocation)==null?void 0:f.endDate):void 0){if(!b||h<b)b=h;if(!c||h>c)c=h}}return{earliestDate:b,latestDate:c}},Ctb=function(a,b,c,d,e){var f,h,k,q,u,A,D,H,O,P;return v(function(S){f=mg(c);if(!f||!d&&e===void 0||((h=c.allocation)==null?void 0:h.involvement)===d&&((k=c.allocation)==null?void 0:k.percentage)===e)return a.allocationUnderEdit=null,a.allocationFromInputPlain=void 0,
S.return();q=b.filter(function(aa){return mg(aa)!==f});u=kg(c);A=[].concat(p(a.allocations.filter(function(aa){return kg(aa)!==u})),p(q));if(d&&d!=="INVOLVEMENT_UNSPECIFIED")D=Object.assign({},c.allocation,{involvement:d,aggregationValue:0,percentage:void 0});else if(e!==void 0||d==="INVOLVEMENT_UNSPECIFIED")e!=null||(e=1),D=Object.assign({},c.allocation,{percentage:e,aggregationValue:0,involvement:void 0});A.push(Object.assign({},c,{allocation:D}));H=a.rows$.value.findIndex(function(aa){return kg(aa[0])===
u});O=b.findIndex(function(aa){return mg(aa)===f});P=O*a.rows$.value.length+H;a.updatedAllocations.emit(A);a.allocationUnderEdit=null;a.allocationFromInputPlain=void 0;setTimeout(function(){var aa,ia;(aa=a.editAllocationBtns.get(P))==null||(ia=aa.nativeElement)==null||ia.focus()},0);ji(S)})},Ftb=function(a,b){var c=b==null?void 0:b.allocation,d="";if((c==null?void 0:c.percentage)!==void 0)d=""+Math.round((c==null?NaN:c.percentage)*100);else if(c==null?0:c.involvement)d=lg[c==null?void 0:c.involvement];
a.allocationFromInputPlain=d;a.allocationUnderEdit=b!=null?b:null;a.allocationUnderEdit&&setTimeout(function(){a.allocationInputEl.nativeElement.focus();a.allocationInputChanges$.next(d)},0)},fs=function(a,b,c){var d,e=(d=a.allocationInputEl)==null?void 0:d.nativeElement.value.toLowerCase();d=Number(e);var f,h=(f=a.involvementOptions.find(function(u){return u.value.toLowerCase()===e}))==null?void 0:f.value;if(!c||c.key==="Enter")!isNaN(d)&&d>=0&&d<=100?Ctb(a,b,a.allocationUnderEdit,void 0,Math.round(d)/
100):h&&Ctb(a,b,a.allocationUnderEdit,h),a.allocationUnderEdit=null,a.allocationFromInputPlain=void 0;else if(c.key==="Escape"||c.key==="Esc")if(c.stopPropagation(),b=a.allocations.findIndex(function(u){return mg(u)===mg(a.allocationUnderEdit)}),Ftb(a),b>=0){var k,q;(k=a.editAllocationBtns.get(b))==null||(q=k.nativeElement)==null||q.focus()}},Ptb=function(a){var b,c,d=(c=(b=a.allocationFromInputPlain)==null?void 0:b.toLowerCase())!=null?c:"";d!==""&&((b=Number(d),isNaN(b))?a.involvementOptions.map(function(e){return e.displayText.toLowerCase()}).find(function(e){return d===
e||e.startsWith(d)})||(a.allocationFromInputPlain=""):a.allocationFromInputPlain=b<0?"0":b>100?"100":b>0&&b<1?String(Math.round(b*100)):String(Math.round(b)))},xtb=function(a,b,c){var d,e,f,h,k,q;return v(function(u){d=kg(b);if(!d)return u.return();e=[].concat(p(a.allocations));f=!1;for(h=0;h<e.length;h++)k=e[h],q=void 0,kg(k)===d&&!((q=k.user)==null||!q.isLead)!==c&&(e[h]=Object.assign({},k,{user:Object.assign({},k.user,{isLead:c})}),f=!0);if(!f)return u.return();a.updatedAllocations.emit(e);ji(u)})},
stb=function(a,b,c){var d,e,f,h,k,q;return v(function(u){d=kg(b);if(!d)return u.return();e=[].concat(p(a.allocations));f=!1;for(h=0;h<e.length;h++)k=e[h],q=void 0,kg(k)===d&&((q=k.user)==null?void 0:q.role)!==c&&(e[h]=Object.assign({},k,{user:Object.assign({},k.user,{role:c!=="JOB_ROLE_UNSPECIFIED"?c:void 0})}),f=!0);if(!f)return u.return();a.updatedAllocations.emit(e);ji(u)})},Xtb=function(a,b){var c,d,e,f,h;return v(function(k){c=kg(b);if(!c)return k.return();d=[].concat(p(a.allocations)).filter(function(q){return kg(q)!==
c});if(d.length===a.allocations.length)return k.return();a.updatedAllocations.emit(d);h=(e=b.user)==null?void 0:(f=e.user)==null?void 0:f.emailAddress;a.removedUser.emit(h);ji(k)})},Gtb=function(a){a=a.allocation;if(!a)return"";if(a.percentage!==void 0)return Math.round(a.percentage*100)+"%";if(a.involvement){var b=a.aggregationValue;if(b===0&&a.involvement!=="ZERO")switch(a.involvement){case "HIGH":b=1;break;case "MEDIUM":b=.5;break;case "LOW":b=.25}return Math.round(b*100)+"% ("+(lg[a.involvement]+
")")}return""},utb=function(a){var b;return(a=(b=a.user)==null?void 0:b.role)?Ro[a]:""};n_.\u0275fac=function(a){return new (a||n_)};
n_.\u0275cmp=F({type:n_,selectors:[["b-allocated-users-table"]],viewQuery:function(a,b){a&1&&(ek(s7c,5),ek(t7c,5,Ph));if(a&2){var c;ik(c=jk())&&(b.allocationInputEl=c.first);ik(c=jk())&&(b.editAllocationBtns=c)}},inputs:{allocations:"allocations",isAllowedToEdit:"isAllowedToEdit",staffingEnhancementsEnabled:"staffingEnhancementsEnabled"},outputs:{updatedAllocations:"updatedAllocations",removedUser:"removedUser"},features:[$w],decls:31,vars:17,consts:[["editAllocationBtn",""],["allocationInput",""],
["allocationAuto","matAutocomplete"],[1,"allocated-users-table-container"],["mat-table","",3,"dataSource","trackBy"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["matColumnDef","user",3,"sticky"],["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",4,"matCellDef"],["matColumnDef","role",3,"sticky"],["matColumnDef","is-lead",3,"sticky"],["matColumnDef","involvement"],["matColumnDef","allocation"],[3,"matColumnDef"],
["matColumnDef","remove-user",3,"stickyEnd"],["mat-header-row",""],["mat-row",""],["mat-header-cell",""],["tabindex","-1","mat-cell",""],[1,"user-cell"],["size","small",3,"email"],[1,"user-name",3,"user","hovercardFocusEnabled","availabilityChipEnabled"],[1,"role-header"],["name","help-outline","size","small","role","button","tabindex","0",1,"help-icon",3,"matTooltip"],[1,"role-select",3,"selectionChange","disabled","value"],[3,"value"],[1,"is-lead-header"],[3,"change","checked","disabled","aria-label"],
[1,"involvement-header"],[1,"involvement-select",3,"selectionChange","disabled","value"],[1,"allocation-header"],["type","button","mat-button","","aria-label","Select involvement level or enter percentage (between 0 and 100) for user","matTooltip","Select involvement level or enter percentage (between 0 and 100) for user",1,"edit-allocation-btn",3,"disabled"],["type","button","mat-button","","aria-label","Select involvement level or enter percentage (between 0 and 100) for user","matTooltip","Select involvement level or enter percentage (between 0 and 100) for user",
1,"edit-allocation-btn",3,"click","disabled"],"svgIcon edit-outline fill none iconPositionEnd ".split(" "),["aria-label","Select involvement level or enter percentage (between 0 and 100) for user",1,"allocation-input",3,"ngModelChange","keydown","input","blur","matAutocomplete","ngModel","disabled"],[3,"optionSelected"],["mat-header-cell","",3,"class",4,"matHeaderCellDef"],["mat-cell","",3,"class",4,"matCellDef"],["mat-cell",""],[1,"involvement-select",3,"disabled","value"],["type","button","mat-button",
"","aria-label","Select involvement or enter percentage (between 0 and 100) for user","matTooltip","Select involvement or enter percentage (between 0 and 100) for user",1,"edit-allocation-btn",3,"disabled"],["type","button","mat-button","","aria-label","Select involvement or enter percentage (between 0 and 100) for user","matTooltip","Select involvement or enter percentage (between 0 and 100) for user",1,"edit-allocation-btn",3,"click","disabled"],["aria-label","Select involvement or enter percentage (between 0 and 100) for user",
1,"allocation-input",3,"ngModelChange","keydown","keyup","blur","matAutocomplete","ngModel","disabled"],["type","button","mat-icon-button","","aria-label","Remove allocated user","matTooltip","Remove allocated user",1,"remove-user-btn","xs",3,"click","disabled"],["svgIcon","delete","fill","none"]],template:function(a,b){a&1&&(Wj(0),W(1,"async"),L(2,"div",3)(3,"table",4),G(4,ltb,1,0,"tr",5)(5,mtb,1,0,"tr",6),Sj(6,7),G(7,ntb,2,0,"th",8)(8,ptb,2,1,"td",9),Tj(),Sj(9,10),Wj(10),G(11,qtb,4,2,"th",8)(12,
vtb,7,5,"td",9),Tj(),Sj(13,11),Wj(14),G(15,wtb,4,2,"th",8)(16,ytb,2,4,"td",9),Tj(),Sj(17,12),Wj(18),G(19,ztb,4,2,"th",8)(20,Dtb,5,3,"td",9),Tj(),Sj(21,13),Wj(22),G(23,Etb,4,2,"th",8)(24,Ltb,3,1,"td",9),Tj(),Mj(25,Vtb,4,2,"ng-container",14,u7c),W(27,"async"),Sj(28,15),G(29,Wtb,2,0,"th",8)(30,Ytb,3,1,"td",9),Tj(),M()());a&2&&(a=X(1,9,b.tableColumns$),E(3),K("dataSource",b.rows$)("trackBy",b.trackBy),E(),K("matHeaderRowDef",a)("matHeaderRowDefSticky",!0),E(),K("matRowDefColumns",a),E(),K("sticky",!0),
E(3),K("sticky",!0),E(),Xj("Optionally override the role of the user. If\n      not overridden, the user will be filling the role aligned with their job profile."),E(3),K("sticky",!0),E(),Xj("Optionally mark users as lead(s) for this\n      issue."),E(4),Xj("Set the involvement level of people\n      allocated to this issue. Zero involvement levels are useful when a person is involved in the\n      work but does not spend a significant portion of their time on it."),E(4),Xj("Set the involvement level (or percentage\n      between 0 and 100) of people allocated to this issue. Zero involvement levels are useful when\n      a person is involved in the work but does not spend a significant portion of their time on\n      it."),
E(3),Nj(X(27,15,b.timeboundQuarterColumns$)),E(3),K("stickyEnd",!0))},dependencies:[jC,EA,FG,Bp,hG,oG,FI,dA,aA,bA,SL,aG,HG,SQ,RP,eL,SK,YK,UK,RK,$K,VK,XK,aL,cL,JL,YF,WF,vM,jK,UN,SN,Vz,TN,YL,WL,XL,cN,SM,QM,py],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-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-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}td.mat-mdc-cell.mat-column-allocation[_ngcontent-%COMP%], td.mat-mdc-cell.mat-column-involvement[_ngcontent-%COMP%], td.mat-mdc-footer-cell.mat-column-allocation[_ngcontent-%COMP%], td.mat-mdc-footer-cell.mat-column-involvement[_ngcontent-%COMP%], th.mat-mdc-header-cell.mat-column-allocation[_ngcontent-%COMP%], th.mat-mdc-header-cell.mat-column-involvement[_ngcontent-%COMP%]{padding-right:75px}.user-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}.user-cell[_ngcontent-%COMP%]   .user-name[_ngcontent-%COMP%]{margin-left:4px}.allocation-header[_ngcontent-%COMP%], .involvement-header[_ngcontent-%COMP%], .is-lead-header[_ngcontent-%COMP%], .role-header[_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}.mat-mdc-table-sticky[_ngcontent-%COMP%]{opacity:1}.mat-mdc-table-sticky-border-elem-top[_ngcontent-%COMP%]{border-bottom:2px solid var(--hairline)}.mat-mdc-table-sticky-border-elem-right[_ngcontent-%COMP%]{border-left:2px solid var(--hairline)}.mat-mdc-table-sticky-border-elem-left[_ngcontent-%COMP%]{border-right:2px solid var(--hairline)}.allocated-users-table-container[_ngcontent-%COMP%]{width:100%;overflow-x:auto;max-height:380px}.blue[_ngcontent-%COMP%]{background-color:var(--b-status-assigned-bg-pale)}.timebound-allocation[_ngcontent-%COMP%]{min-width:140px}.timebound-allocation[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]{z-index:0}.help-icon[_ngcontent-%COMP%]{margin-left:4px}.mat-column-role[_ngcontent-%COMP%]{width:75px}.mat-column-is-lead[_ngcontent-%COMP%]{width:100px}.mat-column-allocation[_ngcontent-%COMP%], .mat-column-involvement[_ngcontent-%COMP%]{width:150px}.mat-column-remove-user[_ngcontent-%COMP%]{width:36px}.involvement-select[_ngcontent-%COMP%]{width:125px}.edit-allocation-btn[_ngcontent-%COMP%]{color:var(--row-default-text);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;font-weight:400;height:100%;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0;width:125px}.allocation-input[_ngcontent-%COMP%]{width:117px}mat-select[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}mat-select[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px #1a73e8;box-shadow:inset 0 0 0 2px var(--primary);outline:none}[_nghost-%COMP%]     .mat-mdc-select-value{padding-right:4px}\n/*# sourceMappingURL=allocated_users_table.css.map */"],
changeDetection:0});var o_=function(){this.isAllowedToEdit=!1;this.editPlaceholder=new iE;this.removePlaceholder=new iE},y7c=function(a){a.isAllowedToEdit&&a.editPlaceholder.emit(a.placeholder)};pg.Object.defineProperties(o_.prototype,{roleString:{configurable:!0,enumerable:!0,get:function(){var a=this.placeholder.role;return a&&a!=="JOB_ROLE_UNSPECIFIED"?Lw[a]:"Other"}},placeholderLabel:{configurable:!0,enumerable:!0,get:function(){return"Placeholder: "+this.placeholder.count+" "+this.roleString}}});
o_.\u0275fac=function(a){return new (a||o_)};
o_.\u0275cmp=F({type:o_,selectors:[["b-placeholder-chip"]],inputs:{placeholder:"placeholder",isAllowedToEdit:"isAllowedToEdit"},outputs:{editPlaceholder:"editPlaceholder",removePlaceholder:"removePlaceholder"},decls:6,vars:7,consts:[[1,"placeholder-chip"],["size","small",3,"email"],["role","button","tabindex","0",1,"placeholder-text",3,"click","keydown.enter","keydown.space","matTooltip"],["type","button","mat-icon-button","",1,"remove-btn","xs",3,"click","disabled"],["svgIcon","close"]],template:function(a,
b){a&1&&(L(0,"span",0),N(1,"b-user-image",1),L(2,"span",2),Q("click",function(){return y7c(b)})("keydown.enter",function(){return y7c(b)})("keydown.space",function(){return y7c(b)}),U(3),M(),L(4,"button",3),Q("click",function(){b.removePlaceholder.emit(b.placeholder)}),N(5,"mat-icon",4),M()());a&2&&(E(),K("email",void 0),E(),K("matTooltip",zk("Click to edit the ",b.roleString," placeholders")),Hj("aria-label","Click to edit the "+b.roleString+" placeholders"),E(),V(" ",b.placeholderLabel," "),E(),
K("disabled",!b.isAllowedToEdit),Hj("aria-label","Remove placeholders for the "+b.roleString+" role"))},dependencies:[jC,EA,FI,dA,bA,JL,YF,WF,iC,cN,SM],styles:[".placeholder-chip[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align: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;background-color:#fff;background-color:var(--surface-default);align-items:center;border:1px solid var(--hairline);cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:20px}.placeholder-chip[_ngcontent-%COMP%]   b-user-image[_ngcontent-%COMP%]{margin-left:1px;margin-right:4px}.placeholder-chip[_ngcontent-%COMP%]   .placeholder-text[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:400;letter-spacing:.3px;padding-right:4px;width:100%}.placeholder-chip[_ngcontent-%COMP%]   .placeholder-text[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px #1a73e8;box-shadow:inset 0 0 0 2px var(--primary);outline:none}.placeholder-chip[_ngcontent-%COMP%]   .remove-btn[_ngcontent-%COMP%]{margin:1px 1px 1px 0}\n/*# sourceMappingURL=placeholder_chip.css.map */"],
changeDetection:0});var z7c=function(){return[]},p_=function(){this.matDialog=x(eI)};p_.prototype.show=function(a,b){this.dialog=this.matDialog.open(q_,{width:"325px",panelClass:"no-jitter",data:{allocatedPlaceholders:a,initialRole:b}});return pi(ZH(this.dialog))};p_.\u0275fac=function(a){return new (a||p_)};p_.\u0275prov=Dg({token:p_,factory:p_.\u0275fac,providedIn:"root"});
var q_=function(){var a=this;this.data=x(dI);this.dialogRef=x(YH);this.activeSession=x(Ks);this.staffingEnhancementsEnabled=Cx(this.activeSession,"enableStaffingFieldEnhancementsUi");this.role="SWE";this.count=new nG(1,{validators:[zp,CJa(/^\d+$/),xJa(1),yJa(3E5)]});this.roleToCountMap=new Map;this.roleOptions$=new $n((this.staffingEnhancementsEnabled?uDc:tDc).map(function(f){return{value:f,displayText:Lw[f],disabled:!1}}));for(var b=l(this.data.allocatedPlaceholders),c=b.next();!c.done;c=b.next()){var d=
c.value;c=d.role;var e=void 0;d=Math.ceil((e=d.count)!=null?e:0);this.roleToCountMap.set(c,d)}this.roleOptions$.next((this.staffingEnhancementsEnabled?uDc:tDc).map(function(f){return{value:f,displayText:Lw[f],disabled:a.roleToCountMap.has(f)}}));this.data.initialRole&&(this.role=this.data.initialRole);A7c(this)},A7c=function(a){var b=a.roleToCountMap.get(a.role);a.count.setValue(b!=null?b:1)};q_.prototype.apply=function(){var a,b={role:this.role,count:(a=this.count.value)!=null?a:1};this.dialogRef.close(b)};
pg.Object.defineProperties(q_.prototype,{updatingExistingPlaceholder:{configurable:!0,enumerable:!0,get:function(){return this.roleToCountMap.has(this.role)}},selectedRoleDisplayText:{configurable:!0,enumerable:!0,get:function(){var a=this,b,c;return(c=(b=this.roleOptions$.value.find(function(d){return d.value===a.role}))==null?void 0:b.displayText)!=null?c:""}},title:{configurable:!0,enumerable:!0,get:function(){return this.updatingExistingPlaceholder?"Editing Placeholder":"Adding Placeholder"}},
buttonText:{configurable:!0,enumerable:!0,get:function(){return this.updatingExistingPlaceholder?"Update":"Add"}}});q_.\u0275fac=function(a){return new (a||q_)};
q_.\u0275cmp=F({type:q_,selectors:[["b-placeholder-dialog"]],decls:21,vars:12,consts:[[1,"placeholder-dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"content"],["appearance","outline",1,"job-role-field"],["aria-label","Click to select a job role for placeholders",3,"selectionChange","value","disabled"],[3,"matTooltip","matTooltipDisabled"],["appearance","outline",1,"count-field"],["type","number","min","1","max","300000","step","1","matInput","","placeholder","Enter number",3,"formControl",
"required"],["mat-dialog-actions","",1,"actions"],["type","button","mat-button","","mat-dialog-close","","aria-label","Cancel",1,"cancel"],["type","button","mat-flat-button","","color","primary","aria-label","Add allocated placeholder",1,"apply",3,"click","disabled"],[3,"value","disabled"],[1,"role-option"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"h1",1),U(2),M(),L(3,"section",2)(4,"mat-form-field",3)(5,"mat-label"),U(6,"Role"),M(),L(7,"mat-select",4),Q("selectionChange",function(d){b.role=d.value;
A7c(b)}),Mj(8,Ztb,4,5,"span",5,Lj),W(10,"async"),M()(),L(11,"mat-form-field",6)(12,"mat-label"),U(13,"Number"),M(),N(14,"input",7),I(15,$tb,2,0,"mat-error"),M()(),L(16,"footer",8)(17,"button",9),U(18," Cancel "),M(),L(19,"button",10),Q("click",function(){return b.apply()}),U(20),M()()());if(a&2){E(2);tk(b.title);E(5);K("value",b.role)("disabled",b.updatingExistingPlaceholder);E();var c;Nj((c=X(10,9,b.roleOptions$))!=null?c:Ck(11,z7c));E(6);K("formControl",b.count)("required",!0);Hj("aria-label","Enter the "+
(b.updatingExistingPlaceholder?"updated ":"")+"number of placeholders for the "+b.selectedRoleDisplayText+" role");E();J(b.count.invalid?15:-1);E(4);K("disabled",b.count.invalid);E();V(" ",b.buttonText," ")}},dependencies:[jC,FI,dA,aA,HI,fI,hI,jI,iI,UL,TL,eH,YG,WG,pO,oO,mH,ZL,VL,WL,Vz,JL,YF,WF,Jz,GG,Bp,qG,hG,AG,zG,yG,uG,py],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%}.job-role-field[_ngcontent-%COMP%]{padding-top:4px}.content[_ngcontent-%COMP%]{padding:0 24px}\n/*# sourceMappingURL=placeholder_dialog.css.map */"],
changeDetection:0});var B7c=function(){return[]},r_=function(){this.matDialog=x(eI)};r_.prototype.show=function(a,b,c){this.dialog=this.matDialog.open(s_,{width:"1000px",disableClose:!0,panelClass:"no-jitter",data:{issueId:b,plannedAllocations:a,isAllowedToEdit:c}});return pi(ZH(this.dialog))};r_.\u0275fac=function(a){return new (a||r_)};r_.\u0275prov=Dg({token:r_,factory:r_.\u0275fac,providedIn:"root"});
var s_=function(){Z.call(this);var a=this;this.data=x(dI);this.dialogRef=x(YH);this.editIssueService=x(XI);this.hotkeys=x(BL);this.placeholderDialogService=x(p_);this.checkBeforeExit=x(LR);this.activeSession=x(Ks);this.staffingEnhancementsEnabled=Cx(this.activeSession,"enableStaffingFieldEnhancementsUi");this.userValidators={userNotInGoogleDomain:function(f){return f?f.every(function(h){return h.indexOf("@google.com")>0}):!0},isNotUserType:function(f){return f?f.every(function(h){return h.startsWith("USER:")}):
!0},userAlreadySelected:function(f){if(f){f=zq(f).map(function(k){var q,u;return(u=(q=k.user)==null?void 0:q.emailAddress)!=null?u:""}).filter(function(k){return!!k});f=l(f);for(var h=f.next();!h.done;h=f.next())if(a.emailsSet.has(h.value))return!1}return!0}};this.issueId=this.data.issueId;this.plannedAllocations$=new $n([]);this.emailsSet=new Set;this.placeholderAllocations$=this.plannedAllocations$.pipe(C(function(f){return f.filter(function(h){return!!h.placeholder}).map(function(h){return h.placeholder})}));
this.availableRolesToAllocate$=this.placeholderAllocations$.pipe(C(function(f){var h=new Set(f.map(function(k){return k.role}));return(a.staffingEnhancementsEnabled?uDc:tDc).filter(function(k){return!h.has(k)})}));var b;this.isAllowedToEdit=(b=this.data.isAllowedToEdit)!=null?b:!1;this.creatingNewIssue=!this.data.issueId;this.title=(this.isAllowedToEdit?"Editing":"Viewing")+" staffing";var c;this.isSaving$=iFc(this.editIssueService.savingState((c=this.issueId)!=null?c:""),"staffing");var d;this.plannedAllocations$.next((d=
this.data.plannedAllocations)!=null?d:[]);b=l(this.plannedAllocations$.value);for(var e=b.next();!e.done;e=b.next())d=c=void 0,(e=(c=e.value.user)==null?void 0:(d=c.user)==null?void 0:d.emailAddress)&&this.emailsSet.add(e)};Y(s_,Z);s_.\u0275dir=Z.\u0275dir;
s_.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(MR(this.checkBeforeExit,function(){return a.hasChanges()},!1));this.dialogRef.keydownEvents().pipe(tj(this.destroyed$)).subscribe(function(b){b.key==="Escape"&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(tj(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};
var bub=function(a,b,c){var d,e,f,h,k,q;return v(function(u){if(u.nextAddress==1)return w(u,pi(a.placeholderAllocations$),2);if(u.nextAddress!=3)return d=u.yieldResult,c||(c=b.length>0?b[0]:"SWE"),w(u,a.placeholderDialogService.show(d,c),3);e=u.yieldResult;if(!e)return u.return();f={placeholder:e};h=kg(f);if(!h)return u.return();k=[].concat(p(a.plannedAllocations$.value));q=k.findIndex(function(A){return kg(A)===h});q<0?k.push(f):k[q]=f;a.plannedAllocations$.next(k);ji(u)})};
s_.prototype.removePlaceholder=function(a){var b=this,c,d,e,f;return v(function(h){c={placeholder:a};d=kg(c);if(!d)return h.return();e=[].concat(p(b.plannedAllocations$.value));f=e.findIndex(function(k){return kg(k)===d});if(f<0)return h.return();e.splice(f,1);b.plannedAllocations$.next(e);ji(h)})};s_.prototype.removeEmail=function(a){this.emailsSet.delete(a)};
var C7c=function(a,b){var c,d,e,f,h,k;return v(function(q){if(b.length<1)return q.return();c=zq(b);f=(d=c[0])==null?void 0:(e=d.user)==null?void 0:e.emailAddress;if(!f||a.emailsSet.has(f))return q.return();h={user:{user:{emailAddress:f}},allocation:{involvement:"HIGH",aggregationValue:0}};k=[].concat(p(a.plannedAllocations$.value),[h]);a.plannedAllocations$.next(k);a.emailsSet.add(f);a.usersInput.removeItem(0);ji(q)})};g=s_.prototype;
g.hasChanges=function(){return!vd(this.plannedAllocations$.value,this.data.plannedAllocations)};g.closeIfUnmodified=function(){this.hasChanges()||this.dialogRef.close()};g.close=function(){this.dialogRef.close()};g.save=function(){var a=this;return v(function(b){if(b.nextAddress==1)return a.creatingNewIssue?(a.dialogRef.close(a.plannedAllocations$.value),b.return()):w(b,xFc(a.editIssueService,a.issueId,{plannedAllocations:a.plannedAllocations$.value}),2);a.dialogRef.close();ji(b)})};
g.onKeydown=function(a,b){this.hotkeys.isEnabled()&&a.key==="Enter"&&(a.ctrlKey||a.metaKey)&&this.isAllowedToEdit&&this.hasChanges()&&!b&&(a.preventDefault(),a.stopPropagation(),this.save())};s_.\u0275fac=function(a){return new (a||s_)};
s_.\u0275cmp=F({type:s_,selectors:[["b-staffing-dialog"]],viewQuery:function(a,b){a&1&&ek(zP,5);if(a&2){var c;ik(c=jk())&&(b.usersInput=c.first)}},features:[xj],decls:26,vars:30,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"keydown"],["messageType","caution"],[1,"placeholder-display"],[1,"placeholder-chip-set"],[3,"placeholder","isAllowedToEdit"],[1,"add-placeholder-actions"],[3,"matTooltip","matTooltipDisabled"],["type","button","mat-stroked-button","","color","primary",1,"add-placeholder-btn",
"small",3,"click","disabled"],["name","help-outline","size","small","role","button","tabindex","0",1,"add-placeholder-help-icon",3,"matTooltip"],[3,"usersChange","maxUserAllowed","removeContainerDivTabIndex","placeholderText","customValidators"],[3,"updatedAllocations","removedUser","allocations","isAllowedToEdit","staffingEnhancementsEnabled"],["mat-dialog-actions",""],["type","button","mat-stroked-button","","mat-dialog-close","","aria-label","Cancel",1,"cancel-button",3,"click","disabled"],["type",
"button","mat-flat-button","","color","primary",1,"done-button",3,"click","disabled"],[3,"editPlaceholder","removePlaceholder","placeholder","isAllowedToEdit"]],template:function(a,b){if(a&1){var c=y();L(0,"h1",0);U(1);M();Wj(2);W(3,"async");L(4,"section",1);Q("keydown",function(k){z(c);var q=Yj(2);return B(b.onKeydown(k,q!=null?q:!1))});I(5,aub,3,0,"b-callout",2);Wj(6);W(7,"async");L(8,"div",3)(9,"div",4);Mj(10,cub,1,2,"b-placeholder-chip",5,Lj);W(12,"async");M();L(13,"div",6)(14,"span",7)(15,"button",
8);Q("click",function(){z(c);var k=Yj(6);return B(bub(b,k))});U(16,"Add placeholder");M()();N(17,"b-icon",9);M()();L(18,"b-multi-user-input",10);Q("usersChange",function(k){z(c);return B(C7c(b,k))});M();L(19,"b-allocated-users-table",11);W(20,"async");Q("updatedAllocations",function(k){z(c);b.plannedAllocations$.next(k);return B()})("removedUser",function(k){z(c);return B(b.removeEmail(k))});M()();L(21,"footer",12)(22,"button",13);Q("click",function(){z(c);return B(b.close())});U(23," Cancel ");M();
L(24,"button",14);Q("click",function(){z(c);return B(b.save())});U(25," Save ");M()()}if(a&2){E();tk(b.title);E();a=Xj(X(3,17,b.isSaving$));E(3);J(b.isAllowedToEdit?-1:5);E();var d,e=Xj((d=X(7,20,b.availableRolesToAllocate$))!=null?d:Ck(27,B7c));E(4);var f;Nj((f=X(12,23,b.placeholderAllocations$))!=null?f:Ck(28,B7c));E(4);K("matTooltip","All supported roles have already been allocated.")("matTooltipDisabled",e.length>0);E();K("disabled",!b.isAllowedToEdit||!e.length||a);E(2);K("matTooltip","Allocate placeholder roles when\n      planning how many people are needed to complete this issue but the exact contributors are\n      not yet known.");
Hj("aria-label","Allocate placeholder roles when\n      planning how many people are needed to complete this issue but the exact contributors are\n      not yet known.");E();K("maxUserAllowed",1)("removeContainerDivTabIndex",!0)("placeholderText","Search for a user to allocate")("customValidators",b.userValidators);Hj("disabled",b.isAllowedToEdit&&!a?null:!0);E();var h;K("allocations",(h=X(20,25,b.plannedAllocations$))!=null?h:Ck(29,B7c))("isAllowedToEdit",b.isAllowedToEdit&&!a)("staffingEnhancementsEnabled",
b.staffingEnhancementsEnabled);E(3);K("disabled",a);E(2);K("disabled",!b.hasChanges()||a)}},dependencies:[n_,jC,uM,sM,tM,FI,dA,aA,HI,fI,hI,jI,iI,JL,YF,WF,vM,jK,vQ,zP,Jz,o_,py],styles:["[_nghost-%COMP%]     .bv2-multi-user-input.bv2-multi-user-input{width:auto}[_nghost-%COMP%]     .bv2-multi-user-input.bv2-multi-user-input input.bv2-multi-user-embedded-input.bv2-multi-user-embedded-input{min-width:100%}b-callout[_ngcontent-%COMP%]{margin-bottom:16px}.placeholder-display[_ngcontent-%COMP%]{border:1px solid var(--hairline);border-radius: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;margin-bottom:24px;padding:16px}.placeholder-display[_ngcontent-%COMP%]   .placeholder-chip-set[_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}.placeholder-display[_ngcontent-%COMP%]   .add-placeholder-actions[_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;margin-top:8px;max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.placeholder-display[_ngcontent-%COMP%]   .add-placeholder-actions[_ngcontent-%COMP%]   .add-placeholder-btn[_ngcontent-%COMP%]{font-size:.875rem;padding:12px;width:150px}.placeholder-display[_ngcontent-%COMP%]   .add-placeholder-actions[_ngcontent-%COMP%]   .add-placeholder-help-icon[_ngcontent-%COMP%]{margin-left:8px}b-multi-user-input[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:100%;-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}b-multi-user-input[_ngcontent-%COMP%]   .bv2-multi-user-errors[_ngcontent-%COMP%]{padding-bottom:0}\n/*# sourceMappingURL=staffing_dialog.css.map */"],
changeDetection:0});var t_=function(){this.confirmationDialogService=x(lI)},D7c=function(a,b,c){return v(function(d){return d.return(jDc(a.confirmationDialogService,{title:b,content:md(c)}))})},E7c=function(a,b){return v(function(c){if(b.canEditIssuesInComponent){var d;if(d=b.issueAccessLimitLevel==="LIMIT_VIEW"){d=!!b.assigneeUser;var e=!!b.verifierUser,f,h=!((f=b.collaboratorsUsers)==null||!f.length),k;f=!((k=b.ccUsers)==null||!k.length);d=!d&&!e&&!h&&!f}c=d?c.return(D7c(a,b.confirmationDialogText.noListedUsers.title,
b.confirmationDialogText.noListedUsers.content)):b.issueAccessLimitLevel==="LIMIT_VIEW"&&dub(b)?c.return(D7c(a,b.confirmationDialogText.loseAccess.title,b.confirmationDialogText.loseAccess.content)):c.return(!0)}else c=c.return(!0);return c})};t_.\u0275fac=function(a){return new (a||t_)};t_.\u0275prov=Dg({token:t_,factory:t_.\u0275fac,providedIn:"root"});var F7c=["saveBeforeClosingDialog"],G7c=["deleteDialog"],Bub=function(){return[]},H7c={noListedUsers:{title:"Template has no listed users",content:"Due to the Issue Access Limit that you have set, and the lack of any listed user on the template, an issue created with this template could become inaccessible. We strongly recommend defaulting to at least one user with access. Are you sure you still want to proceed?"},loseAccess:{title:"You could lose access to issues created with this template",content:"Due to the Issue Access Limit that you have set, and the fact that you are not listed on the template, an issue created with this template could become inaccessible. Are you sure you still want to proceed?"}},
u_=function(){Z.call(this);var a=this;this.matDialogService=x(eI);this.cdr=x(jE,{self:!0});this.templatesApi=x(DB);this.hotlistApi=x(zC);this.constants=x(oI);this.paths=x(TO);this.butterBar=x(MA);this.analytics=x(nE);this.issueTypeDialog=x(mI);this.componentActions=x(DO);this.documentationLinks=x(XH);this.appEvents=x(EB);this.accessPolicyApi=x(qB);this.trackerFridge=x(vF);this.componentFridge=x(AB);this.currentUserBookmarksFridge=x(JC);this.autocompleteConfigService=x(wP);this.confirmIssueAccessLimitSettingsService=
x(t_);this.activeSession=x(Ks);this.sessionIsInternal=this.activeSession.isInternalSession();this.staffingDialogService=x(r_);this.isFieldConfigurationV2Enabled=Cx(this.activeSession,"enableFieldConfigV2Fe")&&this.activeSession.isInternalSession();this.defaultIndex=-1;this.componentId="";this.supportCustomFields=!1;this.templates=[];this.fieldConfigsV2=[];this.allCustomFields=[];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.componentIdsToPaths={};this.hotlistPickerIndex=0;this.enableTemplateInheritance=this.implicitAccessEnabled=!1;this.issueTypeChoices=I7c(this);this.priorityChoices=J7c(this);this.severityChoices=K7c(this);this.FieldType=rN;this.componentId$=new nj(0);this.component$=this.componentId$.pipe(sj(function(b){return a.componentFridge.watch(b)}));this.trackerId$=this.component$.pipe(C(function(b){return b==
null?void 0:b.trackerId}));this.tracker$=this.trackerId$.pipe(sj(function(b){return b?a.trackerFridge.watch(b):li(void 0)}));this.ROUTES=Hq;this.COLLABORATOR_GROUPS_TOOLTIP="Collaborator groups are trusted groups that are configured by tracker admins only. Select and add these groups if they should be given collaborator access to this issue.";this.trackerCollaboratorGroups=[];this.subscriptions.add(this.tracker$.subscribe(function(b){b&&(a.trackerCollaboratorGroups=Hd(b.collaboratorGroups));a.currentTemplate&&
a.currentTemplate.separateCollaboratorGroups(a.trackerCollaboratorGroups)}));this.enableTemplateInheritance=Cx(this.activeSession,"enableTemplateInheritance")};Y(u_,Z);u_.\u0275dir=Z.\u0275dir;g=u_.prototype;
g.ngOnInit=function(){var a=this,b=function(){a.fetchUserHotlists()};this.fetchUserHotlists();this.accessPolicyApi.checkComponentImplicitAccessEnabled(this.componentId).then(function(c){return a.implicitAccessEnabled=c});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(){v_(a);
a.cdr.detectChanges()})};g.ngAfterViewInit=function(){this.componentId$.next(this.componentId)};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)});Kaa(this.selectedHotlists,function(c,d){return ha(c.name,d.name)})};
g.removeHotlist=function(a){Fa(this.templateHotlistIds[this.hotlistPickerIndex],a);this.currentTemplate.dirty=!0;this.updateSelectedHotlists()};
g.createHotlist=function(a){var b=this;var c=a.name;var d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent("editTemplate","createHotlist");hq(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){hq(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;var c=a.oldSelectionMap;Rc(a.newSelectionMap,function(d,e){e=Bd(e);if(d!==c[e]){b.currentTemplate.dirty=!0;var f=b.selectedHotlistIds[0].includes(e);d&&!f?(d=b.templateHotlistIds[b.hotlistPickerIndex],Ca(d,e)>=0||d.push(e)):!d&&f&&Fa(b.templateHotlistIds[b.hotlistPickerIndex],e)}},this);this.updateSelectedHotlists()};
g.loadHotlist=function(a){var b=this;var c=a.hotlistId;var d=a.successCallback;a=a.errorCallback;this.hotlistApi.get(c).then(function(e){b.addHotlist(e);d(e);b.cdr.detectChanges()}).catch(a)};g.fetchUserHotlists=function(){var a=this;pi(KC(this.currentUserBookmarksFridge)).then(function(b){b=l(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&&Fa(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};
var I7c=function(a){var b=a.constants.editIssueTypes.map(function(c){return{value:c,displayText:Lub(c),altText:a.constants.issueTypesShortDescriptions.get(c)}});return[q7c].concat(b)},Lub=function(a){return a===q7c.value?a:Ld(a)};u_.prototype.getDateValue=function(a){return a};u_.prototype.getListFieldType=function(a){return a};
var Eub=function(a){var b,c,d,e;return((b=a.repeatedTextValue)==null?void 0:b.values)||((c=a.repeatedDateValue)==null?void 0:c.values)||((d=a.repeatedEnumValue)==null?void 0:d.values)||((e=a.repeatedNumericValue)==null?void 0:e.values)||null},sub=function(a){a.currentTemplateRow.issueType==="VULNERABILITY"||a.currentTemplateRow.issueType==="PRIVACY_ISSUE"?kDc(a.issueTypeDialog,a.currentTemplateRow.issueType==="VULNERABILITY"?"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);L7c(a);a.cdr.detectChanges()},J7c=function(a){return[q7c].concat(a.constants.priorities.map(function(b){return{value:b,displayText:b}}))},K7c=function(a){return[q7c].concat(a.constants.severities.map(function(b){return{value:b,displayText:b}}))},M7c=function(a){return a.templateRows.filter(function(b){return!b.inherited})},
N7c=function(a){return a.templateRows.filter(function(b){return b.inherited})};u_.prototype.setCustomField=function(a,b,c){a.editableTemplate.setCustomField(b,c!==null?c:void 0)};
var Kub=function(a){a.currentTemplate=null;a.currentTemplateRow=null;a.currentIndex=-1;v_(a)},hub=function(a,b){var c=a.currentIndex;O7c(a,function(){b.index===c?Kub(a):a.openEditor(b.index)})},P7c=function(a){a.templateHotlistIds.push([]);O7c(a,function(){a.openEditor()})},jub=function(a,b){return b.index>=0&&b.index===a.currentIndex},lub=function(a,b){var c;return b.index>=0&&!((c=a.templates[b.index])==null?0:c.default)},Jub=function(a){var b,c,d,e,f,h,k,q,u,A,D,H,O,P;return v(function(S){if(S.nextAddress==
1){if(!a.currentTemplate)return S.return();c=(b=a.currentTemplate.collaborators)!=null?b:[];e=(d=a.currentTemplate.collaboratorGroups)!=null?d:[];return w(S,E7c(a.confirmIssueAccessLimitSettingsService,{assigneeUser:a.currentTemplate.assignee,verifierUser:a.currentTemplate.verifier,ccUsers:a.currentTemplate.cc,collaboratorsUsers:[].concat(p(c),p(e)),issueAccessLimitLevel:a.currentTemplate.issueAccessLimitLevel,currentUserEmail:a.activeSession.getUserEmail(),canEditIssuesInComponent:!0,confirmationDialogText:H7c}),
2)}f=S.yieldResult;if(!f)return S.return();a.currentIndex<0?(k="creating",q={componentId:a.componentId,default:!1},h=function(aa){hq(a.butterBar,aa.name?'Template "'+aa.name+'" created.':"Template created.");a.analytics.trackEvent("template","create");Q7c(a,"create",aa.snapshot);R7c(a,"create",aa.templateId);S7c(a,"create",aa.templateId);a.templates.push(aa);a.openEditor(a.templates.length-1)}):(k="updating",u=a.currentIndex,q=a.templates[u],h=function(aa){hq(a.butterBar,aa.name?'Template "'+aa.name+
'" updated.':"Template updated.");a.analytics.trackEvent("template","update");Q7c(a,"update",aa.snapshot);R7c(a,"update",aa.templateId);S7c(a,"update",aa.templateId);a.templates[u]=aa;Kub(a)});a.currentTemplate.hotlistId=a.templateHotlistIds[a.hotlistPickerIndex];p7c(a.currentTemplate,q);hq(a.butterBar,"Saving template...");D=A=q;H=D.componentId;P=(O=D.templateId)&&String(O)!=="0"?a.templatesApi.update(H,O,A):a.templatesApi.create(H,A);return S.return(P.then(function(aa){a.appEvents.templateModified.next(String(a.componentId));
h(aa);a.cdr.detectChanges()}).catch(function(aa){aa=on(aa);a.butterBar.showWarning(aa?"Error "+k+" template: "+aa:"There was an error "+k+" the template.",0)}))})},iub=function(a,b){ZH(a.matDialogService.open(a.deleteDialog,{data:b})).pipe(tj(a.destroyed$)).subscribe(function(c){c&&T7c(a,b)})},T7c=function(a,b){var c=b.index;var d;v(function(e){switch(e.nextAddress){case 1:d=a.templates[c];if(c<0||d.default)return e.return(Promise.resolve());Da(a.templateHotlistIds,c);Da(a.templates,c);a.defaultIndex=
a.templates.findIndex(function(f){return f.default});v_(a);a.cdr.detectChanges();hq(a.butterBar,"Deleting...");ei(e,2,3);return w(e,a.templatesApi.delete(d.componentId,d.templateId),5);case 5:a.appEvents.templateModified.next(String(a.componentId)),hq(a.butterBar,"Deleted template"),a.analytics.trackEvent("template","delete"),a.currentIndex===c&&Kub(a);case 3:return fi(e),w(e,a.loadTemplates(),6);case 6:v_(a);a.cdr.detectChanges();hi(e,0);break;case 2:ii(e),a.butterBar.showWarning("Error while deleting template"),
e.jumpTo(3)}})},V7c=function(a,b){b?Jub(a).then(function(){U7c(a);a.cdr.detectChanges()}):U7c(a)},kub=function(a,b){var c;b=((c=b.template)==null?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};
u_.prototype.openEditor=function(a){var b=this;this.currentIndex=a===void 0?-1:a;if(this.currentIndex<0){this.currentTemplate=W7c(this,{componentId:this.componentId,default:!1,name:"New Template"});this.currentTemplate.dirty=!0;this.updateSelectedHotlists();v_(this);L7c(this);this.cdr.detectChanges();var c;(c=document.getElementById("template-name"))==null||c.focus()}else X7c(this,this.templates[this.currentIndex]).then(function(d){b.currentTemplate=W7c(b,d);b.hotlistPickerIndex=b.currentIndex;b.updateSelectedHotlists();
v_(b);L7c(b);b.currentTemplate.separateCollaboratorGroups(b.trackerCollaboratorGroups);b.cdr.detectChanges();var e;(e=document.getElementById("template-name"))==null||e.focus()})};
var X7c=function(a,b){return a.templatesApi.get(b.componentId,b.templateId||0)},O7c=function(a,b){a.currentTemplate&&a.currentTemplate.isDirty()?(a.afterSaveCheckFunc=b,Y7c(a)):b()},Q7c=function(a,b,c){c&&c.issueAccessLimitLevel&&c.issueAccessLimitLevel!=="LIMIT_NONE"&&a.analytics.trackEvent("issueAccessLimits",b,"template:"+c.issueAccessLimitLevel)},R7c=function(a,b,c){a.currentTemplate&&a.currentTemplate.collaboratorGroups.length>0&&a.analytics.trackEvent("quickAddCollaborators",b,"template:"+c)},
S7c=function(a,b,c){var d;((d=a.currentTemplate)==null?0:d.inheritable)&&a.analytics.trackEvent("templateInheritance",b,"component:"+a.componentId+" template:"+c)},Y7c=function(a){ZH(a.matDialogService.open(a.saveBeforeClosingDialog,{data:a.currentTemplateRow})).pipe(tj(a.destroyed$)).subscribe(function(b){b!==void 0&&V7c(a,b)})},U7c=function(a){var b=a.afterSaveCheckFunc;a.afterSaveCheckFunc=null;b&&b()},W7c=function(a,b){var c={};a=l(a.allCustomFields);for(var d=a.next();!d.done;d=a.next())d=d.value,
c[d.customFieldId.toString()]=d;return new l_(c,b)};
u_.prototype.loadCustomFields=function(){var a=this,b,c,d,e,f,h,k,q,u,A;return v(function(D){if(D.nextAddress==1){if(!a.supportCustomFields)return D.return();ei(D,2);return w(D,a.componentActions.get(a.componentId),4)}if(D.nextAddress!=2){b=D.yieldResult;a.componentIdsToPaths={};c=[];e=((d=b.componentPathInfo)==null?void 0:d.componentPathId)||[];for(f=0;f<e.length;f++)h=b.componentPathInfo.componentPathId[f],k=b.componentPathInfo.componentPathName[f],c.push(k),a.componentIdsToPaths[h]=c.join(" > ");
A=(u=(q=b.componentPathInfo)==null?void 0:q.fieldConfigsV2Map)!=null?u:new Map;a.fieldConfigsV2=[].concat(p(e)).reverse().flatMap(function(H){var O;return(O=A.get(H))!=null?O:[]});a.allCustomFields=b.componentPathInfo.allCustomField||[];a.cdr.detectChanges();return Iu(D,0)}ii(D);a.butterBar.showWarning("Unable to load custom fields");ji(D)})};
var L7c=function(a){var b;a.customFieldRows=Z7c(a,(b=a.currentTemplate)==null?void 0:b.type).map(function(c){return new n7c(c,c.type==="TEXT"?"1":"2")})},Z7c=function(a,b){return a.isFieldConfigurationV2Enabled?$7c(a,a.allCustomFields,b):a.allCustomFields.filter(function(c){return c.enabledOnIssues})},$7c=function(a,b,c){var d=c&&a.fieldConfigsV2.find(function(e){return e.issueTypes.has(c)})||a.fieldConfigsV2.find(function(e){return!e.issueTypes.size});return d?b.filter(function(e){var f,h;return((h=
(f=d.customFieldConfigs)==null?void 0:f.get(e.customFieldId))!=null?h:!0)||e.required&&e.typedDefaultValue===void 0}):b};u_.prototype.loadTemplates=function(){var a=this;this.templates=[];return this.templatesApi.query(this.componentId).then(function(b){a.templates=b;b=l(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.defaultIndex=a.templates.findIndex(function(d){return d.default});a.cdr.detectChanges()}).catch(function(){a.butterBar.showWarning("Unable to load templates")})};
var v_=function(a){if(a.currentIndex<0)a.templateRows=a.templates.map(function(e,f){return new m7c(f,e,e.componentId!==a.componentId&&e.inheritable)}),a.currentTemplate&&(a.currentTemplateRow=new m7c(-1,a.currentTemplate,!1),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 m7c(f,e,e.componentId!==a.componentId&&e.inheritable)}));a.currentTemplate&&(a.currentTemplateRow=
new m7c(b,a.currentTemplate,!1),c.push(a.currentTemplateRow));d=a.templates.slice(b+1);c=c.concat(d.map(function(e,f){return new m7c(b+f+1,e,e.componentId!==a.componentId&&e.inheritable)}));a.templateRows=c;a.hotlistPickerIndex=a.currentIndex}},gub=function(a,b){var c,d,e,f;return v(function(h){switch(h.nextAddress){case 1:if(b<0||a.defaultIndex===b)return h.return();c=a.templates[b];if(c.default)return h.return();d=c.name;ja(Zr(d))&&(d="(unnamed template)");a.defaultIndex=b;hq(a.butterBar,"Changing default template...");
a.analytics.trackEvent("template","changeDefault");ei(h,2,3);return w(h,a8c(a,c.templateId),5);case 5:hq(a.butterBar,"Changed default template to "+d);case 3:return fi(h),w(h,a.loadTemplates(),6);case 6:v_(a);a.cdr.detectChanges();hi(h,0);break;case 2:e=ii(h),f="Error while changing default message"+(nn(e)?": "+on(e):"."),a.butterBar.showWarning(f),h.jumpTo(3)}})},a8c=function(a,b){var c,d;return v(function(e){if(e.nextAddress==1)return w(e,pi(a.component$),2);if(e.nextAddress!=3){c=e.yieldResult;
if(!c||c.defaultTemplateId===b)return e.return();c.defaultTemplateId=b;return w(e,a.componentActions.update(c),3)}d=e.yieldResult;a.componentFridge.announce(d);a.appEvents.templateModified.next(String(d.componentId));ji(e)})};
u_.prototype.editStaffing=function(){var a=this,b,c,d,e;return v(function(f){if(f.nextAddress==1)return w(f,a.staffingDialogService.show((c=(b=a.currentTemplate.staffing)==null?void 0:b.plannedAllocations)!=null?c:[],void 0,!0),2);d=f.yieldResult;if(!d)return f.return();e={plannedAllocations:d};a.currentTemplate.staffing=e;a.currentTemplate.dirty=!0;ji(f)})};
u_.prototype.handleAutocompleteSelection=function(a,b,c){b&&b.editableTemplate&&(c==="verifier"?b.editableTemplate.verifier=a:c==="assignee"&&(b.editableTemplate.assignee=a),b.editableTemplate.dirty=!0,this.cdr.detectChanges())};u_.\u0275fac=function(a){return new (a||u_)};
u_.\u0275cmp=F({type:u_,selectors:[["b-edit-templates"]],viewQuery:function(a,b){a&1&&(ek(F7c,5),ek(G7c,5));if(a&2){var c;ik(c=jk())&&(b.saveBeforeClosingDialog=c.first);ik(c=jk())&&(b.deleteDialog=c.first)}},inputs:{componentId:"componentId",supportCustomFields:"supportCustomFields"},standalone:!1,features:[Bk([jE]),xj],decls:23,vars:2,consts:[["deleteDialog",""],["saveBeforeClosingDialog",""],["typeMenu",""],["priorityMenu",""],["severityMenu",""],["peopleKitDiv",""],["ccsPeopleKitDiv",""],["card",
"onedevHovercard"],["cardBody",""],[1,"component-banner","template-help-banner"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[1,"templates-list"],[1,"template-column-tool"],[1,"edit-button-row"],["format","fill","bAriaLabel","Create New template in this component",3,"onAction"],["colspan","4"],["tabindex","-1",1,"template-row-name"],[1,"template-row-new-issue-link"],["tabindex","0",1,"keep-focus-ring",3,"href"],[3,"change","id","checked","aria-label","value"],["format","hairline",
3,"onAction","bAriaLabel"],["format","hairline",3,"onAction","bAriaLabel","disabled"],[1,"template-edit-pane","template-editor-within-table"],[1,"form-header"],[1,"cell-1"],[1,"template-label"],["for","template-name"],["id","template-name","type","text",1,"template-field",3,"ngModelChange","ngModel"],["for","template-description"],["id","template-description","type","text",1,"template-field",3,"ngModelChange","ngModel"],"role;region;tabindex;0;aria-label;Standard issue fields".split(";"),[1,"cell-1",
"access-limit-row"],[1,"access-limit-field"],["for","template-issue-access-limits-dropdown"],["id","template-issue-access-limits-dropdown",3,"updatedAccessLimitLevel","disabled","defaultAccessLimitLevel","implicitAccessEnabled"],[1,"collaborator-group-field"],["for","template-title"],["id","template-title","type","text",1,"template-field",3,"ngModelChange","ngModel"],[1,"cell-3"],["for","template-default-type"],["id","template-default-type","type","button","mat-button","",1,"medium","primary",3,"matMenuTriggerFor"],
["name","arrow-dropdown","size","small"],[3,"overlapTrigger"],["type","button","mat-menu-item","",3,"disabled","matTooltip"],["for","template-default-priority"],["id","template-default-priority","type","button","mat-button","",1,"medium","primary",3,"matMenuTriggerFor"],["type","button","mat-menu-item","",3,"disabled"],["for","template-default-severity"],["id","template-default-severity","type","button","mat-button","",1,"medium","primary",3,"matMenuTriggerFor"],[1,"cell-1","bv2-edit-template-hotlists"],
["for","template-default-hotlist"],["id","template-default-hotlist",1,"hotlist-picker",3,"onApply","onCreate","onLoad","selectedHotlistIds","choices"],[1,"bv2-hotlist-chips"],[1,"float-clear"],[1,"cell-2"],["for","template-assignee"],["id","template-assignee","aria-expanded","true",1,"template-field",3,"emailChange","ariaLabel","email"],["for","template-verifier"],["id","template-verifier","aria-expanded","true",1,"template-field",3,"emailChange","ariaLabel","email"],["for","template-collaborators-peoplekit"],
["matTooltip","Collaborators are people directly working on this issue. When expanded access is on, this field grants issue edit permissions","svgIcon","help-outline","tabindex","0",1,"icon-xs","valign-middle","margin-xs-left"],["id","template-collaborators-peoplekit","aria-expanded","true",1,"template-field",3,"valueChange","ariaLabel","value"],["for","template-cc-peoplekit"],["id","template-cc-peoplekit","aria-expanded","true",1,"template-field",3,"valueChange","ariaLabel","value"],["for","template-comment"],
["id","template-comment",1,"template-field",3,"ngModelChange","ngModel"],[3,"change","initialValue"],["for","template-in-prod"],["id","template-in-prod","aria-label","issue in prod",3,"modelChange","model"],[1,"cell-1","staffing-row"],"role;region;tabindex;0;aria-label;Custom issue fields".split(";"),[3,"class"],[1,"buttons-row"],["format","fill",3,"onAction","disabled"],["format","hairline",3,"onAction"],["id","template-inheritable","aria-label","template inheritable by child components",3,"modelChange",
"model"],["for","template-inheritable"],["matTooltip","If activated, all child components will inherit this template. Make sure this template meets your organizational needs as sub-components will not be able to hide this template","svgIcon","help-outline","tabindex","0",1,"icon-xs","valign-middle","margin-xs-left"],["for","template-collaborator-groups-dropdown"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",1,"icon-xs","valign-middle","margin-xs-left",3,"matTooltip"],["appearance",
"outline",1,"static-label"],["multiple","","aria-label","Collaborator groups",3,"ngModelChange","ngModel"],[3,"value"],["type","button","mat-menu-item","",3,"click","disabled","matTooltip"],["type","button","mat-menu-item","",3,"click","disabled"],[3,"removeHotlist","hotlist"],["for","template-staffing"],["matTooltip","The Staffing field represents planned contributors on this issue.","svgIcon","help-outline","tabindex","0",1,"icon-xs","valign-middle","margin-xs-left"],["type","button",1,"staffing-button",
"b-input-style",3,"click"],[1,"staffing-text"],[1,"bv2-edit-button"],[3,"for"],["type","text",1,"template-field",3,"ngModel"],["type","number","step","any",1,"template-field",3,"ngModel"],[3,"type","name","clearable","value","choices"],[3,"boundValue"],[3,"defaultLineCount","type","values","enumChoices","truncate"],["type","text",1,"template-field",3,"ngModelChange","ngModel"],["type","number","step","any",1,"template-field",3,"ngModelChange","ngModel"],[3,"valueChange","type","name","clearable",
"value","choices"],[3,"boundValueChange","boundValue"],[3,"valuesChange","defaultLineCount","type","values","enumChoices","truncate"],["role","heading","aria-level","3",1,"template-row-name"],["colspan","2"],[1,"template-component-path"],[1,"header-label"],[3,"onedevHovercardTrigger","href"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"],["mat-dialog-content",""],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium","cancel",3,"mat-dialog-close"],["type",
"button","color","primary","mat-flat-button","",1,"medium","confirm",3,"mat-dialog-close"],["type","button","mat-button","",1,"medium",3,"mat-dialog-close"],["type","button","cdkFocusInitial","","color","primary","mat-flat-button","",1,"medium","confirm",3,"mat-dialog-close"]],template:function(a,b){if(a&1){var c=y();L(0,"div")(1,"div",9);U(2," A template is a set of default values for new issues created in this component. ");L(3,"a",10);U(4,"Learn more");M()();L(5,"table",11)(6,"tr")(7,"th");U(8,
"TEMPLATE");M();L(9,"th",12);U(10,"DEFAULT");M();N(11,"th",12)(12,"th",12);M();Mj(13,Nub,3,1,"tr",null,Lj);I(15,Rub,3,1);M();L(16,"div",13)(17,"b-button",14);Q("onAction",function(){z(c);return B(P7c(b))});U(18," Create New Template ");M()();G(19,Sub,7,3,"ng-template",null,0,Gk)(21,Tub,9,4,"ng-template",null,1,Gk);M()}if(a&2){var d;E(3);K("href","https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/templates",Ni);E(10);Nj(M7c(b));E(2);J((d=N7c(b))?15:-1,d)}},dependencies:[DM,
EA,qL,AO,qN,Bp,qG,hG,oG,lT,ZZ,xH,yH,DH,zH,m_,wO,dA,aA,fI,jI,iI,rK,HM,VL,eH,WL,XL,Vz,TL,YF,WF,jK,FL,mK,kK,pK,hU,yU,SR,iQ],styles:["[_nghost-%COMP%]     mat-form-field.static-label{width:180px;margin-top:5px;font-size:1rem}[_nghost-%COMP%]     mat-form-field.static-label .mat-mdc-form-field-infix{min-height:initial;padding:0}.buttons-row[_ngcontent-%COMP%]   b-button[_ngcontent-%COMP%]{margin-right:10px}.access-limit-field[_ngcontent-%COMP%]{margin-right:20px}.cell-1.access-limit-row[_ngcontent-%COMP%]{display:inline-flex;min-height:60px}.template-component-path[_ngcontent-%COMP%]{white-space:nowrap}.cell-1.staffing-row[_ngcontent-%COMP%]{width:auto}.cell-1.staffing-row[_ngcontent-%COMP%]   .staffing-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cell-1.staffing-row[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{align-items:center;cursor:pointer;display:flex;justify-content:space-between;width:100%}"]});var w_=function(){};w_.\u0275fac=function(a){return new (a||w_)};w_.\u0275mod=Zi({type:w_});w_.\u0275inj=Eg({imports:[jC,gZ]});var x_=function(){};x_.\u0275fac=function(a){return new (a||x_)};x_.\u0275mod=Zi({type:x_});x_.\u0275inj=Eg({imports:[EM,jC,rM,OV,sN,FG,uU,h_,uL,w_,xO,FI,SL,HI,wM,IM,$M,ZL,Yz,JL,vM,IL,zU,rV,jQ,BU,zU]});var y_=function(){this.activeSession=x(Ks);this.appSearchState=x(hK);this.analytics=x(nE);this.domSafe=x(SF);this.enableEstado=Cx(this.activeSession,"enableEstado")};y_.prototype.openInEstado=function(){this.analytics.trackEvent("listIssues","addOns","Estado");this.domSafe.openInNewTab("http://go/estado/dashboard-lite/buganizer?buganizer-query="+encodeURIComponent(this.appSearchState.currentQuery))};y_.\u0275fac=function(a){return new (a||y_)};y_.\u0275prov=Dg({token:y_,factory:y_.\u0275fac,providedIn:"root"});var z_=function(){this.sloStatusHelpersService=x(QI);this.dateFormatter=x(MI);this.timeDisplayText="--";this.rawObjectiveDisplayText=this.objectiveDisplayText=null;this.cardActionText="--";this.sloEndTimeDisplayText=li("--");this.SloRuleDayType=Khc;this.iconName="slo-status-no-data"};z_.prototype.getIconName=function(a){return b8c.has(a)?b8c.get(a):"slo-status-no-data"};
var c8c=function(a,b,c){a.iconName=a.getIconName(b);c=c!==null?TLa(c*1E3).match(/^(\d+\s\D+)(?:\s|$)/)[1]:"";a.cardActionText=b==="COMPLETED"?a.sloMetricDescription==="ASSIGNMENT"?"Assigned on:":a.sloMetricDescription==="RESPONSE"?"Responded on:":a.sloMetricDescription==="CLOSURE"?"Closed on:":"SLO fulfilled on:":a.sloMetricDescription==="ASSIGNMENT"?"Assign by:":a.sloMetricDescription==="RESPONSE"?"Respond by:":a.sloMetricDescription==="CLOSURE"?"Close by:":"Due by:";switch(b){case "COMPLETED":a.timeDisplayText=
a.sloMetricDescription==="ASSIGNMENT"?"Issue assigned":a.sloMetricDescription==="RESPONSE"?"Response recorded":a.sloMetricDescription==="CLOSURE"?"Issue closed":"SLO fulfilled";break;case "SNOOZED_NEAR":case "SNOOZED_HEALTHY":case "HEALTHY":case "NEAR":a.timeDisplayText=a.sloMetricDescription==="ASSIGNMENT"?c+" to assign":a.sloMetricDescription==="RESPONSE"?c+" to respond":a.sloMetricDescription==="CLOSURE"?c+" to close":c+" left";break;case "OUT_OF_SLO":a.timeDisplayText=a.sloMetricDescription===
"ASSIGNMENT"?c+" overdue for assignment":a.sloMetricDescription==="RESPONSE"?c+" overdue for response":a.sloMetricDescription==="CLOSURE"?c+" overdue for closure":c+" overdue";break;case "NO_DATA":a.timeDisplayText=a.sloMetricDescription==="ASSIGNMENT"?"No assignment SLO":a.sloMetricDescription==="RESPONSE"?"No response SLO":a.sloMetricDescription==="CLOSURE"?"No closure SLO":"--";break;default:oe("unknown status type: "+b)}};
z_.prototype.ngOnChanges=function(){var a=Date.now()/1E3;if(this.sloBounds&&RI(this.sloBounds)){var b=this.sloBounds.targetTime.seconds,c=b-this.sloBounds.startTime.seconds;c?this.objectiveDisplayText=TLa(c*1E3):this.objectiveDisplayText=null;var d,e,f;c=((e=(d=this.sloBounds.objective)==null?void 0:d.seconds)!=null?e:0)+((f=this.sloBounds.businessDays)!=null?f:0)*86400;this.rawObjectiveDisplayText=TLa(c*1E3);this.sloEndTimeDisplayText=MEc(this.dateFormatter,new Date(b*1E3));d=this.sloBounds;RI(d)&&
d.endTime&&d.endTime.seconds!==0&&d.endTime.seconds<=Date.now()/1E3?(b=this.sloBounds.endTime.seconds,this.sloEndTimeDisplayText=MEc(this.dateFormatter,new Date(b*1E3)),c8c(this,"COMPLETED",a-b)):b<a?c8c(this,"OUT_OF_SLO",a-b):(d=this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime),a=b-a,c8c(this,a>259200?d?"SNOOZED_HEALTHY":"HEALTHY":d?"SNOOZED_NEAR":"NEAR",a))}else c8c(this,"NO_DATA",null),this.rawObjectiveDisplayText=this.objectiveDisplayText=null};
z_.\u0275fac=function(a){return new (a||z_)};
z_.\u0275cmp=F({type:z_,selectors:[["b-slo-time-indicator"]],inputs:{sloBounds:"sloBounds",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSnoozeDetails:"includeSnoozeDetails",sloMetricDescription:"sloMetricDescription",includeObjective:"includeObjective"},standalone:!1,features:[$w],decls:15,vars:13,consts:[["card",""],[3,"svgIcon"],[1,"slo-time-indicator-text",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"slo-status-text"],["role","dialog","aria-label","More slo information",
1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"margin-s-bottom","padded-s-bottom","border-bottom"]],template:function(a,b){a&1&&(N(0,"mat-icon",1),L(1,"span",2)(2,"span",3),U(3),M()(),L(4,"onedev-hovercard",null,0)(6,"div",4)(7,"div",5)(8,"div"),U(9),M(),L(10,"div",6),U(11),W(12,"async"),M(),I(13,Uub,4,2)(14,Vub,2,1,"div"),M()()());a&2&&(a=T(5),sk(b.iconName),K("svgIcon",b.iconName),Hj("aria-label",b.timeDisplayText==="--"?"No SLO data":""),E(),K("onedevHovercardTrigger",a)("onedevHovercardActive",
!(!b.includeObjective||!b.rawObjectiveDisplayText)),E(2),tk(b.timeDisplayText),E(6),tk(b.timeDisplayText),E(2),uk(" ",b.cardActionText," ",X(12,11,b.sloEndTimeDisplayText)," "),E(2),J((b.sloBounds==null?null:b.sloBounds.dayType)===b.SloRuleDayType.BUSINESS?13:14))},dependencies:[EA,xH,DH,py],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}.onedev-hovercard-content[_ngcontent-%COMP%]{width:fit-content}"],
changeDetection:0});var b8c=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 A_=function(){this.sloStatusHelpersService=x(QI);this.includeNoSlo=!1};A_.prototype.ngOnInit=function(){d8c(this);this.hasSlo=!!this.sloStatus&&SEc(this.sloStatus)};A_.prototype.ngOnChanges=function(){d8c(this)};var d8c=function(a){a.sloStatus&&(a.assignmentSlo=e8c(ee(a.sloStatus.assignmentBounds)),a.responseSlo=e8c(ee(a.sloStatus.responseBounds)),a.closureSlo=e8c(ee(a.sloStatus.closureBounds)))};A_.prototype.isSloStartTimeApplied=function(){return this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime)};
var e8c=function(a){if(RI(a))return a};A_.\u0275fac=function(a){return new (a||A_)};
A_.\u0275cmp=F({type:A_,selectors:[["b-slo-status-summary"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeNoSlo:"includeNoSlo",onlyShowMetric:"onlyShowMetric"},standalone:!1,features:[$w],decls:3,vars:3,consts:[["sloMetricDescription","ASSIGNMENT",3,"sloStartTime","sloEndTime","sloBounds","includeObjective"],["sloMetricDescription","RESPONSE",3,"sloStartTime","sloEndTime","sloBounds","includeObjective"],["sloMetricDescription","CLOSURE",3,"sloStartTime",
"sloEndTime","sloBounds","includeObjective"]],template:function(a,b){a&1&&(I(0,Wub,2,4,"div"),I(1,Xub,2,4,"div"),I(2,Yub,2,4,"div"));a&2&&(J(!b.includeNoSlo&&!b.assignmentSlo||b.onlyShowMetric&&b.onlyShowMetric!="ASSIGNMENT"?-1:0),E(),J(!b.includeNoSlo&&!b.responseSlo||b.onlyShowMetric&&b.onlyShowMetric!="RESPONSE"?-1:1),E(),J(!b.includeNoSlo&&!b.closureSlo||b.onlyShowMetric&&b.onlyShowMetric!="CLOSURE"?-1:2))},dependencies:[z_],encapsulation:2,changeDetection:0});var B_=function(){this.sloStatusHelpersService=x(QI);this.analytics=x(nE);this.sloApi=x(dF)};B_.prototype.ngOnInit=function(){this.hasSlo=!!this.sloStatus&&TEc(this.sloStatus,this.onlyShowMetric);this.sloId!=="0"?(this.editSloLink=Hq.editSlo.makeHref(this.sloId),f8c(this)):this.editSloLink=null};B_.prototype.trackOpenSlo=function(){this.analytics.trackEvent("editSlo","open","fromSloStatusCard")};
var f8c=function(a){a.sloApi.get(a.sloId).then(function(b){a.sloName=b.name}).catch(function(){a.sloName=null})};B_.\u0275fac=function(a){return new (a||B_)};
B_.\u0275cmp=F({type:B_,selectors:[["slo-status-card"]],inputs:{sloId:"sloId",sloStatus:"sloStatus",sloStartTime:"sloStartTime",onlyShowMetric:"onlyShowMetric"},standalone:!1,ngContentSelectors:["*"],decls:10,vars:3,consts:[["card",""],[3,"onedevHovercardTrigger"],["role","dialog","aria-label","SLO Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow"],[1,"slo-indicators"],[1,"no-slo-message"],[3,"sloStatus","sloStartTime","onlyShowMetric"],[1,"slo-link",3,
"href"],[1,"slo-link",3,"click","href"]],template:function(a,b){a&1&&(Zj(),L(0,"span",1),ak(1),M(),L(2,"onedev-hovercard",null,0)(4,"div",2)(5,"div",3)(6,"div",4),I(7,Zub,2,3,"div",5)(8,bvb,3,1,"div",6),I(9,evb,4,1,"span"),M()()()());a&2&&(a=T(3),K("onedevHovercardTrigger",a),E(7),J(b.hasSlo?7:8),E(2),J(b.editSloLink?9:-1))},dependencies:[xH,DH,A_],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}/*# sourceMappingURL=slo_status_card.css.map */"]});var g8c=function(){var a=this;this.data=x(dI);this.column=this.data.column;this.columns=this.data.columns;this.selectedCustomField=null;this.isLegalColumn=function(b){return a.columns.find(function(c){return c.name===String(b.customFieldId)})===void 0}};g8c.\u0275fac=function(a){return new (a||g8c)};
g8c.\u0275cmp=F({type:g8c,selectors:[["b-column-picker-custom-dialog"]],standalone:!1,decls:9,vars:4,consts:[["mat-dialog-title",""],[3,"fieldSelected","filter"],["type","button","mat-button","",1,"medium","cancel",3,"mat-dialog-close"],["type","button","mat-flat-button","",1,"medium","dialog-primary-action","confirm",3,"disabled","mat-dialog-close"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1),M(),L(2,"mat-dialog-content")(3,"b-custom-field-picker",1),Q("fieldSelected",function(c){return b.selectedCustomField=
c}),M()(),L(4,"mat-dialog-actions")(5,"button",2),U(6," Cancel "),M(),L(7,"button",3),U(8," Add "),M()());a&2&&(E(),V("Insert custom field column next to ",b.column.fullLabel),E(2),K("filter",b.isLegalColumn),E(4),K("disabled",!b.selectedCustomField)("mat-dialog-close",b.selectedCustomField))},dependencies:[fI,hI,jI,iI,PZ,dA,aA],encapsulation:2});var C_=function(){};C_.\u0275fac=function(a){return new (a||C_)};C_.\u0275mod=Zi({type:C_});C_.\u0275inj=Eg({imports:[HI,jC,QZ,FI]});var fvb="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 accessLevel descendantCount openDescendantCount oneDayViewCount sevenDayViewCount thirtyDayViewCount escalationOwner".split(" "),
h8c="priority type title assignee status sevenDayViewCount issueId modifiedTime".split(" ");var gs=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)};gs.prototype.toString=function(){return this.isCustomField?"customfield:"+this.name+"["+this.fullLabel+"]":this.name};
var lvb={issueId:{defaultSortDirection:"DESC",label:"ID",moreOptions:[{name:"id-link",menuItem:"Plain Link"},{name:"id-copy",menuItem:"Quick Copy Chip"}]},priority:{label:"P",fullLabel:"Priority"},severity:{label:"S",fullLabel:"Severity"},modifiedTime:{defaultSortDirection:"DESC",label:"LAST MODIFIED"},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},escalationOwner:{label:"OWNER",fullLabel:"Owner",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"},accessLevel:{label:"ISSUE ACCESS LEVEL",sortable:!0},descendantCount:{defaultSortDirection:"DESC",parentLabel:"Descendant Issue",label:"DESCENDANT COUNT",sortable:!0},openDescendantCount:{defaultSortDirection:"DESC",parentLabel:"Descendant Issue",label:"OPEN DESCENDANT COUNT",sortable:!0},oneDayViewCount:{defaultSortDirection:"DESC",parentLabel:"View Count",label:"24H VIEWS",sortable:!0,tooltip:"Total view count in the past 24 hours"},
sevenDayViewCount:{defaultSortDirection:"DESC",parentLabel:"View Count",label:"7D VIEWS",sortable:!0,tooltip:"Total view count in the past seven days"},thirtyDayViewCount:{defaultSortDirection:"DESC",parentLabel:"View Count",label:"30D VIEWS",sortable:!0,tooltip:"Total view count in the past thirty days"}};var i8c=function(a,b,c){this.target=a;this.eventType=b;this.listener=c;this.target.addEventListener(this.eventType,this.listener)};i8c.prototype.off=function(){this.target.removeEventListener(this.eventType,this.listener)};var j8c=function(){this.bindings=[]};j8c.prototype.off=function(){for(var a=l(this.bindings),b=a.next();!b.done;b=a.next())b.value.off()};
var k8c=function(a){var b=this;this.params=a;this.mask=document.createElement("div");this.eventBindings=new j8c;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"),b.dragIndex!=null&&(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(b.dragIndex!=null)b.params.onDragDropColumn(b.dragIndex,d)})}c.stopPropagation();c.preventDefault()};this.element=this.params.nativeElement};
k8c.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(){l8c(a,"dragstart",a.onDragTargetDragstart);l8c(a,"dragenter",a.onDragTargetDragenter);l8c(a,"dragend",a.onDragTargetDragend);l8c(a,"selectstart",a.onDragTargetSelectstart);a.eventBindings.bindings.push(new i8c(a.mask,"dragleave",a.onMaskDragLeave));
a.eventBindings.bindings.push(new i8c(a.mask,"dragover",a.onMaskDragover));a.eventBindings.bindings.push(new i8c(a.mask,"drop",a.onMaskDrop))})};var l8c=function(a,b,c){a.eventBindings.bindings.push(new i8c(a.element,b,yn("th.drag-target",c)))};k8c.prototype.tearDown=function(){this.eventBindings.off()};var m8c=["table"],n8c=["defaultHeaderCellTemplate"],o8c=["defaultViewCellTemplate"],p8c=["dataRows"],ovb=function(a){return{column:a}},rvb=function(a,b,c){return{row:a,column:b,index:c}},tvb=function(a,b){return b.name},vvb=function(a,b){return b.id},D_=function(){var a=this;this.activeSession=x(Ks);this.ngZone=x(Kk);this.headerCellTemplates={};this.viewCellTemplates={};this.list=[];this.columns=[];this.columnsChange=new iE;this.rowClick=new iE;this.rowLabelRenderer=function(b,c){return"Row "+c};
this.sortChange=new iE;this.focusedRowIndexChange=new iE;this.afterViewInit=new iE;this.enableDragDropHeader=!0;this.hoveredRowIndex=new iE;this.readUnreadOptOut=Cx(this.activeSession,"readUnreadOptOut");this.onDragDropColumn=function(b,c){var d=[].concat(p(a.columns));b=d.splice(b,1)[0];d.splice(c,0,b);a.columns=d;a.columnsChange.emit([].concat(p(a.columns)))};this.onTdClickableClick=yn("td.clickable",function(b,c){if((b.type!=="mouseup"||b.button===1)&&!sKc(c)&&(c=c.closest("tr"))){var d,e=(d=c.dataset.rowId)!=
null?d:"";a.rowClick.emit({id:e,isRead:!!c.dataset.isRead,event:b})}})};D_.prototype.ngOnInit=function(){this.enableDragDropHeader&&q8c(this);this.tableElement.nativeElement.addEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.addEventListener("mouseup",this.onTdClickableClick)};
var q8c=function(a){a.dragDropHeaderLogic=new k8c({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()};
D_.prototype.ngOnChanges=function(a){if(a=a.focusedRowIndex){var b=a.currentValue;b!=null&&b!==a.previousValue&&this.dataRows&&(a=this.dataRows.toArray()[b])&&(eQa(a.nativeElement)||a.nativeElement.scrollIntoView({block:"center"}),this.focus())}};D_.prototype.ngAfterViewInit=function(){this.afterViewInit.emit(this)};
D_.prototype.ngOnDestroy=function(){var a;(a=this.dragDropHeaderLogic)==null||a.tearDown();this.tableElement.nativeElement.removeEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.removeEventListener("mouseup",this.onTdClickableClick)};var r8c=function(a){return a.columns.map(function(b){b=b.name;return b!=null?a.viewCellTemplates[b]||a.defaultViewCellTemplate:a.defaultViewCellTemplate})};D_.prototype.renderRowLabel=function(a,b){return this.rowLabelRenderer(a,b)};
D_.prototype.focus=function(){if(this.focusedRowIndex!=null&&this.dataRows!=null){var a=this.dataRows.toArray()[this.focusedRowIndex];a&&a.nativeElement.focus()}};D_.prototype.getColumnIndexForElement=function(a){var b=a.dataset.dragTargetColumnName;return this.columns.findIndex(function(c){return c.name===b})};D_.\u0275fac=function(a){return new (a||D_)};
D_.\u0275cmp=F({type:D_,selectors:[["pop-grid"]],viewQuery:function(a,b){a&1&&(ek(m8c,7),ek(n8c,7),ek(o8c,7),ek(p8c,5,Ph));if(a&2){var c;ik(c=jk())&&(b.tableElement=c.first);ik(c=jk())&&(b.defaultHeaderCellTemplate=c.first);ik(c=jk())&&(b.defaultViewCellTemplate=c.first);ik(c=jk())&&(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",hoveredRowIndex:"hoveredRowIndex"},standalone:!1,features:[$w],decls:15,vars:1,consts:[["table",""],["defaultHeaderCellTemplate",""],["defaultViewCellTemplate",""],["dataRows",""],[1,"pop-grid",3,"mousedown"],[3,"class"],[1,"header-row"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","0",3,"selected","unread","closed","grid-focus"],["tabindex","0",3,"click","focus",
"mouseover","mouseleave"],[3,"column"],[3,"row","column"]],template:function(a,b){if(a&1){var c=y();L(0,"table",4,0);Q("mousedown",function(e){z(c);e.shiftKey&&window.getSelection().removeAllRanges();return B()});L(2,"colgroup");Mj(3,mvb,1,3,"col",5,tvb);M();L(5,"thead")(6,"tr",6);Mj(7,pvb,1,4,"ng-container",null,tvb);M()();L(9,"tbody");I(10,wvb,2,0);M()();G(11,xvb,2,1,"ng-template",null,1,Gk)(13,yvb,2,2,"ng-template",null,2,Gk)}if(a&2){var d;E(3);Nj(b.columns);E(4);Nj(b.columns);E(3);J((d=r8c(b))?
10:-1,d)}},encapsulation:2});var E_=function(){this.templateRef=x(bk);this.popGrid=x(D_)};E_.prototype.ngOnInit=function(){this.forHeaderCell&&(this.popGrid.headerCellTemplates[this.forHeaderCell]=this.templateRef)};E_.\u0275fac=function(a){return new (a||E_)};E_.\u0275dir=$i({type:E_,selectors:[["","forHeaderCell",""]],inputs:{forHeaderCell:"forHeaderCell"},standalone:!1});var F_=function(){this.templateRef=x(bk);this.popGrid=x(D_)};
F_.prototype.ngOnInit=function(){this.forViewCell&&(this.popGrid.viewCellTemplates[this.forViewCell]=this.templateRef)};F_.\u0275fac=function(a){return new (a||F_)};F_.\u0275dir=$i({type:F_,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"},standalone:!1});var G_=function(){this.templateRef=x(bk);this.popGrid=x(D_)};G_.prototype.ngOnInit=function(){this.popGrid.defaultHeaderCellTemplate=this.templateRef};G_.\u0275fac=function(a){return new (a||G_)};
G_.\u0275dir=$i({type:G_,selectors:[["","forHeaderCellDefault",""]],standalone:!1});var H_=function(){this.columnLabel=this.columnName="";this.defaultSortDirection="ASC";this.sortChanged=new iE};H_.prototype.ariaLabel=function(){var a=this.columnLabel+", sortable";return this.isActive()?this.sort.direction==="ASC"?a+", sorted ascending":a+", sorted descending":a};H_.prototype.isActive=function(){return!!this.sort&&this.sort.field===this.columnName};
H_.prototype.activate=function(){var a=this.defaultSortDirection;this.isActive()&&(a=this.sort.direction==="ASC"?"DESC":"ASC");this.sortChanged.emit({field:this.columnName,direction:a})};H_.\u0275fac=function(a){return new (a||H_)};
H_.\u0275cmp=F({type:H_,selectors:[["b-sortable-header"]],inputs:{columnName:"columnName",columnLabel:"columnLabel",sort:"sort",defaultSortDirection:"defaultSortDirection"},outputs:{sortChanged:"sortChanged"},standalone:!1,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&&(L(0,"div",0),Q("click",function(){return b.activate()})("keydown.enter",function(c){b.activate();
return c.stopPropagation()})("keydown.space",function(c){b.activate();return c.stopPropagation()}),N(1,"span",1),U(2),M());a&2&&(rk("current-sort",b.isActive())("direction-asc",b.isActive()&&b.sort.direction==="ASC")("direction-desc",b.isActive()&&b.sort.direction==="DESC"),Hj("aria-label",b.ariaLabel()),E(2),V(" ",b.columnLabel," "))},encapsulation:2});var I_=function(){this.elementRef=x(Ph);this.grid=x(D_,{optional:!0})};I_.prototype.ngAfterViewInit=function(){if(this.column){var a=this.column;if(a.draggable){var b;a:{for(b=this.elementRef.nativeElement;b.parentElement;){if(b.parentElement.tagName==="TH"){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}}};
I_.prototype.ngOnDestroy=function(){this.cellParent&&delete this.cellParent.dataset.dragTargetColumnName};I_.\u0275fac=function(a){return new (a||I_)};
I_.\u0275cmp=F({type:I_,selectors:[["pop-grid-default-th"]],inputs:{column:"column"},standalone:!1,decls:3,vars:1,consts:[[1,"pop-grid-default-th"],[3,"columnLabel","columnName","defaultSortDirection","sort","matTooltip"],["tabindex","0",1,"pop-grid-non-sort-header","keep-focus-ring"],[3,"sortChanged","columnLabel","columnName","defaultSortDirection","sort","matTooltip"],[1,"a11y-only"]],template:function(a,b){a&1&&(L(0,"div",0),I(1,zvb,1,5,"b-sortable-header",1)(2,Bvb,3,3,"div",2),M());a&2&&(E(),
J(b.column.sortable?1:2))},dependencies:[YF,WF,H_],encapsulation:2});var s8c=function(){return{before:!1}},t8c=function(){return{before:!0}},Ivb=function(a,b){return{columns:a,before:b}},J_=function(){Z.call(this);var a=this;this.matDialog=x(eI);this.userPreferencesManager=x(NF);this.butterBar=x(MA);this.analytics=x(nE);this.hotkeys=x(BL);this.activeSession=x(Ks);this.selectedColumnsChange=new iE;this.onAddTeamColumn=new iE;this.currentAvailableItems=[];this.isRemovable=!0;this.menuOpen=!1;this.listViewPrefs=Nw.listViewPreferences;this.userPreferencesManager.preferences$.pipe(tj(this.destroyed$)).subscribe(function(b){a.listViewPrefs=
b.listViewPreferences||Nw.listViewPreferences})};Y(J_,Z);J_.\u0275dir=Z.\u0275dir;J_.prototype.ngOnChanges=function(a){a.selectedColumns&&u8c(this)};
var v8c=function(a){a.selectedColumnsChange.emit([].concat(p(a.selectedColumns)));u8c(a)},Dvb=function(a,b){var c=Object.assign({},a.listViewPrefs),d=Evb(b),e=d.get;d=d.set;d(c,!e(c));a.activeSession.isAnonymous()||hq(a.butterBar,"Saving display preference...",0);a.userPreferencesManager.save({listViewPreferences:c}).pipe(hj(1),tj(a.destroyed$)).subscribe(function(){a.analytics.trackEvent("preferences","setListViewPref:"+b,e(c).toString());a.listViewPrefs=c;a.activeSession.isAnonymous()||hq(a.butterBar,
"Display preference saved.",4E3)},function(){a.activeSession.isAnonymous()||a.butterBar.showWarning("Display preference could not be saved.")})},Lvb=function(a,b){a.hotkeys.pause();ZH(a.matDialog.open(g8c,{data:{column:a.column,columns:a.selectedColumns},position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(tj(a.destroyed$)).subscribe({next:function(c){c&&a.add(c,b)},error:function(){a.hotkeys.unpause()},complete:function(){a.hotkeys.unpause()}})},u8c=function(a){for(var b={},
c=l(a.selectedColumns),d=c.next();!d.done;d=c.next())b[d.value.name]=!0;var e=a.availableColumns.filter(function(f){return!Sda(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 ha(f instanceof gs?f.fullLabel:
f.label,h instanceof gs?h.fullLabel:h.label)});a.isRemovable=w8c(a)};J_.prototype.isIssueGridColumn=function(a){return a instanceof gs};J_.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,v8c(this),!0}return!1};
J_.prototype.add=function(a,b){var c=this;this.menuTrigger.closeMenu();a="customFieldId"in a&&a.customFieldId?new gs({name:a.customFieldId.toString(),label:a.name,fullLabel:a.name,sortable:!0,draggable:!0,isCustomField:!0}):a;a.label==="TEAM"&&this.onAddTeamColumn.emit();var d=this.selectedColumns.findIndex(function(e){return e.name===c.column.name});if(d===-1)return!1;b=b?d:d+1;this.selectedColumns=[].concat(p(this.selectedColumns));this.selectedColumns.splice(b,0,a);v8c(this);return!0};
var w8c=function(a){return a.selectedColumns.filter(function(b){return!b.isMetadata}).length>1};J_.\u0275fac=function(a){return new (a||J_)};
J_.\u0275cmp=F({type:J_,selectors:[["b-column-picker"]],viewQuery:function(a,b){a&1&&ek(pK,5);if(a&2){var c;ik(c=jk())&&(b.menuTrigger=c.first)}},inputs:{column:"column",availableColumns:"availableColumns",selectedColumns:"selectedColumns"},outputs:{selectedColumnsChange:"selectedColumnsChange",onAddTeamColumn:"onAddTeamColumn"},standalone:!1,features:[xj,$w],decls:21,vars:10,consts:[["pickerMenu","matMenu"],["addColumnMenu","matMenu"],["columnGroupMenu","matMenu"],["menuTrigger","matMenuTrigger"],
[1,"bv2-column-picker-container"],[1,"bv2-columnheader-content"],[3,"column"],["mat-button","","tabindex","0","role","button",1,"columnpicker-button",3,"matMenuTriggerFor","columnpicker-button-active"],[1,"columnpicker-menu"],["type","button","mat-menu-item","",1,"checkbox-item",3,"b-menu-item-checked"],["type","button","mat-menu-item","",3,"click","disabled"],["type","button","mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],["matMenuContent",""],["mat-button","","tabindex","0","role",
"button",1,"columnpicker-button",3,"menuOpened","menuClosed","keydown.enter","keydown.space","matMenuTriggerFor"],["type","button","mat-menu-item","",1,"checkbox-item",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-description"],["type","button","mat-menu-item","",3,"click"],["type","button","mat-menu-item","",3,"matTooltip"],["type","button","mat-menu-item","",3,"click","keydown.enter","matTooltip"],["type","button","mat-menu-item",""],["type","button",
"mat-menu-item","",3,"click","keydown.enter"]],template:function(a,b){if(a&1){var c=y();L(0,"div",4)(1,"div",5);N(2,"pop-grid-default-th",6);M();I(3,Cvb,2,5,"div",7);L(4,"mat-menu",8,0);Mj(6,Fvb,4,3,"button",9,Lj);I(8,Gvb,1,0,"mat-divider");L(9,"button",10);Q("click",function(){z(c);return B(b.remove())});U(10," Remove column ");M();L(11,"button",11);U(12," Add column right ");M();L(13,"button",11);U(14," Add column left ");M()();L(15,"mat-menu",null,1);G(17,Mvb,5,0,"ng-template",12);M();L(18,"mat-menu",
null,2);G(20,Ovb,2,0,"ng-template",12);M()()}a&2&&(a=T(16),E(2),K("column",b.column),E(),J(3),E(3),Nj(b.column.moreOptions),E(2),J(b.column.moreOptions.length?8:-1),E(),K("disabled",!b.isRemovable),E(2),K("matMenuTriggerFor",a)("matMenuTriggerData",Ck(8,s8c)),E(2),K("matMenuTriggerFor",a)("matMenuTriggerData",Ck(9,t8c)))},dependencies:[FL,mK,kK,lK,pK,eN,YF,WF,jK,I_],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}@media(forced-colors: active){.columnpicker-button[_ngcontent-%COMP%]::after{filter:invert(1)}}  .columnpicker-menu .mat-mdc-menu-content button.mat-mdc-menu-item{white-space:normal;font-family:Roboto,Arial,sans-serif}  .columnpicker-menu .mat-mdc-menu-content button.mat-mdc-menu-item.checkbox-item{padding-left:24px}  .columnpicker-menu .mat-mdc-menu-content button.mat-mdc-menu-item .b-menu-item-check-mark{top:50%;transform:translate(0, -50%)}/*# sourceMappingURL=column_picker.css.map */']});var z8c=function(a){var b=this;this.params=a;this.element=this.params.nativeElement;this.dropzone=document.createElement("div");this.onTdDragStart=yn("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=yn("tr",function(c,d){if(b.draggedRow&&b.dragTargetRow!==d&&d.closest("tbody")&&
d!==b.draggedRow){x8c(b.dragTargetRow);b.dragTargetRow=d;var e;b.draggedIssueIndex=b.params.rowFinder((e=b.draggedRow.dataset.rowId)!=null?e:void 0);var f;b.dragTargetIndex=b.params.rowFinder((f=b.dragTargetRow.dataset.rowId)!=null?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(window.getComputedStyle(c).position!=="static")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=yn("tr",function(){b.draggedRow&&(x8c(b.draggedRow),x8c(b.dragTargetRow),b.draggedRow.setAttribute("aria-grabbed",
"false"),b.draggedRow=b.dragTargetRow=void 0)});this.onTrDragLeave=yn("tr",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragEnter=yn(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragLeave=yn(".row-dropzone",function(c){x8c(b.dragTargetRow);y8c(b);c.stopPropagation();c.preventDefault()});this.onDropzoneDragOver=yn(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDrop=yn(".row-dropzone",function(c){y8c(b);
b.draggedIssueIndex!==b.dragTargetIndex&&b.params.ngZone.run(function(){if(b.draggedIssueIndex!=null&&b.dragTargetIndex!=null)b.params.onRowDragDrop({srcIndex:b.draggedIssueIndex,destIndex:b.dragTargetIndex})});c.stopPropagation();c.preventDefault()})};
z8c.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");y8c(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)})};
z8c.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 x8c=function(a){a&&(a.classList.remove("drag-over"),a.classList.remove("above"),a.classList.remove("below"),a.classList.remove("dragging"))},y8c=function(a){a.dropzone.style.display="none"};var K_=function(){this.sloStatusHelpersService=x(QI);this.includeObjective=this.includeSloMetric=!1;this.firstOpenSlo=null;this.firstOpenSloMetric=""};K_.prototype.ngOnInit=function(){A8c(this)};K_.prototype.ngOnChanges=function(a){(a.sloStatus||a.includeSloMetric)&&A8c(this)};var A8c=function(a){var b=UEc(a.sloStatus);b?(a.firstOpenSlo=b.sloBounds,a.includeSloMetric?a.firstOpenSloMetric=b.sloMetric:a.firstOpenSloMetric=""):(a.firstOpenSlo=null,a.firstOpenSloMetric="")};
K_.\u0275fac=function(a){return new (a||K_)};
K_.\u0275cmp=F({type:K_,selectors:[["b-aggregated-slo-status-indicator"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSloMetric:"includeSloMetric",includeObjective:"includeObjective"},standalone:!1,features:[$w],decls:1,vars:5,consts:[[3,"sloBounds","sloMetricDescription","sloStartTime","sloEndTime","includeObjective"]],template:function(a,b){a&1&&N(0,"b-slo-time-indicator",0);a&2&&K("sloBounds",b.firstOpenSlo)("sloMetricDescription",b.firstOpenSloMetric)("sloStartTime",
b.sloStartTime)("sloEndTime",b.sloEndTime)("includeObjective",b.includeObjective)},dependencies:[z_],encapsulation:2,changeDetection:0});var B8c=function(){};B8c.\u0275fac=function(a){return new (a||B8c)};B8c.\u0275cmp=F({type:B8c,selectors:[["archived-issue-indicator"]],standalone:!1,decls:3,vars:0,consts:[["aria-hidden","true","svgIcon","archive_24px"]],template:function(a){a&1&&(L(0,"span"),N(1,"mat-icon",0),U(2,"Archived "),M())},dependencies:[EA],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 L_=function(){};L_.\u0275fac=function(a){return new (a||L_)};L_.\u0275mod=Zi({type:L_});L_.\u0275inj=Eg({imports:[jC]});var C8c=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(C8c,n);C8c.prototype.getIssueId=function(){return Re(this,1)};C8c.prototype.getIssueId_asString=function(){return Xe(this,1)};C8c.prototype.setIssueId=function(a){return ll(this,1,a)};var D8c=function(a){return Xd(a,2,2)};var E8c=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(E8c,n);var M_=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,M_.messageId)};Y(M_,n);M_.prototype.getIt=function(){return r(this,E8c,2,Kc)};M_.prototype.setIt=function(a){return t(this,E8c,2,a,Kc)};M_.messageId="b.ListStatusUpdateHistoryResponse";var N_=function(){this.executor=x(ey)};N_.prototype.update=function(a){var b=this.executor,c=b.post,d="action/issues/"+a.issueId+"/statusUpdate";a=(new WC).setIt(cva(a));return c.call(b,{url:d,body:a,responseConstructor:WC}).pipe(C(aEa))};N_.prototype.delete=function(a){return this.executor.delete({url:"action/issues/"+a+"/statusUpdate",responseConstructor:null})};
var F8c=function(a,b){var c=D8c((new C8c).setIssueId(Number(b)));return a.executor.post({url:"action/issues/"+b+"/listStatusUpdates",body:c,responseConstructor:M_}).pipe(C(function(d){d=d.getIt();return ie(d,am,1,Rd()).map(bva)}))};N_.\u0275fac=function(a){return new (a||N_)};N_.\u0275prov=Dg({token:N_,factory:N_.\u0275fac,providedIn:"root"});var G8c=function(a){return[a]},O_=function(){this.matDialog=x(eI)};O_.prototype.show=function(a,b,c){a.formattingMode==="LITERAL"&&(a.formattingMode="PLAIN");this.dialog=this.matDialog.open(P_,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{componentId:c,formattingAudience:b,statusUpdate:a}});return pi(ZH(this.dialog))};O_.\u0275fac=function(a){return new (a||O_)};O_.\u0275prov=Dg({token:O_,factory:O_.\u0275fac,providedIn:"root"});
var Q_=function(){this.userPreferencesManager=x(NF)},H8c=function(a,b){var c;return v(function(d){return d.nextAddress==1?(c=b,w(d,pi(a.userPreferencesManager.currentCommentFormattingMode$),2)):d.return({issueId:c,updateText:"",version:-1,formattingMode:d.yieldResult})})};Q_.\u0275fac=function(a){return new (a||Q_)};Q_.\u0275prov=Dg({token:Q_,factory:Q_.\u0275fac,providedIn:"root"});
var P_=function(){Z.apply(this,arguments);this.activeSession=x(Ks);this.checkBeforeExit=x(LR);this.data=x(dI);this.dialogService=x(O_);this.dialogRef=x(YH);this.bannedWordsChecker=x(LP);this.CHAR_LIMIT=2E3;this.FormattingMode=ke;this.formattingAudience=this.data.formattingAudience;this.contentRemovalRequestLink=this.activeSession.isInternalSession()?"https://goto.corp.google.com/delete-comments-attachments":"https://issuetracker.google.com/issues/new?component=169992&template=543202";this.origStatusUpdate=
this.data.statusUpdate;this.newStatusUpdate=wd(this.origStatusUpdate)};Y(P_,Z);P_.\u0275dir=Z.\u0275dir;var I8c=function(a){var b,c;return(c=iMa((b=a.newStatusUpdate)==null?void 0:b.updateText))!=null?c:""};g=P_.prototype;g.ngOnInit=function(){var a=this;this.subscriptions.add(MR(this.checkBeforeExit,function(){return a.isModified()},!1));this.dialogRef.keydownEvents().pipe(tj(this.destroyed$)).subscribe(function(b){b.key==="Escape"&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(tj(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};
g.closeIfUnmodified=function(){if(!this.isModified()){var a;(a=this.dialogService.dialog)==null||a.close()}};g.isModified=function(){return!vd(this.newStatusUpdate,this.origStatusUpdate)};g.asNumber=function(a){return Number(a)};
g.closeDialogForSave=function(){var a=this,b,c,d;return v(function(e){if(e.nextAddress==1)return a.isModified()?w(e,a.bannedWordsChecker.check(a.newStatusUpdate.updateText,a.formattingAudience==="EXTERNAL",a.data.componentId),2):e.return();b=e.yieldResult;if(!b)return(c=a.commentDraft)==null||xUc(c),e.return();(d=a.dialogService.dialog)==null||d.close(a.newStatusUpdate);ji(e)})};P_.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(P_)))(b||P_)}}();
P_.\u0275cmp=F({type:P_,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&ek(JR,5);if(a&2){var c;ik(c=jk())&&(b.commentDraft=c.first)}},standalone:!1,features:[Bk([LP]),xj],decls:23,vars:26,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"contentChange","onSubmit","content","textareaClass","isLiteralModeSupported"],[1,"char-limit-warning"],[1,"banned-words-warning","break-word"],[1,"inline-block",3,
"change","initialValue"],["tabindex","0",1,"clamper","line-clamp-4"],["mat-dialog-actions",""],["type","button","mat-button","",3,"mat-dialog-close"],["type","button","mat-flat-button","",1,"save-button",3,"click","disabled","color"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],[3,"comment","issueId","formattingMode","audience"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1,"Editing Status Update"),
M(),L(2,"section",1)(3,"p",2),U(4," Editing the Status Update will not permanently remove old ones from database history. "),N(5,"br"),U(6," For deletion of PII or other sensitive content, please "),L(7,"a",3),U(8," file a support request. "),M()(),L(9,"b-comment-draft",4),W(10,"async"),xk("contentChange",function(c){wk(b.newStatusUpdate.updateText,c)||(b.newStatusUpdate.updateText=c);return c}),Q("contentChange",function(){b.bannedWordsChecker.reset()})("onSubmit",function(){return b.closeDialogForSave()}),
M(),I(11,Pvb,2,1,"p",5),I(12,Qvb,4,1,"p",6),W(13,"async"),L(14,"b-markdown-toggle",7),Q("change",function(c){return b.newStatusUpdate.formattingMode=c}),M(),I(15,Rvb,2,4,"div",8),M(),L(16,"footer",9)(17,"button",10),U(18," Cancel "),M(),L(19,"button",11),W(20,"async"),Q("click",function(){return b.closeDialogForSave()}),U(21),W(22,"async"),M()());a&2&&(E(7),K("href",b.contentRemovalRequestLink,Ni),E(2),sk(I8c(b)),vk("content",b.newStatusUpdate.updateText),K("textareaClass",Dk(24,G8c,X(10,16,b.bannedWordsChecker.showWarning$)?
"banned-words-warning":""))("isLiteralModeSupported",!1),E(2),J(b.newStatusUpdate.updateText.length>2E3?11:-1),E(),J(X(13,18,b.bannedWordsChecker.showWarning$)?12:-1),E(2),rk("margin-bottom",b.newStatusUpdate.formattingMode!==b.FormattingMode.MARKDOWN),K("initialValue",b.origStatusUpdate.formattingMode),E(),J(b.newStatusUpdate.formattingMode===b.FormattingMode.MARKDOWN?15:-1),E(2),K("mat-dialog-close",void 0),E(2),K("disabled",b.newStatusUpdate.updateText.length===0||b.newStatusUpdate.updateText.length>
2E3||!b.isModified())("color",X(20,20,b.bannedWordsChecker.showWarning$)?"warn":"primary"),E(2),V(" ",X(22,22,b.bannedWordsChecker.showWarning$)?"Save Anyway":"Save"," "))},dependencies:[fI,hI,jI,iI,dA,aA,qL,gK,JR,py],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}.banned-words-warning[_ngcontent-%COMP%], .char-limit-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--text-bad)}\n/*# sourceMappingURL=edit_status_update_dialog.css.map */'],
changeDetection:0});var R_=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(R_,n);R_.prototype.setContextsList=function(a){return np(this,1,a)};R_.prototype.addContexts=function(a){return wc(this,1,xb,a,void 0,zb)};var J8c=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(J8c,n);g=J8c.prototype;g.getIssueIdsList=function(){return Tu(this,1,1)};g.getIssueIdsList_asString=function(){return ge(this,1)};g.setIssueIdsList=function(a){return op(this,1,a)};g.addIssueIds=function(a){return bv(this,1,a)};g.setIssueIds=function(a){wc(this,1,Fb,void 0,a,Kb,void 0,1)};var S_=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(S_,n);S_.prototype.getWorkspaceId=function(){return Re(this,1)};S_.prototype.getWorkspaceId_asString=function(){return Xe(this,1)};S_.prototype.getType=function(){return Zd(this,2)};S_.prototype.setType=function(a){return Xd(this,2,a)};var K8c=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(K8c,n);K8c.prototype.getTypedWorkspaceIdsList=function(){return ie(this,S_,1,Rd())};K8c.prototype.getIterationIdsList_asString=function(){return ge(this,2)};var L8c=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(L8c,n);g=L8c.prototype;g.getIterationId_asString=function(){return Xe(this,1)};g.getWorkspaceId=function(){return Re(this,2)};g.getWorkspaceId_asString=function(){return Xe(this,2)};g.getType=function(){return Zd(this,3)};g.setType=function(a){return Xd(this,3,a)};g.getName=function(){return Oc(this,4)};g.setName=function(a){return Vd(this,4,a)};g.getHotlistId=function(){return Re(this,7)};
g.setHotlistId=function(a){return ll(this,7,a)};g.getStatus=function(){return Zd(this,8)};g.setStatus=function(a){return Xd(this,8,a)};g.getTagsList=function(a){return $e(this,9,Rd(a))};g.getTags=function(a){return Pec(this,9,a)};g.setVelocity=function(a){return Vl(this,11,a)};g.getStartTime=function(){return r(this,ue,12)};g.setStartTime=function(a){t(this,ue,12,a)};g.getEndTime=function(){return r(this,ue,13)};g.setEndTime=function(a){t(this,ue,13,a)};g.getEtag=function(){return Oc(this,18)};
g.setEtag=function(a){return Vd(this,18,a)};var M8c=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(M8c,n);M8c.prototype.getEmail=function(){return Oc(this,1)};M8c.prototype.setEmail=function(a){return Vd(this,1,a)};var N8c=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(N8c,n);g=N8c.prototype;g.getWorkspaceId=function(){return Re(this,1)};g.getWorkspaceId_asString=function(){return Xe(this,1)};g.getName=function(){return Oc(this,2)};g.setName=function(a){return Vd(this,2,a)};g.getTimeZone=function(){return r(this,jp,8)};g.setTimeZone=function(a){return t(this,jp,8,a)};g.hasTimeZone=function(){return Me(this,jp,8)};g.getMembersList=function(){return ie(this,M8c,9,Rd())};
g.setMembersList=function(a){return Ol(this,9,a)};g.getUpdateTime=function(){return r(this,ue,12)};g.setUpdateTime=function(a){t(this,ue,12,a)};g.hasUpdateTime=function(){return Me(this,ue,12)};g.getBookmarkGroupId_asString=function(){return Xe(this,14)};g.setBookmarkGroupId=function(a){return ll(this,14,a)};g.getTeamId=function(){return Oc(this,20)};g.setTeamId=function(a){return Vd(this,20,a)};var O8c=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(O8c,n);O8c.prototype.getWorkspacesMap=function(){return sc(this,1,N8c,Ub)};O8c.prototype.getIterationsMap=function(){return sc(this,2,L8c,Ub)};var Svb=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Svb,n);g=Svb.prototype;g.getContextsMap=function(){return sc(this,1,K8c,Vb)};g.getData=function(){return r(this,O8c,2)};g.setData=function(a){return t(this,O8c,2,a)};g.clearData=function(){return Ou(this,2)};g.getFilter=function(){return r(this,R_,3)};g.setFilter=function(a){return t(this,R_,3,a)};var P8c=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(P8c,n);var Q8c=new Dx("/google.internal.devtools.taskflow.partner.v1.TaskFlowPartnerService/BatchGetIssueContexts",J8c,P8c,function(a){return a.serialize()},Qc(P8c));var R8c=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(R8c,n);g=R8c.prototype;g.getComponentId=function(){return Re(this,1)};g.getComponentId_asString=function(){return Xe(this,1)};g.setComponentId=function(a){return ll(this,1,a)};g.setTeamIdsList=function(a){return Wd(this,2,a)};g.setPageSize=function(a){return se(this,3,a)};g.setPageToken=function(a){return Vd(this,4,a)};var S8c=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(S8c,n);S8c.prototype.getNextPageToken=function(){return Oc(this,2)};var T8c=new Dx("/google.internal.devtools.taskflow.partner.v1.TaskFlowPartnerService/ListWorkspaces",R8c,S8c,function(a){return a.serialize()},Qc(S8c));var U8c=function(a){var b={withCredentials:!0,suppressCorsPreflight:!0};b=b||{};b.format="jspb";this.client_=new rnc(b);this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};U8c.prototype.listWorkspaces=function(a){return Yx(this.client_,this.hostname_+"/$rpc/google.internal.devtools.taskflow.partner.v1.TaskFlowPartnerService/ListWorkspaces",a,{},T8c)};var V8c={},W8c;V8c.Authorization=(W8c=O7b([]))!=null?W8c:"";V8c["X-Goog-Api-Key"]="AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c";V8c["X-Goog-AuthUser"]="0";var U_=function(){this.activeSession=x(Ks);this.clientFactory=x(T_);this.client=this.clientFactory.create(this.getServiceEndpoint())};
U_.prototype.listWorkspaces=function(a){var b=this;return this.activeSession.isExternalSession()?li([]):wi(function(){var c=b.client;var d=(new J8c).addIssueIds(a);var e=(new R_).addContexts(1);d=t(d,R_,2,e);return Yx(c.client_,c.hostname_+"/$rpc/google.internal.devtools.taskflow.partner.v1.TaskFlowPartnerService/BatchGetIssueContexts",d,V8c||{},Q8c)}).pipe(C(Tvb(a)),cj(function(){return li([])}))};
U_.prototype.getServiceEndpoint=function(){switch(this.activeSession.getEnvironmentType()){case "NIGHTLY":case "PROD":return"https://taskflowpartner-pa.clients6.google.com";default:return"https://autopush-taskflowpartner-pa-googleapis.sandbox.google.com"}};U_.\u0275fac=function(a){return new (a||U_)};U_.\u0275prov=Dg({token:U_,factory:U_.\u0275fac,providedIn:"root"});var T_=function(){};T_.prototype.create=function(a){return new U8c(a)};T_.\u0275fac=function(a){return new (a||T_)};
T_.\u0275prov=Dg({token:T_,factory:T_.\u0275fac,providedIn:"root"});var X8c=["popOver"],Vvb=function(a){return{$implicit:a}},V_=function(){var a=this;this.destroyRef=x(Cj);this.disabled=!1;this.displayEditIcon=!0;this.openPopOverOnInit=!1;this.overlayMinWidth=null;this.required=Hk.apply(null,[!1].concat(p([])));this.valueChange=new Lp;this.closedWithAction=new Lp;this.editing=this.headerFocused=!1;this.editingValue=new nG("",{nonNullable:!0});this.editingValueSignal=kk.apply(null,[""].concat(p([])));this.isInvalid=Sk.apply(null,[function(){return a.required()&&a.editingValueSignal()===
""}].concat(p([])));this.onChange=function(){};this.onTouched=function(){}};Y(V_,IT);g=V_.prototype;g.ngOnInit=function(){var a=this;this.required()&&ZJa(this.editingValue,[zp]);this.editingValue.valueChanges.pipe(vp(this.destroyRef)).subscribe(function(b){a.editingValueSignal.set(b!=null?b:"")})};g.ngAfterViewInit=function(){var a=this;this.openPopOverOnInit&&setTimeout(function(){a.startEditing()})};g.valueChanged=function(){return $vb(this.editingValue.value)!==this.value};
g.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue.setValue(this.value!=null?String(this.value):""),this.popOver.open())};g.stopEditing=function(a){this.editing=!1;if((this.required()?this.editingValue.valid:1)&&a===0){this.onChange(this.editingValue.value);var b=$vb(this.editingValue.value);this.value=b;this.valueChange.emit(b);this.closedWithAction.emit(a)}else this.closedWithAction.emit(1)};
g.writeValue=function(a){var b=$vb(a);if(a!=null||this.val!==b)this.val=b,this.editingValue.setValue(a!=null?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};pg.Object.defineProperties(V_.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a!=null?String(a):null)}}});
V_.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(V_)))(b||V_)}}();
V_.\u0275cmp=F({type:V_,selectors:[["onedev-numeric-field"]],viewQuery:function(a,b){a&1&&ek(X8c,7);if(a&2){var c;ik(c=jk())&&(b.popOver=c.first)}},inputs:{value:"value",disabled:"disabled",displayEditIcon:"displayEditIcon",labelledById:[0,"aria-labelledby","labelledById"],openPopOverOnInit:"openPopOverOnInit",valueTemplate:"valueTemplate",overlayMinWidth:"overlayMinWidth",required:[1,"required"]},outputs:{valueChange:"valueChange",closedWithAction:"closedWithAction"},standalone:!1,features:[Bk([{provide:cG,
useExisting:$g(function(){return V_}),multi:!0},{provide:IT,useExisting:$g(function(){return V_}),multi:!0}]),xj],decls:11,vars:8,consts:[["anchor",""],["standardValueDisplay",""],["popOver","onedevPopOverEditPanel"],["inputTemplate",""],["type","button","aria-label","Edit numeric field",3,"click","focus","blur","disabled"],[4,"ngIf","ngIfElse"],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],[3,"closedWithAction","anchor","minWidth","editorTemplate","saveDisabled"],
[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,"required","formControl"]],template:function(a,b){if(a&1){var c=y();L(0,"button",4,0);Q("click",function(){z(c);return B(b.startEditing())})("focus",function(){z(c);
return B(b.headerFocused=!0)})("blur",function(){z(c);return B(b.headerFocused=!1)});L(2,"span");G(3,Wvb,2,4,"ng-container",5)(4,Xvb,1,1,"ng-template",null,1,Gk);M();G(6,Yvb,2,0,"svg",6);M();L(7,"onedev-pop-over-edit-panel",7,2);Q("closedWithAction",function(f){z(c);return B(b.stopEditing(f))});M();G(9,Zvb,1,3,"ng-template",null,3,Gk)}if(a&2){a=T(1);var d=T(5),e=T(10);K("disabled",b.disabled);E(3);K("ngIf",b.valueTemplate)("ngIfElse",d);E(3);K("ngIf",!b.disabled&&b.displayEditIcon);E();K("anchor",
a)("minWidth",b.overlayMinWidth)("editorTemplate",e)("saveDisabled",b.isInvalid())}},dependencies:[ny,oy,Bp,qG,hG,AG,JT,uG],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 fwb=function(){return[]},W_=function(){this.disabled=this.thinking=!1;this.effortChange=new iE;this.isCompatibleValue=!0;this.fieldName="";this.fieldType="UNKNOWN";this.isNaN=isNaN};
W_.prototype.ngOnChanges=function(){if(this.getFieldType()==="DROPDOWN"){var a;this.effortSpec&&(a=this.effortSpec.enumSpec)!=null&&a.options&&this.effort&&this.effort.estimate?(a=Y8c(this),a=a==="incompatible"?{label:this.effort.estimate,value:0}:a):a=void 0;this.selectedOption=a}else if(this.getFieldType()==="NUMERIC"){var b,c;this.selectedNumericEstimate=((b=this.effort)==null?0:b.estimate)?Number((c=this.effort)==null?void 0:c.estimate):void 0}this.fieldName=this.getFieldName();this.fieldType=
this.getFieldType();this.isCompatibleValue=Z8c(this)};W_.prototype.selectOption=function(a){this.selectedOption=a;if(a==null)this.effort=void 0;else{var b,c;this.effort={specId:(c=(b=this.effortSpec)==null?void 0:b.id)!=null?c:0,estimate:a.label}}this.isCompatibleValue=Z8c(this);this.effortChange.emit(this.effort)};W_.prototype.getFieldName=function(){return this.effortSpec?this.effortSpec.name||"":this.effort?"Estimate "+this.effort.specId:"Estimate"};
W_.prototype.getFieldType=function(){var a;if((a=this.effortSpec)==null?0:a.numericSpec)return"NUMERIC";var b;return((b=this.effortSpec)==null?0:b.enumSpec)?"DROPDOWN":"UNKNOWN"};
var Z8c=function(a){var b;if(!a.effort||(b=a.effort)==null||!b.estimate)return!0;var c,d;if(((c=a.effortSpec)==null?void 0:c.id)!==((d=a.effort)==null?void 0:d.specId)||a.fieldType==="DROPDOWN"&&Y8c(a)==="incompatible")return!1;var e,f;return a.getFieldType()==="NUMERIC"&&isNaN(Number((f=(e=a.effort)==null?void 0:e.estimate)!=null?f:""))?!1:!0},Y8c=function(a){var b;if((b=a.effort)==null?0:b.estimate){var c,d,e,f;return(f=(c=a.effortSpec)==null?void 0:(d=c.enumSpec)==null?void 0:(e=d.options)==null?
void 0:e.find(function(h){var k;return h.label===((k=a.effort)==null?void 0:k.estimate)}))!=null?f:"incompatible"}};W_.\u0275fac=function(a){return new (a||W_)};
W_.\u0275cmp=F({type:W_,selectors:[["b-estimated-effort-row"]],inputs:{thinking:"thinking",effort:"effort",effortSpec:"effortSpec",disabled:"disabled"},outputs:{effortChange:"effortChange"},standalone:!1,features:[$w],decls:3,vars:1,consts:[["rawNumericValueTemplate",""],["warningHovercard","onedevHovercard"],["optionTemplate",""],["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.",
1,"icon-xs","effort-warning","align-items-center",3,"onedevHovercardTrigger"],["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"],[1,"flex-kids-x",3,"value","valueTemplate","disabled","displayEditIcon"],[1,"flex-kids-x",3,"valueChange","value","valueTemplate","disabled","displayEditIcon"],[3,"valueChange","value","options","includeEmptyOption","optionTemplate",
"disabled","displayArrowIcon"]],template:function(a,b){a&1&&(I(0,iwb,15,5,"onedev-edit-field"),G(1,lwb,2,1,"ng-template",null,0,Gk));a&2&&J(b.effortSpec?0:-1)},dependencies:[EA,QT,RT,ST,cU,V_,xH,DH],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}/*# sourceMappingURL=estimated_effort_row.css.map */"]});var X_=function(){this.staffingDialogService=x(r_);this.tooltipText=this.staffingSummary=this.staffingPlaceholderSummary=this.staffingUserSummary=""};
X_.prototype.ngOnChanges=function(){var a,b,c=(b=(a=this.staffing)==null?void 0:a.plannedAllocations)!=null?b:[];a=new Set(c.filter(function(d){return!!d.user}).map(function(d){return kg(d)}));c=c.filter(function(d){return!!d.placeholder}).map(function(d){var e=d.placeholder.role;return d.placeholder.count+" "+(e&&e!=="JOB_ROLE_UNSPECIFIED"?Ro[e]:"Other")});b=c.length?c.join(", "):"0";this.staffingUserSummary=a.size?"Users: "+a.size:"";this.staffingPlaceholderSummary=c.length?"Placeholders: "+b:"";
this.staffingSummary=this.staffingUserSummary+(" - "+this.staffingPlaceholderSummary);this.tooltipText="View"+(this.isAllowedToEdit?" or edit":"")+" staffing"};var $8c=function(a){var b,c,d;a.staffingDialogService.show((c=(b=a.staffing)==null?void 0:b.plannedAllocations)!=null?c:[],a.issueId,(d=a.isAllowedToEdit)!=null?d:!1)};X_.\u0275fac=function(a){return new (a||X_)};
X_.\u0275cmp=F({type:X_,selectors:[["b-staffing-row"]],inputs:{staffing:"staffing",issueId:"issueId",isAllowedToEdit:"isAllowedToEdit"},standalone:!1,features:[$w],decls:25,vars:6,consts:[["fieldContent",""],["infoHovercard","onedevHovercard"],[1,"bv2-issue-metadata-field"],["role","button","tabindex","0",1,"bv2-issue-metadata-field-inner","bv2-issue-metadata-field-staffing","keep-focus-ring",3,"keydown.enter","keyup.space","keydown.space"],[1,"bv2-editable-title","bv2-editable-title-staffing","flex-kids-x",
3,"onedevHovercardTrigger"],[1,"bv2-editable-value",3,"click","matTooltip"],[1,"staffing-summaries"],[1,"issue-metadata-field-edit-icon"],["svgIcon","edit-outline"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["href","http://developers.google.com/issue-tracker/references/glossary-of-fields","target","_blank"],[1,"user-summary"],[1,"placeholder-summary"]],template:function(a,b){if(a&1){var c=y();L(0,"div")(1,"div",2)(2,"div",3);Q("keydown.enter",function(){z(c);return B($8c(b))})("keyup.space",
function(){z(c);return B($8c(b))})("keydown.space",function(d){z(c);return B(d.preventDefault())});L(3,"div",4)(4,"label");U(5," Staffing ");M()();L(6,"div",5,0);Q("click",function(){z(c);return B($8c(b))});L(8,"div",6);I(9,mwb,1,0)(10,nwb,4,2);M();L(11,"div",7);N(12,"mat-icon",8);M()()()();L(13,"onedev-hovercard",null,1)(15,"div",9)(16,"div",10)(17,"div");U(18," Use the Staffing field to represent planned contributors on this issue. ");M();N(19,"br");L(20,"div");U(21," Allocations can be specified by user along with their involvement level on this issue (high, medium, low, or zero). Placeholder allocations can be specified by job role if the user who will be contributing is not yet known. ");
M();N(22,"br");L(23,"a",11);U(24," Learn more ");M()()()()()}a&2&&(a=T(14),E(2),Hj("aria-label","Staffing: "+b.staffingSummary)("aria-disabled",!1),E(),K("onedevHovercardTrigger",a),E(3),K("matTooltip",yk(b.tooltipText)),E(3),J(b.staffingUserSummary||b.staffingPlaceholderSummary?10:9))},dependencies:[EA,YF,WF,xH,DH],styles:[".staffing-summaries[_ngcontent-%COMP%]{flex-direction:column}/*# sourceMappingURL=staffing_row.css.map */"],changeDetection:0});var Y_=function(){Z.apply(this,arguments);var a=this;this.session=x(Ks);this.userPreferencesManager=x(NF);this.sloStatusHelpersService=x(QI);this.paths=x(TO);this.sloFridge=x(eF);this.userToDisplayString=Gd;this.onSloStartTimeChange=new iE;this.onSloEndTimeChange=new iE;this.showInternalOnlyFieldBadge=!1;this.providedSloId$=new nj(1);this.slo$=this.providedSloId$.pipe(sj(function(b){return a.sloFridge.watch(b)}));this.hasClosureSlo=this.isSloEndEditTimePickerOpen=this.isSloStartEditTimePickerOpen=
this.enableEscalationOwnerRolloutUi=this.enableSloEndTime=this.hasSloEndTime=this.hasSloStartTime=this.isAccordionExpanded=!1};Y(Y_,Z);Y_.\u0275dir=Z.\u0275dir;Y_.prototype.ngOnInit=function(){var a=this;a9c(this);this.userPreferencesManager.layoutPreferences$.pipe(tj(this.destroyed$)).subscribe(function(b){a.isAccordionExpanded=!!b.expandIssueSlo})};Y_.prototype.ngOnChanges=function(){this.sloId&&this.providedSloId$.next(this.sloId);a9c(this)};
var a9c=function(a){a.hasSlo=!!a.sloStatus&&SEc(a.sloStatus);a.hasClosureSlo=a.hasSlo&&TEc(a.sloStatus,"CLOSURE");a.enableSloEndTime=Cx(a.session,"enableSloEndTime");a.enableEscalationOwnerRolloutUi=Cx(a.session,"enableEscalationOwnerRolloutUi");var b,c;(c=a.sloStatus)?(c=c.closureBounds,c=RI(ee(c))?c.targetTime:void 0):c=void 0;a.closureSloTarget=(b=c==null?void 0:c.seconds)!=null?b:0;b=a.sloStartTime;a.hasSloStartTime=!!b&&b.seconds!==0;b=a.sloEndTime;a.hasSloEndTime=!!b&&b.seconds!==0;a.sloId&&
a.sloId!=="0"?a.editSloLink=Hq.editSlo.makeHref(a.sloId):a.editSloLink=void 0;a.componentId?a.componentSloLink=Hq.editComponent.makeHref(a.componentId):a.componentSloLink=void 0},b9c=function(a){a.isAccordionExpanded=!a.isAccordionExpanded;szc(a.userPreferencesManager,{expandIssueSlo:a.isAccordionExpanded}).pipe(tj(a.destroyed$)).subscribe();Yo("issueSlo","toggle",a.isAccordionExpanded?"open":"close")};Y_.prototype.updateSloStartTime=function(a){this.onSloStartTimeChange.next(a)};
Y_.prototype.updateSloEndTime=function(a){this.onSloEndTimeChange.next(a)};Y_.prototype.trackOpenSlo=function(){Yo("editSlo","open","fromIssueSloBox")};Y_.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(Y_)))(b||Y_)}}();
Y_.\u0275cmp=F({type:Y_,selectors:[["b-issue-slo-box"]],inputs:{sloId:"sloId",componentId:"componentId",sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",isEditable:"isEditable",issueCreationTimestamp:"issueCreationTimestamp",showInternalOnlyFieldBadge:"showInternalOnlyFieldBadge",escalationOwner:"escalationOwner"},outputs:{onSloStartTimeChange:"onSloStartTimeChange",onSloEndTimeChange:"onSloEndTimeChange"},standalone:!1,features:[xj,$w],decls:20,vars:22,consts:[["trigger",
"cdkOverlayOrigin"],["canonicalHovercard","onedevHovercard"],[1,"slo-container"],[1,"issue-slo-box-title",3,"click"],["svgIcon","shield_person_24px","matTooltip","Visible to internal only","aria-label","Visible to internal only",1,"icon-xs","internal-only-badge"],[1,"slo-body"],[1,"slo-status"],[3,"hidden"],[3,"sloStatus","sloStartTime","sloEndTime","includeSloMetric","includeObjective"],[3,"sloStatus","sloStartTime","sloEndTime","includeNoSlo"],["type","button","mat-icon-button","","aria-label",
"Toggle the detailed SLO status","matTooltip","Toggle the detailed SLO status",1,"expand-button","small",3,"click"],["svgIcon","arrow-up",1,"icon-s"],["svgIcon","arrow-down",1,"icon-s"],[1,"slo-actions",3,"hidden"],["id","start-time-row",1,"slo-action"],["id","end-time-row",1,"slo-action"],["id","escalation-owner-row",1,"slo-action"],[1,"slo-action"],["href","http://go/buganizer/guides/defer-slos","target","_blank","aria-label","View help page on deferring slos","matTooltip","View help page on deferring slos",
1,"clear-link"],[1,"slo-edit"],["role","button","tabindex","0","aria-label","Modify the slo start date value","matTooltip","Modify the slo start date value","cdkOverlayOrigin","",1,"bv2-metadata-link",3,"keydown.enter","keydown.space","click"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],["mode","datetime",3,"timestamp"],[3,"closePicker","sloEditCommit","sloStatus","sloEditTime","noneButtonEnabled"],["role","button","tabindex","0","aria-label","Modify the slo end date value",
"matTooltip","Modify the slo end date value","cdkOverlayOrigin","",1,"bv2-metadata-link",3,"click","keydown.enter","keydown.space"],["id","escalation-owner-label",3,"onedevHovercardTrigger"],[1,"onedev-hovercard-content"],["href","https://goto.google.com/b-slo-attribution","target","_blank"],[3,"user","email","enableSmallChip"],["aria-label","Navigate to the applied slo page","matTooltip","Navigate to the applied slo page",1,"slo-link","bv2-metadata-link","slo-definition"],["aria-label","Navigate to the applied slo page",
"matTooltip","Navigate to the applied slo page",1,"slo-link","bv2-metadata-link","slo-definition",3,"click"],["aria-label","Open page to select an slo","matTooltip","Open page to select an slo",1,"bv2-metadata-link","bv2-metadata-tool","slo-definition",3,"click"]],template:function(a,b){a&1&&(L(0,"div",2)(1,"span",3),Q("click",function(){return b9c(b)}),L(2,"label"),U(3,"SLO Status"),M(),I(4,owb,1,0,"mat-icon",4),M(),L(5,"div",5)(6,"div",6)(7,"div",7),N(8,"b-aggregated-slo-status-indicator",8),M(),
L(9,"div",7),N(10,"b-slo-status-summary",9),M(),L(11,"button",10),Q("click",function(){return b9c(b)}),I(12,pwb,1,0,"mat-icon",11)(13,qwb,1,0,"mat-icon",12),M()(),L(14,"div",13),I(15,uwb,9,3,"div",14),I(16,zwb,10,5,"div",15),I(17,Cwb,12,2,"div",16),I(18,Ewb,4,3,"div",17),I(19,Fwb,3,1,"div",17),M()()());a&2&&(rk("internal-only",b.showInternalOnlyFieldBadge),E(4),J(b.showInternalOnlyFieldBadge?4:-1),E(3),K("hidden",b.isAccordionExpanded),E(),K("sloStatus",b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",
b.sloEndTime)("includeSloMetric",!0)("includeObjective",!0),E(),K("hidden",!b.isAccordionExpanded),E(),K("sloStatus",b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeNoSlo",!0),E(),Hj("aria-expanded",b.isAccordionExpanded),E(),J(b.isAccordionExpanded?12:13),E(2),K("hidden",!b.isAccordionExpanded),E(),J(b.isEditable?15:-1),E(),J(b.enableSloEndTime&&b.isEditable?16:-1),E(),J(b.enableEscalationOwnerRolloutUi?17:-1),E(),J(b.editSloLink?18:-1),E(),J(!b.editSloLink&&b.componentSloLink?
19:-1))},dependencies:[EA,YF,WF,dA,bA,xH,DH,K_,tN,A_,VZ,Iz,Hz,bN,py],styles:["[_nghost-%COMP%]{align-items:baseline}[_nghost-%COMP%]:focus{outline:0}.slo-container[_ngcontent-%COMP%]{padding-bottom:8px}.internal-only[_ngcontent-%COMP%]{display:flex;flex-direction:column;border-radius:2%;margin:0 5px;background-color:#f4f5f6;background-color:var(--tonal-fill-grey)}.internal-only[_ngcontent-%COMP%]   .issue-slo-box-title[_ngcontent-%COMP%]{margin:0 14px}.internal-only[_ngcontent-%COMP%]   .issue-slo-box-title[_ngcontent-%COMP%]   .internal-only-badge[_ngcontent-%COMP%]{display:inline-block;color:#188038;color:var(--good-bg-inverse);transform:translate(5px, 5px)}.internal-only[_ngcontent-%COMP%]   .slo-body[_ngcontent-%COMP%]{margin:5 14px}[_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}.internal-only[_ngcontent-%COMP%]:hover   .slo-body[_ngcontent-%COMP%]{box-shadow:0 0 0 1px #9aa0a6;box-shadow:0 0 0 1px var(--c500)}[_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)}.internal-only[_ngcontent-%COMP%]:focus   .slo-body[_ngcontent-%COMP%]{box-shadow:0 0 0 1px #9aa0a6;box-shadow:0 0 0 1px var(--c500)}.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;margin:0 16px;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:-webkit-fill-available}.slo-status[_ngcontent-%COMP%]{display:flex}.slo-actions[_ngcontent-%COMP%]   .slo-action[_ngcontent-%COMP%]{vertical-align:baseline;min-height:24px}.slo-action[_ngcontent-%COMP%]   .slo-edit[_ngcontent-%COMP%]{display:inline-block}.slo-action[_ngcontent-%COMP%]   .slo-definition[_ngcontent-%COMP%]{min-height:24px}.clear-link[_ngcontent-%COMP%]{color:inherit;text-decoration:none}.expand-button[_ngcontent-%COMP%]{margin-left:auto}.expand-button[_ngcontent-%COMP%]   .accordion-icon[_ngcontent-%COMP%]{display:block}.onedev-hovercard-content[_ngcontent-%COMP%]{padding:16px}.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 c9c={MISSING:"MISSING",DELETED:"DELETED",VALID:"VALID"};var Z_=function(){Z.call(this);var a=this;this.data=x(dI);this.dialogRef=x(YH);this.teamsService=x(kF);this.componentActions=x(DO);this.userPreferencesManager=x(NF);this.snackBar=x(JA);this.analytics=x(nE);this.errorHandler=x(PA);this.componentFridge=x(AB);this.warningType=this.data.warningType;this.componentId=this.data.componentId;this.parentComponentId=this.data.parentComponentId;this.teamSuggestionIds=this.data.teamSuggestionIds;this.header="";this.suggestedTeams$=Qyc(this.teamsService,this.teamSuggestionIds).pipe(C(function(b){for(var c=
[],d=l(a.teamSuggestionIds),e=d.next();!e.done;e=d.next()){e=e.value;var f=b.get(e);f&&c.push(new d9c(e,f.collapsedPathNames))}return c}),rj([]));this.myTeams$=mF(this.teamsService,"").pipe(C(function(b){return b.map(function(c){return new d9c(c.teamId,c.pathNames)})}));this.teamOptions=[];this.selectedTeam=new d9c(this.teamSuggestionIds[0]||"0",[]);this.teamAction="CHANGE";this.componentSetting=Hq.editComponent.makeHref(this.componentId);this.WarningType=c9c;si([this.suggestedTeams$,this.myTeams$]).pipe(C(function(b){var c=
l(b);b=c.next().value;c=c.next().value;return[].concat(p(b),p(c))}),C(lCa(function(b){return b.teamId})),tj(this.destroyed$)).subscribe(function(b){a.teamOptions=b;a.selectedTeam=b[0]})};Y(Z_,Z);Z_.\u0275dir=Z.\u0275dir;Z_.prototype.ngOnInit=function(){this.warningType==="MISSING"?this.header="Add team to the component":this.warningType==="DELETED"&&(this.header="Change team mapping for this component")};
Z_.prototype.confirm=function(){var a=this,b,c,d,e,f;return v(function(h){if(h.nextAddress==1){if(a.teamAction==="CHANGE")return a.parentComponentId?w(h,a.componentActions.get(a.parentComponentId),6):(e9c(a,"0",a.selectedTeam.teamId),h.jumpTo(0));b=wd;return w(h,pi(a.userPreferencesManager.teamWarningPreferences$),4)}if(h.nextAddress!=6)return c=b(h.yieldResult),d=new Date,c.componentTeamWarnings.push({componentId:a.componentId,dismissMillis:d.getTime()}),yzc(a.userPreferencesManager,c).pipe(tj(a.destroyed$)).subscribe(function(){a.analytics.trackEvent("teamWarning",
"dismiss","componentId",Number(a.componentId));var k;(k=a.dialogRef)==null||k.close()},function(){}),h.jumpTo(0);e=h.yieldResult;e9c(a,((f=e.team)==null?void 0:f.id)||"0",a.selectedTeam.teamId);ji(h)})};
var e9c=function(a,b,c){a.componentActions.updateTeam(a.componentId,{inherit:c===b,id:c}).then(function(d){a.componentFridge.announce(d);a.analytics.trackEvent("teamWarning","updateTeam");a.snackBar.open("Team mapping changed","",{duration:4E3});var e;(e=a.dialogRef)==null||e.close(a.selectedTeam.teamId)}).catch(function(d){a.errorHandler.errorHandler(null,d)})};Z_.prototype.selectOption=function(a){this.selectedTeam=a};
Z_.prototype.trackClick=function(a){this.analytics.trackEvent("teamWarning","click",a)};Z_.prototype.getMomaTeamLink=function(){return"https://moma.corp.google.com/team/"+this.selectedTeam.teamId};Z_.\u0275fac=function(a){return new (a||Z_)};
Z_.\u0275cmp=F({type:Z_,selectors:[["b-team-warning-dialog"]],standalone:!1,features:[xj],decls:11,vars:3,consts:[["suggestedTeamOption",""],["optionTemplate",""],["mat-dialog-title",""],["mat-dialog-content",""],["type","button","mat-button","","mat-dialog-close","",1,"medium"],["type","button","mat-flat-button","","cdkFocusInitial","",3,"click"],["target","_blank",3,"click","href"],["aria-label","Quick team actions",3,"ngModelChange","ngModel"],["value","NONE"],["value","CHANGE"],[4,"ngTemplateOutlet"],
["target","_blank",3,"href"],[1,"suggested-teams"],[3,"valueChange","disabled","value","options","includeEmptyOption","optionTemplate"],["mat-icon-button","","target","_blank","matTooltip","Go to Moma Team page.",1,"small",3,"click"],["svgIcon","pop-out",1,"icon-s"],[1,"suggested-team-option"]],template:function(a,b){if(a&1){var c=y();L(0,"h1",2);U(1);M();I(2,Iwb,13,3,"div",3);I(3,Kwb,6,2,"div",3);G(4,Pwb,1,1,"ng-template",null,0,Gk);L(6,"mat-dialog-actions")(7,"button",4);U(8," Cancel ");M();L(9,
"button",5);Q("click",function(){z(c);return B(b.confirm())});U(10," Confirm ");M()()}a&2&&(E(),tk(b.header),E(),J(b.warningType===b.WarningType.MISSING?2:-1),E(),J(b.warningType===b.WarningType.DELETED?3:-1))},dependencies:[oy,EA,hG,oG,dA,aA,bA,fI,hI,jI,iI,qK,rK,YF,WF,cU],styles:["mat-radio-button[_ngcontent-%COMP%]{margin-top:10px}.suggested-teams[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;align-items:center;margin-top:5px}a.mat-mdc-icon-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}[_nghost-%COMP%]     onedev-single-select button{border-color:#bdc1c6}  span.suggested-team-option{display:inline-block;width:490px}"]});
var d9c=function(a,b){this.teamId=a;this.teamPath=b.join(" > ")};var a0=function(){Z.apply(this,arguments);this.matDialogService=x(eI);this.analytics=x(nE);this.teamSuggestions=[];this.messageOnly=!1;this.updateTeam=new iE};Y(a0,Z);a0.\u0275dir=Z.\u0275dir;a0.prototype.ngOnInit=function(){};a0.prototype.ngOnChanges=function(){this.warningType==="MISSING"?(this.warningMessage="Team mapping is missing",this.buttonName="Add"):this.warningType==="DELETED"&&(this.warningMessage="This team no longer exists",this.buttonName="Change")};
a0.prototype.openDialog=function(){var a=this;this.analytics.trackEvent("teamWarning","open");ZH(this.matDialogService.open(Z_,{width:"580px",data:{warningType:this.warningType,componentId:this.componentId,parentComponentId:this.parentComponentId,teamSuggestionIds:this.teamSuggestions.map(function(b){return String(b.teamId)})}})).pipe(tj(this.destroyed$)).subscribe(function(b){b&&a.updateTeam.emit(b)})};a0.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(a0)))(b||a0)}}();
a0.\u0275cmp=F({type:a0,selectors:[["b-team-warning"]],inputs:{warningType:"warningType",componentId:"componentId",parentComponentId:"parentComponentId",teamSuggestions:"teamSuggestions",messageOnly:"messageOnly"},outputs:{updateTeam:"updateTeam"},standalone:!1,features:[xj,$w],decls:4,vars:2,consts:[["messageType","caution","format","app"],["format","fill","mat-button","",3,"click"]],template:function(a,b){a&1&&(L(0,"b-callout",0)(1,"b-callout-body"),U(2),M(),I(3,Qwb,3,1,"b-callout-actions"),M());
a&2&&(E(2),V(" ",b.warningMessage," "),E(),J(b.messageOnly?-1:3))},dependencies:[DM,sM,tM],encapsulation:2});var Wwb=function(){return[]},Twb=function(a){return[a]},rxb=function(a){return{$implicit:a}},ayb=function(a){return{customFieldId:a}},b0=function(){var a=this;this.activeSession=x(Ks);this.editIssueService=x(XI);this.issueService=x(GD);this.issueFullFridge=x(pE);this.issuePermissionService=x(BF);this.issueDetailsBrain=x(zF);this.constants=x(oI);this.refreshMonitor=x(JD);this.userPreferencesManager=x(NF);this.documentationLinks=x(XH);this.workspaceService=x(U_);this.changelistApi=x(lB);this.issueMarkAsDuplicateDialogService=
x(QR);this.analytics=x(nE);this.issueLimits=x(UR);this.jspbPrincipalTypes=x(XE);this.issueId$=new nj(1);this.distinctIssueId$=this.issueId$.pipe(jj());this.issue$=this.distinctIssueId$.pipe(sj(function(b){return a.editIssueService.editableIssue$(b)}));this.enableTriageView=Cx(this.activeSession,"enableTeamScope")&&this.activeSession.isInternalSession();this.isGerritEnabled=Cx(this.activeSession,"enableGerritChanges");this.sessionIsInternal=this.activeSession.isInternalSession();this.sessionIsExternal=
this.activeSession.isExternalSession();this.defaultAssigneeQuickActionEnabled=this.showSloStatus=this.sessionIsInternal;this.showCodeChanges=!this.sessionIsExternal||this.isGerritEnabled;this.HOTKEYS=nq;this.trackCustomField=function(b,c){return"{"+c.componentId+", "+c.customFieldId+"}"};this.FieldType=rN;this.ListFieldType=ENc;this.IssueFieldName=Wic;this.codeChangesValidator=SEa;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.isImplicitAccessEnabled$=this.issuePermissionService.isImplicitAccessEnabled$;this.shouldDisplayWtdmUi$=this.issuePermissionService.isWithinExternalComponent$.pipe(C(function(b){return!a.activeSession.isExternalSession()&&!b}));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(C(Gwb));this.component$=this.issueDetailsBrain.component$;this.effort$=
this.issueDetailsBrain.effort$;this.staffing$=this.issueDetailsBrain.staffing$;this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.triagePhase$=this.issueId$.pipe(sj(function(b){return pvc(a.issueService,b)}),C(function(b){var c,d;return(d=(c=b.triage)==null?void 0:c.phase)!=null?d:"UNSPECIFIED"}));this.triagePhaseUrl$=si([this.teamId$,this.triagePhase$]).pipe(C(function(b){var c=l(b);b=c.next().value;(c=c.next().value)&&c!=="UNSPECIFIED"||(c="NEW");return Hq.viewTriage.makeHref(b!=
null?b:0,0,Sr[c])}));this.issueFields$=this.distinctIssueId$.pipe(C(function(b){return a.editIssueService.issueFields(b)}),pj({refCount:!0,bufferSize:1}));this.isForgottenFourPrimary$=this.issueFields$.pipe(sj(function(b){return b.isForgottenFourPrimary$}));this.showHiddenFieldsLabel$=this.issueFields$.pipe(sj(function(b){return b.showHiddenFieldsLabel$}));this.hasHiddenFields$=this.issueFields$.pipe(sj(function(b){return b.hasHiddenFields$}));this.isChangelistPrimary$=this.issueFields$.pipe(sj(function(b){return b.isChangelistPrimary$}));
this.isSeverityPrimary$=this.issueFields$.pipe(sj(function(b){return b.isSeverityPrimary$}));this.isSloStatusPrimary$=this.issueFields$.pipe(sj(function(b){return b.isSloStatusPrimary$}));this.hiddenCustomFields$=this.issueFields$.pipe(sj(function(b){return b.hiddenCustomFields$}));this.visibleCustomFields$=this.issueFields$.pipe(sj(function(b){return b.visibleCustomFields$}));this.visibleGlobalCustomFields$=this.issueFields$.pipe(sj(function(b){return b.visibleGlobalCustomFields$}));this.issueQuickActions$=
this.distinctIssueId$.pipe(C(function(b){return a.editIssueService.issueQuickActions(b)}),pj({refCount:!0,bufferSize:1}));this.issueAssigneeQuickAction$=this.issueQuickActions$.pipe(sj(function(b){return b.issueAssigneeQuickAction$}));this.issueStatusQuickAction$=this.issueQuickActions$.pipe(sj(function(b){return b.issueStatusQuickAction$}));this.trackerId$=this.component$.pipe(C(function(b){return b==null?void 0:b.trackerId}));this.priorityChoices=this.constants.priorities.map(function(b){return{value:b,
displayText:b,hotkey:WPa(b)}});this.severityChoices=this.constants.severities.map(function(b){return{value:b,displayText:b}});this.typeChoices=this.constants.editIssueTypeChoices;this.phaseChoices=Object.values(Bic).map(function(b){return{value:b,displayText:pr.get(b)}});this.teamHovercardInputs$=si([this.issueDetailsBrain.componentId$,this.teamId$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return{teamId:c?String(c):"0",componentId:b?b:"0"}}));this.isTeamWarningDismissed$=si([this.issue$,
this.userPreferencesManager.preferences$]).pipe(C(function(b){b=l(b);var c=b.next().value;var d,e;return(d=b.next().value.teamWarningPreferences)==null?void 0:(e=d.componentTeamWarnings)==null?void 0:e.some(function(f){return f.componentId===c.componentId})}));this.isPersonalComponent$=this.component$.pipe(C(function(b){var c,d;return b==null?void 0:(c=b.componentPathInfo)==null?void 0:(d=c.componentPathId)==null?void 0:d.includes("19299")}));this.shouldDisplayTeamSuggestions$=si([this.issuePermissionService.userIsComponentAdmin$,
this.isTeamWarningDismissed$,this.teamWarningType$,this.isPersonalComponent$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;var e=c.next().value;c=c.next().value;return b&&!d&&!c&&(e==="MISSING"||e==="DELETED")}));this.showTriagePhaseRow$=this.teamId$.pipe(C(function(b){return a.enableTriageView&&b!=="0"}));this.statusChoices$=this.canonicalIssueId$.pipe(C(function(b){return[].concat(p(fjc.filter(function(c){return c.value!=="DUPLICATE"})),[{value:"DUPLICATE",displayText:b?
"Duplicate of "+b:"Duplicate"}])}),C(function(b){return b.map(function(c){return Object.assign({},c,{hotkey:XPa(c.value)})})}));this.workspaces$=svc(this.refreshMonitor,this.distinctIssueId$).pipe(sj(function(b){return a.workspaceService.listWorkspaces(b)}),pj({refCount:!0,bufferSize:1}));this.pendingChangelists$=svc(this.refreshMonitor,this.distinctIssueId$).pipe(sj(function(b){return a.changelistApi.getPendingChangelistsForIssue(b)}),C(function(b){return b.changelistNumbers.map(String)}),C(function(b){return{cls:b,
hasError:!1}}),cj(function(){return li({cls:[],hasError:!0})}),pj({refCount:!0,bufferSize:1}));this.pendingCodeChanges$=this.issue$.pipe(sj(function(b){return a.activeSession.isExternalSession()?li({issue:b,changelists:{cls:[],hasError:!1}}):a.pendingChangelists$.pipe(C(function(c){return{issue:b,changelists:c}}))}),C(function(b){var c=b.issue;b=b.changelists;c=SCc(c);return{changes:[].concat(p(b.cls),p(c)),hasError:b.hasError}}));this.USER_FIELD_HOVERCARD_CONFIG=Object.assign({},new AH,{position:[pBc]});
this.ACCESS_LIMITS_HOVERCARD_CONFIG=Object.assign({},new AH,{position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-30}]});this.issueIsOnInternalComponent$=this.component$.pipe(C(function(b){var c;return(b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel)==="INTERNAL"}));this.shouldDisplayEffort$=this.issueIsOnInternalComponent$.pipe(C(function(b){return a.sessionIsInternal&&b||Cx(a.activeSession,"enableEstimatedEffortExternalUi")}));this.collaboratorUserPrincipalValidator=
function(b){var c,d,e;return v(function(f){if(f.nextAddress==1){if(!b)return f.return("This field is required");c=b.split(/[,\s]+/).map(function(h){return h.trim()}).filter(Boolean);return w(f,vyc(a.jspbPrincipalTypes,c,!1),2)}d=f.yieldResult;e=c.find(function(h){var k;return((k=d[h])==null?void 0:k.principalType)!=="USER"});return f.return(e?"You can only add users to collaborators.":"")})};this.emailsValidator=function(b){var c,d,e,f;return v(function(h){if(b==null)return h.return("This field is required");
c=b.split(/[,\s]+/).map(function(k){return k.trim()}).filter(Boolean);d=l(c);for(e=d.next();!e.done;e=d.next()){f=e.value;if(f.match(kFc))return h.return(f+" does not appear to be an email: zero-width characters detected");if(!vha.test(f)&&!vjc.test(f))return h.return(f+" does not appear to be an email")}return h.return("")})};this.reconcileView={assignee:function(b){var c,d;b.value=(d=(c=tp(a.issue$))==null?void 0:c.assignee)!=null?d:""},reporter:function(b){var c,d;b.value=(d=(c=tp(a.issue$))==
null?void 0:c.reporter)!=null?d:""},verifier:function(b){var c,d;b.value=(d=(c=tp(a.issue$))==null?void 0:c.verifier)!=null?d:""},ccs:function(b){var c,d;b.values=(d=(c=tp(a.issue$))==null?void 0:c.cc)!=null?d:[]},collaborators:function(b){var c,d;b.values=(d=(c=tp(a.issue$))==null?void 0:c.collaborators)!=null?d:[]},issueType:function(b){var c,d;b.value=(d=(c=tp(a.issue$))==null?void 0:c.type)!=null?d:null}}};b0.prototype.ngOnChanges=function(){this.issueId$.next(this.issueId)};
var myb=function(a){var b=a.issuePermissionService.isCurrentUserCCd();a.analytics.trackEvent("editIssue","toggleCC (appbar)",(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.cc.filter(function(e){return!AF(a.issuePermissionService,e)}):[].concat(p(c.cc),[a.activeSession.getUserEmail()]);return vFc(a.editIssueService,a.issueId,d)};
b0.prototype.toggleCollaborators=function(){var a=this,b=this.issuePermissionService.isCurrentUserCollaborator();this.analytics.trackEvent("editIssue","toggleCollaborators (appbar)",(!b).toString());var c=this.editIssueService.editableIssue(this.issueId),d=[];d=b?c.collaborators.filter(function(e){return!AF(a.issuePermissionService,e)}):[].concat(p(c.collaborators),[this.activeSession.getUserEmail()]);return wFc(this.editIssueService,this.issueId,d)};
b0.prototype.toggleAccessLimits=function(){var a=this,b;return v(function(c){if(c.nextAddress==1)return a.issueLimits.isOpen()?c.return():w(c,pi(a.issueDetailsBrain.componentId$),2);b=c.yieldResult;if(!b)return c.return();a.issueLimits.open({componentId:b,issueId:a.issueId});ji(c)})};b0.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};
var hyb=function(a,b){return iyb(a.editIssueService,a.issueId,b.newEmail).finally(function(){a.reconcileView.assignee(b.editField)})},cyb=function(a,b){return v(function(c){return c.return(dyb(a.editIssueService,a.issueId,b.newEmail).finally(function(){a.reconcileView.reporter(b.editField)}))})},jyb=function(a,b){return v(function(c){return c.return(kyb(a.editIssueService,a.issueId,b.newEmail).finally(function(){a.reconcileView.verifier(b.editField)}))})},nyb=function(a,b){return v(function(c){return c.return(vFc(a.editIssueService,
a.issueId,b.newUsers).finally(function(){b.editField&&a.reconcileView.ccs(b.editField)}))})},lyb=function(a,b){return v(function(c){return c.return(wFc(a.editIssueService,a.issueId,b.newUsers).finally(function(){b.editField&&a.reconcileView.collaborators(b.editField)}))})},eyb=function(a,b,c){var d;return v(function(e){if(e.nextAddress==1)return w(e,pi(a.trackerId$),2);d=e.yieldResult;return e.return(pFc(a.editIssueService,a.issueId,c,d).finally(function(){a.reconcileView.issueType(b)}))})},hs=function(a,
b){a.analytics.trackEvent("editIssue","quickAction (sidebar)",b==null?void 0:b.displayText);return tFc(a.editIssueService,a.issueId,b)},gyb=function(a,b){var c;return v(function(d){if(d.nextAddress==1){a:switch(b){case "NEW":case "ASSIGNED":case "ACCEPTED":case "FIXED":case "VERIFIED":case "NOT_REPRODUCIBLE":case "INTENDED_BEHAVIOR":case "OBSOLETE":case "INFEASIBLE":case "INACTIVE":case "DUPLICATE":var e=b;break a;default:e=null}return(c=e)?c!=="DUPLICATE"?d.jumpTo(2):w(d,NUc(a.issueMarkAsDuplicateDialogService,
a.issueId),3):d.return()}if(d.nextAddress!=2)return d.return();Jwc(a.analytics,c);return d.return(sFc(a.editIssueService,a.issueId,c))})};b0.prototype.isSaving$=function(a){var b=this;return this.distinctIssueId$.pipe(C(function(c){return b.editIssueService.savingState(c)}),sj(function(c){return iFc(c,a)}))};b0.prototype.getAccessLimitLevelDisplay=function(a){return N1a(a)};b0.\u0275fac=function(a){return new (a||b0)};
b0.\u0275cmp=F({type:b0,selectors:[["edit-issue-metadata"]],inputs:{issueId:"issueId"},standalone:!1,features:[$w],decls:2,vars:3,consts:[["typeField",""],["priorityField",""],["statusField",""],["canonicalHovercard","onedevHovercard"],["ialCard","onedevHovercard"],["assigneeField",""],["sloField",""],["severityField",""],["codeChangesFields",""],["foundInField",""],["targetedToField",""],["verifiedInField",""],["inProdField",""],["forgottenFourFields",""],["customFieldTemplate",""],["phaseField",
""],["canonicalCardBody",""],["implicitAccessHelpBubble",""],[3,"valueChange","emailChange","name","title","value","user","isSaving"],[3,"valueChange","name","title","type","value","choices","readonly","disabled"],[1,"flex-wrappable","flex-kids-y"],[1,"flex-1",3,"onHotkey","valueChange","name","title","type","tooltip","value","choices","hotkey","readonly","disabled","showHotkeyHint"],[1,"status-field-row"],[3,"onHotkey","valueChange","name","title","type","value","choices","showHotkeyHint","hotkey",
"readonly","disabled","onedevHovercardActive","onedevHovercardTrigger"],[1,"phase-field-row"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"effort","effortSpec","disabled"],[1,"bv2-issue-metadata-field"],["tabindex","0",1,"bv2-issue-metadata-field-inner","bv2-readonly",3,"onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig"],[1,"bv2-editable-title","access-level-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,"click","keydown.enter","keydown.space","matTooltip"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],["mat-button","","target","_blank","aria-label","Learn more about issue access limits",1,"primary","bv2-metadata-link","keep-focus-ring",3,"href"],[1,"flex-kids-y"],[1,"implicit-access-header","flex-kids-x","flex-cross-axis-centered","flex-spread","full-width"],[1,"flex-1",3,"onHotkey","valueChange","emailChange",
"name","title","hotkey","value","user","isSaving"],[1,"flex-1",3,"valueChange","emailChange","name","title","value","user","isSaving"],[3,"userInclusionToggle","valueChange","toggleAccessLimits","title","values","users","includeSelfActionDescription","includeSelfActionLongDescription","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isSaving","isCurrentUserInCollection","isAllowedToEditCollection","iconName","inputValidator","checkAccessLimits"],[3,
"userInclusionToggle","valueChange","title","values","users","includeSelfActionDescription","includeSelfActionLongDescription","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isSaving","isCurrentUserInCollection","isAllowedToEditCollection","inputValidator","iconName"],[3,"staffing","issueId","isAllowedToEdit"],[3,"readonly","defaultLineCount","title","type","values","tooltip"],[1,"hidden-fields-separator"],[3,"titleWhenCollapsed","titleWhenExpanded"],
[4,"ngTemplateOutlet"],[1,"issue-metadata-field-long",3,"readonly","defaultLineCount","title","type","values","showInternalOnlyFieldBadge"],[1,"issue-metadata-field-short"],[3,"updateTeam","warningType","componentId","parentComponentId","teamSuggestions"],[1,"bv2-metadata-quick-action"],[1,"bv2-field-label-spacer"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],["tooltip","Go to triage view",3,"name","title","type","value","choices","showHotkeyHint",
"disabled"],["matTooltip","Go to triage view",1,"bv2-metadata-link",3,"href"],[3,"onedevIsHovercardReady","issueId"],[3,"effortChange","effort","effortSpec","disabled"],[1,"implicit-access-header-text"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["target","_blank",3,"href"],["tabindex","0","role","button",1,"bv2-metadata-quick-action",3,"hotkey","matTooltip"],["tabindex","0","role","button",1,"bv2-metadata-quick-action",3,"onHotkey","click","keydown.enter","keydown.space","hotkey",
"matTooltip"],[1,"bv2-metadata-link",3,"disabled"],[1,"bv2-metadata-link"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"refreshable"],["tabindex","0",1,"issue-metadata-field-long",3,"onSloStartTimeChange","onSloEndTimeChange","sloStatus","sloStartTime","sloEndTime","sloId","componentId","isEditable","issueCreationTimestamp","showInternalOnlyFieldBadge","escalationOwner"],[1,"flex-1",3,"valueChange","name","title","type","tooltip","value","choices","readonly","disabled"],[3,"valuesChange",
"readonly","defaultLineCount","title","inputValidator","type","values","listFieldDisabled"],[1,"issue-metadata-field-short","issue-metadata-field-short-left",3,"valueChange","name","title","type","multiline","tooltip","value","readonly","disabled"],[3,"valueChange","name","title","type","multiline","tooltip","value","readonly","disabled"],[3,"valueChange","name","title","type","value","tooltip","readonly","disabled"],[3,"save","issue","field","readonly","disabled"]],template:function(a,b){a&1&&(I(0,
oyb,114,174),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.issue$))?0:-1,c)}},dependencies:[cO,oy,EA,eU,qN,W_,X_,DL,xH,yH,DH,zH,GP,Y_,wO,YF,WF,ML,a0,yO,mO,TT,wV,vLc,py],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}/*# sourceMappingURL=edit_issue_metadata.css.map */"]});var f9c=["descriptionArea"],g9c=["container"],c0=function(){Z.call(this);var a=this;this.cdr=x(jE,{self:!0});this.issueFullFridge=x(pE);this.eventsForIssueFridge=x(wD);this.editStatusUpdateDialogService=x(O_);this.statusUpdateFactory=x(Q_);this.statusUpdateService=x(N_);this.issueCommentDialogsService=x(PR);this.contextSensitiveRegistry=x(yF);this.issuePermissionService=x(BF);this.clipboard=x(ZF);this.snackBar=x(JA);this.llmIssueSummaryService=x(hT);this.analytics=x(nE);this.userFeedback=x(iS);this.activeSession=
x(Ks);this.playbookService=x(FF);this.appSearchState=x(hK);this.isPlaybookEnabled=Cx(this.activeSession,"enablePlaybook");this.closeSidebar=new iE;this.navigateToNextIssue=new iE;this.navigateToPreviousIssue=new iE;this.issueId$=new nj(1);this.recommendation$=si([this.issueId$,this.appSearchState.queryState$]).pipe(sj(function(b){var c=l(b);b=c.next().value;c=c.next().value;return c.query?ozc(a.playbookService,b,c.query):li(void 0)}));this.issue$=this.issueId$.pipe(tj(this.destroyed$),sj(function(b){return a.issueFullFridge.watch(b)}),
pj({bufferSize:1,refCount:!0}));this.componentId$=this.issue$.pipe(C(function(b){return(b==null?void 0:b.snapshot[0].componentId)||void 0}));this.accessLevel$=this.issue$.pipe(C(function(b){var c;return b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel}));this.events$=this.issueId$.pipe(tj(this.destroyed$),sj(function(b){return a.eventsForIssueFridge.watch(b)}),C(function(b){return(b==null?void 0:b.events)||[]}));this.firstEvent$=this.events$.pipe(C(function(b){return b.length>0?b[0]:void 0}));
this.statusUpdate$=this.issue$.pipe(C(function(b){return b==null?void 0:b.statusUpdate}));this.statusUpdateNote$=this.statusUpdate$.pipe(Di(fe),C(function(b){return{unlinkifiedComment:b.updateText,formattedComment:b.formattedText}}));this.userCanEditStatusUpdate$=this.issuePermissionService.hasAclToEdit$;this.hasStatusUpdate$=this.statusUpdate$.pipe(C(function(b){return!!b&&b.updateText!==""}));this.firstNote$=this.events$.pipe(tj(this.destroyed$),C(function(b){if(b&&b.length>0&&b[0].commentNumber&&
b[0].commentNumber>-1)return{commentNumber:b[0].commentNumber,unlinkifiedComment:b[0].unlinkifiedComment||"",formattedComment:b[0].formattedComment}}),pj({bufferSize:1,refCount:!0}));this.userCanEditDescription$=this.firstEvent$.pipe(sj(function(b){return b?a.issuePermissionService.canEditComment$(b):li(!1)}));this.hasDescription$=this.events$.pipe(tj(this.destroyed$),C(function(b){return b&&b.length>0&&Nha(b[0])}));this.isFieldsExpanded=this.isDescriptionExpanded=this.isStatusUpdateExpanded=!0;this.editTitleMode=
this.isSavingTitle=!1;this.draftTitle="";this.FormattingMode=ke;this.descriptionHasMore=!0;this.showFullDescription=!1;this.HIDDEN="HIDDEN";this.BUTTON="BUTTON";this.GENERATING="GENERATING";this.SUMMARY_VISIBLE="SUMMARY_VISIBLE";this.enableIssueSummarizationNoButton=this.llmIssueSummaryService.enableNoButton;this.summaryThumbsDown=this.summaryThumbsUp=this.hasRatedSummary=this.isIssueSummaryExpanded=!1;this.stage$=this.llmIssueSummaryService.stage$;this.issueSummary$=this.llmIssueSummaryService.summary$.pipe(Di(fe),
uj(function(b){b.summary&&a.llmIssueSummaryService.trackEvent("display","issueSidebar")}));this.containerScrolled=!1;this.destroyed$.subscribe(function(){tyb(a)});this.issueId$.pipe(tj(this.destroyed$)).subscribe(function(){tyb(a);a.hasRatedSummary=!1;a.summaryThumbsUp=!1;a.summaryThumbsDown=!1;a.showFullDescription=!1});this.firstNote$.pipe(tj(this.destroyed$)).subscribe(function(){h9c(a)})};Y(c0,Z);c0.\u0275dir=Z.\u0275dir;
c0.prototype.ngOnInit=function(){var a=this;this.isPlaybookEnabled?this.isStatusUpdateExpanded=!1:this.stage$.pipe(tj(this.destroyed$)).subscribe(function(b){switch(b){case "HIDDEN":case "BUTTON":a.isIssueSummaryExpanded=!1;break;case "GENERATING":case "SUMMARY_VISIBLE":a.isIssueSummaryExpanded=!0;break;default:qb(b,"stage had an unknown type")}a.cdr.detectChanges()});this.llmIssueSummaryService.summarizable$.pipe(tj(this.destroyed$)).subscribe(function(b){b.isSummarizable&&a.llmIssueSummaryService.trackEvent("viewSummarizableIssue",
"issueSidebar")})};c0.prototype.ngAfterViewInit=function(){var a=this;this.issueId$.pipe(tj(this.destroyed$)).subscribe(function(){a.container.nativeElement.scrollTop=0})};var h9c=function(a){setTimeout(function(){var b;a.descriptionHasMore=((b=a.descriptionArea)==null?void 0:b.nativeElement.scrollHeight)>130;a.cdr.detectChanges()})};g=c0.prototype;g.copyIssueId=function(a){this.clipboard.copy(a);this.snackBar.open("IssueId copied","",{duration:2E3});this.analytics.trackEvent("issueSidebar","copyIssueId")};
g.generateIssueSummary=function(){this.analytics.trackEvent("issueSidebar","generateIssueSummary");this.llmIssueSummaryService.trackEvent("click","issueSidebar");n$a(this.llmIssueSummaryService)};g.trackThumbsUp=function(a){this.summaryThumbsUp=this.hasRatedSummary=!0;this.llmIssueSummaryService.trackThumbsUp(a,"issueSidebar")};g.trackThumbsDown=function(a){this.summaryThumbsDown=this.hasRatedSummary=!0;this.llmIssueSummaryService.trackThumbsDown(a,"issueSidebar")};
g.copySummary=function(a){a&&a.summary!==""&&(this.clipboard.copy(a.summary),this.snackBar.open("Issue summary copied to clipboard","",{duration:2E3}),TXc(this.llmIssueSummaryService,a,"issueSidebar"))};g.openFeedbackDialog=function(a){this.userFeedback.startFeedback();UXc(this.llmIssueSummaryService,a)};
g.editStatusUpdate=function(){var a=this,b,c,d,e,f,h,k,q;return v(function(u){switch(u.nextAddress){case 1:return w(u,pi(a.issueId$),2);case 2:return b=u.yieldResult,w(u,pi(a.componentId$),3);case 3:return c=u.yieldResult,w(u,pi(a.statusUpdate$),4);case 4:if((d=u.yieldResult)!=null){e=d;u.jumpTo(5);break}return w(u,H8c(a.statusUpdateFactory,b),6);case 6:e=u.yieldResult;case 5:return f=e,w(u,pi(a.accessLevel$),7);case 7:return k=(h=u.yieldResult)&&h==="INTERNAL"?"INTERNAL":"EXTERNAL",w(u,a.editStatusUpdateDialogService.show(f,
k,c),8);case 8:q=u.yieldResult;if(!q)return u.return();a.statusUpdateService.update(q).subscribe(function(A){a.analytics.trackEvent("issueSidebar","edit","statusUpdate",A.updateText.length===0);a.issueFullFridge.manualUpdate(b,function(D){D.statusUpdate=A});a.issueFullFridge.poke(b)});ji(u)}})};
var Xyb=function(a){var b,c;return v(function(d){switch(d.nextAddress){case 1:return w(d,pi(a.issueId$),2);case 2:return b=d.yieldResult,w(d,pi(a.firstEvent$),3);case 3:return(c=d.yieldResult)?w(d,C9a(a.issueCommentDialogsService,b,c),4):d.return();case 4:return w(d,a.eventsForIssueFridge.poke(b),5);case 5:a.analytics.trackEvent("issueSidebar","edit","description",Nha(c)),ji(d)}})},ryb=function(a){var b;return v(function(c){if(c.nextAddress==1)return w(c,pi(a.issue$),2);b=c.yieldResult;if(!b)return c.return();
a.draftTitle=b.snapshot[0].title;a.editTitleMode=!0;ji(c)})},tyb=function(a){a.isSavingTitle||(a.draftTitle="",a.editTitleMode=!1)};c0.prototype.saveTitle=function(){var a=this,b;return v(function(c){if(c.nextAddress==1)return w(c,pi(a.issue$),2);b=c.yieldResult;if(!b||b.snapshot[0].title===a.draftTitle)return tyb(a),c.return();a.isSavingTitle=!0;Nwc(a.issueFullFridge,b.issueId,a.draftTitle).subscribe(function(){a.analytics.trackEvent("issueSidebar","edit","title");a.isSavingTitle=!1;tyb(a)});ji(c)})};
c0.prototype.upvoted=function(a){this.analytics.trackEvent("issueSidebar","toggle","vote",a)};pg.Object.defineProperties(c0.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){a?(this.issueId$.next(String(a)),this.contextSensitiveRegistry.issueIdOverride$.next(String(a)),this.analytics.trackEvent("issueSidebar","changeIssue")):this.contextSensitiveRegistry.issueIdOverride$.next(null)}},content:{configurable:!0,enumerable:!0,set:function(a){a&&(this.descriptionArea=a,h9c(this))}}});
c0.\u0275fac=function(a){return new (a||c0)};
c0.\u0275cmp=F({type:c0,selectors:[["issue-sidebar"]],viewQuery:function(a,b){a&1&&(ek(f9c,5),ek(g9c,5));if(a&2){var c;ik(c=jk())&&(b.content=c.first);ik(c=jk())&&(b.container=c.first)}},inputs:{issueId:"issueId"},outputs:{closeSidebar:"closeSidebar",navigateToNextIssue:"navigateToNextIssue",navigateToPreviousIssue:"navigateToPreviousIssue"},standalone:!1,features:[Bk([jE]),xj],decls:24,vars:16,consts:[["container",""],["spinner",""],["aiHelp",""],["descriptionArea",""],[1,"container","flex-kids-y",
3,"scroll"],[1,"top-actions","flex-kids-x","space-between","border-bottom"],[1,"flex-kids-x","align-items-center","margin-s-left","gap-s"],[1,"action-buttons"],[3,"issueId","upvoted","voteCount"],["type","button","mat-icon-button","","matTooltip","Previous issue","matTooltipPosition","above","aria-label","Previous issue",3,"click"],["svgIcon","chevron-left"],["type","button","mat-icon-button","","matTooltip","Next issue","matTooltipPosition","above","aria-label","Next issue",3,"click"],["svgIcon",
"chevron-right"],["type","button","mat-icon-button","","matTooltip","Close sidebar","matTooltipPosition","above","aria-label","Close sidebar",3,"click"],["svgIcon","close"],[1,"title"],[1,"details","flex-kids-y","padded-s-sides"],[1,"card-container"],[1,"heading-xs","muted","hover-link",3,"click","href"],[1,"a11y-only"],["type","button","mat-icon-button","","aria-label","copy issue id",1,"small","fade-icon-button","copy-issue-id",3,"click"],["svgIcon","copy",1,"icon-xs"],[3,"onVote","issueId","upvoted",
"voteCount"],[1,"flex"],["type","button","mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",1,"fade-icon-button","small",3,"click"],["svgIcon","edit-outline",1,"icon-s"],[1,"full-width"],["matInput","","type","text","aria-label","Edit issue title","rows","3",3,"ngModelChange","cdkTextareaAutosize","cdkAutosizeMinRows","ngModel","bFocus"],[1,"flex-kids-x","gap","justify-flex-end","padded-bottom","border-bottom"],["type","button","mat-stroked-button","",1,"small"],
["type","button","mat-flat-button","","color","primary",1,"small",3,"click","disabled"],["type","button","mat-stroked-button","",1,"small",3,"click"],[4,"ngTemplateOutlet"],[1,"card","status-update"],[1,"card-header"],[1,"card-header-inner-left"],["svgIcon","group","color","primary",1,"icon-s"],[1,"card-header-inner-right"],["type","button","mat-icon-button","","aria-label","Edit the status update","matTooltip","Edit the status update","matTooltipPosition","above",1,"small","edit-button"],["type",
"button","mat-icon-button","","aria-label","Toggle the status update view for this issue","matTooltip","Toggle the status update view for this issue","matTooltipPosition","above",1,"small","expand-button"],[1,"card","description"],[1,"bv2-issue-metadata","card"],["svgIcon","release-notes-default","color","primary",1,"icon-s"],["type","button","mat-icon-button","","aria-label","Toggle the fields view for this issue","matTooltip","Toggle the fields view for this issue","matTooltipPosition","above",
1,"small",3,"click"],["svgIcon","arrow-down",1,"icon-s"],["svgIcon","arrow-up",1,"icon-s"],[1,"fields-area","margin-top","flex-kids-y"],[1,"card","no-border","issue-summary"],["svgIcon","chat_spark_24px","color","primary",1,"icon-s"],["type","button","mat-icon-button","","aria-label","Show AI generated summary note","dialogLabel","AI generated summary note",1,"small",3,"xapInlineDialog","dialogTabIndex"],["svgIcon","help-outline",1,"icon-s"],["type","button","mat-flat-button","",1,"small","generate-summary"],
["type","button","mat-icon-button","","aria-label","Toggle the AI-generated summary for this issue","matTooltip","Toggle the AI-generated summary for this issue","matTooltipPosition","above",1,"small"],[1,"issue-summary-area"],["type","button","mat-flat-button","",1,"small","generate-summary",3,"click"],["type","button","mat-icon-button","","aria-label","Toggle the AI-generated summary for this issue","matTooltip","Toggle the AI-generated summary for this issue","matTooltipPosition","above",1,"small",
3,"click"],[3,"ngTemplateOutlet"],[3,"content"],[1,"flex-kids-x","justify-flex-end","gap-s","margin-s-top"],["type","button","mat-icon-button","","aria-label","copy summary","matTooltip","Copy issue summary to clipboard",1,"small","copy-issue-summary",3,"click"],["svgIcon","copy",1,"icon-s"],["type","button","mat-icon-button","","aria-label","send feedback","matTooltip","Send feedback",1,"small","summary-feedback",3,"click"],["svgIcon","feedback-outline",1,"icon-s"],["type","button","mat-icon-button",
"","aria-label","rate thumbs up","matTooltip","Rate summary: Good",1,"small","summary-thumbs-up",3,"click","disabled"],["svgIcon","thumb_up_24px",1,"icon-s"],["type","button","mat-icon-button","","aria-label","rate thumbs down","matTooltip","Rate summary: Bad",1,"gmat-button","small","summary-thumbs-down",3,"click","disabled"],["svgIcon","thumb_down_24px",1,"icon-s"],["type","button","mat-icon-button","","aria-label","Edit the status update","matTooltip","Edit the status update","matTooltipPosition",
"above",1,"small","edit-button",3,"click"],["type","button","mat-icon-button","","aria-label","Toggle the status update view for this issue","matTooltip","Toggle the status update view for this issue","matTooltipPosition","above",1,"small","expand-button",3,"click"],[1,"status-update-area"],[3,"issueId","note","issueAccessLevel","formattingMode"],["type","button","mat-icon-button","","aria-label","Edit the description","matTooltip","Edit the description","matTooltipPosition","above",1,"small","edit-button"],
["type","button","mat-icon-button","","aria-label","Toggle the description view for this issue","matTooltip","Toggle the description view for this issue","matTooltipPosition","above",1,"small","expand-button"],[1,"description-area"],["type","button","mat-icon-button","","aria-label","Edit the description","matTooltip","Edit the description","matTooltipPosition","above",1,"small","edit-button",3,"click"],["type","button","mat-icon-button","","aria-label","Toggle the description view for this issue",
"matTooltip","Toggle the description view for this issue","matTooltipPosition","above",1,"small","expand-button",3,"click"],[1,"description-note"],[1,"description-show-more","margin-s-top"],[3,"click"],[1,"card","ai-suggestion"],["svgIcon","devai","color","primary",1,"icon-s"],[1,"recommendation"],[3,"recommendation"],[3,"issueId"],[1,"text-center"]],template:function(a,b){if(a&1){var c=y();L(0,"div",4,0);Q("scroll",function(){z(c);b.containerScrolled=b.container.nativeElement.scrollTop===0?!1:!0;
return B()});L(2,"header")(3,"div",5)(4,"div",6);I(5,pyb,6,3);W(6,"async");M();L(7,"div",7);I(8,qyb,1,3,"b-app-vote-button",8);W(9,"async");L(10,"button",9);Q("click",function(){z(c);return B(b.navigateToPreviousIssue.emit())});N(11,"mat-icon",10);M();L(12,"button",11);Q("click",function(){z(c);return B(b.navigateToNextIssue.emit())});N(13,"mat-icon",12);M();L(14,"button",13);Q("click",function(){z(c);return B(b.closeSidebar.emit())});N(15,"mat-icon",14);M()()();I(16,zyb,4,2,"div",15);W(17,"async");
M();L(18,"div",16);I(19,nzb,32,23,"div",17);W(20,"async");Jj(21,pzb,1,1,"ng-container");M()();G(22,qzb,2,0,"ng-template",null,1,Gk)}if(a&2){var d,e,f,h;rk("wide",b.isPlaybookEnabled);E(2);rk("elevated",b.containerScrolled);E(3);J((d=X(6,8,b.issueId$))?5:-1,d);E(3);J((e=X(9,10,b.issue$))?8:-1,e);E(8);J((f=X(17,12,b.issue$))?16:-1,f);E(3);J((h=X(20,14,b.issue$))?19:21,h)}},dependencies:[dA,aA,bA,YF,WF,Bp,hG,oG,TL,eH,oO,mH,kH,fO,eO,kO,oy,EA,lL,b0,aK,sL,oP,FP,OT,py],styles:["header[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--background);position:-webkit-sticky;position:sticky;top:0;z-index:3}header.elevated[_ngcontent-%COMP%]{box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15)}.action-buttons[_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}.fade-icon-button[_ngcontent-%COMP%]{vertical-align:bottom;opacity:0;-webkit-transition:opacity .25s ease-in-out;transition:opacity .25s ease-in-out}.fade-icon-button[_ngcontent-%COMP%]:focus{opacity:1}.card[_ngcontent-%COMP%]:hover   .fade-icon-button[_ngcontent-%COMP%], .title[_ngcontent-%COMP%]:hover   .fade-icon-button[_ngcontent-%COMP%], .top-actions[_ngcontent-%COMP%]:hover   .fade-icon-button[_ngcontent-%COMP%]{opacity:1}.container[_ngcontent-%COMP%]{width:440px;height:100%;overflow-y:scroll}.container.wide[_ngcontent-%COMP%]{width:640px}.issue-summary[_ngcontent-%COMP%]{background-color:#edfbf1;background-color:var(--green-bg)}.issue-summary-area[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.has-reacted-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.title[_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-wrap:anywhere;font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:500;padding:16px 8px}.title[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:500;padding:8px}.card-container[_ngcontent-%COMP%]{display:grid}.card[_ngcontent-%COMP%]{padding:8px 8px 8px 16px;border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);margin-bottom:16px}.card.no-border[_ngcontent-%COMP%]{border:none}.card-header[_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}.card-header-inner-left[_ngcontent-%COMP%], .card-header-inner-right[_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;gap:8px}.card-header-inner-left[_ngcontent-%COMP%]{font-weight:500;text-transform:uppercase;letter-spacing:.05rem}.card-header-inner-right[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted);font-style:italic}.details[_ngcontent-%COMP%]{width:-moz-fill-available;width:-webkit-fill-available}.ai-suggestion[_ngcontent-%COMP%], .status-update[_ngcontent-%COMP%]{padding-left:12px;border-left:4px solid;border-left-color:#1a73e8;border-left-color:var(--primary)}.description[_ngcontent-%COMP%], .status-update[_ngcontent-%COMP%]{overflow-x:auto}.description-note[_ngcontent-%COMP%]{max-height:160px;overflow:hidden}.full-height[_ngcontent-%COMP%]{max-height:100%}.description-area[_ngcontent-%COMP%], .fields-area[_ngcontent-%COMP%], .status-update-area[_ngcontent-%COMP%]{position:relative}.edit-description[_ngcontent-%COMP%], .edit-status-update[_ngcontent-%COMP%]{opacity:0}.edit-description[_ngcontent-%COMP%]:focus, .edit-status-update[_ngcontent-%COMP%]:focus{opacity:1}.description[_ngcontent-%COMP%]:hover   .edit-description[_ngcontent-%COMP%], .status-update[_ngcontent-%COMP%]:hover   .edit-status-update[_ngcontent-%COMP%]{opacity:1}.recommendation[_ngcontent-%COMP%]{margin-top:12px}\n/*# sourceMappingURL=issue_sidebar.css.map */"]});var i9c=[[["",8,"tooltip-content"]],[["",8,"chip-content"]]],d0=function(){this.compactMode=this.labelOnlyMode=!1};d0.prototype.ngOnInit=function(){};d0.\u0275fac=function(a){return new (a||d0)};
d0.\u0275cmp=F({type:d0,selectors:[["b-base-chip"]],inputs:{labelOnlyMode:"labelOnlyMode",compactMode:"compactMode",labelClass:"labelClass",hovercardAriaLabel:"hovercardAriaLabel"},standalone:!1,ngContentSelectors:[".tooltip-content",".chip-content"],decls:9,vars:7,consts:[["chipHovercard","onedevHovercard"],[1,"bv2-chip"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"field-label-with-help",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"help-label"]],template:function(a,
b){a&1&&(Zj(i9c),L(0,"span",1)(1,"onedev-hovercard",null,0)(3,"div",2)(4,"div",3),ak(5),M()()(),L(6,"div",4)(7,"span",5),ak(8,1),M()()());if(a&2){a=T(2);E(3);Hj("aria-label",b.hovercardAriaLabel);E(3);K("onedevHovercardTrigger",a)("onedevHovercardActive",!b.labelOnlyMode);E();var c;sk((c=b.labelClass)!=null?c:"");rk("compact-chip",b.compactMode)}},dependencies:[xH,DH],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 e0=function(){this.documentationLinks=x(XH);this.documentationLink=Gs()};e0.prototype.ngOnChanges=function(){this.retentionState?this.retentionExpireTime=Sf(this.retentionState.scheduledDeletionTime):this.retentionExpireTime=void 0};e0.\u0275fac=function(a){return new (a||e0)};
e0.\u0275cmp=F({type:e0,selectors:[["retention-help-text"]],inputs:{retentionState:"retentionState",modifiedTime:"modifiedTime"},standalone:!1,features:[$w],decls:1,vars:1,consts:[["target","_blank",3,"href"],[3,"mode","timestamp","paddingLeftPx"]],template:function(a,b){a&1&&I(0,tzb,4,2);a&2&&J(b.retentionState&&b.modifiedTime?0:-1)},dependencies:[tN],encapsulation:2});var f0=function(){this.dateFormatter=x(MI);this.compactMode=!1;this.text=""};f0.prototype.ngOnChanges=function(){var a;((a=this.retentionState)==null?void 0:a.scheduledDeletionTime)!=null?this.text=M6a(Sf(this.retentionState.scheduledDeletionTime),!this.compactMode):this.text="Indefinite"};f0.\u0275fac=function(a){return new (a||f0)};
f0.\u0275cmp=F({type:f0,selectors:[["retention-text"]],inputs:{retentionState:"retentionState",compactMode:"compactMode"},standalone:!1,features:[$w],decls:1,vars:1,template:function(a,b){a&1&&U(0);a&2&&tk(b.text)},encapsulation:2});var g0=function(){this.documentationLinks=x(XH);this.showRetentionInfo=this.dangerZone=this.labelOnlyMode=this.compactMode=this.showOnlyInDangerZone=!1};g0.prototype.ngOnChanges=function(){this.retentionState&&this.retentionState.retentionPeriod&&this.retentionState.scheduledDeletionTime?(this.dangerZone=vzb(this.retentionState),this.showRetentionInfo=this.showOnlyInDangerZone&&this.dangerZone||!this.showOnlyInDangerZone):this.showRetentionInfo=!1};g0.\u0275fac=function(a){return new (a||g0)};
g0.\u0275cmp=F({type:g0,selectors:[["b-retention-chip"]],inputs:{showOnlyInDangerZone:"showOnlyInDangerZone",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode",retentionState:"retentionState",modifiedTime:"modifiedTime"},standalone:!1,features:[$w],decls:1,vars:1,consts:[["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&&I(0,uzb,5,7,"b-base-chip",0);a&2&&J(b.showRetentionInfo?0:-1)},dependencies:[d0,f0,e0],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 j9c=["issueSidenavContainer"],qCb=function(){return[]},SAb=function(a){return{id:a}},h0=function(){var a=this;this.activeSession=x(Ks);this.cdr=x(jE,{self:!0});this.elementRef=x(Ph);this.teamsService=x(kF);this.ngZone=x(Kk);this.userPreferencesManager=x(NF);this.hotlistFridge=x(EC);this.issueFullFridge=x(pE);this.bLocation=x(hL);this.issuePagination=x(iY);this.paths=x(TO);this.errorHandler=x(PA);this.$log=x(NA);this.domSafe=x(SF);this.trackerHelpers=x(sI);this.anayltics=x(nE);this.playbookService=
x(FF);this.appSearchState=x(hK);this.ISSUE_STATUS_JS_ICON_NAME=ejc;this.STATUS_JS_FULL_TEXT=Nd;this.STATUS_JS_TERSE=$ic;this.lastCheckedIndex=null;this.focusedRowIndexChange=new iE;this.columns=[];this.columnsChange=new iE;this.enableColumnSaving=!1;this.sort=null;this.enableSidebar=!1;this.sortChange=new iE;this.rowClick=new iE;this.init=new iE;this.onRowDragDrop=new iE;this.onNextPage=new iE;this.onPrevPage=new iE;this.selectionCallbacks=[];this.GET_ISSUE_ACCESS_LEVEL_TITLE=N1a;this.isLoadingTeams=
!0;this.isTotalEstimatesEnabled=Cx(this.activeSession,"enableAggregationRules");this.enableEscalationOwnerRolloutUi=Cx(this.activeSession,"enableEscalationOwnerRolloutUi");this.isPlaybookEnabled=Cx(this.activeSession,"enablePlaybook");this.isIssueSidebarOpen=this.isIssueSidebarEnabled=!1;this.hoveredRowIndex=null;this.destroyed$=new nj(1);this.searchQuery$=this.appSearchState.queryState$.pipe(C(function(c){return c.query||void 0}));this.hasPlaybook$=this.searchQuery$.pipe(sj(function(c){return c?
jzc(a.playbookService,c).pipe(C(function(d){return!!d})):li(!1)}));this.starInProgress={};this.readUnreadOptOut=Cx(this.activeSession,"readUnreadOptOut");this.enableAddViewCountColumnsOnIlp=Cx(this.activeSession,"enableAddViewCountColumnsOnIlp");var b=Ja(fvb);this.activeSession.isInternalSession()||(Fa(b,"minSlo"),Fa(b,"responseSlo"),Fa(b,"assignmentSlo"),Fa(b,"closureSlo"),Fa(b,"deletionTime"),Fa(b,"team"),Fa(b,"estimate"),Fa(b,"estimateTotalOpen"),Fa(b,"estimateTotalComplete"));this.activeSession.isInternalSession()&&
this.enableEscalationOwnerRolloutUi||Fa(b,"escalationOwner");this.enableAddViewCountColumnsOnIlp||(Fa(b,"oneDayViewCount"),Fa(b,"sevenDayViewCount"),Fa(b,"thirtyDayViewCount"));this.availableColumns=b.map(gvb);this.dragDropLogic=new z8c({ngZone:this.ngZone,nativeElement:this.elementRef.nativeElement,rowFinder:function(c){return k9c(a,c)},onRowDragDrop:function(c){a.onRowDragDrop.emit(c)}})};g=h0.prototype;
g.ngOnInit=function(){var a=this;this.dragDropLogic.setup();this.userPreferencesManager.listViewPreferences$.pipe(tj(this.destroyed$)).subscribe(function(b){a.listViewPrefs=b;a.cdr.detectChanges()});this.isIssueSidebarEnabled=this.enableSidebar&&Cx(this.activeSession,"enableIssueSidebar")||!1;this.init.emit(this)};
g.ngOnChanges=function(a){if(a.searchResults){var b,c=Bea(((b=this.searchResults)==null?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=l(this.columns),c=b.next();!c.done;c=b.next())c.value.label==="TEAM"&&l9c(this);if(a.searchResults){b=a.searchResults.currentValue;var d;a=new Set(((d=a.searchResults.previousValue)==null?void 0:d.issues.filter(function(e){return e.selected}).map(function(e){return e.id}))||
[]);d=new Set((b==null?void 0:b.issues.filter(function(e){return e.selected}).map(function(e){return e.id}))||[]);Rea(a,d)||is(this)}};g.ngOnDestroy=function(){this.dragDropLogic.tearDown();this.destroyed$.next()};g.focus=function(){this.grid.focus()};g.selectAll=function(){if(this.searchResults){for(var a=l(this.searchResults.issues),b=a.next();!b.done;b=a.next())b.value.selected=!0;this.cdr.detectChanges()}is(this)};
var m9c=function(a){if(a.searchResults){for(var b=l(a.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.cdr.detectChanges()}is(a)};h0.prototype.hasSelectedIssues=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};
var Hzb=function(a){return a.searchResults?a.searchResults.issues.every(function(b){return b.selected}):!1},n9c=function(a){return a.searchResults?a.searchResults.issues.some(function(b){return b.selected}):!1},Gzb=function(a){if(!a.searchResults)return"unchecked";var b=!0,c=!1;a=l(a.searchResults.issues);for(var d=a.next();!d.done;d=a.next())d.value.selected?c=!0:b=!1;return b?"checked":c?"indeterminate":"unchecked"};
h0.prototype.getSelectedIssues=function(){return this.searchResults?this.searchResults.issues.filter(function(a){return a.selected}):[]};h0.prototype.getAllIssues=function(){return this.searchResults?this.searchResults.issues:[]};
var p9c=function(a){if(o9c(a)&&a.focusedRowIndex!=null&&a.searchResults){var b=a.searchResults.issues[a.focusedRowIndex];b&&(b.selected=!b.selected,a.cdr.detectChanges(),is(a))}},Fzb=function(a){if(a.searchResults){for(var b=!n9c(a),c=l(a.searchResults.issues),d=c.next();!d.done;d=c.next())d.value.selected=b;a.cdr.detectChanges();is(a)}},wzb=function(a){a.focusedRowIndex!=null&&a.searchResults&&a.focusedRowIndex<a.searchResults.issues.length-1?(a.focusedRowIndex++,a.focusedRowIndexChange.emit(a.focusedRowIndex),
a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasNextPage()&&F4c(a.issuePagination,a.searchResults.endIndex+1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onNextPage.emit()})},xzb=function(a){a.focusedRowIndex!=null&&a.focusedRowIndex>0?(a.focusedRowIndex--,a.focusedRowIndexChange.emit(a.focusedRowIndex),a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasPreviousPage()&&F4c(a.issuePagination,a.searchResults.startIndex-1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onPrevPage.emit()})},
i0=function(a,b){b=b===void 0?{}:b;var c=a.getFocusedIssue();c&&(b.openInNewTab?a.domSafe.openInNewTab(Jq(c.issueId)):a.bLocation.setUrl(Jq(c.issueId)))};h0.prototype.getFocusedIssue=function(){return o9c(this)&&this.focusedRowIndex!=null&&this.searchResults?this.searchResults.issues[this.focusedRowIndex]:null};
var q9c=function(a,b){a.selectionCallbacks.push(b);b()},is=function(a){a=l(a.selectionCallbacks);for(var b=a.next();!b.done;b=a.next())b=b.value,b()},r9c=function(a){o9c(a)&&a.focusedRowIndex!=null&&a.searchResults&&a.toggleStar(a.searchResults.issues[a.focusedRowIndex])},s9c=function(a,b){b=b===void 0?!0:b;var c=a.getSelectedIssues();if(c.length!==0){for(var d=l(c),e=d.next();!e.done;e=d.next())e.value.isRead=b;a.cdr.detectChanges();rE(a.issueFullFridge,c.map(function(f){return f.issueId}),{markRead:b,
userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(f){for(var h=l(c),k=h.next();!k.done;k=h.next()){var q=void 0;k.value.lastViewedTime=(q=f)!=null?q:null}}).catch(function(){for(var f=l(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()})}};
h0.prototype.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,Lwc(this.issueFullFridge,String(a.issueId),a.starred).pipe(hj(1),tj(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()}))};
h0.prototype.issueDescription=function(a){return(a.isClosed?"Closed ":this.readUnreadOptOut||a.isRead?"":"Unread ")+"Issue ID "+a.id+" titled: "+a.title};
var o9c=function(a){return a.searchResults!=null&&a.focusedRowIndex!=null&&a.focusedRowIndex>=0&&a.focusedRowIndex<a.searchResults.issues.length},k9c=function(a,b){return b?a.searchResults?a.searchResults.issues.findIndex(function(c){return c.id===b}):-1:-1},l9c=function(a){if(a.searchResults){for(var b=new Set,c=l(a.searchResults.issues),d=c.next();!d.done;d=c.next())d=String(d.value.teamId),d!=="0"&&b.add(d);b.size>0?(a.isLoadingTeams=!0,Qyc(a.teamsService,[].concat(p(b))).pipe(tj(a.destroyed$)).subscribe(function(e){if(a.searchResults)for(var f=
l(a.searchResults.issues),h=f.next();!h.done;h=f.next()){h=h.value;var k=String(h.teamId);k!=="0"&&(k=e.get(k))&&(h.team=k.name)}a.isLoadingTeams=!1;a.cdr.detectChanges()})):a.isLoadingTeams=!1}};h0.prototype.isIssueGridColumn=function(){return!0};h0.prototype.getComponentPath=function(a){return yd(a)?a.join(" > "):(a=us(this.trackerHelpers,a))&&a.componentPathName?a.componentPathName.join(" > "):""};
var hAb=function(a,b){return a.appSearchState.queryState$.pipe(C(function(c){return c.query}),sj(function(c){return c?ozc(a.playbookService,b.issueId,c):li(void 0)}))};h0.\u0275fac=function(a){return new (a||h0)};
h0.\u0275cmp=F({type:h0,selectors:[["b-issues-grid"]],viewQuery:function(a,b){a&1&&(ek(D_,7),ek(j9c,5));if(a&2){var c;ik(c=jk())&&(b.grid=c.first);ik(c=jk())&&(b.sideNavContainer=c.first)}},inputs:{searchResults:"searchResults",focusedRowIndex:"focusedRowIndex",columns:"columns",enableColumnSaving:"enableColumnSaving",sort:"sort",enableSidebar:"enableSidebar"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",columnsChange:"columnsChange",sortChange:"sortChange",rowClick:"rowClick",init:"init",
onRowDragDrop:"onRowDragDrop",onNextPage:"onNextPage",onPrevPage:"onPrevPage"},standalone:!1,features:[Bk([jE]),$w],decls:7,vars:1,consts:[["issuesGrid",""],["issueWithHovercard",""],["issueSidenavContainer",""],["issueHovercard","onedevHovercard"],["cardBody",""],["hasBackdrop","false",3,"sidebar-enabled"],["hasBackdrop","false"],["mode","side","position","end",3,"openedChange","opened","disableClose"],[3,"issueId"],[4,"ngTemplateOutlet"],[3,"closeSidebar","navigateToNextIssue","navigateToPreviousIssue",
"issueId"],[1,"keep-focus-ring",3,"columnsChange","focusedRowIndexChange","hoveredRowIndex","sortChange","rowClick","list","columns","focusedRowIndex","scrollContainer","sort","rowLabelRenderer"],["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 issue-id-cell",4,"forViewCell"],["class","clickable title-cell",3,"bv2-grid-cell-variable-height","bv2-grid-cell-recommendation",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,"bv2-grid-cell-variable-height","rtl-component-path",4,"forViewCell"],["class","clickable first-letter-capitalized",4,"forViewCell"],[1,"focus-indicator"],[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"],["tabindex","0","aria-label","Select all issues","role","checkbox",
1,"keep-focus-ring","b-select-all-toggle",3,"click","keydown.enter","keydown.space","state"],[3,"column"],[3,"column","availableColumns","selectedColumns"],[3,"selectedColumnsChange","column","availableColumns","selectedColumns"],["draggable","true",1,"drag-handle"],["tabindex","-1","role","checkbox",3,"state"],["tabindex","-1","role","checkbox",3,"click","state"],[1,"star-cell"],["tabindex","-1",3,"starred","disabled","starMessage","unStarMessage"],["tabindex","-1",3,"starClicked","starred","disabled",
"starMessage","unStarMessage"],["data-template","issueId",1,"clickable","issue-id-cell"],[1,"row-issue-id",3,"issueId","showCopyOptions"],["tabindex","-1",1,"row-issue-id",3,"href"],[1,"row-issue-id",3,"click","issueId","showCopyOptions"],[1,"clickable","title-cell"],[1,"bv2-grid-cell-container",3,"bv2-grid-cell-flex-wrap"],[1,"bv2-grid-cell-container"],[3,"issueId","compactMode"],[3,"trackerId","compactMode"],[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],
[1,"row-issue-title",3,"href"],["svgIcon","input_24px",1,"navigate-to-idp","icon-s"],[1,"bv2-hotlist-chips"],[3,"id","removable"],[3,"recommendation","isParentRowActive"],[3,"onClick","recommendation","isParentRowActive"],[1,"priority-cell","clickable"],[1,"bv2-priority",3,"low","high","p0"],[1,"bv2-priority"],[1,"severity-cell","clickable"],["data-stable-cell","status",1,"clickable"],[3,"title"],[1,"icon-s",3,"svgIcon"],[3,"class"],["data-stable-cell","type",1,"clickable"],[1,"clickable"],[3,"email"],
[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"clickable","datetime-cell"],["mode","datetime",3,"timestamp"],[1,"componentPath-cell","clickable"],[1,"clickable","first-letter-capitalized"],[3,"sloId","sloStatus","sloStartTime"],[3,"sloStatus","sloStartTime"],[3,"sloId","sloStatus","sloStartTime","onlyShowMetric"],[3,"sloBounds"],["mode","date",3,"timestamp"],[1,"animated-loading-bar"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"],[3,"onedevIsHovercardReady","issueId",
4,"onedevHovercardLazyBody"],[3,"onedevHovercardTrigger"],[3,"onedevIsHovercardReady","issueId"]],template:function(a,b){a&1&&(L(0,"div"),I(1,Azb,6,6,"mat-sidenav-container",5)(2,Czb,1,1,"ng-container"),M(),G(3,rCb,55,62,"ng-template",null,0,Gk)(5,tCb,5,2,"ng-template",null,1,Gk));a&2&&(E(),J(b.isIssueSidebarEnabled?1:2))},dependencies:[B8c,oy,EA,Uz,FX,GX,EX,D_,I_,E_,F_,G_,z_,B_,tN,K_,GJ,mT,g0,HO,WR,xH,yH,DH,zH,GP,c0,aO,jP,EP,J_,AM,py,VM,UM,tLc,XM],styles:["mat-sidenav-container.sidebar-enabled[_ngcontent-%COMP%]{height:calc(100vh - 100px)}[_nghost-%COMP%]     .title-cell b-hotlist-chip{margin-bottom:1px}/*# sourceMappingURL=issues_grid.css.map */"],
changeDetection:0});var j0=new gs({name:"focused",sortable:!1,draggable:!1,isMetadata:!0}),t9c=new gs({name:"draghandle",sortable:!1,draggable:!1,isMetadata:!0}),k0=new gs({name:"selected",sortable:!1,draggable:!1,isMetadata:!0}),l0=new gs({name:"starred",sortable:!1,draggable:!1,isMetadata:!0}),u9c=new gs({name:"position",sortable:!0,draggable:!1,fullLabel:"Position",label:"POS",isMetadata:!0});var m0=function(){Z.apply(this,arguments);var a=this;this.snackBar=x(JA);this.issuePicker=x(ZQ);this.issueApi=x(vD);this.issueAddedToHotlist=new iE;this.onCloseIssuePicker=function(b){b=b===void 0?[]:b;if(b.length!==0&&a.id!=null){var c=b.join(", ");a.snackBar.open(b.length===1?"Adding issue "+c+" to this hotlist":"Adding multiple issues to this hotlist: "+c,void 0,{duration:2500});v9c(a,a.id,b)}};this.handleSuccessCall=function(b){b.errors&&b.errors.length?(b="Failed to add issue(s) to hotlist. "+
jg(b.errors),a.snackBar.open(b,void 0,{duration:2500,panelClass:"error"})):(a.issueAddedToHotlist.emit(),a.snackBar.open("Successfully added to hotlist",void 0,{duration:2500}))};this.gotErr=function(b){var c,d,e,f,h=(f=(e=b==null?void 0:(c=b.error)==null?void 0:c.message)!=null?e:b==null?void 0:(d=b.data)==null?void 0:d.message)!=null?f:"Error adding issues to the hotlist";a.snackBar.open(h,"close",{panelClass:"error"})}};Y(m0,Z);m0.\u0275dir=Z.\u0275dir;
var v9c=function(a,b,c){a.issueApi.issueBulkEdit({bulkEditOps:[{actions:[{fieldName:"hotlists",value:b,actionType:"ADD"}],issueIds:c}]}).then(function(d){a.handleSuccessCall(d)},a.gotErr)};m0.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(m0)))(b||m0)}}();
m0.\u0275cmp=F({type:m0,selectors:[["hotlist-add-issue-btn"]],inputs:{id:[0,"hotlistId","id"]},outputs:{issueAddedToHotlist:"issueAddedToHotlist"},standalone:!1,features:[xj],decls:2,vars:0,consts:[["type","button","mat-button","","matTooltip","Add issues to this hotlist",1,"medium",3,"click"]],template:function(a,b){a&1&&(L(0,"button",0),Q("click",function(){b.issuePicker.open({title:"Add Issues to this Hotlist",allowMultipleIds:!0},b.onCloseIssuePicker)}),U(1," Add Issue(s) "),M())},dependencies:[dA,
aA,YF,WF],encapsulation:2});var n0=function(){Z.call(this);var a=this;this.fridge=x(EC);this.snackBar=x(JA);this.dialog=x(lI);this.events=x(EB);this.id$=new nj(1);this.hotlist$=this.id$.pipe(sj(function(b){return a.fridge.watch(b)}),pj({refCount:!0,bufferSize:1}));this.archived$=this.hotlist$.pipe(C(function(b){return!(b==null||!b.archived)}),jj());this.archiveActionLabel$=this.archived$.pipe(C(function(b){return b?"Unarchive":"Archive"}));this.archiveActionTooltip$=this.archived$.pipe(C(function(b){return b?"Unarchive this hotlist":
"Archive this hotlist, hiding it from most searches"}));this.didSave=function(b){return function(){a.snackBar.open(b?"Hotlist was archived":"Hotlist was unarchived",void 0,{duration:2500});a.events.hotlistChanged.next()}};this.gotErr=function(b){return function(c){var d=b?"archiving":"unarchiving";a.snackBar.open(on(c)||"Error "+d+" the hotlist","close",{panelClass:"error"})}};this.hotlist$.pipe(tj(this.destroyed$)).subscribe(function(b){a.latestHotlist=b})};Y(n0,Z);n0.\u0275dir=Z.\u0275dir;
n0.prototype.isThinking=function(a){return this.fridge.isThinking(a)};n0.prototype.ngOnChanges=function(a){var b;(a=(b=a.hotlistId)==null?void 0:b.currentValue)&&this.id$.next(a)};
var x9c=function(a){if(a.latestHotlist!=null){var b=!a.latestHotlist.archived;b?a.dialog.open({title:"Archive Hotlist",content:md("Do you want to archive this hotlist?"),isDestructive:!0,onConfirm:function(){w9c(a,b)}}):w9c(a,b)}},w9c=function(a,b){a.fridge.save(Object.assign({},a.latestHotlist,{archived:b})).subscribe({next:a.didSave(b),error:a.gotErr(b)})};n0.\u0275fac=function(a){return new (a||n0)};
n0.\u0275cmp=F({type:n0,selectors:[["hotlist-archive-btn"]],inputs:{hotlistId:"hotlistId"},standalone:!1,features:[xj,$w],decls:4,vars:7,consts:[["type","button","mat-button","",1,"medium",3,"click","disabled","matTooltip"]],template:function(a,b){a&1&&(L(0,"button",0),W(1,"async"),Q("click",function(){return x9c(b)}),U(2),W(3,"async"),M());if(a&2){var c;K("disabled",b.isThinking(b.hotlistId))("matTooltip",(c=X(1,3,b.archiveActionTooltip$))!=null?c:"");E(2);V(" ",X(3,5,b.archiveActionLabel$)," ")}},
dependencies:[dA,aA,YF,WF,py],encapsulation:2});var o0=function(){d_.apply(this,arguments);this.estadoService=x(y_);this.refreshMonitor=x(JD);this.isPlaybookEnabled=Cx(this.activeSession,"enablePlaybook");this.init=new iE;this.onRefresh=new iE;this.isHotlistAdmin=!1;this.onExportCsv=new iE;this.showHotlistButtons=!1;this.isNonPublicSession=this.activeSession.isNonPublicSession();var a=this.estadoService;this.enableEstadoInAppBar=a.enableEstado&&!Iq(a.activeSession);this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha();this.controllerName=
"gridControls"};Y(o0,d_);o0.\u0275dir=d_.\u0275dir;o0.prototype.ngOnInit=function(){this.init.emit(this)};o0.prototype.ngOnChanges=function(a){var b=this;a.grid&&this.grid&&q9c(this.grid,function(){b.onSelectionChange()})};o0.prototype.getSelectedIssues=function(){var a,b;return(b=(a=this.grid)==null?void 0:a.getSelectedIssues())!=null?b:[]};var vCb=function(a){var b,c;return(c=(b=a.grid)==null?void 0:b.getAllIssues().map(function(d){return d.issueId}))!=null?c:[]};
o0.prototype.refresh=function(){this.refreshMonitor.refreshRequest.next();this.onRefresh.emit()};o0.prototype.openInEstado=function(){this.estadoService.openInEstado()};var y9c=function(a){return a.hasSelectedIssues()&&a.isNonPublicSession};o0.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(o0)))(b||o0)}}();
o0.\u0275cmp=F({type:o0,selectors:[["b-grid-controls"]],inputs:{grid:"grid",isHotlistAdmin:"isHotlistAdmin",currentHotlistId:"currentHotlistId",showHotlistButtons:"showHotlistButtons"},outputs:{init:"init",onRefresh:"onRefresh",onExportCsv:"onExportCsv"},standalone:!1,features:[Bk([jE]),xj,$w],decls:12,vars:9,consts:[["addCommentDialog",""],["size","large","format","icon","tooltip","Refresh","bAriaLabel","Refresh",1,"refresh-button",3,"onAction"],["name","refresh","size","large"],[3,"enableBulkEstimatedEffortOption",
"readStatePrompt"],[3,"issueIds"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks"],[1,"bv2-grid-hotlist-picker"],["tooltip","Reporting","aria-label","Reporting",1,"compact",3,"size","format"],[1,"bv2-appbar-menu",3,"exportCsvClicked","flagAsSpamClicked","showExportCsv","showFlagIssuesAsSpam"],[3,"save","close","externalWarnings"],[3,"onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead","enableBulkEstimatedEffortOption","readStatePrompt"],[3,"onClickCopyIssueIds","onClickCopyIssueShortLinks",
"onClickCopyAsIssueSearch","shortLinkPrefix","shouldShowCopyIssueShortLinks"],[3,"onApply","onCreate","onLoad","selectedHotlistIds","choices"],[3,"hotlistId"],[3,"issueAddedToHotlist","hotlistId"],["tooltip","Reporting","aria-label","Reporting",1,"compact",3,"onAction","size","format"],["name","bar-chart","size","large"],[1,"bv2-estado-text"],["mat-dialog-title",""],[3,"comment","showToolbar","isLiteralModeSupported"],[3,"externalWarnings"],[1,"flex-kids-x","justify-flex-end"],["type","button","mat-button",
"",1,"medium",3,"mat-dialog-close"],["type","button","mat-flat-button","","cdkFocusInitial","",1,"medium","primary",3,"disabled","mat-dialog-close"],[3,"commentChange","onSubmit","comment","showToolbar","isLiteralModeSupported"],[3,"onUpdate"]],template:function(a,b){if(a&1){var c=y();L(0,"b-button",1);Q("onAction",function(){z(c);return B(b.refresh())});N(1,"b-icon",2);M();I(2,uCb,2,4,"b-app-bar-bulk-edit-menus",3);I(3,wCb,1,1,"playbook-controls",4);I(4,xCb,1,2,"b-copy-issue-id-button",5);I(5,yCb,
2,2,"div",6);I(6,BCb,2,2);I(7,DCb,3,3,"b-button",7);L(8,"b-app-bar-more-menu",8);Q("exportCsvClicked",function(){z(c);return B(b.onExportCsv.emit())})("flagAsSpamClicked",function(){z(c);return B(l7c(b))});M();L(9,"b-state-modal",9);Q("save",function(){z(c);return B(j7c(b))})("close",function(){z(c);return B(b.hotkeys.unpause())});M();G(10,GCb,11,6,"ng-template",null,0,Gk)}a&2&&(E(2),J(b.hasSelectedIssues()?2:-1),E(),J(b.isPlaybookEnabled?3:-1),E(),J(b.hasSelectedIssues()?4:-1),E(),J(b.enableBulkEditUi&&
b.hasSelectedIssues()?5:-1),E(),J(b.showHotlistButtons&&!b.hasSelectedIssues()?6:-1),E(),J(b.enableEstadoInAppBar?7:-1),E(),K("showExportCsv",b.isNonPublicSession||Olc(b.activeSession))("showFlagIssuesAsSpam",y9c(b)),E(),K("externalWarnings",b.externalWarnings))},dependencies:[WX,VX,DM,jV,uZ,n0,m0,ZZ,jK,dA,aA,fI,hI,jI,iI,b_,KR,$Z,mL,py],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var z9c=function(a){return{displayText:"Admins",values:a}},A9c=function(a){return[a]},B9c=function(a){return{displayText:"Appenders",values:a}},C9c=md("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?"),p0=function(){var a=x(LR);Z.call(this);var b=this;this.hotlistAccessPolicyFridge=x(BD);this.links=x(XH);this.snackBar=
x(JA);this.events=x(EB);this.dialog=x(lI);this.permissions=x(WE);this.userApi=x(DC);this.activeSession=x(Ks);this.hotlistId$=new nj(1);this.acl$=this.hotlistId$.pipe(sj(function(c){return b.hotlistAccessPolicyFridge.watch(c)}));this.latestCompactPolicy={};this.admins=[];this.appenders=[];this.readers=[];this.accessControlLink=UCc(this.links);this.validity={};this.isValid=function(){return Object.values(b.validity).every(Boolean)};this.isInvalid=function(){return!b.isValid()};this.allAppenders=[];
this.onPressSave=function(){b.isRevokingAdmin()?b.dialog.open({title:"Change Hotlist Admins",content:C9c,isDestructive:!0,onConfirm:b.doSave}):b.doSave()};this.doSave=function(){if(b.hotlistId!=null){var c=b.isRevokingAdmin(),d={id:b.hotlistId,admins:zq(b.admins),appenders:zq(b.appenders),editors:null,readers:zq(b.readers),implicitAccess:null,restrictedReaders:null,restrictedPlusReaders:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null};b.hotlistAccessPolicyFridge.save(d).subscribe({next:b.didSave(c,
d.id),error:b.gotErr})}};this.didSave=function(c,d){return function(){b.snackBar.open("Access control saved",void 0,{duration:2500});b.events.hotlistChanged.next();b.permissions.poke(d);c&&b.doStar()}};this.gotErr=function(c){b.snackBar.open(on(c)||"Error saving the hotlist access policy","close",{panelClass:"error"})};this.doStar=function(){b.hotlistId&&b.userApi.addUserBookmark({resourceType:"HOTLIST",resourceId:b.hotlistId}).then(function(){b.events.hotlistChanged.next()})};this.onPressRevert=
function(){b.resetEdits()};this.isChanged=function(){var c=b.latestCompactPolicy,d;if(!vd((d=c.admins)!=null?d:[],b.admins))return!0;var e;if(!vd((e=c.appenders)!=null?e:[],b.appenders))return!0;var f;return vd((f=c.readers)!=null?f:[],b.readers)?!1:!0};this.hasNoChanges=function(){return!b.isChanged()};this.acl$.pipe(tj(this.destroyed$)).subscribe(function(c){b.latestPolicy=c;var d,e,f;b.latestCompactPolicy={admins:yq((d=b.latestPolicy)==null?void 0:d.admins),appenders:yq((e=b.latestPolicy)==null?
void 0:e.appenders),readers:yq((f=b.latestPolicy)==null?void 0:f.readers)};b.resetEdits()});this.subscriptions.add(MR(a,this.isChanged,!1))};Y(p0,Z);p0.\u0275dir=Z.\u0275dir;var D9c=function(a){return[].concat(p(new Set([].concat(p(a.admins),p(a.appenders)))))};p0.prototype.ngOnChanges=function(a){var b;(a=(b=a.hotlistId)==null?void 0:b.currentValue)&&this.hotlistId$.next(a)};
p0.prototype.resetEdits=function(){var a;this.admins=[].concat(p((a=this.latestCompactPolicy.admins)!=null?a:[]));var b;this.appenders=[].concat(p((b=this.latestCompactPolicy.appenders)!=null?b:[]));var c;this.readers=[].concat(p((c=this.latestCompactPolicy.readers)!=null?c:[]));this.allAppenders=D9c(this)};p0.prototype.isRevokingAdmin=function(){var a=this.admins,b,c=(b=this.latestCompactPolicy.admins)!=null?b:[];return this.isRevokingDirectAdmin(a,c,this.activeSession.getUserEmail())};
p0.prototype.isRevokingDirectAdmin=function(a,b,c){c=c===void 0?"":c;if(pCa(a,b))return!1;c="USER:"+c;b=b.includes(c);a=!a.includes(c);return b&&a};p0.\u0275fac=function(a){return new (a||p0)};
p0.\u0275cmp=F({type:p0,selectors:[["b-edit-hotlist-acl"]],inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},standalone:!1,features:[xj,$w],decls:22,vars:24,consts:[[1,"flex-kids-y"],[1,"muted","type-s","margin-s-bottom"],[3,"usersChange","isValid","users"],[3,"usersChange","isValid","users","includeAliases","containerChips"],[3,"usersChange","isValid","users","includeAliases","includeViewAliases","containerChips"],["target","_blank",3,"href"],[1,"margin-top","flex-kids-x","gap-s"],["mat-flat-button",
"","color","primary","type","submit",1,"medium",3,"click","disabled","matTooltip"],["mat-button","","type","button",1,"medium",3,"click","disabled","matTooltip"]],template:function(a,b){a&1&&(L(0,"form",0)(1,"label"),U(2,"Admins"),M(),L(3,"p",1),U(4,"Edit access controls, edit name and description, reorder hotlist, add/remove issues"),M(),L(5,"b-multi-user-input",2),Q("usersChange",function(c){b.admins=c;b.allAppenders=D9c(b)})("isValid",function(c){return b.validity.admins=c}),M(),L(6,"label"),U(7,
"View and append"),M(),L(8,"p",1),U(9,"Reorder hotlist, add/remove issues"),M(),L(10,"b-multi-user-input",3),Q("usersChange",function(c){b.appenders=c;b.allAppenders=D9c(b)})("isValid",function(c){return b.validity.appenders=c}),M(),L(11,"label"),U(12,"View only"),M(),L(13,"p",1),U(14,"View the hotlist"),M(),L(15,"b-multi-user-input",4),Q("usersChange",function(c){b.readers=c})("isValid",function(c){return b.validity.readers=c}),M()(),L(16,"p"),U(17," Users can see which issues are in a hotlist, even when they don't have view access to the hotlist. See "),
L(18,"a",5),U(19,"access control documentation"),M(),U(20," for an explanation of the settings.\n"),M(),I(21,HCb,5,4,"div",6));a&2&&(E(5),rk("disabled",b.isReadOnly),K("users",b.admins),E(5),rk("disabled",b.isReadOnly),K("users",b.appenders)("includeAliases",!0)("containerChips",Dk(18,A9c,Dk(16,z9c,b.admins))),E(5),rk("disabled",b.isReadOnly),K("users",b.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Dk(22,A9c,Dk(20,B9c,b.allAppenders))),E(3),K("href",b.accessControlLink,
Ni),E(3),J(b.isReadOnly?-1:21))},dependencies:[pG,iG,mG,dA,aA,YF,WF,zP],styles:["[_nghost-%COMP%] {\n      display: block;\n      max-width: 600px;\n      padding: 16px; \n\n    }\n    label[_ngcontent-%COMP%] {\n      font-weight: bold;\n      line-height: 2em;\n    }"]});var E9c=["hotlistName"],q0=function(){Z.call(this);var a=this;this.fridge=x(EC);this.snackBar=x(JA);this.events=x(EB);this.checkBeforeExit=x(LR);this.isReadOnly=!1;this.id$=new nj(1);this.hotlist$=this.id$.pipe(sj(function(b){return a.fridge.watch(b)}));this.isArchived=!1;this.localEdits={};this.gotHotlist=function(b){a.latestHotlist=b;var c;a.isArchived=(c=b==null?void 0:b.archived)!=null?c:!1;a.resetEdits(b)};this.gotErr=function(b){a.snackBar.open(on(b)||"Error saving the hotlist","close",{panelClass:"error"})};
this.didSave=function(){a.snackBar.open("Hotlist saved",void 0,{duration:2500});a.events.hotlistChanged.next()};this.isChanged=function(){var b,c=(b=a.latestHotlist)!=null?b:{};return!vd(c,a.localEdits)};this.hasNoChanges=function(){return!a.isChanged()};this.save=function(){a.fridge.save(a.localEdits).subscribe({next:a.didSave,error:a.gotErr})};this.revert=function(){a.resetEdits(a.latestHotlist)};this.hotlist$.pipe(tj(this.destroyed$)).subscribe(function(b){a.gotHotlist(b)});this.subscriptions.add(MR(this.checkBeforeExit,
this.isChanged,!1))};Y(q0,Z);q0.\u0275dir=Z.\u0275dir;q0.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){var b;(b=a.hotlistName)==null||b.nativeElement.focus()})};q0.prototype.ngOnChanges=function(a){var b;(a=(b=a.hotlistId)==null?void 0:b.currentValue)&&this.id$.next(a)};q0.prototype.resetEdits=function(a){var b;this.localEdits=(b=wd(a))!=null?b:{}};q0.\u0275fac=function(a){return new (a||q0)};
q0.\u0275cmp=F({type:q0,selectors:[["b-edit-hotlist-basic"]],viewQuery:function(a,b){a&1&&ek(E9c,5);if(a&2){var c;ik(c=jk())&&(b.hotlistName=c.first)}},inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},standalone:!1,features:[xj,$w],decls:10,vars:5,consts:[["hotlistName",""],["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,"ngModelChange","disabled","ngModel"],["for",
"hotlist-description",1,"margin-top"],["id","hotlist-description","name","description",3,"ngModelChange","disabled","ngModel"],[1,"margin-top","flex-kids-x","gap-s"],["mat-flat-button","","color","primary","type","submit",1,"medium",3,"click","disabled","matTooltip"],["mat-button","","type","button",1,"medium",3,"click","disabled","matTooltip"],[3,"hotlistId"]],template:function(a,b){if(a&1){var c=y();L(0,"form",1)(1,"label",2);U(2,"Name");M();L(3,"input",3,0);xk("ngModelChange",function(d){z(c);
wk(b.localEdits.name,d)||(b.localEdits.name=d);return B(d)});M();L(5,"label",4);U(6,"Description");M();L(7,"textarea",5);xk("ngModelChange",function(d){z(c);wk(b.localEdits.description,d)||(b.localEdits.description=d);return B(d)});U(8,"  ");M();I(9,ICb,7,7,"div",6);M()}a&2&&(E(3),K("disabled",b.isReadOnly||b.isArchived),vk("ngModel",b.localEdits.name),E(4),K("disabled",b.isReadOnly||b.isArchived),vk("ngModel",b.localEdits.description),E(2),J(b.isReadOnly?-1:9))},dependencies:[pG,Bp,hG,iG,AG,oG,mG,
dA,aA,YF,WF,n0,py],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-mdc-input-element){border:1px solid;border-color:#ea4335;border-color:var(--bad)}/*# sourceMappingURL=edit_hotlist_basic.css.map */"]});var r0=function(){Z.apply(this,arguments);var a=this;this.hotlists=x(EC);this.acls=x(BD);this.id$=new nj(1);this.hotlist$=this.id$.pipe(sj(function(b){return a.hotlists.watch(b)}))};Y(r0,Z);r0.\u0275dir=Z.\u0275dir;r0.prototype.isThinking=function(a){var b=a?"hotlists/"+a:void 0;return this.hotlists.isThinking(a)||this.acls.isThinking(b)};r0.prototype.ngOnChanges=function(a){var b;(a=(b=a.hotlistId)==null?void 0:b.currentValue)&&this.id$.next(a)};
r0.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(r0)))(b||r0)}}();
r0.\u0275cmp=F({type:r0,selectors:[["b-edit-hotlist-header"]],inputs:{hotlistId:"hotlistId"},standalone:!1,features:[xj,$w],decls:9,vars:8,consts:[[1,"flex-kids-x","align-items-center","gap-s","padded-x"],[1,"muted"],[1,"color-bad-text"]],template:function(a,b){a&1&&(L(0,"header",0)(1,"h2")(2,"span",1),U(3),M(),I(4,JCb,1,1),W(5,"async"),M(),I(6,KCb,2,0,"strong",2),W(7,"async"),I(8,LCb,1,0,"b-spinner"),M());if(a&2){var c,d;E(3);V(" Hotlist ",b.hotlistId,": ");E();J((c=X(5,4,b.hotlist$))?4:-1,c);E(2);
J(((d=X(7,6,b.hotlist$))==null?0:d.archived)?6:-1);E(2);J(b.isThinking(b.hotlistId)?8:-1)}},dependencies:[lL,py],styles:["[_nghost-%COMP%] {\n      display: block;\n    }"]});var s0=function(){Z.apply(this,arguments);this.activeSession=x(Ks);this.ROUTES=Hq;this.id$=new nj(1);this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha()};Y(s0,Z);s0.\u0275dir=Z.\u0275dir;s0.prototype.ngOnChanges=function(a){var b;(a=(b=a.hotlistId)==null?void 0:b.currentValue)&&this.id$.next(a)};s0.prototype.onPressBack=function(){var a;(a=window.history)==null||a.back()};s0.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(s0)))(b||s0)}}();
s0.\u0275cmp=F({type:s0,selectors:[["b-edit-hotlist-toolbar"]],inputs:{hotlistId:"hotlistId"},standalone:!1,features:[xj,$w],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,"medium","no-visited-no-active",3,"href"],[3,"hotlistId"]],template:function(a,b){a&1&&(L(0,"section",0)(1,
"b-button",1),Q("onAction",function(){return b.onPressBack()}),N(2,"b-icon",2),M(),L(3,"a",3),U(4," View Issues "),M(),I(5,MCb,2,3,"hotlist-add-issue-btn",4),M());a&2&&(E(3),K("href",b.ROUTES.viewHotlist.makeHref(b.hotlistId),Ni),E(2),J(b.enableBulkEditUi?5:-1))},dependencies:[dA,aA,YF,WF,DM,jK,m0,py],styles:[".button-bar[_ngcontent-%COMP%] {\n      display: flex;\n      align-items: center;\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var F9c=new Map([[403,"You do not have permission to view this Hotlist."],[404,"This Hotlist does not exist."]]),t0=function(){this.routeParams=x(NI);this.pageTitle=x(jY);this.permissions=x(WE);this.hotlists=x(EC);this.window=x(RF);this.id=this.routeParams.hotlistId;this.resourceId="hotlists/"+this.id;this.isAdmin$=this.permissions.watch(this.resourceId).pipe(C(function(a){return a==null?void 0:a.admin}));this.hotlistErrorMsg$=this.hotlists.error$.pipe(C(function(a){var b;return(b=a.status)!=null?
b:-1}),C(function(a){var b;return(b=F9c.get(a))!=null?b:"unknown error"}),rj(void 0));this.tabIndex=0};t0.prototype.ngOnInit=function(){this.pageTitle.setTitle("Edit Hotlist "+this.id);this.window.location.hash.includes("access")&&(this.tabIndex=1)};t0.\u0275fac=function(a){return new (a||t0)};
t0.\u0275cmp=F({type:t0,selectors:[["edit-hotlist"]],standalone:!1,decls:4,vars:6,consts:[[3,"hotlistId"],[1,"bv2-view"],["gmat-tabs","",3,"selectedIndex"],["label","Basic Information"],[3,"hotlistId","isReadOnly"],["label","Access Control"],[1,"muted","padded-x"],[1,"padded-x"]],template:function(a,b){a&1&&(I(0,OCb,12,14),W(1,"async"),I(2,PCb,6,1),W(3,"async"));if(a&2){var c;J(X(1,2,b.hotlistErrorMsg$)===void 0?0:-1);E(2);J((c=X(3,4,b.hotlistErrorMsg$))?2:-1,c)}},dependencies:[oM,jM,kM,LL,p0,q0,
r0,s0,py],encapsulation:2});var u0=function(){};u0.\u0275fac=function(a){return new (a||u0)};u0.\u0275cmp=F({type:u0,selectors:[["b-error-banner"]],inputs:{error:"error"},standalone:!1,decls:1,vars:1,consts:[["messageType","error"]],template:function(a,b){a&1&&I(0,QCb,3,1,"b-callout",0);a&2&&J(b.error?0:-1)},dependencies:[sM,tM],encapsulation:2});var v0=function(){};v0.\u0275fac=function(a){return new (a||v0)};v0.\u0275mod=Zi({type:v0});v0.\u0275inj=Eg({imports:[jC,uM]});var w0=function(){};w0.\u0275fac=function(a){return new (a||w0)};w0.\u0275mod=Zi({type:w0});w0.\u0275inj=Eg({imports:[jC,FG,FI,JL,EM,aM,qM,vM,oL,v0,vQ,QL]});var x0=function(){};x0.\u0275fac=function(a){return new (a||x0)};x0.\u0275mod=Zi({type:x0});x0.\u0275inj=Eg({imports:[YX,EM,qV,jC,lQ,EZ,w0,h_,vM,FI,HI,JL,oL,i_,uV,a_,pL]});var y0=function(){Z.call(this);this.element=x(Ph);this.bLocation=x(hL);this.hotkeys=x(BL);this.cdr=x(jE,{self:!0});this.focusedIndex=0;this.convertUserToString=Jd;this.hotlists=[];this.registerKeys()};Y(y0,Z);y0.\u0275dir=Z.\u0275dir;g=y0.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(){this.focusedIndex-1<0||(this.focusedIndex--,this.scrollToFocusedIndex())};
g.registerKeys=function(){var a=this,b=CL(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=(b=this.element.nativeElement.querySelector("table"))==null?void 0:(c=b.rows)==null?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(Hq.editHotlist.makeHref(a.hotlistId))};
y0.\u0275fac=function(a){return new (a||y0)};
y0.\u0275cmp=F({type:y0,selectors:[["b-hotlist-grid"]],inputs:{hotlists:"hotlists"},standalone:!1,features:[Bk([jE]),xj],decls:27,vars:0,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"],["tabindex","0",1,"bv2-resource-list-row",3,"grid-focus"],["tabindex","0",1,"bv2-resource-list-row",3,"click","focus"],[1,"bv2-resource-list-cell","hotlist-name","clickable"],["tabindex","-1",1,
"grid-link",3,"click","href"],[1,"bv2-resource-list-cell","hotlist-description","clickable"],[1,"bv2-resource-list-cell","resource-admins","clickable"],[1,"bv2-resource-list-cell","hotlist-id","clickable"]],template:function(a,b){a&1&&(L(0,"table",0)(1,"thead")(2,"tr",1),N(3,"th",2),L(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),U(8," Hotlist name "),M()()()(),L(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),U(13," Description "),M()()()(),L(14,"th")(15,"div",3)(16,"div",4)(17,"div",5),U(18," Admins "),
M()()()(),L(19,"th")(20,"div",3)(21,"div",4)(22,"div",5),U(23," ID "),M()()()()()(),L(24,"tbody"),Mj(25,TCb,12,8,"tr",6,Lj),M()());a&2&&(E(25),Nj(b.hotlists))},encapsulation:2});var z0=function(){};z0.\u0275fac=function(a){return new (a||z0)};z0.\u0275mod=Zi({type:z0});z0.\u0275inj=Eg({imports:[jC]});var A0=function(){this.bLocation=x(hL);this.butterBar=x(MA)},G9c=function(a,b){var c=a.bLocation.search()[b];return c!=null?Array.isArray(c)?(a.butterBar.showWarning("Given multiple values for parameter "+b+"; using the first."),c[0]):typeof c==="boolean"?"":c:null};A0.prototype.getCount=function(){var a=G9c(this,"c");return a?Bd(a):null};var H9c=function(a){return(a=G9c(a,"p"))?Bd(a):null};A0.prototype.getQuery=function(){return G9c(this,"q")};
A0.prototype.getDisplayColumns=function(){var a=this.bLocation.search().d;return a?(Array.isArray(a)?a:[a]).map(Yr).filter(fe):null};A0.prototype.getSortColumns=function(){var a=this.bLocation.search().s;return a?(Array.isArray(a)?a:[a]).map(apb).filter(fe):null};
var B0=function(a,b,c){c=c===void 0?!1:c;var d=function(e,f){c?a.bLocation.search(e,f,!0):a.bLocation.search(e,f)};b.displayColumns!==void 0&&d("d",b.displayColumns==null?null:(b.displayColumns||[]).map(function(e){return I9c(e)}));b.sortColumns!==void 0&&d("s",b.sortColumns==null?null:(b.sortColumns||[]).map(function(e){var f=e.direction=="ASCENDING"?"asc":"desc";return I9c(e.fieldId)+":"+f}));b.page!==void 0&&d("p",b.page);b.resultsPerPage!==void 0&&d("c",b.resultsPerPage);b.query!==void 0&&d("q",
b.query)},I9c=function(a){return a.isCustomField()?String(a.customFieldId):a.type.toLowerCase()};A0.\u0275fac=function(a){return new (a||A0)};A0.\u0275prov=Dg({token:A0,factory:A0.\u0275fac,providedIn:"root"});var C0=function(){this.urlPreferences=x(A0);this.userPreferencesManager=x(NF);this.customFieldFridge=x(PC)};C0.prototype.fetch=function(a,b){a=this.getParameters(a,b===void 0?null:b);return{searchPreferences:Eq({page:a.page,query:a.query,resultsPerPage:a.resultsPerPage,sortColumns:a.sortColumns}),displayColumns:a.displayColumns}};
C0.prototype.getParameters=function(a,b){var c=this,d=b?function(){return J9c(b)}:function(){return K9c(c)},e=b?function(){return L9c(b)}:function(){return M9c(c)};d=Promise.resolve(this.urlPreferences.getDisplayColumns()).then(function(k){return D0(k)}).then(null,d).then(function(k){return D0(k)}).then(null,Ugc(a.displayColumns)).then(function(k){return N9c(c,k)});e=Promise.resolve(this.urlPreferences.getSortColumns()).then(function(k){return D0(k)}).then(null,e).then(function(k){return D0(k)}).then(null,
Ugc(a.sortColumns));var f=Promise.resolve(this.urlPreferences.getCount()).then(function(k){return D0(k)}).then(null,function(){return O9c(c)}).then(function(k){return D0(k)}).then(null,Ugc(a.resultsPerPage)),h=Promise.resolve(this.urlPreferences.getQuery()).then(function(k){return D0(k)}).then(null,function(){return P9c(b,function(k){return k.query})}).then(null,Ugc(a.query));a=H9c(this.urlPreferences)||a.page;return{displayColumns:d,sortColumns:e,resultsPerPage:f,query:h,page:a}};
var D0=function(a){return a==null?Promise.reject(null):a},J9c=function(a){return P9c(a,function(b){return b.displayColumn}).then(function(b){return Q9c(b)})},L9c=function(a){return P9c(a,function(b){return b.sortOrder}).then(function(b){return R9c(b)})},M9c=function(a){return pi(a.userPreferencesManager.sortColumnsPreferences$).then(function(b){return D0(b)}).then(function(b){return R9c(b)})},K9c=function(a){return pi(a.userPreferencesManager.displayColumnsPreferences$).then(function(b){return D0(b)}).then(function(b){return Q9c(b)})},
O9c=function(a){return pi(a.userPreferencesManager.preferences$.pipe(C(function(b){var c;return(c=b.resultsPerPage)!=null?c:null}))).then(function(b){return D0(b)})},P9c=function(a,b){return a?a.then(function(c){c=b(c);return c==null?Promise.reject(null):c}):Promise.reject(null)},Q9c=function(a){if(!a||!a.length)return null;a=no(a,function(b){return b.customFieldId||b.customFieldName||b.type});return a.map(function(b){return new Xr({customFieldId:b.customFieldId||void 0,customFieldName:b.customFieldName||
void 0,type:b.type})})},R9c=function(a){return a&&a.length?a.map(function(b){return b.column!==void 0?new $r(new Xr(b.column),b.order):new $r(new Xr(b.field),b.direction)}).filter(function(b){return b.fieldId.type!="CUSTOM_FIELD"||b.fieldId.customFieldId!=null}):null},N9c=function(a,b){function c(){for(var k=l(b),q=k.next();!q.done;q=k.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=l(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(pi(a.customFieldFridge.watch(h.customFieldId)).then(function(k){k&&(d[k.customFieldId]=k.name)})));return Promise.all(e).then(c,c)};C0.\u0275fac=function(a){return new (a||C0)};C0.\u0275prov=Dg({token:C0,factory:C0.\u0275fac,providedIn:"root"});var E0=function(){Z.call(this);var a=this;this.cdr=x(jE);this.bLocation=x(hL);this.$log=x(NA);this.butterBar=x(MA);this.analytics=x(nE);this.issuePagination=x(iY);this.gridPreferencesFetcher=x(C0);this.paths=x(TO);this.errorHandler=x(PA);this.domSafe=x(SF);this.timeout=x(OA);this.hotkeys=x(BL);this.appSearchState=x(hK);this.componentFridge=x(AB);this.issueFullFridge=x(pE);this.activeSession=x(Ks);this.window=x(RF);this.ANALYTICS_CATEGORY="panel";this.initialSortPreferences=this.initialIssueColumns=
this.displayColumns=null;this.currentUserEmail=this.activeSession.getUserEmail();this.resource=this.searchResults=null;this.isLoading=!1;this.page=1;this.issueColumnsInternal=[];this.sortPreferences=[];this.last=this.first=this.isDashboardEditable=!1;this.focusedRowIndexInternal=null;this.focusedRowIndexChange=new iE;this.resultsLoaded=new iE;this.selectionChange=new iE;this.isColumnSaveEnabled=!1;this.cachedSort=null;this.BASE_HOTKEYS=[{keys:["j"],displayAs:"j",description:"Move to the next issue in the current panel",
onPress:function(){var b;(b=a.issuesGrid)==null||wzb(b)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue in the current panel",onPress:function(){var b;(b=a.issuesGrid)==null||xzb(b)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var b;(b=a.issuesGrid)==null||p9c(b)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var b;(b=a.issuesGrid)==null||r9c(b)}},{keys:[lq("i")],displayAs:"Shift+i",description:"Mark as read",
onPress:function(){var b;(b=a.issuesGrid)==null||s9c(b,!0)}},{keys:[lq("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var b;(b=a.issuesGrid)==null||s9c(b,!1)}},{keys:[mq("*","a")],displayAs:"* then a",description:"Select all issues in the current panel",onPress:function(){var b;(b=a.issuesGrid)==null||b.selectAll()}},{keys:[mq("*","n")],displayAs:"* then n",description:"Deselect all issues in the current panel",onPress:function(){var b;(b=a.issuesGrid)==null||m9c(b)}},{keys:["o",
"ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(b){var c=a.window.document.activeElement;if(b===1&&(c==null?void 0:c.tagName)==="A")if(c.href)b=a.paths.getBaseUrl(),c.href.startsWith(b)?a.bLocation.setUrl(c.href.slice(b.length)):a.domSafe.openInNewTab(c.href);else{var d;(d=a.issuesGrid)==null||i0(d)}else{var e;(e=a.issuesGrid)==null||i0(e)}}}];this.destroyed$.subscribe(function(){var b;(b=a.unregisterHotkeys)==null||b.call(a)})};Y(E0,Z);E0.\u0275dir=Z.\u0275dir;
E0.prototype.columnsChange=function(a){this.issueColumns=a};E0.prototype.ngOnInit=function(){this.getIssues();S9c(this)};var S9c=function(a){var b;(b=a.unregisterHotkeys)==null||b.call(a);a.isFocused?a.unregisterHotkeys=CL(a.hotkeys,{title:"Bookmark Group Dashboard",hotkeys:a.BASE_HOTKEYS}):a.unregisterHotkeys=void 0},mDb=function(a,b){a.issuesGrid=b;q9c(a.issuesGrid,function(){var c,d={panelId:a.panel.panelId,selectedIssues:(c=a.issuesGrid)==null?void 0:c.getSelectedIssues()};a.selectionChange.emit(d)})};
g=E0.prototype;g.setSort=function(a,b,c){c=c===void 0?!0:c;var d=Yr(a);if(d==null)this.$log.warn("WARNING: Invalid column name: "+a);else{var e=new $r(d,b=="ASC"?"ASCENDING":"DESCENDING");Ga(this.sortPreferences,function(f){return vd(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:a.fieldId.type=="CUSTOM_FIELD"?String(a.fieldId.customFieldId):zd(a.fieldId.type),direction:a.direction=="ASCENDING"?"ASC":"DESC"};vd(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.initColumns=function(a,b){this.displayColumns=a;this.issueColumnsInternal=[].concat(p(b),p(jvb(a)));this.initialIssueColumns=wd(this.issueColumns);this.isColumnSaveEnabled=!0};
g.goToIssue=function(a,b,c){c&&c.target.tagName==="A"||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"viewIssue",b?"read":"unread"),a=Jq(a),c&&zn(c)?this.domSafe.openInNewTab(a):this.bLocation.setUrl(a))};g.goToPage=function(a){this.page=a;this.getIssues()};g.refreshResults=function(){E4c(this.issuePagination);this.getIssues()};g.exportCsv=function(){TF(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:b.resource.query!=null?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 B4c(b.issuePagination,e)});a.catch(function(e){typeof e==="number"?
b.goToPage(e):e&&b.errorHandler.errorHandler(null,e)});return Eq({searchResultsPage:a,displayColumns:d.displayColumns}).then(function(e){var f=e.searchResultsPage;b.searchResults=f;b.page=f.params.page;b.searchResults&&b.subscribeToIssueChanges(b.searchResults.issues);b.sortPreferences=f.params.sortColumns||[];b.initialSortPreferences||(b.initialSortPreferences=wd(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.getFocusedIssue();h!=-1&&(b.focusedRowIndex=h-f.startIndex)})})};
g.subscribeToIssueChanges=function(a){var b=this,c;(c=this.issueSubscriptions)==null||c.unsubscribe();this.issueSubscriptions=new Yh;a=l(a);for(c=a.next();!c.done;c=a.next())this.issueSubscriptions.add(this.issueFullFridge.watch(c.value.id).pipe(Di(fe),tj(this.destroyed$)).subscribe(function(d){var e,f;return v(function(h){switch(h.nextAddress){case 1:if(!b.searchResults){h.jumpTo(2);break}if(!d.snapshot[0].componentId){e=void 0;h.jumpTo(3);break}return w(h,pi(b.componentFridge.watch(d.snapshot[0].componentId,
{trustUncertainMemory:!0})),4);case 4:e=h.yieldResult;case 3:f=e;if(!f||!b.searchResults)return h.return();w4c(b.searchResults,[{issue:d,component:f}]);b.searchResults=b.searchResults.clone();case 2:b.cdr.detectChanges(),ji(h)}})}))};g.getGridPreferencesDefaults=function(){return{page:this.page,displayColumns:E0.DEFAULT_COLUMNS,sortColumns:[],query:"",resultsPerPage:25}};
g.save=function(){var a=this,b=kvb(this.issueColumns.slice((this.searchResults?this.getMetaColumns(this.searchResults):E0.DEFAULT_META_COLUMNS).length)).map(function(c){return new Xr(c)});this.resource.displayColumn=b;b=this.sortPreferences.map(function(c){return{direction:c.direction,field:c.fieldId}});this.resource.sortOrder=b;hq(this.butterBar,"Saving changes to panel...");this.saveResource().then(function(){a.initialIssueColumns=wd(a.issueColumns);a.initialSortPreferences=wd(a.sortPreferences);
a.cdr.detectChanges()})};g.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");this.issueColumns=[].concat(p(this.initialIssueColumns||[]));this.initialSortPreferences&&!vd(this.initialSortPreferences,this.sortPreferences)&&(Daa(this.sortPreferences),Ku(Gaa,this.sortPreferences,void 0,0).apply(null,this.initialSortPreferences),this.refreshResults())};
g.hasParamChanges=function(){return this.resource&&this.isEditable()?this.initialIssueColumns&&!vd(this.initialIssueColumns,this.issueColumns)?!0:!!this.initialSortPreferences&&!vd(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 E0.DEFAULT_META_COLUMNS};
g.getSearchParams=function(a){a=wd(a);a.resultsPerPage=10;a.page=this.page;this.sortPreferences.length&&(a.sortColumns=this.sortPreferences);a.returnUrl=this.bLocation.getUrl();return a};
pg.Object.defineProperties(E0.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){vd(a,this.issueColumnsInternal)||(this.issueColumnsInternal=a,this.analytics.trackEvent(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&&S9c(this)},
get:function(){return this.focusedRowIndexInternal}},isFocused:{configurable:!0,enumerable:!0,get:function(){return this.focusedRowIndex!==null}}});E0.DEFAULT_META_COLUMNS=[j0,k0,l0];E0.DEFAULT_COLUMNS=h8c.map(Yr).filter(fe);E0.\u0275fac=function(a){return new (a||E0)};
E0.\u0275cmp=F({type:E0,selectors:[["b-base-issues-list"]],viewQuery:function(a,b){a&1&&ek(h0,5);if(a&2){var c;ik(c=jk())&&(b.issuesGrid=c.first)}},inputs:{panel:"panel",isDashboardEditable:"isDashboardEditable",first:"first",last:"last",focusedRowIndex:"focusedRowIndex"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",resultsLoaded:"resultsLoaded",selectionChange:"selectionChange"},standalone:!1,features:[xj],decls:0,vars:0,template:function(){},encapsulation:2});var F0=function(){this.dialog=x(lI);this.appEvents=x(EB);this.last=this.first=!1};F0.prototype.removePanel=function(){var a=this;this.dialog.open({title:"Remove Item?",content:md("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)}})};F0.\u0275fac=function(a){return new (a||F0)};
F0.\u0275cmp=F({type:F0,selectors:[["b-panel-controls"]],inputs:{panelId:"panelId",first:"first",last:"last"},standalone:!1,decls:6,vars:1,consts:[["menu",""],["type","button","mat-icon-button","","aria-label","Customize list view",1,"small","bv2-grid-settings-button",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown",1,"icon-s"],["matMenuContent",""],["type","button","mat-menu-item","",1,"bv2-panel-move-to-top-menuitem"],["type","button","mat-menu-item","",1,"bv2-panel-move-up-menuitem"],["type",
"button","mat-menu-item","",1,"bv2-panel-move-down-menuitem"],["type","button","mat-menu-item","",1,"bv2-panel-move-to-bottom-menuitem"],["type","button","mat-menu-item","",1,"bv2-panel-remove-edit-menuitem",3,"click"],["type","button","mat-menu-item","",1,"bv2-panel-move-to-top-menuitem",3,"click"],["type","button","mat-menu-item","",1,"bv2-panel-move-up-menuitem",3,"click"],["type","button","mat-menu-item","",1,"bv2-panel-move-down-menuitem",3,"click"],["type","button","mat-menu-item","",1,"bv2-panel-move-to-bottom-menuitem",
3,"click"]],template:function(a){a&1&&(L(0,"div")(1,"button",1),N(2,"mat-icon",2),M(),L(3,"mat-menu",null,0),G(5,YCb,6,4,"ng-template",3),M()());a&2&&(a=T(4),E(),K("matMenuTriggerFor",a))},dependencies:[EA,FL,mK,kK,lK,pK,dA,bA],encapsulation:2});var G0=function(){};G0.\u0275fac=function(a){return new (a||G0)};G0.\u0275mod=Zi({type:G0});G0.\u0275inj=Eg({imports:[jC,IL,FI]});var H0=function(){};H0.\u0275fac=function(a){return new (a||H0)};H0.\u0275mod=Zi({type:H0});H0.\u0275inj=Eg({imports:[jC,uL]});var I0=function(){};I0.\u0275fac=function(a){return new (a||I0)};I0.\u0275mod=Zi({type:I0});I0.\u0275inj=Eg({imports:[jC,H0]});var J0=function(){};J0.\u0275fac=function(a){return new (a||J0)};J0.\u0275mod=Zi({type:J0});J0.\u0275inj=Eg({imports:[jC,uL,I0]});var K0=function(){};K0.prototype.getValue=function(){return this.row[this.column.name]||""};K0.prototype.isCustomField=function(){return this.column.isCustomField};K0.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 vd(this.customFieldValue,a)||(this.customFieldValue=a),this.customFieldValue};
K0.\u0275fac=function(a){return new (a||K0)};K0.\u0275cmp=F({type:K0,selectors:[["pop-grid-default-cell"]],inputs:{row:"row",column:"column"},standalone:!1,decls:2,vars:2,consts:[[3,"customFieldValue"]],template:function(a,b){a&1&&(I(0,ZCb,2,2,"span"),I(1,$Cb,1,1,"b-custom-field-value-display",0));a&2&&(J(b.isCustomField()?-1:0),E(),J(b.isCustomField()?1:-1))},dependencies:[RZ],encapsulation:2,changeDetection:0});var L0=function(){};L0.\u0275fac=function(a){return new (a||L0)};L0.\u0275mod=Zi({type:L0});L0.\u0275inj=Eg({imports:[jC,JL,SZ]});isa(D_,[oy,I_,K0],[]);var M0=function(){};M0.\u0275fac=function(a){return new (a||M0)};M0.\u0275mod=Zi({type:M0});M0.\u0275inj=Eg({imports:[jC,IL,oN,JL,FI,vM,L0]});var N0=function(){};N0.\u0275fac=function(a){return new (a||N0)};N0.\u0275mod=Zi({type:N0});N0.\u0275inj=Eg({imports:[jC,H0]});var O0=function(){};O0.\u0275fac=function(a){return new (a||O0)};O0.\u0275mod=Zi({type:O0});O0.\u0275inj=Eg({imports:[xy,FG,vU,GG]});var P0=function(){};P0.\u0275fac=function(a){return new (a||P0)};P0.\u0275mod=Zi({type:P0});P0.\u0275inj=Eg({imports:[jC,JL,zV,kZ,O0,uL]});var Q0=function(){};Q0.\u0275fac=function(a){return new (a||Q0)};Q0.\u0275mod=Zi({type:Q0});Q0.\u0275inj=Eg({imports:[jC,JL,zV,uL]});var R0=function(){};R0.\u0275fac=function(a){return new (a||R0)};R0.\u0275mod=Zi({type:R0});R0.\u0275inj=Eg({imports:[jC,mU,pN,GG,ZL]});var S0=function(){};S0.\u0275fac=function(a){return new (a||S0)};S0.\u0275mod=Zi({type:S0});S0.\u0275inj=Eg({imports:[jC,JL,FI,uL,N0,yN,I0,R0,Jz,cN]});var T0=function(){};T0.\u0275fac=function(a){return new (a||T0)};T0.\u0275mod=Zi({type:T0});T0.\u0275inj=Eg({imports:[EM,uM,jC,FG,FI,HI,wM,aM,JL,kZ]});var T9c={},U9c=(T9c.COMFORTABLE=330,T9c.COZY=300,T9c.COMPACT=270,T9c),U0=function(){Z.call(this);var a=this;this.userPreferencesManager=x(NF);this.RIGHT_SIDEBAR_MIN_WIDTH=245;this.density$=this.userPreferencesManager.preferences$.pipe(C(function(b){var c;return(c=b.themePreferences)==null?void 0:c.density}));this.sidebarWidthPreference$=this.userPreferencesManager.preferences$.pipe(C(function(b){var c;return(c=b.layoutPreferences)==null?void 0:c.rightSidebarWidth}));this.rightSidebarWidthChanged$=
new oj;this.currentSidebarWidth$=si([this.density$,this.sidebarWidthPreference$,this.rightSidebarWidthChanged$.pipe(rj(void 0))]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;return c!=null?c:d!=null?d:U9c[b!=null?b:"COMFORTABLE"]}));si([this.rightSidebarWidthChanged$.pipe(jj()),this.sidebarWidthPreference$]).pipe(Di(function(b){var c=l(b);b=c.next().value;return c.next().value!==b}),sj(function(b){var c=l(b);b=c.next().value;c.next();return szc(a.userPreferencesManager,
{rightSidebarWidth:b})}),tj(this.destroyed$)).subscribe()};Y(U0,Z);U0.\u0275dir=Z.\u0275dir;U0.prototype.ngOnInit=function(){};U0.\u0275fac=function(a){return new (a||U0)};
U0.\u0275cmp=F({type:U0,selectors:[["issue-metadata-sidebar"]],inputs:{issueId:"issueId"},standalone:!1,features:[xj],decls:7,vars:5,consts:[[1,"a11y-only"],["direction","rtl",3,"widthChanged","minWidth","size"],[1,"bv2-issue-metadata"],[1,"flex-kids-y"],[3,"issueId"]],template:function(a,b){a&1&&(L(0,"h3",0),U(1,"Issue metadata"),M(),L(2,"b-resizable-sidebar",1),W(3,"async"),Q("widthChanged",function(d){return b.rightSidebarWidthChanged$.next(d)}),L(4,"div",2)(5,"div",3),I(6,aDb,1,1,"edit-issue-metadata",
4),M()()());if(a&2){E(2);var c;K("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("size",(c=X(3,3,b.currentSidebarWidth$))!=null?c:0);E(4);J(b.issueId?6:-1)}},dependencies:[NL,b0,py],styles:["[_nghost-%COMP%] {\n      display: inherit;\n    }"],changeDetection:0});var V0=function(){};V0.\u0275fac=function(a){return new (a||V0)};V0.\u0275mod=Zi({type:V0});V0.\u0275inj=Eg({imports:[$M,dO,jC,fU,sN,P0,Q0,zV,EL,uL,yQ,S0,xO,JL,QL,T0,xU,kQ,nO,IV,sV,DV,CV]});var W0=function(){};W0.\u0275fac=function(a){return new (a||W0)};W0.\u0275mod=Zi({type:W0});W0.\u0275inj=Eg({imports:[FI,JL,FG,UL,pO,lH,gO,nO,jC,zQ,cN,$M,oL,V0,rM,pP,xQ,eW]});var X0=function(){};X0.\u0275fac=function(a){return new (a||X0)};X0.\u0275mod=Zi({type:X0});X0.\u0275inj=Eg({imports:[jC,uL]});var Y0=function(){};Y0.\u0275fac=function(a){return new (a||Y0)};Y0.\u0275mod=Zi({type:Y0});Y0.\u0275inj=Eg({imports:[jC,X0,yN]});var Z0=function(){};Z0.\u0275fac=function(a){return new (a||Z0)};Z0.\u0275mod=Zi({type:Z0});Z0.\u0275inj=Eg({imports:[L_,jC,IL,oN,JL,FI,HI,Xz,HX,vM,L0,H0,J0,yN,N0,$M,vL,uU,Y0,KQ,lQ,MX,QZ,uL,yQ,W0,bO,GQ,wQ,C_,M0,BM]});var a1=function(){this.hotlistsApi=x(zC);this.butterBar=x(MA);this.appEvents=x(EB)};
a1.prototype.repositionIssue=function(a,b,c,d,e,f){var h=this,k=b[0].position,q=k>b[1].position,u=b[c],A=b[d].position;Naa(b,c,d);f==null||f();hq(this.butterBar,"Saving...",0);return this.hotlistsApi.repositionHotlistIssue(a,u.issueId,A).then(function(){for(var D=k,H=l(b),O=H.next();!O.done;O=H.next())O.value.position=D,D+=q?-1:1;f==null||f();hq(h.butterBar,"Saved issue position.",4E3);h.appEvents.hotlistChanged.next({hotlistId:a,origin:e});return h.hotlistsApi.get(a)})};
a1.\u0275fac=function(a){return new (a||a1)};a1.\u0275prov=Dg({token:a1,factory:a1.\u0275fac,providedIn:"root"});var b1=function(){this.pageChange=new iE;this.resultsPerPageChange=new iE;this.resultsPerPageFixed=!1;this.resultsPerPageOptions=[10,25,50,100,250]};b1.prototype.nextPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page+1})};b1.prototype.prevPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page-1})};
pg.Object.defineProperties(b1.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}})}}});b1.\u0275fac=function(a){return new (a||b1)};
b1.\u0275cmp=F({type:b1,selectors:[["b-pagination"]],inputs:{searchResults:"searchResults",resultsPerPageFixed:"resultsPerPageFixed"},outputs:{pageChange:"pageChange",resultsPerPageChange:"resultsPerPageChange"},standalone:!1,decls:7,vars:4,consts:[[1,"bv2-appbar-page"],["header","Results per page:","buttonLabel","Results per page","buttonIcon","arrow-dropdown",3,"menuItems"],["aria-live","polite","role","alert",1,"bv2-appbar-pagenums"],["type","button","mat-icon-button","","focusBack","","color",
"primary","mat-tooltip","Go to previous page","aria-label","Go to previous page",1,"large","left","compact",3,"click","keydown.enter","disabled"],["svgIcon","arrow-left",1,"large"],["type","button","mat-icon-button","","focusBack","","color","primary","mat-tooltip","Go to next page","aria-label","Go to next page",1,"large","right","compact",3,"click","keydown.enter","disabled"],["svgIcon","arrow-right",1,"large"]],template:function(a,b){a&1&&(L(0,"div",0),I(1,bDb,1,1,"b-actions-menu",1),I(2,cDb,6,
3,"span",2),L(3,"button",3),Q("click",function(){return b.prevPage()})("keydown.enter",function(c){b.prevPage();return c.stopPropagation()}),N(4,"mat-icon",4),M(),L(5,"button",5),Q("click",function(){return b.nextPage()})("keydown.enter",function(c){b.nextPage();return c.stopPropagation()}),N(6,"mat-icon",6),M()());a&2&&(E(),J(b.searchResults&&b.searchResults.issues.length>0&&!b.resultsPerPageFixed?1:-1),E(),J(b.searchResults&&b.searchResults.issues.length>0?2:-1),E(),K("disabled",!(b.searchResults==
null?0:b.searchResults.hasPreviousPage())),E(2),K("disabled",!(b.searchResults==null?0:b.searchResults.hasNextPage())))},dependencies:[EA,dA,bA,jS,VR],encapsulation:2});var c1=function(){};c1.\u0275fac=function(a){return new (a||c1)};c1.\u0275mod=Zi({type:c1});c1.\u0275inj=Eg({imports:[jC,FI,WS,LX]});var d1=function(){E0.apply(this,arguments);this.hotlists=x(a1);this.hotlistApi=x(zC);this.appEvents=x(EB);this.ROUTES=Hq;this.resource=null};Y(d1,E0);d1.\u0275dir=E0.\u0275dir;g=d1.prototype;g.ngOnInit=function(){E0.prototype.ngOnInit.call(this)};g.setSort=function(a,b){var c=this.getSort();a==="position"||c&&c.field==="position"?E0.prototype.setSort.call(this,a,b,!1):E0.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"});hq(a.butterBar,'Saved changes to hotlist "'+b.name+'".');a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams");a.cdr.detectChanges();return b}).catch(function(b){a.errorHandler.errorHandler(null,b);return Promise.reject(b)});this.butterBar.showWarning("Hotlist is not set at this time.");
return Promise.resolve()};g.getGridPreferencesDefaults=function(){return Object.assign({},E0.prototype.getGridPreferencesDefaults.call(this),{query:"hotlistId:"+this.hotlistId})};g.getMetaColumns=function(a){a=a.params.sortColumns||[];return a.length==0||a.length==1&&a[0].fieldId.type=="POSITION"?V9c:W9c};g.getSearchParams=function(a){a=E0.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;c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"issueDragDrop")})};d1.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(d1)))(b||d1)}}();
d1.\u0275cmp=F({type:d1,selectors:[["b-hotlist-panel"]],inputs:{hotlistId:"hotlistId"},standalone:!1,features:[Bk([jE]),xj],decls:9,vars:8,consts:[[1,"bv2-panel","bv2-view-hotlist-grid"],[1,"bv2-view-hotlist-title"],[1,"bv2-view-hotlist-title-text"],[1,"bv2-view-hotlist-save-form"],[3,"pageChange","searchResults","resultsPerPageFixed"],[1,"bv2-panel-controls",3,"panelId"],["tabindex","0"],[3,"href"],[3,"matTooltip"],["matTooltip","Display preferences have changed"],["mat-flat-button","","type","button",
"color","primary","matTooltip","Save changes to display preferences",1,"medium",3,"click"],["mat-stroked-button","","type","button","color","primary","matTooltip","Discard changes to display preferences",1,"medium",3,"click"],[1,"bv2-view-loading"],["tabindex","0",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"large"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","onRowDragDrop","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving",
"sort"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"div",1)(2,"div",2),I(3,dDb,2,0,"div"),I(4,eDb,2,0,"div"),I(5,hDb,8,6,"div"),M(),I(6,iDb,5,0,"div",3),L(7,"b-pagination",4),Q("pageChange",function(c){return b.goToPage(c.page)}),M()(),I(8,oDb,4,3,"div"),M());a&2&&(Hj("aria-busy",b.isLoading),E(3),J(b.resource||b.isLoading?-1:3),E(),J(!b.resource&&b.isLoading?4:-1),E(),J(b.resource?5:-1),E(),J(b.hasParamChanges()?6:-1),E(),K("searchResults",b.searchResults)("resultsPerPageFixed",!0),E(),J(b.resource?
8:-1))},dependencies:[h0,dA,aA,YF,WF,b1,F0,lL],encapsulation:2});var W9c=[j0,k0,l0,u9c],V9c=[j0,t9c,k0,l0,u9c],e1=function(){};e1.\u0275fac=function(a){return new (a||e1)};e1.\u0275mod=Zi({type:e1});e1.\u0275inj=Eg({imports:[jC,Z0,FI,JL,c1,G0,oL]});var f1=function(){E0.apply(this,arguments);this.savedSearchApi=x(HC);this.resource=null};Y(f1,E0);f1.\u0275dir=E0.\u0275dir;f1.prototype.ngOnInit=function(){E0.prototype.ngOnInit.call(this)};f1.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};f1.prototype.saveResource=function(){return Promise.resolve()};
f1.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(f1)))(b||f1)}}();
f1.\u0275cmp=F({type:f1,selectors:[["b-saved-search-panel"]],inputs:{savedSearchId:"savedSearchId"},standalone:!1,features:[Bk([jE]),xj],decls:8,vars:7,consts:[[1,"bv2-panel","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],[1,"bv2-view-savedsearch-title-text"],["tabindex","0"],[3,"pageChange","searchResults","resultsPerPageFixed"],[1,"bv2-panel-controls",3,"panelId"],[3,"href"],[3,"matTooltip"],["matTooltip","Display preferences or search query have changed"],[1,"bv2-view-loading"],
["tabindex","0","role","region",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"large"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"div",1)(2,"div",2),I(3,pDb,2,0,"div"),I(4,qDb,2,0,"div"),I(5,tDb,8,6,"div",3),M(),L(6,"b-pagination",4),Q("pageChange",function(c){return b.goToPage(c.page)}),M()(),I(7,yDb,4,3,"div"),M());a&
2&&(Hj("aria-busy",b.isLoading),E(3),J(b.resource||b.isLoading?-1:3),E(),J(!b.resource&&b.isLoading?4:-1),E(),J(b.resource?5:-1),E(),K("searchResults",b.searchResults)("resultsPerPageFixed",!0),E(),J(b.resource?7:-1))},dependencies:[h0,YF,WF,b1,F0,lL],encapsulation:2});var g1=function(){};g1.\u0275fac=function(a){return new (a||g1)};g1.\u0275mod=Zi({type:g1});g1.\u0275inj=Eg({imports:[jC,Z0,JL,c1,G0,oL]});var h1=function(){this.label="Team"};h1.prototype.ngOnInit=function(){};h1.\u0275fac=function(a){return new (a||h1)};
h1.\u0275cmp=F({type:h1,selectors:[["b-team-breadcrumb"]],inputs:{teamPath:"teamPath",label:"label"},standalone:!1,decls:4,vars:1,consts:[["role","navigation",1,"breadcrumb"],[1,"breadcrumb-items"],[1,"breadcrumb-item"],[1,"keep-focus-ring",3,"routerLink","preserveFragment"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"span",1),Mj(2,zDb,3,4,"span",2,Lj),M()());a&2&&(Hj("aria-label",b.label),E(2),Nj(b.teamPath))},dependencies:[bC],encapsulation:2});var i1=function(){};i1.\u0275fac=function(a){return new (a||i1)};i1.\u0275mod=Zi({type:i1});i1.\u0275inj=Eg({imports:[jC,$N]});var X9c=["form"],Y9c=["numberInput"],Z9c=/^\d+\.?\d*$/,$9c={DAYS:0,YEARS:1,0:"DAYS",1:"YEARS"},j1=function(){this.disabled=!1;this.ariaLabel="";this.durationDaysChange=new iE;this.displayUnits=0;this.TimeUnit=$9c};
j1.prototype.ngOnInit=function(){var a=this;this.durationDays&&(this.displayUnits=this.durationDays%365===0?1:0,this.displayNumber=this.displayUnits===1?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()})};j1.prototype.ngAfterViewInit=function(){};
j1.prototype.onValueChange=function(){if(this.displayNumber!==void 0){switch(this.displayUnits){case 1:var a=this.displayNumber*365;break;default:a=this.displayNumber}a=Math.ceil(a)}else a=void 0;a!==this.durationDays&&(this.durationDays=a,this.durationDaysChange.emit(this.durationDays))};j1.prototype.ngOnDestroy=function(){this.formSubscription&&this.formSubscription.unsubscribe()};j1.\u0275fac=function(a){return new (a||j1)};
j1.\u0275cmp=F({type:j1,selectors:[["b-duration-picker"]],viewQuery:function(a,b){a&1&&(ek(X9c,7),ek(Y9c,7));if(a&2){var c;ik(c=jk())&&(b.form=c.first);ik(c=jk())&&(b.numberInput=c.first)}},inputs:{durationDays:"durationDays",disabled:"disabled",ariaLabel:"ariaLabel"},outputs:{durationDaysChange:"durationDaysChange"},standalone:!1,decls:14,vars:7,consts:[["form","ngForm"],["numberInput",""],[1,"duration-picker-form"],"color primary appearance outline subscriptSizing dynamic".split(" "),["matInput",
"","type","number","step","1","min","0","name","numbers",3,"keydown","paste","ngModel","disabled"],["name","unit",3,"ngModel","disabled"],["color","accent",3,"value"]],template:function(a,b){if(a&1){var c=y();L(0,"form",null,0)(2,"div",2)(3,"mat-form-field",3)(4,"mat-label");U(5," Custom Duration ");M();L(6,"input",4,1);Q("keydown",function(d){z(c);switch(d.key){case "-":case "e":case "E":d.preventDefault()}return B()})("paste",function(d){z(c);var e=d.clipboardData.getData("Text");Z9c.test(e)||d.preventDefault();
return B()});M()();L(8,"mat-form-field",3)(9,"mat-select",5)(10,"mat-option",6);U(11,"days");M();L(12,"mat-option",6);U(13,"year(s)");M()()()()()}a&2&&(E(6),K("ngModel",b.displayNumber)("disabled",b.disabled),Hj("aria-label",b.ariaLabel),E(3),K("ngModel",b.displayUnits)("disabled",b.disabled),E(),K("value",b.TimeUnit.DAYS),E(2),K("value",b.TimeUnit.YEARS))},dependencies:[pG,Bp,qG,hG,iG,zG,oG,mG,oO,mH,eH,YG,TL,VL,WL,Vz],styles:["[_nghost-%COMP%]     .duration-picker-form{display:flex;flex-direction:row;width:250px}[_nghost-%COMP%]     .duration-picker-form .mat-mdc-form-field{height:fit-content;min-width:150px;padding-right:10px;--mat-form-field-container-height: 24px}[_nghost-%COMP%]     .duration-picker-form .mat-mdc-form-field .mat-mdc-input-element{width:100%}[_nghost-%COMP%]     .duration-picker-form .mat-mdc-form-field .mat-mdc-floating-label mat-label{font-size:.813rem}[_nghost-%COMP%]     .duration-picker-form .mat-mdc-form-field .mat-mdc-form-field-infix{min-height:initial;padding:2px}[_nghost-%COMP%]     .duration-picker-form .gmat-mdc-select{--mat-select-trigger-text-size: 0.813rem}"],
changeDetection:0});var k1=function(){};k1.\u0275fac=function(a){return new (a||k1)};k1.\u0275mod=Zi({type:k1});k1.\u0275inj=Eg({imports:[jC,FG,pO,UL,ZL,pP]});var l1=function(){this.dialogRef=x(YH);this.data=x(dI);this.documentationLinks=x(XH)};l1.prototype.getDisablingFieldsHelpLink=function(){return this.documentationLinks.getDisablingFieldsHelpLink()};l1.prototype.onNoClick=function(){this.dialogRef.close(!1)};l1.\u0275fac=function(a){return new (a||l1)};
l1.\u0275cmp=F({type:l1,selectors:[["b-field-state-change-confirmation-dialog"]],standalone:!1,decls:22,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],["type","button","mat-stroked-button","",1,"medium",3,"click"],["type","button","mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","dialog-primary-action",3,"mat-dialog-close"],[1,"notice"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1),M(),L(2,"div",1)(3,"p"),
U(4," The "),L(5,"strong"),U(6),M(),U(7," field will change state from "),L(8,"strong"),U(9),M(),U(10," to "),L(11,"strong"),U(12),M(),U(13,". "),M(),I(14,ADb,6,2,"p"),L(15,"p"),U(16,"Are you sure?"),M()(),L(17,"div",2)(18,"button",3),Q("click",function(){return b.onNoClick()}),U(19," Cancel "),M(),L(20,"button",4),U(21," Confirm "),M()());a&2&&(E(),V("Field State Change for ",b.data.fieldName),E(5),tk(b.data.fieldName),E(3),tk(b.data.oldFieldState),E(3),tk(b.data.newFieldState),E(2),J(b.data.noteText?
14:-1),E(6),K("mat-dialog-close",!0))},dependencies:[dA,aA,fI,hI,jI,iI],styles:[".notice[_ngcontent-%COMP%]{font-weight:bold}"]});var a$c=["fieldStateMenuButton"],m1=function(){this.dialog=x(eI);this.fieldName="";this.fieldState="INHERIT";this.confirmationDialog=this.enabledOnParent=!0;this.disabled=!1;this.fieldStateChange=new iE;this.FieldState=Xhc;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."}};m1.prototype.ngOnInit=function(){this.updateMenuButton()};m1.prototype.ngOnChanges=function(){this.updateMenuButton()};
var c$c=function(a,b){b!==a.fieldState&&(a.confirmationDialog?b$c(a,b):(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b)))},b$c=function(a,b){var c=b==="DISABLED"||b==="INHERIT"&&!a.enabledOnParent,d=a.fieldState!=="INHERIT"&&b==="INHERIT",e=void 0;a.fieldState!=="DISABLED"&&(a.fieldState!=="INHERIT"||a.enabledOnParent)&&c?e=a.msgs.becomesHiddenWarning:d&&(e=a.msgs.becomesInheritedWarning);ZH(a.dialog.open(l1,{width:"500px",data:{fieldName:a.fieldName,oldFieldState:d$c(a,a.fieldState),
newFieldState:d$c(a,b),noteText:e}})).pipe(hj(1)).subscribe(function(f){f?(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b),a.disabled=!0):a.focus()})};m1.prototype.updateMenuButton=function(){this.defaultLabel="Default ("+(this.enabledOnParent?this.msgs.visibleName:this.msgs.hiddenName)+")";this.menuLabel=d$c(this,this.fieldState)};
var d$c=function(a,b){switch(b){case "INHERIT":return a.defaultLabel;case "DISABLED":return a.msgs.hiddenName;case "ENABLED":return a.msgs.visibleName;default:qb(b,"Unknown FieldState.")}};m1.prototype.focus=function(){this.disabled=!1;this.fieldStateMenuButton.nativeElement.focus()};m1.\u0275fac=function(a){return new (a||m1)};
m1.\u0275cmp=F({type:m1,selectors:[["b-field-state-menu"]],viewQuery:function(a,b){a&1&&ek(a$c,5,Ph);if(a&2){var c;ik(c=jk())&&(b.fieldStateMenuButton=c.first)}},inputs:{fieldName:"fieldName",fieldState:"fieldState",enabledOnParent:"enabledOnParent",confirmationDialog:"confirmationDialog",disabled:"disabled"},outputs:{fieldStateChange:"fieldStateChange"},standalone:!1,features:[$w],decls:33,vars:17,consts:[["fieldStateMenuButton",""],["fieldStateMenu","matMenu"],["type","button","mat-button","",1,
"field-state-menu-button","medium",3,"disabled","matMenuTriggerFor"],[1,"field-state-menu-button-inner"],[1,"field-state-menu-label",3,"innerHTML"],["name","arrow-dropdown","size","small",1,"field-state-dropdown-icon"],[1,"field-state-menu"],[1,"menu-row-container","default-container"],["type","button","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"],["type","button","mat-menu-item","",1,"field-state-option",3,"click"],[1,"menu-row-container"],[1,"state-info"]],template:function(a,b){if(a&1){var c=y();L(0,"div")(1,"button",2,0)(3,"div",3);N(4,"span",4)(5,"b-icon",5);M()()();L(6,"mat-menu",null,1)(8,"div",6)(9,"div",7)(10,"button",8);Q("click",function(){z(c);return B(c$c(b,b.FieldState.INHERIT))});N(11,"b-icon",9);L(12,"div",10);U(13);M();L(14,"div",11);U(15);M()()();N(16,"mat-divider");L(17,"button",12);Q("click",function(){z(c);
return B(c$c(b,b.FieldState.DISABLED))});L(18,"div",13)(19,"div",14);N(20,"b-icon",9);L(21,"div",10);U(22);M();L(23,"div",11);U(24);M()()()();L(25,"button",12);Q("click",function(){z(c);return B(c$c(b,b.FieldState.ENABLED))});L(26,"div",13)(27,"div",14);N(28,"b-icon",9);L(29,"div",10);U(30);M();L(31,"div",11);U(32);M()()()()()()}a&2&&(a=T(7),E(),rk("mat-stroked-button",!b.disabled),K("disabled",b.disabled)("matMenuTriggerFor",a),E(3),K("innerHTML",b.menuLabel,Mi),E(6),rk("b-menu-item-checked",b.fieldState===
b.FieldState.INHERIT),E(3),V(" ",b.defaultLabel," "),E(2),V(" ",b.msgs.inheritDescription," "),E(2),rk("b-menu-item-checked",b.fieldState===b.FieldState.DISABLED),E(5),V(" ",b.msgs.hiddenName," "),E(2),V(" ",b.msgs.hiddenDescription," "),E(),rk("b-menu-item-checked",b.fieldState===b.FieldState.ENABLED),E(5),V(" ",b.msgs.visibleName," "),E(2),V(" ",b.msgs.visibleDescription," "))},dependencies:[dA,aA,eN,FL,mK,kK,pK,jK],styles:[".field-state-menu[_ngcontent-%COMP%]{max-width:210px}.field-state-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]{height:auto;padding:5px 0px 5px 24px;white-space:normal}.field-state-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]   .item-description[_ngcontent-%COMP%]{white-space:normal}.field-state-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]   .item-checkmark[_ngcontent-%COMP%]{height:18px;line-height:0px;width:18px}.field-state-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]   .item-description[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}.field-state-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]   .item-icon[_ngcontent-%COMP%]{display:block;margin:auto;width:18px}.field-state-menu[_ngcontent-%COMP%]   button.mat-mdc-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 n1=function(){};n1.\u0275fac=function(a){return new (a||n1)};n1.\u0275mod=Zi({type:n1});n1.\u0275inj=Eg({imports:[jC,FI,HI,oN,IL,vM,EM]});var o1=function(){this.dialogRef=x(YH);this.data=x(dI);this.issueId=this.data.issueId;this.issueTitle=this.data.issueTitle};o1.prototype.close=function(){this.dialogRef.close(!1)};o1.\u0275fac=function(a){return new (a||o1)};
o1.\u0275cmp=F({type:o1,selectors:[["b-unsubscribe-dialog"]],standalone:!1,decls:21,vars:4,consts:[["mat-dialog-title",""],[1,"gmat-body-2"],[1,"gmat-body-1"],["target","_blank",3,"href"],["type","button","mat-button","",3,"click"],["type","button","mat-flat-button","","cdkFocusInitial","",1,"dialog-primary-action",3,"click"]],template:function(a,b){a&1&&(L(0,"h1",0),U(1,"Unsubscribe From Issue"),M(),L(2,"mat-dialog-content")(3,"div",1),U(4," Are you sure you would like to unsubscribe from the following issue? "),
M(),N(5,"br"),L(6,"div",2)(7,"a",3)(8,"span"),U(9),M()(),U(10," - "),L(11,"span"),U(12),M()(),N(13,"br"),L(14,"div",1),U(15," By unsubscribing, you will no longer receive email updates about this issue. "),M()(),L(16,"mat-dialog-actions")(17,"button",4),Q("click",function(){return b.close()}),U(18," Cancel "),M(),L(19,"button",5),Q("click",function(){b.dialogRef.close(!0)}),U(20," Unsubscribe "),M()());a&2&&(E(7),K("href",zk("/issues/",b.issueId),Ni),E(2),V("b/",b.issueId),E(3),tk(b.issueTitle))},
dependencies:[dA,aA,hI,jI,iI],encapsulation:2});var p1=function(){this.activeSession=x(Ks);this.matDialogService=x(eI);this.issueFullFridge=x(pE);this.analytics=x(nE);this.routeParams=x(NI);this.iconOnly=!1;this.subscriptionChange=new iE;this.showNotificationSettings=new iE;this.menuLabel="Default";this.menuIcon="notifications_none_24px";this.isAnonymous=this.activeSession.isAnonymous();this.subscriptionInternal="UNKNOWN_SUBSCRIPTION";this.NotificationSubscription=hic;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"}]])};
p1.prototype.ngOnInit=function(){e$c(this)};p1.prototype.ngOnChanges=function(){this.updateMenuButton()};p1.prototype.updateSubscription=function(a){a!==this.subscriptionInternal&&this.subscriptionChange.emit(a)};p1.prototype.updateMenuButton=function(){var a=this.subscriptions.get(this.subscriptionInternal);a&&(this.menuLabel=a.label,this.menuIcon=a.icon)};
var e$c=function(a){var b,c;v(function(d){if(d.nextAddress==1)return a.routeParams.unsubscribe!=="true"||a.subscription&&a.subscription==="UNSUBSCRIBED"?d.return():w(d,pi(a.issueFullFridge.watch(a.issueId)),2);if(d.nextAddress!=3){b=d.yieldResult;if(!b)return d.return();a.matDialogService.closeAll();return w(d,pi(ZH(a.matDialogService.open(o1,{width:"400px",data:{issueId:a.issueId,issueTitle:b.snapshot[0].title}}))),3)}if(c=d.yieldResult)a.updateSubscription("UNSUBSCRIBED"),a.analytics.trackEvent("editIssue",
"unsubscribeUsingDialog");ji(d)})};pg.Object.defineProperties(p1.prototype,{subscription:{configurable:!0,enumerable:!0,set:function(a){a!=null&&(this.subscriptionInternal=a)},get:function(){return this.subscriptionInternal}}});p1.\u0275fac=function(a){return new (a||p1)};
p1.\u0275cmp=F({type:p1,selectors:[["b-notification-menu"]],inputs:{subscription:"subscription",iconOnly:"iconOnly",issueId:"issueId"},outputs:{subscriptionChange:"subscriptionChange",showNotificationSettings:"showNotificationSettings"},standalone:!1,features:[$w],decls:63,vars:30,consts:[["notificationMenu","matMenu"],["allUpdates",""],["all",""],["majorUpdates",""],["major",""],["type","button","mat-button","","matTooltip","Notification menu",1,"notification-menu-button",3,"matMenuTriggerFor","disabled"],
[1,"notification-menu-button-inner"],["size","small",1,"icon",3,"name"],[1,"notification-menu"],[1,"menu-row-container","default-container"],["type","button","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"],["type","button","mat-menu-item","","aria-label","Settings",1,"default-settings",3,"click"],
["name","settings-outline","size","small",1,"item-icon"],[1,"menu-row-container"],["type","button","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"],["type","button","mat-menu-item","",1,"subscription-help","help-icon",3,"click","focus","blur"],[3,"panelTemplate","overlayPositions"],["svgIcon","help-outline",1,"subscription-help","item-icon","small"],["type","button",
"mat-menu-item","","aria-label","Major Updates. Receive emails for major updates only.","aria-describedby","major-updates-help",1,"notification-option",3,"click"],["type","button","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=y();L(0,"div")(1,"button",5)(2,"div",6);N(3,"b-icon",7);I(4,BDb,2,1);M()()();L(5,"mat-menu",null,0)(7,"div",8)(8,"div",9)(9,"button",10);Q("click",function(){z(c);return B(b.updateSubscription(b.NotificationSubscription.UNKNOWN_SUBSCRIPTION))});N(10,"b-icon",11);L(11,"div",12);U(12," Default ");M();L(13,"div",13);U(14," receive emails based on your default settings. ");M()();N(15,"mat-divider",14);L(16,"button",15);Q("click",function(f){z(c);return B(b.showNotificationSettings.emit(f))});
N(17,"b-icon",16);M()();N(18,"mat-divider");L(19,"div",17)(20,"button",18);Q("click",function(){z(c);return B(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES))});L(21,"div",19);N(22,"b-icon",11);L(23,"div",12);U(24," All Updates ");M();L(25,"div",13);U(26," receive emails for major and minor updates. ");M()()();L(27,"button",20);Q("click",function(){z(c);return B(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES))})("focus",function(){z(c);var f=T(29);return B(f.toggle(!0))})("blur",
function(){z(c);var f=T(29);return B(f.toggle(!1))});L(28,"xap-bubble",21,1);N(30,"mat-icon",22);G(31,CDb,13,0,"ng-template",null,2,Gk);M()()();L(33,"div",17)(34,"button",23);Q("click",function(){z(c);return B(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES))});L(35,"div",19);N(36,"b-icon",11);L(37,"div",12);U(38," Major Updates ");M();L(39,"div",13);U(40," receive emails for major updates only. ");M()()();L(41,"button",20);Q("click",function(){z(c);return B(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES))})("focus",
function(){z(c);var f=T(43);return B(f.toggle(!0))})("blur",function(){z(c);var f=T(43);return B(f.toggle(!1))});L(42,"xap-bubble",21,3);N(44,"mat-icon",22);G(45,DDb,17,0,"ng-template",null,4,Gk);M()()();L(47,"button",24);Q("click",function(){z(c);return B(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY))});L(48,"div",17)(49,"div",19);N(50,"b-icon",11);L(51,"div",12);U(52," Closure Only ");M();L(53,"div",13);U(54," only receive emails when the issue is closed. ");M()()()();
L(55,"button",24);Q("click",function(){z(c);return B(b.updateSubscription(b.NotificationSubscription.UNSUBSCRIBED))});L(56,"div",17)(57,"div",19);N(58,"b-icon",11);L(59,"div",12);U(60," None ");M();L(61,"div",13);U(62," unsubscribe from further email updates. ");M()()()()()()}if(a&2){a=T(6);var d=T(32),e=T(46);E();rk("small",b.iconOnly)("medium",!b.iconOnly)("icon-only",b.iconOnly);K("matMenuTriggerFor",a)("disabled",b.isAnonymous);Hj("aria-label","Notifications Menu, current value is "+b.subscriptions.get(b.subscriptionInternal||
"UNKNOWN_SUBSCRIPTION").label);E(2);rk("black",b.menuIcon==="notifications-off");K("name",b.menuIcon);E();J(b.iconOnly?-1:4);E(5);rk("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNKNOWN_SUBSCRIPTION);E(6);K("vertical",!0);E(5);rk("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES);E(7);Hj("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.");
E();K("panelTemplate",d)("overlayPositions",b.bubblePosition);E(6);rk("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES);E(7);Hj("aria-label","This includes emails about New comments, New status updates, Priority or Severity changes, Assignee changes, Component changes, Issue closure or reopening, and Changes to custom fields marked as major.");E();K("panelTemplate",e)("overlayPositions",b.bubblePosition);E(5);rk("b-menu-item-checked",b.subscriptionInternal===
b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY);E(8);rk("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNSUBSCRIBED)}},dependencies:[EA,dA,aA,eN,FL,mK,kK,pK,jK,yO,YF,WF],styles:[".notification-menu[_ngcontent-%COMP%]{max-width:210px}.notification-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]{height:auto;padding:5px 0px 5px 24px;white-space:normal}.notification-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]   .item-checkmark[_ngcontent-%COMP%]{height:18px;line-height:0px;width:18px}.notification-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]   .item-description[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted);white-space:normal}.notification-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]   .item-icon[_ngcontent-%COMP%]{display:block;margin:auto;width:18px;height:100%}.notification-menu[_ngcontent-%COMP%]   button.mat-mdc-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;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}.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 q1=function(){};q1.\u0275fac=function(a){return new (a||q1)};q1.\u0275mod=Zi({type:q1});q1.\u0275inj=Eg({imports:[jC,FI,oN,IL,vM,EM,kQ,JL]});var r1=function(){this.sloApi=x(dF);this.cdr=x(jE,{self:!0});this.isDisabled=!1;this.dropdownChoices=null;this.onSloSelect=new iE;this.internalBoundId=this.selectedSlo=null;this.lastProcessedIndex=-1;this.requestIndex=0},f$c=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()};
r1.prototype.displayFn=function(a){return(a==null?void 0:a.name)||(a==null?void 0:a.sloId)||""};r1.prototype.updateSelectionOnChange=function(a){if(a=a.option.value)this.boundId=a.sloId;this.onSloSelect.emit(a);this.cdr.detectChanges()};
pg.Object.defineProperties(r1.prototype,{boundId:{configurable:!0,enumerable:!0,get:function(){return this.internalBoundId},set:function(a){var b=this;(this.internalBoundId=a)&&this.internalBoundId!=="0"?this.sloApi.get(this.internalBoundId).then(function(c){b.dropdownChoices=c?[c]:[];b.selectedSlo=c}).catch(function(){b.selectedSlo={sloId:b.internalBoundId}}):(this.dropdownChoices=[],this.selectedSlo=null)}}});r1.\u0275fac=function(a){return new (a||r1)};
r1.\u0275cmp=F({type:r1,selectors:[["slo-picker"]],inputs:{isDisabled:[0,"bv2Disabled","isDisabled"],placeholder:[0,"bv2Placeholder","placeholder"],boundId:"boundId"},outputs:{onSloSelect:"onSloSelect"},standalone:!1,features:[Bk([jE])],decls:7,vars:5,consts:[["searchInput",""],["auto","matAutocomplete"],[1,"bv2-slo-picker"],["matInput","","type","text","autocomplete","slo-name",1,"bv2-picker-input","form-control",3,"ngModelChange","click","input","placeholder","ngModel","disabled","matAutocomplete"],
["panelWidth","574px",3,"optionSelected","displayWith"],[1,"slo-search-result",3,"value"]],template:function(a,b){if(a&1){var c=y();L(0,"div",2)(1,"input",3,0);xk("ngModelChange",function(d){z(c);wk(b.selectedSlo,d)||(b.selectedSlo=d);return B(d)});Q("click",function(){z(c);var d=T(2);return B(f$c(b,d.value))})("input",function(){z(c);var d=T(2);return B(f$c(b,d.value))});M();L(3,"mat-autocomplete",4,1);Q("optionSelected",function(d){z(c);return B(b.updateSelectionOnChange(d))});Mj(5,EDb,2,2,"mat-option",
5,Lj);M()()}a&2&&(a=T(4),E(),K("placeholder",b.placeholder),vk("ngModel",b.selectedSlo),K("disabled",b.isDisabled)("matAutocomplete",a),E(2),K("displayWith",b.displayFn),E(2),Nj(b.dropdownChoices))},dependencies:[VN,SN,Vz,TN,Bp,hG,oG],encapsulation:2});var s1=function(){};s1.\u0275fac=function(a){return new (a||s1)};s1.\u0275mod=Zi({type:s1});s1.\u0275inj=Eg({imports:[jC,XN,FG]});var t1=function(){this.documentationLinks=x(XH);this.activeSession=x(Ks);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.issueRetentionDisabled=!1;this.modelChange=new iE;this.validChange=new iE;this.indefiniteRetentionComponentsAllowlist=new Set(this.activeSession.getIndefiniteRetentionComponentsAllowlist());this.RetentionSelection=ric};
t1.prototype.ngOnInit=function(){this.initialModel?this.model=this.initialModel:this.model={retentionSelection:"UNSPECIFIED_RETENTION",retentionPeriodDays:null,piiRetentionSelection:"UNSPECIFIED_RETENTION",piiRetentionPeriodDays:null,spiiRetentionPeriodDays:null};js(this)};t1.prototype.updateSelectionOnChange=function(a){this.model.retentionSelection=a;this.model.retentionPeriodDays=null;this.modelChange.emit(this.model);js(this)};
var js=function(a){var b;if(b=ODb(a))b=(b=a.model.piiRetentionSelection)&&b!==a.RetentionSelection.UNSPECIFIED_RETENTION&&(a.model.piiRetentionSelection!==a.RetentionSelection.BUGANIZER_DEFAULT||!g$c(a))&&(a.model.piiRetentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||h$c(a));a.validChange.emit(b)},i$c=function(a){if(!a.isExternal)return!0;var b=a.componentId&&a.indefiniteRetentionComponentsAllowlist.has(a.componentId),c,d,e=((d=(c=a.componentPathInfo)==null?void 0:c.componentPathId)!=null?d:
[]).some(function(f){return a.indefiniteRetentionComponentsAllowlist.has(f)});return b||e},ODb=function(a){var b=a.model.retentionSelection;return b&&b!==a.RetentionSelection.UNSPECIFIED_RETENTION&&(a.model.retentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||!!a.model.retentionPeriodDays&&a.model.retentionPeriodDays>=30&&a.model.retentionPeriodDays<=7300)},GDb=function(a){return a?Tf(a):"[unset period]"},h$c=function(a){if(!a.model.piiRetentionPeriodDays||!a.model.spiiRetentionPeriodDays||a.model.piiRetentionPeriodDays<
30||a.model.spiiRetentionPeriodDays<30)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&&d>3650||b===a.RetentionSelection.CUSTOM_PERIOD&&(c==null||d>c)?!1:!0},LDb=function(a){if(!ODb(a)||h$c(a))return"";var b=a.model.retentionSelection,c=a.model.piiRetentionPeriodDays,d=a.model.spiiRetentionPeriodDays;if(!c||!d||c<30||d<30)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?e===30?"must be 30 days":"must be between 30 days and "+GDb(e):"Restricted+ retention must not exceed Restricted retention."},g$c=function(a){return a.model.retentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&(!a.model.retentionPeriodDays||a.model.retentionPeriodDays<60)},PDb=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&&e>120);return b===a.RetentionSelection.CUSTOM_PERIOD&&!!c&&c>120||d};t1.\u0275fac=function(a){return new (a||t1)};
t1.\u0275cmp=F({type:t1,selectors:[["b-retention-settings-form"]],inputs:{initialModel:"initialModel",isExternal:"isExternal",issueRetentionDisabled:"issueRetentionDisabled",componentId:"componentId",componentPathInfo:"componentPathInfo"},outputs:{modelChange:"modelChange",validChange:"validChange"},standalone:!1,decls:31,vars:31,consts:[["aria-label","Retention settings form",1,"issue-retention-form",3,"ngModelChange","disabled","name","ngModel"],[3,"value"],["aria-label","Custom retention period, must be between 30 days and 20 years",
3,"value"],[1,"duration-error"],[1,"custom-duration"],["id","custom-retention-warning-box",1,"warning-box"],[3,"disabled","value"],["id","indefinite-retention-warning-box",1,"warning-box"],["aria-label","PII Retention settings form",1,"pii-retention-form",3,"ngModelChange","disabled","name","ngModel"],["target","_blank","aria-label","Learn more about restricted access",1,"keep-underline","keep-focus-ring",3,"rel"],[3,"aria-label","disabled","value"],["id","indefinite-pii-retention-warning-box",1,
"warning-box"],["ariaLabel","Custom duration",3,"durationDaysChange","disabled","durationDays"],[1,"duration-description"],[1,"b-restricted-retention-duration-label"],["ariaLabel","Restricted retention duration",3,"durationDaysChange","disabled","durationDays"],[1,"warning-box"],["ariaLabel","Restricted+ retention duration",3,"durationDaysChange","disabled","durationDays"],["id","custom-pii-retention-warning-box",1,"warning-box"]],template:function(a,b){a&1&&(L(0,"mat-radio-group",0),Q("ngModelChange",
function(c){return b.updateSelectionOnChange(c)}),L(1,"p")(2,"b"),U(3,"Issue Retention"),M()(),L(4,"mat-radio-button",1),U(5," Buganizer default retention period (for minimal or no PII/SPII): 10 years "),M(),L(6,"mat-radio-button",2),U(7," Custom retention period "),I(8,FDb,2,0,"span",3),I(9,HDb,4,3,"div",4),I(10,IDb,13,0,"div",5),M(),L(11,"mat-radio-button",6),U(12),I(13,JDb,13,0,"div",7),M()(),L(14,"mat-radio-group",8),Q("ngModelChange",function(c){b.model.piiRetentionSelection=c;b.model.piiRetentionPeriodDays=
null;b.model.spiiRetentionPeriodDays=null;b.modelChange.emit(b.model);js(b)}),L(15,"p"),N(16,"br"),L(17,"b"),U(18,"Restricted Comments/Attachments Retention "),M(),L(19,"a",9),U(20,"Learn more "),M()(),L(21,"mat-radio-button",1),U(22," Buganizer default retention period : 60 days "),I(23,KDb,2,0,"span",3),M(),L(24,"mat-radio-button",10),U(25," Custom retention period "),I(26,MDb,2,1,"span",3),I(27,QDb,16,7,"div",4),M(),L(28,"mat-radio-button",6),U(29," Match Issue Retention "),I(30,RDb,3,0,"div",
11),M()());a&2&&(rk("empty-list-field-indication",b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION),K("disabled",b.issueRetentionDisabled)("name","retentionForm")("ngModel",b.model.retentionSelection),E(4),K("value",b.RetentionSelection.BUGANIZER_DEFAULT),E(2),K("value",b.RetentionSelection.CUSTOM_PERIOD),E(2),J(b.model.retentionSelection!==b.RetentionSelection.CUSTOM_PERIOD||b.model.retentionPeriodDays&&b.model.retentionPeriodDays>=30&&b.model.retentionPeriodDays<=7300?-1:
8),E(),J(b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD?9:-1),E(),J(b.model.retentionPeriodDays&&b.model.retentionPeriodDays>3650?10:-1),E(),K("disabled",!i$c(b))("value",b.RetentionSelection.INDEFINITE_RETENTION),E(),V(" Indefinite retention period ",i$c(b)?"":"(Internal components only)"," "),E(),J(b.model.retentionSelection===b.RetentionSelection.INDEFINITE_RETENTION?13:-1),E(),rk("empty-list-field-indication",b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION),
K("disabled",b.issueRetentionDisabled)("name","piiRetentionForm")("ngModel",b.model.piiRetentionSelection),E(5),K("rel",b.EXTERNAL_LINK_REL),Hj("href",b.documentationLinks.getRestrictedAccessHelpLink(),Ni),E(2),K("value",b.RetentionSelection.BUGANIZER_DEFAULT),E(2),J(b.model.piiRetentionSelection===b.RetentionSelection.BUGANIZER_DEFAULT&&g$c(b)?23:-1),E(),Gj("aria-label","Custom Retention Period,"+LDb(b)),K("disabled",!ODb(b))("value",b.RetentionSelection.CUSTOM_PERIOD),E(2),J(b.model.piiRetentionSelection!==
b.RetentionSelection.CUSTOM_PERIOD||h$c(b)?-1:26),E(),J(b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD?27:-1),E(),K("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),E(2),J(b.model.piiRetentionSelection===b.RetentionSelection.INDEFINITE_RETENTION&&PDb(b)?30:-1))},dependencies:[hG,oG,qK,rK,j1],styles:[".mat-mdc-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}[_nghost-%COMP%]     .mat-mdc-radio-button .mat-internal-form-field{--mat-radio-state-layer-size: 2.2em;align-items:flex-start}"],
changeDetection:0});var u1=function(){};u1.\u0275fac=function(a){return new (a||u1)};u1.\u0275mod=Zi({type:u1});u1.\u0275inj=Eg({imports:[jC,FG,wM,k1]});var j$c=function(){this.type="component";this.includeChildren=!1},k$c=function(){this.type="tracker"},l$c=function(){this.type="team";this.includeChildren=!1},m$c=function(){this.type="hotlist"},n$c=function(){this.type="savedsearch"},o$c=function(){this.type="customfield"};var p$c=function(a,b){this.query=a;this.cursorIdx=b;this.label=null;this.value={val:"",idx:0};this.value.idx=b},q$c="componentid c hotlistid h savedsearchid teamid trackerid".split(" "),r$c=q$c.concat("accesslevel archived assignee attachment attachmentanalysis attachmentcount blockedbyid blockingid canonicalid cc cccount collaborator collaboratorcount cl comment commentcount commenter created customfield descendantcount deleted deletionreason deletiontime duplicatecount effortlabel escalationowner foundin id inprod insight is lastcommenter lastmodifier mention modified modifier mute onedayviewcount opendescendantcount p parentid postmortem priority reporter resolved s sevendayviewcount severity staffingplaceholder staffingplaceholdercount staffinguser staffingusercount star status t targetedto thirtydayviewcount title type verified verifiedin verifier vote votecount nearestslo".split(" ")),
s$c="attachmentanalysis cl deleted deletionreason deletiontime escalationowner insight nearestslo postmortem staffingplaceholder staffingplaceholdercount staffinguser staffingusercount teamid".split(" "),t$c="(?:\\s|^)(-?)(customfield\\d+|"+r$c.join("|")+")(:|>|<|>=|<=|=)";var v1=function(){Z.call(this);var a=this;this.appSearchState=x(hK);this.trackerFridge=x(vF);this.trackerHelpers=x(sI);this.customFieldsApi=x(OC);this.hotlistApi=x(zC);this.savedSearchApi=x(HC);this.componentActions=x(DO);this.teamsService=x(kF);this.activeSession=x(Ks);this.currentUserBookmarksFridge=x(JC);this.query="";this.requestIndex=0;this.atomsWithoutOp=Object.freeze(new Set(["customfield"]));this.producers=[{match:function(f){return u$c(a,f)}},{updateHeader:function(f){return v$c(a,f)}},{updateHeader:function(f){return w$c(a,
f)}},{updateHeader:function(f){return x$c(a,f)}},{updateHeader:function(f){return y$c(a,f)}},{updateHeader:function(f){return z$c(a,f)}},{updateHeader:function(f){return A$c(a,f)}}];this.currentSearchContext=null;this.items=[];this.acHeader=null;this.acRefreshed$=new oj;this.refreshRequest$=new oj;var b=Cx(this.activeSession,"enableEscalationOwnerRolloutUi"),c=Cx(this.activeSession,"enableInsightsEnrichments"),d=Cx(this.activeSession,"enableAttachmentAnalysisSearch");this.refreshRequest$.pipe(fj(250),
tj(this.destroyed$)).subscribe(function(f){B$c(a,f.currentRequestIndex,f.currentSearchContext)});this.sessionIsInternal=this.activeSession.isInternalSession();var e=new Set(r$c);b||e.delete("escalationowner");c||e.delete("insight");d||e.delete("attachmentanalysis");if(!this.sessionIsInternal)for(b=l(s$c),c=b.next();!c.done;c=b.next())e.delete(c.value);this.isTrackerSearchEnabled()||e.delete("trackerid");this.atoms=Object.freeze(e)};Y(v1,Z);v1.\u0275dir=Z.\u0275dir;
v1.prototype.isTrackerSearchEnabled=function(){return!Iq(this.activeSession)};
var B$c=function(a,b,c){for(var d=!1,e=!1,f=[],h=l(a.producers),k=h.next();!k.done;k=h.next())k=k.value,k.match&&f.push(k.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})),k.updateHeader&&f.push(k.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()})},u$c=
function(a,b){if(!b.value.val){var c=b.value.idx;if(c<b.query.length&&b.query.charAt(c).search("\\s")===-1)return Promise.reject(null)}var d,e;if(((d=b.value)==null?0:d.val.startsWith("cf"))||((e=b.value)==null?0:e.val.startsWith("customfield")))return C$c(a,b);if(b.label){if(b.label.customFieldId)return D$c(a,b);switch(b.label.val){case "archived":return Promise.resolve(ms(E$c,b.value,!0));case "componentid":case "c":return F$c(a,b);case "deleted":return G$c(b);case "deletionreason":return Promise.resolve(ms(H$c,
b.value,!0));case "hotlistid":case "h":return I$c(a,b);case "savedsearchid":return J$c(a,b);case "status":case "is":return Promise.resolve(ms(K$c,b.value,!0));case "trackerid":return L$c(a,b);case "teamid":return M$c(a,b);case "type":case "t":return a.matchType(b);case "priority":case "p":return Promise.resolve(ms(N$c,b.value,!0));case "severity":case "s":return Promise.resolve(ms(O$c,b.value,!0));case "inprod":case "star":case "mute":return G$c(b);case "accesslevel":return Promise.resolve(ms(P$c,
b.value,!0));case "staffingplaceholder":return Q$c(a,b);default:return Promise.reject(null)}}if(!b.value.val)return Promise.reject(null);c=[];d=UDb(b.value.val);e=l(a.atoms);for(var f=e.next();!f.done;f=e.next())if(f=f.value,d.token!==f&&f.startsWith(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};c.push({trackId:"atom:"+f,name:f,completionCfg:h})}c.sort(function(k,q){return ha(k.name,
q.name)});return Promise.resolve(c)},C$c=function(a,b){var c=b.value.val.replace(/^(cf|customfield)/,""),d=cJc(a.appSearchState);if(!c&&!d)return Promise.reject(null);var e=GDc(a.trackerHelpers)||[];return a.customFieldsApi.query({query:d?"componentid:"+d+" "+c:c,trackerIds:e}).then(function(f){return R$c(a,b,f)})},R$c=function(a,b,c){var d=c.customFields.map(function(h){return h.componentId}).filter(fe);d.length>0&&a.componentActions.bulkLoad(d);d=[];c=l(c.customFields);for(var e=c.next(),f={};!e.done;f=
{customField$jscomp$24:void 0},e=c.next())f.customField$jscomp$24=e.value,e=a.getComponentPathNames(f.customField$jscomp$24).then(function(h){return function(k){var q=h.customField$jscomp$24,u=b.value.val,A=q.customFieldId,D=b.value.idx;return{id:A,componentPathNames:k,name:q.name,trackId:"customField:"+A,completionCfg:{type:"customField",startIdx:D,endIdx:D+u.length,completionValue:"customfield"+A+":",matchingString:u}}}}(f)),d.push(e);return Promise.all(d)};
v1.prototype.getComponentPathNames=function(a){if(a.componentId){var b=a.componentId;return this.componentActions.get(b).then(function(c){var d;return((d=c.componentPathInfo)==null?void 0:d.componentPathName)||[]}).catch(function(){return[b]})}return Promise.resolve([])};
var D$c=function(a,b){return b.label&&b.label.customFieldId?a.customFieldsApi.get(b.label.customFieldId).then(function(c){if(c.type!=="ENUM"&&c.type!=="REPEATED_ENUM"||!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 ms(d,b.value,!1,!1)}):Promise.reject(null)};
v1.prototype.matchType=function(a){return Promise.resolve(ms(S$c,a.value,!0))};
var Q$c=function(a,b){return Promise.resolve(ms(Cx(a.activeSession,"enableStaffingFieldEnhancementsUi")?T$c:U$c,b.value,!0))},G$c=function(a){if(!a.label)return Promise.reject(null);var b=a.label.val;return Promise.resolve(ms([{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))},
F$c=function(a,b){var c=b.value.val;return!c||ls(c,!0)?Promise.reject(null):a.componentActions.search(c,!1).then(function(d){return a.processResponse(b,d)})};
v1.prototype.processResponse=function(a,b){var c=a.value.val,d=[];b=l(b);for(var e=b.next(),f={};!e.done;f={paths$jscomp$17:void 0,startIdx$jscomp$4:void 0,endIdx$jscomp$4:void 0},e=b.next()){e=e.value;var h=e.componentId;f.startIdx$jscomp$4=a.value.idx;f.endIdx$jscomp$4=f.startIdx$jscomp$4+c.length;f.paths$jscomp$17=us(this.trackerHelpers,e.componentPathInfo);f={id:h,name:e.name,description:e.description,trackId:"component:"+h,accessLimit:e.accessLimit,trackerId:e.trackerId,completionCfg:{type:"component",
startIdx:f.startIdx$jscomp$4,endIdx:f.endIdx$jscomp$4,completionValue:h,matchingString:c},componentPath:f.paths$jscomp$17.componentPathId.map(function(k){return function(q,u){return{trackId:"subcomponent:"+q,id:q,name:k.paths$jscomp$17.componentPathName[u],completionCfg:{type:"component",completionValue:q,startIdx:k.startIdx$jscomp$4,endIdx:k.endIdx$jscomp$4}}}}(f))};d.push(f)}return d};
var M$c=function(a,b){var c=b.value.val;if(!a.sessionIsInternal||!c||ls(c,!0))return Promise.reject(null);var d=Cf();mF(a.teamsService,c).pipe(tj(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,k=[];e=l(e);for(var q=e.next(),u={};!q.done;u={pathNames$jscomp$5:void 0},q=e.next())q=q.value,u.pathNames$jscomp$5=q.pathNames,u={trackId:"team:"+q.teamId,name:q.name,id:q.teamId,label:"Team "+q.teamId,pathIds:q.pathIds,pathNames:q.pathNames,description:q.description,completionCfg:{type:"team",
startIdx:f,endIdx:h,completionValue:String(q.teamId),matchingString:c},teamPath:q.pathIds.map(function(A){return function(D,H){return{trackId:"team:"+D,id:D,name:A.pathNames$jscomp$5[H],completionCfg:{type:"team",completionValue:String(D),startIdx:f,endIdx:h}}}}(u))},k.push(u);d.resolve(k)},function(){d.reject()});return d.promise},v$c=function(a,b){if(!b.label||b.label.val!=="componentid"&&b.label.val!=="c")return Promise.reject(null);var c=new j$c;b=b.value.val;return ls(b,!0)?(fa(b,"+")&&(b=b.slice(0,
b.length-1),c.includeChildren=!0),a.componentActions.get(b).then(function(d){var e;Iq(a.activeSession)&&d.trackerId!==((e=a.activeSession.getTracker())==null?void 0:e.trackerId)||(c.component=d);return c})):Promise.resolve(c)},y$c=function(a,b){if(!a.isTrackerSearchEnabled()||!b.label||b.label.val!=="trackerid")return Promise.reject(null);var c=new k$c,d=Cf();b=b.value.val;ls(b)?a.trackerFridge.watch(b).pipe(tj(a.destroyed$)).subscribe(function(e){c.tracker=e;d.resolve(c)}):b&&d.resolve(c);return d.promise},
A$c=function(a,b){if(!a.sessionIsInternal||!b.label||b.label.val!=="teamid")return Promise.reject(null);var c=new l$c,d=Cf(),e=b.value.val;ls(e,!0)?(fa(e,"+")&&(e=e.slice(0,e.length-1),c.includeChildren=!0),mF(a.teamsService,e).pipe(tj(a.destroyed$)).subscribe(function(f){f.length>0?(f=f[0],c.team={pathNames:f.pathNames,name:f.name,description:f.description}):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},w$c=function(a,b){if(!b.label||b.label.val!=="hotlistid"&&b.label.val!=="h")return Promise.reject(null);var c=new m$c;b=b.value.val;return ls(b)?a.hotlistApi.get(b).then(function(d){c.hotlist=d;return c}):b?Promise.reject(null):Promise.resolve(c)},x$c=function(a,b){if(!b.label||b.label.val!=="savedsearchid")return Promise.reject(null);var c=new n$c;b=b.value.val;return ls(b)?a.savedSearchApi.get(b).then(function(d){c.savedSearch=d;return c}):b?Promise.reject(null):Promise.resolve(c)},
z$c=function(a,b){if(b.label&&b.label.customFieldId)var c=b.label.customFieldId;else if(b.value.val.startsWith("customfield"))(b=b.value.val.match("^customfield(\\d+)"))&&(c=b[1]),Yo("search-usage","customfield");else return Promise.reject(null);var d=new o$c;return c?a.customFieldsApi.get(c).then(function(e){d.customField=e;return d}):Promise.resolve(d)},L$c=function(a,b){var c=b.value.val;if(!a.isTrackerSearchEnabled()||!c||ls(c,!0))return Promise.reject(null);var d=Cf();a.trackerFridge.watchMany({filter:c,
pageSize:5}).pipe(tj(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,k=[];e=l(e.results);for(var q=e.next();!q.done;q=e.next())q=q.value,k.push({trackId:"trackerid:"+q.trackerId,name:q.name,id:q.trackerId,label:"Tracker "+q.trackerId,completionCfg:{type:"tracker",startIdx:f,endIdx:h,completionValue:q.trackerId,matchingString:c}});d.resolve(k)});return d.promise},I$c=function(a,b){return ls(b.value.val)?Promise.reject(null):pi(KC(a.currentUserBookmarksFridge)).then(function(c){c=
c.map(function(d){var e=d.hotlistId;return{id:e,name:d.name,trackId:"hotlist:"+e,completionCfg:{type:"hotlist",completionValue:""+e}}});return ms(c,b.value,!1,!0)})},J$c=function(a,b){return ls(b.value.val)?Promise.reject(null):pi(muc(a.currentUserBookmarksFridge)).then(function(c){c=c.map(function(d){var e=d.searchId;return{id:e,name:d.name,query:d.query,trackId:"savedsearch:"+e,completionCfg:{type:"savedsearch",completionValue:e}}});return ms(c,b.value,!1,!0)})};
v1.\u0275fac=function(a){return new (a||v1)};v1.\u0275prov=Dg({token:v1,factory:v1.\u0275fac,providedIn:"root"});
var K$c="accepted assigned closed duplicate fixed inactive infeasible intended_behavior new not_reproducible obsolete open verified".split(" ").map(function(a){return ns({name:a,label:"Status",type:"status"})}),S$c="bug customer_issue feature_request internal_cleanup process vulnerability privacy_issue program project feature milestone epic story task".split(" ").map(function(a){return ns({name:a,label:"Type",type:"type",trackIdPrefix:"bugType"})}),N$c=["p0","p1","p2","p3","p4"].map(function(a){return ns({name:a,
label:"Priority",type:"priority"})}),O$c=["s0","s1","s2","s3","s4"].map(function(a){return ns({name:a,label:"Severity",type:"severity"})}),E$c=["all","true","false"].map(function(a){return ns({name:a,label:"Archived",type:"archived"})}),H$c=["abuse","pii","user_request","retention"].map(function(a){return ns({name:a,label:"Deletion Reason",type:"deletionreason",trackIdPrefix:"deletionReason"})}),P$c=[["limit_none","Default access"],["limit_view","Limited visibility"],["limit_append","Limited commenting"],
["limit_view_trusted","Limited visibility + Google"]].map(function(a){var b=l(a);a=b.next().value;b=b.next().value;return ns({name:b,label:"Issue access level",type:"accesslevel",id:a})}),U$c=[["swe",Lw.SWE],["sre",Lw.SRE],["pm",Lw.PM],["tpgm",Lw.TPGM],["ux",Lw.UX]].map(function(a){var b=l(a);a=b.next().value;b=b.next().value;return ns({name:b,label:"Staffing - Placeholder",type:"staffingplaceholder",id:a})}),T$c=[["swe",Lw.SWE],["sre",Lw.SRE],["pm",Lw.PM],["tpgm",Lw.TPGM],["ux",Lw.UX],["uxd",Lw.UXD],
["uxr",Lw.UXR],["datasci",Lw.DATASCI],["ld",Lw.LD],["devrel",Lw.DEVREL],["tw",Lw.TW],["gtm",Lw.GTM],["ce",Lw.CE],["other",Lw.OTHER]].map(function(a){var b=l(a);a=b.next().value;b=b.next().value;return ns({name:b,label:"Staffing - Placeholder",type:"staffingplaceholder",id:a})});var w1=function(){this.cdr=x(jE,{self:!0});this.optionsChange=new iE};w1.prototype.ngOnInit=function(){VDb(this)};
var VDb=function(a){var b=null,c;for(c in a.options.propertyValues){var d=a.options.propertyValues[c].value;if(b===null)b=d;else if(b!=d){a.selectAllValue=null;return}}a.selectAllValue=b},WDb=function(a){a.validator&&(a.errorString=a.validator(),a.cdr.detectChanges())},V$c=function(a,b){if(b=b===void 0?null:b)b.preventDefault(),b.stopPropagation();a.selectAllValue=a.selectAllValue===null?!0:!a.selectAllValue;a.options.setAll(a.selectAllValue);a.optionsChange.emit(a.options);WDb(a)},W$c=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(", ")};w1.\u0275fac=function(a){return new (a||w1)};
w1.\u0275cmp=F({type:w1,selectors:[["slo-element-property-picker"]],inputs:{selectAllText:"selectAllText",validator:"validator",options:"options"},outputs:{optionsChange:"optionsChange"},standalone:!1,features:[Bk([jE])],decls:17,vars:11,consts:[["menu","matMenu"],["type","button","mat-stroked-button","",1,"bv2-appbar-menu",3,"matMenuTriggerFor"],[1,"flex-kids-x","flex-cross-axis-centered"],[1,"bv2-property-picker-summary-text"],["svgIcon","arrow-dropdown"],["mat-menu-item","","role","menuitemcheckbox",
1,"bv2-property-picker-selectall","bv2-property-picker-option-row",3,"click"],[3,"change","checked","indeterminate"],["mat-menu-item","","role","menuitemcheckbox",1,"bv2-property-picker-options"],[1,"bv2-property-picker-error-message"],["title","option",1,"bv2-property-picker-option-row",3,"click"],[3,"change","click","checked"]],template:function(a,b){if(a&1){var c=y();L(0,"div")(1,"button",1)(2,"div",2)(3,"span",3);U(4);U(5," \u00a0 ");M();N(6,"mat-icon",4);M()();L(7,"mat-menu",null,0)(9,"div",
5);Q("click",function(d){z(c);return B(V$c(b,d))});L(10,"mat-checkbox",6);Q("change",function(d){z(c);b.selectAllValue=d.checked;return B(V$c(b))});U(11);M()();N(12,"mat-divider");Mj(13,XDb,4,3,"div",7,Lj);W(15,"keyvalue");M();I(16,YDb,2,1,"div",8);M()}a&2&&(a=T(8),E(),rk("ng-invalid",!!b.errorString),K("matMenuTriggerFor",a),E(3),V(" ",W$c(b)," "),E(5),Hj("aria-checked",b.selectAllValue),E(),K("checked",!!b.selectAllValue)("indeterminate",b.selectAllValue===null),E(),V(" ",b.selectAllText," "),E(2),
Nj(X(15,9,b.options.propertyValues)),E(3),J(b.errorString?16:-1))},dependencies:[EA,aG,HG,FL,mK,kK,pK,eN,dA,aA,uy],styles:["[_nghost-%COMP%]   .gmat-mdc-button[_ngcontent-%COMP%] {padding: 0 10px;}\n[_nghost-%COMP%]   .bv2-property-picker-summary-text[_ngcontent-%COMP%] {text-align: left;}"]});
var X$c=function(a,b){this.displayString=a;this.value=b},Y$c=function(a){this.propertyValues=a},Z$c=function(a){for(var b=l(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(a.propertyValues[c.value].value)return!0;return!1},UEb=function(a){for(var b=l(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(!a.propertyValues[c.value].value)return!1;return!0};Y$c.prototype.setAll=function(a){for(var b in this.propertyValues)this.propertyValues[b].value=a};var x1=function(){};x1.\u0275fac=function(a){return new (a||x1)};x1.\u0275mod=Zi({type:x1});x1.\u0275inj=Eg({imports:[jC,SL,IL,oN,FI]});var $$c=function(a,b){this.name=a;this.secondsPerUnit=b},jEb=new $$c("minute",60),kEb=new $$c("hour",3600),lEb=new $$c("day",86400),y1=function(){this.errorString=null;this.objectiveDurationChange=new iE;this.objectiveBusinessDaysChange=new iE;this.intervalUnit=lEb};y1.prototype.ngOnInit=function(){aad(this)};y1.prototype.ngOnChanges=function(a){[a.objectiveBusinessDays,a.objectiveDuration,a.dayType].some(function(b){return b&&!b.firstChange})&&aad(this)};
var aEb=function(a,b){b=b.name;Bd(a.intervalString)!==1&&(b+="s");return b},iEb=function(a){return a.dayType==="BUSINESS"},aad=function(a){!iEb(a)&&bad(a,lEb)||bad(a,kEb)||bad(a,jEb);if(a.objectiveBusinessDays!=0||a.businessDayString!="")a.businessDayString=""+a.objectiveBusinessDays},bad=function(a,b){var c=a.objectiveDuration.seconds;return c%b.secondsPerUnit==0?(c/=b.secondsPerUnit,c!=0||a.intervalString!=""?(a.intervalString=""+c,a.intervalUnit=b):(iEb(a)?[jEb,kEb]:[jEb,kEb,lEb]).includes(a.intervalUnit)||
(a.intervalUnit=b),!0):!1},dEb=function(a){a.validator&&(a.errorString=a.validator(a.intervalString,a.businessDayString));gEb(a);hEb(a)},gEb=function(a){a.objectiveDuration.seconds=a.intervalUnit.secondsPerUnit*(Bd(a.intervalString)||0);a.objectiveDurationChange.emit(a.objectiveDuration)},hEb=function(a){a.objectiveBusinessDays=Bd(a.businessDayString)||0;a.objectiveBusinessDaysChange.emit(a.objectiveBusinessDays)};y1.\u0275fac=function(a){return new (a||y1)};
y1.\u0275cmp=F({type:y1,selectors:[["slo-objective-selector"]],inputs:{isDisabled:"isDisabled",validator:"validator",dayType:"dayType",objectiveDuration:"objectiveDuration",objectiveBusinessDays:"objectiveBusinessDays"},outputs:{objectiveDurationChange:"objectiveDurationChange",objectiveBusinessDaysChange:"objectiveBusinessDaysChange"},standalone:!1,features:[$w],decls:2,vars:1,consts:[[1,"disabled"],[1,"enabled","bv2-slo-objective"],[1,"bv2-slo-objective-biz-day-text"],[1,"bv2-slo-objective-interval"],
["type","text",3,"ngModelChange","ngModel"],[1,"bv2-slo-objective-unit",3,"ngModelChange","selectionChange","ngModel"],[3,"value"],[1,"bv2-slo-objective-unit"]],template:function(a,b){a&1&&I(0,cEb,3,2,"span",0)(1,mEb,7,5,"span",1);a&2&&J(b.isDisabled?0:1)},dependencies:[Bp,hG,oG,VL,WL,Vz],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-mdc-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}/*# sourceMappingURL=slo_objective_selector.css.map */']});var z1=function(){this.typeStringToEnum=new Map([["BUG","BUG"],["FEATURE_REQUEST","FEATURE_REQUEST"],["CUSTOMER_ISSUE","CUSTOMER_ISSUE"],["INTERNAL_CLEANUP","INTERNAL_CLEANUP"],["PROCESS","PROCESS"],["VULNERABILITY","VULNERABILITY"],["PRIVACY_ISSUE","PRIVACY_ISSUE"],["PROGRAM","PROGRAM"],["PROJECT","PROJECT"],["FEATURE","FEATURE"],["MILESTONE","MILESTONE"],["EPIC","EPIC"],["STORY","STORY"],["TASK","TASK"]]);this.enumTypeToString=new Map([["BUG","BUG"],["FEATURE_REQUEST","FEATURE_REQUEST"],["CUSTOMER_ISSUE",
"CUSTOMER_ISSUE"],["INTERNAL_CLEANUP","INTERNAL_CLEANUP"],["PROCESS","PROCESS"],["VULNERABILITY","VULNERABILITY"],["PRIVACY_ISSUE","PRIVACY_ISSUE"],["PROGRAM","PROGRAM"],["PROJECT","PROJECT"],["FEATURE","FEATURE"],["MILESTONE","MILESTONE"],["EPIC","EPIC"],["STORY","STORY"],["TASK","TASK"]]);this.priorityStringToEnum=new Map([["P0","P0"],["P1","P1"],["P2","P2"],["P3","P3"],["P4","P4"]]);this.enumPriorityToString=new Map([["P0","P0"],["P1","P1"],["P2","P2"],["P3","P3"],["P4","P4"]]);this.postmortemValuesToCanonical=
new Map([["TRUE","ANY"],["FALSE","NONE"],["ANY","ANY"],["NONE","NONE"]]);this.canonicalGroupQueryKeywordToQueryValue=new Map([["ANY","any"],["NONE","none"]])},fad=function(a,b){var c=new cad,d=dad(b,"type",function(f){var h=f.toUpperCase(),k=new ead;a.typeStringToEnum.has(h)?k.value=h:k.error='The string "'+f+'" is not a valid type';return k});if(d.error)return c.error=d.error,c;d=l(d.values);for(var e=d.next();!e.done;e=d.next())c.types.push(a.typeStringToEnum.get(e.value));d=dad(b,"priority",function(f){var h=
f.toUpperCase(),k=new ead;a.priorityStringToEnum.has(h)?k.value=h:k.error='The string "'+f+'" is not a valid priority';return k});if(d.error)return c.error=d.error,c;d=l(d.values);for(e=d.next();!e.done;e=d.next())c.priorities.push(a.priorityStringToEnum.get(e.value));b=dad(b,"postmortem",function(f){var h=f.toUpperCase(),k=new ead;a.postmortemValuesToCanonical.has(h)?k.value=h:k.error='The string "'+f+'" is not a valid postmortem value';return k});if(b.error)c.error=b.error;else for(b=l(b.values),
d=b.next();!d.done;d=b.next())c.postmortemValues.push(a.postmortemValuesToCanonical.get(d.value));return c},dad=function(a,b,c){var d=new gad;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};z1.\u0275fac=function(a){return new (a||z1)};z1.\u0275prov=Dg({token:z1,factory:z1.\u0275fac,providedIn:"root"});
var cad=function(){this.types=[];this.priorities=[];this.postmortemValues=[];this.error=""},gad=function(){this.values=[];this.error=""},ead=function(){this.error=this.value=""};var A1=function(){};A1.prototype.validate=function(a){for(var b={},c=l(Object.entries(this.validators)),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;e(a.value)||(b[d]=!0)}return Object.keys(b).length?b:null};A1.\u0275fac=function(a){return new (a||A1)};A1.\u0275dir=$i({type:A1,selectors:[["","customValidators",""]],inputs:{validators:[0,"customValidators","validators"]},standalone:!1,features:[Bk([{provide:dG,useExisting:A1,multi:!0}])]});var B1=function(){this.constants=x(oI);this.sloParseService=x(z1);this.confirmationDialogService=x(lI);this.collection=[];this.boundCollection=[];this.onCollectionUpdate=new iE;this.onValidation=new iE;this.metricChoices=["METRIC_UNSPECIFIED"].concat(wyc);this.dayTypes=["CALENDAR","BUSINESS"];wyc.map(function(a,b){return[a,b]});this.selectedMetric="METRIC_UNSPECIFIED";this.selectedDayType="CALENDAR";this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.anyNoneDisplayValues=new Map([["ANY",
"Has postmortem"],["NONE","No postmortem"]]);this.postmortemAllSummaryValue="Either";this.canPerformActionsInternal=!1;this.openRow=null;this.selectedMetric=this.metricChoices[0];this.selectedDayType="CALENDAR";this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.canPerformActions=!0};B1.prototype.updateValidity=function(){this.canPerformActions=!this.openRow};
var YEb=function(a,b,c){VEb(a);a=l(a.collection);for(var d=a.next();!d.done;d=a.next())d.value.canEdit=!1;b.startEditing();c&&c.stopPropagation()},aFb=function(a,b,c){c=dFb(a,b,c);var d=c.newOffset;c.valid&&(VEb(a),Fa(a.collection,b),Fa(a.boundCollection,b.sloElement),a.collection.splice(d,0,b),a.boundCollection.splice(d,0,b.sloElement),had(a))},dFb=function(a,b,c){b=a.collection.indexOf(b)+c;return{valid:b>=0&&b<a.collection.length,newOffset:b}},VEb=function(a){a=l(a.collection);for(var b=a.next();!b.done;b=
a.next())b=b.value,b.stopEditing(),b.canEdit=!0},iad=function(a,b){var c=b.map(function(d){return new C1(d,a)});a.openRow=null;a.collection=c;a.boundCollection=b;a.updateValidity()},KEb=function(a){return a==="METRIC_UNSPECIFIED"?" - ":xyc.get(a)},wEb=function(a,b){return b!=="TYPE_UNSPECIFIED"&&a.constants.issueTypesDisplayNames.has(b)?a.constants.issueTypesDisplayNames.get(b):" - "},CEb=function(a,b){return b!=="PRIORITY_UNSPECIFIED"&&a.constants.issuePrioritiesDisplayNames.has(b)?a.constants.issuePrioritiesDisplayNames.get(b):
" - "},WEb=function(a,b){VEb(a);Fa(a.collection,b);Fa(a.boundCollection,b.sloElement);had(a)},pEb=function(a,b){a.confirmationDialogService.open({title:"Are you sure you'd like to clear all the rules?",content:md("This won't take effect until you save the changes, but any local changes will be lost."),onConfirm:function(){a.collection=[];a.boundCollection=[];had(a)},onDismiss:function(){}});b.stopPropagation()},nEb=function(a,b){var c=new C1({metric:"METRIC_UNSPECIFIED",matcher:"",dayType:"DAY_TYPE_UNSPECIFIED",
objective:{seconds:0,nanos:0},businessDays:0},a,!0);YEb(a,c);a.collection.splice(b,0,c);a.boundCollection.splice(b,0,c.sloElement);had(a)};B1.prototype.onDrop=function(a){aFb(this,this.collection[a.previousIndex],a.currentIndex-a.previousIndex)};var had=function(a){a.onCollectionUpdate.emit(a.boundCollection)};
pg.Object.defineProperties(B1.prototype,{collectionInput:{configurable:!0,enumerable:!0,set:function(a){iad(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=l(this.collection),c=b.next();!c.done;c=b.next())c=c.value,c.canEdit=!a||this.openRow===c},
get:function(){return this.isDisabledInternal}}});B1.\u0275fac=function(a){return new (a||B1)};
B1.\u0275cmp=F({type:B1,selectors:[["slo-elements-picker"]],inputs:{collectionInput:[0,"collection","collectionInput"],isDisabled:"isDisabled"},outputs:{onCollectionUpdate:"onCollectionUpdate",onValidation:"onValidation"},standalone:!1,decls:29,vars:5,consts:[["settingsMenu","matMenu"],[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"],[1,"bv2-slo-elements-actionbar"],["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"],[1,"bv2-slo-elements-table-empty-list-description"],[1,"slo-picker-actions"],[1,"slo-picker-icon-action-icon-container"],["matTooltip","Add a new rule",1,"hoverable",3,"name","size"],["matTooltip","Clear all rules",1,"hoverable",3,"click","name","size"],["matTooltip","Add a new rule",1,"hoverable",3,"click","name","size"],["cdkDropList","",3,"cdkDropListDropped","cdkDropListData","cdkDropListDisabled"],["cdkDrag","",1,"bv2-slo-element-row",
3,"draggable"],["cdkDrag","",1,"bv2-slo-element-row"],[1,"bv2-slo-element-row-counter","editable-row"],[1,"bv2-slo-element-row-counter","display-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-type-column","bv2-editable-slo-element","editable-row"],[1,"bv2-slo-element-type-column","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-priority-column","bv2-editable-slo-element","editable-row"],[1,"bv2-slo-element-priority-column","bv2-slo-element-picker-column",
"display-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-postmortem-column","bv2-editable-slo-element","editable-row"],[1,"bv2-slo-element-postmortem-column","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-metric","bv2-editable-slo-element","editable-row"],[1,"bv2-slo-element-metric","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-objective","bv2-editable-slo-element","editable-row"],[1,
"bv2-slo-element-objective","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-daytype","bv2-editable-slo-element","editable-row"],[1,"bv2-slo-element-daytype","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-action","editable-row"],[1,"bv2-slo-element-action","display-row"],[1,"bv2-type-property-picker",3,"optionsChange","selectAllText","validator","options"],[1,"bv2-property-display-chips"],[1,"bv2-property-display-chip-container"],
[1,"matcher-chip-content"],[1,"bv2-priority-property-picker",3,"optionsChange","selectAllText","validator","options"],[1,"bv2-postmortem-property-picker",3,"optionsChange","selectAllText","validator","options"],["appearance","outline","subscriptSizing","dynamic"],["required","true",1,"bv2-enum-field","bv2-slo-elements-picker-metric-selector",3,"ngModelChange","ngModel","customValidators"],[3,"value"],["required","",3,"objectiveDurationChange","objectiveBusinessDaysChange","dayType","objectiveDuration",
"objectiveBusinessDays","validator","isDisabled"],["required","",3,"objectiveDurationChange","objectiveBusinessDaysChange","dayType","objectiveDuration","objectiveBusinessDays","isDisabled"],[1,"bv2-enum-field","bv2-slo-elements-picker-daytype-selector",3,"ngModelChange","selectionChange","ngModel"],["matTooltip","Finish editing",1,"bv2-slo-element-action",3,"click","name","size"],["matTooltip","Remove row",1,"bv2-slo-element-action",3,"click","name","size"],["matTooltip","Edit this rule",1,"hoverable",
"bv2-slo-element-action-edit",3,"name","size"],["matTooltip","More options",1,"hoverable","bv2-slo-element-action-more-settings",3,"name","size","matMenuTriggerFor"],["type","button","mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-down"],["type","button","mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-up"],["type","button","mat-menu-item","",1,"bv2-slo-element-action-more-settings-add-row-below",3,"click"],["type","button","mat-menu-item","",1,"bv2-slo-element-action-more-settings-add-row-above",
3,"click"],["type","button","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,"click","name","size"],["type","button","mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-down",3,"click"],["type","button","mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-up",3,"click"]],template:function(a,b){a&1&&(L(0,"div",1)(1,"div")(2,"div")(3,"label",2),U(4,"Rules"),M(),L(5,"a",3),
N(6,"b-icon",4),M(),I(7,qEb,6,3,"span",5),M(),L(8,"table",6)(9,"thead")(10,"tr",7)(11,"th",8),U(12,"Order"),M(),L(13,"th",9),U(14,"Type"),M(),L(15,"th",10),U(16,"Priority"),M(),L(17,"th",11),U(18,"Postmortem"),M(),L(19,"th",12),U(20,"Metric"),M(),L(21,"th",13),U(22,"Objective"),M(),L(23,"th",14),U(24," Day Type "),M(),N(25,"th",15),M()(),I(26,gFb,3,2,"tbody",16),M(),L(27,"div"),I(28,hFb,2,0,"div",17),M()()());a&2&&(E(6),K("name","help-outline")("size","small"),E(),J(b.isDisabled?-1:7),E(19),J(b.collection&&
b.collection.length!=0?26:-1),E(2),J(b.collection&&b.collection.length!=0?-1:28))},dependencies:[A1,uO,tO,hG,AG,oG,jK,TL,eH,FL,mK,kK,pK,VL,WL,Vz,YF,WF,w1,y1],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-mdc-select-value-text, .cdk-drag-preview[_ngcontent-%COMP%]     .bv2-slo-elements-picker-metric-selector .mat-mdc-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:135px}.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-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%]   .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-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-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 .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-mdc-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-mdc-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-mdc-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-mdc-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-mdc-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-mdc-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-mdc-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-mdc-form-field-infix{min-height:initial;padding-top:6px;padding-bottom:6px}.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:135px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field[_ngcontent-%COMP%]{padding-bottom:0px}.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-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-bottom:0px}.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-mdc-form-field, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-mdc-form-field{padding-right:10px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-mdc-form-field-infix, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-mdc-form-field-infix{min-height:initial;padding-top:6px;padding-bottom:6px}.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)}/*# sourceMappingURL=slo-elements-picker.css.map */']});
var C1=function(a,b,c){var d=this;this.sloElement=a;this.controllerReference=b;this.isNewElement=c===void 0?!1:c;this.metricSelectorValid=this.postmortemPickerValid=this.priorityPickerValid=this.typePickerValid=this.isEditingInternal=!1;this.objectiveValid=!0;this.validatePriorityPicker=function(){var e=Z$c(d.priorityPickerValues)?null:"Priority can't be empty";d.priorityPickerValid=e===null;return e};this.validateTypePicker=function(){var e=Z$c(d.typePickerValues)?null:"Type can't be empty";d.typePickerValid=
e===null;return e};this.validatePostmortemPicker=function(){var e=Z$c(d.postmortemPickerValues)?null:"Postmortem can't be empty";d.postmortemPickerValid=e===null;return e};this.validateObjective=function(e,f){if(d.selectedDayType!=="BUSINESS"){if(!e.match(/^\d+$/)||e==="0")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!==""&&e!=="0"||f!==""&&f!=="0"))return d.objectiveValid=
!1,"A business day or time based duration must be specified."}d.objectiveValid=!0;return null};this.matcherText=a.matcher;this.selectedMetric=a.metric;this.selectedDayType=a.dayType||"CALENDAR";this.selectedObjectiveDuration=jad(a.objective);this.selectedObjectiveBusinessDays=a.businessDays;this.canEdit=!b.isDisabled;this.metricValidators={required:function(e){return kad(d,e)}};lad(this);this.typePickerValues=mad(this.controllerReference.sloParseService.enumTypeToString.keys(),function(e){return d.parseResult.types.length===
0||d.parseResult.types.includes(e)},function(e){return wEb(d.controllerReference,e)});this.priorityPickerValues=mad(this.controllerReference.sloParseService.enumPriorityToString.keys(),function(e){return d.parseResult.priorities.length===0||d.parseResult.priorities.includes(e)},function(e){return CEb(d.controllerReference,e)});this.postmortemPickerValues=mad(this.controllerReference.anyNoneDisplayValues.keys(),function(e){return d.parseResult.postmortemValues.length===0||d.parseResult.postmortemValues.includes(e)},
function(e){return d.controllerReference.anyNoneDisplayValues.get(e)});this.validateTypePicker();this.validatePriorityPicker();this.validatePostmortemPicker();kad(this,this.selectedMetric)},jad=function(a){return a?a:{seconds:86400,nanos:0}};C1.prototype.isEditing=function(){return this.isEditingInternal};C1.prototype.isValid=function(){return this.priorityPickerValid&&this.typePickerValid&&this.postmortemPickerValid&&this.metricSelectorValid&&this.objectiveValid};
var kad=function(a,b){b=b!=="METRIC_UNSPECIFIED";return a.metricSelectorValid=b};
C1.prototype.stopEditing=function(){this.isEditingInternal&&(this.isValid()||this.isNewElement)&&(this.controllerReference.openRow=null,this.controllerReference.updateValidity(),this.isEditingInternal=this.isNewElement=!1,this.canEdit=!0,nad(this),this.sloElement.metric=this.selectedMetric,this.sloElement.dayType=this.selectedDayType,this.sloElement.objective=this.selectedObjectiveDuration,this.sloElement.businessDays=this.selectedObjectiveBusinessDays,lad(this))};
var nad=function(a){var b=a.getEnumValues(a.typePickerValues),c=a.getEnumValues(a.priorityPickerValues),d=a.getEnumValues(a.postmortemPickerValues);b=oad(b,function(f){return a.controllerReference.sloParseService.enumTypeToString.get(f)});c=oad(c,function(f){return a.controllerReference.sloParseService.enumPriorityToString.get(f)});d=oad(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.matcher=a.matcherText};C1.prototype.getEnumValues=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};var oad=function(a,b){if(a.length===0)return"";if(a.length===1)return b(a[0]);var c=[];a=l(a);for(var d=a.next();!d.done;d=a.next())c.push(b(d.value));return"("+c.join("|")+")"};
C1.prototype.startEditing=function(){this.isEditingInternal||(this.controllerReference.canPerformActions=!1,this.controllerReference.openRow=this,this.controllerReference.updateValidity(),this.canEdit=!1,this.isEditingInternal=!0,lad(this))};var lad=function(a){a.parseResult=fad(a.controllerReference.sloParseService,a.matcherText)},mad=function(a,b,c){var d={};a=l(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=b(e),h=c(e);d[""+e]=new X$c(h,f)}return new Y$c(d)};var D1=function(){};D1.\u0275fac=function(a){return new (a||D1)};D1.\u0275mod=Zi({type:D1});D1.\u0275inj=Eg({imports:[jC,FG,ZL]});var E1=function(){};E1.\u0275fac=function(a){return new (a||E1)};E1.\u0275mod=Zi({type:E1});E1.\u0275inj=Eg({imports:[jC]});var F1=function(){};F1.\u0275fac=function(a){return new (a||F1)};F1.\u0275mod=Zi({type:F1});F1.\u0275inj=Eg({imports:[jC,E1,vO,FG,vM,UL,IL,ZL,JL,x1,D1]});var G1=function(){Z.apply(this,arguments);this.element=x(Ph);this.cdr=x(jE,{self:!0});this.location=x(hL);this.hotkeys=x(BL);this.focusedIndex=0;this.slos=[]};Y(G1,Z);G1.\u0275dir=Z.\u0275dir;g=G1.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(){this.focusedIndex-1<0||(this.focusedIndex--,this.scrollToFocusedIndex())};
g.ngOnInit=function(){var a=this,b=CL(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=(b=this.element.nativeElement.querySelector("table"))==null?void 0:(c=b.rows)==null?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].name};g.editSlo=function(a){this.location.path(Hq.editSlo.makeHref(a.sloId))};
G1.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(G1)))(b||G1)}}();
G1.\u0275cmp=F({type:G1,selectors:[["b-slo-grid"]],inputs:{slos:"slos"},standalone:!1,features:[Bk([jE]),xj],decls:17,vars:0,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"],["tabindex","0",1,"bv2-resource-list-row",3,"grid-focus"],["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"],[1,"bv2-resource-list-cell","slo-description","clickable"]],template:function(a,b){a&1&&(L(0,"table",0)(1,"thead")(2,"tr",1),N(3,"th",2),L(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),U(8," SLO name "),M()()()(),L(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),U(13," Description "),M()()()()()(),L(14,"tbody"),Mj(15,iFb,7,7,"tr",6,Lj),M()());a&2&&(E(15),Nj(b.slos))},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 H1=function(){};H1.\u0275fac=function(a){return new (a||H1)};H1.\u0275mod=Zi({type:H1});H1.\u0275inj=Eg({imports:[jC]});var I1=function(){this.log=x(NA);this.dateFormatter=x(MI)},qad=function(a,b){var c=jrb(b.addMask.paths),d=jrb(b.removeMask.paths),e={author:b.author||null,timestamp:b.timestamp||null,diffs:[]},f=b.add;b=b.remove;for(var h=l(new Set([].concat(p(c),p(d)))),k=h.next();!k.done;k=h.next()){var q=k.value;k=yyc.get(q);if(q==="name"){var u=bs(d,q,b.name);q=bs(c,q,f.name);e.diffs.push(cs(k,u,q))}else if(q==="description")u=bs(d,q,b.description),q=bs(c,q,f.description),e.diffs.push(cs(k,u,q));else if(q==="parentId")u=
bs(d,q,String(b.parentId)),q=bs(c,q,String(f.parentId)),e.diffs.push(cs(k,u,q));else if(q==="elements"){var A=f.elements;u=krb(d,q,b.elements.map(function(D){return pad(D)}));q=krb(c,q,A.map(function(D){return pad(D)}));e.diffs.push({fieldName:k,diffType:"COLLECTION",diff:{removed:u,added:q}})}else a.log.error("Unsupported diff field.")}return e},pad=function(a){var b=a.matcher,c=xyc.get(a.metric),d=QEb.get(a.dayType),e=[];a.businessDays>0&&e.push(a.businessDays+" day"+(a.businessDays>1?"s":""));
a.objective.seconds>0&&e.push(TLa(a.objective.seconds*1E3));return'("'+b+'", '+c+") - "+(d+" days - "+e.join(", "))};I1.\u0275fac=function(a){return new (a||I1)};I1.\u0275prov=Dg({token:I1,factory:I1.\u0275fac,providedIn:"root"});var J1=function(){};J1.\u0275fac=function(a){return new (a||J1)};J1.\u0275mod=Zi({type:J1});J1.\u0275inj=Eg({imports:[jC,FI,HI]});var tad=function(a,b){this.$log=b;this.templateAttributes={};this.templateCustomFields={};b=l(rad);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 typeof f==="string"?na(f):""}):e=typeof d==="string"?na(d):"";this.templateAttributes[c]=e}b=l(sad);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=l(a),b=a.next();!b.done;b=a.next())b=b.value.split(":"),
c=b.slice(1).join(":"),ja(c)||(this.templateCustomFields[b[0]]=c)},vad=function(a){return Object.keys(a.templateCustomFields||{}).length!==0||uad.some(function(b){return a.templateAttributes[b]!=null})},Aad=function(a,b,c){c!=null&&(wad(a,c),xad(a,b,c),yad(b,c));c=l(Object.entries(a.templateAttributes));for(var d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;zad[d](b,e)}a.templateAttributes={};a.templateCustomFields={}},xad=function(a,b,c){b.customField==null&&(b.customField=
[]);for(var d={},e=l(b.customField),f=e.next();!f.done;f=e.next())f=f.value,d[f.customFieldId]=f;e=l(Object.entries(a.templateCustomFields));var h=e.next();for(f={};!h.done;f={customFieldId$jscomp$28:void 0},h=e.next()){var k=l(h.value);h=k.next().value;k=k.next().value;f.customFieldId$jscomp$28=Bd(h);k={customFieldId:f.customFieldId$jscomp$28,value:k};h=a.getCustomFieldValue(k,c);d[f.customFieldId$jscomp$28]!=null?(f=b.customField.findIndex(function(q){return function(u){return u.customFieldId===
q.customFieldId$jscomp$28}}(f)),b.customField[f]=h):(b.customField.push(h),d[k.customFieldId]=h)}};
tad.prototype.getCustomFieldValue=function(a,b){var c={customFieldId:a.customFieldId};if(a.value){b=this.getCustomFieldType(c,b);var d=[];switch(b){case "TEXT":c.textValue=a.value;break;case "DATE":c.dateValue=GEa(a.value)||void 0;break;case "ENUM":c.enumValue=a.value;break;case "NUMERIC":c.numericValue=HEa(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 GEa(e)}).filter(function(e){return e!==
null});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 HEa(e)}).filter(function(e){return e!==null});c.repeatedNumericValue={values:d};break;default:this.$log.warn("Invalid custom field type '"+b+"'.")}}return c};tad.prototype.getCustomFieldType=function(a,b){var c,d;return(d=(c=b[a.customFieldId])==null?void 0:c.type)!=null?d:""};
var wad=function(a,b){a.templateCustomFields=Sc(a.templateCustomFields,function(c,d){return!!b[d]})},yad=function(a,b){if(a.customField!=null){a=l(a.customField);for(var c=a.next(),d={};!c.done;d={allowedValues:void 0},c=a.next()){c=c.value;var e=b[c.customFieldId];if(e&&e.type&&e.type.includes("ENUM")){d.allowedValues=e.allowedValue||[];var f=e.required&&e.typedDefaultValue;e.type.includes("REPEATED")?(c.repeatedEnumValue=c.repeatedEnumValue||{values:[]},c.repeatedEnumValue.values=c.repeatedEnumValue.values.filter(function(h){return function(k){return h.allowedValues.includes(k)}}(d)),
!c.repeatedEnumValue.values.length&&f&&(c.repeatedEnumValue=e.typedDefaultValue.repeatedEnumValue)):d.allowedValues.includes(c.enumValue)||(c.enumValue=f?e.typedDefaultValue.enumValue:"")}}}},rad="title type priority severity assignee verifier reporter collaborators cc hotlistIds blockedByIssueIds blockingIssueIds foundIn targetedTo".split(" "),sad=["inProd"],uad="severity foundIn inProd reporter verifier targetedTo blockedByIssueIds blockingIssueIds".split(" "),K1={},zad=(K1.cc=function(a,b){a.ccUsers=
mFb(b,a.ccUsers||[])},K1.collaborators=function(a,b){a.collaboratorsUsers=mFb(b,a.collaboratorsUsers||[])},K1.title=function(a,b){typeof b==="string"&&(a.title=b)},K1.assignee=function(a,b){lFb(b,function(c){a.assigneeUser=c})},K1.reporter=function(a,b){lFb(b,function(c){a.reporterUser=c})},K1.verifier=function(a,b){lFb(b,function(c){a.verifierUser=c})},K1.hotlistIds=function(a,b){if(b=jFb(b)){a.hotlistId||(a.hotlistId=[]);b=l(b);for(var c=b.next();!c.done;c=b.next())a.hotlistId.push(c.value)}},K1.blockingIssueIds=
function(a,b){if(b=jFb(b))a.blockingIssueId=b.map(String)},K1.blockedByIssueIds=function(a,b){if(b=jFb(b))a.blockedByIssueId=b.map(String)},K1.foundIn=function(a,b){typeof b==="string"&&(a.foundInVersion=b.split(","))},K1.targetedTo=function(a,b){typeof b==="string"&&(a.targetedToVersion=b.split(","))},K1.inProd=function(a,b){a.inProd=b==="true"},K1.priority=function(a,b){if(b=kFb(pDc,b))a.priority=td(b)},K1.severity=function(a,b){if(b=kFb(vDc,b))a.severity=zea(b)},K1.type=function(a,b){if(b=kFb(rDc,
b))a.type=yea(b)},K1);var L1=function(){this.issueRelationshipApi=x(AE);this.issueApi=x(vD)};
L1.prototype.bulkEdit=function(a){var b=this,c,d,e,f,h,k,q,u,A,D,H,O,P;return v(function(S){switch(S.nextAddress){case 1:c=a.actions[0];d=String(c.value);e=a.issueIds;f=c.actionType;if(f!=="ADD"&&f!=="REMOVE")throw Error("gf");h={};k=[];q=[];u=tCa(e);A=l(u.reverse());D=A.next();case 2:if(D.done){S.jumpTo(4);break}H=D.value;ei(S,5);return f==="ADD"?(O=H.map(function(aa){return{targetIssueId:aa,afterIssueId:void 0}}),w(S,pi(bxc(b.issueRelationshipApi,d,O)),8)):w(S,pi(cxc(b.issueRelationshipApi,d,H)),
8);case 8:return w(S,b.issueApi.batchGetIssuesFull(H).then(function(aa){return aa.map(function(ia){return h[ia.issueId]=ia})}),11);case 11:Iu(S,3);break;case 5:P=ii(S);if(!nn(P))throw P;q.push(P);k.push.apply(k,p(H));case 3:D=A.next();S.jumpTo(2);break;case 4:return S.return({finishedIssues:h,notFinishedIssueIds:k,errors:q})}})};L1.\u0275fac=function(a){return new (a||L1)};L1.\u0275prov=Dg({token:L1,factory:L1.\u0275fac,providedIn:"root"});var M1=function(){this.issueApi=x(vD);this.templatesApi=x(DB);this.errorHandler=x(PA);this.userAccess=x(dD);this.activeSession=x(Ks)},Cad=function(a,b){b=a.issueApi.getIssueFull(b).then(function(c){var d=Object,e=d.assign,f=Aa(c.snapshot),h,k=(h=c.description)==null?void 0:h.unlinkifiedComment,q;h=(q=c.description)==null?void 0:q.formattedComment;f.comment=k?k.trim():h?Qf(h):"";f.status="NEW";f.changelist=null;f.gerritChanges=null;f.duplicateIssueId=null;f.duplicateOfIssueId=null;return e.call(d,
{},{snapshot:f},{trackerId:c.trackerId})}).then(function(c){return Bad(a,c)});b.catch(function(c){a.errorHandler.errorHandler(null,c)});return b},Bad=function(a,b){var c=b.snapshot.hotlistId;if(!c)return b;var d=c.map(function(e){return eD(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})};M1.\u0275fac=function(a){return new (a||M1)};M1.\u0275prov=Dg({token:M1,factory:M1.\u0275fac,providedIn:"root"});var N1=function(){this.bLocation=x(hL);this.routeParams=x(NI);this.domSafe=x(SF)},Dad=function(a,b,c){var d=a.routeParams.redirectUrl;if(d&&d.startsWith("http")){if(c&&fa(d,"id=")||fa(d,"bugId="))d+=c;TF(a.domSafe,d)}else{var e;a.bLocation.replaceUrl((e=d)!=null?e:b)}};N1.\u0275fac=function(a){return new (a||N1)};N1.\u0275prov=Dg({token:N1,factory:N1.\u0275fac,providedIn:"root"});var Ead={provide:Ztc,useValue:function(a){return a.replace(/(action\/components\/[0-9]+)\/(move|updateSlo|updateTeam)/,"$1")},multi:!0},Fad={provide:Ztc,useValue:function(a){return a.replace(/(action\/hotlists\/[0-9]+)\/archive/,"$1")},multi:!0};var O1=function(){this.activeSession=x(Ks)};O1.prototype.intercept=function(a,b){var c=a.method;return c==="POST"||c==="PUT"||c==="DELETE"?(a=a.clone({setHeaders:{"X-XSRF-TOKEN":this.activeSession.getXsrfToken()}}),b.handle(a)):b.handle(a)};O1.\u0275fac=function(a){return new (a||O1)};O1.\u0275prov=Dg({token:O1,factory:O1.\u0275fac,providedIn:"root"});var Gad={provide:kqc,useClass:O1,multi:!0};var P1=function(){this.http=x(wA)};Y(P1,ey);g=P1.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=d===void 0?{}:d;d={headers:d.headers||{},params:Object.assign({},d.params)};var e,f;c==null?f=void 0:f=Ica(c);c=(e=f)!=null?e:null;return this.http.request(a,b.url,Object.assign({},d,{body:c})).pipe(C(nFb(b.responseConstructor)))};
P1.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(P1)))(b||P1)}}();P1.\u0275prov=Dg({token:P1,factory:P1.\u0275fac,providedIn:"root"});var Q1=function(){this.jspbExecutor=x(P1)};Y(Q1,fy);Q1.prototype.get=function(a){return pi(this.jspbExecutor.get(a))};Q1.prototype.delete=function(a){return pi(this.jspbExecutor.delete(a))};Q1.prototype.post=function(a){return pi(this.jspbExecutor.post(a))};Q1.prototype.put=function(a){return pi(this.jspbExecutor.put(a))};
Q1.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(Q1)))(b||Q1)}}();Q1.\u0275prov=Dg({token:Q1,factory:Q1.\u0275fac,providedIn:"root"});var R1=function(){};R1.\u0275fac=function(a){return new (a||R1)};R1.\u0275mod=Zi({type:R1});R1.\u0275inj=Eg({providers:[{provide:ey,useClass:P1},{provide:fy,useClass:Q1}],imports:[jC]});var S1=function(){var a=this;this.fridge=x(AB);this.userAccess=x(dD);this.currentComponentId="";this.providedComponentId$=new nj(1);this.accessCheckIsThinking$=new $n(!0);this.component$=this.providedComponentId$.pipe(sj(function(b){return a.fridge.watch(b)}));this.userIsComponentReader$=this.providedComponentId$.pipe(sj(function(b){b!==a.currentComponentId&&(a.accessCheckIsThinking$.next(!0),a.currentComponentId=b);return eD(a.userAccess,"reader","components/"+b).then(function(c){return c},function(){return!1}).finally(function(){a.accessCheckIsThinking$.next(!1)})}));
this.isReady$=si([this.fridge.thinking$,this.accessCheckIsThinking$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return!b&&!c}),rj(!1));this.manageComponentLink=""};S1.prototype.ngOnInit=function(){this.currentComponentId=this.componentId};S1.prototype.ngOnChanges=function(){this.providedComponentId$.next(this.componentId);this.manageComponentLink="/components/"+this.componentId};S1.\u0275fac=function(a){return new (a||S1)};
S1.\u0275cmp=F({type:S1,selectors:[["b-async-component"]],inputs:{componentId:"componentId"},standalone:!1,features:[$w],decls:5,vars:6,consts:[[3,"isReady"],[3,"href"]],template:function(a,b){a&1&&(L(0,"b-async-data-placeholder",0),W(1,"async"),I(2,oFb,3,4,"a",1),W(3,"async"),Jj(4,pFb,2,1,"output"),M());a&2&&(K("isReady",X(1,2,b.isReady$)),E(2),J(X(3,4,b.userIsComponentReader$)?2:4))},dependencies:[eP,py],encapsulation:2});var U1=function(){this.documentationLinks=x(XH);this.activeSession=x(Ks);this.loginRedirector=x(T1);this.isAnonymous=this.activeSession.isAnonymous();this.enableSignInAnonymousAccessDenied=Cx(this.activeSession,"enableSignInAnonymousAccessDenied");this.signInProgressing=this.showIssueMetadataContainer=!1};
pg.Object.defineProperties(U1.prototype,{issueMetadata:{configurable:!0,enumerable:!0,set:function(a){if(a){this.issueId=a.issueId;this.issueLastModified=Sf(a.modifiedTime);a.teamId&&(this.issueTeamId=a.teamId);if(a=a.issueState){this.issueType=Ld(a.type);var b;this.issueStatus=(b=Nd.get(a.status))!=null?b:"";this.issuePriority=a.priority;this.issueSeverity=djc[a.severity];this.issueComponentId=String(a.componentId);this.accessLimitLevel=N1a(a.accessLimitLevel)}this.showIssueMetadataContainer=!0}else this.showIssueMetadataContainer=
!1}}});U1.\u0275fac=function(a){return new (a||U1)};
U1.\u0275cmp=F({type:U1,selectors:[["b-access-denied-metadata"]],inputs:{issueMetadata:"issueMetadata"},standalone:!1,decls:9,vars:2,consts:[["issueMetadataContainer",""],["anonymousMessage",""],[1,"b-access-denied"],[1,"heading-l","margin-bottom"],[4,"ngTemplateOutlet"],[1,"carded","margin-top"],[3,"issuePriority"],["target","_blank","aria-label","Learn more about issue access limits",3,"href"],[3,"componentId"],[3,"teamId"],"type button mat-flat-button  color primary".split(" "),["type","button",
"mat-flat-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(L(0,"div",2)(1,"h3",3),U(2," Access is denied to this issue "),M(),I(3,rFb,1,1,"ng-container"),I(4,tFb,1,1,"ng-container"),M(),G(5,wFb,40,13,"ng-template",null,0,Gk)(7,AFb,3,1,"ng-template",null,1,Gk));a&2&&(E(3),J(b.showIssueMetadataContainer?3:-1),E(),J(b.isAnonymous?4:-1))},dependencies:[oy,S1,lP,aO,dA,aA,lL,sy],styles:[".b-access-denied[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}ol[_ngcontent-%COMP%]{box-sizing:border-box;max-width:400px;min-width:300px;padding-right:8px;word-break:break-word}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%]{min-width:120px;font-weight:bold;color:#5f6368;color:var(--text-muted);margin-right:8px;font-size:.8125rem}"],
changeDetection:0});var T1=function(){this.bLocation=x(hL)};T1.prototype.redirect=function(){var a=dd("/loginRedirect?continue="+encodeURIComponent(this.bLocation.getUrl())),b=window.location;a=ed(a);a!==void 0&&b.replace(a)};T1.\u0275fac=function(a){return new (a||T1)};T1.\u0275prov=Dg({token:T1,factory:T1.\u0275fac,providedIn:"root"});var V1=function(){};V1.\u0275fac=function(a){return new (a||V1)};V1.\u0275mod=Zi({type:V1});V1.\u0275inj=Eg({imports:[jC,LQ]});var W1=function(){};W1.\u0275fac=function(a){return new (a||W1)};W1.\u0275mod=Zi({type:W1});W1.\u0275inj=Eg({imports:[jC,V1,zQ,bO,FI,oL]});var Had=Symbol("jf"),Iad=RegExp("today([+-]\\d+)?"),Y1=function(){this.ruleConfigService=x(X1)};
Y1.prototype.build=function(a){if(a.customField)var b=a.customField.type==="DATE"?new Z1(a,a2(this.ruleConfigService)):a.customField.type==="ENUM"?new Jad(a,a2(this.ruleConfigService)):a.customField.type==="REPEATED_ENUM"?new Kad(a,a2(this.ruleConfigService)):a.customField.type==="NUMERIC"?new b2(a,a2(this.ruleConfigService)):new c2(a,a2(this.ruleConfigService));else b=a.label.field,b=a2(this.ruleConfigService)[b],b=new (b&&b.ruleCtor||d2)(a,a2(this.ruleConfigService));b[Had](a);return b};
var eHb=function(a,b,c){return a.build({label:{field:b,customFieldId:c&&c.customFieldId||void 0},operator:"EQ",negated:!1,type:"",customField:c})};Y1.\u0275fac=function(a){return new (a||Y1)};Y1.\u0275prov=Dg({token:Y1,factory:Y1.\u0275fac,providedIn:"root"});
var Lad=["OR","AND","NAND"],Mad=["OR","NAND"],Nad="LT GT LE GE RANGE NRANGE DURATION NDURATION OR".split(" "),Oad=["AND","OR","NAND"],Pad=["OR","LT","GT","LE","GE"],d2=function(a,b){this.ruleConfigLookup=b;this.values=[];this.type="";this.isPendingCustomField=!1;this.label=a.label};d2.prototype[Had]=function(a){this.initType(a);this.initValues(a)};
d2.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=a.type==="OR"?a.negated?"NOR":"OR":a.type==="AND"?a.negated?"NAND":"AND":a.negated?"NAND":"OR"}else this.type=this.getLegalTypes()[0]};d2.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){return{value:b.simpleValues[0].value}})};
var Qad=function(a){var b=a.type==="NAND"||a.type==="NOR"||a.type==="NDURATION"||a.type==="NRANGE",c="EQ";if(a.type==="AND"||a.type==="NAND")var d="AND";else if(a.type==="OR"||a.type==="NOR")d="OR";else if(d="NIL",a.type==="LE"||a.type==="LT"||a.type==="GE"||a.type==="GT")c=a.type;b&&(d==="AND"?d="OR":d==="OR"&&(d="AND"));return{operator:c,joinType:d,negated:b}};
d2.prototype.toString=function(){var a=Qad(this),b=this.valuesToStrings().filter(function(e){return e}),c={GT:">",LT:"<",GE:">=",LE:"<=",EQ:":"};if(b.length===1)b=b[0];else if(b.length>1)b="("+b.join(a.joinType==="AND"?" ":" | ")+")";else return"";var d=Rad(this);return(a.negated?"-":"")+d+(d?c[a.operator]:"")+b};var Rad=function(a){var b=a.label.field,c=a.ruleConfigLookup[b];return c&&(c=c.queryLabel,c!=null)?c:zd(b).toLowerCase()+(a.label.customFieldId||"")};d2.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value}).filter(function(a){return a})};
d2.prototype.getWidgetType=function(){return"default"};d2.prototype.isValid=function(){return this.getLegalTypes().includes(this.type)};d2.prototype.getLegalTypes=function(){return Lad};var Sad=[],e2=function(a,b){d2.call(this,a,b);this.enumValues={}};Y(e2,d2);g=e2.prototype;g.getLegalTypes=function(){return Mad};g.getWidgetType=function(){return"enum"};
g.initValues=function(a){this.enumValues={};for(var b=l(this.getOptions()),c=b.next();!c.done;c=b.next())this.enumValues[c.value.id]=!1;a=l(a.values||[]);for(b=a.next();!b.done;b=a.next())this.enumValues[BFb(b.value.simpleValues[0].value)]=!0};g.valuesToStrings=function(){return Object.keys(Sc(this.enumValues,function(a){return a}))};g.getOptions=function(){return Sad};var Tad=Maa().map(function(a){return{id:"p"+a,label:"P"+a}}),Uad=function(a,b){e2.call(this,a,b)};Y(Uad,e2);
Uad.prototype.getOptions=function(){return Tad};var Vad=Maa().map(function(a){return{id:"s"+a,label:"S"+a}}),Wad=function(a,b){e2.call(this,a,b)};Y(Wad,e2);Wad.prototype.getOptions=function(){return Vad};
var Xad=[{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:"program"},{id:"project"},{id:"feature"},{id:"milestone"},{id:"epic"},{id:"story"},{id:"task"}],Yad=function(a,b){e2.call(this,a,b)};Y(Yad,e2);Yad.prototype.getOptions=function(){return Xad};
var Zad=[{id:"open"},{id:"new",group:"open"},{id:"assigned",group:"open"},{id:"accepted",group:"open"},{id:"closed"},{id:"fixed"},{id:"verified"},{id:"duplicate"},{id:"inactive"},{id:"infeasible"},{id:"intended_behavior",label:"intended behavior"},{id:"not_reproducible",label:"not reproducible"},{id:"obsolete"}],$ad=function(a,b){e2.call(this,a,b)};Y($ad,e2);$ad.prototype.getOptions=function(){return Zad};
var abd=[{id:"abuse"},{id:"pii"},{id:"user_request",label:"user request"},{id:"retention"}],bbd=function(a,b){e2.call(this,a,b)};Y(bbd,e2);bbd.prototype.getOptions=function(){return abd};var cbd=[{id:"limit_none",label:"default access"},{id:"limit_view",label:"limited visibility"},{id:"limit_append",label:"limited commenting"},{id:"limit_view_trusted",label:"limited visibility + Google"}],dbd=function(a,b){e2.call(this,a,b)};Y(dbd,e2);dbd.prototype.getOptions=function(){return cbd};
var ebd=[{id:"swe",label:Ro.SWE,tooltip:Lw.SWE},{id:"sre",label:Ro.SRE,tooltip:Lw.SRE},{id:"pm",label:Ro.PM,tooltip:Lw.PM},{id:"tpgm",label:Ro.TPGM,tooltip:Lw.TPGM},{id:"ux",label:Ro.UX,tooltip:Lw.UX}],fbd=[{id:"swe",label:Ro.SWE,tooltip:Lw.SWE},{id:"sre",label:Ro.SRE,tooltip:Lw.SRE},{id:"pm",label:Ro.PM,tooltip:Lw.PM},{id:"tpgm",label:Ro.TPGM,tooltip:Lw.TPGM},{id:"ux",label:Ro.UX,tooltip:Lw.UX},{id:"uxd",label:Ro.UXD,tooltip:Lw.UXD},{id:"uxr",label:Ro.UXR,tooltip:Lw.UXR},{id:"datasci",label:Ro.DATASCI,
tooltip:Lw.DATASCI},{id:"ld",label:Ro.LD,tooltip:Lw.LD},{id:"devrel",label:Ro.DEVREL,tooltip:Lw.DEVREL},{id:"tw",label:Ro.TW,tooltip:Lw.TW},{id:"gtm",label:Ro.GTM,tooltip:Lw.GTM},{id:"ce",label:Ro.CE,tooltip:Lw.CE},{id:"other",label:Ro.OTHER}],gbd=function(a,b){e2.call(this,a,b)};Y(gbd,e2);gbd.prototype.getOptions=function(){return ebd};var hbd=function(){e2.apply(this,arguments)};Y(hbd,e2);hbd.prototype.getOptions=function(){return fbd};
var Jad=function(a,b){e2.call(this,a,b);this.allowedValues=[]};Y(Jad,e2);Jad.prototype[Had]=function(a){this.allowedValues=a.customField.allowedValue.map(function(b){return{label:b,id:BFb(b)}});e2.prototype[Had].call(this,a)};Jad.prototype.valuesToStrings=function(){return Object.keys(Sc(this.enumValues,function(a){return a})).map(function(a){return'"'+a+'"'})};Jad.prototype.getOptions=function(){return this.allowedValues};
var Kad=function(a,b){d2.call(this,a,b);this.allowedValues=[];var c,d;this.allowedValues=(d=(c=a.customField)==null?void 0:c.allowedValue)!=null?d:[]};Y(Kad,d2);Kad.prototype.getWidgetType=function(){return"repeated-enum"};Kad.prototype.getOptions=function(){return this.allowedValues};var ts=function(a,b){d2.call(this,a,b);this.csv=""};Y(ts,d2);ts.prototype.getWidgetType=function(){return"csv"};ts.prototype.initValues=function(a){this.csv=(a.values||[]).map(function(b){return b.simpleValues[0].value}).join(",")};
ts.prototype.valuesToStrings=function(){return this.csv.split(",").map(function(a){return a.trim()}).filter(function(a){return a})};var f2=function(a,b){ts.call(this,a,b)};Y(f2,ts);f2.prototype.getWidgetType=function(){return"id"};f2.prototype.valuesToStrings=function(){return ts.prototype.valuesToStrings.call(this).map(function(a){return a.toLowerCase()==="none"?"none":a.toLowerCase()==="any"?"any":String(Bd(a))})};var ibd=function(a,b){ts.call(this,a,b)};Y(ibd,f2);ibd.prototype.getLegalTypes=function(){return Mad};
var g2=function(a,b){ts.call(this,a,b)};Y(g2,ts);g2.prototype.getWidgetType=function(){return"user"};var h2=function(a,b){ts.call(this,a,b)};Y(h2,g2);h2.prototype.getLegalTypes=function(){return Mad};var Z1=function(a,b){d2.call(this,a,b);this.dateTo=this.dateFrom=this.duration=""};Y(Z1,d2);var KGb=function(a){return a&&typeof a==="string"?a:""};
Z1.prototype.initType=function(a){d2.prototype.initType.call(this,a);var b=a.values&&a.values[0];b&&(b.type==="RANGE"?this.type=a.negated?"NRANGE":"RANGE":fa(b.simpleValues[0].value,"d")&&(this.type=a.negated?"NDURATION":"DURATION"))};Z1.prototype.getWidgetType=function(){return"date"};
Z1.prototype.initValues=function(a){if(a.values){var b=a.values[0].simpleValues[0].value;if(this.type==="DURATION"||this.type==="NDURATION")this.duration=b.slice(0,b.length-1);else if(this.dateFrom=jbd(b),this.type==="RANGE"||this.type==="NRANGE")this.dateTo=jbd(a.values[0].simpleValues[1].value)}};
Z1.prototype.valuesToStrings=function(){if(this.type==="DURATION"||this.type==="NDURATION"){var a=Bd(this.duration);return!a||isNaN(a)?[]:[a+"d"]}if(this.type==="RANGE"||this.type==="NRANGE"){a=this.dateFrom&&kbd(this.dateFrom)||(new Ad).toIsoString(!0);var b=this.dateTo&&kbd(this.dateTo)||(new Ad).toIsoString(!0);return[a+".."+b]}return[this.dateFrom&&kbd(this.dateFrom)||(new Ad).toIsoString(!0)]};
var lbd=function(a){return String(a.getMonth()+1)+"/"+String(a.getDate())+"/"+String(a.getFullYear())},jbd=function(a){if(Iad.test(a))return a;var b=new Uf(2E3);a=na(a);var c=a.indexOf("T")==-1?" ":"T";a=a.split(c);var d=a[0].match(Nic);if(d){var e=Number(d[2]),f=Number(d[3]),h=Number(d[4]);c=Number(d[5]);var k=Number(d[6])||1;b.setFullYear(Number(d[1]));h?(b.setDate(1),b.setMonth(0),b.add(new Aw("d",h-1))):c?(b.setMonth(0),b.setDate(1),d=b.getDay()||7,b.add(new Aw("d",(d<=4?1-d:8-d)+(Number(k)+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=a.length<2)){c=a[1];a=c.match(Pic);if(a)if(c=c.substring(0,c.length-a[0].length),a[0]==="Z")var q=0;else q=Number(a[2])*60+Number(a[3]),q*=a[1]=="-"?1:-1;if(h=c.match(Oic)){if(a){a=b.getYear();c=b.getMonth();k=b.getDate();d=Number(h[1]);e=Number(h[2])||0;f=Number(h[3])||0;var u=h[4]?Number(h[4])*1E3:0;(h=a>=0&&a<100)&&(a+=400);a=Date.UTC(a,c,k,d,e,f,u);h&&(a-=126227808E5);b.setTime(a+q*6E4)}else b.setHours(Number(h[1])),
b.setMinutes(Number(h[2])||0),b.setSeconds(Number(h[3])||0),b.setMilliseconds(h[4]?Number(h[4])*1E3:0);c=!0}else c=!1}return lbd(c?b:null)},kbd=function(a){if(Iad.test(a))return a;a=a.split("/").map(Number);return(new Ad(a[2],a[0]-1,a[1])).toIsoString(!0)};Z1.prototype.getLegalTypes=function(){return Nad};var i2=function(a,b){d2.call(this,a,b)};Y(i2,d2);i2.prototype.getWidgetType=function(){return"bool"};
i2.prototype.initType=function(a){var b=a.type==="OR"||a.type==="";a.values&&(b=a.values[0].simpleValues[0].value.toLowerCase()==="true");a.negated&&(b=!b);this.type=b?"OR":"NAND"};i2.prototype.toString=function(){return Rad(this)+":"+(this.type==="OR")};i2.prototype.getLegalTypes=function(){return Mad};var j2=function(a,b){d2.call(this,a,b)};Y(j2,d2);j2.prototype.getWidgetType=function(){return"boolwithall"};
j2.prototype.initType=function(a){this.getLegalTypes().includes(a.type)?this.type=a.type:this.type=this.getLegalTypes()[0];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&&this.type!=="AND"&&(this.type=this.type==="OR"?"NAND":"OR")};j2.prototype.toString=function(){var a=Rad(this)+":";switch(this.type){case "OR":return a+"true";case "NAND":return a+"false";default:return a+"all"}};
j2.prototype.getLegalTypes=function(){return Oad};var c2=function(a,b){d2.call(this,a,b)};Y(c2,d2);c2.prototype.getWidgetType=function(){return"text"};c2.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){b=b.simpleValues[0];var c=b.value;b.type==="QUOTED_TEXT"&&(c=c.slice(1,c.length-1));return{value:c}})};c2.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value.includes(" ")?'"'+a.value+'"':a.value})};
var mbd=function(a,b){d2.call(this,a,b)};Y(mbd,d2);mbd.prototype.getWidgetType=function(){return"component"};mbd.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};fa(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};mbd.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};
var nbd=function(a,b){d2.call(this,a,b)};Y(nbd,d2);nbd.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};fa(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};nbd.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};var obd=function(a,b){d2.call(this,a,b)};Y(obd,d2);obd.prototype.getWidgetType=function(){return"tracker"};
var pbd=function(a,b){d2.call(this,a,b)};Y(pbd,nbd);pbd.prototype.getWidgetType=function(){return"team"};var qbd=function(a,b){d2.call(this,a,b)};Y(qbd,d2);qbd.prototype.getWidgetType=function(){return"hotlist"};var rbd=function(a,b){d2.call(this,a,b)};Y(rbd,d2);rbd.prototype.getWidgetType=function(){return"savedsearch"};var b2=function(a,b){ts.call(this,a,b)};Y(b2,ts);b2.prototype.getWidgetType=function(){return"number"};b2.prototype.getLegalTypes=function(){return Pad};
var sbd=function(a,b){Z1.call(this,a,b)};Y(sbd,Z1);sbd.prototype.initType=function(a){Z1.prototype.initType.call(this,a);a.negated&&(this.type="ERR")};
var k2={},tbd=(k2.ATTACHMENT={ruleCtor:c2,name:"Attachment name"},k2.COMMENT={ruleCtor:c2},k2.TITLE={ruleCtor:c2},k2.ASSIGNEE={ruleCtor:h2},k2.MODIFIER={ruleCtor:g2},k2.REPORTER={ruleCtor:h2},k2.VERIFIER={ruleCtor:h2},k2.CC={ruleCtor:g2},k2.COLLABORATOR={ruleCtor:g2},k2.COMPONENT_ID={ruleCtor:mbd,name:"Component"},k2.TRACKER_ID={ruleCtor:obd,name:"Tracker"},k2.TYPE={ruleCtor:Yad},k2.STATUS={ruleCtor:$ad},k2.PRIORITY={ruleCtor:Uad},k2.SEVERITY={ruleCtor:Wad},k2.BLOCKED_BY_ID={ruleCtor:f2},k2.BLOCKING_ID=
{ruleCtor:f2},k2.PARENT_ID={ruleCtor:f2},k2.CANONICAL_ID={ruleCtor:ibd},k2.ID={ruleCtor:ibd},k2.FOUND_IN={ruleCtor:ts},k2.TARGETED_TO={ruleCtor:ts},k2.VERIFIED_IN={ruleCtor:ts},k2.CL={ruleCtor:ts,name:"Changelists"},k2.MODIFIED={ruleCtor:Z1},k2.RESOLVED={ruleCtor:sbd},k2.CREATED={ruleCtor:Z1},k2.VERIFIED={ruleCtor:sbd},k2.DELETION_TIME={ruleCtor:Z1,name:"Deletion time"},k2.SAVED_SEARCH_ID={ruleCtor:rbd,name:"Saved search"},k2.HOTLIST_ID={ruleCtor:qbd,name:"Hotlist"},k2.STAR={ruleCtor:i2,name:"Starred"},
k2.MUTE={ruleCtor:i2,name:"Muted"},k2.VOTE={ruleCtor:i2,name:"Upvoted by me"},k2.IN_PROD={ruleCtor:i2,name:"In production"},k2.CC_COUNT={ruleCtor:b2},k2.COLLABORATOR_COUNT={ruleCtor:b2},k2.DUPLICATE_COUNT={ruleCtor:b2},k2.VOTE_COUNT={ruleCtor:b2},k2.COMMENT_COUNT={ruleCtor:b2},k2.DESCENDANT_COUNT={ruleCtor:b2},k2.OPEN_DESCENDANT_COUNT={ruleCtor:b2},k2.ONE_DAY_VIEW_COUNT={ruleCtor:b2},k2.SEVEN_DAY_VIEW_COUNT={ruleCtor:b2},k2.THIRTY_DAY_VIEW_COUNT={ruleCtor:b2},k2.ATTACHMENT_COUNT={ruleCtor:b2},k2.LAST_MODIFIER=
{ruleCtor:h2,name:"Last Modified By"},k2.COMMENTER={ruleCtor:g2},k2.LAST_COMMENTER={ruleCtor:h2},k2.ARCHIVED={ruleCtor:j2},k2.IS_DELETED={ruleCtor:i2,name:"Deleted",queryLabel:"deleted"},k2.DELETION_REASON={ruleCtor:bbd,name:"Deletion reason"},k2.ACCESS_LEVEL={ruleCtor:dbd,name:"Issue access level"},k2._TEXT_={ruleCtor:c2,queryLabel:"",name:"All fields"},k2),ubd=Object.assign({},tbd,{EFFORT_LABEL:{ruleCtor:ts},MENTION:{ruleCtor:g2},MIN_SLO_TARGET:{ruleCtor:Z1,name:"Nearest SLO",queryLabel:"nearestslo"},
POSTMORTEM:{ruleCtor:ts,name:"Postmortems"},STAFFING_PLACEHOLDER_COUNT:{ruleCtor:b2,name:"Staffing - Placeholder Count",queryLabel:"staffingplaceholdercount"},STAFFING_USER:{ruleCtor:g2,name:"Staffing - User",queryLabel:"staffinguser"},STAFFING_USER_COUNT:{ruleCtor:b2,name:"Staffing - User Count",queryLabel:"staffingusercount"},TEAM_ID:{ruleCtor:pbd,name:"Team"}}),vbd={ESCALATION_OWNER:{ruleCtor:h2}},wbd={INSIGHT:{ruleCtor:c2}},xbd={ATTACHMENT_ANALYSIS:{ruleCtor:c2}},X1=function(){this.activeSession=
x(Ks)},a2=function(a){var b=Cx(a.activeSession,"enableStaffingFieldEnhancementsUi")?{STAFFING_PLACEHOLDER:{ruleCtor:hbd,name:"Staffing - Placeholder",queryLabel:"staffingplaceholder"}}:{STAFFING_PLACEHOLDER:{ruleCtor:gbd,name:"Staffing - Placeholder",queryLabel:"staffingplaceholder"}};b=a.activeSession.isExternalSession()?tbd:Object.assign({},b,ubd);Cx(a.activeSession,"enableEscalationOwnerRolloutUi")&&(b=Object.assign({},b,vbd));a.activeSession.isInternalSession()&&Cx(a.activeSession,"enableInsightsEnrichments")&&
(b=Object.assign({},b,wbd));a.activeSession.isInternalSession()&&Cx(a.activeSession,"enableAttachmentAnalysisSearch")&&(b=Object.assign({},b,xbd));return b};X1.\u0275fac=function(a){return new (a||X1)};X1.\u0275prov=Dg({token:X1,factory:X1.\u0275fac,providedIn:"root"});var ybd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ybd,n);g=ybd.prototype;g.getField=function(){return Zd(this,1)};g.getCustomFieldId=function(){return Re(this,2)};g.getCustomFieldId_asString=function(){return Le(this,2)};g.setCustomFieldId=function(a){return rf(this,2,a)};g.hasCustomFieldId=function(){return Mb(Ke(this,2))!=null};var HFb=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(HFb,n);g=HFb.prototype;g.getType=function(){return Zd(this,1)};g.setType=function(a){return mf(this,1,a)};g.hasType=function(){return He(this,1)};g.getValue=function(){return Oc(this,2)};g.setValue=function(a){return lf(this,2,a)};g.hasValue=function(){return Ge(this,2)};var l2=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(l2,n);g=l2.prototype;g.getType=function(){return Zd(this,1)};g.setType=function(a){return mf(this,1,a)};g.hasType=function(){return He(this,1)};g.getValuesList=function(a){return ie(this,l2,2,Rd(a))};g.setValuesList=function(a){return Ol(this,2,a)};g.setValues=function(a,b){Nu(this,2,l2,a,b)};var PFb=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(PFb,n);g=PFb.prototype;g.getType=function(){return Zd(this,1)};g.setType=function(a){return mf(this,1,a)};g.hasType=function(){return He(this,1)};g.getValuesList=function(a){return ie(this,l2,2,Rd(a))};g.setValuesList=function(a){return Ol(this,2,a)};g.setValues=function(a,b){Nu(this,2,l2,a,b)};g.getLabel=function(){return r(this,ybd,4)};g.setLabel=function(a){return t(this,ybd,4,a)};
g.hasLabel=function(){return Me(this,ybd,4)};var os=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,os.messageId)};Y(os,n);os.prototype.getType=function(){return Zd(this,1,void 0,Kc)};os.prototype.setType=function(a){return mf(this,1,a,Kc)};os.prototype.hasType=function(){return He(this,1,Kc)};os.messageId="b.QueryBuilderResponse";var MFb=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,MFb.messageId)};Y(MFb,n);MFb.messageId="b.SyntaxErrorResponse";var zbd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,zbd.messageId)};Y(zbd,n);zbd.prototype.getKindCase=function(){return al(this,NFb,Kc)};var NFb=[1,2];zbd.messageId="b.QueryBuilderResponseOrError";var m2=function(){this.executor=x(fy)},Abd=function(a,b){b=qn(b);return a.executor.get({url:"action/issue_query_parse/"+b,responseConstructor:zbd}).then(QFb).then(function(c){var d;(d=c.syntaxErrorResponse)!=null?c=d:(c=c.queryBuilderResponse,c={type:c.type,expressions:c.expressions.map(CFb)});return c})};m2.\u0275fac=function(a){return new (a||m2)};m2.\u0275prov=Dg({token:m2,factory:m2.\u0275fac,providedIn:"root"});var n2=function(){var a=this;this.trackerFridge=x(vF);this.placeholder="Choose Tracker";this.disabled=!1;this.onTrackerSelect=new iE;this.searchQuery$=new oj;this.trackerSuggestions$=this.searchQuery$.pipe(fj(300),jj(),sj(function(b){return a.trackerFridge.watchMany({filter:b,pageSize:5})}),C(function(b){return b.results}));this.displayFn=function(b){return b?b.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)};
n2.\u0275cmp=F({type:n2,selectors:[["b-tracker-picker"]],viewQuery:function(a,b){a&1&&ek(TN,7);if(a&2){var c;ik(c=jk())&&(b.autocompleteTrigger=c.first)}},inputs:{selectedTracker:"selectedTracker",placeholder:"placeholder",disabled:"disabled"},outputs:{onTrackerSelect:"onTrackerSelect"},standalone:!1,decls:7,vars:8,consts:[["trackerSearchInput",""],["auto","matAutocomplete"],["id","tracker-id","type","text","autocomplete","off","aria-label","Tracker selection",3,"click","input","placeholder","ngModel",
"disabled","matAutocomplete"],[3,"optionSelected","displayWith"],[1,"tracker-search-result",3,"value"],[1,"tracker-name"]],template:function(a,b){if(a&1){var c=y();L(0,"input",2,0);Q("click",function(){z(c);var d=T(1);return B(b.search(d.value))})("input",function(){z(c);var d=T(1);return B(b.search(d.value))});M();L(2,"mat-autocomplete",3,1);Q("optionSelected",function(d){z(c);return B(b.updateSelectionOnChange(d))});Mj(4,RFb,3,2,"mat-option",4,Lj);W(6,"async");M()}a&2&&(a=T(3),K("placeholder",b.placeholder)("ngModel",
b.selectedTracker)("disabled",b.disabled)("matAutocomplete",a),Hj("aria-disabled",b.disabled),E(2),K("displayWith",b.displayFn),E(2),Nj(X(6,6,b.trackerSuggestions$)))},dependencies:[VN,SN,Vz,TN,Bp,hG,oG,py],styles:[".tracker-search-result.mat-mdc-option[_ngcontent-%COMP%]{line-height:normal;height:auto;padding:0 8px}.tracker-search-result.mat-mdc-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(){Z.apply(this,arguments);this.analytics=x(nE);this.customFieldsApi=x(OC);this.savedSearchApi=x(HC);this.hotlistApi=x(zC);this.trackerFridge=x(vF);this.issueSearchResources=x(m2);this.activeSession=x(Ks);this.elementRef=x(Ph);this.errorHandler=x(PA);this.componentActions=x(DO);this.teamsService=x(kF);this.searchRuleConfigService=x(X1);this.searchRuleFactory=x(Y1);this.cdr=x(jE,{self:!0});this.trackerHelpers=x(sI);this.currentUserBookmarksFridge=x(JC);this.candidateEmailAutocompleteDenylist=
["me","none","any"];this.sessionIsInternal=this.activeSession.isInternalSession();this.isTrackerSearchEnabled=!1;this.typeLabels=o2.TYPE_LABELS;this.globalTypeLabels=o2.GLOBAL_TYPE_LABELS;this.availableLabels=[];this.state="INIT";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};
Y(o2,Z);o2.\u0275dir=Z.\u0275dir;var Bbd=function(a){var b=[];Rc(a2(a.searchRuleConfigService),function(c,d){d==="SAVED_SEARCH_ID"||d==="TRACKER_ID"&&!a.isTrackerSearchEnabled||d==="TEAM_ID"&&!a.sessionIsInternal||(c.name?b.push([d,c.name]):b.push([d,iRa(d)]))},a);b.sort(function(c,d){return Jaa(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(zi.schedule(a))};o2.prototype.ngOnInit=function(){this.cdr.detectChanges()};
o2.prototype.ngOnChanges=function(a){a.isTrackerSearchEnabled&&(this.availableLabels=Bbd(this))};
var Dbd=function(a,b){a.reset();b?Cbd(a,b):(a.expressions=o2.DEFAULT_FIELDS.map(function(c){return eHb(a.searchRuleFactory,c)}),a.state="SUCCESS");pi(muc(a.currentUserBookmarksFridge)).then(function(c){a.userSavedSearches=c;c=l(a.userSavedSearches);for(var d=c.next();!d.done;d=c.next())d=d.value,a.savedSearches[d.searchId]=d;a.cdr.detectChanges()});pi(KC(a.currentUserBookmarksFridge)).then(function(c){a.userHotlists=c;c=l(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()},Cbd=function(a,b){Abd(a.issueSearchResources,b).then(function(c){if(c.syntaxError)return a.state="SYNTAX_ERROR",a.analytics.trackEvent("adv-search","adv-search-syntax-error"),a.cdr.detectChanges(),null;a.expressionType=c.type;a.expressions=[];c=c.expressions.map(function(d){return Ebd(a,d)});return Promise.all(c).then(function(d){if(d.every(function(f){return!!f})){a.state="SUCCESS";d=l(d);for(var e=d.next();!e.done;e=d.next())a.expressions.push(e.value)}else a.state=
"NOT_REPRESENTABLE",a.analytics.trackEvent("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()})},Ebd=function(a,b){b.label&&b.label.field==="TRACKER_ID"&&!a.isTrackerSearchEnabled&&(b.label.field="_TEXT_");b.label&&b.label.field==="TEAM_ID"&&!a.sessionIsInternal&&(b.label.field="_TEXT_");return b.label&&b.label.field==="CUSTOM_FIELD"&&b.label.customFieldId!==void 0?Fbd(a,b.label.customFieldId).then(function(c){b.customField=
c;return Gbd(a,b)}):Promise.resolve(Gbd(a,b))},Fbd=function(a,b){return a.customFields[b]?Promise.resolve(a.customFields[b]):a.customFieldsApi.get(b).then(function(c){return a.customFields[b]=c})},Gbd=function(a,b){b=b.type==="ERR"?null:a.searchRuleFactory.build(b);if(!b||b&&!b.isValid())return null;Hbd(a,b);return b},Hbd=function(a,b){switch(b.label.field){case "COMPONENT_ID":b=l(b.values);for(var c=b.next();!c.done;c=b.next())c=c.value.value,a.components[c]||a.fetchComponent(c);break;case "TRACKER_ID":if(a.isTrackerSearchEnabled)for(b=
l(b.values),c=b.next();!c.done;c=b.next())c=c.value.value,a.trackers[c]||Ibd(a,c);break;case "TEAM_ID":if(a.sessionIsInternal)for(b=l(b.values),c=b.next();!c.done;c=b.next())c=c.value.value,a.teams[c]||Jbd(a,c);break;case "SAVED_SEARCH_ID":b=l(b.values);for(c=b.next();!c.done;c=b.next())c=c.value,a.savedSearches[c.value]||a.savedSearchApi.get(c.value).then(function(d){a.savedSearches[d.searchId]=d});break;case "HOTLIST_ID":for(b=l(b.values),c=b.next();!c.done;c=b.next())c=c.value,a.hotlists[c.value]||
a.hotlistApi.get(c.value).then(function(d){a.hotlists[d.hotlistId]=d})}};o2.prototype.fetchComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){var d;Iq(b.activeSession)&&c.trackerId!==((d=b.activeSession.getTracker())==null?void 0:d.trackerId)||(b.components[a]=c)})};
var Ibd=function(a,b){a.trackerFridge.watch(b).pipe(tj(a.destroyed$)).subscribe(function(c){c&&(a.trackers[b]=c)})},Jbd=function(a,b){mF(a.teamsService,b).pipe(cj(function(){return li([])}),tj(a.destroyed$)).subscribe(function(c){c.length>0?(c=c[0],a.teams[b]={id:c.teamId,pathNames:c.pathNames,name:c.name,description:c.description}):a.teams[b]={id:b,pathNames:[b],name:b,description:""}})},Kbd=function(a){var b=a.expressionType==="AND"?" ":" | ";return Qdc(a.expressions.map(function(c){return c.label?
c.toString():""}),Vgc).join(b)};o2.prototype.getState=function(){return this.state};o2.prototype.reset=function(){this.expressionType="AND";this.expressions=[];this.state="INIT"};
var hHb=function(a,b){var c=a.expressions[b],d=c.label;d.field==="CUSTOM_FIELD"?c.isPendingCustomField=!0:(a.expressions[b]=eHb(a.searchRuleFactory,d.field),fHb(a,a.expressions[b]));a.cdr.detectChanges()},fHb=function(a,b){var c=b.getWidgetType();c==="component"||c==="savedsearch"||c==="hotlist"||c==="text"||c==="team"||c==="tracker"||c==="repeatedenum"?rs(a,b):c==="date"&&(b.dateFrom||(b.dateFrom=lbd(new Ad)),b.dateTo||(b.dateTo=lbd(new Ad)))};
o2.prototype.removeExpression=function(a){Fa(this.expressions,a);this.cdr.detectChanges()};var rs=function(a,b){var c={value:""};b.values.push(c);b.label.field==="COMPONENT_ID"?nGb(a,c):b.label.field==="TRACKER_ID"?uGb(a,c):b.label.field==="TEAM_ID"?BGb(a,c):b.label.field==="CUSTOM_FIELD"?XFb(a,c):ss(a,c);a.cdr.detectChanges()},qs=function(a,b,c){Fa(b.values,c);b.values.length||a.removeExpression(b);a.cdr.detectChanges()};
o2.prototype.getDateValue=function(a){var b,c=a.match(Iad);return c?(b||(b=new Date),c[1]&&b.setDate(b.getDate()+ +c[1]),String(b.getUTCMonth()+1)+"/"+String(b.getUTCDate())+"/"+String(b.getUTCFullYear())):a};
var ss=function(a,b){a.chipUnderEdit=b;a.cdr.detectChanges()},nGb=function(a,b){ss(a,b);a.componentUnderEdit=b.value?wd(a.components[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-component-picker input").focus()})},XFb=function(a,b){ss(a,b);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-adv-search-custom-repeated-enum-chip input").focus()})},uGb=function(a,b){ss(a,b);a.trackerUnderEdit=b.value?wd(a.trackers[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-tracker-picker input").focus()})},
BGb=function(a,b){ss(a,b);a.teamUnderEdit=b.value?wd(a.teams[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})},ps=function(a){a.chipUnderEdit=null;a.cdr.detectChanges()},DGb=function(a,b){a.analytics.trackEvent("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;ps(a);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})};
o2.prototype.getTypeLabel=function(a,b){var c,d;return((c=this.typeLabels[a.label.field])==null?void 0:c[b])||((d=this.typeLabels[a.getWidgetType()])==null?void 0:d[b])||this.typeLabels.DEFAULT[b]};o2.prototype.getCustomFieldName=function(a){return(a=a.label.customFieldId)?this.customFields[a].name||String(a):""};o2.prototype.getComponentPath=function(a){if(!a)return"";var b=us(this.trackerHelpers,a.componentPathInfo);return b&&b.componentPathName?b.componentPathName.join(" > "):a.name};
o2.GLOBAL_TYPE_LABELS={AND:"Match all (AND)",OR:"Match any (OR)"};
o2.TYPE_LABELS={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"}};
o2.DEFAULT_FIELDS=["COMPONENT_ID","ASSIGNEE","STATUS","_TEXT_"];o2.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(o2)))(b||o2)}}();
o2.\u0275cmp=F({type:o2,selectors:[["b-advanced-search"]],inputs:{isTrackerSearchEnabled:"isTrackerSearchEnabled"},standalone:!1,features:[Bk([jE]),xj,$w],decls:1,vars:1,consts:[["newExpressionMenu","matMenu"],[1,"bv2-adv-search"],[1,"bv2-adv-search-title-container"],[1,"bv2-adv-search-title"],["appearance","outline","subscriptSizing","dynamic"],[1,"bv2-adv-search-rule"],[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"],["mat-menu-item","","type","button"],["color","primary",1,"bv2-adv-search-join-type",3,"ngModelChange","ngModel"],[3,"value"],[1,"bv2-adv-search-rule-title"],[1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",3,"ngModelChange","selectionChange","ngModel"],[1,"bv2-adv-search-rule-content"],[1,"bv2-adv-search-custom-field-label"],[1,"bv2-adv-search-custom-field-selection"],["type","button","aria-label","Delete search rule",1,"bv2-remove-icon",
"keep-focus-ring","bv2-adv-search-rule-delete-btn",3,"click"],[1,"bv2-adv-search-rule-op","bv2-adv-search-rule-jfk-select",3,"ngModelChange","ngModel"],[1,"bv2-adv-search-chip-container"],[1,"bv2-adv-search-enum-rule"],["type","button","mat-stroked-button","",1,"bv2-adv-search-chip-add-btn"],[1,"bv2-adv-search-chip","bv2-adv-search-custom-repeated-enum-chip"],[1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-btn",3,"title"],[1,"bv2-adv-search-chip-content"],["type","button","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,"click","title"],[1,"bv2-adv-search-chip-content-text"],[1,"bv2-search-custom-repeated-enum-picker",3,"onValueChange","showPlaceholder","customFieldTitle","currentInputValue","allowedValues"],["type","button","mat-stroked-button","",1,"bv2-adv-search-chip-add-btn",3,"click"],[1,"bv2-adv-search-enum-item"],[3,"change","checked","matTooltip"],["aria-label",
"Add one or more user names, separated by comma","placeholder","One or more user names, comma-separated",3,"valueChange","value","candidateDenylist"],["type","text","aria-label","Add one or more values, separated by comma","placeholder","One or more values, comma-separated",3,"ngModelChange","ngModel"],["type","text","placeholder","One or more IDs, comma-separated - e.g., 1,2,3",3,"ngModelChange","ngModel"],["type","text","aria-label","Add the condition",3,"ngModelChange","ngModel"],[1,"bv2-adv-search-chip",
"bv2-adv-search-chip-text"],["type","button","aria-label","Remove the condition",1,"bv2-adv-search-chip-delete-btn","bv2-remove-icon",3,"click"],[1,"bv2-adv-search-chip","bv2-adv-search-component-chip"],["type","button","role","switch","aria-label","Include subcomponents",1,"unstyled-button",3,"click","title"],[3,"svgIcon"],[1,"bv2-search-component-picker",3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],[1,"bv2-adv-search-chip","bv2-adv-search-tracker-chip"],[1,"bv2-search-tracker-picker",
3,"onTrackerSelect","selectedTracker"],[1,"bv2-adv-search-chip","bv2-adv-search-team-chip"],["type","button","role","switch","aria-label","Include subteams",1,"unstyled-button",3,"click","title"],[1,"bv2-search-team-picker",3,"onTeamSelect","teamSelected"],[3,"boundValueChange","boundValue","isRequired"],["type","text","maxlength","3",1,"bv2-duration-field",3,"ngModelChange","ngModel"],[1,"bv2-adv-search-chip","bv2-adv-search-bookmark-item-chip"],["appearance","outline","subscriptSizing","dynamic",
1,"bv2-adv-search-bookmark-item-form-field"],["placeholder","Select hotlist",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModelChange","selectionChange","ngModel"],["placeholder","Select search",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModelChange","selectionChange","ngModel"],[3,"fieldSelected"],["mat-menu-item","","type","button",3,"click"]],template:function(a,b){a&1&&I(0,kHb,14,3,"div",1);a&2&&J(b.getState()==="SUCCESS"?0:-1)},
dependencies:[EA,PZ,WN,Bp,hG,BG,oG,dA,aA,aG,HG,TL,eH,FL,mK,kK,pK,VL,WL,Vz,YF,WF,m_,hU,OO,PX,n2,rLc,uy],styles:['[_nghost-%COMP%]     .mat-mdc-form-field-infix{width:unset;min-width:105px;border:0}[_nghost-%COMP%]     .mat-mdc-select-value-text{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%]     .bv2-custom-field-picker{width:unset}[_nghost-%COMP%]     .bv2-adv-search-title-container .mat-mdc-form-field-infix{min-width:120px}.mat-mdc-form-field[_ngcontent-%COMP%]{--mat-form-field-container-height: 36px;--mat-form-field-filled-label-display: none;--mat-form-field-container-vertical-padding: 6px;--mat-form-field-filled-with-label-container-padding-top: 6px;--mat-form-field-filled-with-label-container-padding-bottom: 6px;margin-right:5px;text-align:center;display:inline-block}.bv2-adv-search-title-container[_ngcontent-%COMP%]{display:flex;align-items:center}.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%}div.bv2-adv-search-enum-item[_ngcontent-%COMP%]{max-width:170px;min-width:170px;padding:0}']});var p2=function(){};p2.\u0275fac=function(a){return new (a||p2)};p2.\u0275mod=Zi({type:p2});p2.\u0275inj=Eg({imports:[jC,XN,SL,JL,FG]});var q2=function(){};q2.\u0275fac=function(a){return new (a||q2)};q2.\u0275mod=Zi({type:q2});q2.\u0275inj=Eg({imports:[$M,jC,QZ,YN,FG,FI,SL,UL,pO,IL,ZL,JL,w_,zU,PQ,RX,p2]});var r2=function(){this.domSafe=x(SF);this.buttonLabel="";this.alertMode=this.menuMode=!1},lHb=function(a){yp(a.domSafe,"https://g3doc.corp.google.com/company/teams/buganizer/release-notes/b3-releasenotes.md")};r2.\u0275fac=function(a){return new (a||r2)};
r2.\u0275cmp=F({type:r2,selectors:[["b-whats-new-button"]],inputs:{buttonLabel:"buttonLabel",menuMode:"menuMode",alertMode:"alertMode"},standalone:!1,decls:2,vars:1,consts:["type;button;mat-menu-item;;aria-label;Open release notes in a new tab".split(";"),["type","button","mat-icon-button","","aria-label","Open release notes in a new tab",3,"matTooltip"],["type","button","mat-menu-item","","aria-label","Open release notes in a new tab",3,"click"],["type","button","mat-icon-button","","aria-label",
"Open release notes in a new tab",3,"click","matTooltip"],[3,"svgIcon"]],template:function(a,b){a&1&&I(0,mHb,2,1,"button",0)(1,nHb,3,3,"button",1);a&2&&J(b.menuMode?0:1)},dependencies:[EA,dA,bA,kK,YF,WF],styles:["[_nghost-%COMP%] { display: flex; }"]});var s2=function(){Z.apply(this,arguments);this.session=x(Ks);this.appsEvents=x(EB);this.prefsManager=x(NF);this.enableWhatsNewDialog=Cx(this.session,"enableWhatsNewDialog");this.ThemePreferencesDensity=Mhc;this.density="COMFORTABLE"};Y(s2,Z);s2.\u0275dir=Z.\u0275dir;g=s2.prototype;g.ngOnInit=function(){var a=this;this.prefsManager.preferences$.pipe(tj(this.destroyed$)).subscribe(function(b){if(b==null?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})};s2.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(s2)))(b||s2)}}();
s2.\u0275cmp=F({type:s2,selectors:[["b-app-settings-menu"]],standalone:!1,features:[xj],decls:27,vars:12,consts:[["settingsMenu","matMenu"],["type","button","mat-icon-button","","matTooltip","Settings","aria-label","Settings",3,"disabled","matMenuTriggerFor"],["svgIcon","settings-outline",1,"icon-m"],[1,"b-menu-header"],["type","button","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"],
["type","button","mat-menu-item","","role","menuitemcheckbox","aria-label","set display density to cozy",3,"click"],["type","button","mat-menu-item","","role","menuitemcheckbox","aria-label","set display density to compact",3,"click"],["type","button","mat-menu-item","",3,"click"],["type","button","mat-menu-item","",3,"click",4,"internalOnly"],["buttonLabel","Release Notes",3,"menuMode"]],template:function(a,b){if(a&1){var c=y();L(0,"button",1);N(1,"mat-icon",2);M();L(2,"mat-menu",null,0)(4,"div",
3);U(5,"Display Density");M();L(6,"button",4);Q("click",function(){z(c);return B(b.setDensity(b.ThemePreferencesDensity.COMFORTABLE))});L(7,"span",5);N(8,"mat-icon",6);M();U(9," Comfortable ");M();L(10,"button",7);Q("click",function(){z(c);return B(b.setDensity(b.ThemePreferencesDensity.COZY))});L(11,"span",5);N(12,"mat-icon",6);M();U(13," Cozy ");M();L(14,"button",8);Q("click",function(){z(c);return B(b.setDensity(b.ThemePreferencesDensity.COMPACT))});L(15,"span",5);N(16,"mat-icon",6);M();U(17," Compact ");
M();N(18,"mat-divider");L(19,"button",9);Q("click",function(d){z(c);return B(b.browseComponents(d))});U(20,"Browse components");M();L(21,"button",9);Q("click",function(d){z(c);return B(b.manageHotlists(d))});U(22,"Manage hotlists");M();G(23,oHb,2,0,"button",10);L(24,"button",9);Q("click",function(d){z(c);b.appsEvents.topBarEvents.openSettings.next({newTab:d.ctrlKey||d.metaKey});return B()});U(25,"Settings");M();I(26,pHb,2,1);M()}a&2&&(a=T(3),K("disabled",b.session.isAnonymous())("matMenuTriggerFor",
a),E(6),rk("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COMFORTABLE),Hj("aria-checked",b.density===b.ThemePreferencesDensity.COMFORTABLE),E(4),rk("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COZY),Hj("aria-checked",b.density===b.ThemePreferencesDensity.COZY),E(4),rk("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COMPACT),Hj("aria-checked",b.density===b.ThemePreferencesDensity.COMPACT),E(12),J(b.enableWhatsNewDialog?26:-1))},dependencies:[EA,FL,mK,kK,pK,dA,
bA,eN,YF,WF,r2,pS],encapsulation:2,changeDetection:0});var t2=function(){this.theme=x(vP);this.isDark=!1;this.iconName="dark-mode-filled"};t2.prototype.ngOnInit=function(){this.theme.loadLocalDarkmode();Lbd(this)};var Lbd=function(a){a.isDark=a.theme.clientDarkmodeSubject.getValue();a.iconName=a.isDark?"brightness-high":"dark-mode-filled"};t2.\u0275fac=function(a){return new (a||t2)};
t2.\u0275cmp=F({type:t2,selectors:[["theme-change-btn"]],standalone:!1,decls:2,vars:1,consts:[["type","button","mat-icon-button","","matTooltip","Change theme","aria-label","Change the application's visual theme",3,"click"],[3,"svgIcon"]],template:function(a,b){a&1&&(L(0,"button",0),Q("click",function(){var c=b.theme;c.setLocalDarkmode(!c.clientDarkmodeSubject.getValue());c.clientStreamzService&&HBc(c.clientStreamzService,"toggleDarkmode",!c.clientDarkmodeSubject.getValue());MPc(c,!c.clientDarkmodeSubject.getValue());
Lbd(b)}),N(1,"mat-icon",1),M());a&2&&(E(),K("svgIcon",b.iconName))},dependencies:[EA,dA,bA,YF,WF],encapsulation:2});var u2=function(){this.session=x(Ks);this.userFeedback=x(iS);this.domSafe=x(SF);this.docLinks=x(XH);this.enableWhatsNewDialog=Cx(this.session,"enableWhatsNewDialog");this.majorReleaseNotesUpdated=Cx(this.session,"majorReleaseNotesUpdated")};u2.prototype.openFeedbackDialog=function(){this.userFeedback.startFeedback()};u2.\u0275fac=function(a){return new (a||u2)};
u2.\u0275cmp=F({type:u2,selectors:[["b-app-actions"]],standalone:!1,decls:6,vars:1,consts:[["id","whatsNewButton",3,"alertMode"],["type","button","mat-icon-button","","class","feedback-button","matTooltip","Send feedback","aria-label","send feedback",3,"click",4,"internalOnly"],["type","button","mat-icon-button","","matTooltip","Help","aria-label","help",3,"click"],["svgIcon","help-outline"],["type","button","mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",1,"feedback-button",
3,"click"],["svgIcon","feedback-outline"]],template:function(a,b){a&1&&(N(0,"theme-change-btn"),I(1,qHb,1,1,"b-whats-new-button",0),G(2,rHb,2,0,"button",1),L(3,"button",2),Q("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)}),N(4,"mat-icon",3),M(),N(5,"b-app-settings-menu"));a&2&&(E(),J(b.enableWhatsNewDialog?1:-1))},dependencies:[EA,dA,bA,YF,WF,
r2,pS,t2,s2],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)}/*# sourceMappingURL=app_actions.css.map */"],changeDetection:0});var tHb=function(a){return[a]},uHb=function(){return[]},v2=function(){this.activeSession=x(Ks);this.clickMenu=new iE;this.showMenu=!1;this.clickLogo=new iE;this.chips=[]};v2.prototype.ngOnInit=function(){this.showMenu=!this.activeSession.isAnonymous()&&this.clickMenu.observed};v2.\u0275fac=function(a){return new (a||v2)};
v2.\u0275cmp=F({type:v2,selectors:[["app-logo"]],inputs:{imgSrc:"imgSrc",imgSrcDark:"imgSrcDark",href:"href",name:"name",chips:"chips"},outputs:{clickMenu:"clickMenu",clickLogo:"clickLogo"},standalone:!1,ngContentSelectors:["*"],decls:9,vars:5,consts:[["type","button","mat-icon-button","","aria-label","Expand/Collapse Navigation",1,"menu"],[3,"click"],["alt","",1,"logo","light",3,"src"],["alt","",1,"logo","dark",3,"src"],[1,"b-chip",3,"class"],["type","button","mat-icon-button","","aria-label","Expand/Collapse Navigation",
1,"menu",3,"click"],["svgIcon","menu-18px"],[1,"b-chip"]],template:function(a,b){a&1&&(Zj(),I(0,sHb,2,0,"button",0),L(1,"a",1),Q("click",function(){return b.clickLogo.emit()}),N(2,"img",2)(3,"img",3),L(4,"h1"),U(5),M()(),ak(6),Mj(7,vHb,2,6,"output",4,Lj));a&2&&(J(b.showMenu?0:-1),E(),Hj("href",b.href?b.href:void 0,Ni),E(),K("src",b.imgSrc,Ni),E(),K("src",b.imgSrcDark||b.imgSrc,Ni),E(2),tk(b.name),E(2),Nj(b.chips))},dependencies:[EA,dA,bA],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}/*# sourceMappingURL=app_logo.css.map */'],
changeDetection:0});var w2=function(){this.events=x(EB);this.imageUrls=x(FO);this.environmentType="QA";this.frontendAccessMode="INTERNAL";this.href="/";this.chips=[];this.name="Buganizer"};w2.prototype.ngOnInit=function(){var a=this.environmentType==="QA"?this.frontendAccessMode==="INTERNAL"||this.frontendAccessMode==="PARTNER"?"QA":"sandbox":this.environmentType==="NIGHTLY"?"nightly":this.environmentType==="DEV"?"dev":"";a&&this.chips.push({name:a,color:"purple"})};
w2.prototype.ngOnChanges=function(a){if(a.tracker||a.frontendAccessMode)this.name=this.getAppName()};w2.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:qb(this.frontendAccessMode,"unknown frontend access mode.")}};
pg.Object.defineProperties(w2.prototype,{useNewLogo:{configurable:!0,enumerable:!0,get:function(){return this.frontendAccessMode==="INTERNAL"}},imgSrc:{configurable:!0,enumerable:!0,get:function(){var a=this.useNewLogo?this.imageUrls.LOGO_LIGHT:"https://www.gstatic.com/buganizer/img/v0/logo.svg",b,c;return((b=this.tracker)==null?void 0:(c=b.branding)==null?void 0:c.logoUrl)||a}},imgSrcDark:{configurable:!0,enumerable:!0,get:function(){var a,b;return((a=this.tracker)==null?void 0:(b=a.branding)==null?
void 0:b.logoUrl)||"https://www.gstatic.com/buganizer/img/v3/logo_dark.svg"}}});w2.\u0275fac=function(a){return new (a||w2)};
w2.\u0275cmp=F({type:w2,selectors:[["b-app-logo"]],inputs:{environmentType:"environmentType",frontendAccessMode:"frontendAccessMode",tracker:"tracker",href:"href"},standalone:!1,features:[$w],decls:1,vars:5,consts:[[3,"clickMenu","name","href","chips","imgSrc","imgSrcDark"]],template:function(a,b){a&1&&(L(0,"app-logo",0),Q("clickMenu",function(){return b.events.onClickAppMenuIcon.next()}),M());a&2&&K("name",b.name)("href",b.href)("chips",b.chips)("imgSrc",b.imgSrc)("imgSrcDark",b.imgSrcDark)},dependencies:[v2],
encapsulation:2,changeDetection:0});var x2=function(){this.isActive=!1;this.optionClicked=new iE};x2.prototype.ngOnInit=function(){};x2.prototype.onClick=function(){this.optionClicked.emit(this.index)};x2.\u0275fac=function(a){return new (a||x2)};
x2.\u0275cmp=F({type:x2,selectors:[["b-app-search-auto-complete-option"]],hostVars:2,hostBindings:function(a,b){a&1&&Q("click",function(){return b.onClick()});a&2&&rk("active",b.isActive)},inputs:{isActive:"isActive",index:"index"},outputs:{optionClicked:"optionClicked"},standalone:!1,ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"content","gmat-subtitle-2"]],template:function(a){a&1&&(Zj(),L(0,"div",0),ak(1),M())},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%}/*# sourceMappingURL=app_search_auto_complete_option.css.map */"],
changeDetection:0});var y2=function(){this.ref=x(jE,{self:!0});this.hostElement=x(Ph);this.trackerHelpers=x(sI);this.items=[];this.header=null;this.itemSelected=new iE;this.activeItemChanged=new iE;this.SPECIAL_ITEM_TYPES="issue hotlist savedsearch atom component customField team tracker".split(" ")};y2.prototype.ngOnChanges=function(a){a.items&&(this.items.length>0?(this.activeItemIndex=0,this.activeItemChanged.emit(this.items[0])):this.clearActiveItem(),this.ref.markForCheck())};y2.prototype.ngAfterViewInit=function(){};
var WHb=function(a){var b=R(3);gIb(a);b.itemSelected.emit(a)};y2.prototype.setNextItemActive=function(){this.items.length>0&&this.activeItemIndex!=null&&(this.activeItemIndex=(this.activeItemIndex+1)%this.items.length,this.activeItemChanged.emit(this.items[this.activeItemIndex]),this.ref.markForCheck(),Mbd(this))};
y2.prototype.setPreviousItemActive=function(){this.items.length>0&&this.activeItemIndex!=null&&(this.activeItemIndex=(this.activeItemIndex-1+this.items.length)%this.items.length,this.activeItemChanged.emit(this.items[this.activeItemIndex]),this.ref.markForCheck(),Mbd(this))};var Nbd=function(a){a.activeItemIndex!=null&&a.itemSelected.emit(a.items[a.activeItemIndex])};y2.prototype.clearActiveItem=function(){this.activeItemIndex=void 0;this.activeItemChanged.emit(void 0)};
var Obd=function(a){if(a.activeItemIndex!=null&&a.itemElements){var b,c;return(c=(b=a.itemElements.get(a.activeItemIndex))==null?void 0:b.nativeElement.id)!=null?c:void 0}},Mbd=function(a){var b=a.itemElements.find(function(c,d){return d===a.activeItemIndex});b&&e7b(b.nativeElement,a.hostElement.nativeElement)},gIb=function(a){Yo("search","autocomplete-select",a.completionCfg.type||"unknown_type",isNaN(Number(a.id))?1:Number(a.id))};y2.\u0275fac=function(a){return new (a||y2)};
y2.\u0275cmp=F({type:y2,selectors:[["b-app-search-auto-complete-list"]],viewQuery:function(a,b){a&1&&ek(x2,5,Ph);if(a&2){var c;ik(c=jk())&&(b.itemElements=c)}},inputs:{items:"items",header:"header"},outputs:{itemSelected:"itemSelected",activeItemChanged:"activeItemChanged"},standalone:!1,features:[Bk([jE]),$w],decls:4,vars:1,consts:[[1,"header","gmat-caption"],"role;listbox;aria-label;Search autocomplete list;id;b-search-box-autocomplete".split(";"),["role","option",3,"index","isActive"],[1,"margin-s-right"],
[3,"accessLevel"],[3,"trackerId"],["role","option",3,"optionClicked","index","isActive"],[1,"monospaced","item-description"],[1,"item-description"],["role","button",3,"click","title"],[1,"item-description","item-de-emphasized"]],template:function(a,b){a&1&&(I(0,QHb,7,6,"div",0),L(1,"div",1),Mj(2,hIb,10,13,"b-app-search-auto-complete-option",2,Lj),M());a&2&&(J(b.header&&b.header.type?0:-1),E(2),Nj(b.items))},dependencies:[zO,HO,x2,qy],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}.item-de-emphasized[_ngcontent-%COMP%]{font-weight:lighter}span[role=button][_ngcontent-%COMP%]{cursor:pointer}span[role=button][_ngcontent-%COMP%]:hover{text-decoration:underline}/*# sourceMappingURL=app_search_auto_complete_list.css.map */"],
changeDetection:0});var Pbd=["box"],Qbd=["initialFocus"],Rbd=["finalFocus"],z2=function(){this.documentationLinks=x(XH);this.appSearchState=x(hK);this.activeSession=x(Ks);this.placeholder="";this.isSearchDisabled=!1;this.autoCompleteItems=[];this.autoCompleteHeader=null;this.onAdvancedSearchOpen=new iE;this.onAdvancedSearchClose=new iE;this.onAdvancedSearchSubmit=new iE;this.onSaveSearch=new iE;this.dropdownStatus="closed";this.searchName="";this.searchHelpLink=this.documentationLinks.baseDocumentationUrl+"/concepts/search-query-language";
this.destroyed$=new oj;this.currentQuery$=this.appSearchState.queryState$.pipe(C(function(a){return a.query}));this.autoCompleteItemSelected$=new oj;this.isAnonymous=this.activeSession.isAnonymous()};
z2.prototype.ngOnInit=function(){var a=this;this.autoCompleteItemSelected$.pipe(vj(this.currentQuery$),tj(this.destroyed$)).subscribe(function(b){var c=l(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:b.cursorIdx!=null?b.cursorIdx:b.startIdx==null?b.completionValue.length:b.startIdx+b.completionValue.length,setViaInteraction:!1});a.inputBox.nativeElement.focus()})};
z2.prototype.ngAfterViewInit=function(){var a=this;this.appSearchState.queryState$.pipe(Di(function(b){return!b.setViaInteraction}),tj(this.destroyed$)).subscribe(function(b){var c=b.query;b=b.cursorPosition;a.inputBox.nativeElement.value=c;b!=null&&(c=a.inputBox.nativeElement,iIb(c)&&(c.selectionStart=b,c.selectionEnd=b))})};z2.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var Sbd=function(a){a.appSearchState.searchTriggered$.next("keyboard")},Tbd=function(a,b){a.dropdownStatus="auto_complete";a.acList.clearActiveItem();var c=jIb(a.inputBox.nativeElement,!0)[0];c=c===jIb(a.inputBox.nativeElement,!1)[1]?c:void 0;a.appSearchState.queryState$.next({query:b,cursorPosition:c,setViaInteraction:!0})};z2.prototype.onInputFocus=function(){this.dropdownStatus="auto_complete"};
z2.prototype.handleKeydown=function(a){switch(a.key){case "Escape":if(!A2(this))return;Ubd(this);break;case "ArrowUp":if(!A2(this))return;this.acList.setPreviousItemActive();break;case "ArrowDown":if(!A2(this))return;this.acList.setNextItemActive();break;case "Tab":case "ArrowRight":if(!A2(this)){Tbd(this,this.inputBox.nativeElement.value);return}Nbd(this.acList);break;case "ArrowLeft":Tbd(this,this.inputBox.nativeElement.value);return;case "Enter":A2(this)?this.acList.activeItemIndex!=null?Nbd(this.acList):
Sbd(this):Sbd(this);break;default:return}a.preventDefault();a.stopPropagation()};z2.prototype.submitAdvancedSearch=function(){this.onAdvancedSearchSubmit.emit();Vbd(this)};
var Ubd=function(a){a.dropdownStatus==="auto_complete"&&(a.dropdownStatus="closed")},Vbd=function(a){a.dropdownStatus==="advanced_search"&&(a.dropdownStatus="closed",a.onAdvancedSearchClose.emit())},A2=function(a){return a.dropdownStatus==="auto_complete"&&a.autoCompleteItems.length>0},Wbd=function(a){return a.dropdownStatus==="auto_complete"&&a.autoCompleteHeader!=null},Xbd=function(a){return a.dropdownStatus==="advanced_search"};
z2.prototype.saveSearch=function(){this.searchName&&(this.onSaveSearch.emit(this.searchName),this.searchName="",Vbd(this))};var Ybd=function(a,b){b.shiftKey&&b.key==="Tab"&&a.advancedSearchFinalFocus&&setTimeout(function(){return a.advancedSearchFinalFocus.nativeElement.focus()})},kIb=function(a){a.advancedSearchInitialFocus&&setTimeout(function(){return a.advancedSearchInitialFocus.nativeElement.focus()})};z2.\u0275fac=function(a){return new (a||z2)};
z2.\u0275cmp=F({type:z2,selectors:[["b-app-search-box"]],viewQuery:function(a,b){a&1&&(ek(y2,7),ek(Pbd,5),ek(Qbd,7,Ph),ek(Rbd,7));if(a&2){var c;ik(c=jk())&&(b.acList=c.first);ik(c=jk())&&(b.inputBox=c.first);ik(c=jk())&&(b.advancedSearchInitialFocus=c.first);ik(c=jk())&&(b.advancedSearchFinalFocus=c.first)}},inputs:{placeholder:"placeholder",isSearchDisabled:"isSearchDisabled",autoCompleteItems:"autoCompleteItems",autoCompleteHeader:"autoCompleteHeader"},outputs:{onAdvancedSearchOpen:"onAdvancedSearchOpen",
onAdvancedSearchClose:"onAdvancedSearchClose",onAdvancedSearchSubmit:"onAdvancedSearchSubmit",onSaveSearch:"onSaveSearch"},standalone:!1,ngContentSelectors:["*"],decls:24,vars:19,consts:[["box",""],["initialFocus",""],["finalFocus",""],[1,"search-form-container","keep-focus-ring",3,"clickOutside"],[1,"search-box-container"],["type","button","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,"keydown","input","click","focus","placeholder"],["type","button","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,"itemSelected","items","header"],[1,"advanced-search"],
["align","right",1,"advanced-search-header"],["type","button","mat-icon-button","","aria-label","Close advanced search","matTooltip","Close advanced search",3,"keydown","click","disabled"],["svgIcon","close",1,"icon-s"],["cdkScrollable","",1,"advanced-search-content"],[1,"advanced-search-footer"],["type","button","mat-flat-button","",1,"medium",3,"click","disabled"],["target","_blank",1,"keep-underline","search-help-link"],["svgIcon","pop-out",1,"icon-xs"],[1,"save-search-container","gap-s"],["type",
"text","aria-label","Enter the name for saving this search.","placeholder","Save search as",3,"ngModelChange","keydown.Tab","keydown.enter","ngModel"]],template:function(a,b){if(a&1){var c=y();Zj();L(0,"div",3);Q("clickOutside",function(){z(c);Ubd(b);return B()});L(1,"div",4)(2,"button",5);Q("click",function(){z(c);return B(Sbd(b))});N(3,"mat-icon",6);M();L(4,"textarea",7,0);Q("keydown",function(d){z(c);return B(b.handleKeydown(d))})("input",function(){z(c);var d=T(5);return B(Tbd(b,d.value))})("click",
function(){z(c);var d=T(5);return B(Tbd(b,d.value))})("focus",function(){z(c);return B(b.onInputFocus())});M();L(6,"button",8);Q("click",function(){z(c);b.dropdownStatus="advanced_search";b.onAdvancedSearchOpen.emit();return B()});N(7,"mat-icon",9);M()();L(8,"aside",10)(9,"b-app-search-auto-complete-list",11);Q("itemSelected",function(d){z(c);return B(b.autoCompleteItemSelected$.next(d))});M();L(10,"div",12)(11,"div",13)(12,"button",14,1);Q("keydown",function(d){z(c);return B(Ybd(b,d))})("click",
function(){z(c);return B(Vbd(b))});N(14,"mat-icon",15);M()();L(15,"div",16);ak(16);M();L(17,"div",17)(18,"button",18);Q("click",function(){z(c);return B(b.submitAdvancedSearch())});U(19," Search ");M();L(20,"a",19);U(21,"Search help ");N(22,"mat-icon",20);M();I(23,lIb,5,2,"div",21);M()()()()}a&2&&(rk("dropdown-opened",A2(b)||Wbd(b)||Xbd(b)),E(),rk("hidden",Xbd(b)),E(3),K("placeholder",b.placeholder),Hj("aria-activedescendant",Obd(b.acList))("aria-expanded",A2(b)||Wbd(b)),E(4),rk("advanced-search-open",
Xbd(b)),E(),rk("hidden",!(A2(b)||Wbd(b))),K("items",b.autoCompleteItems)("header",b.autoCompleteHeader),E(),rk("hidden",!Xbd(b)),E(2),K("disabled",b.isSearchDisabled),E(6),K("disabled",b.isSearchDisabled),E(2),Hj("href",b.searchHelpLink,Ni),E(3),J(b.isAnonymous?-1:23))},dependencies:[EA,mz,dA,aA,bA,YF,WF,Bp,hG,oG,lU,kH,y2],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;min-width:320px;overflow:hidden;top:0;transition:all .1s ease-in-out;transition-property:box-shadow,height,max-height,overflow;width:100%}@media(forced-colors: active){.search-form-container[_ngcontent-%COMP%]{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color}}.search-box-container[_ngcontent-%COMP%]{display:flex;flex-grow:1;width:calc(100% - 16px);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-mdc-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-mdc-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;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;border:none;background-color:#fff;background-color:var(--surface-default);height:100%;width:100%;margin-bottom:10px}[_nghost-%COMP%]     .bv2-adv-search-chip button{align-self:center}[_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}/*# sourceMappingURL=app_search_box.css.map */'],
changeDetection:0});var Zbd=function(){this.activeSession=x(Ks);this.logoEnvironmentType="QA";this.logoFrontendAccessMode="INTERNAL";this.isSearchDisabled=!1;this.searchBoxPlaceholder="";this.searchBoxAutoCompleteItems=[];this.searchBoxAutoCompleteHeader=null;this.searchBoxOnAdvancedSearchOpen=new iE;this.searchBoxOnAdvancedSearchClose=new iE;this.searchBoxOnAdvancedSearchSubmit=new iE;this.searchBoxOnSaveSearch=new iE;this.currentTracker=this.activeSession.getTracker()},$bd=function(){setTimeout(function(){var a;(a=
document.getElementById("skiplink-navigation-target").querySelectorAll('div[role="tab"],a[href],button:not([tabindex="-1"],input')[0])==null||a.focus()})};Zbd.\u0275fac=function(a){return new (a||Zbd)};
Zbd.\u0275cmp=F({type:Zbd,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"},standalone:!1,ngContentSelectors:["*"],decls:7,vars:7,consts:[[3,"environmentType","frontendAccessMode","tracker"],[1,"skip-navigation-wrapper"],["type","button","mat-button","","color","primary","aria-label","Skip to main content",1,"skip-to-main-content-link",3,"click","keydown.enter"],[3,"onAdvancedSearchOpen","onAdvancedSearchClose","onAdvancedSearchSubmit","onSaveSearch","placeholder","autoCompleteItems","autoCompleteHeader","isSearchDisabled"]],
template:function(a,b){a&1&&(Zj(),N(0,"b-app-logo",0),L(1,"div",1)(2,"button",2),Q("click",function(){return $bd()})("keydown.enter",function(){return $bd()}),U(3," Skip Navigation "),M()(),L(4,"b-app-search-box",3),Q("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)}),
ak(5),M(),N(6,"b-app-actions"));a&2&&(K("environmentType",b.logoEnvironmentType)("frontendAccessMode",b.logoFrontendAccessMode)("tracker",b.currentTracker),E(4),K("placeholder",b.searchBoxPlaceholder)("autoCompleteItems",b.searchBoxAutoCompleteItems)("autoCompleteHeader",b.searchBoxAutoCompleteHeader)("isSearchDisabled",b.isSearchDisabled))},dependencies:[dA,aA,w2,u2,z2],styles:["[_nghost-%COMP%]{display:flex;align-items:center;gap:32px}@media(max-width: 1099px){[_nghost-%COMP%]{gap:8px}}b-app-search-box[_ngcontent-%COMP%]{display:flex;flex-grow:1;justify-content:center}div.skip-navigation-wrapper[_ngcontent-%COMP%]   button.skip-to-main-content-link[_ngcontent-%COMP%]{position:absolute;background-color:#e8f0fe;background-color:var(--selected-bg-muted);clip:rect(1px, 1px, 1px, 1px);overflow:hidden;transform:translateX(-50%)}div.skip-navigation-wrapper[_ngcontent-%COMP%]   button.skip-to-main-content-link[_ngcontent-%COMP%]:active, div.skip-navigation-wrapper[_ngcontent-%COMP%]   button.skip-to-main-content-link[_ngcontent-%COMP%]:focus, div.skip-navigation-wrapper[_ngcontent-%COMP%]   button.skip-to-main-content-link[_ngcontent-%COMP%]:focus-visible, div.skip-navigation-wrapper[_ngcontent-%COMP%]   button.skip-to-main-content-link[_ngcontent-%COMP%]:focus-within{transform:translate(-50%, -50%);position:absolute;clip:auto;overflow:visible;z-index:1}/*# sourceMappingURL=app_top_bar.css.map */"],
changeDetection:0});var B2=function(){};B2.\u0275fac=function(a){return new (a||B2)};B2.\u0275mod=Zi({type:B2});B2.\u0275inj=Eg({imports:[jC,HI,FI,nL]});var C2=function(){};C2.\u0275fac=function(a){return new (a||C2)};C2.\u0275mod=Zi({type:C2});C2.\u0275inj=Eg({imports:[jC,FI,IL,JL]});var D2=function(){};D2.\u0275fac=function(a){return new (a||D2)};D2.\u0275mod=Zi({type:D2});D2.\u0275inj=Eg({imports:[jC,FI,JL]});var E2=function(){};E2.\u0275fac=function(a){return new (a||E2)};E2.\u0275mod=Zi({type:E2});E2.\u0275inj=Eg({imports:[jC]});var F2=function(){};F2.\u0275fac=function(a){return new (a||F2)};F2.\u0275mod=Zi({type:F2});F2.\u0275inj=Eg({providers:[vP]});var G2=function(){};G2.\u0275fac=function(a){return new (a||G2)};G2.\u0275mod=Zi({type:G2});G2.\u0275inj=Eg({imports:[jC,FI,JL,F2]});var H2=function(){};H2.\u0275fac=function(a){return new (a||H2)};H2.\u0275mod=Zi({type:H2});H2.\u0275inj=Eg({imports:[jC,IL,FI,oN,JL,qz,FG,mU,C2,eZ,D2,lQ,lH,E2,G2,B2,KQ]});var I2=function(){};I2.\u0275fac=function(a){return new (a||I2)};I2.\u0275mod=Zi({type:I2});I2.\u0275inj=Eg({imports:[jC,FI,HI]});var J2=function(){};J2.\u0275fac=function(a){return new (a||J2)};J2.\u0275mod=Zi({type:J2});J2.\u0275inj=Eg({imports:[jC,FG,FI,pO,UL,HI,PQ]});var K2=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 iE;this.selectedChange=new iE;this.cardTitleChange=new iE;this.onSaveButtonClicked=new iE;this.onCancelButtonClicked=
new iE;this.isInheritedChange=new iE;this.isExpanded=!1};K2.prototype.expand=function(){this.isExpanded=!0};K2.prototype.collapse=function(){this.isExpanded=!1};K2.prototype.onSave=function(){this.collapse();this.onSaveButtonClicked.emit()};K2.prototype.onCancel=function(){this.collapse();this.onCancelButtonClicked.emit()};K2.\u0275fac=function(a){return new (a||K2)};
K2.\u0275cmp=F({type:K2,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"},standalone:!1,ngContentSelectors:["*"],decls:10,vars:13,consts:[[1,"carded"],[1,"flex-kids-x","flex-cross-axis-centered","card-header"],[1,"collapsible-card-checkbox",3,"change","disabled","checked","aria-label"],
[1,"card-title","heading-s",3,"muted"],["type","button","mat-icon-button","",3,"click"],["svgIcon","chevron-left"],["svgIcon","arrow-down"],[1,"expanded-card-container"],[1,"expanded-card-actions"],[1,"card-title","heading-s"],["appearance","fill","subscriptSizing","dynamic",1,"card-title"],["matInput","","type","text","required","","aria-required","true","maxlength","40","autocomplete","off",1,"heading-s",3,"ngModelChange","placeholder","disabled","ngModel"],["appearance","outline",1,"type-dropdown"],
[3,"valueChange","selectionChange","disabled","value"],[1,"ee-config-option",3,"value"],[1,"icon-s",3,"svgIcon"],["type","button","mat-raised-button","","color","primary",3,"click","disabled"],["type","button","mat-button","","color","primary",1,"cancel-button",3,"click","disabled"],["type","button","mat-icon-button","","aria-label","Delete",1,"delete-button",3,"disabled"],[3,"vertical"],["labelPosition","before",3,"disabled"],["labelPosition","before",1,"inherited-toggle",3,"checked","disabled",
"matTooltip","matTooltipDisabled"],["svgIcon","delete",1,"icon-m"],["labelPosition","before",1,"inherited-toggle",3,"change","checked","disabled","matTooltip","matTooltipDisabled"]],template:function(a,b){a&1&&(Zj(),L(0,"div",0)(1,"div",1)(2,"mat-checkbox",2),Q("change",function(c){b.selected=c.checked;b.expand();b.selectedChange.emit(b.selected)}),M(),I(3,mIb,2,3,"span",3)(4,rIb,3,7),L(5,"button",4),Q("click",function(){b.isExpanded?b.collapse():b.expand()}),I(6,sIb,1,0,"mat-icon",5)(7,tIb,1,0,"mat-icon",
6),M()(),I(8,uIb,2,0,"div",7),I(9,zIb,9,6,"div",8),M());a&2&&(Hj("aria-expanded",b.isExpanded),E(2),rk("expanded-checkbox",b.isExpanded),K("disabled",b.disabled)("checked",b.selected),Gj("aria-label",b.cardTitle),E(),J(b.isExpanded?4:3),E(2),sk(b.isExpanded?"collapse-toggle":"expand-toggle"),Hj("aria-label",b.isExpanded?"Collapse editor":"Expand editor"),E(),J(b.isExpanded?6:7),E(2),J(b.isExpanded?8:-1),E(),J(b.isExpanded?9:-1))},dependencies:[EA,Bp,hG,AG,BG,oG,aG,HG,dA,aA,bA,FM,sK,VL,eH,YG,WL,XL,
Vz,TL,eN,oO,mH,YF,WF],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-mdc-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}mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}']});var L2=function(){};L2.\u0275fac=function(a){return new (a||L2)};L2.\u0275mod=Zi({type:L2});L2.\u0275inj=Eg({imports:[jC,FG,SL,FI,GM,ZL,oN,pO,JL]});var acd=function(){this.dialogRef=x(YH);this.data=x(dI);this.selected=this.data.sharedFields[0];this.options=this.data.sharedFields};acd.\u0275fac=function(a){return new (a||acd)};
acd.\u0275cmp=F({type:acd,selectors:[["activate-shared-field-dialog"]],standalone:!1,decls:11,vars:2,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium",3,"click"],["type","button","mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium",3,"click"],[3,"valueChange","value"],[3,"value"],["href","http://go/buganizer/concepts/custom-fields#shared-custom-field","target","_blank"]],template:function(a,b){a&1&&(L(0,
"h1",0),U(1,"Activate a shared field"),M(),L(2,"div",1),I(3,BIb,4,1,"mat-form-field")(4,CIb,1,0),I(5,DIb,4,0,"div"),M(),L(6,"footer",2)(7,"button",3),Q("click",function(){return b.dialogRef.close()}),U(8,"Cancel"),M(),L(9,"button",4),Q("click",function(){return b.dialogRef.close(b.selected)}),U(10,"Confirm"),M()());a&2&&(E(3),J(b.options.length>0?3:4),E(2),J(b.options.length>0?5:-1))},dependencies:[dA,aA,VL,eH,WL,Vz,TL,hI,jI,iI],encapsulation:2});var M2=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,M2.messageId)};Y(M2,n);M2.prototype.getIt=function(){return r(this,Hn,4,Kc)};M2.prototype.setIt=function(a){return t(this,Hn,4,a,Kc)};M2.messageId="b.FieldConfig";var N2=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(N2,n);N2.prototype.getComponentId=function(){return Re(this,1)};N2.prototype.getComponentId_asString=function(){return Xe(this,1)};N2.prototype.setComponentId=function(a){return ll(this,1,a)};N2.prototype.setFieldId=function(a){return Nu(this,2,tl,a)};var bcd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(bcd,n);g=bcd.prototype;g.getComponentId=function(){return Re(this,1)};g.getComponentId_asString=function(){return Xe(this,1)};g.setComponentId=function(a){return ll(this,1,a)};g.getFieldConfigsV2List=function(){return ie(this,Dn,2,Rd())};g.setFieldConfigsV2List=function(a){return Ol(this,2,a)};var O2=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,O2.messageId)};Y(O2,n);O2.prototype.getIt=function(){return r(this,N2,2,Kc)};O2.prototype.setIt=function(a){return t(this,N2,2,a,Kc)};O2.messageId="b.ReorderFieldsRequest";var P2=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,P2.messageId)};Y(P2,n);P2.prototype.getIt=function(){return r(this,bcd,1,Kc)};P2.prototype.setIt=function(a){return t(this,bcd,1,a,Kc)};P2.messageId="b.UpdateFieldConfigsV2Request";var ccd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ccd,n);ccd.prototype.getFieldConfigsV2List=function(){return ie(this,Dn,1,Rd())};ccd.prototype.setFieldConfigsV2List=function(a){return Ol(this,1,a)};var Q2=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Q2.messageId)};Y(Q2,n);Q2.prototype.getIt=function(){return r(this,ccd,1,Kc)};Q2.prototype.setIt=function(a){return t(this,ccd,1,a,Kc)};Q2.messageId="b.UpdateFieldConfigsV2Response";var R2=function(){this.executor=x(ey)};R2.prototype.updateCustomFieldState=function(a,b,c){var d={customFieldId:b};var e=new M2;var f=e.setIt;d=(new Hn).setFieldId(dua(d));c=Xd(d,4,Zhc[c]);c=Dl(c,5,!1);e=f.call(e,c);return this.executor.post({url:"action/components/"+a+"/field_configs/custom_field_id/"+b,body:e,responseConstructor:M2}).pipe(C(EIb))};
R2.prototype.reorder=function(a,b){var c=new O2,d=c.setIt;var e=(new N2).setComponentId(a);b=b.map(dua);e=Ol(e,2,b);c=d.call(c,e);return this.executor.post({url:"action/components/"+a+"/reorder",body:c,responseConstructor:null})};var dcd=function(a,b,c){c=(new P2).setIt((new bcd).setComponentId(b).setFieldConfigsV2List(c.map(mza)));return a.executor.put({url:"action/components/"+b+"/update_field_configs_v2",body:c,responseConstructor:Q2}).pipe(C(function(d){return d.getIt().getFieldConfigsV2List().map(hza)}))};
R2.\u0275fac=function(a){return new (a||R2)};R2.\u0275prov=Dg({token:R2,factory:R2.\u0275fac,providedIn:"root"});var ecd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ecd,n);g=ecd.prototype;g.getComponentId=function(){return Re(this,1)};g.getComponentId_asString=function(){return Xe(this,1)};g.setComponentId=function(a){return ll(this,1,a)};g.getCustomFieldId=function(){return Re(this,2)};g.getCustomFieldId_asString=function(){return Xe(this,2)};g.setCustomFieldId=function(a){return ll(this,2,a)};var fcd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(fcd,n);g=fcd.prototype;g.getComponentId=function(){return Re(this,1)};g.getComponentId_asString=function(){return Xe(this,1)};g.setComponentId=function(a){return ll(this,1,a)};g.getCustomFieldId=function(){return Re(this,2)};g.getCustomFieldId_asString=function(){return Xe(this,2)};g.setCustomFieldId=function(a){return ll(this,2,a)};var S2=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,S2.messageId)};Y(S2,n);S2.prototype.getIt=function(){return r(this,ecd,1,Kc)};S2.prototype.setIt=function(a){return t(this,ecd,1,a,Kc)};S2.messageId="b.AddSharedCustomFieldToComponentRequest";var T2=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,T2.messageId)};Y(T2,n);T2.prototype.getIt=function(){return r(this,fcd,1,Kc)};T2.prototype.setIt=function(a){return t(this,fcd,1,a,Kc)};T2.messageId="b.RemoveSharedCustomFieldFromComponentRequest";var U2=function(){this.executor=x(fy)};U2.prototype.add=function(a,b){var c="/action/components/"+a+"/add_shared_custom_field";a=(new S2).setIt((new ecd).setComponentId(a).setCustomFieldId(b));return this.executor.post({url:c,body:a,responseConstructor:null})};U2.prototype.remove=function(a,b){var c="/action/components/"+a+"/remove_shared_custom_field";a=(new T2).setIt((new fcd).setComponentId(a).setCustomFieldId(b));return this.executor.post({url:c,body:a,responseConstructor:null})};
U2.\u0275fac=function(a){return new (a||U2)};U2.\u0275prov=Dg({token:U2,factory:U2.\u0275fac,providedIn:"root"});var gcd=["fieldStateMenu"],IIb=function(a){return{type:a}},hcd=["SILENT","MINOR","MAJOR"],V2=function(){Z.apply(this,arguments);this.customFieldsApi=x(OC);this.checkBeforeExit=x(LR);this.butterBar=x(MA);this.analytics=x(nE);this.routeParams=x(NI);this.componentActions=x(DO);this.fieldConfigService=x(R2);this.sharedCustomFieldApi=x(U2);this.documentationLinks=x(XH);this.paths=x(TO);this.confirmationDialog=x(lI);this.appEvents=x(EB);this.dialog=x(eI);this.activeSession=x(Ks);this.isFieldConfigurationV2Enabled=
Cx(this.activeSession,"enableFieldConfigV2Fe")&&this.activeSession.isInternalSession();this.sharedFieldCandidates=XLa({isInternal:this.activeSession.isInternalSession(),isProd:Oq(this.activeSession)});this.ROUTES=Hq;this.FieldType=rN;this.ListFieldType=ENc;this.getSingleEditFieldType=ISa;this.getListFieldType=QUa;this.isRepeated=Zta;this.typeChoices=["TEXT","DATE","ENUM","NUMERIC"];this.secondaryTypes=["Single","Multiple"];this.significanceChoices=hcd;this.customFields=[];this.inheritedCustomFields=
[];this.sharedFields=[];this.componentIdsToNames={};this.isLoading=!1;this.editableField=null;this.allowedValues=[];this.originalEditableFieldValue=null;this.componentId=String(this.routeParams.componentId);this.msgFieldStateTip="Whether the field is visible in this component"};Y(V2,Z);V2.\u0275dir=Z.\u0275dir;V2.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(MR(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!0));this.loadCustomFields()};
V2.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};
V2.prototype.editField=function(a){window.scrollTo({top:0,behavior:"smooth"});if(!this.hasUnsavedChanges()||zUc(this.checkBeforeExit))this.editableField=wd(this.customFields[a]),this.originalEditableFieldValue=wd(this.editableField),this.serverError=null,this.setType(this.editableField.type),MIb(this,this.editableField.allowedValue)};
var YIb=function(a,b){var c=a.customFields[b];a.confirmationDialog.open({title:"Deleting field: "+c.name,content:md("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)}})};
V2.prototype.doDelete=function(a){var b=this;hq(this.butterBar,"Deleting field: "+a.name,2E3);this.customFieldsApi.delete(this.componentId,a.customFieldId).then(function(){b.appEvents.componentModified.next(b.componentId);b.analytics.trackEvent("customField","delete");hq(b.butterBar,"Deleted field: "+a.name,2E3);b.loadCustomFields()})};
V2.prototype.save=function(){var a=this;this.isLoading=!0;var b=function(){a.appEvents.componentModified.next(a.componentId);a.loadCustomFields();a.analytics.trackEvent("customField",d)},c=function(e){a.serverError=on(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=void 0;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)};
V2.prototype.updateCustomFieldState=function(a,b,c){var d=this;return new Promise(function(e,f){d.fieldConfigService.updateCustomFieldState(d.componentId,a.customFieldId,b).pipe(tj(d.destroyed$)).subscribe(function(){a:{switch(b){case "INHERIT":var h="Inherit ("+(d.fieldsEnabledOnParentComponent.get(a.customFieldId)?"Enabled":"Disabled")+")";break a;case "DISABLED":h="Disabled";break a;case "ENABLED":h="Enabled";break a}h=void 0}d.analytics.trackEvent("customField","updateFieldConfig",h);d.componentActions.getUncached(d.componentId).then(function(){return d.loadCustomFields(!0)}).then(function(){setTimeout(function(){var k,
q;(k=d.fieldStateMenus)==null||(q=k.get(c))==null||q.focus()})}).then(function(){e(void 0)})},function(h){d.serverError=on(h);d.isLoading=!1;f(h)})})};V2.prototype.cancel=function(){this.originalEditableFieldValue=this.editableField=null};
var PIb=function(a,b){var c=a.editableField.type,d=c==="TEXT"&&xd(b)?b:void 0,e=c==="DATE"&&b&&EEa(b)?b:void 0,f=c==="ENUM"&&xd(b)?b:void 0,h=c==="NUMERIC"&&Kea(b)?b:void 0,k=c==="REPEATED_TEXT"&&yd(b)?{values:b}:void 0,q=c==="REPEATED_DATE"&&Array.isArray(b)&&b.every(EEa)?{values:b}:void 0,u=c==="REPEATED_ENUM"&&yd(b)?{values:b}:void 0;b=c==="REPEATED_NUMERIC"&&Lea(b)?{values:b}:void 0;a.editableField.typedDefaultValue={customFieldId:a.editableField.customFieldId,textValue:d,dateValue:e,enumValue:f,
numericValue:h,repeatedTextValue:k,repeatedDateValue:q,repeatedEnumValue:u,repeatedNumericValue:b}};V2.prototype.setType=function(a,b){var c=this.editableField.type;if(b===void 0?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=void 0)};
var MIb=function(a,b){b=b==null?void 0:b.map(function(c){return c.toString()});a.editableField.allowedValue=b;a.allowedValues=b?b.map(function(c){return{value:c,displayText:c}}):[]};V2.prototype.hasUnsavedChanges=function(){return this.editableField&&!vd(this.editableField,this.originalEditableFieldValue)?!0:!1};
V2.prototype.loadCustomFields=function(a){var b=this;a=a===void 0?!1:a;a||(this.isLoading=!0);return this.componentActions.get(this.componentId).then(function(c){var d,e=((d=c.componentPathInfo)==null?void 0:d.allCustomField)||[];d=[];b.componentIdsToNames={};var f,h=((f=c.componentPathInfo)==null?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(q,u){return ha(q.name,u.name)};b.customFields=e.filter(function(q){return b.componentId===q.componentId}).sort(c);b.inheritedCustomFields=e.filter(function(q){return b.componentId!==q.componentId&&!q.shared}).sort(c);var k=new Map(e.filter(function(q){return b.componentId!==q.componentId&&q.shared}).map(function(q){return[q.customFieldId,q]}));b.sharedFields=b.sharedFieldCandidates.map(function(q){return k.get(q.customFieldId)}).filter(fe);b.appEvents.customFieldsModified.next(e)})};
var dJb=function(a,b){return a.fieldsEnabledOnParentComponent.has(b)?a.fieldsEnabledOnParentComponent.get(b):!0};V2.prototype.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};var QIb=function(a){var b;return(a=(b=a.editableField)==null?void 0:b.typedDefaultValue)?Mo(a):null};V2.prototype.getListFieldValues=function(){var a,b=(a=this.editableField)==null?void 0:a.typedDefaultValue,c,d;return(d=(c=b?Mo(b):null)==null?void 0:c.values)!=null?d:null};
V2.prototype.setFieldSignificance=function(a){this.editableField.fieldSignificance=a};
var nJb=function(a){var b={sharedFields:oJb(a)};ZH(a.dialog.open(acd,{data:b,width:"450px"})).subscribe(function(c){c&&a.sharedCustomFieldApi.add(a.componentId,c.customFieldId).then(function(){a.appEvents.componentModified.next(a.componentId);a.loadCustomFields()})})},iJb=function(a,b){a.confirmationDialog.open({title:"Deactivate shared field",content:md("Deactivating a shared custom field will hide this shared field when there is no value set on the issue. However, data will remain in the system. Are you sure you want to deactivate this shared field?"),onConfirm:function(){a.sharedCustomFieldApi.remove(a.componentId,
b).then(function(){a.appEvents.componentModified.next(a.componentId);a.loadCustomFields()})}})},oJb=function(a){var b=a.sharedFields.map(function(c){return c.customFieldId});return a.sharedFieldCandidates.filter(function(c){return!b.includes(c.customFieldId)})};V2.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(V2)))(b||V2)}}();
V2.\u0275cmp=F({type:V2,selectors:[["b-component-custom-fields"]],viewQuery:function(a,b){a&1&&ek(gcd,5);if(a&2){var c;ik(c=jk())&&(b.fieldStateMenus=c)}},inputs:{editMode:"editMode",isSaving:"isSaving",component:"component",parentComponent:"parentComponent"},standalone:!1,features:[xj,$w],decls:4,vars:2,consts:[["typeHelp",""],["enumMenu","matMenu"],["secondaryMenu","matMenu"],["significanceHelp",""],["significanceMenu","matMenu"],["card","onedevHovercard"],["cardBody",""],["fieldStateMenu",""],
[1,"edit-resource-panel","edit-component-field-parent"],[1,"edit-custom-field-panel"],[1,"custom-fields-loader"],[1,"bv2-validation-error-banner"],["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,"ngModelChange","bFocus","ngModel","disabled"],["for","field-description",1,"help-label"],["name","fieldDescription","id","field-description",3,"ngModelChange","ngModel","disabled"],[1,"edit-custom-field-table"],
[1,"field-label-with-help","bv2-component-custom-field-label"],["id","field-type-label",1,"help-label",3,"onedevHovercardTrigger"],["role","dialog","aria-label","Type help hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["type","button","mat-button","","mat-stroked-button","","aria-labelledby","field-type-label",1,"bv2-enum-field",3,"matMenuTriggerFor","disabled"],["name","arrow-dropdown","size","small"],["type","button","mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],
["matMenuContent",""],["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"],["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"],["id","field-required-label",1,"bv2-component-custom-field-label"],
["aria-labelledby","field-required-label",3,"valueChange","name","type","tooltip","value"],["id","field-significance-label","tabindex","0","aria-label","Field Significance - Press alt+right arrow to learn more.",1,"help-label",3,"onedevHovercardTrigger"],[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",3,"matMenuTriggerFor"],["mat-menu-item","","type","button"],["mat-raised-button","","color","primary","type","button",3,"click","disabled"],["mat-stroked-button","","type","button",3,"click"],["type","button","mat-menu-item",""],["type","button","mat-menu-item","",3,"click"],["id","field-enums-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-enums-label",3,"valuesChange","defaultLineCount","type","values","listFieldDisabled","preventDuplicates",
"isDefaultOrAllowedValues","truncate"],["aria-labelledby","field-default-label",3,"valueChange","name","type","tooltip","value","choices","showEnumTitle","disabled","truncate","clearable"],["aria-labelledby","field-repeated-default-label",3,"valuesChange","defaultLineCount","type","tooltip","values","enumChoices","isDefaultOrAllowedValues","listFieldDisabled","truncate"],["mat-menu-item","","type","button",3,"click"],[3,"large"],[1,"custom-fields-table"],[3,"class"],[1,"edit-button-row"],[3,"customFieldValue"],
[1,"action-buttons"],["type","button","mat-stroked-button","",3,"click"],["colspan","9",1,"custom-fields-inherited-parent"],["colspan","9"],[1,"ancestor-component-note"],[1,"header-label"],[3,"click","onedevHovercardTrigger","href"],[4,"onedevHovercardLazyBody"],[3,"fieldName","fieldState","enabledOnParent","disabled","matTooltip"],[3,"onedevIsHovercardReady","componentId"],[3,"fieldStateChange","fieldName","fieldState","enabledOnParent","disabled","matTooltip"],[1,"enabled-field"],["type","button",
"mat-stroked-button","",3,"click","disabled","matTooltip"],["routerLink","./","fragment","fieldOrdering",1,"keep-underline"],["type","button","mat-raised-button","","color","primary",3,"click"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(a,b){a&1&&(L(0,"div",8),I(1,VIb,70,29,"div",9),I(2,WIb,2,1,"div",10)(3,qJb,29,8,"div"),M());a&2&&(E(),J(b.editableField&&!b.isLoading?1:-1),E(),J(b.isLoading?2:3))},dependencies:[bC,pG,Bp,hG,iG,AG,oG,mG,wO,qN,jK,m1,xH,yH,DH,zH,AO,
YF,WF,FL,mK,kK,lK,pK,dA,aA,oP,RZ,lL,VM,UM,XM],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 W2=function(){};W2.\u0275fac=function(a){return new (a||W2)};W2.\u0275mod=Zi({type:W2});W2.\u0275inj=Eg({imports:[jC,FG,xO,sN,vM,n1,uL,OV,JL,IL,FI,ZL,pP,SZ,$M,oL,HI]});var X2=function(){this.options=[];this.disabled=!1;this.removeAtIndex=new iE;this.addRow=new iE;this.optionsChange=new iE};X2.prototype.valueChange=function(a,b){this.options[b].value=Number(a.target.value);this.optionsChange.emit(this.options)};X2.prototype.drop=function(a){sq(this.options,a.previousIndex,a.currentIndex);this.optionsChange.emit(this.options)};X2.\u0275fac=function(a){return new (a||X2)};
X2.\u0275cmp=F({type:X2,selectors:[["b-config-grid"]],inputs:{options:"options",disabled:"disabled"},outputs:{removeAtIndex:"removeAtIndex",addRow:"addRow",optionsChange:"optionsChange"},standalone:!1,decls:12,vars:6,consts:[["displayInput","matInput"],["valueInput","matInput"],[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",""],["type","button","mat-button","",1,"add-row-button"],[1,"flex-kids-x","flex-cross-axis-centered","option-row"],["cdkDragHandle","","svgIcon","drag-indicator",1,"drag-handle"],["subscriptSizing","dynamic",3,"appearance"],["matInput","","aria-label",
"Dropdown value","autocomplete","off","maxlength","40",1,"input-text",3,"change","value","placeholder","disabled"],["matInput","","aria-label","Average days","autocomplete","off","type","number",1,"input-text",3,"change","value","placeholder","disabled"],["type","button","mat-icon-button",""],["type","button","mat-icon-button","",3,"click"],["svgIcon","close",1,"icon-s","delete-icon"],["type","button","mat-button","",1,"add-row-button",3,"click"]],template:function(a,b){a&1&&(L(0,"div",2)(1,"div",
3)(2,"span",4),U(3," Dropdown value "),M()(),L(4,"div",5)(5,"span",6),U(6," Average days "),M(),N(7,"mat-icon",7),M()(),L(8,"div",8),Q("cdkDropListDropped",function(c){return b.drop(c)}),Mj(9,sJb,12,13,"div",9,Lj),M(),I(11,tJb,2,0,"button",10));a&2&&(E(2),rk("muted",b.disabled),E(3),rk("muted",b.disabled),E(2),K("matTooltip","All estimated effort types map to an average number of days."),E(2),Nj(b.options),E(2),J(b.disabled?-1:11))},dependencies:[EA,oO,mH,eH,TL,dA,aA,bA,YF,WF,uO,tO,rO],styles:[".delete-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}[_nghost-%COMP%]     mat-form-field .mat-mdc-form-field-flex{--gm-outlinedtextfield-outline-color:transparent}.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 Y2=function(){this.disabled=!1;this.valueChange=new iE};Y2.prototype.onValueChange=function(a){this.valueChange.emit(Number(a.target.value))};Y2.\u0275fac=function(a){return new (a||Y2)};
Y2.\u0275cmp=F({type:Y2,selectors:[["b-numeric-config"]],inputs:{disabled:"disabled",value:"value"},outputs:{valueChange:"valueChange"},standalone:!1,decls:14,vars:8,consts:[["timeInput","matInput"],[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,"change","disabled","value"]],template:function(a,b){if(a&1){var c=y();L(0,"div",1)(1,"div",2)(2,"span",3);U(3," Time ");M();L(4,"span",4);U(5,"1");M()();L(6,"div",2)(7,"div",5)(8,"span",6);U(9," Average days ");M();N(10,
"mat-icon",7);M();L(11,"mat-form-field",8)(12,"input",9,0);Q("change",function(d){z(c);return B(b.onValueChange(d))});M()()()()}a&2&&(E(2),rk("muted",b.disabled),E(6),rk("muted",b.disabled),E(2),K("matTooltip","All estimated effort types map to an average number of days."),E(),K("appearance","outline"),E(),K("disabled",b.disabled)("value",b.value))},dependencies:[EA,oO,mH,eH,TL,YF,WF],styles:[".disabled-time-val[_ngcontent-%COMP%]{color:#bdc1c6;color:var(--text-disabled);font-size:1rem;line-height:24px;font-weight:400;width:168px;margin-top:4px}\n/*# sourceMappingURL=numeric_config.css.map */"]});var a3=function(){this.activeSession=x(Ks);this.disabled=!1;this.updateEffortSpec=new iE;this.configurationOptions=[icd,jcd,Z2];this.estimatedEffortFieldEnabled=this.inherit=!1;this.name="Estimated effort";this.numericSpecMultiplier=1;this.enumSpecOptions=[];this.aggregationRules=Xic;this.selectedAggregationRule=this.aggregationRules.SUM;this.enableAggregationRules=Cx(this.activeSession,"enableAggregationRules")};
a3.prototype.ngOnInit=function(){(this.originalEffortSpec=this.effortSpec)&&this.effortSpec.numericSpec&&(this.originalSelectedEffortConfig=Z2)};a3.prototype.ngOnChanges=function(a){a.effortSpec&&this.effortSpec&&(this.originalEffortSpec=wd(this.effortSpec),this.setValues(this.effortSpec))};
a3.prototype.setValues=function(a){if(a.numericSpec){this.selectedEffortConfig=Z2;var b,c,d;this.numericSpecMultiplier=(d=(b=this.effortSpec)==null?void 0:(c=b.numericSpec)==null?void 0:c.multiplier)!=null?d:1}if(a.enumSpec){this.selectedEffortConfig=void 0;var e,f;this.enumSpecOptions=((f=(e=a.enumSpec)==null?void 0:e.options)!=null?f:[]).map(function(k){return{label:k.label,value:k.value}})}var h;this.inherit=(h=a.inherit)!=null?h:!1;this.name=a.name===""?"Estimated effort":a.name||"";if(a.enumSpec||
a.numericSpec)this.estimatedEffortFieldEnabled=!0;a.aggregationType!==void 0&&a.aggregationType!==this.aggregationRules.AGGREGATION_TYPE_UNSPECIFIED&&(this.selectedAggregationRule=a.aggregationType)};
var kcd=function(a){var b,c,d;if(((b=a.effortSpec)==null?0:b.enumSpec)&&!a.selectedEffortConfig||((c=a.selectedEffortConfig)==null?void 0:c.displayText)===icd.displayText||((d=a.selectedEffortConfig)==null?void 0:d.displayText)===jcd.displayText)return"enum";var e;return((e=a.selectedEffortConfig)==null?void 0:e.displayText)===Z2.displayText?"numeric":"empty"};a3.prototype.addRow=function(){this.enumSpecOptions.push({label:null,value:null})};
a3.prototype.isSaveButtonDisabled=function(){var a;if(!(a=this.disabled||this.selectedEffortConfig===void 0&&this.effortSpec===void 0&&this.estimatedEffortFieldEnabled&&!this.inherit||this.name==="")){a:{a=l(this.enumSpecOptions);for(var b=a.next();!b.done;b=a.next())if(b=b.value,!b.label||b.value===null){a=!1;break a}a=!0}a=!a}return a};var lcd=function(a){a.selectedEffortConfig=void 0;a.enumSpecOptions=[];a.effortSpec=void 0;a.name="Estimated effort"};a3.\u0275fac=function(a){return new (a||a3)};
a3.\u0275cmp=F({type:a3,selectors:[["b-estimated-effort-config"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateEffortSpec:"updateEffortSpec"},standalone:!1,features:[$w],decls:8,vars:11,consts:[["enumConfig",""],["placeholderForCardTitle","Enter the estimated effort field title (required)","ariaLabelForCardTitle","Estimated effort field title",3,"cardTitleChange","dropdownSelectionChanged","onSaveButtonClicked","selectedChange","onCancelButtonClicked",
"isInheritedChange","cardTitle","dropdownOptions","selectedOption","disabled","selected","isSaveButtonDisabled","showInheritedToggle","isInherited","inheritedDisabled"],[1,"content"],[3,"disabled","value"],[1,"margin-top"],[4,"ngTemplateOutlet"],[3,"valueChange","disabled","value"],["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,"valueChange","value","disabled"],[1,"multi-line",3,"value"],[1,"title"],[1,"help-text"],[3,"optionsChange","addRow","removeAtIndex","options","disabled"]],template:function(a,b){if(a&1){var c=y();L(0,"b-collapsible-card",1);xk("cardTitleChange",function(e){z(c);wk(b.name,e)||(b.name=e);return B(e)});Q("dropdownSelectionChanged",
function(e){z(c);b.selectedEffortConfig=e;e.displayText===icd.displayText?(b.enumSpecOptions=[].concat(p(mcd)),b.name="Story points"):e.displayText===jcd.displayText?(b.enumSpecOptions=[].concat(p(ncd)),b.name="T-shirt sizes"):e.displayText===Z2.displayText&&(b.numericSpecMultiplier=1,b.name="Days");b.estimatedEffortFieldEnabled=!0;return B()})("onSaveButtonClicked",function(){z(c);if(b.estimatedEffortFieldEnabled){var e={name:b.name,inherit:b.inherit};b.enableAggregationRules&&(e.aggregationType=
b.selectedAggregationRule);b.originalEffortSpec&&b.originalEffortSpec.customFieldId!==0&&(e.customFieldId=b.originalEffortSpec.customFieldId);var f;if(((f=b.selectedEffortConfig)==null?void 0:f.displayText)===Z2.displayText)e.numericSpec={multiplier:b.numericSpecMultiplier};else if(b.enumSpecOptions.length>0){f=[];for(var h=l(b.enumSpecOptions),k=h.next();!k.done;k=h.next())k=k.value,k.label&&k.value!==null&&f.push({label:k.label,value:k.value});e.enumSpec={options:f}}b.updateEffortSpec.emit(e)}else b.updateEffortSpec.emit({name:"",
inherit:!1});return B()})("selectedChange",function(e){z(c);b.estimatedEffortFieldEnabled=e;b.estimatedEffortFieldEnabled||lcd(b);return B()})("onCancelButtonClicked",function(){z(c);b.effortSpec=b.originalEffortSpec;b.selectedEffortConfig=b.originalSelectedEffortConfig;b.effortSpec?b.setValues(b.effortSpec):(b.estimatedEffortFieldEnabled=!1,lcd(b));return B()})("isInheritedChange",function(e){z(c);(e=e.checked)?(b.setValues(b.parentEffortSpec?b.parentEffortSpec:{name:"Estimated effort"}),b.effortSpec=
b.parentEffortSpec,b.effortSpec||lcd(b)):b.effortSpec&&(b.setValues({}),lcd(b));b.inherit=e;return B()});L(1,"div",2);I(2,vJb,1,1,"ng-container")(3,wJb,1,2,"b-numeric-config",3)(4,xJb,0,0);M();I(5,yJb,23,13,"div",4);M();G(6,zJb,1,2,"ng-template",null,0,Gk)}if(a&2){var d;vk("cardTitle",b.name);K("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);E(2);J((d=kcd(b))==="enum"?2:d==="numeric"?3:d==="empty"?4:-1);E(3);J(b.enableAggregationRules&&b.estimatedEffortFieldEnabled?5:-1)}},dependencies:function(){return[oy,EA,eH,TL,dA,bA,K2,YF,WF,VL,WL,XL,Vz,X2,Y2,b3]},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{width:168px}[_nghost-%COMP%]     .content mat-form-field .mat-mdc-form-field-infix{margin:-3px 0}[_nghost-%COMP%]     .content .input-text{font-weight:400;font-size:1rem}.aggregation-rule-label[_ngcontent-%COMP%]{margin-right:2px}\n/*# sourceMappingURL=estimated_effort_config.css.map */"]});
var mcd=[{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}],ncd=[{label:"XS",value:1},{label:"S",value:3},{label:"M",value:5},{label:"L",value:10},{label:"XL",value:20}],icd={displayText:"Story points",icon:"story-point-24px"},jcd={displayText:"T-shirt sizes",icon:"t-shirt-24px"},Z2={displayText:"Time",icon:"time-24px"},b3=function(){};
b3.prototype.transform=function(a){switch(a){case "MAX":return"Max Point";default:return"Simple Sum"}};b3.\u0275fac=function(a){return new (a||b3)};b3.\u0275pipe=aj({name:"aggregationRuleText",type:b3,pure:!0,standalone:!1});var ocd=function(){this.disabled=!1;this.updateComponent=new iE};ocd.\u0275fac=function(a){return new (a||ocd)};
ocd.\u0275cmp=F({type:ocd,selectors:[["b-component-standard-fields"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateComponent:"updateComponent"},standalone:!1,decls:4,vars:3,consts:[[1,"padded","field-container"],[1,"margin-bottom"],[3,"updateEffortSpec","effortSpec","parentEffortSpec","disabled"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"div",1),U(2,"Once activated, standard fields appear in the right panel of all issues."),M(),L(3,"b-estimated-effort-config",
2),Q("updateEffortSpec",function(c){b.updateComponent.emit(c)}),M()());a&2&&(E(3),K("effortSpec",b.effortSpec)("parentEffortSpec",b.parentEffortSpec)("disabled",b.disabled))},dependencies:[a3],styles:[".field-container[_ngcontent-%COMP%]{max-width:1100px}"]});var c3=function(){};c3.\u0275fac=function(a){return new (a||c3)};c3.\u0275mod=Zi({type:c3});c3.\u0275inj=Eg({imports:[jC,pO,FI,SL,L2,JL,ZL,vO]});var d3=function(){};d3.\u0275fac=function(a){return new (a||d3)};d3.\u0275mod=Zi({type:d3});d3.\u0275inj=Eg({imports:[jC,L2,c3]});var e3=function(){var a=this;this.teamsService=x(kF);this.anchorTarget="_blank";this.useInternalLink=this.isTopLevel=this.isAdmin=!1;this.modelChange=new iE;this.inherit=!1;this.selectedTeam$=new oj;this.teamIdChanged$=new nj(1);this.placeholder$=this.teamIdChanged$.pipe(C(function(b){return b==="0"?!a.isAdmin||!a.isTopLevel&&a.inherit?"No team selected":"Type to search for a team (leave blank to disable)":""}),rj(""));this.teamFromId$=this.teamIdChanged$.pipe(sj(function(b){return b==="0"?li(new mob([b],
[""],"")):lF(a.teamsService,b).pipe(C(function(c){return new mob([],c.collapsedPathNames,c.description)}))}));this.displayedTeam$=Ci(this.teamFromId$,this.selectedTeam$);this.warningType$=this.teamIdChanged$.pipe(sj(function(b){return b==="0"?li("MISSING"):a.teamsService.getTeam(b).pipe(C(function(c){return!c||c.deleted?"DELETED":"VALID"}))}))};
e3.prototype.updateSelectionOnChange=function(a){Yo("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);pcd(this)};var pcd=function(a){a.inherit=a.model.inherit;a.teamIdChanged$.next(a.model.id)};e3.prototype.ngOnInit=function(){Object.assign({},this.model);pcd(this)};var DJb=function(a){return a.model.id&&a.model.id!=="0"};
e3.prototype.getMomaTeamLink=function(){return DJb(this)?"https://moma.corp.google.com/team/"+this.model.id:null};e3.\u0275fac=function(a){return new (a||e3)};
e3.\u0275cmp=F({type:e3,selectors:[["b-component-team-picker"]],inputs:{parentModel:"parentModel",model:"model",anchorTarget:"anchorTarget",isAdmin:"isAdmin",isTopLevel:"isTopLevel",useInternalLink:"useInternalLink"},outputs:{modelChange:"modelChange"},standalone:!1,decls:12,vars:12,consts:[[1,"edit-field"],[1,"edit-field","component-team-id-select"],["for","component-team-id"],["id","component-team-id","panelWidth","479px",3,"onTeamSelect","onEmptyQuery","placeholder","disabled","teamSelected"],
[1,"team-warning"],[3,"warningType","messageOnly"],[3,"change","disabled","checked"],["mat-icon-button","","aria-label","Go to Team page.","matTooltip","Go to Team page.",1,"small",3,"routerLink","target"],["mat-icon-button","","aria-label","Go to Team page.","matTooltip","Go to Team page.",1,"small",3,"click","routerLink","target"],["svgIcon","pop-out",1,"icon-s"],["mat-icon-button","","target","_blank","aria-label","Go to Moma Team page.","matTooltip","Go to Moma Team page.",1,"small"],["mat-icon-button",
"","target","_blank","aria-label","Go to Moma Team page.","matTooltip","Go to Moma Team page.",1,"small",3,"click"]],template:function(a,b){a&1&&(L(0,"div"),I(1,BJb,1,1),W(2,"async"),I(3,CJb,3,2,"div",0),L(4,"div",1)(5,"label",2),U(6,"Team selection"),M(),L(7,"b-team-picker",3),W(8,"async"),W(9,"async"),Q("onTeamSelect",function(d){return b.updateSelectionOnChange(d)})("onEmptyQuery",function(){b.model.id="0";b.modelChange.emit(b.model);pcd(b)}),M(),I(10,FJb,1,1)(11,HJb,1,1),M()());if(a&2){var c;
E();J((c=X(2,6,b.warningType$))?1:-1,c);E(2);J(b.isTopLevel?-1:3);E(4);K("placeholder",X(8,8,b.placeholder$))("disabled",!b.isAdmin||!b.isTopLevel&&b.inherit)("teamSelected",X(9,10,b.displayedTeam$));E(3);J(b.useInternalLink?10:11)}},dependencies:[EA,bC,aG,HG,YF,WF,PX,a0,dA,bA,py],styles:[".component-team-id-select[_ngcontent-%COMP%]{display:flex;align-items:center}.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}.component-team-id-select[_ngcontent-%COMP%]   a.mat-mdc-icon-button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center}.team-warning[_ngcontent-%COMP%]{width:240px}"],
changeDetection:0});var f3=function(){};f3.\u0275fac=function(a){return new (a||f3)};f3.\u0275mod=Zi({type:f3});f3.\u0275inj=Eg({imports:[jC,XN,SL,JL,RX,T0,FG,FI]});var g3=function(){};g3.\u0275fac=function(a){return new (a||g3)};g3.\u0275mod=Zi({type:g3});g3.\u0275inj=Eg({imports:[jC,vO,FI,RL,iC]});var h3=function(){};h3.\u0275fac=function(a){return new (a||h3)};h3.\u0275mod=Zi({type:h3});h3.\u0275inj=Eg({imports:[g3,FI,HI]});var i3=function(){};i3.\u0275fac=function(a){return new (a||i3)};i3.\u0275mod=Zi({type:i3});i3.\u0275inj=Eg({imports:[jC,pN,HI,R0]});var j3=function(){};j3.\u0275fac=function(a){return new (a||j3)};j3.\u0275mod=Zi({type:j3});j3.\u0275inj=Eg({imports:[jC,FG,FI,HI,pO,UL,kZ]});var k3=function(){};k3.\u0275fac=function(a){return new (a||k3)};k3.\u0275mod=Zi({type:k3});k3.\u0275inj=Eg({imports:[jC,FG,FI,pO,UL,HI]});var l3=function(){this.dialogData=x(dI);this.dialogRef=x(YH);this.originalItems=this.dialogData.fields.map(function(a){return{name:a.name,data:a}});this.items=[].concat(p(this.originalItems));this.fieldOrdering=this.dialogData.orderingCustomized;this.hasChanges=!1};l3.prototype.onClose=function(){var a=this.items.map(function(b){return b.data});this.dialogRef.close(a)};l3.\u0275fac=function(a){return new (a||l3)};
l3.\u0275cmp=F({type:l3,selectors:[["b-field-reorder-dialog"]],standalone:!1,decls:14,vars:2,consts:[["reorderItems",""],["mat-dialog-title",""],[1,"flex-kids-x","space-between","align-items-center"],[1,"margin-none"],["type","button","mat-icon-button","","aria-label","Sorts the fields alphabetically","matTooltip","Sort alphabetically",1,"alphasort",3,"click"],["svgIcon","sort_by_alpha_24px"],["mat-dialog-content",""],[3,"items","hasChanges","originalItems"],["mat-dialog-actions",""],["type","button",
"mat-stroked-button","",1,"medium","cancel",3,"click"],["type","button","mat-flat-button","","color","primary",1,"medium","dialog-primary-action","save",3,"click","disabled"]],template:function(a,b){if(a&1){var c=y();L(0,"div",1)(1,"div",2)(2,"h1",3);U(3," Reorder custom fields ");M();L(4,"button",4);Q("click",function(){z(c);var d=T(8);return B(pYc(d))});N(5,"mat-icon",5);M()()();L(6,"div",6)(7,"b-reorder-items",7,0);Q("items",function(d){z(c);return B(b.items=d)})("hasChanges",function(d){z(c);
return B(b.hasChanges=d)});M()();L(9,"div",8)(10,"button",9);Q("click",function(){z(c);return B(b.dialogRef.close())});U(11," Cancel ");M();L(12,"button",10);Q("click",function(){z(c);return B(b.onClose())});U(13," Save ");M()()}a&2&&(E(7),K("originalItems",b.originalItems),E(5),K("disabled",b.fieldOrdering==="CUSTOMIZED"&&!b.hasChanges))},dependencies:[EA,dA,aA,bA,hI,jI,iI,YF,WF,tT],encapsulation:2});var m3=function(){this.matDialog=x(eI);this.confirmationDialog=x(lI);this.fieldConfigService=x(R2);this.analytics=x(nE);this.butterBar=x(MA);this.fields=[];this.isAdmin=!1;this.onReload=new iE;this.displayedColumn=["index","name","type","required","customFieldId"]},VJb=function(a){return ZH(a.matDialog.open(l3,{width:"500PX",autoFocus:!1,data:{fields:a.fields,orderingCustomized:a.fieldOrdering}})).subscribe(function(b){b&&qcd(a,b)})},WJb=function(a){a.confirmationDialog.open({title:"Reset ordering?",
content:md("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()}})},qcd=function(a,b){a.analytics.trackEvent("fieldOrdering","reorderFields");var c=b.map(function(d){return{customFieldId:d.customFieldId}});a.componentId?(hq(a.butterBar,"Saving...",0),a.fieldConfigService.reorder(a.componentId,c).subscribe(function(){hq(a.butterBar,
"Field ordering saved",5E3);a.fields=b.concat();a.fieldOrdering="CUSTOMIZED"},function(){a.butterBar.showWarning("Saving ordering failed, please refresh the page.",5E3)})):a.butterBar.showWarning("Saving ordering failed due to the undefined component id.")};
m3.prototype.reset=function(){var a=this;this.analytics.trackEvent("fieldOrdering","resetFields");this.componentId?(hq(this.butterBar,"Resetting orderings..."),this.fieldConfigService.executor.post({url:"action/components/"+this.componentId+"/unorder",body:null,responseConstructor:null}).subscribe(function(){hq(a.butterBar,"Ordering reset");a.fieldOrdering="INHERITED";a.onReload.emit()},function(){a.butterBar.showWarning("Reset failed.")})):this.butterBar.showWarning("Reset failed due to the undefined component id.")};
m3.\u0275fac=function(a){return new (a||m3)};
m3.\u0275cmp=F({type:m3,selectors:[["b-field-reorder"]],inputs:{fields:"fields",componentId:"componentId",fieldOrdering:"fieldOrdering",isAdmin:"isAdmin"},outputs:{onReload:"onReload"},standalone:!1,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"],[1,"no-data-row"],[1,"edit-button-row"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""],["type","button","mat-flat-button","","color","primary",1,"medium",3,"click","disabled"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"div",1)(2,"table",2),Sj(3,3),G(4,IJb,2,0,"th",4)(5,JJb,2,1,"td",5),Tj(),Sj(6,6),G(7,KJb,2,0,"th",4)(8,LJb,2,1,"td",5),Tj(),Sj(9,7),G(10,MJb,2,0,"th",4)(11,NJb,3,
3,"td",5),Tj(),Sj(12,8),G(13,OJb,2,0,"th",4)(14,PJb,2,1,"td",5),Tj(),Sj(15,9),G(16,QJb,2,0,"th",4)(17,RJb,2,1,"td",5),Tj(),G(18,SJb,1,0,"tr",10)(19,TJb,1,0,"tr",11),M(),I(20,UJb,2,0,"div",12),M(),I(21,XJb,6,2,"div",13),M());a&2&&(E(2),K("dataSource",b.fields),E(16),K("matHeaderRowDef",b.displayedColumn),E(),K("matRowDefColumns",b.displayedColumn),E(),J(b.fields.length===0?20:-1),E(),J(b.isAdmin?21:-1))},dependencies:[dA,aA,RP,eL,SK,YK,UK,RK,$K,VK,XK,aL,cL,gQ],styles:["th.mat-mdc-header-cell[_ngcontent-%COMP%], td.mat-mdc-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-mdc-header-cell[_ngcontent-%COMP%]:first-of-type, td.mat-mdc-cell[_ngcontent-%COMP%]:first-of-type{padding-left:8px}th.mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type, td.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type{padding-right:8px}.no-data-row[_ngcontent-%COMP%]{padding:12px}button[_ngcontent-%COMP%]{margin-right:12px}"]});var n3=function(){};n3.\u0275fac=function(a){return new (a||n3)};n3.\u0275mod=Zi({type:n3});n3.\u0275inj=Eg({imports:[jC,FI,HI]});var o3=function(){};o3.\u0275fac=function(a){return new (a||o3)};o3.\u0275mod=Zi({type:o3});o3.\u0275inj=Eg({imports:[jC,FI,HI,SQ,JL,n3,jQ,g3]});var p3=function(){this.analytics=x(nE);this.filename=this.packageName=this.issueId="";this.lineNumbers=[];this.changeNumber=0},ZJb=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="+rcd+a.issueId+scd;a.changeNumber&&(c+="&rcl="+a.changeNumber);Array.isArray(b)?c+="&l="+b.join(","):b&&(c+="&l="+b);return c}};
p3.prototype.trackClick=function(a){this.analytics.trackEvent("codeMentions","clickCodeSearchLink",a)};p3.\u0275fac=function(a){return new (a||p3)};
p3.\u0275cmp=F({type:p3,selectors:[["b-file-mention"]],inputs:{issueId:"issueId",packageName:"packageName",filename:"filename",lineNumbers:"lineNumbers",changeNumber:"changeNumber"},standalone:!1,decls:5,vars:3,consts:[[1,"bv2-file-mention"],["target","_blank",1,"bv2-file-mention-filename",3,"click","href"],[1,"bv2-file-mention-line-number-list"],[1,"bv2-file-mention-line-number"],["target","_blank",3,"click","href"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"a",1),Q("click",function(){return b.trackClick("fileName")}),
U(2),M(),I(3,YJb,2,1,"span")(4,aKb,6,0,"span"),M());a&2&&(E(),K("href",ZJb(b,b.lineNumbers),Ni),E(),V(" ",b.filename," "),E(),J(b.lineNumbers.length<=10&&b.packageName!="wiki"?4:3))},encapsulation:2});var rcd=encodeURIComponent("content:(https?://)?b(uganizer)?(\\.corp(\\.google\\.com)?)?/(issues/|issue\\?id=)?"),scd=encodeURIComponent("(\\b|$)");var q3=function(){};q3.\u0275fac=function(a){return new (a||q3)};q3.\u0275mod=Zi({type:q3});q3.\u0275inj=Eg({imports:[jC]});var r3=function(){this.feedbackState=new Map};r3.prototype.getKey=function(a,b){return a+"-"+b};var jKb=function(a,b,c){var d;return(d=a.feedbackState.get(a.getKey(b,c)))!=null?d:{hasThumbsUpped:!1,hasThumbsDowned:!1}};r3.prototype.hasFeedbackBeenGiven=function(a,b){a=jKb(this,a,b);return a.hasThumbsUpped||a.hasThumbsDowned};r3.\u0275fac=function(a){return new (a||r3)};r3.\u0275prov=Dg({token:r3,factory:r3.\u0275fac,providedIn:"root"});var s3=function(){var a=this;this.confirmationDialogService=x(lI);this.contextSensitiveRegistry=x(yF);this.destroyRef=x(Cj);this.issueEnrichmentService=x(lX);this.issueEnrichmentFridge=x(CD);this.issuePermissionService=x(BF);this.butterBar=x(MA);this.window=x(RF);this.insightsActionsService=x(r3);this.enrichmentCategoryFridge=x(QC);this.enrichmentApi=x(eB);this.enrichmentCategory$=li(void 0);this.CATEGORY_INFO_HOVERCARD_CONFIG=Object.assign({},new AH,{position:[qBc]});this.issueId$=this.contextSensitiveRegistry.getIssueId().pipe(Di(fe),
jj());this.actionMenuItems$=this.issuePermissionService.hasAclToAdmin$.pipe(C(function(b){var c=[];b&&c.push({type:"action",action:function(){a.showDeleteAttachmentDialog(a.enrichment.category)},label:"Delete insight..."});return c}))};s3.prototype.ngOnInit=function(){this.enrichment.category&&!R3c.includes(this.enrichment.category)&&(this.enrichmentCategory$=this.enrichmentCategoryFridge.watch(this.enrichment.category))};
s3.prototype.hasFeedbackBeenGiven=function(a){return this.insightsActionsService.hasFeedbackBeenGiven(a,this.enrichment.category)};
var tcd=function(a,b){var c,d,e,f;return v(function(h){if(h.nextAddress==1)return w(h,pi(a.issueId$),2);if(h.nextAddress!=3)return c=h.yieldResult,d=a.window.location.protocol+"//"+a.window.location.hostname+("/issues/"+c+"/insights#insight-"+b),a.window.navigator.clipboard.writeText(d),hq(a.butterBar,"Link copied to clipboard",2E3),e=a.issueEnrichmentService,f=e.logIssueUserEventForIssueEnrichment,w(h,pi(a.issueId$),3);f.call(e,h.yieldResult,"EVENT_TYPE_COPY_DEEP_LINK",b);ji(h)})};
s3.prototype.copyContent=function(){var a=this,b,c,d;return v(function(e){if(e.nextAddress==1)return(c=(b=a.enrichment.general)==null?void 0:b.content)?w(e,pi(a.issueId$),2):e.return();d=e.yieldResult;a.window.navigator.clipboard.writeText(c);hq(a.butterBar,"Content copied to clipboard",2E3);a.issueEnrichmentService.logIssueUserEventForIssueEnrichment(d,"EVENT_TYPE_COPY",a.enrichment.category);ji(e)})};
var hKb=function(a){var b,c;return v(function(d){if(d.nextAddress==1)return b=a.enrichment.category,w(d,pi(a.issueId$),2);c=d.yieldResult;if(a.insightsActionsService.hasFeedbackBeenGiven(c,b))return d.return();a.issueEnrichmentService.logIssueUserEventForIssueEnrichment(c,"EVENT_TYPE_THUMBS_UP",b);var e=a.insightsActionsService;e.feedbackState.set(e.getKey(c,b),{hasThumbsUpped:!0,hasThumbsDowned:!1});ji(d)})},iKb=function(a){var b,c;return v(function(d){if(d.nextAddress==1)return b=a.enrichment.category,
w(d,pi(a.issueId$),2);c=d.yieldResult;if(a.insightsActionsService.hasFeedbackBeenGiven(c,b))return d.return();a.issueEnrichmentService.logIssueUserEventForIssueEnrichment(c,"EVENT_TYPE_THUMBS_DOWN",b);var e=a.insightsActionsService;e.feedbackState.set(e.getKey(c,b),{hasThumbsUpped:!1,hasThumbsDowned:!0});ji(d)})};
s3.prototype.showDeleteAttachmentDialog=function(a){var b=this,c;v(function(d){if(d.nextAddress==1)return w(d,pi(b.issueId$),2);c=d.yieldResult;b.confirmationDialogService.open({title:"Delete Insight",content:md("You are about to delete insight '"+a+"' on issue "+c+". This action cannot be undone."),onConfirm:function(){Frc(b.enrichmentApi,c,a).pipe(vp(b.destroyRef)).subscribe(function(){b.issueEnrichmentService.logIssueUserEventForIssueEnrichment(c,"EVENT_TYPE_DELETE",b.enrichment.category);b.issueEnrichmentFridge.poke(c)})}});
ji(d)})};s3.\u0275fac=function(a){return new (a||s3)};
s3.\u0275cmp=F({type:s3,selectors:[["insights-actions"]],inputs:{enrichment:"enrichment"},standalone:!1,decls:13,vars:11,consts:[["categoryInfoCard","onedevHovercard"],["type","button","mat-icon-button","","matTooltip","Copy insight content","aria-label","copy insight content",1,"small","copy-content"],["type","button","mat-icon-button","","matTooltip","Copy link","aria-label","copy link to insight",1,"small","copy-link",3,"click"],["svgIcon","link",1,"icon-s"],"href http://goto.corp.google.com/buganizer-insights-feedback target _blank tabindex -1".split(" "),
["type","button","mat-icon-button","","aria-label","send feedback",1,"small"],["svgIcon","feedback-outline",1,"icon-s"],["buttonLabel","Insights actions","buttonSize","small","matTooltip","Insights actions",3,"menuItems"],["mat-icon-button","","aria-label","info about this insight category",1,"small","info",3,"onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig"],["svgIcon","info",1,"icon-s"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],["type","button",
"mat-icon-button","","matTooltip","Copy insight content","aria-label","copy insight content",1,"small","copy-content",3,"click"],["svgIcon","copy",1,"icon-s"],["type","button","mat-icon-button","","aria-label","thumb up",1,"small","thumbs-up",3,"click","disabled"],["svgIcon","thumb_up_filled_24px",1,"icon-s","primary"],["svgIcon","thumb_up_24px",1,"icon-s"],["type","button","mat-icon-button","","aria-label","thumb down",1,"small","thumbs-down",3,"click","disabled"],["svgIcon","thumb_down_filled_24px",
1,"icon-s","primary"],["svgIcon","thumb_down_24px",1,"icon-s"]],template:function(a,b){if(a&1){var c=y();I(0,bKb,11,5);W(1,"async");I(2,cKb,2,0,"button",1);L(3,"button",2);Q("click",function(){z(c);return B(tcd(b,b.enrichment.category))});N(4,"mat-icon",3);M();I(5,kKb,6,4);W(6,"async");L(7,"a",4)(8,"button",5);N(9,"mat-icon",6);M()();Wj(10);W(11,"async");I(12,lKb,1,1,"b-actions-menu",7)}if(a&2){var d,e;J((d=X(1,4,b.enrichmentCategory$))?0:-1,d);E(2);J((b.enrichment.general==null?0:b.enrichment.general.content)?
2:-1);E(3);J((e=X(6,6,b.issueId$))?5:-1,e);E(5);a=Xj(X(11,8,b.actionMenuItems$));E(2);J(a&&a.length>0?12:-1)}},dependencies:[jS,EA,dA,bA,YF,WF,xH,DH,py],styles:[".primary[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}"],changeDetection:0});var uKb=function(a,b){return b.category},t3=function(){var a=this;this.bLocation=x(hL);this.destroyRef=x(Cj);this.dynamicScrollIntoView=x(eT);this.elementRef=x(Ph);this.contextSensitiveRegistry=x(yF);this.imageUrls=x(FO);this.scrolledOnScreenService=x(OL);this.issueEnrichmentService=x(lX);this.loggedViewEnrichments=new Set;this.loggedImpressionEnrichments=new Set;this.onScreenSubscriptions=new Map;this.ROBOT_SLEEPING=this.imageUrls.ROBOT_SLEEPING;this.FIRST_PARTY_ENRICHMENTS=R3c;this.LOGO_PURPLE=
this.imageUrls.LOGO_PURPLE;this.issueId$=this.contextSensitiveRegistry.getIssueId().pipe(Di(fe),jj());this.enrichments$=this.issueEnrichmentService.issueEnrichments$.pipe(uj(function(b){a.logImpressions(b)}));this.scrollToInsight=Fv(function(){var b=a.bLocation.hash();b&&CXc(a.dynamicScrollIntoView,{elementId:b,parentElement:a.elementRef.nativeElement,scrollableContainerId:"insights-accordion",scrollPadding:60}).pipe(vp(a.destroyRef)).subscribe()},200)};g=t3.prototype;
g.ngOnInit=function(){var a=this;this.scrollToInsight();this.destroyRef.onDestroy(function(){for(var b=l(a.onScreenSubscriptions.values()),c=b.next();!c.done;c=b.next())c.value.unsubscribe();a.onScreenSubscriptions.clear()})};g.onExpand=function(a,b){var c=this;this.logIssueUserEventForIssueEnrichment("EVENT_TYPE_OPEN",a.category);setTimeout(function(){c.maybeSetupOnScreenDetection(a.category,b._body.nativeElement)},0)};
g.logImpressions=function(a){var b=this,c,d,e,f,h;return v(function(k){if(k.nextAddress==1)return w(k,pi(b.issueId$),2);c=k.yieldResult;d=l(a);for(e=d.next();!e.done;e=d.next())f=e.value,h=f.category,b.loggedImpressionEnrichments.has(h)||(b.loggedImpressionEnrichments.add(h),b.issueEnrichmentService.logIssueUserEventForIssueEnrichment(c,"EVENT_TYPE_IMPRESSION",h));ji(k)})};
g.logIssueUserEventForIssueEnrichment=function(a,b){var c=this,d;return v(function(e){if(e.nextAddress==1)return w(e,pi(c.issueId$),2);d=e.yieldResult;c.issueEnrichmentService.logIssueUserEventForIssueEnrichment(d,a,b);ji(e)})};
g.maybeSetupOnScreenDetection=function(a,b){var c=this,d,e,f;v(function(h){if(h.nextAddress==1){if(c.loggedViewEnrichments.has(a))return h.return();(d=c.onScreenSubscriptions.get(a))&&d.unsubscribe();return w(h,pi(c.issueId$),2)}e=h.yieldResult;f=rKc(c.scrolledOnScreenService,b,{emitOnPartial:!0,durationOnScreenMs:3E3}).pipe(vp(c.destroyRef)).subscribe(function(){if(!c.loggedViewEnrichments.has(a)){c.issueEnrichmentService.logIssueUserEventForIssueEnrichment(e,"EVENT_TYPE_VIEW",a);c.loggedViewEnrichments.add(a);
var k;(k=c.onScreenSubscriptions.get(a))==null||k.unsubscribe();c.onScreenSubscriptions.delete(a)}});c.onScreenSubscriptions.set(a,f);ji(h)})};t3.\u0275fac=function(a){return new (a||t3)};
t3.\u0275cmp=F({type:t3,selectors:[["b-insights"]],viewQuery:function(a,b){a&1&&ek(yW,5);if(a&2){var c;ik(c=jk())&&(b.accordion=c.first)}},standalone:!1,decls:5,vars:4,consts:[["expansionPanel",""],["commentPresenter",""],[1,"carded","bg-main"],[1,"padded-top","centered-inside"],[1,"empty-state","layout-centered-column","gap"],["aria-hidden","true","alt","",3,"src"],[1,"type-l"],[1,"muted"],["type","button","mat-stroked-button","","color","primary",1,"small","gmat-button","expand-all",3,"click"],
["type","button","mat-stroked-button","","color","primary",1,"small","gmat-button","collapse-all",3,"click"],["multi","","id","insights-accordion"],[3,"expanded","id"],[3,"opened","closed","expanded","id"],["aria-hidden","true","alt","",1,"first-party-logo","margin-s-right",3,"src"],[3,"formattedComment"],[1,"insights-date"],["mode","datetime",3,"timestamp"],[3,"enrichment"]],template:function(a,b){a&1&&(Wj(0),W(1,"async"),I(2,mKb,7,1,"section",2)(3,vKb,7,0)(4,wKb,2,0,"div",3));a&2&&(a=Xj(X(1,1,b.enrichments$)),
E(2),J(a&&a.length===0?2:a&&a.length>0?3:4))},dependencies:[fK,tN,dA,aA,s3,yW,oW,i2c,pW,qW,lL,py],styles:["[_nghost-%COMP%]{display:block;padding:8px}button.gmat-button[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--surface-default);margin:0 8px 8px 0}.empty-state[_ngcontent-%COMP%]{padding:32px 0;max-width:30rem}.empty-state[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:150px;min-height:163px}.insights-date[_ngcontent-%COMP%]{margin-top:4px}.first-party-logo[_ngcontent-%COMP%]{width:24px;height:24px}"],
changeDetection:0});var u3=function(){};u3.\u0275fac=function(a){return new (a||u3)};u3.\u0275mod=Zi({type:u3});u3.\u0275inj=Eg({imports:[WS,jC,FI,JL,uL,iC]});var v3=function(){};v3.\u0275fac=function(a){return new (a||v3)};v3.\u0275mod=Zi({type:v3});v3.\u0275inj=Eg({imports:[jC,rM,yN,FI,u3,cA,zW,iC,oL,dW]});var ucd=function(){return{width:400}},vcd=function(){return[]},w3=function(){var a=this;this.bLocation=x(hL);this.analytics=x(nE);this.activeSession=x(Ks);this.componentActions=x(DO);this.cdr=x(jE,{self:!0});this.routeParams=x(NI);this.includeArchived$=new $n(!1);this.createComponentPath=Hq.createComponent.makeHref();this.isInternalSession=this.activeSession.isInternalSession();this.trackerRootComponent$=wi(function(){return li(a.activeSession.getTracker())}).pipe(sj(function(b){return b?a.componentActions.get(b.componentId):
li(void 0)}));this.topLevelComponents$=si([this.trackerRootComponent$,this.includeArchived$]).pipe(sj(function(b){var c=l(b);b=c.next().value;c=c.next().value;var d;return a.componentActions.getChildren((d=b==null?void 0:b.parentComponentId)!=null?d:"0",c)}));this.routeParams.componentId&&zKb(this,String(this.routeParams.componentId),pi(this.topLevelComponents$))},zKb=function(a,b,c){a.componentActions.get(b).then(function(d){for(var e=Faa(d.componentPathInfo.componentPathId,0,d.componentPathInfo.componentPathId.length-
1),f={0:c},h=l(e),k=h.next();!k.done;k=h.next())k=k.value,f[k]=a.componentActions.getChildren(k,a.includeArchived);return Eq(f).then(function(q){for(var u=q[0],A=null,D=l(e),H=D.next(),O={};!H.done;O={parentId$jscomp$27:void 0},H=D.next()){O.parentId$jscomp$27=H.value;H=void 0;var P=(H=u.find(function(S){return function(aa){return aa.componentId===S.parentId$jscomp$27}}(O)))!=null?H:null;P&&(P.children=q[O.parentId$jscomp$27],P.showChildren=!0,u=P.children,A=P.componentId)}A&&d.archived&&!a.includeArchived&&
(b=A);a.cdr.detectChanges();setTimeout(function(){var S=a.componentTree,aa=b,ia=n6c(aa);ia&&ia.click();NZ(S,aa)})})})};pg.Object.defineProperties(w3.prototype,{includeArchived:{configurable:!0,enumerable:!0,get:function(){return this.includeArchived$.value}}});w3.\u0275fac=function(a){return new (a||w3)};
w3.\u0275cmp=F({type:w3,selectors:[["b-list-components-page"]],standalone:!1,features:[Bk([jE])],decls:16,vars:15,consts:[["componentPickerTemplate",""],[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-appbar-left"],["mat-button","",3,"href"],["type","button","mat-button","","dialogLabel","Components","panelClass","overflow-visible-inline-dialog-panel",3,"xapInlineDialogClick","overlaySize"],["id","bv2-issue-showarchived-button"],[1,"bv2-view"],[1,"bv2-view-loading"],[1,"top-tree",3,"init",
"components","includeArchived"],[1,"component-picker-dialog"],["ariaLabel","Choose a component to navigate to that component.",3,"selectedComponentChange","includeArchived","placeholder","shouldFocus","isRequired"],["label","Show archived",3,"modelChange","model","tooltip"],["size","small"]],template:function(a,b){if(a&1){var c=y();L(0,"h2",1);U(1,"Browse Components");M();L(2,"div",2)(3,"div",3);I(4,xKb,2,1,"a",4);L(5,"button",5);U(6," Search Components ");M();G(7,yKb,4,6,"ng-template",null,0,Gk);
I(9,AKb,3,4,"div",6);M()();L(10,"div",7);I(11,BKb,2,0,"div",8);W(12,"async");L(13,"component-tree-list",9);W(14,"async");W(15,"async");Q("init",function(h){z(c);return B(b.componentTree=h)});M()()}if(a&2){a=T(8);E(4);J(b.isInternalSession?4:-1);E();K("xapInlineDialogClick",a)("overlaySize",Ck(13,ucd));E(4);J(b.isInternalSession?9:-1);E(2);var d;J((d=X(12,7,b.topLevelComponents$))!=null&&d?-1:11);E(2);var e,f;K("components",(e=X(14,9,b.topLevelComponents$))!=null?e:Ck(14,vcd))("includeArchived",(f=
X(15,11,b.includeArchived$))!=null?f:!1)}},dependencies:[lL,fO,eO,jO,HM,dA,aA,MZ,OO,py],styles:[".component-picker-dialog[_ngcontent-%COMP%]{width:400px}.component-picker-dialog[_ngcontent-%COMP%]     input{box-sizing:border-box}"]});var x3=function(){};x3.\u0275fac=function(a){return new (a||x3)};x3.\u0275mod=Zi({type:x3});x3.\u0275inj=Eg({imports:[jC,oL,MX,gO,nO,XN,IM,FI,OZ,PQ]});var wcd=function(){this.issueId="";this.packageMentionSet={packageName:"",fileMentionSet:[]};this.displayPackageName=!1};wcd.\u0275fac=function(a){return new (a||wcd)};
wcd.\u0275cmp=F({type:wcd,selectors:[["b-package-mentions-listing"]],inputs:{issueId:"issueId",packageMentionSet:"packageMentionSet",displayPackageName:"displayPackageName"},standalone:!1,decls:5,vars:1,consts:[[1,"bv2-package-mention-set"],[1,"bv2-package-mention-set-package-name"],[3,"issueId","packageName","filename","lineNumbers","changeNumber"]],template:function(a,b){a&1&&(L(0,"div",0),I(1,CKb,2,1,"p",1),L(2,"ul"),Mj(3,DKb,2,5,"li",null,Lj),M()());a&2&&(E(),J(b.displayPackageName?1:-1),E(2),
Nj(b.packageMentionSet.fileMentionSet))},dependencies:[p3],encapsulation:2});var y3=function(){};y3.\u0275fac=function(a){return new (a||y3)};y3.\u0275mod=Zi({type:y3});y3.\u0275inj=Eg({imports:[jC,q3]});var z3=function(){};z3.\u0275fac=function(a){return new (a||z3)};z3.\u0275mod=Zi({type:z3});z3.\u0275inj=Eg({imports:[jC,FG,FI,HI,pO,UL,zU]});var A3=function(){this.activeSession=x(Ks)};A3.prototype.ngOnInit=function(){};var xcd=function(a){var b=window.location.href;b=b.replace(/\/u\/(\d+)\//,"/");a.trackerInternalBaseUrl&&a.trackerExternalBaseUrl&&(b=b.replace(a.trackerInternalBaseUrl,a.trackerExternalBaseUrl));return b};A3.\u0275fac=function(a){return new (a||A3)};
A3.\u0275cmp=F({type:A3,selectors:[["b-tracker-account-menu-hack"]],inputs:{trackerInternalBaseUrl:"trackerInternalBaseUrl",trackerExternalBaseUrl:"trackerExternalBaseUrl"},standalone:!1,decls:11,vars:4,consts:[["accountHackMenu","matMenu"],["type","button","aria-label","Open account menu",1,"tracker-account-hack-button",3,"matMenuTriggerFor"],["xPosition","before"],[1,"padded-s-x","text-center"],[1,"padded-s-y"],["mat-menu-item","",3,"href"]],template:function(a,b){a&1&&(N(0,"button",1),L(1,"mat-menu",
2,0)(3,"div",3),I(4,EKb,2,1,"div",4),N(5,"hr"),L(6,"a",5),U(7,"Switch accounts"),M(),N(8,"hr"),L(9,"a",5),U(10,"Sign out of all accounts"),M()()());a&2&&(a=T(2),K("matMenuTriggerFor",a),E(4),J(b.activeSession.getUserEmail()?4:-1),E(2),K("href","https://accounts.google.com/AccountChooser?hl=en&osid=1&continue="+encodeURIComponent(xcd(b)),Ni),E(3),K("href","https://accounts.google.com/Logout?hl=en&continue="+encodeURIComponent(xcd(b)),Ni))},dependencies:[FL,mK,kK,pK],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}"]});var B3=function(){Z.apply(this,arguments);this.trackerCheckboxValues={}};Y(B3,Z);B3.\u0275dir=Z.\u0275dir;B3.prototype.ngOnChanges=function(a){if(a.currentTrackerId){this.trackerCheckboxValues={};var b;a=l((b=this.availableTrackers)!=null?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 ycd=function(a){return Object.keys(Sc(a.trackerCheckboxValues,function(b){return b}))};
B3.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(B3)))(b||B3)}}();
B3.\u0275cmp=F({type:B3,selectors:[["b-tracker-search"]],inputs:{currentTrackerId:"currentTrackerId",availableTrackers:"availableTrackers"},standalone:!1,features:[xj,$w],decls:9,vars:3,consts:[[1,"bv2-tracker-search"],[1,"bv2-adv-search-rule","bv2-adv-tracker-search-rule"],[1,"bv2-adv-tracker-search-rule-title"],[1,"bv2-adv-tracker-search-rule-error"],[1,"bv2-adv-search-enum-rule"],[1,"bv2-adv-search-enum-item"],["gmat-checkbox","",3,"change","checked"]],template:function(a,b){a&1&&(L(0,"div",0)(1,
"div",1)(2,"div",2)(3,"span"),U(4,"Select a tracker"),M(),I(5,FKb,2,0,"span",3),M(),L(6,"div",4),Mj(7,GKb,3,2,"div",5,Lj),M()()());a&2&&(rk("hidden",!(b.availableTrackers&&b.availableTrackers.length>1)),E(5),J(ycd(b).length!==0?-1:5),E(2),Nj(b.availableTrackers))},dependencies:[aG,HG],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 C3=function(){var a=x(EB),b=x(TO);Z.call(this);var c=this;this.analytics=x(nE);this.location=x(hL);this.prefsManager=x(NF);this.domSafe=x(SF);this.prefsManager.preferences$.pipe(tj(this.destroyed$)).subscribe(function(d){c.prefs=d});a.topBarEvents.browseComponents.pipe(tj(this.destroyed$)).subscribe(function(d){d=d.newTab;zcd(c,Hq.listComponents.makeHref(),d)});a.topBarEvents.manageHotlists.pipe(tj(this.destroyed$)).subscribe(function(d){d=d.newTab;zcd(c,Hq.listHotlists.makeHref(),d)});a.topBarEvents.manageSlos.pipe(tj(this.destroyed$)).subscribe(function(d){d=
d.newTab;zcd(c,Hq.listSlos.makeHref(),d)});a.topBarEvents.setDensity.pipe(tj(this.destroyed$)).subscribe(function(d){c.setDensity(d)});a.topBarEvents.openSettings.pipe(tj(this.destroyed$)).subscribe(function(d){var e=d.newTab;zcd(c,b.settings(d.settingsTabName),e)})};Y(C3,Z);C3.\u0275dir=Z.\u0275dir;var zcd=function(a,b,c){c?a.domSafe.openInNewTab(b):a.location.setUrl(b)};
C3.prototype.setDensity=function(a){this.prefs.themePreferences&&(this.prefs.themePreferences.density=a,this.prefsManager.save(this.prefs).pipe(hj(1),tj(this.destroyed$)).subscribe(),this.analytics.trackEvent("preferences","setDisplayDensity",a))};C3.\u0275fac=function(a){return new (a||C3)};C3.\u0275prov=Dg({token:C3,factory:C3.\u0275fac,providedIn:"root"});var Acd=function(){this.hideAppChromeHelper=x(YY);this.destroyRef=x(Cj);this.cdr=x(sx);this.router=x($B);this.activatedRoute=x(Zn);this.navigationEnd$=this.router.events.pipe(Di(CGa));this.hideAppChrome=this.hideAppChromeHelper.hideAppChrome};Acd.\u0275fac=function(a){return new (a||Acd)};
Acd.\u0275cmp=F({type:Acd,selectors:[["b-top-bar-outlet"]],standalone:!1,decls:1,vars:1,template:function(a,b){a&1&&I(0,HKb,1,0,"b-top-bar-outlet-body");a&2&&J(b.hideAppChrome?-1:0)},dependencies:function(){return[D3]},encapsulation:2});
var D3=function(){Z.call(this);var a=this;this.activeSession=x(Ks);this.searchAcData=x(v1);this.savedSearchApi=x(HC);this.butterBar=x(MA);this.bLocation=x(hL);this.paths=x(TO);this.analytics=x(nE);this.appEvents=x(EB);this.appSearchState=x(hK);this.trackerFridge=x(vF);this.errorHandler=x(PA);x(C3);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType();this.items=[];this.acHeader=null;this.currentQuery="";this.enableTrackersAccountHack=
Cx(this.activeSession,"enableTrackersAccountHack");this.currentTracker=this.activeSession.getTracker();this.associatedTrackers$=wi(function(){var b,c;return li((c=(b=a.currentTracker)==null?void 0:b.associatedTrackerIds)!=null?c:[])}).pipe(sj(function(b){return a.trackerFridge.watchSet(b)}));this.availableTrackers$=this.associatedTrackers$.pipe(C(function(b){return a.currentTracker?[a.currentTracker].concat(p(b)):[]}));this.searchAcData.acRefreshed$.pipe(tj(this.destroyed$)).subscribe(function(){a.items=
a.searchAcData.items;a.acHeader=a.searchAcData.acHeader});this.trackerFridge.error$.pipe(tj(this.destroyed$)).subscribe(function(b){b.status!==403&&a.errorHandler.errorHandler(null,b)})};Y(D3,Z);D3.\u0275dir=Z.\u0275dir;var Bcd=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"}};
D3.prototype.ngOnInit=function(){var a=this;this.appSearchState.queryState$.pipe(tj(this.destroyed$)).subscribe(function(c){var d=a.searchAcData,e=c.cursorPosition;d.query=c.query;d.cursorIdx=e;if(d.cursorIdx==null)d.currentSearchContext=null;else{var f=d.query,h=d.cursorIdx;if(h<0||h>f.length)throw Error("ff");e=new p$c(f,h);if(f){var k=f.slice(0,h);for(var q=!1,u=-1,A=-1;(u=k.indexOf('"',u+1))>-1;)q=!q,A=u;k=q?A:-1;if(k>-1)e.value={val:f.slice(k,h),idx:k};else if(k=f.slice(h),q=k.search("\\s"),
(k=TDb(f.slice(0,h)+(q>-1?k.slice(0,q):k),t$c))?(k={negated:!!k[1],val:k[2].toLowerCase(),operator:k[3],idx:k.index-k[1].length-k[2].length-k[3].length},k.val.startsWith("customfield")&&(k.customFieldId=k.val.slice(11),k.val="customfield")):k=null,k){q=k.idx+(k.negated?1:0)+k.val.length+k.operator.length+(k.customFieldId?k.customFieldId.length:0);f=f.slice(q);u=Math.max(h-q,0);A=k;if(f.charAt(0)==="("){b:{A=[];for(var D=/[()]/g,H;(H=D.exec(f))!=null;){var O=A[A.length-1];if(O&&O!==H[0]){if(A.pop(),
!A.length){A=H.index>=u;break b}}else A.push(H[0])}A=!0}A=A?2:0}else A=q$c.includes(A.val)&&f.search("^\\d")===-1?1:0;switch(A){case 2:h=q$c.includes(k.val)?ks(f,u,"([()|]\\s*|OR\\s+|AND\\s+|NOT\\s+|-|\\b\\d+\\s+)","[()|\\s-]"):ks(f,u,"[()|\\s-]");/(OR|AND|NOT|-)$/.test(h.val)&&(h.val="",h.idx=u);e.value=h;break;case 1:e.value=ks(f,u,"[()|]","[()|,\\s]");break;case 0:e.value=ks(f,u,"[\\s()|]");f.slice(0,u).search("[\\s()|]")>-1&&(k=null,u=TDb(f,"(?:\\s|^)(?:-?)(customfield|cf)"))&&(e.value=SDb(f,
u.index-u[1].length,h));break;default:qb(A,"unknown ValueType.")}e.value.idx+=q;e.label=k}else k=TDb(f,"(?:\\s|^)(?:-?)(customfield|cf)"),e.value=k?SDb(f,k.index-k[1].length,h):ks(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(C(function(c){return c.query}));this.appSearchState.searchTriggered$.pipe(vj(b),
tj(this.destroyed$)).subscribe(function(c){c=l(c);var d=c.next().value;c=c.next().value;var e=a.appSearchState;d=d===void 0?"":d;var f=cPa(c),h=f.filters,k=f.text,q=f.complexSyntax,u=f.resourceIds;f=[h,k,u].reduce(Zf);h=[h?"filters":void 0,k?"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=Aa(e.searchHandlerStack);d===void 0?e.$log.warn("No search function installed."):d(c)})};
D3.prototype.ngAfterViewInit=function(){Dbd(this.advancedSearchCtrl,this.appSearchState.currentQuery)};var Ccd=function(a){if(a.advancedSearchCtrl)return a.advancedSearchCtrl.getState()!=="SUCCESS"?a.currentQuery:Kbd(a.advancedSearchCtrl).trim()};g=D3.prototype;g.onAdvancedSearchOpen=function(){this.advancedSearchCtrl&&(Ccd(this)!==this.currentQuery||this.advancedSearchCtrl.getState()!=="SUCCESS")&&Dbd(this.advancedSearchCtrl,this.currentQuery)};
g.onAdvancedSearchClose=function(){var a,b;this.appSearchState.selectedTrackerIds$.next((b=(a=this.trackerSearchCtrl)==null?void 0:ycd(a))!=null?b:[]);this.advancedSearchCtrl&&(a=Ccd(this),a!==void 0&&a!==this.currentQuery&&this.appSearchState.queryState$.next({query:a,cursorPosition:void 0,setViaInteraction:!1}))};
g.submitAdvancedSearch=function(){var a,b;this.appSearchState.selectedTrackerIds$.next((b=(a=this.trackerSearchCtrl)==null?void 0:ycd(a))!=null?b:[]);this.advancedSearchCtrl&&(a=Ccd(this),a!==void 0&&(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=Ccd(this);c!==void 0&&(hq(this.butterBar,"Saving saved search.",1E3),this.savedSearchApi.create(a,c).then(function(d){b.appEvents.savedSearchModified.next();d=d.searchId;hq(b.butterBar,"Created saved search '"+a+"' ID "+d+".");b.bLocation.setUrl(b.paths.viewSavedSearch(d));b.analytics.trackEvent("savedSearches","create")}).catch(function(d){b.butterBar.showWarning(on(d))}))}};
g.isSearchDisabled=function(){return!!this.trackerSearchCtrl&&ycd(this.trackerSearchCtrl).length===0};D3.\u0275fac=function(a){return new (a||D3)};
D3.\u0275cmp=F({type:D3,selectors:[["b-top-bar-outlet-body"]],viewQuery:function(a,b){a&1&&(ek(o2,5),ek(B3,5));if(a&2){var c;ik(c=jk())&&(b.advancedSearchCtrl=c.first);ik(c=jk())&&(b.trackerSearchCtrl=c.first)}},standalone:!1,features:[xj],decls:7,vars:12,consts:[[3,"searchBoxOnAdvancedSearchOpen","searchBoxOnAdvancedSearchClose","searchBoxOnAdvancedSearchSubmit","searchBoxOnSaveSearch","logoFrontendAccessMode","logoEnvironmentType","searchBoxPlaceholder","searchBoxAutoCompleteItems","searchBoxAutoCompleteHeader",
"isSearchDisabled"],[3,"currentTrackerId","availableTrackers"],[3,"isTrackerSearchEnabled"],[1,"bv2-view-loading"],[1,"bv2-validation-error-banner"],[3,"trackerInternalBaseUrl","trackerExternalBaseUrl"],[1,"warning-container"],["svgIcon","alert"]],template:function(a,b){a&1&&(L(0,"b-app-top-bar",0),Q("searchBoxOnAdvancedSearchOpen",function(){return b.onAdvancedSearchOpen()})("searchBoxOnAdvancedSearchClose",function(){return b.onAdvancedSearchClose()})("searchBoxOnAdvancedSearchSubmit",function(){return b.submitAdvancedSearch()})("searchBoxOnSaveSearch",
function(c){return b.saveSearch(c)}),I(1,IKb,2,4,"b-tracker-search",1),N(2,"b-advanced-search",2),I(3,JKb,4,0,"div",3),I(4,MKb,3,2,"div",4),I(5,NKb,2,0,"div",4),M(),I(6,OKb,1,2,"b-tracker-account-menu-hack",5));a&2&&(K("logoFrontendAccessMode",b.frontendAccessMode)("logoEnvironmentType",b.environmentType)("searchBoxPlaceholder",Bcd(b,b.currentTracker))("searchBoxAutoCompleteItems",b.items)("searchBoxAutoCompleteHeader",b.acHeader)("isSearchDisabled",b.isSearchDisabled()),E(),J(b.currentTracker?1:
-1),E(),K("isTrackerSearchEnabled",!b.currentTracker),E(),J((b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="INIT"?3:-1),E(),J((b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="NOT_REPRESENTABLE"||(b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="SYNTAX_ERROR"?4:-1),E(),J((b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="SERVER_ERROR"?5:-1),E(),J(b.enableTrackersAccountHack&&!b.activeSession.isAnonymous()&&b.currentTracker?
6:-1))},dependencies:[EA,o2,B3,Zbd,lL,A3,py],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 E3=function(){};E3.\u0275fac=function(a){return new (a||E3)};E3.\u0275mod=Zi({type:E3});E3.\u0275inj=Eg({imports:[jC,SL]});var F3=function(){};F3.\u0275fac=function(a){return new (a||F3)};F3.\u0275mod=Zi({type:F3});F3.\u0275inj=Eg({imports:[jC,q2,E3,H2,oL,IL]});var G3=function(){this.dialogRef=x(YH);this.data=x(dI);this.updateDiffs=this.data.updateDiffs;this.userToDisplay=Gd;this.DiffType=Vic};G3.prototype.close=function(){this.dialogRef.close()};G3.\u0275fac=function(a){return new (a||G3)};
G3.\u0275cmp=F({type:G3,selectors:[["b-update-history-modal"]],standalone:!1,decls:7,vars:0,consts:[["mat-dialog-content","",1,"update-history-modal"],["tabindex","0",1,"update-history-list"],[1,"bv2-event"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium",3,"click"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"bv2-event-content-cell"],[1,"bv2-event-user-name",3,"user"],[1,"bv2-event-info"],["mode","datetime",3,"timestamp"],[1,"bv2-event-details"],
[1,"bv2-diff-detail"],[1,"bv2-diff-arrow"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"ul",1),Mj(2,YKb,11,3,"li",2,Lj),M()(),L(4,"div",3)(5,"button",4),Q("click",function(){return b.close()}),U(6," Close "),M()());a&2&&(E(2),Nj(b.updateDiffs))},dependencies:[dA,aA,jI,iI,SM,QM,tN],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;word-break:break-word}h4[_ngcontent-%COMP%]{margin:0;margin-bottom:8px;font-weight:normal}"]});var H3=function(){};H3.\u0275fac=function(a){return new (a||H3)};H3.\u0275mod=Zi({type:H3});H3.\u0275inj=Eg({imports:[jC,FI,HI,cN,yN]});var I3=function(){this.paths=x(TO);this.bLocation=x(hL)};I3.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());var b=a.elementId;a=Jq(a.issueId)+(b?"#"+b:"");this.bLocation.setUrl(a)};I3.\u0275fac=function(a){return new (a||I3)};I3.\u0275prov=Dg({token:I3,factory:I3.\u0275fac,providedIn:"root"});var Dcd={provide:uH,useExisting:I3};var Ecd=function(){var a;switch((a=self.location)==null?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 "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 J3=function(a){Ix.call(this);this.errorHandlerFn_=a};Lu(J3,Ix);J3.prototype.wrap=function(a){return Fcd(this,a)};var K3=function(a,b){return(b?"__wrapper_":"__protected_")+Haa(a)+"__"},Fcd=function(a,b){var c=K3(a,!0);b[c]||((b[c]=Gcd(a,b))[K3(a,!1)]=b);return b[c]},Gcd=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[K3(a,!1)]=b;return c};
J3.prototype.handleError_=function(a){if(!(a&&typeof a==="object"&&typeof a.message==="string"&&a.message.indexOf("Error in protected function: ")==0||typeof a==="string"&&a.indexOf("Error in protected function: ")==0))throw this.errorHandlerFn_(a),new Hcd(a);};
var Icd=function(a,b){var c=da.window||da.globalThis,d=c[b];if(!d)throw Error("kf`"+b);c[b]=function(e,f){typeof e==="string"&&(e=Ku(Adc,e));e&&(arguments[0]=e=Fcd(a,e));if(d.apply)return d.apply(this,arguments);var h=e;if(arguments.length>2){var k=Array.prototype.slice.call(arguments,2);h=function(){e.apply(this,k)}}return d(h,f)};c[b][K3(a,!1)]=d};
J3.prototype.disposeInternal=function(){var a=da.window||da.globalThis;var b=a.setTimeout;b=b[K3(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[K3(this,!1)]||b;a.setInterval=b;J3.superClass_.disposeInternal.call(this)};var Hcd=function(a){ba.call(this,"Error in protected function: "+(a&&a.message?String(a.message):String(a)),a);(a=a&&a.stack)&&typeof a==="string"&&(this.stack=a)};Lu(Hcd,ba);var Kcd=function(a,b,c){st.call(this);this.contextProvider_=b||null;this.additionalArguments_={};this.xhrSender_=Jcd;this.handlerUrl_=a;if(!c){this.errorHandler_=null;this.errorHandler_=new J3(ut(this.handleException,this));Icd(this.errorHandler_,"setTimeout");Icd(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&&Icd(a,
e)}a=this.errorHandler_;Ogc=!0;b=ut(a.wrap,a);for(c=0;c<Mgc.length;c++)Mgc[c](b);Ngc.push(a)}};Lu(Kcd,st);var Lcd=function(a,b){Jx.call(this,"r");this.error=a;this.context=b};Lu(Lcd,Jx);var Jcd=function(a,b,c,d){if(d instanceof Map){var e={};d=l(d);for(var f=d.next();!f.done;f=d.next()){var h=l(f.value);f=h.next().value;h=h.next().value;e[f]=h}}else e=d;j4a(a,null,b,c,e)};
Kcd.prototype.handleException=function(a,b){a=a.error||a;b=b?Wc(b):{};a instanceof Error&&Xda(b,a.__closure__error__context__984382||{});var c=dgc(a);if(this.contextProvider_)try{this.contextProvider_(c,b)}catch(e){}var d=c.message.substring(0,1900);a instanceof ba&&!a.reportErrorToServer||Mcd(this,d,c.fileName,c.lineNumber,c.stack,b);try{this.dispatchEvent(new Lcd(c,b))}catch(e){}};
var Mcd=function(a,b,c,d,e,f){try{var h=zXa(a.handlerUrl_,"script",c,"error",b,"line",d);Tc(a.additionalArguments_)||(h=BXa(h,a.additionalArguments_));b={};b.trace=e;if(f)for(var k in f)b["context."+k]=f[k];var q=Emc(b);a.xhrSender_(h,"POST",q,a.extraHeaders_)}catch(u){}};Kcd.prototype.disposeInternal=function(){Wk(this.errorHandler_);Kcd.superClass_.disposeInternal.call(this)};var L3=function(){this.jsBuild="819829613";this.buildLabel="buganizer.frontend_20251015.05_p0"};L3.\u0275fac=function(a){return new (a||L3)};L3.\u0275prov=Dg({token:L3,factory:L3.\u0275fac,providedIn:"root"});var M3=function(){};M3.prototype.reportingEnabled=function(){return Ecd!==4};M3.\u0275fac=function(a){return new (a||M3)};M3.\u0275prov=Dg({token:M3,factory:M3.\u0275fac,providedIn:"root"});
var N3=function(){var a=this;this.appContext=x(M3);this.context={};this.reportingExtensions=[];var b=x(L3);this.jsDebugErrorReporter=new Kcd("/jserror",function(c,d){d.js_build=b.jsBuild;d.buildLabel=b.buildLabel;d["build-label"]=b.buildLabel;c=l(a.reportingExtensions);for(var e=c.next();!e.done;e=c.next())e.value.enhanceContext(d)},!0)},Ncd=function(a,b){b="Error: "+b;console.error("ErrorReporter: ",b);if(a.appContext.reportingEnabled())try{throw Error(b);}catch(c){for(ZKb(c),Mcd(a.jsDebugErrorReporter,
b,c.fileName,c.lineNumber,c.stack,a.context),a=l(a.reportingExtensions),b=a.next();!b.done;b=a.next())b.value.onReportedError()}};N3.prototype.reportError=function(a){console.error("ErrorReporter: ",(a==null?void 0:a.stack)||a);if(this.appContext.reportingEnabled()){ZKb(a);this.jsDebugErrorReporter.handleException(a);a=l(this.reportingExtensions);for(var b=a.next();!b.done;b=a.next())b.value.onReportedError()}};N3.\u0275fac=function(a){return new (a||N3)};
N3.\u0275prov=Dg({token:N3,factory:N3.\u0275fac,providedIn:"root"});var O3=function(){this.reporter=x(N3)};
O3.prototype.handleError=function(a){if(nn(a))if(a.status===400)var b=!1;else{var c;b=Math.floor(((c=a.status)!=null?c:0)/100)===4}else b=a instanceof Error&&a.message.includes("queueMicrotask is not defined")?!0:!1;if(b)me("omitting eye3 reporting of",a);else if(typeof a==="string")Ncd(this.reporter,a);else if(a instanceof Error||!nn(a)){b=dgc(a);var d,e;this.reporter.reportError(Object.assign({},b,{name:(d=b.name)!=null?d:"UnknownError",message:(e=b.message)!=null?e:String(a)}))}else Ncd(this.reporter,
on(a))};O3.\u0275fac=function(a){return new (a||O3)};O3.\u0275prov=Dg({token:O3,factory:O3.\u0275fac,providedIn:"root"});var P3=function(){this.activeSession=x(Ks)};Y(P3,M3);P3.prototype.reportingEnabled=function(){return Cx(this.activeSession,"reportErrors")};P3.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(P3)))(b||P3)}}();P3.\u0275prov=Dg({token:P3,factory:P3.\u0275fac,providedIn:"root"});
var Ocd={provide:kx,useClass:O3},Pcd={provide:M3,useClass:P3},Qcd={provide:L3,useValue:{jsBuild:"819829613",buildLabel:"buganizer.frontend_20251015.05_p0"}};var Q3=function(){};Q3.\u0275fac=function(a){return new (a||Q3)};Q3.\u0275cmp=F({type:Q3,selectors:[["b-empty"]],standalone:!1,decls:0,vars:0,template:function(){},encapsulation:2});var R3=function(){};R3.\u0275fac=function(a){return new (a||R3)};R3.\u0275mod=Zi({type:R3});R3.\u0275inj=Eg({});var S3=function(){};Y(S3,WB);S3.prototype.store=function(){};S3.prototype.retrieve=function(){return null};S3.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig&&vd(a.params,b.params)};S3.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(S3)))(b||S3)}}();S3.\u0275prov=Dg({token:S3,factory:S3.\u0275fac,providedIn:"root"});var T3=function(){this.router=x($B)};T3.prototype.canActivate=function(a,b){return b.url.includes("#ISSUE_HistoryHeader")?(b=l(b.url.split("#ISSUE_HistoryHeader")),a=b.next().value,b=b.next().value,aC(this.router,[a],{fragment:b&&!isNaN(Number(b))?"comment"+b:void 0})):b.url==="/attention"?aC(this.router,["home"]):!0};T3.\u0275fac=function(a){return new (a||T3)};T3.\u0275prov=Dg({token:T3,factory:T3.\u0275fac,providedIn:"root"});var Rcd=/^(\d+)$/,U3=function(){this.butterBar=x(MA);this.paramNamesToCheck=new Set(Object.values(Prc))};U3.prototype.validate=function(a){for(var b=l(Object.keys(a)),c=b.next();!c.done;c=b.next())if(c=c.value,this.paramNamesToCheck.has(c)){var d=a[c],e=$k(d);if(!Rcd.test(d)||isNaN(e)||!Number.isInteger(e))return this.butterBar.showWarning("The URL parameter "+c+' has the malformed value "'+d+'".'),!1}return!0};U3.\u0275fac=function(a){return new (a||U3)};
U3.\u0275prov=Dg({token:U3,factory:U3.\u0275fac,providedIn:"root"});var V3=function(){this.routeParamsValidator=x(U3)};V3.prototype.canActivate=function(a){return this.routeParamsValidator.validate(a.params)};V3.\u0275fac=function(a){return new (a||V3)};V3.\u0275prov=Dg({token:V3,factory:V3.\u0275fac,providedIn:"root"});var W3=function(){this.activeSession=x(Ks);this.router=x($B)};W3.prototype.canActivate=function(){return this.activeSession.isAnonymous()?aC(this.router,["issues"]):!0};W3.\u0275fac=function(a){return new (a||W3)};W3.\u0275prov=Dg({token:W3,factory:W3.\u0275fac,providedIn:"root"});var X3=function(){this.activeSession=x(Ks);this.router=x($B)};X3.prototype.canActivate=function(){return this.activeSession.isInternalSession()||Cx(this.activeSession,"enableMissionControlInExternalEnvironments")?!0:aC(this.router,["issues"])};X3.\u0275fac=function(a){return new (a||X3)};X3.\u0275prov=Dg({token:X3,factory:X3.\u0275fac,providedIn:"root"});var Y3=function(){this.userPreferences=x(NF);this.activeSession=x(Ks)},Scd=function(a){var b=a.activeSession.isInternalSession()||Cx(a.activeSession,"enableMissionControlInExternalEnvironments");a=up(a.userPreferences.homepagePreferences$);if(b&&(a==null||Object.keys(a).length===0||(a==null?void 0:a.resourceType)==="MISSION_CONTROL"))return"/home";if((a==null?void 0:a.resourceType)==="ASSIGNED_TO_ME"||a==null||!a.resourceId)return"/issues";switch(a.resourceType){case "BOOKMARK_GROUP":return"/dashboard/"+
a.resourceId;case "SAVED_SEARCH":return"/savedsearches/"+a.resourceId;case "HOTLIST":return"/hotlists/"+a.resourceId;default:return"/issues"}};Y3.\u0275fac=function(a){return new (a||Y3)};Y3.\u0275prov=Dg({token:Y3,factory:Y3.\u0275fac,providedIn:"root"});var Z3=function(){this.router=x($B);this.homepageRedirection=x(Y3)};Z3.prototype.canActivate=function(){return aC(this.router,[Scd(this.homepageRedirection)])};Z3.\u0275fac=function(a){return new (a||Z3)};Z3.\u0275prov=Dg({token:Z3,factory:Z3.\u0275fac,providedIn:"root"});var Tcd={ANDROID:"Android",CHROME:"ChromeOS",IOS:"iOS",LINUX:"Linux",MAC:"Mac",UNKNOWN:"Unknown",WINDOWS:"Windows"};var Occ={default:"1363614",apps:"1456886",blink:"1456407",devtools:"1457055",enterprise:"1456152",extensions:"1456110",installer:"1456937",media:"1456190",network:"1456527",sync:"1457192",ui:"1457123",webstore:"1457238"},Ncc={default:"402888",apps:"422083",blink:"421442",devtools:"422123",enterprise:"421726",extensions:"422130",installer:"421863",media:"421886",network:"421924",sync:"422168",ui:"422198",webstore:"422443"},Ucd=["media-bugs@chromium.org"],Vcd=["chrome-sync-monorail@google.com"];var Wcd={USER:"USER",DEVELOPER:"DEVELOPER",VULN_REPORTER:"VULN_REPORTER",CONTRIBUTOR:"CONTRIBUTOR"},Xcd={INPUT:"INPUT",TEXT:"TEXT",SELECT:"SELECT"},Ycd=new kh("CustomQuestionsConfig"),Zcd=new kh("ComponentIds"),$cd=new kh("CustomFieldIds"),add=new kh("HotlistIds");var a4=function(){this.componentIds=x(Zcd);this.persona="USER";this.categoryChange=new iE;var a={};this.options=(a.USER=[{title:"UI",description:"Problems with the user interface (e.g. tabs, context menus, etc...)",value:"UI",componentId:this.componentIds.ui},{title:"Network / Downloading",description:"Problems with accessing remote content",value:"NETWORK_DOWNLOADING",componentId:this.componentIds.network},{title:"Audio / Video",description:"Problems playing back sound or movies",value:"AUDIO_VIDEO",
componentId:this.componentIds.media,ccEmails:Ucd},{title:"Content",description:"Problems with webpages not working correctly",value:"CONTENT"},{title:"Extensions / Themes",description:"Issues with Webstore extensions and themes",value:"EXTENSIONS_THEMES",componentId:this.componentIds.extensions},{title:"Webstore",description:"Problems with the Chrome Webstore itself",value:"WEBSTORE",componentId:this.componentIds.webstore},{title:"Sync",description:"Problems syncing data to a Google account",value:"SYNC",
componentId:this.componentIds.sync,ccEmails:Vcd},{title:"Enterprise",description:"Policy configuration and deployment issues",value:"ENTERPRISE",componentId:this.componentIds.enterprise},{title:"Installation",description:"Problem installing Chrome",value:"INSTALLATION",componentId:this.componentIds.installer},{title:"Crashes",description:'The browser closes abruptly or I see "Aw, Snap!" pages',value:"CRASHES"},{title:"Other",description:"Something not listed here",value:"OTHER"}],a.DEVELOPER=[{title:"API",
description:"Problems with a browser API",value:"API",componentId:this.componentIds.blink},{title:"JavaScript",description:"Problems with the JavaScript interpreter",value:"JAVASCRIPT",componentId:this.componentIds.blink},{title:"Developer Tools",description:"Problems with the Developer tool chain/inspector",value:"DEV_TOOLS",componentId:this.componentIds.devtools}],a.VULN_REPORTER=[{title:"Security",description:"Problems with the browser security",value:"SECURITY"}],a.CONTRIBUTOR=[],a)};
a4.prototype.ngOnChanges=function(a){var b=this;a.persona&&a.persona.currentValue==="VULN_REPORTER"&&setTimeout(function(){b.category=b.options.VULN_REPORTER[0];b.categoryChange.emit(b.category)})};a4.\u0275fac=function(a){return new (a||a4)};
a4.\u0275cmp=F({type:a4,selectors:[["wizard-category-select"]],inputs:{persona:"persona",category:"category"},outputs:{categoryChange:"categoryChange"},standalone:!1,features:[$w],decls:6,vars:2,consts:[["appearance","outline","aria-label","Which of the following describes your issue?"],["aria-label","Choose issue category",3,"valueChange","value"],[1,"multiline",3,"value"],[1,"description"]],template:function(a,b){a&1&&(L(0,"mat-form-field",0)(1,"mat-select",1),Q("valueChange",function(d){b.category=
d;b.categoryChange.emit(b.category)}),L(2,"mat-select-trigger"),U(3),M(),Mj(4,aLb,5,3,"mat-option",2,Lj),M()());if(a&2){E();K("value",b.category);E(2);var c;V(" ",(c=b.category==null?null:b.category.title)!=null?c:""," ");E();Nj(b.options[b.persona])}},dependencies:[eH,TL,VL,WL,XL,Vz],styles:["mat-option.multiline[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:400;line-height:1.5em;height:5em}mat-option.multiline[_ngcontent-%COMP%]   .description[_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)}mat-form-field[_ngcontent-%COMP%]{min-width:300px}\n/*# sourceMappingURL=category_select.css.map */"]});var bLb=function(a){return{question:a}},b4=function(){this.config=x(Ycd);this.CustomQuestionType=Xcd;this.responses=new iE;this.model=Object.assign({},this.config)};b4.prototype.ngOnInit=function(){};var hLb=function(a){var b=a.model[a.category].filter(function(c){return!!c.response});a.responses.emit(b)};b4.\u0275fac=function(a){return new (a||b4)};
b4.\u0275cmp=F({type:b4,selectors:[["wizard-custom-questions"]],inputs:{category:"category"},outputs:{responses:"responses"},standalone:!1,decls:10,vars:0,consts:[["customQuestion",""],["input",""],["text",""],["select",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHtml"],["appearance","outline"],["matInput","",3,"ngModelChange","ngModel"],["appearance","outline",1,"textarea"],["required","",3,"valueChange","value"],[3,"value"]],template:function(a,b){a&1&&(Mj(0,cLb,1,4,"ng-container",
4,Lj),G(2,gLb,3,1,"ng-template",null,0,Gk)(4,iLb,3,3,"ng-template",null,1,Gk)(6,jLb,4,3,"ng-template",null,2,Gk)(8,nLb,6,4,"ng-template",null,3,Gk));a&2&&Nj(b.model[b.category])},dependencies:[oy,Bp,hG,oG,oO,mH,eH,TL,VL,WL,Vz],styles:['[_nghost-%COMP%]   h2[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:2rem;font-size:1.5rem;letter-spacing:0;font-weight:400}[_nghost-%COMP%]   h4[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0;font-weight:400;font-weight:100;margin:0}[_nghost-%COMP%]   h4.required[_ngcontent-%COMP%]:after{content:" *";color:#ea4335;color:var(--bad)}[_nghost-%COMP%]   mat-form-field.textarea[_ngcontent-%COMP%]{min-width:90%}[_nghost-%COMP%]   textarea[_ngcontent-%COMP%]{min-height:4rem;padding:4px 1px 1px 7px}[_nghost-%COMP%]   mat-form-field[_ngcontent-%COMP%]{margin:4px 0}[_nghost-%COMP%]   mat-form-field.inline[_ngcontent-%COMP%]{margin:4px 8px}mat-form-field[_ngcontent-%COMP%]{min-width:500px}\n/*# sourceMappingURL=custom_questions.css.map */']});var bdd=function(){this.Persona=Wcd;this.persona="USER";this.personaChange=new iE};bdd.\u0275fac=function(a){return new (a||bdd)};
bdd.\u0275cmp=F({type:bdd,selectors:[["wizard-persona-picker"]],inputs:{persona:"persona"},outputs:{personaChange:"personaChange"},standalone:!1,decls:18,vars:5,consts:[["aria-label","Select your following role",3,"ngModelChange","ngModel"],[3,"value"],[1,"subtext"],[1,"vuln-reporter",3,"value"]],template:function(a,b){a&1&&(L(0,"div")(1,"mat-radio-group",0),Q("ngModelChange",function(c){b.persona=c;b.personaChange.emit(b.persona)}),L(2,"mat-radio-button",1),U(3," End User "),L(4,"div",2),U(5," I am trying to use a website. "),
M()(),L(6,"mat-radio-button",1),U(7," Web Developer "),L(8,"div",2),U(9," I am trying to build something on a website. "),M()(),L(10,"mat-radio-button",3),U(11," Vulnerability Reporter "),L(12,"div",2),U(13," I am reporting a possible security vulnerability. "),M()(),L(14,"mat-radio-button",1),U(15," Chromium Contributor "),L(16,"div",2),U(17," I know about a problem in specific tests or code. "),M()()()());a&2&&(E(),K("ngModel",b.persona),E(),K("value",b.Persona.USER),E(4),K("value",b.Persona.DEVELOPER),
E(4),K("value",b.Persona.VULN_REPORTER),E(4),K("value",b.Persona.CONTRIBUTOR))},dependencies:[hG,oG,qK,rK],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     mat-radio-button .mat-internal-form-field{-webkit-box-align:baseline;-webkit-align-items:baseline;-moz-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}mat-radio-group[_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}@media (min-width:960px){mat-radio-group[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr}}mat-radio-button[_ngcontent-%COMP%]{border-bottom:2px solid;border-bottom-color:#dadce0;border-bottom-color:var(--c300);font-family:Google Sans,Roboto,Arial,sans-serif;line-height:2rem;font-size:1.5rem;letter-spacing:0;font-weight:400;max-width:270px;height:90px;padding:16px;white-space:nowrap}mat-radio-button[_ngcontent-%COMP%]   .subtext[_ngcontent-%COMP%]{font-size:.9rem;line-height:1.2rem;min-height:48px;margin-top:12px;text-wrap:wrap}\n/*# sourceMappingURL=persona_picker.css.map */"]});var cdd=new kh("GM2_CARD_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var ddd=function(a){this.options=a;if(a.disableGmatStyle)throw Error("Mb");};ddd.\u0275fac=function(a){return new (a||ddd)(Ui(cdd))};ddd.\u0275dir=$i({type:ddd,selectors:[["mat-card"]],hostAttrs:[1,"gmat-mdc-card"],standalone:!1});var c4=function(){this._elementRef=x(Ph)};c4.prototype.focus=function(){this._elementRef.nativeElement.focus()};c4.\u0275fac=function(a){return new (a||c4)};c4.\u0275dir=$i({type:c4,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]});var d4=function(){this.template=x(bk)};d4.\u0275fac=function(a){return new (a||d4)};d4.\u0275dir=$i({type:d4,selectors:[["","cdkStepLabel",""]]});var edd=new kh("STEPPER_GLOBAL_OPTIONS"),f4=function(){var a=this;this._stepper=x(e4);this._interacted=kk.apply(null,[!1].concat(p([])));this.interactedStream=new Lp;this._state=kk.apply(null,[void 0].concat(p([])));this._editable=kk.apply(null,[!0].concat(p([])));this.optional=!1;this._completedOverride=kk.apply(null,[null].concat(p([])));this.index=kk.apply(null,[-1].concat(p([])));this.isSelected=Sk.apply(null,[function(){return a._stepper.selectedIndex===a.index()}].concat(p([])));this.indicatorType=
Sk.apply(null,[function(){var c=a.isSelected(),d=a.completed,e,f=(e=a._state())!=null?e:"number";e=a._editable();return a._showError()&&a.hasError&&!c?"error":a._displayDefaultIndicatorType?!d||c?"number":e?"edit":"done":d&&!c?"done":d&&c?f:e&&c?"edit":f}].concat(p([])));this.isNavigable=Sk.apply(null,[function(){var c=a.isSelected();return a.completed||c||!a._stepper.linear}].concat(p([])));this._customError=kk.apply(null,[null].concat(p([])));var b=x(edd,{optional:!0});this._stepperOptions=b?b:
{};this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1};g=f4.prototype;g._getDefaultError=function(){var a;return this.interacted&&!((a=this.stepControl)==null||!a.invalid)};g.select=function(){this._stepper.selected=this};
g.reset=function(){this._interacted.set(!1);this._completedOverride()!=null&&this._completedOverride.set(!1);this._customError()!=null&&this._customError.set(!1);if(this.stepControl){var a;(a=this._childForms)==null||a.forEach(function(b){var c;return(c=b.resetForm)==null?void 0:c.call(b)});this.stepControl.reset()}};g.ngOnChanges=function(){this._stepper._stateChanged()};g._markAsInteracted=function(){this._interacted()||(this._interacted.set(!0),this.interactedStream.emit(this))};
g._showError=function(){var a;return(a=this._stepperOptions.showError)!=null?a:this._customError()!=null};
pg.Object.defineProperties(f4.prototype,{interacted:{configurable:!0,enumerable:!0,get:function(){return this._interacted()},set:function(a){this._interacted.set(a)}},state:{configurable:!0,enumerable:!0,get:function(){return this._state()},set:function(a){this._state.set(a)}},editable:{configurable:!0,enumerable:!0,get:function(){return this._editable()},set:function(a){this._editable.set(a)}},completed:{configurable:!0,enumerable:!0,get:function(){var a=this._completedOverride(),b=this._interacted();
return a!=null?a:b&&(!this.stepControl||this.stepControl.valid)},set:function(a){this._completedOverride.set(a)}},hasError:{configurable:!0,enumerable:!0,get:function(){var a=this._customError();return a==null?this._getDefaultError():a},set:function(a){this._customError.set(a)}}});f4.\u0275fac=function(a){return new (a||f4)};
f4.\u0275cmp=F({type:f4,selectors:[["cdk-step"]],contentQueries:function(a,b,c){a&1&&(fk(c,d4,5),fk(c,gG,5));if(a&2){var d;ik(d=jk())&&(b.stepLabel=d.first);ik(d=jk())&&(b._childForms=d)}},viewQuery:function(a,b){a&1&&ek(bk,7);if(a&2){var c;ik(c=jk())&&(b.content=c.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",Tk],optional:[2,
"optional","optional",Tk],completed:[2,"completed","completed",Tk],hasError:[2,"hasError","hasError",Tk]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[$w],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Zj(),Dqa(0,oLb,1,0,"ng-template"))},encapsulation:2,changeDetection:0});
var e4=function(){this._dir=x(Xm,{optional:!0});this._changeDetectorRef=x(sx);this._elementRef=x(Ph);this._destroyed=new oj;this.steps=new dk;this._sortedHeaders=new dk;this.linear=!1;this._selectedIndex=kk.apply(null,[0].concat(p([])));this.selectionChange=new Lp;this.selectedIndexChange=new Lp;this._groupId=x(Wm).getId("cdk-stepper-");this._orientation="horizontal"};g=e4.prototype;
g.ngAfterContentInit=function(){var a=this;this._steps.changes.pipe(rj(this._steps),tj(this._destroyed)).subscribe(function(b){a.steps.reset(b.filter(function(c){return c._stepper===a}));a.steps.forEach(function(c,d){return c.index.set(d)});hk(a.steps)})};
g.ngAfterViewInit=function(){var a=this;this._stepHeader.changes.pipe(rj(this._stepHeader),tj(this._destroyed)).subscribe(function(d){a._sortedHeaders.reset(d.toArray().sort(function(e,f){return e._elementRef.nativeElement.compareDocumentPosition(f._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}));hk(a._sortedHeaders)});this._keyManager=dz(fz(cz(new iz(this._sortedHeaders))),this._orientation==="vertical");gz(this._keyManager,this.selectedIndex);(this._dir?this._dir.change:li()).pipe(rj(this._layoutDirection()),
tj(this._destroyed)).subscribe(function(d){var e;return(e=a._keyManager)==null?void 0:ez(e,d)});gz(this._keyManager,this.selectedIndex);this.steps.changes.subscribe(function(){a.selected||a._selectedIndex.set(Math.max(a.selectedIndex-1,0))});this._isValidIndex(this.selectedIndex)||this._selectedIndex.set(0);if(this.linear&&this.selectedIndex>0){var b=this.steps.toArray().slice(0,this._selectedIndex());b=l(b);for(var c=b.next();!c.done;c=b.next())c.value._markAsInteracted()}};
g.ngOnDestroy=function(){var a;(a=this._keyManager)==null||a.destroy();this.steps.destroy();this._sortedHeaders.destroy();this._destroyed.next();this._destroyed.complete()};g.next=function(){this.selectedIndex=Math.min(this._selectedIndex()+1,this.steps.length-1)};g.previous=function(){this.selectedIndex=Math.max(this._selectedIndex()-1,0)};g.reset=function(){this._updateSelectedItemIndex(0);this.steps.forEach(function(a){return a.reset()});this._stateChanged()};
g._getStepLabelId=function(a){return this._groupId+"-label-"+a};g._getStepContentId=function(a){return this._groupId+"-content-"+a};g._stateChanged=function(){this._changeDetectorRef.markForCheck()};g._getAnimationDirection=function(a){a-=this._selectedIndex();return a<0?this._layoutDirection()==="rtl"?"next":"previous":a>0?this._layoutDirection()==="rtl"?"previous":"next":"current"};g._getFocusIndex=function(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex()};
g._updateSelectedItemIndex=function(a){var b=this.steps.toArray(),c=this._selectedIndex();this.selectionChange.emit({selectedIndex:a,previouslySelectedIndex:c,selectedStep:b[a],previouslySelectedStep:b[c]});this._keyManager&&(this._containsFocus()?this._keyManager.setActiveItem(a):gz(this._keyManager,a));this._selectedIndex.set(a);this.selectedIndexChange.emit(a);this._stateChanged()};
g._onKeydown=function(a){var b=ym(a),c=a.keyCode,d=this._keyManager;(d==null?void 0:d.activeItemIndex)==null||b||c!==32&&c!==13?d==null||xoc(d,"keyboard").onKeydown(a):(this.selectedIndex=d.activeItemIndex,a.preventDefault())};g._anyControlsInvalidOrPending=function(a){return this.linear&&a>=0?this.steps.toArray().slice(0,a).some(function(b){var c=b.stepControl;return(c?c.invalid||c.pending||!b.interacted:!b.completed)&&!b.optional&&!b._completedOverride()}):!1};
g._layoutDirection=function(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"};g._containsFocus=function(){var a=this._elementRef.nativeElement,b=Am();return a===b||a.contains(b)};g._isValidIndex=function(a){return a>-1&&(!this.steps||a<this.steps.length)};
pg.Object.defineProperties(e4.prototype,{selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex()},set:function(a){if(this._steps){if(this._isValidIndex(a),this.selectedIndex!==a){var b;(b=this.selected)==null||b._markAsInteracted();!this._anyControlsInvalidOrPending(a)&&(a>=this.selectedIndex||this.steps.toArray()[a].editable)&&this._updateSelectedItemIndex(a)}}else this._selectedIndex.set(a)}},selected:{configurable:!0,enumerable:!0,get:function(){return this.steps?
this.steps.toArray()[this.selectedIndex]:void 0},set:function(a){this.selectedIndex=a&&this.steps?this.steps.toArray().indexOf(a):-1}},orientation:{configurable:!0,enumerable:!0,get:function(){return this._orientation},set:function(a){this._orientation=a;this._keyManager&&dz(this._keyManager,a==="vertical")}}});e4.\u0275fac=function(a){return new (a||e4)};
e4.\u0275dir=$i({type:e4,selectors:[["","cdkStepper",""]],contentQueries:function(a,b,c){a&1&&(fk(c,f4,5),fk(c,c4,5));if(a&2){var d;ik(d=jk())&&(b._steps=d);ik(d=jk())&&(b._stepHeader=d)}},inputs:{linear:[2,"linear","linear",Tk],selectedIndex:[2,"selectedIndex","selectedIndex",Uk],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"]});var g4=function(){this._stepper=x(e4);this.type="submit"};g4.\u0275fac=function(a){return new (a||g4)};g4.\u0275dir=$i({type:g4,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(a,b){a&1&&Q("click",function(){return b._stepper.next()});a&2&&Oj("type",b.type)},inputs:{type:"type"}});var h4=function(){this._stepper=x(e4);this.type="button"};h4.\u0275fac=function(a){return new (a||h4)};
h4.\u0275dir=$i({type:h4,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(a,b){a&1&&Q("click",function(){return b._stepper.previous()});a&2&&Oj("type",b.type)},inputs:{type:"type"}});var i4=function(){};i4.\u0275fac=function(a){return new (a||i4)};i4.\u0275mod=Zi({type:i4});i4.\u0275inj=Eg({imports:[kz]});var j4=function(){g4.apply(this,arguments)};Y(j4,g4);j4.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(j4)))(b||j4)}}();j4.\u0275dir=$i({type:j4,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(a,b){a&2&&Oj("type",b.type)},features:[xj]});var k4=function(){h4.apply(this,arguments)};Y(k4,h4);k4.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(k4)))(b||k4)}}();
k4.\u0275dir=$i({type:k4,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(a,b){a&2&&Oj("type",b.type)},features:[xj]});var l4=function(){this.templateRef=x(bk)};l4.\u0275fac=function(a){return new (a||l4)};l4.\u0275dir=$i({type:l4,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]}});var fdd=function(){this._template=x(bk)};fdd.\u0275fac=function(a){return new (a||fdd)};fdd.\u0275dir=$i({type:fdd,selectors:[["ng-template","matStepContent",""]]});var m4=function(){d4.apply(this,arguments)};Y(m4,d4);m4.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(m4)))(b||m4)}}();m4.\u0275dir=$i({type:m4,selectors:[["","matStepLabel",""]],features:[xj]});var n4=function(){this.changes=new oj;this.optionalLabel="Optional";this.completedLabel="Completed";this.editableLabel="Editable"};n4.\u0275fac=function(a){return new (a||n4)};n4.\u0275prov=Dg({token:n4,factory:n4.\u0275fac,providedIn:"root"});var pLb=function(a,b,c){return{index:a,active:b,optional:c}},o4=function(){this._elementRef=x(Ph);this._intl=x(n4);this._focusMonitor=x(Ey);var a=x(Um);a.load(Qz);a.load(Iy);var b=x(sx);this._intlSubscription=this._intl.changes.subscribe(function(){return b.markForCheck()})};Y(o4,c4);o4.\u0275dir=c4.\u0275dir;g=o4.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._intlSubscription.unsubscribe();this._focusMonitor.stopMonitoring(this._elementRef)};
g.focus=function(a,b){a?Fy(this._focusMonitor,this._elementRef,a,b):this._elementRef.nativeElement.focus(b)};g._stringLabel=function(){return this.label instanceof m4?null:this.label};g._templateLabel=function(){return this.label instanceof m4?this.label:null};g._getHostElement=function(){return this._elementRef.nativeElement};g._getDefaultTextForState=function(a){return a=="number"?""+(this.index+1):a=="edit"?"create":a=="error"?"warning":a};
g._hasEmptyLabel=function(){return!this._stringLabel()&&!this._templateLabel()&&!this._hasOptionalLabel()&&!this._hasErrorLabel()};g._hasOptionalLabel=function(){return this.optional&&this.state!=="error"};g._hasErrorLabel=function(){return this.state==="error"};o4.\u0275fac=function(a){return new (a||o4)};
o4.\u0275cmp=F({type:o4,selectors:[["mat-step-header"]],hostAttrs:["role","",1,"mat-step-header"],hostVars:4,hostBindings:function(a,b){a&2&&(sk("mat-"+(b.color||"primary")),rk("mat-step-header-empty-label",b._hasEmptyLabel()))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},features:[xj],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple",
"mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(a,b){a&1&&(N(0,"div",0),L(1,"div")(2,"div",1),I(3,qLb,1,6,"ng-container",2)(4,vLb,2,1),M()(),L(5,"div",3),I(6,wLb,2,1,"div",4)(7,xLb,2,1,"div",4),I(8,yLb,2,1,"div",5),
I(9,zLb,2,1,"div",6),M());if(a&2){var c;K("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disableRipple);E();sk(zk("mat-step-icon-state-",b.state," mat-step-icon"));rk("mat-step-icon-selected",b.selected);E(2);J(b.iconOverrides&&b.iconOverrides[b.state]?3:4);E(2);rk("mat-step-label-active",b.active)("mat-step-label-selected",b.selected)("mat-step-label-error",b.state=="error");E();J((c=b._templateLabel())?6:b._stringLabel()?7:-1,c);E(2);J(b._hasOptionalLabel()?8:-1);E();J(b._hasErrorLabel()?
9:-1)}},dependencies:[Tz,oy,EA],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-sys-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-sys-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}@media(forced-colors: active){.mat-step-header{outline:solid 1px}.mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-header[aria-disabled=true]{outline-color:GrayText}.mat-step-header[aria-disabled=true] .mat-step-label,.mat-step-header[aria-disabled=true] .mat-step-icon,.mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color, var(--mat-sys-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-sys-on-surface-variant))}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color, transparent);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-sys-error))}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-sys-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-sys-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-sys-title-small-weight))}.mat-step-header-empty-label .mat-step-label{min-width:0}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-done-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-sys-on-primary))}\n'],
encapsulation:2,changeDetection:0});var gdd=["*"],hdd=["animatedContainer"],ELb=function(a){return{step:a}},p4=function(){f4.apply(this,arguments);this._errorStateMatcher=x(Pz,{skipSelf:!0});this._viewContainerRef=x(ck);this._isSelected=Yh.EMPTY;this.stepLabel=void 0};Y(p4,f4);
p4.prototype.ngAfterContentInit=function(){var a=this;this._isSelected=this._stepper.steps.changes.pipe(sj(function(){return a._stepper.selectionChange.pipe(C(function(b){return b.selectedStep===a}),rj(a._stepper.selected===a))})).subscribe(function(b){b&&a._lazyContent&&!a._portal&&(a._portal=new Bz(a._lazyContent._template,a._viewContainerRef))})};p4.prototype.ngOnDestroy=function(){this._isSelected.unsubscribe()};
p4.prototype.isErrorState=function(a,b){var c=!!(a&&a.invalid&&this.interacted);return this._errorStateMatcher.isErrorState(a,b)||c};p4.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(p4)))(b||p4)}}();
p4.\u0275cmp=F({type:p4,selectors:[["mat-step"]],contentQueries:function(a,b,c){a&1&&(fk(c,m4,5),fk(c,fdd,5));if(a&2){var d;ik(d=jk())&&(b.stepLabel=d.first);ik(d=jk())&&(b._lazyContent=d.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],features:[Bk([{provide:Pz,useExisting:p4},{provide:f4,useExisting:p4}]),xj],ngContentSelectors:gdd,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(a){a&1&&(Zj(),G(0,BLb,2,1,"ng-template"))},dependencies:[Ez],encapsulation:2,
changeDetection:0});
var q4=function(){e4.call(this);var a=this;this._ngZone=x(Kk);this._renderer=x($m);this._animationsDisabled=hn();this._isAnimating=kk.apply(null,[!1].concat(p([])));this._steps=this._stepHeader=void 0;this.steps=new dk;this.animationDone=new Lp;this.labelPosition="end";this.headerPosition="top";this._iconOverrides={};this._animationDuration="";this._isServer=!x(Qm).isBrowser;this._handleTransitionend=function(b){var c=b.target;if(c){var d=a.orientation==="horizontal"&&b.propertyName==="transform"&&
c.classList.contains("mat-horizontal-stepper-content-current");b=a.orientation==="vertical"&&b.propertyName==="grid-template-rows"&&c.classList.contains("mat-vertical-content-container-active");(d||b)&&a._animatedContainers.find(function(e){return e.nativeElement===c})&&a._onAnimationDone()}};this.orientation=x(Ph).nativeElement.nodeName.toLowerCase()==="mat-vertical-stepper"?"vertical":"horizontal"};Y(q4,e4);q4.\u0275dir=e4.\u0275dir;g=q4.prototype;
g.ngAfterContentInit=function(){var a=this;e4.prototype.ngAfterContentInit.call(this);this._icons.forEach(function(b){return a._iconOverrides[b.name]=b.templateRef});this.steps.changes.pipe(tj(this._destroyed)).subscribe(function(){return a._stateChanged()});this.selectedIndexChange.pipe(tj(this._destroyed)).subscribe(function(){var b=a._getAnimationDuration();b==="0ms"||b==="0s"?a._onAnimationDone():a._isAnimating.set(!0)});this._ngZone.runOutsideAngular(function(){a._animationsDisabled||setTimeout(function(){a._elementRef.nativeElement.classList.add("mat-stepper-animations-enabled");
a._cleanupTransition=a._renderer.listen(a._elementRef.nativeElement,"transitionend",a._handleTransitionend)},200)})};g.ngAfterViewInit=function(){var a=this;e4.prototype.ngAfterViewInit.call(this);if(typeof queueMicrotask==="function"){var b=!1;this._animatedContainers.changes.pipe(rj(null),tj(this._destroyed)).subscribe(function(){return queueMicrotask(function(){b||(b=!0,a.animationDone.emit());a._stateChanged()})})}};
g.ngOnDestroy=function(){e4.prototype.ngOnDestroy.call(this);var a;(a=this._cleanupTransition)==null||a.call(this)};g._getAnimationDuration=function(){return this._animationsDisabled?"0ms":this.animationDuration?this.animationDuration:this.orientation==="horizontal"?"500ms":"225ms"};g._onAnimationDone=function(){this._isAnimating.set(!1);this.animationDone.emit()};
pg.Object.defineProperties(q4.prototype,{animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){this._animationDuration=/^\d+$/.test(a)?a+"ms":a}}});q4.\u0275fac=function(a){return new (a||q4)};
q4.\u0275cmp=F({type:q4,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(a,b,c){a&1&&(fk(c,p4,5),fk(c,l4,5));if(a&2){var d;ik(d=jk())&&(b._steps=d);ik(d=jk())&&(b._icons=d)}},viewQuery:function(a,b){a&1&&(ek(o4,5),ek(hdd,5));if(a&2){var c;ik(c=jk())&&(b._stepHeader=c);ik(c=jk())&&(b._animatedContainers=c)}},hostVars:14,hostBindings:function(a,b){a&2&&(qk("--mat-stepper-animation-duration",b._getAnimationDuration()),rk("mat-stepper-horizontal",
b.orientation==="horizontal")("mat-stepper-vertical",b.orientation==="vertical")("mat-stepper-label-position-end",b.orientation==="horizontal"&&b.labelPosition=="end")("mat-stepper-label-position-bottom",b.orientation==="horizontal"&&b.labelPosition=="bottom")("mat-stepper-header-position-bottom",b.headerPosition==="bottom")("mat-stepper-animating",b._isAnimating()))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},
outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[Bk([{provide:e4,useExisting:q4}]),xj],ngContentSelectors:gdd,decls:5,vars:2,consts:[["stepTemplate",""],["animatedContainer",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-vertical-stepper-wrapper"],["aria-orientation","horizontal","role","tablist",1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",
3,"id","class"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","region",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(a,b){a&1&&(Zj(),
I(0,CLb,1,0),I(1,HLb,7,0,"div",2)(2,JLb,3,0,"div",3),G(3,KLb,1,27,"ng-template",null,0,Gk));if(a&2){var c;J(b._isServer?0:-1);E();J((c=b.orientation)==="horizontal"?1:c==="vertical"?2:-1)}},dependencies:[oy,o4],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font, var(--mat-sys-body-medium-font));background:var(--mat-stepper-container-color, var(--mat-sys-surface))}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height, 72px)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header.mat-step-header-empty-label .mat-step-icon{margin:0}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{visibility:hidden;overflow:hidden;outline:0;height:0}.mat-stepper-animations-enabled .mat-horizontal-stepper-content{transition:transform var(--mat-stepper-animation-duration, 0) cubic-bezier(0.35, 0, 0.25, 1)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-previous{transform:translate3d(-100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-next{transform:translate3d(100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{visibility:visible;transform:none;height:auto}.mat-stepper-horizontal:not(.mat-stepper-animating) .mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{overflow:visible}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}@media(forced-colors: active){.mat-horizontal-content-container{outline:solid 1px}}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{display:grid;grid-template-rows:0fr;grid-template-columns:100%;margin-left:36px;border:0;position:relative}.mat-stepper-animations-enabled .mat-vertical-content-container{transition:grid-template-rows var(--mat-stepper-animation-duration, 0) cubic-bezier(0.4, 0, 0.2, 1)}.mat-vertical-content-container.mat-vertical-content-container-active{grid-template-rows:1fr}.mat-step:last-child .mat-vertical-content-container{border:none}@media(forced-colors: active){.mat-vertical-content-container{outline:solid 1px}}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}@supports not (grid-template-rows: 0fr){.mat-vertical-content-container{height:0}.mat-vertical-content-container.mat-vertical-content-container-active{height:auto}}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color, var(--mat-sys-outline));top:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0;visibility:hidden}.mat-stepper-animations-enabled .mat-vertical-stepper-content{transition:visibility var(--mat-stepper-animation-duration, 0) linear}.mat-vertical-content-container-active>.mat-vertical-stepper-content{visibility:visible}.mat-vertical-content{padding:0 24px 24px 24px}\n'],
encapsulation:2,changeDetection:0});var idd=["summary"],jdd=["reproSteps"],kdd=["description"],ldd=function(a){return{nonEmptyValidator:a}},mdd=function(a,b){return{reproStepsValidator:a,nonEmptyValidator:b}},OLb=function(){return{noWizard:"true"}},ndd=[Kd("security@chromium.org")],r4=function(){this.activeSession=x(Ks);this.analytics=x(nE);this.butterBar=x(MA);this.currentUser=x(WY);this.componentIds=x(Zcd);this.customFieldIds=x($cd);this.hotlistIds=x(add);this.issueApi=x(vD);this.paths=x(TO);this.redirectUrl=x(N1);this.userAccess=
x(dD);this.Persona=Wcd;this.PlatformOs=Tcd;var a=$Kb(),b;var c=window.navigator.userAgent.match(/chrome\/(\d|\.)+/i)||[];if(c.length>0){var d;c=(d=c[0])==null?void 0:d.split("/")[1]}else c=void 0;this.model={persona:"USER",category:void 0,os:a?[a]:[],channel:"Not sure",version:(b=c)!=null?b:"",summary:"",reproSteps:"1. \n2. \n3. ",description:"",regression:"N/A",comments:"",customQuestionResponses:[],chromeFeedback:"NO"};this.ackIssueQuality=!1;this.uploads=[];this.isSubmitEnabled=!0;this.enableRecaptcha=
this.activeSession.userRequiresCaptcha();this.recaptchaResponse="";this.existingIssuesLink="/issues?q=componentid:"+this.componentIds.default+encodeURIComponent("+");this.fullScreen=!0},MLb=function(a,b){switch(b){case 0:return!!a.model.category&&a.ackIssueQuality;case 1:var c,d,e;return!((c=a.summaryControl)==null||!c.valid)&&!((d=a.reproStepsControl)==null||!d.valid)&&!((e=a.descriptionControl)==null||!e.valid);default:qb(b)}};g=r4.prototype;
g.nonEmptyValidator=function(a){return(a==null?void 0:a.trim().length)===0?!1:!0};g.reproStepsValidator=function(a){return a==="1. \n2. \n3. "?!1:!0};g.isCaptchaValid=function(){return!this.enableRecaptcha||this.recaptchaResponse!==""};g.enableSubmit=function(){this.isSubmitEnabled=!0};g.uploadFile=function(a){a=this.attachmentUploader.upload(a);this.addUpload(a)};g.addUpload=function(a){this.uploads.push(a)};g.removeUpload=function(a){Fa(this.uploads,a)};
g.getAttachments=function(){for(var a=[],b=l(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,c.state===2&&c.blobRef&&a.push(wd(c.blobRef));return a};
g.submit=function(){var a=this,b,c,d,e,f;return v(function(h){switch(h.nextAddress){case 1:var k="BUG",q=null,u=null,A="P2",D="S2",H=[a.hotlistIds.unconfirmed];a.model.regression==="Yes"&&H.push(a.hotlistIds.chromiumRegression);var O,P,S,aa=(S=(O=a.model.category)==null?void 0:(P=O.ccEmails)==null?void 0:P.map(Kd).filter(fe))!=null?S:[],ia;((ia=a.model.category)==null?void 0:ia.value)==="SECURITY"&&(k="VULNERABILITY",A="P4",D="S4",q="LIMIT_VIEW",u=ndd);var la;O=((la=a.model.category)==null?void 0:
la.componentId)||a.componentIds.default;la=a.model.summary;P=YLb(a.model,a.customFieldIds);S=a.model;ia=S.chromeFeedback;var ya="0";ia==="DESKTOP"?ya="237":ia==="ANDROID"?ya="282":ia==="IOS"&&(ya="5031434");ia=ya==="0"?"":"Has Chrome Feedback with description matching the bug title: https://listnr.corp.google.com/product/"+(ya+"/reports?searchText="+encodeURIComponent(S.summary)+"&filter=0&dateRange=30");var Ia;ya="\n# Steps to reproduce the problem\n"+S.reproSteps+"\n\n# Problem Description\n"+S.description+
"\n\n"+(S.comments.length>0?"\n# Additional Comments\n"+S.comments:"")+"\n\n# Summary\n"+S.summary+"\n\n"+$Lb(S.customQuestionResponses)+"\n\n# Additional Data\nCategory: "+((Ia=S.category)==null?void 0:Ia.title)+" \\\nChrome Channel: "+S.channel+" \\\nRegression: "+S.regression+" \\\n"+ia;ya=ya.replace(/^\n/,"");b={componentId:O,type:k,status:"NEW",priority:A,severity:D,title:la,customField:P,comment:ya.replace(/\n{3,}/g,"\n\n"),formattingMode:"MARKDOWN",inProd:!0,isArchived:!1,reporterUser:a.currentUser.user,
issueAccessLimitLevel:q,collaboratorsUsers:u,staffing:null,ccUsers:[a.currentUser.user].concat(p(aa)),hotlistId:H,assigneeUser:null,verifierUser:null,duplicateOfIssueId:null,blockedByIssueId:null,blockingIssueId:null,changelist:null,gerritChanges:null,postmortems:null,foundInVersion:null,targetedToVersion:null,verifiedInVersion:null,retention:null,isDeleted:null,deletionReason:null,duplicateIssueId:null,sloStartTime:null,sloEndTime:null,sloSnoozeType:null};hq(a.butterBar,"Saving...",0);ei(h,2);return w(h,
a.issueApi.createIssueWithWizard({snapshot:b,attachments:a.getAttachments(),recaptchaToken:a.enableRecaptcha?a.recaptchaResponse:void 0}),4);case 4:c=h.yieldResult;d=c.issueId;if(!d)throw Error("lf");a.butterBar.dismiss();a.analytics.trackEvent("createIssue","fileAndRedirect","wizard",!0);return w(h,eD(a.userAccess,"reader","issues/"+d),5);case 5:(e=h.yieldResult)?Dad(a.redirectUrl,Jq(d),String(d)):(hq(a.butterBar,"New issue created: "+d+" (view access not granted)",0),Dad(a.redirectUrl,a.paths.listIssues()));
Iu(h,0);break;case 2:f=ii(h),hq(a.butterBar,"Failed to create issue: "+f),ji(h)}})};r4.\u0275fac=function(a){return new (a||r4)};
r4.\u0275cmp=F({type:r4,selectors:[["chrome-wizard"]],viewQuery:function(a,b){a&1&&(ek(idd,5),ek(jdd,5),ek(kdd,5),ek(UU,5));if(a&2){var c;ik(c=jk())&&(b.summaryControl=c.first);ik(c=jk())&&(b.reproStepsControl=c.first);ik(c=jk())&&(b.descriptionControl=c.first);ik(c=jk())&&(b.attachmentUploader=c.first)}},inputs:{fullScreen:"fullScreen"},standalone:!1,decls:141,vars:47,consts:[["summary","ngModel"],["reproSteps","ngModel"],["description","ngModel"],["headerPosition","bottom","animationDuration","0",
"aria-label","Issue filing form","linear","",3,"disableRipple"],["aria-label","Report an issue with Chromium",3,"completed"],[1,"required"],[3,"personaChange","persona"],[3,"completed","aria-label"],[1,"inline-block"],["appearance","outline","aria-label","Operating system",1,"inline"],["multiple","",3,"ngModelChange","ngModel"],[3,"value"],[1,"inline-block","channel"],["appearance","outline","aria-label","Chrome Channel",1,"inline"],[3,"ngModelChange","ngModel"],["value","Not sure"],["value","Stable"],
["value","Beta"],["value","Dev"],["value","Canary"],["appearance","outline",1,"inline"],["matInput","","aria-label","Chrome version",3,"ngModelChange","ngModel"],["appearance","outline",1,"textarea"],["matInput","","required","","maxlength","100","name","summary","aria-label","One line summary",3,"ngModelChange","ngModel","customValidators"],["appearance","outline","aria-label","Did you send the Chrome feedback report?"],["value","NO"],["value","DESKTOP"],["value","ANDROID"],["value","IOS"],["value",
"OTHER"],["matInput","","required","","maxlength","5000","name","reproSteps","aria-label","Steps to reproduce problem",3,"ngModelChange","ngModel","customValidators"],["matInput","","required","","maxlength","5000","name","description","aria-label","Describe the problem",3,"ngModelChange","ngModel","customValidators"],["appearance","outline","aria-label","Did this work before?"],["value","N/A"],["value","Yes"],["value","No"],[1,"actions-container"],"type button mat-stroked-button  matStepperPrevious ".split(" "),
["svgIcon","chevron-left"],["type","button","mat-raised-button","","color","primary","matStepperNext","",3,"disabled"],["svgIcon","chevron-right"],["aria-label","Extra information about the issue"],[3,"category"],["matInput","","aria-label","Additional comments",3,"ngModelChange","ngModel"],[3,"onUploadComplete","onUploadCancel","uploads"],[1,"attachment-selector"],[3,"onSelect","includeTextLabel"],[1,"wizard-recaptcha"],["type","button","mat-raised-button","","color","primary",3,"click","disabled"],
["matStepperIcon","number"],["matStepperIcon","edit"],["matStepperIcon","done"],[3,"categoryChange","persona","category"],[1,"issue-quality"],[1,"ack-issue-quality",3,"ngModelChange","ngModel"],[3,"href"],["svgIcon","chevron-right","iconPositionEnd",""],["href","https://chromium.googlesource.com/chromium/src/+/HEAD/docs/security/faq.md"],["href","https://www.chromium.org/Home/chromium-security/reporting-security-bugs"],["href","https://g.co/chrome/vrp"],[3,"responses","category"],[3,"onUpdate"]],
template:function(a,b){if(a&1){var c=y();L(0,"mat-stepper",3)(1,"mat-step",4)(2,"h2");U(3,"Report an issue with Chromium");M();L(4,"h3");U(5," We want you to enter the best possible issue report so that the project team members can act on it effectively. The following steps will help route your issue to the correct people. ");M();N(6,"br");L(7,"h4",5);U(8,"Please select your following role:");M();L(9,"wizard-persona-picker",6);Q("personaChange",function(f){z(c);b.model.category=void 0;b.model.persona=
f;return B()});M();I(10,NLb,20,6)(11,PLb,10,2,"div");M();L(12,"mat-step",7)(13,"h2");U(14);M();L(15,"h3");U(16,"Please confirm that the following version information is correct.");M();L(17,"h4",8);U(18,"Operating System:");M();L(19,"mat-form-field",9)(20,"mat-select",10);xk("ngModelChange",function(f){z(c);wk(b.model.os,f)||(b.model.os=f);return B(f)});L(21,"mat-option",11);U(22,"Android");M();L(23,"mat-option",11);U(24,"Chrome OS");M();L(25,"mat-option",11);U(26,"iOS");M();L(27,"mat-option",11);
U(28,"Linux");M();L(29,"mat-option",11);U(30,"Mac OS");M();L(31,"mat-option",11);U(32,"Windows");M();L(33,"mat-option",11);U(34,"Unknown/Other");M()()();L(35,"h4",12);U(36,"Channel:");M();L(37,"mat-form-field",13)(38,"mat-select",14);xk("ngModelChange",function(f){z(c);wk(b.model.channel,f)||(b.model.channel=f);return B(f)});L(39,"mat-option",15);U(40,"Not sure");M();L(41,"mat-option",16);U(42,"Stable");M();L(43,"mat-option",17);U(44,"Beta");M();L(45,"mat-option",18);U(46,"Dev");M();L(47,"mat-option",
19);U(48,"Canary");M()()();N(49,"br");L(50,"h4",8);U(51,"Chrome version:");M();L(52,"mat-form-field",20)(53,"input",21);xk("ngModelChange",function(f){z(c);wk(b.model.version,f)||(b.model.version=f);return B(f)});M()();L(54,"h4",5);U(55,"Please enter a one line summary (100 character limit)");M();L(56,"mat-form-field",22)(57,"textarea",23,0);xk("ngModelChange",function(f){z(c);wk(b.model.summary,f)||(b.model.summary=f);return B(f)});U(59,"      ");M();I(60,QLb,2,0,"mat-error");M();L(61,"h4");U(62,
" (Optional) Send a Chrome feedback report to help the investigation");M();L(63,"p");U(64," This is often necessary to reproduce an issue which isn't consistent in reproducing for all users. ");M();L(65,"ol")(66,"li");U(67," Open Chrome. Go to Help > Report an issue. ");M();L(68,"li");U(69,' The description should be the same as the "one line summary" above. ');M();L(70,"li");U(71," Send the report. ");M()();L(72,"h4");U(73," Did you send the Chrome feedback report?");M();L(74,"mat-form-field",24)(75,
"mat-select",14);xk("ngModelChange",function(f){z(c);wk(b.model.chromeFeedback,f)||(b.model.chromeFeedback=f);return B(f)});L(76,"mat-option",25);U(77,"No - I didn't.");M();L(78,"mat-option",26);U(79,"Yes - I did on Windows, Linux or Mac OS.");M();L(80,"mat-option",27);U(81,"Yes - I did on Android.");M();L(82,"mat-option",28);U(83,"Yes - I did on iOS.");M();L(84,"mat-option",29);U(85,"Yes - I did on other platform.");M()()();L(86,"h4",5);U(87,"Steps to reproduce problem (5000 character limit)");M();
L(88,"mat-form-field",22)(89,"textarea",30,1);xk("ngModelChange",function(f){z(c);wk(b.model.reproSteps,f)||(b.model.reproSteps=f);return B(f)});U(91,"      ");M();I(92,RLb,2,0,"mat-error");M();L(93,"h4",5);U(94,"Please describe the problem (5000 character limit)");M();L(95,"mat-form-field",22)(96,"textarea",31,2);xk("ngModelChange",function(f){z(c);wk(b.model.description,f)||(b.model.description=f);return B(f)});U(98,"      ");M();I(99,SLb,2,0,"mat-error");M();L(100,"h4");U(101,"Did this work before?");
M();L(102,"mat-form-field",32)(103,"mat-select",14);xk("ngModelChange",function(f){z(c);wk(b.model.regression,f)||(b.model.regression=f);return B(f)});L(104,"mat-option",33);U(105,"Not applicable or don't know");M();L(106,"mat-option",34);U(107,"Yes - This is a regression");M();L(108,"mat-option",35);U(109,"No - I think it never worked");M()()();L(110,"div",36)(111,"button",37);N(112,"mat-icon",38);U(113," Back ");M();L(114,"button",39);U(115," Next ");N(116,"mat-icon",40);M()()();L(117,"mat-step",
41)(118,"h2");U(119,"Extra information about the issue");M();I(120,TLb,1,1,"wizard-custom-questions",42);L(121,"h4");U(122,"Additional comments");M();L(123,"mat-form-field",22)(124,"textarea",43);xk("ngModelChange",function(f){z(c);wk(b.model.comments,f)||(b.model.comments=f);return B(f)});M()();L(125,"h4");U(126,"Upload any relevant attachments");M();L(127,"b-attachment-uploader",44);Q("onUploadComplete",function(){z(c);return B(b.enableSubmit())})("onUploadCancel",function(f){z(c);b.removeUpload(f);
return B(b.enableSubmit())});M();L(128,"div",45)(129,"b-attachment-selector",46);Q("onSelect",function(f){z(c);b.uploadFile(f);b.isSubmitEnabled=!1;return B()});M();U(130," You can include multiple attachments. ");M();I(131,ULb,2,0,"div",47);L(132,"div",36)(133,"button",37);N(134,"mat-icon",38);U(135," Back ");M();L(136,"button",48);Q("click",function(){z(c);return B(b.submit())});U(137," Submit ");M()()();G(138,VLb,0,0,"ng-template",49)(139,WLb,0,0,"ng-template",50)(140,XLb,0,0,"ng-template",51);
M()}if(a&2){a=T(58);var d=T(90),e=T(97);rk("bv2-view",b.fullScreen)("hide-dots",b.model.persona===b.Persona.CONTRIBUTOR);K("disableRipple",!0);E();K("completed",MLb(b,0));E(8);K("persona",b.model.persona);E();J(b.model.persona!==b.Persona.CONTRIBUTOR?10:11);E(2);Gj("aria-label",zk("Details for problems with ",b.model.category==null?null:b.model.category.title));K("completed",MLb(b,1));E(2);V("Details for problems with ",b.model.category==null?null:b.model.category.title);E(6);vk("ngModel",b.model.os);
E();K("value",b.PlatformOs.ANDROID);E(2);K("value",b.PlatformOs.CHROME);E(2);K("value",b.PlatformOs.IOS);E(2);K("value",b.PlatformOs.LINUX);E(2);K("value",b.PlatformOs.MAC);E(2);K("value",b.PlatformOs.WINDOWS);E(2);K("value",b.PlatformOs.UNKNOWN);E(5);vk("ngModel",b.model.channel);E(15);vk("ngModel",b.model.version);E(4);vk("ngModel",b.model.summary);K("customValidators",Dk(40,ldd,b.nonEmptyValidator));E(3);J(a.invalid&&(a.dirty||a.touched)?60:-1);E(15);vk("ngModel",b.model.chromeFeedback);E(14);
vk("ngModel",b.model.reproSteps);K("customValidators",Ek(42,mdd,b.reproStepsValidator,b.nonEmptyValidator));E(3);J(d.invalid&&(d.dirty||d.touched)?92:-1);E(4);vk("ngModel",b.model.description);K("customValidators",Dk(45,ldd,b.nonEmptyValidator));E(3);J(e.invalid&&(e.dirty||e.touched)?99:-1);E(4);vk("ngModel",b.model.regression);E(11);K("disabled",!MLb(b,1));E(6);J(b.model.category?120:-1);E(4);vk("ngModel",b.model.comments);E(3);K("uploads",b.uploads);E(2);K("includeTextLabel",!0);E(2);J(b.enableRecaptcha?
131:-1);E(5);K("disabled",!b.isSubmitEnabled||!b.isCaptchaValid())}},dependencies:[RU,UU,EA,A1,Bp,hG,AG,BG,oG,dA,aA,ddd,ZXc,nT,oT,aG,HG,oO,mH,eH,WG,TL,VL,WL,Vz,p4,q4,j4,k4,l4,KR,a4,b4,bdd],styles:['[_nghost-%COMP%]   h2[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:2rem;font-size:1.5rem;letter-spacing:0;font-weight:400}[_nghost-%COMP%]   h4[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0;font-weight:400;font-weight:100;margin:0}[_nghost-%COMP%]   h4.required[_ngcontent-%COMP%]:after{content:" *";color:#ea4335;color:var(--bad)}[_nghost-%COMP%]   mat-form-field.textarea[_ngcontent-%COMP%]{min-width:90%}[_nghost-%COMP%]   textarea[_ngcontent-%COMP%]{min-height:4rem;padding:4px 1px 1px 7px}[_nghost-%COMP%]   mat-form-field[_ngcontent-%COMP%]{margin:4px 0}[_nghost-%COMP%]   mat-form-field.inline[_ngcontent-%COMP%]{margin:4px 8px}[_nghost-%COMP%]     .mat-step-header .mat-step-label{display:none}[_nghost-%COMP%]     mat-stepper.hide-dots .mat-horizontal-stepper-header-container{display:none}[_nghost-%COMP%]     .mat-step-header.cdk-program-focused, [_nghost-%COMP%]     .mat-step-header:hover{background-color:unset}[_nghost-%COMP%]     .mat-horizontal-stepper-header-container{max-width:10%;margin-left:40%;-webkit-transform:scale(.35);transform:scale(.35)}[_nghost-%COMP%]     .mat-horizontal-stepper-header-container .mat-step-icon{background-color:#dadce0;background-color:var(--c300)}[_nghost-%COMP%]     .mat-horizontal-stepper-header-container .mat-step-icon-selected{background-color:#1a73e8;background-color:var(--primary-c600)}[_nghost-%COMP%]     .mat-horizontal-stepper-header-container .mat-stepper-horizontal-line{display:none}[_nghost-%COMP%]     .mat-horizontal-content-container{overflow-x:scroll}[_nghost-%COMP%]     mat-checkbox label{text-wrap:wrap}wizard-persona-picker[_ngcontent-%COMP%]{margin-bottom:30px}mat-card[_ngcontent-%COMP%]{background-color:#fef7e0;background-color:var(--yellow-c50);margin-bottom:8px}.actions-container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;padding:8px 12px 4px 0}.actions-container[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:last-child{margin-left:auto}mat-card-header[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0;font-weight:400;margin-bottom:10px}.issue-quality[_ngcontent-%COMP%]{max-width:88%}mat-stepper[_ngcontent-%COMP%]{max-width:1060px}h4.channel[_ngcontent-%COMP%]{margin-left:12px}.bv2-view[_ngcontent-%COMP%]{top:0}b-attachment-selector[_ngcontent-%COMP%]{padding:4px}.attachment-selector[_ngcontent-%COMP%]{margin:12px 0}.wizard-recaptcha[_ngcontent-%COMP%]{margin:15px 0}p[_ngcontent-%COMP%]{margin:8px 0}\n/*# sourceMappingURL=chrome_wizard.css.map */']});var s4=function(){this.activeSession=x(Ks);this.routeParams=x(NI);this.router=x($B);this.userAccess=x(dD);this.rootComponentId=this.activeSession.getEnvironmentType()==="QA"?Ncc.default:Occ.default};
s4.prototype.canActivate=function(){var a=this,b,c;return v(function(d){if(d.nextAddress==1)return(c=Cx(a.activeSession,"enableChromeWizard")&&((b=a.activeSession.getTracker())==null?void 0:b.trackerId)==="157"&&!a.routeParams.template&&!a.routeParams.noWizard)?w(d,eD(a.userAccess,"writer","components/"+a.rootComponentId+"/issueDefaults"),3):d.jumpTo(2);d.nextAddress!=2&&(c=!d.yieldResult);return c?d.return(aC(a.router,["issues/wizard"])):d.return(!0)})};s4.\u0275fac=function(a){return new (a||s4)};
s4.\u0275prov=Dg({token:s4,factory:s4.\u0275fac,providedIn:"root"});var t4=function(){var a=this;this.userResources=x(DC);this.history=x(PY);this.router=x($B);this.activeSession=x(Ks);this.viewIssues=sp;this.createIssue=yIa;this.componentSettings=zIa;this.currentTracker=this.activeSession.getTracker();var b;this.trackerId=(b=this.currentTracker)==null?void 0:b.trackerId;this.includeArchived=!1;this.isThinking=!0;this.isInternalSession=this.activeSession.isInternalSession();this.placeholder=this.currentTracker||this.activeSession.isExternalSession()?"Find components by name or id":
"Find components by name, team, or id";this.recentComponents$=this.userResources.getRecentComponents().then(function(c){return c.filter(function(d){return a.filterTrackerComponents(d)})}).finally(function(){a.isThinking=!1})};t4.prototype.back=function(){QY(this.history)};t4.prototype.filterTrackerComponents=function(a){return!this.trackerId||a.trackerId===this.trackerId};t4.\u0275fac=function(a){return new (a||t4)};
t4.\u0275cmp=F({type:t4,selectors:[["components-screen-wrapper"]],standalone:!1,decls:22,vars:8,consts:[["card",""],["cardBody",""],[1,"flex-kids-y","pos-fill","bg-off-main","overflow","overflow-on-print-media"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-appbar-left"],["type","button","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",1,"gmat-button","medium"],
["label","Show archived","tooltip","Toggle whether to show 'archived' Components",1,"margin-x",3,"modelChange","model"],[1,"padded"],[3,"selectedComponentChange","includeArchived","placeholder","ariaLabel"],[1,"margin-top"],[1,"pos-rel","carded","bg-main"],[1,"muted","margin-s-top","margin-left"],["routerLink","/components/all",1,"muted","hover-link"],[1,"muted"],[1,"unstyled-list","reverse-padded-sides","recent-components"],["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"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"]],template:function(a,b){a&1&&(L(0,"article",2)(1,"header",3)(2,
"div",4)(3,"button",5),Q("click",function(){return b.back()}),N(4,"mat-icon",6),M(),L(5,"h2"),U(6,"Components"),M()(),L(7,"div",7),I(8,aMb,2,0,"a",8),L(9,"b-slide-toggle",9),Q("modelChange",function(d){return b.includeArchived=d}),M()()(),L(10,"section",10)(11,"h3"),U(12,"Search"),M(),L(13,"b-team-component-picker",11),Q("selectedComponentChange",function(d){d!=null&&Rr(b.router,zIa(d.componentId).path)}),M(),L(14,"h3",12),U(15,"Recent Components"),M(),L(16,"div",13),I(17,eMb,4,1),W(18,"async"),M(),
L(19,"p",14)(20,"a",15),U(21,"See all Components"),M()()()());if(a&2){var c;E(8);J(b.isInternalSession?8:-1);E();K("model",b.includeArchived);E(4);K("includeArchived",b.includeArchived)("placeholder",b.placeholder)("ariaLabel",b.placeholder);E(4);J((c=X(18,6,b.recentComponents$))?17:-1,c)}},dependencies:[dA,aA,bA,YF,WF,EA,bC,gC,OO,CO,xH,yH,DH,zH,HM,zO,HO,py],encapsulation:2});var odd=["bookmarkGroupName"],u4=function(){var a=x(LR);Z.call(this);var b=this;this.location=x(hL);this.appHistory=x(PY);this.snackBar=x(JA);this.bookmarkGroupsApi=x(hB);this.paths=x(TO);this.analytics=x(nE);this.errorHandler=x(PA);this.appEvents=x(EB);this.error="";this.isSaving=!1;this.bookmarkGroupUnderEdit=new lG({name:new nG("",zp),description:new nG("")});this.subscriptions.add(MR(a,function(){return!(!b.name()&&!b.description())},!1))};Y(u4,Z);u4.\u0275dir=Z.\u0275dir;g=u4.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});a.analytics.trackEvent("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(){QY(this.appHistory)};g.revertChanges=function(){this.bookmarkGroupUnderEdit.reset()};g.name=function(){var a,b=(a=this.bookmarkGroupUnderEdit.get("name"))==null?void 0:a.value;return b?b:""};
g.description=function(){var a,b=(a=this.bookmarkGroupUnderEdit.get("description"))==null?void 0:a.value;return b?b:""};u4.\u0275fac=function(a){return new (a||u4)};
u4.\u0275cmp=F({type:u4,selectors:[["b-create-bookmark-group"]],viewQuery:function(a,b){a&1&&ek(odd,5);if(a&2){var c;ik(c=jk())&&(b.bookmarkGroupName=c.first)}},standalone:!1,features:[xj],decls:27,vars:9,consts:[["bookmarkGroupName",""],[1,"kd-appbar"],[1,"kd-buttonbar","ltr"],["type","button","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"],
["for","bookmark-group-name",1,"required"],["type","text","autofocus","autofocus","id","bookmark-group-name","required","","aria-required","true","formControlName","name",3,"disabled"],["for","bookmark-group-description"],["id","bookmark-group-description","formControlName","description",3,"disabled"],[1,"advanced-settings-info"],[1,"edit-button-row"],["type","button","mat-flat-button","","color","primary",3,"click","disabled"],["type","button","mat-stroked-button","","color","primary",3,"click"]],
template:function(a,b){if(a&1){var c=y();L(0,"div",1)(1,"div",2)(2,"button",3);Q("click",function(){z(c);return B(b.back())});N(3,"mat-icon",4);M();L(4,"h2");U(5,"Create a new bookmark group");M()()();L(6,"div",5)(7,"div",6)(8,"form",7);N(9,"b-error-banner",8);L(10,"div",9)(11,"label",10);U(12,"Name");M();N(13,"input",11,0);M();L(15,"div",9)(16,"label",12);U(17,"Description");M();L(18,"textarea",13);U(19,"        ");M()();L(20,"p",14);U(21," Advanced settings such as selected items and access controls may be defined once the bookmark group is created. ");
M();L(22,"div",15)(23,"button",16);Q("click",function(){z(c);return B(b.save())});U(24," Save ");M();L(25,"button",17);Q("click",function(){z(c);return B(b.revertChanges())});U(26," Revert changes ");M()()()()()}a&2&&(E(8),K("formGroup",b.bookmarkGroupUnderEdit),E(),K("error",b.error),E(),rk("bv2-edit-resource-readonly",b.isSaving),E(3),K("disabled",b.isSaving),E(2),rk("bv2-edit-resource-readonly",b.isSaving),E(3),K("disabled",b.isSaving),E(5),K("disabled",b.isSaving))},dependencies:[EA,dA,aA,bA,
YF,WF,pG,Bp,hG,iG,AG,wG,vG,u0],encapsulation:2});var pdd=["form"],v4=function(){Z.call(this);this.butterBar=x(MA);this.paths=x(TO);this.routeParams=x(NI);this.analytics=x(nE);this.appHistory=x(PY);this.bLocation=x(hL);this.activeSession=x(Ks);this.documentationLinks=x(XH);this.componentActions=x(DO);this.component={parentComponentId:"",name:"",description:"",commentEditState:"DISABLED"};this.parentComponentInternal=null;this.sessionIsExternal=this.activeSession.isExternalSession();this.commentEditsEnabled=this.componentIsValid=this.retentionIsValid=
this.isSaving=!1;this.routeParams.parentId&&this.loadParentComponent(String(this.routeParams.parentId))};Y(v4,Z);v4.\u0275dir=Z.\u0275dir;g=v4.prototype;g.ngAfterViewInit=function(){};
g.create=function(){var a=this;this.validate()&&(hq(this.butterBar,"Saving component...",0),this.isSaving=!0,this.component.parentComponentId=this.parentComponent.componentId,this.componentActions.create(this.component).then(function(b){hq(a.butterBar,"Component saved, redirecting in "+a.activeSession.getCreateComponentRedirectDelay()/1E3+"s.",a.activeSession.getCreateComponentRedirectDelay());a.analytics.trackEvent("component","create");a.commentEditsEnabled?a.analytics.trackEvent("component","comment edits enabled",
"create"):a.analytics.trackEvent("component","comment edits disabled","create");setTimeout(function(){a.isSaving=!1;a.bLocation.replaceUrl(Hq.editComponent.makeHref(b.componentId))},a.activeSession.getCreateComponentRedirectDelay())}).catch(function(b){a.butterBar.showWarning(on(b),0);a.isSaving=!1}))};g.back=function(){QY(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).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;qdd(this)};g.accessCheckComplete=function(a){this.componentIsValid=a;qdd(this)};
var qdd=function(a){a.parentComponent?(a.component.commentEditState=a.parentComponent.commentEditState,a.commentEditsEnabled=a.component.commentEditState==="ENABLED"):(a.component.commentEditState="DISABLED",a.commentEditsEnabled=!1)};pg.Object.defineProperties(v4.prototype,{parentComponent:{configurable:!0,enumerable:!0,get:function(){return this.parentComponentInternal},set:function(a){this.parentComponentInternal=a;qdd(this)}}});v4.\u0275fac=function(a){return new (a||v4)};
v4.\u0275cmp=F({type:v4,selectors:[["create-component-page"]],viewQuery:function(a,b){a&1&&ek(pdd,5);if(a&2){var c;ik(c=jk())&&(b.createComponentForm=c.first)}},standalone:!1,features:[xj],decls:55,vars:32,consts:[["form","ngForm"],[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"],
[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,"ngModelChange","bFocus","ngModel","disabled","required"],["for","component-description"],["id","component-description","placeholder","Component description","name","componentDescription","aria-label","Component description",3,"ngModelChange","ngModel","disabled"],["for","parent-component",
1,"required"],["id","parent-component","ariaLabel","Parent component",3,"selectedComponentChange","accessCheckComplete","selectedComponent","placeholder","isRequired","checkAdminAccess"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],["ariaLabel","Editable comments",3,"change","checked"],[1,"edit-field-help"],[1,"permission-toggle-help","edit-field-help"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["for","retention-settings",1,"required"],["id","retention-settings"],
[3,"modelChange","validChange","issueRetentionDisabled","isExternal","componentPathInfo","initialModel"],[1,"advanced-settings-info"],[1,"bv2-component-button-bar"],["format","fill",3,"onAction","disabled"],["format","hairline",3,"onAction","disabled"]],template:function(a,b){if(a&1){var c=y();L(0,"div",1)(1,"div",2)(2,"b-button",3);Q("onAction",function(){z(c);return B(b.back())});N(3,"b-icon",4);M()()();L(4,"div",5)(5,"h2",6);U(6,"Create component");M();L(7,"div",7)(8,"form",8,0);N(10,"b-error-banner",
9);L(11,"div",10)(12,"label",11)(13,"span",12);U(14,"Name");M()();L(15,"input",13);xk("ngModelChange",function(d){z(c);wk(b.component.name,d)||(b.component.name=d);return B(d)});M()();L(16,"div",10)(17,"label",14)(18,"span",12);U(19,"Description");M()();L(20,"textarea",15);xk("ngModelChange",function(d){z(c);wk(b.component.description,d)||(b.component.description=d);return B(d)});U(21,"        ");M()();L(22,"div",10)(23,"label",16)(24,"span",12);U(25,"Parent Component");M()();L(26,"b-team-component-picker",
17);Q("selectedComponentChange",function(d){z(c);return B(b.onComponentSelect(d!=null?d:null))})("accessCheckComplete",function(d){z(c);return B(b.accessCheckComplete(d))});M()();L(27,"div",18)(28,"div",19)(29,"mat-checkbox",20);Q("change",function(d){z(c);return B(b.setCommentEditState(d.checked))});M()();L(30,"div")(31,"strong",21);U(32,"Editable Comments");M();L(33,"div",22);U(34," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");
I(35,gMb,2,1,"a",23);M()()();L(36,"div",10)(37,"label",24)(38,"span",12);U(39,"Retention Settings");M()();L(40,"div",21)(41,"p");U(42,"Please choose a period of time to retain the data stored in this component.");N(43,"br");L(44,"a",23);U(45," Learn more ");M()()();L(46,"div",25)(47,"b-retention-settings-form",26);Q("modelChange",function(d){z(c);return B(b.component.retentionSettings=d)})("validChange",function(d){z(c);return B(b.retentionIsValid=d)});M()()();L(48,"p",27);U(49," Advanced settings such as custom field and access controls may be defined once the component is created. ");
M();L(50,"div",28)(51,"b-button",29);Q("onAction",function(){z(c);return B(b.create())});U(52," Save ");M();L(53,"b-button",30);Q("onAction",function(){z(c);return B(b.back())});U(54," Discard ");M()()()()()}a&2&&(E(8),rk("show-errors",b.error),E(2),K("error",b.error),E(),rk("bv2-edit-resource-readonly",b.isSaving),E(4),K("bFocus",!0),vk("ngModel",b.component.name),K("disabled",b.isSaving)("required",!0),E(),rk("bv2-edit-resource-readonly",b.isSaving),E(4),vk("ngModel",b.component.description),K("disabled",
b.isSaving),E(2),rk("bv2-edit-resource-readonly",b.isSaving),E(4),K("selectedComponent",b.parentComponent)("placeholder","Choose Component")("isRequired",!0)("checkAdminAccess",!0),E(),rk("bv2-edit-resource-readonly",b.isSaving),E(2),K("checked",b.commentEditsEnabled),E(6),J(b.sessionIsExternal?-1:35),E(9),K("href",Gs(),Ni),E(2),rk("bv2-edit-resource-readonly",b.isSaving),E(),K("issueRetentionDisabled",b.isSaving)("isExternal",tr(b.parentComponent))("componentPathInfo",b.parentComponent==null?null:
b.parentComponent.componentPathInfo)("initialModel",b.component.retentionSettings),E(4),K("disabled",b.isSaving||!b.componentIsValid),E(2),K("disabled",b.isSaving))},dependencies:[DM,u0,oP,pG,Bp,hG,iG,AG,oG,mG,jK,aG,HG,t1,OO],styles:["b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}\n/*# sourceMappingURL=create_component_page.css.map */"]});var rdd=["hotlistName"],w4=function(){var a=x(LR);Z.call(this);var b=this;this.location=x(hL);this.appHistory=x(PY);this.snackBar=x(JA);this.hotlistApi=x(zC);this.analytics=x(nE);this.errorHandler=x(PA);this.appEvents=x(EB);this.error="";this.isSaving=!1;this.hotlistUnderEdit=new lG({name:new nG("",zp),description:new nG("")});this.subscriptions.add(MR(a,function(){return!(!b.name()&&!b.description())},!1))};Y(w4,Z);w4.\u0275dir=Z.\u0275dir;g=w4.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});a.analytics.trackEvent("hotlist","create");a.location.replaceUrl(Hq.editHotlist.makeHref(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(){QY(this.appHistory)};g.revertChanges=function(){this.hotlistUnderEdit.reset()};g.name=function(){var a,b=(a=this.hotlistUnderEdit.get("name"))==null?void 0:a.value;return b?b:""};g.description=function(){var a,b=(a=this.hotlistUnderEdit.get("description"))==null?void 0:a.value;return b?b:""};
w4.\u0275fac=function(a){return new (a||w4)};
w4.\u0275cmp=F({type:w4,selectors:[["b-create-hotlist"]],viewQuery:function(a,b){a&1&&ek(rdd,5);if(a&2){var c;ik(c=jk())&&(b.hotlistName=c.first)}},standalone:!1,features:[xj],decls:27,vars:9,consts:[["hotlistName",""],[1,"kd-appbar"],[1,"kd-buttonbar","ltr"],["type","button","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"],["for","hotlist-name",
1,"required"],["type","text","autofocus","autofocus","id","hotlist-name","required","","aria-required","true","formControlName","name",3,"disabled"],["for","hotlist-description"],["id","hotlist-description","formControlName","description",3,"disabled"],[1,"advanced-settings-info"],[1,"edit-button-row"],["type","button","mat-flat-button","","color","primary",3,"click","disabled"],["type","button","mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){if(a&1){var c=y();L(0,"div",
1)(1,"div",2)(2,"button",3);Q("click",function(){z(c);return B(b.back())});N(3,"mat-icon",4);M();L(4,"h2");U(5,"Create a new hotlist");M()()();L(6,"div",5)(7,"div",6)(8,"form",7);N(9,"b-error-banner",8);L(10,"div",9)(11,"label",10);U(12,"Name");M();N(13,"input",11,0);M();L(15,"div",9)(16,"label",12);U(17,"Description");M();L(18,"textarea",13);U(19,"        ");M()();L(20,"p",14);U(21," Advanced settings such as access controls may be defined once the hotlist is created. ");M();L(22,"div",15)(23,"button",
16);Q("click",function(){z(c);return B(b.save())});U(24," Save ");M();L(25,"button",17);Q("click",function(){z(c);return B(b.revertChanges())});U(26," Revert changes ");M()()()()()}a&2&&(E(8),K("formGroup",b.hotlistUnderEdit),E(),K("error",b.error),E(),rk("bv2-edit-resource-readonly",b.isSaving),E(3),K("disabled",b.isSaving),E(2),rk("bv2-edit-resource-readonly",b.isSaving),E(3),K("disabled",b.isSaving),E(5),K("disabled",b.isSaving))},dependencies:[EA,dA,aA,bA,YF,WF,pG,Bp,hG,iG,AG,wG,vG,u0],encapsulation:2});var x4=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,x4.messageId)};Y(x4,n);x4.prototype.getContent=function(){return Oc(this,1,void 0,Kc)};x4.prototype.setContent=function(a){return lf(this,1,a,Kc)};x4.prototype.hasContent=function(){return Ge(this,1,Kc)};x4.messageId="b.LlmGenericRequest";var sdd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,sdd.messageId)};Y(sdd,n);sdd.messageId="b.LlmGenericResponse";var y4=function(){this.executor=x(fy)};y4.prototype.suggestIssueTitle=function(a){a=(new x4).setContent(a);return this.executor.post({url:"/action/llm/suggest_title",body:a,responseConstructor:sdd}).then(function(b){var c;return(c=Oc(b,1,void 0,Kc))!=null?c:""})};y4.\u0275fac=function(a){return new (a||y4)};y4.\u0275prov=Dg({token:y4,factory:y4.\u0275fac,providedIn:"root"});var z4=function(){this.isGeneratingTitle=new $n(!1);this.generatedTitle=new $n(null);this.suggestTitleRequested=new oj};z4.\u0275fac=function(a){return new (a||z4)};z4.\u0275prov=Dg({token:z4,factory:z4.\u0275fac,providedIn:"root"});var A4=function(){Z.call(this);var a=this;this.activeSession=x(Ks);this.butterBar=x(MA);this.analytics=x(nE);this.llmSuggestTitleService=x(z4);this.llmApi=x(y4);this.suggestedTitle=new iE;this.enableSuggestTitle=Cx(this.activeSession,"enableSuggestTitle")||!1;ex(this.llmSuggestTitleService.suggestTitleRequested).pipe(tj(this.destroyed$)).subscribe(function(){a.suggestIssueTitle()})};Y(A4,Z);A4.\u0275dir=Z.\u0275dir;
A4.prototype.suggestIssueTitle=function(){var a=this,b;return v(function(c){if(c.nextAddress==1){if(!a.enableSuggestTitle||a.description.value==="")return c.return();a.analytics.trackEvent("llm","generate","title");a.llmSuggestTitleService.isGeneratingTitle.next(!0);return w(c,a.llmApi.suggestIssueTitle(a.description.value),2)}b=c.yieldResult;b=b.trim();if(b===""){var d=a.llmSuggestTitleService;d.generatedTitle.next(null);d.isGeneratingTitle.next(!1);a.suggestedTitle.emit(null);hq(a.butterBar,"Could not generate title. Try adding more to the description.",
3E3);return c.return()}d=b;var e=a.llmSuggestTitleService;e.generatedTitle.next(d);e.isGeneratingTitle.next(!1);a.suggestedTitle.emit(d);ji(c)})};A4.\u0275fac=function(a){return new (a||A4)};
A4.\u0275cmp=F({type:A4,selectors:[["llm-suggest-title-button"]],inputs:{description:"description"},outputs:{suggestedTitle:"suggestedTitle"},standalone:!1,features:[xj],decls:3,vars:2,consts:[["mat-stroked-button","","color","primary","type","button","matTooltipPosition","above","aria-label","Generate AI-suggested title for this issue",1,"suggest-title-button","gmat-mdc-button","margin-s-left",3,"click","matTooltip","disabled"],["svgIcon","pen_spark_24px",1,"icon-s","margin-xs-right"]],template:function(a,
b){a&1&&(L(0,"button",0),Q("click",function(){return b.suggestIssueTitle()}),N(1,"mat-icon",1),U(2," Suggest title\n"),M());a&2&&K("matTooltip",b.description.value===""?"Enter a description to suggest a title":"Generate AI-suggested title for this issue")("disabled",b.description.value==="")},dependencies:[EA,dA,aA,YF,WF],styles:[".suggest-title-button[_ngcontent-%COMP%]{height:29px;line-height:29px;padding:0 12px}.mat-icon[_ngcontent-%COMP%]{margin-top:-4px}\n/*# sourceMappingURL=llm_suggest_title_button.css.map */"]});var tdd=[[["","mainSegment",""]],[["","dropdownSegment",""]]],B4=function(){this.mainSegment=!0};B4.\u0275fac=function(a){return new (a||B4)};B4.\u0275dir=$i({type:B4,selectors:[["button","mainSegment",""]],hostVars:2,hostBindings:function(a,b){a&2&&rk("main-segment",b.mainSegment)},standalone:!1});var C4=function(){this.dropdownAriaLabel=this.dropdownTooltip="";this.disabled=!1;this.size="large";this.dialogClosed=new iE;this.dialogOpened=new iE};C4.prototype.ngAfterContentInit=function(){};
C4.prototype.ngOnChanges=function(a){a.dropdownTooltip&&!this.dropdownAriaLabel&&(this.dropdownAriaLabel=this.dropdownTooltip)};pg.Object.defineProperties(C4.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){var a,b;return(b=(a=this.trigger)==null?void 0:a.isOpen)!=null?b:!1}}});C4.\u0275fac=function(a){return new (a||C4)};
C4.\u0275cmp=F({type:C4,selectors:[["split-button"]],contentQueries:function(a,b,c){a&1&&fk(c,B4,5);if(a&2){var d;ik(d=jk())&&(b.mainSegment=d.first)}},viewQuery:function(a,b){a&1&&ek(iP,5);if(a&2){var c;ik(c=jk())&&(b.trigger=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&rk("expanded",b.expanded)},inputs:{dropdownTooltip:"dropdownTooltip",dropdownAriaLabel:"dropdownAriaLabel",disabled:"disabled",size:"size"},outputs:{dialogClosed:"dialogClosed",dialogOpened:"dialogOpened"},exportAs:["splitButton"],
standalone:!1,features:[$w],ngContentSelectors:["[mainSegment]","[dropdownSegment]"],decls:8,vars:7,consts:[["trigger","onedevPopupPanelTrigger"],["contentPanel","onedevPopupPanel"],["type","button","mat-icon-button","","onedevPopupPanelTrigger","",3,"click","onedevPopupPanelTriggerOpened","onedevPopupPanelTriggerClosed","onedevPopupPanelTriggerFor","matTooltip","disabled"],["svgIcon","arrow-dropdown"],["role","region"],[1,"dropdown-container"]],template:function(a,b){if(a&1){var c=y();Zj(tdd);ak(0);
L(1,"button",2,0);Q("click",function(){z(c);var d,e;if((e=(d=b.trigger)==null?void 0:d.isOpen)!=null&&e){var f;(f=b.trigger)==null||f.close()}else{var h;(h=b.trigger)==null||h.open()}return B()})("onedevPopupPanelTriggerOpened",function(){z(c);return B(b.dialogOpened.emit())})("onedevPopupPanelTriggerClosed",function(){z(c);return B(b.dialogClosed.emit())});N(3,"mat-icon",3);M();L(4,"onedev-popup-panel",4,1)(6,"div",5);ak(7,1);M()()}a&2&&(a=T(5),E(),sk(zk("dropdown-button ",b.size)),K("onedevPopupPanelTriggerFor",
a)("matTooltip",b.dropdownTooltip)("disabled",b.disabled),Hj("aria-label",b.dropdownAriaLabel))},dependencies:[EA,dA,bA,YF,WF,hP,iP],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{transition:250ms transform}[_nghost-%COMP%]     .mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:0}/*# sourceMappingURL=split_button.css.map */"],
changeDetection:0});var udd=new Map([["TOTALLY_INCORRECT","Totally incorrect"],["MISSING_IMPORTANT_INFO","Missing important info"],["OTHER","Other"]]),D4=function(){Z.apply(this,arguments);this.butterBar=x(MA);this.analytics=x(nE);this.llmSuggestTitleService=x(z4);this.suggestionAccepted=new iE;this.isGeneratingTitle$=ex(this.llmSuggestTitleService.isGeneratingTitle).pipe(pj({refCount:!0,bufferSize:1}));this.suggestedTitle$=ex(this.llmSuggestTitleService.generatedTitle).pipe(pj({refCount:!0,bufferSize:1}));this.isVisible$=
si([ex(this.llmSuggestTitleService.isGeneratingTitle),ex(this.llmSuggestTitleService.generatedTitle)]).pipe(tj(this.destroyed$),C(function(a){var b=l(a);a=b.next().value;b=b.next().value;return a||b}));this.suggestedTitleRejectionReasons=["TOTALLY_INCORRECT","MISSING_IMPORTANT_INFO","OTHER"];this.REJECT_REASON_TO_DISPLAY=udd};Y(D4,Z);D4.\u0275dir=Z.\u0275dir;
var kMb=function(a){var b;return v(function(c){if(c.nextAddress==1)return w(c,pi(ex(a.llmSuggestTitleService.generatedTitle)),2);b=c.yieldResult;if(!b)return c.return();a.analytics.trackEvent("llm","accept","title");a.suggestionAccepted.emit(b);a.llmSuggestTitleService.generatedTitle.next(null);ji(c)})};D4.prototype.close=function(){this.llmSuggestTitleService.generatedTitle.next(null)};D4.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(D4)))(b||D4)}}();
D4.\u0275cmp=F({type:D4,selectors:[["llm-suggest-title-preview"]],outputs:{suggestionAccepted:"suggestionAccepted"},standalone:!1,features:[xj],decls:2,vars:3,consts:[["splitButton",""],[1,"suggest-title","flex-kids-x","carded","margin-s-top"],[1,"flex-kids-y","flex","gap"],[1,"flex-kids-x","align-items-center","space-between"],[1,"heading-s"],[1,"flex-kids-x"],["type","button","mat-icon-button","","aria-label","Re-generate title","matTooltip","Re-generate title",1,"request-title",3,"click"],["svgIcon",
"refresh"],["type","button","mat-icon-button","","aria-label","Hide AI suggested title","matTooltip","Hide AI suggested title",1,"hide-suggest-title",3,"click"],["svgIcon","close"],[1,"type-m","margin-s-right"],[1,"flex-kids-x","gap-s"],["mat-flat-button","","color","primary","type","button",1,"small",3,"click","disabled"],["dropdownTooltip","Specify reject reason",3,"size","disabled"],["type","button","mat-button","","mainSegment","",1,"small",3,"click","disabled"],["dropdownSegment",""],["type",
"button","mat-menu-item","",1,"rejection-reason"],["type","button","mat-menu-item","",1,"rejection-reason",3,"click"]],template:function(a,b){a&1&&(I(0,lMb,27,13,"div",1),W(1,"async"));a&2&&J(X(1,1,b.isVisible$)?0:-1)},dependencies:[EA,dA,aA,bA,YF,WF,lL,C4,B4,kK,py],styles:[".suggest-title[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:4px;padding:8px 8px 16px 16px}\n/*# sourceMappingURL=llm_suggest_title_preview.css.map */"]});var E4=function(){Z.call(this);var a=this;this.similarIssuesApi=x(cP);this.analytics=x(nE);this.activeSession=x(Ks);this.hasSearched=this.isLoading=!1;this.loadedIssueCount=0;this.componentId$=new nj(1);this.contextRaw$=new nj(1);this.tableColumns=[{type:"TITLE"},{type:"PRIORITY"},{type:"CREATED_TIME"}];this.isInternal=this.activeSession.isInternalSession();this.tableOptions={showActiveIndicator:!1,showMenu:!1,hideColumnHeaders:!0,enableIssueHovercard:!0,rowLimit:3,navigationOptions:{alwaysOpenNewTab:!0},
modes:{createdTime:"relativepastshort"}};this.searchString$=this.contextRaw$.pipe(C(function(b){return b.trim()}),Di(function(b){return b.length>=7}),fj(200));this.issues$=si([this.componentId$,this.searchString$]).pipe(sj(function(b){var c=l(b);b=c.next().value;c=c.next().value;a.isLoading=!0;return QOc(a.similarIssuesApi,{scope:"componentId:"+b+" modified:365d status:open",scopeSortOrder:"vote_count desc",maxResults:15,keyword:c})}),cj(function(b){oe("similarIssuesApi.lookupSimilarIssues() error: ",
b);var c,d,e=(d=b==null?void 0:(c=b.error)==null?void 0:c.status)!=null?d:b==null?void 0:b.status;a.analytics.trackEvent("similarIssues","error",e);return li({similarIssues:[],scores:[]})}),C(function(b){return pMb(b)}),uj(function(b){a.isLoading=!1;a.hasSearched=!0;a.loadedIssueCount=b.length}));this.issueIds$=this.issues$.pipe(C(function(b){return b.map(function(c){return c.issueId})}));this.subscriptions.add(this.issues$.pipe(C(function(b){return b.length})).subscribe(function(b){a.analytics.trackEvent("similarIssues",
"loaded","possible-dupes-"+b,b)}))};Y(E4,Z);E4.\u0275dir=Z.\u0275dir;
pg.Object.defineProperties(E4.prototype,{isThinkingOnEmpty:{configurable:!0,enumerable:!0,get:function(){return this.isLoading&&!this.hasSearched}},isEmpty:{configurable:!0,enumerable:!0,get:function(){return!this.isLoading&&this.loadedIssueCount===0}},componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentId$.next(a)},get:function(){return up(this.componentId$)}},context:{configurable:!0,enumerable:!0,set:function(a){this.contextRaw$.next(a!=null?a:"")}}});
E4.\u0275fac=function(a){return new (a||E4)};
E4.\u0275cmp=F({type:E4,selectors:[["similar-issues"]],hostVars:4,hostBindings:function(a,b){a&2&&rk("thinking-on-empty",b.isThinkingOnEmpty)("is-empty-state",b.isEmpty)},inputs:{componentId:"componentId",context:"context"},standalone:!1,features:[xj],decls:8,vars:5,consts:[[1,"flex-kids-x","align-items-center","gap-s","margin-s-y"],["svgIcon","spark_24px","color","primary"],[1,"heading-xs"],["mat-icon-button","","href","http://go/similar-issues-buganizer","target","_blank","matTooltip","Learn more",
"aria-label","Learn more",1,"xs","muted"],[3,"issueIds","tableColumns","options"],["svgIcon","help-outline"]],template:function(a,b){a&1&&(L(0,"div",0),N(1,"mat-icon",1),L(2,"h3",2),U(3,"Possible duplicates"),M(),I(4,mMb,2,0,"a",3),I(5,nMb,1,0,"b-spinner"),M(),I(6,oMb,1,3,"b-issues-table",4),W(7,"async"));if(a&2){var c;E(4);J(b.isInternal?4:-1);E();J(b.isLoading&&!b.isThinkingOnEmpty?5:-1);E();J((c=X(7,3,b.issueIds$))?6:-1,c)}},dependencies:[EA,lL,AT,YF,WF,dA,bA,py],styles:["[_nghost-%COMP%]{display:block}.dark-mode   [_nghost-%COMP%]     .mat-mdc-table, [_nghost-%COMP%]     .mat-mdc-table{background:transparent}.thinking-on-empty[_nghost-%COMP%]{-webkit-animation:_ngcontent-%COMP%_ai-shimmer 2.1s linear infinite;animation:_ngcontent-%COMP%_ai-shimmer 2.1s linear infinite;background:-webkit-linear-gradient(315deg,var(--ai-muted),var(--ai-analog-muted),var(--ai-analog-very-muted),var(--ai-complement-muted),var(--ai-muted),var(--ai-muted),var(--ai-analog-muted),var(--ai-analog-very-muted),var(--ai-complement-muted),var(--ai-muted)) 50%/800% 800%;background:linear-gradient(135deg,var(--ai-muted),var(--ai-analog-muted),var(--ai-analog-very-muted),var(--ai-complement-muted),var(--ai-muted),var(--ai-muted),var(--ai-analog-muted),var(--ai-analog-very-muted),var(--ai-complement-muted),var(--ai-muted)) 50%/800% 800%}@-webkit-keyframes _ngcontent-%COMP%_ai-shimmer{0%{background-position:100% 100%}to{background-position:top 37.5% left 37.5%}}@keyframes _ngcontent-%COMP%_ai-shimmer{0%{background-position:100% 100%}to{background-position:top 37.5% left 37.5%}}.is-empty-state[_nghost-%COMP%]{display:none}\n/*# sourceMappingURL=similar_issues.css.map */"]});var vdd=["popOver"],rMb=function(a){return{$implicit:a}},zMb=function(a){return{editingValue:a}},F4=function(){this.injector=x(yj);this.val="";this.allowMultipleLines=!0;this.disabled=this.centerEditIcon=this.newlineWithEnterKey=!1;this.overlayMinWidth=null;this.hasBackdrop=!0;this.openPopOverOnInit=this.fitPopoverToViewport=!1;this.required=Hk.apply(null,[!1].concat(p([])));this.valueChange=new Lp;this.editorOpen=new Lp;this.editing=this.headerFocused=!1;this.editingValue=new nG("",{nonNullable:!0});
this.onChange=function(){};this.onTouched=function(){}};Y(F4,IT);g=F4.prototype;g.ngOnInit=function(){var a=this.injector.get(fG,null),b;(a==null?0:(b=a.control)==null?0:b.validator)&&this.editingValue._assignValidators(a.control.validator);this.required()&&(a=this.editingValue,b=OJa(a._rawValidators),a._assignValidators(b))};g.ngAfterViewInit=function(){this.openPopOverOnInit&&this.startEditing()};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({isOpen:!0}))};g.stopEditing=function(a){this.editing=!1;(this.required()?this.editingValue.valid:1)?(a===0&&(this.onChange(this.editingValue.value),this.value=this.editingValue.value,this.valueChange.emit(this.value)),this.editorOpen.emit({isOpen:!1,closeAction:a})):this.editorOpen.emit({isOpen:!1,closeAction:1})};
g.writeValue=function(a){a!=null&&(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};pg.Object.defineProperties(F4.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});
F4.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(F4)))(b||F4)}}();
F4.\u0275cmp=F({type:F4,selectors:[["onedev-text-field"]],viewQuery:function(a,b){a&1&&ek(vdd,7);if(a&2){var c;ik(c=jk())&&(b.popOver=c.first)}},inputs:{value:"value",allowMultipleLines:"allowMultipleLines",multilineMaxLines:"multilineMaxLines",newlineWithEnterKey:"newlineWithEnterKey",centerEditIcon:"centerEditIcon",disabled:"disabled",labelledById:"labelledById",valueTemplate:"valueTemplate",overlayMinWidth:"overlayMinWidth",editorTemplate:"editorTemplate",hasBackdrop:"hasBackdrop",fitPopoverToViewport:"fitPopoverToViewport",
openPopOverOnInit:"openPopOverOnInit",required:[1,"required"]},outputs:{valueChange:"valueChange",editorOpen:"editorOpen"},standalone:!1,features:[Bk([{provide:cG,useExisting:$g(function(){return F4}),multi:!0},{provide:IT,useExisting:$g(function(){return F4}),multi:!0}]),xj],decls:11,vars:11,consts:[["anchor",""],["standardValueDisplay",""],["popOver","onedevPopOverEditPanel"],["inputTemplate",""],["singleLineTemplate",""],["type","button",3,"click","focus","blur"],[4,"ngIf","ngIfElse"],["class",
"edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"centered",4,"ngIf"],[3,"closedWithAction","anchor","minWidth","editorTemplate","newlineWithEnterKey","hasBackdrop","fitToViewport","saveDisabled"],[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","required","cdkAutosizeMaxRows",4,"ngIf","ngIfElse"],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows","1",3,"formControl","required","cdkAutosizeMaxRows"],["spellcheck","false","autocomplete","off",3,"formControl"]],template:function(a,b){if(a&1){var c=y();L(0,"button",5,0);Q("click",function(){z(c);return B(b.startEditing())})("focus",
function(){z(c);return B(b.headerFocused=!0)})("blur",function(){z(c);return B(b.headerFocused=!1)});L(2,"span");G(3,sMb,2,4,"ng-container",6)(4,tMb,1,1,"ng-template",null,1,Gk);M();G(6,uMb,2,2,"svg",7);M();L(7,"onedev-pop-over-edit-panel",8,2);Q("closedWithAction",function(f){z(c);return B(b.stopEditing(f))});M();G(9,BMb,2,2,"ng-template",null,3,Gk)}if(a&2){a=T(1);var d=T(5),e=T(10);Hj("aria-labelledby",b.labelledById);E(3);K("ngIf",b.valueTemplate)("ngIfElse",d);E(3);K("ngIf",!b.disabled);E();K("anchor",
a)("minWidth",b.overlayMinWidth)("editorTemplate",e)("newlineWithEnterKey",b.newlineWithEnterKey)("hasBackdrop",b.hasBackdrop)("fitToViewport",b.fitPopoverToViewport)("saveDisabled",b.editingValue.invalid)}},dependencies:[ny,oy,Bp,hG,AG,kH,JT,uG],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 wdd=["descriptionConfirmDialog"],pNb=function(){return[]},TNb=function(){return{standalone:!1}},xdd=new kh("titleBannedWordsChecker"),ydd=new kh("descriptionBannedWordsChecker"),zdd={noListedUsers:{title:"Issue will have no listed users",content:"No one will be able to access this issue due to the Issue Access Limit that you have set, and the lack of any listed user on the issue. We strongly recommend maintaining at least one user with access. Are you sure you still want to proceed?"},loseAccess:{title:"You will lose access",
content:"You will not be able to access this issue because you are not listed on the issue and have set a restrictive Issue Access Level. Are you sure you want to proceed?"}},G4=function(){Z.call(this);var a=this;this.routeParams=x(NI);this.hotkeys=x(BL);this.checkBeforeExit=x(LR);this.constants=x(oI);this.ngZone=x(Kk);this.$log=x(NA);this.reloadService=x(pY);this.paths=x(TO);this.redirectUrl=x(N1);this.userAccess=x(dD);this.accessPolicy=x(qB);this.bLocation=x(hL);this.appHistory=x(PY);this.issueTemplate=
x(M1);this.issueTypeDialog=x(mI);this.componentActions=x(DO);this.activeSession=x(Ks);this.draftStore=x(WH);this.analytics=x(nE);this.issueApi=x(vD);this.hotlistApi=x(zC);this.butterBar=x(MA);this.errorHandler=x(PA);this.matDialogService=x(eI);this.appEvents=x(EB);this.userPreferencesManager=x(NF);this.cdr=x(jE,{self:!0});this.issueRelationshipsFridge=x(CE);this.issueFullFridge=x(pE);this.componentFridge=x(AB);this.clearcut=x(cE);this.jspbPrincipalTypes=x(XE);this.trackerFridge=x(vF);this.titleBannedWordsChecker=
x(xdd);this.descriptionBannedWordsChecker=x(ydd);this.confirmIssueAccessLimitSettingsService=x(t_);this.componentTemplateApi=x(DB);this.dismissalService=x(UO);this.hostElement=x(Ph);this.currentUserBookmarksFridge=x(JC);this.staffingDialogService=x(r_);this.isFieldConfigurationV2Enabled=Cx(this.activeSession,"enableFieldConfigV2Fe")&&this.activeSession.isInternalSession();this.ISSUE_ID_LIST_PATTERN=/^[\s\d,]*$/;this.ISSUE_ID_LIST_DELIMITER=/[\s,]+/;this.COLLABORATOR_GROUPS_TOOLTIP="Collaborator groups are trusted groups that are configured by tracker admins only. Select and add these groups if they should be given collaborator access to this issue.";
this.recentIssuesInComponent=sp;this.userEmail=this.activeSession.getUserEmail();this.sessionIsExternal=this.activeSession.isExternalSession();this.enableRecaptcha=this.activeSession.userRequiresCaptcha();this.parseStringArray=ws;this.joinStringArray=vs;this.hotlistMap={};this.hotlists=[];this.templateTitle=this.templateComment="";this.appliedTemplate=null;this.urlTemplate=new tad(this.routeParams,this.$log);this.isLoadingComponent=!1;this.descriptionBoxId="bv2-description";this.availablePredefinedTemplates=
[];this.selectedTemplateInternal=this.availableExistingIssueTemplate=null;this.autocompleteConfigService=x(wP);this.preferredTemplateId=null;this.everClickedSimilarIssues=this.everShowedIssueHovercard=this.isNavigatingAway=this.isSaving=this.submitRequested=!1;this.selectedHotlists=[];this.componentHasExpandedAccessEnabled=this.canViewIssuesInComponent=this.canEditIssuesInComponent=this.createAclLoading=this.canCreateNewIssuesInComponent=this.newIssueStarted=!1;this.customFieldMap={};this.fieldConfigsV2=
[];this.customFieldAllowedValuesMap={};this.issue=wd(XNb);this.verifierText=this.reporterText=this.assigneeText=null;this.collaboratorsText=this.ccsText="";this.collaboratorGroupsText=[];this.audience="EXTERNAL";this.selectedComponent=null;this.selectedAccessLimitLevel="LIMIT_NONE";this.selectedComponentProcessedPromise=Promise.resolve(void 0);this.useCodefont=!1;this.hasAdvancedFieldsInUrlTemplate=vad(this.urlTemplate)||!!this.parentIssueIds||!!this.childrenIssueIds;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=td;this.toIssueSeverity=zea;this.FieldType=rN;this.initialized=!1;this.trackerComponent$=wi(function(){return li(a.activeSession.getTracker())}).pipe(sj(function(c){return c?a.componentFridge.watch(c.componentId).pipe(rj(void 0)):li(void 0)}));
this.trackerId$=new $n(void 0);this.tracker$=this.trackerId$.pipe(sj(function(c){return c?a.trackerFridge.watch(c):li(void 0)}));this.titleAfterBlur$=new oj;this.similarIssuesSearchString$=this.titleAfterBlur$.pipe(ij(100));this.trackerCollaboratorGroups=[];this.enableSuggestTitle=Cx(this.activeSession,"enableSuggestTitle")&&this.activeSession.isInternalSession();this.onAnyClick=function(c){bza(c).match("SIMILAR-ISSUES")&&(a.everClickedSimilarIssues=!0,a.analytics.trackEvent("similarIssues","click"))};
this.getSingleEditFieldType=ISa;this.getListFieldType=QUa;this.didConfirmNavigateAway=function(){a.everShowedIssueHovercard||a.everClickedSimilarIssues?a.analytics.trackEvent("createIssue","abandon-happy"):a.analytics.trackEvent("createIssue","abandon-normal")};this.fetchUserHotlists();this.checkBeforeExit.didConfirm=this.didConfirmNavigateAway;this.subscriptions.add(this.tracker$.subscribe(function(c){a.updateCollaboratorGroups(c)}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){a.fetchUserHotlists()}));
this.subscriptions.add(this.appEvents.didShowIssueHovercard.subscribe(function(){a.everShowedIssueHovercard=!0;a.analytics.trackEvent("similarIssues","hover")}));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(function(){a.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(){a.fetchUserHotlists()}));this.frontendIsInternalOrPartner=this.activeSession.isInternalSession()||Ax(this.activeSession);this.priorityChoices=this.constants.priorities.map(function(c){return{value:c,
displayText:c}});this.severityChoices=this.constants.severities.map(function(c){return{value:c,displayText:c}});this.issueTypeChoices=this.constants.editIssueTypeChoices;this.piiWarningMessage=this.activeSession.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.componentAutocomplete=this.routeParams.componentAutocomplete;this.componentRequestedInUrl=this.routeParams.component;this.templateIssueRequestedInUrl=this.routeParams.template_issue;if(this.routeParams.template){var b=Number(this.routeParams.template);b&&(this.preferredTemplateId=b)}if(b=this.routeParams.parentIssueId)this.parentIssueIds=Array.isArray(b)?b:[b];if(b=this.routeParams.childrenIssueIds)this.childrenIssueIds=Array.isArray(b)?b:[b];if(b=this.routeParams.afterIssueId)this.afterIssueId=
Array.isArray(b)?b[0]:b;VNb(this.issue,this);this.routeParams.description?this.comment=new II(this.routeParams.description,!0):(b=this.draftStore.$window.sessionStorage.getItem(Kp("0"))||"",this.comment=new II(b));this.comment.formattingMode=Add(this);b=Bdd(this.routeParams);this.isFormatInRoute=b!=null;b&&(this.comment.formattingMode=b);this.subscriptions.add(this.userPreferencesManager.preferences$.subscribe(function(c){var d;a.useCodefont=(d=c.useCodefont)!=null?d:a.useCodefont}));this.subscriptions.add(CL(this.hotkeys,
{title:"Create Issue Page",hotkeys:[{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var c;(c=a.hotlistPicker)==null||c.open()}},{keys:["u"],displayAs:"u",description:"Back to previous page",onPress:function(){a.back()}}]}));this.componentRequestedInUrl?(this.newIssueStarted=!0,Cdd(this,this.componentRequestedInUrl)):this.componentAutocomplete?Ddd(this,this.componentAutocomplete):(Aad(this.urlTemplate,this.issue),this.updateSelectedHotlists());this.templateIssueRequestedInUrl&&
(this.newIssueStarted=!0,Edd(this));this.originalIssueCopy=wd(this.issue);this.routeParams.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.createRestrictedResourcesComponentIds=this.activeSession.getCreateRestrictedSubresourcesComponentIds();this.subscriptions.add(MR(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},
!1))};Y(G4,Z);G4.\u0275dir=Z.\u0275dir;G4.prototype.handleAutocompleteSelection=function(a,b){b==="assignee"?this.assigneeText=a:b==="verifier"?this.verifierText=a:this.reporterText=a;H4(this)};G4.prototype.isCaptchaValid=function(){return!this.enableRecaptcha||this.recaptchaResponse!==""};
var Fdd=function(a){if(!a.templateTitle||!a.templateComment)return!1;var b=mMa(a.comment.value,a.templateComment);return mMa(a.issue.title,a.templateTitle)&&b},PNb=function(a){return a.isSaving||a.isNavigatingAway||!a.canCreateNewIssuesInComponent||!a.isCaptchaValid()||!1};
G4.prototype.ngOnInit=function(){var a=this;this.initialized=!0;this.hostElement.nativeElement.addEventListener("click",this.onAnyClick,!0);this.subscriptions.add(this.trackerComponent$.subscribe(function(b){b&&(a.selectedComponent||a.componentRequestedInUrl||a.templateIssueRequestedInUrl||a.preferredTemplateId||Gdd(a,b))}))};G4.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.onAnyClick,!0)};
var H4=function(a){a.initialized&&a.ngZone.run(function(){a.cdr.detectChanges()})};G4.prototype.back=function(){QY(this.appHistory)};G4.prototype.onAccessLimitLevelSelected=function(a){this.selectedAccessLimitLevel=a};
var Gdd=function(a,b){a.selectedComponent=b;a.selectedComponent?(a.issue=Object.assign({},a.issue,{componentId:a.selectedComponent.componentId}),a.originalIssueCopy.componentId=a.selectedComponent.componentId,Hdd(a),a.audience=tr(a.selectedComponent)?"EXTERNAL":"INTERNAL",a.trackerId$.next(a.selectedComponent.trackerId),a.createRestrictedResourcesComponentIds.includes(a.selectedComponent.componentId)?a.judgementForNewContent={severity:"RESTRICTED",judgementReason:"None Specified"}:a.judgementForNewContent=
void 0):(Uc(a.issue,"componentId"),a.audience="EXTERNAL");a.submitRequested=!1;Idd(a);a.selectedComponentProcessedPromise=Promise.all([Jdd(a),Kdd(a)]).then(function(){});return a.selectedComponentProcessedPromise};G4.prototype.isLiteralModeSupported=function(){return!this.selectedTemplate};
var Ldd=function(a){a.assigneeText=a.assigneeText?a.assigneeText:null;a.verifierText=a.verifierText?a.verifierText:null;a.reporterText=a.reporterText?a.reporterText:null},GMb=function(a){return S7a(a.selectedComponent)?"External Google partners may be able to see this issue.":ur(a.selectedComponent)?"Public users may be able to see this issue.":""};
G4.prototype.getCollaboratorGroupsString=function(){return this.collaboratorGroupsText.length===0?"":this.collaboratorGroupsText.length>1?this.collaboratorGroupsText.length+" groups selected":this.collaboratorGroupsText[0]};G4.prototype.updateCollaboratorGroups=function(a){a&&a.collaboratorGroups&&(this.trackerCollaboratorGroups=Hd(a.collaboratorGroups),this.separateCollaboratorGroups())};
G4.prototype.separateCollaboratorGroups=function(){for(var a=[],b=new Set(this.trackerCollaboratorGroups),c=l(ws(this.collaboratorsText)),d=c.next();!d.done;d=c.next())d=d.value,b.has(d)?this.collaboratorGroupsText.push(d):a.push(d);this.collaboratorsText=vs(a);if(this.collaboratorGroupsText.length>0&&!ur(this.selectedComponent)){var e;(e=this.advancedFieldsZippy)==null||e.open()}};
var Edd=function(a){var b=Number(a.templateIssueRequestedInUrl);Number.isNaN(b)?a.butterBar.showWarning("Invalid template_issue specified"):(a.availableExistingIssueTemplate=new Mdd(b,"issue","Issue "+b,!1,"",!1),a.selectedTemplate=a.availableExistingIssueTemplate)},Jdd=function(a){a.availablePredefinedTemplates=[];a.selectedTemplate&&a.selectedTemplate.type==="predefined"&&!Ndd(a)&&(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;ja(Zr(f))&&(f=e.default?"(default template)":"(unnamed template)");return new Mdd(e.templateId,"predefined",f,e.default,e.componentId,e.inheritable)});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=l(a.availablePredefinedTemplates);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.isDefault){a.selectedTemplate=
d;break}}a.availablePredefinedTemplates.length>0&&!a.selectedTemplate&&(a.selectedTemplate=a.availablePredefinedTemplates[0]);H4(a)}).catch(function(){a.butterBar.showWarning("Unable to load templates for this component")}):Promise.resolve(void 0)},Ndd=function(a){var b,c;return a.selectedTemplate&&((b=a.selectedComponent)==null?0:(c=b.componentPathInfo)==null?0:c.componentPathId)?a.selectedTemplate.inheritable&&a.selectedComponent.componentPathInfo.componentPathId.find(function(d){return d===a.selectedTemplate.componentId})!==
void 0:!1},Kdd=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=eD(a.userAccess,"appender","components/"+b).then(function(f){a.canCreateNewIssuesInComponent=f;H4(a)}),e=eD(a.userAccess,
"writer",c).then(function(f){a.canEditIssuesInComponent=f;H4(a)});c=eD(a.userAccess,"reader",c).then(function(f){a.canViewIssuesInComponent=f;H4(a)});b=a.accessPolicy.checkComponentImplicitAccessEnabled(b).then(function(f){a.componentHasExpandedAccessEnabled=f;H4(a)});return Promise.all([d,e,c,b]).then(function(){Odd(a);H4(a)}).catch(function(f){a.$log.warn(f)}).finally(function(){a.createAclLoading=!1})},Pdd=function(a,b){var c;ur(a.selectedComponent)&&(c=a.selectedComponent)!=null&&c.trackerId&&
!Iq(a.activeSession)&&a.canEditIssuesInComponent?(b=b.issueAccessLimitLevel||"LIMIT_NONE",b==="LIMIT_VIEW"||b==="LIMIT_VIEW_TRUSTED"?a.selectedAccessLimitLevel=b:(a.selectedAccessLimitLevel="LIMIT_VIEW_TRUSTED",hq(a.butterBar,"Because this issue will be on a public tracker, the following Issue Access Limit will be applied: Limited visibility + Google."+(a.canEditIssuesInComponent?" You may modify this access level before creating the issue.":"")))):a.selectedAccessLimitLevel=b.issueAccessLimitLevel||
"LIMIT_NONE"},Rdd=function(a){a.selectedTemplate&&(a.selectedTemplate.type==="predefined"&&a.selectedComponent?a.componentTemplateApi.get(a.selectedTemplate.componentId,a.selectedTemplate.id).then(bOb(a.selectedComponent)).then(function(b){Qdd(a,b)}).then(function(){H4(a)}).catch(function(b){a.butterBar.showWarning(b.message)}):a.selectedTemplate.type==="issue"&&(Cad(a.issueTemplate,String(a.selectedTemplate.id)).then(function(b){var c;if(Iq(a.activeSession)&&((c=a.activeSession.getTracker())==null?
void 0:c.trackerId)!==b.trackerId)throw Error("mf");c=Promise.resolve();!a.selectedComponent&&b.snapshot.componentId&&(c=Cdd(a,b.snapshot.componentId));return c.then(function(){Qdd(a,b)})}).catch(function(b){a.butterBar.showWarning(b.message)}),pi(a.issueFullFridge.watch(String(a.selectedTemplate.id))).then(function(b){var c;(c=a.parentIssueIds)!=null&&c.length||(a.parentIssueIds=b==null?void 0:b.parentIssueIds)})),a.selectedTemplate.id!==a.preferredTemplateId&&a.analytics.trackEvent("createIssue",
"changeTemplate"),Idd(a))},Qdd=function(a,b){b=Object.assign(wd(XNb),b.snapshot);a.selectedComponent&&(b.componentId=a.selectedComponent.componentId);var c=wd(b);Ldd(a);WNb(a,a.issue);var d=wd(a.issue);if(a.appliedTemplate)for(var e=l(Object.keys(a.appliedTemplate)),f=e.next();!f.done;f=e.next()){f=f.value;var h=a.appliedTemplate[f];if(Array.isArray(h)&&Array.isArray(d[f])){h=l(h);for(var k=h.next();!k.done;k=h.next())Gea(d[f],k.value)}else vd(h,d[f])&&delete d[f]}a.appliedTemplate=c;YNb(b,d);d=c.comment||
"";a.comment.value!==a.templateComment&&($Dc(a.comment)||d===""||a.comment.value===d||(a.templateComment=d,Sdd(a,a.comment.value)),b.comment=a.comment.value,b.formattingMode=c.formattingMode);a.templateComment=d;var q;a.templateCommentFormattingMode=(q=c.formattingMode)!=null?q:void 0;a.templateTitle=c.title||"";b.reporterUser=Kd(a.userEmail);Pdd(a,b);a.issue=b;VNb(a.issue,a);Odd(a);Ldd(a);WNb(a,a.issue);a.comment.value=a.issue.comment||"";a.issue.comment&&a.issue.formattingMode&&(a.comment.formattingMode=
a.issue.formattingMode);Aad(a.urlTemplate,a.issue,a.customFieldMap);VNb(a.issue,a);a.originalIssueCopy=wd(a.issue);a.loadHotlists(a.issue.hotlistId).then(function(){a.updateSelectedHotlists();a.originalIssueCopy.hotlistId=wd(a.issue.hotlistId);H4(a)});Tdd(a);a.collaboratorGroupsText=[];a.separateCollaboratorGroups();a.isFieldConfigurationV2Enabled&&Udd(a)};
G4.prototype.isValid=function(){return!(IMb(this).length!==0||JMb(this).length!==0)&&!!(this.isBlockedByIssueIdValid&&this.isBlockingIssueIdValid&&this.isParentIssueIdsValid&&this.isCollaboratorsValid)&&!PMb(this.comment)&&!0};
var IMb=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 c==="componentId"?"component":c})},JMb=function(a){return(a.issue.customField||[]).filter(function(b){return a.isCustomFieldRequired(b)&&No(b)}).map(function(b){return'custom field "'+a.getCustomFieldName(b)+'"'})},Vdd=function(a){var b=ws(a.collaboratorsText);return b.length!==0&&a.canEditIssuesInComponent?
vyc(a.jspbPrincipalTypes,b,!1).then(function(c){a.invalidCollaboratorsInput=Object.entries(c).filter(function(d){d=l(d);d.next();d=d.next().value;return(d==null?void 0:d.principalType)!=="USER"}).map(function(d){return l(d).next().value});return a.invalidCollaboratorsInput.length===0}).catch(function(c){a.butterBar.showWarning(c.message);return!1}):Promise.resolve(!0)},uNb=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)},Tdd=function(a){if(Qda(a.customFieldMap,function(c){return c.required||!1})||a.hasAdvancedFieldsInUrlTemplate){var b;(b=a.advancedFieldsZippy)==null||b.open()}};g=G4.prototype;g.getCustomFieldType=function(a){var b,c;return(c=(b=this.customFieldMap[a.customFieldId])==null?void 0:b.type)!=null?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 Mo(a)};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});this.analytics.trackEvent("createIssue","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(c=(b=Mo(a))==null?void 0:b.values)!=null?c:null};
g.saveCommentDraft=function(){this.descriptionBannedWordsChecker.reset();var a=this.comment.value;a===this.templateComment&&(a="");this.draftStore.$window.sessionStorage.setItem(Kp("0"),a);this.issue=Object.assign({},this.issue,{comment:a})};
g.handleHotlistPickerSave=function(a){var b=[];a=l(Object.entries(a.newSelectionMap));for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;(d=d.next().value)&&b.push(Number(c))}this.issue=Object.assign({},this.issue,{hotlistId:b});this.updateSelectedHotlists();this.analytics.trackEvent("createIssue","changeHotlists")};g.removeHotlist=function(a){var b;Fa((b=this.issue.hotlistId)!=null?b:null,a);this.updateSelectedHotlists()};
g.setTitle=function(a){this.titleBannedWordsChecker.reset();this.issue=Object.assign({},this.issue,{title:a})};var YMb=function(a){var b,c,d=(c=(b=a.issue.title)==null?void 0:b.trim())!=null?c:"";a.titleAfterBlur$.next(d)};G4.prototype.setPriority=function(a){this.issue=Object.assign({},this.issue,{priority:td(a)});var b;this.analytics.trackEvent("createIssue","changePriority",(b=this.issue.priority)!=null?b:void 0)};
G4.prototype.editStaffing=function(){var a=this,b,c,d,e;return v(function(f){if(f.nextAddress==1)return w(f,a.staffingDialogService.show((c=(b=a.issue.staffing)==null?void 0:b.plannedAllocations)!=null?c:[],void 0,a.canEditIssuesInComponent),2);d=f.yieldResult;if(!d)return f.return();e={plannedAllocations:d};a.issue=Object.assign({},a.issue,{staffing:e});ji(f)})};
G4.prototype.setIssueType=function(a){this.issue=Object.assign({},this.issue,{type:yea(a)});var b;this.analytics.trackEvent("createIssue","changeType",(b=this.issue.type)!=null?b:void 0);this.isFieldConfigurationV2Enabled&&Udd(this)};G4.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)});Kaa(this.selectedHotlists,function(b,c){return ha(b.name,c.name)})};
var Wdd=function(a,b){var c,d,e,f,h,k,q,u,A,D,H;return v(function(O){switch(O.nextAddress){case 1:c=String(b.issueId);d=a.parentIssueIds;if(!d){O.jumpTo(2);break}e=[];return d.length===1?w(O,a.issueRelationshipsFridge.assignParentToIssues(d[0],[{issueId:c,afterIssueId:a.afterIssueId}]),6):w(O,lxc(a.issueRelationshipsFridge,c,d),5);case 5:h=O.yieldResult;e=h.notAdded;f=h.errors;O.jumpTo(4);break;case 6:k=O.yieldResult,e=k.notAdded,f=k.errors;case 4:e.length&&a.butterBar.showWarning("Unable to add "+
e+" as parent(s). "+f);case 2:q=a.childrenIssueIds;if((u=q)==null||!u.length){O.jumpTo(7);break}return w(O,a.issueRelationshipsFridge.assignParentToIssues(c,q.map(function(P){return{issueId:P}})),8);case 8:A=O.yieldResult,D=A.notAdded,H=A.errors,D.length&&a.butterBar.showWarning("Unable to add "+D+" as children. "+H);case 7:return O.return(b)}})},NNb=function(a,b,c){var d,e,f,h,k,q,u,A,D,H,O,P,S,aa,ia,la,ya,Ia,Pa,gb,ua,Ea;return v(function(Ha){switch(Ha.nextAddress){case 1:return a.sessionIsExternal&&
Fdd(a)?(Xdd(a),Ha.return()):w(Ha,Vdd(a),2);case 2:a.isCollaboratorsValid=Ha.yieldResult;d=a.issue;a.submitRequested=!0;if(!a.isValid()){if(e=document.querySelector(".bv2-view"))e.scrollTop=0;return Ha.return()}d.issueAccessLimitLevel=a.selectedAccessLimitLevel;d.issueAccessLimitLevel&&d.issueAccessLimitLevel!=="LIMIT_NONE"&&a.analytics.trackEvent("issueAccessLimits","create","create_issue:"+d.issueAccessLimitLevel);d.comment=a.comment.value;d.formattingMode=a.comment.formattingMode;f={snapshot:d,
attachments:a.comment.getAttachments()};a.enableRecaptcha&&(f.recaptchaToken=a.recaptchaResponse);a.selectedTemplate&&a.selectedTemplate.type==="predefined"&&(f.templateId=a.selectedTemplate.id);a.judgementForNewContent&&a.judgementForNewContent.severity!=="NONE_DETECTED"&&(f.contentJudgement=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.userEmail]:[]},f.snapshot=h);f.snapshot=Sc(f.snapshot,function(mb){return typeof mb!=="string"||!ja(mb)});f.snapshot.customField&&(f.snapshot.customField=f.snapshot.customField.filter(function(mb){return!No(mb)}));WNb(a,f.snapshot);if(a.trackerId$.value&&f.snapshot.type==="VULNERABILITY"&&(k=cMa(a.activeSession.getEnvironmentType(),a.trackerId$.value),k!==void 0)){f.snapshot.collaboratorsUsers||(f.snapshot.collaboratorsUsers=[]);q=l(k);for(u=q.next();!u.done;u=
q.next())A=u.value,f.snapshot.collaboratorsUsers.push(A);f.snapshot.issueAccessLimitLevel="LIMIT_VIEW"}a.collaboratorGroupsText.length>0&&(f.snapshot.collaboratorsUsers=Xea(a.collaboratorGroupsText).concat(f.snapshot.collaboratorsUsers||[]));f.snapshot.assigneeUser&&(f.snapshot.status="ASSIGNED");D=function(){a.isSaving=!0;a.newIssueStarted=!1;hq(a.butterBar,"Creating...",0);a.issueApi.createIssue(f).then(function(mb){return Wdd(a,mb)}).then(function(mb){a.draftStore.$window.sessionStorage.removeItem(Kp("0"));
a.originalIssueCopy=wd(a.issue);a.analytics.trackEvent("createIssue","create",a.comment.formattingMode==="MARKDOWN"?"markdown":"non markdown");Ydd(a);a.collaboratorGroupsText.length>0&&a.analytics.trackEvent("quickAddCollaborators","create","create_issue:"+mb.issueId);var nb,Lb;((nb=a.selectedTemplate)==null?0:nb.inheritable)&&a.selectedTemplate.componentId!==((Lb=a.selectedComponent)==null?void 0:Lb.componentId)&&a.analytics.trackEvent("templateInheritance","create","issue:"+mb.issueId);c?(a.analytics.trackEvent("createIssue",
"fileAndRedirect","component",d.componentId?Number(d.componentId):void 0),a.butterBar.dismiss(),a.isNavigatingAway=!0,a.isSaving=!1,eD(a.userAccess,"reader","issues/"+mb.issueId).then(function(bc){bc?Dad(a.redirectUrl,Jq(mb.issueId),String(mb.issueId)):(hq(a.butterBar,"New issue created: "+mb.issueId+" (view access not granted)",0),Dad(a.redirectUrl,a.paths.listIssues()));H4(a)}).catch(function(bc){a.errorHandler.errorHandler(null,bc);a.isNavigatingAway=!1})):(a.analytics.trackEvent("createIssue",
"fileAndNew","component",d.componentId?Number(d.componentId):void 0),nb={},Kqc(a.butterBar,pd(["New issue created: ",qd("a",(nb.href=Jq(mb.issueId),nb),String(mb.issueId))]),0),d.title=a.templateTitle,a.comment=new II(a.templateComment),d.formattingMode&&(a.comment.formattingMode=d.formattingMode),(d.comment=a.templateComment)&&a.templateCommentFormattingMode&&(a.comment.formattingMode=a.templateCommentFormattingMode,d.formattingMode=a.templateCommentFormattingMode),a.isSaving=!1,a.submitRequested=
!1,a.newIssueStarted=!0,a.originalIssueCopy=wd(a.issue));H4(a)}).catch(function(mb){mb.status===403&&nn(mb)?QA(a.errorHandler,on(mb)):a.errorHandler.errorHandler(null,mb);a.isSaving=!1;a.submitRequested=!1;a.newIssueStarted=!1}).finally(function(){a.titleBannedWordsChecker.reset();a.descriptionBannedWordsChecker.reset()})};return w(Ha,Zdd(a),3);case 3:return(H=Ha.yieldResult)?w(Ha,$dd(a),4):Ha.return();case 4:return(O=Ha.yieldResult)?w(Ha,E7c(a.confirmIssueAccessLimitSettingsService,{assigneeUser:(P=
f.snapshot.assigneeUser)==null?void 0:P.emailAddress,verifierUser:(S=f.snapshot.verifierUser)==null?void 0:S.emailAddress,ccUsers:(aa=f.snapshot.ccUsers)==null?void 0:aa.map(function(mb){return mb.emailAddress}).filter(fe),collaboratorsUsers:(ia=f.snapshot.collaboratorsUsers)==null?void 0:ia.map(function(mb){return mb==null?void 0:mb.emailAddress}).filter(fe),issueAccessLimitLevel:f.snapshot.issueAccessLimitLevel,currentUserEmail:a.activeSession.getUserEmail(),canEditIssuesInComponent:a.canEditIssuesInComponent,
confirmationDialogText:zdd}),5):Ha.return();case 5:return(la=Ha.yieldResult)?w(Ha,a.titleBannedWordsChecker.check((ya=a.issue.title)!=null?ya:"",aed(a),f.snapshot.componentId),6):Ha.return();case 6:return Ia=Ha.yieldResult,w(Ha,a.descriptionBannedWordsChecker.check((Pa=a.issue.comment)!=null?Pa:"",aed(a),f.snapshot.componentId),7);case 7:gb=Ha.yieldResult;if(!Ia||!gb)return(ua=b)==null||ua.preventDefault(),(Ea=b)==null||Ea.stopPropagation(),Ha.return();D();ji(Ha)}})},Xdd=function(a){a.isSaving=!0;
hq(a.butterBar,"Creating...",0);setTimeout(function(){hq(a.butterBar,"New issue cr\u00e6ted");a.isSaving=!1;Dad(a.redirectUrl,a.paths.listIssues())},500)},aed=function(a){return!!a.selectedComponent&&!!a.selectedComponent.accessLimit&&a.selectedComponent.accessLimit.accessLevel==="EXTERNAL_PUBLIC"},Zdd=function(a){var b,c,d;return v(function(e){if(e.nextAddress==1)return b="create-issue",w(e,a.dismissalService.isDismissed(HXa(b)),2);if(e.nextAddress!=4)return(c=e.yieldResult)||a.canEditIssuesInComponent||
a.frontendIsInternalOrPartner||!a.selectedComponent||!a.selectedComponent.accessLimit||a.selectedComponent.accessLimit.accessLevel==="INTERNAL"?e.return(!0):w(e,pi(ZH(a.matDialogService.open(VO,{width:"500px",data:{action:b,content:md("Submitting this bug report means your email address will be shared with the team that works on this product.")}}))),4);d=e.yieldResult;return e.return(d)})},$dd=function(a){var b=Cf();!a.canEditIssuesInComponent||a.issue.type!=="VULNERABILITY"&&a.issue.type!=="PRIVACY_ISSUE"?
b.resolve(!0):kDc(a.issueTypeDialog,a.issue.type,function(){b.resolve(!0)},function(){b.resolve(!1)});return b.promise},Ddd=function(a,b){a.isLoadingComponent=!0;a.componentActions.search(b).then(function(c){c.length===1?(Gdd(a,c[0]),H4(a),a.newIssueStarted=!0):a.selectedComponent=c[0]}).catch(function(){a.butterBar.showWarning("Unable to load components from the provided query.")}).finally(function(){a.isLoadingComponent=!1})},Cdd=function(a,b){a.isLoadingComponent=!0;return a.componentActions.getUncached(b).then(function(c){var d;
if(Iq(a.activeSession)&&((d=a.activeSession.getTracker())==null?void 0:d.trackerId)!==c.trackerId)throw Error("nf");Gdd(a,c);H4(a)}).catch(function(){a.butterBar.showWarning("Component ID "+b+" does not exist or you do not have access.")}).finally(function(){a.isLoadingComponent=!1})};G4.prototype.hasUnsavedChanges=function(){var a=ZNb(this.issue),b=ZNb(this.originalIssueCopy);return!vd(a,b)||this.comment.value!==this.originalIssueCopy.comment};
var Sdd=function(a,b){ZH(a.matDialogService.open(a.descriptionConfirmDialog,{data:b})).pipe(lj()).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="")})},Idd=function(a){a.selectedComponent&&a.bLocation.search("component",a.selectedComponent.componentId);a.selectedTemplate&&(a.selectedTemplate.type==="predefined"?(a.bLocation.search("template",a.selectedTemplate.id),a.bLocation.search("template_issue",null)):a.selectedTemplate.type==="issue"&&(a.bLocation.search("template_issue",a.selectedTemplate.id),a.bLocation.search("template",null)))},EMb=function(a){return a.sessionIsExternal?!1:S7a(a.selectedComponent)},FMb=function(a){return Bx(a.activeSession)?
!1:ur(a.selectedComponent)},Hdd=function(a){if(a.selectedComponent&&a.selectedComponent.componentPathInfo&&a.selectedComponent.componentPathInfo.allCustomField){var b=a.selectedComponent.componentPathInfo.allCustomField;a.customFieldMap=$Nb(b);a.customFieldAllowedValuesMap=aOb(b);var c;b=(c=a.selectedComponent.componentPathInfo.componentPathId)!=null?c:[];var d,e=(d=a.selectedComponent.componentPathInfo.fieldConfigsV2Map)!=null?d:new Map;a.fieldConfigsV2=[].concat(p(b)).reverse().flatMap(function(f){var h;
return(h=e.get(f))!=null?h:[]});Udd(a)}},Udd=function(a){a.isFieldConfigurationV2Enabled?bed(a):ced(a)},ced=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=l(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||
{customFieldId:d.customFieldId});a.originalIssueCopy.customField=a.issue.customField}},bed=function(a){if(a.issue.customField){a.issue.customField=a.issue.customField.filter(function(h){return a.customFieldMap[h.customFieldId]});for(var b=new Set(a.issue.customField.map(function(h){return h.customFieldId})),c=l(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next())d=d.value,b.has(d.customFieldId)||a.issue.customField.push(d.typedDefaultValue||{customFieldId:d.customFieldId});var e=a.issue.type,
f=e&&a.fieldConfigsV2.find(function(h){return h.issueTypes.has(e)})||a.fieldConfigsV2.find(function(h){return!h.issueTypes.size});a.issue.customField=a.issue.customField.filter(function(h){var k,q;return(q=f==null?void 0:(k=f.customFieldConfigs)==null?void 0:k.get(h.customFieldId))!=null?q:!0});a.originalIssueCopy.customField=a.issue.customField}},Odd=function(a){!a.canViewIssuesInComponent&&!a.componentHasExpandedAccessEnabled||ws(a.ccsText).includes(a.userEmail)||(a.ccsText=a.userEmail+", "+a.ccsText)};
g=G4.prototype;g.fetchUserHotlists=function(){var a=this;pi(KC(this.currentUserBookmarksFridge)).then(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);H4(a)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};g.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&Fa(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};
g.createHotlist=function(a){var b=this;this.analytics.trackEvent("baseIssue","createHotlist");hq(this.butterBar,"Creating hotlist "+a.name+"...",0);this.hotlistApi.createHotlist(a.name).then(function(c){hq(b.butterBar,"Hotlist "+a.name+" created successfully.");b.addHotlist(c);b.appEvents.hotlistCreated.next();a.successCallback(c);H4(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);H4(b);return d},function(){var d=b.hotlistMap[c];Uc(b.hotlistMap,c);Fa(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(){H4(b)})};
var Bdd=function(a){var b;switch(((b=a.format)==null?void 0:b.toLowerCase())||""){case "plain":return"PLAIN";case "markdown":return"MARKDOWN"}},Add=function(a){var b;return je((b=OF(a.userPreferencesManager).commentFormattingPreferences)==null?void 0:b.lastPublishMode)||"PLAIN"};
G4.prototype.showNewContentJudgementDialog=function(){var a=this,b,c,d=(c=(b=this.judgementForNewContent)==null?void 0:b.severity)!=null?c:"NONE_DETECTED";this.showContentJudgementDialog({severity:d,contentJudgement:void 0,hasAclToCreate:!0}).pipe(tj(this.destroyed$)).subscribe(function(e){e&&(a.judgementForNewContent=e.contentJudgement)})};G4.prototype.showContentJudgementDialog=function(a){return ZH(this.matDialogService.open(hR,{panelClass:"no-jitter",width:"500px",data:a}))};
var Ydd=function(a){var b=(new Date).getTime()-a.startTime.getTime();if(b>0){var c=Math.min(b,108E5);Iwc("createIssue",c,"new-ui");a.analytics.trackEvent("createIssue","createIssue","time-to-create-new-ui",c);dE(a.clearcut,b,"createIssue-fromNewIssuePage")}a.startTime=new Date};
pg.Object.defineProperties(G4.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;(c=this.selectedComponentProcessedPromise)==null||c.then(function(){Rdd(b)})}}}});G4.\u0275fac=function(a){return new (a||G4)};
G4.\u0275cmp=F({type:G4,selectors:[["b-create-issue-page"]],viewQuery:function(a,b){a&1&&(ek(ZZ,5),ek(jV,5),ek(wdd,5),ek(oW,5));if(a&2){var c;ik(c=jk())&&(b.hotlistPicker=c.first);ik(c=jk())&&(b.commentBox=c.first);ik(c=jk())&&(b.descriptionConfirmDialog=c.first);ik(c=jk())&&(b.advancedFieldsZippy=c.first)}},standalone:!1,features:[Bk([jE,{provide:xdd,useClass:LP},{provide:ydd,useClass:LP}]),xj],decls:31,vars:13,consts:[["descriptionConfirmDialog",""],["collaboratorGroupField",""],["templateMenu",
"matMenu"],["priorityMenu","matMenu"],["typeMenu","matMenu"],["peopleKitDiv",""],["severityMenu","matMenu"],[1,"a11y-only"],[1,"kd-appbar","bv2-create-issue-scroll-header"],[1,"kd-buttonbar","ltr"],["type","button","mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[3,"selectedHotlistIds","choices"],["mat-button","",1,"medium","primary","valign-middle-mat-button-wrapper",3,"routerLinkObj"],["cdkScrollable","",1,"bv2-view"],
[1,"bv2-new-issue-main-content"],["novalidate","","name","createIssueForm"],[1,"bv2-create-component-external-warning",3,"partner","public"],["role","alert",1,"bv2-validation-error-banner"],[1,"bv2-create-issue-hotlists"],[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,"selectedComponentChange","selectedComponent","shouldFocus","isRequired"],[1,"bv2-create-field","bv2-right-button"],[1,"bv2-validation-error-banner"],
[3,"onApply","onLoad","onCreate","selectedHotlistIds","choices"],[1,"bv2-create-component-external-warning"],[3,"name","size"],[3,"href"],[1,"bv2-validation-error"],[1,"bv2-hotlist-chips"],[3,"removeHotlist","hotlist"],["for","bv2-template-chooser"],["mat-button","","color","primary","id","bv2-template-chooser","aria-label","Template","type","button",3,"matMenuTriggerFor"],["iconPositionEnd","","svgIcon","arrow-dropdown",1,"icon-s"],[3,"overlapTrigger"],["type","button","mat-menu-item",""],["type",
"button","mat-menu-item","",3,"click"],["for","bv2-title",1,"required"],[1,"bv2-create-issue-title","flex-kids-x","align-items-center"],["type","text","name","title","aria-label","Issue Title","id","bv2-title","name","title","required","","aria-required","true","autocomplete","off",3,"ngModelChange","blur","ngModel","bFocus"],[3,"description"],[1,"banned-words-warning","break-word"],[1,"bv2-create-field","bv2-create-issue-assignee"],[1,"bv2-create-field","bv2-create-issue-collaborators"],[1,"bv2-create-field",
"bv2-create-issue-cc"],[1,"bv2-create-issue-details"],["for","bv2-description"],[3,"commentChange","onChange","onSubmit","onRestrict","supportsPreview","comment","disabled","judgementForNewContent","placeholder","idForAriaLabel","audience","showRestrictionOptions","warn","canEditIssuesInComponent","isLiteralModeSupported"],["warning","",1,"banned-words-warning","break-word"],["additionalToolbarItems","",3,"change","initialValue"],[1,"bv2-create-issue-row","access-level-row"],[1,"float-clear"],[1,
"bv2-create-issue-zippy"],[1,"mat-elevation-z0","bg-secondary","bordered"],[1,"create-issue-recaptcha"],[1,"bv2-issue-create-button-bar"],["format","fill","id","bv2-issue-create-button",3,"onAction","disabled","color"],["format","fill","id","bv2-issue-create-start-button",3,"onAction","disabled","color"],["format","hairline","id","bv2-issue-discard-button",3,"onAction","disabled"],[3,"suggestionAccepted"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",
1,"color-bad-text","keep-underline"],["for","bv2-priority",1,"required"],["mat-button","","type","button","color","primary",3,"matMenuTriggerFor"],["mat-menu-item","","type","button",3,"click"],["mat-menu-item","","type","button"],["for","bv2-type",1,"required"],["mat-menu-item","","type","button",3,"click","matTooltip"],[1,"icon-s",3,"svgIcon"],["for","bv2-assignee-peoplekit"],[1,"overflow-hidden"],["id","bv2-assignee-peoplekit","type","text","name","assignee",1,"bv2-create-issue-textfield",3,"emailChange",
"email"],["for","bv2-collaborators-peoplekit"],["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-peoplekit","type","text","name","collaborators","aria-expanded","true",1,"bv2-create-issue-textfield",3,"valueChange","ariaLabel","value"],["for","bv2-ccs-peoplekit"],["id","bv2-ccs-peoplekit",
"type","text","name","ccs","aria-expanded","true",1,"bv2-create-issue-textfield",3,"valueChange","ariaLabel","value"],["for","bv2-access-limits","matTooltip","Set access level of this issue"],["id","bv2-access-limits",3,"updatedAccessLimitLevel","disabled","implicitAccessEnabled","defaultAccessLimitLevel"],["for","bv2-collaborator-groups","matTooltip","Set collaborator groups on the issue"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",1,"icon-s","valign-middle","collaborator-group-help-icon",
3,"matTooltip"],[4,"ngTemplateOutlet"],["role","heading","aria-level","3"],[1,"required-text"],[1,"bv2-new-issue-metadata"],["aria-label","Set severity",1,"bv2-create-adv-field"],["for","bv2-severity","matTooltip","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"],["name","arrow-dropdown","size","small"],[1,"bv2-create-adv-field"],["for","bv2-found-in","matTooltip","Set version(s) of the product affected by this issue (comma-separated list)"],
["id","bv2-found-in","name","foundIn","type","text","autocomplete","off",3,"ngModelChange","ngModel"],["aria-label","Set in prod",1,"bv2-create-adv-field"],["for","bv2-in-prod","matTooltip","Set if this issue occurs in production"],["id","bv2-in-prod","name","inProd","aria-label","Set in prod",3,"ngModelChange","ngModel"],["for","bv2-reporter-peoplekit","matTooltip","Set the reporter of this issue."],["id","bv2-reporter-peoplekit","name","reporter","type","text",3,"emailChange","email"],["for","bv2-verifier-peoplekit",
"matTooltip","Set the verifier of this issue."],["id","bv2-verifier-peoplekit","name","verifier","type","text",3,"emailChange","email"],["for","bv2-targeted-to","matTooltip","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,"ngModelChange","ngModel"],["for","bv2-blocked-by","matTooltip","Set issue(s) blocking this issue (comma-separated list)"],["id","bv2-blocked-by","name",
"blockedByInputField","type","text","autocomplete","off","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["for","bv2-blocking","matTooltip","Set issue(s) blocked by this issue (comma-separated list)"],["id","bv2-blocking","name","blockingInputField","type","text","autocomplete","off","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["aria-label","Edit staffing",1,"bv2-create-adv-field","staffing-field"],["for","staffing-button","matTooltip","Edit staffing, which represents planned contributors on this issue."],
["type","button",1,"staffing-button","b-input-style",3,"click"],[1,"staffing-text"],["svgIcon","edit-outline",1,"icon-s","edit-icon"],["for","bv2-parents","matTooltip","Set parent issue(s) of this issue (comma-separated list)"],["id","bv2-parents","name","parentsInputField","type","text","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["for","bv2-children","matTooltip","Set children issue(s) of this issue (comma-separated list)"],["id","bv2-children","name","childrenInputField","type","text",
"pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["id","bv2-access-limits",3,"updatedAccessLimitLevel","disabled","defaultAccessLimitLevel","implicitAccessEnabled"],[3,"id","matTooltip"],[3,"id","value","required","labelledById"],[3,"id","value","required"],[3,"value","options","includeEmptyOption","labelledById"],[3,"valueChange","id","value","required","labelledById"],[3,"valueChange","id","value","required"],[3,"boundValueChange","boundValue","isRequired","bv2Id","bv2AriaLabelledby"],[3,"valueChange",
"value","options","includeEmptyOption","labelledById"],["name","customInput","tabindex","0",3,"valuesChange","defaultLineCount","type","values","enumChoices","truncate","isRequired"],[1,"bg-off-main","rounded","bordered","padded-s-y","padded-l-x",3,"context","componentId"],[3,"onUpdate"],["mat-dialog-title",""],[1,"bv2-create-issue-default-description"],["type","button","mat-button","",3,"mat-dialog-close"],"type button mat-button  mat-dialog-close ".split(" "),["appearance","outline",1,"static-label"],
["multiple","","aria-label","Collaborator groups",3,"ngModelChange","ngModel","ngModelOptions"],[3,"value"]],template:function(a,b){if(a&1){var c=y();L(0,"h2",7);U(1,"Create issue");M();L(2,"div",8)(3,"div",9)(4,"button",10);Q("click",function(){z(c);return B(b.back())});N(5,"mat-icon",11);M();L(6,"h2");U(7,"Create Issue");M();I(8,CMb,1,2,"b-hotlist-picker",12);I(9,DMb,2,1,"a",13);M()();L(10,"div",14)(11,"div")(12,"div",15)(13,"form",16);I(14,HMb,6,8,"div",17);I(15,QMb,4,3,"div",18);I(16,SMb,3,0,
"div",19);L(17,"div",20)(18,"div",21)(19,"div",22)(20,"label",23);U(21,"Component");M()();L(22,"div",24)(23,"b-team-component-picker",25);Q("selectedComponentChange",function(e){z(c);return B(Gdd(b,e!=null?e:null))});M()()();I(24,VMb,12,4,"div",26);M();I(25,WMb,3,0,"div",27);I(26,QNb,54,63,"div");M()()()();G(27,RNb,11,2,"ng-template",null,0,Gk)(29,UNb,6,4,"ng-template",null,1,Gk)}if(a&2){var d;E(8);J(b.canEditIssuesInComponent?8:-1);E();J((d=b.issue.componentId)?9:-1,d);E(4);rk("submitted",b.submitRequested);
E();J(EMb(b)||FMb(b)?14:-1);E();J(b.submitRequested&&!b.isValid()?15:-1);E();J(b.selectedHotlists.length>0?16:-1);E(7);K("selectedComponent",b.selectedComponent)("shouldFocus",!b.componentRequestedInUrl&&!b.templateIssueRequestedInUrl)("isRequired",!0);E();J(b.availablePredefinedTemplates.length>0||b.availableExistingIssueTemplate!=null?24:-1);E();J(b.isLoadingComponent||b.componentRequestedInUrl==null&&b.selectedComponent==null||b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent?
-1:25);E();J(b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent?26:-1)}},dependencies:[DM,jV,qL,cU,V_,TL,eH,WG,oP,pG,Bp,hG,iG,AG,CG,oG,mG,lT,ZZ,jK,m_,wO,dA,aA,bA,VL,mz,WL,XL,Vz,fI,hI,jI,iI,oW,pW,qW,FL,mK,kK,pK,FM,sK,YF,WF,F4,OO,oy,EA,gC,KR,SR,A4,D4,E4,hU,yU,eN,UM,iQ,py],styles:[".bv2-create-issue-row[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;--mat-button-text-icon-spacing:4px}mat-icon.collaborator-group-help-icon[_ngcontent-%COMP%]{padding-left:3px}[_nghost-%COMP%]     mat-form-field.static-label{width:180px;margin-top:5px;font-size:1rem}[_nghost-%COMP%]     mat-form-field.static-label .mat-mdc-form-field-flex{height:24px}[_nghost-%COMP%]     mat-form-field.static-label .mat-mdc-form-field-infix{padding:0}.bv2-create-issue-row.access-level-row[_ngcontent-%COMP%]{display:block;width:-webkit-max-content;width:-moz-max-content;width:max-content}.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-mdc-menu-item[_ngcontent-%COMP%]:active, .mat-mdc-menu-item[_ngcontent-%COMP%]:focus, .mat-mdc-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 svg{height:90%;margin-top:1px}[_nghost-%COMP%]   input.invalid[_ngcontent-%COMP%]{border-color:var(--bad-high-contrast)!important;border-width:2px!important}[_nghost-%COMP%]     .bv2-issue-create-button-bar b-button .gmat-mdc-button.mat-mdc-unelevated-button.mat-warn{background-color:#c5221f;background-color:var(--bad-gfx)}.banned-words-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-text)}.staffing-field[_ngcontent-%COMP%]{width:90%}.staffing-field[_ngcontent-%COMP%]   .staffing-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staffing-field[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;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;width:100%}.staffing-field[_ngcontent-%COMP%]   .edit-icon[_ngcontent-%COMP%]{color:var(--icon)}\n/*# sourceMappingURL=create_issue_page.css.map */"]});
var XNb={hotlistId:[],comment:"",severity:"S2",inProd:!1,customField:[]},Mdd=function(a,b,c,d,e,f){this.id=a;this.type=b;this.name=c;this.isDefault=d;this.componentId=e;this.inheritable=f};var ded=["form"],I4=function(){this.bLocation=x(hL);this.sloApi=x(dF);this.errorHandler=x(PA);this.analytics=x(nE);this.butterBar=x(MA);this.appHistory=x(PY);this.sloUnderEdit={sloId:"0",parentId:"0",name:"",description:"",elements:[],effectiveElements:[],alertState:"OFF",isArchived:!1};this.isSaving=this.elementPickerIsValid=!1;this.createSloForm=null;this.error=""};g=I4.prototype;g.ngAfterViewInit=function(){};
g.save=function(){var a=this;if(!this.validate())return Promise.reject(Error("of"));hq(this.butterBar,"Saving SLO...",0);this.isSaving=!0;return this.sloApi.create(this.sloUnderEdit).then(function(b){hq(a.butterBar,"SLO "+b.name+" saved.",2E3);a.analytics.trackEvent("SLO","create");a.bLocation.replaceUrl(Hq.editSlo.makeHref(b.sloId))}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isSaving=!1})};g.back=function(){QY(this.appHistory)};
g.revertChanges=function(){this.sloUnderEdit.name="";this.sloUnderEdit.description="";this.sloUnderEdit.elements=[]};g.updateCollection=function(a){this.sloUnderEdit.elements=a};g.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};I4.\u0275fac=function(a){return new (a||I4)};
I4.\u0275cmp=F({type:I4,selectors:[["create-slo-page"]],viewQuery:function(a,b){a&1&&ek(ded,5);if(a&2){var c;ik(c=jk())&&(b.createSloForm=c.first)}},standalone:!1,decls:30,vars:17,consts:[["form","ngForm"],[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"],[3,"error"],[1,
"edit-field"],["for","slo-name",1,"required"],["type","text","id","slo-name","name","name",3,"ngModelChange","required","bFocus","ngModel","disabled"],["for","slo-description"],["id","slo-description","name","description",3,"ngModelChange","ngModel","disabled"],[3,"onCollectionUpdate","onValidation","isDisabled","collection"],[1,"advanced-settings-info"],[1,"edit-button-row"],["format","fill",3,"onAction","disabled"],["format","hairline",3,"onAction","disabled"]],template:function(a,b){if(a&1){var c=
y();L(0,"div",1)(1,"div",2)(2,"b-button",3);Q("onAction",function(){z(c);return B(b.back())});N(3,"b-icon",4);M()()();L(4,"div",5)(5,"h2",6)(6,"span",7);U(7,"Create a new SLO");M()();L(8,"div",8)(9,"form",9,0);N(11,"b-error-banner",10);L(12,"div",11)(13,"label",12);U(14,"Name");M();L(15,"input",13);Q("ngModelChange",function(d){z(c);return B(b.sloUnderEdit.name=d)});M()();L(16,"div",11)(17,"label",14);U(18,"Description");M();L(19,"textarea",15);Q("ngModelChange",function(d){z(c);return B(b.sloUnderEdit.description=
d)});U(20,"        ");M()();L(21,"div",11)(22,"slo-elements-picker",16);Q("onCollectionUpdate",function(d){z(c);return B(b.updateCollection(d))})("onValidation",function(d){z(c);return B(b.elementPickerIsValid=d)});M()();L(23,"p",17);U(24," Access controls may be defined once the slo is created. ");M();L(25,"div",18)(26,"b-button",19);Q("onAction",function(){z(c);return B(b.save())});U(27," Save ");M();L(28,"b-button",20);Q("onAction",function(){z(c);return B(b.revertChanges())});U(29," Revert changes ");
M()()()()()}a&2&&(E(9),rk("show-errors",b.error),E(2),K("error",b.error),E(),rk("bv2-edit-resource-readonly",b.isSaving),E(3),K("required",!0)("bFocus",!0)("ngModel",b.sloUnderEdit.name)("disabled",b.isSaving),E(),rk("bv2-edit-resource-readonly",b.isSaving),E(3),K("ngModel",b.sloUnderEdit.description)("disabled",b.isSaving),E(3),K("isDisabled",!1)("collection",b.sloUnderEdit.elements),E(4),K("disabled",b.isSaving||(b.createSloForm==null?null:b.createSloForm.pending)||(b.createSloForm==null?null:b.createSloForm.invalid)||
!b.elementPickerIsValid),E(2),K("disabled",!(b.sloUnderEdit.name!==""||b.sloUnderEdit.description!==""||b.sloUnderEdit.elements.length>0)))},dependencies:[DM,u0,oP,pG,Bp,hG,iG,AG,oG,mG,jK,B1],encapsulation:2});var J4=function(){this.nextPanelId=1};J4.\u0275fac=function(a){return new (a||J4)};J4.\u0275prov=Dg({token:J4,factory:J4.\u0275fac,providedIn:"root"});var K4=function(){Z.apply(this,arguments);this.cdr=x(jE);this.paths=x(TO);this.bLocation=x(hL);this.$log=x(NA);this.analytics=x(nE);this.issueApi=x(vD);this.userApi=x(DC);this.bookmarkGroupsApi=x(hB);this.hotlistApi=x(zC);this.butterBar=x(MA);this.pageTitle=x(jY);this.dashboards=x(J4);this.routeParams=x(NI);this.appSearchState=x(hK);this.userAccess=x(dD);this.errorHandler=x(PA);this.statusMessages=x(rI);this.appEvents=x(EB);this.hotlistFridge=x(EC);this.activeSession=x(Ks);this.issueFullFridge=x(pE);
this.currentUserBookmarksFridge=x(JC);this.ANALYTICS_CATEGORY="dashboard";this.userEmail=this.activeSession.getUserEmail();this.groupId=this.routeParams.groupId||null;this.panels=[];this.hotlistChoices=[];this.hotlistMap={};this.isStarred=!1;this.bookmarkGroup=null;this.isAdmin=!1;this.Number=Number;this.String=String};Y(K4,Z);K4.\u0275dir=Z.\u0275dir;
K4.prototype.ngOnInit=function(){var a=this;this.userApi.getUserBookmark("BOOKMARK_GROUP",this.routeParams.groupId).then(function(){a.isStarred=!0;a.cdr.detectChanges()}).catch(function(){});this.loadBookmarkGroup().then(function(b){eed(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){fed(a,
b,function(c){return c+1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveUp.subscribe(function(b){fed(a,b,function(c){return c-1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToTop.subscribe(function(b){fed(a,b,function(){return 0})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToBottom.subscribe(function(b){fed(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 gOb=function(a,b){var c=b.panelId;b=b.selectedIssues;if(a=ged(a,c))a.selectedIssues=b!=null?b:[]},fOb=function(a,b,c){b.focusedRowIndex=c;if(c!=null)for(a=l(a.panels),c=a.next();!c.done;c=a.next())c=c.value,c!==b&&(c.focusedRowIndex=null)},ged=function(a,b){return a.panels.find(function(c){return c.panelId===b})},hed=function(a,b){a=a.panels.findIndex(function(c){return c.panelId===b});return a!==-1?a:void 0};g=K4.prototype;
g.fetchUserHotlists=function(){var a=this;pi(KC(this.currentUserBookmarksFridge)).then(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];vd(d,c)||(d&&Fa(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;var c=a.name;var d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"createHotlist");hq(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);hq(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;var c=a.hotlistId;var d=a.successCallback;a=a.errorCallback;hq(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 Set;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=l(d.value.hotlistId||[]);for(var e=d.next();!e.done;e=d.next())e=e.value,this.hotlistMap[e]||c.has(e)||c.add(e)}c=l(c);for(a=c.next();!a.done;a=c.next())this.hotlistApi.get(a.value).then(function(f){b.hotlistFridge.announce(f);b.addHotlist(f);b.cdr.detectChanges()}).catch(function(f){(new Set([403,404])).has(f.status)||b.errorHandler.errorHandler(null,f)})};
g.sendBulkEditRequest=function(a,b){var c=this;if(a.length===1&&a[0].actions.length===1&&a[0].actions[0].fieldName==="readState"){var d=!!a[0].actions[0].value;b=l(this.panels);for(var e=b.next();!e.done;e=b.next()){e=l(e.value.selectedIssues);for(var f=e.next();!f.done;f=e.next())f.value.isRead=d}this.cdr.detectChanges();hq(this.butterBar,"Marking "+a[0].issueIds.length+" issues  "+(d?"read":"unread")+"...",0);return rE(this.issueFullFridge,a[0].issueIds,{markRead:d,userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(k){hq(c.butterBar,
"Issues marked "+(d?"read":"unread")+".");for(var q=l(c.panels),u=q.next();!u.done;u=q.next()){u=l(u.value.selectedIssues);for(var A=u.next();!A.done;A=u.next()){var D=void 0;A.value.lastViewedTime=(D=k)!=null?D:null}}}).catch(function(k){for(var q=l(c.panels),u=q.next();!u.done;u=q.next()){u=l(u.value.selectedIssues);for(var A=u.next();!A.done;A=u.next())A=A.value,A.isRead=!!A.lastViewedTime&&A.lastViewedTime>=A.majorModifiedTime}c.errorHandler.errorHandler(null,k)}).finally(function(){c.cdr.detectChanges()})}e=
HLa(a).map(function(k){return k.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};hq(this.butterBar,"Saving changes...",0);return this.issueApi.issueBulkEdit(h,b).then(function(k){for(var q=l([].concat(p(c.searchPanels),p(c.hotlistPanels))),u=q.next();!u.done;u=q.next()){u=u.value;var A=k;if(u.searchResults){u.searchResults=u.searchResults.clone();for(var D=0,H=l(u.searchResults.issues),O=H.next();!O.done;O=H.next()){O=O.value;if(A.affectedIssues[O.issueId]){var P=
A.affectedIssues[O.issueId];P=Qfb(P,A.componentMap[Number(Aa(P.snapshot).componentId)]);P.selected=O.selected;u.searchResults.issues[D]=P;u.resultsLoaded.emit([u.searchResults.issues[D]])}D++}}}k.errors&&k.errors.length?(q=jg(k.errors),c.butterBar.showWarning("Failed to update issue(s) "+q+"."),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+k.errors.length)):(k=DDc(c.statusMessages,h))?hq(c.butterBar,k):hq(c.butterBar,"Saved "+ILa(a).length+" issue(s).")}).catch(function(k){c.errorHandler.errorHandler(null,
k)})};g.loadBookmarkGroup=function(){var a=this,b,c;return v(function(d){if(d.nextAddress==1)return ei(d,2),w(d,a.bookmarkGroupsApi.get(a.groupId),4);if(d.nextAddress!=2)return b=d.yieldResult,a.isAdmin=b.adminUsers.some(function(e){return e.emailAddress===a.userEmail}),a.pageTitle.setTitle(b.name),d.return(b);c=ii(d);RA(a.errorHandler,c);throw c;})};var eed=function(a,b){a.panels=(b.item||[]).map(function(c,d){return ied(a,c,d===0?0:void 0)}).filter(fe)};
K4.prototype.removePanel=function(a){var b=this,c=ged(this,a);c!=null&&(hq(this.butterBar,"Saving changes...",0),a=wd(this.bookmarkGroup),a.item=a.item.filter(function(d){return!jed(b,c,d)}),ked(this,a))};
var fed=function(a,b,c){b=hed(a,b);if(b!==void 0){var d=a.panels[b];c=c(b);if(c>=a.panels.length||c<0)a.$log.warn("Trying to move panel "+d.panelId+" to "+c);else{b=wd(a.bookmarkGroup);var e,f=(e=a.bookmarkGroup)==null?void 0:e.item.findIndex(function(h){return jed(a,d,h)});f!==void 0&&(Naa(b.item,f,c),ked(a,b))}}},ked=function(a,b){a.bookmarkGroupsApi.update(b).then(function(c){a.bookmarkGroup=c;led(a,a.bookmarkGroup.item);hq(a.butterBar,"Bookmark group saved.",4E3);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});
a.cdr.detectChanges()},function(c){a.errorHandler.errorHandler(null,c)})},jed=function(a,b,c){switch(b.type){case "HOTLIST":return c.hotlistId===b.resourceId;case "SAVED_SEARCH":return c.savedSearchId===String(b.resourceId);default:return a.$log.warn("Unknown type of a panel: "+b.type),!1}},med=function(a,b){return a.panels.find(function(c){return jed(a,c,b)})},ied=function(a,b,c){var d=null,e=null;switch(b.resourceType){case "HOTLIST":d="HOTLIST";var f;e=(f=b.hotlistId)!=null?f:null;break;case "SAVED_SEARCH":d=
"SAVED_SEARCH";var h;e=(h=b.savedSearchId)!=null?h:null;break;default:a.$log.warn("Unsupported item: "+b)}if(d&&e)return a=a.dashboards,b=a.nextPanelId,a.nextPanelId++,{panelId:b,resourceId:e,type:d,focusedRowIndex:c!=null?c:null,selectedIssues:[]}},led=function(a,b){a.panels=b.map(function(c){var d;return(d=med(a,c))!=null?d:ied(a,c)}).filter(fe)};
K4.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=function(){a.appEvents.bookmarkGroupModified.next()};this.isStarred?this.userApi.addUserBookmark({resourceType:"BOOKMARK_GROUP",resourceId:this.groupId}).then(b).catch(function(c){a.errorHandler.errorHandler(null,c)}):this.userApi.removeUserBookmark({resourceType:"BOOKMARK_GROUP",resourceId:this.groupId}).then(b).catch(function(c){a.errorHandler.errorHandler(null,c)})};K4.prototype.editBookmarkGroup=function(){this.bLocation.setUrl(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};
K4.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(K4)))(b||K4)}}();
K4.\u0275cmp=F({type:K4,selectors:[["dashboard-page"]],viewQuery:function(a,b){a&1&&(ek(f1,5),ek(d1,5));if(a&2){var c;ik(c=jk())&&(b.searchPanels=c);ik(c=jk())&&(b.hotlistPanels=c)}},standalone:!1,features:[Bk([jE]),xj],decls:10,vars:4,consts:[[1,"a11y-only"],[1,"kd-dashboard-bar","kd-appbar","kd-buttonbar"],[1,"bv2-dashboard-header"],[3,"onSave","onCreateHotlist","onLoadHotlist","hotlistChoices","panels"],["role","main","tabindex","0",1,"bv2-view",3,"bFocus"],[1,"bv2-dashboard-title"],[3,"starMessage",
"unStarMessage","starred","disabled"],[3,"starMessage","unStarMessage","starred"],[1,"bv2-dashboard-title-text"],["type","button","aria-label","Bookmark group settings","matTooltip","Bookmark group settings",1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],[3,"starClicked","starMessage","unStarMessage","starred"],[3,"panel","isDashboardEditable","focusedRowIndex","savedSearchId","first","last"],[3,"panel","isDashboardEditable","focusedRowIndex","hotlistId","first","last"],[3,"focusedRowIndexChange",
"selectionChange","resultsLoaded","panel","isDashboardEditable","focusedRowIndex","savedSearchId","first","last"],[3,"focusedRowIndexChange","selectionChange","resultsLoaded","panel","isDashboardEditable","focusedRowIndex","hotlistId","first","last"]],template:function(a,b){a&1&&(L(0,"h2",0),U(1,"Dashboard"),M(),L(2,"div",1)(3,"div",2),U(4,"Bookmark groups dashboard"),M(),L(5,"b-dashboard-controls",3),Q("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",
function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)}),M()(),L(6,"div",4),I(7,eOb,8,2,"div"),Mj(8,jOb,3,1,"div",null,Lj),M());a&2&&(E(5),K("hotlistChoices",b.hotlistChoices)("panels",b.panels),E(),K("bFocus",!0),E(),J(b.bookmarkGroup?7:-1),E(),Nj(b.panels))},dependencies:[j_,WR,f1,d1,oP,YF,WF],encapsulation:2});var L4=function(){};L4.\u0275fac=function(a){return new (a||L4)};L4.\u0275mod=Zi({type:L4});L4.\u0275inj=Eg({imports:[k_,MX,g1,e1,jC,pP,JL]});var ned=["editBookmarkGroupItemsContainer"],oed=["bookmarkGroupName"],KOb=function(a){return{displayText:"Admins",values:a}},JOb=function(a){return[a]},M4=function(){Z.call(this);var a=this;this.routeParams=x(NI);this.location=x(hL);this.activeSession=x(Ks);this.butterBar=x(MA);this.accessPolicyApi=x(qB);this.bookmarkGroupsApi=x(hB);this.hotlistApi=x(zC);this.paths=x(TO);this.appHistory=x(PY);this.pageTitle=x(jY);this.userAccess=x(dD);this.errorHandler=x(PA);this.appEvents=x(EB);this.snackBar=x(JA);
this.confirmationDialog=x(lI);this.checkBeforeExit=x(LR);this.cdr=x(jE,{self:!0});this.documentationLinks=x(XH);this.currentUserBookmarksFridge=x(JC);this.selectedTabIndex=0;this.accessPolicyUnderEdit=Aq();this.flattenedAccessPolicy=Aq();this.isAdmin=this.isArchiving=this.isUpdating=this.isLoading=!1;this.isReaderFieldValid=this.isAdminsFieldValid=!0;this.currentUserEmail=this.activeSession.getUserEmail();this.error="";this.selectedHotlistIds=[[]];this.userHotlists=[];this.userSavedSearches=null;
this.savedSearchChoices=[];var b=this.loadBookmarkGroup(this.routeParams.groupId),c=this.loadUserAccess(this.routeParams.groupId);this.loadAccessPolicy(this.routeParams.groupId);ped(this);qed(this);Promise.all([b,c]).then(function(){var d;(d=a.bookmarkGroupNameInput)==null||d.nativeElement.focus()});this.subscriptions.add(MR(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));b=function(){ped(a)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(b));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(b));
this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){qed(a)}))};Y(M4,Z);M4.\u0275dir=Z.\u0275dir;g=M4.prototype;g.ngOnInit=function(){this.location.hash()==="access"&&(this.selectedTabIndex=1)};g.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=(d=(b=this.tabs)==null?void 0:(c=b.get(a))==null?void 0:c.nativeElement.id)!=null?d:null;this.location.hash(e,!0)};g.back=function(){QY(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!vd(this.bookmarkGroup,this.bookmarkGroupUnderEdit)};g.hasUnsavedAccessPolicyChanges=function(){return!vd(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};
g.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};g.revertMetadataChanges=function(){this.bookmarkGroupUnderEdit=wd(this.bookmarkGroup);this.error="";this.selectedHotlistIds=[red(this.bookmarkGroup.item.filter(function(a){return a.hasOwnProperty("hotlistId")}))];sed(this)};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=wd(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.confirmationDialog.open({title:"Change bookmark group admins",content:md("Warning: You may be removing yourself from the admins. Unless you are granted access via a group, you may lose the permission to edit the access settings"),isDestructive:!0,onConfirm: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.confirmationDialog.open({title:"Archive bookmark group",content:md("Do you want to archive this bookmark group?"),isDestructive:!0,onConfirm:function(){ted(a,"archive")}})};
g.unarchive=function(){var a=this;this.confirmationDialog.open({title:"Unarchive bookmark group",content:md("Do you want to unarchive this bookmark group?"),onConfirm:function(){ted(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});ued(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=Cq(this.accessPolicyUnderEdit)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);this.butterBar.showWarning(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=Bq(c);a.accessPolicyUnderEdit=wd(a.flattenedAccessPolicy);
a.loadUserAccess(a.bookmarkGroup.bookmarkGroupId)},function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isUpdating=!1})};
var ted=function(a,b){var c=wd(a.bookmarkGroup);b==="archive"?(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){b==="archive"?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});ued(a,d)}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isArchiving=!1})};
M4.prototype.loadBookmarkGroup=function(a){var b=this;this.isLoading=!0;return this.bookmarkGroupsApi.get(a).then(function(c){ued(b,c);b.selectedHotlistIds=[red(b.bookmarkGroup.item)];sed(b);b.pageTitle.setTitle("Bookmark group: "+c.name);b.cdr.detectChanges()},function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1})};var ued=function(a,b){a.bookmarkGroup=b;a.bookmarkGroupUnderEdit=wd(a.bookmarkGroup)};
M4.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("BOOKMARK_GROUP",a).then(function(c){b.flattenedAccessPolicy=Bq(c);b.accessPolicyUnderEdit=wd(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};M4.prototype.loadUserAccess=function(a){var b=this;return eD(this.userAccess,"admin","bookmarkGroups/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var ped=function(a){pi(KC(a.currentUserBookmarksFridge)).then(function(b){a.userHotlists=b;a.cdr.detectChanges()})},qed=function(a){a.userSavedSearches=null;pi(muc(a.currentUserBookmarksFridge)).then(function(b){a.userSavedSearches=b;sed(a);a.cdr.detectChanges()})},sed=function(a){if(a.userSavedSearches&&a.bookmarkGroupUnderEdit!=null){var b=ved(a.bookmarkGroupUnderEdit.item.filter(function(c){return c.hasOwnProperty("savedSearchId")}));a.savedSearchChoices=a.userSavedSearches.filter(function(c){return!b.includes(c.searchId)})}},
nOb=function(a,b){var c=Number(b);Ga(a.bookmarkGroupUnderEdit.item,function(e){return e.hotlistId===c});wed(a,c);var d;(d=a.editBookmarkGroupItemsContainer)==null||d.nativeElement.focus()},pOb=function(a,b){Ga(a.bookmarkGroupUnderEdit.item,function(d){return d.savedSearchId===b});sed(a);var c;(c=a.editBookmarkGroupItemsContainer)==null||c.nativeElement.focus()},COb=function(a,b){switch(b.resourceType){case "SAVED_SEARCH":return a.paths.viewSavedSearch(b.savedSearchId);case "HOTLIST":return Hq.viewHotlist.makeHref(b.hotlistId);
case "BOOKMARK_GROUP":return a.paths.viewBookmarkGroup(b.bookmarkGroupId);default:qb(b.resourceType)}},xOb=function(a,b){for(var c=l(Object.entries(b.newSelectionMap)),d=c.next(),e={};!d.done;e={id$jscomp$548:void 0},d=c.next()){var f=l(d.value);d=f.next().value;f=f.next().value;e.id$jscomp$548=Bd(d);f&&!b.oldSelectionMap[e.id$jscomp$548]?(AOb(a,e.id$jscomp$548),e=a.userHotlists.find(function(h){return function(k){return k.hotlistId===h.id$jscomp$548}}(e)),a.bookmarkGroupUnderEdit.item.push({hotlistId:e.hotlistId,
name:e.name,resourceType:"HOTLIST"})):b.oldSelectionMap[e.id$jscomp$548]&&!f&&(wed(a,e.id$jscomp$548),Ga(a.bookmarkGroupUnderEdit.item,function(h){return function(k){return k.hotlistId===h.id$jscomp$548}}(e)))}},AOb=function(a,b){a.selectedHotlistIds[0].push(b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},wed=function(a,b){Fa(a.selectedHotlistIds[0],b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},tOb=function(a,b){ved(a.bookmarkGroupUnderEdit.item).indexOf(b.searchId)===-1&&a.bookmarkGroupUnderEdit.item.push({name:b.name,
resourceType:"SAVED_SEARCH",savedSearchId:b.searchId});setTimeout(function(){sed(a)})},ved=function(a){return a?Pea(a,"savedSearchId"):[]},red=function(a){return Pea(a,"hotlistId")},yOb=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)},zOb=function(a,
b){return a.hotlistApi.get(b.hotlistId).then(function(c){a.userHotlists.push(c);b.successCallback(c);return c},b.errorCallback)};M4.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+")";case "BOOKMARK_GROUP":return"(Bookmark group ID "+a.bookmarkGroupId+")";default:qb(a.resourceType)}};M4.\u0275fac=function(a){return new (a||M4)};
M4.\u0275cmp=F({type:M4,selectors:[["b-edit-bookmark-group"]],viewQuery:function(a,b){a&1&&(ek(ned,5),ek(oed,5),ek(jM,5,Ph));if(a&2){var c;ik(c=jk())&&(b.editBookmarkGroupItemsContainer=c.first);ik(c=jk())&&(b.bookmarkGroupNameInput=c.first);ik(c=jk())&&(b.tabs=c)}},standalone:!1,features:[Bk([jE]),xj],decls:9,vars:3,consts:[["bookmarkGroupName",""],["editBookmarkGroupItemsContainer",""],["savedSearchMenu","matMenu"],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["type","button","mat-icon-button",
"","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],["type","button","mat-button","","color","primary",3,"disabled"],[1,"bv2-view"],["type","button","mat-button","","color","primary",3,"click","disabled"],[1,"edit-resource-header"],[1,"resource-archived"],[1,"edit-resource-header-link","normal-link",3,"href"],["mat-align-tabs","start",3,"selectedIndexChange","selectedIndex"],["id","basic","label","Basic Information"],[1,"edit-resource-panel"],
[3,"error"],[1,"edit-field"],["for","bookmark-group-name",1,"required"],[1,"edit-field-header"],["type","text","id","bookmark-group-name","required","","aria-required","true",3,"ngModelChange","ngModel","disabled"],["for","bookmark-group-description"],["id","bookmark-group-description",3,"ngModelChange","ngModel","disabled"],[1,"edit-field","bv2-edit-resource-readonly"],[1,"edit-button-row"],["id","access","label","Access Control"],[1,"edit-field-note"],[3,"usersChange","isValid","users"],[3,"usersChange",
"isValid","users","includeAliases","includeViewAliases","containerChips"],["target","_blank",3,"href"],["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"],[1,"bv2-bookmark-item-chip"],[1,"edit-bookmark-group-edit-items-pane"],[1,"edit-bookmark-group-hotlist-picker"],["for","hotlist-picker-button"],[3,"onApply","onCreate","onLoad","selectedHotlistIds","choices",
"checkEditAcl"],[1,"edit-bookmark-group-hotlist-search"],["for","hotlist-search-input-box"],[3,"itemSelect","showGroups","allowStarring"],[1,"edit-bookmark-group-saved-search-picker"],[1,"bv2-saved-search-chip","b-chip","yellow","split"],[1,"edit-bookmark-group-none-select"],[3,"removeHotlist","id"],[1,"left","interactive",3,"href","matTooltip"],["role","button","tabindex","0",1,"right","interactive",3,"click","keydown.enter","keydown.space","matTooltip"],["for","add-from-saved-searches-button"],
["type","button","id","add-from-saved-searches-button","mat-button","","aria-describedby","select-from-saved-searches-button",1,"medium","primary",3,"matMenuTriggerFor"],["id","select-from-saved-searches-button"],"iconPositionEnd  svgIcon arrow-dropdown color primary".split(" "),["matMenuContent",""],["type","button","mat-menu-item",""],["type","button","mat-menu-item","",3,"click"],[1,"edit-bookmark-group-view-items"],[3,"href"],["type","button","mat-flat-button","","color","primary",3,"click","disabled"],
["type","button","mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(L(0,"div",3)(1,"div",4)(2,"div",5)(3,"button",6),Q("click",function(){return b.back()}),N(4,"mat-icon",7),M(),I(5,kOb,2,1,"button",8),I(6,lOb,2,1,"button",8),M()()(),L(7,"div",9),I(8,LOb,46,35),M());a&2&&(E(5),J(b.isAdmin&&!b.isArchived()?5:-1),E(),J(b.isAdmin&&b.isArchived()?6:-1),E(2),J(!b.isLoading&&b.bookmarkGroup.bookmarkGroupId?8:-1))},dependencies:[EA,YF,WF,dA,aA,bA,oM,jM,kM,u0,mT,ZZ,yY,Bp,hG,
AG,oG,FL,mK,kK,lK,pK,zP],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-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-hotlist-picker[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], .edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-hotlist-search[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], .edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-saved-search-picker[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{height:24px;width:24px;margin:0}.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}/*# sourceMappingURL=edit_bookmark_group.css.map */"]});var xed=["savedSearchNameInput"],ROb=function(a){return{displayText:"Admins",values:a}},QOb=function(a){return[a]},N4=function(){Z.call(this);var a=this;this.routeParams=x(NI);this.location=x(hL);this.accessPolicyApi=x(qB);this.savedSearchApi=x(HC);this.paths=x(TO);this.appHistory=x(PY);this.butterBar=x(MA);this.pageTitle=x(jY);this.documentationLinks=x(XH);this.userAccess=x(dD);this.errorHandler=x(PA);this.snackBar=x(JA);this.confirmationDialog=x(lI);this.cdr=x(jE,{self:!0});this.appEvents=x(EB);
this.activeSession=x(Ks);this.checkBeforeExit=x(LR);this.selectedTabIndex=0;this.isDeleting=this.isUpdating=this.isAdmin=this.isLoading=!1;this.isReaderFieldValid=this.isAdminsFieldValid=!0;this.currentUserEmail=this.activeSession.getUserEmail();this.accessPolicyUnderEdit=Aq();this.flattenedAccessPolicy=Aq();this.error="";var b=this.loadSavedSearch(this.routeParams.savedSearchId),c=this.loadUserAccess(this.routeParams.savedSearchId);this.loadAccessPolicy(this.routeParams.savedSearchId);Promise.all([b,
c]).then(function(){var d;(d=a.savedSearchName)==null||d.nativeElement.focus()});this.subscriptions.add(MR(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1))};Y(N4,Z);N4.\u0275dir=Z.\u0275dir;g=N4.prototype;g.ngOnInit=function(){this.location.hash()==="access"&&(this.selectedTabIndex=1)};g.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=(d=(b=this.tabs)==null?void 0:(c=b.get(a))==null?void 0:c.nativeElement.id)!=null?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=wd(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=Bq(c);b.accessPolicyUnderEdit=wd(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.loadUserAccess=function(a){var b=this;return eD(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(){QY(this.appHistory)};g.revertMetadataChanges=function(){this.savedSearchUnderEdit=wd(this.savedSearch);this.error=""};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=wd(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.hasUnsavedMetadataChanges=function(){return!vd(this.savedSearch,this.savedSearchUnderEdit)};
g.hasUnsavedAccessPolicyChanges=function(){return!vd(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=wd(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.confirmationDialog.open({title:"Change saved search admins",content:md("Warning: You may be removing yourself from the admins. Unless you are granted access via a group, you may lose the permission to edit the access settings"),isDestructive:!0,onConfirm:function(){a.doSaveAccessPolicy()}})};
g.doSaveAccessPolicy=function(){var a=this;try{var b=Cq(this.accessPolicyUnderEdit)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);this.butterBar.showWarning(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=Bq(c);a.accessPolicyUnderEdit=wd(a.flattenedAccessPolicy);
a.loadUserAccess(String(a.savedSearch.searchId));a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId})},function(c){a.errorHandler.errorHandler(null,c);a.butterBar.showWarning(on(c),0)}).finally(function(){a.isUpdating=!1})};g.delete=function(){var a=this;this.confirmationDialog.open({title:"Delete saved search",content:md("Do you want to delete this saved search?"),isDestructive:!0,onConfirm: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"});MJc(a.location,"/")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isDeleting=!1})};
N4.\u0275fac=function(a){return new (a||N4)};
N4.\u0275cmp=F({type:N4,selectors:[["b-edit-saved-search"]],viewQuery:function(a,b){a&1&&(ek(xed,5),ek(jM,5,Ph));if(a&2){var c;ik(c=jk())&&(b.savedSearchName=c.first);ik(c=jk())&&(b.tabs=c)}},standalone:!1,features:[Bk([jE]),xj],decls:9,vars:3,consts:[["savedSearchNameInput",""],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["type","button","mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],["type","button","mat-button",
"","color","primary","matTooltip","Delete saved search",3,"disabled"],[1,"bv2-view"],[1,"edit-resource-header"],["type","button","mat-button","","color","primary","matTooltip","Delete saved search",3,"click","disabled"],[1,"edit-resource-header-link",3,"href"],["gmat-tabs","","mat-align-tabs","start",3,"selectedIndexChange","selectedIndex"],["id","basic","label","Basic Information"],[1,"edit-resource-panel"],[3,"error"],[1,"edit-field"],["for","saved-search-name",1,"required"],[1,"edit-field-header"],
["type","text","id","saved-search-name","required","","aria-required","true",3,"ngModelChange","ngModel","disabled"],["for","saved-search-description"],["id","saved-search-description",3,"ngModelChange","ngModel","disabled"],[1,"edit-field","bv2-edit-resource-readonly"],["for","saved-search-query"],[1,"edit-field-note"],[1,"edit-saved-search-query-container","codefont"],[1,"edit-button-row"],["id","access","label","Access Control"],["for","saved-search-acl-admins"],[3,"usersChange","isValid","users"],
["for","saved-search-acl-readers"],[3,"usersChange","isValid","users","includeAliases","includeViewAliases","containerChips"],["target","_blank",3,"href"],["type","button","mat-flat-button","","color","primary",3,"click","disabled"],["type","button","mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(L(0,"div",1)(1,"div",2)(2,"div",3)(3,"button",4),Q("click",function(){return b.back()}),N(4,"mat-icon",5),M(),I(5,MOb,2,1,"button",6),M()()(),L(6,"div",7),I(7,NOb,3,0,"div",
8),I(8,SOb,50,34),M());a&2&&(E(5),J(b.isAdmin?5:-1),E(2),J(b.isLoading||b.savedSearch?-1:7),E(),J(!b.isLoading&&b.savedSearch?8:-1))},dependencies:[EA,YF,WF,dA,aA,bA,oM,jM,kM,u0,Bp,hG,AG,oG,zP],encapsulation:2});var yed=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(yed,n);yed.prototype.getSloId_asLegacyNumberOrString=function(){return gm(this,1)};yed.prototype.getSloId_asString=function(){return Xe(this,1)};yed.prototype.setSloId=function(a){return ll(this,1,a)};var zed=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(zed,n);g=zed.prototype;g.getAuthor=function(){return r(this,Ud,1)};g.setAuthor=function(a){t(this,Ud,1,a)};g.hasAuthor=function(){return Me(this,Ud,1)};g.getTimestamp=function(){return r(this,ue,2)};g.setTimestamp=function(a){return t(this,ue,2,a)};g.hasTimestamp=function(){return Me(this,ue,2)};g.getAdd=function(){return r(this,qp,3)};g.setAdd=function(a){return t(this,qp,3,a)};
g.getRemove=function(){return r(this,qp,4)};g.setRemove=function(a){return t(this,qp,4,a)};g.getAddMask=function(){return r(this,wo,5)};g.getMutableAddMask=function(){return Pu(this,wo,5)};g.setAddMask=function(a){return t(this,wo,5,a)};g.getRemoveMask=function(){return r(this,wo,6)};g.getMutableRemoveMask=function(){return Pu(this,wo,6)};g.setRemoveMask=function(a){return t(this,wo,6,a)};g.getFieldUpdatesList=function(){return ie(this,ruc,7,Rd())};var Aed=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Aed,n);var O4=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,O4.messageId)};Y(O4,n);O4.prototype.getIt=function(){return r(this,Aed,1,Kc)};O4.prototype.setIt=function(a){return t(this,Aed,1,a,Kc)};O4.messageId="b.ListSloUpdatesResponse";var P4=function(){this.executor=x(fy);this.bCacheFactory=x(rC);this.sloHistories=this.bCacheFactory.get("slo_histories-second-level-cache")||this.bCacheFactory.create("slo_histories-second-level-cache",{capacity:25})};P4.prototype.get=function(a){var b=this.sloHistories.get(String(a));return b!==void 0?b:this.sloHistories.put(String(a),Bed(this,a))};
var Bed=function(a,b){var c=(new yed).setSloId(Number(b));return a.executor.post({url:"action/slos/"+b+"/updates",body:c,responseConstructor:O4}).then(function(d){d=d.getIt();return{updates:ie(d,zed,1,Rd()).map(Nua)}})};P4.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};P4.prototype.invalidateCache=function(a){this.sloHistories.remove(String(a))};P4.\u0275fac=function(a){return new (a||P4)};P4.\u0275prov=Dg({token:P4,factory:P4.\u0275fac,providedIn:"root"});var bPb=function(a){return{displayText:"Admins",values:a}},aPb=function(a){return[a]},Q4=function(){var a=x(Ks),b=x(LR);Z.call(this);var c=this;this.routeParams=x(NI);this.bLocation=x(hL);this.appHistory=x(PY);this.butterBar=x(MA);this.pageTitle=x(jY);this.documentationLinks=x(XH);this.userAccess=x(dD);this.accessPolicyApi=x(qB);this.sloApi=x(dF);this.sloUpdatesApi=x(P4);this.sloUpdatesService=x(I1);this.errorHandler=x(PA);this.matDialogService=x(eI);this.analytics=x(nE);this.confirmationDialogService=
x(lI);this.appEvents=x(EB);this.editableAccessPolicy=Aq();this.flattenedAccessPolicy=Aq();this.historyDiffs=void 0;this.isImportedFromBugScope=this.isUneditedFromBugScope=this.elementPickerIsValid=this.isAdminInternal=this.isUpdating=this.isLoading=!1;this.selectedTabIndex=0;this.validity={};this.isInvalid=function(){return Object.values(c.validity).some(function(d){return!d})};this.subscriptions.add(MR(b,function(){return c.hasUnsavedChanges()},!1));b=this.routeParams.sloId;this.resourceName=Bn("SLO",
Bd(b));if(this.sloEnabled=a.isInternalSession())Ced(this,b),this.loadUserAccess(b),this.loadAccessPolicy(b),Ded(this,b);this.alertState={getValue:function(){return c.editableCopy?c.editableCopy.alertState==="ON":!1},getSavedValue:function(){return c.slo?c.slo.alertState==="ON":!1},setValue:function(d){c.editableCopy&&(c.editableCopy.alertState=d?"ON":"OFF")}};this.currentUserEmail=a.getUserEmail()};Y(Q4,Z);Q4.\u0275dir=Z.\u0275dir;
Q4.prototype.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=(d=(b=this.tabs)==null?void 0:(c=b.get(a))==null?void 0:c.nativeElement.id)!=null?d:null;this.bLocation.hash(e,!0)};Q4.prototype.ngOnInit=function(){this.bLocation.hash()==="access"&&(this.selectedTabIndex=1)};Q4.prototype.updateCollection=function(a){this.editableCopy&&(this.editableCopy.elements=a)};
var Ced=function(a,b){a.isLoading=!0;a.sloApi.get(b).then(function(c){a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=wd(a.slo);a.pageTitle.setTitle("SLO: "+c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isLoading=!1})};
Q4.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SLO",Number(a)).then(function(c){b.flattenedAccessPolicy=Bq(c);b.editableAccessPolicy=wd(b.flattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)})};var Eed=function(a,b){return a.sloUpdatesApi.get(b).then(function(c){a.historyDiffs=c.updates.map(function(d){return qad(a.sloUpdatesService,d)})}).catch(function(c){a.errorHandler.errorHandler(null,c)})};g=Q4.prototype;
g.loadUserAccess=function(a){var b=this;eD(this.userAccess,"admin",Bn("SLO",Bd(a))).then(function(c){b.isAdminInternal=c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};g.hasUnsavedMetadataChanges=function(){return!vd(this.slo,this.editableCopy)};g.hasUnsavedAccessPolicyChanges=function(){return!vd(this.flattenedAccessPolicy,this.editableAccessPolicy)};
g.saveMetadata=function(){var a=this;Fed(this.slo.elements,this.editableCopy.elements)?this.save():this.confirmationDialogService.open({title:"Save SLO changes?",content:pd([md("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."),qd("br"),qd("br"),md("Please combine changes into as few updates as possible.")]),onConfirm:function(){a.save()},onDismiss:Ev})};
var WOb=function(a,b){if(!a.hasUnsavedMetadataChanges()){var c=function(){a.editableCopy.isArchived=b;a.save()};b?a.confirmationDialogService.open({title:"Archive SLO?",content:md("Archiving this SLO will prevent new usages of the SLO, and will hide the SLO from most searches."),onConfirm:c,onDismiss:Ev}):c()}},Fed=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.metric===e.metric&&d.matcher===e.matcher)d=d.objective,e=e.objective,f=!d&&!e||!!d&&
!!e&&d.seconds===e.seconds;if(!f)return!1}return!0};
Q4.prototype.save=function(){var a=this,b=this.editableCopy;hq(this.butterBar,"Saving SLO ID "+b.sloId+"...");this.isUpdating=!0;this.sloApi.update(b).then(function(c){var d='Changes to SLO "'+c.name+'" saved.';Fed(a.slo.elements,a.editableCopy.elements)||(d+=" Propagating this change may take several hours.");hq(a.butterBar,d);a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=wd(c);a.sloUpdatesApi.invalidateCache(a.slo.sloId);a.analytics.trackEvent("editSlo","update")}).catch(function(c){a.errorHandler.errorHandler(null,
c)}).finally(function(){a.isUpdating=!1})};Q4.prototype.saveAccessPolicy=function(){var a=this;this.isRevokingAdmin()?this.confirmationDialogService.open({title:"Change SLO admins",content:md("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:Ev}):this.doSaveAccessPolicy()};
Q4.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=Cq(this.editableAccessPolicy)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);this.butterBar.showWarning(b);return}this.isUpdating=!0;hq(this.butterBar,"Saving access settings...");this.accessPolicyApi.update("SLO",this.slo.sloId,b).then(function(c){hq(a.butterBar,"Access settings saved.");a.flattenedAccessPolicy=Bq(c);a.editableAccessPolicy=wd(a.flattenedAccessPolicy);a.loadUserAccess(a.slo.sloId);a.analytics.trackEvent("editSlo",
"updateAccessPolicy")},function(c){a.butterBar.showWarning(on(c),0)}).finally(function(){a.isUpdating=!1})};Q4.prototype.isRevokingAdmin=function(){return this.isRevokingDirectAdmin()};
var Ded=function(a,b){Eed(a,b).then(function(){if(a.historyDiffs&&a.historyDiffs.length){var c=a.historyDiffs[0],d=a.historyDiffs[a.historyDiffs.length-1];c.author&&Jd(c.author)==="buganizer-system@google.com"&&(a.isImportedFromBugScope=!0);d.author&&Jd(d.author)==="buganizer-system@google.com"&&(a.isUneditedFromBugScope=!0)}})};g=Q4.prototype;
g.isRevokingDirectAdmin=function(){if(vd(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;Fed(this.slo.elements,this.editableCopy.elements)?this.editableCopy=wd(this.slo):this.confirmationDialogService.open({title:"Revert SLO changes?",content:pd([md("Revert all changes to this SLO?")]),onConfirm:function(){a.editableCopy=wd(a.slo)},onDismiss:Ev})};g.revertAccessPolicyChanges=function(){this.editableAccessPolicy=wd(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.isSaving=function(){return this.isUpdating};
g.back=function(){QY(this.appHistory)};g.isEditDisabled=function(){return!this.editableCopy||this.isSaving()||!this.isAdmin()};g.isAdmin=function(){return this.isAdminInternal};g.showUpdateHistoryModal=function(){var a=this;Eed(this,this.slo.sloId).then(function(){a.matDialogService.open(G3,{width:"600px",data:{updateDiffs:a.historyDiffs}});a.analytics.trackEvent("updateHistoryModal","open");a.analytics.trackEvent("editSlo","viewHistory")})};Q4.\u0275fac=function(a){return new (a||Q4)};
Q4.\u0275cmp=F({type:Q4,selectors:[["edit-slo-page"]],viewQuery:function(a,b){a&1&&ek(jM,5,Ph);if(a&2){var c;ik(c=jk())&&(b.tabs=c)}},standalone:!1,features:[xj],decls:7,vars:2,consts:[["sloBasicsForm","ngForm"],[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,"bv2-view-loading"],[1,"edit-resource-header"],[1,"vertical-centered"],["gmat-tabs","",1,"bv2-tab-bar",3,"selectedIndexChange",
"selectedIndex"],["id","basic","label","Basic Information"],[1,"edit-resource-panel","edit-slo-basics-form"],["name","sloBasicsForm"],[1,"edit-field"],["for","slo-name",1,"required"],[1,"edit-field-header"],["type","text","id","slo-name","name","slo-name",3,"ngModelChange","required","ngModel","disabled"],["for","slo-description"],["id","slo-description","name","slo-description",3,"ngModelChange","ngModel","disabled"],[1,"edit-field","permission-toggle",3,"bv2-edit-resource-readonly"],["id","bs-warning"],
[3,"onCollectionUpdate","onValidation","isDisabled","collection"],["id","bv2-slo-edit-buttons"],[1,"edit-button-row"],[1,"edit-button-group"],["title","View history for 'Basic Information'",3,"onAction"],["id","access","label","Access Control"],[1,"edit-resource-panel"],["name","accessControlForm","novalidate",""],["for","slo-acl-admins"],[1,"edit-field-note"],[3,"usersChange","isValid","users"],["for","slo-acl-readers"],[3,"usersChange","isValid","users","includeAliases","includeViewAliases","containerChips"],
["target","_blank",3,"href"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],[3,"change","checked","disabled"],[1,"edit-field-help"],[1,"permission-toggle-help","edit-field-help"],["target","_blank","href","https://goto.google.com/buganizer-bugscope-slo-sync"],["format","fill","tooltip","Save any changes to the SLO",3,"onAction","disabled"],["tooltip","Discard any changes",3,"onAction","disabled"],["format","fill","tooltip","Archive the SLO and prevent new usages",3,"disabled"],
["tooltip","Unarchive the SLO and allow new usages",3,"disabled"],["format","fill","tooltip","Archive the SLO and prevent new usages",3,"onAction","disabled"],["tooltip","Unarchive the SLO and allow new usages",3,"onAction","disabled"],["format","fill",3,"onAction","disabled"],[3,"onAction"]],template:function(a,b){a&1&&(L(0,"div",1)(1,"div",2)(2,"b-button",3),Q("onAction",function(){return b.back()}),N(3,"b-icon",4),M()()(),L(4,"div",5),I(5,TOb,2,0,"div",6),I(6,cPb,55,37,"div"),M());a&2&&(E(5),J(b.isLoading?
5:-1),E(),J(!b.isLoading&&b.slo&&b.slo.sloId&&b.editableCopy?6:-1))},dependencies:[DM,pG,Bp,hG,iG,AG,oG,mG,jK,oM,jM,kM,zP,aG,HG,B1,lL],encapsulation:2});var R4=function(){Z.apply(this,arguments);var a=this;this.contextSensitiveRegistry=x(yF);this.issueFullFridge=x(pE);this.issuePicker=x(ZQ);this.snackBar=x(JA);this.imageUrls=x(FO);this.TEA_DARK=this.imageUrls.TEA_DARK;this.TEA_LIGHT=this.imageUrls.TEA_LIGHT;this.getStatus=function(b){return b.snapshot[0].status};this.id$=this.contextSensitiveRegistry.getIssueId();this.searchUrl$=this.id$.pipe(C(function(b){return{path:"/issues",params:{q:"blockedbyid:"+b}}}));this.issue$=this.id$.pipe(sj(function(b){return b?
a.issueFullFridge.watch(b):li(void 0)}));this.blockingIds$=this.issue$.pipe(C(function(b){var c;return(c=b==null?void 0:b.snapshot[0].blockingIssueId)!=null?c:[]}));this.issuesBeingBlocked$=this.blockingIds$.pipe(sj(function(b){return a.issueFullFridge.watchSet(b)}));this.blockedAndOpen$=this.issuesBeingBlocked$.pipe(C(function(b){return b.filter(eg)}));this.blockedAndOpenIds$=this.blockedAndOpen$.pipe(C(function(b){return b.map(function(c){return String(c.issueId)})}));this.blockedAndClosed$=this.issuesBeingBlocked$.pipe(C(function(b){return b.filter(function(c){return Vha(c)})}));
this.blockedAndClosedIds$=this.blockedAndClosed$.pipe(C(function(b){return b.map(function(c){return String(c.issueId)})}));this.thinking$=this.issueFullFridge.thinking$;this.getMenuItems=function(b){return[{type:"action",label:"Remove this relationship",action:function(){Ged(a,b)},title:"Remove this relationship",icon:"clear"}]};this.didChooseBlocking=function(b){var c;return v(function(d){if(d.nextAddress==1)return w(d,pi(a.id$),2);c=d.yieldResult;return c==null?d.return():w(d,a.issueFullFridge.addBlocking(c,
b).catch(a.gotErr),0)})};this.gotErr=function(b){a.snackBar.open(on(b)||"Error with network request","close",{panelClass:"error"})}};Y(R4,Z);R4.\u0275dir=Z.\u0275dir;var dPb=function(a){a.issuePicker.open({title:"Add Blocking",allowMultipleIds:!0,edgeType:"blocking"},a.didChooseBlocking)},Ged=function(a,b){var c;v(function(d){if(d.nextAddress==1)return w(d,pi(a.id$),2);c=d.yieldResult;return c==null?d.return():w(d,a.issueFullFridge.removeBlocking(c,[String(b)]).catch(a.gotErr),0)})};
R4.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(R4)))(b||R4)}}();
R4.\u0275cmp=F({type:R4,selectors:[["ng-component"]],standalone:!1,features:[xj],decls:5,vars:6,consts:[[1,"carded","bg-main"],[1,"pos-tr","padded"],[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"],["type","button","mat-flat-button","","color","primary","matTooltip",
"Add something this issue is blocking",1,"small",3,"click"],[1,"margin-s-top","flex-kids-x","gap-s"],["mat-button","","color","primary",1,"small",3,"routerLink","queryParams"],[1,"section-heading","muted"],[1,"muted","margin-bottom"],[3,"issueIds","menuItemFactory"],[1,"unstyled","reverse-padded-sides"],[1,"padded-x",3,"routerLink"],[1,"right"],["type","button","mat-icon-button","","aria-label","",1,"invisible"]],template:function(a,b){a&1&&(L(0,"section",0),I(1,rPb,2,1),W(2,"async"),M(),I(3,sPb,
2,0,"aside",1),W(4,"async"));if(a&2){var c;E();J((c=X(2,2,b.blockingIds$))?1:-1,c);E(2);J(X(4,4,b.thinking$)?3:-1)}},dependencies:[bC,dA,aA,bA,YF,WF,lL,AT,py],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 S4=function(){};S4.\u0275fac=function(a){return new (a||S4)};S4.\u0275mod=Zi({type:S4});S4.\u0275inj=Eg({imports:[jC,CA,QJ,FG,GG,FI,qM,JL,yQ,uL,QL,oL,cW]});var T4=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,T4.messageId)};Y(T4,n);T4.prototype.getIssueId=function(){return Re(this,1,void 0,Kc)};T4.prototype.getIssueId_asString=function(){return Le(this,1,void 0,Kc)};T4.prototype.setIssueId=function(a){return rf(this,1,a,void 0,Kc)};T4.messageId="b.MonorailIssueRedirectRequest";var U4=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,U4.messageId)};Y(U4,n);U4.prototype.getUrl=function(){return r(this,rv,1,Kc)};U4.prototype.setUrl=function(a){return t(this,rv,1,a,Kc)};U4.prototype.hasUrl=function(){return Me(this,rv,1,Kc)};U4.messageId="b.MonorailIssueRedirectResponse";var V4=function(){this.executor=x(ey)},Hed=function(a,b){b=(new T4).setIssueId(b);return a.executor.post({url:"action/monorailIssueRedirect",body:b,responseConstructor:U4}).pipe(C(function(c){return Xga(c.getUrl())}),cj(function(){return li(null)}))};V4.\u0275fac=function(a){return new (a||V4)};V4.\u0275prov=Dg({token:V4,factory:V4.\u0275fac,providedIn:"root"});var BPb=function(a,b){return b.issueId},Ied={BLOCKED_BY_ISSUES:"blocked_by",PARENT_ISSUES:"parent"},W4=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=x(pE);this.router=x($B);this.STATUS_JS_TERSE=$ic;this.ListIssuesHovercardMode=Ied;this.mode="blocked_by";this.currentIssueId="";this.issueIds$=new nj(1);this.init=new nj(1);this.issues$=this.issueIds$.pipe(Di(fe),sj(function(b){return a.issueFullFridge.watchSet(b)}),C(function(b){return a.mode==="parent"?b.filter(fg):b.filter(eg)}))};
Y(W4,Z);W4.\u0275dir=Z.\u0275dir;W4.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};var yPb=function(a){var b;(b=a.hovercardInstance)==null||b.closeHovercard$.next();a.issueIds$.subscribe(function(c){c=c!=null?c:[];for(var d="id:(",e=l(c.entries()),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;d+=h;d=f<c.length-1?d+"|":d+")"}c={q:d};a.router.navigate([Hq.listIssues.makeHref()],{queryParams:c})})};
W4.prototype.ngOnInit=function(){var a=this;this.issues$.pipe(tj(this.destroyed$)).subscribe(function(){a.init.next()})};pg.Object.defineProperties(W4.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a)}}});W4.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(W4)))(b||W4)}}();
W4.\u0275cmp=F({type:W4,selectors:[["b-list-issues-card"]],inputs:{mode:"mode",currentIssueId:"currentIssueId",issueIds:"issueIds",hovercardInstance:"hovercardInstance"},outputs:{init:"init"},standalone:!1,features:[xj],decls:2,vars:3,consts:[["role","dialog","aria-label","List Issues Hovercard",1,"onedev-hovercard-content"],[1,"border-bottom","header-container"],[1,"flex-kids-x","more-issues-container","margin-s-right"],["svgIcon","account_tree_24px",1,"icon-xxs","muted"],[1,"header-text"],["svgIcon",
"slo-status-no-data",1,"icon-xxs","gfx-bad"],[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,"class"],["type","button","mat-button","",1,"primary","small",3,"click"]],template:function(a,b){a&1&&(I(0,CPb,8,4,"div",0),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.issues$))?0:-1,c)}},dependencies:[EA,bC,dA,aA,py],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 X4=function(){this.issueFullFridge=x(pE);this.paths=x(TO);this.cdr=x(sx);this.ancestors=new Map;this.issueId="";this.ListIssuesHovercardMode=Ied;this.reorderedAncestors=[];this.issueIdToTitle=new Map;this.multiParentIssueIds=[]};X4.prototype.ngOnChanges=function(a){var b=this;a.ancestors&&Jed(this).then(function(c){b.issueIdToTitle=c;b.cdr.markForCheck()})};X4.prototype.getIssueLink=function(a){return Jq(a)};
var Jed=function(a){var b,c,d;return v(function(e){a.reorderedAncestors=[];for(b=a.issueId;;)if(c=a.ancestors.get(b))if(c.sourceIssueIds.length===1)b=c.sourceIssueIds[0],a.reorderedAncestors.push(b);else{a.multiParentIssueIds=c.sourceIssueIds;break}else break;a.reorderedAncestors.reverse();d=oo(a.reorderedAncestors);return d.length===0?e.return(new Map):e.return(pi(si(d.map(function(f){return a.issueFullFridge.watch(f)})).pipe(C(function(f){return f.filter(fe)}),C(function(f){var h=new Map;f=l(f);
for(var k=f.next();!k.done;k=f.next())k=k.value,h.set(k.issueId,k.snapshot[0].title);return h}))))})};X4.\u0275fac=function(a){return new (a||X4)};
X4.\u0275cmp=F({type:X4,selectors:[["ancestors-breadcrumbs"]],inputs:{ancestors:"ancestors",issueId:"issueId"},standalone:!1,features:[$w],decls:4,vars:1,consts:[["card","onedevHovercard"],["cardBody",""],["svgIcon","account_tree_24px","title","Ancestor issues",1,"icon-xs","margin-s-right"],[1,"muted",3,"onedevHovercardTrigger","title"],["svgIcon","chevron-right",1,"icon-xs","chevron","muted"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","hovercardInstance","currentIssueId","issueIds",
"mode"],[1,"type-s",3,"href","issueId"]],template:function(a,b){a&1&&(N(0,"mat-icon",2),I(1,FPb,6,5),Mj(2,GPb,3,5,null,null,Lj));a&2&&(E(),J(b.multiParentIssueIds.length>1?1:-1),E(),Nj(b.reorderedAncestors))},dependencies:[EA,FH,xH,yH,DH,zH,W4],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}"],
changeDetection:0});var Y4=function(){var a=this;this.issueFullFridge=x(pE);this.hotlistFridge=x(EC);this.hotlistPicker=x(aS);this.issueId$=new nj(1);this.issue$=this.issueId$.pipe(sj(function(b){return a.issueFullFridge.watch(b)}));this.hotlistsOnIssue$=this.issue$.pipe(C(function(b){var c;return(c=b==null?void 0:b.snapshot[0].hotlistId)!=null?c:[]}));this.count$=this.hotlistsOnIssue$.pipe(C(function(b){return b==null?void 0:b.length}),rj(0));this.label$=this.count$.pipe(C(function(b){return b>0?"Hotlists ("+b+")":
"Hotlists"}));this.isDisabled$=this.hotlistFridge.saving$;this.HOTKEYS=nq};Y4.prototype.onClick=function(){aVc(this.hotlistPicker,this.issue$)};pg.Object.defineProperties(Y4.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(String(a))}}});Y4.\u0275fac=function(a){return new (a||Y4)};
Y4.\u0275cmp=F({type:Y4,selectors:[["hotlist-picker-btn"]],inputs:{issueId:"issueId"},standalone:!1,decls:4,vars:7,consts:[["type","button","mat-stroked-button","",1,"small",3,"onHotkey","click","hotkey","disabled"]],template:function(a,b){a&1&&(L(0,"button",0),W(1,"async"),Q("onHotkey",function(){return b.onClick()})("click",function(){return b.onClick()}),U(2),W(3,"async"),M());a&2&&(K("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER)("disabled",X(1,3,b.isDisabled$)),E(2),V(" ",X(3,5,b.label$),"\n"))},dependencies:[DL,
dA,aA,py],encapsulation:2});var Ked=function(a,b){var c=b.permissions,d=b.retentionState,e=b.isComponentAdmin;if(b.isInternal){if(b.retentionOverride==="INDEFINITE")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()}}}},Led=function(a,b){return b.isInternal?{type:"action",label:"Request issue deletion...",title:"Request issue deletion",action:function(){a.requestIssueDeletion()}}:void 0},Med=function(a,b){var c=!b.isArchived,d=c?"Archive issue":"Unarchive issue";return{type:"action",label:d,title:d+" (requires Edit Issues permission)",icon:"archive_24px",disabled:!b.permissions.writer,
action:function(){a.submitArchivalState(c)}}},Ned=function(a,b){if(!b.isDeleted&&b.accessLevel==="EXTERNAL_PUBLIC")return{type:"action",label:"Mark as spam...",title:"Mark as spam... (requires Admin Issues permission)",icon:"flag",disabled:!b.permissions.admin,action:function(){a.showFlagAsSpamDialog()}}};var Oed=function(a){return{isDupe:a}},Z4=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=x(pE);this.permissionsFridge=x(WE);this.issuePicker=x(ZQ);this.snackBar=x(JA);this.eventsForIssueFridge=x(wD);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 nj(1);this.issue$=this.issueId$.pipe(sj(function(b){return a.issueFullFridge.watch(b)}));this.isDupe$=this.issue$.pipe(C(function(b){var c;
return!!(b==null?0:(c=b.snapshot[0])==null?0:c.duplicateOfIssueId)}));this.permissions$=this.issueId$.pipe(sj(function(b){return a.permissionsFridge.watch(An(b))}));this.canEdit$=this.permissions$.pipe(C(function(b){return!(b==null||!b.writer)}),rj(!0));this.didChooseCanonical=function(b){return function(c){(c=c[0])&&Owc(a.issueFullFridge,c,b).then(function(){a.eventsForIssueFridge.poke(b)}).catch(a.gotErr)}};this.gotErr=function(b){a.snackBar.open(on(b)||"Error with network request","close",{panelClass:"error"})}};
Y(Z4,Z);Z4.\u0275dir=Z.\u0275dir;
var HPb=function(a){var b,c,d;return v(function(e){switch(e.nextAddress){case 1:return a.disabled||a.issueFullFridge.isSaving(a.internalIssueId)?e.return():w(e,pi(a.canEdit$),2);case 2:return(b=e.yieldResult)?w(e,pi(a.isDupe$),3):e.return();case 3:return c=e.yieldResult,w(e,pi(a.issue$),4);case 4:d=e.yieldResult;if(d==null)return e.return();c?Ped(a,d):a.issuePicker.open({title:"Mark issue as duplicate of:",allowMultipleIds:!1,componentId:d.snapshot[0].componentId,edgeType:"canonical",currentResource:{id:d.issueId,
type:"issue"}},a.didChooseCanonical(d.issueId));ji(e)}})},Ped=function(a,b){var c=b.snapshot[0].duplicateOfIssueId;c!=null&&a.issueFullFridge.removeDuplicate(c,b.issueId).then(function(){a.eventsForIssueFridge.poke(b.issueId)}).catch(a.gotErr)};pg.Object.defineProperties(Z4.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)}}});Z4.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(Z4)))(b||Z4)}}();
Z4.\u0275cmp=F({type:Z4,selectors:[["smart-dupe-btn"]],inputs:{disabled:"disabled",issueId:"issueId"},standalone:!1,features:[xj],decls:2,vars:5,consts:[["type","button","mat-stroked-button","",1,"small",3,"disabled","title"],["type","button","mat-stroked-button","",1,"small",3,"click","disabled","title"]],template:function(a,b){a&1&&(I(0,IPb,3,5,"button",0),W(1,"async"));if(a&2){var c;J((c=Dk(3,Oed,X(1,1,b.isDupe$)))?0:-1,c)}},dependencies:[dA,aA,py],encapsulation:2});var a5=function(){this.label=""};a5.prototype.toggle=function(){this.hovercardTrigger&&this.hovercardTrigger.toggle(!this.hovercardTrigger.isExpanded())};a5.\u0275fac=function(a){return new (a||a5)};
a5.\u0275cmp=F({type:a5,selectors:[["help-hover"]],viewQuery:function(a,b){a&1&&ek(DH,5);if(a&2){var c;ik(c=jk())&&(b.hovercardTrigger=c.first)}},inputs:{label:"label",content:"content"},standalone:!1,decls:6,vars:3,consts:[["chipHovercard","onedevHovercard"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["svgIcon","help-outline",1,"icon-s",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"]],template:function(a,b){a&1&&(L(0,"onedev-hovercard",null,0)(2,"div",1)(3,"div",
2),I(4,KPb,1,1,"ng-container"),M()()(),N(5,"mat-icon",3));a&2&&(a=T(1),E(2),Hj("aria-label",b.label),E(2),J(b.content?4:-1),E(),K("onedevHovercardTrigger",a))},dependencies:[oy,EA,xH,DH],encapsulation:2});var b5=function(){};b5.\u0275fac=function(a){return new (a||b5)};b5.\u0275mod=Zi({type:b5});b5.\u0275inj=Eg({imports:[jC,uL]});var PPb=function(a,b){return b.label},c5=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=x(pE);this.issuePermissionService=x(BF);this.activeSession=x(Ks);this.appEvents=x(EB);this.issueArchiveService=x(UW);this.domSafe=x(SF);this.editIssueService=x(XI);this.matDialogService=x(eI);this.analytics=x(nE);this.issueId$=new nj(1);this.retentionEnabled=this.activeSession.isInternalSession();this.HOTKEYS=nq;this.issue$=this.issueId$.pipe(sj(function(b){return a.issueFullFridge.watch(b)}));
this.issueDerivedProperties$=this.issue$.pipe(C(function(b){var c,d,e,f,h,k,q;return{modifiedTimeMilliseconds:(b==null?void 0:(c=b.aggregatedData)==null?void 0:c.modifiedTimeMicros)!=null?b.aggregatedData.modifiedTimeMicros/1E3:void 0,voted:(k=b==null?void 0:(d=b.userData)==null?void 0:d.voted)!=null?k:!1,voteCount:(q=b==null?void 0:(e=b.aggregatedData)==null?void 0:e.voteCount)!=null?q:0,notificationSubscription:ee(b==null?void 0:(f=b.userData)==null?void 0:f.notificationSubscription),retentionState:b==
null?void 0:(h=b.aggregatedData)==null?void 0:h.retentionState}}));this.menuItems$=Qed(this);this.state$=si([this.issueId$,this.issueDerivedProperties$,this.menuItems$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;return Object.assign({},{issueId:b},d,{menuItems:c})}))};Y(c5,Z);c5.\u0275dir=Z.\u0275dir;g=c5.prototype;g.onAction=function(a,b){return v(function(c){if(c.nextAddress==1)return w(c,Fq(0),2);a.action(b);ji(c)})};
g.updateSubscription=function(a){var b=this,c;return v(function(d){if(d.nextAddress==1)return w(d,pi(b.issueId$),2);if(d.nextAddress!=3)return(c=d.yieldResult)?w(d,b.editIssueService.updateSubscription(c,a),3):d.return();b.analytics.trackEvent("editIssue","updateSubscription",a);ji(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 v(function(d){return d.nextAddress==1?b.editIssueService.savingState(a).get("retention")?d.return():w(d,pi(ZH(b.matDialogService.open(zOc,{maxWidth:560}))),2):(c=d.yieldResult)?w(d,b.editIssueService.updateIssueRetention(a,"INDEFINITE"),0):d.jumpTo(0)})};
g.showComponentRetentionDialog=function(a){var b=this,c;return v(function(d){return d.nextAddress==1?b.editIssueService.savingState(a).get("retention")?d.return():w(d,pi(ZH(b.matDialogService.open(vOc,{maxWidth:560}))),2):(c=d.yieldResult)?w(d,b.editIssueService.updateIssueRetention(a,"COMPONENT_DEFAULT"),0):d.jumpTo(0)})};
g.showFlagAsSpamDialog=function(a){var b=this,c;return v(function(d){return d.nextAddress==1?w(d,pi(ZH(b.matDialogService.open(yOc,{maxWidth:560}))),2):(c=d.yieldResult)?w(d,yFc(b.editIssueService,String(a)),0):d.jumpTo(0)})};
var Qed=function(a){var b={requestIssueDeletion:function(){a.domSafe.openInNewTab(GXa(a.activeSession.isInternalSession()))},showIndefiniteRetentionDialog:function(){var c;return v(function(d){return d.nextAddress==1?w(d,pi(a.issueId$),2):(c=d.yieldResult)?w(d,a.showIndefiniteRetentionDialog(c),0):d.return()})},showComponentRetentionDialog:function(){var c;return v(function(d){return d.nextAddress==1?w(d,pi(a.issueId$),2):(c=d.yieldResult)?w(d,a.showComponentRetentionDialog(c),0):d.return()})},submitArchivalState:function(c){var d;
return v(function(e){return e.nextAddress==1?w(e,pi(a.issueId$),2):(d=e.yieldResult)?w(e,a.issueArchiveService.submitArchivalState(d,c),0):e.return()})},showFlagAsSpamDialog:function(){var c;return v(function(d){return d.nextAddress==1?w(d,pi(a.issueId$),2):(c=d.yieldResult)?w(d,a.showFlagAsSpamDialog(c),0):d.return()})}};return si([a.issue$,a.issuePermissionService.userIsComponentAdmin$,a.issuePermissionService.issuePermissions$]).pipe(C(function(c){var d=l(c);c=d.next().value;var e=d.next().value;
var f;d={permissions:d.next().value,accessLevel:$Ia(c),isArchived:(f=c==null?void 0:c.isArchived)!=null?f:!1,isDeleted:YIa(c),isInternal:a.activeSession.isInternalSession(),isComponentAdmin:e,retentionOverride:cJa(c),retentionState:fJa(c)};return[Med(b,d),Ned(b,d),Led(b,d),Ked(b,d)].filter(fe)}))};pg.Object.defineProperties(c5.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});c5.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(c5)))(b||c5)}}();
c5.\u0275cmp=F({type:c5,selectors:[["issue-header-actions"]],viewQuery:function(a,b){a&1&&ek(a5,5);if(a&2){var c;ik(c=jk())&&(b.helpHover=c.first)}},inputs:{issueId:"issueId"},standalone:!1,features:[xj],decls:2,vars:3,consts:[["smartDupeBtn",""],["menu","matMenu"],["retentionHelpContent",""],[3,"issueId","voteCount","upvoted"],[3,"issueId"],[3,"onHotkey","issueId","hotkey"],["aria-label","Notification menu",3,"subscriptionChange","showNotificationSettings","subscription","issueId","iconOnly"],["type",
"button","mat-icon-button","","aria-label","More actions","matTooltip","More actions",1,"medium",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],[1,"issue-header-actions-menu"],["type","button","mat-menu-item","",3,"disabled","title"],["type","button","mat-menu-item","",1,"informational-only","border-top","flush-bottom"],["type","button","mat-menu-item","",3,"click","disabled","title"],[1,"icon-s",3,"svgIcon"],["type","button","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&&(I(0,QPb,14,11),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.state$))?0:-1,c)}},dependencies:[FP,EA,a5,DL,dA,bA,FL,mK,kK,pK,YF,WF,p1,f0,e0,Z4,Y4,py],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-mdc-button.small{font-size:.8125rem}.bv2-material   [_nghost-%COMP%]     button.mat-mdc-icon-button:not(.mat-primary):not([disabled]){color:#5f6368;color:var(--muted)}  .issue-header-actions-menu .mat-mdc-menu-content button.mat-mdc-menu-item.informational-only mat-icon.mat-icon{vertical-align:text-bottom}"],
changeDetection:0});var d5=function(){Z.call(this);var a=this;this.issueDetailsBrain=x(zF);this.issuePagination=x(iY);this.issueInteractionsTracking=x(TI);this.bLocation=x(hL);this.paths=x(TO);this.refreshMonitor=x(JD);this.butterBar=x(MA);this.internalSearchResults$=new $n(null);this.searchResults$=this.internalSearchResults$.pipe(jj(),sj(function(b){return b?b.changed$:li(null)}));this.issueId$=this.issueDetailsBrain.id$;this.totalText$=this.searchResults$.pipe(C(function(b){var c;return(c=b==null?void 0:b.totalText)!=
null?c:""}));this.backNavigationLabel$=this.searchResults$.pipe(C(function(b){return(b==null?0:b.params.returnUrl)?"Back to previous search":"Go home"}));this.issueIndex$=si([this.searchResults$,this.issueId$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;var d;return(d=c&&(b==null?void 0:fY(b,c)))!=null?d:-1}));this.hasPreviousIssue$=si([this.searchResults$,this.issueId$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;var d;if(d=c)b==null?b=0:(c=fY(b,c),b=c==
null||c===-1?!1:c>b.startIndex||b.params.page>1),d=b;return!!d}));this.hasNextIssue$=si([this.searchResults$,this.issueId$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;var d;if(d=c)b==null?b=0:(c=fY(b,c),b=c==null||c===-1?!1:c<b.endIndex||b.params.page<b.numPages),d=b;return!!d}));this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){Red(a)}));this.subscriptions.add(this.issueDetailsBrain.id$.subscribe(function(b){a.issueId=b;Red(a)}))};Y(d5,Z);
d5.\u0275dir=Z.\u0275dir;
var Sed=function(a){var b,c,d=(c=(b=a.internalSearchResults$.value)==null?void 0:b.params.returnUrl)!=null?c:"";a.issueInteractionsTracking.trackNavigation(d===""?"home":"up");a.bLocation.hash("");a.bLocation.setUrl(d)},UPb=function(a){var b=up(a.hasNextIssue$),c=up(a.issueIndex$);b&&c&&Ted(a,c+1)},TPb=function(a){var b=up(a.hasPreviousIssue$),c=up(a.issueIndex$);b&&c&&Ted(a,c-1)},Red=function(a){var b,c,d;v(function(e){if(e.nextAddress==1)return w(e,D4c(a.issuePagination).catch(RPb),2);b=e.yieldResult;
a.internalSearchResults$.next((c=b)!=null?c:null);if(!b||!a.issueId)return e.return();d=fY(b,a.issueId);return d===-1?e.jumpTo(0):w(e,F4c(a.issuePagination,d).catch(RPb),0)})},Ted=function(a,b){F4c(a.issuePagination,b).then(function(c){a.bLocation.setUrl(Jq(c))},function(){a.butterBar.showWarning("Can't find issue id for index '"+b+"'")})};d5.\u0275fac=function(a){return new (a||d5)};d5.\u0275prov=Dg({token:d5,factory:d5.\u0275fac,providedIn:"root"});var Ued=function(){this.currentSearchResults=x(d5);this.HOTKEYS=nq};Ued.\u0275fac=function(a){return new (a||Ued)};
Ued.\u0275cmp=F({type:Ued,selectors:[["b-pagination-one-issue"]],standalone:!1,decls:2,vars:3,consts:[["type","button","mat-icon-button","","matTooltip","Previous Issue","aria-label","Previous Issue",1,"medium",3,"onHotkey","click","hotkey","disabled"],["svgIcon","arrow-left",1,"icon-l"],["type","button","mat-icon-button","","matTooltip","Next Issue","aria-label","Next Issue",1,"medium",3,"onHotkey","click","hotkey","disabled"],["svgIcon","arrow-right",1,"icon-l"]],template:function(a,b){a&1&&(I(0,
VPb,8,13),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.currentSearchResults.issueIndex$))?0:-1,c)}},dependencies:[EA,DL,dA,bA,YF,WF,py],styles:["[_nghost-%COMP%]{display:inline-block;color:#5f6368;color:var(--muted);white-space:nowrap}output[_ngcontent-%COMP%]{font-weight:500}[mat-icon-button][_ngcontent-%COMP%]{margin-left:-4px;padding:0}[_nghost-%COMP%]   span.zero-width[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{width:0}/*# sourceMappingURL=pagination_one_issue.css.map */"],changeDetection:0});var Ved=function(){var a=this;this.brain=x(zF);this.accessIndicatorService=x(DP);this.INTERNAL="INTERNAL";this.issue$=this.brain.issueJs$.pipe(Di(fe));this.retentionState$=this.issue$.pipe(C(function(b){var c;return(c=b.aggregatedData)==null?void 0:c.retentionState}));this.modifiedTime$=this.issue$.pipe(C(function(b){var c;return((c=b.aggregatedData)==null?0:c.modifiedTimeMicros)?b.aggregatedData.modifiedTimeMicros/1E3:void 0}),Di(fe));this.accessLevel$=this.issue$.pipe(C(function(b){var c;return(c=
b.accessLimit)==null?void 0:c.accessLevel}),Di(fe));this.issueAccessLimitLevel$=this.issue$.pipe(C(function(b){return b.snapshot[0].issueAccessLimitLevel}));this.issueId$=this.issue$.pipe(C(function(b){return b.issueId}));this.hasAccessIndicator$=this.issue$.pipe(sj(function(b){return tQc(a.accessIndicatorService,b.issueId)}),C(function(b){return b.type!=="no_indicator"}));this.state$=si([this.retentionState$,this.issueAccessLimitLevel$,this.modifiedTime$,this.issueId$,this.brain.componentId$,si([this.accessLevel$,
this.hasAccessIndicator$])]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;var e=c.next().value;var f=c.next().value;var h=c.next().value;var k=l(c.next().value);c=k.next().value;k=k.next().value;return{retentionState:b,isAccessLimited:d==="LIMIT_VIEW"||d==="LIMIT_APPEND"||d==="LIMIT_VIEW_TRUSTED",isShowingRetention:(b==null?void 0:b.scheduledDeletionTime)==null?!1:vzb(b),isShowingPublicPartner:c!=="INTERNAL",modifiedTime:e,accessLevel:c,issueId:f,componentId:h,issueAccessLimitLevel:d,
hasAccessIndicator:k}}))};Ved.\u0275fac=function(a){return new (a||Ved)};Ved.\u0275cmp=F({type:Ved,selectors:[["issue-chip-indicators"]],standalone:!1,decls:2,vars:3,consts:[[1,"flex-kids-x","gap-s","margin-xs-right"],[3,"issueId"],[3,"issueId","componentId","accessLimitLevel"],[3,"retentionState","compactMode","modifiedTime"]],template:function(a,b){a&1&&(I(0,$Pb,1,1),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.state$))?0:-1,c)}},dependencies:[kV,g0,EP,py],encapsulation:2});var e5=function(){this.teamsService=x(kF);this.onTeamLoaded=new nj(1);this.teamName$=new $n("");this.isTeamLoaded=!1};e5.prototype.ngOnChanges=function(a){var b=this;a.teamId&&this.teamId!==null&&(this.teamId?lF(this.teamsService,this.teamId).pipe(hj(1),C(function(c){return c.name})).subscribe(function(c){b.teamName$.next(c);b.isTeamLoaded=!0;b.onTeamLoaded.next(b.isTeamLoaded)}):(this.isTeamLoaded=!0,this.onTeamLoaded.next(this.isTeamLoaded)))};e5.\u0275fac=function(a){return new (a||e5)};
e5.\u0275cmp=F({type:e5,selectors:[["b-team-chip"]],inputs:{componentId:"componentId",teamId:"teamId"},outputs:{onTeamLoaded:"onTeamLoaded"},standalone:!1,features:[$w],decls:7,vars:6,consts:[["card","onedevHovercard"],[3,"isReady"],[1,"b-chip","squared","s",3,"onedevHovercardTrigger"],[3,"componentId","teamId"],["svgIcon","supervisor_account_24px",1,"icon-xs"]],template:function(a,b){a&1&&(L(0,"b-async-data-placeholder",1),I(1,aQb,4,4,"div",2),W(2,"async"),M(),L(3,"onedev-hovercard",null,0),Sj(5),
N(6,"b-team-card",3),Tj(),M());if(a&2){K("isReady",b.isTeamLoaded);E();J(X(2,4,b.teamName$)?1:-1);E(5);var c;K("componentId",b.componentId||void 0)("teamId",(c=b.teamId==null?null:b.teamId.toString())!=null?c:"0")}},dependencies:[EA,eP,xH,DH,ZN,py],styles:["[_nghost-%COMP%]{min-height:22px}mat-icon[_ngcontent-%COMP%]{margin-right:4px;vertical-align:middle}"],changeDetection:0});var f5=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=x(pE);this.issuePermissionService=x(BF);this.router=x($B);this.refreshMonitor=x(JD);this.currentSearchResults=x(d5);this.trackerHelpers=x(sI);this.eventsForIssueFridge=x(wD);this.cdr=x(sx);this.starToggleDisabled=!1;this.issueId$=new nj(1);this.internalIssueId="";this.isTeamLoaded=!1;this.ListIssuesHovercardMode=Ied;this.blockedIdsToUrlQuery=function(b){if(!(b.length<2))return{q:"blockingid:"+a.issueId}};this.HOTKEYS=nq;this.issue$=
this.issueId$.pipe(sj(function(b){return a.issueFullFridge.watch(b)}));this.issueTitle$=this.issue$.pipe(C(function(b){return b==null?void 0:b.snapshot[0].title}));this.starred$=this.issue$.pipe(C(function(b){var c,d;return(d=b==null?void 0:(c=b.userData)==null?void 0:c.starred)!=null?d:!1}));this.componentId$=this.issue$.pipe(C(function(b){return ee(b==null?void 0:b.snapshot[0].componentId)}));this.ancestors$=this.issue$.pipe(C(function(b){return ee(b==null?void 0:b.ancestors)}));this.hasAncestors$=
this.ancestors$.pipe(C(function(b){return!!(b&&b.size>0)}));this.teamId$=this.issue$.pipe(C(function(b){var c;return ee(b==null?void 0:(c=b.aggregatedData)==null?void 0:c.teamId)}));this.blockedByids$=this.issue$.pipe(C(function(b){var c;return(c=b==null?void 0:b.snapshot[0].blockedByIssueId)!=null?c:[]}));this.issuesBlockedByCount$=this.blockedByids$.pipe(sj(function(b){return a.issueFullFridge.watchSet(b)}),C(function(b){return b.filter(eg)}),C(function(b){return b.length}));this.blockedByids$.pipe(C(kQb));
this.blockedByids$.pipe(C(this.blockedIdsToUrlQuery));this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.status$=this.issue$.pipe(C(function(b){return(b==null?void 0:b.snapshot[0].status)||void 0}));this.statusCssClass$=this.status$.pipe(C(function(b){return a.computeStatusCssClass(b)}));this.prettyStatus$=this.status$.pipe(Di(fe),C(function(b){var c;return(c=Nd.get(b))!=null?c:""}));this.statusIsFeatured$=this.status$.pipe(C(function(b){return!!bjc[b]}));
this.toggleStar=function(){var b;return v(function(c){if(c.nextAddress==1)return w(c,pi(a.starred$),2);b=c.yieldResult;a.starToggleDisabled=!0;Lwc(a.issueFullFridge,a.issueId,!b).pipe(lj(),tj(a.destroyed$)).subscribe(function(){a.starToggleDisabled=!1;a.cdr.markForCheck()});ji(c)})};this.toggleStarDebounced=Fv(this.toggleStar,1E3)};Y(f5,Z);f5.\u0275dir=Z.\u0275dir;f5.prototype.computeStatusCssClass=function(a){return a?"status-"+a:""};f5.prototype.refresh=function(){this.refreshMonitor.refreshRequest.next()};
pg.Object.defineProperties(f5.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)},get:function(){return this.internalIssueId}}});f5.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(f5)))(b||f5)}}();
f5.\u0275cmp=F({type:f5,selectors:[["issue-header"]],inputs:{issueId:"issueId"},standalone:!1,features:[xj],decls:39,vars:49,consts:[["withAncestorsBreadcrumbs",""],["card","onedevHovercard"],["cardBody",""],[1,"padded-s","border-bottom"],[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"],[1,"right"],[1,"row","row-2","flex-kids-x","margin-s-top"],[1,"left","flex-kids-x","align-items-top"],[1,"nowrap"],
["type","button","mat-icon-button","",1,"small","back-btn",3,"onHotkey","click","hotkey","matTooltip"],["svgIcon","arrow-backward",1,"icon-s"],["type","button","mat-icon-button","","matTooltip","Refresh","aria-label","Refresh",1,"small",3,"onHotkey","click","hotkey"],["svgIcon","refresh",1,"icon-s"],[3,"starClicked","onHotkey","starred","disabled","hotkey"],[3,"titleChanged","title","componentId","issueId","hasAclToEdit"],[1,"b-chip","squared","bad","xs","margin-xs-left",3,"onedevHovercardTrigger"],
[4,"onedevHovercardLazyBody"],[1,"float-right",3,"issueId"],[4,"ngTemplateOutlet"],[3,"onTeamLoaded","componentId","teamId"],[3,"componentId","issueId"],[1,"b-chip","squared","s","padding-0"],[3,"issueId","componentId","issueTitle","isExternalIssue"],[3,"componentId","compactMode","issueId"],[1,"b-chip","squared","s"],[3,"ancestors","issueId"],[2,"margin-right","-4px",3,"issueId","componentId","issueTitle","isExternalIssue"],["svgIcon","slo-status-no-data",1,"icon-xxs"],[3,"onedevIsHovercardReady",
"hovercardInstance","currentIssueId","issueIds","mode"]],template:function(a,b){if(a&1){var c=y();L(0,"div",3);W(1,"async");W(2,"async");W(3,"async");N(4,"aside",4);W(5,"async");W(6,"async");L(7,"div",5)(8,"div",6);I(9,cQb,1,1,"ng-container");W(10,"async");Jj(11,eQb,4,7);G(12,hQb,4,7,"ng-template",null,0,Gk);M();L(14,"div",7);N(15,"b-pagination-one-issue");M()();L(16,"div",8)(17,"div",9)(18,"div",10)(19,"button",11);W(20,"async");W(21,"async");Q("onHotkey",function(){z(c);return B(Sed(b.currentSearchResults))})("click",
function(){z(c);return B(Sed(b.currentSearchResults))});N(22,"mat-icon",12);M();L(23,"button",13);Q("onHotkey",function(){z(c);return B(b.refresh())})("click",function(){z(c);return B(b.refresh())});N(24,"mat-icon",14);M();L(25,"b-star-toggle",15);W(26,"async");Q("starClicked",function(){z(c);return B(b.toggleStar())})("onHotkey",function(){z(c);return B(b.toggleStarDebounced())});M()();N(27,"issue-chip-indicators");M();L(28,"div",7)(29,"issue-title",16);W(30,"async");W(31,"async");W(32,"async");
Q("titleChanged",function(){z(c);b.eventsForIssueFridge.poke(b.issueId);b.cdr.markForCheck();return B()});M();I(33,iQb,3,2,"div",17);W(34,"async");L(35,"onedev-hovercard",null,1);G(37,jQb,4,7,"ng-container",18);M();N(38,"issue-header-actions",19);M()()()}if(a&2){var d;sk(X(1,23,b.statusCssClass$));rk("overline",X(2,25,b.statusIsFeatured$))("color-field",X(3,27,b.statusIsFeatured$));E(4);K("title",Ak("[",X(5,29,b.prettyStatus$),"] ",X(6,31,b.issueTitle$)));E(5);J(X(10,33,b.hasAncestors$)?9:11);E(10);
var e;K("hotkey",b.HOTKEYS.GO_UP_TO_LIST)("matTooltip",(e=X(20,35,b.currentSearchResults.backNavigationLabel$))!=null?e:"");Hj("aria-label",X(21,37,b.currentSearchResults.backNavigationLabel$));E(4);K("hotkey",b.HOTKEYS.REFRESH_ISSUE);E(2);var f;K("starred",(f=X(26,39,b.starred$))!=null?f:!1)("disabled",b.starToggleDisabled)("hotkey",b.HOTKEYS.TOGGLE_STAR);E(4);K("title",X(30,41,b.issueTitle$))("componentId",X(31,43,b.componentId$))("issueId",b.issueId)("hasAclToEdit",X(32,45,b.issuePermissionService.hasAclToEdit$));
E(4);J((d=X(34,47,b.issuesBlockedByCount$))?33:-1,d);E(5);K("issueId",b.issueId)}},dependencies:[X4,oy,EA,RR,DL,xH,yH,DH,zH,jP,sT,W4,dA,bA,YF,WF,WR,e5,Ued,c5,Ved,py],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-mdc-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}[_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-mdc-button:not([disabled]):not([aria-pressed=true]), [_nghost-%COMP%]     smart-dupe-btn .mat-mdc-outlined-button:not([disabled]), [_nghost-%COMP%]     hotlist-picker-btn .mat-mdc-outlined-button:not([disabled]){background-color:#fff;background-color:var(--background)}"],
changeDetection:0});var Wed=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Wed.messageId)};Y(Wed,n);g=Wed.prototype;g.getIssueIdsList=function(){return Tu(this,1,1,Kc)};g.getIssueIdsList_asString=function(){return ge(this,1,Kc)};g.setIssueIdsList=function(a){return op(this,1,a,Kc)};g.addIssueIds=function(a){return bv(this,1,a,void 0,Kc)};g.setIssueIds=function(a){wc(this,1,Fb,void 0,a,Kb,Kc,1)};Wed.messageId="tailwind.BatchGetIssueRunStatusRequest";var Bs=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Bs.messageId)};Y(Bs,n);Bs.prototype.getIssueId=function(){return Re(this,1,void 0,Kc)};Bs.prototype.getIssueId_asString=function(){return Xe(this,1,void 0,Kc)};Bs.prototype.setIssueId=function(a){return Ze(this,1,a,void 0,Kc)};Bs.prototype.getRunId=function(){return Oc(this,2,void 0,Kc)};Bs.messageId="tailwind.IssueRunStatus";var Xed=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Xed.messageId)};Y(Xed,n);Xed.messageId="tailwind.BatchGetIssueRunStatusResponse";var g5=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,g5.messageId)};Y(g5,n);g5.prototype.getIssueId=function(){return Re(this,1,void 0,Kc)};g5.prototype.getIssueId_asString=function(){return Xe(this,1,void 0,Kc)};g5.prototype.setIssueId=function(a){return Ze(this,1,a,void 0,Kc)};g5.messageId="tailwind.CreateRunRequest";var xs=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,xs.messageId)};Y(xs,n);xs.prototype.getRunId=function(){return Oc(this,1,void 0,Kc)};xs.prototype.getIssueId=function(){return Re(this,2,void 0,Kc)};xs.prototype.getIssueId_asString=function(){return Xe(this,2,void 0,Kc)};xs.prototype.setIssueId=function(a){return Ze(this,2,a,void 0,Kc)};xs.messageId="tailwind.RunMetadata";var Yed=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Yed.messageId)};Y(Yed,n);Yed.messageId="tailwind.GetIssueEligibilityResponse";var h5=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,h5.messageId)};Y(h5,n);h5.prototype.getIssueId=function(){return Re(this,1,void 0,Kc)};h5.prototype.getIssueId_asString=function(){return Xe(this,1,void 0,Kc)};h5.prototype.setIssueId=function(a){return Ze(this,1,a,void 0,Kc)};h5.messageId="tailwind.RetryRunRequest";var rQb=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,rQb.messageId)};Y(rQb,n);rQb.messageId="tailwind.RunResultsValidation";var ys=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,ys.messageId)};Y(ys,n);ys.prototype.getEntriesList=function(){return Qd(this,1,Rd(),Kc)};ys.prototype.getEntries=function(a){return Xu(this,1,a,Kc)};ys.messageId="tailwind.RunSummarySection";var Zed=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Zed.messageId)};Y(Zed,n);Zed.messageId="tailwind.RunSummary";var As=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,As.messageId)};Y(As,n);As.prototype.getName=function(){return Oc(this,1,void 0,Kc)};As.prototype.setName=function(a){return lf(this,1,a,Kc)};As.prototype.hasName=function(){return Ge(this,1,Kc)};As.prototype.getNameOrUndefined=function(){return Vu(this,1,Kc)};As.messageId="tailwind.RunTrajectoryStepFunctionCall";var zs=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,zs.messageId)};Y(zs,n);zs.prototype.getText=function(){return Oc(this,1,void 0,Kc)};zs.prototype.setText=function(a){return lf(this,1,a,Kc)};zs.messageId="tailwind.RunTrajectoryStep";var pQb=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,pQb.messageId)};Y(pQb,n);pQb.messageId="tailwind.RunTrajectory";var i5=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,i5.messageId)};Y(i5,n);i5.prototype.getSummary=function(){return r(this,Zed,1,Kc)};i5.prototype.hasSummary=function(){return Me(this,Zed,1,Kc)};i5.messageId="tailwind.RunResults";var $ed=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,$ed.messageId)};Y($ed,n);g=$ed.prototype;g.getMetadata=function(){return r(this,xs,1,Kc)};g.getMutableMetadata=function(){return Pu(this,xs,1,Kc)};g.setMetadata=function(a){t(this,xs,1,a,Kc)};g.hasMetadata=function(){return Me(this,xs,1,Kc)};g.getResults=function(){return r(this,i5,3,Kc)};g.hasResults=function(){return Me(this,i5,3,Kc)};$ed.messageId="tailwind.Run";var j5=function(){this.executor=x(ey)};j5.prototype.getIssueEligibility=function(a){return this.executor.get({url:"action/tailwind/eligibility/"+a,responseConstructor:Yed}).pipe(C(nQb))};j5.prototype.createRun=function(a){return this.executor.post({url:"action/tailwind/create_run",body:(new g5).setIssueId(a),responseConstructor:xs}).pipe(C(mQb))};
j5.prototype.retryRun=function(a){var b=this.executor,c=b.post;var d=(new h5).setIssueId(a.issueId);d=lf(d,2,a.userInstructions,Kc);a=lf(d,3,a.previousRunId,Kc);return c.call(b,{url:"action/tailwind/retry_run",body:a,responseConstructor:xs}).pipe(C(mQb))};
var afd=function(a,b){return a.executor.get({url:"action/tailwind/get_run/"+encodeURIComponent(b),responseConstructor:$ed}).pipe(C(sQb))},bfd=function(a,b){b=(new Wed).setIssueIdsList(b);return a.executor.post({url:"action/tailwind/batch_get_run_statuses",body:b,responseConstructor:Xed}).pipe(C(vQb))};j5.\u0275fac=function(a){return new (a||j5)};j5.\u0275prov=Dg({token:j5,factory:j5.\u0275fac,providedIn:"root"});var cfd={INITIAL:0,GENERATING:1,LOADING:2,GENERATION_SUCCESS:3,ERROR:4,GENERATION_SUCCESS_INELIGIBLE:5,GENERATION_FAILED_INELIGIBLE:6,HIDDEN:7,0:"INITIAL",1:"GENERATING",2:"LOADING",3:"GENERATION_SUCCESS",4:"ERROR",5:"GENERATION_SUCCESS_INELIGIBLE",6:"GENERATION_FAILED_INELIGIBLE",7:"HIDDEN"},k5={},dfd=(k5[0]={message:"Use AI to fix this issue"},k5[1]={message:"Generating suggestion. It could take a while. Please check back later and refresh your page."},k5[2]={message:"Loading AI suggested fix status."},
k5[3]={message:"Fix ready for review."},k5[4]={message:"AI was unable to fix this issue. You can try again on another issue."},k5[5]={message:"A previously generated fix exists. This issue is not eligible for regenerating."},k5[6]={message:"A previously failed generation exists. This issue is not eligible for regenerating."},k5[7]={message:"Not eligible for AI fix."},k5),l5=function(){var a=this;this.activeSession=x(Ks);this.tailwindApi=x(j5);this.contextSensitiveRegistry=x(yF);this.ignoredIssuesCache=
new H2c(100);this.pollingObservable=null;this.issueId$=this.contextSensitiveRegistry.getIssueId().pipe(C(de),jj(),pj({bufferSize:1,refCount:!0}));this.runForCurrentIssue$=new $n(void 0);this.isEnabledForCurrentIssue$=this.issueId$.pipe(sj(function(c){return c&&Cx(a.activeSession,"enableTailwind")&&a.activeSession.isInternalSession()&&!a.ignoredIssuesCache.hasKey(c)?a.tailwindApi.getIssueEligibility(c).pipe(C(function(d){return d.eligibilityState==="ELIGIBLE_NOT_STARTED"||d.eligibilityState==="EXISTING"||
d.eligibilityState==="INELIGIBLE_EXISTING"}),cj(function(){return li(!1)})):li(!1)}),pj({bufferSize:1,refCount:!0}));var b=Gf("llm_suggested_bug_fix_ignored_issues")();K2c(this.ignoredIssuesCache,b!=null?b:void 0)},ffd=function(a,b){if(a.pollingObservable)return a.pollingObservable;a.pollingObservable=wi(function(){return afd(a.tailwindApi,b)}).pipe(uj(function(c){c.metadata!==void 0&&a.runForCurrentIssue$.next(c)}),C(function(c){if(c.metadata===void 0)throw Error("pf");return efd(c)?3:4}),zQb(),
cj(function(c){return c.message==="Not completed"?li(1):li(4)}),kj(function(){a.pollingObservable=null}));return a.pollingObservable},gfd=function(a,b){return a.tailwindApi.getIssueEligibility(b).pipe(sj(function(c){switch(c.eligibilityState){case "INELIGIBLE":return li(7);case "ELIGIBLE_NOT_STARTED":return li(0);case "EXISTING":case "INELIGIBLE_EXISTING":return afd(a.tailwindApi,c.runMetadata.runId).pipe(uj(function(d){d.metadata!==void 0&&a.runForCurrentIssue$.next(d)}),C(function(d){return d.metadata!==
void 0?efd(d)?c.eligibilityState==="EXISTING"?3:5:c.eligibilityState==="EXISTING"?4:6:1}),cj(function(){return li(4)}),rj(2));default:return li(0)}}),hj(2),cj(function(){return li(4)}))};l5.prototype.createRun=function(a){return this.tailwindApi.createRun(a)};l5.prototype.retryRun=function(a,b,c){return this.tailwindApi.retryRun({issueId:a,userInstructions:b,previousRunId:c})};var efd=function(a){var b;a=Number((b=a.results)==null?void 0:b.oclNumber);return!Number.isNaN(a)&&a>0};
l5.\u0275fac=function(a){return new (a||l5)};l5.\u0275prov=Dg({token:l5,factory:l5.\u0275fac,providedIn:"root"});var m5=function(){Z.apply(this,arguments);this.data=x(dI)};Y(m5,Z);m5.\u0275dir=Z.\u0275dir;m5.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(m5)))(b||m5)}}();
m5.\u0275cmp=F({type:m5,selectors:[["b-tailwind-info-dialog"]],standalone:!1,features:[xj],decls:14,vars:1,consts:[["matDialogTitle",""],["tabindex","0"],[1,"flex-kids-y","gap"],[1,"prompt-container","bg-off-main","carded"],[1,"prompt-header","heading-xs"],[1,"prompt-text","overflow","pre-line"],[1,"step-container","carded","flex-kids-y","gap"],["align","end"],["mat-button","","mat-dialog-close",""],[1,"step-number","muted"],[1,"step-header","heading-xs"],[1,"step-text","pre-line","break-word"],[1,
"step-text","bg-off-main","carded","overflow","codefont"],[1,"bold-text"],[1,"key-text"],[1,"value-text"],[1,"output-text","overflow","pre-line"]],template:function(a,b){a&1&&(L(0,"h2",0),U(1,"AI suggested fix steps"),M(),L(2,"mat-dialog-content",1)(3,"div",2)(4,"div",3)(5,"h3",4),U(6,"Prompt:"),M(),L(7,"p",5),U(8),M()(),Mj(9,IQb,5,3,"div",6,Lj),M()(),L(11,"mat-dialog-actions",7)(12,"button",8),U(13,"Close"),M()());a&2&&(E(8),V(" ",b.data.prompt," "),E(),Nj(b.data.steps))},dependencies:[dA,aA,fI,
hI,jI,iI,uy],styles:["p[_ngcontent-%COMP%]{font-weight:500}.bold-text[_ngcontent-%COMP%]{font-weight:700}.step-number[_ngcontent-%COMP%]{font-weight:700;font-size:.8em;text-transform:uppercase}.value-text[_ngcontent-%COMP%]{color:var(--green-text)}.key-text[_ngcontent-%COMP%]{color:var(--purple-text)}\n/*# sourceMappingURL=tailwind_info_dialog.css.map */"],changeDetection:0});var n5=function(){var a=this;this.formatter=x(KF);this.llmSuggestedBugFixService=x(l5);this.analytics=x(nE);this.domSafe=x(SF);this.dialog=x(eI);this.dialogConfig={minWidth:"300px",maxWidth:"75vw",maxHeight:"80vh"};this.runResults$=this.llmSuggestedBugFixService.runForCurrentIssue$.pipe(C(function(b){return b==null?void 0:b.results}));this.trajectory$=this.runResults$.pipe(C(function(b){return b==null?void 0:b.trajectory}));this.problemIdentification$=this.runResults$.pipe(sj(function(b){var c,d,
e,f;return v(function(h){return h.nextAddress==1?w(h,hfd(a,(f=(c=b)==null?void 0:(d=c.summary)==null?void 0:(e=d.problemIdentificationSection)==null?void 0:e.entries)!=null?f:[]),2):h.return(h.yieldResult)})}));this.solution$=this.runResults$.pipe(sj(function(b){var c,d,e,f;return v(function(h){return h.nextAddress==1?w(h,hfd(a,(f=(c=b)==null?void 0:(d=c.summary)==null?void 0:(e=d.solutionSection)==null?void 0:e.entries)!=null?f:[]),2):h.return(h.yieldResult)})}));this.codeChange$=this.runResults$.pipe(sj(function(b){var c,
d,e,f;return v(function(h){return h.nextAddress==1?w(h,hfd(a,(f=(c=b)==null?void 0:(d=c.summary)==null?void 0:(e=d.codeChangeSection)==null?void 0:e.entries)!=null?f:[]),2):h.return(h.yieldResult)})}));this.vm$=si({runResults:this.runResults$,problemIdentificationSummaries:this.problemIdentification$,solutionSummaries:this.solution$,codeChangeSummaries:this.codeChange$,trajectory:this.trajectory$})},hfd=function(a,b){var c,d;return v(function(e){if(e.nextAddress==1)return c=b.map(function(f){f=a.formatter.format({comment:f,
formattingMode:"MARKDOWN",audience:"INTERNAL",idPrefix:"bug2code"}).pipe(C(function(h){var k,q;return(q=h==null?void 0:(k=h.markdownFormat)==null?void 0:k.content)!=null?q:null}));return pi(f)}),w(e,Promise.all(c),2);d=e.yieldResult;return e.return(d.filter(fe))})};n5.prototype.handleViewInCritique=function(a){a&&(this.domSafe.openInNewTab("https://critique.corp.google.com/"+a),this.analytics.trackEvent("tailwind","viewInCritique",this.issueId))};
n5.prototype.openTailwindInfoDialog=function(a){this.analytics.trackEvent("tailwind","openTrajectoryDialog",this.issueId);this.dialog.open(m5,Object.assign({},{data:a},this.dialogConfig))};n5.\u0275fac=function(a){return new (a||n5)};
n5.\u0275cmp=F({type:n5,selectors:[["b-bug2code-sidebar"]],inputs:{issueId:"issueId"},standalone:!1,decls:3,vars:3,consts:[[1,"tailwind-run-summary","flex-kids-y","padded-x","padded-bottom"],[1,"flex-kids-x","align-items-center","gap-s"],["svgIcon","success",1,"ai-success","icon-s"],[1,"summary-group","flex-kids-y","gap-s"],[1,"summary-item","pos-rel",3,"innerHTML"],[1,"summary-item","pos-rel"],["target","_blank",3,"href"],[1,"grow-1"],[1,"summary-controls","flex-kids-x","justify-flex-end","gap-s"],
"mat-stroked-button;;color;primary;matTooltip;Show attempted steps taken by the AI. In a dialog.".split(";"),["mat-stroked-button","","color","primary","matTooltip","Show attempted steps taken by the AI. In a dialog.",3,"click"],["mat-stroked-button","","color","primary",3,"click"],["mat-flat-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(L(0,"div",0),I(1,TQb,4,4),W(2,"async"),M());if(a&2){var c;E();J((c=X(2,1,b.vm$))?1:-1,c)}},dependencies:[EA,dA,aA,WF,py],styles:[".tailwind-run-summary[_ngcontent-%COMP%]{min-height:calc(100% - 5rem)}.ai-success[_ngcontent-%COMP%]{color:var(--green-text)}.summary-group[_ngcontent-%COMP%]{border-left:1px solid var(--hairline);list-style-type:disc;margin-left:.5rem}.summary-group[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], .summary-group[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-left:-.5rem}.summary-controls[_ngcontent-%COMP%]{margin-top:2em}[_nghost-%COMP%]   .summary-group[_ngcontent-%COMP%]   .summary-item[_ngcontent-%COMP%]     code{color:#137333;color:var(--green-text)}\n/*# sourceMappingURL=bug2code_sidebar.css.map */"]});var ifd=["container"],o5=function(){this.appEvents=x(EB);this.analytics=x(nE);this.contextSensitiveRegistry=x(yF);this.containerScrolled=!1;this.issueId$=this.contextSensitiveRegistry.getIssueId()};o5.prototype.ngOnInit=function(){var a=this;return v(function(b){a.analytics.trackEvent("tailwind","open");ji(b)})};o5.prototype.closeSidebar=function(){var a=this;return v(function(b){a.appEvents.closeIssueDetailsPageSidebar.next();a.analytics.trackEvent("tailwind","close");ji(b)})};
o5.\u0275fac=function(a){return new (a||o5)};
o5.\u0275cmp=F({type:o5,selectors:[["tailwind-sidebar"]],viewQuery:function(a,b){a&1&&ek(ifd,5);if(a&2){var c;ik(c=jk())&&(b.container=c.first)}},standalone:!1,decls:14,vars:8,consts:[["container",""],[1,"container",3,"scroll"],[1,"flex-kids-x","space-between","tailwind-header","padded-s"],[1,"flex-kids-x","align-items-center"],["svgIcon","spark_24px",1,"ai-icon"],[1,"heading-m","margin-s-left"],[1,"flex-kids-x","gap-s"],["type","button","mat-icon-button","","aria-label","close sidebar","matTooltip",
"Close sidebar",1,"close-button",3,"click"],["svgIcon","close"],[3,"issueId"],[1,"no-issue-selected"]],template:function(a,b){if(a&1){var c=y();L(0,"div",1,0);Q("scroll",function(){z(c);b.containerScrolled=b.container.nativeElement.scrollTop===0?!1:!0;return B()});L(2,"header",2)(3,"div",3);N(4,"mat-icon",4);L(5,"span",5);U(6,"AI generated fix");M()();L(7,"div",6)(8,"button",7);Q("click",function(){z(c);return B(b.closeSidebar())});N(9,"mat-icon",8);M()()();I(10,UQb,1,1,"b-bug2code-sidebar",9);W(11,
"async");I(12,VQb,2,0,"div",10);W(13,"async");M()}if(a&2){var d;E(2);rk("elevated",b.containerScrolled);E(8);J((d=X(11,4,b.issueId$))?10:-1,d);E(2);J(X(13,6,b.issueId$)?-1:12)}},dependencies:[n5,EA,dA,bA,WF,py],styles:[".container[_ngcontent-%COMP%]{display:block;width:400px;height:100%;overflow-y:scroll}header[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--dialog-bg);position:-webkit-sticky;position:sticky;top:0;z-index:2}.tailwind-header[_ngcontent-%COMP%]   .ai-icon[_ngcontent-%COMP%]{color:#9334e6;color:var(--purple-text)}"]});var p5=function(){var a=this;this.trackerHelpers=x(sI);this.trackerFridge=x(vF);this.activeSession=x(Ks);this.issueTrackerId$=new $n(void 0);var b;this.currentTrackerId=(b=this.activeSession.getTracker())==null?void 0:b.trackerId;this.showTrackerBanner$=this.issueTrackerId$.pipe(C(function(c){return!a.currentTrackerId&&!!c}));this.tracker$=this.issueTrackerId$.pipe(sj(function(c){return c?a.trackerFridge.watch(c):li(void 0)}));this.trackerRedirectUrl$=this.tracker$.pipe(C(function(c){return sr(a.trackerHelpers,
String(a.issueId),c)}))};pg.Object.defineProperties(p5.prototype,{trackerId:{configurable:!0,enumerable:!0,set:function(a){this.issueTrackerId$.next(a||void 0)}}});p5.\u0275fac=function(a){return new (a||p5)};
p5.\u0275cmp=F({type:p5,selectors:[["b-tracker-banner"]],inputs:{issueId:"issueId",trackerId:"trackerId"},standalone:!1,decls:3,vars:5,consts:[[1,"tracker-banner"],["alt","",3,"src"],["mat-button","",1,"mat-stroked-button","gmat-mdc-button","small",3,"href"]],template:function(a,b){a&1&&(I(0,WQb,7,6,"div",0),W(1,"async"),W(2,"async"));if(a&2){var c;J((c=X(1,1,b.showTrackerBanner$)&&X(2,3,b.tracker$))?0:-1,c)}},dependencies:[dA,aA,py],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;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.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 q5=function(){var a=this;this.trackerHelpers=x(sI);this.trackerFridge=x(vF);this.activeSession=x(Ks);this.imageUrls=x(FO);this.activatedRoute=x(Zn);this.trackerId$=new $n(void 0);this.tracker$=this.trackerId$.pipe(sj(function(b){return b?a.trackerFridge.watch(b):li(void 0)}));this.trackerName$=this.tracker$.pipe(C(function(b){return b?b.name:a.activeSession.getAppName()}));this.currentTrackerLogo$=li(this.getLogoUrl(this.activeSession.getTracker()));this.trackerLogo$=this.tracker$.pipe(C(function(b){return a.getLogoUrl(b)}));
this.trackerRedirectUrl$=si([this.tracker$,this.activatedRoute.fragment]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c="";a.issue&&(c=String(a.issueId));a.component&&(c="components/"+a.componentId);d=d?"#"+encodeURIComponent(d):"";return b?sr(a.trackerHelpers,c,b)+d:HDc(a.trackerHelpers,c)+d}))};
q5.prototype.getLogoUrl=function(a){if(a){var b;if((b=a.branding)==null||!b.logoUrl)return"https://www.gstatic.com/buganizer/img/v3/logo_light.svg"}else return this.imageUrls.LOGO_LIGHT;var c,d;return(d=(c=a.branding)==null?void 0:c.logoUrl)!=null?d:""};q5.prototype.ngOnChanges=function(a){a.issue&&this.issue&&this.trackerId$.next(this.issue.trackerId);a.component&&this.component&&this.trackerId$.next(this.component.trackerId)};
pg.Object.defineProperties(q5.prototype,{showResourceContainer:{configurable:!0,enumerable:!0,get:function(){return this.issue!=null||this.component!=null}},issueId:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.issue)==null?void 0:a.issueId}},issueType:{configurable:!0,enumerable:!0,get:function(){var a,b=(a=this.issue)==null?void 0:a.snapshot[0],c;return Ld((c=b==null?void 0:b.type)!=null?c:"TYPE_UNSPECIFIED")}},issueStatus:{configurable:!0,enumerable:!0,get:function(){var a,
b=(a=this.issue)==null?void 0:a.snapshot[0],c,d;return(d=Nd.get((c=b==null?void 0:b.status)!=null?c:"STATUS_UNSPECIFIED"))!=null?d:""}},componentId:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.component)==null?void 0:a.componentId}}});q5.\u0275fac=function(a){return new (a||q5)};
q5.\u0275cmp=F({type:q5,selectors:[["b-tracker-redirect"]],inputs:{issue:"issue",component:"component"},standalone:!1,features:[$w],decls:1,vars:1,consts:[[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"],[1,"centered-inside"],["mat-flat-button","","color","primary","matTooltip","Go to the issue","aria-label","Go to the issue",3,"href"]],template:function(a,b){a&1&&I(0,
YQb,15,13,"div",0);a&2&&J(b.showResourceContainer?0:-1)},dependencies:[EA,dA,aA,YF,WF,py],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 r5=function(){this.dynamicScrollIntoView=x(eT);this.paths=x(TO);this.routeParams=x(NI);this.baseIssueReferenceResolver=x(I3);this.destroyed$=new nj(1);var a;this.issueId=(a=this.routeParams.issueId)!=null?a:""};
r5.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());a.issueId&&a.issueId!==this.issueId||!a.elementId?this.baseIssueReferenceResolver.visit(a):(CXc(this.dynamicScrollIntoView,{elementId:a.elementId,parentElement:document.body,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(tj(this.destroyed$)).subscribe(),history&&history.pushState(null,"",Jq(this.issueId)+"#"+a.elementId))};r5.prototype.ngOnDestroy=function(){this.destroyed$.next()};
r5.\u0275fac=function(a){return new (a||r5)};r5.\u0275prov=Dg({token:r5,factory:r5.\u0275fac});var s5=function(){Z.call(this);var a=this;this.el=x(Ph);this.router=x($B);this.router.events.pipe(Di(DGa),tj(this.destroyed$)).subscribe(function(){var b=["scrollY",a.rememberScroll,a.router.url.toString()].join("-"),c,d=(c=a.el.nativeElement)==null?void 0:c.scrollTop;d?window.sessionStorage.setItem(b,String(d)):window.sessionStorage.removeItem(b)});this.router.events.pipe(Di(CGa),tj(this.destroyed$)).subscribe(function(b){ZQb(a.el.nativeElement,["scrollY",a.rememberScroll,b.url].join("-"))})};
Y(s5,Z);s5.\u0275fac=function(a){return new (a||s5)};s5.\u0275dir=$i({type:s5,selectors:[["","rememberScroll",""]],inputs:{rememberScroll:"rememberScroll"},standalone:!1,features:[xj]});var t5=function(){};t5.\u0275fac=function(a){return new (a||t5)};t5.\u0275mod=Zi({type:t5});t5.\u0275inj=Eg({imports:[jC]});var cRb=function(a){return{monorailRedirectUrl:a}},ARb=function(){return{exact:!0}},u5=function(){Z.apply(this,arguments);var a=this;this.contextSensitiveRegistry=x(yF);this.issueFullFridge=x(pE);this.activeSession=x(Ks);this.permissions=x(BF);this.editIssueService=x(XI);this.counts=x(nX);this.appEvents=x(EB);this.issueInteractionsTracking=x(TI);this.checkBeforeExit=x(LR);this.butterBar=x(MA);this.routerEvents=x(mE);this.refreshMonitor=x(JD);this.eventsForIssueFridge=x(wD);this.currentUserBookmarksFridge=
x(JC);this.permissionsFridge=x(WE);this.issueRelationshipsFridge=x(CE);this.issueService=x(GD);this.errorHandler=x(PA);this.monorailIssueRedirectApi=x(V4);this.domSafe=x(SF);this.llmSuggestedBugFixService=x(l5);this.id$=this.contextSensitiveRegistry.getIssueId().pipe(Di(fe));this.issue$=this.id$.pipe(sj(function(b){return a.issueFullFridge.watch(b)}));this.readyForView$=Yma(this.issue$.pipe(C(function(b){return{success:!!b}})),this.issueFullFridge.error$.pipe(vj(this.id$),Di(function(b){var c=l(b);
b=c.next().value;c=c.next().value;return!(!c||c!==b.idOrKey)}),C(function(){return{success:!1}})));this.mainIssueLoadError$=this.issueFullFridge.error$.pipe(vj(this.id$),Di(function(b){var c=l(b);b=c.next().value;c=c.next().value;return!(!c||c!==b.idOrKey)}),sj(function(b){b=l(b);var c=b.next().value;b=b.next().value;switch(c.status){case 403:return li({status:c.status});case 404:return Hed(a.monorailIssueRedirectApi,b).pipe(C(function(d){return{status:c.status,monorailRedirectUrl:d==null?void 0:
d.toString()}}));default:return li({status:c.status})}}),pj({refCount:!0,bufferSize:1}));this.issueTrackerId$=this.issue$.pipe(C(function(b){return b==null?void 0:b.trackerId}));this.showTrackerRedirect$=this.issueTrackerId$.pipe(C(function(b){var c,d=(c=a.activeSession.getTracker())==null?void 0:c.trackerId;return!!d&&d!==b}));this.snapshot$=this.issue$.pipe(C(function(b){return b==null?void 0:b.snapshot[0]}));this.archived$=this.snapshot$.pipe(C(function(b){return b==null?void 0:b.isArchived}));
this.deleted$=this.snapshot$.pipe(C(function(b){return b==null?void 0:b.isDeleted}));this.undeleteButtonTooltip$=this.permissions.canUndeleteIssue$.pipe(C(function(b){return b?void 0:"Only issue admins can undelete issues"}));this.inArchivedComponent$=this.issue$.pipe(C(function(b){return(b==null?void 0:b.isArchived)&&!(b==null?0:b.snapshot[0].isArchived)}));this.status$=this.issue$.pipe(C(function(b){return(b==null?void 0:b.snapshot[0].status)||void 0}));this.prettyStatus$=this.status$.pipe(Di(fe),
C(function(b){var c;return(c=Nd.get(b))!=null?c:""}));this.isInactive$=this.status$.pipe(C(function(b){return b==="INACTIVE"}));this.title$=this.issue$.pipe(C(function(b){var c;return(c=b==null?void 0:b.snapshot[0].title)!=null?c:""}));this.issuesBeingBlocked$=this.issue$.pipe(C(function(b){var c;return(c=b==null?void 0:b.snapshot[0].blockingIssueId)!=null?c:[]}),ij(1E3),sj(function(b){return a.issueFullFridge.watchSet(b)}));this.issue$.pipe(C(function(b){var c;return(c=b==null?void 0:b.snapshot[0].duplicateIssueId)!=
null?c:[]}),ij(1E3),sj(function(b){return a.issueFullFridge.watchSet(b)}));this.issueMetadata$=wi(function(){return a.id$}).pipe(Di(fe),sj(function(b){return a.issueService.getMetadata(b)}),pj({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(Cx(this.activeSession,"enableCodeMentionsUi")?[{link:"./todos",title:"TODOs",count$:this.counts.countTodosDisplay$}]:[]),p(Cx(this.activeSession,"enableInsightsEnrichments")?[{link:"./insights",title:"Insights",count$:this.counts.countInsightsDisplay$}]:[]));this.isIssueDetailsPageSidebarOpen$=Ci(this.appEvents.openIssueDetailsPageSidebar.pipe(C(function(){return!0})),
this.appEvents.closeIssueDetailsPageSidebar.pipe(C(function(){return!1}))).pipe(rj(!1));this.issueDetailsOptions$=si({isTailwindEnabledForCurrentIssue:this.llmSuggestedBugFixService.isEnabledForCurrentIssue$,isIssueDetailsPageSidebarOpen:this.isIssueDetailsPageSidebarOpen$}).pipe(C(function(b){return{enableTailwindSidebar:b.isTailwindEnabledForCurrentIssue,isIssueDetailsPageSidebarOpen:b.isIssueDetailsPageSidebarOpen}}),pj({bufferSize:1,refCount:!0}))};Y(u5,Z);u5.\u0275dir=Z.\u0275dir;
u5.prototype.ngAfterViewInit=function(){var a=this;this.issueDetailsOptions$.pipe(tj(this.destroyed$)).subscribe(function(b){if(b.enableTailwindSidebar&&b.isIssueDetailsPageSidebarOpen){var c;(c=a.matSideNav)==null||c.open()}else{var d;(d=a.matSideNav)==null||d.close()}})};
u5.prototype.ngOnInit=function(){var a=this,b;return v(function(c){if(c.nextAddress==1)return w(c,pi(a.id$),2);b=c.yieldResult;a.appEvents.issueViewed.next(b);WEc(a.issueInteractionsTracking,b);a.subscriptions.add(a.mainIssueLoadError$.subscribe(function(d){return v(function(e){if(e.nextAddress==1)return d.status===403?e.return():d.monorailRedirectUrl?w(e,Fq(1E3),3):e.jumpTo(2);if(e.nextAddress!=2)return TF(a.domSafe,d.monorailRedirectUrl),e.return();a.errorHandler.errorHandler(null,d);ji(e)})}));
a.subscriptions.add(MR(a.checkBeforeExit,function(){return a.editIssueService.issueCommentDraft(b).comment().hasContent()},!1));a.subscriptions.add(a.routerEvents.routeChangeSuccess.subscribe(function(){a.butterBar.dismiss()}));a.subscriptions.add(a.issue$.pipe(Di(fe),hj(1)).subscribe(function(d){rE(a.issueFullFridge,[d.issueId],{userActivityType:"VIEW"})}));a.subscriptions.add(a.refreshMonitor.getObservable().subscribe(function(){a.issueInteractionsTracking.trackNavigation("refresh");a.permissionsFridge.poke(An(b));
a.issueRelationshipsFridge.poke(b);a.issueFullFridge.poke(b);a.eventsForIssueFridge.poke(b);a.currentUserBookmarksFridge.pokeAll();rE(a.issueFullFridge,[b],{userActivityType:"RELOAD"})}));a.destroyed$.subscribe(function(){var d=a.issueInteractionsTracking,e=d.getState(b);d.trackDestroy("edit-count",e.editCount);var f=Date.now()-e.startTime;XEc(d,f,"idp-time-on-page",e.variations);d.onUserActiveStatusUpdate(b,!1);d.issueToTrackingState.delete(b);d.stopActivityTracking$.next();a.editIssueService.clear(b)});
ji(c)})};u5.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(u5)))(b||u5)}}();
u5.\u0275cmp=F({type:u5,selectors:[["issue-details-wrapper"]],viewQuery:function(a,b){a&1&&ek(FX,5);if(a&2){var c;ik(c=jk())&&(b.matSideNav=c.first)}},standalone:!1,features:[Bk([jE,ZI,{provide:uH,useClass:r5}]),xj],decls:17,vars:7,consts:[["mainContent",""],["sidebarContent",""],["showIssueDetails",""],["showMonorailRedirect",""],["showNoAccessScreen",""],["tabPanel",""],["rla","routerLinkActive"],[1,"a11y-only"],["hasBackdrop","false","autosize","true"],[3,"ngTemplateOutlet"],["mode","side","position",
"end",3,"autoFocus","disableClose"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"flex-kids-y","pos-fill",3,"issue-editor-false"],[1,"bv2-limited-issue-view"],[1,"flex-kids-y","pos-fill"],[1,"border-bottom",3,"messageType","format","iconOverride"],["messageType","caution",1,"border-bottom",3,"format","iconOverride"],["messageType","error","format","app",1,"border-bottom"],["messageType","info",1,"border-bottom",3,"format"],[1,"issue-header"],[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"],["href","http://go/buganizer-issue-archive","target","_blank"],"type;button;mat-button;;aria-label;Unarchive issue".split(";"),["type","button","mat-button","","aria-label","Unarchive issue",3,"click"],["href","http://go/buganizer/guides/manage-component#archiving-a-component","target","_blank"],["href","http://go/issue-retention","target","_blank"],["type",
"button","mat-button","","aria-label","Undelete issue",3,"matTooltip","disabled"],["type","button","mat-button","","aria-label","Undelete issue",3,"click","matTooltip","disabled"],["href","http://go/buganizer/concepts/issues#major-updates","target","_blank"],["href","https://developers.google.com/issue-tracker/concepts/issues#major_edits","target","_blank"],["href","http://go/b-inactive-issues","target","_blank"],[3,"issueId","trackerId"],["mat-tab-nav-bar","","gmat-tabs","",3,"tabPanel"],["mat-tab-link",
"","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions"],[2,"margin-left","4px"],[3,"issue"],["target","_self",3,"href"],["data-test-id","internal-access-denied",3,"issueMetadata"],["data-test-id","public-access-denied"]],template:function(a,b){a&1&&(I(0,$Qb,2,1,"h2",7),W(1,"async"),L(2,"mat-sidenav-container",8)(3,"mat-sidenav-content"),Uj(4,9),M(),L(5,"mat-sidenav",10),Uj(6,9),M()(),G(7,hRb,2,3,"ng-template",null,0,Gk)(9,kRb,2,3,"ng-template",null,1,Gk)(11,GRb,3,3,"ng-template",
null,2,Gk)(13,HRb,4,2,"ng-template",null,3,Gk)(15,KRb,3,1,"ng-template",null,4,Gk));if(a&2){var c;a=T(8);var d=T(10);J((c=X(1,5,b.id$))?0:-1,c);E(4);K("ngTemplateOutlet",a);E();K("autoFocus",!0)("disableClose",!0);E();K("ngTemplateOutlet",d)}},dependencies:[U1,oy,MB,bC,cC,sM,tM,mz,o5,f5,U0,dA,aA,FX,GX,EX,pM,lM,eLc,mM,YF,WF,s5,p5,q5,py],styles:["[mat-tab-nav-bar][_ngcontent-%COMP%]{padding-left:8px;border-bottom:1px solid var(--divider)}[_nghost-%COMP%]   mat-sidenav-container[_ngcontent-%COMP%]{height:100%;--mat-sidenav-content-background-color: transparent;--mat-sidenav-container-divider-color: var(--divider)}"]});var v5=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=x(pE);this.butterBar=x(MA);this.duplicateIssueIds$=new $n([]);this.tableColumns=[{type:"TITLE"},{type:"TEAM"},{type:"ISSUE_ID"},{type:"CREATED_TIME"},{type:"REPORTER"}];this.initialSort={column:"CREATED_TIME",direction:"DESCENDING"};this.getMenuItems=function(b){return[{type:"action",label:"Remove duplicate",action:function(){a.removeDuplicate(b)},title:"Remove duplicate",icon:"clear"}]}};Y(v5,Z);v5.\u0275dir=Z.\u0275dir;
v5.prototype.ngOnInit=function(){};v5.prototype.removeDuplicate=function(a){var b=this,c;return v(function(d){if(d.nextAddress==1)return ei(d,2),w(d,b.issueFullFridge.removeDuplicate(b.issueId,a),4);if(d.nextAddress!=2)return Iu(d,0);c=ii(d);b.butterBar.showWarning("Could not remove duplicate "+a+". "+c);ji(d)})};pg.Object.defineProperties(v5.prototype,{duplicateIds:{configurable:!0,enumerable:!0,set:function(a){this.duplicateIssueIds$.next((a!=null?a:[]).map(function(b){return String(b)}))}}});
v5.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(v5)))(b||v5)}}();v5.\u0275cmp=F({type:v5,selectors:[["b-duplicates-table"]],inputs:{duplicateIds:"duplicateIds",issueId:"issueId"},standalone:!1,features:[xj],decls:2,vars:3,consts:[[3,"issueIds","menuItemFactory","tableColumns","initialSort"]],template:function(a,b){a&1&&(I(0,LRb,1,4,"b-issues-table",0),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.duplicateIssueIds$))?0:-1,c)}},dependencies:[AT,py],encapsulation:2,changeDetection:0});var w5=function(){Z.apply(this,arguments);var a=this;this.paramsService=x(wF);this.issueFullFridge=x(pE);this.issuePicker=x(ZQ);this.snackBar=x(JA);this.counts=x(nX);this.imageUrls=x(FO);this.ROBOT_SLEEPING=this.imageUrls.ROBOT_SLEEPING;this.id$=this.paramsService.issueId$;this.dupeUrl$=this.id$.pipe(C(function(b){return{path:"/issues",params:{q:"canonicalid:"+b}}}));this.issue$=this.id$.pipe(Di(fe),sj(function(b){return a.issueFullFridge.watch(b)}));this.duplicateIds$=this.issue$.pipe(C(function(b){var c;
return(c=b==null?void 0:b.snapshot[0].duplicateIssueId)!=null?c:[]}));this.duplicatesCount$=this.duplicateIds$.pipe(sj(function(b){return b.length===0?li(0):a.counts.duplicatesDualCount$.pipe(C(function(c){return c.total.count}))}));this.showTable$=this.duplicatesCount$.pipe(C(function(b){return b>0}),rj(!0));this.didChooseDupes=function(b){var c,d;return v(function(e){if(e.nextAddress==1)return w(e,pi(a.id$),2);c=e.yieldResult;if(c==null)return e.return();d=b[0];return w(e,Owc(a.issueFullFridge,
c,d).catch(a.gotErr),0)})};this.gotErr=function(b){a.snackBar.open(on(b)||"Error with network request","close",{panelClass:"error"})}};Y(w5,Z);w5.\u0275dir=Z.\u0275dir;w5.prototype.isThinking=function(){return this.issueFullFridge.isThinking()};var MRb=function(a){a.issuePicker.open({title:"Add Duplicate",allowMultipleIds:!1,edgeType:"duplicate"},a.didChooseDupes)};w5.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(w5)))(b||w5)}}();
w5.\u0275cmp=F({type:w5,selectors:[["b-issue-duplicates"]],standalone:!1,features:[xj],decls:4,vars:4,consts:[[1,"carded","bg-main"],[1,"pos-tr","padded"],[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"],["type","button","mat-flat-button","","color","primary","matTooltip","Add a duplicate to the current issue",1,"small",3,"click"],[1,"section-heading",
"muted"],["type","button","mat-flat-button","","color","primary","matTooltip","Add a duplicate to the current issue",1,"small","add",3,"click"],[3,"issueId","duplicateIds"],[1,"margin-s-top","flex-kids-x","gap-s"],["mat-button","","color","primary",1,"small",3,"routerLink","queryParams"]],template:function(a,b){a&1&&(L(0,"section",0),I(1,RRb,3,3),W(2,"async"),M(),I(3,SRb,2,0,"aside",1));if(a&2){var c;E();J((c=X(2,2,b.duplicateIds$))?1:-1,c);E(2);J(b.isThinking()?3:-1)}},dependencies:[bC,dA,aA,YF,
WF,lL,v5,py],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 x5=function(){};x5.\u0275fac=function(a){return new (a||x5)};x5.\u0275mod=Zi({type:x5});x5.\u0275inj=Eg({imports:[jC,CA,QJ,FG,GG,FI,qM,JL,uL,yQ,QL,oL,cW]});var y5=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=x(pE);this.issueTypeToDisplay=Ld;this.STATUS_JS_FULL_TEXT=Nd;this.STATUS_JS_TERSE=$ic;this.DUPLICATE="DUPLICATE";this.id$=new nj(1);this.issue$=this.id$.pipe(sj(function(b){return a.issueFullFridge.watch(b)}));this.priority$=this.issue$.pipe(C(function(b){return(b==null?void 0:b.snapshot[0].priority)||void 0}));this.type$=this.issue$.pipe(C(function(b){var c;return(c=b==null?void 0:b.snapshot[0].type)!=null?c:void 0}));this.canonicalId$=
this.issue$.pipe(C(function(b){return b==null?void 0:b.snapshot[0].duplicateOfIssueId}));this.status$=this.issue$.pipe(C(function(b){return(b==null?void 0:b.snapshot[0].status)||void 0}));this.statusForChip$=this.status$.pipe(C(function(b){return bjc[b]?b:void 0}));this.statusCssClass$=this.status$.pipe(C(function(b){return a.computeStatusCssClass(b)}))};Y(y5,Z);y5.\u0275dir=Z.\u0275dir;y5.prototype.computeStatusCssClass=function(a){return a?"status-"+a:""};
pg.Object.defineProperties(y5.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});y5.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(y5)))(b||y5)}}();
y5.\u0275cmp=F({type:y5,selectors:[["issue-description-area"]],inputs:{id:"id"},standalone:!1,features:[xj],decls:13,vars:12,consts:[["canonicalHovercard","onedevHovercard"],["canonicalCardBody",""],[1,"flex-kids-x","gap-s"],[1,"chip-container","shrink-0","border-right","padded-s-right"],[3,"class"],[3,"issuePriority"],[3,"issueId"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"title"],[1,"type-s","nowrap"],[3,"routerLink","onedevHovercardTrigger"],[3,"onedevIsHovercardReady",
"issueId"]],template:function(a,b){a&1&&(L(0,"div",2)(1,"div",3),I(2,URb,6,10,"div"),W(3,"async"),I(4,VRb,2,4,"span",4),W(5,"async"),N(6,"b-issue-priority-display",5),W(7,"async"),M(),I(8,WRb,1,1,"b-issue-hotlists",6),W(9,"async"),M(),L(10,"onedev-hovercard",null,0),G(12,XRb,3,4,"b-issue-card",7),M());if(a&2){var c,d,e;E(2);J((c=X(3,4,b.statusForChip$))?2:-1,c);E(2);J((d=X(5,6,b.type$))?4:-1,d);E(2);K("issuePriority",X(7,8,b.priority$));E(2);J((e=X(9,10,b.id$))?8:-1,e)}},dependencies:[bC,xH,yH,DH,
zH,GP,rT,lP,py],styles:["[_nghost-%COMP%]{display:block}.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}[_nghost-%COMP%]     .chip-container .b-chip, [_nghost-%COMP%]     .chip-container b-hotlist-chip, [_nghost-%COMP%]     .chip-container b-hotlist-recommendation-chip{margin-right:0}[_nghost-%COMP%]     .chip-container .b-chip, [_nghost-%COMP%]     .chip-container .chip, [_nghost-%COMP%]     .chip-container b-component-access-level-indicator .label{line-height:22px;height:22px}[_nghost-%COMP%]     .chip-container b-component-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 z5=function(){this.message=x(FA);this.snackbarRef=x(GA);this.DEFAULT_MESSAGE="New data is available. Click to refresh."};z5.prototype.onDismiss=function(a){this.snackbarRef.dismiss();a.stopPropagation()};z5.\u0275fac=function(a){return new (a||z5)};
z5.\u0275cmp=F({type:z5,selectors:[["refresh-data-notification"]],standalone:!1,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"],["type","button","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&&(L(0,"div",0),Q("click",
function(){return b.snackbarRef.dismissWithAction()}),N(1,"mat-icon",1),L(2,"p",2),U(3),M()(),L(4,"button",3),Q("click",function(c){return b.onDismiss(c)}),N(5,"mat-icon",4),M());a&2&&(E(3),V(" ",b.message||b.DEFAULT_MESSAGE," "))},dependencies:[EA,dA,bA],styles:[".mat-mdc-snack-bar-container.refresh-data-notification{padding:0;min-height:auto;border-radius:8px;background-color:rgba(0,0,0,0);width:480px}.mat-mdc-snack-bar-container.refresh-data-notification .mdc-snackbar__surface{border-radius:8px;padding-right:0}.mat-mdc-snack-bar-container.refresh-data-notification .mat-mdc-snack-bar-label{padding:0}.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 A5=function(){this.snackbar=x(JA)},jfd=function(a){var b=nq.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.openFromComponent(z5,c);return a.currentSnackBar};A5.\u0275fac=function(a){return new (a||A5)};A5.\u0275prov=Dg({token:A5,factory:A5.\u0275fac,providedIn:"root"});var B5=function(){Z.apply(this,arguments);var a=this;this.eventsForIssue=x(wD);this.issueFullFridge=x(pE);this.preferences=x(NF);this.activeSession=x(Ks);this.commentHistoryDialogService=x(mS);this.issueDetailsBrain=x(zF);this.errorHandler=x(PA);this.refreshDataNotification=x(A5);this.eventsForIssueWatcher=x(DR);this.analytics=x(nE);this.appEvents=x(EB);this.id$=new nj(1);this.events$=this.id$.pipe(sj(function(b){return a.eventsForIssue.watch(b)}),C(function(b){var c;return(c=b==null?void 0:b.events)!=
null?c:[]}));this.issue$=this.id$.pipe(sj(function(b){return a.issueFullFridge.watch(b)}));this.accessLevel$=this.issue$.pipe(C(function(b){var c;return b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel}));this.shouldShowSummaryInInsights=Cx(this.activeSession,"enableInsightsEnrichments")&&Cx(this.activeSession,"enableFirstPartyInsightEnrichments");this.enableLlmSummarization=Cx(this.activeSession,"enableIssueSummarizationNoButton")&&this.activeSession.isInternalSession()&&!this.shouldShowSummaryInInsights;
this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(C(Boolean),rj(!0))};Y(B5,Z);B5.\u0275dir=Z.\u0275dir;
B5.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.issueDetailsBrain.urlComment$.subscribe(function(b){var c=b.commentNumber;b=b.commentVersion;if(c&&b!==void 0&&b>-1){var d=up(a.id$);a.commentHistoryDialogService.show(d,c,b!=null?b:-1)}}));this.subscriptions.add(this.eventsForIssue.error$.subscribe(function(b){a.errorHandler.errorHandler(null,b)}));this.subscriptions.add(nUc(this.eventsForIssueWatcher,up(this.id$)).subscribe(function(){kfd(a)}));this.subscriptions.add(this.events$.subscribe(function(){var b;
(b=a.refreshDataNotification.currentSnackBar)==null||b.dismiss()}));this.destroyed$.pipe(hj(1)).subscribe(function(){var b;(b=a.refreshDataNotification.currentSnackBar)==null||b.dismiss()})};
var kfd=function(a){a.analytics.trackEvent("pushUpdate","display","comment");jfd(a.refreshDataNotification).afterDismissed().subscribe(function(b){b.dismissedByAction?(a.analytics.trackEvent("pushUpdate","fetchResource","comment"),a.issueFullFridge.poke(up(a.id$)),a.eventsForIssue.poke(up(a.id$)),a.appEvents.scrollToCommentBox.next()):a.analytics.trackEvent("pushUpdate","dismiss","comment")})};pg.Object.defineProperties(B5.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});
B5.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(B5)))(b||B5)}}();
B5.\u0275cmp=F({type:B5,selectors:[["issue-event-list"]],inputs:{id:"id"},standalone:!1,features:[xj],decls:7,vars:16,consts:[[1,"margin-top"],[3,"issueId","events","issueAccessLevel","showFullHistory"]],template:function(a,b){a&1&&(I(0,YRb,2,0,"div",0),N(1,"b-event-stream",1),W(2,"async"),W(3,"async"),W(4,"async"),W(5,"async"),W(6,"async"));a&2&&(J(b.enableLlmSummarization?0:-1),E(),K("issueId",X(2,6,b.id$))("events",X(3,8,b.events$))("issueAccessLevel",X(4,10,b.accessLevel$))("showFullHistory",
X(5,12,b.preferences.showFullHistory$)),Hj("data-will-inline-screenshots",X(6,14,b.enableInlineScreenshots$)?!0:null))},dependencies:[fT,TV,py],styles:["[_nghost-%COMP%]     .bv2-edit-issue-history-stream {\n      padding-left: 0;\n    }"]});var $Rb=function(a){return{data:a}},lfd=function(){this.dialogRef=x(YH);this.data=x(dI);this.userInstructions=""};lfd.\u0275fac=function(a){return new (a||lfd)};
lfd.\u0275cmp=F({type:lfd,selectors:[["b-retry-run-dialog"]],standalone:!1,decls:24,vars:5,consts:[["tailwindInfo",""],[1,"dialog"],["mat-dialog-title",""],["tabindex","0"],[1,"flex-kids-y","gap"],["appearance","outline",1,"retry-instructions","w-100"],["matInput","","cdkTextareaAutosize","","cdkAutosizeMaxRows","10","placeholder","e.g. a different root cause, a specific code path, or a similar fixed bug.",3,"ngModelChange","ngModel"],[1,"mat-elevation-z0","bg-secondary","bordered"],["align","end"],
["type","button","mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["type","button","mat-flat-button","","color","primary",1,"medium",3,"mat-dialog-close","disabled"],["matExpansionPanelContent",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"flex-kids-y","gap","tailwind-info"],[1,"prompt-container","bg-off-main","carded"],[1,"prompt-header","heading-xs"],[1,"prompt-text","overflow","pre-line"],[1,"step-container","carded","flex-kids-y","gap"],[1,"step-number","muted"],[1,"step-header",
"heading-xs"],[1,"step-text","pre-line","break-word"],[1,"step-text","bg-off-main","carded","overflow","codefont"],[1,"bold-text"],[1,"key-text"],[1,"value-text"],[1,"output-text","overflow","pre-line"]],template:function(a,b){if(a&1){var c=y();L(0,"article",1)(1,"h2",2);U(2," Retry AI fix ");M();L(3,"mat-dialog-content",3)(4,"div",4)(5,"p");U(6," Please review the details and summary of the last run. If available, use the ");L(7,"b");U(8,"View Steps Taken");M();U(9," button for more context before providing additional instructions. ");
M();L(10,"p");U(11," For example, your instructions could address a different root cause, a specific code path, or a past, similar bug, with linked CLs. ");M();L(12,"mat-form-field",5)(13,"mat-label");U(14,"Provide instructions (Optional)");M();L(15,"textarea",6);xk("ngModelChange",function(d){z(c);wk(b.userInstructions,d)||(b.userInstructions=d);return B(d)});M()();I(16,aSb,5,4,"mat-expansion-panel",7);M()();L(17,"mat-dialog-actions",8)(18,"button",9);U(19," Cancel ");M();L(20,"button",10);U(21,
" Retry ");M()()();G(22,kSb,8,1,"ng-template",11,0,Gk)}a&2&&(E(15),vk("ngModel",b.userInstructions),E(),J(b.data.trajectory?16:-1),E(2),K("mat-dialog-close",void 0),E(2),K("mat-dialog-close",b.userInstructions)("disabled",!b.userInstructions))},dependencies:[oy,Bp,hG,oG,dA,aA,fI,hI,jI,iI,TL,eH,YG,oO,mH,kH,oW,pW,qW,nW,uy],styles:[".dialog[_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:24px;gap:4px;-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.dialog[_ngcontent-%COMP%]   .heading-m[_ngcontent-%COMP%]{line-height:26px}.dialog[_ngcontent-%COMP%]   .icon-m[_ngcontent-%COMP%]{display:inline-block;vertical-align:top}.dialog[_ngcontent-%COMP%]   .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;gap:8px}.dialog[_ngcontent-%COMP%]   .retry-instructions[_ngcontent-%COMP%]{width:100%}.dialog[_ngcontent-%COMP%]   .retry-instructions[_ngcontent-%COMP%]   textarea[matInput][_ngcontent-%COMP%]{overflow-y:hidden;resize:none}.dialog[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{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;gap:12px}.dialog[_ngcontent-%COMP%]   h2[mat-dialog-title][_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;font-weight:400;font-size:1.5rem}.dialog[_ngcontent-%COMP%]   mat-expansion-panel[_ngcontent-%COMP%]{background-color:inherit;border:none;color:var(--mat-dialog-supporting-text-color);margin-top:-1rem}.dialog[_ngcontent-%COMP%]   mat-expansion-panel[_ngcontent-%COMP%]   mat-expansion-panel-header[_ngcontent-%COMP%]{padding-left:.5rem}.dialog[_ngcontent-%COMP%]   mat-expansion-panel[_ngcontent-%COMP%]   mat-panel-title[_ngcontent-%COMP%]{color:inherit}.dialog[_ngcontent-%COMP%]   mat-expansion-panel[_ngcontent-%COMP%]   .tailwind-info[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:500}.dialog[_ngcontent-%COMP%]   mat-expansion-panel[_ngcontent-%COMP%]   .tailwind-info[_ngcontent-%COMP%]   .bold-text[_ngcontent-%COMP%]{font-weight:700}.dialog[_ngcontent-%COMP%]   mat-expansion-panel[_ngcontent-%COMP%]   .tailwind-info[_ngcontent-%COMP%]   .step-number[_ngcontent-%COMP%]{font-weight:700;font-size:.8em;text-transform:uppercase}.dialog[_ngcontent-%COMP%]   mat-expansion-panel[_ngcontent-%COMP%]   .tailwind-info[_ngcontent-%COMP%]   .value-text[_ngcontent-%COMP%]{color:var(--green-text)}.dialog[_ngcontent-%COMP%]   mat-expansion-panel[_ngcontent-%COMP%]   .tailwind-info[_ngcontent-%COMP%]   .key-text[_ngcontent-%COMP%]{color:var(--purple-text)}\n/*# sourceMappingURL=retry_run_dialog.css.map */"],
changeDetection:0});var C5=function(){},mfd=function(a){var b=If("buganizer-homepage-tailwind-runs")();b||(b=[]);b.includes(a)||b.push(a);Jf("buganizer-homepage-tailwind-runs")(b)},nfd=function(){var a=If("buganizer-homepage-tailwind-runs")()||[];return Array.isArray(a)?[].concat(p(a)):[]},ESb=function(a){var b=nfd();b.includes(a)&&(b.splice(b.indexOf(a),1),Jf("buganizer-homepage-tailwind-runs")(b))};C5.\u0275fac=function(a){return new (a||C5)};C5.\u0275prov=Dg({token:C5,factory:C5.\u0275fac,providedIn:"root"});var Cs=function(a){return{status:a}},D5=function(){this.destroyRef=x(Cj);this.errorHandler=x(PA);this.llmSuggestedBugFixService=x(l5);this.refreshMonitor=x(JD);this.activeSession=x(Ks);this.analytics=x(nE);this.appEvents=x(EB);this.domSafe=x(SF);x(C5);this.tasksService=x(TE);this.dialog=x(eI);this.dialogConfig={minWidth:"300px",maxWidth:"75vw",maxHeight:"80vh"};this.issueId="";this.status$=new $n(7);this.ignored$=new $n(!1);this.showLlmSuggestion$=si({isEnabled:this.llmSuggestedBugFixService.isEnabledForCurrentIssue$,
ignored:this.ignored$}).pipe(C(function(a){var b=a.isEnabled;a=a.ignored;return b&&!a}));this.statusMessage$=this.status$.pipe(C(function(a){return dfd[a].message}));this.isInternalSession=this.activeSession.isInternalSession();this.LlmSuggestionStatus=cfd;this.enableTailwindMissionControl=Cx(this.activeSession,"enableTailwindMissionControl")};
D5.prototype.ngOnInit=function(){var a=this;this.refreshMonitor.getObservable().pipe(rj(null)).pipe(sj(function(){return gfd(a.llmSuggestedBugFixService,a.issueId)}),vp(this.destroyRef)).subscribe(function(b){a.status$.next(b)});this.showLlmSuggestion$.pipe(Di(Boolean),hj(1),vp(this.destroyRef)).subscribe(function(){a.analytics.trackEvent("tailwind","view",a.issueId)})};
var ASb=function(a){a.analytics.trackEvent("tailwind","generate",a.issueId);a.status$.next(1);a.enableTailwindMissionControl&&(mfd(a.issueId),ofd(a,a.issueId));a.llmSuggestedBugFixService.createRun(a.issueId).pipe(vp(a.destroyRef),sj(function(b){return b.runId?ffd(a.llmSuggestedBugFixService,b.runId):(a.status$.next(4),li(4))})).subscribe(function(b){a.status$.next(b)})};
D5.prototype.handleViewInCritique=function(){var a,b,c,d=(c=(a=this.llmSuggestedBugFixService.runForCurrentIssue$.value)==null?void 0:(b=a.results)==null?void 0:b.oclNumber)!=null?c:"";d&&(this.domSafe.openInNewTab("https://critique.corp.google.com/"+d),this.analytics.trackEvent("tailwind","viewInCritique",this.issueId),ESb(this.issueId))};D5.prototype.openSidebar=function(){this.appEvents.openIssueDetailsPageSidebar.next()};
D5.prototype.ignore=function(){var a=this.llmSuggestedBugFixService,b=this.issueId;isNaN(Number(b))||(I2c(a.ignoredIssuesCache,b),sjc("llm_suggested_bug_fix_ignored_issues")(J2c(a.ignoredIssuesCache)));this.ignored$.next(!0)};
D5.prototype.openTailwindInfoDialog=function(){this.analytics.trackEvent("tailwind","openTrajectoryDialog",this.issueId);var a,b;this.dialog.open(m5,Object.assign({},{data:(a=this.llmSuggestedBugFixService.runForCurrentIssue$.value)==null?void 0:(b=a.results)==null?void 0:b.trajectory},this.dialogConfig));ESb(this.issueId)};
var ISb=function(a){var b,c;a=(b=a.llmSuggestedBugFixService.runForCurrentIssue$.value)==null?void 0:(c=b.results)==null?void 0:c.trajectory;return a!==void 0&&a.prompt!==""&&a.steps.length>0},KSb=function(a){var b,c=(b=a.llmSuggestedBugFixService.runForCurrentIssue$.value)==null?void 0:b.metadata,d,e;ZH(a.dialog.open(lfd,Object.assign({},{data:ISb(a)?{trajectory:(d=a.llmSuggestedBugFixService.runForCurrentIssue$.value)==null?void 0:(e=d.results)==null?void 0:e.trajectory}:{}},a.dialogConfig))).subscribe(function(f){if(f!==
void 0){a.status$.next(1);var h;a.llmSuggestedBugFixService.retryRun(a.issueId,f,(h=c==null?void 0:c.runId)!=null?h:"").pipe(vp(a.destroyRef),sj(function(k){return k.runId?ffd(a.llmSuggestedBugFixService,k.runId):(a.status$.next(4),li(4))})).subscribe(function(k){a.status$.next(k)})}})},ofd=function(a,b){b="b/"+b;var c=new Uf;c.setSeconds(c.getSeconds()+6);eyc(a.tasksService,[b],{seconds:c.getTime()/1E3,nanos:0}).pipe(vp(a.destroyRef),ij(3E3)).subscribe(function(){},function(d){return void a.errorHandler.errorHandler(null,
d)})};D5.prototype.ignore=D5.prototype.ignore;D5.\u0275fac=function(a){return new (a||D5)};
D5.\u0275cmp=F({type:D5,selectors:[["llm-suggested-bug-fix"]],inputs:{issueId:"issueId"},standalone:!1,decls:14,vars:6,consts:[["initialButtons",""],["generatingButtons",""],["suggestionAvailableButtons",""],["errorButtons",""],["retryButton",""],["aiHelp",""],[1,"carded","margin-s-sides","margin-s-bottom","bg-main","flex-kids-x","align-items-center","ai-highlighted"],[1,"ai-icon-wrapper","pos-rel"],["svgIcon","spark_24px","color","primary",1,"margin-xs-right","shrink-0","ai-icon"],[1,"ai-loader"],
[1,"uppercase","badged","early-access"],[3,"panelTemplate"],["aria-label","AI help information"],["svgIcon","help-outline",1,"icon-s"],["target","_blank","href","http://go/passerine-feedback","matTooltip","Provide feedback for this feature.","aria-label","Provide feedback for this feature",1,"feedback-icon","feedback-button"],["svgIcon","feedback-outline",1,"icon-s"],[1,"flex-kids-x","grow-1","justify-flex-end"],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["type","button",
"color","primary","mat-flat-button","","matTooltip","Generate a LLM-suggested CL for this bug.",1,"small","margin-s-left",3,"click"],["type","button","color","secondary","mat-stroked-button","","matTooltip","Ignore the LLM-suggested fix feature for this bug.",1,"small","margin-s-left",3,"click"],["type","button","color","secondary","mat-stroked-button","","matTooltip","View the summary of the LLM-suggested fix in the side panel.",1,"small","margin-s-left",3,"click"],["type","button","color","primary",
"mat-flat-button","","matTooltip","View the LLM-suggested CL for this bug in Critique.",1,"small","margin-s-left",3,"click"],["type","button","color","primary","mat-button","","matTooltip","Show attempted steps taken by the AI. In a dialog.",1,"small","margin-s-left"],["type","button","color","primary","mat-button","","matTooltip","Show attempted steps taken by the AI. In a dialog.",1,"small","margin-s-left",3,"click"],["type","button","color","primary","mat-flat-button","","matTooltip","Retry generating the LLM-suggested CL for this bug.",
1,"small","margin-s-left"],["type","button","color","primary","mat-flat-button","","matTooltip","Retry generating the LLM-suggested CL for this bug.",1,"small","margin-s-left",3,"click"]],template:function(a,b){a&1&&(Wj(0),W(1,"async"),I(2,zSb,21,6,"div",6),W(3,"async"),G(4,BSb,4,0,"ng-template",null,0,Gk)(6,CSb,0,0,"ng-template",null,1,Gk)(8,FSb,5,4,"ng-template",null,2,Gk)(10,JSb,2,5,"ng-template",null,3,Gk)(12,MSb,1,1,"ng-template",null,4,Gk));a&2&&(a=Xj(X(1,1,b.status$)),E(2),J(b.isInternalSession&&
X(3,4,b.showLlmSuggestion$)&&a!==b.LlmSuggestionStatus.HIDDEN?2:-1))},dependencies:[oy,EA,dA,aA,WF,yO,mO,py],styles:['.bg-main[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}.ai-highlighted[_ngcontent-%COMP%]{background:var(--purple-bg);position:relative}.ai-highlighted[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;border-radius:4px 0 0 4px;background:-webkit-linear-gradient(315deg,var(--insights-purple) 0,var(--insights-pink) 100%);background:linear-gradient(135deg,var(--insights-purple) 0,var(--insights-pink) 100%)}.ai-highlighted[_ngcontent-%COMP%]   .ai-icon[_ngcontent-%COMP%]{color:var(--purple-text)}.ai-highlighted[_ngcontent-%COMP%]   .ai-icon-wrapper[_ngcontent-%COMP%]{margin-right:.5em}.ai-highlighted[_ngcontent-%COMP%]   .ai-loader[_ngcontent-%COMP%]{position:absolute;top:-.1em;left:-.1em;width:2.1em;height:2.1em;border-radius:50%;-webkit-animation:_ngcontent-%COMP%_rotate 1s linear infinite;animation:_ngcontent-%COMP%_rotate 1s linear infinite}.ai-highlighted[_ngcontent-%COMP%]   .ai-loader[_ngcontent-%COMP%]:before{content:"";-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;inset:0;border-radius:50%;border:2px solid var(--purple-text);-webkit-animation:_ngcontent-%COMP%_clipSpinner 2s linear infinite alternate;animation:_ngcontent-%COMP%_clipSpinner 2s linear infinite alternate}@-webkit-keyframes _ngcontent-%COMP%_rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes _ngcontent-%COMP%_rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes _ngcontent-%COMP%_clipSpinner{0%{-webkit-clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0);clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}25%{-webkit-clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0);clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}50%{-webkit-clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%);clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}75%{-webkit-clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%);clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}to{-webkit-clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0);clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}}@keyframes _ngcontent-%COMP%_clipSpinner{0%{-webkit-clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0);clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}25%{-webkit-clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0);clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}50%{-webkit-clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%);clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}75%{-webkit-clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%);clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}to{-webkit-clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0);clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}}.ai-highlighted[_ngcontent-%COMP%]   button[mat-stroked-button][_ngcontent-%COMP%]{background:var(--background)}.generate[_ngcontent-%COMP%]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.generate[_ngcontent-%COMP%]:hover{color:var(--blue-800);background:-webkit-linear-gradient(315deg,#d3e3fd,#d0f8ff,#a8c7fa,#99f0ff,#d3e3fd,#d3e3fd,#d0f8ff,#a8c7fa,#99f0ff,#d3e3fd) 50%/1500% 1500%;background:linear-gradient(135deg,#d3e3fd,#d0f8ff,#a8c7fa,#99f0ff,#d3e3fd,#d3e3fd,#d0f8ff,#a8c7fa,#99f0ff,#d3e3fd) 50%/1500% 1500%;-webkit-animation:_ngcontent-%COMP%_shimmer 2.1s linear infinite;animation:_ngcontent-%COMP%_shimmer 2.1s linear infinite}@-webkit-keyframes _ngcontent-%COMP%_shimmer{0%{background-position:100% 100%}to{background-position:top 37.5% left 37.5%}}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:100% 100%}to{background-position:top 37.5% left 37.5%}}mat-icon[_ngcontent-%COMP%]{vertical-align:bottom}[_nghost-%COMP%]     .llm-dialog{padding:10px}[_nghost-%COMP%]     .feedback-button{padding-left:8px;text-align:center;text-decoration:none}[_nghost-%COMP%]     .feedback-icon{color:var(--mat-icon-color)}  .tailwind-info-dialog p{font-weight:500}  .tailwind-info-dialog .bold-text{font-weight:700}  .tailwind-info-dialog .step-number{font-weight:700;font-size:.8em;text-transform:uppercase}  .tailwind-info-dialog .value-text{color:var(--green-text)}  .tailwind-info-dialog .key-text{color:var(--purple-text)}'],
changeDetection:0});var pfd=["commentPresenter"],$Sb=function(){return[]},ZSb=function(a,b){return b.category},E5=function(){var a=this;this.activeSession=x(Ks);this.activatedRoute=x(Zn);this.analytics=x(nE);this.cdr=x(jE,{self:!0});this.destroyRef=x(Cj);this.router=x($B);this.scrolledOnScreenService=x(OL);this.issueEnrichmentService=x(lX);this.contextSensitiveRegistry=x(yF);this.loggedViewEnrichments=new Set;this.loggedImpressionEnrichments=new Set;this.shouldTruncate=!1;this.isTruncated=!0;this.enrichments$=this.issueEnrichmentService.issueEnrichments$.pipe(uj(function(b){a.logImpressions(b)}),
pj({bufferSize:1,refCount:!0}));this.issueId$=this.contextSensitiveRegistry.getIssueId().pipe(Di(fe),jj());this.shouldShowInsights$=this.enrichments$.pipe(C(function(b){return a.activeSession.isInternalSession()&&Cx(a.activeSession,"enableInsightsEnrichments")&&b.length>0}));this.tabKeys$=this.enrichments$.pipe(C(function(b){return b.map(function(c){return c.displayName})}));this.manualSelectedTab$=new $n(null);this.initialExpandedTab$=this.enrichments$.pipe(C(function(b){var c=Gf("insights-lastExpanded")();
if(c==="HIDDEN")return[];var d=b.find(function(e){return e.category===c});return d?[d.displayName]:b.length>0?[b[0].displayName]:[]}),hj(1));this.expandedTab$=si([this.initialExpandedTab$,this.manualSelectedTab$]).pipe(C(function(b){var c=l(b);b=c.next().value;return(c=c.next().value)?c:b}));this.currentEnrichment$=si([this.enrichments$,this.expandedTab$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;if(c.length!==0){var d=c[0];return b.find(function(e){return e.displayName===d})}}),
pj({bufferSize:1,refCount:!0}))};E5.prototype.ngAfterViewInit=function(){var a=this;this.tabKeys$.pipe(hj(1),vp(this.destroyRef)).subscribe(function(){PSb(a)});this.destroyRef.onDestroy(function(){var b;(b=a.onScreenSubscription)==null||b.unsubscribe()})};var PSb=function(a){setTimeout(function(){var b;a.shouldTruncate=((b=a.commentPresenter)==null?void 0:b.nativeElement.scrollHeight)>84;a.cdr.markForCheck();a.maybeSetupOnScreenDetection()},0)};
E5.prototype.maybeSetupOnScreenDetection=function(){var a=this,b,c,d,e,f,h,k,q;v(function(u){if(u.nextAddress==1)return(b=a.onScreenSubscription)==null||b.unsubscribe(),a.onScreenSubscription=void 0,d=(c=a.commentPresenter)==null?void 0:c.nativeElement,d?(e=!a.shouldTruncate||a.shouldTruncate&&!a.isTruncated)?w(u,pi(a.expandedTab$),3):u.jumpTo(0):u.return();if(u.nextAddress!=4)return f=u.yieldResult,f.length===0?u.return():w(u,pi(a.currentEnrichment$),4);h=u.yieldResult;if(!h)return u.return();k=
h.category;if(a.loggedViewEnrichments.has(k))return u.return();q=h.issueId;a.onScreenSubscription=rKc(a.scrolledOnScreenService,d,{emitOnPartial:!0,durationOnScreenMs:3E3}).pipe(hj(1),vp(a.destroyRef)).subscribe(function(){a.issueEnrichmentService.logIssueUserEventForIssueEnrichment(q,"EVENT_TYPE_VIEW",k);a.loggedViewEnrichments.add(k)});ji(u)})};
var XSb=function(a){var b,c,d,e;v(function(f){if(f.nextAddress==1)return w(f,pi(a.currentEnrichment$),2);b=f.yieldResult;e=(d=(c=b)==null?void 0:c.category)!=null?d:"HIDDEN";sjc("insights-lastExpanded")(e);ji(f)})};
E5.prototype.logImpressions=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=b.category;this.loggedImpressionEnrichments.has(c)||(this.loggedImpressionEnrichments.add(c),this.issueEnrichmentService.logIssueUserEventForIssueEnrichment(b.issueId,"EVENT_TYPE_IMPRESSION",c))}};
var YSb=function(a){var b,c,d,e;return v(function(f){switch(f.nextAddress){case 1:return a.analytics.trackEvent("insightsTab","click"),w(f,pi(a.expandedTab$),2);case 2:b=f.yieldResult;c=["insights"];d={relativeTo:a.activatedRoute};if(!(b.length>0)){f.jumpTo(3);break}return w(f,pi(a.currentEnrichment$),4);case 4:if(e=f.yieldResult)d.fragment="insight-"+e.category;case 3:return w(f,a.router.navigate(c,d),0)}})};E5.\u0275fac=function(a){return new (a||E5)};
E5.\u0275cmp=F({type:E5,selectors:[["b-insights-enrichments"]],viewQuery:function(a,b){a&1&&ek(pfd,5,Ph);if(a&2){var c;ik(c=jk())&&(b.commentPresenter=c.first)}},standalone:!1,features:[Bk([jE])],decls:4,vars:3,consts:[["commentPresenter",""],[1,"container","carded","margined-s","margin-top-none","bg-main","gradient-border-left","padded-s-y"],["svgIcon","info_spark_24px",1,"icon-m","spark"],["ariaLabel","Insights for this issue",1,"grow-1","flex-hemmed",3,"showMultiple","showIcons","tabKeys","expandedTabs"],
["ariaLabel","Insights for this issue",1,"grow-1","flex-hemmed",3,"expandedTabsChanged","showAllClicked","showMultiple","showIcons","tabKeys","expandedTabs"],[3,"key","ariaLabel"],["expandable-tab-header",""],["expandable-tab-content",""],[3,"formattedComment","truncated"],[1,"flex-kids-x","margin-xs-top"],["type","button","mat-stroked-button","","color","primary",1,"gmat-button","small","show-more"],[1,"margin-left-auto",3,"enrichment"],[3,"formattedComment"],[3,"contentRendered","formattedComment"],
["type","button","mat-stroked-button","","color","primary",1,"gmat-button","small","show-more",3,"click"]],template:function(a,b){a&1&&(L(0,"div",1),N(1,"mat-icon",2),I(2,bTb,2,3),W(3,"async"),M());if(a&2){var c;E(2);J((c=X(3,1,b.enrichments$))?2:-1,c)}},dependencies:[EA,fK,zS,wS,xS,AS,dA,aA,s3,lL,py],styles:['.truncated[_ngcontent-%COMP%]{max-height:84px;overflow:hidden;mask-image:linear-gradient(to bottom, black 0%, black 70%, transparent 100%)}.show-more[_ngcontent-%COMP%]{max-width:100px}.container[_ngcontent-%COMP%]{display:flex;position:relative}.gradient-border-left[_ngcontent-%COMP%]::before{border-radius:4px 0 0 4px;content:"";position:absolute;top:0;left:0;width:4px;height:100%;background:linear-gradient(180deg, var(--insights-purple) 0%, var(--insights-pink) 100%);z-index:1}.mat-icon.spark[_ngcontent-%COMP%]{fill:var(--insights-purple);flex-shrink:0}expandable-tabs[_ngcontent-%COMP%]{margin-left:4px}'],
changeDetection:0});var F5=function(){this.issueReferenceResolver=x(uH);this.userToLossyEmail=Jd};F5.prototype.ngOnInit=function(){};F5.prototype.getCommentNumberLink=function(a){return xIa(this.issueId,{comment:a})};F5.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};F5.\u0275fac=function(a){return new (a||F5)};
F5.\u0275cmp=F({type:F5,selectors:[["comments-info"]],inputs:{issueId:"issueId",comments:"comments"},standalone:!1,decls:2,vars:0,consts:[["personCard",""],[1,"comment-info"],[1,"keep-focus-ring","hover-link",3,"routerLinkObj"],[1,"ldap",3,"onedevHovercardTrigger"],[3,"email"],[1,"keep-focus-ring","hover-link",3,"click","routerLinkObj"]],template:function(a,b){a&1&&Mj(0,gTb,5,3,"span",1,Lj);a&2&&Nj(b.comments)},dependencies:[gC,xH,DH,TJ,hQ],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 G5=function(){Z.apply(this,arguments);this.ngZone=x(Kk)};Y(G5,Z);G5.\u0275dir=Z.\u0275dir;var qfd=function(a,b){return(new bi(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(tj(a.destroyed$))};G5.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(G5)))(b||G5)}}();G5.\u0275prov=Dg({token:G5,factory:G5.\u0275fac,providedIn:"root"});var rfd=["imagesSummaryWidget"],H5=function(){var a=this;this.resizeService=x(G5);this.router=x($B);this.route=x(Zn);this.imageLinks$=new nj(1);this.paginate=!1;this.container$=new nj(1);this.containerResize$=this.container$.pipe(C(function(b){return b.nativeElement}),sj(function(b){return qfd(a.resizeService,b)}));this.issueId$=new nj(1);this.lastRenderedImageIndex$=new $n(0);this.allImages$=this.imageLinks$.pipe(C(function(b){b=b.map(function(c){if(c.comment){var d=GOa(c.href);if(d)return{src:d,
comment:c.comment}}}).filter(fe);return oTb(b)}));this.maxImagesInOneRow$=this.containerResize$.pipe(C(function(b){return Math.floor((b.width-16)/216)}),pj({refCount:!0,bufferSize:1}));this.initialNumberOfImages$=this.maxImagesInOneRow$.pipe(C(function(b){return b*(a.paginate?4:2)}));this.imagesToRender$=si([this.initialNumberOfImages$,this.allImages$,this.lastRenderedImageIndex$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;return a.paginate?d.slice(0,c||
b):d.slice(0,b)}),C(function(b){return b.map(function(c){var d;return Object.assign({},c,{srcCorp:(d=GOa(c.src,!0))!=null?d:""})})}),jj())},iTb=function(a,b){var c,d,e,f;return v(function(h){if(h.nextAddress==1)return w(h,pi(a.maxImagesInOneRow$),2);if(c=h.yieldResult)d=Math.floor(b/c),e=d+4,f=e*c,a.lastRenderedImageIndex$.next(f);ji(h)})};H5.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};H5.prototype.ngOnInit=function(){this.issueId$.next(this.issueId)};
H5.prototype.ngAfterContentInit=function(){this.container$.next(this.container)};pg.Object.defineProperties(H5.prototype,{imageLinks:{configurable:!0,enumerable:!0,set:function(a){this.imageLinks$.next(a)},get:function(){return up(this.imageLinks$)}}});H5.\u0275fac=function(a){return new (a||H5)};
H5.\u0275cmp=F({type:H5,selectors:[["inline-images-summary"]],viewQuery:function(a,b){a&1&&ek(rfd,7);if(a&2){var c;ik(c=jk())&&(b.container=c.first)}},inputs:{issueId:"issueId",imageLinks:"imageLinks",paginate:"paginate"},standalone:!1,decls:4,vars:3,consts:[["imagesSummaryWidget",""],[1,"container"],[1,"image-wrapper"],["target","_blank",1,"thumbnail",3,"href"],[3,"showByDefault","src"],[3,"issueId","comments"],["type","button","mat-button","",1,"small","load-more-screenshots"],["type","button",
"mat-button","",1,"small","see-all-screenshots"],["type","button","mat-button","",1,"small","load-more-screenshots",3,"click"],["type","button","mat-button","",1,"small","see-all-screenshots",3,"click"]],template:function(a,b){a&1&&(L(0,"div",null,0),I(2,nTb,2,3),W(3,"async"),M());if(a&2){var c;E(2);J((c=X(3,1,b.allImages$))?2:-1,c)}},dependencies:function(){return[F5,dA,aA,YJ,py,I5]},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 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 img::before{content:" ";position:absolute;left:0;height:100%;width:100%;background-color:#f8f9fa;background-color:var(--surface-secondary)}[_nghost-%COMP%]     a.thumbnail img::after{content:"\u274cBroken screenshot link";position:absolute;top:46%;left:0;width:100%;text-align:center}']});
var I5=function(){};I5.prototype.transform=function(a){return a.split(".png")[0]};I5.\u0275fac=function(a){return new (a||I5)};I5.\u0275pipe=aj({name:"removePngExtension",type:I5,pure:!0,standalone:!1});var sfd={DUPES:"SW-dupes",IMAGES:"SW-images",MENTIONED_ISSUES:"SW-mentioned-bugs",LINKS:"SW-links",SIMILAR_ISSUES:"SW-similar-issues",ASSIGN_TO_REPORTER:"SW-assign-to-reporter",COMPONENT_ROUTING:"SW-component-routing"},sUb=[].concat(p(Object.values(sfd)));var tfd=function(a,b){var c=this;this.issueInteractionsTracking=a;this.analytics=b;this.recordInteractionOnce=Df(function(d){c.analytics.trackEvent("editIssue","click",d)});this.recordImpressionOnce=Df(function(){c.analytics.trackEvent("editIssue","view","SW")})},OTb=function(a,b,c){a.recordInteractionOnce(c);Ds(a.issueInteractionsTracking,b,c+"-content-interacted");Ds(a.issueInteractionsTracking,b,"SW-content-interacted")};var J5=function(){this.activeSession=x(Ks);this.trackerHelpers=x(sI);this.linkText=this.rightText=this.leftText="";this.isExternalLink=!1;this.issueId=this.originalHref=this.redirectedHref=""};
J5.prototype.ngOnChanges=function(){var a;a:{var b=(a=this.sourceComment)==null?void 0:a.formattedComment;if(b){if(b.markdownFormat){a=vTb(b.markdownFormat.content);break a}if(b.literalFormat){a=vTb(b.literalFormat.content);break a}if(b.plainFormat){a=document.createElement("div");b=l(b.plainFormat.plainSection);for(var c=b.next();!c.done;c=b.next())(c=c.value.content)&&a.appendChild(vTb(c));break a}}a=void 0}if(a=a&&ufd(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(vfd.has(c.nodeName))break;d=void 0;b.push((d=c.textContent)!=null?d:"")}this.leftText=b.reverse().join("");b=[];for(c=a;c.nextSibling;){c=c.nextSibling;if(vfd.has(c.nodeName))break;d=void 0;b.push((d=c.textContent)!=null?d:"")}this.rightText=b.join("");this.linkText=a.innerText||a.href}else this.relatedLink&&
(c=b=a="",gq(this.relatedLink)?c=b=this.relatedLink.href:HOa(this.relatedLink)&&(a=this.relatedLink.issueId,b=this.getIssueUrl(this.relatedLink.issueId),c=this.relatedLink.issueId,c=this.activeSession.isInternalSession()?Tea(sr(this.trackerHelpers,c),""):this.getIssueUrl(c)),this.issueId=a,this.originalHref=this.redirectedHref=b,this.isExternalLink=!1,this.rightText=this.leftText="",this.linkText=c)};
var ufd=function(a,b){if(a.relatedLink){if(HOa(a.relatedLink)){var c=a.relatedLink.issueId;return[].concat(p(b.querySelectorAll("a"))).find(function(e){return e.dataset.bIssueId===c})}if(gq(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})}}};
J5.prototype.getIssueUrl=function(a){return sr(this.trackerHelpers,a)};J5.\u0275fac=function(a){return new (a||J5)};
J5.\u0275cmp=F({type:J5,selectors:[["mentioned-link-with-context"]],inputs:{sourceComment:"sourceComment",relatedLink:"relatedLink"},standalone:!1,features:[$w],decls:7,vars:3,consts:[[1,"wrapper"],["aria-hidden","true",1,"muted","margin-xs-right","left-justify-parent"],[3,"href","originalHref"],["aria-hidden","true",1,"muted","margin-xs-left","right"],[1,"left-justify-child"],[3,"href","issueId"],["target","_blank",1,"keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(L(0,"div",0),U(1," \u201c "),
I(2,pTb,3,1,"span",1),I(3,qTb,2,3,"b-external-hyperlink-widget",2)(4,tTb,2,1),I(5,uTb,2,1,"span",3),U(6," \u201d\n"),M());a&2&&(E(2),J(b.leftText?2:-1),E(),J(b.isExternalLink?3:4),E(2),J(b.rightText?5:-1))},dependencies:[sH,FH],styles:["[_nghost-%COMP%]{overflow:hidden}.wrapper[_ngcontent-%COMP%]{display:flex;align-items:center}.right[_ngcontent-%COMP%], .left-justify-parent[_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-justify-parent[_ngcontent-%COMP%]{flex-shrink:1000000;max-width:max(80%,200px)}.left-justify-parent[_ngcontent-%COMP%]{direction:rtl;text-align:left}.left-justify-child[_ngcontent-%COMP%]{direction:ltr;unicode-bidi:bidi-override}"],
changeDetection:0});var vfd=new Set(["BR"]);var K5=function(){var a=this;this.activeSession=x(Ks);this.issueFullFridge=x(pE);this.router=x($B);this.route=x(Zn);this.issueReferenceResolver=x(uH);this.issueReferences$=new nj(1);this.currentIssueId$=new nj(1);this.paginate=!1;this.lastRenderedMentionedIssueIndex$=new $n(10);this.issuesMap$=this.issueReferences$.pipe(Di(fe),sj(function(b){var c=oo(b.map(function(d){return d.issueId}));return a.issueFullFridge.watchSet(c).pipe(C(function(d){return new Map(d.map(function(e){return[e==null?void 0:
e.issueId.toString(),e]}))}),C(function(d){return new Map(c.map(function(e){return[e,d.get(e)]}))}))}));this.issueReferencesMap$=this.issueReferences$.pipe(Di(fe),C(function(b){var c=new Map;b=l(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=d.issueId.toString();c.has(e)?c.get(e).push(d):c.set(e,[d])}return c}));this.allMentionedIssues$=si([this.issueReferencesMap$,this.issuesMap$]).pipe(C(function(b){b=l(b);var c=b.next().value;b=b.next().value;return[].concat(p(b)).filter(function(d){return l(d).next().value!==
a.issueId}).map(function(d){var e=l(d);d=e.next().value;e=e.next().value;var f=c.get(d),h=f==null?void 0:f.map(function(k){var q,u,A=(q=k.comment)==null?void 0:(u=q.userPerformingActionUser)==null?void 0:u.emailAddress;return{commentNumber:k.sourceCommentNumber,author:(A==null?void 0:A.split("@")[0])+"@",issueEvent:k.comment}});return{hasViewAccess:!!e,issueId:d,shortIssueUrl:Tea(a.activeSession.getAppBaseUrl(),d),sourceComments:h,title:e==null?void 0:e.snapshot[0].title,priority:e?e.snapshot[0].priority:
null,relatedLinks:f}})}));this.mentionedIssuesToRender$=si([this.allMentionedIssues$,this.lastRenderedMentionedIssueIndex$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return a.paginate?b.slice(0,c):b.slice(0,5)}))};K5.prototype.getCommentNumberLink=function(a){return xIa(this.issueId,{comment:a})};K5.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};
K5.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};pg.Object.defineProperties(K5.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}}});K5.\u0275fac=function(a){return new (a||K5)};
K5.\u0275cmp=F({type:K5,selectors:[["b-mentioned-issues"]],inputs:{issueReferences:"issueReferences",currentIssueId:"currentIssueId",paginate:"paginate"},standalone:!1,decls:2,vars:3,consts:[[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"],["type","button","mat-button","",1,"small","load-more-issues"],["type","button","mat-button","",1,"small","see-all-issues"],["type",
"button","mat-button","",1,"small","load-more-issues",3,"click"],["type","button","mat-button","",1,"small","see-all-issues",3,"click"]],template:function(a,b){a&1&&(I(0,CTb,2,3),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.mentionedIssuesToRender$))?0:-1,c)}},dependencies:function(){return[lP,dA,aA,YF,WF,J5,F5,py,L5]},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 L5=function(){};L5.prototype.transform=function(a){return a.map(function(b){return b.issueEvent}).filter(fe)};L5.\u0275fac=function(a){return new (a||L5)};L5.\u0275pipe=aj({name:"toComments",type:L5,pure:!0,standalone:!1});var HTb=function(a,b){return b[0].href},M5=function(){var a=this;this.router=x($B);this.route=x(Zn);this.allLinks$=new nj(1);this.issueId$=new nj(1);this.lastRenderedRelatedLinkIndex$=new $n(10);this.paginate=!1;this.allLinkGroups$=this.allLinks$.pipe(C(function(b){return sCa(b,function(c){return c.href})}));this.linkGroupsToRender$=si([this.allLinkGroups$,this.lastRenderedRelatedLinkIndex$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return a.paginate?LTb(b,c):b.length===6?LTb(b,
6):LTb(b,5)}))};M5.prototype.ngOnInit=function(){};M5.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};pg.Object.defineProperties(M5.prototype,{links:{configurable:!0,enumerable:!0,set:function(a){this.allLinks$.next(a)},get:function(){throw Error("qf");}},issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return up(this.issueId$)}}});M5.\u0275fac=function(a){return new (a||M5)};
M5.\u0275cmp=F({type:M5,selectors:[["related-links-widget"]],inputs:{links:"links",issueId:"issueId",paginate:"paginate"},standalone:!1,decls:2,vars:3,consts:[[1,"related-link","flex-kids-x","align-items-center","gap-s","margin-xs-bottom"],[3,"sourceComment","relatedLink"],[1,"margin-left-auto",3,"issueId","comments"],["type","button","mat-button","",1,"small","load-more-links"],["type","button","mat-button","",1,"small","see-all-links"],["type","button","mat-button","",1,"small","load-more-links",
3,"click"],["type","button","mat-button","",1,"small","see-all-links",3,"click"]],template:function(a,b){a&1&&(I(0,JTb,2,3),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.allLinkGroups$))?0:-1,c)}},dependencies:function(){return[F5,dA,aA,J5,py,N5]},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 KTb=ze(function(a){return Math.min.apply(Math,p(a.map(function(b){return b.sourceCommentNumber})))},Ae),N5=function(){};N5.prototype.transform=function(a){return a.map(function(b){return b.comment}).filter(fe)};N5.\u0275fac=function(a){return new (a||N5)};N5.\u0275pipe=aj({name:"toComments",type:N5,pure:!0,standalone:!1});var PTb=function(){return[]},O5=function(){Z.apply(this,arguments);var a=this;this.activeSession=x(Ks);this.userPreferencesManager=x(NF);this.issueInteractionsTracking=x(TI);this.issueFullFridge=x(pE);this.analytics=x(nE);this.eventsForIssueFridge=x(wD);this.similarIssuesApi=x(cP);this.issueEnrichmentFridge=x(CD);this.issuePermissionService=x(BF);this.issueRecommendationFridge=x(sE);this.recommendationTriggerService=x(EF);this.TabKeys=sfd;this.issueId$=new nj(1);this.alwaysStartCollapsed=!1;this.enableSummaryBasedSimilarIssuesUI=
Cx(this.activeSession,"enableSummaryBasedSimilarIssuesUI");this.issue$=this.issueId$.pipe(sj(function(b){return a.issueFullFridge.watch(b)}),Di(fe),pj({bufferSize:1,refCount:!0}));this.commentNumberToEventMap$=this.issueId$.pipe(sj(function(b){return a.eventsForIssueFridge.watch(b)}),C(function(b){var c;return(c=b==null?void 0:b.events)!=null?c:[]}),C(function(b){return new Map(b.filter(function(c){return!!c.commentNumber}).map(function(c){return[c.commentNumber,c]}))}),pj({bufferSize:1,refCount:!0}));
this.relatedLinks$=si([this.issue$,this.commentNumberToEventMap$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;var e;return((e=b.relatedLinks)==null?void 0:e.map(function(f){return Object.assign({},f,{comment:d.get(f.sourceCommentNumber)})}))||[]}),pj({bufferSize:1,refCount:!0}));this.imageLinks$=this.relatedLinks$.pipe(C(function(b){return b.filter(DOa)}),pj({bufferSize:1,refCount:!0}));this.distinctImageLinksCount$=this.imageLinks$.pipe(C(function(b){return no(b,function(c){return GOa(c.href)})}),
C(function(b){return b.length}),pj({bufferSize:1,refCount:!0}));this.shouldShowImages$=this.imageLinks$.pipe(C(function(b){return a.activeSession.isInternalSession()&&wfd(a,b)}),pj({bufferSize:1,refCount:!0}));this.issues$=this.relatedLinks$.pipe(C(function(b){return b.filter(HOa)}));this.distinctIssuesCount$=this.issues$.pipe(C(function(b){return b.filter(function(c){return c.issueId!==a.issueId})}),C(function(b){return no(b,function(c){return c.issueId})}),C(function(b){return b.length}));this.shouldShowIssues$=
this.distinctIssuesCount$.pipe(C(Boolean));this.otherLinks$=this.relatedLinks$.pipe(C(function(b){return b.filter(IOa)}),pj({bufferSize:1,refCount:!0}));this.distinctOtherLinksCount$=this.otherLinks$.pipe(C(function(b){return no(b,function(c){return c.href})}),C(function(b){return b.length}),pj({bufferSize:1,refCount:!0}));this.shouldShowLinks$=this.otherLinks$.pipe(C(function(b){return a.shouldShowLinks(b)}),pj({bufferSize:1,refCount:!0}));this.similarIssueIds$=this.issueId$.pipe(Di(fe),sj(function(b){return ROc(a.similarIssuesApi,
{issueId:Number(b),embeddingType:a.enableSummaryBasedSimilarIssuesUI?2:1})}),C(function(b){return b.similarIssues}),C(function(b){return b.map(function(c){return c.issueId})}),pj({bufferSize:1,refCount:!0}));this.similarIssuesEnrichments$=(this.enableSimilarIssuesEnrichments=this.activeSession.isInternalSession()&&Cx(this.activeSession,"enableSimilarIssuesEnrichments"))?this.issueId$.pipe(sj(function(b){return a.issueEnrichmentFridge.watch(b)}),C(function(b){var c;return((c=b==null?void 0:b.enrichments)!=
null?c:[]).filter(function(d){var e,f;return((f=(e=d.similarIssues)==null?void 0:e.issueIds)!=null?f:[]).length>0})}),pj({bufferSize:1,refCount:!0})):li([]);this.shouldShowSimilarIssues$=si([this.similarIssueIds$,this.similarIssuesEnrichments$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b.length>0||c.length>0}));this.dedupeCanonicalRecommendation$=this.issueId$.pipe(sj(function(b){return azc(a.recommendationTriggerService,b)}),pj({bufferSize:1,refCount:!0}));this.dedupeBatchRecommendation$=
this.issueId$.pipe(sj(function(b){return bzc(a.recommendationTriggerService,b)}),pj({bufferSize:1,refCount:!0}));this.dedupeRecommendation$=si([this.dedupeCanonicalRecommendation$,this.dedupeBatchRecommendation$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b!=null?b:c}),pj({bufferSize:1,refCount:!0}));this.shouldShowDupeSuggestions$=this.dedupeRecommendation$.pipe(C(Boolean));this.enableNeedsInfoUi=Cx(this.activeSession,"enableNeedsInfoUi");this.assignToReporterRecommendation$=
this.issueId$.pipe(sj(function(b){return czc(a.recommendationTriggerService,b)}));this.shouldShowAssignToReporterSuggestion$=this.assignToReporterRecommendation$.pipe(C(Boolean));this.enableComponentRoutingUi=this.activeSession.isInternalSession()&&Cx(this.activeSession,"enableComponentRoutingUi");this.componentRoutingRecommendation$=this.issueId$.pipe(sj(function(b){return dzc(a.recommendationTriggerService,b)}));this.shouldShowComponentRoutingSuggestion$=this.componentRoutingRecommendation$.pipe(C(Boolean));
this.tabKeys$=si([this.shouldShowAssignToReporterSuggestion$.pipe(C(function(b){return{show:b,key:"SW-assign-to-reporter"}})),this.shouldShowComponentRoutingSuggestion$.pipe(C(function(b){return{show:b,key:"SW-component-routing"}})),this.shouldShowDupeSuggestions$.pipe(C(function(b){return{show:b,key:"SW-dupes"}})),this.shouldShowSimilarIssues$.pipe(C(function(b){return{show:b,key:"SW-similar-issues"}})),this.shouldShowImages$.pipe(C(function(b){return{show:b,key:"SW-images"}})),this.shouldShowIssues$.pipe(C(function(b){return{show:b,
key:"SW-mentioned-bugs"}})),this.shouldShowLinks$.pipe(C(function(b){return{show:b,key:"SW-links"}}))]).pipe(C(function(b){return b.filter(function(c){return c.show}).map(function(c){return c.key})}));this.shouldShowSummaryCard$=this.tabKeys$.pipe(C(function(b){return!!b.length}),ij(0,xp));this.initiallyExpandedTabs=sUb.map(function(b){return wzc(a.userPreferencesManager,b)?void 0:b}).filter(fe);this.onTabExpanded$=new iE;this.issueSummaryTracking=new tfd(this.issueInteractionsTracking,this.analytics)};
Y(O5,Z);O5.\u0275dir=Z.\u0275dir;
O5.prototype.ngOnInit=function(){var a=this;this.alwaysStartCollapsed&&(this.initiallyExpandedTabs=[]);this.subscriptions.add(this.onTabExpanded$.pipe(fj(1E3),sj(function(b){var c=b.allTabKeys;var d=b.expandedTabKeys;return vzc(a.userPreferencesManager,Object.fromEntries(c.map(function(e){return[e,!d.has(e)]})))})).subscribe());this.subscriptions.add(this.tabKeys$.subscribe(function(b){var c=a.issueSummaryTracking,d=a.issueId;b=new Set(b);for(var e=l(b),f=e.next();!f.done;f=e.next())Ds(c.issueInteractionsTracking,
d,f.value+"-available");b.size>0&&Ds(c.issueInteractionsTracking,d,"SW-available")}))};O5.prototype.shouldShowLinks=function(a){return a.length===0||a.every(function(b){return b.sourceCommentNumber===1})?!1:!0};var wfd=function(a,b){if(b.length===0)return!1;b=b.every(function(c){var d;return c.sourceCommentNumber===1&&((d=c.comment)==null?void 0:d.formattingMode)==="MARKDOWN"});return OF(a.userPreferencesManager).showInlineImages&&b?!1:!0};
pg.Object.defineProperties(O5.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return up(this.issueId$)}}});O5.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(O5)))(b||O5)}}();
O5.\u0275cmp=F({type:O5,selectors:[["issue-summary-card"]],inputs:{issueId:"issueId",alwaysStartCollapsed:"alwaysStartCollapsed"},standalone:!1,features:[xj],decls:4,vars:3,consts:[[1,"a11y-only"],["ariaLabel","issue summary sections",3,"tabKeys","expandedTabs"],["ariaLabel","issue summary sections",3,"expandedTabsChanged","contentShownChanged","tabKeys","expandedTabs"],["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"],["ariaLabel","Toggle similar issues summary section",3,"key"],["ariaLabel","Toggle suggestion duplicate issues",3,"key"],["ariaLabel","Toggle suggestion Assign to reporter",3,"key"],["ariaLabel","Toggle reroute suggestion",3,"key"],["svgIcon","image",1,"icon-s"],[3,"issueId","imageLinks"],[3,"click","issueId","imageLinks"],["svgIcon","bug_report_24px",1,"icon-s"],[3,"issueReferences",
"currentIssueId"],[3,"click","issueReferences","currentIssueId"],["svgIcon","link",1,"icon-s"],[3,"click","links","issueId"],["svgIcon","spark_24px","color","primary",1,"icon-s"],[3,"issueId","similarIssueIds","similarIssuesEnrichments"],[3,"click","issueId","similarIssueIds","similarIssuesEnrichments"],["svgIcon","tab_close_24px","color","primary",1,"icon-s"],[1,"rounded",3,"recommendation"],["svgIcon","keyboard_return_24px","color","primary",1,"icon-s"],["svgIcon","route_24px","color","primary",
1,"icon-s"]],template:function(a,b){a&1&&(L(0,"h3",0),U(1,"Issue summary"),M(),I(2,tUb,21,11,"expandable-tabs",1),W(3,"async"));if(a&2){var c;E(2);J((c=X(3,1,b.tabKeys$))?2:-1,c)}},dependencies:[EA,zS,wS,xS,yS,AS,H5,K5,M5,BT,OT,py],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}[_nghost-%COMP%]     expandable-tabs .expandable-tabs-contents .SW-similar-issues{border-bottom:0;padding-bottom:8px}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"],
changeDetection:0});var P5=function(){this.matDialog=x(eI)};P5.prototype.show=function(a){this.dialog=this.matDialog.open(Q5,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{statusUpdates:a}});return pi(ZH(this.dialog))};P5.\u0275fac=function(a){return new (a||P5)};P5.\u0275prov=Dg({token:P5,factory:P5.\u0275fac,providedIn:"root"});var Q5=function(){Z.apply(this,arguments);this.data=x(dI);this.dialogService=x(P5);this.dialogRef=x(YH);this.statusUpdates=this.data.statusUpdates};Y(Q5,Z);Q5.\u0275dir=Z.\u0275dir;
Q5.prototype.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(tj(this.destroyed$)).subscribe(function(b){if(b.key==="Escape"){var c;(c=a.dialogService.dialog)==null||c.close()}});this.dialogRef.backdropClick().pipe(tj(this.destroyed$)).subscribe(function(){var b;(b=a.dialogService.dialog)==null||b.close()})};Q5.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(Q5)))(b||Q5)}}();
Q5.\u0275cmp=F({type:Q5,selectors:[["ng-component"]],standalone:!1,features:[xj],decls:9,vars:1,consts:[["mat-dialog-title",""],["tabindex","0","mat-dialog-content",""],[1,"history-list"],[1,"version"],["mat-dialog-actions",""],["type","button","mat-button","",3,"mat-dialog-close"],[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&&(L(0,"h1",0),U(1,"History for Status Update"),M(),L(2,"section",1)(3,"ul",2),Mj(4,uUb,19,12,"li",3,Lj),M()(),L(6,"footer",4)(7,"button",5),U(8," Close "),M()());a&2&&(E(4),Nj(b.statusUpdates),E(3),K("mat-dialog-close",void 0))},dependencies:[tN,dA,aA,fI,hI,jI,iI,GJ,SM,RM,WI,NM],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}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 xfd=["noteContainer"],HUb=function(a){return[a]},yfd={FRESH:0,STALE:1,NONE:2,0:"FRESH",1:"STALE",2:"NONE"},R5=function(){Z.apply(this,arguments);var a=this;this.activeSession=x(Ks);this.analytics=x(nE);this.confirmationDialogService=x(lI);this.currentUser=x(WY);this.editStatusUpdateDialogService=x(O_);this.statusUpdateFactory=x(Q_);this.errorHandler=x(PA);this.issueFullFridge=x(pE);this.issuePermissionService=x(BF);this.statusUpdateService=x(N_);this.statusUpdateHistoryDialogService=x(P5);this.userPreferencesManager=
x(NF);this.log=x(NA);this.Freshness=yfd;this.UiState=zfd;this.FormattingMode=ke;this.issueId$=new nj(1);this.issue$=this.issueId$.pipe(sj(function(b){return a.issueFullFridge.watch(b)}));this.componentId$=this.issue$.pipe(C(function(b){return b==null?void 0:b.snapshot[0].componentId}));this.accessLevel$=this.issue$.pipe(C(function(b){var c;return b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel}));this.issue$.pipe(C(function(b){var c;return b==null?void 0:(c=b.aggregatedData)==null?void 0:
c.teamId}));this.isCollapsed=!1;this.statusUpdate$=this.issue$.pipe(C(function(b){return b==null?void 0:b.statusUpdate}));this.statusUpdateAsNote$=this.statusUpdate$.pipe(Di(fe),C(function(b){return{unlinkifiedComment:b.updateText,formattedComment:b.formattedText}}));this.semanticClass$=this.statusUpdate$.pipe(C(function(b){var c;return(c=iMa(b==null?void 0:b.updateText))!=null?c:""}));this.statusIsEmpty$=this.statusUpdate$.pipe(C(function(b){return((b==null?void 0:b.updateText)||"").trim()===""}));
this.freshnessIndicator$=si([this.statusIsEmpty$,this.statusUpdate$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;if(b)return 2;var d;b=(c==null?void 0:(d=c.updateTime)==null?void 0:d.seconds)||0;return Date.now()/1E3-b<86400?0:1}));this.uiState$=this.statusIsEmpty$.pipe(C(function(b){return b?1:2}),rj(0));this.formattingModeOverride$=new $n(void 0);this.formattingMode$=si([this.statusUpdate$,this.formattingModeOverride$]).pipe(C(function(b){var c=l(b);b=c.next().value;return(c=
c.next().value)?c:(b==null?void 0:b.formattingMode)||"PLAIN"}));this.menuItems$=si([this.issueId$,this.statusUpdate$,this.issuePermissionService.hasAclToEdit$,this.issuePermissionService.hasAclToAdmin$,this.formattingMode$]).pipe(C(function(b){var c=l(b);var d=c.next().value;var e=c.next().value;b=c.next().value;var f=c.next().value;c=c.next().value;var h=e!=null;e=e&&(e==null?void 0:e.updateText)!=="";var k=[];e&&k.push({type:"submenu",label:"View as",className:"view-as-format",items:[{type:"select",
label:"Classic",action:function(){a.formattingModeOverride$.next("PLAIN")},selected:c==="PLAIN"},{type:"select",label:"Markdown",action:function(){a.formattingModeOverride$.next("MARKDOWN")},selected:c==="MARKDOWN"},{type:"select",label:"Source",action:function(){a.formattingModeOverride$.next("LITERAL")},selected:c==="LITERAL"}]});b&&k.push({type:"action",label:"Edit Status Update",action:function(){a.editStatusUpdate()}});h&&k.push({type:"action",label:"Show editing history",action:function(){Afd(a,
d)}});e&&f&&k.push({type:"action",label:"Delete Status Update",action:function(){a.confirmationDialogService.open({title:"Delete Status Update?",content:md("\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(){a.doDelete()}})}});k.push(Bfd);return k}));this.showEditButton$=this.issuePermissionService.hasAclToEdit$};Y(R5,Z);R5.\u0275dir=Z.\u0275dir;
R5.prototype.ngOnInit=function(){var a=this;setTimeout(function(){var b,c;return v(function(d){if(d.nextAddress==1)return w(d,pi(a.uiState$.pipe(Di(function(e){return e!==0}))),2);b=d.yieldResult;c=JUb(b);a.analytics.trackEvent("issue","statusUpdateDisplay",c);ji(d)})},1E3)};R5.prototype.ngAfterViewInit=function(){var a;((a=this.noteContainer)==null?void 0:a.nativeElement.scrollHeight)>84&&(this.isCollapsed=!0)};
R5.prototype.editStatusUpdate=function(){var a=this,b,c,d,e,f,h,k,q,u,A;return v(function(D){switch(D.nextAddress){case 1:return w(D,pi(a.issueId$),2);case 2:return b=D.yieldResult,w(D,pi(a.componentId$),3);case 3:return c=D.yieldResult,w(D,pi(a.statusUpdate$),4);case 4:if((d=D.yieldResult)!=null){e=d;D.jumpTo(5);break}return w(D,H8c(a.statusUpdateFactory,b),6);case 6:e=D.yieldResult;case 5:return f=e,w(D,pi(a.accessLevel$),7);case 7:return h=D.yieldResult,k=h==="INTERNAL"?"INTERNAL":"EXTERNAL",w(D,
a.editStatusUpdateDialogService.show(f,k,c),8);case 8:q=D.yieldResult;if(q==null)return D.return();ei(D,9);return w(D,pi(a.statusUpdateService.update(q)),11);case 11:u=D.yieldResult;a.didSave(b,u);Iu(D,0);break;case 9:A=ii(D),nn(A)?a.errorHandler.errorHandler(null,A):a.log.warn(A),ji(D)}})};
var xUb=function(a){var b,c;return v(function(d){if(d.nextAddress==1)return w(d,pi(a.issueId$),2);if(d.nextAddress!=3)return b=d.yieldResult,w(d,pi(a.statusUpdate$),3);c=d.yieldResult;if(!c)return d.return();a.statusUpdateService.update(c).subscribe(function(e){a.didSave(b,e)},function(e){a.errorHandler.errorHandler(null,e)});ji(d)})};R5.prototype.didSave=function(a,b){this.issueFullFridge.manualUpdate(a,function(c){c.statusUpdate=b});this.issueFullFridge.poke(a)};
var Afd=function(a,b){var c;v(function(d){if(d.nextAddress==1)return w(d,pi(F8c(a.statusUpdateService,b)),2);c=d.yieldResult;a.statusUpdateHistoryDialogService.show(c);ji(d)})};R5.prototype.doDelete=function(){var a=this,b;v(function(c){if(c.nextAddress==1)return w(c,pi(a.issueId$),2);b=c.yieldResult;a.statusUpdateService.delete(b).subscribe(function(){a.issueFullFridge.manualUpdate(b,function(d){d.statusUpdate=void 0});a.issueFullFridge.poke(b)});ji(c)})};
pg.Object.defineProperties(R5.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});R5.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(R5)))(b||R5)}}();
R5.\u0275cmp=F({type:R5,selectors:[["status-update"]],viewQuery:function(a,b){a&1&&ek(xfd,5);if(a&2){var c;ik(c=jk())&&(b.noteContainer=c.first)}},inputs:{issueId:"issueId"},standalone:!1,features:[xj],decls:2,vars:3,consts:[["userCard",""],["noteContainer",""],[3,"display-none","short-height","class"],["svgIcon","group","color","primary",1,"margin-xs-right","shrink-0"],[1,"flex-kids-x","space-between","align-items-center"],[1,"flex-1-hemmed"],[1,"uppercase","inline-block","margin-s-right"],[1,"empty-message",
"muted","margin-s-right"],["type","button","mat-stroked-button","","aria-label","Edit Status Update","color","primary",1,"small"],["type","button","mat-stroked-button","","aria-label","Edit Status Update","color","primary",1,"small",3,"click"],[1,"flex-kids-x","space-between"],[1,"left"],[1,"uppercase","inline-block","margin-xs-right"],[1,"edit-info","right"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems"],[1,"pos-rel"],["type","button","mat-stroked-button","","aria-label","Edit Status Update",
"color","primary",1,"small","margin-xs-right",3,"click"],["type","button","mat-button","","aria-label","Mark Status Update as fresh","color","primary",1,"small","margin-xs-right","mark-fresh"],["type","button","mat-button","","aria-label","Mark Status Update as fresh","color","primary",1,"small","margin-xs-right","mark-fresh",3,"click"],["matTooltip","Last update made within 24 hours","svgIcon","check_circle_filled_24px",1,"fresh-checkmark"],[3,"onedevHovercardTrigger"],["mode","relativepast",1,"margin-s-right",
3,"timestamp"],[3,"email"],[3,"issueId","issueAccessLevel","note","formattingMode"],["type","button","mat-stroked-button","","color","primary",1,"small","show-more"],["type","button","mat-stroked-button","","color","primary",1,"small","show-more",3,"click"]],template:function(a,b){a&1&&(I(0,IUb,5,13,"div",2),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.uiState$))?0:-1,c)}},dependencies:[jS,sL,EA,tN,xH,DH,TJ,dA,aA,YF,WF,py,hQ],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;margin-bottom:3px}.short-height[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}']});
var zfd={LOADING:0,EMPTY:1,NORMAL:2,0:"LOADING",1:"EMPTY",2:"NORMAL"},Bfd={type:"action",label:"Using the Status Update field...",action:function(){jd(window,"https://developers.google.com/issue-tracker/concepts/status-update","_blank")},icon:"help-outline",className:"border-top"};var S5=function(){Z.apply(this,arguments);var a=this;this.brain=x(zF);this.preferences=x(NF);this.scrollTiming=x(bZ);this.analytics=x(nE);this.element=x(Ph);this.editIssueService=x(XI);this.appEvents=x(EB);this.routePerformance=x(qX);this.clearcut=x(cE);this.activeSession=x(Ks);this.id$=this.brain.id$;this.enableTailwind=Cx(this.activeSession,"enableTailwind")&&this.activeSession.isInternalSession();this.showRecentEventsFirst=!1;this.comment$=this.id$.pipe(Di(fe),sj(function(b){return a.editIssueService.issueCommentDraft(b).comment$}));
this.finishedRendering$=si([this.brain.eventsJs$.pipe(ij(0)),aza("#AddCommentBox textarea",this.element.nativeElement)]).pipe(hj(1))};Y(S5,Z);S5.\u0275dir=Z.\u0275dir;
S5.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Di(fe),tj(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.destroyed$.subscribe(function(){Cfd(a)});aza("#comment1 .critical-feature",this.element.nativeElement).pipe(tj(this.destroyed$)).subscribe(function(){var b=function(){X3c(a.routePerformance,"issue-details-w-comments")};requestAnimationFrame(b);setTimeout(b)});this.subscriptions.add(this.brain.eventsJs$.pipe(lj()).subscribe(function(b){Dfd(a,
b)}));this.subscriptions.add(this.finishedRendering$.pipe(vj(this.comment$)).subscribe(function(b){b=l(b);b.next();b.next().value.hasContent()&&a.appEvents.scrollToCommentBox.next()}))};
var Dfd=function(a,b){b=b.some(function(c){var d,e,f;return((f=(d=c.commentReactions)==null?void 0:(e=d.get("UPVOTE"))==null?void 0:e.count)!=null?f:0)>0});a.analytics.trackEvent("editIssue","view",b?"hasUpvoteReaction":"noUpvoteReaction")},Cfd=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"):[])&&!(b.length<2)){for(var c=b[0],d=b[0],e=0,f=
1;f<b.length;f++)b[f]-d<2E3||(e+=d-c,c=b[f]),d=b[f],f===b.length-1&&(e+=b[f]-c);a.analytics.trackEvent("editIssue","scroll","commentThread",e);dE(a.clearcut,e,"idp-time-scrolling-comments-recentFirst-"+a.showRecentEventsFirst)}};S5.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(S5)))(b||S5)}}();
S5.\u0275cmp=F({type:S5,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&Q("unload",function(){Cfd(b)},Rh)},standalone:!1,features:[xj],decls:7,vars:10,consts:[["insightsCard",""],["issueSummaryCard",""],["id","bv2-edit-issue-details-scroll","tabindex","-1",1,"bv2-edit-issue-details-scroll",3,"bFocus"],[1,"carded","margined-s","bg-main",3,"issueId","hidden"],[1,"carded","margined-s","bg-main",3,"recent-first"],[1,"margin-s-sides","margin-s-top","padded-left",3,"id"],[3,"issueId"],[1,"carded",
"margin-s-sides","margin-s-bottom","bg-main","highlighted-left",3,"id"],[1,"carded","margined-s","bg-main",3,"issueId"],[1,"carded","margined-s","bg-main"],[3,"id"]],template:function(a,b){a&1&&(L(0,"div",2),I(1,LUb,7,8),W(2,"async"),I(3,MUb,3,5,"issue-summary-card",3),W(4,"async"),I(5,PUb,5,5,"div",4),W(6,"async"),M());if(a&2){var c,d,e;K("bFocus",!0);E();J((c=X(2,4,b.id$))?1:-1,c);E(2);J((d=X(4,6,b.id$))?3:-1,d);E(2);J((e=X(6,8,b.id$))?5:-1,e)}},dependencies:[jT,oP,E5,y5,XS,B5,O5,lV,R5,D5,py],styles:["issue-summary-card[_ngcontent-%COMP%]{padding:8px}.summary[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}"]});var T5=function(){};T5.\u0275fac=function(a){return new (a||T5)};T5.\u0275mod=Zi({type:T5});T5.\u0275inj=Eg({imports:[jC,oN,HI,SL,FI,QN,aM,FG,GG,MX,JL,qz]});var U5=function(){Z.apply(this,arguments);this.prefs=x(NF)};Y(U5,Z);U5.\u0275dir=Z.\u0275dir;U5.prototype.onChange=function(a){this.prefs.save({useCodefont:a.checked}).pipe(tj(this.destroyed$)).subscribe()};U5.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(U5)))(b||U5)}}();
U5.\u0275cmp=F({type:U5,selectors:[["b-toggle-code-font"]],standalone:!1,features:[xj],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matTooltip","Use a monospace typeface to display all comments",3,"change","checked"]],template:function(a,b){a&1&&(Zj(),L(0,"mat-slide-toggle",0),W(1,"async"),Q("change",function(c){return b.onChange(c)}),ak(2),M());a&2&&K("checked",X(1,1,b.prefs.codeFont$))},dependencies:[FM,sK,YF,WF,py],styles:["mat-slide-toggle[_ngcontent-%COMP%] {font-size: 14px; }"],changeDetection:0});var V5=function(){};V5.\u0275fac=function(a){return new (a||V5)};V5.\u0275mod=Zi({type:V5});V5.\u0275inj=Eg({imports:[jC,FI,SL,HI,GM,aM,JL,oL]});var W5=function(){};W5.\u0275fac=function(a){return new (a||W5)};W5.\u0275mod=Zi({type:W5});W5.\u0275inj=Eg({providers:[aS],imports:[jC,lQ,FI,JL,T5,sU,uL,yQ,WV,GQ,zQ,XV,V5,MX]});var X5=function(){};X5.\u0275fac=function(a){return new (a||X5)};X5.\u0275mod=Zi({type:X5});X5.\u0275inj=Eg({imports:[jC,FI,aM]});var Y5=function(){};Y5.\u0275fac=function(a){return new (a||Y5)};Y5.\u0275mod=Zi({type:Y5});Y5.\u0275inj=Eg({imports:[rM,jC,SV,MV,GQ,XV,FI,JL,oL,MX,X5,cN,aM,UV]});var Z5=function(){};Z5.\u0275fac=function(a){return new (a||Z5)};Z5.\u0275mod=Zi({type:Z5});Z5.\u0275inj=Eg({imports:[jC,FG,FI,HI,UL,pO,zW,XF,kQ,nO]});var $5=function(){};$5.\u0275fac=function(a){return new (a||$5)};$5.\u0275mod=Zi({type:$5});$5.\u0275inj=Eg({imports:[jC,rM,HV,FI,u3,iC,oL,dW]});var a6=function(){};a6.\u0275fac=function(a){return new (a||a6)};a6.\u0275mod=Zi({type:a6});a6.\u0275inj=Eg({imports:[jC,uL,wL,jQ]});var b6=function(){};b6.\u0275fac=function(a){return new (a||b6)};b6.\u0275mod=Zi({type:b6});b6.\u0275inj=Eg({imports:[a6,jC,uL,wL,FI,jQ,QL]});var c6=function(){};c6.\u0275fac=function(a){return new (a||c6)};c6.\u0275mod=Zi({type:c6});c6.\u0275inj=Eg({imports:[rM,jC,$M]});var d6=function(){};d6.\u0275fac=function(a){return new (a||d6)};d6.\u0275mod=Zi({type:d6});d6.\u0275inj=Eg({imports:[jC,zQ,FI,JL,c6,vL,a6]});var e6=function(){};e6.\u0275fac=function(a){return new (a||e6)};e6.\u0275mod=Zi({type:e6});e6.\u0275inj=Eg({imports:[a6,jC,FI,c6]});var f6=function(){};f6.\u0275fac=function(a){return new (a||f6)};f6.\u0275mod=Zi({type:f6});f6.\u0275inj=Eg({imports:[jC,HV,b6,d6,e6,dW,eW]});var g6=function(){};g6.\u0275fac=function(a){return new (a||g6)};g6.\u0275mod=Zi({type:g6});g6.\u0275inj=Eg({imports:[HI,SL,jC,Jz,FI,rM,nU]});var h6=function(){};h6.\u0275fac=function(a){return new (a||h6)};h6.\u0275mod=Zi({type:h6});h6.\u0275inj=Eg({imports:[rM,jC]});var i6=function(){};i6.\u0275fac=function(a){return new (a||i6)};i6.\u0275mod=Zi({type:i6});i6.\u0275inj=Eg({imports:[jC,yN,FI,HI,Jz,vL,jQ,h6,cN]});var j6=function(){};j6.\u0275fac=function(a){return new (a||j6)};j6.\u0275mod=Zi({type:j6});j6.\u0275inj=Eg({imports:[WS,rM,jC,yN,g6,uL,wL,FI,JL,jQ,i6,h6]});var k6=function(){};k6.\u0275fac=function(a){return new (a||k6)};k6.\u0275mod=Zi({type:k6});k6.\u0275inj=Eg({imports:[jC,QJ,CA,FG,FI,HI,qM,GG,VV,pP,$5,W5,MV,Y5,f6,d6,vV,QL,j6,cN,oL,UV,Z5]});var Efd=function(){var a=this;this.activeSession=x(Ks);this.issueFullFridge=x(pE);this.issueDetailsBrain=x(zF);this.eventsForIssueFridge=x(wD);this.isInternalSession=this.activeSession.isInternalSession();this.issue$=this.issueDetailsBrain.id$.pipe(sj(function(b){return b?a.issueFullFridge.watch(b):li(void 0)}),Di(fe));this.commentNumberToEventMap$=this.issue$.pipe(C(function(b){return b.issueId}),sj(function(b){return a.eventsForIssueFridge.watch(b)}),C(function(b){var c;return(c=b==null?void 0:
b.events)!=null?c:[]}),C(function(b){return new Map(b.filter(function(c){return!!c.commentNumber}).map(function(c){return[c.commentNumber,c]}))}));this.relatedLinks$=si([this.issue$,this.commentNumberToEventMap$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;var e;return((e=b.relatedLinks)==null?void 0:e.map(function(f){return Object.assign({},f,{comment:d.get(f.sourceCommentNumber)})}))||[]}));this.issueReferences$=this.relatedLinks$.pipe(C(function(b){return b.filter(HOa)}));
this.imageLinks$=this.relatedLinks$.pipe(C(function(b){return b.filter(DOa)}));this.otherLinks$=this.relatedLinks$.pipe(C(function(b){return b.filter(IOa)}))};Efd.\u0275fac=function(a){return new (a||Efd)};
Efd.\u0275cmp=F({type:Efd,selectors:[["b-issue-resources"]],standalone:!1,decls:3,vars:3,consts:[[1,"carded","bg-main"],["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&&(L(0,"section",0),I(1,XUb,6,9),W(2,"async"),M());if(a&2){var c;E();J((c=X(2,1,b.issue$))?1:-1,c)}},dependencies:[EA,
K5,H5,M5,py],styles:["[_nghost-%COMP%]{display:block;padding:8px}h4[_ngcontent-%COMP%]{margin:16px 0}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var l6=function(){};l6.\u0275fac=function(a){return new (a||l6)};l6.\u0275mod=Zi({type:l6});l6.\u0275inj=Eg({imports:[jC,d6,b6,e6]});var m6=function(){var a=this;this.brain=x(zF);this.codeMentions=x(eX);this.imageUrls=x(FO);this.ROBOT_SLEEPING=this.imageUrls.ROBOT_SLEEPING;this.id$=this.brain.id$.pipe(Di(fe));this.codeMentionsState$=this.id$.pipe(sj(function(b){return I3c(a.codeMentions,b)}))};m6.prototype.displayPackageNames=function(a){return this.codeMentions.displayPackageNames(a)};m6.prototype.trackSqueegeeClick=function(){this.codeMentions.trackSqueegeeClick()};m6.\u0275fac=function(a){return new (a||m6)};
m6.\u0275cmp=F({type:m6,selectors:[["issue-todos"]],standalone:!1,decls:3,vars:3,consts:[[1,"carded","bg-main"],[1,"empty-state","layout-centered-column","gap"],[3,"issueId","packageMentionSet","displayPackageName"],[1,"margin-top"],["target","_blank",3,"click","href"],["aria-hidden","true","alt","",3,"src"],[1,"type-l"],[1,"muted"],["href","http://go/buganizer-guide/guides/issue-todos.md","target","_blank"]],template:function(a,b){a&1&&(L(0,"section",0),I(1,bVb,2,3),W(2,"async"),M());if(a&2){var c;
E();J((c=X(2,1,b.id$))?1:-1,c)}},dependencies:[wcd,py],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 n6=function(){this.cdr=x(jE,{self:!0});this.errorHandler=x(PA);this.currentUserBookmarksFridge=x(JC);this.isLoading=!1;this.hotlists=[];this.createHotlistPath=Hq.createHotlist.makeHref()};n6.prototype.ngOnInit=function(){this.fetchUserHotlists()};n6.prototype.fetchUserHotlists=function(){var a=this;this.isLoading=!0;pi(KC(this.currentUserBookmarksFridge)).then(function(b){a.hotlists=b;a.isLoading=!1;a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
n6.\u0275fac=function(a){return new (a||n6)};
n6.\u0275cmp=F({type:n6,selectors:[["list-hotlists-page"]],standalone:!1,features:[Bk([jE])],decls:8,vars:2,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],["mat-button","",1,"no-visited-no-active",3,"href"],[1,"bv2-view"],[3,"large"],[3,"hotlists"]],template:function(a,b){a&1&&(L(0,"h2",0),U(1,"Browse Hotlists"),M(),L(2,"div",1)(3,"a",2),U(4," Create Hotlist "),M()(),L(5,"div",3),I(6,cVb,1,1,"b-spinner",4)(7,dVb,1,1,"b-hotlist-grid",5),M());a&2&&(E(3),K("href",b.createHotlistPath,Ni),E(3),
J(b.isLoading?6:7))},dependencies:[y0,lL,dA,aA],encapsulation:2});var Ffd=new Set(["issueId","modifiedTime","createdTime"]),o6=function(){Z.call(this);var a=this;this.cdr=x(jE);this.routerEvents=x(mE);this.window=x(RF);this.bLocation=x(hL);this.$log=x(NA);this.issueApi=x(vD);this.hotlistApi=x(zC);this.activeSession=x(Ks);this.butterBar=x(MA);this.analytics=x(nE);this.appSearchState=x(hK);this.issuePagination=x(iY);this.userPreferencesManager=x(NF);this.urlPreferences=x(A0);this.gridPreferencesFetcher=x(C0);this.paths=x(TO);this.timeout=x(OA);this.errorHandler=x(PA);
this.statusMessages=x(rI);this.domSafe=x(SF);this.appEvents=x(EB);this.hotlistFridge=x(EC);this.issueFullFridge=x(pE);this.batchIssueRelationshipsService=x(L1);this.componentFridge=x(AB);this.currentUserBookmarksFridge=x(JC);this.implicitTriageService=x(OH);this.clearcut=x(cE);this.focusedRowIndex=this.displayColumns=null;this.isInitializing=!0;this.currentUserEmail=this.activeSession.getUserEmail();this.searchResults=null;this.hotlistChoices=[];this.hotlistMap={};this.customFieldMap={};this.gridControls=
this.cachedSort=null;this.issueColumnsInternal=[];this.metaColumns=[];this.sortPreferences=[];var b=[{keys:["j"],displayAs:"j",description:"Move to the next issue",onPress:function(){var c;(c=a.resultsGrid)==null||wzb(c)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue",onPress:function(){var c;(c=a.resultsGrid)==null||xzb(c)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var c;(c=a.resultsGrid)==null||p9c(c)}},{keys:["s"],displayAs:"s",
description:"Star/Unstar the current issue",onPress:function(){var c;(c=a.resultsGrid)==null||r9c(c)}},{keys:[lq("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var c;(c=a.resultsGrid)==null||s9c(c,!0)}},{keys:[lq("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var c;(c=a.resultsGrid)==null||s9c(c,!1)}},{keys:[mq("*","a")],displayAs:"* then a",description:"Select all issues on this page",onPress:function(){var c;(c=a.resultsGrid)==null||c.selectAll()}},
{keys:[mq("*","n")],displayAs:"* then n",description:"Deselect all issues on this page",onPress:function(){var c;(c=a.resultsGrid)==null||m9c(c)}},{keys:["a"],displayAs:"a",description:"Change assignee",onPress:function(){var c;(c=a.gridControls)==null||e_(c,null,0)}},{keys:["d"],displayAs:"d",description:"Mark as duplicate",onPress:function(){var c;(c=a.gridControls)==null||e_(c,cfa,3)}},{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var c;(c=a.gridControls)==null||c.openHotlistPicker()}},
{keys:["r"],displayAs:"r",description:"Add comment",onPress:function(){var c;(c=a.gridControls)==null||g7c(c)}},{keys:["u",lq("r")],displayAs:"u / Shift+r",description:"Refresh search results",onPress:function(){return a.refreshResults()}},{keys:[mq("p","0"),mq("p","1"),mq("p","2"),mq("p","3"),mq("p","4")],displayAs:"p <n>",description:"Mark selected issues as priority n",onPress:function(c){a.resultsGrid&&a.sendBulkEditRequest([{actions:[{fieldName:"priority",value:"P"+c}],issueIds:a.resultsGrid.getSelectedIssues().map(function(d){return d.issueId})}])}},
{keys:[RPa("ENTER")],displayAs:"Ctrl+Enter",description:"Open current issue in new tab",onPress:function(){var c=a.window.document.activeElement;if(c.tagName==="A"){var d=a.paths.getBaseUrl();if(c.href&&!c.href.startsWith(d)){a.domSafe.openInNewTab(c.href);return}}var e;(e=a.resultsGrid)==null||i0(e,{openInNewTab:!0})}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(c){var d=a.window.document.activeElement,e;if(d){var f=(e=Xsa(h0))==null?void 0:e.selector;
e=f?(d==null?void 0:d.closest(f))!=null:!1}else e=!1;if(c===1&&d.tagName==="A")if(d.href)c=a.paths.getBaseUrl(),d.href.startsWith(c)?a.bLocation.setUrl(d.href.slice(c.length)):a.domSafe.openInNewTab(d.href);else{var h;(h=a.resultsGrid)==null||i0(h)}else if(c===2){var k;(k=a.resultsGrid)==null||i0(k,{openInNewTab:!0})}else if(e){var q;(q=a.resultsGrid)==null||i0(q)}}}];Cx(this.activeSession,"enableIssueSidebar")&&b.push({keys:[lq("o"),lq("ENTER")],displayAs:"Shift+o / Shift+Enter",description:"Toggle current issue in sidebar",
onPress:function(c){var d=a.window.document.activeElement;c===1&&d.tagName==="A"&&d.href?yp(a.domSafe,d.href):(c=a.resultsGrid)!=null&&(c.isIssueSidebarOpen=!c.isIssueSidebarOpen,c.cdr.detectChanges())}});this.BASE_HOTKEYS=b};Y(o6,Z);
o6.prototype.ngOnInit=function(){var a=this;Gfd(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(tj(this.destroyed$)).subscribe(function(){Gfd(a)})};var Hfd=function(a){var b=[].concat(p(h8c));a.activeSession.isInternalSession()&&(a=b.indexOf("issueId"),b.splice(a,0,"minSlo"));return b.map(Yr).filter(fe)};
o6.prototype.fetchUserHotlists=function(){var a=this;pi(KC(this.currentUserBookmarksFridge)).then(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=a.hotlistMap[c.hotlistId];vd(d,c)||(d&&Fa(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var Gfd=function(a){return Ifd(a).then(function(){return a.getIssues()}).then(function(){return a.searchResults?(a.subscribeToIssueChanges(a.searchResults.issues),Jfd(a,a.searchResults.startIndex,a.searchResults.endIndex)):Promise.resolve()}).finally(function(){a.cdr.detectChanges()})};
o6.prototype.subscribeToIssueChanges=function(a){var b=this,c;(c=this.issueSubscriptions)==null||c.unsubscribe();this.issueSubscriptions=new Yh;a=l(a);for(c=a.next();!c.done;c=a.next())this.issueSubscriptions.add(this.issueFullFridge.watch(c.value.id).pipe(Di(fe),tj(this.destroyed$)).subscribe(function(d){var e,f;return v(function(h){switch(h.nextAddress){case 1:if(!b.searchResults){h.jumpTo(2);break}if(!d.snapshot[0].componentId){e=void 0;h.jumpTo(3);break}return w(h,pi(b.componentFridge.watch(d.snapshot[0].componentId,
{trustUncertainMemory:!0})),4);case 4:e=h.yieldResult;case 3:f=e;if(!f||!b.searchResults)return h.return();w4c(b.searchResults,[{issue:d,component:f}]);b.searchResults=b.searchResults.clone();case 2:b.cdr.detectChanges(),ji(h)}})}))};
var Kfd=function(a){return a.window.document.activeElement!=null&&a.window.document.activeElement!==a.window.document.body},Ifd=function(a){var b=Cf();Kfd(a)&&a.window.document.activeElement.blur();a.timeout.schedule(function(){b.resolve()});return b.promise},Jfd=function(a,b,c){var d=Cf();Kfd(a)||Lfd(a,b,c);a.timeout.schedule(function(){d.resolve()});return d.promise},Mfd=function(a,b){if(b.maySkipResults){b=pd(["Too many matching results. Some issues may be omitted.",qd("br"),"Please try to restrict your search further or change the sort column to either CREATED or LAST MODIFIED. "]);
var c={};c=qd("a",(c.href="http://go/buganizer-faq#restrict-search",c),"go/buganizer-faq");c=pd([qd("br"),"See ",c," for more details."]);b=a.activeSession.isInternalSession()?od([b,c]):b;Kqc(a.butterBar,b)}};g=o6.prototype;
g.setSort=function(a,b,c){c=c===void 0?!0:c;var d=Yr(a);if(d){var e=new $r(d,b==="ASC"?"ASCENDING":"DESCENDING");Ga(this.sortPreferences,function(f){return vd(f.fieldId,e.fieldId)});!c||Ffd.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:a.fieldId.type==="CUSTOM_FIELD"?String(a.fieldId.customFieldId):zd(a.fieldId.type),direction:a.direction==="ASCENDING"?"ASC":"DESC"};vd(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.saveSortColumns=function(a){B0(this.urlPreferences,{sortColumns:a,page:1})};
g.initColumns=function(a,b){var c=this;b=b===void 0?o6.DEFAULT_META_COLUMNS:b;a.then(function(d){c.displayColumns=d;c.metaColumns=b;c.isColumnSaveEnabled=!0;c.issueColumnsInternal=[].concat(p(b),p(jvb(d)));c.cdr.detectChanges()})};g.saveColumns=function(a){this.displayColumns=a.map(function(b){return Yr(b.name)});B0(this.urlPreferences,{displayColumns:this.displayColumns})};
g.goToIssue=function(a,b,c){var d;c&&((d=c.target)==null?void 0:d.tagName)==="A"||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"viewIssue",b?"read":"unread"),a=Jq(a),c&&(c.ctrlKey||c.metaKey||c.button===1)?this.domSafe.openInNewTab(a):c&&c.shiftKey?yp(this.domSafe,a):this.bLocation.setUrl(a))};g.goToPage=function(a){this.bLocation.search("p",a)};var Es=function(a,b,c){b!==void 0&&a.goToPage(b+c)};o6.prototype.refreshResults=function(){E4c(this.issuePagination);return Gfd(this)};
o6.prototype.hasResults=function(){return this.searchResults&&this.searchResults.issues.length>0};
o6.prototype.sendBulkEditRequest=function(a,b){var c=this;if(a.length===1&&a[0].actions.length===1&&a[0].actions[0].fieldName==="readState"){var d=!!a[0].actions[0].value;b=l(a[0].issueIds);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=void 0;(f=this.searchResults)==null||x4c(f,e,d)}this.cdr.detectChanges();hq(this.butterBar,"Saving changes...",0);return rE(this.issueFullFridge,a[0].issueIds,{markRead:d,userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(q){for(var u=l(a[0].issueIds),
A=u.next();!A.done;A=u.next()){A=A.value;var D=void 0,H=void 0;(D=c.searchResults)==null||x4c(D,A,void 0,(H=q)!=null?H:null)}hq(c.butterBar,"Successfully marked issues "+(d?"read.":"unread."))}).catch(function(q){for(var u=l(a[0].issueIds),A=u.next();!A.done;A=u.next()){A=A.value;var D=void 0;(D=c.searchResults)==null||x4c(D,A)}c.errorHandler.errorHandler(null,q)}).finally(function(){c.cdr.detectChanges()})}e=HLa(a).map(function(q){return q.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,
"bulkEdit",e.join(","));var h={bulkEditOps:a};hq(this.butterBar,"Saving changes...",0);if(a.length===1&&a[0].actions.length===1&&a[0].actions[0].fieldName==="parentId")return this.batchIssueRelationshipsService.bulkEdit(a[0]).then(function(q){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var u=l(c.searchResults.issues.entries()),A=u.next();!A.done;A=u.next()){var D=l(A.value);A=D.next().value;D=D.next().value;q.finishedIssues[D.issueId]&&(A=c.searchResults.issues[A],Pfb(A,q.finishedIssues[D.issueId],
null),c.loadHotlists(A),Object.assign(c.customFieldMap,A.customFieldMap))}c.cdr.detectChanges()}D=a[0];u=q.notFinishedIssueIds;A=String(D.actions[0].value);D=D.actions[0].actionType;if(D!=="ADD"&&D!=="REMOVE")throw Error("gf");u.length?(c.butterBar.showWarning("Failed to update issue(s) "+u.join(", ")+"."),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+u.length)):hq(c.butterBar,(D==="ADD"?"Added child issue(s) to parent ["+A+"]":"Removed child issue(s) from parent ["+A+"]")+" on "+
String(Object.keys(q.finishedIssues).length)+" issues.");c.cdr.detectChanges()}).catch(function(q){c.errorHandler.errorHandler(null,q)});var k=new Date;return this.issueApi.issueBulkEdit(h,b).then(function(q){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var u=l(c.searchResults.issues.entries()),A=u.next();!A.done;A=u.next()){var D=l(A.value);A=D.next().value;D=D.next().value;if(q.affectedIssues[D.issueId]){D=q.affectedIssues[D.issueId];var H=Aa(D.snapshot).componentId;A=c.searchResults.issues[A];
Pfb(A,D,H?q.componentMap[H]:void 0);c.loadHotlists(A);Object.assign(c.customFieldMap,A.customFieldMap)}}c.cdr.detectChanges()}Nfd(c,h,q,k);u=new Map;A=l(h.bulkEditOps);for(D=A.next();!D.done;D=A.next()){D=D.value;H=l(D.issueIds);for(var O=H.next();!O.done;O=H.next()){O=O.value;var P=void 0,S=(P=u.get(O))!=null?P:[];S.push.apply(S,p(D.actions));u.set(O,S)}}var aa;q=l((aa=q.errors)!=null?aa:[]);for(aa=q.next();!aa.done;aa=q.next())u.delete(aa.value.issueId);aa=l(u.entries());for(q=aa.next();!q.done;q=
aa.next())u=l(q.value),q=u.next().value,u=u.next().value,pCc(c.implicitTriageService,q,u);c.cdr.detectChanges()}).catch(function(q){c.errorHandler.errorHandler(null,q)})};
var Nfd=function(a,b,c,d){b.bulkEditOps.every(function(e){return e.actions.every(function(f){return(f.actionType==="ADD"||f.actionType==="REMOVE")&&f.fieldName==="hotlists"})})&&d&&dE(a.clearcut,(new Date).getTime()-d.getTime(),"issueBulkEditApiCall-hotlistEditTime");c.errors&&c.errors.length?(b="Failed to update issue(s) "+(jg(c.errors)+"."),a.butterBar.showWarning(b),a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"bulkEditError",""+c.errors.length)):(c=DDc(a.statusMessages,b,a.customFieldMap))?(d&&
dE(a.clearcut,(new Date).getTime()-d.getTime(),"issueBulkEditApiCall-fromIssueListPage"),hq(a.butterBar,c)):hq(a.butterBar,"Saved "+ILa(b.bulkEditOps).length+" issue(s).")};g=o6.prototype;
g.loadHotlists=function(a){var b=this;a=l(a?[a]:this.searchResults?this.searchResults.issues:[]);for(var c=a.next();!c.done;c=a.next()){c=c.value;if(!c.hotlistId)break;c=l(c.hotlistId);for(var d=c.next();!d.done;d=c.next())d=d.value,this.hotlistMap[d]||this.hotlistApi.get(d).then(function(e){b.hotlistFridge.announce(e);b.addHotlist(e)}).catch(function(){})}};g.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
g.createHotlist=function(a){var b=this;var c=a.name;var d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"createHotlist");hq(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);hq(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;var c=a.hotlistId;var d=a.successCallback;a=a.errorCallback;hq(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(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"exportCsv");TF(this.domSafe,this.getCsvUrl())};
g.saveResultsPerPage=function(a){var b=this;this.userPreferencesManager.save({resultsPerPage:a}).pipe(tj(this.destroyed$)).subscribe(function(){b.resultsPerPage=a;B0(b.urlPreferences,{page:1});b.analytics.trackEvent(b.ANALYTICS_CATEGORY,"resultsPerPageSave",a.toString());b.refreshResults();b.cdr.detectChanges()},function(c){me(c)})};
var Lfd=function(a,b,c){var d=a.issuePagination.getFocusedIssue();a.timeout.schedule(function(){if(d>=b&&d<=c)a.focusedRowIndex=d-b;else{G4c(a.issuePagination);a.focusedRowIndex=0;var e=document.querySelector(".bv2-view");e&&(e.scrollTop=0)}a.cdr.detectChanges()})};o6.prototype.onColumnsChange=function(){Ofd()};var Ofd=function(){setTimeout(function(){var a=document.querySelector(".b-select-all-toggle");a&&a.focus()})};
pg.Object.defineProperties(o6.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){vd(this.issueColumnsInternal,a)||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"columnModification",FGa(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)))}}});o6.DEFAULT_META_COLUMNS=[j0,k0,l0];
o6.\u0275fac=function(a){return new (a||o6)};o6.\u0275dir=$i({type:o6,features:[xj]});var hVb=function(){return{q:"status:open"}},p6=function(){o6.apply(this,arguments);this.hotkeys=x(BL);this.pageTitle=x(jY);this.routePerformance=x(qX);this.element=x(Ph);this.imageUrls=x(FO);this.ANALYTICS_CATEGORY="listIssues";this.isLoading=!0;this.showHotlists=!1;this.SPACE_EMPTY_STATE=this.imageUrls.SPACE_EMPTY_STATE;this.currentTracker=this.activeSession.getTracker();this.cancelConcurrentlyRunningSearches$=new oj};Y(p6,o6);p6.\u0275dir=o6.\u0275dir;g=p6.prototype;
g.ngOnInit=function(){var a=this;o6.prototype.ngOnInit.call(this);this.subscriptions.add(CL(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]),this.butterBar.showWarning(b));this.query=this.urlPreferences.getQuery();if(!this.query)return this.activeSession.isAnonymous()?(this.query="",iK(this.appSearchState,this.query),this.searchResults=null,this.setPageTitle(),this.isLoading=!1):(this.routePerformance.ignoringNextNav=!0,B0(this.urlPreferences,{query:"assignee:"+this.currentUserEmail+" status:open"},!0)),Promise.resolve(void 0);iK(this.appSearchState,
this.query);b=aJc(this.appSearchState);if(b>0)return MJc(this.bLocation,Hq.viewHotlist.makeHref(b)),B0(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);if(b=bJc(this.appSearchState))return MJc(this.bLocation,this.paths.viewSavedSearch(b)),B0(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);this.searchResults=null;this.isLoading=!0;this.setPageTitle();this.subscriptions.add(vi(Ai(0).pipe(Opa()),aza("b-issues-grid, #no-results",this.element.nativeElement)).subscribe(function(){var c=
function(){X3c(a.routePerformance,"issue-list-w-results")};requestAnimationFrame(c);setTimeout(c)}));return this.doSearch().then(function(c){c&&(a.isLoading=!1,a.cdr.detectChanges())}).catch(function(){a.isLoading=!1;a.cdr.detectChanges()})};
g.doSearch=function(){var a=this;this.cancelConcurrentlyRunningSearches$.next(new Pfd);var b=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:Hfd(this)}),c=Promise.race([b.searchPreferences.then(function(f){f=wd(f);f.query=a.query;f.returnUrl=a.bLocation.getUrl();f.trackerIds=a.appSearchState.currentTrackerScope;return B4c(a.issuePagination,f)}),pi(this.cancelConcurrentlyRunningSearches$)]),d;((d=this.query)==null?0:d.includes("teamid:"))&&this.analytics.trackEvent(this.ANALYTICS_CATEGORY,
"searchByTeam");var e;((e=this.query)==null?0:e.includes("componentid:"))&&this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"searchByComponent");c.then(function(f){f instanceof Pfd||Mfd(a,f)}).catch(function(f){typeof f==="number"?B0(a.urlPreferences,{page:f}):a.errorHandler.errorHandler(null,f)});b=b.displayColumns;this.initColumns(b);return Eq({searchResultsPage:c,displayColumns:b}).then(function(f){var h=f.searchResultsPage;if(h instanceof Pfd)return!1;a.searchResults=h;a.page=h.params.page;a.sortPreferences=
h.params.sortColumns||[];a.loadHotlists();a.cdr.detectChanges();a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"issueSearch",f.displayColumns.join("|")+" ("+a.sortPreferences.join("|")+")");return!0})};g.saveColumns=function(a){this.displayColumns=a.map(function(b){return Yr(b.name)});xzc(this.userPreferencesManager,kvb(a)).pipe(tj(this.destroyed$)).subscribe()};
g.setPageTitle=function(){this.appSearchState.currentQuery===YIc(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===$Ic(this.currentUserEmail)?this.pageTitle.setTitle("To be verified"):this.pageTitle.setTitle(this.query)};
g.saveSortColumns=function(a){var b=this,c=this.bLocation.search(),d=a.map(function(e){return{column:e.fieldId,order:e.direction}});this.userPreferencesManager.saveSortColumns(d).pipe(tj(this.destroyed$)).subscribe(function(){B0(b.urlPreferences,{sortColumns:a,page:1});Ofd();var e=b.bLocation.search();vd(c,e)&&b.refreshResults()})};g.getCsvUrl=function(){return AXa(this.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
p6.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(p6)))(b||p6)}}();
p6.\u0275cmp=F({type:p6,selectors:[["list-issues-page"]],standalone:!1,features:[Bk([jE]),xj],decls:10,vars:7,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[3,"init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv","grid","hotlistChoices"],[1,"bv2-appbar-right"],[3,"pageChange","resultsPerPageChange","searchResults"],[1,"bv2-view"],[1,"bv2-view-loading"],["id","no-results","tabindex","-1",1,"bv2-view-loading","layout-centered-column","gap",3,"bFocus"],[1,"bv2-grid-container"],
["aria-hidden","true","alt","",1,"empty-state-img",3,"src"],["routerLink","/issues",3,"queryParams"],["href","https://developers.google.com/issue-tracker/concepts/searches","target","_blank"],[3,"init","columnsChange","sortChange","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"]],template:function(a,b){a&1&&(L(0,"h2",0),U(1,"Issue search results"),M(),L(2,"div",1)(3,"b-grid-controls",2),Q("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()}),M(),L(4,"div",3)(5,"b-pagination",4),Q("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return b.saveResultsPerPage(c.option)}),M()()(),L(6,"div",5),I(7,eVb,4,1,"div",
6),I(8,kVb,6,4,"div",7),I(9,lVb,2,6,"div",8),M());a&2&&(E(3),K("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),E(2),K("searchResults",b.searchResults),E(),Hj("aria-busy",b.isLoading),E(),J(b.isLoading?7:-1),E(),J(b.isLoading||b.hasResults()?-1:8),E(),J(!b.isLoading&&b.hasResults()?9:-1))},dependencies:[o0,b1,h0,bC,lL,oP],styles:[".empty-state-img[_ngcontent-%COMP%]{max-width:320px;max-height:320px;padding-bottom:56px}/*# sourceMappingURL=list_issues.css.map */"]});
var Pfd=function(){},q6=function(){};q6.\u0275fac=function(a){return new (a||q6)};q6.\u0275mod=Zi({type:q6});q6.\u0275inj=Eg({imports:[x0,c1,Z0,uM,jC,oL,pP,FG,KL,zX,FW]});var r6=function(){this.cdr=x(jE,{self:!0});this.sloApi=x(dF);this.errorHandler=x(PA);this.activeSession=x(Ks);this.isLoading=!1;this.activeSlos=[];this.archivedSlos=[];this.createSloPath=Hq.createSlo.makeHref();this.sloEnabled=this.activeSession.isInternalSession();this.areArchivedSlosExpanded=!1};r6.prototype.ngOnInit=function(){this.sloEnabled&&Qfd(this)};
var Qfd=function(a){a.isLoading=!0;a.sloApi.getOwnedSlos().then(function(b){a.activeSlos=b.filter(function(c){return!c.isArchived});a.archivedSlos=b.filter(function(c){return c.isArchived});a.isLoading=!1;a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};r6.\u0275fac=function(a){return new (a||r6)};
r6.\u0275cmp=F({type:r6,selectors:[["list-slos-page"]],standalone:!1,features:[Bk([jE])],decls:7,vars:3,consts:[[1,"kd-appbar","kd-buttonbar"],["mat-button","",1,"no-visited-no-active",3,"href"],[1,"bv2-view"],[1,"padded-sides"],[3,"large"],[1,"muted"],[3,"slos"],[1,"slos-note"],["type","button",1,"unstyled-button","clickable-row",2,"width","100%",3,"click"],[1,"margined"],[1,"icon-s","vertical-centered",3,"svgIcon"],[1,"conditional-slo-grid"],[1,"muted","padded"]],template:function(a,b){a&1&&(L(0,
"div",0)(1,"a",1),U(2," Create SLO "),M()(),L(3,"div",2),I(4,mVb,5,0,"div",3),I(5,nVb,1,1,"b-spinner",4)(6,tVb,7,6),M());a&2&&(E(),K("href",b.createSloPath,Ni),E(3),J(b.sloEnabled?4:-1),E(),J(b.isLoading?5:6))},dependencies:[EA,dA,aA,G1,lL],encapsulation:2});var Dza=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Dza,n);g=Dza.prototype;g.getAuthor=function(){return r(this,Ud,1)};g.setAuthor=function(a){t(this,Ud,1,a)};g.hasAuthor=function(){return Me(this,Ud,1)};g.getTimestamp=function(){return r(this,ue,2)};g.setTimestamp=function(a){return t(this,ue,2,a)};g.hasTimestamp=function(){return Me(this,ue,2)};g.getAdd=function(){return r(this,Ln,3)};g.setAdd=function(a){return t(this,Ln,3,a)};
g.getRemove=function(){return r(this,Ln,4)};g.setRemove=function(a){return t(this,Ln,4,a)};g.getAddMask=function(){return r(this,wo,5)};g.getMutableAddMask=function(){return Pu(this,wo,5)};g.setAddMask=function(a){return t(this,wo,5,a)};g.getRemoveMask=function(){return r(this,wo,6)};g.getMutableRemoveMask=function(){return Pu(this,wo,6)};g.setRemoveMask=function(a){return t(this,wo,6,a)};var Rfd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Rfd,n);var s6=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,s6.messageId)};Y(s6,n);s6.prototype.getIt=function(){return r(this,Rfd,2,Kc)};s6.prototype.setIt=function(a){return t(this,Rfd,2,a,Kc)};s6.messageId="b.ComponentHistory";var t6=function(){this.executor=x(fy);this.bCacheFactory=x(rC);this.componentHistoriesCache=this.bCacheFactory.get("component_histories-second-level-cache")||this.bCacheFactory.create("component_histories-second-level-cache",{capacity:25})};t6.prototype.get=function(a){var b=this.componentHistoriesCache.get(a);return b?b:this.componentHistoriesCache.put(a,this.executor.get({url:"action/component_updates/"+a,responseConstructor:s6}).then(Eza))};
t6.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};t6.prototype.invalidateCache=function(a){this.componentHistoriesCache.remove(a)};t6.\u0275fac=function(a){return new (a||t6)};t6.\u0275prov=Dg({token:t6,factory:t6.\u0275fac,providedIn:"root"});var Sfd=["nameInput"],Tfd=function(){return["delimiter"]},yVb=function(a,b){return b.key},Ufd={type:"delimiter",text:"Fields inherited from parent components"},Vfd={type:"delimiter",text:"Shared Custom fields"},u6=function(){this.constants=x(oI);this.fb=(new EG).nonNullable;this.issueTypeToDisplay=Ld;this.displayedColumns="visibility name id type description required default".split(" ");this.trackBy=function(a,b){return b.type==="customField"?""+b.customField.customFieldId:b.text};this.isDelimiterRow=
function(a,b){return b.type==="delimiter"};this.isCustomFieldRow=function(a,b){return b.type==="customField"};this.existingConfiguredIssueTypes=new Set;this.onSave=new iE;this.onCancel=new iE;this.conflictingIssueTypes$=li("")};
u6.prototype.ngOnInit=function(){var a=this,b,c;this.owningComponentId=(c=(b=this.configUnderEdit)==null?void 0:b.componentId)!=null?c:this.currentComponentId;this.customFieldsMap=new Map(this.customFields.map(function(f){return[f.customFieldId,f]}));this.hideIssueTypes=this.disallowIssueTypes||this.configUnderEdit!==void 0&&this.configUnderEdit.issueTypes.size===0;var d,e;this.nameForm=this.fb.control((e=(d=this.configUnderEdit)==null?void 0:d.name)!=null?e:"",[zp]);this.issueTypesForms=Wfd(this);
Xfd(this);this.validationForm=this.fb.group({name:this.nameForm,issueTypes:this.fb.array(Array.from(this.issueTypesForms.values())),customFieldConfigs:this.fb.array(this.customFieldRows.map(function(f){return f.formControl}))},{validators:[function(f){return a.hideIssueTypes||f.get("issueTypes").controls.some(function(h){return h.value})?null:{missingRequiredIssueTypes:!0}}]});this.partialVisibilityState$=new $n(this.getVisibilityState(this.validationForm.controls.customFieldConfigs.value));this.validationForm.controls.customFieldConfigs.valueChanges.subscribe(function(f){a.partialVisibilityState$.next(a.getVisibilityState(f))});
this.isReadOnly?this.validationForm.disable():this.conflictingIssueTypes$=this.validationForm.controls.issueTypes.valueChanges.pipe(rj(this.issueTypesForms),C(function(){return Array.from(a.issueTypesForms.entries()).filter(function(f){var h=l(f);f=h.next().value;return h.next().value.value&&a.existingConfiguredIssueTypes.has(f)}).map(function(f){f=l(f).next().value;return Ld(f)}).join(", ")}))};u6.prototype.ngAfterViewInit=function(){this.isReadOnly||this.nameInput.nativeElement.focus()};
u6.prototype.getVisibilityState=function(a){var b=a.some(function(c){return c});a=a.some(function(c){return!c});return b&&a?"some":b?"all":"none"};
var Yfd=function(a){return{name:a.nameForm.value,issueTypes:new Set([].concat(p(a.issueTypesForms.entries())).filter(function(b){b=l(b);b.next();return b.next().value.value}).map(function(b){return l(b).next().value})),customFieldConfigs:new Map(a.customFieldRows.map(function(b){return[b.customField.customFieldId,b.formControl.value]}))}},Xfd=function(a){var b,c,d=(c=(b=a.configUnderEdit)==null?void 0:b.customFieldConfigs)!=null?c:new Map;a.customFieldRows=a.customFields.filter(function(f){return a.customFieldsMap.has(f.customFieldId)}).map(function(f){var h;
return{type:"customField",customField:f,formControl:a.fb.control((h=d.get(f.customFieldId))!=null?h:!0)}});var e=function(f,h){return f.customField.name.localeCompare(h.customField.name)};b=a.customFieldRows.filter(function(f){return f.customField.shared}).sort(e);c=a.customFieldRows.filter(function(f){return!f.customField.shared&&f.customField.componentId===a.owningComponentId}).sort(e);e=a.customFieldRows.filter(function(f){return!f.customField.shared&&f.customField.componentId!==a.owningComponentId}).sort(e);
a.tableRows=[].concat(p(c),p(e.length>0?[Ufd]:[]),p(e),p(b.length>0?[Vfd]:[]),p(b))},Wfd=function(a){var b,c,d=(c=(b=a.configUnderEdit)==null?void 0:b.issueTypes)!=null?c:new Set;return new Map(a.constants.editIssueTypes.map(function(e){var f;return[e,a.fb.control((f=d.has(e))!=null?f:!1)]}))};u6.prototype.cancel=function(){this.onCancel.emit()};u6.prototype.save=function(){this.onSave.emit(Yfd(this))};u6.\u0275fac=function(a){return new (a||u6)};
u6.\u0275cmp=F({type:u6,selectors:[["b-field-configuration-editor"]],viewQuery:function(a,b){a&1&&ek(Sfd,5);if(a&2){var c;ik(c=jk())&&(b.nameInput=c.first)}},inputs:{currentComponentId:"currentComponentId",customFields:"customFields",disallowIssueTypes:"disallowIssueTypes",configUnderEdit:"configUnderEdit",isReadOnly:"isReadOnly",existingConfiguredIssueTypes:"existingConfiguredIssueTypes"},outputs:{onSave:"onSave",onCancel:"onCancel"},standalone:!1,decls:41,vars:15,consts:[["nameInput",""],[1,"top-row"],
["appearance","outline","subscriptSizing","dynamic",1,"field-configuration-name-field"],["matInput","","type","text","required","","aria-required","true","autocomplete","off",3,"formControl"],["type","button","mat-stroked-button","",1,"medium","cancel",3,"click"],["type","button","mat-flat-button","","color","primary",1,"medium","save",3,"disabled"],[1,"custom-field-selections"],["mat-table","",3,"dataSource","trackBy"],["matColumnDef","delimiter"],["mat-cell","",4,"matCellDef"],["matColumnDef","visibility"],
["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","name"],["matColumnDef","id"],["matColumnDef","type"],["matColumnDef","description"],["matColumnDef","required"],["matColumnDef","default"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"disabled-field",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["type","button","mat-flat-button","","color","primary",1,"medium","save",3,"click","disabled"],["messageType","caution"],
[1,"issue-type-header"],[1,"issue-type-description"],[1,"issue-type-checkboxes"],[3,"formControl"],[1,"flex-kids-x","align-items-center","gap-s"],[1,"icon-s","muted",3,"svgIcon"],["mat-cell",""],["mat-header-cell",""],["aria-label","All Fields Visibility",1,"all-visibility-checkbox",3,"change","disabled","checked","indeterminate"],["aria-label","Field visibility",1,"visibility-checkbox",3,"formControl"],[3,"customFieldValue"],["mat-header-row",""],["mat-row",""]],template:function(a,b){if(a&1){var c=
y();L(0,"div")(1,"div",1)(2,"mat-form-field",2)(3,"mat-label");U(4," Configuration name ");M();N(5,"input",3,0);M();L(7,"button",4);Q("click",function(){z(c);return B(b.cancel())});U(8);M();I(9,uVb,2,1,"button",5);M();I(10,zVb,10,5);Wj(11);W(12,"async");L(13,"div",6)(14,"table",7);Sj(15,8);G(16,AVb,3,2,"td",9);Tj();Sj(17,10);G(18,BVb,3,3,"th",11)(19,CVb,2,1,"td",9);Tj();Sj(20,12);G(21,DVb,2,0,"th",11)(22,EVb,2,1,"td",9);Tj();Sj(23,13);G(24,FVb,2,0,"th",11)(25,GVb,3,1,"td",9);Tj();Sj(26,14);G(27,HVb,
2,0,"th",11)(28,IVb,3,3,"td",9);Tj();Sj(29,15);G(30,JVb,2,0,"th",11)(31,KVb,2,1,"td",9);Tj();Sj(32,16);G(33,LVb,2,0,"th",11)(34,MVb,3,3,"td",9);Tj();Sj(35,17);G(36,NVb,2,0,"th",11)(37,OVb,2,1,"td",9);Tj();G(38,PVb,1,0,"tr",18)(39,QVb,1,2,"tr",19)(40,RVb,1,0,"tr",20);M()()()}a&2&&(E(5),K("formControl",b.nameForm),E(3),V(" ",b.isReadOnly?"Close":"Cancel"," "),E(),J(b.isReadOnly?-1:9),E(),J(b.hideIssueTypes?-1:10),E(),Xj(X(12,11,b.partialVisibilityState$)),E(3),K("dataSource",b.tableRows)("trackBy",
b.trackBy),E(24),K("matHeaderRowDef",b.displayedColumns),E(),K("matRowDefColumns",b.displayedColumns)("matRowDefWhen",b.isCustomFieldRow),E(),K("matRowDefColumns",Ck(14,Tfd))("matRowDefWhen",b.isDelimiterRow))},dependencies:[EA,sM,tM,RZ,Bp,hG,AG,dA,aA,aG,HG,oO,mH,eH,YG,TL,RP,eL,SK,YK,UK,RK,$K,VK,XK,aL,cL,uG,UM,XM,py,uy],styles:[".issue-type-checkboxes[_ngcontent-%COMP%]{display:grid;gap:8px;grid-template-columns:1fr 1fr 1fr 1fr;margin:16px}.field-configuration-name-field[_ngcontent-%COMP%]{width:100%;margin:16px 0px}.issue-type-description[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted);margin-bottom:8px}.top-row[_ngcontent-%COMP%]{width:100%;display:flex;gap:8px;align-items:center}.top-row[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{flex-grow:4}.top-row[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{min-width:200px}tr.disabled-field[_ngcontent-%COMP%]{opacity:.6}"],
changeDetection:0});var v6=function(){this.dialogData=x(dI);this.dialogRef=x(YH);this.originalItems=this.dialogData.configs.map(function(a){return{name:a.name,data:a}});this.items=[].concat(p(this.originalItems));this.hasChanges=!1};v6.prototype.onClose=function(){var a=this.items.map(function(b){return b.data});this.dialogRef.close(a)};v6.\u0275fac=function(a){return new (a||v6)};
v6.\u0275cmp=F({type:v6,selectors:[["b-field-configuration-reorder-dialog"]],standalone:!1,decls:11,vars:2,consts:[["reorderItems",""],["mat-dialog-title",""],[1,"margin-none"],["mat-dialog-content",""],[3,"items","hasChanges","originalItems"],["mat-dialog-actions",""],["type","button","mat-stroked-button","",1,"medium","cancel",3,"click"],["type","button","mat-flat-button","","color","primary",1,"medium","dialog-primary-action","save",3,"click","disabled"]],template:function(a,b){if(a&1){var c=y();
L(0,"div",1)(1,"h1",2);U(2," Reorder Field Configurations ");M()();L(3,"div",3)(4,"b-reorder-items",4,0);Q("items",function(d){z(c);return B(b.items=d)})("hasChanges",function(d){z(c);return B(b.hasChanges=d)});M()();L(6,"div",5)(7,"button",6);Q("click",function(){z(c);return B(b.dialogRef.close())});U(8," Cancel ");M();L(9,"button",7);Q("click",function(){z(c);return B(b.onClose())});U(10," Save ");M()()}a&2&&(E(4),K("originalItems",b.originalItems),E(5),K("disabled",!b.hasChanges))},dependencies:[dA,
aA,hI,jI,iI,tT],encapsulation:2,changeDetection:0});var FWb=function(){return["section-title"]},gWb=function(a){return{row:a}},Zfd={text:"Typed configurations inherited by this component",rowType:"sectionTitle"},$fd={text:"Default configurations inherited by this component",rowType:"sectionTitle"},agd={text:"Default configuration owned by this component",rowType:"sectionTitle"},w6=function(){this.matDialog=x(eI);this.confirmationDialog=x(lI);this.fieldConfigService=x(R2);this.butterBar=x(MA);this.appEvents=x(EB);this.constants=x(oI);this.documentationLinks=
x(XH);this.activeSession=x(Ks);this.isInternalSession=this.activeSession.isInternalSession();this.ROUTES=Hq;this.issueTypeToDisplay=Ld;this.componentIds=[];this.componentIdsToPaths={};this.currentComponentConfigs=[];this.ownDefaultFieldConfig=void 0;this.ownTypedFieldConfigs=[];this.customFields=[];this.allTableRows$=new $n([]);this.state$=new $n({view:"list"});this.displayedColumns=["name","types","inherited-from","actions"];this.isSectionTitleRow=function(a,b){return b.rowType==="sectionTitle"}};
w6.prototype.ngOnInit=function(){var a;this.componentIds=[].concat(p((a=this.componentPathInfo.componentPathId)!=null?a:[])).reverse();this.currentComponentId=this.componentIds[0];var b;this.customFields=(b=this.componentPathInfo.allCustomField)!=null?b:[];a=this.componentPathInfo;b={};var c=[],d,e=(d=a.componentPathId)!=null?d:[];for(d=0;d<e.length;d++){var f=e[d];c.push(a.componentPathName[d]);b[f]=c.join(" > ")}this.componentIdsToPaths=b;var h;a=(h=this.componentPathInfo.fieldConfigsV2Map.get(this.currentComponentId))!=
null?h:[];bgd(this,a)};
var bgd=function(a,b){a.currentComponentConfigs=b;a.ownDefaultFieldConfig=void 0;var c=[];b=[];for(var d=[],e=l(a.componentIds),f=e.next();!f.done;f=e.next()){f=f.value;var h=f===a.currentComponentId?a.currentComponentConfigs:a.componentPathInfo.fieldConfigsV2Map.get(f);if(h)if(f===a.currentComponentId)for(f=l(h),h=f.next();!h.done;h=f.next())h=h.value,h.issueTypes.size?b.push(h):a.ownDefaultFieldConfig=h;else for(f=l(h),h=f.next();!h.done;h=f.next())h=h.value,h.issueTypes.size?d.push(h):c.push(h)}e=
[];b.length>0&&e.push.apply(e,p(cgd(a,b)));d.length>0&&(e.push(Zfd),e.push.apply(e,p(cgd(a,d))));a.ownDefaultFieldConfig&&(e.push(agd),e.push.apply(e,p(cgd(a,[a.ownDefaultFieldConfig]))));c.length>0&&(e.push($fd),e.push.apply(e,p(cgd(a,c))));c=new Set;d=e.filter(function(q){return q.rowType==="fieldConfig"});d=l(d);for(f=d.next();!f.done;f=d.next())if(f=f.value,f.issueTypes&&f.effectiveIssueTypes){h=l(f.issueTypes);for(var k=h.next();!k.done;k=h.next())k=k.value,c.has(k)&&f.effectiveIssueTypes.delete(k),
c.add(k)}a.ownTypedFieldConfigs=b;a.allTableRows$.next(e)},UVb=function(a,b){return new Set(a.ownTypedFieldConfigs.filter(function(c){return c!==b}).flatMap(function(c){return[].concat(p(c.issueTypes))}))},SVb=function(a,b,c){var d=Array.from(a.currentComponentConfigs,function(e){return e===b?c:e});dgd(a,d)},DWb=function(a,b,c){a.state$.next({view:"create",config:b,disallowIssueTypes:!!c})},YVb=function(a,b){b.componentId=a.currentComponentId;dgd(a,[].concat(p(a.currentComponentConfigs),[b]))},TVb=
function(a){a.state$.next({view:"list"})},vWb=function(a,b){a.confirmationDialog.open({title:"Delete field configuration?",content:md("Are you sure you want to delete the "+b.name+"? This cannot be undone."),onConfirm:function(){dgd(a,a.currentComponentConfigs.filter(function(c){return c!==b}))}})},EWb=function(a){return ZH(a.matDialog.open(v6,{width:"500PX",autoFocus:!1,data:{configs:a.ownTypedFieldConfigs}})).subscribe(function(b){b&&(a.ownDefaultFieldConfig&&b.push(a.ownDefaultFieldConfig),dgd(a,
b))})},dgd=function(a,b){a.state$.next({view:"list"});if(a.currentComponentId){var c=a.currentComponentId;dcd(a.fieldConfigService,c,b).subscribe(function(d){a.appEvents.componentModified.next(c);bgd(a,d);hq(a.butterBar,"Field configurations saved",3E3)},function(){a.butterBar.showWarning("Saving field configurations failed, please refresh the page.",5E3)})}},WVb=function(a,b){return a.customFields.filter(function(c){return b.customFieldConfigs.has(c.customFieldId)})},cgd=function(a,b){return b.map(function(c){var d;
return{inherited:c.componentId!==a.currentComponentId,name:c.name,isDefault:!((d=c.issueTypes)==null?0:d.size),issueTypes:c.issueTypes,effectiveIssueTypes:new Set(c.issueTypes),owningComponentId:c.componentId,rowType:"fieldConfig",data:c}})};w6.\u0275fac=function(a){return new (a||w6)};
w6.\u0275cmp=F({type:w6,selectors:[["b-field-configuration"]],inputs:{componentPathInfo:"componentPathInfo",isAdmin:"isAdmin"},standalone:!1,decls:3,vars:4,consts:[["deleteDialog",""],["actionButtons",""],["issueTypes",""],["card","onedevHovercard"],["cardBody",""],[3,"currentComponentId","customFields","configUnderEdit","isReadOnly","existingConfiguredIssueTypes"],[3,"currentComponentId","customFields","configUnderEdit","isReadOnly"],[3,"currentComponentId","customFields","disallowIssueTypes","configUnderEdit",
"existingConfiguredIssueTypes"],[3,"onSave","onCancel","currentComponentId","customFields","configUnderEdit","isReadOnly","existingConfiguredIssueTypes"],[3,"onCancel","currentComponentId","customFields","configUnderEdit","isReadOnly"],[3,"onSave","onCancel","currentComponentId","customFields","disallowIssueTypes","configUnderEdit","existingConfiguredIssueTypes"],[1,"component-banner","config-help-banner"],["aria-label","Learn more about field ordering","target","_blank",1,"keep-underline","keep-focus-ring",
3,"href"],["mat-table","",3,"dataSource"],["matColumnDef","section-title"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","types"],["matColumnDef","inherited-from"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-row","","class","section-title-row",4,"matRowDef","matRowDefColumns","matRowDefWhen"],[1,"no-custom-fields-message"],[1,"edit-button-row"],["type",
"button","mat-flat-button","","aria-label","Create new configuration in this component",1,"create-new-configuration",3,"click","disabled"],["type","button","mat-flat-button","","aria-label","Create new configuration in this component",1,"create-new-default-configuration",3,"click","disabled"],["type","button","mat-flat-button","","aria-label","Create new configuration in this component",1,"reorder-button",3,"click","disabled"],["mat-cell",""],["mat-header-cell",""],[1,"flex-kids-x","align-items-center",
"gap-s"],["svgIcon","help-outline",1,"icon-s","muted",3,"onedevHovercardTrigger"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"config-component-path"],[1,"header-label"],[3,"onedevHovercardTrigger","href"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"section-title-row"],["mat-dialog-content",""],["mat-dialog-actions",""],["type","button","mat-button",
"",1,"medium","cancel",3,"mat-dialog-close"],["type","button","color","primary","mat-flat-button","",1,"medium","confirm",3,"mat-dialog-close"],[1,"action-buttons-row"],["type","button","mat-button","","aria-label","View configuration",1,"view-configuration"],["type","button","mat-button","","aria-label","Create copy of configuration",1,"create-copy-configuration"],["type","button","mat-button","","aria-label","Create copy of configuration",1,"create-copy-configuration",3,"click"],["type","button",
"mat-button","","aria-label","Edit configuration",1,"edit-configuration",3,"click"],["type","button","mat-button","","aria-label","Delete configuration",1,"delete-configuration",3,"click"],["type","button","mat-button","","aria-label","View configuration",1,"view-configuration",3,"click"],[1,"issue-types-cell"],[1,"icon-s","muted",3,"svgIcon","non-applicable"],[1,"icon-s","muted",3,"svgIcon"]],template:function(a,b){a&1&&(Wj(0),W(1,"async"),I(2,HWb,4,1));a&2&&(a=Xj(X(1,1,b.state$)),E(2),J(a?2:-1))},
dependencies:[oy,EA,AO,dA,aA,fI,jI,iI,RP,eL,SK,YK,UK,RK,$K,VK,XK,aL,cL,eN,xH,yH,DH,zH,u6,py],styles:[".edit-button-row[_ngcontent-%COMP%]{padding:10px 0}.mat-column-types[_ngcontent-%COMP%]{white-space:pre-line}table[_ngcontent-%COMP%]{margin-top:10px}.section-title-row[_ngcontent-%COMP%]{height:32px}th.mat-mdc-header-cell[_ngcontent-%COMP%], td.mat-mdc-cell[_ngcontent-%COMP%]{padding:8px;text-align:left;font-size:.8125rem;border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}td[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}td[_ngcontent-%COMP%]   .config-row-name[_ngcontent-%COMP%]{padding:8px}td[_ngcontent-%COMP%]   .action-buttons-row[_ngcontent-%COMP%]{display:flex;gap:8px;flex-direction:row}th.mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type, td.mat-mdc-cell[_ngcontent-%COMP%]:first-of-type{padding-left:8px}th.mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type, td.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type{padding-right:8px}.no-data-row[_ngcontent-%COMP%]{padding:12px}.example-custom-placeholder[_ngcontent-%COMP%]{background:#ccc;border:dotted 3px #999;min-height:40px;width:100%}.mat-column-name[_ngcontent-%COMP%]{width:300px}.mat-column-types[_ngcontent-%COMP%]{width:200px}.mat-column-inherited-from[_ngcontent-%COMP%]{width:300px}.mat-column-actions[_ngcontent-%COMP%]{width:300px}.issue-types-cell[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px}.non-applicable[_ngcontent-%COMP%]{color:var(--text-disabled);text-decoration:line-through}"],
changeDetection:0});var x6=function(){};x6.prototype.ngOnInit=function(){};x6.\u0275fac=function(a){return new (a||x6)};x6.\u0275cmp=F({type:x6,selectors:[["slo-inheritance-breadcrumbs"]],inputs:{componentPath:"componentPath",teamPath:"teamPath"},standalone:!1,decls:2,vars:2,consts:[[3,"teamPath"],["componentPathsLinkTo","settings",3,"componentPathInfo"]],template:function(a,b){a&1&&(I(0,IWb,3,1),I(1,JWb,3,1));a&2&&(J(b.teamPath?0:-1),E(),J(b.componentPath?1:-1))},dependencies:[BO,h1],styles:["b-component-breadcrumb[_ngcontent-%COMP%], b-team-breadcrumb[_ngcontent-%COMP%]{display:inline-block}"]});var egd={BASIC:"basic",CUSTOM_FIELDS:"customFields",FIELD_ORDERING:"fieldOrdering",FIELD_VISIBILITY:"fieldVisibility",TEMPLATES:"templates",ACCESS:"access"},fgd={},ggd=(fgd[0]="access",fgd[1]="access_permissions",fgd),y6=function(){Z.call(this);var a=this;this.bLocation=x(hL);this.route=x(Zn);this.activeSession=x(Ks);this.isFieldConfigurationV2Enabled=Cx(this.activeSession,"enableFieldConfigV2Fe")&&this.activeSession.isInternalSession();this.TAB_LIST=["basic","customFields","fieldOrdering"].concat(p(this.isFieldConfigurationV2Enabled?
["fieldVisibility"]:[]),["templates","access"]);this.Tab=egd;this.selectedTabIndex=this.tabIndex("basic");this.selectedAccessSubTabIndex=0;this.componentReady$=new oj;this.componentReady$.subscribe(function(){a.selectedTabIndex=a.tabIndex("basic");a.route.fragment.pipe(tj(a.destroyed$)).subscribe(function(b){if(b==="basic")a.selectedTabIndex=a.tabIndex("basic");else if(b==="customFields")a.selectedTabIndex=a.tabIndex("customFields");else if(b==="fieldOrdering")a.selectedTabIndex=a.tabIndex("fieldOrdering");
else if(b==="templates")a.selectedTabIndex=a.tabIndex("templates");else if(b==="fieldVisibility")a.selectedTabIndex=a.tabIndex("fieldVisibility");else if(b==="access"||b==="access"||b==="access_permissions")a.selectedTabIndex=a.tabIndex("access"),b==="access_permissions"&&(a.selectedAccessSubTabIndex=1),WYb(a)})})};Y(y6,Z);y6.\u0275dir=Z.\u0275dir;y6.prototype.tabIndex=function(a){a=this.TAB_LIST.indexOf(a);return a!==-1?a:0};
y6.prototype.tabChange=function(a){if(a===this.tabIndex("access")&&this.selectedAccessSubTabIndex>0){var b,c=(b=ggd[a])!=null?b:"access";this.bLocation.hash(c,!0)}else b=(c=this.TAB_LIST[a])!=null?c:null,this.bLocation.hash(b,!0);this.selectedTabIndex=a};var WYb=function(a){a.selectedAccessSubTabIndex===1?a.bLocation.hash("access_permissions",!0):a.selectedAccessSubTabIndex===0&&a.bLocation.hash("access",!0)};y6.\u0275fac=function(a){return new (a||y6)};
y6.\u0275prov=Dg({token:y6,factory:y6.\u0275fac,providedIn:"root"});var OWb=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(OWb,n);var hgd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,hgd.messageId)};Y(hgd,n);hgd.messageId="b.BatchGroupMetadataResult";var A6=function(){var a=this;this.groupMetadataResources=x(z6);this.bulkGetter=x(aD).adapt(function(b){return a.groupMetadataResources.bulkGet(b).then(function(c){var d=KWb(c);return Rdc(b,function(e){return d[e]||null})})})};A6.prototype.get=function(a){return this.bulkGetter.get(a).then(function(b){return b!==null?b:{groupEmail:a,approximateSize:0,sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"}})};A6.\u0275fac=function(a){return new (a||A6)};
A6.\u0275prov=Dg({token:A6,factory:A6.\u0275fac,providedIn:"root"});var z6=function(){this.executor=x(fy)};z6.prototype.bulkGet=function(a){a=[].concat(p(new Set(a)));a=qn(a.join(","));return this.executor.get({url:"action/group_metadata/"+a,responseConstructor:hgd}).then(PWb)};z6.\u0275fac=function(a){return new (a||z6)};z6.\u0275prov=Dg({token:z6,factory:z6.\u0275fac,providedIn:"root"});var QWb=[{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 B6=function(){var a=this;this.activeSession=x(Ks);this.confirmationDialogService=x(lI);this.documentationLinks=x(XH);this.groupMetadata=x(A6);this.componentReaders=[];this.enableRostersChecks=Cx(this.activeSession,"enableRostersChecks");this.enableComponentAutomationCheck=Cx(this.activeSession,"enableComponentAutomationCheck");this.isPublic=function(){return ur(a.component)};this.hasUnsavedAccessLimitChanges=function(){return a.originalComponent&&a.component?a.originalComponent.accessLimit.accessLevel!==
a.component.accessLimit.accessLevel:!1};this.performAccessLimitCheck=function(){return new Promise(function(b){a.hasUnsavedAccessLimitChanges()&&a.component.accessLimit.accessLevel==="INTERNAL"?a.confirmationDialogService.open({title:"Component Visibility Changed",content:md("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(){b(!0)},onDismiss:function(){b(!1)}}):b(!0)})};this.performDeletedAccountsCheck=function(){return new Promise(function(b){a.componentReaders.includes("GROUP:nobody@google.com")?a.confirmationDialogService.open({title:'"nobody@google.com" is on the access policy',content:md('"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: '+[a.componentAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?
'"Component Admins"':null,a.componentAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Create Issues"':null,a.issueDefaultAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?'"Issue Admins"':null,a.issueDefaultAccessPolicyUnderEdit.editors.includes("GROUP:nobody@google.com")?'"Edit Issues"':null,a.issueDefaultAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Comment on Issues"':null,a.issueDefaultAccessPolicyUnderEdit.readers.includes("GROUP:nobody@google.com")?
'"View Issues"':null,a.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders.includes("GROUP:nobody@google.com")?'"View restricted+ content"':null,a.issueDefaultAccessPolicyUnderEdit.restrictedReaders.includes("GROUP:nobody@google.com")?'"View restricted content"':null].filter(function(c){return!!c}).join(", ")+". Do you want to proceed?"),onConfirm:function(){b(!0)},onDismiss:function(){b(!1)}}):b(!0)})};this.performAdminAccessRemovalCheck=function(){return new Promise(function(b){$Wb(a.activeSession.getUserEmail(),
a.componentFlattenedAccessPolicy,a.componentAccessPolicyUnderEdit)?a.confirmationDialogService.open({title:"Component Administrators Changed",content:md("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(){b(!0)},onDismiss:function(){b(!1)}}):b(!0)})};this.performRestrictedPlusGroupRemovalCheck=
function(){return new Promise(function(b){ZWb(a.issueDefaultFlattenedAccessPolicy,a.issueDefaultAccessPolicyUnderEdit)?a.confirmationDialogService.open({title:"Group Removed from Restricted+ Readers",content:md("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(){b(!0)},onDismiss:function(){b(!1)}}):b(!0)})};this.retrieveGroupMetadata=function(b){b=RUa(b);return b.group!==void 0&&b.group.emailAddress?
a.groupMetadata.get(b.group.emailAddress):Promise.resolve({approximateSize:0,groupEmail:"",sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"})};this.evaluateNewGroups=function(){var b=oo([].concat(p(Dd(a.componentAccessPolicyUnderEdit.admins,a.componentFlattenedAccessPolicy.admins)),p(Dd(a.issueDefaultAccessPolicyUnderEdit.admins,a.issueDefaultFlattenedAccessPolicy.admins)),p(Dd(a.issueDefaultAccessPolicyUnderEdit.editors,a.issueDefaultFlattenedAccessPolicy.editors)),p(Dd(a.issueDefaultAccessPolicyUnderEdit.appenders,
a.issueDefaultFlattenedAccessPolicy.appenders)),p(Dd(a.issueDefaultAccessPolicyUnderEdit.readers,a.issueDefaultFlattenedAccessPolicy.readers)),p(Dd(a.issueDefaultAccessPolicyUnderEdit.restrictedReaders,a.issueDefaultFlattenedAccessPolicy.restrictedReaders)),p(Dd(a.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders,a.issueDefaultFlattenedAccessPolicy.restrictedPlusReaders))));return Promise.all(b.map(function(c){return a.retrieveGroupMetadata(c)}))};this.performAddedLargeOrOpenGroupCheck=function(){return a.enableRostersChecks?
a.evaluateNewGroups().then(function(b){var c=UWb(b);b=YWb(b);if(c.size===0&&b.size===0)return Promise.resolve(!0);var d=VWb(c.size,b.size);c=WWb(c);b=XWb(b);var e=pd([c,c===Or?Or:qd("br"),b]);c={};e=pd([e,qd("p",{},pd(["Please review the ",qd("a",(c.href=YCc(a.documentationLinks),c.target="_blank",c),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?"]))]);return new Promise(function(f){a.confirmationDialogService.open({title:d,content:e,onConfirm:function(){f(!0)},
onDismiss:function(){f(!1)},confirmButtonText:"Add Group"})})}):Promise.resolve(!0)};this.performAddedNewInternalAliasesCheck=function(){return new Promise(function(b){if(a.isPublic()&&TWb(a.issueDefaultAccessPolicyUnderEdit,a.issueDefaultFlattenedAccessPolicy)){var c={};c=pd([qd("p",{},"You are about to give a broad category of users permissions on a public component."),qd("p",{},pd(["Please review the ",qd("a",(c.href=XCc(a.documentationLinks),c.target="_blank",c),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?"]))]);
a.confirmationDialogService.open({title:"Adding an broad category of users to a public component",content:c,onConfirm:function(){b(!0)},onDismiss:function(){b(!1)},confirmButtonText:"Add Group Alias"})}else b(!0)})};this.performChangedImplicitAccessCheck=function(){a.implicitAccess={getValue:function(){return a.componentAccessPolicyUnderEdit?a.componentAccessPolicyUnderEdit.implicitAccess==="ALLOW":!1},getSavedValue:function(){return a.componentFlattenedAccessPolicy?a.componentFlattenedAccessPolicy.implicitAccess===
"ALLOW":!1},setValue:function(d){a.componentAccessPolicyUnderEdit&&(a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,{implicitAccess:d?"ALLOW":"DENY"}))}};var b={},c=qd("a",(b.href=Dq(a.documentationLinks)+"#expanded-access",b),"Learn more.");return new Promise(function(d){a.implicitAccess.getValue()===a.implicitAccess.getSavedValue()?d(!0):a.implicitAccess.getValue()?a.confirmationDialogService.open({title:"Turn on expanded access for component "+a.component.componentId+
"?",content:od(["When expanded access is on, assignees and verifiers can edit issues in this component, and CC'd users can comment. ",c]),onConfirm:function(){d(!0)},onDismiss:function(){d(!1)}}):a.confirmationDialogService.open({title:"Turn off expanded access for component "+a.component.componentId+"?",content:od(["Some users may lose the ability to edit or comment on issues in this component. ",c]),onConfirm:function(){d(!0)},onDismiss:function(){d(!1)}})})};this.getAddedAutomationInPolicyChange=
function(){var b=[].concat(p(RWb(a.issueDefaultFlattenedAccessPolicy,a.issueDefaultAccessPolicyUnderEdit)),p(RWb(a.componentFlattenedAccessPolicy,a.componentAccessPolicyUnderEdit))),c=new Set;b=l(b);for(var d=b.next();!d.done;d=b.next()){d=l(d.value.addedPrincipals);for(var e=d.next();!e.done;e=d.next())e=RUa(e.value),(Uea(e)?zha(e.user.emailAddress):e.group!==void 0&&zha(e.group.emailAddress))&&c.add(e)}return[].concat(p(c))};this.performAutomationUserAccessCheck=function(){if(!a.enableComponentAutomationCheck)return Promise.resolve(!0);
var b=a.getAddedAutomationInPolicyChange();return new Promise(function(c){if(b.length){var d={};d=qd("a",(d.href=VCc(a.documentationLinks),d)," automation account documentation");a.confirmationDialogService.open({title:"Adding automation accounts",content:pd([md("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"),qd("wbr"),d,md("."),qd.apply(null,["ol",{}].concat(p(b.map(function(e){if(Uea(e)){var f;
return qd("li",{},md((f=e.user.emailAddress)!=null?f:""))}if(e.group!==void 0){var h;return qd("li",{},md((h=e.group.emailAddress)!=null?h:""))}throw Error("rf`"+JSON.stringify(e));})))),qd("br",{}),md("Are you sure you wish to allow automation to access data in this component?")]),onConfirm:function(){c(!0)},onDismiss:function(){c(!1)}})}else c(!0)})};this.runValidation=function(b){var c,d,e;return v(function(f){switch(f.nextAddress){case 1:c=l(b),d=c.next();case 2:if(d.done){f.jumpTo(4);break}e=
d.value;return w(f,e(),5);case 5:if(!f.yieldResult)return f.return(!1);d=c.next();f.jumpTo(2);break;case 4:return f.return(!0)}})}},igd=function(a,b){var c=b.component;var d=b.originalComponent;var e=b.componentReaders;var f=b.componentAccessPolicyUnderEdit;var h=b.componentFlattenedAccessPolicy;var k=b.issueDefaultAccessPolicyUnderEdit;var q=b.issueDefaultFlattenedAccessPolicy;var u,A;return v(function(D){if(D.nextAddress==1)return a.component=c,a.originalComponent=d,a.componentReaders=e,a.componentAccessPolicyUnderEdit=
f,a.componentFlattenedAccessPolicy=h,a.issueDefaultAccessPolicyUnderEdit=k,a.issueDefaultFlattenedAccessPolicy=q,u=[a.performAccessLimitCheck,a.performDeletedAccountsCheck,a.performAdminAccessRemovalCheck,a.performRestrictedPlusGroupRemovalCheck,a.performAddedLargeOrOpenGroupCheck,a.performAddedNewInternalAliasesCheck,a.performChangedImplicitAccessCheck,a.performAutomationUserAccessCheck],w(D,a.runValidation(u),2);A=D.yieldResult;return D.return(A)})};B6.\u0275fac=function(a){return new (a||B6)};
B6.\u0275prov=Dg({token:B6,factory:B6.\u0275fac});var C6=function(){Z.apply(this,arguments);this.principalTypes=x(YE);this.componentReaders=[];this.templates=[]};Y(C6,Z);C6.\u0275dir=Z.\u0275dir;
C6.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))),k=new Set([].concat(p(b.restrictedPlusReaders))),q=new Set([].concat(p(k),p(b.restrictedReaders)));b=new Set([].concat(p(q),p(h),p(b.readers)));
this.templates=[{permission:"Admin Components",principals:[].concat(p(d)).map(Fs)},{permission:"Create Issues",principals:[].concat(p(a)).map(Fs)},{permission:"Admin Issues",principals:[].concat(p(e)).map(Fs)},{permission:"Edit Issues",principals:[].concat(p(f)).map(Fs)},{permission:"Comment on Issues",principals:[].concat(p(h)).map(Fs)},{permission:"View Issues",principals:[].concat(p(b)).map(Fs)},{permission:"View Components",principals:[].concat(p(c)).map(Fs)},{permission:"View Restricted",principals:[].concat(p(q)).map(Fs)},
{permission:"View Restricted+",principals:[].concat(p(k)).map(Fs)}];jgd(this,this.templates)};
var jgd=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next()){c=l(c.value.principals);for(var d=c.next(),e={};!d.done;e={principal$jscomp$15:void 0},d=c.next())e.principal$jscomp$15=d.value,e.principal$jscomp$15.principalType==="ALIAS"?e.principal$jscomp$15.detailedUserType="NO_DETAILED_TYPE":ZE(a.principalTypes,e.principal$jscomp$15.value,!0).then(function(f){return function(h){f.principal$jscomp$15.detailedUserType=h.detailedUserType}}(e))}};
C6.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(C6)))(b||C6)}}();
C6.\u0275cmp=F({type:C6,selectors:[["permissions-view"]],inputs:{issueAccessPolicy:"issueAccessPolicy",componentAccessPolicy:"componentAccessPolicy",componentReaders:"componentReaders",accessLevel:"accessLevel"},standalone:!1,features:[xj,$w],decls:8,vars:0,consts:[[1,"permissions-column-headers"],["scope","col"],[1,"permission-row"],["scope","row"],[3,"value","detailedUserType","principalType","accessLevel","displayText"]],template:function(a,b){a&1&&(L(0,"table")(1,"tr",0)(2,"th",1),U(3,"Permission"),
M(),L(4,"th",1),U(5,"Users With Permission"),M()(),Mj(6,bXb,6,1,"tr",2,Lj),M());a&2&&(E(6),Nj(b.templates))},dependencies:[rQ],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}/*# sourceMappingURL=permissions_view.css.map */"]});var kgd=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"}),D6={},lgd=(D6.issueAdmin=new Set(["issueEditor"]),D6.issueEditor=new Set(["issueAppender"]),D6.issueAppender=new Set(["issueReader"]),D6.issueRestrictedReader=
new Set(["issueReader"]),D6.issueRestrictedPlusReader=new Set(["issueRestrictedReader"]),D6.issueReader=new Set(["componentReader"]),D6.componentAdmin=new Set(["componentAppender"]),D6.componentAppender=new Set(["componentReader"]),D6.componentReader=new Set,D6),mXb=Xf(kgd,function(a){return lgd[a]}),kXb=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"}),E6={},mgd=(E6.componentAdmin=new Set(["componentAdmin","issueAdmin"]),E6.issueAdmin=new Set(["issueAdmin","componentAppender"]),E6.issueEditor=new Set(["issueEditor","componentAppender"]),E6.issueContributor=new Set(["issueAppender","componentAppender"]),E6.componentAdminOnly=new Set(["componentAdmin"]),
E6.issueCreator=new Set(["componentAppender"]),E6.issueAdminOnly=new Set(["issueAdmin"]),E6.issueEditorExisting=new Set(["issueEditor"]),E6.issueCommenter=new Set(["issueAppender"]),E6.restrictedPlusViewer=new Set(["issueRestrictedPlusReader"]),E6.restrictedViewer=new Set(["issueRestrictedReader"]),E6.issueViewer=new Set(["issueReader"]),E6),jXb=Xf(kXb,function(a){return mgd[a]}),ngd=nXb(),iXb=Xf(kXb,function(a){a=[].concat(p(jXb.get(a))).flatMap(function(b){return[].concat(p(ngd.get(b)))});return new Set(a)}),
lXb=Xf(kXb,function(a){return new Set(kXb.filter(function(b){return b!==a&&Dea(iXb.get(b),iXb.get(a))}))});var qXb={componentAdmin:[],componentAdminOnly:[],issueAdminOnly:[],inheritedComponentAdmin:[],issueAdmin:[],editor:[],contributor:[],viewer:[],editExistingIssuesOnly:[],createIssuesOnly:[],commentOnly:[],viewRestricted:[],viewRestrictedPlus:[]},ogd={admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null};var F6=function(){var a=this;this.accessPolicyApi=x(qB);this.errorHandler=x(PA);this.butterBar=x(MA);this.userAccess=x(dD);this.componentActions=x(DO);this.componentValidator=x(B6);this.analytics=x(nE);this.isAdmin=!1;this.rolesMap=qXb;this.originalComponent=this.parentComponent=this.component=null;this.isUpdatingAccessLimit=this.isUpdatingAccessPolicy=this.isSaving=!1;this.implicitAccess={getValue:function(){return a.componentAccessPolicyUnderEdit?a.componentAccessPolicyUnderEdit.implicitAccess===
"ALLOW":!1},getSavedValue:function(){return a.componentFlattenedAccessPolicy?a.componentFlattenedAccessPolicy.implicitAccess==="ALLOW":!1},setValue:function(b){a.componentAccessPolicyUnderEdit&&(a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,{implicitAccess:b?"ALLOW":"DENY"}))},isUpdated:function(){var b;return a.componentAccessPolicyUnderEdit.implicitAccess!==((b=a.componentFlattenedAccessPolicy)==null?void 0:b.implicitAccess)}};this.restrictedPlusReadersValidators=
{noRestrictedPlusGroups:function(b){a:{var c=a.issueDefaultFlattenedAccessPolicy;if(b&&c){c=c.restrictedPlusReaders;b=l(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.startsWith("GROUP:")&&!c.includes(d)){c=!1;break a}}c=!0}return c}};this.componentReaders=[];this.issueDefaultFlattenedAccessPolicy=this.componentFlattenedAccessPolicy=ogd;this.componentAccessPolicyUnderEdit=Aq();this.issueDefaultAccessPolicyUnderEdit=Aq()};
F6.prototype.hasUnsavedAccessLimitChanges=function(){var a=this.originalComponent,b=this.component;return a&&b?a.accessLimit.accessLevel!==b.accessLimit.accessLevel:!1};
var pgd=function(a){if(!a.hasUnsavedAccessLimitChanges())return Promise.resolve();a.isUpdatingAccessLimit=!0;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;return a.accessPolicyApi.setAccessLimit("COMPONENT",a.componentId,a.component.accessLimit).then(function(b){a.component.accessLimit.accessLevel=b.accessLevel;a.originalComponent.accessLimit.accessLevel=b.accessLevel;hq(a.butterBar,"Changed access level.")},function(b){a.component.accessLimit.accessLevel=a.originalComponent.accessLimit.accessLevel;
var c="Could not change access level. ";nn(b)&&(c+=on(b));a.butterBar.showWarning(c)}).finally(function(){a.isUpdatingAccessLimit=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit})};F6.prototype.updateComponentAndOriginalComponent=function(a){this.component=wd(a);this.originalComponent=wd(a)};
F6.prototype.loadComponent=function(){var a=this;return this.componentActions.getUncached(this.componentId).then(function(b){a.updateComponentAndOriginalComponent(b);b.parentComponentId&&a.loadParentComponent(b.parentComponentId)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};F6.prototype.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)})};
F6.prototype.initialize=function(a){var b=this;a=a===void 0?this.componentId:a;if(!a&&!this.componentId)return this.butterBar.showWarning("No component found!"),Promise.resolve();this.componentId=a;return Promise.all([this.accessPolicyApi.get("COMPONENT",this.componentId).then(function(c){b.componentFlattenedAccessPolicy=Bq(c);b.componentAccessPolicyUnderEdit=wd(b.componentFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.accessPolicyApi.get("ISSUE_DEFAULTS",this.componentId).then(function(c){b.issueDefaultFlattenedAccessPolicy=
Bq(c);b.issueDefaultAccessPolicyUnderEdit=wd(b.issueDefaultFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.loadComponent(),this.loadUserAccess(this.componentId)]).then(function(){})};
var qgd=function(a){a.rolesMap=rXb({componentAccessPolicy:a.componentAccessPolicyUnderEdit,issueAccessPolicy:a.issueDefaultAccessPolicyUnderEdit})},rgd=function(a,b){var c=a.issueDefaultAccessPolicyUnderEdit,d=a.issueDefaultFlattenedAccessPolicy;return d&&tXb(d,c)?a.accessPolicyApi.update("ISSUE_DEFAULTS",a.componentId,b):Promise.resolve(void 0)},sgd=function(a){var b=sXb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy);var c=a.issueDefaultAccessPolicyUnderEdit;a=a.issueDefaultFlattenedAccessPolicy;
c=!(!a||!tXb(a,c));return b||c},tgd=function(a,b){return sXb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy)?a.accessPolicyApi.get("COMPONENT",a.componentId).then(function(c){var d=Bq(c);if(sXb(d,a.componentAccessPolicyUnderEdit)){if(sXb(d,a.componentFlattenedAccessPolicy))return Promise.reject(new Lqc("ConflictingWriteException: The attempted change was based on stale data. Reload the data and try again."));b.readers=c.readers;return a.accessPolicyApi.update("COMPONENT",a.componentId,
b)}}):Promise.resolve(void 0)};F6.prototype.loadUserAccess=function(a){var b=this;return eD(this.userAccess,"admin","components/"+a).then(function(c){b.isAdmin=c;return b.isAdmin?Promise.resolve(!0):eD(b.userAccess,"writer","components/"+a)}).catch(function(c){b.errorHandler.errorHandler(null,c);return Promise.resolve(!1)})};
F6.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=Cq(this.componentAccessPolicyUnderEdit);var c=Cq(this.issueDefaultAccessPolicyUnderEdit)}catch(d){return c="An unknown problem occurred",d instanceof Error&&(c=d.message),this.butterBar.showWarning(c),Promise.resolve()}if(sgd(this))return this.isSaving=this.isUpdatingAccessPolicy=!0,hq(this.butterBar,"Saving access settings...",0),rgd(this,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 tgd(a,b).catch(function(e){var f;return v(function(h){if(h.nextAddress==1)return f=Cq(a.issueDefaultFlattenedAccessPolicy),w(h,rgd(a,f),2);throw e;})})}).then(function(){return pgd(a)}).then(function(){return a.initialize()}).then(function(){var d=a.rolesMap;qgd(a);var e=a.rolesMap;var 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=uXb({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=uXb(f,h);switch(d&&f?2:d?0:f?1:3){case 0:a.analytics.trackEvent("roleBasedPermissions","update","roles:standard");break;case 1:a.analytics.trackEvent("roleBasedPermissions","update","roles:advanced");break;case 2:a.analytics.trackEvent("roleBasedPermissions","update","roles:both");break;default:a.analytics.trackEvent("roleBasedPermissions","update","roles:neither")}hq(a.butterBar,"Access settings saved",
0)}).catch(function(d){a.butterBar.showWarning(on(d),0)}).finally(function(){return v(function(d){if(d.nextAddress==1)return w(d,a.loadUserAccess(a.componentId),2);a.isUpdatingAccessPolicy=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;ji(d)})});qgd(this);return pgd(this)};
var ugd=function(a,b){b=oXb(b);a.issueDefaultAccessPolicyUnderEdit=Object.assign({},a.issueDefaultAccessPolicyUnderEdit,b.issuesPermissions);a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,b.componentPermissions)},GXb=function(a,b){a.component&&a.originalComponent&&a.componentFlattenedAccessPolicy&&a.componentAccessPolicyUnderEdit&&a.issueDefaultFlattenedAccessPolicy&&a.issueDefaultAccessPolicyUnderEdit?(ugd(a,b),igd(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();hq(a.butterBar,"Update failed: Invalid changes to component permissions",0);return Promise.resolve()})):Promise.resolve()};
pg.Object.defineProperties(F6.prototype,{componentAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){vd(a,this.componentAccessPolicyUnderEditInternal)||(this.componentAccessPolicyUnderEditInternal=a,this.componentReaders=pXb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.componentAccessPolicyUnderEditInternal}},issueDefaultAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){vd(a,
this.issueDefaultAccessPolicyUnderEditInternal)||(this.issueDefaultAccessPolicyUnderEditInternal=a,this.componentReaders=pXb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.issueDefaultAccessPolicyUnderEditInternal}}});F6.\u0275fac=function(a){return new (a||F6)};F6.\u0275prov=Dg({token:F6,factory:F6.\u0275fac});var G6=function(){this.activeSession=x(Ks);this.documentationLinks=x(XH);this.rolesEditor=x(F6);this.AccessLevelStrings=Fhc};G6.prototype.getRecentIssuesLink=function(){return sp(this.rolesEditor.component.componentId,{includeArchived:this.rolesEditor.component?this.rolesEditor.component.archived:!1})};G6.prototype.isParentPartner=function(){return!(!this.rolesEditor.parentComponent||!S7a(this.rolesEditor.parentComponent))};
G6.prototype.isParentPublic=function(){return!(!this.rolesEditor.parentComponent||!ur(this.rolesEditor.parentComponent))};G6.\u0275fac=function(a){return new (a||G6)};
G6.\u0275cmp=F({type:G6,selectors:[["access-limit-settings"]],standalone:!1,decls:6,vars:3,consts:[[1,"component-banner"],[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-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"],["for","access-level-internal"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"disabled","ngModel"],["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"],["for","access-level-public"],[1,"access-level-warning"],["type","radio","id","access-level-internal","name","accessLevelInternal",
"value","INTERNAL",3,"ngModelChange","disabled","ngModel"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"ngModelChange","disabled","ngModel"],["type","radio","id","access-level-public","name","accessLevelPublic","value","EXTERNAL_PUBLIC",3,"ngModelChange","disabled","ngModel"],["aria-label","Learn more about access level","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(I(0,zXb,18,7,"div",
0),L(1,"div",1)(2,"p"),U(3," Access to issues is granted per component using the settings below. All settings provide access to view the component. "),L(4,"a",2),U(5,"Learn more"),M()()());if(a&2){a:if(b.activeSession.isExternalSession())a=!1;else{if(b.rolesEditor.component)if(b.rolesEditor.component.parentComponentId){if(b.rolesEditor.parentComponent){a=tr(b.rolesEditor.parentComponent)||tr(b.rolesEditor.component);break a}}else{a=!1;break a}a=void 0}J(a?0:-1);E(4);K("href",zk("",Dq(b.documentationLinks),
"#recommended-role-based-permissions-configurations"),Ni)}},dependencies:[Bp,rG,hG,oG],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}/*# sourceMappingURL=access_limit_settings.css.map */"]});var H6=function(){this.documentationLinks=x(XH);this.rolesEditor=x(F6)};H6.prototype.isAccessEditDisabled=function(){return this.rolesEditor.isSaving||!this.rolesEditor.isAdmin};H6.prototype.setImplicitAccess=function(a){this.rolesEditor.implicitAccess.setValue(a)};H6.\u0275fac=function(a){return new (a||H6)};
H6.\u0275cmp=F({type:H6,selectors:[["expanded-access-settings"]],standalone:!1,decls:10,vars:6,consts:[[1,"expanded-access-settings"],[1,"permission-toggle-checkbox"],["ariaLabelledby","expanded-access-help permission-toggle-help",3,"change","checked","disabled"],[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&&(L(0,"div",0)(1,"span",1)(2,"mat-checkbox",2),Q("change",function(c){return b.setImplicitAccess(c.checked)}),M()(),L(3,"div",3)(4,"strong",4),U(5,"Expanded access"),M(),L(6,"div",5),U(7," When checked, assignees, verifiers, and collaborators can edit issues for this component, and CC'd users can add comments. "),L(8,"a",6),U(9,"Learn more"),M()()()());a&2&&(rk("bv2-edit-resource-readonly",b.isAccessEditDisabled()),
E(2),K("checked",b.rolesEditor.implicitAccess.getValue())("disabled",b.isAccessEditDisabled()),E(6),K("href",zk("",Dq(b.documentationLinks),"#expanded-access"),Ni))},dependencies:[aG,HG],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%]   mat-checkbox[_ngcontent-%COMP%]{top:-4px;margin-right:-5px}.expanded-access-settings[_ngcontent-%COMP%]   .permission-toggle-text[_ngcontent-%COMP%]{margin-left:1em}/*# sourceMappingURL=expanded_access_settings.css.map */"]});var AXb=function(){return{}},CXb=function(a,b){return{displayText:a,values:b}},BXb=function(a){return[a]},DXb=function(){return[]},I6=function(){this.rolesTableData=[];this.canEdit=!1;this.rolesMapUpdated=new iE;this.formIsValid=new iE;this.aclFormValidity=new Map};I6.prototype.getIconName=function(a,b){switch(a.grantedPermissions[b]){case "inherited":return"issue-status-verified";case !0:return"done";default:return"issue-status-wont-fix"}};
I6.prototype.getTooltip=function(a,b){return a.grantedPermissions[b]==="inherited"?"The permission is granted to this component and inherited by all child components.":""};I6.prototype.updateRolesMap=function(a,b){this.rolesMapUpdated.emit({role:a,assignees:b})};I6.\u0275fac=function(a){return new (a||I6)};
I6.\u0275cmp=F({type:I6,selectors:[["roles-view-table"]],inputs:{rolesTableData:"rolesTableData",canEdit:"canEdit",accessLevel:"accessLevel"},outputs:{rolesMapUpdated:"rolesMapUpdated",formIsValid:"formIsValid"},standalone:!1,decls:32,vars:0,consts:[["scope","col"],[1,"edit-field"],[1,"role-title"],[3,"htmlFor"],["type","button","mat-icon-button","",3,"matTooltip"],["svgIcon","help-outline"],[3,"usersChange","isValid","idForInputBox","users","ariaLabel","accessLevel","customValidators","includeAliases",
"includeViewAliases","containerChips"],["size","large","matTooltipPosition","after",3,"name","matTooltip"],["size","large",3,"name"]],template:function(a,b){a&1&&(L(0,"table")(1,"thead")(2,"tr")(3,"th",0),U(4,"Role Assignments"),M(),L(5,"th",0)(6,"h6"),U(7,"Admin Components"),M()(),L(8,"th",0)(9,"h6"),U(10,"Create Issues"),M()(),L(11,"th",0)(12,"h6"),U(13,"Admin Issues"),M()(),L(14,"th",0)(15,"h6"),U(16,"Edit Issues"),M()(),L(17,"th",0)(18,"h6"),U(19,"Comment on Issues"),M()(),L(20,"th",0)(21,"h6"),
U(22,"View Issues"),M()(),L(23,"th",0)(24,"h6"),U(25,"View Restricted"),M()(),L(26,"th",0)(27,"h6"),U(28,"View Restricted+"),M()()()(),L(29,"tbody"),Mj(30,EXb,25,31,"tr",null,Lj),M()());a&2&&(E(30),Nj(b.rolesTableData))},dependencies:[EA,zP,jK,dA,bA,YF,WF],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 .bv2-user-chip-item{display:flex}.role-title[_ngcontent-%COMP%]{display:flex;align-items:center;margin:5px 2px}[_nghost-%COMP%]     .gmat-mdc-button.mat-mdc-icon-button{margin:0 5px;width:24px;height:24px;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%]     .gmat-mdc-button.mat-mdc-icon-button .mat-icon{height:16px;width:16px;--mat-icon-button-icon-size: 16px}[_nghost-%COMP%]     b-icon{width:2em;margin:30px 0px}/*# sourceMappingURL=roles_view_table.css.map */"]});var J6=function(){this.rolesMap=qXb;this.isSaving=!1;this.saveRolesMap=new iE;this.rolesUnderEdit=qXb;this.formIsValid=!0;this.standardRolesTableData=[];this.advancedRolesTableData=[]},vgd=function(a){var b=a.rolesUnderEdit,c;var d=[{ariaLabel:"Component Admin role",label:"Component Admins",users:b==null?void 0:b.componentAdmin,roleType:"componentAdmin",grantedPermissions:{componentAdmin:"inherited",createIssues:"inherited",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:b==null?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:b==null?void 0:b.editor,roleType:"editor",grantedPermissions:{componentAdmin:!1,createIssues:!0,issueAdmin:!1,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},
includeAliases:((c=a.component.accessLimit)==null?void 0:c.accessLevel)!=="EXTERNAL_PUBLIC",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:b==null?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:b==null?
void 0:b.componentAdminOnly,roleType:"componentAdminOnly",grantedPermissions:{componentAdmin:"inherited",createIssues:"inherited",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:(f=b.inheritedComponentAdmin)!=
null?f:[]}},{ariaLabel:"Issue Creators Only role",label:"Issue Creators Only",users:b==null?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:b==null?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:b==null?void 0:b.editExistingIssuesOnly,roleType:"editExistingIssuesOnly",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:((e=a.component.accessLimit)==null?void 0:e.accessLevel)!=="EXTERNAL_PUBLIC",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:b==null?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:b==null?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:b==
null?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:b==null?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},wgd=function(a){return a.advancedRolesTableData.some(function(b){return b.users.length>0})},xgd=function(a){a.rolesUnderEdit=Object.assign({},a.rolesMap)};g=J6.prototype;g.ngOnInit=function(){xgd(this);vgd(this)};
g.ngOnChanges=function(a){a.rolesMap&&xgd(this);vgd(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()&&(!vd(this.rolesMap,this.rolesUnderEdit)||this.rolesEditor.implicitAccess.isUpdated()||this.hasUnsavedAccessLimitChanges())&&this.formIsValid};J6.\u0275fac=function(a){return new (a||J6)};
J6.\u0275cmp=F({type:J6,selectors:[["roles-view"]],inputs:{rolesMap:"rolesMap",isSaving:"isSaving",component:"component",rolesEditor:"rolesEditor"},outputs:{saveRolesMap:"saveRolesMap"},standalone:!1,features:[$w],decls:12,vars:9,consts:[[3,"rolesMapUpdated","formIsValid","rolesTableData","canEdit","accessLevel"],["togglePosition","before",1,"mat-elevation-z0",3,"expanded"],["type","button","mat-raised-button","","aria-label","Update","color","primary",3,"click","disabled"],["type","button","mat-raised-button",
"","aria-label","Revert Changes",3,"click","disabled"]],template:function(a,b){a&1&&(N(0,"access-limit-settings"),L(1,"roles-view-table",0),Q("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),M(),L(2,"mat-expansion-panel",1)(3,"mat-expansion-panel-header")(4,"mat-panel-title"),U(5," Advanced Roles "),M()(),L(6,"roles-view-table",0),Q("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=
c}),M()(),N(7,"expanded-access-settings"),L(8,"button",2),Q("click",function(){b.canSave()&&b.saveRolesMap.emit(b.rolesUnderEdit)}),U(9,"Update"),M(),L(10,"button",3),Q("click",function(){xgd(b);vgd(b)}),U(11," Revert Changes\n"),M());a&2&&(E(),K("rolesTableData",b.standardRolesTableData)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),E(),K("expanded",wgd(b)),E(4),K("rolesTableData",b.advancedRolesTableData)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),E(2),
K("disabled",!b.canSave()),E(2),K("disabled",!!vd(b.rolesMap,b.rolesUnderEdit)))},dependencies:[oW,pW,qW,dA,aA,I6,G6,H6],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}/*# sourceMappingURL=roles_view.css.map */"]});var K6=function(){Z.apply(this,arguments);this.rolesEditor=x(F6);this.route=x(Zn);this.tabIndex=0;this.onTabChange=new iE;this.selectedTabIndex=this.tabIndex};Y(K6,Z);K6.\u0275dir=Z.\u0275dir;K6.prototype.ngOnChanges=function(a){var b;a=(b=a.tabIndex)==null?void 0:b.currentValue;a!=null&&(this.selectedTabIndex=a)};
K6.prototype.ngOnInit=function(){var a=this;this.selectedTabIndex=this.tabIndex;this.route.paramMap.pipe(C(function(b){return b.get("componentId")}),Di(fe),sj(function(b){return a.rolesEditor.initialize(b)}),tj(this.destroyed$)).subscribe(function(){qgd(a.rolesEditor)})};
K6.prototype.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=(d=(b=this.tabs)==null?void 0:(c=b.get(a))==null?void 0:c.nativeElement.id)!=null?d:null;e==="access"?this.selectedTabIndex=0:e==="access_permissions"&&(this.selectedTabIndex=1);this.onTabChange.emit(a)};K6.prototype.isSaving=function(){return this.rolesEditor.isSaving};K6.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(K6)))(b||K6)}}();
K6.\u0275cmp=F({type:K6,selectors:[["role-based-permissions"]],viewQuery:function(a,b){a&1&&ek(jM,5,Ph);if(a&2){var c;ik(c=jk())&&(b.tabs=c)}},inputs:{tabIndex:"tabIndex"},outputs:{onTabChange:"onTabChange"},standalone:!1,features:[Bk([F6,B6]),xj,$w],decls:2,vars:2,consts:[[1,"bv2-view-loading"],[1,"padded"],[3,"selectedIndexChange","selectedIndex"],["label","Edit Roles","id","access_roles"],[3,"saveRolesMap","rolesMap","isSaving","component","rolesEditor"],["label","View Permissions","id","access_permissions"],
[3,"componentReaders","componentAccessPolicy","issueAccessPolicy","accessLevel"]],template:function(a,b){a&1&&(I(0,FXb,2,0,"div",0),I(1,HXb,7,9,"div"));a&2&&(J((b.rolesEditor.component==null?0:b.rolesEditor.component.componentId)?-1:0),E(),J((b.rolesEditor.component==null?0:b.rolesEditor.component.componentId)?1:-1))},dependencies:[oM,jM,kM,lL,C6,J6],styles:["/*# sourceMappingURL=role_based_permissions.css.map */"]});var ygd=["archiveDialog"],zgd=["archiveButton"],Agd=["metadataForm"],L6=function(){Z.apply(this,arguments);var a=this;this.cdr=x(jE,{self:!0});this.routeParams=x(NI);this.bLocation=x(hL);this.templatesApi=x(DB);this.paths=x(TO);this.appHistory=x(PY);this.butterBar=x(MA);this.pageTitle=x(jY);this.activeSession=x(Ks);this.documentationLinks=x(XH);this.matDialogService=x(eI);this.analytics=x(nE);this.checkBeforeExit=x(LR);this.userAccess=x(dD);this.componentActions=x(DO);this.errorHandler=x(PA);this.componentUpdates=
x(nZ);this.componentUpdatesApi=x(t6);this.confirmationDialogService=x(lI);this.appEvents=x(EB);this.teamsService=x(kF);this.sloApi=x(cF);this.sloService=x(dF);this.trackerHelpers=x(sI);this.tabsService=x(y6);this.isFieldConfigurationV2Enabled=Cx(this.activeSession,"enableFieldConfigV2Fe")&&this.activeSession.isInternalSession();this.componentId$=new nj(1);this.componentListRoute=AIa;this.showSloInheritancePath=!1;this.component$=new $n(null);this.componentTrackerId$=this.component$.pipe(C(function(b){return b==
null?void 0:b.trackerId}));this.showTrackerRedirect$=this.componentTrackerId$.pipe(C(function(b){var c,d=(c=a.activeSession.getTracker())==null?void 0:c.trackerId;return!!d&&d!==b}));this.parentComponent$=new $n(null);this.componentTeam$=new $n(null);this.team$=this.componentTeam$.pipe(sj(function(b){return(b=b==null?void 0:b.id)&&b!=="0"?lF(a.teamsService,b):li(null)}));this.parentComponentTeam$=this.parentComponent$.pipe(sj(function(b){var c;return(b=b==null?void 0:(c=b.team)==null?void 0:c.id)&&
b!=="0"?lF(a.teamsService,b):li(null)}));this.inheritedSloMetadata$=si([this.component$,this.parentComponent$,this.team$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;if((b==null?0:b.team)&&!b.team.inherit&&b.team.id!=="0"){var e,f=(e=c==null?void 0:c.slo)!=null?e:null;if(f)return{containerType:"TEAM",content:f}}else if(e=(f=d==null?void 0:d.slo)!=null?f:null)return{containerType:"COMPONENT",content:e};return null}));this.inheritedSlo$=this.inheritedSloMetadata$.pipe(jj(),
sj(function(b){var c=void 0;b&&(b.containerType==="TEAM"?c=b.content.sloId:b.containerType==="COMPONENT"&&(c=b.content.id));return c?a.sloService.get(c).then(function(d){return{id:c,slo:d}}):li({id:"0"})}));this.sloPolicySource$=this.inheritedSloMetadata$.pipe(jj(),sj(function(b){if(!b)return li({name:"None",type:"none"});b=gZb(b);var c=b.sourceTeamId,d=b.sourceComponentId;return c&&c!=="0"?a.teamsService.getTeam(c).pipe(C(function(e){var f;return{name:(f=e==null?void 0:e.name)!=null?f:c,type:"team",
link:{path:"/teams/"+c+"/edit",fragment:"slo"}}})):d?a.componentActions.get(d).then(function(e){var f;return{name:(f=e.name)!=null?f:d,type:"component",link:{path:"/components/"+d+"/edit"}}}):li(null)}));this.policySourcePath$=si([this.component$,this.team$,this.parentComponentTeam$,this.inheritedSloMetadata$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;var e=c.next().value;c=c.next().value;if(!b||!b.componentPathInfo||!c)return null;var f=gZb(c);c=f.sourceComponentId;d=iZb(d,
f.sourceTeamId,b.team,e);return c===null?{componentPath:null,teamPath:d}:{componentPath:hZb(b,c),teamPath:d}}));this.enableSloLockingCheck=Cx(this.activeSession,"enableSloLockingCheck");this.component=null;this.orderedCustomFields=[];this.parentComponent=null;this.descendants=[];this.isLoading=this.hasInitialized=!1;this.isAnonymous=this.activeSession.isAnonymous();this.originalParentComponent=this.originalComponent=null;this.isAdminInternal=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=Cx(this.activeSession,"enableSloLockingUi");this.sloLocked$=this.componentId$.pipe(Di(Boolean),sj(function(b){return a.sloApi.executor.get({url:"action/components/"+b+"/slo_edit_policy",responseConstructor:Byc}).pipe(C(jIa))}));this.getSloManagementLink=BIa};
Y(L6,Z);L6.\u0275dir=Z.\u0275dir;
L6.prototype.ngOnInit=function(){var a=this;this.componentId=String(this.routeParams.componentId);this.componentId$.next(String(this.componentId));this.sessionIsExternal=this.activeSession.isExternalSession();this.sessionIsInternal=this.activeSession.isInternalSession();this.subscriptions.add(MR(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));this.loadUserAccess(this.componentId);this.enableSloLockingCheck&&Bgd(this);this.componentHistoryUiEnabled=this.activeSession.isInternalSession();
Cgd(this);this.subscriptions.add(this.appEvents.customFieldsModified.subscribe(function(b){a.orderedCustomFields=jZb(b,a.isFieldConfigurationV2Enabled)}));this.hasInitialized=!0;this.tabsService.componentReady$.next()};var Cgd=function(a){a=[Dgd(a,a.componentId),a.loadComponent(a.componentId),a.loadTemplates(a.componentId)];return Promise.all(a).then(function(){})};L6.prototype.isAdmin=function(){return this.isAdminInternal};
var qYb=function(a){return a.enableSloLockingCheck?a.isComponentSloEditor:a.isAdmin()};L6.prototype.isSaving=function(){return this.isUpdating||this.isArchiving};L6.prototype.isArchived=function(){return this.component?this.component.archived:!1};L6.prototype.isPublic=function(){return ur(this.component)};L6.prototype.isExternal=function(){return tr(this.component)};
var KYb=function(a){var b;if(b=a.sessionIsInternal){b=a.component;var c;b=(b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel)==="INTERNAL"}return b||Cx(a.activeSession,"enableEstimatedEffortExternalUi")};L6.prototype.isParentPublic=function(){return!(!this.parentComponent||!ur(this.parentComponent))};L6.prototype.isParentPartner=function(){return!(!this.parentComponent||!S7a(this.parentComponent))};
var tYb=function(a){if(!a.component||!a.component.slo)return!1;var b=!!a.component.team&&a.component.team.id!=="0";return a.component.parentComponentId?!a.component.slo.inherit:b};L6.prototype.hasUnsavedMetadataChanges=function(){return!(vd(this.component,this.originalComponent)&&vd(this.parentComponent,this.originalParentComponent))};L6.prototype.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()};
var Egd=function(a){var b=Cf();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:md("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},Fgd=function(a){var b=Cf();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:pd([md('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.'),qd("br",{}),qd("br",{}),md('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.'),
qd("br",{}),qd("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};L6.prototype.saveMetadata=function(){var a=this;return Ggd(this)?Fgd(this).then(function(b){return b?Egd(a):Promise.resolve(!1)}).then(function(b){b&&a.doSaveMetadata().then(function(){return Cgd(a)})}):Promise.resolve()};
L6.prototype.doSaveMetadata=function(){var a=this;this.isUpdating=!0;hq(this.butterBar,"Saving changes ...",0);return Hgd(this).then(function(){a.parentComponent&&(a.component.parentComponentId=a.parentComponent.componentId)}).then(function(){return Igd(a)}).then(function(){return Jgd(a)}).then(function(){return Kgd(a)}).then(function(){hq(a.butterBar,"Save complete.")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.componentUpdatesApi.invalidateCache(a.componentId);
a.isUpdating=!1})};
var Hgd=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)},Igd=function(a){return a.component.slo&&!vd(a.originalComponent.slo,a.component.slo)?a.componentActions.updateSlo(a.component.componentId,a.component.slo).then(function(){a.analytics.trackEvent("component",
"updateSlo");return!0}).catch(function(b){a.component.slo=a.originalComponent.slo;return Promise.reject(b)}):Promise.resolve(!1)},Jgd=function(a){return a.component.team&&!vd(a.originalComponent.team,a.component.team)?a.componentActions.updateTeam(a.component.componentId,a.component.team).then(function(){a.analytics.trackEvent("component","updateTeam");return!0}).catch(function(b){a.component.team=a.originalComponent.team;return Promise.reject(b)}):Promise.resolve(!1)},Kgd=function(a){return Lgd(a)?
a.componentActions.update(a.component).then(function(){a.analytics.trackEvent("component","update");a.commentEditsEnabled?a.analytics.trackEvent("component","comment edits enabled","update"):a.analytics.trackEvent("component","comment edits disabled","update");return!0}):Promise.resolve(!1)},Lgd=function(a){var b=wd(a.component);b.team=a.originalComponent.team;b.slo=a.originalComponent.slo;b.parentComponentId=a.originalComponent.parentComponentId;return!vd(a.originalComponent,b)},Ggd=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};L6.prototype.getComponentAccessLevel=function(){if(this.component&&this.component.accessLimit)return this.component.accessLimit.accessLevel};var Dgd=function(a,b){return a.componentActions.getChildren(b).then(function(c){a.childComponents=c}).catch(function(c){a.errorHandler.errorHandler(null,c)})};
L6.prototype.revertMetadataChanges=function(){this.updateComponentAndOriginalComponent(this.originalComponent);this.error="";this.parentComponent=wd(this.originalParentComponent);this.parentComponent$.next(this.parentComponent);this.commentEditsEnabled=this.component.commentEditState=="ENABLED"};var NYb=function(a){a.componentActions.getUncached(a.componentId).then(function(b){a.orderedCustomFields=jZb(b.componentPathInfo.allCustomField,a.isFieldConfigurationV2Enabled)})};
L6.prototype.loadComponent=function(a){var b=this;this.isLoading=!0;return this.componentActions.getUncached(a).then(function(c){b.updateComponentAndOriginalComponent(c);b.currentName=c.name;c.parentComponentId&&b.loadParentComponent(c.parentComponentId);b.orderedCustomFields=jZb(c.componentPathInfo.allCustomField,b.isFieldConfigurationV2Enabled);b.pageTitle.setTitle("Component: "+c.name);b.archiveAction=c.archived?"Unarchive":"Archive";b.commentEditsEnabled=c.commentEditState=="ENABLED";b.component.parentComponentId||
(b.isParentComponentRequired=!1)}).catch(function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1;b.hasInitialized&&b.cdr.detectChanges()})};L6.prototype.loadUserAccess=function(a){var b=this,c=Bn("COMPONENT",a);eD(this.userAccess,"admin",c).then(function(d){b.isAdminInternal=d;return b.isAdminInternal?!0:eD(b.userAccess,"writer",c)}).then(function(d){b.isEditorInternal=d}).catch(function(d){b.errorHandler.errorHandler(null,d)})};
var Bgd=function(a){eD(a.userAccess,"writer",Bn("COMPONENT_SLO",a.componentId)).then(function(b){a.isComponentSloEditor=b})},VXb=function(a){var b,c=us(a.trackerHelpers,(b=a.parentComponent)==null?void 0:b.componentPathInfo);return Iq(a.activeSession)&&(!c||!c.componentPathId||c.componentPathId.length===0)},EYb=function(a){return a.isSaving()||!a.isEditorInternal};g=L6.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=wd(c);return c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.getRecentIssuesLink=function(){var a=this.isArchived();return sp(this.componentId,{includeArchived:a})};g.componentPermissions=function(a){return{path:"/components/"+a,fragment:this.tabsService.Tab.ACCESS}};
g.createIssue=function(){this.trackClick("createIssue");var a={};this.bLocation.setUrl(this.paths.createIssue((a.component=String(this.component.componentId),a)))};g.createChild=function(){this.bLocation.setUrl(Hq.createComponent.makeHref(this.component.componentId))};g.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};
var IXb=function(a){a.butterBar.dismiss();a.retentionIsValid?a.hasUnsavedChanges()?a.butterBar.showWarning("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,hq(a.butterBar,"Looking up subcomponents...",0),a.componentActions.getDescendants(a.component.componentId).then(function(b){a.butterBar.dismiss();a.descendants=b;ZH(a.matDialogService.open(a.confirmArchiveDialog,{restoreFocus:!1})).pipe(tj(a.destroyed$)).subscribe(function(){a.archiveButton.focus()})}).catch(function(b){a.errorHandler.errorHandler(null,
b)})):a.butterBar.showWarning("Required retention settings are missing or invalid. Please set retention settings before "+a.archiveAction.slice(0,-1)+"ing.")};
L6.prototype.getRetentionPeriod=function(a){var b=a.retentionSettings.retentionSelection;switch(b){case "BUGANIZER_DEFAULT":return"Buganizer default retention (10 years)";case "INDEFINITE_RETENTION":return"Indefinite retention";case "CUSTOM_PERIOD":var c;a=(c=a.retentionSettings.retentionPeriodDays)!=null?c:0;return Tf(a);case "UNSPECIFIED_RETENTION":return"Retention period unspecified";default:qb(b,"unexpected value "+b+"!")}};
L6.prototype.archive=function(){var a=this;this.isArchiving=!0;hq(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);hq(a.butterBar,a.archiveAction+'d component "'+a.component.name+'"',4E3);a.analytics.trackEvent("component","archive");a.updateComponentAndOriginalComponent(b);a.archiveAction=b.archived?"Unarchive":"Archive";a.isArchiving=
!1}).catch(function(b){a.component.archived=!a.component.archived;hq(a.butterBar,"Could not "+a.archiveAction.toLowerCase()+" component: "+(nn(b)?on(b):b));a.isArchiving=!1})};
L6.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=b.paths.getBaseUrl(),h={};h=b.paths.createIssue((h.component=a||void 0,h.template=d.templateId?String(d.templateId):void 0,h));return{name:e,description:d.description||"",url:f+h}})}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
L6.prototype.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};
var Mgd=function(a,b){return a.componentHistoryUiEnabled?a.componentUpdatesApi.get(b).then(function(c){a.updateDiffs=c.updates.map(function(d){var e=a.componentUpdates,f=jrb(d.addMask.paths),h=jrb(d.removeMask.paths),k={author:d.author||null,timestamp:d.timestamp||null,diffs:[]},q=d.add;d=d.remove;for(var u=l(new Set([].concat(p(f),p(h)))),A=u.next();!A.done;A=u.next()){var D=A.value;if(A=a6c.get(D))if(D==="name"){var H=bs(h,D,d.name);D=bs(f,D,q.name);k.diffs.push(cs(A,H,D))}else if(D==="description")H=
bs(h,D,d.description),D=bs(f,D,q.description),k.diffs.push(cs(A,H,D));else if(D==="parentComponentId")H=bs(h,D,String(d.parentComponentId)),D=bs(f,D,String(q.parentComponentId)),k.diffs.push(cs(A,H,D));else if(D==="isArchived")H=bs(h,D,String(d.archived)),D=bs(f,D,String(q.archived)),k.diffs.push(cs(A,H,D));else if(D==="commentEditState"){var O=b6c.get(d.commentEditState);H=b6c.get(q.commentEditState);O&&H&&(O=bs(h,D,O),D=bs(f,D,H),k.diffs.push(cs(A,O,D)))}else D==="defaultTemplateId"?(H=bs(h,D,String(d.defaultTemplateId)),
D=bs(f,D,String(q.defaultTemplateId)),k.diffs.push(cs(A,H,D))):D==="slo"?e.sessionIsInternal&&(H=bs(h,D,prb(d.slo)),D=bs(f,D,prb(q.slo)),k.diffs.push(cs(A,H,D))):D==="team"?e.sessionIsInternal&&(H=bs(h,D,qrb(d.team)),D=bs(f,D,qrb(q.team)),k.diffs.push(cs(A,H,D))):D==="retentionSettings"?(H=bs(h,D,nrb(d.retentionSettings)),D=bs(f,D,nrb(q.retentionSettings)),k.diffs.push(cs(A,H,D))):e.$log.error("Unsupported diff field "+D)}return k}).filter(function(d){return d.diffs.length})}).catch(function(c){a.errorHandler.errorHandler(null,
c)}):Promise.reject(Error())};L6.prototype.showUpdateHistoryModal=function(){var a=this;Mgd(this,this.componentId).then(function(){a.matDialogService.open(G3,{width:"600px",data:{updateDiffs:a.updateDiffs}});a.analytics.trackEvent("updateHistoryModal","open");a.analytics.trackEvent("component","viewHistory")})};L6.prototype.onSloChange=function(a){a?this.component.slo.id=a.sloId:this.component.slo.id=void 0;a&&Ngd(this)};
var oYb=function(a){var b=!!a.parentComponent,c=a.component.team.id!=="0";return qYb(a)&&(c||b)},vYb=function(a){var b=!a.component.team||a.component.team.id==="0",c=!a.parentComponent;return qYb(a)&&(!a.component.slo.inherit||c&&b)},ZXb=function(a){var b,c,d,e;v(function(f){b=!a.component.parentComponentId;c=a.component.team.id!=="0";return(a.component.parentComponentId?!a.component.team.inherit&&a.component.team.id!=="0":a.component.team.id!=="0")||b&&c?w(f,pi(a.team$.pipe(C(function(h){a.component.slo.id=
h.slo.sloId;Ngd(a)}))),0):(d=Ogd(a),e=d.id,a.component.slo.id=e,Ngd(a),f.jumpTo(0))})},uYb=function(a){var b=a.parentComponent||a.isParentComponentRequired;return a.component.team.id!=="0"||b?!0:!1},Ogd=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}},HYb=function(a,b){hq(a.butterBar,"Saving effort spec...",0);
a.component&&(a.component.effortSpec=b,a.componentActions.update(a.component).then(function(c){a.updateComponentAndOriginalComponent(c);a.analytics.trackEvent("component","updateEffort");var d,e;if((d=a.component)==null?0:(e=d.effortSpec)==null?0:e.name){var f;hq(a.butterBar,((f=a.component.effortSpec)==null?void 0:f.name)+" saved")}else hq(a.butterBar,"Estimated Effort saved")}).catch(function(c){a.errorHandler.errorHandler(null,c)}))};
L6.prototype.updateComponentAndOriginalComponent=function(a){this.component=wd(a);this.component$.next(this.component);this.originalComponent=wd(a);var b;this.componentTeam$.next((b=this.component.team)!=null?b:null);Ngd(this)};L6.prototype.back=function(){QY(this.appHistory)};var Ngd=function(a){var b;((b=a.component)==null?0:b.slo)?a.isEnableSloChecked=a.component.slo.id!==void 0:a.isEnableSloChecked=!1};L6.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(L6)))(b||L6)}}();
L6.\u0275cmp=F({type:L6,selectors:[["manage-component-page"]],viewQuery:function(a,b){a&1&&(ek(ygd,5),ek(zgd,5),ek(Agd,5));if(a&2){var c;ik(c=jk())&&(b.confirmArchiveDialog=c.first);ik(c=jk())&&(b.archiveButton=c.first);ik(c=jk())&&(b.metadataForm=c.first)}},standalone:!1,features:[Bk([jE]),xj],decls:3,vars:3,consts:[["archiveDialog",""],["archiveButton",""],["basic",""],["customFields",""],["fieldOrdering",""],["fieldVisibility",""],["templatesList",""],["access",""],["metadataForm",""],[1,"bv2-limited-issue-view"],
[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"],["cdkScrollable","",1,"bv2-view"],[1,"bv2-view-loading"],["mat-button","",3,"routerLinkObj"],["format","flat",3,"disabled"],["format","flat",3,"tooltip","disabled"],["format","flat",3,"onAction","disabled"],["format","flat",3,"onAction","tooltip","disabled"],[1,"edit-resource-header"],[1,"resource-archived"],[1,"keep-focus-ring",
"margin-s-right",3,"click","routerLinkObj"],[3,"accessLevel"],[3,"trackerId"],[1,"component-hierarchy-container"],["componentPathsLinkTo","settings",3,"componentPathInfo","isArchived","label"],[1,"float-clear"],["gmat-tabs","",1,"bv2-tab-bar",3,"selectedIndexChange","selectedIndex"],["label","Basic Information",3,"id"],[4,"ngTemplateOutlet"],[3,"id","label"],["label","Field Ordering",3,"id"],["label","Field Visibility",3,"id"],["label","Templates",3,"id"],["label","Access Control",3,"id"],[1,"edit-resource-panel"],
["name","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,"ngModelChange","ngModel","disabled"],["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,"ngModelChange","ngModel","disabled"],["tabindex","0","aria-label","Parent component",1,"edit-field"],["role","region","aria-label","Editable Comments",1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],["ariaLabelledby","editable-comments-label permission-toggle-help",
3,"change","checked","disabled"],["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",1,"keep-underline","keep-focus-ring",3,"href"],["role","region","aria-label","Retention Settings",1,"edit-field",3,"bv2-edit-resource-readonly"],["role","region","tabindex","0","aria-label","Team Configuration",1,"edit-field",3,"bv2-edit-resource-readonly"],["role","region",
"tabindex","0","aria-label","SLO Configuration",1,"edit-field",3,"bv2-edit-resource-readonly"],["name","spam-protection-enable","labelPosition","before",1,"spam-protection-enable",3,"checked","disabled"],[1,"edit-button-row"],[1,"edit-button-group"],["format","hairline","title","View history for 'Basic Information'"],[1,"edit-field","bv2-edit-resource-readonly"],[3,"children"],["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,"selectedComponentChange","selectedComponent","placeholder","isRequired"],["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,"modelChange","validChange","issueRetentionDisabled",
"isExternal","componentPathInfo","componentId","initialModel"],["role","region","tabindex","0","aria-label","Team Configuration",1,"edit-field"],["for","team-picker"],["id","team-picker"],[3,"modelChange","isAdmin","isTopLevel","parentModel","useInternalLink","anchorTarget","model"],["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"],
[1,"slo-policy-link"],[1,"slo-policy-source-link"],[1,"slo-admins-link"],[1,"lock-state"],[1,"edit-field","less-margin"],[3,"routerLinkObj"],[1,"keep-focus-ring","slo-inheritance-link",3,"routerLinkObj"],["mat-stroked-button","","type","button","aria-label","Display the full SLO inheritance path below",1,"slo-inheritance-path","small",3,"click"],[1,"slo-breadcrumbs"],[3,"componentPath","teamPath"],["target","_blank",1,"keep-focus-ring",3,"routerLinkObj"],["svgIcon","lock-outline"],["svgIcon","lock-open"],
["gmat-checkbox","",1,"slo-override",3,"change","checked","disabled"],[1,"edit-field","component-slo-justification-text"],["name","slo-enable","labelPosition","before",1,"slo-enable",3,"ngModelChange","change","ngModel","disabled"],[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,"onSloSelect","bv2Disabled","boundId","bv2Placeholder"],["mat-icon-button","","aria-label",
"Go to SLO management page","matTooltip","Go to SLO management page.",1,"small",3,"routerLinkObj","target"],["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,"ngModelChange","ngModel","disabled"],["svgIcon","pop-out",1,"icon-s"],["name","spam-protection-enable","labelPosition","before",1,"spam-protection-enable",3,"change","checked","disabled"],["format","fill",3,"onAction","disabled"],["format","hairline",3,"onAction","disabled"],["format","hairline","title","View history for 'Basic Information'",3,"onAction"],[3,"onVisit","children"],["aria-label","Standard Fields",1,"heading-m","padded-x","margin-top"],[3,"effortSpec","parentEffortSpec",
"disabled"],["aria-label","Custom Fields",1,"heading-m","padded-x","margin-top"],[3,"editMode","isSaving","component","parentComponent"],[3,"updateComponent","effortSpec","parentEffortSpec","disabled"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about field ordering","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"onReload","fields","componentId","fieldOrdering","isAdmin"],[3,"isAdmin","componentPathInfo"],[3,"componentId","supportCustomFields"],
[1,"component-field"],[3,"href"],[3,"onTabChange","tabIndex"],["mat-dialog-title",""],[1,"b-archive-component-list"],["type","button","mat-button","","mat-dialog-close","","aria-label","Click to close the dialog without archiving the component",3,"click"],["type","button","mat-flat-button","","mat-dialog-close","","aria-label","Click to archive the component","color","warn",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"],["aria-label","Learn more on how to recursively unarchive subcomponents","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"component"]],template:function(a,b){a&1&&(I(0,eZb,11,3),W(1,"async"),Jj(2,fZb,2,1,"div",9));a&2&&J(X(1,1,b.showTrackerRedirect$)?2:0)},dependencies:[DM,oy,EA,gC,zO,BO,qZ,V2,ocd,e3,u_,u0,m3,w6,pG,Bp,hG,iG,AG,oG,mG,jK,dA,aA,bA,aG,HG,fI,hI,jI,iI,
mz,FM,sK,oM,jM,kM,YF,WF,t1,K6,x6,r1,lL,OO,HO,q5,py,ry],styles:[".mat-mdc-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}.mat-mdc-button[_ngcontent-%COMP%]:focus, .mat-mdc-button[_ngcontent-%COMP%]:focus-visible, .mat-mdc-button[_ngcontent-%COMP%]:focus-within, .mat-mdc-flat-button.mat-primary[_ngcontent-%COMP%]:focus, .mat-mdc-flat-button.mat-primary[_ngcontent-%COMP%]:focus-visible, .mat-mdc-flat-button.mat-primary[_ngcontent-%COMP%]:focus-within{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color}[_nghost-%COMP%]     .permission-toggle-checkbox mat-checkbox{top:-5px}[_nghost-%COMP%]     .permission-toggle-checkbox mat-checkbox input{width:auto}  .gmat-mdc-button.mat-mdc-button:not([disabled]):focus .mat-button-focus-overlay,   .gmat-mdc-button.mat-mdc-button:not([disabled]):focus-visible .mat-button-focus-overlay,   .gmat-mdc-button.mat-mdc-button:not([disabled]):focus-within .mat-button-focus-overlay,   .gmat-mdc-button.mat-mdc-outlined-button:not([disabled]):focus .mat-button-focus-overlay,   .gmat-mdc-button.mat-mdc-outlined-button:not([disabled]):focus-visible .mat-button-focus-overlay,   .gmat-mdc-button.mat-mdc-outlined-button:not([disabled]):focus-within .mat-button-focus-overlay{opacity:.06}\n/*# sourceMappingURL=manage_component.css.map */"]});var Pgd=["deleteTriageDialog"],k_b=function(a){return{value:a}},IZb=function(a){return[a]},JZb=function(){return[]},Qgd={BASIC:"basic",SLO:"slo",MAPPINGS:"componentMapping",TRIAGE:"triage",ACCESS:"accessControl"},M6=function(){Z.call(this);var a=this;this.activeSession=x(Ks);this.accessPolicyApi=x(qB);this.appHistory=x(PY);this.butterBar=x(MA);this.checkBeforeExit=x(LR);this.componentActions=x(DO);this.errorHandler=x(PA);this.location=x(hL);this.matDialogService=x(eI);this.pageTitle=x(jY);this.routeParams=
x(NI);this.teamsService=x(kF);this.userAccess=x(dD);this.starredTeamsService=x(QH);this.sloApi=x(cF);this.sloService=x(dF);this.triageViewConfigDialogService=x(hW);this.destroyRef=x(Cj);this.tableColumns=["starred","name","actions"];this.originalSloLock=!1;this.canEditSloLock=!0;this.sloJustification$=new $n("");this.error="";this.justificationRequiredText="Justification is required to override the org SLO.";this.selectedTabIndex=0;this.teamId=this.routeParams.teamId;this.team$=new nj(1);this.teamSlo$=
this.team$.pipe(C(function(d){return d.slo}));this.isEscalationOwnerValid=!1;this.escalationOwnerInvalidErrorMessage="";this.escalationOwnerEmail$=new $n("");this.escalationOwner$=new $n("");this.escalationOwnerUserValidators={escalationOwnerNotUser:function(d){if(d){d=l(d);for(var e=d.next();!e.done;e=d.next())if(!e.value.startsWith("USER:"))return!1}return!0}};this.escalationOwnerGooglerValidators={escalationOwnerNotGoogler:function(d){if(d){d=l(d);for(var e=d.next();!e.done;e=d.next())if(!e.value.startsWith("UNRESTRICTED_GOOGLER:"))return!1}return!0}};
this.starredTriageViews$=this.starredTeamsService.starredTriageViews$;this.teamAdmins$=di(this.accessPolicyApi.get("TEAM",this.teamId)).pipe(C(function(d){return d.admins.filter(Uea).map(vq)}));this.teamLeads$=this.team$.pipe(C(function(d){return d.members.filter(function(e){return e.isLead}).map(function(e){var f,h;return"USER:"+((h=(f=e.user)==null?void 0:f.emailAddress)!=null?h:"")})}));this.adminsAndLeads$=si([this.teamAdmins$,this.teamLeads$]).pipe(C(function(d){var e=l(d);d=e.next().value;e=
e.next().value;var f=new Set(d);e=e.filter(function(h){return!f.has(h)});return[].concat(p(d),p(e))}));this.originalSloDelegates$=new $n([]);this.sloDelegates$=wi(function(){return a.accessPolicyApi.get("TEAM_SLO",a.teamId)}).pipe(C(function(d){return d.admins.map(vq)}));this.sloDelegates=[];this.associatedComponents$=di(this.componentActions.search("overrideteamid:"+this.teamId));this.childTeams$=this.teamsService.getChildTeams([this.teamId]).pipe(C(function(d){return d.values().next().value}));
this.teamPath$=this.team$.pipe(C(function(d){var e=d.pathNames;return d.pathIds.map(function(f,h){return{id:f,name:e[h]}})}));this.isRootTeam$=this.teamPath$.pipe(C(function(d){return d.length<=1?!0:!1}));this.parentTeam$=si([this.isRootTeam$,this.teamPath$]).pipe(sj(function(d){var e=l(d);d=e.next().value;e=e.next().value;return d?li(null):a.teamsService.getTeam(e[e.length-2].id)}));this.parentTeam=null;this.inheritedSlo$=this.parentTeam$.pipe(sj(function(d){var e=d==null?void 0:d.slo.sloId;return e&&
e!=="0"?a.sloService.get(e).then(function(f){return{id:e,link:BIa(e),slo:f}}):li({id:"0"})}));this.sloPolicySource$=si([this.parentTeam$,this.teamPath$]).pipe(C(function(d){var e=l(d);d=e.next().value;e=e.next().value;var f=d==null?void 0:d.slo.sourceTeamId;d=e.find(function(h){return h.id===f});return f&&d?{name:d.name,link:{path:"/teams/"+f+"/edit",fragment:"slo"}}:null}));this.sloLock$=this.sloApi.executor.get({url:"action/teams/"+this.teamId+"/slo_edit_policy",responseConstructor:Cyc}).pipe(C(iIa));
this.Tab=Qgd;this.enableSloLockingUi=Cx(this.activeSession,"enableSloLockingUi");this.enableTeamScope=Cx(this.activeSession,"enableTeamScope")&&this.activeSession.isInternalSession();this.enableTeamAdmin=Cx(this.activeSession,"enableTeamAdmin")&&this.activeSession.isInternalSession();this.enableSloDelegatesUi=Cx(this.activeSession,"enableSloDelegatesUi")&&this.activeSession.isInternalSession();this.isSloInheritEnabled$=new $n(!0);this.isOwnerInheritEnabled$=new $n(!0);this.sloId$=new $n("0");this.enableSloCheckedInternal=
!1;this.sloLocked$=new $n(!1);this.hasSloReadAccess$=this.sloId$.pipe(sj(function(d){return eD(a.userAccess,"reader","slos/"+d)}),rj(!1));this.sloPickerLink$=si([this.sloId$,this.hasSloReadAccess$]).pipe(C(function(d){var e=l(d);d=e.next().value;e=e.next().value;return d&&Number(d)>0&&e?BIa(d):null}));this.hasUnsavedChanges$=si([this.team$,this.sloId$,this.isSloInheritEnabled$,this.isOwnerInheritEnabled$,this.sloLocked$,this.sloJustification$,this.escalationOwnerEmail$]).pipe(C(function(d){var e=
l(d);var f=e.next().value;d=e.next().value;var h=e.next().value;var k=e.next().value;var q=e.next().value;var u=e.next().value;e=e.next().value;var A=f.slo,D,H;f=(D=f.extra)==null?void 0:(H=D.escalationOwnerOverride)==null?void 0:H.emailAddress;var O;return A.inherit!==h||A.sloId!==d||q!==a.originalSloLock||A.comment!==u||f!==((O=k?void 0:{emailAddress:e})==null?void 0:O.emailAddress)}));this.hasUnsavedChanges=!1;this.teamExperiments={id:this.teamId,triage:[{id:0}],playbooks:[]};this.hasTeamEditAccess=
this.hasSloEditAccess=!1;this.starInProgress={};this.team$.pipe(vp(this.destroyRef)).subscribe(function(d){a.pageTitle.setTitle("Team: "+d.name)});var b=Cx(this.activeSession,"enableSloLockingCheck"),c="teams/"+this.teamId;eD(this.userAccess,"writer",b?"teams/"+this.teamId+"/slo":c).then(function(d){a.hasSloEditAccess=d});eD(this.userAccess,"writer",c).then(function(d){a.hasTeamEditAccess=d});this.hasUnsavedChanges$.pipe(vp(this.destroyRef)).subscribe(function(d){a.hasUnsavedChanges=d});this.subscriptions.add(MR(this.checkBeforeExit,
function(){return a.hasUnsavedChanges},!1))};Y(M6,Z);M6.\u0275dir=Z.\u0275dir;
M6.prototype.ngOnInit=function(){var a=this,b,c,d,e,f,h;return v(function(k){switch(k.nextAddress){case 1:return b=a.location.hash(),b==="basic"?a.selectedTabIndex=0:b==="slo"?a.selectedTabIndex=1:b==="componentMapping"?a.selectedTabIndex=2:b==="triage"&&a.enableTeamScope?a.selectedTabIndex=3:b==="accessControl"&&a.enableSloDelegatesUi&&(a.selectedTabIndex=4),ei(k,2),w(k,pi(a.teamsService.get(a.teamId)),4);case 4:c=k.yieldResult;Iu(k,3);break;case 2:return ii(k),a.butterBar.showWarning("Unable to fetch team ID '"+
a.teamId+"'"),k.return();case 3:a.team$.next(c);MZb(a);if(!a.enableSloDelegatesUi){k.jumpTo(5);break}d=a.originalSloDelegates$;e=d.next;return w(k,pi(a.sloDelegates$),6);case 6:e.call(d,k.yieldResult),a.sloDelegates=a.originalSloDelegates$.getValue();case 5:return w(k,pi(a.parentTeam$),7);case 7:a.parentTeam=k.yieldResult||null;if(!a.enableTeamScope){k.jumpTo(0);break}return w(k,pi(nF(a.teamsService,a.teamId)).catch(function(){}),9);case 9:f=k.yieldResult,a.teamExperiments=(h=f)!=null?h:{id:a.teamId,
triage:[{id:0}],playbooks:[]},ji(k)}})};M6.prototype.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=(d=(b=this.tabs)==null?void 0:(c=b.get(a))==null?void 0:c.nativeElement.id)!=null?d:null;this.location.hash(e,!0)};M6.prototype.onSloChange=function(a){a&&(this.sloId=a.sloId)};
var LZb=function(a,b){var c,d,e,f,h,k,q;return v(function(u){switch(u.nextAddress){case 1:if(!a.validate())return u.return();hq(a.butterBar,"Saving changes...",0);ei(u,2);if(((c=b.extra)==null?void 0:(d=c.escalationOwner)==null?void 0:d.emailAddress)===a.escalationOwnerEmail){u.jumpTo(4);break}var A,D;var H=a.teamsService.updateTeam(Object.assign({},b,{extra:{escalationOwner:{emailAddress:a.escalationOwnerEmail},defaultEscalationOwner:{emailAddress:(A=b.extra)==null?void 0:(D=A.defaultEscalationOwner)==
null?void 0:D.emailAddress},escalationOwnerOverride:a.isOwnerInheritEnabled?void 0:{emailAddress:a.escalationOwnerEmail}}}));return w(u,pi(H),5);case 5:e=u.yieldResult,a.team$.next(e);case 4:if(a.sloLocked===a.originalSloLock){u.jumpTo(6);break}H=a.sloApi;A=a.teamId;D=a.sloLocked;var O=new zyc;D=Xd(O,2,D?1:2).setTeamId(Number(A));H=H.executor.post({url:"action/teams/"+A+"/slo_edit_policy",responseConstructor:Eyc,body:D}).pipe(C(iIa));return w(u,pi(H),7);case 7:f=u.yieldResult,a.originalSloLock=f;
case 6:h=b.slo;if(h.inherit===a.isSloInheritEnabled&&h.sloId===a.sloId&&a.originalSloLock===a.sloLocked&&h.comment===a.sloJustification){u.jumpTo(8);break}D={sloId:a.sloId,inherit:a.isSloInheritEnabled,comment:a.isSloInheritEnabled?"":a.sloJustification$.getValue(),sourceTeamId:"0"};H=a.teamsService;A=a.teamId;D=(new iF).setIt(sza(D));H=H.executor.post({url:"/action/teams/"+A+"/update_slo",body:D,responseConstructor:fF}).pipe(C(qIa));return w(u,pi(H),9);case 9:k=u.yieldResult,a.team$.next(k);case 8:hq(a.butterBar,
"Save complete.");Iu(u,0);break;case 2:q=ii(u),RA(a.errorHandler,q),ji(u)}})},Rgd=function(a){var b,c;v(function(d){if(d.nextAddress==1)return hq(a.butterBar,"Saving changes...",0),w(d,pi(Ryc(a.teamsService,a.teamExperiments)),2);b=d.yieldResult;hq(a.butterBar,"Save complete.");a.teamExperiments=(c=b)!=null?c:{id:a.teamId,triage:[{id:0}],playbooks:[]};ji(d)})},g_b=function(a){var b,c,d;return v(function(e){if(e.nextAddress==1){try{b=Cq(Aq()),b.admins=zq(a.sloDelegates)}catch(f){return c="An unknown problem occurred",
f instanceof Error&&(c=f.message),a.butterBar.showWarning(c),e.return()}hq(a.butterBar,"Saving changes...",0);ei(e,2);return w(e,a.accessPolicyApi.update("TEAM_SLO",a.teamId,b).then(function(){hq(a.butterBar,"Save complete.");a.originalSloDelegates$.next(a.sloDelegates)}),4)}if(e.nextAddress!=2)return Iu(e,0);d=ii(e);a.butterBar.showWarning(on(d));return e.return()})},h_b=function(a){return v(function(b){a.sloDelegates=a.originalSloDelegates$.getValue();ji(b)})};
M6.prototype.validate=function(){if(!this.isSloInheritEnabled&&this.sloJustification$.getValue()==="")return this.error="Justification is required",!1;if(!this.isEscalationOwnerValid)return this.error="Please provide a valid owner",!1;this.error="";return!0};M6.prototype.isTriageStarred=function(a,b,c){return c.some(function(d){return d.triageId===a.toString()&&d.teamId===b})};
var GZb=function(a){var b;v(function(c){if(c.nextAddress==1)return w(c,a.getDefaultEscalationOwner(),2);b=c.yieldResult;a.escalationOwner=b?"USER:"+b:"";ji(c)})},Sgd=function(a){var b,c,d,e,f,h,k,q,u,A,D,H;v(function(O){if(O.nextAddress==1)return w(O,pi(a.team$),2);b=O.yieldResult;c=b.extra;f=(d=c)==null?void 0:(e=d.escalationOwner)==null?void 0:e.emailAddress;q=(h=c)==null?void 0:(k=h.escalationOwnerOverride)==null?void 0:k.emailAddress;A=(u=q)!=null?u:f;a.escalationOwner=A?"USER:"+A:"";a.isOwnerInheritEnabled=
((D=c)==null?void 0:D.escalationOwnerOverride)===void 0;a.isOwnerInheritEnabled||q===""||f===q||(a.escalationOwnerInvalidErrorMessage="Selected owner is invalid, falling back to default owner: "+((H=f)!=null?H:""));ji(O)})};
M6.prototype.getDefaultEscalationOwner=function(){var a=this,b,c,d,e,f,h,k,q,u;return v(function(A){if(A.nextAddress==1)return w(A,pi(a.team$),2);if(A.nextAddress!=3)return b=A.yieldResult,(e=(c=b.extra)==null?void 0:(d=c.defaultEscalationOwner)==null?void 0:d.emailAddress)?A.return(e):w(A,pi(a.parentTeam$),3);f=A.yieldResult;return A.return((u=(h=f)==null?void 0:(k=h.extra)==null?void 0:(q=k.escalationOwner)==null?void 0:q.emailAddress)!=null?u:"")})};
var Tgd=function(a){pi(a.teamSlo$).then(function(b){a.sloId=b.sloId;a.isSloInheritEnabled=b.inherit;a.sloJustification$.next(b.comment)})},Ugd=function(a){pi(a.sloLock$).then(function(b){a.originalSloLock=b;a.sloLocked=b})},MZb=function(a){a.error="";Sgd(a);Tgd(a);a.enableSloLockingUi&&Ugd(a)};M6.prototype.back=function(){QY(this.appHistory)};M6.prototype.getTriageLink=function(a,b){return Hq.viewTriage.makeHref(b,a)};
M6.prototype.toggleStar=function(a,b){var c=this,d;return v(function(e){if(e.nextAddress==1){d=a+":"+b;if(c.starInProgress[d])return e.jumpTo(0);c.starInProgress[d]=!0;return w(e,rCc(c.starredTeamsService,a.toString(),b),3)}c.starInProgress[d]=!1;ji(e)})};
var $Zb=function(a,b,c){var d,e,f,h;return v(function(k){if(k.nextAddress==1){d=a.teamExperiments.triage.find(function(q){return q.id===b});if(!d)return k.return();e={teamExperiments:a.teamExperiments,teamName:c.name,triage:d};return w(k,pi(li(a.triageViewConfigDialogService.show(e))),2)}if(k.nextAddress!=3)return(f=k.yieldResult)?w(k,pi(nF(a.teamsService,a.teamId)),3):k.return();if(h=k.yieldResult)a.teamExperiments=h;ji(k)})},d_b=function(a,b){var c,d,e;return v(function(f){if(f.nextAddress==1)return c=
{teamExperiments:a.teamExperiments,teamName:b.name},w(f,pi(li(a.triageViewConfigDialogService.show(c))),2);if(f.nextAddress!=3)return(d=f.yieldResult)?w(f,pi(nF(a.teamsService,a.teamId)),3):f.return();if(e=f.yieldResult)a.teamExperiments=e;ji(f)})},Vgd=function(a,b){var c=a.teamExperiments.triage.findIndex(function(d){return d.id===b});c!==-1&&(a.teamExperiments.triage.splice(c,1),Rgd(a))},YZb=function(a,b){ZH(a.matDialogService.open(a.deleteTriageDialog,{data:b})).pipe(vp(a.destroyRef)).subscribe(function(c){c&&
Vgd(a,b.id)})};
pg.Object.defineProperties(M6.prototype,{sloJustification:{configurable:!0,enumerable:!0,get:function(){return this.sloJustification$.getValue()}},escalationOwnerEmail:{configurable:!0,enumerable:!0,get:function(){return this.escalationOwnerEmail$.getValue()}},escalationOwner:{configurable:!0,enumerable:!0,set:function(a){a!==this.escalationOwner$.getValue()&&(this.escalationOwner$.next(a),this.escalationOwnerEmail$.next(a?a.split(":")[1]:""))},get:function(){return this.escalationOwner$.getValue()}},isSloInheritEnabled:{configurable:!0,
enumerable:!0,set:function(a){a!==this.isSloInheritEnabled$.getValue()&&this.isSloInheritEnabled$.next(a)},get:function(){return this.isSloInheritEnabled$.getValue()}},isOwnerInheritEnabled:{configurable:!0,enumerable:!0,set:function(a){a!==this.isOwnerInheritEnabled$.getValue()&&this.isOwnerInheritEnabled$.next(a)},get:function(){return this.isOwnerInheritEnabled$.getValue()}},sloId:{configurable:!0,enumerable:!0,set:function(a){a!==this.sloId$.getValue()&&(this.sloId$.next(a),this.enableSloChecked=
a!=="0")},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()}}});M6.\u0275fac=function(a){return new (a||M6)};
M6.\u0275cmp=F({type:M6,selectors:[["manage-team-page"]],viewQuery:function(a,b){a&1&&(ek(Pgd,5),ek(jM,5,Ph));if(a&2){var c;ik(c=jk())&&(b.deleteTriageDialog=c.first);ik(c=jk())&&(b.tabs=c)}},standalone:!1,features:[xj],decls:10,vars:3,consts:[["deleteTriageDialog",""],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["type","button","mat-icon-button","","aria-label","Go back","color","primary","matTooltip","Go back",1,"large",3,"click"],["svgIcon","arrow-backward",1,"icon-m"],["cdkScrollable",
"",1,"bv2-view"],[1,"edit-resource-header"],["target","_blank",3,"href"],["svgIcon","pop-out",1,"icon-s"],[1,"team-hierarchy-container"],["gmat-tabs","","mat-align-tabs","start",3,"selectedIndexChange","selectedIndex"],["label","Basic Information",3,"id"],[1,"edit-resource-panel"],[1,"edit-field"],[1,"field-label"],[1,"edit-field-header"],[1,"description"],[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"],[3,"users"],["label","Team SLO",3,"id"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],[1,"slo-policy-link"],[1,"slo-policy-source-link"],[1,"slo-inheritance-link",3,"routerLinkObj"],[1,"lock-state"],[3,"error"],[1,"edit-button-row"],["label","Component mapping",3,"id"],["label","Triage",3,"id"],["label","Access Control",3,"id"],[3,"teamPath"],[3,"routerLink"],[3,"routerLinkObj"],["svgIcon","lock-outline"],
["svgIcon","lock-open"],[1,"edit-field","less-margin"],["gmat-checkbox","",1,"override-slo",3,"change","disabled","checked"],[1,"edit-field","slo-justification"],["name","slo-enable","labelPosition","before",1,"slo-enable",3,"ngModelChange","change","ngModel","disabled"],[1,"team-slo-id-select",3,"onSloSelect","boundId","bv2Disabled","bv2Placeholder"],["mat-icon-button","","matTooltip","Go to SLO management page",1,"small","slo-link",3,"routerLinkObj","target"],["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,"ngModelChange","ngModel","disabled"],["gmat-checkbox","",1,"slo-lock",3,"change","checked","disabled"],["idForInputBox","team-owner","ariaLabel","Escalation owner email",3,"usersChange","isValid","users","customValidators","detailedUserValidators","maxUserAllowed"],[1,"owner-invalid-error-message"],["gmat-checkbox","",1,"override-owner",
3,"change","checked","disabled"],[1,"edit-button-group"],["type","button","gmat-mdc-button","","mat-flat-button","","color","primary",3,"click","disabled"],["type","button","gmat-mdc-button","","mat-stroked-button","","color","primary",3,"click","disabled"],["mat-table","",1,"full-width",3,"dataSource"],["matColumnDef","starred"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","","class","triage-name",4,"matCellDef"],["matColumnDef","actions"],
["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["type","button","mat-button","","color","primary",3,"click","disabled"],["mat-header-cell",""],[1,"a11y-only"],["mat-cell",""],["tabindex","-1",3,"starClicked","starred","starMessage","unStarMessage"],["mat-cell","",1,"triage-name"],[1,"hover-link",3,"href"],[1,"flex-kids-x"],["type","button","aria-label","Edit","mat-icon-button","",3,"click","disabled"],["svgIcon","edit-outline"],[1,"space-placeholder"],["type",
"button","mat-icon-button","","aria-label","Remove",3,"disabled"],["type","button","mat-icon-button","","aria-label","Remove",3,"click","disabled"],["svgIcon","delete"],["mat-header-row",""],["mat-row",""],["idForInputBox","Users who can manage SLO associations on teams and associated components","ariaLabel","SLO delegates",3,"usersChange","users","includeAliases","includeViewAliases"],["mat-dialog-content",""],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium","cancel",3,"mat-dialog-close"],
["type","button","color","primary","mat-flat-button","",1,"medium","confirm",3,"mat-dialog-close"]],template:function(a,b){if(a&1){var c=y();L(0,"div",1)(1,"div",2)(2,"div",3)(3,"button",4);Q("click",function(){z(c);return B(b.back())});N(4,"mat-icon",5);M()()()();L(5,"div",6);I(6,l_b,97,45);W(7,"async");M();G(8,m_b,7,3,"ng-template",null,0,Gk)}if(a&2){var d;E(6);J((d=X(7,1,b.team$))?6:-1,d)}},dependencies:[EA,bC,gC,u0,Bp,hG,AG,oG,dA,aA,bA,aG,HG,fI,jI,iI,RP,eL,SK,YK,UK,RK,$K,VK,XK,aL,cL,oM,jM,kM,
YF,WF,mz,FM,sK,zP,r1,WR,h1,py],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-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-mdc-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}.description[_ngcontent-%COMP%]{white-space:pre-wrap}button[_ngcontent-%COMP%]{height:32px;line-height:32px}button.mat-mdc-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}.space-placeholder[_ngcontent-%COMP%]{width:40px}.team-slo-id-select[_ngcontent-%COMP%], mat-slide-toggle.slo-enable[_ngcontent-%COMP%]{display:inline-block}.triage-name[_ngcontent-%COMP%]{width:100%}.owner-invalid-error-message[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad);font-size:.8125rem;line-height:18px;margin:0 0 1em;padding:9px 0}/*# sourceMappingURL=manage_team.css.map */"]});var Wgd=["content"],Xgd=["task_input"],t_b=function(a,b){return b.id},Ygd=new RegExp(/b-qa\/(\d+)|b-qa.corp.google.com\/issues\/(\d+)/,"i"),Zgd=new RegExp(/b\/(\d+)|b.corp.google.com\/issues\/(\d+)|buganizer.corp.google.com\/issues\/(\d+)|b-nightly\/(\d+)|b-nightly.corp.google.com\/issues\/(\d+)|buganizer-nightly.corp.google.com\/issues\/(\d+)/,"i"),$gd=new RegExp(/cl\/(\d+)|cr\/(\d+)|critique-ng.*.corp.google.com\/cl\/(\d+)|critique-legacy.corp.google.com\/.*review\/(\d+)|critique.corp.google.com\/.*review\/(\d+)/,
"i"),ahd=new RegExp(/docs.google.com\/(?:document|spreadsheets|presentation)\/d\/([^\/]+)|drive.google.com\/file\/d\/([^\/]+)/,"i"),bhd=new RegExp(/([^\/]+)-review.staging-git.corp.google.com\/c\/(.+)\/\+\/(\d+)|([^\/]+)-review.git.corp.google.com\/c\/(.+)\/\+\/(\d+)/,"i"),chd=new RegExp(/irm\/(\w+)|irm\.corp\.google\.com\/incidents\/(\w+)/,"i"),N6=function(){Z.call(this);var a=this;this.destroyRef=x(Cj);this.window=x(RF);this.activeSession=x(Ks);this.errorHandler=x(PA);this.butterBar=x(MA);this.focusEscapeNotifierFactory=
x(dN);this.tasksService=x(TE);this.analytics=x(nE);this.isInternalSession=this.activeSession.isInternalSession();this.cancelClicked=new iE;this.saveClicked=new iE;this.focusEscaped=new iE;this.addTasksForm=new nG("",[zp,function(b){var c;(c=b.value==="")||(b=b.value,c=(Oq(a.activeSession)?Zgd:Ygd).test(b)||$gd.test(b)||ahd.test(b)||bhd.test(b)||chd.test(b)||a.dynamicBuganizerUrlPattern.test(b));c?(a.validationErrorMessage="",b=null):(a.validationErrorMessage="Unsupported link. Task ID could not be extracted from URL.",
b={unsupportedUrl:a.validationErrorMessage});return b}]);this.gtaskListIds$=this.isInternalSession?jyc(this.tasksService).pipe(vp(this.destroyRef),cj(function(b){console.error("Error fetching task list:",b);return li([])})):li([]);this.saving=!1;this.validationErrorMessage="";this.fb=x(EG);this.gTaskForm=this.fb.group({title:["",zp],details:[""],date:[null],taskListId:["",zp]});this.urlPlaceholder="ex: "+this.window.location.origin+"/issues/123456";this.dynamicBuganizerUrlPattern=new RegExp(oq(this.window.location.hostname)+
"\\/(?:issues\\/)?(\\d+)","i")};Y(N6,Z);N6.\u0275dir=Z.\u0275dir;N6.prototype.ngAfterViewInit=function(){var a=this;this.focusEscapeNotifier=this.focusEscapeNotifierFactory.create(this.content.nativeElement);this.focusEscapeNotifier.escapeSubject$.pipe(tj(this.destroyed$)).subscribe(function(b){if(b===0){var c;(c=a.focusEscapeNotifier)==null||goc(c)}else{var d;(d=a.focusEscapeNotifier)==null||Jy(d)}});this.analytics.trackEvent("taskDialog","open","addTaskDialog")};
N6.prototype.saveChanges=function(){var a=this;this.saving=!0;this.analytics.trackEvent("manualSignal","add","dialog");var b=this.parseUrl(this.addTasksForm.value),c=dhd(this,this.addTasksForm.value)?3E3:0;dyc(this.tasksService,[b],!0).pipe(ij(c)).subscribe(function(){a.saving=!1;a.saveClicked.emit()},function(d){a.saving=!1;a.butterBar.showWarning("Failed to trigger alert on task: "+b);a.errorHandler.errorHandler(null,d)})};
var dhd=function(a,b){return a.activeSession.isInternalSession()&&(Oq(a.activeSession)?Zgd:Ygd).test(b)||a.dynamicBuganizerUrlPattern.test(b)?!0:!1};
N6.prototype.parseUrl=function(a){if(this.activeSession.isInternalSession()){var b=Oq(this.activeSession)?Zgd:Ygd;if(b.test(a))return"b/"+a.match(b).slice(1).find(function(c){return!!c})}if($gd.test(a))return"cl/"+a.match($gd).slice(1).find(function(c){return!!c});if(ahd.test(a))return"drive/"+a.match(ahd).slice(1).find(function(c){return!!c});if(bhd.test(a))return a=a.match(bhd),a[1]?"gerrit/"+a[1]+"."+a[2]+"~"+a[3]:"gerrit/"+a[4]+"."+a[5]+"~"+a[6];if(chd.test(a))return"irm/"+a.match(chd).slice(1).find(function(c){return!!c});
if(dhd(this,a)&&(a=a.match(this.dynamicBuganizerUrlPattern),a!=null))return"b/"+a.slice(1).find(function(c){return!!c});throw Error("sf");};
N6.prototype.saveGTask=function(a){var b=this;this.saving=!0;this.tasksService.saveGTask(a).pipe(vp(this.destroyRef),sj(function(c){return dyc(b.tasksService,[c],!0)}),kj(function(){b.saving=!1})).subscribe({next:function(){b.saveClicked.emit();b.analytics.trackEvent("googleTasks","click","addGoogleTask")},error:function(c){console.error("Error saving task:",c);b.butterBar.showWarning("Something went wrong saving the task: "+a.title)}})};
N6.prototype.onSubmit=function(){if(this.gTaskForm.valid){var a,b=(new Date((a=this.gTaskForm.value.date)!=null?a:0)).getTime();this.saveGTask({title:this.gTaskForm.value.title,details:this.gTaskForm.value.details,taskListId:this.gTaskForm.value.taskListId,dueDateMs:b})}else this.butterBar.showWarning("Invalid data. Please check the information provided.",this.gTaskForm.value.title)};
pg.Object.defineProperties(N6.prototype,{title:{configurable:!0,enumerable:!0,get:function(){return this.gTaskForm.get("title")}},details:{configurable:!0,enumerable:!0,get:function(){return this.gTaskForm.get("details")}},date:{configurable:!0,enumerable:!0,get:function(){return this.gTaskForm.get("date")}},taskListId:{configurable:!0,enumerable:!0,get:function(){return this.gTaskForm.get("taskListId")}}});N6.\u0275fac=function(a){return new (a||N6)};
N6.\u0275cmp=F({type:N6,selectors:[["b-add-task-dialog"]],viewQuery:function(a,b){a&1&&(ek(Wgd,7),ek(Xgd,5));if(a&2){var c;ik(c=jk())&&(b.content=c.first);ik(c=jk())&&(b.taskInput=c.first)}},outputs:{cancelClicked:"cancelClicked",saveClicked:"saveClicked",focusEscaped:"focusEscaped"},standalone:!1,features:[xj],decls:8,vars:1,consts:[["content",""],["urlTabContent",""],["googleTasksTabContent",""],["task_input",""],["detailsInput",""],["picker",""],[1,"container"],"gmat-tabs  matAlignTabs start matStretchTabs false preserveContent ".split(" "),
[1,"add-task-help-text"],"href;http://go/b-home#manual-alerts;target;_blank;aria-label;Link to user guide for manual signals".split(";"),["appearance","outline"],["type","url","matInput","","aria-label","Enter task URL","required","",1,"task-input",3,"formControl","placeholder"],[1,"actions"],[1,"b-add-task-button-row"],["type","button","mat-button","",1,"cancel",3,"click"],["type","button","mat-button","",1,"save",3,"click","disabled"],[1,"google-tasks-tab-content"],[1,"g-task-form",3,"ngSubmit",
"formGroup"],["appearance","outline",1,"input-form","hard-padding"],"type;text;matInput;;aria-label;Title;placeholder;Enter title;formControlName;title;maxlength;1024;required;".split(";"),["align","end"],"matInput;;formControlName;details;resize;none;cdkAutosizeMinRows;4;cdkAutosizeMaxRows;4;placeholder;Add details;aria-label;Details;maxlength;8192".split(";"),["appearance","outline",1,"hard-padding"],["svgIcon","google-tasks-logo","matIconPrefix",""],["formControlName","taskListId","placeholder",
"Select a task list"],["aria-label","Task list",3,"value"],[1,"error-message"],["appearance","outline",1,"calendar-width"],["matPrefix","",3,"for"],["matInput","","placeholder","Select a date","formControlName","date","aria-label","Date","readonly","",3,"click","matDatepicker"],[1,"button-container"],["mat-button","","type","submit",3,"disabled"],["label","URL"],[4,"ngTemplateOutlet"],["label","Google Tasks"]],template:function(a,b){a&1&&(L(0,"div",6,0),G(2,p_b,14,5,"ng-template",null,1,Gk)(4,u_b,
30,10,"ng-template",null,2,Gk),I(6,x_b,5,2,"mat-tab-group",7)(7,z_b,1,1,"ng-container"),M());a&2&&(E(6),J(b.isInternalSession?6:7))},dependencies:[oy,EA,dA,aA,qH,oH,pH,pG,Bp,hG,iG,AG,BG,uG,wG,vG,eH,XG,WG,ZG,VL,WL,Vz,TL,mH,oM,jM,kM,py],styles:[".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-form-field[_ngcontent-%COMP%]{padding:4px;width:400px}.dark-mode   [_nghost-%COMP%]   input[type=url][_ngcontent-%COMP%]{color-scheme:dark}.add-task-help-text[_ngcontent-%COMP%]{padding:4px;font-weight:bold;color:#5f6368;color:var(--text-muted)}.actions[_ngcontent-%COMP%]{padding:4px;text-align:end}.g-task-form[_ngcontent-%COMP%]{padding:4px}.button-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-top:10px}.button-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:10px}.label-wrapper[_ngcontent-%COMP%]{float:right}textarea[_ngcontent-%COMP%]{resize:none;padding:0px}.hard-padding[_ngcontent-%COMP%]{display:block;margin:1em 0}  .mat-datepicker-content .mat-calendar{background-color:#fff;background-color:var(--surface-default)}  .mat-datepicker-content .mat-mdc-button.mat-unthemed{color:#202124;color:var(--text-default)}/*# sourceMappingURL=add_task_dialog_content.css.map */"]});var ehd=[{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"}],O6=function(){Z.call(this);var a=this;this.overlay=x(Gz);this.element=x(Ph);this.openOnEnter=this.openOnClick=!0;this.taskAdded=new iE;this.onClose=new iE;this.opened=!1;this.destroyed$.subscribe(function(){var b;(b=a.overlayRef)==
null||b.dispose()})};Y(O6,Z);g=O6.prototype;g.onHostEnter=function(a){this.openOnEnter&&this.open();a.preventDefault();a.stopPropagation()};g.onClickHost=function(a){this.openOnClick&&this.open();a.preventDefault();a.stopPropagation()};g.open=function(){this.opened||(this.overlayRef=this.createOverlay(),this.attach(),this.opened=!0)};g.close=function(){if(this.opened){var a;(a=this.overlayRef)==null||a.dispose();this.overlayRef=void 0;this.opened=!1;this.onClose.emit()}};
g.onHostTab=function(a){this.opened&&this.addTaskContent&&this.addTaskContent.focusEscapeNotifier&&(Jy(this.addTaskContent.focusEscapeNotifier),a.preventDefault())};g.onHostShiftTab=function(a){this.addTaskContent&&this.addTaskContent.focusEscapeNotifier&&(goc(this.addTaskContent.focusEscapeNotifier),a.preventDefault())};
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:!0,backdropClass:"b-add-task-dialog-backdrop",panelClass:"b-add-task-dialog-popup"});a.overlayElement.setAttribute("role","dialog");a.overlayElement.setAttribute("title","Add Task By URL");return a};
g.attach=function(){var a=this,b=new Az(N6),c;this.addTaskContent=(c=this.overlayRef)==null?void 0:c.attach(b).instance;setTimeout(function(){a.connectValues();var d;(d=a.addTaskContent)==null||d.taskInput.nativeElement.focus();var e;(e=a.overlayRef)==null||e.updatePosition()})};g.getPositionStrategy=function(){return sz(tz(uz(yz(this.overlay.position(),this.element)),8),ehd)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
g.connectValues=function(){var a=this;if(this.addTaskContent&&this.overlayRef){var b=Ci(this.overlayRef._detachments,this.destroyed$);this.addTaskContent.saveClicked.pipe(tj(b)).subscribe(function(){a.taskAdded.emit()});Ci(this.addTaskContent.saveClicked,this.addTaskContent.cancelClicked,this.overlayRef.backdropClick(),this.overlayRef.keydownEvents().pipe(Di(function(c){return c.code==="Escape"}))).pipe(tj(b)).subscribe(function(){a.close()})}};O6.\u0275fac=function(a){return new (a||O6)};
O6.\u0275dir=$i({type:O6,selectors:[["","bAddTaskDialogToggle",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(a,b){a&1&&Q("click",function(c){return b.onClickHost(c)})("keydown.enter",function(c){return b.onHostEnter(c)})("keydown.tab",function(c){return b.onHostTab(c)})("keydown.shift.tab",function(c){return b.onHostShiftTab(c)});a&2&&Hj("aria-expanded",b.opened||void 0)},inputs:{openOnClick:"openOnClick",openOnEnter:"openOnEnter"},outputs:{taskAdded:"taskAdded",onClose:"onClose"},
exportAs:["bAddTaskDialogToggle"],standalone:!1,features:[xj]});var P6=function(){};P6.prototype.transform=function(a){var b=a.comeBackTimestamp;return"Upcoming out of office starting "+fhd.format(new Date(a.futureOooTimestamp.seconds*1E3))+" - back on "+fhd.format(new Date(b.seconds*1E3))};P6.\u0275fac=function(a){return new (a||P6)};P6.\u0275pipe=aj({name:"futureAvailability",type:P6,pure:!0,standalone:!1});var fhd=new So(lN.WEEKDAY_MONTH_DAY_MEDIUM);var Q6=function(){this.activeSession=x(Ks);this.hovercardReady$=new nj(1);this.environmentType=this.activeSession.getEnvironmentType()};Q6.prototype.ngOnInit=function(){this.hovercardReady$.next()};Q6.prototype.getBaseUrl=function(){switch(this.environmentType){case "PROD":case "NIGHTLY":return"https://taskflow.corp.google.com";default:return"https://taskflow-autopush.corp.google.com"}};Q6.\u0275fac=function(a){return new (a||Q6)};
Q6.\u0275cmp=F({type:Q6,selectors:[["iteration-card"]],inputs:{iteration:"iteration"},standalone:!1,decls:1,vars:1,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center","gap","margin-s-bottom"],["role","img","svgIcon","taskflow-logo",1,"icon-s"],[1,"flex-kids-x","align-items-center","gap"],["role","img","svgIcon","time-24px",1,"icon-s","muted"],["target","_blank",1,"hover-link",3,"href"],["mode","date",3,"paddingLeftPx","timestamp"]],template:function(a,b){a&1&&I(0,A_b,13,7,"div",0);
a&2&&J(b.iteration?0:-1)},dependencies:[EA,tN],encapsulation:2});var R6=function(){this.analytics=x(nE);this.domSafe=x(SF);this.activeSession=x(Ks);this.environmentType=this.activeSession.getEnvironmentType()};R6.prototype.trackHoverEvent=function(){this.analytics.trackEvent("missionControl","hover","iteration-chip")};R6.prototype.getBaseUrl=function(){switch(this.environmentType){case "PROD":case "NIGHTLY":return"https://taskflow.corp.google.com";default:return"https://taskflow-autopush.corp.google.com"}};R6.\u0275fac=function(a){return new (a||R6)};
R6.\u0275cmp=F({type:R6,selectors:[["iteration-chip"]],inputs:{iteration:"iteration"},standalone:!1,decls:1,vars:1,consts:[["iterationHovercard","onedevHovercard"],["cardBody",""],[1,"iteration-chip","margin-xs-right",3,"onedevHovercardShown","click","onedevHovercardTrigger"],[3,"onedevIsHovercardReady","iteration",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","iteration"]],template:function(a,b){a&1&&I(0,C_b,5,1);a&2&&J(b.iteration?0:-1)},dependencies:[Q6,xH,yH,DH,zH],styles:[".iteration-chip[_ngcontent-%COMP%]{border:1px solid;border-color:#9334e6;border-color:var(--purple-text);color:#9334e6;color:var(--purple-text);height:18px;border-radius:4px;border:1px solid;padding:1px 4px;display:inline-flex}/*# sourceMappingURL=iteration_chip.css.map */"],
changeDetection:0});var Is=new Map([["TAGGED_IN_COMMENT","Mentioned me"],["REQUIRES_APPROVAL","Added as approver"],["DRIVE_MANUAL_SIGNAL","Manually added"],["DRIVE_SNOOZE_EXPIRED","Recently awoke"],["THREAD_MENTIONS_ME","Mentioned me"],["NEEDS_ATTENTION","In attention set"],["READY_TO_SUBMIT","Ready to submit"],["CHANGELIST_MANUAL_SIGNAL","Manually added"],["CHANGELIST_SNOOZE_EXPIRED","Recently awoke"],["NEAR_SLO","Near SLO"],["COMMENT_MENTIONS_ME","Mentioned me"],["BLOCKERS_CLOSED","Blockers closed"],["NEWLY_BLOCKING",
"Newly blocking"],["NEEDS_REPORTER_INPUT","Needs reporter input"],["REPLIED_TO_MENTION","Replied to me"],["NEWLY_ASSIGNED_TO_ME","Newly assigned"],["ISSUE_MANUALLY_SIGNALED","Manually added"],["ISSUE_SNOOZE_EXPIRED","Recently awoke"],["MENTIONED_NEEDS_RESPONSE","Needs response"],["CONFIGURABLE_ALERT","Configurable alert"],["GERRIT_CHANGE_NEEDS_ATTENTION","In attention set"],["GERRIT_CHANGE_READY_TO_SUBMIT","Ready to submit"],["GERRIT_MANUAL_SIGNAL","Manually added"],["GERRIT_SNOOZE_EXPIRED","Recently awoke"],
["DUE_SOON","Due soon"],["DUE_DATE_EXPIRED","Due date expired"],["GOOGLE_TASKS_MANUAL_SIGNAL","Manually added"],["GOOGLE_TASKS_SNOOZE_EXPIRED","Recently awoke"],["IRM_MANUAL_SIGNAL","Manually added"],["IRM_SNOOZE_EXPIRED","Recently awoke"],["IRM_SEND_POSTMORTEM_FOR_REVIEW","Postmortem being drafted"],["IRM_REVIEW_POSTMORTEM","Postmortem needs review"]]),y0b=new Map([["TAGGED_IN_COMMENT","Someone mentioned me in a comment"],["REQUIRES_APPROVAL","You were added as an approver"],["DRIVE_MANUAL_SIGNAL",
"You manually added this file"],["DRIVE_SNOOZE_EXPIRED","This file recently awoke from a snooze"],["THREAD_MENTIONS_ME","You were mentioned on this CL recently"],["NEEDS_ATTENTION","This CL is in your \u201cNeeds attention\u201d list in Critique"],["CHANGELIST_MANUAL_SIGNAL","You manually added this changelist"],["CHANGELIST_SNOOZE_EXPIRED","This changelist recently awoke from a snooze"],["READY_TO_SUBMIT","This CL is ready to submit"],["NEAR_SLO","20% of SLO time is remaining for this issue"],["COMMENT_MENTIONS_ME",
"You were mentioned on this issue"],["BLOCKERS_CLOSED","The last blocking issue was closed recently"],["NEWLY_BLOCKING","This issue started blocking another issue recently"],["NEEDS_REPORTER_INPUT","Issue was assigned back to reporter (you) recently"],["REPLIED_TO_MENTION","Someone replied to your mention recently"],["NEWLY_ASSIGNED_TO_ME","This issue was recently assigned to you"],["ISSUE_MANUALLY_SIGNALED","You manually added this issue"],["ISSUE_SNOOZE_EXPIRED","This issue recently awoke from a snooze"],
["MENTIONED_NEEDS_RESPONSE","You were mentioned on this issue and your response is requested"],["CONFIGURABLE_ALERT","This issue recently matches a configurable alert"],["GERRIT_CHANGE_NEEDS_ATTENTION","Your turn to take action on the change"],["GERRIT_CHANGE_READY_TO_SUBMIT","Your turn to take action on the change"],["GERRIT_MANUAL_SIGNAL","You manually added this change"],["GERRIT_SNOOZE_EXPIRED","This change recently awoke from a snooze"],["DUE_SOON","This task is due soon"],["DUE_DATE_EXPIRED",
"This task is past its due date"],["GOOGLE_TASKS_MANUAL_SIGNAL","You manually added this task"],["GOOGLE_TASKS_SNOOZE_EXPIRED","This task recently awoke from a snooze"],["IRM_MANUAL_SIGNAL","You manually added this incident"],["IRM_SNOOZE_EXPIRED","This incident recently awoke from a snooze"],["IRM_SEND_POSTMORTEM_FOR_REVIEW","Postmortem should be sent for review"],["IRM_REVIEW_POSTMORTEM","You were added as a postmortem reviewer"]]),ghd=new Map([["TAGGED_IN_COMMENT","Reply to comment"],["REQUIRES_APPROVAL",
"Review"],["DRIVE_MANUAL_SIGNAL","Manually added"],["DRIVE_SNOOZE_EXPIRED","Dismiss to remove"],["THREAD_MENTIONS_ME","Reply to comment"],["NEEDS_ATTENTION","Review CL"],["READY_TO_SUBMIT","Submit CL"],["CHANGELIST_MANUAL_SIGNAL","Manually added"],["CHANGELIST_SNOOZE_EXPIRED","Dismiss to remove"],["NEAR_SLO","View issue"],["COMMENT_MENTIONS_ME","Reply to comment"],["BLOCKERS_CLOSED","View issue"],["NEWLY_BLOCKING","View blocker issue"],["NEEDS_REPORTER_INPUT","Reply to comment"],["REPLIED_TO_MENTION",
"Reply to comment"],["NEWLY_ASSIGNED_TO_ME","Start work"],["ISSUE_MANUALLY_SIGNALED","Manually added"],["ISSUE_SNOOZE_EXPIRED","Edit or dismiss"],["MENTIONED_NEEDS_RESPONSE","Reply to comment"],["CONFIGURABLE_ALERT","View issue"],["GERRIT_CHANGE_NEEDS_ATTENTION","Review change"],["GERRIT_CHANGE_READY_TO_SUBMIT","Submit change"],["GERRIT_MANUAL_SIGNAL","Manually added"],["GERRIT_SNOOZE_EXPIRED","Dismiss to remove"],["DUE_SOON","View task"],["DUE_DATE_EXPIRED","View task"],["GOOGLE_TASKS_MANUAL_SIGNAL",
"Manually added"],["GOOGLE_TASKS_SNOOZE_EXPIRED","Edit or dismiss"],["IRM_MANUAL_SIGNAL","Manually added"],["IRM_SNOOZE_EXPIRED","Dismiss to remove"],["IRM_SEND_POSTMORTEM_FOR_REVIEW","Send postmortem for review"],["IRM_REVIEW_POSTMORTEM","Review postmortem"]]);var Hs=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Hs,n);g=Hs.prototype;g.getId=function(){return Re(this,1)};g.getId_asLegacyNumberOrString=function(){return gm(this,1)};g.getId_asString=function(){return Xe(this,1)};g.setId=function(a){return ll(this,1,a)};g.getFrequency=function(){return Zd(this,2)};g.setFrequency=function(a){return Xd(this,2,a)};g.getOrdinal=function(){return Pd(this,3)};g.setOrdinal=function(a){return se(this,3,a)};
g.getTimeZone=function(){return r(this,jp,4)};g.setTimeZone=function(a){return t(this,jp,4,a)};g.hasTimeZone=function(){return Me(this,jp,4)};g.getTimeOfDay=function(){return r(this,kp,5)};g.setTimeOfDay=function(a){return t(this,kp,5,a)};g.getDisplayName=function(){return Oc(this,6)};g.setDisplayName=function(a){return Vd(this,6,a)};g.getQuery=function(){return Oc(this,7)};g.setQuery=function(a){return Vd(this,7,a)};g.clearQuery=function(){Ou(this,7)};
g.getLastUpdatedTimestamp=function(){return r(this,ue,12)};var S6=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,S6.messageId)};Y(S6,n);S6.prototype.getSubscription=function(){return r(this,Hs,1,Kc)};S6.prototype.setSubscription=function(a){return t(this,Hs,1,a,Kc)};S6.messageId="b.ConfigurableAlertSubscriptionRequest";var T6=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,T6.messageId)};Y(T6,n);T6.prototype.getSubscription=function(){return r(this,Hs,1,Kc)};T6.prototype.setSubscription=function(a){return t(this,Hs,1,a,Kc)};T6.messageId="b.ConfigurableAlertSubscriptionResponse";var hhd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,hhd.messageId)};Y(hhd,n);hhd.prototype.getSubscriptionsList=function(){return ie(this,Hs,1,Rd(),Kc)};hhd.messageId="b.ListConfigurableAlertSubscriptionsResponse";var U6=function(){this.executor=x(ey)};g=U6.prototype;g.create=function(a){return this.executor.post({url:"action/configurable_alert_subscriptions",body:(new S6).setSubscription(O_b(a)),responseConstructor:T6}).pipe(C(function(b){if(b=b.getSubscription())return N_b(b);throw Error("uf");}))};g.list=function(){return this.executor.get({url:"action/configurable_alert_subscriptions",responseConstructor:hhd}).pipe(C(function(a){return a.getSubscriptionsList().map(N_b)}))};
g.get=function(a){return this.executor.get({url:"action/configurable_alert_subscriptions/"+a,responseConstructor:T6}).pipe(C(function(b){if(b=b.getSubscription())return N_b(b);throw Error("vf");}))};g.update=function(a){return this.executor.post({url:"action/configurable_alert_subscriptions/"+a.id,body:(new S6).setSubscription(O_b(a)),responseConstructor:T6}).pipe(C(function(b){if(b=b.getSubscription())return N_b(b);throw Error("uf");}))};
g.delete=function(a){return this.executor.delete({url:"action/configurable_alert_subscriptions/"+a,responseConstructor:aB}).pipe(C(function(){}))};U6.\u0275fac=function(a){return new (a||U6)};U6.\u0275prov=Dg({token:U6,factory:U6.\u0275fac,providedIn:"root"});var V6=function(){YA.call(this,{freshUntil:36E5,ancientAfter:2592E5});var a=this;this.api=x(U6);this.recordType="configurable_alert";this.idForRecord=function(d){return d.id};this.isEqual=vd;var b=x(JD),c=x(Cj);b.getObservable().pipe(vp(c)).subscribe(function(){a.invalidate()})};Y(V6,YA);g=V6.prototype;g.fetchOne=function(a){return this.api.get(a)};g.list=function(){return this.api.list()};g.create=function(a){return this.api.create(a)};g.update=function(a){var b=this;return this.api.update(a).pipe(uj(function(c){b.invalidate(c.id)}))};
g.delete=function(a){var b=this;return this.api.delete(a).pipe(uj(function(){b.invalidate(a)}))};V6.\u0275fac=function(a){return new (a||V6)};V6.\u0275prov=Dg({token:V6,factory:V6.\u0275fac,providedIn:"root"});var Q_b=function(a){return{subscriptionId:a}},P_b=function(a){return{path:"/settings/configurable-alerts",queryParams:a}},S_b=function(a){return{q:a,s:"modified_time:desc"}},R_b=function(a){return{path:"/issues",queryParams:a}},W6=function(){var a=this;this.fridge=x(V6);this.subscriptionId$=new nj(1);this.data$=this.subscriptionId$.pipe(sj(function(b){return a.fridge.watch(b)}),Di(fe));this.contentReady$=this.data$.pipe(C(function(){}))};
pg.Object.defineProperties(W6.prototype,{subscriptionId:{configurable:!0,enumerable:!0,set:function(a){this.subscriptionId$.next(a)}}});W6.\u0275fac=function(a){return new (a||W6)};
W6.\u0275cmp=F({type:W6,selectors:[["configurable-alert-card"]],inputs:{subscriptionId:"subscriptionId"},standalone:!1,decls:2,vars:3,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","gap-s"],[1,"flex-kids-x","space-between"],["mat-button","","type","button",1,"medium",3,"routerLinkObj"],["mat-flat-button","","type","button",1,"medium","primary",3,"routerLinkObj"]],template:function(a,b){a&1&&(I(0,T_b,11,12,"div",0),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.data$))?0:-1,c)}},dependencies:[gC,dA,aA,
py],styles:["[_nghost-%COMP%]{display:block;height:100%;max-width:700px;max-height:500px;overflow-y:auto;background:var(--surface-default)}"],changeDetection:0});var X6=function(){var a=this;this.tasksApi=x(TE);this.analytics=x(nE);this.fileId$=new nj(1);this.commentId$=new nj(1);this.mentionedDriveComment$=si([this.fileId$,this.commentId$]).pipe(sj(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=a.tasksApi;var e=new Axc;b=Vd(e,1,b).setCommentId(d);return c.executor.post({url:"action/tasks/latest_drive_mention",responseConstructor:KE,body:b}).pipe(C(RHa))}),uj(function(){a.contentReady$.next()}));this.contentReady$=new nj(1)};
X6.prototype.ngOnInit=function(){this.analytics.trackEvent("mentionsCard","view","hovercard")};pg.Object.defineProperties(X6.prototype,{fileId:{configurable:!0,enumerable:!0,set:function(a){this.fileId$.next(a)}},commentId:{configurable:!0,enumerable:!0,set:function(a){this.commentId$.next(a)}}});X6.\u0275fac=function(a){return new (a||X6)};
X6.\u0275cmp=F({type:X6,selectors:[["mentioned-drive-comments-card"]],inputs:{fileId:"fileId",commentId:"commentId",lastMentionLink:"lastMentionLink"},standalone:!1,decls:2,vars:3,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center","space-between","margin-s-bottom"],[1,"bv2-event-user-name",3,"model"],["target","_blank",1,"hover-link",3,"href"],["mode","datetime",3,"timestamp"],["target","_blank",1,"hover-link",3,"click","href"]],template:function(a,b){a&1&&(I(0,W_b,11,4,"div",0),
W(1,"async"));if(a&2){var c;J((c=X(1,1,b.mentionedDriveComment$))?0:-1,c)}},dependencies:[tN,RM,py],styles:["[_nghost-%COMP%]{background-color:#fff;background-color:var(--surface-default);display:block;height:100%;max-width:700px;max-height:500px;overflow-y:auto}"]});var a0b=function(a,b){return b.commentNumber},Y6=function(){var a=this;this.issueCommentsBatchApi=x(zD);this.analytics=x(nE);this.activeSession=x(Ks);this.issueId$=new $n("");this.commentNumbers$=new $n([]);this.mentionedComments$=si([this.issueId$,this.commentNumbers$]).pipe(sj(function(b){var c=l(b);b=c.next().value;c=c.next().value;return a.issueCommentsBatchApi.batchGet(b,c)}),uj(function(){a.contentReady$.next()}));this.contentReady$=new nj(1);this.thumbsDownClicked=this.thumbsUpClicked=this.hasReacted=
!1};Y6.prototype.ngOnInit=function(){this.analytics.trackEvent("mentionsCard","view","hovercard")};Y6.prototype.getCommentNumberLink=function(a,b){return xIa(a,{comment:b})};Y6.prototype.trackThumbsUp=function(){this.thumbsUpClicked=this.hasReacted=!0;this.analytics.trackEvent("needsResponse","accept",ihd(this))};Y6.prototype.trackThumbsDown=function(){this.thumbsDownClicked=this.hasReacted=!0;this.analytics.trackEvent("needsResponse","reject",ihd(this))};
var ihd=function(a){return JSON.stringify({id:a.issueId$.value,commentNumber:a.commentNumbers$.value})};pg.Object.defineProperties(Y6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}},commentNumbers:{configurable:!0,enumerable:!0,set:function(a){this.commentNumbers$.next(a)}}});Y6.\u0275fac=function(a){return new (a||Y6)};
Y6.\u0275cmp=F({type:Y6,selectors:[["mentioned-issue-comments-card"]],inputs:{issueId:"issueId",commentNumbers:"commentNumbers",needsResponse:"needsResponse"},standalone:!1,decls:2,vars:3,consts:[[1,"carded","bg-main"],[3,"margin-s-bottom","padded-s-bottom","border-bottom"],[1,"flex-kids-x","align-items-center","space-between"],[1,"flex-kids-x","align-items-center","gap-xs"],[1,"bv2-event-user-name",3,"model"],[1,"hover-link",3,"routerLinkObj"],["mode","datetime",3,"timestamp"],[1,"hover-link",3,
"click","routerLinkObj"],[3,"issueId","note","formattingMode"],[1,"flex-kids-x","gap-xs","justify-flex-end","align-items-center"],[1,"type-s","feedback-info"],["type","button","mat-icon-button","","aria-label","rate thumbs up",1,"keep-focus-ring","needs-response-feedback",3,"click","disabled"],["svgIcon","thumb_up_24px",1,"icon-s"],["type","button","mat-icon-button","","aria-label","rate thumbs down",1,"keep-focus-ring","needs-response-feedback",3,"click","disabled"],["svgIcon","thumb_down_24px",
1,"icon-s"]],template:function(a,b){a&1&&(I(0,b0b,5,0,"div",0),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.mentionedComments$))?0:-1,c)}},dependencies:[EA,gC,RM,tN,sL,py],styles:[".needs-response-feedback[_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);background-color:#fff;background-color:var(--surface-default);border:none}.needs-response-feedback[_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.needs-response-feedback[_ngcontent-%COMP%]:focus, .needs-response-feedback[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}button.needs-response-feedback[_ngcontent-%COMP%]:hover{cursor:pointer}.feedback-info[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}[_nghost-%COMP%]{display:block;height:100%;max-width:700px;max-height:500px;overflow-y:auto;background:var(--surface-default)}"]});var d0b=function(a){return{signal:a}},o0b=function(){return[]},g0b=function(a,b){return b.type},jhd=function(){this.activeSession=x(Ks);this.signals=[];this.SIGNAL_TO_DISPLAY_TEXT=Is;this.SIGNAL_TO_ACTION_TEXT=ghd;this.getSignalUrgency=L_b;this.getHighestPrioritySignal=M_b;this.enableMentionedCommentsHovercard=Cx(this.activeSession,"enableMentionedCommentsHovercard");this.enableTailwindMissionControl=this.activeSession.isInternalSession()&&Cx(this.activeSession,"enableTailwind")&&Cx(this.activeSession,
"enableTailwindMissionControl")},j0b=function(a,b){return a.filter(function(c){return c!==b}).map(function(c){return Is.get(c.type)}).join("; ")},v0b=function(a,b){return a.enableMentionedCommentsHovercard&&(b.type==="MENTIONED_NEEDS_RESPONSE"||b.type==="COMMENT_MENTIONS_ME")&&b.commentNumbers!=null&&b.commentNumbers.length>0&&a.issueId!=null},w0b=function(a){return a.type==="TAGGED_IN_COMMENT"&&a.driveFileId!=null&&a.driveCommentId!=null},x0b=function(a){return!(a.type!=="CONFIGURABLE_ALERT"||!a.configurableAlertSubscriptionId)};
jhd.\u0275fac=function(a){return new (a||jhd)};
jhd.\u0275cmp=F({type:jhd,selectors:[["needs-attention-signals-cell"]],inputs:{issueId:"issueId",signals:"signals",tailwindRunStatus:"tailwindRunStatus"},standalone:!1,decls:4,vars:1,consts:[["signalChip",""],["tooltip","matTooltip"],["signalHovercard","onedevHovercard"],["cardBody",""],[1,"flex-kids-x","gap-xs"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"flex-kids-x","gap-xs","align-items-center"],[1,"overflow","type-m",3,"matTooltip"],[3,"mouseenter","mouseleave","onedevHovercardActive",
"onedevHovercardTrigger","matTooltip"],[3,"onedevIsHovercardReady","issueId","commentNumbers","needsResponse"],[3,"onedevIsHovercardReady","fileId","commentId","lastMentionLink"],[3,"onedevIsHovercardReady","subscriptionId"],[3,"onedevIsHovercardReady","issueId","commentNumbers","needsResponse",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","fileId","commentId","lastMentionLink",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","subscriptionId",4,"onedevHovercardLazyBody"]],template:function(a,
b){a&1&&(I(0,h0b,3,0,"div",4)(1,l0b,1,1),G(2,z0b,10,12,"ng-template",null,0,Gk));a&2&&J(b.signals.length<3?0:1)},dependencies:[oy,YF,WF,xH,yH,DH,zH,Y6,X6,W6],styles:[".signal-chip[_ngcontent-%COMP%]{border:1px solid;border-color:#185abc;border-color:var(--blue-text);color:#185abc;color:var(--blue-text);padding:4px 12px;border-radius:32px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;text-align:center;white-space:nowrap}.signal-chip.urgent-0[_ngcontent-%COMP%]{border:1px solid;border-color:#d42521;border-color:var(--red-text);color:#d42521;color:var(--red-text)}.signal-chip.urgent-1[_ngcontent-%COMP%]{border:1px solid;border-color:#9334e6;border-color:var(--purple-text);color:#9334e6;color:var(--purple-text)}"],
changeDetection:0});var Z6=function(){this.tasksService=x(TE);this.okrIds=[];this.hovercardReady$=new nj(1);this.teamObjectives$=li([])};Z6.prototype.ngOnInit=function(){this.teamObjectives$=iyc(this.tasksService,khd(this.okrIds));this.hovercardReady$.next()};
var khd=function(a){a=a.map(function(b){return b.includes("/keyResults")?b.substring(0,b.indexOf("/keyResults")):b});return[].concat(p(new Set(a)))},D0b=function(a,b){var c;return(c=a.find(function(d){var e;return d.objective&&(d.objective.objectiveId===b||((e=d.objective.keyResults)==null?void 0:e.some(function(f){return b.includes(f.keyResultId)})))}))==null?void 0:c.objective},E0b=function(a,b){if(b.includes("/keyResults")){var c,d;return(c=D0b(a,b))==null?void 0:(d=c.keyResults)==null?void 0:
d.find(function(e){return b.indexOf(e.keyResultId)>0})}},A0b=function(a){return a&&a!=="RATING_UNSPECIFIED"?" \u2022 "+a:""};Z6.\u0275fac=function(a){return new (a||Z6)};
Z6.\u0275cmp=F({type:Z6,selectors:[["okr-card"]],inputs:{okrIds:"okrIds"},standalone:!1,decls:2,vars:3,consts:[["role","dialog","aria-label","OKR hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow","okr-hovercard-content"],[1,"flex-kids-x","margin-s-bottom","type-m"],[1,"flex-kids-x","padded-s-top","border-top","margin-s-top","margin-s-bottom","type-xs"],[1,"type-and-priority"],["role","link","target","_blank",1,"okr-description",3,"href"],[1,"type-and-priority",
"kr-indentation"]],template:function(a,b){a&1&&(I(0,G0b,4,0,"div",0),W(1,"async"));if(a&2){var c;J((c=X(1,1,b.teamObjectives$))?0:-1,c)}},dependencies:[py],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.okr-hovercard-content[_ngcontent-%COMP%]   .type-and-priority[_ngcontent-%COMP%]{font-weight:700;width:56px}.okr-hovercard-content[_ngcontent-%COMP%]   .kr-indentation[_ngcontent-%COMP%]{padding-left:16px}.okr-hovercard-content[_ngcontent-%COMP%]   .okr-description[_ngcontent-%COMP%]{word-break:break-word;color:#202124;color:var(--text)}.okr-hovercard-content[_ngcontent-%COMP%]   .okr-description[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link)}"]});var $6=function(){this.analytics=x(nE);this.okrIds=[]};$6.prototype.trackHoverEvent=function(){this.analytics.trackEvent("missionControl","hover","okr-chip")};$6.\u0275fac=function(a){return new (a||$6)};
$6.\u0275cmp=F({type:$6,selectors:[["okr-chip"]],inputs:{okrIds:"okrIds"},standalone:!1,decls:1,vars:1,consts:[["okrHovercard","onedevHovercard"],["cardBody",""],[1,"okr-chip","margin-xs-right",3,"onedevHovercardShown","onedevHovercardTrigger"],[3,"onedevIsHovercardReady","okrIds",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","okrIds"]],template:function(a,b){a&1&&I(0,I0b,5,1);a&2&&J(b.okrIds&&b.okrIds.length>0?0:-1)},dependencies:[Z6,xH,yH,DH,zH],styles:[".okr-chip[_ngcontent-%COMP%]{background-color:#9334e6;background-color:var(--purple-text);color:#fff;color:var(--surface-default);height:18px;border-radius:4px;border:1px solid;padding:1px 4px;display:inline-flex}/*# sourceMappingURL=okr_chip.css.map */"],
changeDetection:0});var a7=function(){this.hovercardReady$=new nj(1)};a7.prototype.ngOnInit=function(){this.hovercardReady$.next()};a7.\u0275fac=function(a){return new (a||a7)};
a7.\u0275cmp=F({type:a7,selectors:[["stale-task-card"]],inputs:{taskId:"taskId"},standalone:!1,decls:1,vars:1,consts:[["role","dialog","aria-label","Stale task card",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body","margin-xs"],[1,"bv2-hovercard-narrow"],["href","http://go/b-home#stale-tasks","target","_blank"]],template:function(a,b){a&1&&I(0,J0b,8,0,"div",0);a&2&&J(b.taskId?0:-1)},styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.onedev-hovercard-body[_ngcontent-%COMP%]{padding:16px}.bv2-hovercard-narrow[_ngcontent-%COMP%]{max-width:240px}"]});var lhd=function(){this.hovercardConfig={showDelay:250,hideDelay:250,position:[oBc,qBc],triggerKey:[]}};lhd.\u0275fac=function(a){return new (a||lhd)};
lhd.\u0275cmp=F({type:lhd,selectors:[["stale-task-indicator"]],inputs:{taskId:"taskId",lastAlertTimestamp:"lastAlertTimestamp"},standalone:!1,decls:7,vars:3,consts:[["staleTaskCard","onedevHovercard"],["cardBody",""],[1,"staleness-indicator","valign-middle",3,"onedevHovercardTrigger","onedevHovercardConfig"],["svgIcon","time-24px","color","orange"],[3,"onedevIsHovercardReady","taskId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","taskId"]],template:function(a,b){a&1&&(Sj(0),L(1,"div",
2),N(2,"mat-icon",3),U(3),M(),L(4,"onedev-hovercard",null,0),G(6,K0b,2,2,"stale-task-card",4),M(),Tj());a&2&&(a=T(5),E(),K("onedevHovercardTrigger",a)("onedevHovercardConfig",b.hovercardConfig),E(2),b=b.lastAlertTimestamp?(b=qq(b.lastAlertTimestamp.seconds,!0))?b+", respond?":"":"",V(" ",b," "))},dependencies:[EA,xH,yH,DH,zH,a7],styles:[".staleness-indicator[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);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-flow:column wrap;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-flow:column wrap;flex-flow:column wrap;place-content:flex-start center;height:18px;font-weight:700;width:80%}"],
changeDetection:0});var mhd=["menuTrigger"],b7=function(){this.SIGNAL_TO_DISPLAY_TEXT=Is;this.DEFINITIONS=oyc;this.analytics=x(nE);this.signalFilterKeys=[];this.selectedSignals=[];this.source="BUGANIZER";this.changeFilteredSignals=new iE;this.chipSelectionStateChanged=new iE};b7.prototype.ngOnInit=function(){this.currentSelectedSignals=new Set(this.selectedSignals);this.selectAllToggle=c7(this)};b7.prototype.openMenu=function(){this.menuTrigger.openMenu()};
b7.prototype.signalFilterChange=function(){var a=[].concat(p(this.currentSelectedSignals));this.changeFilteredSignals.emit(a);nhd(this,new Set(this.selectedSignals),new Set(a))};var ohd=function(a){return[].concat(p(a.signalFilterKeys)).sort(function(b,c){var d,e;return((d=Is.get(b))!=null?d:"").localeCompare((e=Is.get(c))!=null?e:"")})},c7=function(a){return a.currentSelectedSignals.size===a.signalFilterKeys.length};
b7.prototype.onCheckboxChange=function(a){this.currentSelectedSignals.has(a)?this.currentSelectedSignals.delete(a):this.currentSelectedSignals.add(a);this.selectAllToggle=c7(this);this.chipSelectionStateChanged.emit(this.currentSelectedSignals.size>0&&!c7(this)||c7(this))};var nhd=function(a,b,c){a.signalFilterKeys.forEach(function(d){b.has(d)!==c.has(d)&&a.analytics.trackEvent("needsAttention","toggle",a.source+"-"+Is.get(d)+"-"+(c.has(d)?"checked":"unchecked"))})};
b7.\u0275fac=function(a){return new (a||b7)};
b7.\u0275cmp=F({type:b7,selectors:[["signal-list-dropdown"]],viewQuery:function(a,b){a&1&&ek(mhd,5);if(a&2){var c;ik(c=jk())&&(b.menuTrigger=c.first)}},inputs:{signalFilterKeys:"signalFilterKeys",selectedSignals:"selectedSignals",source:"source"},outputs:{changeFilteredSignals:"changeFilteredSignals",chipSelectionStateChanged:"chipSelectionStateChanged"},standalone:!1,decls:11,vars:5,consts:[["menuTrigger","matMenuTrigger"],["signalFilterMenu",""],["mat-icon-button","",1,"dropdown-btn",3,"keydown.enter",
"keydown.space","keyup.enter","keyup.space","click","matTooltip","matMenuTriggerFor"],["svgIcon","arrow-dropdown",1,"icon-s"],[3,"closed"],["mat-menu-item","",3,"click"],[3,"indeterminate","checked"],["mat-menu-item",""],[3,"checked"]],template:function(a,b){if(a&1){var c=y();L(0,"button",2,0);Q("keydown.enter",function(d){z(c);return B(d.stopPropagation())})("keydown.space",function(d){z(c);return B(d.stopPropagation())})("keyup.enter",function(){z(c);return B(b.openMenu())})("keyup.space",function(){z(c);
return B(b.openMenu())})("click",function(d){z(c);return B(d.stopPropagation())});N(2,"mat-icon",3);M();L(3,"mat-menu",4,1);Q("closed",function(){z(c);return B(b.signalFilterChange())});L(5,"button",5);Q("click",function(d){z(c);b.selectAllToggle=!b.selectAllToggle;b.currentSelectedSignals=b.selectAllToggle?new Set(b.signalFilterKeys):new Set;b.chipSelectionStateChanged.emit(b.currentSelectedSignals.size>0&&!c7(b)||c7(b));return B(d.stopPropagation())});L(6,"mat-checkbox",6);U(7," Select all alerts ");
M()();N(8,"mat-divider");Mj(9,L0b,3,2,"button",7,Lj);M()}a&2&&(a=T(4),K("matTooltip","Filter "+oyc[b.source].displayName+" alerts")("matMenuTriggerFor",a),Hj("aria-label",oyc[b.source].displayName+" dropdown"),E(6),K("indeterminate",b.currentSelectedSignals.size>0&&!c7(b))("checked",c7(b)),E(3),Nj(ohd(b)))},dependencies:[EA,YF,WF,FL,mK,kK,pK,aG,HG,dA,bA,eN],encapsulation:2});var phd=["menuTrigger"],d7=function(){this.filteredSignalsSource=x(LW);this.activeSession=x(Ks);this.DEFINITIONS=oyc;this.SIGNAL_TO_DISPLAY_TEXT=Is;this.FILTERED_SIGNALS=wd(this.filteredSignalsSource.activeSession.isInternalSession()?pyc:qyc);this.sourceFilterKeys=[];this.selectedSignals={buganizerSignals:this.FILTERED_SIGNALS.buganizerSignals,driveSignals:this.FILTERED_SIGNALS.driveSignals,changelistSignals:this.FILTERED_SIGNALS.changelistSignals,gerritSignals:this.FILTERED_SIGNALS.gerritSignals,
googleTasksSignals:this.FILTERED_SIGNALS.googleTasksSignals,irmSignals:this.FILTERED_SIGNALS.irmSignals};this.selectedSources=[];this.changeSourceAndFilteredSignals=new iE;this.changeSourceFilter=new iE;this.signals={};this.chipsSelected={}};
d7.prototype.ngOnInit=function(){this.signals.BUGANIZER=this.selectedSignals.buganizerSignals;this.signals.DRIVE=this.selectedSignals.driveSignals;this.signals.CRITIQUE=this.selectedSignals.changelistSignals;this.signals.GERRIT=this.selectedSignals.gerritSignals;this.signals.GOOGLE_TASKS=this.selectedSignals.googleTasksSignals;this.signals.IRM=this.selectedSignals.irmSignals;this.chipsSelected.BUGANIZER=this.signals.BUGANIZER.length>0&&this.selectedSources.includes("BUGANIZER");this.chipsSelected.DRIVE=
this.signals.DRIVE.length>0&&this.selectedSources.includes("DRIVE");this.chipsSelected.CRITIQUE=this.signals.CRITIQUE.length>0&&this.selectedSources.includes("CRITIQUE");this.chipsSelected.GERRIT=this.signals.GERRIT.length>0&&this.selectedSources.includes("GERRIT");this.chipsSelected.GOOGLE_TASKS=this.signals.GOOGLE_TASKS.length>0&&this.selectedSources.includes("GOOGLE_TASKS");this.chipsSelected.IRM=this.signals.IRM.length>0&&this.selectedSources.includes("IRM")};
d7.prototype.signalFilterChange=function(a,b){this.signals[b]=a;a={buganizerSignals:this.signals.BUGANIZER,driveSignals:this.signals.DRIVE,changelistSignals:this.signals.CRITIQUE,gerritSignals:this.signals.GERRIT,googleTasksSignals:this.signals.GOOGLE_TASKS,irmSignals:this.signals.IRM};b=[];a.buganizerSignals.length>0&&this.chipsSelected.BUGANIZER&&b.push("BUGANIZER");a.driveSignals.length>0&&this.chipsSelected.DRIVE&&b.push("DRIVE");a.changelistSignals.length>0&&this.chipsSelected.CRITIQUE&&b.push("CRITIQUE");
a.gerritSignals.length>0&&this.chipsSelected.GERRIT&&b.push("GERRIT");a.googleTasksSignals.length>0&&this.chipsSelected.GOOGLE_TASKS&&b.push("GOOGLE_TASKS");a.irmSignals.length>0&&this.chipsSelected.IRM&&b.push("IRM");this.changeSourceAndFilteredSignals.emit({selectedSources:b,selectedSignals:a})};
d7.prototype.sourceFilterChange=function(a){this.chipsSelected[a]=!this.chipsSelected[a];a=[];for(var b=l(this.sourceFilterKeys),c=b.next();!c.done;c=b.next())c=c.value,this.chipsSelected[c]&&a.push(c);this.changeSourceFilter.emit(a)};d7.prototype.openMenu=function(){this.menuTrigger.openMenu()};
var O0b=function(a,b){var c;return(c=a.signals[b])!=null?c:[]},N0b=function(a,b){switch(b){case "BUGANIZER":return[].concat(p(a.FILTERED_SIGNALS.buganizerSignals));case "DRIVE":return[].concat(p(a.FILTERED_SIGNALS.driveSignals));case "GERRIT":return[].concat(p(a.FILTERED_SIGNALS.gerritSignals));case "GOOGLE_TASKS":return[].concat(p(a.FILTERED_SIGNALS.googleTasksSignals));case "CRITIQUE":return[].concat(p(a.FILTERED_SIGNALS.changelistSignals));case "IRM":return[].concat(p(a.FILTERED_SIGNALS.irmSignals));
default:return[]}};d7.\u0275fac=function(a){return new (a||d7)};
d7.\u0275cmp=F({type:d7,selectors:[["signal-filter-chips"]],viewQuery:function(a,b){a&1&&ek(phd,5);if(a&2){var c;ik(c=jk())&&(b.menuTrigger=c.first)}},inputs:{sourceFilterKeys:"sourceFilterKeys",selectedSignals:"selectedSignals",selectedSources:"selectedSources"},outputs:{changeSourceAndFilteredSignals:"changeSourceAndFilteredSignals",changeSourceFilter:"changeSourceFilter"},standalone:!1,decls:3,vars:0,consts:[["aria-label","Source selection","role","group",1,"split-chips-row"],[1,"split-chip",3,
"expanded"],[1,"split-chip"],["mat-button","",1,"source-chip",3,"click"],["svgIcon","done",3,"class"],[3,"matTooltip"],[3,"changeFilteredSignals","chipSelectionStateChanged","signalFilterKeys","selectedSignals","source"],["svgIcon","done"]],template:function(a,b){a&1&&(L(0,"div",0),Mj(1,Q0b,1,1,null,null,Lj),M());a&2&&(E(),Nj(b.sourceFilterKeys))},dependencies:[EA,YF,WF,dA,aA,b7],styles:[".split-chips-row[_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;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:8px 0}[_nghost-%COMP%]     .split-chip{border:1px solid;border-color:#dadce0;border-color:var(--hairline);border-radius:8px;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;overflow:hidden;height:30px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin-right:8px}[_nghost-%COMP%]     .split-chip .source-chip{color:#5f6368;color:var(--text-muted);cursor:pointer;border-radius:8px 0 0 8px}.dark-mode   [_nghost-%COMP%]     .split-chip .source-chip{color:#202124;color:var(--text)}[_nghost-%COMP%]     .split-chip .checkmark{vertical-align:top}[_nghost-%COMP%]     .split-chip signal-list-dropdown .dropdown-btn{border-left:1px solid;border-color:transparent;border-color:var(--row-default-bg);border-radius:0;width:30px}[_nghost-%COMP%]     .split-chip signal-list-dropdown .dropdown-btn:hover{border-color:#dadce0;border-color:var(--divider)}[_nghost-%COMP%]     .split-chip signal-list-dropdown .mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:0}[_nghost-%COMP%]     .split-chip.expanded{border-color:transparent;background-color:#e8f0fe;background-color:var(--primary-c50)}[_nghost-%COMP%]     .split-chip.expanded .source-chip{color:#174ea6;color:var(--primary-c900)}.dark-mode   [_nghost-%COMP%]     .split-chip.expanded .source-chip{color:#1a73e8;color:var(--text-primary)}[_nghost-%COMP%]     .split-chip.expanded signal-list-dropdown mat-icon{color:#174ea6;color:var(--primary-c900)}.dark-mode   [_nghost-%COMP%]     .split-chip.expanded signal-list-dropdown mat-icon{color:#1a73e8;color:var(--text-primary)}"]});var qhd=["menuTrigger"],rhd={label:"Last 1 day",numberOfDays:1},shd={label:"Last 7 days",numberOfDays:7},thd={label:"Last 30 days",numberOfDays:30},uhd={label:"Last 90 days",numberOfDays:90},vhd=[rhd,shd,thd,uhd],whd={1:rhd,7:shd,30:thd,90:uhd},e7=function(){this.timeBoundaries=vhd;this.change=new iE};e7.prototype.getLabel=function(a){if(a==null)return"";var b,c;return(c=(b=whd[a])==null?void 0:b.label)!=null?c:""};e7.prototype.openMenu=function(){this.menuTrigger.openMenu()};
e7.\u0275fac=function(a){return new (a||e7)};
e7.\u0275cmp=F({type:e7,selectors:[["time-boundary-filter"]],viewQuery:function(a,b){a&1&&ek(qhd,5);if(a&2){var c;ik(c=jk())&&(b.menuTrigger=c.first)}},inputs:{selectedTimeBoundary:"selectedTimeBoundary"},outputs:{change:"change"},standalone:!1,decls:9,vars:3,consts:[["menuTrigger","matMenuTrigger"],["timeBoundaryMenu","matMenu"],["aria-label","Time boundary selection",3,"selectable"],["appearance","hairline-filter","aria-label","Select time boundary","selected","","color","primary","role","button",
1,"time-boundary-chip",3,"keyup.enter","keyup.space","matMenuTriggerFor"],["matChipTrailingIcon","","svgIcon","arrow-dropdown"],["xPosition","before"],["type","button","mat-menu-item","",3,"disabled"],["type","button","mat-menu-item","",3,"click","disabled"]],template:function(a,b){if(a&1){var c=y();L(0,"mat-chip-listbox",2)(1,"mat-chip-option",3,0);Q("keyup.enter",function(){z(c);return B(b.openMenu())})("keyup.space",function(){z(c);return B(b.openMenu())});U(3);N(4,"mat-icon",4);M()();L(5,"mat-menu",
5,1);Mj(7,R0b,2,2,"button",6,Lj);M()}a&2&&(a=T(6),K("selectable",!1),E(),K("matMenuTriggerFor",a),E(2),V(" ",b.getLabel(b.selectedTimeBoundary)," "),E(4),Nj(b.timeBoundaries))},dependencies:[EA,QP,YP,WP,UP,FL,mK,kK,pK],encapsulation:2});var xhd=function(){return{originX:"start",originY:"bottom",overlayX:"end",overlayY:"top"}},yhd=function(a){return[a]},f7=function(){this.isSnoozed=!0;this.snooze=new iE;this.unsnooze=new iE;this.isOpen=new iE;this.currentPickerDateTime=this.tomorrow;this.timePickerOpen=!1};f7.prototype.stopPropagation=function(a){a.stopPropagation()};f7.prototype.onOpen=function(a){this.isOpen.emit(a)};var zhd=function(a,b){a.setHours(b);a.setMinutes(0);a.setSeconds(0);a.setMilliseconds(0)};
pg.Object.defineProperties(f7.prototype,{datePickerOrigin:{configurable:!0,enumerable:!0,get:function(){return this.datePickerAnchor._elementRef}},now:{configurable:!0,enumerable:!0,get:function(){return new Uf}},laterToday:{configurable:!0,enumerable:!0,get:function(){var a=this.now;a.getHours()>=12?a.add(new Aw("h",3)):zhd(a,15);return a}},tomorrow:{configurable:!0,enumerable:!0,get:function(){var a=this.now;a.add(new Aw("d",1));zhd(a,8);return a}},nextWeek:{configurable:!0,enumerable:!0,get:function(){var a=
this.now;a.setDate(a.getDate()+(7-a.getDay())%7+1);zhd(a,8);return a}},nextMonth:{configurable:!0,enumerable:!0,get:function(){var a=this.now;a.add(new Aw("d",30));zhd(a,8);return a}}});f7.\u0275fac=function(a){return new (a||f7)};
f7.\u0275cmp=F({type:f7,selectors:[["snooze-menu"]],viewQuery:function(a,b){a&1&&ek(mK,7);if(a&2){var c;ik(c=jk())&&(b.menu=c.first)}},inputs:{isSnoozed:"isSnoozed",datePickerAnchor:"datePickerAnchor"},outputs:{snooze:"snooze",unsnooze:"unsnooze",isOpen:"isOpen"},standalone:!1,decls:27,vars:11,consts:[["trigger","cdkOverlayOrigin"],["aria-labelledby","snooze-menu-title",3,"closed"],["id","snooze-menu-title",1,"title","gmat-body-2",3,"click"],[1,"list"],["type","button","mat-menu-item","",3,"click"],
[1,"date"],["mode","datetime",3,"date"],[1,"bottom"],["type","button","mat-menu-item",""],["type","button","mat-menu-item","","dialogLabel","Pick date & time","ttr.aria-label","Pick date & time","matTooltip","Pick date & time","tabindex","0","cdkOverlayOrigin","",3,"keydown.enter","keydown.space","click"],["svgIcon","time-24px"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions"],["svgIcon","clear"],[3,"clickOutside"],[3,"cancelClicked",
"dateTimeChange","saveClicked","required","renderPanel","dateTime","includeTimePicker","todayButtonEnabled"]],template:function(a,b){if(a&1){var c=y();L(0,"mat-menu",1);Q("closed",function(d){z(c);if(d!=="click")b.onOpen(!1);return B()});L(1,"span",2);Q("click",function(d){z(c);return B(b.stopPropagation(d))});U(2," Snooze until... ");M();L(3,"div",3)(4,"button",4);Q("click",function(){z(c);var d=b.laterToday;d&&b.snooze.emit(d);b.onOpen(!1);return B()});U(5," Later today ");L(6,"span",5);N(7,"b-formatted-date-time",
6);M()();L(8,"button",4);Q("click",function(){z(c);var d=b.tomorrow;d&&b.snooze.emit(d);b.onOpen(!1);return B()});U(9," Tomorrow ");L(10,"span",5);N(11,"b-formatted-date-time",6);M()();L(12,"button",4);Q("click",function(){z(c);var d=b.nextWeek;d&&b.snooze.emit(d);b.onOpen(!1);return B()});U(13," Next week ");L(14,"span",5);N(15,"b-formatted-date-time",6);M()();L(16,"button",4);Q("click",function(){z(c);var d=b.nextMonth;d&&b.snooze.emit(d);b.onOpen(!1);return B()});U(17," Next Month ");L(18,"span",
5);N(19,"b-formatted-date-time",6);M()()();L(20,"div",7);I(21,S0b,3,0,"button",8);L(22,"button",9,0);Q("keydown.enter",function(){z(c);b.timePickerOpen=!b.timePickerOpen;return B()})("keydown.space",function(){z(c);b.timePickerOpen=!b.timePickerOpen;return B()})("click",function(){z(c);b.timePickerOpen=!b.timePickerOpen;return B()});N(24,"mat-icon",10);U(25," Pick date & time ");M()()();G(26,T0b,2,5,"ng-template",11)}a&2&&(E(7),K("date",b.laterToday),E(4),K("date",b.tomorrow),E(4),K("date",b.nextWeek),
E(4),K("date",b.nextMonth),E(2),J(b.isSnoozed?21:-1),E(5),K("cdkConnectedOverlayOrigin",b.datePickerOrigin)("cdkConnectedOverlayOpen",b.timePickerOpen)("cdkConnectedOverlayPositions",Dk(9,yhd,Ck(8,xhd))))},dependencies:[EA,fN,tN,mK,kK,Iz,Hz,lU],styles:[".date[_ngcontent-%COMP%]{padding-left:20px;float:right}.title[_ngcontent-%COMP%]{padding:15px;font-size:.8rem;font-weight:700}"],changeDetection:0});var Ahd=[5433823,5418819,5421028,5122552,5422257];var g7=function(){this.DMA_TOOLTIP_TEXT="Issues related to DMA are part of a code red at Google, see go/dma52-cy";this.hotlistIds=null;this.onChipClicked=new Lp},Bhd=function(a){return Ahd.some(function(b){var c;return(c=a.hotlistIds)==null?void 0:c.includes(b)})};g7.\u0275fac=function(a){return new (a||g7)};
g7.\u0275cmp=F({type:g7,selectors:[["onedev-dma-chip"]],inputs:{hotlistIds:"hotlistIds"},outputs:{onChipClicked:"onChipClicked"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[1,"chip",3,"matTooltip"],[1,"content"],["href","http://go/dma","target","_blank",3,"click"]],template:function(a,b){a&1&&G(0,U0b,5,1,"ng-container",0);a&2&&K("ngIf",Bhd(b))},dependencies:[ny,DQ],styles:["[_nghost-%COMP%]{--chip-text:var(--text-inverse,#fff);--chip-bg:var(--red-600,red-600)}body.dark-mode[_nghost-%COMP%], body.dark-mode   [_nghost-%COMP%]{--chip-bg:var(--red-300,red-300)}.chip[_ngcontent-%COMP%]{margin-left:8px;border-radius:10px;color:var(--chip-text);display:inline-block;height:20px;padding:0 6px;background-color:var(--chip-bg)}.chip[_ngcontent-%COMP%]   .content[_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[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}"],
changeDetection:0});var h7=function(){Z.call(this);var a=this;this.errorHandler=x(PA);this.tasksService=x(TE);this.missionControlPrefs=x(MW);this.domSafe=x(SF);this.router=x($B);this.appEvents=x(EB);this.analytics=x(nE);this.clipboard=x(ZF);this.activeSession=x(Ks);this.needsAttentionTaskFridge=x(VE);this.butterBar=x(MA);x(C5);this.tailwindApi=x(j5);this.irmTasks=Cx(this.activeSession,"enableIrmTasks")?["IRM"]:[];this.OPTIONAL_SOURCE_FILTERS=["GERRIT","GOOGLE_TASKS"].concat(p(this.irmTasks));this.ALL_NEEDS_ATTENTION_SOURCE_FILTERS=
[].concat(p(lyc),p(this.OPTIONAL_SOURCE_FILTERS));this.EXTERNAL_NEEDS_ATTENTION_SOURCE_FILTERS=myc;this.SOURCE_FILTERS=this.activeSession.isInternalSession()?this.ALL_NEEDS_ATTENTION_SOURCE_FILTERS:this.EXTERNAL_NEEDS_ATTENTION_SOURCE_FILTERS;this.ALL_FILTERED_SIGNALS=pyc;this.enableViewDismissedTasks=Cx(this.activeSession,"enableViewDismissedTasks");this.enableStaleTasks=Cx(this.activeSession,"enableStaleTasks");this.enableIterationChip=Cx(this.activeSession,"enableIterationChip");this.enableOkrChip=
Cx(this.activeSession,"enableLinkedOkrChip");this.enableTailwindMissionControl=this.activeSession.isInternalSession()&&Cx(this.activeSession,"enableTailwind")&&Cx(this.activeSession,"enableTailwindMissionControl");this.refreshTable=new oj;this.SIGNAL_TO_DISPLAY_TEXT=Is;this.SIGNAL_TO_ACTION_TEXT=ghd;this.TaskResourceType=Aic;this.SignalStatus=fvc;this.sources$=this.missionControlPrefs.needsAttentionSources$;this.filteredSignals$=this.missionControlPrefs.needsAttentionFilteredSignals$;this.timeBoundary$=
this.missionControlPrefs.prefs$.pipe(C(function(b){var c;return(c=b==null?void 0:b.needsAttentionDaysOld)!=null?c:30}));this.signalStatusFilter$=new $n(0);this.allNeedsAttention$=new $n([]);this.tasksQuery$=si([this.timeBoundary$,this.sources$,this.signalStatusFilter$,this.filteredSignals$]).pipe(tj(this.destroyed$),jj(function(b,c){return vd(b,c)}),sj(function(b){var c=l(b);b=c.next().value;var d=c.next().value;var e=c.next().value;c=c.next().value;d=d.map(function(f){return ip(f)});return a.needsAttentionTaskFridge.watchMany({maxTaskAgeDays:b,
sources:d,signalFilter:e,filterSignals:c})}),pj({bufferSize:1,refCount:!0}));this.workItems$=this.tasksQuery$.pipe(sj(function(b){return!a.enableIterationChip&&!a.enableOkrChip||a.activeSession.isExternalSession()?li([]):hyc(a.tasksService,a2b(b.results)).pipe(cj(function(c){a.errorHandler.errorHandler(null,c);return li([])}))}));this.liteTasks$=si([this.tasksQuery$,this.workItems$,this.filteredSignals$]).pipe(C(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;var e=Z1b(d);
d=$1b(d);e.size>0&&a.analytics.trackEvent("missionControl","display","num-task-iterations",e.size);d.size>0&&a.analytics.trackEvent("missionControl","display","num-task-okrs",d.size);var f;return J_b(b,(f=a.signalStatusFilter$.getValue())!=null?f:0,e,d,c)}));this.liteTasksWithTailwindInfo$=this.liteTasks$.pipe(sj(function(b){if(!a.enableTailwindMissionControl)return li(b);var c=new Set(nfd());if(!c.size)return li(b);var d=b.filter(function(f){return b2b(f,c)}).map(function(f){return f.issueId}).filter(function(f){return!!f});
if(!d.length)return li(b);b=b.map(function(f){return f.issueId?d.includes(f.issueId)?Object.assign({},f,{action:"View Issue",tailwindRunStatus:"RUN_STATUS_UNSPECIFIED"}):f:f});var e=bfd(a.tailwindApi,d).pipe(C(function(f){return f.issueRunStatuses})).pipe(C(function(f){return f.map(function(h){a:switch(h.runStatus){case "RUN_STATUS_SUCCESS":var k="View AI fix";break a;case "RUN_STATUS_FAILURE":k="Retry AI fix";break a;default:k="View Issue"}return{issueId:h.issueId,status:h.runStatus,action:k}})}));
return xi([e,li(b)]).pipe(C(function(f){var h=l(f);f=h.next().value;h=h.next().value;var k=new Map(f.map(function(q){return[q.issueId,q]}));return h.map(function(q){var u=q.issueId?k.get(q.issueId):void 0;return u&&u.action?Object.assign({},q,{action:u.action,tailwindRunStatus:u.status}):q})}),rj(b))}),pj({bufferSize:1,refCount:!0}));this.dismissButtonLabel$=this.signalStatusFilter$.pipe(C(function(b){return b===1?"Un-dismiss":"Dismiss"}));this.dismissButtonTooltip$=this.signalStatusFilter$.pipe(C(function(b){return b===
1?"Un-dismiss a work item to move it back to the Active tab":"Dismiss a work item to hide it from the table"}));this.snoozeButtonLabel$=this.signalStatusFilter$.pipe(C(function(b){return b===2?"Snooze Options":"Snooze"}));this.snoozeButtonTooltip$=this.signalStatusFilter$.pipe(C(function(b){return b===2?"Snooze Options":"Snooze a work item to hide it from the table"}));this.loading$=this.needsAttentionTaskFridge.thinking$;this.tabData=[{signalStatusFilter:0,label:"Active",description:"Shows tasks with at least 1 active signal"},
{signalStatusFilter:2,label:"Snoozed",description:"Shows tasks that are snoozed"},{signalStatusFilter:1,label:"Dismissed",description:"Shows tasks with at least 1 dismissed signal"}];this.displayedColumns="selection type description timestamp signal action buttons".split(" ");this.selection=new nz(!0,[]);this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=10;this.getSignalUrgency=L_b;this.getHighestPrioritySignal=M_b;si([this.liteTasksWithTailwindInfo$]).pipe(C(function(b){b=l(b).next().value;b.sort(function(c,
d){return Sf(d.lastAlertTimestamp)-Sf(c.lastAlertTimestamp)});return b}),tj(this.destroyed$)).subscribe(function(b){a.allNeedsAttention$.next(b)});si([this.timeBoundary$,this.sources$,this.filteredSignals$]).pipe(jj(function(b,c){return vd(b,c)}),sj(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;d=d.map(function(e){return ip(e)});return a.needsAttentionTaskFridge.watchMany({maxTaskAgeDays:b,sources:d,signalFilter:0,filterSignals:c})}),tj(this.destroyed$)).subscribe(function(b){setTimeout(function(){var c=
b.results.filter(function(d){var e;return d.task&&((e=d.signals)==null?void 0:e.filter(function(f){return f.signalStatus===0}))});a.appEvents.missionControlTaskCount.next(c.length)})});this.needsAttentionTaskFridge.error$.pipe(tj(this.destroyed$)).subscribe(function(b){a.errorHandler.errorHandler(null,b)})};Y(h7,Z);h7.\u0275dir=Z.\u0275dir;h7.prototype.ngOnInit=function(){this.refreshTable.pipe(tj(this.destroyed$)).subscribe(this.refreshTaskData.bind(this))};
h7.prototype.refreshTaskData=function(){var a=this,b,c,d,e,f,h,k,q;return v(function(u){switch(u.nextAddress){case 1:return w(u,pi(a.timeBoundary$),2);case 2:return c=(b=u.yieldResult)!=null?b:0,w(u,pi(a.sources$),3);case 3:return e=((d=u.yieldResult)!=null?d:[]).map(function(A){return ip(A)}),w(u,pi(a.signalStatusFilter$),4);case 4:return h=(f=u.yieldResult)!=null?f:0,w(u,pi(a.filteredSignals$),5);case 5:return q=(k=u.yieldResult)!=null?k:a.ALL_FILTERED_SIGNALS,w(u,nrc(a.needsAttentionTaskFridge,
{maxTaskAgeDays:c,sources:e,signalFilter:h,filterSignals:q}),0)}})};h7.prototype.toggleAllRows=function(a){this.selection.selected.length===a.length?this.selection.clear():(a=a.map(function(b){return b.id}),this.selection.select.apply(this.selection,p(a)))};h7.prototype.dismissAlert=function(a){g1b(this,[a.id]);if(this.enableTailwindMissionControl&&a.issueId){var b=a.tailwindRunStatus;a.issueId&&(b!=="RUN_STATUS_SUCCESS"&&b!=="RUN_STATUS_FAILURE"||ESb(a.issueId))}};
var j1b=function(a,b,c){!c||c.getTime()>(new Date).getTime()?(eyc(a.tasksService,b,c?{seconds:(c==null?NaN:c.getTime())/1E3,nanos:0}:void 0).subscribe(function(){},function(d){return void a.errorHandler.errorHandler(null,d)}),Chd(a,new Set(b)),b.forEach(function(){a.analytics.trackEvent("needsAttention","click",c?"snoozeTask":"unsnoozeTask")})):a.butterBar.showWarning("Snooze date must be in the future")},L1b=function(a){if(a=oRa(a.snoozeUntilTimestamp))if(a=a.getTime()-(new Date).getTime(),a>0){a/=
1E3;if(a<60)return"1 min left";if(a<3600)return a=Math.floor(a/60),a+" "+(a===1?"min":"mins")+" left";if(a<86400)return a=Math.floor(a/3600),a+" "+(a===1?"hr":"hrs")+" left";a=Math.floor(a/86400);return a+" "+(a===1?"day":"days")+" left"}};
h7.prototype.navigateToResource=function(a,b,c){if(!(a.defaultPrevented||a.type==="mouseup"&&a instanceof MouseEvent&&a.button!==1||a.type==="keydown"&&a instanceof KeyboardEvent&&a.key!=="Enter")){this.sendClickAnalytics(b,c);var d;if(!a||((d=a.target)==null?void 0:d.tagName)!=="A")if(b.type==="ISSUE")b=vr(b.id),b=Hq.viewIssue.makeHref(b),zn(a)?this.domSafe.openInNewTab(b):(a==null?0:a.shiftKey)?yp(this.domSafe,b):Rr(this.router,b);else{var e;this.domSafe.openInNewTab((e=b.lastMentionLink)!=null?
e:b.link)}}};
h7.prototype.sendClickAnalytics=function(a,b){this.analytics.trackEvent("missionControl","navigate","needsAttention-"+a.type+"-"+a.signals.map(function(e){return e.type}).join(","));var c=l(Y1b(a,b)),d=c.next().value;c=c.next().value;this.analytics.trackEvent("missionControl","ctr-sig-yes",d);this.analytics.trackEvent("missionControl","ctr-sig-no",c);Dhd(this,a,b);this.enableStaleTasks&&(this.analytics.trackEvent("missionControl","click",a.isStaleTask?"click-stale-yes":"click-stale-no"),a=b.filter(function(e){return e.isStaleTask}).length,
this.analytics.trackEvent("missionControl","display","num-stale-task",a),this.analytics.trackEvent("missionControl","display","num-fresh-tasks",b.length-a))};h7.prototype.setNumDisplayedRows=function(a){this.numDisplayedRows=a.length>this.numDisplayedRows?a.length:10};
var m1b=function(a){var b=new Set(a.selection.selected),c,d;return(d=(c=a.allNeedsAttention$.getValue())==null?void 0:c.some(function(e){return b.has(e.id)&&!e.signals.some(function(f){return f.type==="DRIVE_MANUAL_SIGNAL"||f.type==="CHANGELIST_MANUAL_SIGNAL"||f.type==="ISSUE_MANUALLY_SIGNALED"||f.type==="GERRIT_MANUAL_SIGNAL"||f.type==="GOOGLE_TASKS_MANUAL_SIGNAL"||f.type==="IRM_MANUAL_SIGNAL"})}))!=null?d:!1},g1b=function(a,b){var c,d;v(function(e){if(e.nextAddress==1)return w(e,pi(a.signalStatusFilter$),
2);c=e.yieldResult;cyc(a.tasksService,b,c!==1).subscribe(function(){},function(f){return void a.errorHandler.errorHandler(null,f)});d=new Set(b);return w(e,Chd(a,d),0)})},l1b=function(a){var b=a.selection.selected,c=m1b(a);a.analytics.trackEvent("manualSignal",c?"add":"remove","bulkControls",b.length);dyc(a.tasksService,b,c).subscribe(function(){a.refreshTaskData()},function(d){return void a.errorHandler.errorHandler(null,d)});a.selection.clear()};
h7.prototype.copyIdOrLink=function(a){a.type==="ISSUE"?(a=vr(a.id))&&this.clipboard.copy(a):this.clipboard.copy(a.link)};h7.prototype.sendDmaAnalytics=function(){this.analytics.trackEvent("missionControl","click","dmaChip")};h7.prototype.extractLastDigits=function(a){var b;return(b=vr(a))!=null?b:""};var v1b=function(a){return a.type==="ISSUE"?"/issues/"+a.issueId:a.lastMentionLink?a.lastMentionLink:a.link};
h7.prototype.onTabIndexChange=function(a){this.allNeedsAttention$.next([]);this.selection.clear();var b;this.signalStatusFilter$.next((b=this.tabData[a])==null?void 0:b.signalStatusFilter);var c;this.analytics.trackEvent("missionControl","view",(c=this.tabData[a])==null?void 0:c.label)};h7.prototype.hasFutureAvailability=function(a){var b,c;return!!(((b=a.futureAvailability)==null?0:b.futureOooTimestamp)&&((c=a.futureAvailability)==null?0:c.comeBackTimestamp))};
var Chd=function(a,b){var c,d;return v(function(e){if(e.nextAddress==1)return c=a.allNeedsAttention$.getValue(),a.allNeedsAttention$.next(c.filter(function(f){return!b.has(f.id)})),w(e,pi(a.signalStatusFilter$),2);d=e.yieldResult;d===0&&a.appEvents.missionControlTaskCount.next(c.filter(function(f){return!b.has(f.id)}).length);ji(e)})},Dhd=function(a,b,c){Ehd(a,b,c);Fhd(a,b,c)},Ehd=function(a,b,c){a.hasFutureAvailability(b)?a.analytics.trackEvent("missionControl","ctr-signal-attributes","availability",
!0):c.some(function(d){return a.hasFutureAvailability(d)})&&a.analytics.trackEvent("missionControl","ctr-signal-attributes","availability",!1)},Fhd=function(a,b,c){b.reviewEstimate?a.analytics.trackEvent("missionControl","ctr-signal-attributes","review-time",!0):c.some(function(d){return!!d.reviewEstimate})&&a.analytics.trackEvent("missionControl","ctr-signal-attributes","review-time",!1)};h7.\u0275fac=function(a){return new (a||h7)};
h7.\u0275cmp=F({type:h7,selectors:[["b-needs-attention-table"]],inputs:{refreshTable:"refreshTable"},standalone:!1,features:[xj],decls:13,vars:13,consts:[["pickerToggle","bAddTaskDialogToggle"],["bulkSnoozeButton",""],["snoozeMenu",""],["snoozeButton",""],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedIndex"],[1,"flex-kids-x","align-items-center","padded-xs-y","border-bottom"],[1,"heading-s"],[1,"border-left","padded-s-left","padded-s-right",3,"selectedTimeBoundary"],
[1,"border-left","padded-s-left"],[1,"text-center","border-bottom","padded-s-y"],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"tab-label",3,"matTooltip"],[1,"padded-s-x",3,"sourceFilterKeys","selectedSources","selectedSignals"],[1,"padded-s-x",3,"changeSourceAndFilteredSignals","changeSourceFilter","sourceFilterKeys","selectedSources","selectedSignals"],[1,"border-left","padded-s-left","padded-s-right",
3,"change","selectedTimeBoundary"],["mat-button","","type","button","bAddTaskDialogToggle","",1,"add-task-button",3,"taskAdded"],[1,"muted","border-bottom","padded-s-y"],["mat-table","","aria-label","Table of alerts",1,"full-width",3,"dataSource"],["matColumnDef","selection"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","description"],["matColumnDef","timestamp"],["matColumnDef","signal"],["matColumnDef","action"],["matColumnDef",
"buttons"],["mat-header-cell","","class","border-bottom",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"click",4,"matRowDef","matRowDefColumns"],["class","mat-row padded-y",4,"matNoDataRow"],["type","button","mat-button","",1,"margin-s-top"],["mat-header-cell",""],["aria-label","Select all alerts",3,"change","checked","indeterminate"],["mat-cell",""],["aria-label","Select alert",3,"click","change","checked"],["role","img","aria-hidden","false",
"matTooltipPosition","left",3,"matTooltip","svgIcon"],["type","button","mat-button","",1,"bulk-dismiss"],["type","button","mat-button","",1,"bulk-manual-signal"],["type","button","mat-button","",1,"bulk-dismiss",3,"click"],["mat-button","",1,"bulk-snooze",3,"matMenuTriggerFor"],[3,"snooze","unsnooze","isSnoozed","datePickerAnchor"],["type","button","mat-button","",1,"bulk-manual-signal",3,"click"],[1,"flex-kids-x","align-items-center"],[1,"italic"],[3,"issueId"],[3,"okrIds"],[3,"iteration"],[1,"going-ooo",
3,"matTooltip"],["matTooltip","Estimated review time (visible only to you)",1,"review-estimate"],[1,"margin-s-right",3,"issuePriority"],["tabindex","0","role","link",1,"subtle-link","break-word","grow-1",3,"auxclick","href"],[3,"onChipClicked","hotlistIds"],["svgIcon","event_upcoming_24px"],[3,"click","taskId","lastAlertTimestamp"],["mode","relativepastshort",3,"timestamp","paddingLeftPx"],[3,"issueId","signals","tailwindRunStatus"],["mat-button","","tabindex","0","role","link",1,"primary","action-button",
3,"href"],["mat-header-cell","",1,"border-bottom"],[1,"snooze-time"],[1,"buttons-container"],["type","button","mat-icon-button","",1,"copy-btn","xs",3,"click","matTooltip"],["svgIcon","copy","color","primary",1,"copy-icon"],["type","button","mat-icon-button","",1,"dismiss-btn","xs",3,"click","ariaLabel","matTooltip"],["svgIcon","issue-status-wont-fix","color","primary",1,"dismiss-icon"],["type","button","mat-icon-button","",1,"snooze-btn","xs",3,"click","ariaLabel","matTooltip","matMenuTriggerFor"],
["svgIcon","time-24px","color","primary",1,"snooze-icon"],["mat-header-row",""],["mat-row","",1,"clickable",3,"click"],[1,"mat-row","padded-y"],["colspan","7",1,"mat-cell","type-l","text-center","padded-top"],["type","button","mat-button","",1,"margin-s-top",3,"click"],["svgIcon","arrow-down",1,"icon"],["svgIcon","arrow-up",1,"icon"],[3,"ariaLabel"]],template:function(a,b){a&1&&(I(0,X0b,3,1,"mat-tab-group",4),L(1,"div",5)(2,"span",6),U(3,"Sources"),M(),I(4,Z0b,2,3),W(5,"async"),I(6,$0b,1,1,"time-boundary-filter",
7),W(7,"async"),I(8,a1b,4,0,"div",8),M(),I(9,W1b,2,3),W(10,"async"),W(11,"async"),Jj(12,X1b,2,1,"div",9));if(a&2){var c,d;J(b.enableViewDismissedTasks?0:-1);E(4);J((c=X(5,5,b.sources$))?4:-1,c);E(2);J((d=X(7,7,b.timeBoundary$))?6:-1,d);E(2);J(b.signalStatusFilter$.getValue()===b.SignalStatus.ACTIVE?8:-1);E();J(X(10,9,b.liteTasksWithTailwindInfo$)&&!X(11,11,b.loading$)?9:12)}},dependencies:[EA,tN,RP,eL,SK,YK,UK,RK,$K,VK,XK,aL,cL,dL,oM,iM,jM,kM,aG,HG,YF,WF,dA,aA,bA,d7,f7,e7,lL,lP,g7,EP,jhd,lhd,pK,$6,
R6,O6,py,vy,P6],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-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-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-mdc-row[_ngcontent-%COMP%]   .mat-column-active-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-mdc-row.active[_ngcontent-%COMP%]   .mat-column-active-indicator[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]:focus-within   .mat-column-active-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     mat-spinner.large{top:unset}[_nghost-%COMP%]     .add-task-button:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple, [_nghost-%COMP%]     .bulk-snooze:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple, [_nghost-%COMP%]     .copy-btn:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple, [_nghost-%COMP%]     .dismiss-btn:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple, [_nghost-%COMP%]     .snooze-btn:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple{--mat-icon-button-focus-state-layer-opacity:0}.mat-column-selection[_ngcontent-%COMP%]{text-align:center}.mat-column-type[_ngcontent-%COMP%]{text-align:center}.mat-column-type[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.product-icon.critique-logo[_ngcontent-%COMP%]{max-width:20px}.product-icon.drive-doc[_ngcontent-%COMP%]{color:#1967d2}.product-icon.drive-sheet[_ngcontent-%COMP%]{color:#1e8e3e}.product-icon.drive-slide[_ngcontent-%COMP%]{color:#f9ab00}.product-icon.gerrit-logo[_ngcontent-%COMP%]{max-width:20px}th.mat-column-signal[_ngcontent-%COMP%]{padding-left:8px}th.mat-column-action[_ngcontent-%COMP%]{padding-left:12px}th.mat-column-description[_ngcontent-%COMP%]{overflow:visible}th.mat-column-buttons[_ngcontent-%COMP%]{padding-left:12px}.copy-icon[_ngcontent-%COMP%]{opacity:0;margin-bottom:1px}.dismiss-icon[_ngcontent-%COMP%]{opacity:0;margin-bottom:1px}.snooze-icon[_ngcontent-%COMP%]{opacity:0;margin-bottom:1px}.buttons-container[_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-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.snooze-time[_ngcontent-%COMP%]{position:absolute;padding-left:12px}.copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%], .copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-icon[_ngcontent-%COMP%], .dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%], .dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .dismiss-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .snooze-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .dismiss-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .snooze-icon[_ngcontent-%COMP%], .snooze-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .snooze-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%], .snooze-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-icon[_ngcontent-%COMP%]{opacity:1;color:#1a73e8;color:var(--primary);background-color:unset}.copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-time[_ngcontent-%COMP%], .dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-time[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .snooze-time[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .snooze-time[_ngcontent-%COMP%], .snooze-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-time[_ngcontent-%COMP%]{opacity:0;display:none}a.action-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link);white-space:nowrap}a.action-button[_ngcontent-%COMP%]:active, a.action-button[_ngcontent-%COMP%]:focus, a.action-button[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link)}.bulk-dismiss[_ngcontent-%COMP%]{height:24px;line-height:24px;margin-left:-32px}.bulk-manual-signal[_ngcontent-%COMP%]{height:24px;line-height:24px}.bulk-snooze[_ngcontent-%COMP%]{height:24px;line-height:24px}.review-estimate[_ngcontent-%COMP%]{background-color:#edfbf1;background-color:var(--green-bg);height:18px;line-height:18px;padding:0 8px}.going-ooo[_ngcontent-%COMP%]{background-color:#fff8e4;background-color:var(--yellow-bg);color:#8f6b00;color:var(--yellow-text);-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;height:18px;padding:0 4px}.going-ooo[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{height:16px;width:16px}.going-ooo[_ngcontent-%COMP%], .review-estimate[_ngcontent-%COMP%]{border-radius:4px;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;margin-right:4px;vertical-align:middle}"],
changeDetection:0});var i7=function(){Z.call(this);var a=this;this.prefsService=x(MW);this.appEvents=x(EB);this.analytics=x(nE);this.numNeedsAttentionTasks$=this.appEvents.missionControlTaskCount;this.refreshData=new oj;this.numNeedsAttentionTasks$.pipe(Di(fe),hj(1),tj(this.destroyed$)).subscribe(function(e){a.analytics.trackEvent("missionControl","display","num-needs-attention-"+e,e)});var b,c=(b=this.prefsService.prefs.needsAttentionSources)!=null?b:[];b=this.prefsService.prefs.isNeedsAttentionSourcesConfigured;c=
c.length!==0||b?c:[].concat(p(lyc));var d;b=(d=this.prefsService.prefs.needsAttentionDaysOld)!=null?d:30;this.analytics.trackEvent("missionControl","view","needsAttention-sources-"+c.join(",")+"-"+b)};Y(i7,Z);i7.\u0275dir=Z.\u0275dir;i7.prototype.isCollapsed=function(){return this.prefsService.isCollapsed("needs-attention-wrapper")};i7.prototype.ariaLabelForToggleButton=function(){return this.isCollapsed()?"Expand needs attention section":"Collapse needs attention section"};
i7.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("needs-attention-wrapper")};i7.\u0275fac=function(a){return new (a||i7)};
i7.\u0275cmp=F({type:i7,selectors:[["needs-attention-wrapper"]],inputs:{refreshData:"refreshData"},standalone:!1,features:[xj],decls:10,vars:7,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center"],[1,"heading-s"],["svgIcon","info","tabindex","0","role","button","aria-hidden","false","aria-label","Work items which require actions from you","matTooltip","Work items which require actions from you",1,"info","margin-s-left"],["type","button","mat-icon-button","",1,"small","collapse-btn",
"margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],[1,"alert-count-badge","b-chip"],[1,"main-content"],[1,"alert-count"],[3,"refreshTable"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"header",1)(2,"h3",2),U(3," Needs attention "),M(),N(4,"mat-icon",3),L(5,"button",4),Q("click",function(){return b.toggleCollapsed()}),N(6,"mat-icon",5),M(),I(7,c2b,3,1,"div",6),W(8,"async"),M(),I(9,d2b,2,1,"div",7),M());if(a&2){var c;rk("collapsed",b.isCollapsed());E(5);Hj("aria-label",b.ariaLabelForToggleButton());
E(2);J((c=X(8,5,b.numNeedsAttentionTasks$))?7:-1,c);E(2);J(b.isCollapsed()?-1:9)}},dependencies:[EA,dA,bA,h7,YF,WF,py],styles:["[_nghost-%COMP%]{display:block}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.carded[_ngcontent-%COMP%]{-webkit-transition:none .1s ease-in-out;transition:none .1s ease-in-out;-webkit-transition-property:padding;transition-property:padding}.carded.collapsed[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.alert-count-badge[_ngcontent-%COMP%]{margin-left:8px;background-color:#c5221f;background-color:var(--text-bad);color:#fff;color:var(--text-inverse);line-height:24px;border-radius:12px}.alert-count-badge[_ngcontent-%COMP%]   .alert-count[_ngcontent-%COMP%]{font-size:.8125rem;height:24px;text-align:center}.info[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);height:20px;width:20px}"]});var j7=function(){this.DEFINITIONS=oyc;this.sourceFilterKeys=[];this.selectedSources=[];this.change=new iE};j7.prototype.sourceFilterChange=function(a){this.selectedSources=a.value;this.change.emit(a.value)};j7.\u0275fac=function(a){return new (a||j7)};
j7.\u0275cmp=F({type:j7,selectors:[["source-filter-chips"]],inputs:{sourceFilterKeys:"sourceFilterKeys",selectedSources:"selectedSources"},outputs:{change:"change"},standalone:!1,decls:3,vars:0,consts:[["multiple","","aria-label","Source selection",3,"change"],["appearance","hairline-filter",3,"value","selected"],[3,"matTooltip"]],template:function(a,b){a&1&&(L(0,"mat-chip-listbox",0),Q("change",function(c){return b.sourceFilterChange(c)}),Mj(1,f2b,1,1,null,null,Lj),M());a&2&&(E(),Nj(b.sourceFilterKeys))},
dependencies:[QP,YP,WP,YF,WF],encapsulation:2});var V2b=function(){return[]},W2b=function(){return["moreRows"]},k7=function(){Z.call(this);var a=this;this.prefsService=x(MW);this.issueFridge=x(MD);this.router=x($B);this.domSafe=x(SF);this.analytics=x(nE);this.errorHandler=x(PA);this.activeSession=x(Ks);this.clipboard=x(ZF);this.myTasksFridge=x(UE);this.tasksService=x(TE);this.isInternalSession=this.activeSession.isInternalSession();this.irmTasks=Cx(this.activeSession,"enableIrmTasks")?["IRM"]:[];this.OPTIONAL_SOURCE_FILTERS=["GERRIT"].concat(p(this.irmTasks));
this.MY_TASK_DEFAULT_FILTERS=[].concat(p(nyc),p(this.OPTIONAL_SOURCE_FILTERS));this.ONLY_OWNED_TASK_FILTERS=[].concat(p(this.MY_TASK_DEFAULT_FILTERS),["GOOGLE_TASKS"]);this.TaskResourceType=Aic;this.taskResourceTypeToIcon=MFa;this.extractLastDigits=vr;this.tableColumns=[].concat(p(kYc));this.tableOptions=Object.assign({},nYc,{showActiveIndicator:!1,rowLimit:10});this.refreshData=new oj;this.manualSignalTriggered=new iE;this.sources$=this.prefsService.myTasksSources$;this.timeBoundary$=this.prefsService.prefs$.pipe(C(function(e){var f;
return(f=e==null?void 0:e.myTasksDaysOld)!=null?f:7}));var b;this.INITIAL_TAB_INDEX=(b=E2c(this.prefsService,"mc-my-tasks"))!=null?b:0;this.MY_TASK_FILTERS=this.INITIAL_TAB_INDEX===0?this.ONLY_OWNED_TASK_FILTERS:this.MY_TASK_DEFAULT_FILTERS;this.isSavingManualSignal=!1;var c;this.tabData=[{label:"Owned",description:"Tasks you own or are the author of",liteTasks:new $n([]),loading:!0},{label:"Collaborating",description:"Tasks you're working on or contributing to (but don't own)",liteTasks:new $n([]),
loading:!0},{label:"Following",description:"Tasks you're tracking or have recent activities on",liteTasks:new $n([]),loading:!0},g2b(this.issueFridge,(c=this.activeSession.getTracker())==null?void 0:c.trackerId)].filter(fe);this.myTasks$=si([this.timeBoundary$,this.sources$]).pipe(tj(this.destroyed$),jj(function(e,f){return e[0]===f[0]&&vd(e[1],f[1])}),sj(function(e){var f=l(e);e=f.next().value;f=f.next().value;var h=new Set(f.map(function(k){return ip(k)}));return a.myTasksFridge.watchMany({maxTaskAgeDays:e,
sources:Array.from(h),issueFilter:h2b(f)})}));this.displayColumns="type title modified role created options".split(" ");this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=10;this.myTasks$.pipe(tj(this.destroyed$)).subscribe(function(e){var f=e.results;e=f.filter(function(A){return A.resourceRelationships.filter(function(D){return D.category==="OWNER"}).length>0}).sort(c3b);var h=f.filter(function(A){return A.resourceRelationships.filter(function(D){return D.category==="COLLABORATOR"}).length>0}).sort(c3b);
f=f.filter(function(A){return A.resourceRelationships.filter(function(D){return D.category==="FOLLOWING"}).length>0}).sort(c3b);var k;(k=a.tabData[0].liteTasks)==null||k.next(e);var q;(q=a.tabData[1].liteTasks)==null||q.next(h);var u;(u=a.tabData[2].liteTasks)==null||u.next(f);a.tabData[0].loading=!1;a.tabData[1].loading=!1;a.tabData[2].loading=!1});var d;this.analytics.trackEvent("missionControl","display","my-tasks-"+((d=this.tabData[this.INITIAL_TAB_INDEX])==null?void 0:d.label));this.myTasksFridge.error$.pipe(tj(this.destroyed$)).subscribe(function(e){a.errorHandler.errorHandler(null,
e)})};Y(k7,Z);k7.\u0275dir=Z.\u0275dir;g=k7.prototype;g.ngOnInit=function(){var a=this;this.refreshData.pipe(tj(this.destroyed$)).subscribe(function(){var b,c=(b=a.prefsService.prefs.myTasksDaysOld)!=null?b:7;b=a.prefsService.getMyTasksSources();var d=new Set(b.map(function(e){return ip(e)}));a.myTasksFridge.watchMany({maxTaskAgeDays:c,sources:Array.from(d),issueFilter:h2b(b)})})};g.toggleCollapsed=function(){this.prefsService.toggleCollapsed("mc-my-tasks")};g.isCollapsed=function(){return this.prefsService.isCollapsed("mc-my-tasks")};
g.ariaLabelForToggleButton=function(){return this.isCollapsed()?"Expand recent items section":"Collapse recent items section"};g.setNumDisplayedRows=function(a){this.numDisplayedRows=a.length>this.numDisplayedRows?a.length:10};g.onTabIndexChange=function(a){snb(this.prefsService,"mc-my-tasks",a);this.numDisplayedRows=10;var b;this.analytics.trackEvent("missionControl","view",(b=this.tabData[a])==null?void 0:b.label);this.MY_TASK_FILTERS=a===0?this.ONLY_OWNED_TASK_FILTERS:this.MY_TASK_DEFAULT_FILTERS};
g.navigateToResource=function(a,b){if(!(a.defaultPrevented||a.type==="mouseup"&&a instanceof MouseEvent&&a.button!==1)){this.sendClickAnalytics(b);var c;a&&((c=a.target)==null?void 0:c.tagName)==="A"||(b.taskResourceType==="ISSUE"?(b=vr(b.taskId),b=Hq.viewIssue.makeHref(b),zn(a)?this.domSafe.openInNewTab(b):a&&a.shiftKey?yp(this.domSafe,b):Rr(this.router,b)):this.domSafe.openInNewTab(b.externalLink))}};
g.copyIdOrLink=function(a){a.taskResourceType==="ISSUE"?(a=vr(a.taskId),this.clipboard.copy(a)):this.clipboard.copy(a.externalLink)};var K2b=function(a,b){a.isSavingManualSignal=!0;a.analytics.trackEvent("manualSignal","add","myTasksRow");var c=b.taskResourceType==="ISSUE"?3E3:0;dyc(a.tasksService,[b.taskId],!0).pipe(ij(c)).subscribe(function(){a.manualSignalTriggered.emit(b);a.isSavingManualSignal=!1},function(d){a.errorHandler.errorHandler(null,d);a.isSavingManualSignal=!1})};
k7.prototype.sendClickAnalytics=function(a){var b,c=((b=a.resourceRelationships[0].roleName)!=null?b:"").split(" ").map(function(d,e){return e===0?d.toLowerCase():d.charAt(0).toUpperCase()+d.substring(1).toLowerCase()}).join("");this.analytics.trackEvent("missionControl","navigate","myTasks-"+a.taskResourceType+"-"+c)};k7.prototype.sendDmaAnalytics=function(){this.analytics.trackEvent("missionControl","click","dmaChip")};k7.prototype.getIds=function(a){return a.map(function(b){return b.issueId})};
var w2b=function(a){return a==="P0"||a==="P1"};k7.\u0275fac=function(a){return new (a||k7)};
k7.\u0275cmp=F({type:k7,selectors:[["my-tasks"]],inputs:{refreshData:"refreshData"},outputs:{manualSignalTriggered:"manualSignalTriggered"},standalone:!1,features:[xj],decls:8,vars:4,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center"],[1,"heading-s"],["svgIcon","info","tabindex","0","role","button","aria-hidden","false","aria-label","Recent items helps you quickly find your active tasks and docs organized by your relation to them","matTooltip","Recent items helps you quickly find your active tasks and docs organized by your relation to them",
1,"info","margin-s-left"],["type","button","mat-icon-button","",1,"small","collapse-btn","margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],[1,"main-content","margin-s-top"],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"tab-filters","flex-kids-x","align-items-center","padded-xs-y","border-bottom"],[1,"text-center","border-bottom","padded-s-y"],[1,"tab-label",3,"matTooltip"],[1,"border-left",
"padded-s-left",3,"selectedTimeBoundary"],[1,"padded-s-x",3,"sourceFilterKeys","selectedSources"],[1,"padded-s-x",3,"change","sourceFilterKeys","selectedSources"],[1,"border-left","padded-s-left",3,"change","selectedTimeBoundary"],[3,"issueIds","tableColumns","options"],["mat-table","",3,"dataSource","class"],[1,"muted","border-bottom","padded-s-y"],["mat-table","",3,"dataSource"],["matColumnDef","type"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],
["matColumnDef","modified"],["matColumnDef","role"],["matColumnDef","created"],["matColumnDef","options"],["mat-header-cell","","class","options-column border-bottom",4,"matHeaderCellDef"],["mat-cell","","class","options-column",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"click",4,"matRowDef","matRowDefColumns"],["matColumnDef","moreRows"],["mat-footer-cell","","colspan","2",4,"matFooterCellDef"],["mat-footer-row","",3,"hidden",4,"matFooterRowDef"],
["class","mat-row padded-y",4,"matNoDataRow"],["mat-header-cell",""],["mat-cell",""],["matTooltipPosition","left",3,"matTooltip","svgIcon"],[1,"italic"],[3,"issueId","compactMode"],[1,"margin-xs-right",3,"issuePriority"],[1,"subtle-link","break-word",3,"auxclick","href"],[3,"hotlistIds"],[3,"onChipClicked","hotlistIds"],["mode","relativepastshort",3,"timestamp","paddingLeftPx"],["mat-header-cell","",1,"options-column","border-bottom"],["mat-cell","",1,"options-column"],[1,"buttons-container"],["type",
"button","mat-icon-button","","aria-label","Trigger a needs attention alert on this task",1,"manual-signal-btn","xs",3,"click","disabled","matTooltip"],["svgIcon","label_important_outline_24px","color","primary",1,"manual-signal-icon"],["type","button","mat-icon-button","",1,"copy-btn","xs",3,"click","matTooltip"],["svgIcon","copy","color","primary",1,"copy-icon"],["mat-header-row",""],["mat-row","",1,"clickable",3,"click"],["mat-footer-cell","","colspan","2"],["type","button","mat-button","",1,"margin-s-top"],
["type","button","mat-button","",1,"margin-s-top",3,"click"],["svgIcon","arrow-down",1,"icon"],["svgIcon","arrow-up",1,"icon"],["mat-footer-row","",3,"hidden"],[1,"mat-row","padded-y"],["colspan","5",1,"mat-cell","type-l","text-center","padded-top"],[3,"ariaLabel"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"header",1)(2,"h3",2),U(3," Recent items "),M(),N(4,"mat-icon",3),L(5,"button",4),Q("click",function(){return b.toggleCollapsed()}),N(6,"mat-icon",5),M()(),I(7,b3b,4,1,"div",6),M());a&2&&(rk("collapsed",
b.isCollapsed()),E(5),Hj("aria-label",b.ariaLabelForToggleButton()),E(2),J(b.isCollapsed()?-1:7))},dependencies:[EA,lP,lL,j7,e7,tN,g7,EP,AT,dA,aA,bA,oM,iM,jM,kM,RP,eL,SK,YK,UK,RK,$K,TK,ZK,VK,XK,WK,aL,cL,bL,dL,YF,WF,py],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-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-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}[_nghost-%COMP%]{display:block}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.carded[_ngcontent-%COMP%]{-webkit-transition:none .1s ease-in-out;transition:none .1s ease-in-out;-webkit-transition-property:padding;transition-property:padding}.carded.collapsed[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.time-boundary-listbox[_ngcontent-%COMP%]   mat-chip-option[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{cursor:pointer}table[_ngcontent-%COMP%]{width:100%;table-layout:fixed}mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{min-height:2rem}mat-header-cell[_ngcontent-%COMP%]{font-weight:500}.mat-mdc-cell[_ngcontent-%COMP%], .mat-mdc-header-cell[_ngcontent-%COMP%]{padding:0 .75rem}.mat-column-type[_ngcontent-%COMP%]{width:4%;min-width:45px;text-align:center}.mat-column-type[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.mat-column-created[_ngcontent-%COMP%], .mat-column-modified[_ngcontent-%COMP%]{min-width:180px;width:12%}.mat-column-role[_ngcontent-%COMP%]{min-width:100px;width:10%}.options-column[_ngcontent-%COMP%]{width:64px;text-align:center}.mat-column-moreRows[_ngcontent-%COMP%]{border:none}.product-icon.critique-logo[_ngcontent-%COMP%]{max-width:20px}.product-icon.drive-doc[_ngcontent-%COMP%]{color:#1967d2}.product-icon.drive-sheet[_ngcontent-%COMP%]{color:#1e8e3e}.product-icon.drive-slide[_ngcontent-%COMP%]{color:#f9ab00}.product-icon.gerrit-logo[_ngcontent-%COMP%]{max-width:20px}.info[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);height:20px;width:20px}.tab-label[_ngcontent-%COMP%]{cursor:pointer}.buttons-container[_ngcontent-%COMP%]{width:100%;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-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}button.manual-signal-btn[disabled][_ngcontent-%COMP%]{opacity:.35}.copy-icon[_ngcontent-%COMP%], .manual-signal-icon[_ngcontent-%COMP%]{color:#fff;color:var(--background);margin-bottom:1px;max-width:20px}.copy-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .buttons-container[_ngcontent-%COMP%], .copy-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .copy-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .manual-signal-icon[_ngcontent-%COMP%], .manual-signal-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .buttons-container[_ngcontent-%COMP%], .manual-signal-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .manual-signal-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .manual-signal-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .buttons-container[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .manual-signal-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .buttons-container[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .manual-signal-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--primary);background-color:unset}[_nghost-%COMP%]     .copy-btn:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple, [_nghost-%COMP%]     .manual-signal-btn:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple{--mat-icon-button-focus-state-layer-opacity:0}\n/*# sourceMappingURL=my_tasks.css.map */"]});var l7=function(){Z.call(this);var a=this;this.hostElement=x(Ph);this.analytics=x(nE);this.userFeedback=x(iS);this.prefsService=x(MW);this.hatsService=x(YQ);this.appSearchState=x(hK);this.activeSession=x(Ks);this.isInternalSession=this.activeSession.isInternalSession();this.HOTKEYS=nq;this.refreshAllMissionControlData=new oj;this.refreshNeedsAttentionData=new oj;this.captureAnyClick=function(b){b=bza(b);for(var c=l(Object.entries(Ghd)),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;
e=e.next().value;if(b.includes(d)){a.analytics.trackEvent("missionControl","click",e);break}}};this.refreshAllMissionControlData.pipe(tj(this.destroyed$)).subscribe(function(){a.refreshNeedsAttentionData.next()})};Y(l7,Z);l7.\u0275dir=Z.\u0275dir;
l7.prototype.ngOnInit=function(){var a=this;setTimeout(function(){a.appSearchState.clear()});this.hostElement.nativeElement.addEventListener("click",this.captureAnyClick,!0);var b=l(Hhd(this)),c=b.next().value;b=b.next().value;this.analytics.trackEvent("missionControl","sections-on-load",c,b);xRc(this.hatsService,"u5xoTzKbb0g6pPHSLo10WcCoiLmK").pipe(tj(this.destroyed$)).subscribe()};
l7.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.captureAnyClick,!0)};var Hhd=function(a){a=[a.prefsService.isCollapsed("needs-attention-wrapper")?"-":"a",a.prefsService.isCollapsed("mc-my-tasks")?"-":"t",a.prefsService.isCollapsed("work-areas-wrapper-card")?"-":"w"];var b=a.filter(function(c){return c!=="-"}).length;return[a.join(""),b]};l7.prototype.refresh=function(){this.refreshAllMissionControlData.next()};
l7.\u0275fac=function(a){return new (a||l7)};
l7.\u0275cmp=F({type:l7,selectors:[["ng-component"]],standalone:!1,features:[xj],decls:10,vars:5,consts:[[1,"a11y-only"],["cdkScrollable","",1,"padded-s","flex-kids-y","gap-s","pos-fill","bg-off-main","overflow","overflow-on-print-media",3,"onHotkey","hotkey"],["class","flex-kids-x align-items-center justify-flex-end info-row",4,"ngIf"],[1,"a"],[3,"refreshData"],[1,"t"],[3,"manualSignalTriggered","refreshData"],[1,"w"],[1,"flex-kids-x","align-items-center","justify-flex-end","info-row"],["type","button",
"mat-stroked-button","",1,"small",3,"click"]],template:function(a,b){a&1&&(L(0,"h2",0),U(1,"Mission Control"),M(),L(2,"div",1),Q("onHotkey",function(){return b.refresh()}),G(3,e3b,3,0,"div",2),L(4,"section",3),N(5,"needs-attention-wrapper",4),M(),L(6,"section",5)(7,"my-tasks",6),Q("manualSignalTriggered",function(){return b.refreshNeedsAttentionData.next()}),M()(),L(8,"section",7),N(9,"work-areas-wrapper-card",4),M()());a&2&&(E(2),K("hotkey",b.HOTKEYS.REFRESH_ISSUE_LIST),E(),K("ngIf",b.isInternalSession),
E(2),K("refreshData",b.refreshNeedsAttentionData),E(2),K("refreshData",b.refreshAllMissionControlData),E(2),K("refreshData",b.refreshAllMissionControlData))},dependencies:[ny,dA,aA,mz,yX,i7,k7,DL],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     section>*>.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%]     section>*>.carded{box-shadow:0 2px 3px 0 rgba(0,0,0,.3),0 6px 10px 4px rgba(0,0,0,.15)}.learn-more-link[_ngcontent-%COMP%]{color:#185abc;color:var(--link-high-contrast)}.learn-more-link[_ngcontent-%COMP%]:hover{text-decoration:underline}\n/*# sourceMappingURL=mission_control_wrapper.css.map */"]});
var Ghd={"NEEDS-ATTENTION-WRAPPER":"needs-attention","MY-TASKS":"my-tasks","MY-TASKS-V1":"my-tasks","WORK-AREAS-WRAPPER-CARD":"work-areas"};var Ihd=function(){this.timeZones=x(nI);this.label="Time zone";this.timezoneId="";this.fullWidth=this.disabled=!1;this.timezoneIdChange=new iE;this.timeZoneOptions$=nDc(this.timeZones).pipe(C(function(a){return a.sort(g3b)}))};Ihd.\u0275fac=function(a){return new (a||Ihd)};
Ihd.\u0275cmp=F({type:Ihd,selectors:[["b-timezone-picker"]],inputs:{label:"label",timezoneId:"timezoneId",disabled:"disabled",fullWidth:"fullWidth"},outputs:{timezoneIdChange:"timezoneIdChange"},standalone:!1,decls:7,vars:7,consts:[["appearance","outline",1,"form-field-wide-select"],[3,"ngModelChange","disabled","ngModel"],[3,"value"]],template:function(a,b){a&1&&(L(0,"mat-form-field",0)(1,"mat-label"),U(2),M(),L(3,"mat-select",1),Q("ngModelChange",function(c){b.timezoneId!==c&&(b.timezoneId=c,b.timezoneIdChange.emit(b.timezoneId))}),
Mj(4,f3b,2,2,"mat-option",2,Lj),W(6,"async"),M()());a&2&&(rk("full-width",b.fullWidth),E(2),V(" ",b.label," "),E(),K("disabled",b.disabled)("ngModel",b.timezoneId),E(),Nj(X(6,5,b.timeZoneOptions$)))},dependencies:[VL,eH,YG,WL,Vz,TL,hG,oG,py],styles:["[_nghost-%COMP%]     .mat-form-field-infix { width: fit-content; }","mat-form-field[_ngcontent-%COMP%] { font-size: 16px; }"]});var m7=function(){var a=this;this.dateFormatter=x(MI);this.destroyRef=x(Cj);this.frequency$=new $n("weekly");this.ordinal$=new $n(1);this.timeZoneId$=new $n("America/Los_Angeles");this.timeOfDay$=new $n({hours:9,minutes:0,seconds:0,nanos:0});this.ordinalOrZero$=si([this.frequency$,this.ordinal$]).pipe(C(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b==="daily"?0:c}));this.frequencyChange=new iE;this.ordinalChange=new iE;this.timeOfDayChange=new iE;this.timeZoneIdChange=new iE;this.frequencyOptions=
Jhd;this.repeatOnOptions=new Map([["daily",[]],["weekly",Khd],["monthly",Lhd]]);this.repeatAtOptions=Mhd.map(function(b){var c=a.dateFormatter.format("HH:mma",void 0,b.date);return{timeOfDay:b.timeOfDay,display:c}});this.repeatAtOptions.map(function(b){return[b.timeOfDay.hours,b.display]});this.compareTimeOfDay=o3b};
m7.prototype.ngOnInit=function(){var a=this;this.frequency$.pipe(jj(),qj(1),vp(this.destroyRef)).subscribe(function(b){a.frequencyChange.emit(b)});this.ordinal$.pipe(jj(),qj(1),Di(function(b){return b!==0}),vp(this.destroyRef)).subscribe(function(b){a.ordinalChange.emit(b)});this.timeOfDay$.pipe(jj(o3b),qj(1),vp(this.destroyRef)).subscribe(function(b){a.timeOfDayChange.emit(b)});this.timeZoneId$.pipe(jj(),qj(1),vp(this.destroyRef)).subscribe(function(b){a.timeZoneIdChange.emit(b)})};
pg.Object.defineProperties(m7.prototype,{frequency:{configurable:!0,enumerable:!0,set:function(a){this.frequency$.next(a)}},ordinal:{configurable:!0,enumerable:!0,set:function(a){this.ordinal$.next(a)}},timeOfDay:{configurable:!0,enumerable:!0,set:function(a){this.timeOfDay$.next(a)}},timeZoneId:{configurable:!0,enumerable:!0,set:function(a){this.timeZoneId$.next(a)}}});m7.\u0275fac=function(a){return new (a||m7)};
m7.\u0275cmp=F({type:m7,selectors:[["b-delivery-frequency-subform"]],inputs:{frequency:"frequency",ordinal:"ordinal",timeOfDay:"timeOfDay",timeZoneId:"timeZoneId"},outputs:{frequencyChange:"frequencyChange",ordinalChange:"ordinalChange",timeOfDayChange:"timeOfDayChange",timeZoneIdChange:"timeZoneIdChange"},standalone:!1,decls:8,vars:12,consts:[["appearance","outline",1,"full-width"],[3,"ngModelChange","ngModel"],[3,"value"],[3,"ngModelChange","ngModel","compareWith"],[3,"timezoneIdChange","timezoneId",
"fullWidth"]],template:function(a,b){a&1&&(I(0,i3b,7,1,"div"),W(1,"async"),I(2,k3b,7,1,"div"),W(3,"async"),I(4,m3b,7,2,"div"),W(5,"async"),I(6,n3b,2,2,"div"),W(7,"async"));if(a&2){var c,d,e,f;J((c=X(1,4,b.frequency$))?0:-1,c);E(2);J((d=X(3,6,b.ordinalOrZero$))?2:-1,d);E(2);J((e=X(5,8,b.timeOfDay$))?4:-1,e);E(2);J((f=X(7,10,b.timeZoneId$))?6:-1,f)}},dependencies:[hG,oG,VL,eH,YG,WL,Vz,TL,Ihd,py],encapsulation:2,changeDetection:0});
var Jhd=[{frequency:"daily",display:"Daily"},{frequency:"weekly",display:"Weekly"},{frequency:"monthly",display:"Monthly"}],Khd=[{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"}],Lhd=[].concat(p(Array.from({length:31}).fill(0).keys())).map(function(a){var b=a+1,c=b%10,d=b%100;return{ordinal:a+1,display:c===1&&d!==11?String(b)+"st":
c===2&&d!==12?String(b)+"nd":c===3&&d!==13?String(b)+"rd":String(b)+"th"}}),Mhd=[].concat(p(Array.from({length:24}).fill(0).keys())).map(function(a){var b=new Date;b.setHours(a%24);b.setMinutes(0);return{date:b,timeOfDay:{hours:b.getHours(),minutes:0,seconds:0,nanos:0}}});var Nhd=["dialogContent"],n7=function(){var a=this;this.matDialog=x(eI);this.fridge=x(V6);this.confirmationDialogService=x(lI);this.destroyRef=x(Cj);this.init$=new $n(!1);this.columnsToDisplay=["name","overflow-warning","actions"];this.refreshOwnedSubscriptions$=new $n(void 0);this.ownedSubscriptions$=this.refreshOwnedSubscriptions$.pipe(sj(function(){return a.fridge.list()}));this.warningTooltipText="This is returning too many results and has been paused. Please change the search query to return fewer results.";
this.isSaving$=new $n(!1);var b=x(Zn);this.init$.pipe(Di(function(c){return c}),sj(function(){return b.queryParams}),Di(function(c){return c.subscriptionId}),sj(function(c){return a.fridge.watch(c.subscriptionId,{trustMemory:!1,trustUncertainMemory:!1})}),vp(this.destroyRef)).subscribe(function(c){c&&a.openDialog(c)})};n7.prototype.ngOnInit=function(){this.init$.next(!0)};n7.prototype.openDialog=function(a){this.dialogRef=this.matDialog.open(this.dialogContent,{data:a,width:"500px"})};
n7.prototype.setFrequency=function(a,b){a.frequency=b;a.ordinal=b==="daily"?0:1};n7.prototype.save=function(a){var b=this;this.isSaving$.next(!0);(a.id==="0"?this.fridge.create(a):this.fridge.update(a)).pipe(hj(1),vp(this.destroyRef)).subscribe(function(c){b.isSaving$.next(!1);b.refreshOwnedSubscriptions$.next();if(c.isOverflowing)Ohd(b,c);else{var d;(d=b.dialogRef)==null||d.close()}})};
var Ohd=function(a,b){b.query.endsWith(" created:30d")?a.confirmationDialogService.open({title:"Configurable alert returns too many results",content:md("This is returning too many results and has been paused. Please change the search query to return fewer results."),confirmButtonText:"Continue",isDestructive:!1,showCancelButton:!1}):a.confirmationDialogService.open({title:"Configurable alert returns too many results",content:md('This is returning too many results and has been paused.\n           To reduce search results, add another search constraint, such\n           as appending "created:30d" to limit the query to bugs created\n           in the last 30 days.'),
confirmButtonText:"Add created:30d",cancelButtonText:"Continue",isDestructive:!1,onConfirm:function(){b.query+=" created:30d";var c;(c=a.dialogRef)==null||c.close();a.openDialog(b)},onDismiss:function(){var c;(c=a.dialogRef)==null||c.close()}})};n7.prototype.openConfirmDeleteDialog=function(a){var b=this;this.confirmationDialogService.open({title:"Delete a configurable alert",content:md("Delete `"+a.displayName+"`?"),confirmButtonText:"Delete",isDestructive:!0,onConfirm:function(){b.fridge.delete(a.id).pipe(vp(b.destroyRef)).subscribe(function(){b.refreshOwnedSubscriptions$.next()})}})};
n7.\u0275fac=function(a){return new (a||n7)};
n7.\u0275cmp=F({type:n7,selectors:[["b-configurable-alert-settings"]],viewQuery:function(a,b){a&1&&ek(Nhd,7);if(a&2){var c;ik(c=jk())&&(b.dialogContent=c.first)}},standalone:!1,decls:13,vars:1,consts:[["showOwnedSubscriptions",""],["dialogContent",""],["subscriptionMenu","matMenu"],[1,"flex-kids-x","gap-l"],[1,"settings-main-left","margin-right"],[1,"heading-s"],[4,"ngTemplateOutlet"],["type","button","mat-flat-button","","color","primary",3,"click"],[1,"full-width"],["mat-table","","aria-label",
"Configurable alerts list",1,"bordered","full-width",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","overflow-warning"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","tabindex","0",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["svgIcon","warning","tabindex","0",1,"bad","vertical-centered",3,"matTooltip"],["type","button","mat-icon-button","","aria-label",
"Show actions for this subscription",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["type","button","mat-menu-item","",3,"routerLinkObj"],["type","button","mat-menu-item","","aria-label","View and edit subscription attributes",3,"click"],["type","button","mat-menu-item","",3,"click"],["mat-header-row",""],["mat-row","","tabindex","0"],["matDialogTitle",""],[1,"type-l","margin-bottom"],["appearance","outline",1,"full-width"],["matInput","","type","text",3,"ngModelChange","ngModel"],["matInput",
"","type","text","spellcheck","false","autocomplete","off","name","searchQuery",3,"ngModelChange","ngModel"],[3,"frequencyChange","ordinalChange","timeOfDayChange","timeZoneIdChange","frequency","ordinal","timeOfDay","timeZoneId"],[3,"change","checked"],[1,"flex-kids-x","gap-s"],[1,"muted","type-s"],"type button mat-flat-button  color secondary matDialogClose ".split(" ")],template:function(a,b){if(a&1){var c=y();L(0,"div",3)(1,"div",4)(2,"p",5);U(3,"Subscriptions");M()();L(4,"div");G(5,p3b,1,0,"ng-container",
6);L(6,"div")(7,"button",7);Q("click",function(){z(c);return B(b.openDialog({id:"0",frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:{hours:9,minutes:0,seconds:0,nanos:0},displayName:"New configurable alert",query:"assignee:me status:open created:30d",sendEmail:!0,showInBuganizerHome:!1,baselineIssueIds:[],isOverflowing:!1,lastUpdated:{seconds:0,nanos:0}}))});U(8," Create configurable alert ");M()()()();G(9,z3b,13,3,"ng-template",null,0,Gk)(11,G3b,29,14,"ng-template",null,
1,Gk)}a&2&&(a=T(10),E(5),K("ngTemplateOutlet",a))},dependencies:[oy,EA,gC,Bp,hG,oG,dA,aA,bA,fI,hI,jI,iI,eH,YG,TL,oO,mH,FM,sK,RP,eL,SK,YK,UK,RK,$K,VK,XK,aL,cL,FL,mK,kK,pK,YF,WF,eN,lL,m7,py],styles:["[_nghost-%COMP%]     mat-tab-body{height:calc(100vh - 150px)}mat-form-field[_ngcontent-%COMP%]{font-size:.9375rem}mat-slide-toggle[_ngcontent-%COMP%]{font-size:.875rem}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}[_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}.bad[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad)}/*# sourceMappingURL=settings.css.map */"],
changeDetection:0});var Phd=function(a,b){this.name=a;this.resourceType=b;this.options=[]};Phd.prototype.shouldDisplay=function(){return!0};Phd.prototype.hasOptions=function(){return!1};Phd.prototype.getDefaultOptionId=function(){return null};var o7=function(a,b){this.name=a;this.resourceType=b;this.options=[]};o7.prototype.shouldDisplay=function(){return this.options.length>0};o7.prototype.hasOptions=function(){return this.options.length>0};
o7.prototype.getDefaultOptionId=function(){return this.hasOptions()?this.options[0].id:null};
var Qhd=function(a,b){this.id=a;this.name=b},Shd=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 Yh;this.missionControlMainOption=new Phd("Home","MISSION_CONTROL");this.assignedToMeMainOption=new Phd("Assigned to me","ASSIGNED_TO_ME");this.hotlistMainOption=new o7("Hotlist","HOTLIST");this.savedSearchMainOption=new o7("Saved search","SAVED_SEARCH");this.bookmarkGroupMainOption=
new o7("Bookmark group","BOOKMARK_GROUP");this.mainOptions=[this.assignedToMeMainOption,this.hotlistMainOption,this.savedSearchMainOption,this.bookmarkGroupMainOption];(this.isUserInternal()||Cx(this.activeSession,"enableMissionControlInExternalEnvironments"))&&this.mainOptions.unshift(this.missionControlMainOption);a={};this.resourceMainOptions=(a.MISSION_CONTROL=this.missionControlMainOption,a.ASSIGNED_TO_ME=this.assignedToMeMainOption,a.HOTLIST=this.hotlistMainOption,a.SAVED_SEARCH=this.savedSearchMainOption,
a.BOOKMARK_GROUP=this.bookmarkGroupMainOption,a);this.selectedMainOption=this.mainOptions[0];Rhd(this);this.subscriptions.add(this.appEvents.sidebarUpdated.subscribe(function(){Rhd(h);h.cdr.detectChanges()}));this.subscriptions.add(this.userPreferencesManager.preferences$.subscribe(function(k){k.homepagePreferences&&(k=k.homepagePreferences,k.resourceType?h.selectedMainOption=h.resourceMainOptions[k.resourceType]||h.mainOptions[0]:h.isUserInternal()||Cx(h.activeSession,"enableMissionControlInExternalEnvironments")?
h.selectedMainOption=h.missionControlMainOption:h.selectedMainOption=h.assignedToMeMainOption,h.selectedOptionId=k.resourceId||null,Rhd(h))}))};Shd.prototype.destroy=function(){this.subscriptions.unsubscribe()};
var K3b=function(a){hq(a.butterBar,"Saving preferences...",0);var b={resourceType:a.selectedMainOption.resourceType};a.selectedMainOption.hasOptions()&&a.selectedOptionId&&(b.resourceId=a.selectedOptionId);uzc(a.userPreferencesManager,b).subscribe(function(){hq(a.butterBar,"Preferences saved.",4E3)})},Rhd=function(a){function b(c){return new Qhd(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 Qhd(String(a.selectedOptionId),a.selectedMainOption.name+" "+a.selectedOptionId)))};Shd.prototype.isUserInternal=function(){return this.activeSession.isInternalSession()};var p7=function(){Z.call(this);this.cdr=x(jE,{self:!0});this.userPreferencesManager=x(NF);this.butterBar=x(MA);this.activeSession=x(Ks);this.documentationLinks=x(XH);this.analytics=x(nE);this.sidebar=x(rY);this.appEvents=x(EB);this.constants=x(oI);this.IS_INTERNAL_USER=this.activeSession.isInternalSession();this.ENABLE_MISSION_CONTROL_IN_EXTERNAL_ENVIRONMENTS=Cx(this.activeSession,"enableMissionControlInExternalEnvironments");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.showForcePlainTextSettings=this.activeSession.isInternalSession();this.appName=this.activeSession.getAppName();this.timeZones.push.apply(this.timeZones,
p(this.constants.supportedTimeZones.map(function(a){return{value:a.id,label:a.name}})));this.sloEnabled=this.activeSession.isInternalSession();this.showBugScreensaverSetting=this.activeSession.isInternalSession();this.showInlineImagesSetting=this.activeSession.isInternalSession()};Y(p7,Z);p7.\u0275dir=Z.\u0275dir;
p7.prototype.ngOnInit=function(){var a=this;this.destroyed$.subscribe(function(){var b;(b=a.preferredHomepage)==null||b.destroy()});this.preferredHomepage=new Shd(this.butterBar,this.sidebar,this.userPreferencesManager,this.cdr,this.appEvents,this.activeSession);this.userPreferencesManager.preferences$.pipe(tj(this.destroyed$)).subscribe(function(b){a.userPreferences=b;a.cdr.detectChanges()})};
p7.prototype.save=function(a,b,c){var d=this;hq(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){hq(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};
var R3b=function(a){var b;return((b=a.userPreferences.commentFormattingPreferences)==null?void 0:b.commentDisplayOverride)==="LITERAL_FORMATTING_MODE"},S3b=function(a){var b;return((b=a.userPreferences.commentFormattingPreferences)==null?void 0:b.commentCreateOverride)==="LITERAL_FORMATTING_MODE"};p7.prototype.getShowInlineImages=function(){var a;return(a=this.userPreferences.showInlineImages)!=null?a:!1};
pg.Object.defineProperties(p7.prototype,{hideBadgeInNav:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!((a=this.userPreferences)==null?0:(b=a.missionControlPreferences)==null?0:b.hideBadgeInNav)}}});p7.\u0275fac=function(a){return new (a||p7)};
p7.\u0275cmp=F({type:p7,selectors:[["b-general-settings"]],standalone:!1,features:[Bk([jE]),xj],decls:72,vars:12,consts:[[1,"flex-kids-x","gap-l","margin-bottom"],[1,"settings-main-left","margin-right"],[1,"heading-s"],[1,"muted","type-s"],["target","_blank",3,"href"],["appearance","outline"],["matTooltip","Current selection for preferred homepage"],["id","bv2-homepage-pref-selection",3,"ngModelChange","selectionChange","ngModel"],[1,"margin-y"],["id","bv2-datetime-pref-date-formatting","appearance",
"outline"],["matTooltip","Date/time formatting - Use this format for calendar dates."],[3,"ngModelChange","selectionChange","ngModel"],[3,"value"],["id","bv2-datetime-pref-time-formatting","appearance","outline"],["matTooltip","Date/time formatting - Use this format for times."],["id","bv2-datetime-pref-timezone","appearance","outline"],["matTooltip","Date/time formatting - Format dates and times with respect to this time zone."],["id","bv2-enable-all-hotkeys",3,"change","checked"],[1,"margin-bottom"],
["id","bv2-force-code-font"],[1,"bv2-settings-preferred-homepage-main-option-select-item",3,"value"],["id","bv2-homepage-pref-suboption-selection",1,"homepage-option-select",3,"ngModelChange","selectionChange","ngModel"],[1,"bv2-settings-preferred-homepage-option-select-item",3,"value"],["id","hide-nav-badge",3,"change","checked"],["id","bv2-show-inline-images",3,"change","checked"],["id","bv2-force-display-plain-text",3,"change","checked"],["id","bv2-force-create-plain-text",3,"change","checked"],
["id","bv2-bug-screensaver",3,"change","checked"]],template:function(a,b){a&1&&(L(0,"div")(1,"div",0)(2,"div",1)(3,"p",2),U(4,"Preferred homepage"),M(),L(5,"p",3),U(6," Select your preferred homepage when first opening the app. "),L(7,"a",4),U(8," Learn more "),M()()(),L(9,"div")(10,"div")(11,"mat-form-field",5)(12,"mat-label",6),U(13," Current selection "),M(),L(14,"mat-select",7),xk("ngModelChange",function(c){wk(b.preferredHomepage.selectedMainOption,c)||(b.preferredHomepage.selectedMainOption=
c);return c}),Q("selectionChange",function(){var c=b.preferredHomepage;c.selectedOptionId=c.selectedMainOption.getDefaultOptionId();K3b(c);c.cdr.detectChanges()}),Mj(15,I3b,1,1,null,null,Lj),M()(),I(17,L3b,4,1,"mat-form-field",5),M(),I(18,M3b,3,1,"div"),M()(),N(19,"hr",8),L(20,"div",0)(21,"div",1)(22,"p",2),U(23,"Date/time formatting settings"),M(),L(24,"p",3),U(25," Select how you want dates and times to be formatted. "),L(26,"a",4),U(27," Learn more "),M()()(),L(28,"div")(29,"div")(30,"mat-form-field",
9)(31,"mat-label",10),U(32," Dates "),M(),L(33,"mat-select",11),xk("ngModelChange",function(c){wk(b.userPreferences.dateTimePreferences.calendarFormat,c)||(b.userPreferences.dateTimePreferences.calendarFormat=c);return c}),Q("selectionChange",function(){return b.save("saveDateTimePreferences")}),Mj(34,N3b,2,2,"mat-option",12,Lj),M()()(),L(36,"div")(37,"mat-form-field",13)(38,"mat-label",14),U(39," Times "),M(),L(40,"mat-select",11),xk("ngModelChange",function(c){wk(b.userPreferences.dateTimePreferences.timeFormat,
c)||(b.userPreferences.dateTimePreferences.timeFormat=c);return c}),Q("selectionChange",function(){return b.save("saveDateTimePreferences")}),Mj(41,O3b,2,2,"mat-option",12,Lj),M()()(),L(43,"div")(44,"mat-form-field",15)(45,"mat-label",16),U(46," Time Zones "),M(),L(47,"mat-select",11),xk("ngModelChange",function(c){wk(b.userPreferences.dateTimePreferences.timeZone,c)||(b.userPreferences.dateTimePreferences.timeZone=c);return c}),Q("selectionChange",function(){return b.save("saveDateTimePreferences")}),
Mj(48,P3b,2,2,"mat-option",12,Lj),M()()()()(),N(50,"hr",8),L(51,"div",0)(52,"div",1)(53,"p",2),U(54,"Keyboard settings"),M()(),L(55,"div")(56,"div")(57,"mat-slide-toggle",17),Q("change",function(c){b.userPreferences.keyboardPreferences.enableAllHotkeys=c.checked;return b.save("saveKeyboardPreferences")}),U(58," Enable all hotkeys "),M()()()(),N(59,"hr",8),L(60,"div",0)(61,"div",1)(62,"p",2),U(63,"Display settings"),M()(),L(64,"div")(65,"div",18)(66,"b-toggle-code-font",19),U(67," Force comments to display with code font "),
M()(),I(68,Q3b,3,1,"div",18),M()(),I(69,T3b,12,2),N(70,"hr",8),I(71,U3b,8,1,"div",0),M());a&2&&(E(7),K("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-a-homepage",Ni),E(7),vk("ngModel",b.preferredHomepage.selectedMainOption),E(),Nj(b.preferredHomepage.mainOptions),E(2),J(b.preferredHomepage.selectedMainOption.hasOptions()?17:-1),E(),J(b.IS_INTERNAL_USER||b.ENABLE_MISSION_CONTROL_IN_EXTERNAL_ENVIRONMENTS?18:-1),E(8),K("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-date-time-formatting",
Ni),E(7),vk("ngModel",b.userPreferences.dateTimePreferences.calendarFormat),E(),Nj(b.dateFormats),E(6),vk("ngModel",b.userPreferences.dateTimePreferences.timeFormat),E(),Nj(b.timeFormats),E(6),vk("ngModel",b.userPreferences.dateTimePreferences.timeZone),E(),Nj(b.timeZones),E(9),K("checked",b.userPreferences.keyboardPreferences.enableAllHotkeys),E(11),J(b.showInlineImagesSetting?68:-1),E(),J(b.showForcePlainTextSettings?69:-1),E(2),J(b.showBugScreensaverSetting?71:-1))},dependencies:[hG,oG,VL,eH,YG,
WL,Vz,TL,FM,sK,YF,WF,U5],styles:["[_nghost-%COMP%]     mat-tab-body{height:calc(100vh - 150px)}mat-form-field[_ngcontent-%COMP%]{font-size:.9375rem}mat-slide-toggle[_ngcontent-%COMP%]{font-size:.875rem}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}[_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}.bad[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad)}/*# sourceMappingURL=settings.css.map */"]});var q7=function(){Z.call(this);var a=this;this.userPreferencesManager=x(NF);this.butterBar=x(MA);this.documentationLinks=x(XH);this.analytics=x(nE);this.priorities=["ALL","IMPORTANT","CLOSURE_ONLY","MINIMAL"];this.userPreferencesManager.preferences$.pipe(tj(this.destroyed$)).subscribe(function(b){a.userPreferences=b})};Y(q7,Z);q7.\u0275dir=Z.\u0275dir;
q7.prototype.save=function(a,b,c){var d=this;hq(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){hq(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};q7.\u0275fac=function(a){return new (a||q7)};
q7.\u0275cmp=F({type:q7,selectors:[["b-notification-settings"]],standalone:!1,features:[xj],decls:54,vars:8,consts:[[1,"flex-kids-x","gap-l"],[1,"settings-main-left","margin-right"],[1,"heading-s"],[1,"muted","type-ss"],["target","_blank",3,"href"],["appearance","outline","id","bv2-notification-pref-assigned"],["matTooltip","Notification level - issues for which you are the assignee"],[3,"ngModelChange","selectionChange","ngModel"],[3,"value"],["appearance","outline","id","bv2-notification-pref-reported"],
["matTooltip","Notification level - issues for which you are the reporter"],["appearance","outline","id","bv2-notification-pref-verified"],["matTooltip","Notification level - issues for which you are the verifier"],["appearance","outline","id","bv2-notification-pref-collaborator"],["matTooltip","Notification level - issues for which you are the collaborator"],["appearance","outline","id","bv2-notification-pref-ccd"],["matTooltip","Notification level - issues on which you are CC'd"],["appearance",
"outline","id","bv2-notification-pref-starred"],["matTooltip","Notification level - issues that you have starred"],["id","bv2-exclude-changes-by-me",3,"change","checked"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"div",1)(2,"p",2),U(3,"Notification settings"),M(),L(4,"p",3),U(5," Select the level of email you want to receive for each issue role. "),L(6,"a",4),U(7," Learn more "),M()()(),L(8,"div")(9,"div")(10,"mat-form-field",5)(11,"mat-label",6),U(12," Assignee "),M(),L(13,"mat-select",7),xk("ngModelChange",
function(c){wk(b.userPreferences.notificationPreferences.assignedPriority,c)||(b.userPreferences.notificationPreferences.assignedPriority=c);return c}),Q("selectionChange",function(){return b.save("saveNotificationPreferences")}),Mj(14,V3b,3,4,"mat-option",8,Lj),M()()(),L(16,"div")(17,"mat-form-field",9)(18,"mat-label",10),U(19," Reporter "),M(),L(20,"mat-select",7),xk("ngModelChange",function(c){wk(b.userPreferences.notificationPreferences.reportedPriority,c)||(b.userPreferences.notificationPreferences.reportedPriority=
c);return c}),Q("selectionChange",function(){return b.save("saveNotificationPreferences")}),Mj(21,W3b,3,4,"mat-option",8,Lj),M()()(),L(23,"div")(24,"mat-form-field",11)(25,"mat-label",12),U(26," Verifier "),M(),L(27,"mat-select",7),xk("ngModelChange",function(c){wk(b.userPreferences.notificationPreferences.verifiedPriority,c)||(b.userPreferences.notificationPreferences.verifiedPriority=c);return c}),Q("selectionChange",function(){return b.save("saveNotificationPreferences")}),Mj(28,X3b,3,4,"mat-option",
8,Lj),M()()(),L(30,"div")(31,"mat-form-field",13)(32,"mat-label",14),U(33," Collaborator "),M(),L(34,"mat-select",7),xk("ngModelChange",function(c){wk(b.userPreferences.notificationPreferences.collaboratorPriority,c)||(b.userPreferences.notificationPreferences.collaboratorPriority=c);return c}),Q("selectionChange",function(){return b.save("saveNotificationPreferences")}),Mj(35,Y3b,3,4,"mat-option",8,Lj),M()()(),L(37,"div")(38,"mat-form-field",15)(39,"mat-label",16),U(40," CC'd "),M(),L(41,"mat-select",
7),xk("ngModelChange",function(c){wk(b.userPreferences.notificationPreferences.ccdPriority,c)||(b.userPreferences.notificationPreferences.ccdPriority=c);return c}),Q("selectionChange",function(){return b.save("saveNotificationPreferences")}),Mj(42,Z3b,3,4,"mat-option",8,Lj),M()()(),L(44,"div")(45,"mat-form-field",17)(46,"mat-label",18),U(47," Starred "),M(),L(48,"mat-select",7),xk("ngModelChange",function(c){wk(b.userPreferences.notificationPreferences.starredPriority,c)||(b.userPreferences.notificationPreferences.starredPriority=
c);return c}),Q("selectionChange",function(){return b.save("saveNotificationPreferences")}),Mj(49,$3b,3,4,"mat-option",8,Lj),M()()(),L(51,"div")(52,"mat-slide-toggle",19),Q("change",function(c){b.userPreferences.notificationPreferences.excludeChangesByMe=c.checked;return b.save("saveNotificationPreferences")}),U(53," Exclude edits made by you "),M()()()());a&2&&(E(6),K("href",b.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",Ni),E(7),vk("ngModel",b.userPreferences.notificationPreferences.assignedPriority),
E(),Nj(b.priorities),E(6),vk("ngModel",b.userPreferences.notificationPreferences.reportedPriority),E(),Nj(b.priorities),E(6),vk("ngModel",b.userPreferences.notificationPreferences.verifiedPriority),E(),Nj(b.priorities),E(6),vk("ngModel",b.userPreferences.notificationPreferences.collaboratorPriority),E(),Nj(b.priorities),E(6),vk("ngModel",b.userPreferences.notificationPreferences.ccdPriority),E(),Nj(b.priorities),E(6),vk("ngModel",b.userPreferences.notificationPreferences.starredPriority),E(),Nj(b.priorities),
E(3),K("checked",b.userPreferences.notificationPreferences.excludeChangesByMe))},dependencies:[hG,oG,VL,eH,YG,WL,Vz,TL,FM,sK,YF,WF,qLc],styles:["[_nghost-%COMP%]     mat-tab-body{height:calc(100vh - 150px)}mat-form-field[_ngcontent-%COMP%]{font-size:.9375rem}mat-slide-toggle[_ngcontent-%COMP%]{font-size:.875rem}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}[_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}.bad[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad)}/*# sourceMappingURL=settings.css.map */"]});var Thd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,Thd.messageId)};Y(Thd,n);Thd.prototype.getSubscriptionsList=function(){return ie(this,mp,1,Rd(),Kc)};Thd.messageId="b.ListSloReportSubscriptionsResponse";var r7=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,r7.messageId)};Y(r7,n);r7.prototype.getSubscription=function(){return r(this,mp,1,Kc)};r7.prototype.setSubscription=function(a){return t(this,mp,1,a,Kc)};r7.messageId="b.SloReportSubscriptionRequest";var s7=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,0,s7.messageId)};Y(s7,n);s7.prototype.getSubscription=function(){return r(this,mp,1,Kc)};s7.prototype.setSubscription=function(a){return t(this,mp,1,a,Kc)};s7.messageId="b.SloReportSubscriptionResponse";var t7=function(){this.executor=x(ey)};g=t7.prototype;g.get=function(a){return this.executor.get({url:"action/slo_report_subscriptions/"+a,responseConstructor:s7}).pipe(C(function(b){if(b=b.getSubscription())return lIa(b);throw Error("wf");}))};g.list=function(){return this.executor.get({url:"action/slo_report_subscriptions",responseConstructor:Thd}).pipe(C(function(a){return a.getSubscriptionsList().map(lIa)}))};
g.create=function(a){if(a.id!==0)throw Error("xf");return this.executor.post({url:"action/slo_report_subscriptions",body:(new r7).setSubscription(mIa(a)),responseConstructor:s7}).pipe(C(function(b){if(b=b.getSubscription())return lIa(b);throw Error("uf");}))};
g.update=function(a){if(a.id===0)throw Error("yf");return this.executor.post({url:"action/slo_report_subscriptions/"+a.id,body:(new r7).setSubscription(mIa(a)),responseConstructor:s7}).pipe(C(function(b){if(b=b.getSubscription())return lIa(b);throw Error("uf");}))};g.delete=function(a){return this.executor.delete({url:"action/slo_report_subscriptions/"+a,responseConstructor:aB}).pipe(C(function(){}))};t7.\u0275fac=function(a){return new (a||t7)};t7.\u0275prov=Dg({token:t7,factory:t7.\u0275fac,providedIn:"root"});var Uhd=["sloSubscriptionDialog"],u7=function(){Z.apply(this,arguments);var a=this;this.dateFormatter=x(MI);this.api=x(t7);this.currentUser=x(WY);this.dialog=x(eI);this.timeZones=x(nI);this.confirmationDialogService=x(lI);this.principalTypes=x(YE);this.analytics=x(nE);this.butterBar=x(MA);this.constants=x(oI);this.activeSession=x(Ks);this.subscriptions$=new $n([]);this.isBasicMode$=this.subscriptions$.pipe(C(function(b){return b.length===0||b.length===1&&b[0].lead.emailAddress===a.currentUser.email}));
this.userSubscription$=this.subscriptions$.pipe(C(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.lead.emailAddress===a.currentUser.email)return a.inputDaysRemaining=c.daysRemaining,c;return{id:0,lead:a.currentUser.user,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:Vhd[9].timeOfDay,daysRemaining:0,types:["BUG","CUSTOMER_ISSUE","VULNERABILITY","PRIVACY_ISSUE"],sloIds:[]}}));this.isThinking$=new $n(!1);this.inputHasFocus=!1;this.repeatAtOptions$=
si(Vhd.map(function(b){return li(a.dateFormatter.format("HH:mma",void 0,b.date)).pipe(C(function(c){return{timeOfDay:b.timeOfDay,display:c}}))}));this.ceoSelected=this.dialogInvalidEmailFormat=!1;this.emailToUser=Kd;this.columns=["scope","frequency","actions"];this.frequencyDisplayMap=new Map(Whd.map(function(b){return[b.frequency,b.display]}));this.timeZoneDisplayMap$=nDc(this.timeZones).pipe(hj(1),C(function(b){return new Map(b.map(function(c){return[c.id,c.displayName]}))}),pj({bufferSize:1,refCount:!0}));
this.hourOfDayDisplayMap$=this.repeatAtOptions$.pipe(hj(1),C(function(b){return new Map(b.map(function(c){return[c.timeOfDay.hours,c.display]}))}),pj({bufferSize:1,refCount:!0}));this.typeChoices=[{value:"BUG",displayText:this.constants.issueTypesDisplayNames.get("BUG")},{value:"CUSTOMER_ISSUE",displayText:this.constants.issueTypesDisplayNames.get("CUSTOMER_ISSUE")},{value:"PRIVACY_ISSUE",displayText:this.constants.issueTypesDisplayNames.get("PRIVACY_ISSUE")},{value:"VULNERABILITY",displayText:this.constants.issueTypesDisplayNames.get("VULNERABILITY")},
{value:"PROCESS",displayText:this.constants.issueTypesDisplayNames.get("PROCESS")},{value:"INTERNAL_CLEANUP",displayText:this.constants.issueTypesDisplayNames.get("INTERNAL_CLEANUP")},{value:"FEATURE_REQUEST",displayText:this.constants.issueTypesDisplayNames.get("FEATURE_REQUEST")},{value:"MILESTONE",displayText:this.constants.issueTypesDisplayNames.get("MILESTONE")},{value:"FEATURE",displayText:this.constants.issueTypesDisplayNames.get("FEATURE")},{value:"PROJECT",displayText:this.constants.issueTypesDisplayNames.get("PROJECT")},
{value:"EPIC",displayText:this.constants.issueTypesDisplayNames.get("EPIC")},{value:"STORY",displayText:this.constants.issueTypesDisplayNames.get("STORY")},{value:"TASK",displayText:this.constants.issueTypesDisplayNames.get("TASK")}]};Y(u7,Z);u7.\u0275dir=Z.\u0275dir;u7.prototype.ngOnInit=function(){v7(this)};
var i4b=function(a){a.userSubscription$.pipe(hj(1),sj(function(b){if(b.id===0)return a.analytics.trackEvent("sloReports","enableOwnSubscription"),a.api.create(b);a.analytics.trackEvent("sloReports","disableOwnSubscription");return a.api.delete(b.id)})).subscribe(function(){v7(a)})},v7=function(a){a.isThinking$.next(!0);a.api.list().pipe(hj(1)).subscribe(function(b){a.isThinking$.next(!1);for(var c=l(b),d=c.next();!d.done;d=c.next())d=d.value,d.types.length===0&&(d.types=a.typeChoices.map(function(e){return e.value}));
a.subscriptions$.next(b)})},Js=function(a,b){a.isThinking$.next(!0);b.types.length===a.typeChoices.length&&(b.types=[]);a.api.update(b).subscribe(function(){a.analytics.trackEvent("sloReports","editSubscription");v7(a);a.newSloId=void 0},function(c){c.status===404&&(a.butterBar.showWarning("Subscription does not exist"),v7(a))})},Xhd=function(a,b){a.isThinking$.next(!0);a.api.delete(b.id).subscribe(function(){a.analytics.trackEvent("sloReports","deleteSubscription");v7(a)})};g=u7.prototype;
g.openConfirmDeleteDialog=function(a){var b=this;this.confirmationDialogService.open({title:"Delete a subscription",content:md("You will no longer receive reports from '"+a.lead.emailAddress+"'."),confirmButtonText:"Delete",isDestructive:!0,onConfirm:function(){Xhd(b,a)}})};g.setFrequency=function(a,b){b.frequency=a;a!=="daily"?b.ordinal=1:delete b.ordinal;Js(this,b)};g.setTimeZone=function(a,b){Js(this,Object.assign({},b,{timeZone:Object.assign({},b.timeZone,{id:a})}))};
g.setDaysRemaining=function(a){if(this.inputDaysRemaining!==a.daysRemaining){var b;Js(this,Object.assign({},a,{daysRemaining:(b=this.inputDaysRemaining)!=null?b:0}))}};g.setIssueType=function(a,b){Js(this,Object.assign({},b,{types:a}))};
var g4b=function(a,b){a.newSloId&&!b.sloIds.includes(a.newSloId)&&Js(a,Object.assign({},b,{sloIds:[].concat(p(b.sloIds),[a.newSloId])}))},d4b=function(a,b,c){if(b.sloIds.includes(c)){var d=b.sloIds.filter(function(e){return e!==c});Js(a,Object.assign({},b,{sloIds:d}))}},C4b=function(a,b){a.newSloId&&!b.sloIds.includes(a.newSloId)&&(b.sloIds.push(a.newSloId),a.newSloId=void 0)},z4b=function(a,b){if(a.sloIds.includes(b)){var c=a.sloIds.filter(function(d){return d!==b});a.sloIds=c}};
u7.prototype.openDialog=function(a){this.sloSubscriptionDialog&&(a||(a={id:0,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:Vhd[9].timeOfDay,daysRemaining:0,types:["BUG","CUSTOMER_ISSUE","VULNERABILITY","PRIVACY_ISSUE"],sloIds:[]}),this.ceoSelected=this.dialogInvalidEmailFormat=!1,this.dialogRef=this.dialog.open(this.sloSubscriptionDialog,{data:wd(a),panelClass:"slo-report-subscription-dialog",width:"500px"}))};
var D4b=function(a,b){return v(function(c){if(c.nextAddress==1)return a.dialogRef&&b.lead!==void 0?w(c,Yhd(a,b.lead.emailAddress),2):c.return();if(!c.yieldResult)return b.lead.emailAddress="",a.dialogInvalidEmailFormat=!0,c.return();if(b.lead.emailAddress==="sundar@google.com")return b.lead.emailAddress="",a.ceoSelected=!0,c.return();b.id===0?a.api.create(b).subscribe(function(){a.analytics.trackEvent("sloReports","createSubscription");v7(a)}):Js(a,b);a.dialogRef.close();ji(c)})},Yhd=function(a,b){var c;
return v(function(d){if(d.nextAddress==1)return Rf(b)?w(d,a.principalTypes.get(b),2):d.return(Promise.resolve(!1));c=d.yieldResult;return c.principalType!=="USER"?d.return(Promise.resolve(!1)):d.return(Promise.resolve(!0))})};u7.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(u7)))(b||u7)}}();
u7.\u0275cmp=F({type:u7,selectors:[["b-slo-reports-settings"]],viewQuery:function(a,b){a&1&&ek(Uhd,7);if(a&2){var c;ik(c=jk())&&(b.sloSubscriptionDialog=c.first)}},standalone:!1,features:[xj],decls:22,vars:14,consts:[["sloSubscriptionDialog",""],["subscriptionMenu","matMenu"],[1,"flex-kids-x","gap-l"],[1,"settings-main-left","margin-right"],[1,"heading-s"],["id","advanced-settings-note",1,"muted","type-s"],"href http://go/issue-slo-reports target _blank aria-describedby advanced-settings-note".split(" "),
[1,"full-width"],[1,"margin-bottom"],["type","button","mat-flat-button","","color","primary",3,"click","disabled"],["mat-table","","aria-label","SLO reports subscriptions",1,"bordered","full-width",3,"dataSource"],["id","frequency-settings-note",1,"muted","type-s"],"href http://go/issue-slo-reports target _blank aria-describedby frequency-settings-note".split(" "),[1,"margin-y"],["id","isSubscribedCheckbox",1,"margin-s-right",3,"change","disabled","checked"],["appearance","outline",1,"full-width"],
["matInput","","readonly","",3,"focus","blur","ngModel"],[3,"frequencyChange","ordinalChange","timeOfDayChange","timeZoneIdChange","frequency","ordinal","timeOfDay","timeZoneId"],["appearance","outline"],["matInput","","type","number",3,"ngModelChange","blur","keydown.enter","ngModel"],["multiple","",3,"ngModelChange","ngModel"],[3,"value"],["appearance","outline","subscriptSizing","dynamic"],["matInput","","type","number",3,"ngModelChange","keydown.enter","blur","ngModel"],[1,"flex-kids-x","space-between",
"margin-xs-y"],[1,"muted","type-s"],[1,"subtle-link",3,"href"],["type","button","mat-icon-button","","aria-label","Remove SLO ID",1,"xs",3,"click","matTooltip"],["svgIcon","clear"],["matColumnDef","scope"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","frequency"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","tabindex","0",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["type","button","mat-icon-button",
"","aria-label","Show actions for this subscription",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["type","button","mat-menu-item","","aria-label","View and edit subscription attributes",3,"click"],["type","button","mat-menu-item","",3,"click"],["mat-header-row",""],["mat-row","","tabindex","0"],["matDialogTitle",""],[1,"type-l","margin-bottom"],["appearance","outline","floatLabel","always",1,"full-width"],[3,"emailChange","asMatInput","email","required","placeholder"],["matInput",
"","type","number",3,"ngModelChange","ngModel"],["appearance","outline","subscriptSizing","dynamic",1,"full-width"],["id","new-subscription-note",1,"italic"],"href http://go/issue-slo-reports target _blank aria-describedby new-subscription-note".split(" "),"type button mat-button  color primary matDialogClose ".split(" ")],template:function(a,b){if(a&1){var c=y();I(0,k4b,11,3);W(1,"async");L(2,"div",2)(3,"div",3)(4,"p",4);U(5,"Advanced settings");M();L(6,"p",5);U(7," Add subscriptions to receive other user's reports. ");
L(8,"a",6);U(9,"Learn more");M()()();L(10,"div",7)(11,"div",8)(12,"button",9);W(13,"async");Q("click",function(){z(c);return B(b.openDialog())});U(14," Create subscription ");M()();I(15,l4b,1,0,"b-spinner");W(16,"async");I(17,v4b,12,3,"table",10);W(18,"async");W(19,"async");M()();G(20,E4b,42,16,"ng-template",null,0,Gk)}a&2&&(J(X(1,4,b.isBasicMode$)?0:-1),E(12),K("disabled",X(13,6,b.isThinking$)),E(3),J(X(16,8,b.isThinking$)?15:-1),E(2),J(X(18,10,b.isBasicMode$)||X(19,12,b.isThinking$)?-1:17))},dependencies:[EA,
Bp,qG,hG,oG,dA,aA,bA,fI,hI,jI,iI,VL,eH,YG,XG,WG,WL,Vz,TL,oO,mH,FM,sK,RP,eL,SK,YK,UK,RK,$K,VK,XK,aL,cL,FL,mK,kK,pK,YF,WF,lL,yU,m7,py],styles:["[_nghost-%COMP%]     mat-tab-body{height:calc(100vh - 150px)}mat-form-field[_ngcontent-%COMP%]{font-size:.9375rem}mat-slide-toggle[_ngcontent-%COMP%]{font-size:.875rem}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}[_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}.bad[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad)}/*# sourceMappingURL=settings.css.map */",
".mat-mdc-form-field[_ngcontent-%COMP%]{min-width:300px;margin-bottom:8px}.mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:600;background-color:#f1f3f4;background-color:var(--c100)}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:40px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem}td.mat-mdc-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}.mat-mdc-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-actions[_ngcontent-%COMP%]{text-align:right}/*# sourceMappingURL=slo_reports_settings.css.map */"]});
var Whd=[{frequency:"daily",display:"Daily"},{frequency:"weekly",display:"Weekly"},{frequency:"monthly",display:"Monthly"}],p4b=[{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"}],Vhd=[].concat(p(Array.from({length:24}).fill(0).keys())).map(function(a){var b=new Date;b.setHours(a%24);b.setMinutes(0);return{date:b,timeOfDay:{hours:b.getHours(),
minutes:0,seconds:0,nanos:0}}});var w7=function(){this.activeSession=x(Ks);this.location=x(hL);this.routeParams=x(NI);this.enableSloReportEmail=this.activeSession.isInternalSession()&&Cx(this.activeSession,"enableSloReportEmail");this.selectedTabIndex=0};w7.prototype.ngAfterViewInit=function(){this.selectedTabIndex=Zhd(this,this.routeParams.settingsTab)};
w7.prototype.tabChange=function(a){if(this.selectedTabIndex!==a){this.selectedTabIndex=a;var b,c,d=(b=this.tabs)==null?void 0:(c=b.get(a))==null?void 0:c.id;d?this.location.setUrl(Hq.settingsTab.makeHref(d)):this.location.setUrl(Hq.settings.makeHref())}};var Zhd=function(a,b){a=a.tabs.toArray().findIndex(function(c){return c.id===b});return a<0?0:a};w7.\u0275fac=function(a){return new (a||w7)};
w7.\u0275cmp=F({type:w7,selectors:[["b-settings"]],viewQuery:function(a,b){a&1&&ek(jM,5);if(a&2){var c;ik(c=jk())&&(b.tabs=c)}},standalone:!1,decls:10,vars:2,consts:[[1,"margined","heading-m"],["gmat-tabs","",3,"selectedIndexChange","selectedIndex"],["label","General"],["matTabContent",""],["label","Notifications","id","notifications"],["label","Configurable Alerts","id","configurable-alerts"],["label","SLO Reports","id","slo-reports"],[1,"padded"]],template:function(a,b){a&1&&(L(0,"p",0),U(1,"Settings"),
M(),L(2,"mat-tab-group",1),Q("selectedIndexChange",function(c){return b.tabChange(c)}),L(3,"mat-tab",2),G(4,F4b,2,0,"ng-template",3),M(),L(5,"mat-tab",4),G(6,G4b,2,0,"ng-template",3),M(),L(7,"mat-tab",5),G(8,H4b,2,0,"ng-template",3),M(),I(9,J4b,2,0,"mat-tab",6),M());a&2&&(E(2),K("selectedIndex",b.selectedTabIndex),E(7),J(b.enableSloReportEmail?9:-1))},dependencies:[oM,fM,jM,kM,p7,q7,u7,n7],styles:["[_nghost-%COMP%]     mat-tab-body{height:calc(100vh - 150px)}mat-form-field[_ngcontent-%COMP%]{font-size:.9375rem}mat-slide-toggle[_ngcontent-%COMP%]{font-size:.875rem}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}[_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}.bad[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad)}/*# sourceMappingURL=settings.css.map */"],
changeDetection:0});var $hd=function(){this.activatedRoute=x(Zn);this.routeParams=x(NI);this.issueId=this.routeParams.issueId;this.attachmentId=this.routeParams.attachmentId;this.mimeType=DPa(this.activatedRoute.snapshot.queryParamMap).mimeType};$hd.\u0275fac=function(a){return new (a||$hd)};
$hd.\u0275cmp=F({type:$hd,selectors:[["view-attachment-page"]],standalone:!1,decls:1,vars:3,consts:[[3,"issueId","attachmentId","mimeType"]],template:function(a,b){a&1&&N(0,"attachment-preview",0);a&2&&K("issueId",b.issueId)("attachmentId",b.attachmentId)("mimeType",b.mimeType)},dependencies:[sS],encapsulation:2});var x7=function(){Z.apply(this,arguments);this.cdr=x(jE,{self:!0});this.routeParams=x(NI);this.bLocation=x(hL);this.pageTitle=x(jY);this.userApi=x(DC);this.bookmarkGroupsApi=x(hB);this.paths=x(TO);this.appEvents=x(EB);this.activeSession=x(Ks);this.isStarred=!1;this.userEmail=this.activeSession.getUserEmail();this.bookmarkGroup=null};Y(x7,Z);x7.\u0275dir=Z.\u0275dir;g=x7.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.getUserBookmark("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.addUserBookmark({resourceType:"BOOKMARK_GROUP",resourceId:this.bookmarkGroup.bookmarkGroupId}).then(b):this.userApi.removeUserBookmark({resourceType:"BOOKMARK_GROUP",resourceId:this.bookmarkGroup.bookmarkGroupId}).then(b)};
g.openEditBookmarkGroup=function(){this.bLocation.setUrl(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 Hq.viewHotlist.makeHref(a.hotlistId);default:throw Error("zf`"+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("zf`"+a.resourceType);}};x7.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(x7)))(b||x7)}}();
x7.\u0275cmp=F({type:x7,selectors:[["view-bookmark-group-page"]],standalone:!1,features:[Bk([jE]),xj],decls:5,vars:3,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-view"],[1,"bv2-view-bookmark-group-title"],[1,"bv2-view-bookmark-group-header"],[3,"starMessage","unStarMessage","starred","disabled"],[3,"starMessage","unStarMessage","starred"],[1,"bv2-view-bookmark-group-title-text"],["type","button","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"],[3,"starClicked","starMessage","unStarMessage","starred"],[3,"href"]],template:function(a,b){a&1&&(L(0,"h2",0),U(1),M(),N(2,"div",1),L(3,"div",2),I(4,N4b,13,3,"div"),M());a&2&&(E(),V("View Bookmark Group ",b.bookmarkGroup==null?null:b.bookmarkGroup.name),E(2),Hj("aria-busy",!b.bookmarkGroup),E(),J(b.bookmarkGroup?4:-1))},dependencies:[WR,YF,WF],encapsulation:2});var y7=function(){};
y7.\u0275fac=function(a){return new (a||y7)};y7.\u0275mod=Zi({type:y7});y7.\u0275inj=Eg({imports:[jC,MX,JL]});var z7=function(){o6.apply(this,arguments);this.ngZone=x(Kk);this.userApi=x(DC);this.hotlists=x(a1);this.hotkeys=x(BL);this.pageTitle=x(jY);this.userAccess=x(dD);this.routeParams=x(NI);this.mcPrefs=x(MW);this.ANALYTICS_CATEGORY="hotlistIssues";this.canAppend=this.isAdmin=this.isStarred=!1;this.hotlistId=this.routeParams.hotlistId;this.hotlist=null;this.isLoading=!0;this.repositioning=this.showHotlists=!1};Y(z7,o6);z7.\u0275dir=o6.\u0275dir;
z7.prototype.ngOnInit=function(){var a=this;o6.prototype.ngOnInit.call(this);this.subscriptions.add(CL(this.hotkeys,{title:"Hotlist",hotkeys:[].concat(p(this.BASE_HOTKEYS),[{keys:[lq("j")],displayAs:"Shift+j",description:"Move the current issue down (when sorting by POS)",onPress:function(){aid(a,1)}},{keys:[lq("k")],displayAs:"Shift+k",description:"Move the current issue up (when sorting by POS)",onPress:function(){aid(a,-1)}}])}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(b){b&&
Number(b.hotlistId)===Number(a.hotlistId)&&b.origin!=="view-hotlist"&&bid(a)}));this.subscriptions.add(this.userPreferencesManager.listViewPreferences$.subscribe(function(b){a.showHotlists=b.showHotlists}));this.userApi.getUserBookmark("HOTLIST",this.hotlistId).then(function(){a.isStarred=!0}).catch(function(){});this.loadUserAccess(this.hotlistId)};
z7.prototype.ngDoCheck=function(){var a;if(this.hotlistName!==((a=this.hotlist)==null?void 0:a.name)){var b;this.hotlistName=(b=this.hotlist)==null?void 0:b.name;this.pageTitle.setTitle(this.hotlistName)}};
z7.prototype.loadUserAccess=function(a){var b=this;eD(this.userAccess,"admin","hotlists/"+a).then(function(c){b.isAdmin=c},function(c){b.errorHandler.errorHandler(null,c)});eD(this.userAccess,"appender","hotlists/"+a).then(function(c){b.canAppend=c},function(c){b.errorHandler.errorHandler(null,c)})};
z7.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;iK(this.appSearchState,"hotlistid:"+this.hotlistId);var b=this.hotlist?Promise.resolve(this.hotlist):bid(this);return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
var bid=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};
z7.prototype.doSearch=function(a){var b=this,c=h8c.map(Yr).filter(fe),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=wd(f);f.query=d;f.returnUrl=b.bLocation.getUrl();f.hotlistId=b.hotlistId;f.trackerIds=b.appSearchState.currentTrackerScope;return B4c(b.issuePagination,f)});a.then(function(f){Mfd(b,
f)}).catch(function(f){typeof f==="number"?B0(b.urlPreferences,{page:f}):b.errorHandler.errorHandler(null,f)});return Eq({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,cid(b)?z7.META_COLUMNS_DRAGGABLE:z7.META_COLUMNS);b.loadHotlists();b.cdr.detectChanges()}).catch(function(){})};
var cid=function(a){return a.sortPreferences.length===0||a.sortPreferences.length===1&&a.sortPreferences[0].fieldId.type==="POSITION"};z7.prototype.getCsvUrl=function(){var a=this.appSearchState.currentTrackerScope,b=this.displayColumns,c=this.showHotlists,d="action/hotlists/"+this.hotlistId+"/issues/csv",e=xXa(this.sortPreferences);(b=yXa(b))&&(b="position,"+b);return zXa(d,"trackerIds",a,"s",e,"c",b,"h",c)};
z7.prototype.repositionIssue=function(a,b,c){var d=this;c=c===void 0?!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;d.analytics.trackEvent(d.ANALYTICS_CATEGORY,c?"reorderByKeyboard":"issueDragDrop")}).finally(function(){d.repositioning=!1}))};
var aid=function(a,b){if(a.searchResults&&!a.repositioning&&cid(a)){var c,d,e=(d=(c=a.resultsGrid)==null?void 0:c.focusedRowIndex)!=null?d:void 0;if(e!=null&&(c=e+b,d=a.searchResults.issues.length,c>=0&&c<d)){if(b===1){var f;(f=a.resultsGrid)==null||wzb(f)}else if(b===-1){var h;(h=a.resultsGrid)==null||xzb(h)}a.repositionIssue(e,c,!0)}}};g=z7.prototype;
g.save=function(){var a=this;if(this.hotlist){var b=this.hotlist,c=this.urlPreferences.getDisplayColumns();if(c){var d=FGa(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}});hq(this.butterBar,"Saving changes to hotlist...");did(this,b).then(function(e){hq(a.butterBar,'Saved changes to hotlist "'+
e.name+'".');B0(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams",d)})}};g.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");B0(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 this.hotlist!=null&&this.isAdmin};g.isDirectAdmin=function(){return this.hotlist?Hd(this.hotlist.adminUsers).includes(this.currentUserEmail):!1};g.setSort=function(a,b){var c=this.getSort();a==="position"||c&&c.field==="position"?o6.prototype.setSort.call(this,a,b,!1):o6.prototype.setSort.call(this,a,b)};
var did=function(a,b){return a.hotlistApi.updateMetadata(b.hotlistId,b).then(function(c){a.hotlist=c;eid(a,c.hotlistId);return c},function(c){a.errorHandler.errorHandler(null,c);return Promise.reject(c)})},eid=function(a,b){a.appEvents.hotlistChanged.next({hotlistId:b,origin:"view-hotlist"})};
z7.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=$k(this.hotlistId),c=function(){eid(a,b)};this.isStarred?this.userApi.addUserBookmark({resourceType:"HOTLIST",resourceId:b}).then(c):this.userApi.removeUserBookmark({resourceType:"HOTLIST",resourceId:b}).then(c)};z7.prototype.openEditHotlist=function(){this.bLocation.setUrl(Hq.editHotlist.makeHref(this.hotlistId))};z7.prototype.addToMissionControl=function(a){a!=null&&(this.mcPrefs.addHotlist(a),this.bLocation.setUrl(this.paths.home()))};
z7.prototype.showAddToMcButton=function(a){var b=this.activeSession.isInternalSession();a=a<=500;var c=!this.mcPrefs.hasHotlist(this.hotlistId);return b&&a&&c};z7.META_COLUMNS=[j0,k0,l0,u9c];z7.META_COLUMNS_DRAGGABLE=[j0,t9c,k0,l0,u9c];z7.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(z7)))(b||z7)}}();
z7.\u0275cmp=F({type:z7,selectors:[["view-hotlist-page"]],standalone:!1,features:[Bk([jE]),xj],decls:10,vars:12,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv","grid","hotlistChoices","showHotlistButtons","currentHotlistId","isHotlistAdmin"],[1,"bv2-appbar-right"],[3,"pageChange","resultsPerPageChange","searchResults"],[1,"bv2-view","bv2-view-hotlist-grid"],[1,"bv2-view-hotlist-title"],[1,"bv2-view-loading"],
["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],["mat-flat-button","","type","button","matTooltip","Add a section on the home page to track and get insights for this hotlist like trending issues, collaborators, and recent activity.",1,"medium","gmat-mdc-button","reverse-margin-left"],["mat-flat-button","","type","button","matTooltip","Add a section on the home page to track and get insights for this hotlist like trending issues, collaborators, and recent activity.",1,"medium",
"gmat-mdc-button","reverse-margin-left",3,"click"],[3,"starMessage","unStarMessage","starred"],[3,"starMessage","unStarMessage","starred","disabled"],[1,"bv2-view-hotlist-title-text"],["tabindex","-1",3,"bFocus"],[1,"bv2-view-hotlist-save-form"],[3,"starClicked","keydown.space","keydown.enter","starMessage","unStarMessage","starred"],["role","heading","aria-level","3"],[3,"matTooltip"],[1,"hotlist-archived"],[1,"button-container"],["type","button","aria-label","Hotlist settings","matTooltip","Hotlist settings",
1,"bv2-edit-button","bv2-view-resource-edit-button",3,"click"],["matTooltip","Display preferences have changed"],["type","button","mat-flat-button","","matTooltip","Save changes to display preferences",1,"medium",3,"click"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences",1,"medium",3,"click"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onRowDragDrop","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns",
"enableColumnSaving","sort","enableSidebar"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"b-grid-controls",1),Q("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()}),M(),I(2,P4b,1,1),L(3,"div",2)(4,"b-pagination",3),Q("pageChange",
function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return b.saveResultsPerPage(d.option)}),M()()(),L(5,"div",4),I(6,Z4b,9,7,"div",5),I(7,$4b,4,1,"div",6),I(8,c5b,3,2,"div",7),I(9,d5b,2,6,"div",8),M());if(a&2){var c;E();K("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices)("showHotlistButtons",b.canAppend)("currentHotlistId",b.hotlistId)("isHotlistAdmin",b.isAdmin);E();J((c=b.searchResults==null?null:b.searchResults.numResults)?2:-1,c);E(2);K("searchResults",b.searchResults);
E();Hj("aria-busy",b.isLoading);E();J(b.isInitializing?-1:6);E();J(b.isLoading?7:-1);E();J(b.isLoading||b.hasResults()?-1:8);E();J(!b.isLoading&&b.hasResults()?9:-1)}},dependencies:[o0,b1,WR,h0,YF,WF,lL,oP,dA,aA],encapsulation:2});var A7=function(){};A7.\u0275fac=function(a){return new (a||A7)};A7.\u0275mod=Zi({type:A7});A7.\u0275inj=Eg({imports:[x0,c1,MX,Z0,JL,jC,oL,pP,FI,FG,KL,zX,FW]});var B7=function(){o6.apply(this,arguments);this.savedSearchApi=x(HC);this.hotkeys=x(BL);this.pageTitle=x(jY);this.userAccess=x(dD);this.routeParams=x(NI);this.mcPrefs=x(MW);this.ANALYTICS_CATEGORY="savedSearchIssues";this.isAdmin=!1;this.savedSearchId=this.routeParams.savedSearchId;this.savedSearch=null;this.isLoading=!0;this.showHotlists=!1};Y(B7,o6);B7.\u0275dir=o6.\u0275dir;g=B7.prototype;
g.ngOnInit=function(){var a=this;o6.prototype.ngOnInit.call(this);this.subscriptions.add(CL(this.hotkeys,{title:"Saved Search",hotkeys:this.BASE_HOTKEYS}));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(b){b&&b.savedSearchId===a.savedSearchId&&(b.action==="delete"?(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(dJc(this.appSearchState,function(b){a.savedSearch?B0(a.urlPreferences,{query:b}):(b=a.paths.listIssues({q:b}),a.bLocation.setUrl(b))}));this.loadUserAccess(this.savedSearchId)};g.loadUserAccess=function(a){var b=this;eD(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;iK(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:Hfd(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;iK(b.appSearchState,d.query);b.exitLink=b.paths.listIssues({q:d.query});b.cdr.detectChanges();d=wd(d);d.returnUrl=b.bLocation.getUrl();d.trackerIds=
b.appSearchState.currentTrackerScope;return B4c(b.issuePagination,d)});c.then(function(d){Mfd(b,d)}).catch(function(d){typeof d==="number"?B0(b.urlPreferences,{page:d}):d&&b.errorHandler.errorHandler(null,d)});this.initColumns(a.displayColumns);return Eq({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 AXa(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;hq(this.butterBar,"Saving changes to search...");this.savedSearchApi.update(this.savedSearch.searchId,this.savedSearch).then(function(c){hq(a.butterBar,'Saved changes to search "'+
c.name+'".');a.savedSearch=c;B0(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams");a.cdr.detectChanges()}).catch(function(c){a.errorHandler.errorHandler(null,c)})};g.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");B0(this.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null})};
g.hasParamChanges=function(){return this.savedSearch?!!(this.urlPreferences.getQuery()&&this.urlPreferences.getQuery()!==this.savedSearch.query||this.urlPreferences.getSortColumns()||this.urlPreferences.getDisplayColumns()):!1};g.openEditSavedSearch=function(){this.bLocation.setUrl(this.paths.editSavedSearch(this.savedSearchId))};g.addToMissionControl=function(a){a!=null&&(NW(this.mcPrefs,Z$a(a)),this.bLocation.setUrl(this.paths.home()))};
g.showAddToMcButton=function(a){var b=this.activeSession.isInternalSession();a=a<=500;var c=!this.mcPrefs.hasSavedSearch(this.savedSearchId);return b&&a&&c};B7.\u0275fac=function(){var a;return function(b){return(a||(a=Nh(B7)))(b||B7)}}();
B7.\u0275cmp=F({type:B7,selectors:[["view-saved-search-page"]],standalone:!1,features:[Bk([jE]),xj],decls:10,vars:8,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv","grid","hotlistChoices"],[1,"bv2-appbar-right"],[3,"pageChange","resultsPerPageChange","searchResults"],[1,"bv2-view","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],[1,"bv2-view-savedsearch-title-text"],[1,"bv2-view-savedsearch-save-form"],
["mat-flat-button","","type","button","matTooltip","Add a section on the home page to track and get insights for this Saved Search like trending issues, collaborators, and recent activity.",1,"medium","gmat-mdc-button","reverse-margin-left"],["mat-flat-button","","type","button","matTooltip","Add a section on the home page to track and get insights for this Saved Search like trending issues, collaborators, and recent activity.",1,"medium","gmat-mdc-button","reverse-margin-left",3,"click"],["role",
"heading","aria-level","3"],[3,"matTooltip"],["type","button","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"],["type","button","mat-flat-button","","matTooltip","Save changes to display preferences and search query",1,"medium"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences and search query",1,"medium",
3,"click"],[1,"bv2-view-savedsearch-exit-link"],["matTooltip","Show this search with your default display preferences",3,"click","href"],["type","button","mat-flat-button","","matTooltip","Save changes to display preferences and search query",1,"medium",3,"click"],[1,"bv2-view-loading"],[1,"bv2-grid-container"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns",
"enableColumnSaving","sort","enableSidebar"]],template:function(a,b){a&1&&(L(0,"div",0)(1,"b-grid-controls",1),Q("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()}),M(),I(2,f5b,1,1),L(3,"div",2)(4,"b-pagination",3),Q("pageChange",
function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return b.saveResultsPerPage(d.option)}),M()()(),L(5,"div",4)(6,"div",5),I(7,l5b,3,1,"div",6),I(8,n5b,7,2,"div",7),M(),I(9,t5b,3,1,"div"),M());if(a&2){var c;E();K("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices);E();J((c=b.searchResults==null?null:b.searchResults.numResults)?2:-1,c);E(2);K("searchResults",b.searchResults);E();Hj("aria-busy",b.isLoading);E(2);J(b.isInitializing?-1:7);E();J(b.hasParamChanges()?8:-1);E();
J(b.savedSearch?9:-1)}},dependencies:[o0,b1,h0,YF,WF,lL,oP,dA,aA],encapsulation:2});var C7=function(){};C7.\u0275fac=function(a){return new (a||C7)};C7.\u0275mod=Zi({type:C7});C7.\u0275inj=Eg({imports:[x0,c1,Z0,jC,JL,oL,pP,FI,FG,KL,zX,FW]});var fid={path:Hq.viewIssue.routeDeclarationPath,component:u5,children:[{path:"",pathMatch:"full",component:S5},{path:"dependencies",component:tX},{path:"dupes",component:w5},{path:"blocking",component:R4},{path:"resources",component:Efd}].concat(p(v5b("enableCodeMentionsUi",{path:"todos",component:m6})),p(u5b(function(){var a=Nf();return REa("enableInsightsEnrichments")&&rha(a)==="INTERNAL"},{path:"insights",component:t3})))},gid=[{path:"",component:Q3,canActivateGuards:[Z3]},{title:as("Issues"),
path:Hq.listIssues.routeDeclarationPath,component:p6},{title:as("New issue"),path:Hq.createIssue.routeDeclarationPath,component:G4,canActivateGuards:[s4]}].concat(p(u5b(function(){var a;if(a=REa("enableChromeWizard")){var b;a=((b=Nf().tracker)==null?void 0:b.trackerId)==="157"}return a},{title:as("New issue"),path:Hq.createIssueChromeWizard.routeDeclarationPath,component:r4})),[fid,{title:as("Browse All Components"),path:Hq.listComponentsGlobal.routeDeclarationPath,component:w3},{title:as("Browse Components"),
path:Hq.listComponents.routeDeclarationPath,component:t4},{title:as("Create component"),path:Hq.createComponent.routeDeclarationPath,component:v4},{title:as("Component"),path:Hq.editComponent.routeDeclarationPath,component:L6},{path:"components/:componentId/manage",redirectTo:Hq.editComponent.routeDeclarationPath},{path:"components/:componentId",redirectTo:Hq.editComponent.routeDeclarationPath}],p(v5b("enableTeamScope",{title:as("Triage"),path:Hq.viewTriage.routeDeclarationPath,component:KX})),p(v5b("enableTeamScope",
{title:as("Triage"),path:Hq.viewTriageDashboard.routeDeclarationPath,component:CW})),p(v5b("enableTeamScope",{title:as("Issue Themes"),path:Hq.viewIssueThemes.routeDeclarationPath,component:vW})),p(v5b("enableTeamScope",{title:as("Triage"),path:Hq.triageSettings.routeDeclarationPath,component:QX})),[{title:as("Team"),path:Hq.editTeam.routeDeclarationPath,component:M6},{path:"teams/:teamId",redirectTo:Hq.editTeam.routeDeclarationPath},{title:as("Create Bookmark Group"),path:Hq.createBookmarkGroup.routeDeclarationPath,
component:u4},{title:as("Bookmark Group"),path:Hq.viewBookmarkGroup.routeDeclarationPath,component:x7},{title:as("Bookmark Group"),path:Hq.editBookmarkGroup.routeDeclarationPath,component:M4},{title:as("Create Hotlist"),path:Hq.createHotlist.routeDeclarationPath,component:w4},{title:as("Hotlist"),path:Hq.viewHotlist.routeDeclarationPath,component:z7},{title:as("Edit Hotlist"),path:Hq.editHotlist.routeDeclarationPath,component:t0},{title:as("Create SLO"),path:Hq.createSlo.routeDeclarationPath,component:I4},
{title:as("SLO"),path:Hq.viewSlo.routeDeclarationPath,component:Q4},{title:as("SLO"),path:Hq.editSlo.routeDeclarationPath,component:Q4},{title:as("Saved search"),path:Hq.editSavedSearch.routeDeclarationPath,component:N4},{title:as("All of my hotlists"),path:Hq.listHotlists.routeDeclarationPath,component:n6},{title:as("Manage SLOs"),path:Hq.listSlos.routeDeclarationPath,component:r6},{title:as("Saved search"),path:Hq.viewSavedSearch.routeDeclarationPath,component:B7},{title:as("Dashboard"),path:Hq.viewDashboard.routeDeclarationPath,
component:K4},{title:as("Settings"),path:Hq.settingsTab.routeDeclarationPath,component:w7},{title:as("Settings"),path:Hq.settings.routeDeclarationPath,component:w7},{title:as("View Attachment"),path:Hq.viewAttachment.routeDeclarationPath,component:$hd,hideAppChrome:!0},{title:as("Home"),path:Hq.home.routeDeclarationPath,component:l7,canActivateGuards:[X3,W3]},{path:"**",component:Q3,canActivateGuards:[Z3]}]);var D7=function(){};D7.\u0275fac=function(a){return new (a||D7)};D7.\u0275mod=Zi({type:D7});D7.\u0275inj=Eg({imports:[jC,zQ,FI]});var E7=function(){};E7.\u0275fac=function(a){return new (a||E7)};E7.\u0275mod=Zi({type:E7});E7.\u0275inj=Eg({imports:[jC,rM,uL,yQ,D7]});var F7=function(){};F7.\u0275fac=function(a){return new (a||F7)};F7.\u0275mod=Zi({type:F7});F7.\u0275inj=Eg({imports:[jC,EL,FI,HI]});var G7=function(){};G7.\u0275fac=function(a){return new (a||G7)};G7.\u0275mod=Zi({type:G7});G7.\u0275inj=Eg({imports:[xQ,jC,b5,EL,FI,oN,IL,JL,q1,Y0,V5,F7]});var H7=function(){};H7.\u0275fac=function(a){return new (a||H7)};H7.\u0275mod=Zi({type:H7});H7.\u0275inj=Eg({imports:[jC,EL,FI,JL]});var I7=function(){};I7.\u0275fac=function(a){return new (a||I7)};I7.\u0275mod=Zi({type:I7});I7.\u0275inj=Eg({imports:[tV,jC,JL,SL,GM,FI,oL,lQ,Y0,wQ]});var J7=function(){};J7.\u0275fac=function(a){return new (a||J7)};J7.\u0275mod=Zi({type:J7});J7.\u0275inj=Eg({imports:[jC,LQ,uL,$N]});var K7=function(){};K7.\u0275fac=function(a){return new (a||K7)};K7.\u0275mod=Zi({type:K7});K7.\u0275inj=Eg({imports:[E7,LQ,jC,pU,OV,EL,uL,GQ,XV,D7,FI,oN,JL,MX,$N,J7,H7,G7,I7]});var L7=function(){};L7.\u0275fac=function(a){return new (a||L7)};L7.\u0275mod=Zi({type:L7});L7.\u0275inj=Eg({imports:[Z5,jC,oL,FI,uM,XF]});var M7=function(){};M7.\u0275fac=function(a){return new (a||M7)};M7.\u0275mod=Zi({type:M7});M7.\u0275inj=Eg({imports:[jC,FI]});var N7=function(){};N7.\u0275fac=function(a){return new (a||N7)};N7.\u0275mod=Zi({type:N7});N7.\u0275inj=Eg({imports:[jC,yN,FI,JL]});var O7=function(){};O7.\u0275fac=function(a){return new (a||O7)};O7.\u0275mod=Zi({type:O7});O7.\u0275inj=Eg({imports:[W1,QJ,CA,jC,uM,pz,rM,lQ,FG,L7,K7,V0,FI,HI,HX,qM,JL,GG,t5,Y0,QL,M7,N7]});var P7=function(){};P7.\u0275fac=function(a){return new (a||P7)};P7.\u0275mod=Zi({type:P7});P7.\u0275inj=Eg({imports:[jC,y3]});var Q7=function(){};Q7.\u0275fac=function(a){return new (a||Q7)};Q7.\u0275mod=Zi({type:Q7});Q7.\u0275inj=Eg({imports:[jC,CA,QJ,FG,GG,FI,qM,QL,xQ,O7,k6,vX,S4,x5,P7,l6]});var hid=gid.map(function(a){var b=a.redirectTo?void 0:[T3,V3].concat(p(a.canActivateGuards||[])),c;return{title:a.title,path:a.path,redirectTo:a.redirectTo,component:a.component,canDeactivate:[LR],canActivate:b,children:a.children,isRootRoute:!0,hideAppChrome:(c=a.hideAppChrome)!=null?c:!1}});hid.push({path:"**",canActivate:["dontActivate"],component:Q3,isRootRoute:!0,hideAppChrome:!1});
var iid=Nf().appBaseHref,jid,R7={initialNavigation:"disabled"},kid=(R7==null?0:R7.errorHandler)?{provide:Wsc,useValue:R7.errorHandler}:[],lid={provide:RB,useValue:R7?R7:{}},mid=(R7==null?0:R7.useHash)?{provide:Ay,useClass:Cy}:{provide:Ay,useClass:By},nid={provide:Ctc,useFactory:function(){var a=x(Unc),b=x(Kk),c=x(RB),d=x(VB),e=x(GB);c.scrollOffset&&Wnc(a,c.scrollOffset);return new eC(e,d,a,b,c)}},oid=(R7==null?0:R7.preloadingStrategy)?eCa(0,[{provide:Itc,useExisting:dC},{provide:ytc,useExisting:R7.preloadingStrategy}]).\u0275providers:
[],pid;
(R7==null?0:R7.initialNavigation)?pid=[R7.initialNavigation==="disabled"?eCa(3,[Epa(function(){ptc(x($B))}),{provide:Htc,useValue:2}]).\u0275providers:[],R7.initialNavigation==="enabledBlocking"?eCa(2,[{provide:fkc,useValue:!0},{provide:Htc,useValue:0},Epa(function(){var a=x(yj);return a.get(Qnc,Promise.resolve()).then(function(){return new Promise(function(b){var c=a.get($B),d=a.get(Gtc);dCa(c,function(){b(!0)});a.get(VB).afterPreactivation=function(){b(!0);return d.closed?li(void 0):d};c.initialNavigation()})})})]).\u0275providers:[]]:
pid=[];var qid=pid,rid=(R7==null?0:R7.bindToComponentInputs)?eCa(8,[NB,{provide:zsc,useExisting:NB}]).\u0275providers:[],sid;if(R7==null?0:R7.enableViewTransitions){Yi("NgRouterViewTransitions");var tid=[{provide:Usc,useValue:cCa},{provide:aCa,useValue:Object.assign({},{skipNextTransition:!1},void 0)}];sid=eCa(9,tid).\u0275providers}else sid=[];
jid={ngModule:fC,providers:[Jtc,[],{provide:ZBa,multi:!0,useValue:[]},[],kid,lid,mid,nid,oid,qid,rid,sid,[{provide:Ktc,useFactory:function(){var a=x(yj);return function(b){var c=a.get(Pk);if(b===c.components[0]){b=a.get($B);var d=a.get(Gtc);a.get(Htc)===1&&b.initialNavigation();var e;(e=a.get(Itc,null,{optional:!0}))==null||ztc(e);var f;(f=a.get(Ctc,null,{optional:!0}))==null||f.init();c=c.componentTypes[0];b.routerState.root.component=c;b.navigationTransitions.rootComponentType=c;d.closed||(d.next(),
d.complete(),d.unsubscribe())}}}},{provide:glc,multi:!0,useExisting:Ktc}]]};var S7=function(){var a=x($B),b=x(wF);a.config=hid.map(TAa);a.navigated=!1;a.initialNavigation();Xyc(b)};S7.\u0275fac=function(a){return new (a||S7)};S7.\u0275mod=Zi({type:S7});S7.\u0275inj=Eg({providers:[{provide:"dontActivate",useValue:function(){return!1}},{provide:WB,useClass:S3},{provide:Tnc,useValue:iid},V3,T3],imports:[jid,R3,Q7,fC]});var uid=new kh("Environment");var vid=new kh("Worktracker API Key");var wid=new kh("G3C API Keys");var T7=function(){};T7.\u0275fac=function(a){return new (a||T7)};T7.\u0275mod=Zi({type:T7});T7.\u0275inj=Eg({providers:[{provide:uid,useFactory:w5b},{provide:wid,useValue:{prodApiKey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",stagingApiKey:"AIzaSyCYqhU0fWA9T487wYfx1ogB9z2mNJ9AQco",autopushApiKey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM"}},{provide:vid,useValue:"AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c"}]});var U7=function(a){this.lookupId_=a;this.displayName_="";this.forceDisplayNameOverride_=!1},K$b=function(a){return new U7(a)};U7.prototype.getId=function(){return this.lookupId_};U7.prototype.setDisplayName=function(a){this.displayName_=a;return this};U7.prototype.getDisplayName=function(){return this.displayName_};var L$b=function(a,b){a.forceDisplayNameOverride_=b;return a};U7.prototype.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride_};
U7.prototype.equals=function(a){return a?this===a?!0:this.getId().equals(a.getId())&&this.getDisplayName()===a.getDisplayName()&&this.getForceDisplayNameOverride()===a.getForceDisplayNameOverride():!1};var x5b=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(x5b,n);x5b.prototype.setDisabled=function(a,b){wc(this,2,xb,b,a,zb,void 0,1)};var V7=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(V7,n);g=V7.prototype;g.getEnableClearcut=function(){return De(this,1)};g.setEnableClearcut=function(a){return hf(this,1,a)};g.getClientId=function(){return Zd(this,2)};g.setClientId=function(a){return mf(this,2,a)};g.getSocialApplication=function(){return Zd(this,3)};g.getSocialApplicationOrUndefined=function(){return $l(this,3)};g.getComponentFlow=function(){return Zd(this,4)};
g.setComponentFlow=function(a){return mf(this,4,a)};g.getInterfaceType=function(){return Zd(this,5)};g.setInterfaceType=function(a){return mf(this,5,a)};var W7=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(W7,n);W7.prototype.getEnableAutocompleteLegalese=function(){return De(this,11)};var X7=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(X7,n);X7.prototype.getApplication=function(){return Zd(this,1)};X7.prototype.setApplication=function(a){return mf(this,1,a)};X7.prototype.getApplicationOrUndefined=function(){return $l(this,1)};X7.prototype.getIsEnabled=function(){return De(this,2)};var xid=[0,hv,-16];var yid=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(yid,n);g=yid.prototype;g.getClearcut=function(){return r(this,V7,1)};g.setClearcut=function(a){t(this,V7,1,a)};g.hasClearcut=function(){return Me(this,V7,1)};g.getExperiments=function(){return r(this,X7,2)};g.setExperiments=function(a){return t(this,X7,2,a)};g.hasExperiments=function(){return Me(this,X7,2)};g.getEnableAutocompleteLegalese=function(){return De(this,13,!0)};var zid=Nda(yid);var Aid;var Bid=function(){var a=T9b(Aid||(Aid=zid('[[true,49,740,4],[7,true],null,null,null,null,null,null,null,"core_features",[[3,4,1,5]],null,false,false]')));a.hasClearcut()||a.setClearcut(new V7);a.hasExperiments()||a.setExperiments(new X7);this.internal=a};var Cid=function(a,b,c,d,e,f){this.coreTypeOrder=a;this.decoratorTypeOrder=b;this.getCompatibleTypes=c;this.container=d;this.extractor=e;this.configurationKey=f===void 0?"\ud83c\udf68":f};
Cid.prototype.create=function(a){for(var b=this,c=l(this.coreTypeOrder.filter(function(h){var k=b.configurationKey;return b.container.configurations.hasCoreType(h,k===void 0?"\ud83c\udf68":k)})),d=c.next();!d.done;d=c.next()){d=d.value;var e=this.container.getCoreFactory(d),f=void 0;if((f=e)==null?0:f.shouldCreate(a))return c=void 0,this.extractor(this.decorate((c=e)==null?void 0:c.create(a),d,a))}throw Error("Af");};
Cid.prototype.decorate=function(a,b,c){var d=this,e,f=(e=this.getCompatibleTypes(b))!=null?e:new Set;return this.decoratorTypeOrder.filter(function(h){var k=d.configurationKey;return d.container.configurations.hasDecoratorType(h,k===void 0?"\ud83c\udf68":k)&&f.has(h)}).map(function(h){return d.container.getDecoratorFactory(h)}).filter(function(h){return h==null?void 0:h.shouldCreate(c)}).reduce(function(h,k){return k.create(c,h)},a)};var Y7=function(){this.core=new Set;this.decorators=new Set};Y7.prototype.addCoreType=function(a){this.core.add(a)};Y7.prototype.addDecoratorType=function(a){this.decorators.add(a)};Y7.prototype.hasCoreType=function(a){return this.core.has(a)};Y7.prototype.hasDecoratorType=function(a){return this.decorators.has(a)};var Did=function(){this.configurations=new Map};g=Did.prototype;g.addCoreType=function(a,b){this.configurations.has(b)||this.configurations.set(b,new Y7);this.configurations.get(b).addCoreType(a)};
g.addDecoratorType=function(a,b){this.configurations.has(b)||this.configurations.set(b,new Y7);this.configurations.get(b).addDecoratorType(a)};g.hasCoreType=function(a,b){var c,d;return!!(((c=this.configurations.get(b))==null?0:c.hasCoreType(a))||((d=this.configurations.get("\ud83c\udf68"))==null?0:d.hasCoreType(a)))};g.hasDecoratorType=function(a,b){var c,d;return!!(((c=this.configurations.get(b))==null?0:c.hasDecoratorType(a))||((d=this.configurations.get("\ud83c\udf68"))==null?0:d.hasDecoratorType(a)))};
g.clear=function(){this.configurations.clear()};var Eid=function(){this.core=new Map;this.decorator=new Map};g=Eid.prototype;g.addCoreFactory=function(a,b){this.core.has(a)||this.core.set(a,b)};g.addDecoratorFactory=function(a,b){this.decorator.has(a)||this.decorator.set(a,b)};g.getCoreFactory=function(a){return this.core.get(a)};g.getDecoratorFactory=function(a){return this.decorator.get(a)};g.clear=function(){this.core.clear();this.decorator.clear()};
var Z7=function(a){var b=this;var c=a.coreTypeOrder;var d=a.decoratorTypeOrder;var e=a.extractor;a=a.getCompatibleTypes;this.configurations=new Did;this.factories=new Eid;this.coreTypeOrder=c;this.decoratorTypeOrder=d;this.extractor=e;this.getCompatibleTypes=a;Fid.set(this,function(){b.configurations.clear();b.factories.clear()})};
Z7.prototype.addCoreFactory=function(a){var b=a.type;var c=a.factory;this.configurations.addCoreType(b,a.configurationKey===void 0?"\ud83c\udf68":a.configurationKey);this.factories.addCoreFactory(b,c)};Z7.prototype.addDecoratorFactory=function(a){var b=a.type;var c=a.factory;this.configurations.addDecoratorType(b,a.configurationKey===void 0?"\ud83c\udf68":a.configurationKey);this.factories.addDecoratorFactory(b,c)};Z7.prototype.getCoreFactory=function(a){return this.factories.getCoreFactory(a)};
Z7.prototype.getDecoratorFactory=function(a){return this.factories.getDecoratorFactory(a)};var S6b=function(a,b){b=b===void 0?"\ud83c\udf68":b;return new Cid(a.coreTypeOrder,a.decoratorTypeOrder,a.getCompatibleTypes,a,a.extractor,b===void 0?"\ud83c\udf68":b)},Fid=new Map;var Rs=new Z7({coreTypeOrder:[0,1,2],decoratorTypeOrder:[0,1,2],extractor:function(a){return a.chip},getCompatibleTypes:function(a){var b=new Set([1]);a===2&&(b.add(0),b.add(2));a===0&&b.add(0);return b}});var Gid={},Hid={},Iid={},Jid={},Kid={},$7=function(){throw Error("Bf");};$7.prototype.contentDir=null;$7.prototype.getContent=function(){return this.content};$7.prototype.toString=function(){return this.content};$7.prototype.toSafeHtml=function(){if(this.contentKind!==Gid)throw Error("Cf");return gd(this.toString())};var Lid=function(){$7.call(this)};Lu(Lid,$7);Lid.prototype.contentKind=Gid;var Mid=function(){$7.call(this)};Lu(Mid,$7);Mid.prototype.contentKind=Hid;Mid.prototype.contentDir=1;var Nid=function(a){if(a!=null)switch(a.contentDir){case 1:return 1;case -1:return-1;case 0:return 0}return null},Ht=function(a){return a8(a,Gid)?a:a instanceof fd?Jt(id(a).toString()):Jt(String(String(a)).replace(Oid,Pid),Nid(a))},Jt=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,d){c=new b(String(c));d!==void 0&&(c.contentDir=d);return c}}(Lid),Qid=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return new b(String(c))}}(Mid),
b8=function(a){return a instanceof $7?!!a.getContent():!!a},C$b=function(a){return Ht(a)},Nt=function(a){return a8(a,Gid)?a:Jt(Rid(a,Sid),Nid(a))},Tid=RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b"),Rid=function(a,b){if(!b)return B5b(String(a),function(){return""}).replace(Uid,"&lt;");a=String(a).replace(/\[/g,"&#91;");var c=[],d=[];a=B5b(a,function(f,h){if(h&&(h=h.toLowerCase(),b.hasOwnProperty(h)&&b[h])){var k=c.length,q="</",u="";if(f.charAt(1)!==
"/"){q="<";for(var A;A=Vid.exec(f);)if(A[1]&&A[1].toLowerCase()==="dir"){if(f=A[2]){if(f.charAt(0)==="'"||f.charAt(0)==='"')f=f.substr(1,f.length-2);f=f.toLowerCase();if(f==="ltr"||f==="rtl"||f==="auto")u=' dir="'+f+'"'}break}Vid.lastIndex=0}c[k]=q+h+">";d[k]=u;return"["+k+"]"}return""});a=String(a).replace(Wid,Pid);var e=Xid(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},z5b=RegExp.prototype.hasOwnProperty("sticky"),A5b=new RegExp((z5b?
"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",z5b?"gy":"g"),Yid=function(a,b){a=a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>");return b?a.replace(/{/g," \\{").replace(/}/g," \\}").replace(/\/\*/g,"/ *").replace(/\\$/,"\\ "):a},Xid=function(a){for(var b=[],c=0,d=a.length;c<d;++c){var e=a[c];e.charAt(1)=="/"?(e=b.lastIndexOf(e),e<0?a[c]="":(a[c]=b.slice(e).reverse().join(""),b.length=e)):e=="<li>"&&b.lastIndexOf("</ol>")<0&&b.lastIndexOf("</ul>")<0?a[c]="":Tid.test(e)||b.push("</"+e.substring(1))}return b.reverse().join("")},
Gt=function(a){a8(a,Gid)?(a=Rid(a.getContent()),a=String(a).replace(Wid,Pid)):a=String(a).replace(Oid,Pid);return a},Zid=function(a){a8(a,Jid)&&(a=a.getContent());return(a&&!a.startsWith(" ")?" ":"")+a},bjd=function(a){return String(a).replace($id,ajd)},It=function(a){a8(a,Hid)||a8(a,Iid)?a=String(a).replace($id,ajd):ad(a)?a=bjd(bd(a)):a instanceof Xc?a=bjd(Zc(a).toString()):(a=String(a),a=cjd.test(a)?a.replace($id,ajd):"about:invalid#zSoyz");return a},ejd=function(a){a8(a,Hid)||a8(a,Iid)?a=String(a).replace($id,
ajd):ad(a)?a=bjd(bd(a)):a instanceof Xc?a=bjd(Zc(a).toString()):(a=String(a),a=djd.test(a)?a.replace($id,ajd):"about:invalid#zSoyz");return a},c8=function(a){return a8(a,Kid)?Yid(a.getContent(),!1):a==null?"":Yid(String(a),!0)},a8=function(a,b){return a!=null&&a.contentKind===b},fjd=function(){$7.call(this)};Y(fjd,Lid);
var Kt=function(a,b){a.parts!==void 0?a.parts.push(b):a.content+=b;return a},Mt=function(a,b){a.parts!==void 0?a.parts.push(b):b instanceof fjd?b.content!==void 0?a.content+=b.getContent():(a.parts=[a.content,b],a.content=void 0):a.content+=b;return a};fjd.prototype.getContent=function(){if(this.content!==void 0)return this.content;for(var a="",b=l(this.parts),c=b.next();!c.done;c=b.next())a+=c.value;return a};fjd.prototype.toString=function(){return this.getContent()};
var Lt=function(){function a(){this.content=""}a.prototype=fjd.prototype;return function(){return new a}}(),gjd={"\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;"},Pid=function(a){return gjd[a]},hjd={"\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"},ajd=function(a){return hjd[a]},Oid=/[\x00\x22\x26\x27\x3c\x3e]/g,Wid=/[\x00\x22\x27\x3c\x3e]/g,
$id=/[\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,cjd=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,djd=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+-]+;base64,[a-z0-9+\/]+=*$|^blob:/i,ijd=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,jjd=function(a){a=String(a);return ijd.test(a)?
a:"zSoyz"},Uid=/</g,Sid={b:!0,br:!0,em:!0,i:!0,s:!0,strong:!0,sub:!0,sup:!0,u:!0},Vid=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;var C5b={};var K5b=function(a){var b=a.imageUrls,c=a.backupUrl,d=a.size,e=a.preloadSize,f=a.pixelRatio;a=Kt(Lt(),'<div class="'+Gt("peoplekitComponentsAvatarImplAvatarContainer")+'" style="width: '+Gt(c8(d))+"px; height: "+Gt(c8(d))+'px"><div peoplekit-id="'+Gt("YLEF4c")+'" class="'+Gt("peoplekitComponentsAvatarImplAvatar")+'" style="width: '+Gt(c8(d))+"px; height: "+Gt(c8(d))+'px">');b=b.length===1?Kt(Mt(Kt(Lt(),'<div class="'+Gt("peoplekitComponentsAvatarImplContainer")+'">'),d8(b[0],c,d,e,f)),"</div>"):b.length===
2?Kt(Mt(Kt(Mt(Kt(Mt(Kt(Lt(),'<div class="'+Gt("peoplekitComponentsAvatarImplContainer")+'"><div class="'+Gt("peoplekitComponentsAvatarImplColumn")+'">'),d8(b[0],c,d,e,f)),"</div>"),e8()),'<div class="'+Gt("peoplekitComponentsAvatarImplColumn")+'">'),d8(b[1],c,d,e,f)),"</div></div>"):b.length===3?Kt(Mt(Kt(Mt(Kt(Mt(Kt(Mt(Kt(Mt(Kt(Lt(),'<div class="'+Gt("peoplekitComponentsAvatarImplContainer")+'"><div class="'+Gt("peoplekitComponentsAvatarImplColumn")+'">'),d8(b[0],c,d,e,f)),"</div>"),e8()),'<div class="'+
Gt("peoplekitComponentsAvatarImplColumn")+'"><div class="'+Gt("peoplekitComponentsAvatarImplRow")+'">'),d8(b[1],c,Math.round(d*.5),e,f)),"</div>"),e8()),'<div class="'+Gt("peoplekitComponentsAvatarImplRow")+'">'),d8(b[2],c,Math.round(d*.5),e,f)),"</div></div></div>"):Kt(Mt(Kt(Mt(Kt(Mt(Kt(Mt(Kt(Mt(Kt(Mt(Kt(Mt(Kt(Lt(),'<div class="'+Gt("peoplekitComponentsAvatarImplContainer")+'"><div class="'+Gt("peoplekitComponentsAvatarImplColumn")+'"><div class="'+Gt("peoplekitComponentsAvatarImplRow")+'">'),d8(b[0],
c,Math.round(d*.5),e,f)),"</div>"),e8()),'<div class="'+Gt("peoplekitComponentsAvatarImplRow")+'">'),d8(b[2],c,Math.round(d*.5),e,f)),"</div></div>"),e8()),'<div class="'+Gt("peoplekitComponentsAvatarImplColumn")+'"><div class="'+Gt("peoplekitComponentsAvatarImplRow")+'">'),d8(b[1],c,Math.round(d*.5),e,f)),"</div>"),e8()),'<div class="'+Gt("peoplekitComponentsAvatarImplRow")+'">'),d8(b[3],c,Math.round(d*.5),e,f)),"</div></div></div>");b=Mt(Lt(),b);return Kt(Mt(Kt(Mt(a,b),'</div><div peoplekit-id="'+
Gt("Btuy5e")+'" class="'+Gt("peoplekitComponentsAvatarImplAvatarBadge")+'">'),Jt('<img class="'+Gt("peoplekitComponentsAvatarImplBadgeIconImage")+'" peoplekit-id="'+Gt("m6fZne")+'" draggable="false" alt="">')),"</div></div>")},d8=function(a,b,c,d,e){var f=Kt(Lt(),'<div peoplekit-id="'+Gt("IHgMKc")+'" class="'+Gt("peoplekitComponentsAvatarImplImageRoot")+'">'),h=It(GHc(a,c,c,e));h=Qid(h);a=It(GHc(a,d,d,e));a=Qid(a);b=It(GHc(b,c,c,e));b=Qid(b);h=Kt(f,'<img peoplekit-id="'+Gt("HiaYvf")+'" class="'+Gt("peoplekitComponentsAvatarImplImage")+
'" style="width: '+Gt(c8(c))+"px; height: "+Gt(c8(c))+'px;" data-preload-src="'+Gt(a)+'" data-src="'+Gt(h)+'" data-backup-src="'+Gt(b)+'" draggable="false" alt="">');c=Jt('<svg xmlns="http://www.w3.org/2000/svg" height="'+Gt(c)+'px" viewBox="0 0 24 24" width="'+Gt(c)+'px" class="'+Gt("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>');
Kt(Mt(h,c),"</div>");return f},e8=function(){return Jt('<div class="'+Gt("peoplekitComponentsAvatarImplDivider")+'"></div>')};var kjd=new Map([[0,"light_theme"],[1,"dark_theme"]]);var F5b=!dt&&!raa();var ljd=new Map([[1,"badge_active"],[2,"badge_inactive"],[3,"badge_idle"],[4,"badge_do_not_disturb"],[5,"badge_video"]]),mjd=new Map([[1,"Active."],[2,"Inactive."],[3,"Idle."],[4,"Do Not Disturb."],[5,"In Video Call."]]),M5b=function(a,b){this.appearance=b;this.root=a;njd(this)};g=M5b.prototype;
g.setBadge=function(a){var b=Ms(this.root,"Btuy5e");if(a.badgeType===0)b.classList.remove("visible");else{var c=ljd.get(a.badgeType)||"";if(c){var d=this.appearance.getTheme();c="https://www.gstatic.com/people/peoplekit/icons/"+(kjd.get(d)||"light_theme")+"/"+c+".svg"}else c="";a=mjd.get(a.badgeType)||"";d=Ms(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 njd=function(a){a=l(D5b(a.root,"IHgMKc"));for(var b=a.next(),c={};!b.done;c={img$jscomp$11:void 0,src$jscomp$63:void 0,imageRoot:void 0,backupSrc:void 0},b=a.next())c.imageRoot=b.value,c.img$jscomp$11=Ms(c.imageRoot,"HiaYvf"),b=H5b(c.img$jscomp$11,"preloadSrc"),c.src$jscomp$63=H5b(c.img$jscomp$11,"src"),c.backupSrc=H5b(c.img$jscomp$11,"backupSrc"),I5b(c.src$jscomp$63)?c.img$jscomp$11.src=c.src$jscomp$63:I5b(b)?(c.img$jscomp$11.src=b,Yq(function(d){return function(){d.img$jscomp$11.src=d.src$jscomp$63}}(c),
0)):(c.imageRoot.classList.add("isLoading"),c.img$jscomp$11.onload=function(d){return function(){d.imageRoot.classList.remove("isLoading")}}(c),c.img$jscomp$11.onerror=function(d){return function(){d.img$jscomp$11.getAttribute("src")===d.backupSrc?(d.img$jscomp$11.onerror=null,d.imageRoot.classList.remove("isLoading"),d.imageRoot.classList.add("isNotLoaded")):d.img$jscomp$11.src=d.backupSrc}}(c),c.img$jscomp$11.src=c.src$jscomp$63)};var J5b=function(){this.style=this.theme=this.density=0};g=J5b.prototype;g.getDensity=function(){return this.density};g.setDensity=function(a){this.density=a};g.getTheme=function(){return this.theme};g.setTheme=function(a){this.theme=a};g.getStyle=function(){return this.style};g.setStyle=function(a){this.style=a};var V5b=et.getInstance();var X5b=function(a){a=a.memberCount;return(new ULa("{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)};var b6b=et.getInstance();var d6b=function(a,b,c){var d=this;this.root=a;this.selection=b;this.selectionsState=c;this.isDisabledInternal=!1;this.deleteButton=Ms(this.root,"bxvLg");this.eventHandler=Qs(this);this.eventHandler.listen(this.deleteButton,"click",function(){d.onDeleteButtonClick()})};g=d6b.prototype;g.onDeleteButtonClick=function(){this.selectionsState.deselect(this.selection,8)};g.toggleSelection=function(){};g.activate=function(){this.root.classList.add("isActive");this.root.setAttribute("aria-selected","true")};
g.deactivate=function(){this.root.classList.remove("isActive");this.root.setAttribute("aria-selected","false")};g.isActive=function(){return this.root.classList.contains("isActive")};g.spotlight=function(){this.root.classList.add("isSpotlit")};g.unspotlight=function(){this.root.classList.remove("isSpotlit")};g.disable=function(){this.root.classList.add("isDisabled");this.isDisabledInternal=!0};g.enable=function(){this.root.classList.remove("isDisabled");this.isDisabledInternal=!1};g.isDisabled=function(){return this.isDisabledInternal};
g.drag=function(){this.root.classList.add("isDragged")};g.undrag=function(){this.root.classList.remove("isDragged")};g.edit=function(){};g.unedit=function(){};g.dispose=function(){this.eventHandler.removeAll()};g.getRoot=function(){return this.root};g.getSelection=function(){return this.selection};g.setDisambiguationLabel=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};g.getAllIds=function(){return[this.selection.id()]};g.updateWaldo=function(){};
g.updateHubAvailabilityDot=function(){};g.getSupportedIntelligenceFeatures=function(){return[]};g.initializeIntelligence=function(){};var ojd=function(a,b,c,d,e,f,h,k,q,u){d=d?Gt(d):e?Gt("isWarning"):"";return Kt(Mt(Kt(Mt(Kt(Mt(Kt(Lt(),'<div role="option" class="'+Gt("peoplekitComponentsChipChip")+" "+d+" "+(f?Gt("isDeletionDisabled"):"")+" "+(h?Gt(h):"")+'" id="'+Gt(a)+'" peoplekit-id="'+Gt("XPtOyb")+'" data-hovercard-id="'+Gt(c)+'" data-name="'+Gt(b)+'"'+(f?"":' aria-describedby="'+Gt(a)+'-db"')+'><div class="'+Gt("peoplekitComponentsChipChipRow")+" "+Gt("peoplekitComponentsChipChipContainer")+'"><div class="'+Gt("peoplekitComponentsChipLeft")+
'">'),Ht(k)),'</div><div class="'+Gt("peoplekitComponentsChipCenter")+'">'),Ht(q)),'</div><div class="'+Gt("peoplekitComponentsChipRight")+'">'),Ht(u)),'</div></div><div peoplekit-id="'+Gt("QL45qe")+'"></div></div>')},pjd=function(a){return Kt(Mt(Kt(Lt(),'<div class="'+Gt("peoplekitComponentsChipAvatar")+'"><div class="'+Gt("peoplekitComponentsChipAvatarContainer")+'" peoplekit-id="'+Gt("d6MZcd")+'"></div>'),b8(a)?Ht(a):""),"</div>")},qjd=function(a){var b=Lt();a=Kt(Lt(),'<div class="'+Gt("peoplekitComponentsChipAvatarExclamationOverlay")+
" "+(a?Gt(a):"")+'"><div class="'+Gt("peoplekitComponentsChipExclamationIcon")+" "+(a?Gt(a):"")+'">');var c=Jt('<svg viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M11 14V5h2v9Zm0 5v-2h2v2Z"/></svg>');return Mt(b,pjd(Kt(Mt(a,c),"</div></div>")))},rjd=function(a){return Jt('<div class="'+Gt("peoplekitComponentsChipLabelContainer")+'"><div class="'+Gt("peoplekitComponentsChipLabel")+" "+Gt("peoplekitComponentsChipLabelRow")+'"><div class="'+Gt("peoplekitComponentsChipDisplayLabel")+
'" translate="no">'+C$b(Nt(a))+'</div><div class="'+Gt("peoplekitComponentsChipDisambiguationLabel")+'" peoplekit-id="'+Gt("hyPgpe")+'" translate="no"></div></div></div>')},sjd=function(a){var b=Lt();a=Kt(b,'<div id="'+Gt(a)+'-db" peoplekit-id="'+Gt("bxvLg")+'" class="'+Gt("peoplekitComponentsChipDeleteButton")+'" aria-hidden="true" aria-label="'+Gt("Press delete to remove this chip")+'">');var c=Jt('<svg xmlns="https://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" class="'+(Gt("peoplekitComponentsChipDeleteIcon")+
'"><path d="M0 0h24v24H0z" fill="none"></path><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></svg>'));Kt(Mt(a,c),"</div>");return b};var c6b=function(a){var b=a.id,c=a.label,d=a.name,e=a.hovercardId,f=a.stateClass,h=a.isWarning,k=a.isDeletionDisabled;a=a.customChipClass;return Mt(Lt(),ojd(b,d,e,f,h,k,a,Mt(Lt(),f?qjd(f):pjd()),Mt(Lt(),rjd(c)),Mt(Lt(),sjd(b))))};var h6b=function(a,b,c){var d=this;this.root=a;this.selection=b;this.selectionsState=c;this.isDisabledInternal=!1;this.deleteButton=Ms(this.root,"bxvLg");this.eventHandler=Qs(this);this.eventHandler.listen(this.deleteButton,"click",function(){return d.onDeleteButtonClick()})};g=h6b.prototype;g.onDeleteButtonClick=function(){this.selectionsState.deselect(this.selection,8)};g.toggleSelection=function(){};
g.activate=function(){this.root.classList.add("isActive");this.root.setAttribute("aria-selected","true")};g.deactivate=function(){this.root.classList.remove("isActive");this.root.setAttribute("aria-selected","false")};g.isActive=function(){return this.root.classList.contains("isActive")};g.spotlight=function(){this.root.classList.add("isSpotlit")};g.unspotlight=function(){this.root.classList.remove("isSpotlit")};g.disable=function(){this.root.classList.add("isDisabled");this.isDisabledInternal=!0};
g.enable=function(){this.root.classList.remove("isDisabled");this.isDisabledInternal=!1};g.isDisabled=function(){return this.isDisabledInternal};g.drag=function(){this.root.classList.add("isDragged")};g.undrag=function(){this.root.classList.remove("isDragged")};g.edit=function(){};g.unedit=function(){};g.dispose=function(){this.eventHandler.removeAll()};g.getRoot=function(){return this.root};g.getSelection=function(){return this.selection};g.setDisambiguationLabel=function(){};g.onKeyDown=function(){};
g.onContextMenu=function(){return function(){}};g.getAllIds=function(){return[this.selection.id()]};g.updateWaldo=function(){};g.updateHubAvailabilityDot=function(){};g.getSupportedIntelligenceFeatures=function(){return[]};g.initializeIntelligence=function(){};var g6b=function(a){var b=a.id,c=a.hovercardId,d=a.name,e=a.label,f=a.avatarSize;a=a.isDeletionDisabled;return Mt(Lt(),ojd(b,d,c,"",!1,a,void 0,Jt('<div class="'+Gt("peoplekitComponentsChipPlaceholderAvatarPlaceholder")+" "+Gt("peoplekitComponentsChipPlaceholderShimmer")+'" style="width: '+Gt(c8(f))+"px; height: "+Gt(c8(f))+'px;"></div>'),Mt(Lt(),e?rjd(e):'<div class="'+Gt("peoplekitComponentsChipPlaceholderLabelPlaceholder")+" "+Gt("peoplekitComponentsChipPlaceholderShimmer")+'"></div>'),Mt(Lt(),
sjd(b))))};var f8=function(a){this.delegate=a};g=f8.prototype;g.toggleSelection=function(){this.delegate.toggleSelection()};g.activate=function(){this.delegate.activate()};g.deactivate=function(){this.delegate.deactivate()};g.isActive=function(){return this.delegate.isActive()};g.spotlight=function(){this.delegate.spotlight()};g.unspotlight=function(){this.delegate.unspotlight()};g.disable=function(){this.delegate.disable()};g.enable=function(){this.delegate.enable()};g.isDisabled=function(){return this.delegate.isDisabled()};
g.drag=function(){this.delegate.drag()};g.undrag=function(){this.delegate.undrag()};g.edit=function(){this.delegate.edit()};g.unedit=function(){this.delegate.unedit()};g.dispose=function(){this.delegate.dispose()};g.getRoot=function(){return this.delegate.getRoot()};g.getSelection=function(){return this.delegate.getSelection()};g.setDisambiguationLabel=function(a){this.delegate.setDisambiguationLabel(a)};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};
g.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};g.getAllIds=function(){return this.delegate.getAllIds()};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()};var tjd=Object.freeze(new Us(NaN,NaN)),ujd=Object.freeze(new Xs(NaN,NaN,NaN,NaN)),Zs=function(a,b){this.root=a;this.options=b;this.lastPosition=tjd;this.lastBounds=ujd;this.anchorUpdateTimer=new aE(15);this.eventHandler=Qs(this);this.attach()};Zs.prototype.attach=function(){var a=this;this.eventHandler.listen(this.anchorUpdateTimer,"tick",function(){return vjd(a)})};Zs.prototype.isShown=function(){return this.root.style.display!="none"};Zs.prototype.dispose=function(){this.hide();this.eventHandler.removeAll()};
Zs.prototype.show=function(a){this.anchor=a;this.lastPosition=tjd;this.lastBounds=ujd;Pr(this.root,!0);vjd(this);this.anchorUpdateTimer.start()};
var vjd=function(a){var b;if(b=a.anchor){if(!(b=!a.lastPosition.equals(Ss(a.anchor)))){b=a.lastBounds;var c=q6b(a.root);b=!(b==c||b&&c&&b.left==c.left&&b.width==c.width&&b.top==c.top&&b.height==c.height)}b&&(c=a.anchor,b=q6b(c),b=(c=r6b(c))?b.intersection(s6b(c)):!1)}if(b){c=a.anchor;b=a.root;var d=a.options,e=d.anchorCorner||9,f=d.popupCorner||8;d=d.moveAboveAnchorIfOffscreen===void 0?!0:d.moveAboveAnchorIfOffscreen;Ys(b,"","");b.style.height=NU("",!0);var h=x6b(c,e,b,f,d);c=x6b(c,e^1,b,f^1,d);h.height>=
c.height||!d?y6b(b,h):y6b(b,c);a.lastPosition=Ss(a.anchor);a.lastBounds=q6b(a.root)}};Zs.prototype.hide=function(){this.root.style.cssText="";Pr(this.root,!1);this.anchorUpdateTimer.stop();this.lastPosition=tjd;this.lastBounds=ujd};var B6b=function(a,b,c){this.tooltip=a;this.showDelayMs=b;this.hideDelayMs=c;this.displayed=!1;this.eventHandler=Qs(this)};B6b.prototype.showTooltip=function(){wjd(this);if(!this.isDisplayed()&&this.anchor){this.displayed=!0;var a;(a=this.showCallback)==null||a.call(this);g8(this)}};B6b.prototype.hideTooltip=function(){g8(this);if(this.isDisplayed()&&this.anchor){this.displayed=!1;var a;(a=this.hideCallback)==null||a.call(this);wjd(this)}else g8(this)};B6b.prototype.isDisplayed=function(){return this.displayed};
var xjd=function(a,b){a.hideCallback=b.hideTooltipCallback;a.showCallback=b.showTooltipCallback},Bjd=function(a,b){if(a.anchor)throw Error("Df");a.anchor=b;yjd(a);zjd(a);Ajd(a)},Cjd=function(a){a.eventHandler.removeAll();a.anchor&&(a.hideTooltip(),a.hideCallback=void 0,a.showCallback=void 0,a.hideTimeout=void 0,a.showTimeout=void 0,a.displayed=!1,a.anchor=void 0)},Djd=function(a){wjd(a);g8(a);a.showTimeout=setTimeout(function(){a.showTooltip()},a.showDelayMs)},Ejd=function(a){wjd(a);g8(a);a.hideTimeout=
setTimeout(function(){a.hideTooltip()},a.hideDelayMs)},yjd=function(a){if(!a.anchor)throw Error("Ef");a.eventHandler.listen(a.anchor,"mouseover",function(){a.isDisplayed()?a.showTooltip():Djd(a)});a.eventHandler.listen(a.anchor,"touchstart",function(){Djd(a)});a.eventHandler.listen(a.anchor,"focusin",function(b){a.tooltip.contains(b.relatedTarget)||Djd(a)});a.eventHandler.listen(a.anchor,"touchend",function(){g8(a)});a.eventHandler.listen(a.anchor,"touchcancel",function(){g8(a)});a.eventHandler.listen(a.anchor,
"mouseout",function(){Ejd(a)});a.eventHandler.listen(a.anchor,"focusout",function(){a.hideTooltip()})},zjd=function(a){a.eventHandler.listen(a.tooltip,"mouseover",function(){Djd(a)});a.eventHandler.listen(a.tooltip,"mouseout",function(){Ejd(a)});a.eventHandler.listen(a.tooltip,"focusout",function(b){b=b.relatedTarget;var c,d=!((c=a.anchor)==null||!c.contains(b));a.tooltip.contains(b)||d||a.hideTooltip()})},Ajd=function(a){a.eventHandler.listen(window,"touchmove",function(){Ejd(a)});a.eventHandler.listen(window,
"focus",function(b){b.target!==a.anchor&&Ejd(a)});a.eventHandler.listen(window,"blur",function(b){b.target===window&&a.hideTooltip()});a.eventHandler.listen(window,"keydown",function(b){b.key==="Escape"&&a.hideTooltip()})},g8=function(a){clearTimeout(a.showTimeout);a.showTimeout=void 0},wjd=function(a){clearTimeout(a.hideTimeout);a.hideTimeout=void 0};var C6b=function(a,b){this.tooltip=a;this.tooltipEventTracker=b;this.popupService=z6b(this.tooltip,{anchorCorner:3,popupCorner:2})},H6b=function(a,b){Bjd(a.tooltipEventTracker,b);xjd(a.tooltipEventTracker,{showTooltipCallback:function(){a.showTooltipCallback()},hideTooltipCallback:function(){a.hideTooltipCallback()}})};g=C6b.prototype;g.showTooltip=function(){this.tooltipEventTracker.showTooltip()};g.hideTooltip=function(){this.tooltipEventTracker.hideTooltip()};g.getRoot=function(){return this.tooltip};
g.isDisplayed=function(){return this.tooltipEventTracker.isDisplayed()};g.showTooltipCallback=function(){this.popupService.show(this.tooltipEventTracker.anchor)};g.hideTooltipCallback=function(){this.popupService.hide()};var A6b=function(a){var b=a.label,c=a.ariaLabel,d=a.classes,e=a.attributes;return Jt('<div id="'+Gt(a.id)+'" peoplekit-id="'+Gt("suEOdc")+'" class="'+Gt("peoplekitComponentsTooltipImplTooltip")+(d?" "+Gt(d):"")+'" style="display: none;" aria-hidden="true"'+(c?' aria-label="'+Gt(c)+'"':"")+(b8(e)?Zid(a8(e,Jid)?e.getContent():jjd(e)):"")+">"+Ht(b)+"</div>")};var $s=function(a,b,c){this.delegate=a;var d=a.getRoot();/-[a-z]/.test("hovercardId")||(F5b&&d.dataset?(/-[a-z]/.test("hovercardId")?0:F5b&&d.dataset?"hovercardId"in d.dataset:d.hasAttribute?d.hasAttribute("data-"+G5b("hovercardId")):d.getAttribute("data-"+G5b("hovercardId")))&&delete d.dataset.hovercardId:d.removeAttribute("data-"+G5b("hovercardId")));d="tt-"+a.getSelection().id().toString();this.tooltip=D6b(a.getRoot(),d,{label:b,ariaLabel:c});H6b(this.tooltip,a.getRoot())};Y($s,f8);
$s.prototype.dispose=function(){Cjd(this.tooltip.tooltipEventTracker);f8.prototype.dispose.call(this)};$s.prototype.spotlight=function(){f8.prototype.spotlight.call(this);this.tooltip.showTooltip()};$s.prototype.unspotlight=function(){f8.prototype.unspotlight.call(this);this.tooltip.hideTooltip()};$s.prototype.drag=function(){f8.prototype.drag.call(this);this.tooltip.hideTooltip()};var ct=new Z7({coreTypeOrder:[1,3,2,0],decoratorTypeOrder:[0,1,2],extractor:function(a){return a},getCompatibleTypes:function(a){return a===0||a===2||a===3?new Set([0,1,2]):new Set}});var I6b=function(a,b,c,d,e,f){var h=this;this.root=a;this.enabledIcon=b;this.disabledIcon=c;this.tooltip=d;this.disableDomNavigation=e;this.internalIsDisabled=!1;this.eventHandler=Qs(this);this.onClick=f;this.eventHandler.listen(this.root,"click",function(k){var q;(q=h.onClick)==null||q.call(h,k)});this.disableDomNavigation?this.root.tabIndex=-1:(this.eventHandler.listen(this.root,"focus",function(){h.activate()}),this.eventHandler.listen(this.root,"blur",function(){h.deactivate()}))};g=I6b.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;this.tooltip&&Cjd(this.tooltip.tooltipEventTracker)};
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 Fjd=0;var G6b=function(a){var b=a.icon,c=a.tooltipLabel,d=a.ariaLabel;a=Lt();c=(c=c?"tt-c"+Fjd++:"")?' data-tooltip-id="'+Gt(c)+'" aria-labelledby="'+Gt(c)+'"':d?' aria-label="'+Gt(d)+'"':"";Kt(Mt(Kt(a,'<button class="'+Gt("peoplekitComponentsButtonIconIconButton")+'"'+c+">"),Jt('<span><img src="'+Gt(ejd(b))+'" draggable="false" aria-hidden="true" alt="" class="'+Gt("peoplekitComponentsButtonIconAdaptableIcon")+'"/></span>')),"</button>");return a};var h8=function(a){this.delegate=a};g=h8.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.unspotlight=function(){this.delegate.unspotlight()};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 d$b=new Map([["pcw-select",3],["pcw-deselect",3],["pcw-click",3],["pcw-input",15]]);var K6b=function(a,b,c,d){this.delegate=a;var e=this;this.secondaryActionConfig=c;for(var f=Ms(a.getRoot(),"QChpEe");f.firstChild;)f.removeChild(f.firstChild);this.secondaryActionButton=J6b(f,d.get("jGsbz"),Object.assign({},{density:b.getDensity()},c));this.buttonRoot=this.secondaryActionButton.getRoot();this.buttonRoot.style.display="none";this.buttonRoot.id=a.getRoot().id+"-2ab";c.disableDomNavigation&&bKc(this.buttonRoot,"menuitem");at({element:this.buttonRoot,veid:163534,actions:["impression",
"pcw-click"],componentId:"peoplekitweb"});this.secondaryActionButton.onClick=function(h){var k;(k=c.onClick)==null||k.call(c,h);e.buttonRoot.dispatchEvent(bt(e.buttonRoot))};this.eventHandler=Qs(this);this.eventHandler.listen(a.getRoot(),"mouseover",this.displaySecondaryActionButton);this.eventHandler.listen(a.getRoot(),"mouseleave",this.hideSecondaryActionButton)};Y(K6b,h8);g=K6b.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=a.event.keyCode===13,c=b&&a.event.platformModifierKey;if(this.secondaryActionConfig.disableDomNavigation){var d=a.event.keyCode===9;!d||a.event.shiftKey||this.secondaryActionButton.isActive()?d&&this.secondaryActionButton.isActive()&&(this.secondaryActionButton.deactivate(),zL(this.buttonRoot,"hidden","true"),a.stopPropagation(),a.preventDefault()):(this.secondaryActionButton.activate(),zL(this.buttonRoot,"hidden","false"),a.stopPropagation(),a.preventDefault())}if(c||
b&&this.secondaryActionButton.isActive())this.buttonRoot.click(),a.stopPropagation(),a.preventDefault()};g.dispose=function(){this.eventHandler.removeAll();this.secondaryActionButton.dispose();h8.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 Gjd=function(){this.label="";this.type=0};g=Gjd.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 Hjd=function(){this.warnForExternalSelections=!1;this.decorationConfigRequest=function(){};this.resultCustomizationCallback=function(){return{}}};g=Hjd.prototype;g.getAllowResultDeselection=function(){return!1};g.getWarnForExternalSelections=function(){return this.warnForExternalSelections};g.getResultDecorationConfigRequestCallback=function(){return this.decorationConfigRequest};g.getResultCustomizationCallback=function(){return this.resultCustomizationCallback};
g.setResultCustomizationCallback=function(a){this.resultCustomizationCallback=a};var Ijd=function(a){this.header="";this.showSuggestions=!1;this.autoActivateFirstSuggestion=!0;this.maxResultsBeforeScroll=7;this.moveAutocompleteAboveAnchorIfOffscreen=!0;this.entryPoint=0;this.noResultsMessage=null;this.autoActivateFirstSearchResult=!0;this.clearSelectionsOnSearch=!1;this.environmentConfig=a;this.grouping=new Gjd;this.result=new Hjd;this.appearance=new J5b};g=Ijd.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.getAutoActivateFirstSearchResult=function(){return this.autoActivateFirstSearchResult};g.setAutoActivateFirstSearchResult=function(a){this.autoActivateFirstSearchResult=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.getUseTabForResultSelection=function(){return!0};g.getClearSelectionsOnSearch=function(){return this.clearSelectionsOnSearch};g.setClearSelectionsOnSearch=function(a){this.clearSelectionsOnSearch=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.setResultCustomizationCallback=function(a){this.result.setResultCustomizationCallback(a)};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)};
g.getStyle=function(){return this.appearance.getStyle()};g.setStyle=function(a){this.appearance.setStyle(a)};var Jjd=function(a){this.environmentConfig=a;this.autocomplete=new Ijd(a);this.autocomplete.setClearSelectionsOnSearch(!0)};g=Jjd.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.getAutoActivateFirstSearchResult=function(){return this.autocomplete.getAutoActivateFirstSearchResult()};g.setAutoActivateFirstSearchResult=function(a){this.autocomplete.setAutoActivateFirstSearchResult(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.getUseTabForResultSelection=function(){return this.autocomplete.getUseTabForResultSelection()};g.getClearSelectionsOnSearch=function(){return this.autocomplete.getClearSelectionsOnSearch()};g.setClearSelectionsOnSearch=function(a){this.autocomplete.setClearSelectionsOnSearch(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.setResultCustomizationCallback=function(a){this.autocomplete.setResultCustomizationCallback(a)};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)};g.getStyle=function(){return this.autocomplete.getStyle()};g.setStyle=function(a){this.autocomplete.setStyle(a)};var V6b=function(a){this.onHide=a;this.menuItemConfigs=[]};V6b.prototype.isSupported=function(a){return Kjd(this,a).length>0};
V6b.prototype.configure=function(a){var b=this,c=a.contextMenu,d=a.selection,e=a.activatableRoot,f=new Map;a=l(Kjd(this,d.result()));for(var h=a.next();!h.done;h=a.next()){h=h.value;var k=h.getContextMenuItemOptions();c.append(k);f.set(k.id,h)}Ljd(c,function(q){f.get(q.id).onContextMenuItemClick({options:q,selection:d,activatableRoot:e})});Mjd(c,function(){var q;(q=b.onHide)==null||q.call(b)})};var Kjd=function(a,b){return a.menuItemConfigs.filter(function(c){return c.isSupported(b)})};var T6b=new Z7({coreTypeOrder:[0],decoratorTypeOrder:[0],extractor:function(a){return a},getCompatibleTypes:function(){return new Set([0])}});var Y6b=function(){this.groupingDecorators=[]};var W6b=function(a){this.contextMenuConfigurator=a;this.resultCustomizationDecorators=[]};var b7b=function(a){this.root=a;this.length=0;this.isInteractive=!0};g=b7b.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(a<0||a>this.length)throw new RangeError("Gf");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(a<0||a>=this.length)throw new RangeError("Gf");var b=this.getItems();this.root.removeChild(b[a]);--this.length};g.clear=function(){Av(this.root);this.length=0};g.getRoot=function(){return this.root};var $6b=function(a){return Jt('<ul id="'+Gt(a.id)+'" peoplekit-id="'+Gt("rymPhb")+'" role="listbox" aria-multiselectable="true" class="'+Gt("peoplekitComponentsListImplList")+'"></ul>')};var a7b=et.getInstance();var Njd=function(a){this.isActive=!1;this.multiActivateAnchorIndex=this.spotlightIndex=-1;this.secondaryEventTargets=[];this.list=[].concat(p([]));this.shouldWrap=!!a.shouldWrap;this.activeItems=new Set([]);this.hideContextMenu=function(){}};g=Njd.prototype;
g.remove=function(a,b){var c=-1;a=l(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());c>=0&&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?(Ojd(this),Pjd(this,a,a+b.length-1),this.spotlightIndex=a,this.list[this.spotlightIndex].spotlight()):a>=0&&a<=this.spotlightIndex&&(this.spotlightIndex+=b.length)};g.size=function(){return this.list.length};
g.prev=function(a){var b=this.spotlightIndex===0&&(!this.shouldWrap||a===1);!this.list.length||b?a=!1:(this.isActive?(b=this.spotlightIndex-1,b=b>=0?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&&(!this.shouldWrap||a===1);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||a===void 0||a<0)return!1;var c=this.isActive?this.spotlightIndex:-1;this.spotlightIndex=Math.max(Math.min(this.list.length-1,a),0);this.isActive&&this.list[c].unspotlight();this.isActive||(this.multiActivateAnchorIndex=a);this.isActive=!0;switch(b){case 0:Ojd(this);Qjd(this);break;case 3:Qjd(this);break;case 1:a=O6b(this.spotlightIndex,c,this.multiActivateAnchorIndex);b=O6b(this.multiActivateAnchorIndex,c,this.spotlightIndex);
if(c>=0&&(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);Pjd(this,this.multiActivateAnchorIndex,this.spotlightIndex)}this.list[this.spotlightIndex].spotlight();return!0};
g.activateAll=function(){if(!(this.list.length<=0)){var a=this.spotlightIndex>=0?this.spotlightIndex:this.list.length-1;Ojd(this);for(var b=l(this.list),c=b.next();!c.done;c=b.next())c=c.value,c.activate(),this.activeItems.add(c);this.goToIndex(a,2)}};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=l(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.getIndexOf=function(a){return this.list.indexOf(a)};g.clear=function(){this.reset();this.list.length=0};g.reset=function(){this.hideContextMenu();Ojd(this);var a=this.getSpotlitItem();a&&a.unspotlight();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=l(b);for(var c=b.next();!c.done;c=b.next()){var d=void 0;(d=c.value)==null||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 Qjd=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},Ojd=function(a){for(var b=l(a.activeItems),c=b.next();!c.done;c=b.next())c=c.value,c.deactivate(),c.unspotlight();a.activeItems.clear()},Pjd=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 g7b=function(a){this.delegate=a};g=g7b.prototype;g.prev=function(a){a=this.delegate.prev(a);Rjd(this);return a};g.next=function(a){a=this.delegate.next(a);Rjd(this);return a};g.size=function(){return this.delegate.size()};g.goToItem=function(a,b){a=this.delegate.goToItem(a,b);Rjd(this);return a};g.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);Rjd(this);return a};g.activateAll=function(){this.delegate.activateAll()};g.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};
g.getActiveItems=function(){return this.delegate.getActiveItems()};g.getItem=function(a){return this.delegate.getItem(a)};g.getIndexOf=function(a){return this.delegate.getIndexOf(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 Rjd=function(a){(a=a.delegate.getSpotlitItem())&&f7b(a.getRoot())};var i8=function(a,b,c,d){this.list=a;this.navigatable=b;this.intelligentCollection=c;this.collapsibleConfig=d;this.items=[];this.isCollapsed=!1};i8.prototype.append=function(a){this.items.push(a);this.list.append(a.getRoot());this.intelligentCollection.append([a]);this.isCollapsed||this.navigatable.insert(this.navigatable.size(),[a],!1)};i8.prototype.getItems=function(){return this.isCollapsed?[]:this.items};
i8.prototype.dispose=function(){for(var a=l(this.items),b=a.next();!b.done;b=a.next())b.value.dispose();this.items=[]};var Sjd=function(a,b){if(a.isCollapsed!==b){var c=a.collapsibleConfig,d=c.resultListContainer,e=c.before;c=c.sectionRoot;b?(d.classList.add("collapsed"),d.style.height="",a.navigatable.remove(a.items,!1)):(e=a.navigatable.getIndexOf(e)+1,a.navigatable.insert(e,a.items,!1),d.classList.remove("collapsed"),d.style.height=d.scrollHeight+"px",f7b(c));a.isCollapsed=b}};var F7b=function(a,b,c,d){this.list=a;this.navigatable=b;this.intelligentCollection=c;this.resultListItemFactory=d};g=F7b.prototype;g.append=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,this.getOrCreateSection(c).append(this.resultListItemFactory.create(c,b))};g.getOrCreateSection=function(){this.section||(this.section=new i8(this.list,this.navigatable,this.intelligentCollection));return this.section};
g.clear=function(){var a;(a=this.section)==null||a.dispose();this.section=void 0;this.list.clear();this.navigatable.clear();this.intelligentCollection.clear()};g.reset=function(){this.navigatable.reset()};g.getItems=function(){var a,b;return(b=(a=this.section)==null?void 0:a.getItems())!=null?b:[]};g.done=function(){};var Tjd=function(a,b){this.itemsSection=a;this.groupingHeader=b};Tjd.prototype.append=function(a){this.itemsSection.append(a)};Tjd.prototype.getItems=function(){return this.itemsSection.getItems()};Tjd.prototype.dispose=function(){this.groupingHeader.dispose();this.itemsSection.dispose()};var Ujd=function(a){var b=a.listId;return Jt('<div id="'+Gt(a.id)+'" peoplekit-id="'+Gt("E9WxSb")+'" role="listitem"><div role="group"><div peoplekit-id="'+Gt("Bm3u4d")+'"></div><div id="'+Gt(b)+'" role="region" class="'+Gt("peoplekitComponentsResultListCoreGroupSectionListContainer")+'" peoplekit-id="'+Gt("tjneg")+'"></div></div></div>')};var j8=function(a){this.delegate=a};g=j8.prototype;g.getRoot=function(){return this.delegate.getRoot()};g.getHeader=function(){return this.delegate.getHeader()};g.getActionItems=function(){return this.delegate.getActionItems()};g.dispose=function(){this.delegate.dispose()};g.setCollapsible=function(a){this.delegate.setCollapsible(a)};g.getCollapsible=function(){return this.delegate.getCollapsible()};g.getActivatable=function(){return this.delegate.getActivatable()};var Vjd=function(a){var b=a.id,c=a.groupName;a=a.classes;return Jt('<div class="'+Gt("peoplekitComponentsGroupingHeaderCollapsibleChevronContainer")+" "+(a?" "+Gt(a):"")+'" peoplekit-id="'+Gt("wgPSWd")+'" id="'+Gt(b)+'" role="button" aria-expanded="false" aria-label="'+Gt("To expand "+c+" group, press enter")+'"><svg class="'+Gt("peoplekitComponentsGroupingHeaderCollapsibleChevron")+'" viewBox="0 0 24 24" height="24" width="24" aria-hidden="true"><path d="M0 0h24v24H0z" fill="none"/><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/></svg></div>')},
Wjd=function(a){return"To "+a.action+" "+a.groupName+" group, press enter"};var ft=function(a,b){this.delegate=a;var c=this;this.isCollapsed=b;this.eventHandler=Qs(this);this.chevron=Ls(Vjd,{id:Os(et.getInstance()),groupName:this.getHeader(),classes:"TdcT2c"});this.groupingHeaderActionItems=a.getActionItems().slice();this.groupingHeaderActionItems.push({focus:function(){c.chevron.classList.add("isSpotlit")},unfocus:function(){c.chevron.classList.remove("isSpotlit")},onKeyDown:function(d){d.event.keyCode===13&&(c.toggleView(),d.stopPropagation(),d.preventDefault())}});this.eventHandler.listen(this.getRoot(),
"click",this.toggleView);Ms(this.getRoot(),"QChpEe").appendChild(this.chevron);b||(this.chevron.classList.toggle("rotate"),zL(this.chevron,"expanded",!0),dKc(this.chevron,Wjd({groupName:this.getHeader(),action:"collapse"})))};Y(ft,j8);ft.prototype.getActionItems=function(){return this.groupingHeaderActionItems};ft.prototype.dispose=function(){this.eventHandler.removeAll();j8.prototype.dispose.call(this)};
ft.prototype.setCollapsible=function(a){j8.prototype.setCollapsible.call(this,a);Sjd(a,this.isCollapsed);this.chevron.setAttribute("aria-controls",a.collapsibleConfig.resultListContainer.id);Xjd(this)};ft.prototype.toggleView=function(){this.isCollapsed=!this.isCollapsed;this.chevron.classList.toggle("rotate");Sjd(this.getCollapsible(),this.isCollapsed);Xjd(this)};
var Xjd=function(a){var b=a.isCollapsed?"expand":"collapse";zL(a.chevron,"expanded",!a.isCollapsed);dKc(a.chevron,Wjd({groupName:a.getHeader(),action:b}))};var j7b=function(a){var b=this;this.root=a;this.internalIsDisabled=!1;this.eventHandler=Qs(this);this.eventHandler.listen(this.root,"click",function(c){var d;(d=b.onClick)==null||d.call(b,c)})};g=j7b.prototype;g.getRoot=function(){return this.root};g.enable=function(){this.root.classList.remove("isDisabled");this.root.disabled=!1;this.root.setAttribute("aria-disabled","false");this.internalIsDisabled=!1};
g.disable=function(){this.root.classList.add("isDisabled");this.root.disabled=!0;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 i7b=function(a){a=a.label;return Jt('<button class="'+Gt("peoplekitComponentsButtonLabelLabelButton")+'">'+Ht(a)+"</button>")};var D$b=function(a,b,c){var d=this;this.root=a;this.actionListeners=[];this.eventHandler=Qs(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=Ms(this.root,"Sx9Kwc");this.startFocusableElement=Ms(this.root,"tYwGbe");this.endFocusableElement=Ms(this.root,"dYgZK");this.eventHandler.listen(this.root,"click",function(){return d.onScrimClick()});this.eventHandler.listen(this.dialog,
"click",function(e){return d.onDialogClick(e)});this.eventHandler.listen(this.dialog,"keydown",function(e){return d.onDialogKeyDown(e)});this.eventHandler.listen(this.startFocusableElement,"focus",function(){return d.onStartFocusableElementFocus()});this.eventHandler.listen(this.endFocusableElement,"focus",function(){return d.onEndFocusableElementFocus()});this.eventHandler.listen(this.root,"keydown",function(e){e.stopPropagation()});this.eventHandler.listen(this.root,"keyup",function(e){e.stopPropagation()});
this.eventHandler.listen(this.root,"keypress",function(e){e.stopPropagation()});this.focusFirstFocusableElement()};g=D$b.prototype;g.subscribeToAction=function(a){this.actionListeners.push(a)};g.dispatchAction=function(a){var b=this.actionButtons.get(a);if(b&&!b.isDisabled()){for(var c=l(this.actionListeners),d=c.next();!d.done;d=c.next())d=d.value,d(a);a=b.getRoot();a.dispatchEvent(bt(a))}};g.disableAction=function(a){(a=this.actionButtons.get(a))&&a.disable()};
g.enableAction=function(a){(a=this.actionButtons.get(a))&&a.enable()};g.getRoot=function(){return this.root};g.onDialogClick=function(a){a.stopPropagation()};g.onDialogKeyDown=function(a){a.keyCode===27&&(this.dispatchAction(0),a.stopPropagation())};g.onStartFocusableElementFocus=function(){this.focusLastFocusableElement()};g.onEndFocusableElementFocus=function(){this.focusFirstFocusableElement()};g.focusFirstFocusableElement=function(){var a=E5b(this.dialog);a.length&&a[0].focus()};
g.focusLastFocusableElement=function(){var a=E5b(this.dialog);a.length&&a[a.length-1].focus()};g.onScrimClick=function(){this.dispatchAction(0)};g.dispose=function(){this.eventHandler.removeAll();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.actionListeners.length=0;for(var a=l(this.actionButtons.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.actionButtons.clear()};var p7b=function(a){var b=a.content,c=a.header,d=a.confirmAction;a=a.labelId;return Kt(Mt(Mt(Kt(Mt(Kt(Mt(Kt(Lt(),'<div peoplekit-id="'+Gt("GGAcbc")+'" class="'+Gt("peoplekitComponentsDialogImplScrim")+'"><div peoplekit-id="'+Gt("tYwGbe")+'" tabindex="0" role="application"></div><div peoplekit-id="'+Gt("Sx9Kwc")+'" class="'+Gt("peoplekitComponentsDialogImplDialog")+'" tabindex="-1" role="dialog" aria-modal="true"'+(a?' aria-labelledby="'+Gt(a)+'"':"")+">"),b8(c)?Ht(c):""),'<div class="'+Gt("peoplekitComponentsDialogImplContent")+
'">'),Ht(b)),'</div><div class="'+Gt("peoplekitComponentsDialogImplActions")+'">'),Mt(Lt(),Yjd("IbE0S"))),d?Mt(Mt(Lt(),Jt('<div class="'+Gt("peoplekitComponentsDialogImplActionDivider")+'"></div>')),Mt(Lt(),Yjd("McfNlf"))):""),'</div></div><div peoplekit-id="'+Gt("dYgZK")+'" tabindex="0" role="application"></div></div>')},Yjd=function(a){return Jt('<div peoplekit-id="'+Gt(a)+'"></div>')},Zjd=function(a){a=a.header;return Jt('<div class="'+Gt("peoplekitComponentsDialogImplTextHeader")+'">'+Ht(a)+"</div>")};var q7b=function(a,b){var c=this;this.root=a;this.closeButton=b;this.actionListeners=[];this.eventHandler=Qs(this);this.dialog=Ms(this.root,"Sx9Kwc");this.startFocusableElement=Ms(this.root,"tYwGbe");this.endFocusableElement=Ms(this.root,"dYgZK");b.onClick=function(){c.dispatchAction(2)};this.eventHandler.listen(this.root,"click",function(){c.onScrimClick()});this.eventHandler.listen(this.dialog,"click",function(d){c.onDialogClick(d)});this.eventHandler.listen(this.dialog,"keydown",function(d){c.onDialogKeyDown(d)});
this.eventHandler.listen(this.startFocusableElement,"focus",function(){c.onStartFocusableElementFocus()});this.eventHandler.listen(this.endFocusableElement,"focus",function(){c.onEndFocusableElementFocus()});this.focusFirstFocusableElement()};g=q7b.prototype;g.subscribeToAction=function(a){this.actionListeners.push(a)};g.dispatchAction=function(a){if(!this.closeButton.isDisabled()&&a===2)for(var b=l(this.actionListeners),c=b.next();!c.done;c=b.next())c=c.value,c(a)};g.disableAction=function(){this.closeButton.disable()};
g.enableAction=function(){this.closeButton.enable()};g.getRoot=function(){return this.root};g.dispose=function(){this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.eventHandler.removeAll();this.actionListeners.length=0;this.closeButton.dispose()};g.onDialogClick=function(a){a.stopPropagation()};g.onDialogKeyDown=function(a){a.keyCode===27&&(this.dispatchAction(2),a.stopPropagation())};g.onStartFocusableElementFocus=function(){this.focusLastFocusableElement()};
g.onEndFocusableElementFocus=function(){this.focusFirstFocusableElement()};g.focusFirstFocusableElement=function(){var a=E5b(this.dialog);a.length&&a[0].focus()};g.focusLastFocusableElement=function(){var a=E5b(this.dialog);a.length&&a[a.length-1].focus()};g.onScrimClick=function(){this.dispatchAction(2)};var l7b=new Map([[0,"peoplekitStyleLegacy"],[1,"peopleKitStyleGm3"]]);var n7b=new Map([[0,"peoplekitThemeLight"],[1,"peoplekitThemeDark"]]);var $jd=function(a){var b=a.learnMoreLinkUrl,c=a.learnMoreLinkText;return Jt("<div>"+Ht(a.description)+'  <a href="'+Gt(It(b))+'" target="_blank" class="'+Gt("peoplekitComponentsGroupingHeaderInfoLearnMoreLink")+'" peoplekit-id="'+Gt("lh87ke")+'">'+Ht(c)+"</a></div>")},akd=function(a){var b=a.id,c=a.ariaLabel;a=a.classes;return Jt('<div class="'+Gt("peoplekitComponentsGroupingHeaderInfoInfoIconContainer")+" "+(a?" "+Gt(a):"")+'" peoplekit-id="'+Gt("CLghmc")+'" id="'+Gt(b)+'" aria-label="'+Gt(c)+'" role="button"><svg class="'+
Gt("peoplekitComponentsGroupingHeaderInfoInfoIcon")+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg></div>')};var u7b=function(a,b,c,d){this.delegate=a;var e=this;this.infoGroupConfig=b;this.appearanceConfig=c;this.infoGroupingHeaderVeIds=d;this.infoIcon=Ls(akd,{id:Os(et.getInstance()),ariaLabel:"For more information about "+this.getHeader()+", press enter.",classes:"TdcT2c"});Ms(this.getRoot(),"xiK4Cd").appendChild(this.infoIcon);this.infoGroupingHeaderVeIds.infoIconVeId!==void 0&&at({element:this.infoIcon,veid:this.infoGroupingHeaderVeIds.infoIconVeId,actions:["impression","pcw-click"],componentId:"peoplekitweb"});
this.eventHandler=Qs(this);this.eventHandler.listen(this.infoIcon,"click",function(){bkd(e)});this.groupingHeaderActionItems=a.getActionItems().slice();this.groupingHeaderActionItems.push({focus:function(){e.infoIcon.classList.add("isSpotlit")},unfocus:function(){e.infoIcon.classList.remove("isSpotlit")},onKeyDown:function(f){f.event.keyCode===13&&(bkd(e),f.stopPropagation(),f.preventDefault())}})};Y(u7b,j8);
var bkd=function(a){a.infoIcon.dispatchEvent(bt(a.infoIcon));var b=Zjd({header:a.infoGroupConfig.infoDialogHeader}),c=$jd({description:a.infoGroupConfig.learnMoreMessage,learnMoreLinkUrl:a.infoGroupConfig.learnMoreUrl,learnMoreLinkText:a.infoGroupConfig.learnMoreLinkText}),d=a.getRoot().ownerDocument.activeElement,e=a.getRoot().closest('[class~="aU4VQc"]'),f=r7b(e,c,a.appearanceConfig,b),h=Ms(f.getRoot(),"lh87ke");a.infoGroupingHeaderVeIds.learnMoreLinkVeId!==void 0&&at({element:h,veid:a.infoGroupingHeaderVeIds.learnMoreLinkVeId,
actions:["impression","pcw-click"],componentId:"peoplekitweb"});a.eventHandler.listen(h,"click",function(){h.dispatchEvent(bt(h))});f.subscribeToAction(function(k){k===2&&(f.dispose(),d&&d.focus())})};u7b.prototype.getActionItems=function(){return this.groupingHeaderActionItems};u7b.prototype.dispose=function(){this.eventHandler.removeAll();j8.prototype.dispose.call(this)};var t7b=function(a,b){this.root=a;this.header=b};g=t7b.prototype;g.getHeader=function(){return this.header};g.getActionItems=function(){return[]};g.dispose=function(){};g.getRoot=function(){return this.root};g.setCollapsible=function(a){this.collapsible=a};g.getCollapsible=function(){return this.collapsible};g.getActivatable=function(){};var s7b=function(a){var b=a.id,c=a.header;a=Lt();b=Jt('<div class="'+Gt("peoplekitComponentsGroupingHeaderGroupingHeader")+'" id="'+Gt(b)+'" peoplekit-id="'+Gt("XLuqBd")+'"><div class="'+Gt("peoplekitComponentsGroupingHeaderGroupingHeaderRow")+'"><div class="'+Gt("peoplekitComponentsGroupingHeaderHeader")+'">'+Ht(c)+'</div><div class="'+Gt("peoplekitComponentsGroupingHeaderAction")+'"><div class="'+Gt("peoplekitComponentsGroupingHeaderActionRow")+'"><div class="'+Gt("peoplekitComponentsGroupingHeaderLeft")+
'" peoplekit-id="'+Gt("xiK4Cd")+'"></div><div class="'+Gt("peoplekitComponentsGroupingHeaderRight")+'" peoplekit-id="'+Gt("QChpEe")+'"></div></div></div></div></div>');return Mt(a,b)};var v7b=function(a){this.delegate=a};Y(v7b,j8);g=v7b.prototype;g.activate=function(){};g.deactivate=function(){};g.getSelection=function(){throw Error("Hf");};g.toggleSelection=function(){};g.onContextMenu=function(){return function(){}};g.spotlight=function(){var a=this.getActionItems();a.length&&(this.activeActionItemIndex=0,a[this.activeActionItemIndex].focus())};
g.unspotlight=function(){this.activeActionItemIndex!==void 0&&(this.getActionItems()[this.activeActionItemIndex].unfocus(),this.activeActionItemIndex=void 0)};
g.onKeyDown=function(a){if(this.activeActionItemIndex!==void 0){var b=this.getActionItems(),c=b[this.activeActionItemIndex];c.onKeyDown(a);if(!a.hasStoppedPropagationInternal)switch(a.event.keyCode){case 9:c.unfocus(),this.activeActionItemIndex=(this.activeActionItemIndex+1)%b.length,b[this.activeActionItemIndex].focus(),a.stopPropagation(),a.preventDefault()}}};g.getActivatable=function(){return this};var k8=function(a,b,c,d,e,f){this.list=a;this.navigatable=b;this.intelligentCollection=c;this.appearanceConfig=d;this.resultListItemFactory=e;this.grouping=f;this.sections=[]};g=k8.prototype;g.append=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,this.getOrCreateSection(c).append(this.resultListItemFactory.create(c,b))};
g.getOrCreateSection=function(a){var b=this.grouping.getGroupId(a);if(this.sections.find(function(d){return d.groupId===b}))return this.sections.at(-1).section;var c;a=(c=this.grouping.groupConfigs[b])!=null?c:{};c=w7b(a,this.appearanceConfig);c=this.createSection(c);this.sections.push({section:c,groupId:b});return c};g.getItems=function(){return ckd(this).flatMap(function(a){return a.getItems()})};g.reset=function(a){this.grouping.reset(a);this.navigatable.reset()};
g.clear=function(){var a=ckd(this);a=l(a);for(var b=a.next();!b.done;b=a.next())b.value.dispose();this.list.clear();this.navigatable.clear();this.intelligentCollection.clear();this.sections.length=0};g.done=function(){};var ckd=function(a){a=new Set(a.sections.map(function(b){return b.section}));return[].concat(p(a.values()))};var x7b=function(){k8.apply(this,arguments)};Y(x7b,k8);
x7b.prototype.createSection=function(a){var b=Os(et.getInstance()),c=Os(et.getInstance()),d=Ls(Ujd,{id:b,listId:c});this.list.append(d);var e=Ms(d,"tjneg");b=c7b(e);if(a){Ms(d,"Bm3u4d").appendChild(a.getRoot());c=this.navigatable;var f=this.intelligentCollection;e={collapsibleResultListContainer:e,collapsibleSectionRoot:d};d=a.getActivatable();var h;d&&(c.insert(c.size(),[d],!1),e&&(h={sectionRoot:e.collapsibleSectionRoot,resultListContainer:e.collapsibleResultListContainer,before:d}));b=new i8(b,
c,f,h);h&&d&&d.setCollapsible(b);return new Tjd(b,a)}return new i8(b,this.navigatable,this.intelligentCollection)};var E7b=function(a,b){this.delegate=a;this.grouping=b;this.demotedResults=new Map};g=E7b.prototype;g.append=function(a,b){var c=[];a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=this.grouping,f=e.getGroupId(d);z7b(e.groupConfigs[f])?(e=this.grouping.getGroupId(d),f=this.demotedResults.get(e)||[],f.push({result:d,resultContext:b}),this.demotedResults.set(e,f)):c.push(d)}c.length>0&&this.delegate.append(c,b)};g.getItems=function(){return this.delegate.getItems()};
g.clear=function(){this.delegate.clear();this.demotedResults.clear()};g.reset=function(a){this.delegate.reset(a)};g.done=function(){for(var a=l(this.demotedResults.values()),b=a.next();!b.done;b=a.next()){b=l(b.value);for(var c=b.next();!c.done;c=b.next())c=c.value,this.delegate.append([c.result],c.resultContext)}this.demotedResults.clear();this.delegate.done()};var A7b=function(){k8.apply(this,arguments)};Y(A7b,k8);A7b.prototype.createSection=function(a){this.section||(this.section=new i8(this.list,this.navigatable,this.intelligentCollection));a&&this.list.append(a.getRoot());return this.section};A7b.prototype.clear=function(){k8.prototype.clear.call(this);this.section=void 0};var dkd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(dkd,n);dkd.prototype.getEnablePersonalizedQueryMatching=function(){return De(this,7)};var mt=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(mt,n);mt.prototype.getRequestType=function(){return Zd(this,1)};mt.prototype.setRequestType=function(a){return mf(this,1,a)};var ekd=[0,Afc,99,[0,hv,vfc],[0],[0],[0,hv,-8],[0,hv],[0,hv,gv],xid,[0,hv],[0,hv,-1]];var fkd=function(){var a=new mt,b=new W7;this.experimentFlags_=t(a,W7,107,b)};fkd.prototype.getExperimentFlags=function(){return this.experimentFlags_};fkd.prototype.getExperimentIds=function(){return[]};var Y9b=function(a,b){this.cache=b;this.overriddenExperiments=r(a,W7,3)||new W7};Y9b.prototype.getExperiments=function(){var a,b=((a=this.cache.getExperimentFlags())==null?void 0:r(a,W7,107))||new W7;a=this.overriddenExperiments;Ce(a,3)&&(a=De(a,3),hf(b,3,a));return b};Y9b.prototype.getExperimentIds=function(){return this.cache.getExperimentIds()};var gkd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(gkd,n);g=gkd.prototype;g.getCacheStaleSec=function(){return Pd(this,4,14400)};g.getCacheExpiredSec=function(){return Pd(this,5,63158400)};g.getRpcTimeoutSec=function(){return Pd(this,7,60)};g.getApiKey=function(){return Oc(this,8)};g.setApiKey=function(a){return lf(this,8,a)};g.getEnableClearcut=function(){return De(this,13,!0)};g.setEnableClearcut=function(a){return hf(this,13,a)};var V9b=Nda(gkd);var U9b;var hkd=function(){};hkd.prototype.getExperimentFlags=function(){return new mt};hkd.prototype.getExperimentIds=function(){return[]};var wt=function(){};wt.prototype.prefetch=function(){};wt.prototype.loadExperiments=function(){return new hkd};var l8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(l8,n);l8.prototype.getVersion=function(){return Re(this,1)};l8.prototype.setVersion=function(a){return Ze(this,1,a)};l8.prototype.getVersionOrUndefined=function(){return Ob(Ke(this,1))};l8.prototype.getVersionOrUndefined_asString=function(){return Ru(this,1)};var m8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(m8,n);g=m8.prototype;g.getApplication=function(){return Zd(this,1)};g.setApplication=function(a){return mf(this,1,a)};g.getApplicationOrUndefined=function(){return $l(this,1)};g.getVersion=function(){return Re(this,2)};g.setVersion=function(a){return Ze(this,2,a)};g.getVersionOrUndefined=function(){return Ob(Ke(this,2))};g.getVersionOrUndefined_asString=function(){return Ru(this,2)};var ikd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ikd,n);g=ikd.prototype;g.getRequestType=function(){return Zd(this,1)};g.setRequestType=function(a){return mf(this,1,a)};g.getProfileId=function(){return Oc(this,2)};g.getProfileId_legacyNullable=function(){return xf(this,2)};g.setProfileId=function(a){return lf(this,2,a)};g.hasProfileId=function(){return Ge(this,2)};g.getCaller=function(){return r(this,l8,3)};g.setCaller=function(a){return t(this,l8,3,a)};
g.getInstanceId=function(){return Oc(this,4)};g.setInstanceId=function(a){return lf(this,4,a)};g.clearInstanceId=function(){Ou(this,4)};g.hasInstanceId=function(){return Ge(this,4)};g.getInstanceIdOrUndefined=function(){return Vu(this,4)};g.getClient=function(){return r(this,m8,5)};g.setClient=function(a){return t(this,m8,5,a)};g.hasClient=function(){return Me(this,m8,5)};var kt=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(kt,n);g=kt.prototype;g.getErrorType=function(){return Zd(this,2,1)};g.setErrorType=function(a){return mf(this,2,a)};g.hasErrorType=function(){return He(this,2)};g.getErrorMessage=function(){return Oc(this,3)};g.setErrorMessage=function(a){lf(this,3,a)};g.getStatusCode=function(){return Zd(this,4)};g.setStatusCode=function(a){mf(this,4,a)};g.hasStatusCode=function(){return He(this,4)};var f8b=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(f8b,n);g=f8b.prototype;g.getExperimentFlags=function(){return r(this,mt,1)};g.setExperimentFlags=function(a){return t(this,mt,1,a)};g.hasExperimentFlags=function(){return Me(this,mt,1)};g.getError=function(){return r(this,kt,2)};g.setError=function(a){t(this,kt,2,a)};g.hasError=function(){return Me(this,kt,2)};g.getSource=function(){return Zd(this,3)};g.setSource=function(a){return mf(this,3,a)};
g.hasSource=function(){return He(this,3)};g.getSourceOrUndefined=function(){return $l(this,3)};g.getInstanceId=function(){return Oc(this,4)};g.setInstanceId=function(a){return lf(this,4,a)};g.clearInstanceId=function(){Ou(this,4)};g.hasInstanceId=function(){return Ge(this,4)};g.getInstanceIdOrUndefined=function(){return Vu(this,4)};g.getExperimentIdsList=function(a){return Sd(this,5,Rd(a))};g.setExperimentIdsList=function(a){return tc(this,5,a,Ab)};g.getExperimentIds=function(){return Wu(this,5)};
g.setExperimentIds=function(a){Rec(this,5,a)};var L7b=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,J7b=/([#].*?&|[#])authuser=([^&#]*)\b/,K7b=/([?][^#]*?&|[?])authuser=([^&#]*)\b/;var jkd=function(a,b){this.client_=a;this.runtime_=b;R7b();this.apiKey_=a.getApiKey();this.apiRoot_=Oc(this.client_,10)||Q7b("peoplestackwebexperiments-pa",this.runtime_.getPeopleApiEnv())};jkd.prototype.getClient=function(){return this.client_};jkd.prototype.getApiKey=function(){return this.apiKey_};var n8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(n8,n);g=n8.prototype;g.getExperimentFlags=function(){return r(this,mt,1)};g.setExperimentFlags=function(a){return t(this,mt,1,a)};g.hasExperimentFlags=function(){return Me(this,mt,1)};g.getObfuscatedGaiaId=function(){return xf(this,2)};g.getObfuscatedGaiaId_legacyNullable=function(){return xf(this,2)};g.setObfuscatedGaiaId=function(a){return lf(this,2,a)};g.getExperimentIdsList=function(a){return Sd(this,3,Rd(a))};
g.setExperimentIdsList=function(a){return tc(this,3,a,Ab)};g.getExperimentIds=function(){return Wu(this,3)};g.setExperimentIds=function(a){Rec(this,3,a)};var kkd=Qc(n8);var lkd=[0,ekd,zfc,wfc];var mkd=function(a){var b=void 0;b=b===void 0?Date.now:b;this.clientConfig_=a;this.now_=b},nkd=function(a,b,c){a=a.now_()-c*1E3;return b>a};mkd.prototype.getCacheState=function(a){var b=this.clientConfig_.getClient();b=Pd(b,3,1800);if(nkd(this,a,b))return 1;b=this.clientConfig_.getClient().getCacheStaleSec();if(nkd(this,a,b))return 2;b=this.clientConfig_.getClient().getCacheExpiredSec();return nkd(this,a,b)?3:4};var okd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(okd,n);g=okd.prototype;g.getExperiments=function(){return r(this,n8,2)};g.setExperiments=function(a){return t(this,n8,2,a)};g.hasExperiments=function(){return Me(this,n8,2)};g.getInstanceId=function(){return Oc(this,4)};g.setInstanceId=function(a){return lf(this,4,a)};g.clearInstanceId=function(){Ou(this,4)};g.hasInstanceId=function(){return Ge(this,4)};g.getInstanceIdOrUndefined=function(){return Vu(this,4)};var pkd=[0,zfc,lkd,vfc,zfc];var qkd=Mda(okd,pkd),rkd=function(a){return function(b){var c=new lfc;Ida(b.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,c,Lc(a));return eba(mfc(c))}}(pkd);var o8=function(a,b){b=Error.call(this,b!=null?b:"{statusCode: "+a+"}");this.message=b.message;"stack"in b&&(this.stack=b.stack);this.statusCode=a;this.name="StatusCodeError";Object.setPrototypeOf(this,this.constructor.prototype)};Y(o8,Error);var lt=function(a,b,c){b=b===void 0?2:b;o8.call(this,b,c===void 0?"{errorType: "+a+", statusCode: "+b+"}":c);this.name="ExperimentsError";this.type=a};Y(lt,o8);var skd=new lt(6);var tkd=function(){};var p8=function(){};Lu(p8,tkd);p8.prototype.getCount=function(){for(var a=0,b=l(this),c=b.next();!c.done;c=b.next())a++;return a};p8.prototype[Symbol.iterator]=function(){return Otc(this.__iterator__(!0)).toEs6()};p8.prototype.clear=function(){var a=Array.from(this);a=l(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};Lu(V7b,p8);var k8b=function(a){if(a.cachedIsStorageAvailable_===null){var b=a.storage_;if(b)try{b.setItem("__sak","1");b.removeItem("__sak");var c=!0}catch(d){c=d instanceof DOMException&&(d.name==="QuotaExceededError"||d.code===22||d.code===1014||d.name==="NS_ERROR_DOM_QUOTA_REACHED")&&b&&b.length!==0}else c=!1;a.cachedIsStorageAvailable_=c}return a.cachedIsStorageAvailable_};g=V7b.prototype;
g.set=function(a,b){q8(this);try{this.storage_.setItem(a,b)}catch(c){if(this.storage_.length==0)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};g.get=function(a){q8(this);a=this.storage_.getItem(a);if(typeof a!=="string"&&a!==null)throw"Storage mechanism: Invalid value was encountered";return a};g.remove=function(a){q8(this);this.storage_.removeItem(a)};g.getCount=function(){q8(this);return this.storage_.length};
g.__iterator__=function(a){q8(this);var b=0,c=this.storage_,d=new lC;d.next=function(){if(b>=c.length)return Ntc;var e=c.key(b++);if(a)return{value:e,done:!1};e=c.getItem(e);if(typeof e!=="string")throw"Storage mechanism: Invalid value was encountered";return{value:e,done:!1}};return d};g.clear=function(){q8(this);this.storage_.clear()};g.key=function(a){q8(this);return this.storage_.key(a)};var q8=function(a){if(a.storage_==null)throw Error("If");k8b(a)||ea(Error("If"))};Lu(W7b,V7b);Lu(jt,p8);jt.prototype.set=function(a,b){this.mechanism_.set(this.prefix_+a,b)};jt.prototype.get=function(a){return this.mechanism_.get(this.prefix_+a)};jt.prototype.remove=function(a){this.mechanism_.remove(this.prefix_+a)};
jt.prototype.__iterator__=function(a){var b=this.mechanism_[Symbol.iterator](),c=this,d=new lC;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 X7b=["PeopleStackExperiments"],ukd=new Set([4,0]),l8b=function(a,b){b=b===void 0?new W7b:b;this.clientConfig_=a;this.transformer_=new mkd(this.clientConfig_);this.localStorage_=b;this.storage_=new jt(this.localStorage_,"pse/591286274")};l8b.prototype.set=function(a,b){var c=U7b(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw skd;var d=new okd;b=lf(d,1,c).setExperiments(b);d=Date.now();a=Ze(b,3,d).setInstanceId(a.getInstanceId());this.storage_.set(c,Eca(rkd(a)));return c};
l8b.prototype.get=function(a){a=U7b(a);if(!a)return null;a=this.storage_.get(a);if(!a)return null;a=vkd(a);if(a&&this.transformer_.getCacheState(pe(Re(a,3)))!==4){var b=this.transformer_,c;var d={keyPath:Oc(a,1),experiments:(c=a.getExperiments())!=null?c:new n8,lastUpdated:new Date(pe(Re(a,3))),state:b.getCacheState(pe(Re(a,3))),instanceId:a.getInstanceId()}}else d=null;return d};var vkd=function(a){if(!a)return null;try{return qkd(a)}catch(b){return null}};
l8b.prototype.delete=function(a){this.storage_.remove(a);return!0};
l8b.prototype.clean=function(){for(var a=[].concat(p(this.storage_)),b=l(a),c=b.next();!c.done;c=b.next()){c=c.value;var d=ukd,e=d.has,f;a:{if(c&&(f=vkd(this.storage_.get(c)))&&Qe(f,3)){f=this.transformer_.getCacheState(pe(Re(f,3)));break a}f=0}e.call(d,f)&&this.delete(c)}a:{if(a.length>10)try{this.storage_.set("__sak","1"),this.storage_.remove("__sak")}catch(h){if(h==="Storage mechanism: Quota exceeded"){a=!0;break a}}a=!1}a&&this.storage_.clear();a=l(Y7b(this.localStorage_));for(b=a.next();!b.done;b=
a.next())b.value.clear()};var m8b=function(a){var b=void 0;b=b===void 0?new Map:b;this.clientConfig_=a;this.transformer_=new mkd(this.clientConfig_);this.cache_=b};m8b.prototype.set=function(a,b){var c=U7b(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw skd;a={keyPath:c,experiments:b,lastUpdated:new Date,state:1,instanceId:a.getInstanceId()};this.cache_.set(c,a);return c};
m8b.prototype.get=function(a){a=U7b(a);if(!a)return null;a=this.cache_.get(a);if(!a)return null;var b=this.transformer_.getCacheState(a.lastUpdated.getTime());if(b===4)return null;a.state=b;return a};m8b.prototype.delete=function(a){this.cache_.delete(a);return!0};m8b.prototype.clean=function(){var a=this;this.cache_.forEach(function(b,c){a.transformer_.getCacheState(b.lastUpdated.getTime())===4&&a.cache_.delete(c)})};var wkd=function(){};g=wkd.prototype;g.start=function(){};g.stop=function(){};g.count=function(){};g.latency=function(){};g.error=function(){};g.status=function(){};g.logError=function(){};var xkd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(xkd,n);g=xkd.prototype;g.getCaller=function(){return r(this,l8,1)};g.setCaller=function(a){return t(this,l8,1,a)};g.getClient=function(){return r(this,m8,2)};g.setClient=function(a){return t(this,m8,2,a)};g.hasClient=function(){return Me(this,m8,2)};var ykd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ykd,n);g=ykd.prototype;g.getRequestType=function(){return Zd(this,1)};g.setRequestType=function(a){return mf(this,1,a)};g.setProperties=function(a){return t(this,xkd,3,a)};g.getInstanceId=function(){return Oc(this,4)};g.setInstanceId=function(a){return lf(this,4,a)};g.clearInstanceId=function(){Ou(this,4)};g.hasInstanceId=function(){return Ge(this,4)};g.getInstanceIdOrUndefined=function(){return Vu(this,4)};var zkd=new Dx("/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",ykd,n8,function(a){return a.serialize()},kkd);var Akd=function(a){this.client_=new rnc({format:"jspb"});this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};Akd.prototype.getExperimentFlags=function(a,b){return Yx(this.client_,this.hostname_+"/$rpc/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",a,b||{},zkd)};var Bkd=function(a,b){this.clientRequest_=a;this.rpcClient_=b;this.metric_=new wkd};Bkd.prototype.getMetric=function(){return this.metric_};Bkd.prototype.send=function(a){var b=this,c;return v(function(d){var e=(new xkd).setCaller(b.clientRequest_.getCaller()).setClient(b.clientRequest_.getClient());c=(new ykd).setRequestType(b.clientRequest_.getRequestType()).setInstanceId(b.clientRequest_.getInstanceIdOrUndefined()).setProperties(e);return d.return(b.rpcClient_.getExperimentFlags(c,a))})};
Bkd.prototype.close=function(){};Bkd.prototype.processResponse=function(a){return a};var Ckd=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 Dkd=function(a,b){o8.call(this,a,b===void 0?"RpcError ("+a+")":b)};Y(Dkd,o8);var Ekd=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var Fkd=function(a,b){this.config_=a;this.request_=b;this.resolver_=new Ekd;this.state_=0};g=Fkd.prototype;g.resultPromise=function(){return this.resolver_.promise};g.isPending=function(){return this.state_===1};g.cancel=function(){switch(this.state_){case 1:this.state_=2;this.onError_("CANCELLED");break;case 0:this.state_=3;var a=new Dkd(1,"CANCELLED");this.resolver_.reject(a.statusCode)}};
g.send=function(){var a=this;if(this.state_!==0)return this.resultPromise();var b=P7b(this.config_.apiKey);this.config_.customAuthHeaders&&(b=Object.assign({},b,this.config_.customAuthHeaders));this.state_=1;b=this.request_.send(b);c8b(b,this.config_.timeoutSec*1E3).finally(function(){a.state_=2}).then(function(c){a:{if(a.state_!==3)if(c){try{var d=a.request_.processResponse(c)}catch(e){a.onError_(e,2);c=void 0;break a}try{a.resolver_.resolve(d),a.request_.close(0)}finally{a.state_=3}}else a.onError_(c);
c=void 0}return c},function(c){return a.onError_(c)});return this.resultPromise()};
g.onError_=function(a,b){b=b===void 0?0:b;if(this.state_!==3){if(a==="TIMEOUT")a=new Dkd(4,"TIMEOUT");else if(a==="CANCELLED")a=new Dkd(1,"CANCELLED");else if(!(a instanceof o8)){var c=2;if(La(a)){var d;isFinite((d=a.code)!=null?d:NaN)&&(c=a.code);c===2&&(c=it("result.error.code",a)||a.status,c=Number(c),c=Ckd.has(c)?Ckd.get(c):c>=200&&c<300?0:c>=400&&c<500?9:c>=500&&c<600?13:2,c!==2||b||(b=(a.message||"").startsWith("Rpc failed due to xhr error.")?3:0,b===3&&(c=14)))}a=new Dkd(c)}try{var e=a instanceof
o8?a.statusCode:2;!this.config_.authErrorHandler||e!==16&&e!==7||this.config_.authErrorHandler();this.resolver_.reject(e);this.request_.close(e,b)}finally{this.state_=3}}};var Gkd=Symbol("Kf"),Hkd=function(){};Hkd.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[Gkd]=d)}return c})};var Ikd=function(a){this.request_=a;this.metric_=this.request_.getMetric();this.metric_.start("total");this.metric_.start("blocked");this.contentLength_=0};Ikd.prototype.getMetric=function(){return this.metric_};Ikd.prototype.send=function(a){this.metric_.stop("blocked");this.metric_.count();this.metric_.start("network");return this.request_.send(a)};
Ikd.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[Gkd]||0}};Ikd.prototype.close=function(a,b){b=b===void 0?0:b;this.request_.close(a,b);this.metric_.stop("total");this.metric_.status(a,b,this.contentLength_)};var Jkd=function(a){this.config_=a;this.pendingRpcs_=new Set},Lkd=function(a,b){b=new Ikd(b);b=new Fkd(a.config_,b);a.pendingRpcs_.add(b);Kkd(a,b);return b.resultPromise()},Kkd=function(a,b){v(function(c){if(c.nextAddress==1)return ei(c,2,3),w(c,b.send(),3);if(c.nextAddress!=2)return fi(c),a.pendingRpcs_.delete(b),hi(c,0);ii(c);return c.jumpTo(3)})};var i8b=function(a){this.clientConfig_=a;this.inflightRequests_=new Map;a={apiKey:this.clientConfig_.getApiKey(),timeoutSec:this.clientConfig_.getClient().getRpcTimeoutSec()};this.dispatcher_=new Jkd(a);this.rpcClient_=new Akd(this.clientConfig_.apiRoot_)},Nkd=function(a,b){var c,d,e,f,h;return v(function(k){switch(k.nextAddress){case 1:var q=Mkd(b);if(c=a.inflightRequests_.get(q)||null)return k.return(c);d=new Bkd(b,a.rpcClient_);ei(k,2,3);e=Lkd(a.dispatcher_,d);q=Mkd(b);a.inflightRequests_.set(q,
e);return w(k,e,5);case 5:return f=k.yieldResult,k.return(f);case 3:fi(k);q=Mkd(b);a.inflightRequests_.delete(q);hi(k,0);break;case 2:h=ii(k);if(Number.isFinite(h))throw new lt(7,h);throw new lt(7);}})},Mkd=function(a){a=T7b(a);if(!a)throw skd;return a};var Okd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Okd,n);var jcc=function(a){var b=new Okd;return lf(b,1,a)};g=Okd.prototype;g.getLogSource=function(){return Zd(this,2,-1)};g.setLogSource=function(a){return mf(this,2,a)};g.getApplication=function(){return Zd(this,3)};g.setApplication=function(a){return mf(this,3,a)};g.getApplicationOrUndefined=function(){return $l(this,3)};g.getVersion=function(){return Oc(this,4)};g.setVersion=function(a){return lf(this,4,a)};
g.getVersionOrUndefined=function(){return Vu(this,4)};g.getBaselineCl=function(){return Pd(this,5)};g.setBaselineCl=function(a){return jf(this,5,a)};g.hasBaselineCl=function(){return Fe(this,5)};g.getBaselineClOrUndefined=function(){return Uu(this,5)};g.getEnableClearcut=function(){return De(this,6)};g.setEnableClearcut=function(a){return hf(this,6,a)};var icc=function(a,b){return tc(a,7,b,Ab)};g=Okd.prototype;g.setClientAgent=function(a){return mf(this,8,a)};
g.getClientAgentOrUndefined=function(){return $l(this,8)};g.setEventSource=function(a){mf(this,9,a)};g.getEventSourceOrUndefined=function(){return $l(this,9)};g.setEventSourceId=function(a){jf(this,14,a)};g.getEventSourceIdOrUndefined=function(){return Uu(this,14)};g.getClearcutUrl=function(){return Oc(this,10)};g.setClearcutUrl=function(a){lf(this,10,a)};g.setEnvironment=function(a){return mf(this,11,a)};g.getEnvironmentOrUndefined=function(){return $l(this,11)};
g.getPeoplekitEntryPoint=function(){return Zd(this,12)};g.setPeoplekitEntryPoint=function(a){return mf(this,12,a)};g.getPeoplekitEntryPointOrUndefined=function(){return $l(this,12)};g.setSharekitEntryPoint=function(a){mf(this,13,a)};g.getSharekitEntryPointOrUndefined=function(){return $l(this,13)};var Pkd,Qkd=(Pkd=window)==null?void 0:Pkd.performance,Rkd,Skd=Qkd==null?void 0:(Rkd=Qkd.timing)==null?void 0:Rkd.navigationStart,DPc=Skd&&Qkd?function(){var a;return Skd+((a=Qkd==null?void 0:Qkd.now())!=null?a:0)}:function(){return Date.now()};var Tkd=function(a){this.start_=a;this.end_=NaN};Tkd.prototype.duration=function(){return this.end_-this.start_};Tkd.prototype.stop=function(a){this.end_=a;return this.duration()};var r8=function(a){var b=b===void 0?DPc:b;this.source_=a;this.nowFn_=b;this.durations_=new Map;this.lastLabel_="_"};r8.prototype.source=function(){return this.source_};var Ukd=function(a,b){b&&(a.lastLabel_=b);return a.lastLabel_};
r8.prototype.duration=function(a){a=Ukd(this,a===void 0?"":a);return this.durations_.has(a)?this.durations_.get(a).duration():NaN};var s8=function(a,b){return d8b(a.duration(b===void 0?"":b))};r8.prototype.toString=function(a,b){b=b===void 0?1:b;return this.duration(a===void 0?"":a).toFixed(b)};r8.prototype.start=function(a){a=a===void 0?"":a;var b=this.nowFn_();a=Ukd(this,a);this.durations_.set(a,new Tkd(b));return this};
r8.prototype.stop=function(a){a=a===void 0?"":a;var b=this.nowFn_();a=Ukd(this,a);this.durations_.has(a)&&this.durations_.get(a).stop(b);return this};r8.prototype.clear=function(){this.durations_.clear();return this};var Vkd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Vkd,n);var ccc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ccc,n);g=ccc.prototype;g.getQueryId=function(){return Zu(this,1)};g.setQueryId=function(a){return Ze(this,1,a)};g.setSelectionId=function(a){return Ze(this,2,a)};g.getInstanceId=function(){return xf(this,4)};g.setInstanceId=function(a){return lf(this,4,a)};g.clearInstanceId=function(){Ou(this,4)};g.hasInstanceId=function(){return Ge(this,4)};g.getInstanceIdOrUndefined=function(){return Vu(this,4)};
g.getAffinityVersion=function(){return Yu(this,5)};g.setAffinityVersion=function(a){jf(this,5,a)};g.getAffinityVersionOrUndefined=function(){return Uu(this,5)};var Wkd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Wkd,n);g=Wkd.prototype;g.getQueryLength=function(){return Yu(this,1)};g.setQueryLength=function(a){return jf(this,1,a)};g.hasQueryLength=function(){return Fe(this,1)};g.getQuery=function(){return xf(this,2)};g.setQuery=function(a){return lf(this,2,a)};g.clearQuery=function(){Ou(this,2)};g.hasQuery=function(){return Ge(this,2)};var Xkd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Xkd,n);Xkd.prototype.setLatencyUsec=function(a){jf(this,1,a)};var t8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(t8,n);g=t8.prototype;g.getColumn=function(){return Yu(this,2)};g.setColumn=function(a){return jf(this,2,a)};g.getType=function(){return ju(this,3)};g.setType=function(a){return mf(this,3,a)};g.hasType=function(){return He(this,3)};var u8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(u8,n);u8.prototype.getExistingSelectionsCount=function(){return Yu(this,1)};u8.prototype.setExistingSelectionsCount=function(a){jf(this,1,a)};u8.prototype.getPosition=function(){return r(this,t8,2)};u8.prototype.setPosition=function(a){return t(this,t8,2,a)};var v8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(v8,n);g=v8.prototype;g.setDevice=function(a){return mf(this,1,a)};g.getApplication=function(){return Zd(this,2)};g.setApplication=function(a){return mf(this,2,a)};g.getApplicationOrUndefined=function(){return $l(this,2)};g.setPlatform=function(a){mf(this,3,a)};var w8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(w8,n);g=w8.prototype;g.setEventSource=function(a){mf(this,2,a)};g.getEventSourceOrUndefined=function(){return $l(this,2)};g.setEventSourceId=function(a){jf(this,15,a)};g.getEventSourceIdOrUndefined=function(){return Uu(this,15)};g.getSocialClient=function(){return r(this,v8,3)};g.setSocialClient=function(a){return t(this,v8,3,a)};g.setVersionName=function(a){return lf(this,5,a)};
g.getBaselineCl=function(){return Zu(this,7)};g.setBaselineCl=function(a){return Ze(this,7,a)};g.hasBaselineCl=function(){return Qe(this,7)};g.getBaselineClOrUndefined=function(){return Ob(Ke(this,7))};g.setClientAgent=function(a){return mf(this,9,a)};g.getClientAgentOrUndefined=function(){return $l(this,9)};g.getPeoplekitEntryPoint=function(){return ju(this,11)};g.setPeoplekitEntryPoint=function(a){return mf(this,11,a)};g.getPeoplekitEntryPointOrUndefined=function(){return $l(this,11)};
g.setEnvironment=function(a){return mf(this,13,a)};g.getEnvironmentOrUndefined=function(){return $l(this,13)};g.setSharekitEntryPoint=function(a){mf(this,14,a)};g.getSharekitEntryPointOrUndefined=function(){return $l(this,14)};var x8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(x8,n);g=x8.prototype;g.getType=function(){return ju(this,5)};g.setType=function(a){return mf(this,5,a)};g.hasType=function(){return He(this,5)};g.getEmail=function(){return xf(this,1)};g.getEmail_legacyNullable=function(){return xf(this,1)};g.setEmail=function(a){return lf(this,1,a)};g.hasEmail=function(){return Ge(this,1)};g.getPhone=function(){return xf(this,2)};
g.getPhone_legacyNullable=function(){return xf(this,2)};g.setPhone=function(a){return lf(this,2,a)};g.getObfuscatedGaiaId=function(){return xf(this,3)};g.getObfuscatedGaiaId_legacyNullable=function(){return xf(this,3)};g.setObfuscatedGaiaId=function(a){return lf(this,3,a)};g.getContactId=function(){return Zu(this,4)};g.setContactId=function(a){return Ze(this,4,a)};g.getGroupId=function(){return xf(this,6)};g.setGroupId=function(a){lf(this,6,a)};g.hasGroupId=function(){return Ge(this,6)};var y8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(y8,n);y8.prototype.getName=function(){return xf(this,1)};y8.prototype.setName=function(a){return lf(this,1,a)};y8.prototype.hasName=function(){return Ge(this,1)};y8.prototype.getNameOrUndefined=function(){return Vu(this,1)};var z8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(z8,n);g=z8.prototype;g.getPosition=function(){return r(this,t8,1)};g.setPosition=function(a){return t(this,t8,1,a)};g.getProvenance=function(){return Pec(this,3)};g.setProvenance=function(a){return wc(this,3,xb,void 0,a,zb,void 0,1)};g.getIsBoosted=function(){return bu(this,6)};g.setIsBoosted=function(a){hf(this,6,a)};g.getIsPlaceholder=function(){return bu(this,7)};g.setIsPlaceholder=function(a){hf(this,7,a)};
g.getIsSelf=function(){return bu(this,11)};g.getQueryId=function(){return Zu(this,15)};g.setQueryId=function(a){return Ze(this,15,a)};g.setSelectionId=function(a){return Ze(this,16,a)};var Ykd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ykd,n);g=Ykd.prototype;g.getLoggingId=function(){return xf(this,1)};g.setLoggingId=function(a){lf(this,1,a)};g.getMetadata=function(){return r(this,z8,3)};g.getMutableMetadata=function(){return Pu(this,z8,3)};g.setMetadata=function(a){t(this,z8,3,a)};g.hasMetadata=function(){return Me(this,z8,3)};var A8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(A8,n);A8.prototype.getAffinityVersion=function(){return Yu(this,2)};A8.prototype.setAffinityVersion=function(a){jf(this,2,a)};A8.prototype.getAffinityVersionOrUndefined=function(){return Uu(this,2)};var Zkd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Zkd,n);g=Zkd.prototype;g.getEventType=function(){return ju(this,1)};g.getEventType_legacyNullable=function(){return ju(this,1)};g.setEventType=function(a){return mf(this,1,a)};g.getMetadata=function(){return r(this,A8,4)};g.getMutableMetadata=function(){return Pu(this,A8,4)};g.setMetadata=function(a){t(this,A8,4,a)};g.hasMetadata=function(){return Me(this,A8,4)};
g.getClientInterface=function(){return r(this,w8,5)};g.setClientInterface=function(a){return t(this,w8,5,a)};var $kd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y($kd,n);g=$kd.prototype;g.getInstanceId=function(){return Oc(this,1)};g.setInstanceId=function(a){return lf(this,1,a)};g.clearInstanceId=function(){Ou(this,1)};g.hasInstanceId=function(){return Ge(this,1)};g.getInstanceIdOrUndefined=function(){return Vu(this,1)};g.getRequestId=function(){return Oc(this,2)};g.getRequestType=function(){return Zd(this,4)};g.setRequestType=function(a){return mf(this,4,a)};
g.getSourceType=function(){return Zd(this,6)};g.setSourceType=function(a){return mf(this,6,a)};g.getClient=function(){return Zd(this,7)};g.setClient=function(a){return mf(this,7,a)};g.hasClient=function(){return He(this,7)};g.getErrorType=function(){return Zd(this,8)};g.setErrorType=function(a){return mf(this,8,a)};g.hasErrorType=function(){return He(this,8)};g.getStatusCode=function(){return Zd(this,10)};g.setStatusCode=function(a){mf(this,10,a)};g.hasStatusCode=function(){return He(this,10)};var j8b=function(a){var b=a.getClient();a=a.runtime_.getPeopleApiEnv();this.logContext_=jcc("PeopleExperiments").setEnvironment(a).setLogSource(1250).setVersion("1.0.1").setBaselineCl(819825842).setEnableClearcut(b.getEnableClearcut())};g=j8b.prototype;g.getLogContext=function(){return this.logContext_};g.createCountMetric=function(){throw Error("qf");};g.createStatusMetric=function(){throw Error("qf");};g.createErrorMetric=function(){throw Error("qf");};
g.createLatencyMetric=function(a,b){a=b.source();b=Math.round(b.duration()*1E3);Ze(a,3,b);return a};var ald=function(){return pa&&qa?!qa.mobile&&(ra("iPad")||ra("Android")||ra("Silk")):ra("iPad")||ra("Android")&&!ra("Mobile")||ra("Silk")};var Q9b=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Q9b,n);var P9b=function(a,b){return tc(a,3,b,Ab)};var bld=zr(function(a,b,c,d,e,f){f=f===void 0?"":f;a=new YD(a,b);f&&(a.destinationUrl=f);d&&$vc(a,function(){return P7b().Authorization});a.setProductID(e||109303191);if(c==null?0:c.length)c=P9b(new Q9b,c),a.setClearExperimentIds(c);return a.build()});var cld=function(a,b){this.clearcut_=a;this.logContextFactory_=b;this.device_=waa()||ra("iPod")?4:ra("iPad")?5:vaa()?ald()?3:2:(pa&&qa?qa.mobile:!ald()&&(ra("iPod")||ra("iPhone")||ra("Android")||ra("IEMobile")))||ald()?0:1},dld=function(a){var b=a.getLogContext(),c=null;if(b.getEnableClearcut()){var d,e;c=b.getLogSource();var f=M7b();var h=Sd(b,7,Rd($d));c=bld(c,f,h,(e=(d=xP.clearcut)==null?void 0:d.preferOauth)!=null?e:!1,Pd(b,15),b.getClearcutUrl())}return new cld(c,a)},eld=function(a){var b=a.logContextFactory_.getLogContext(),
c=new v8;c.setApplication(b.getApplicationOrUndefined());c.setDevice(a.device_);a=new w8;a.setSocialClient(c);a.setVersionName(b.getVersionOrUndefined());a.setClientAgent(b.getClientAgentOrUndefined());a.setEventSource(b.getEventSourceOrUndefined());a.setEventSourceId(b.getEventSourceIdOrUndefined());a.setEnvironment(b.getEnvironmentOrUndefined());a.setPeoplekitEntryPoint(b.getPeoplekitEntryPointOrUndefined());a.setSharekitEntryPoint(b.getSharekitEntryPointOrUndefined());b.hasBaselineCl()&&(b=Math.round(b.getBaselineCl()),
isFinite(b)&&a.setBaselineCl(b));return a},fld=function(a,b){var c=new SD;Kvc(c,b.serialize());a.clearcut_&&XD(a.clearcut_,c)};var gld=function(a,b){this.clearcut_=a;this.logEventFactory_=b},w9b=function(a){return new gld(dld(a),a)};gld.prototype.logError=function(a){var b=eld(this.clearcut_);(a=this.logEventFactory_.createErrorMetric(b,a))&&fld(this.clearcut_,a)};var v9b=function(a){this.clearcut_=a};g=v9b.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=b===void 0?1:b;var d=eld(c.clearcut_);(a=c.logEventFactory_.createCountMetric(d,a,b))&&fld(c.clearcut_,a);return this};g.status=function(a,b){var c=this.clearcut_,d=eld(c.clearcut_);(a=c.logEventFactory_.createStatusMetric(d,a,b))&&fld(c.clearcut_,a);return this};
g.latency=function(a){var b=this.clearcut_,c=eld(b.clearcut_);(a=b.logEventFactory_.createLatencyMetric(c,a))&&fld(b.clearcut_,a);return this};g.error=function(a){this.clearcut_.logError(a);return this};g.logError=function(){};g.logInfo=function(){return this};var B8=function(a,b){this.metrics_=a;this.state_=new r8(b);this.label_="total";this.source=b};B8.prototype.start=function(){this.metrics_.start(this.state_,this.label_)};B8.prototype.stop=function(){this.metrics_.stop(this.state_,this.label_);this.metrics_.latency(this.state_)};var n8b=function(a,b,c){this.worker_=a;this.metrics_=new v9b(w9b(b));this.runtimeConfig_=c},hld=function(a,b,c){var d,e,f=new $kd,h=R7b();f=lf(f,2,h).setRequestType(b.getRequestType());b=mf(f,5,c).setClient((e=(d=b.getClient())==null?void 0:d.getApplicationOrUndefined())!=null?e:0);return mf(b,9,a.runtimeConfig_.getPeopleApiEnv())},ild=function(a,b){b.setSourceType(a.getSourceOrUndefined());b.setInstanceId(a.getInstanceIdOrUndefined());a=a.getError();(a==null?0:a.hasErrorType())&&b.setErrorType(a.getErrorType());
(a==null?0:a.hasStatusCode())&&b.setStatusCode(a.getStatusCode())};n8b.prototype.updateExperimentsCache=function(a,b){b=b===void 0?2:b;var c=this,d,e,f;return v(function(h){if(h.nextAddress==1)return d=hld(c,a,b),e=new B8(c.metrics_,d),e.start(),w(h,c.worker_.updateExperimentsCache(a,b),2);f=h.yieldResult;ild(f,d);e.stop();return h.return(f)})};
n8b.prototype.getCachedExperiments=function(a,b){b=b===void 0?0:b;var c=hld(this,a,b),d=new B8(this.metrics_,c);d.start();a=this.worker_.getCachedExperiments(a,b);ild(a,c);d.stop();return a};var jld=function(a){this.timer=a;this.count=0},p8b=function(a,b){this.clientConfig_=a;this.worker_=b;this.refreshers_=new Map;a=this.clientConfig_.getClient();this.refreshRateMs_=Pd(a,11,14400)*1E3;this.eventHandler_=new Ps(this)};p8b.prototype.updateExperimentsCache=function(a,b){try{return kld(this,a),this.worker_.updateExperimentsCache(a,b)}catch(c){return Promise.resolve(g8b(c))}};p8b.prototype.getCachedExperiments=function(a,b){try{return kld(this,a),this.worker_.getCachedExperiments(a,b)}catch(c){return g8b(c)}};
var kld=function(a,b){var c=T7b(b);if(!c)throw new lt(6);if(a.refreshers_.has(c))a.refreshers_.get(c).count=0;else{var d=new aE(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=a.clientConfig_.getClient();f=Pd(f,12,18);e.count>=f&&(e.timer.stop(),a.refreshers_.delete(c))}});d.start();a.refreshers_.set(c,new jld(d))}a.refreshers_.get(c)};var lld=function(){},o8b=function(a,b){this.cache_=a;this.loader_=b};
o8b.prototype.updateExperimentsCache=function(a,b){var c=this,d,e,f,h;return v(function(k){if(k.nextAddress==1){e=d=null;try{d=mld(c,a)}catch(D){e=D}if(d&&d.state!==3)return k.return(c.getCachedExperiments(a,b));ei(k,3);return w(k,nld(c,a),5)}if(k.nextAddress!=3){f=k.yieldResult;var q=k.return,u=f,A=e;A=A===void 0?null:A;u=(new f8b).setExperimentFlags(u.getExperimentFlags()).setExperimentIdsList(u.getExperimentIdsList()).setSource(1).setInstanceId(a.getInstanceIdOrUndefined());A&&u.setError(e8b(A));
return q.call(k,u)}h=ii(k);return k.return(g8b(h))})};o8b.prototype.getCachedExperiments=function(a){try{var b=mld(this,a);if(b){var c=(new f8b).setExperimentFlags(b.experiments.getExperimentFlags()).setExperimentIdsList(b.experiments.getExperimentIdsList()).setInstanceId(b.instanceId).setSource(2);b.state!==1&&nld(this,a).catch(lld);return c}nld(this,a).catch(lld);return g8b()}catch(d){return g8b(d)}};
var mld=function(a,b){try{var c=a.cache_.get(b);return c&&c.experiments.hasExperimentFlags()?c:null}catch(d){if(d instanceof lt)throw d;throw new lt(3);}},nld=function(a,b){var c,d;return v(function(e){if(e.nextAddress==1)return ei(e,2),b.hasInstanceId()||b.setInstanceId(R7b()),w(e,Nkd(a.loader_,b),4);if(e.nextAddress!=2)return c=e.yieldResult,a.cache_.set(b,c),e.return(c);d=ii(e);if(d instanceof lt)throw d;throw new lt(2);})};var h8b;var old=function(a){this.clientConfig_=a;this.worker_=q8b(this.clientConfig_)};old.prototype.getCachedExperiments=function(a){return this.worker_.getCachedExperiments(a,0)};var X9b=function(){this.peopleApiEnv_=4};X9b.prototype.getPeopleApiEnv=function(){return this.peopleApiEnv_};X9b.prototype.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};var pld=function(a,b){this.client_=a;this.request_=b;this.response_=null};pld.prototype.getExperimentFlags=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentFlags()};pld.prototype.getExperimentIds=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentIdsList($d)};var W9b=function(a,b){this.clientConfig_=a;this.requestType_=b;this.version_=819825842};W9b.prototype.prefetch=function(a){var b=new jkd(this.clientConfig_,new X9b);a=qld(this,a,"");q8b(b).updateExperimentsCache(a,2)};W9b.prototype.loadExperiments=function(a,b,c){var d=new jkd(this.clientConfig_,b),e=qld(this,a,c);q8b(d).updateExperimentsCache(e,2);b=new jkd(this.clientConfig_,b);b=new old(b);a=qld(this,a,c);return new pld(b,a)};
var qld=function(a,b,c){var d=(new l8).setVersion(a.version_);b=(new m8).setApplication(b);return(new ikd).setProfileId(c).setRequestType(a.requestType_).setCaller(d).setClient(b)};var t8b=new Y9b(new X7,new fkd);var u8b=et.getInstance();var v8b=et.getInstance();var rld=new So(lN.WEEKDAY_MONTH_DAY_MEDIUM),sld=new So(7);new So(lN.WEEKDAY_MONTH_DAY_MEDIUM);var tld=new Map([[0,2],[1,1],[2,3],[3,4],[4,2],[5,5]]);var uld=function(a){var b=a.iconUrl,c=a.altText,d=a.persistentText,e=a.styleClass,f=a.fontIcon,h=a.customTagClass,k=a.tooltipLabel;a=Lt();e=h||e;h=k?"tt-c"+Fjd++:"";e=Kt(a,'<div class="'+Gt("peoplekitComponentsTagTag")+" "+(e?Gt(e):"")+'" peoplekit-id="'+Gt("mQXP")+'"'+(h?' data-tooltip-id="'+Gt(h)+'" aria-labelledby="'+Gt(h)+'"':"")+">");b8(b)||b8(f)?(h=Lt(),b=b8(b)?'<img class="'+Gt("peoplekitComponentsTagIcon")+'" src="'+Gt(ejd(b))+'" alt="'+Gt(c)+'">':b8(f)?'<span class="google-symbols '+Gt("peoplekitComponentsTagIcon")+
'">'+Ht(f)+"</span>":"",b=Jt(b),c=Kt(Mt(h,b),"<div"+(d?"":' class="'+Gt("peoplekitComponentsTagUnrollingAltText")+'"')+'><div class="'+Gt("peoplekitComponentsTagText")+'">'+Ht(c)+"</div></div>")):c='<div class="'+Gt("peoplekitComponentsTagText")+'">'+Ht(c)+"</div>";Kt(Mt(e,c),"</div>");return a};var vld=function(a,b){a:switch(a.style||0){case 1:var c="isWarning";break a;default:c=""}this.tagElement=Ls(uld,Object.assign({},a,{styleClass:c}));a.tooltipLabel&&(c=this.tagElement.getAttribute("data-tooltip-id")||"",this.tooltip=D6b(b,c,{label:a.tooltipLabel}),H6b(this.tooltip,this.tagElement))};vld.prototype.getRoot=function(){return this.tagElement};vld.prototype.dispose=function(){this.tooltip&&Cjd(this.tooltip.tooltipEventTracker)};var C8=function(a,b,c,d,e,f,h){var k=this;this.root=a;this.avatar=e;this.features=f;this.popupsContainer=h;this.isIntelligenceInitialized=this.isOutOfOffice=!1;this.tags=[];wld(this,{tags:d});Q6b(a,b.getPrimaryTarget());c.getResultDecorationConfigRequestCallback()(b,function(q){wld(k,q)})};g=C8.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.unspotlight=function(){};g.getRoot=function(){return this.root};g.getSelection=function(){throw Error("Hf");};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};
g.updateWaldo=function(a){if(this.getSupportedIntelligenceFeatures().includes(1)){var b=Ms(this.root,"Z306Oe");if(this.isOutOfOffice=a.getCurrentStatus()===4){if(a.getCurrentStatus()!==4)throw Error("Lf");var c=c!=null?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 "+sld.format(c):"Out of office - back on "+rld.format(c);Dgc(b,String(c));this.root.classList.add("isOutOfOffice")}else Dgc(b,
""),this.root.classList.remove("isOutOfOffice")}};g.updateHubAvailabilityDot=function(a){this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:tld.get(a.getType()||0)||2})};g.getSupportedIntelligenceFeatures=function(){return this.features};g.addTag=function(a){var b=Ms(this.root,"x00ATb"),c=this.popupsContainer.get("jGsbz");a=new vld(a,c);this.tags.push(a);b.appendChild(a.getRoot())};
g.setMetaIcon=function(a){var b=D5b(this.root,"SC3Htd")[0];b&&(b.src=a.iconUrl,b.alt=a.altText)};var wld=function(a,b){for(var c=l(b.tags||[]),d=c.next();!d.done;d=c.next())a.addTag(d.value);b.metaIcon&&a.setMetaIcon(b.metaIcon)};C8.prototype.initializeIntelligence=function(){this.isIntelligenceInitialized||(this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:2}),this.isIntelligenceInitialized=!0)};C8.prototype.dispose=function(){this.tags.forEach(function(a){a.dispose()})};var xld=function(a,b,c,d){this.loggingToken=d;this.lookupWithOverride=L$b(K$b(a).setDisplayName(b),c)};xld.prototype.getLoggingToken=function(){return this.loggingToken};var yld=function(){};yld.prototype.getDisplayNameMatches=function(){return[]};yld.prototype.getDisplayValueMatches=function(){return[]};yld.prototype.getGivenNameMatches=function(){return[]};var zld=new yld;var x8b=function(a,b,c){this.resultType_=a;this.targets_=b;this.memberCount_=c};g=x8b.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("Mf");};g.getDisplayName=function(){return""};g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};
g.getIsBoosted=function(){return!1};g.getMatchInfo=function(){return zld};g.getExtendedData=function(){return null};var Ald=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],[17,1],[18,7],[19,7]]);var Bld=function(a){this.id_=a;this.value_=this.id_.getOriginalValue();this.description_=this.canonicalValue_="";this.name_=null;this.photo_=Vt(this.id_)?IPc:HPc;this.tags_=[];this.sourceIds_=Acc.includes(this.id_.getType())?[this.id_]:[];this.id_.getType()===8&&this.sourceIds_.push(Aac(this.id_.getOriginalValue()));this.isMe_=this.id_.getType()===17;this.dataSource_=0;this.resultType_=Ald.get(this.id_.getType())||0;this.personLoggingId_=this.fieldLoggingId_="";this.orgState_=0;this.extendedData_=
this.reachabilityInfo_=this.originatingField_=this.emailSecurityInfo_=null};g=Bld.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_=nt(a);return this};g.getDisplayValue=function(){switch(this.getTargetType()){case 8:var a=this.getOriginatingField();return nt(a&&a.getValue());case 1:case 2:case 6:case 7:return this.getValue();default:return""}};
g.getCanonicalValue=function(){return this.canonicalValue_||this.value_};g.setCanonicalValue=function(a){this.canonicalValue_=nt(a);return this};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_=nt(a);return this};g.getPhoto=function(){return this.photo_};g.setPhoto=function(a){a&&a.getUrl()&&a.getType()!==1?this.photo_=a:this.photo_=Vt(this.id_)?IPc:HPc};
g.getTagList=function(){return this.tags_};g.setTagList=function(a){this.tags_=a||[]};g.getSourceIdList=function(){return this.sourceIds_};g.getProfileId=function(){return this.getSourceIdList().filter(function(a){return a.getType()===3}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};g.getContactId=function(){return this.getSourceIdList().filter(function(a){return a.getType()===4}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};g.getLoggingToken=function(){return new pu};
g.getIsMe=function(){return this.isMe_};g.setIsMe=function(a){this.isMe_=a;return this};g.getDataSource=function(){return this.dataSource_};g.setDataSource=function(a){this.dataSource_=a;return this};g.getResultType=function(){return this.resultType_};g.setResultType=function(a){this.resultType_=a;return this};g.getFieldLoggingId=function(){return this.fieldLoggingId_};g.setFieldLoggingId=function(a){this.fieldLoggingId_=nt(a)};g.getPersonLoggingId=function(){return this.personLoggingId_};
g.setPersonLoggingId=function(a){this.personLoggingId_=nt(a)};g.getOrgState=function(){return this.orgState_};g.setOrgState=function(a){this.orgState_=a};g.getOriginatingField=function(){return this.originatingField_};var hbc=function(a,b){a.originatingField_=b;return a};g=Bld.prototype;g.getEmailSecurityInfo=function(){return this.emailSecurityInfo_};g.setEmailSecurityInfo=function(a){this.emailSecurityInfo_=a};g.getReachabilityInfo=function(){return this.reachabilityInfo_};
g.setReachabilityInfo=function(a){this.reachabilityInfo_=a};g.getExtendedData=function(){return this.extendedData_};g.setExtendedData=function(a){this.extendedData_=a};var mu=function(a){return new Bld(a)};var z8b=function(a,b,c,d){this.internalId=a;this.displayNameOverride=b;this.forceDisplayNameOverride=c;a=mu(this.internalId).setDataSource(3);this.internalResult=Qq(y8b(0,[a]));this.internalSelectionToken=new xld(this.internalId,this.displayNameOverride,this.forceDisplayNameOverride,d)};g=z8b.prototype;g.id=function(){return this.internalId};g.selectionToken=function(){return this.internalSelectionToken};g.result=function(){return this.internalResult};g.getDisplayNameOverride=function(){return this.displayNameOverride};
g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};g.getDisplayNameWithOverrideApplied=function(){return this.displayNameOverride};g.isPlaceholder=function(){return!0};var Cld=function(a,b,c,d,e,f){this.delegate=new C8(a,b,c,d,e,[2],f);this.id=b.getPrimaryTarget().getId();this.selection=A8b($t)};Y(Cld,h8);Cld.prototype.getAllIds=function(){return[this.id]};Cld.prototype.getSelection=function(){return this.selection};var Dld=function(a,b,c,d,e,f,h,k){d=d===void 0?"":d;e=e===void 0?!1:e;return Kt(Mt(Kt(Mt(Kt(Mt(Kt(Lt(),'<div role="option" class="'+Gt("peoplekitComponentsResultlistitemResultListItem")+" "+Gt(d)+'" id="'+Gt(a)+'" peoplekit-id="'+Gt(a)+'" aria-disabled="'+Gt(e)+'" aria-selected="false"><div class="'+Gt("peoplekitComponentsResultlistitemResultListItemRow")+'"><div class="'+Gt("peoplekitComponentsResultlistitemLeft")+'" data-hovercard-id="'+Gt(b)+'" data-name="'+Gt(Nt(c))+'">'),Ht(f)),'</div><div class="'+
Gt("peoplekitComponentsResultlistitemCenter")+'">'),Ht(h)),'</div><div class="'+Gt("peoplekitComponentsResultlistitemRight")+'" peoplekit-id="'+Gt("QChpEe")+'">'),Ht(k)),'</div></div><div peoplekit-id="'+Gt("Z306Oe")+'" class="'+Gt("peoplekitComponentsResultlistitemOutOfOffice")+'"></div></div>')},Eld=function(a,b,c){return Jt('<div class="'+Gt("peoplekitComponentsResultlistitemLabelContainer")+'"><div class="'+Gt("peoplekitComponentsResultlistitemLabel")+" "+Gt("peoplekitComponentsResultlistitemLabelRow")+
'"><div class="'+Gt("peoplekitComponentsResultlistitemLabelText")+'" data-name="'+Gt(Nt(a))+'" translate="no">'+C$b(Nt(a))+'</div><div peoplekit-id="'+Gt("x00ATb")+'" class="'+Gt("peoplekitComponentsResultlistitemTags")+'"></div></div>'+(b?'<div class="'+Gt("peoplekitComponentsResultlistitemSublabel")+" "+Gt("peoplekitComponentsResultlistitemLabelRow")+'"><div class="'+Gt("peoplekitComponentsResultlistitemSublabelText")+'" data-name="'+Gt(Nt(a))+'"'+(c?"":' translate="no"')+">"+C$b(Nt(b))+"</div></div>":
"")+"</div>")},Fld=function(a){return Kt(Mt(Kt(Lt(),'<div class="'+Gt("peoplekitComponentsResultlistitemAvatar")+'"><div class="'+Gt("peoplekitComponentsResultlistitemAvatarContainer")+'" peoplekit-id="'+Gt("d6MZcd")+'"></div>'),b8(a)?Ht(a):""),"</div>")},Gld=function(){var a=Lt(),b=Kt(Lt(),'<div class="'+Gt("peoplekitComponentsResultlistitemAvatarSelectionOverlay")+'"><div class="'+Gt("peoplekitComponentsResultlistitemWhiteCheck")+'">');var c=Jt('<svg viewBox="0 0 24 24" class="'+(Gt("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 Mt(a,Fld(Kt(Mt(b,c),"</div></div>")))},Hld=function(){return Jt('<img class="'+Gt("peoplekitComponentsResultlistitemMetaIcon")+'" peoplekit-id="'+Gt("SC3Htd")+'" alt="" src=""/>')};var Ild=function(a){var b=a.id,c=a.hovercardId,d=a.label,e=a.sublabel,f=a.densityClass,h=a.disableReason;a=a.allowSublabelTranslation;return Mt(Lt(),Dld(b,c,d,"isDisabled "+f,!0,Mt(Lt(),Fld()),Mt(Lt(),Eld(d,e,a)),Kt(Mt(Kt(Lt(),'<div class="'+Gt("peoplekitComponentsResultlistitemDisabledDisableReasonContainer")+'">'),Ht(h)),"</div>")))},Jld=function(){var a=Lt(),b='<div class="'+Gt("peoplekitComponentsResultlistitemDisabledIconIndicator")+'" aria-label="';a=Kt(a,b+Gt(". Already selected")+'">');b=
Jt('<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" class="'+(Gt("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>'));return Kt(Mt(a,b),"</div>")};var C8b=function(a){this.delegate=a;var b=this;this.eventHandler=Qs(this);this.eventHandler.listen(this.getRoot(),"click",function(c){b.onClick(c)})};Y(C8b,h8);C8b.prototype.onClick=function(){this.toggleSelection()};var E8b=function(a,b,c,d){this.internalResult=a;this.displayNameOverride=b;this.forceDisplayNameOverride=c;a=this.internalResult.getTargetList()[0];if(!a)throw new RangeError("Nf");this.target=a;d=d||this.target.getLoggingToken();a=this.target.getId();this.internalSelectionToken=new xld(a,this.displayNameOverride,this.forceDisplayNameOverride,d)};g=E8b.prototype;g.id=function(){return this.target.getId()};g.selectionToken=function(){return this.internalSelectionToken};g.result=function(){return this.internalResult};
g.getDisplayNameOverride=function(){return this.displayNameOverride};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 Kld=function(a){this.groupLoggingToken=a.getPrimaryTarget().getLoggingToken();this.explodedMembers=a.getMemberList().map(function(b){return F8b(b)})};Kld.prototype.getLoggingToken=function(){return this.groupLoggingToken};var Lld=function(a,b,c,d,e,f,h){this.delegate=new C8(a,b,d,e,f,[],h);this.root=a;this.result=b;this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=A8b($t)};Y(Lld,h8);Lld.prototype.getAllIds=function(){return[this.id]};Lld.prototype.toggleSelection=function(){var a=new Kld(this.result);this.selectionsState.selectExplodingGroup(a,1);this.root.dispatchEvent($5b("pcw-select",this.root))};Lld.prototype.getSelection=function(){return this.selection};var Mld=function(a){var b=a.id,c=a.hovercardId,d=a.label,e=a.sublabel,f=a.densityClass;a=a.allowSublabelTranslation;return Mt(Lt(),Dld(b,c,d,f,void 0,Mt(Lt(),Fld()),Mt(Lt(),Eld(d,e,a)),Mt(Lt(),Hld())))};var Old=function(a,b){this.delegate=a;var c=this;this.selectionsState=b;this.id=a.getAllIds()[0];b.get(this.id)&&Nld(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){Nld(c,d)};D8(this.selectionsState,this.onDeselectionCallback);E8(this.selectionsState,this.onSelectionCallback)};Y(Old,h8);
Old.prototype.toggleSelection=function(){if(this.selectionsState.get(this.id)){var a=this.getRoot();a=$5b("pcw-deselect",a)}else a=this.getRoot(),a=$5b("pcw-select",a);this.getRoot().dispatchEvent(a);this.selectionsState.toggle(this.getSelection(),1)};var Nld=function(a,b){b.id().equals(a.id)&&(a.getRoot().classList.add("isSelected"),a.getRoot().setAttribute("aria-selected","true"))};Old.prototype.dispose=function(){this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback)};var Pld=function(a,b,c,d,e,f,h,k){this.delegate=new C8(a,b,d,e,f,[2],k);this.selectionsState=c;this.clientConfig=h;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||F8b(b,b.getDisplayName())};Y(Pld,h8);Pld.prototype.onContextMenu=function(a,b){De(this.clientConfig.internal,7)&&a.preventDefault();return h8.prototype.onContextMenu.call(this,a,b)};Pld.prototype.getAllIds=function(){return[this.id]};Pld.prototype.getSelection=function(){return this.selection};var Qld=function(a){var b=a.id,c=a.hovercardId,d=a.label,e=a.sublabel,f=a.densityClass;a=a.allowSublabelTranslation;return Mt(Lt(),Dld(b,c,d,f,void 0,Mt(Lt(),Gld()),Mt(Lt(),Eld(d,e,a)),Mt(Lt(),Hld())))};var Rld=function(a,b,c,d,e,f,h,k){this.delegate=new C8(a,b,d,e,f,[],k);this.selectionsState=c;this.clientConfig=h;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||F8b(b)};Y(Rld,h8);Rld.prototype.onContextMenu=function(a,b){De(this.clientConfig.internal,7)&&a.preventDefault();return h8.prototype.onContextMenu.call(this,a,b)};Rld.prototype.getAllIds=function(){return[this.id]};Rld.prototype.getSelection=function(){return this.selection};var Sld=function(a){var b=a.id,c=a.hovercardId,d=a.label,e=a.sublabel,f=a.densityClass;a=a.allowSublabelTranslation;return Mt(Lt(),Dld(b,c,d,f,void 0,Mt(Lt(),Gld()),Mt(Lt(),Eld(d,e,a)),Mt(Lt(),Hld())))};ct.addCoreFactory({type:0,factory:{create:function(a){var b=a.result,c=a.resultConfig,d=a.resultCustomizationConfig,e=a.appearanceConfig,f=a.selectionsState,h=a.clientConfig,k=a.popupsContainer;a=s8b(a);var q=Ls(Qld,a);at({element:q,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[G8b(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var u=Ms(q,"d6MZcd"),A=H7b(e.getDensity()),D;d=(D=d.backupAvatarUrl)!=null?D:"";e=Ns(u,a.photos,A,A,e,d);b=new Pld(q,b,f,c,a.tags,
e,h,k);return D8b(new Old(b,f))},shouldCreate:function(){return!0}},configurationKey:void 0});
ct.addCoreFactory({type:1,factory:{create:function(a){var b=B8b(a),c=a.result,d=a.resultConfig,e=a.appearanceConfig,f=a.resultCustomizationConfig,h=a.popupsContainer,k=c.getPrimaryTarget().getId();a=Vt(k)||xPc(k)?w8b(a):s8b(a);k=Object;var q=k.assign;a:switch(b){case 1:var u=Jld();break a;case 2:u=f.showSelectedIndicatorForDisabled?Jld():Jt("");break a;default:u='<div class="'+Gt("peoplekitComponentsResultlistitemDisabledTextIndicator")+'">',u=Jt(u+"DISABLED</div>")}k=Ls(Ild,q.call(k,{},a,{disableReason:u}));
(b===1||b===2&&f.showSelectedIndicatorForDisabled)&&k.setAttribute("aria-selected","true");b=Ms(k,"d6MZcd");q=H7b(e.getDensity());var A;f=(A=f.backupAvatarUrl)!=null?A:"";e=Ns(b,a.photos,q,q,e,f);return new Cld(k,c,d,a.tags,e,h)},shouldCreate:function(a){return B8b(a)!==0}},configurationKey:void 0});
ct.addCoreFactory({type:2,factory:{create:function(a){var b=a.result,c=a.resultConfig,d=a.appearanceConfig,e=a.resultCustomizationConfig,f=a.clientConfig,h=a.selectionsState,k=a.popupsContainer;a=w8b(a);var q=Ls(Sld,a);at({element:q,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[G8b(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var u=Ms(q,"d6MZcd"),A=H7b(d.getDensity()),D;e=(D=e.backupAvatarUrl)!=null?D:"";d=Ns(u,a.photos,A,A,d,e);b=new Rld(q,b,h,c,a.tags,
d,f,k);return D8b(new Old(b,h))},shouldCreate:function(a){return Vt(a.result.getPrimaryTarget().getId())}},configurationKey:void 0});
ct.addCoreFactory({type:3,factory:{create:function(a){var b=a.result,c=a.resultConfig,d=a.resultCustomizationConfig,e=a.appearanceConfig,f=a.selectionsState,h=a.popupsContainer;a=w8b(a);var k=Ls(Mld,a);at({element:k,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[G8b(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var q=Ms(k,"d6MZcd"),u=H7b(e.getDensity()),A;d=(A=d.backupAvatarUrl)!=null?A:"";e=Ns(q,a.photos,u,u,e,d);return D8b(new Lld(k,b,f,c,a.tags,e,h))},
shouldCreate:function(a){return xPc(a.result.getPrimaryTarget().getId())}},configurationKey:void 0});var H8b=function(a,b,c,d,e,f,h,k,q){this.selectionsState=a;this.resultConfig=b;this.injectableResultConfig=c;this.appearanceConfig=d;this.clientConfig=e;this.isRightToLeft=f;this.interactions=h;this.ariaParent=k;this.popupsContainer=q};
H8b.prototype.create=function(a,b){var c=this.selectionsState,d=this.resultConfig,e=this.appearanceConfig,f=this.clientConfig,h=this.isRightToLeft(),k=this.interactions,q=this.injectableResultConfig,u=this.resultConfig.getResultCustomizationCallback()(a,b);q=l(q.resultCustomizationDecorators);for(var A=q.next();!A.done;A=q.next())A=A.value,A=A(u,a,b),u=Object.assign({},u,A);a={result:a,selectionsState:c,resultConfig:d,appearanceConfig:e,clientConfig:f,isRightToLeft:h,interactions:k,resultCustomizationConfig:u,
ariaParent:this.ariaParent,popupsContainer:this.popupsContainer,contextMenuConfigurator:this.injectableResultConfig.contextMenuConfigurator};b=y5b(this.clientConfig);return S6b(ct,b).create(a)};var J8b=function(a,b,c,d,e,f,h,k,q,u,A){var D=this;this.list=a;this.resultConfig=b;this.injectableResultConfig=c;this.appearanceConfig=d;this.clientConfig=e;this.selectionsState=f;this.interactions=h;this.ariaParent=q;this.popupsContainer=u;this.grouping=A;this.navigatable=h7b(new Njd({shouldWrap:!0}));this.intelligentComponentCollection=k.create();this.sectionController=G7b(this.list,this.navigatable,this.intelligentComponentCollection,this.appearanceConfig,I8b(this.selectionsState,this.resultConfig,
this.injectableResultConfig,this.appearanceConfig,this.clientConfig,function(){return Ts(D.list.getRoot())},this.interactions,this.ariaParent,this.popupsContainer),this.grouping)};g=J8b.prototype;g.append=function(a,b){this.sectionController.append(a,b)};g.clear=function(){this.sectionController.clear();this.popupsContainer.clear()};g.reset=function(a){this.sectionController.reset(a)};g.getNavigatable=function(){return this.navigatable};g.getResultListItems=function(){return this.sectionController.getItems()};
g.done=function(){this.sectionController.done()};var S8b=function(a,b,c){this.delegate=a;this.interactions=b;this.health=c};g=S8b.prototype;g.append=function(a,b){try{for(var c=l(a),d=c.next();!d.done;d=c.next()){var e=d.value;this.delegate.append([e],b);this.interactions.display(e)}}catch(f){throw this.health.createError(3,pt(f)),f;}};g.clear=function(){try{this.delegate.clear()}catch(a){throw this.health.createError(4,pt(a)),a;}};g.reset=function(a){try{this.delegate.reset(a)}catch(b){throw this.health.createError(5,pt(b)),b;}};
g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getResultListItems=function(){return this.delegate.getResultListItems()};g.done=function(){this.delegate.done()};var R8b=function(a){a=a.header;return Jt('<div peoplekit-id="'+Gt("aittld")+'">'+(a.length>0?'<div class="'+Gt("peoplekitUiResultlistHeader")+'">'+Ht(a)+"</div>":"")+'<div peoplekit-id="'+Gt("tjneg")+'"></div></div>')};var Kac=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Kac,n);var Lac=new iv(417869137,cu,Kac);var Tld=function(){return"Google makes suggestions based on your interactions."};var Uld=function(a){this.labels=a;this.isSuggest=!1;this.hiddenSuggestionsLabel=Jt("Hidden suggestions").toString();a={infoType:1,infoDialogHeader:"How suggestions work",learnMoreMessage:Tld(),learnMoreUrl:L8b(),learnMoreLinkText:"Learn more about suggestions."};var b={};this.groupConfigs=(b.CUSTOM={headerText:this.labels.custom},b.SUGGEST={headerText:this.labels.suggest,infoGroupConfig:a},b.SEARCH={headerText:this.labels.search,infoGroupConfig:a},b.HIDDEN={headerText:this.hiddenSuggestionsLabel,
collapsibleGroupConfig:{isInitiallyCollapsed:!0}},b)};Uld.prototype.getGroupId=function(a){if(a.getResultType()===7)var b="CUSTOM";else{if(this.isSuggest)a="SUGGEST";else{var c;a=((b=a.getExtendedData())==null?void 0:(c=b.getExtension(Lac))==null?void 0:$l(c,1))===1?"HIDDEN":"SEARCH"}b=a}return b};Uld.prototype.reset=function(a){this.isSuggest=!a.trim()};var M8b=[Uld];var O8b=function(){this.isSuggest=!1;var a={infoType:1,infoDialogHeader:"How suggestions work",learnMoreMessage:Tld(),learnMoreUrl:L8b(),learnMoreLinkText:"Learn more about suggestions."},b={};this.groupConfigs=(b.SUGGEST={headerText:"Suggestions",infoGroupConfig:a},b.SEARCH={headerText:"Search Results",infoGroupConfig:a},b)};O8b.prototype.getGroupId=function(a){return a.getResultType()===7?"CUSTOM":this.isSuggest?"SUGGEST":"SEARCH"};O8b.prototype.reset=function(a){this.isSuggest=!a.trim()};var P8b=function(a){this.label=a;a={};this.groupConfigs=(a.directory={headerText:this.label},a.non_directory={},a)};P8b.prototype.getGroupId=function(a){return a.getTargetList().some(function(b){return b.getDataSource()!==2})?"non_directory":"directory"};P8b.prototype.reset=function(){};var Q8b=function(a){this.label=a;a={};this.groupConfigs=(a.suggestions={headerText:this.label},a)};Q8b.prototype.getGroupId=function(a){return a.getResultType()!==7?"suggestions":"non_suggestions"};Q8b.prototype.reset=function(){};var qt=function(a,b){this.ariaParent=a;this.delegate=b};g=qt.prototype;g.update=function(){var a=this.getSpotlitItem();a?(a=a.getRoot(),AL(this.ariaParent,a)):AL(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.activateAll=function(){this.delegate.activateAll()};g.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};g.getActiveItems=function(){return this.delegate.getActiveItems()};g.getItem=function(a){return this.delegate.getItem(a)};g.getIndexOf=function(a){return this.delegate.getIndexOf(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 Vld=function(a,b){qt.call(this,a,b)};Y(Vld,qt);Vld.prototype.onKeyDown=function(a){if(a.event.keyCode===9){var b=this.getSpotlitItem();if(b){b=b.getRoot();var c=this.ariaParent;var d=cKc(c,"activedescendant");c=Ws(c).getElementById(d);(d=b.querySelector('[id="'+(b.id+'-2ab"]')))?AL(this.ariaParent,c===d?b:d):W8b(b)&&(b=Array.from(b.querySelectorAll('[class~="TdcT2c"]')),c=c?b.indexOf(c):-1,c!==-1&&AL(this.ariaParent,b[(c+1)%b.length]))}}qt.prototype.onKeyDown.call(this,a)};
Vld.prototype.next=function(a){a=qt.prototype.next.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),W8b(b)&&Wld(this,b));return a};Vld.prototype.prev=function(a){a=qt.prototype.prev.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),W8b(b)&&Wld(this,b));return a};var Wld=function(a,b){(b=b.querySelector('[class~="TdcT2c"]'))&&AL(a.ariaParent,b)};var St=function(a){this.event=a;this.hasStoppedPropagationInternal=!1};St.prototype.stopPropagation=function(){this.event.stopPropagation();this.hasStoppedPropagationInternal=!0};St.prototype.preventDefault=function(){this.event.preventDefault()};var X8b=function(a,b){this.input=this.navigatable=null;this.prevKeyCode=a.getPrevKeyCode();this.nextKeyCode=a.getNextKeyCode();this.navigatePastEndCallback=a.navigatePastEnd||function(){};this.options=Object.assign({},{shouldReactToHomeEnd:!0},b);this.eventHandler=Qs(this)};g=X8b.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 St(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(new St(d))});this.eventHandler.listen(this.input,"blur",function(d){return c.onBlur(d)})};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 this.nextKeyCode:this.navigatable.next(0)||this.navigatePastEndCallback();a.stopPropagation();a.preventDefault();break;case this.prevKeyCode:this.navigatable.prev(0);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 Xld=new Kx;Xld.altKey=!0;Xld.keyCode=39;(new Kx).keyCode=13;var Yld=function(){Ix.call(this)};Y(Yld,Ix);Yld.prototype.init=function(){};new Yld;var Zld=da.URL,$ld;try{new Zld("http://example.com"),$ld=!0}catch(a){$ld=!1}
var amd=$ld,bmd=function(a){var b=function(c){return encodeURIComponent(c).replace(/[!()~']|(%20)/g,function(d){return{"!":"%21","(":"%28",")":"%29","%20":"+","'":"%27","~":"%7E"}[d]})};return Array.from(a,function(c){return b(c[0])+"="+b(c[1])}).join("&")},dmd=function(a){var b=mr(document,"A");try{hea(b,new $c(a));var c=b.protocol}catch(e){throw Error("Rf`"+a);}if(c===""||c===":"||c[c.length-1]!=":")throw Error("Rf`"+a);if(!cmd.has(c))throw Error("Rf`"+a);if(!b.hostname)throw Error("Rf`"+a);var d=
b.href;a={href:d,protocol:b.protocol,username:"",password:"",hostname:b.hostname,pathname:"/"+b.pathname,search:b.search,hash:b.hash,toString:function(){return d}};cmd.get(b.protocol)===b.port?(a.host=a.hostname,a.port="",a.origin=a.protocol+"//"+a.hostname):(a.host=b.host,a.port=b.port,a.origin=a.protocol+"//"+a.hostname+":"+a.port);return a},emd=function(a){if(amd){try{var b=new Zld(a)}catch(d){throw Error("Rf`"+a);}var c=cmd.get(b.protocol);if(!c)throw Error("Rf`"+a);if(!b.hostname)throw Error("Rf`"+
a);b.origin=="null"&&(a={href:b.href,protocol:b.protocol,username:"",password:"",host:b.host,port:b.port,hostname:b.hostname,pathname:b.pathname,search:b.search,hash:b.hash},a.origin=c===b.port?b.protocol+"//"+b.hostname:b.protocol+"//"+b.hostname+":"+b.port,b=a)}else b=dmd(a);return b},cmd=new Map([["http:","80"],["https:","443"],["ws:","80"],["wss:","443"],["ftp:","21"]]),fmd=function(a){var b=emd("https://contacts.google.com"),c={};b&&(c.protocol=b.protocol,c.username=b.username,c.password=b.password,
c.hostname=b.hostname,c.port=b.port,c.pathname=b.pathname,c.search=b.search,c.hash=b.hash);Object.assign(c,a);if(c.port&&c.port[0]===":")throw Error("Sf");c.hash&&c.hash[0]!="#"&&(c.hash="#"+c.hash);a.search?a.search[0]!="?"&&(c.search="?"+a.search):a.searchParams&&(c.search="?"+bmd(a.searchParams),c.searchParams=void 0);a="";c.protocol&&(a+=c.protocol+"//");b=c.username;var d=c.password;a=a+(b&&d?b+":"+d+"@":b?b+"@":d?":"+d+"@":"")+(c.hostname||"");c.port&&(a+=":"+c.port);a+=c.pathname||"";a+=c.search||
"";a+=c.hash||"";return emd(a)};var zu=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(zu,n);var F8=function(a,b){return hf(a,1,b)};g=zu.prototype;g.getProvenance=function(){return Zd(this,2)};g.setProvenance=function(a){return mf(this,2,a)};g.getCode=function(){return Zd(this,3)};g.setCode=function(a){return mf(this,3,a)};g.getCodeOrUndefined=function(){return $l(this,3)};var G8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(G8,n);G8.prototype.getSource=function(){return r(this,zu,1)};G8.prototype.setSource=function(a){return t(this,zu,1,a)};G8.prototype.hasSource=function(){return Me(this,zu,1)};G8.prototype.getSourceOrUndefined=function(){return Lec(this,zu,1)};var H8=function(a,b){return mf(a,2,b)},I8=function(a,b){return mf(a,3,b)};var J8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(J8,n);g=J8.prototype;g.getQuery=function(){return Oc(this,1)};g.setQuery=function(a){return lf(this,1,a)};g.clearQuery=function(){Ou(this,1)};g.hasQuery=function(){return Ge(this,1)};g.getIsFirstCallback=function(){return De(this,2)};g.setIsFirstCallback=function(a){return hf(this,2,a)};g.getIsLastCallback=function(){return De(this,3)};g.setIsLastCallback=function(a){return hf(this,3,a)};
g.setCallbackNumber=function(a){return jf(this,4,a)};g.getNextPageToken=function(){return Oc(this,5)};g.getCode=function(){return Zd(this,6,2)};g.setCode=function(a){return mf(this,6,a)};g.getCodeOrUndefined=function(){return $l(this,6)};g.getCacheState=function(){return r(this,G8,7)};g.setCacheState=function(a){return t(this,G8,7,a)};g.hasCacheState=function(){return Me(this,G8,7)};var a9b=function(a,b,c,d,e,f,h,k){this.root=a;this.navigationInput=b;this.resultList=c;this.session=d;this.health=e;this.config=f;this.noResultsMessage=h;this.clientConfig=k;this.attached=!1;this.resultsLoadingCompleteListeners=[];this.inputFocusListeners=[];this.inputBlurListeners=[];this.navigatable=new Vld(this.navigationInput,this.resultList.getNavigatable());this.navigatable.setSecondaryEventTargets([this]);this.navigationEventHandler=Y8b({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},
{shouldReactToHomeEnd:!1});this.eventHandler=Qs(this);P6b(this.root,0)};g=a9b.prototype;
g.search=function(a,b,c,d){var e=this;this.currentSearchState={query:a,anchor:b,showSuggestions:c,listener:d};this.resultList.reset(a);this.resultList.clear();this.root.classList.remove("noResults");this.showLoadingIndicator();P6b(this.root,1);if(a){var f=gmd(this.health);f.start();this.session.search(a,function(k){e.update(k,d,f,!0)})}else if(c){var h=gmd(this.health);h.start();this.session.suggest(function(k){e.update(k,d,h,!1)})}};g.focus=function(){var a;(a=this.navigationInput)==null||a.focus()};
g.hasFocus=function(){return this.navigationInput===this.navigationInput.ownerDocument.activeElement};g.refresh=function(){if(this.currentSearchState){var a=this.currentSearchState;this.search(a.query,a.anchor,a.showSuggestions,a.listener)}return!!this.currentSearchState};
g.attach=function(){var a=this;this.attached||(this.attached=!0,this.navigationEventHandler.attach(this.navigationInput,this.navigatable),this.eventHandler.listen(this.root,"mousedown",function(b){b.preventDefault();b.stopPropagation()}),De(this.clientConfig.internal,9)&&this.eventHandler.listen(this.root,"contextmenu",function(b){var c=a.navigatable.getItem(b.target);c&&(a.navigatable.getSpotlitItem()!==c&&a.navigatable.goToItem(c,0),a.navigatable.onContextMenu(new St(b),function(){}))}),this.eventHandler.listen(this.navigationInput,
"focus",function(b){b={event:b};for(var c=l(a.inputFocusListeners),d=c.next();!d.done;d=c.next())d=d.value,d(b)}),this.eventHandler.listen(this.navigationInput,"blur",function(b){b={event:b};for(var c=l(a.inputBlurListeners),d=c.next();!d.done;d=c.next())d=d.value,d(b)}))};g.detach=function(){this.attached=!1;this.navigatable.reset();this.navigationEventHandler.detach();this.eventHandler.removeAll();this.session.cancel();P6b(this.root,0)};g.isShown=function(){return!0};g.canHide=function(){return!1};
g.dispose=function(){this.detach();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};
g.update=function(a,b,c,d){this.hideLoadingIndicator();var e=a.getResults();a=a.getMetadata();var f=a.getQuery(),h=a.getIsLastCallback();this.resultList.append(e,{query:f});h&&this.resultList.done();e=this.resultList.getResultListItems();this.attach();var k=!1;e.length>0||this.navigatable.size()?(k=!0,this.root.classList.remove("noResults")):h&&(k=this.noResultsMessage.update({query:f}),this.root.classList.add("noResults"));b({count:e.length,hasContent:k});(d&&this.config.getAutoActivateFirstSearchResult()||
!d&&this.config.getAutoActivateFirstSuggestion())&&!this.navigatable.getSpotlitItem()&&(e.length?this.navigatable.goToItem(e[0],0):this.navigatable.size()&&this.navigatable.goToIndex(0,0));h?(P6b(this.root,a.getCode()===0?2:3,a.getCode()),b={query:f,resultCount:e.length,results:e.map(function(q){return q.getSelection().result()})},hmd(this,b)):P6b(this.root,4);c.stop()};
g.onKeyDown=function(a){var b=a.event.keyCode===9&&!a.event.shiftKey,c=a.event.keyCode===13;if(De(this.clientConfig.internal,9)&&U8b(a)){if(a.preventDefault(),a.stopPropagation(),this.navigatable.getSpotlitItem())this.navigatable.onContextMenu(a,function(){})}else if(c||b&&this.config.getUseTabForResultSelection()){if(b=this.navigatable.getActiveItems(),b.length){b=l(b);for(c=b.next();!c.done;c=b.next())c.value.toggleSelection();a.preventDefault();a.stopPropagation()}}else a.event.keyCode!==40||this.navigatable.getSpotlitItem()||
(b=this.resultList.getResultListItems(),b.length&&(this.navigatable.goToItem(b[0],0),a.preventDefault(),a.stopPropagation()))};g.getNavigatable=function(){return this.navigatable};g.getRoot=function(){return this.root};var hmd=function(a,b){a=l(a.resultsLoadingCompleteListeners);for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};a9b.prototype.showLoadingIndicator=function(){this.getRoot().classList.add("isLoading")};a9b.prototype.hideLoadingIndicator=function(){this.getRoot().classList.remove("isLoading")};var imd=function(a){return Kt(Mt(Kt(Lt(),'<div tabindex="-1" class="'+Gt("peoplekitComponentsScrollboxScrollbar")+'" peoplekit-id="'+Gt("I8ejUe")+'">'),Ht(a)),"</div>")};var f9b=function(){var a=Kt(Mt(Kt(Lt(),'<div class="'+Gt("peoplekitComponentsAutocompleteInlineContainer")+'" peoplekit-id="'+Gt("yDHfq")+'"><div class="'+Gt("peoplekitComponentsAutocompleteInlineListContainer")+'">'),imd(Jt('<div peoplekit-id="'+Gt("tjneg")+'"></div>'))),'</div><div class="'+Gt("peoplekitComponentsAutocompleteInlineCircularProgress")+'">');var b='<div class="'+Gt("peoplekitComponentsCircularprogressCircularProgress")+(" "+Gt("isActive"))+'" data-loadingmessage="'+Gt("Loading...")+
'" data-active="true"'+(b8()?Zid(a8(void 0,Jid)?(void 0).getContent():jjd()):"")+'><div class="'+Gt("peoplekitComponentsCircularprogressMessageContainer")+'" aria-live="polite" jsname="'+Gt("vyyg5")+'">'+Ht("Loading...")+'</div><div class="'+Gt("peoplekitComponentsCircularprogressCircularProgressContainer")+'"><div class="'+Gt("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+Gt("peoplekitComponentsCircularprogressColorOne")+" "+Gt("exportColorOne")+'"><div class="'+Gt("peoplekitComponentsCircularprogressCircleClipper")+
" "+Gt("peoplekitComponentsCircularprogressLeft")+'"><div class="'+Gt("peoplekitComponentsCircularprogressCircle")+" "+Gt("exportCircle")+'"></div></div><div class="'+Gt("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+Gt("peoplekitComponentsCircularprogressCircle")+" "+Gt("exportCircle")+'"></div></div><div class="'+Gt("peoplekitComponentsCircularprogressCircleClipper")+" "+Gt("peoplekitComponentsCircularprogressRight")+'"><div class="'+Gt("peoplekitComponentsCircularprogressCircle")+
" "+Gt("exportCircle")+'"></div></div></div><div class="'+Gt("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+Gt("peoplekitComponentsCircularprogressColorTwo")+" "+Gt("exportColorTwo")+'"><div class="'+Gt("peoplekitComponentsCircularprogressCircleClipper")+" "+Gt("peoplekitComponentsCircularprogressLeft")+'"><div class="'+Gt("peoplekitComponentsCircularprogressCircle")+" "+Gt("exportCircle")+'"></div></div><div class="'+Gt("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+
Gt("peoplekitComponentsCircularprogressCircle")+" "+Gt("exportCircle")+'"></div></div><div class="'+Gt("peoplekitComponentsCircularprogressCircleClipper")+" "+Gt("peoplekitComponentsCircularprogressRight")+'"><div class="'+Gt("peoplekitComponentsCircularprogressCircle")+" "+Gt("exportCircle")+'"></div></div></div><div class="'+Gt("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+Gt("peoplekitComponentsCircularprogressColorThree")+" "+Gt("exportColorThree")+'"><div class="'+Gt("peoplekitComponentsCircularprogressCircleClipper")+
" "+Gt("peoplekitComponentsCircularprogressLeft")+'"><div class="'+Gt("peoplekitComponentsCircularprogressCircle")+" "+Gt("exportCircle")+'"></div></div><div class="'+Gt("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+Gt("peoplekitComponentsCircularprogressCircle")+" "+Gt("exportCircle")+'"></div></div><div class="'+Gt("peoplekitComponentsCircularprogressCircleClipper")+" "+Gt("peoplekitComponentsCircularprogressRight")+'"><div class="'+Gt("peoplekitComponentsCircularprogressCircle")+
" "+Gt("exportCircle")+'"></div></div></div><div class="'+Gt("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+Gt("peoplekitComponentsCircularprogressColorFour")+" "+Gt("exportColorFour")+'"><div class="'+Gt("peoplekitComponentsCircularprogressCircleClipper")+" "+Gt("peoplekitComponentsCircularprogressLeft")+'"><div class="'+Gt("peoplekitComponentsCircularprogressCircle")+" "+Gt("exportCircle")+'"></div></div><div class="'+Gt("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+
Gt("peoplekitComponentsCircularprogressCircle")+" "+Gt("exportCircle")+'"></div></div><div class="'+Gt("peoplekitComponentsCircularprogressCircleClipper")+" "+Gt("peoplekitComponentsCircularprogressRight")+'"><div class="'+Gt("peoplekitComponentsCircularprogressCircle")+" "+Gt("exportCircle")+'"></div></div></div></div></div>';b=Jt(b);return Kt(Mt(a,b),'</div><div peoplekit-id="'+Gt("i2HSVe")+'"></div></div>')},h9b=function(){return Jt('<div class="'+Gt("peoplekitComponentsAutocompleteInlineNoResultsContainer")+
'"></div>')};var c9b=function(a){a=a||{};var b=a.primaryMessage,c=a.contextMessage,d=a.learnMoreUrl,e=a.urlText;a=a.jsname;a='<div class="'+Gt("peoplekitComponentsNoResultsMessageNoResultsMessage")+'"'+(a?' jsname="'+Gt(a)+'"':"")+'><p class="'+Gt("peoplekitComponentsNoResultsMessageHeader")+'">';a=b?a+Ht(b):a+"No results";a+="</p>";if(c||d)a+='<p class="'+Gt("peoplekitComponentsNoResultsMessageExplanation")+'">'+(c?Ht(c)+(d?" ":""):""),d&&(a+='<a jsname="'+Gt("viORvd")+'" class="'+Gt("peoplekitComponentsNoResultsMessageLearnMoreLink")+
'" target="_blank" href="'+Gt(It(d))+'">',a=e?a+Ht(e):a+"Learn more",a+="</a>"),a+="</p>";return Jt(a+"</div>")};var i9b=function(a,b){this.parent=a;this.config=b};i9b.prototype.update=function(a){this.root&&this.root.remove();a=this.config.display(a);if(!a)return!1;this.root=Ls(c9b,a);this.parent.appendChild(this.root);return!0};var j9b=function(){};j9b.prototype.update=function(){return!1};var d9b=function(){};d9b.prototype.update=function(){return!0};var jmd=function(){return Jt('<div peoplekit-id="'+Gt("i2HSVe")+'"></div>')},kmd=function(a){return Jt('<div peoplekit-id="'+Gt(a.id)+'"></div>')};var g9b=function(a){this.parent=a;this.root=Ls(jmd);this.parent.appendChild(this.root)};g9b.prototype.get=function(a){if(D5b(this.root,a).length===0){var b=Ls(kmd,{id:a});this.root.appendChild(b)}return Ms(this.root,a)};g9b.prototype.clear=function(){this.root.replaceChildren()};g9b.prototype.dispose=function(){this.root.remove()};g9b.prototype.getRoot=function(){return this.root};T6b.addCoreFactory({type:0,factory:{create:function(a){return{injectableResultConfig:a.injectableResultConfig,injectableAutocompleteGrouping:a.injectableAutocompleteGrouping}},shouldCreate:function(){return!0}},configurationKey:void 0});var m9b=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=z6b(this.root,{moveAboveAnchorIfOffscreen:this.config.getMoveAutocompleteAboveAnchorIfOffscreen()});this.inlineAutocomplete.getNavigatable().setSecondaryEventTargets([this.inlineAutocomplete,this]);this.eventHandler=Qs(this);this.onSelectionCallback=function(){f.onSelect()};this.onSelectionAttemptedCallback=function(){f.onSelectAttempt()};
this.attach()};g=m9b.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;E8(this.selectionsState,this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.add(this.onSelectionAttemptedCallback,2);this.eventHandler.listen(this.root,"mouseover",function(b){Date.now()-a.lastShowTime<100&&(b.preventDefault(),b.stopPropagation())})};g.onSelect=function(){this.hide()};
g.onSelectAttempt=function(){this.hide()};g.onKeyDown=function(a){this.isShown()&&a.event.keyCode===27&&(this.hide(),a.preventDefault(),a.stopPropagation())};g.detach=function(){this.hide()};g.isShown=function(){return this.popup.isShown()};g.canHide=function(){return!0};
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.hasFocus=function(){return this.inlineAutocomplete.hasFocus()};
g.focus=function(){this.inlineAutocomplete.focus()};g.refresh=function(){return this.inlineAutocomplete.refresh()};g.showLoadingIndicator=function(){this.inlineAutocomplete.showLoadingIndicator()};g.hideLoadingIndicator=function(){this.inlineAutocomplete.hideLoadingIndicator()};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("Ff`"+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("Ff`"+c);}}this.root.style.width=NU(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("Ff`"+a);}this.root.style.maxHeight=this.config.getAutocompleteMaxResultsBeforeScroll()*a+"px";this.popup.show(this.anchor)};g.hide=function(){this.popup.hide();this.navigationInput.setAttribute("aria-expanded","false");this.inlineAutocomplete.detach()};var l9b=function(){return Jt('<div class="'+Gt("peoplekitComponentsAutocompletePopupContainer")+'" peoplekit-id="'+Gt("noeiCf")+'" style="display: none;"></div>')};var lmd=function(){this.batches=new Map};lmd.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 o9b=function(a,b){this.service=a;this.resolveComponents=b};
o9b.prototype.update=function(a){var b=this;a=l([].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=l(d.features);for(var e=d.next();!e.done;e=d.next())switch(e.value){case 1:c=c.withWaldo(function(f){mmd(b,f.values,function(h,k,q){q.updateWaldo(k,h)})});break;case 2:c=c.withHubAvailabilityDot(function(f){mmd(b,f.values,function(h,k,q){q.updateHubAvailabilityDot(k,h)})})}c.execute()}}};
var mmd=function(a,b,c){b=l(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;for(var e=d.getLookupId(),f=l(a.resolveComponents(e)),h=f.next();!h.done;h=f.next())c(e,d,h.value)}};var nmd=new Set([1,3,20]),omd=function(a){var b=this;this.idToComponent=new Map;this.updater=p9b(a,function(c){return b.resolveComponents(c)})};g=omd.prototype;
g.append=function(a){var b=a.filter(function(f){return f.getAllIds().some(function(h){return nmd.has(h.getType())})});a=[];b=l(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;c.initializeIntelligence();for(var d=l(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){a=l(a);for(var b=a.next(),c={};!b.done;c={component$jscomp$145:void 0},b=a.next()){c.component$jscomp$145=b.value;b=l(c.component$jscomp$145.getAllIds());for(var d=b.next();!d.done;d=b.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.component$jscomp$145}}(c)))}}};g.resolveComponents=function(a){return this.idToComponent.get(String(a))||[]};
g.refresh=function(a){var b=new lmd;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.resolveComponents(c);d=l(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 pmd=function(){};pmd.prototype.append=function(){};pmd.prototype.remove=function(){};pmd.prototype.refresh=function(){};pmd.prototype.clear=function(){};var c$b=function(a){this.peopleIntelligence=a};c$b.prototype.create=function(){return this.peopleIntelligence?new omd(this.peopleIntelligence):new pmd};var qmd=Object.freeze(new Map([[5,1]]));var rmd=function(){this.entryPoint_=0};rmd.prototype.getPeoplekitEntryPoint=function(){return this.entryPoint_};rmd.prototype.setPeoplekitEntryPoint=function(a){this.entryPoint_=a;return this};rmd.prototype.serialize=function(){return[this.entryPoint_].toString()};var smd=Object.freeze(new rmd);var tmd=function(){this.originator_=0};tmd.prototype.setOriginator=function(a){this.originator_=a;return this};tmd.prototype.getOriginator=function(){return this.originator_};var s9b=function(a,b,c){var d=this;this.reporter=a.getReporter((new rmd).setPeoplekitEntryPoint(c));E8(b,function(e,f,h){d.select(e,h)},0);D8(b,function(e,f,h){d.deselect(e,h)},0);umd(b,function(e,f,h,k){d.replace(e,k)},0);vmd(b,function(e,f){d.selectExplodingGroup(e,f)})};s9b.prototype.display=function(a){this.reporter.reportDisplay(q9b(a.getTargetList()))};s9b.prototype.select=function(a,b){a.isPlaceholder()||wmd(this,rt([a]),b)};
s9b.prototype.selectExplodingGroup=function(a,b){wmd(this,[a.getLoggingToken()],b)};var wmd=function(a,b,c){switch(c){case 1:case 12:case 5:a.reporter.reportSelect(b,(new tmd).setOriginator(qmd.get(c)||0));break;case 6:a.reporter.reportExternalSelect(b)}};g=s9b.prototype;g.deselect=function(a,b){if(!a.isPlaceholder())switch(b){case 7:case 8:case 1:this.reporter.reportDeselect(rt([a]))}};g.dismiss=function(a){this.reporter.reportDismiss(rt(a))};g.save=function(a){this.reporter.reportSave(rt(a))};
g.send=function(a){this.reporter.reportSend(rt(a))};g.replace=function(a,b){switch(b){case 5:case 6:this.select(a,b)}};var xmd=function(){this.isBatchingInternal=!1;this.timerId=this.lastBatchTime=0};xmd.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=Yq(function(){b.isBatchingInternal=!1;a()},d>100?0:100)}};xmd.prototype.cancel=function(){da.clearTimeout(this.timerId);this.isBatchingInternal=!1};var e$b=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 xmd;E8(this.selectionsState,function(){h.notifySelectionChanged(!1)});D8(this.selectionsState,function(){h.notifySelectionChanged(!0)})};g=e$b.prototype;
g.search=function(a,b){this.config.getClearSelectionsOnSearch()&&this.selectionsState.clear();var c=!1;this.autocomplete.search(a,b,this.config.getShowSuggestions(),function(d){d.count>0&&!c&&(c=!0)})};g.select=function(a){this.selectionsState.select(a)};g.deselect=function(a){this.selectionsState.deselect(a)};g.isShown=function(){return this.autocomplete.isShown()};g.report=function(a){var b=b===void 0?[]:b;b=b.length?b:this.selectionsState.asArray();r9b(this.interactions,a,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()};g.subscribeToSelectionChanged=function(a){this.selectionChangedListeners.push({listener:a,listenToDeselections:!1})};
g.notifySelectionChanged=function(a){var b=this;this.selectionChangedAutoBatcher.call(function(){for(var c=b.selectionsState.asArray(),d=l(b.selectionChangedListeners),e=d.next();!e.done;e=d.next()){var f=e.value;e=f.listener;f=f.listenToDeselections;a&&!f||e(c,a)}})};var b$b=function(a){a=a||{};a=a.classes;return Jt('<div peoplekit-id="'+Gt("nVhUhf")+'"'+(a?' class="'+Gt(a)+'"':"")+"></div>")};var ymd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ymd,n);g=ymd.prototype;g.getClientId=function(){return Zd(this,1)};g.setClientId=function(a){return mf(this,1,a)};g.getEntryPoint=function(){return Zd(this,5)};g.setEntryPoint=function(a){return mf(this,5,a)};g.getSocialClient=function(){return r(this,v8,2)};g.setSocialClient=function(a){return t(this,v8,2,a)};g.setVersionName=function(a){return lf(this,3,a)};g.getBaselineCl=function(){return Re(this,4)};
g.setBaselineCl=function(a){return Ze(this,4,a)};g.hasBaselineCl=function(){return Qe(this,4)};g.getBaselineClOrUndefined=function(){return Ob(Ke(this,4))};g.getComponentFlow=function(){return Zd(this,7)};g.setComponentFlow=function(a){return mf(this,7,a)};var K8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(K8,n);var L8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(L8,n);L8.prototype.getLabel=function(){return Zd(this,1)};L8.prototype.setLabel=function(a){return mf(this,1,a)};L8.prototype.hasLabel=function(){return He(this,1)};L8.prototype.setCause=function(a){mf(this,2,a)};var zmd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(zmd,n);g=zmd.prototype;g.getLabel=function(){return Zd(this,1)};g.setLabel=function(a){return mf(this,1,a)};g.hasLabel=function(){return He(this,1)};g.getValue=function(){return Re(this,2,ib(1))};g.setValue=function(a){return Ze(this,2,a)};g.hasValue=function(){return Qe(this,2)};var M8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(M8,n);M8.prototype.getLabel=function(){return Oc(this,1)};M8.prototype.setLabel=function(a){return lf(this,1,a)};M8.prototype.hasLabel=function(){return Ge(this,1)};M8.prototype.setCause=function(a){lf(this,2,a)};var N8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(N8,n);N8.prototype.getLabel=function(){return Zd(this,1)};N8.prototype.setLabel=function(a){return mf(this,1,a)};N8.prototype.hasLabel=function(){return He(this,1)};N8.prototype.setLatencyUsec=function(a){Ze(this,2,a)};var Amd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Amd,n);Amd.prototype.getInterfaceType=function(){return Zd(this,1)};Amd.prototype.setInterfaceType=function(a){return mf(this,1,a)};var Bmd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Bmd,n);g=Bmd.prototype;g.getCount=function(){return r(this,zmd,3)};g.getMutableCount=function(){return Pu(this,zmd,3)};g.setCount=function(a){return t(this,zmd,3,a)};g.getMutableLatency=function(){return Pu(this,N8,4)};g.setLatency=function(a){t(this,N8,4,a)};g.getError=function(){return r(this,M8,5)};g.setError=function(a){t(this,M8,5,a)};g.hasError=function(){return Me(this,M8,5)};var Cmd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Cmd,n);Cmd.prototype.setElementIndex=function(a){jf(this,2,a)};Cmd.prototype.setUserAction=function(a){return mf(this,4,a)};var Dmd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Dmd,n);g=Dmd.prototype;g.getClientInterface=function(){return r(this,ymd,3)};g.setClientInterface=function(a){return t(this,ymd,3,a)};g.getMetadata=function(){return r(this,K8,4)};g.getMutableMetadata=function(){return Pu(this,K8,4)};g.setMetadata=function(a){t(this,K8,4,a)};g.hasMetadata=function(){return Me(this,K8,4)};var u9b=function(a,b){this.entryPoint=b;this.logContext=icc(jcc("peoplekit.health").setLogSource(624).setApplication(a.getSocialApplicationOrUndefined()).setEnvironment(0).setVersion("1.0").setBaselineCl(819825842).setEnableClearcut(a.getEnableClearcut()),t8b.getExperimentIds());this.clientId=a.getClientId();this.componentFlow=a.getComponentFlow()};g=u9b.prototype;g.getLogContext=function(){return this.logContext};
g.createCountMetric=function(a,b,c){b.source().getMutableCount().setValue(c);return Emd(this,a,b)};g.createStatusMetric=function(){throw Error("qf");};g.createLatencyMetric=function(a,b){b.source().getMutableLatency().setLatencyUsec(s8(b,"total"));return Emd(this,a,b)};g.createErrorMetric=function(a,b){return Emd(this,a,b)};
var Emd=function(a,b,c){a=(new Dmd).setClientInterface((new ymd).setClientId(a.clientId).setSocialClient(b.getSocialClient()).setVersionName(a.getLogContext().getVersionOrUndefined()).setBaselineCl(a.getLogContext().getBaselineClOrUndefined()).setComponentFlow(a.componentFlow).setEntryPoint(a.entryPoint));c=c.source();return t(a,Bmd,2,c)};var Fmd=function(a,b){this.metrics_=a;this.state_=new r8(b);this.source=b};Fmd.prototype.increment=function(a){this.metrics_.count(this.state_,a===void 0?1:a)};var Gmd=function(a,b){this.metrics_=a;this.state_=new r8(b);this.source=b};Gmd.prototype.report=function(){this.metrics_.error(this.state_)};var y9b=function(a,b){this.metrics=a;this.userInterfaceType=b};y9b.prototype.createCount=function(a,b){a=Hmd(this,a,3);a.getMutableCount().setLabel(b);return new Fmd(this.metrics,a)};y9b.prototype.createError=function(a,b,c){a=Hmd(this,a,5);Pu(a,L8,8).setLabel(b).setCause(c);return new Gmd(this.metrics,a)};var Hmd=function(a,b,c){var d=new Bmd;c=mf(d,1,c);a=(new Amd).setInterfaceType(a.userInterfaceType);b=mf(a,2,b);return t(c,Amd,2,b)};var x9b=function(a){this.trackers=a},gmd=function(a){a=a.trackers;var b=Hmd(a,2,4);b.getMutableLatency().setLabel(8);return new B8(a.metrics,b)};x9b.prototype.createCount=function(a,b){return this.trackers.createCount(b===void 0?0:b,a)};x9b.prototype.createError=function(a,b,c){return this.trackers.createError(c===void 0?0:c,a,b===void 0?0:b)};var O8=function(){this.itemsByPriority=[]};O8.prototype.add=function(a,b){this.itemsByPriority[b]||(this.itemsByPriority[b]=new Set);this.itemsByPriority[b].add(a)};O8.prototype.remove=function(a){for(var b=l(this.itemsByPriority),c=b.next();!c.done;c=b.next())(c=c.value)&&c.delete(a)};O8.prototype.asArray=function(){return this.itemsByPriority.flatMap(function(a){return[].concat(p(a))})};var yt=function(){this.selectionCallbacks=new O8;this.deselectionCallbacks=new O8;this.selectionReplacedCallbacks=new O8;this.selectionAttemptedCallbacks=new O8;this.explodingGroupSelectionCallbacks=new O8;this.selectionsState=[]};
yt.prototype.select=function(a,b,c){b=b===void 0?-1:b;c=c===void 0?0:c;var d=String(a.id());if(this.selectionsState.find(function(e){return d===String(e.id())}))return A9b(a,b,c,this.selectionAttemptedCallbacks.asArray()),!1;b>=0?(this.selectionsState.splice(b,0,a),A9b(a,b,c,this.selectionCallbacks.asArray())):(this.selectionsState.push(a),A9b(a,this.selectionsState.length-1,c,this.selectionCallbacks.asArray()));return!0};
yt.prototype.selectExplodingGroup=function(a,b){b=b===void 0?0:b;var c=this.explodingGroupSelectionCallbacks.asArray(),d;c=l(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;try{e(a,b)}catch(f){d||(d=f)}}if(d)throw d;a=l(a.explodedMembers);for(d=a.next();!d.done;d=a.next())this.select(d.value)};yt.prototype.deselect=function(a,b){b=b===void 0?0:b;var c=String(a.id()),d=this.selectionsState.findIndex(function(e){return c===String(e.id())});d<0||(this.selectionsState.splice(d,1),A9b(a,d,b,this.deselectionCallbacks.asArray()))};
yt.prototype.toggle=function(a,b){b=b===void 0?0:b;var c=String(a.id());if(this.selectionsState.findIndex(function(d){return c===String(d.id())})<0)return this.select(a,-1,b),!0;this.deselect(a,b);return!1};var E8=function(a,b,c){a.selectionCallbacks.add(b,c===void 0?2:c)},D8=function(a,b,c){a.deselectionCallbacks.add(b,c===void 0?2:c)},umd=function(a,b,c){a.selectionReplacedCallbacks.add(b,c===void 0?2:c)},vmd=function(a,b){a.explodingGroupSelectionCallbacks.add(b,0)};g=yt.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=c===void 0?0:c;var d=String(a),e=this.selectionsState.findIndex(function(f){return d===String(f.id())});if(e<0||!a.equals(b.id())&&this.get(b.id()))return!1;this.selectionsState[e]=b;B9b(b,e,a,c,this.selectionReplacedCallbacks.asArray());return!0};
g.pop=function(a){a=a===void 0?0:a;var b=this.selectionsState.pop();if(b)return A9b(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(;this.selectionsState.length>0;)this.deselect(this.selectionsState[0])};for(var Imd={ARROW_KEYS:{string:"arrow_keys",xid:"Wxn7ub"},AUTOMATED:{string:"automated",xid:"wjpLYc"},CLICK:{string:"click",xid:"cOuCgd"},DRAGEND:{string:"dragend",xid:"RlD3W"},DROP:{string:"drop",xid:"DaY83b"},GENERIC_CLICK:{string:"generic_click",xid:"szJgjc"},HOVER:{string:"hover",xid:"ZmdkE"},IMPRESSION:{string:"impression",xid:"xr6bB"},KEYBOARD_ENTER:{string:"keyboard_enter",xid:"SYhH9d"},KEYPRESS:{string:"keypress",xid:"Kr2w4b"},LONG_PRESS:{string:"long_press",xid:"tfSNVb"},MOUSEOVER:{string:"mouseover",
xid:"FrfE3b"},RIGHT_CLICK:{string:"rightclick",xid:"CYQmze"},SCROLL:{string:"scroll",xid:"XuHpsb"},SWIPE:{string:"swipe",xid:"eteedb"},VIS:{string:"vis",xid:"HkgBsf"}},C9b=G9b(Imd),Jmd=new Map,Kmd=l(Object.keys(Imd)),Lmd=Kmd.next();!Lmd.done;Lmd=Kmd.next()){var Mmd=Lmd.value;Jmd.set(Imd[Mmd].xid,Imd[Mmd].string)}
var E9b=G9b({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 P8=function(a,b){this.visualElementID=a;this.index_=null;this.testCodes_=[];this.componentID_=void 0;this.retain_cached_impression_=this.mutable_=!1;this.attribute_=null;this.metadataHandlers_=[];this.interactionMetadataHandler_=void 0;this.xidTagComponents_=b||!1;this.tracks_=new Set},Nmd=function(a,b){return b?a.tracks_.has(a.maybeXidEventLabel_(b)):a.tracks_.size!=0};g=P8.prototype;g.setIndex=function(a){this.index_=a};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 Omd=function(a,b){for(var c=0;c<a.metadataHandlers_.length;++c)a.metadataHandlers_[c](b)};P8.prototype.maybeXidEventLabel_=function(a){return this.xidTagComponents_?D9b(a):a};
P8.prototype.maybeXidPartLabel_=function(a){return this.xidTagComponents_?F9b(a):a};P8.prototype.isMutable=P8.prototype.isMutable;var Pmd=function(a){P8.call(this,a)};Y(Pmd,P8);var Q8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Q8,n);Q8.prototype.setVeIndex=function(a){jf(this,1,a)};var Qmd=function(a,b){jf(a,2,b)};Q8.prototype.setElementIndex=function(a){jf(this,5,a)};Q8.prototype.getResultIndex=function(){return Pd(this,6,-1)};Q8.prototype.setResultIndex=function(a){jf(this,6,a)};var Rmd=[0,gv,-1,2,gv,-4,hv,gv,xfc,Vfc,gv,[0,wfc,gv],gv];var Smd=Mda(Q8,Rmd),Tmd=function(a){return function(b){var c=new lfc;Ida(b.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,c,Lc(a));return mfc(c)}}(Rmd);var Umd=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};Umd.prototype.getTag=function(){return this.veTag_};Umd.prototype.getElement=function(){return this.el_};var Wmd=function(a){var b=Vmd++;a.traversalOrder_=b};Umd.prototype.setParent=function(a){this.parent_=a};Umd.prototype.getParent=function(){return this.parent_};
var Xmd=function(a){if(a.impressionEventID){var b=new Q8;b.setVeIndex(a.traversalOrder_);Qmd(b,a.getTag().visualElementID);t(b,qv,13,a.impressionEventID);a=Tmd(b);return"0"+qec(a,4)}};var M9b=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(M9b,n);g=M9b.prototype;g.getClientId=function(){return Zd(this,1)};g.setClientId=function(a){return mf(this,1,a)};g.getEntryPoint=function(){return Zd(this,2)};g.setEntryPoint=function(a){return mf(this,2,a)};g.getApplication=function(){return Zd(this,3)};g.setApplication=function(a){return mf(this,3,a)};g.getApplicationOrUndefined=function(){return $l(this,3)};g.setVersionName=function(a){return lf(this,4,a)};
g.getBaselineCl=function(){return Re(this,5)};g.setBaselineCl=function(a){return Ze(this,5,a)};g.hasBaselineCl=function(){return Qe(this,5)};g.getBaselineClOrUndefined=function(){return Ob(Ke(this,5))};g.getMetadata=function(){return r(this,K8,6)};g.getMutableMetadata=function(){return Pu(this,K8,6)};g.setMetadata=function(a){t(this,K8,6,a)};g.hasMetadata=function(){return Me(this,K8,6)};g.setSharekitEntryPoint=function(a){mf(this,7,a)};
g.getSharekitEntryPointOrUndefined=function(){return $l(this,7)};var O9b=function(a){this.context_=a};O9b.prototype.createNewTag=function(a){return new Pmd(a)};O9b.prototype.addEventMetadata=function(a){Kvc(a,this.context_.serialize())};var Ymd=function(){this.client_info=this.global_metadata=this.ve_metadata=void 0;this.testCodes=[]};var Zmd=function(){};Zmd.prototype.impressionEvent=function(){return[]};Zmd.prototype.interactionEvent=function(){return[]};Zmd.prototype.visibilityEvent=function(){return[]};var bnd=function(){if(!$md){var a=$md=new Sfc,b=Date.now()*1E3+Math.floor(Math.random()*1E3);Ze(a,1,b);Np($md,2,Cba());Np($md,3,Cba());and=0}a=new qv;a=t(a,Sfc,1,$md);b=++and;return Ze(a,2,b)},and=0,$md=void 0;var R8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,1)};Y(R8,n);var S8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(S8,n);var T8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(T8,n);T8.prototype.setVed=function(a){return fl(this,5,cnd,a)};var dnd=[1,3,4],cnd=[2,5];var U8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,7)};Y(U8,n);U8.prototype.setTarget=function(a){t(this,T8,1,a)};U8.prototype.getType=function(){return Zd(this,2)};U8.prototype.setType=function(a){return mf(this,2,a)};U8.prototype.hasType=function(){return He(this,2)};var end=function(a){var b=Date.now();b=Number.isFinite(b)?b*1E3:void 0;Ze(a,4,b)};var fnd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(fnd,n);var V8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,233)};Y(V8,n);V8.prototype.setUiType=function(a){return jf(this,1,a)};V8.prototype.setElementIndex=function(a){jf(this,3,a)};var gnd=function(a,b){tc(a,4,b,Ab)};V8.prototype.getResultIndex=function(){return Pd(this,7)};V8.prototype.setResultIndex=function(a){jf(this,7,a)};V8.prototype.setVisible=function(a){return mf(this,6,a)};var W8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,17)};Y(W8,n);g=W8.prototype;g.setVed=function(a){return lf(this,11,a)};g.setUiType=function(a){return jf(this,1,a)};g.setVeIndex=function(a){jf(this,2,a)};g.getResultIndex=function(){return Pd(this,7,-1)};g.setResultIndex=function(a){jf(this,7,a)};g.setElementIndex=function(a){jf(this,8,a)};var hnd=function(a,b){Ol(a,14,b)};var X8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(X8,n);X8.prototype.setRequestContext=function(a){t(this,W8,4,a)};var ind=function(a){this.userAction=a};var knd=function(a,b){this.userAction=a;this.visualElementID=b;jnd++},jnd=0;var lnd=function(){this.xidTagComponents_=!1};lnd.prototype.createNewTag=function(a){return new P8(a,this.xidTagComponents_)};lnd.prototype.addEventMetadata=function(){};var Y8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Y8,n);var mnd=function(a,b){Ol(a,1,b)};Y8.prototype.addPath=function(a,b){return rm(this,1,V8,a,b)};Y8.prototype.setPath=function(a,b){return Nu(this,1,V8,a,b)};var nnd=new iv(100,U8,Y8);var Z8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Z8,n);var $8=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y($8,n);$8.prototype.getTimestamp=function(){return r(this,Z8,1)};$8.prototype.setTimestamp=function(a){return t(this,Z8,1,a)};$8.prototype.hasTimestamp=function(){return Me(this,Z8,1)};var ond=new iv(126,R8,$8);var pnd=new iv(618,V8,$8);var qnd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,2)};Y(qnd,n);var rnd=new iv(273,V8,qnd);g=H9b.prototype;g.add=function(a){var b=this.buff_[this.nextPtr_];this.buff_[this.nextPtr_]=a;this.nextPtr_=(this.nextPtr_+1)%this.maxSize_;return b};g.get=function(a){a=snd(this,a);return this.buff_[a]};g.set=function(a,b){a=snd(this,a);this.buff_[a]=b};g.getCount=function(){return this.buff_.length};g.isEmpty=function(){return this.buff_.length==0};g.clear=function(){this.nextPtr_=this.buff_.length=0};
g.getValues=function(){var a=this.getCount(),b=this.getCount(),c=[];for(a=this.getCount()-a;a<b;a++)c.push(this.get(a));return c};g.getKeys=function(){for(var a=[],b=this.getCount(),c=0;c<b;c++)a[c]=c;return a};g.containsKey=function(a){return a<this.getCount()};var snd=function(a,b){if(b>=a.buff_.length)throw Error("Xf");return a.buff_.length<a.maxSize_?b:(a.nextPtr_+Number(b))%a.maxSize_};var vt=function(a,b,c,d){this.enableAncestryLogging_=a===void 0?!0:a;this.enableAncestryLoggingForGrafts_=c===void 0?!1:c;this.enableBatching_=b===void 0?!1:b;this.enableAttentionLogging_=d===void 0?!1:d;this.recentInteractions_=new H9b};Y(vt,Zmd);vt.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=tnd(this,c,b);b=this.enableBatching_?und(this,d,b):vnd(this,d,b);return a.concat(b)};
vt.prototype.interactionEvent=function(a,b){var c=new X8,d=bnd();t(c,qv,1,d);d=new W8;a.serverVed_?d.setVed(a.serverVed_):d.setUiType(a.getTag().visualElementID).setVeIndex(a.traversalOrder_);hnd(jf(d,3,b.userAction),this.getAncestry_(a));var e=a.getTag();e.interactionMetadataHandler_&&e.interactionMetadataHandler_(d);this.setTimestamp(d);e=new S8;t(e,qv,1,a.impressionEventID);t(c,qv,3,a.impressionEventID);c.setRequestContext(d);t(c,S8,9,e);this.recentInteractions_.add(new knd(b.userAction,a.getTag().visualElementID));
a=new SD;Lvc(a,c.serialize());return[a]};
vt.prototype.visibilityEvent=function(a,b){for(var c=[],d=new Map,e=0;e<a.length;++e){var f=a[e],h=f.getElement(),k=f.rootImpressionEventID,q=d.get(k);q=q?q:[];var u=new Y8;this.enableAncestryLoggingForGrafts_&&mnd(u,this.getAncestry_(f));if(f.neverShown||Nmd(f.getTag(),"vis"))if(h=this.isVisible_(h,b),f.hidden&&h){h=new U8;h.setType(1);var A=wnd(f);h.setTarget(A);end(h);this.enableAncestryLoggingForGrafts_&&du(h,nnd,u);q.push(h);f.hidden=!1;f.neverShown=!1}else f.hidden||h||(h=new U8,h.setType(2),
A=wnd(f),h.setTarget(A),end(h),this.enableAncestryLoggingForGrafts_&&du(h,nnd,u),q.push(h),f.hidden=!0);d.set(k,q)}a=l(d.keys());for(b=a.next();!b.done;b=a.next())b=b.value,f=d.get(b),f.length&&(e=new fnd,Ol(e,1,f),f=new X8,k=bnd(),q=new S8,t(q,qv,1,b),t(f,qv,1,k),t(f,qv,3,b),t(f,fnd,7,e),t(f,S8,9,q),b=new SD,Lvc(b,f.serialize()),c.push(b));return c};
vt.prototype.isVisible_=function(a,b){if(a.hasAttribute("ve-visible"))return a.getAttribute("ve-visible")=="true";if(a instanceof HTMLElement&&(a.offsetWidth<=0||a.offsetHeight<=0))return!1;a=a.getBoundingClientRect();return(b=z_c(b,new Xs(a.left,a.top,a.width,a.height)))&&b.width>=10&&b.height>=10?!0:!1};
var tnd=function(a,b,c){for(var d=[],e={},f=b.length-1;f>=0;e={impressionEventID:void 0,clientVeProto$jscomp$7:void 0,testCodes$jscomp$1:void 0},f--){e.clientVeProto$jscomp$7=new X8;e.testCodes$jscomp$1=[];e.impressionEventID=bnd();t(e.clientVeProto$jscomp$7,qv,1,e.impressionEventID);var h=new S8;t(h,qv,1,e.impressionEventID);t(e.clientVeProto$jscomp$7,S8,9,h);if(h=Vgb(window.location.href,"ved"))h=(new W8).setVed(h),e.clientVeProto$jscomp$7.setRequestContext(h);b[f].forEach(function(k){return function(q,
u){u.impressionEventID=k.impressionEventID;u.rootImpressionEventID=k.impressionEventID;var A=this.getVisualElementLiteProto_(u);q.length&&gnd(A,q);q=u.getElement();this.isVisible_(q,c)?(u.neverShown=!1,u.hidden=!1):A.setVisible(1);xnd(this,u)&&u.traversalOrder_!==void 0&&(q.setAttribute("data-hveid",Number(u.traversalOrder_)),ie(k.clientVeProto$jscomp$7,V8,2,Rd()).length===0&&Xmd(u)&&(q.setAttribute("decode-data-ved","1"),q.setAttribute("data-ved",Xmd(u)+"")));this.setTimestamp(A);rm(k.clientVeProto$jscomp$7,
2,V8,A);k.testCodes$jscomp$1=k.testCodes$jscomp$1.concat(u.getTag().testCodes_)}}(e),a);h=new SD;Lvc(h,e.clientVeProto$jscomp$7.serialize());tc(h,20,e.testCodes$jscomp$1,Ab);d.push(h)}return d},und=function(a,b,c){for(var d=[],e=new Map,f=b.length-1;f>=0;f--){var h=b[f],k=h.keys().next().value.rootImpressionEventID,q=e.get(k)||[];q.push(h);e.set(k,q)}e.forEach(function(u,A){var D=0,H=[],O=new X8,P=[],S=bnd();t(O,qv,1,S);t(O,qv,3,A);var aa=new S8;t(aa,qv,1,A);t(O,S8,9,aa);for(aa=0;aa<u.length;aa++)for(var ia=
u[aa],la=ia.keys(),ya=la.next().value,Ia=ia.get(ya),Pa={},gb=0;gb<Ia.length;Pa={startingOffset:void 0,cloneTreeRootIndex:void 0},++gb){var ua=ya;Pa.cloneTreeRootIndex=0;Pa.startingOffset=Ia[gb];var Ea=ia.size;gb!=Ia.length-1&&(Ea=Ia[gb+1]);for(var Ha=Pa.startingOffset;Ha<Ea;++Ha){var mb=la.next().value;Ha==Pa.startingOffset&&(ua=mb,Pa.cloneTreeRootIndex=D);mb.impressionEventID=S;mb.rootImpressionEventID=A;mb.traversalOrder_=D;var nb=ia.get(mb),Lb=this.getVisualElementLiteProto_(mb);nb.length&&gnd(Lb,
nb.map(function(bc){return function(yc){return yc-bc.startingOffset+bc.cloneTreeRootIndex}}(Pa)));nb=mb.getElement();this.isVisible_(nb,c)?(mb.neverShown=!1,mb.hidden=!1):Lb.setVisible(1);this.setTimestamp(Lb);rm(O,2,V8,Lb);P=P.concat(mb.getTag().testCodes_);D++}Pa=new U8;Pa.setType(3);Ea=wnd(ya);Pa.setTarget(Ea);Ea=new T8;Ha=new Q8;mb=new Y8;Ha.setVeIndex(ua.traversalOrder_);Qmd(Ha,ua.getTag().visualElementID);Bl(Ea,2,cnd,Ha);t(Pa,T8,3,Ea);this.enableAncestryLoggingForGrafts_&&(mnd(mb,this.getAncestry_(ua)),
du(Pa,nnd,mb));H.push(Pa)}H.length&&(u=new fnd,Ol(u,1,H),t(O,fnd,7,u));H=new SD;Lvc(H,O.serialize());tc(H,20,P,Ab);d.push(H)},a);return d},vnd=function(a,b,c){for(var d=[],e=b.length-1;e>=0;e--)for(var f=b[e],h=f.keys(),k=h.next().value,q=f.get(k),u={},A=0;A<q.length;u={startingOffset$jscomp$1:void 0},++A){u.startingOffset$jscomp$1=q[A];var D=f.size;A!=q.length-1&&(D=q[A+1]);var H=new X8,O=[],P=bnd(),S=new S8;t(S,qv,1,k.impressionEventID);t(H,qv,1,P);t(H,qv,3,k.impressionEventID);mf(H,5,3);t(H,S8,
9,S);S=new W8;k.serverVed_?S.setVed(k.serverVed_):S.setUiType(k.getTag().visualElementID).setVeIndex(k.traversalOrder_);hnd(S,a.getAncestry_(k));H.setRequestContext(S);for(S=u.startingOffset$jscomp$1;S<D;++S){var aa=h.next().value;aa.impressionEventID=P;aa.rootImpressionEventID=k.rootImpressionEventID;aa.traversalOrder_!=void 0&&(aa.traversalOrder_-=u.startingOffset$jscomp$1);var ia=f.get(aa),la=a.getVisualElementLiteProto_(aa);ia.length&&gnd(la,ia.map(function(ya){return function(Ia){return Ia-ya.startingOffset$jscomp$1}}(u)));
ia=aa.getElement();a.isVisible_(ia,c)?(aa.neverShown=!1,aa.hidden=!1):la.setVisible(1);xnd(a,aa)&&aa.traversalOrder_!==void 0&&(ia.setAttribute("data-hveid",Number(aa.traversalOrder_)),ie(H,V8,2,Rd()).length===0&&Xmd(aa)&&(ia.setAttribute("decode-data-ved","1"),ia.setAttribute("data-ved",Xmd(aa)+"")));a.setTimestamp(la);rm(H,2,V8,la);O=O.concat(aa.getTag().testCodes_)}u=new SD;Lvc(u,H.serialize());tc(u,20,O,Ab);d.push(u)}return d};
vt.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};vt.prototype.getVisualElementLiteProto_=function(a){var b=(new V8).setUiType(a.getTag().visualElementID);Number.isFinite(a.getTag().getIndex())&&b.setElementIndex(a.getTag().getIndex());Omd(a.getTag(),b);xnd(this,a)&&(a=new qnd,hf(a,1,!0),du(b,rnd,a));return b};
var wnd=function(a){var b=new T8;if(a.serverVed_)b.setVed(a.serverVed_);else{var c=new Q8;Bl(b,3,dnd,a.impressionEventID);c.setVeIndex(a.traversalOrder_);Qmd(c,a.getTag().visualElementID);Bl(b,2,cnd,c)}return b};
vt.prototype.setTimestamp=function(a){var b=Date.now();b=Number.isFinite(b)?b.toString():void 0;if(a instanceof W8&&(!r(a,R8,15)||!r(a,R8,15).getExtension(ond))){var c=new $8,d=new Z8,e=r(a,R8,15);e||(e=new R8);rf(d,1,b);c.setTimestamp(d);du(e,ond,c);t(a,R8,15,e)}a instanceof V8&&(c=new $8,d=new Z8,rf(d,1,b),c.setTimestamp(d),du(a,pnd,c))};var xnd=function(a,b){return a.enableAttentionLogging_?Nmd(b.getTag(),"hover")||Nmd(b.getTag(),"attention"):!1};da.U3bHHf!=null||(da.U3bHHf=0);da.U3bHHf++;var ynd=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 znd=function(){},And=[[],[]],Bnd=0,Cnd=new Set,Dnd=null,End=0,Fnd=0,Gnd=0,Hnd=0,Ind=0,Jnd=function(a){this.mutate_=this.measure_=void 0;this.runInCurrentFrameIfPossible_=!1;this.window_=window;this.context_=a;this.state_ctor_=znd};g=Jnd.prototype;g.measure=function(a){this.measure_=a;return this};g.mutate=function(a){this.mutate_=a;return this};g.runInCurrentFrameIfPossible=function(){this.runInCurrentFrameIfPossible_=!0;return this};
g.window=function(a){this.window_=a;return this};g.build=function(){return Knd({measure:this.measure_,mutate:this.mutate_,stateCtor:this.state_ctor_,window:this.window_,runInCurrentFrameIfPossible:this.runInCurrentFrameIfPossible_},this.context_)};
var Knd=function(a,b){var c=Ind++,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=f.phase!==0;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=Bnd,!a.runInCurrentFrameIfPossible||Hnd==0||a.measure&&Hnd!=1||(h=(h+1)%2),And[h].push(f));return Lnd(a.window)}},Mnd=function(a,b){var c={};
Hnd=1;for(var d=0;d<a.length;++d){var e=a[d];var f=e.args[e.args.length-1];f&&typeof f==="object"&&(f.now=b);if(e.measureFn){e.phase=1;try{e.measureFn.apply(e.context,e.args)}catch(h){c[d]=!0,ea(h)}}}Hnd=2;for(d=0;d<a.length;++d)if(e=a[d],(f=e.args[e.args.length-1])&&typeof f==="object"&&(f.now=b),!c[d]&&e.mutateFn){e.phase=2;try{e.mutateFn.apply(e.context,e.args)}catch(h){ea(h)}}End>0&&b>1&&(a=b-End,a<500&&(ynd++,a>100&&Fnd++,Gnd<a&&(Gnd=a)));End=Cnd.size&&b>1?b:0},Lnd=function(a){if(!Cnd.has(a)){Cnd.size||
(Dnd=new Ekd);Cnd.add(a);var b=Dnd.resolve;a.requestAnimationFrame(function(c){Cnd.clear();var d=And[Bnd];Bnd=(Bnd+1)%2;try{Mnd(d,c)}finally{Hnd=0,d.length=0}b()})}return Dnd.promise};var Nnd=function(a,b){this.visualElementProvider=a;this.traverseShadowDom=b===void 0?!1:b},Pnd=function(a,b){return Ond(a,b).filter(function(c){return a9(this.visualElementProvider,c)!=null},a)},Qnd=function(a,b){var c=a.visualElementProvider;a=[];for(var d=void 0,e={},f=0;f<b.length;e={parent$jscomp$177:void 0},++f){var h=a9(c,b[f]);h.traversalOrder_==void 0&&h.serverVed_==void 0&&(e.parent$jscomp$177=void 0,K9b(b[f],function(k){return function(q){q=a9(c,q);return q!=null?(k.parent$jscomp$177=q,
!0):!1}}(e),!1),e.parent$jscomp$177?d&&d.has(e.parent$jscomp$177)||(d=new Map,a.unshift(d),d.set(e.parent$jscomp$177,[]),Vmd=1):(d=new Map,a.unshift(d),Vmd=0),Wmd(h),h.setParent(e.parent$jscomp$177),d.set(h,[]),e.parent$jscomp$177&&d.get(e.parent$jscomp$177).push(h.traversalOrder_))}return a},Rnd=function(a,b){var c=a.visualElementProvider;return b.map(function(d){return a9(c,d)})},Ond=function(a,b){if(a.traverseShadowDom){var c=[];a=[];for(c.push.apply(c,b.querySelectorAll("*"));c.length>0;){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},Vmd=0;var Snd=function(a,b){this.tagPopulator_=a;this.expectXidTagComponents_=b||!1;this.componentID_=void 0},a9=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&&!c.getTag().isMutable())&&(d=c&&c.getTag().isMutable&&c.getTag().isMutable())&&(d=b.getAttribute("jslog"),d=!(!d||ja(d)||d!=c.getTag().getAttribute()));if(d)return c;d=b.getAttribute("jslog");if(!d)return null;d=Tnd(a,
d);if(!d||(d.getComponentID()||a.componentID_)&&d.getComponentID()!=a.componentID_)return null;a=new Umd(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||c.charAt(0)!="0"&&c.charAt(0)!="2")var e=null;else{c=c.substring(1);try{var f=Smd(c);e=r(f,qv,13)}catch(h){e=null}}e&&(a.impressionEventID=e,a.rootImpressionEventID=e)}return b.LSWHIf=a},Tnd=function(a,b){if(ja(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(!ja(f)){var h=jgc(f);if(h.length<2)return null;f=h[0].trim();h=h[1].trim();if(ja(f)||ja(h))return null;switch(f){case a.maybeXidPartLabel_("track"):f=h.split(",");for(h=0;h<f.length;++h){var k=d,q=f[h].trim();if(a.expectXidTagComponents_){if(!k.xidTagComponents_)throw Error("Vf");if(!Jmd.has(q))throw Error("Wf`"+q);k.tracks_.add(q)}else k.tracks_.add(k.maybeXidEventLabel_(q))}break;
case a.maybeXidPartLabel_("index"):d.setIndex(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"):h=="true"?d.mutable_=!0:h=="rci"&&(d.mutable_=!0,d.retain_cached_impression_=!0)}}}return d.setAttribute(b)};Snd.prototype.maybeXidPartLabel_=function(a){return this.expectXidTagComponents_?F9b(a):a};
Snd.prototype.setComponentID=function(a){this.componentID_=a};Snd.prototype.getComponentID=function(){return this.componentID_};var Und=function(a,b){Jx.call(this,"visibilitychange");this.hidden=a;this.visibilityState=b};Y(Und,Jx);Lu(L9b,st);g=L9b.prototype;g.getBrowserEventType_=zr(function(){var a=this.isSupported(),b=this.getHiddenPropertyName_()!="hidden";if(a){var c;b?c=((ygb()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});g.getHiddenPropertyName_=zr(function(){return zgb("hidden",this.domHelper_.document_)});g.getVisibilityStatePropertyName_=zr(function(){return zgb("visibilityState",this.domHelper_.document_)});g.isSupported=function(){return!!this.getHiddenPropertyName_()};
g.isHidden=function(){return!!this.domHelper_.document_[this.getHiddenPropertyName_()]};g.getVisibilityState=function(){return this.isSupported()?this.domHelper_.document_[this.getVisibilityStatePropertyName_()]:null};g.handleChange_=function(){var a=this.getVisibilityState();a=new Und(this.isHidden(),a);this.dispatchEvent(a)};g.disposeInternal=function(){Ox(this.eventKey_);L9b.superClass_.disposeInternal.call(this)};var b9=function(a,b,c,d,e,f,h){var k=d===void 0?{}:d;var q=k.backgroundJobDeferrer===void 0?void 0:k.backgroundJobDeferrer;d=k.expectXidTagComponents===void 0?!1:k.expectXidTagComponents;k=k.traverseShadowDom===void 0?!1:k.traverseShadowDom;Ps.call(this);var u=this;this.eventBuilder=a;this.transport=c;this.root_=this.domHelper_=this.invariantData_=this.appInfo_=void 0;this.listeners_=[];this.impressionListeners_=[];this.expectXidTagComponents_=d;this.metadataHandler_=b||new lnd;this.visualElementProvider_=
new Snd(this.metadataHandler_,this.expectXidTagComponents_);this.eventToActionMap_={click:3};this.eventToTracksLabelMap_={click:this.maybeXidEventLabel_("generic_click")};this.pageVisibilityMonitor_=new L9b;this.logImpressionsTask_=(new Jnd(this)).measure(q?function(){return q().then(u.handleImpressions_.bind(u))}:this.handleImpressions_).runInCurrentFrameIfPossible().build();this.logImpressionsThrottle_=new HSc(this.logImpressionsTask_,500,this);this.traverser_=h||new Nnd(this.visualElementProvider_,
k);this.eventBuilder instanceof Zmd&&(this.eventHandler_=this.eventBuilder);this.zwiebackId_=e;this.windowProvider_=f};Y(b9,Ps);b9.prototype.setComponentID=function(a){this.visualElementProvider_.setComponentID(a)};b9.prototype.logImpressions=function(){this.domHelper_&&this.logImpressionsThrottle_.fire()};
var Wnd=function(a,b,c,d){var e=Vnd(d),f=a.getIndex(c);var h=(new Cmd).setUserAction(b);var k=c.getTag().visualElementID;h=jf(h,1,k);e=tc(h,3,e,Ab);f!=null&&e.setElementIndex(f);f=new Ymd;f.ve_metadata=a.getMetadata(c,d);f.global_metadata=a.invariantData_;f.client_info=a.appInfo_;c=Kvc(new SD,e.serialize());c=tc(c,20,f.testCodes,Ab);a.transport&&XD(a.transport,c);if(b!=null)for(b=new ind(b),c=0;c<a.listeners_.length;c++)a.listeners_[c](b)};
b9.prototype.log=function(a){this.transport&&XD(this.transport,a)};var Xnd=function(a){for(var b=0;b<a.impressionListeners_.length;b++)a.impressionListeners_[b]()};b9.prototype.getIndex=function(a){return a.getTag().getIndex()};var Vnd=function(a){return a.map(function(b){return b.getTag().visualElementID})};b9.prototype.getMetadata=function(a,b){var c=new V8;Omd(a.getTag(),c);for(a=0;a<b.length;++a)Omd(b[a].getTag(),c);return c};
var Ynd=function(a,b,c){var d,e=a.visualElementProvider_,f=a.eventToTracksLabelMap_[b];K9b(c,function(h){if(!Bgc(h))return!1;h=a9(e,h);var k;if(k=h!=null)if(k=h.getTag(),a.expectXidTagComponents_){if(!k.xidTagComponents_)throw Error("Vf");if(!Jmd.has(f))throw Error("Wf`"+f);k=k.tracks_.has(f)}else k=Nmd(k,f);return k?(d=h,!0):!1},!0);return d};g=b9.prototype;
g.getAncestry_=function(a){var b=[],c=this.visualElementProvider_;K9b(a,function(d){if(!Bgc(d))return!1;d=a9(c,d);d!=null&&b.push(d);return!1},!1);return b};
g.handleImpressions_=function(){if(!this.pageVisibilityMonitor_.isHidden()&&this.root_){var a=!(!window.performance||!window.performance.clearMarks);a&&(window.performance.clearMeasures("ZVwBtb"),window.performance.clearMarks("KtiTlc"),window.performance.mark("KtiTlc"));var b=Pnd(this.traverser_,this.root_);if(this.eventHandler_){var c=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();c=new Xs(0,0,c.width,c.height);var d=Qnd(this.traverser_,
b);if(d.length){d=this.eventHandler_.impressionEvent(d,c);for(var e=0;e<d.length;++e)this.metadataHandler_.addEventMetadata(d[e]),lf(d[e],28,this.zwiebackId_),this.transport&&XD(this.transport,d[e])}b=Rnd(this.traverser_,b);b=this.eventHandler_.visibilityEvent(b,c);if(b.length)for(c=0;c<b.length;++c)this.metadataHandler_.addEventMetadata(b[c]),this.zwiebackId_&&lf(b[c],28,this.zwiebackId_),this.transport&&XD(this.transport,b[c]);Xnd(this)}else{c=[];d=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):
this.domHelper_.getViewportSize();d=new Xs(0,0,d.width,d.height);for(e=0;e<b.length;e++){var f=b[e];this.isVisible_(f,d)&&(f=a9(this.visualElementProvider_,f))&&Nmd(f.getTag(),"impression")&&c.push(f)}for(b=0;b<c.length;b++)d=c[b],d.loggedImpression_||(e=this.getAncestry_(d.getElement()),Wnd(this,void 0,d,e),Xnd(this),d.loggedImpression_=!0)}a&&window.performance.measure("ZVwBtb","KtiTlc")}};
g.isVisible_=function(a,b){if(a.hasAttribute("ve-visible"))return a.getAttribute("ve-visible")==="true";a=a.getBoundingClientRect();return(b=z_c(b,new Xs(a.left,a.top,a.width,a.height)))&&b.width>=10&&b.height>=10?!0:!1};g.maybeXidEventLabel_=function(a){return this.expectXidTagComponents_?D9b(a):a};
g.tearDown=function(){if(this.domHelper_){var a=this.domHelper_.document_;this.unlisten(a,"scroll",this.logImpressions,!0);this.unlisten(a,"resize",this.logImpressions,!0);this.unlisten(a,"load",this.logImpressions,!1);this.unlisten(a,"DOMContentLoaded",this.logImpressions,!1)}this.unlisten(this.pageVisibilityMonitor_,"visibilitychange",this.logImpressions,!1);this.logImpressionsThrottle_.dispose()};var N9b=function(a,b,c,d,e,f,h,k,q,u,A,D,H){e=e===void 0?!1:e;q=q===void 0?!1:q;k||(b=new YD(b,c),d&&(b.destinationUrl=d),f&&(b.backgroundJobDeferrer=f),k=b.build());b9.call(this,a,h||null,k,{expectXidTagComponents:e,backgroundJobDeferrer:f,traverseShadowDom:q},u,A,D);this.clearcut_=k;this.clearcut_.setClientSideLogOnlyForDevelopment(!1);a=this.clearcut_;a.useSendBeaconForFinalFlush=a.isSendBeaconSupported;this.clearcut_.useGetRequestForFinalFlush=!0;H&&this.clearcut_.setProductID(H)};Y(N9b,b9);
N9b.prototype.setClearcutClientInfo=function(a){this.clearcut_.setClearcutClientInfo(a)};N9b.prototype.setBuildLabel=function(a){this.clearcut_.setBuildLabel(a)};N9b.prototype.setClientSideLogOnlyForDevelopment=function(a){this.clearcut_.setClientSideLogOnlyForDevelopment(a)};var Znd=function(a){this.tracker=a};var $nd=function(a,b){this.root=a;this.handler=b;this.eventHandler=new Ps(this)};
$nd.prototype.observe=function(a){var b=this;this.observer||(this.observer=new MutationObserver(function(c){c=l(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.type==="childList"){d=l(d.addedNodes);for(var e=d.next();!e.done;e=d.next())e=e.value,e instanceof Element&&(e.querySelectorAll("[jsLog]").length||e.getAttribute("jsLog"))&&b.handler.tracker.logImpressions()}}),this.observer.observe(this.root,{childList:!0,subtree:!0}),this.eventHandler.listen(this.root,a,function(c){var d=b.handler.tracker,
e=c.type,f=d.eventToActionMap_[e];if(f&&(e=Ynd(d,e,c.target)))if(d.eventHandler_)for(f=d.eventHandler_.interactionEvent(e,new ind(f)),e=0;e<f.length;++e)d.metadataHandler_.addEventMetadata(f[e]),d.zwiebackId_&&lf(f[e],28,d.zwiebackId_),d.transport&&XD(d.transport,f[e]);else{var h=d.getAncestry_(e.getElement());Wnd(d,f,e,h)}c.stopPropagation()}))};$nd.prototype.dispose=function(){var a;(a=this.observer)==null||a.disconnect();this.eventHandler.removeAll()};var R9b=function(a,b){this.root=a;this.tracker=b;this.observer=new $nd(this.root,new Znd(this.tracker))};
R9b.prototype.start=function(a){var b=this.tracker,c=this.root;b.domHelper_=new wv;b.root_=c||b.domHelper_.document_.body;c=b.domHelper_.document_;c.readyState!=="interactive"&&c.readyState!=="complete"||b.logImpressions();b.listenOnce(c,"load",b.logImpressions,!1);b.listenOnce(c,"DOMContentLoaded",b.logImpressions,!1);b.listen(b.pageVisibilityMonitor_,"visibilitychange",b.logImpressions,!1);b.listen(c,"scroll",b.logImpressions,!0);b.listen(c,"resize",b.logImpressions,!0);b=l(a);for(c=b.next();!c.done;c=
b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;var e=this.tracker;e.eventToActionMap_[c]=d;e.eventToTracksLabelMap_[c]=e.maybeXidEventLabel_(c)}this.observer.observe([].concat(p(a.keys())))};R9b.prototype.stop=function(a){this.observer.dispose();a&&(a=this.tracker,a.transport&&a.transport.flush());this.tracker.dispose()};var c9=function(){this.queryScope_=0;this.targetCount_=1;this.displayNameWithOverrideApplied_=null},aod=function(a,b){a.displayNameWithOverrideApplied_=b;return a},bod=function(a,b){a.targetCount_=b;return a};c9.prototype.getTargetCount=function(){return this.targetCount_};c9.prototype.getQueryScope=function(){return this.queryScope_};c9.prototype.setQueryScope=function(a){this.queryScope_=a;return this};c9.prototype.getDisplayNameWithOverrideApplied=function(){return this.displayNameWithOverrideApplied_};var cod=function(){this.code_=2;this.cacheState_=new G8;this.similarIds_=[]};g=cod.prototype;g.getCode=function(){return this.code_};g.getCacheState=function(){return this.cacheState_};g.getSimilarIds=function(){return this.similarIds_};g.setCode=function(a){this.code_=a;return this};g.setCacheState=function(a){this.cacheState_=a;return this};var dod=function(a,b){this.disambiguationLabel_=a;this.metadata_=b};dod.prototype.getDisambiguationLabel=function(){return this.disambiguationLabel_};dod.prototype.getMetadata=function(){return this.metadata_};var kac=function(){this.filter_=null;this.originator_=this.queryScope_=0;this.useOriginalDisplayValue_=!1};g=kac.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.getUseOriginalDisplayValue=function(){return this.useOriginalDisplayValue_};
g.setUseOriginalDisplayValue=function(a){this.useOriginalDisplayValue_=a;return this};g.clone=function(){return(new kac).setFilter(this.getFilter()).setOriginator(this.getOriginator()).setQueryScope(this.getQueryScope()).setUseOriginalDisplayValue(this.getUseOriginalDisplayValue())};var eod=function(){this.isLastCallback_=this.isFirstCallback_=!1;this.notFoundIdList_=[];this.code_=2;this.cacheState_=new G8};g=eod.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 fod=function(a,b){this.results_=a;this.metadata_=b};fod.prototype.getResults=function(){return this.results_};fod.prototype.getMetadata=function(){return this.metadata_};var d9=function(a,b){this.results_=a;this.metadata_=b};d9.prototype.getResults=function(){return this.results_};d9.prototype.getMetadata=function(){return this.metadata_};var god={create:function(a,b,c,d,e){e=e===void 0?new xt:e;return a$b(a,b,c,d,new Bid,{sessionOptions:e})},createWith:function(a,b,c,d,e){e=e===void 0?{}:e;return a$b(a,b,c,d,new Bid,e)},createConfig:function(a){a=a===void 0?new PPc(xP.apiEnv,new QPc(xP.userProfileId)):a;return new Jjd(a)}};var hod=function(){this.warnForExternalSelections=!1;this.allowContactMethodEditing=!0;this.chipCustomizationCallback=function(){return{}}};g=hod.prototype;g.getWarnForExternalSelections=function(){return this.warnForExternalSelections};g.getAllowDisplayNameEditing=function(){return!1};g.getAllowContactMethodEditing=function(){return this.allowContactMethodEditing};g.setAllowContactMethodEditing=function(a){this.allowContactMethodEditing=a};g.getAllowChipDeletion=function(){return!0};
g.getShouldDisplayExternalSelectionIcon=function(){return!0};g.getAllowChipDragAndDrop=function(){return!0};g.getChipCustomizationCallback=function(){return this.chipCustomizationCallback};g.getAllowChipDisambiguation=function(){return!0};var iod=function(a){this.entryPoint=0;this.environmentConfig=a;this.appearance=new J5b;this.chip=new hod;this.chip.setAllowContactMethodEditing(!1);this.useOriginalDisplayValue=!1};g=iod.prototype;g.setEntryPoint=function(a){this.entryPoint=a};g.getEntryPoint=function(){return this.entryPoint};g.getEnvironmentConfig=function(){return this.environmentConfig};g.getUseOriginalDisplayValue=function(){return this.useOriginalDisplayValue};
g.setUseOriginalDisplayValue=function(a){this.useOriginalDisplayValue=a};g.getWarnForExternalSelections=function(){return this.chip.getWarnForExternalSelections()};g.getAllowDisplayNameEditing=function(){return this.chip.getAllowDisplayNameEditing()};g.getAllowContactMethodEditing=function(){return this.chip.getAllowContactMethodEditing()};g.setAllowContactMethodEditing=function(a){this.chip.setAllowContactMethodEditing(a)};g.getAllowChipDeletion=function(){return this.chip.getAllowChipDeletion()};
g.getShouldDisplayExternalSelectionIcon=function(){return this.chip.getShouldDisplayExternalSelectionIcon()};g.getAllowChipDragAndDrop=function(){return this.chip.getAllowChipDragAndDrop()};g.getChipCustomizationCallback=function(){return this.chip.getChipCustomizationCallback()};g.getAllowChipDisambiguation=function(){return this.chip.getAllowChipDisambiguation()};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)};g.getStyle=function(){return this.appearance.getStyle()};g.setStyle=function(a){this.appearance.setStyle(a)};var jod=function(a){this.entryPoint=0;this.helpText="";this.shouldAutofocus=!1;this.environmentConfig=a;this.autocomplete=new Ijd(this.environmentConfig);this.chipsBar=new iod(this.environmentConfig);this.chipsBar.setAllowContactMethodEditing(!0)};g=jod.prototype;g.getEnvironmentConfig=function(){return this.environmentConfig};g.setEntryPoint=function(a){this.entryPoint=a};g.getEntryPoint=function(){return this.entryPoint};g.getWarnForExternalSelections=function(){return this.chipsBar.getWarnForExternalSelections()};
g.getAllowDisplayNameEditing=function(){return this.chipsBar.getAllowDisplayNameEditing()};g.getAllowContactMethodEditing=function(){return this.chipsBar.getAllowContactMethodEditing()};g.setAllowContactMethodEditing=function(a){this.chipsBar.setAllowContactMethodEditing(a)};g.getAllowChipDeletion=function(){return this.chipsBar.getAllowChipDeletion()};g.getShouldDisplayExternalSelectionIcon=function(){return this.chipsBar.getShouldDisplayExternalSelectionIcon()};g.getAllowChipDragAndDrop=function(){return this.chipsBar.getAllowChipDragAndDrop()};
g.getChipCustomizationCallback=function(){return this.chipsBar.getChipCustomizationCallback()};g.getAllowChipDisambiguation=function(){return this.chipsBar.getAllowChipDisambiguation()};g.getUseOriginalDisplayValue=function(){return this.chipsBar.getUseOriginalDisplayValue()};g.setUseOriginalDisplayValue=function(a){this.chipsBar.setUseOriginalDisplayValue(a)};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.getAutoActivateFirstSearchResult=function(){return this.autocomplete.getAutoActivateFirstSearchResult()};g.setAutoActivateFirstSearchResult=function(a){this.autocomplete.setAutoActivateFirstSearchResult(a)};
g.getNoResultsMessage=function(){return this.autocomplete.getNoResultsMessage()};g.setNoResultsMessage=function(a){this.autocomplete.setNoResultsMessage(a)};g.getUseTabForResultSelection=function(){return this.autocomplete.getUseTabForResultSelection()};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.getResultDecorationConfigRequestCallback=function(){return this.autocomplete.getResultDecorationConfigRequestCallback()};g.getResultCustomizationCallback=function(){return this.autocomplete.getResultCustomizationCallback()};
g.setResultCustomizationCallback=function(a){this.autocomplete.setResultCustomizationCallback(a)};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)};g.getStyle=function(){return this.autocomplete.getStyle()};g.setStyle=function(a){this.autocomplete.setStyle(a)};var fac=function(a){var b=a.multiSelectable,c=a.orientation,d=a.isKeyboardFocusable;a=a.ariaLabel;return Jt('<div class="'+Gt("peoplekitComponentsArialistboxAriaListBox")+'" peoplekit-id="'+Gt("pQPeT")+'" tabindex="'+Gt(d?0:-1)+'" role="listbox" aria-multiselectable="'+Gt(b)+'" aria-orientation="'+Gt(c)+'" aria-label="'+Gt(a)+'"></div>')};var kod=function(a){o8.call(this,9,a);this.name="LookupSelectorError"};Y(kod,o8);var lod=new Map([[5,12],[12,8],[11,13],[13,14],[2,15],[6,7]]);var Tt=function(a,b,c,d){this.selectionsState=a;this.peopleStore=b;this.lookupOptions=c;this.health=d;this.disposed=!1};Tt.prototype.select=function(a,b,c){var d=this;c=c===void 0?-1:c;return this.disposed?Promise.reject(new kod("LookupSelector is disposed.")):new Promise(function(e){mod(d,a,b,c,e)})};
var mod=function(a,b,c,d,e){var f=[],h=[];d=d>=0?d:a.selectionsState.size();b=l(b);for(var k=b.next();!k.done;k=b.next()){var q=nod(k.value);k=q.lookupId;q=A8b(k,q.displayNameOverride,q.forceDisplayNameOverride,q.loggingTokenOverride);a.selectionsState.select(q,d,c)&&(f.push(k),d++)}d=a.lookupOptions.clone().setOriginator(qmd.get(c)||0);a.peopleStore.lookup(f,function(u){ood(a,u,h,c,e)},d)},ood=function(a,b,c,d,e){if(a.disposed)e([]);else{var f=b.getResults(),h=0,k=0;f=l(f.entries());for(var q=f.next();!q.done;q=
f.next()){var u=l(q.value);q=u.next().value;var A=u=u.next().value,D=a.selectionsState.get(q);D&&(u=D.getDisplayNameOverride(),A=F8b(A,u,D.getForceDisplayNameOverride(),D.selectionToken().getLoggingToken()),a.selectionsState.replace(q,A,d),u&&h++,A.getDisplayNameWithOverrideApplied()&&k++)}h=k-h;h>0&&(k=a.health,f=k.createCount,q=6,q=q===void 0?0:q,d=lod.get(d)||q,f.call(k,53,d).increment(h));b=b.getMetadata();c.push.apply(c,p(b.notFoundIdList_));b.getIsLastCallback()&&(a.deselect(c),e(c))}};
Tt.prototype.deselect=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next())(b=this.selectionsState.get(b.value))&&this.selectionsState.deselect(b)};Tt.prototype.replace=function(a,b){var c=this;return this.disposed?Promise.reject(new kod("LookupSelector is disposed.")):new Promise(function(d){pod(c,a,b,d)})};
var pod=function(a,b,c,d){var e=[],f=[];b=l(b.entries());for(var h=b.next();!h.done;h=b.next()){var k=l(h.value);h=k.next().value;k=k.next().value;var q=nod(k);k=q.lookupId;q=A8b(k,q.displayNameOverride,q.forceDisplayNameOverride,q.loggingTokenOverride);a.selectionsState.replace(h,q)&&f.push(k)}a.peopleStore.lookup(f,function(u){ood(a,u,e,c,d)},a.lookupOptions)};Tt.prototype.dispose=function(){this.disposed=!0};
var nod=function(a){if(a instanceof xld){var b=a.lookupWithOverride.getId();var c=a.lookupWithOverride.getDisplayName();var d=a.lookupWithOverride.getForceDisplayNameOverride();a=a.getLoggingToken()}else a instanceof U7?(b=a.getId(),c=a.getDisplayName(),d=a.getForceDisplayNameOverride()):(b=a,c="",d=!1),a=null;return{lookupId:b,displayNameOverride:c,forceDisplayNameOverride:d,loggingTokenOverride:a}};var X$b=function(a,b,c,d,e,f){var h=this;this.chipSet=a;this.selectionsState=b;this.undoRedoStack=c;this.lookupSelector=new Tt(b,d,e,f);this.onSelectionCallback=function(k,q,u){h.onSelect(u)};this.onSelectionReplacedCallback=function(k,q,u,A){A===9&&h.undoRedoStack.push()};this.onDeselectionCallback=function(k,q,u){h.onDeselect(u)};this.attach()};g=X$b.prototype;
g.attach=function(){E8(this.selectionsState,this.onSelectionCallback);umd(this.selectionsState,this.onSelectionReplacedCallback);D8(this.selectionsState,this.onDeselectionCallback)};g.select=function(a){a=this.lookupSelector.select(a,6);this.undoRedoStack.push();return a};g.deselect=function(a){this.lookupSelector.deselect(a);this.undoRedoStack.push()};g.replace=function(a){a=this.lookupSelector.replace(a,6);this.undoRedoStack.push();return a};g.focusLastChip=function(){return this.chipSet.focusLastChip()};
g.activateAllChips=function(){this.chipSet.activateAllChips()};g.dispose=function(){this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback);this.selectionsState.selectionReplacedCallbacks.remove(this.onSelectionReplacedCallback);this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.lookupSelector.dispose();this.chipSet.dispose()};g.onSelect=function(a){a===1&&this.undoRedoStack.push()};g.onDeselect=function(a){switch(a){case 1:case 8:this.undoRedoStack.push()}};var r$b=function(a){this.root=a;this.length=0;a=this.root;if(a.firstElementChild!==void 0)a=a.firstElementChild;else for(a=a.firstChild;a&&a.nodeType!=1;)a=a.nextSibling;this.marker=a};g=r$b.prototype;g.append=function(a){this.root.insertBefore(a,this.marker);++this.length};g.insert=function(a,b){if(a<0||a>this.length)throw new RangeError("Gf");a===this.length?this.append(b):(this.root.insertBefore(b,this.root.childNodes[a]),++this.length)};
g.remove=function(a){if(a<0||a>=this.length)throw new RangeError("Gf");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 o$b=function(a,b){this.root=a;this.options=b};g=o$b.prototype;g.activate=function(){this.root.classList.add("isActive")};g.deactivate=function(){this.root.classList.remove("isActive")};g.spotlight=function(){};g.unspotlight=function(){};g.getRoot=function(){return this.root};g.getSelection=function(){return A8b(zcc(this.options.id))};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var n$b=function(a){var b=a.iconUrl,c=a.label,d=a.keyboardShortcut,e=a.densityClass,f=a.ariaLabel;a='<div role="menuitem" id="'+Gt(a.id)+'" peoplekit-id="'+Gt("UhZROb")+'" class="'+Gt("peoplekitComponentsContextmenuitemImplMenuItem")+" "+Gt(e)+'"'+(f?' aria-label="'+Gt(f)+'"':"")+'><div class="'+Gt("peoplekitComponentsContextmenuitemImplRow")+'">'+(b8(b)?'<img class="'+Gt("peoplekitComponentsContextmenuitemImplIcon")+" "+Gt("peoplekitComponentsContextmenuitemImplLeft")+'" src="'+Gt(ejd(b))+'" draggable="false" alt=""/>':
"")+'<div class="'+Gt("peoplekitComponentsContextmenuitemImplLabel")+" "+Gt("peoplekitComponentsContextmenuitemImplCenter")+'">'+Ht(c)+"</div>";d.length>0&&(a+='<div class="'+Gt("peoplekitComponentsContextmenuitemImplKeyboardShortcut")+" "+Gt("peoplekitComponentsContextmenuitemImplRight")+'"><span dir="ltr">',a+=Ht(d.join("+"))+"</span></div>");return Jt(a+"</div></div>")};var zt=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 Bt=function(a,b,c,d,e){this.root=a;this.anchor=b;this.container=d;this.appearanceConfig=e;this.popup=z6b(this.root,{});this.navigatable=V8b(c,new Njd({shouldWrap:!0}));this.navigationEventHandler=Y8b({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=Qs(this);this.eventHandler.listen(this.root,"mouseover",function(f){f.stopPropagation()});
this.eventHandler.listen(this.root,"mouseout",function(f){f.stopPropagation()});this.eventHandler.listen(this.root,"mouseenter",function(f){f.stopPropagation()});this.eventHandler.listen(this.root,"mousedown",function(f){f.preventDefault()});this.hide()};
Bt.prototype.append=function(a){var b=this;this.contextMenuItemOptions.set(a.id,a);var c=p$b(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(bt(e))}d.stopPropagation();qod(b,a);b.hide()});this.navigatable.insert(this.navigatable.size(),[c],!1)};
Bt.prototype.show=function(){for(var a=l(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)};Bt.prototype.hide=function(){this.popup.hide();this.navigatable.reset();this.navigationEventHandler.detach();for(var a=l(this.afterHideCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b()};
Bt.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(bt(c));b=b.getSelection().id().getValue();b=this.contextMenuItemOptions.get(b);qod(this,b);this.hide();a.stopPropagation();a.preventDefault()}}};
var Ljd=function(a,b){a.itemSelectedCallbacks.add(b)},Mjd=function(a,b){a.afterHideCallbacks.add(b)},qod=function(a,b){a=l(a.itemSelectedCallbacks.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};Bt.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 q$b=function(){return Jt('<div peoplekit-id="'+Gt("xl07Ob")+'" class="'+Gt("peoplekitComponentsContextmenuImplMenu")+'" role="menu"></div>')};var rod=function(a,b,c,d,e,f,h){this.delegate=a;this.ariaParent=b;this.actionRequestCallbacks=c;this.chipConfig=d;this.appearanceConfig=e;this.clientConfig=f;this.chipCustomization=h;this.contextMenuContainer=Ms(f8.prototype.getRoot.call(this),"QL45qe");a=f8.prototype.getRoot.call(this).parentElement;f8.prototype.getRoot.call(this).removeChild(this.contextMenuContainer);a.appendChild(this.contextMenuContainer)};Y(rod,f8);g=rod.prototype;g.deactivate=function(){f8.prototype.deactivate.call(this);e9(this)};
g.drag=function(){e9(this);f8.prototype.drag.call(this)};g.dispose=function(){e9(this);f8.prototype.dispose.call(this)};g.onKeyDown=function(a){var b;(b=this.contextMenu)==null||b.onKeyDown(a);f8.prototype.onKeyDown.call(this,a)};
g.onContextMenu=function(a,b){var c=this;a.stopPropagation();a.preventDefault();this.isActive()?this.actionRequestCallbacks.spotlight():this.actionRequestCallbacks.activate();this.contextMenu&&e9(this);this.contextMenu=s$b(this.contextMenuContainer,this.getRoot(),this.ariaParent,this.appearanceConfig);a=this.appearanceConfig.getTheme();this.contextMenu.append(h$b(a));De(this.clientConfig.internal,4)&&sod(this,a);this.chipConfig.getAllowChipDeletion()&&this.contextMenu.append(i$b(a));var d;!this.chipConfig.getAllowDisplayNameEditing()||
((d=this.chipCustomization.chipAction)==null?0:d.disableDisplayNameEditing)||this.contextMenu.append(j$b(a));yPc(this.getSelection().id())&&this.chipConfig.getAllowContactMethodEditing()&&this.contextMenu.append(k$b(a));Z8b(this.getRoot())&&this.contextMenu.append(l$b(a));Ljd(this.contextMenu,function(e){switch(e.id){case "jCCvxc":c.actionRequestCallbacks.copyMethod(c);break;case "RkeQbd":case "N1uSwe":c.actionRequestCallbacks.copyContactMethod(c);break;case "UkZFS":c.actionRequestCallbacks.cut(c);
break;case "xTCd3":c.showHovercard();break;case "YCRBfe":c.edit();break;case "l1309":c.actionRequestCallbacks.editContactMethod(c);break;default:throw Error("Zf`"+e.id);}e9(c)});Mjd(this.contextMenu,function(){e9(c);b()});this.contextMenu.show();return function(){e9(c)}};
var sod=function(a,b){var c=a.getSelection().result().getDisplayValue();if(c){var d;if((d=a.contextMenu)!=null){var e=d.append;a=a.getSelection().id();uPc.includes(a.getType())?(b=zt.get(b),c=Object.freeze({id:"RkeQbd",iconUrl:b==null?void 0:b.get("RkeQbd"),label:'Copy "'+c+'"',keyboardShortcut:[18,67],veid:134816})):(b=zt.get(b),c=Object.freeze({id:"N1uSwe",iconUrl:b==null?void 0:b.get("N1uSwe"),label:'Copy "'+c+'"',keyboardShortcut:[18,67],veid:134816}));e.call(d,c)}}};
rod.prototype.showHovercard=function(){this.isActive();this.getRoot();this.getSelection()};var e9=function(a){var b;(b=a.contextMenu)==null||b.dispose();a.contextMenu=void 0};var tod=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(tod,n);var uod=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(uod,n);uod.prototype.getGroupIdHex=function(){return Oc(this,1)};var vod=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(vod,n);vod.prototype.getGroupIdHex=function(){return Oc(this,1)};var Et=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Et,n);g=Et.prototype;g.getGivenName=function(){return Oc(this,1)};g.setGivenName=function(a){return Vd(this,1,a)};g.getFamilyName=function(){return Oc(this,2)};g.setFamilyName=function(a){return Vd(this,2,a)};g.getEmailList=function(){return Qd(this,3,Rd())};g.setEmailList=function(a){return Wd(this,3,a)};g.addEmail=function(a){return wc(this,3,Pb,a,void 0,Qb)};
g.removeEmail=function(a){return wc(this,3,Pb,void 0,a,Qb,void 0,1,!1,!0)};g.getEmail=function(){return Xu(this,3)};g.setEmail=function(a){return dv(this,3,a)};var wod=function(a){return Qd(a,4,Rd())},z$b=function(a,b){return Wd(a,4,b)};Et.prototype.getPhone=function(){return Xu(this,4)};Et.prototype.setPhone=function(a){return dv(this,4,a)};var f9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(f9,n);var w$b=function(a){var b=new f9;return Vd(b,1,a)};f9.prototype.getEdit=function(){return De(this,2)};f9.prototype.setEdit=function(a){return Dl(this,2,a)};f9.prototype.getIncludeTrash=function(){return De(this,3)};var Ct=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ct,n);g=Ct.prototype;g.getObfuscatedGaiaId=function(){return Oc(this,1)};g.setObfuscatedGaiaId=function(a){return Vd(this,1,a)};g.getEdit=function(){return De(this,2)};g.setEdit=function(a){return Dl(this,2,a)};g.getIncludeTrash=function(){return De(this,3)};var g9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(g9,n);g9.prototype.getEdit=function(){return De(this,2)};g9.prototype.setEdit=function(a){return Dl(this,2,a)};g9.prototype.getIncludeTrash=function(){return De(this,3)};var xod=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(xod,n);xod.prototype.getQuery=function(){return Oc(this,1)};xod.prototype.setQuery=function(a){return Vd(this,1,a)};xod.prototype.clearQuery=function(){Ou(this,1)};var yod=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(yod,n);yod.prototype.getQuery=function(){return Oc(this,1)};yod.prototype.setQuery=function(a){return Vd(this,1,a)};yod.prototype.clearQuery=function(){Ou(this,1)};var Dt=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Dt,n);var v$b=function(){var a=new Dt;return fl(a,1,zod,"0")};Dt.prototype.getAuthUser=function(){return cl(this,17,zod)};var y$b=function(a,b){return Bl(a,3,h9,b)},x$b=function(a,b){return Bl(a,9,h9,b)},u$b=function(a,b){return Bl(a,10,h9,b)};Dt.prototype.getSearchParams=function(){return Zk(this,xod,13,h9)};Dt.prototype.setSearchParams=function(a){Bl(this,13,h9,a)};
var zod=[1,17],h9=[2,3,4,5,6,7,8,9,10,11,13,14,15,16];var t$b=function(a){switch(al(a,h9)){case 2:var b=Zk(a,tod,2,h9);b=De(b,1);return i9(a,"",b?[["multisend_welcome","1"]]:null);case 3:return Aod(a);case 4:return i9(a,"/frequent");case 5:return i9(a,"/other");case 6:return i9(a,"/directory");case 7:return i9(a,"/label/"+j9(Zk(a,vod,7,h9).getGroupIdHex(),"GroupParams.GroupIdHex"));case 8:b=Zk(a,g9,8,h9);b=Oc(b,1);b="/person/"+j9(b,"PersonByPersonIdParams.PersonId");var c=Zk(a,g9,8,h9).getEdit()?[["edit","1"]]:Zk(a,g9,8,h9).getIncludeTrash()?[["includeTrash",
"1"]]:[];return i9(a,b,c);case 9:return b="/p/"+j9(Zk(a,Ct,9,h9).getObfuscatedGaiaId(),"PersonByObfuscatedGaiaIdParams.ObfuscatedGaiaId"),c=Zk(a,Ct,9,h9).getEdit()?[["edit","1"]]:Zk(a,Ct,9,h9).getIncludeTrash()?[["includeTrash","1"]]:[],i9(a,b,c);case 10:return b=Zk(a,f9,10,h9),b=Oc(b,1),b="/contact/"+j9(b,"PersonByContactIdParams.ContactIdHex"),c=Zk(a,f9,10,h9).getEdit()?[["edit","1"]]:Zk(a,f9,10,h9).getIncludeTrash()?[["includeTrash","1"]]:[],i9(a,b,c);case 11:return b="/group/"+j9(Zk(a,uod,11,
h9).getGroupIdHex(),"DelegatedContactListParams.GroupIdHex")+"/",c=Zk(a,uod,11,h9),c=Oc(c,2),i9(a,b+j9(c,"DelegatedContactListParams.SyntheticGroupId"));case 13:return i9(a,"/search/"+j9(a.getSearchParams().getQuery(),"SearchParams.Query"));case 14:return i9(a,"/trash");case 15:return i9(a,"/trashsearch/"+j9(Zk(a,yod,15,h9).getQuery(),"TrashSearchParams.Query"));case 16:return i9(a,"/suggestions");default:throw Error("$f`"+al(a,h9));}},Aod=function(a){var b=[],c=Zr(Zk(a,Et,3,h9).getGivenName());ja(c)||
b.push(["givenname",c]);c=Zr(Zk(a,Et,3,h9).getFamilyName());ja(c)||b.push(["familyname",c]);c=Zk(a,Et,3,h9).getEmailList().filter(function(d){return!ja(d)}).toString();ja(c)||b.push(["email",c]);c=wod(Zk(a,Et,3,h9)).filter(function(d){return!ja(d)}).toString();ja(c)||b.push(["phone",c]);return i9(a,"/new",b)},j9=function(a,b){if(ja(Zr(a)))throw Error("ag`"+b);return a},i9=function(a,b,c){b=b===void 0?"":b;var d=Zr(a.getAuthUser()).trim(),e=d||ja(Zr(cl(a,1,zod)))||cl(a,1,zod)==="0"?"":"/u/"+cl(a,1,
zod),f=[];d&&f.push(["authuser",d]);(a=Zd(a,18))&&f.push(["bdSource",a]);c&&c.length>0&&f.push.apply(f,p(c));return(f.length>0?fmd({searchParams:f,pathname:e+b}):fmd({pathname:e+b})).href.substring(0,16384)};var G$b=function(a,b){var c=this;this.dialog=a;this.textField=b;this.textField.checkValidity=B$b;this.textField.onValidityChanged=function(d){return c.onValidityChanged(d)};this.textField.onInput=function(){c.nameLabel.textContent=c.textField.getValue()};this.nameLabel=Ms(this.dialog.getRoot(),"E0kCZc");this.eventHandler=Qs(this);this.textField.focus();this.textField.select();Bod(this.textField);this.eventHandler.listen(this.textField.input,"keydown",function(d){switch(d.keyCode){case 13:c.dialog.dispatchAction(1),
d.stopPropagation(),d.preventDefault()}})};g=G$b.prototype;g.subscribeToAction=function(a){this.dialog.subscribeToAction(a)};g.dispatchAction=function(a){this.dialog.dispatchAction(a)};g.enableAction=function(a){this.dialog.enableAction(a)};g.disableAction=function(a){this.dialog.disableAction(a)};g.getRoot=function(){return this.dialog.getRoot()};g.dispose=function(){this.dialog.dispose();this.textField.dispose();this.eventHandler.removeAll()};
g.onValidityChanged=function(a){a?this.dialog.enableAction(1):this.dialog.disableAction(1)};var Ot=function(a){var b=this;this.root=a;this.input=Ms(this.root,"YPqjbf");this.invalidMessage=Ms(this.root,"kyLNld");this.eventHandler=Qs(this);this.eventHandler.listen(this.input,"input",function(c){var d;(d=b.onInput)==null||d.call(b,c);Bod(b)})};Ot.prototype.getRoot=function(){return this.root};Ot.prototype.focus=function(){this.input.focus()};Ot.prototype.select=function(){this.input.select()};Ot.prototype.getValue=function(){return this.input.value};
var Bod=function(a){if(a.checkValidity){var b=a.checkValidity(a.input.value);a.updateValidity(b)}};Ot.prototype.updateValidity=function(a){a.isValid?this.validate():this.invalidate(a.errorMessage||"")};Ot.prototype.validate=function(){this.root.classList.remove("isInvalid");this.invalidMessage.textContent="";var a;(a=this.onValidityChanged)==null||a.call(this,!0)};
Ot.prototype.invalidate=function(a){this.root.classList.add("isInvalid");this.invalidMessage.textContent=a;var b;(b=this.onValidityChanged)==null||b.call(this,!1)};Ot.prototype.dispose=function(){this.eventHandler.removeAll();this.onInput=this.onValidityChanged=this.checkValidity=void 0};var E$b=function(a){var b=a.label,c=a.initialValue;a=a.id;return Jt('<div class="'+Gt("peoplekitComponentsTextfieldImplTextField")+'"><div class="'+Gt("peoplekitComponentsTextfieldImplInputContainer")+'"><label class="'+Gt("peoplekitComponentsTextfieldImplLabel")+'" for="'+Gt(a)+'">'+Ht(b)+'</label><input peoplekit-id="'+Gt("YPqjbf")+'" id="'+Gt(a)+'" class="'+Gt("peoplekitComponentsTextfieldImplInput")+'" value="'+Gt(c)+'" autocomplete="off" spellcheck="false"></div><div peoplekit-id="'+Gt("kyLNld")+
'" class="'+Gt("peoplekitComponentsTextfieldImplInvalidMessage")+'" role="alert"></div></div>')};var F$b=et.getInstance();var Cod=function(a,b,c,d,e,f){var h=this;this.root=a;this.selection=b;this.selectionsState=c;this.actionRequestCallbacks=d;this.appearanceConfig=e;this.chipCustomization=f;this.isDisabledInternal=!1;this.nameEditDialog=null;this.deleteButton=Ms(this.root,"bxvLg");this.eventHandler=Qs(this);this.eventHandler.listen(this.deleteButton,"click",function(){return h.onDeleteButtonClick()})};g=Cod.prototype;g.onDeleteButtonClick=function(){this.selectionsState.deselect(this.selection,8)};
g.toggleSelection=function(){};g.activate=function(){this.root.classList.add("isActive");this.root.setAttribute("aria-selected","true")};g.deactivate=function(){this.root.classList.remove("isActive");this.root.setAttribute("aria-selected","false")};g.isActive=function(){return this.root.classList.contains("isActive")};g.spotlight=function(){this.root.classList.add("isSpotlit")};g.unspotlight=function(){this.root.classList.remove("isSpotlit")};
g.disable=function(){this.root.classList.add("isDisabled");this.isDisabledInternal=!0};g.enable=function(){this.root.classList.remove("isDisabled");this.isDisabledInternal=!1};g.isDisabled=function(){return this.isDisabledInternal};g.drag=function(){this.root.classList.add("isDragged")};g.undrag=function(){this.root.classList.remove("isDragged")};
g.edit=function(){var a=this;this.nameEditDialog&&this.nameEditDialog.dispose();var b=this.root.classList.contains("isActive"),c;this.nameEditDialog=H$b(this.root.ownerDocument.body,this.selection,this.appearanceConfig,{description:(c=this.chipCustomization.chipAction)==null?void 0:c.displayNameEditingDescription});this.nameEditDialog.subscribeToAction(function(d){if(d===1){var e;d=F8b(a.selection.result(),((e=a.nameEditDialog)==null?void 0:e.textField.getValue().trim())||"",!0);a.selectionsState.replace(d.id(),
d,9)}a.unedit();b&&a.actionRequestCallbacks.activate()})};g.unedit=function(){this.nameEditDialog&&(this.nameEditDialog.dispose(),this.nameEditDialog=null)};g.dispose=function(){this.eventHandler.removeAll();this.unedit()};g.getRoot=function(){return this.root};g.getSelection=function(){return this.selection};g.setDisambiguationLabel=function(a){var b=D5b(this.root,"hyPgpe")[0];b&&(a?(b.classList.add("hasDisambiguationLabel"),Dgc(b,"("+a+")")):b.classList.remove("hasDisambiguationLabel"))};
g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};g.getAllIds=function(){return[this.selection.id()]};g.updateWaldo=function(){};g.updateHubAvailabilityDot=function(){};g.getSupportedIntelligenceFeatures=function(){return[]};g.initializeIntelligence=function(){};var Dod=function(a){var b=a.id,c=a.label,d=a.name,e=a.hovercardId,f=a.stateClass,h=a.isWarning,k=a.isDeletionDisabled;a=a.customChipClass;return Mt(Lt(),ojd(b,d,e,f,h,k,a,Mt(Lt(),f?qjd(f):pjd()),Mt(Lt(),rjd(c)),Mt(Lt(),sjd(b))))};Rs.addCoreFactory({type:2,factory:{create:function(a){var b=W5b(a.selection,a.chipConfig,a.chipCustomization),c=Ls(Dod,b);Ns(Ms(c,"d6MZcd"),b.photos,a.avatarSize,a.resultListItemAvatarSize,a.appearanceConfig);a.parent.appendChild(c);return{chip:new Cod(c,a.selection,a.selectionsState,a.actionRequestCallbacks,a.appearanceConfig,a.chipCustomization),root:c,state:0}},shouldCreate:function(){return!0}},configurationKey:void 0});
Rs.addDecoratorFactory({type:2,configurationKey:void 0,factory:{create:function(a,b){return{chip:new rod(b.chip,a.ariaParent,a.actionRequestCallbacks,a.chipConfig,a.appearanceConfig,a.clientConfig,a.chipCustomization),root:b.root,state:b.state}},shouldCreate:function(){return!0}}});
Rs.addDecoratorFactory({type:1,configurationKey:void 0,factory:{create:function(a,b){a=b.root;a:{var c=b.state;switch(c){case 0:c=25286;break a;case 1:c=169606;break a;case 3:c=169617;break a;default:throw Error("Yf`"+c);}}at({element:a,veid:c,actions:["impression"],componentId:"peoplekitweb"});return b},shouldCreate:function(){return!0}}});var Fod=function(){return Kt(Mt(Kt(Lt(),'<div draggable="true" peoplekit-id="'+Gt("Svajxe")+'" class="'+Gt("peoplekitComponentsChipsetImplDraggableChip")+'">'),Eod()),"</div>")},God=function(){return Kt(Mt(Kt(Lt(),'<div draggable="false" peoplekit-id="'+Gt("shtr1e")+'" class="'+Gt("peoplekitComponentsChipsetImplNonDraggableChip")+'">'),Eod()),"</div>")},Hod=function(a){a=a.height;return Jt('<div peoplekit-id="'+Gt("tozrW")+'" class="'+Gt("peoplekitComponentsChipsetImplDropMarker")+'" style="height: '+
Gt(c8(a))+'px"></div>')},Iod=function(){return Jt('<div peoplekit-id="'+Gt("DOyw7")+'" class="'+Gt("peoplekitComponentsChipsetImplDraggedChips")+'"></div>')},Eod=function(){return Jt('<div peoplekit-id="'+Gt("ubaLBe")+'" class="'+Gt("peoplekitComponentsChipsetImplChipContainer")+'"></div>')};var O$b=function(a,b,c,d,e,f,h,k,q,u){this.selectionsState=a;this.undoRedoStack=b;this.container=c;this.dragImageRenderSandbox=d;this.navigatable=e;this.chipDropCallback=k;this.appearanceConfig=q;this.draggedChipsContainer=document.createElement("div");this.currentDropIndex=-1;this.draggedLookupIds=[];this.chipControllers=new Map;this.chipEventHandlers=new Map;this.eventHandler=Qs(this);this.lookupSelector=new Tt(a,f,h,u);this.dropMarker=Ls(Hod,{height:g$b(this.appearanceConfig.getDensity())});this.attach()};
O$b.prototype.attach=function(){var a=this;this.eventHandler.listen(this.container.getRoot(),"dragover",function(b){b=b.event_;if(b.dataTransfer.types.includes("text/lookupids")){a.container.getRoot().classList.add("isDraggedOver");var c=Jod(a,a.chipControllers.size);k9(a);Kod(a,c);b.stopPropagation();b.preventDefault()}a.container.getRoot()});this.eventHandler.listen(this.container.getRoot(),"dragleave",function(b){b=b.event_;b.dataTransfer.types.includes("text/lookupids")&&!a.container.getRoot().contains(b.relatedTarget)&&
(a.container.getRoot().classList.remove("isDraggedOver"),k9(a),b.stopPropagation(),b.preventDefault())});this.eventHandler.listen(this.container.getRoot(),"drop",function(b){Lod(a,b)});o7b(this.draggedChipsContainer,this.appearanceConfig.getTheme());this.dragImageRenderSandbox.appendChild(this.draggedChipsContainer)};
O$b.prototype.listen=function(a,b,c){var d=this,e=String(a.id()),f=Qs(c);f.listen(b,"dragstart",function(h){Mod(d,a,h)});f.listen(b,"dragend",function(h){Nod(d,h)});f.listen(b,"dragover",function(h){d.container.getRoot().classList.add("isDraggedOver");h=h.event_;if(h.dataTransfer.types.includes("text/lookupids")){var k=d.selectionsState.indexOf(a.id());var q=Ms(h.currentTarget,"ubaLBe").clientWidth,u=Ts(d.container.getRoot());k=Jod(d,h.offsetX<q/2?u?k+1:k:u?k:k+1);k9(d);Kod(d,k);h.stopPropagation();
h.preventDefault()}d.container.getRoot()});f.listen(b,"drop",function(h){Ood(d,h)});this.chipEventHandlers.set(e,f);this.chipControllers.set(e,c)};O$b.prototype.unlisten=function(a){a=String(a);this.chipEventHandlers.get(a).removeAll();this.chipEventHandlers.delete(a);this.chipControllers.delete(a)};
var Mod=function(a,b,c){c=c.event_;var d=a.chipControllers.get(String(b.id())),e=a.navigatable.getActiveItems();e.includes(d)?a.draggedLookupIds=e.map(function(f){return N$b(f.getSelection())}):a.draggedLookupIds=[N$b(b)];a.draggedChips=Ls(Iod);b=l(a.draggedLookupIds);for(d=b.next();!d.done;d=b.next())d=a.chipControllers.get(String(d.value.getId())),d.drag(),a.draggedChips.appendChild(d.getRoot().cloneNode(!0)),d.undrag(),d.disable();Av(a.draggedChipsContainer);a.draggedChipsContainer.appendChild(a.draggedChips);
c.dataTransfer.setDragImage(a.draggedChips,0,0);c.dataTransfer.setData("text/lookupids",J$b(a.draggedLookupIds));c.dataTransfer.effectAllowed="move";$8b(a.container.getRoot())},Nod=function(a,b){if(b.event_.dataTransfer.dropEffect==="move")a.lookupSelector.deselect(a.draggedLookupIds.map(function(d){return d.getId()})),a.navigatable.reset(),a.undoRedoStack.push();else{b=l(a.draggedLookupIds);for(var c=b.next();!c.done;c=b.next())a.chipControllers.get(String(c.value.getId())).enable()}k9(a);Av(a.draggedChipsContainer);
a.container.getRoot().classList.remove("isDraggedOver")},Jod=function(a,b){for(;b>0;){var c=a.selectionsState.at(b-1);if(a.chipControllers.get(String(c.id())).isDisabled())b--;else break}return b},Kod=function(a,b){b!==a.currentDropIndex&&(a.container.insert(b,a.dropMarker),a.currentDropIndex=b)},k9=function(a){a.container.removeItem(a.dropMarker);a.currentDropIndex=-1},Ood=function(a,b){a.container.getRoot().classList.remove("isDraggedOver");b=b.event_;var c=b.dataTransfer.getData("text/lookupids");
if(c){c=M$b(c);a.draggedLookupIds=[];for(var d=a.currentDropIndex,e=l(c),f=e.next();!f.done;f=e.next())f=a.selectionsState.indexOf(f.value.getId()),f>=0&&f<a.currentDropIndex&&d--;k9(a);a.lookupSelector.deselect(c.map(function(h){return h.getId()}));a.lookupSelector.select(c,2,d);b.stopPropagation();b.preventDefault();b.dataTransfer.dropEffect="move";a.currentDropIndex=-1;a.undoRedoStack.push()}else k9(a);Av(a.draggedChipsContainer);a.chipDropCallback()},Lod=function(a,b){a.container.getRoot().classList.remove("isDraggedOver");
b=b.event_;var c=b.dataTransfer.getData("text/lookupids");c&&(c=M$b(c),a.draggedLookupIds=[],k9(a),a.lookupSelector.deselect(c.map(function(d){return d.getId()})),a.currentDropIndex=a.chipControllers.size,a.lookupSelector.select(c,2,a.currentDropIndex),b.stopPropagation(),b.preventDefault(),b.dataTransfer.dropEffect="move",a.currentDropIndex=-1,a.undoRedoStack.push());Av(a.draggedChipsContainer);a.chipDropCallback()};
O$b.prototype.dispose=function(){this.eventHandler.removeAll();this.draggedChipsContainer.parentNode&&this.draggedChipsContainer.parentNode.removeChild(this.draggedChipsContainer);this.lookupSelector.dispose()};var Pod=function(){};Pod.prototype.listen=function(){};Pod.prototype.unlisten=function(){};Pod.prototype.dispose=function(){};var Qod=function(){this.listeners=new Map},l9=function(a,b,c){b=JSON.stringify(b);var d=a.listeners.get(b)||[];a.listeners.set(b,[].concat(p(d),[c]))};Qod.prototype.handleEvent=function(a){var b=a.event,c=[];b.platformModifierKey&&c.push(512);b.altKey&&c.push(18);b.shiftKey&&c.push(16);c.push(b.keyCode);b=l(this.listeners.get(JSON.stringify(c))||[]);for(c=b.next();!c.done;c=b.next())c=c.value,c(a)};Qod.prototype.dispose=function(){this.listeners.clear()};var Rt=function(a,b,c,d,e,f,h,k,q,u,A){var D=this;this.selectionsState=a;this.undoRedoStack=b;this.container=c;this.peopleStore=d;this.appearanceConfig=f;this.chipConfig=h;this.clientConfig=k;this.callbacks=q;this.chipElements=new Map;this.chips=new Map;this.chipCustomizations=new Map;this.navigatable=V8b(c.getRoot(),h7b(new Njd({shouldWrap:!1})));this.navigatable.setSecondaryEventTargets([this]);this.eventHandler=Qs(this);this.chipEventHandlers=new Map;this.intelligentCollection=e.create();this.keyboardShortcutHandler=
new Qod;Rod(this);this.dragonDropHandler=this.chipConfig.getAllowChipDragAndDrop()?P$b(a,b,c,this.container.getRoot().ownerDocument.body,this.navigatable,d,u,this.callbacks.chipDrop,this.appearanceConfig,A):new Pod;this.eventHandler.listen(c.getRoot(),"keyup",function(H){H.keyCode!==9||H.target!==D.container.getRoot()||D.navigatable.getSpotlitItem()||(H.shiftKey?D.navigatable.prev(0):D.navigatable.next(0))});this.onSelectionCallback=function(H,O){D.insert(H,O)};this.onDeselectionCallback=function(H){D.remove(H.id())};
this.onSelectionReplacedCallback=function(H,O,P){D.replace(H,O,P)};E8(this.selectionsState,this.onSelectionCallback);D8(this.selectionsState,this.onDeselectionCallback);umd(this.selectionsState,this.onSelectionReplacedCallback)},Rod=function(a){l9(a.keyboardShortcutHandler,[512,67],function(c){var d=a.navigatable.getSpotlitItem();a.copyMethod(d);a.navigatable.goToItem(d,2);c.stopPropagation()});l9(a.keyboardShortcutHandler,[18,67],function(c){var d=a.navigatable.getSpotlitItem();a.copyContactMethod(d);
a.navigatable.goToItem(d,2);c.stopPropagation()});l9(a.keyboardShortcutHandler,[512,88],function(c){a.chipConfig.getAllowChipDeletion()&&(a.cut(a.navigatable.getSpotlitItem(),3),c.stopPropagation())});l9(a.keyboardShortcutHandler,[18,39],function(c){var d=a.navigatable.getSpotlitItem();d&&(d.getSelection(),d.getRoot());c.stopPropagation();c.preventDefault()});var b=function(c){if(a.chipConfig.getAllowDisplayNameEditing()&&(c.stopPropagation(),c.preventDefault(),c=a.navigatable.getSpotlitItem())){c=
String(c.getSelection().id());var d;((d=a.chipCustomizations.get(c).chipAction)==null?0:d.disableDisplayNameEditing)||a.chips.get(c).edit()}};l9(a.keyboardShortcutHandler,[16,69],b);l9(a.keyboardShortcutHandler,[113],b);l9(a.keyboardShortcutHandler,[16,70],function(c){a.chipConfig.getAllowContactMethodEditing()&&(c.stopPropagation(),c.preventDefault(),Sod(a))});b=function(c){if(a.chipConfig.getAllowChipDeletion()){c.stopPropagation();c.preventDefault();c=l(a.navigatable.getActiveItems());for(var d=
c.next();!d.done;d=c.next())a.selectionsState.deselect(d.value.getSelection(),7);a.undoRedoStack.push()}};l9(a.keyboardShortcutHandler,[46],b);l9(a.keyboardShortcutHandler,[8],b);l9(a.keyboardShortcutHandler,[13],function(c){c.stopPropagation();c.preventDefault();a.callbacks.chipContextMenu(a.navigatable.getSpotlitItem(),c.event)})};Rt.prototype.insert=function(a,b){var c=String(a.id());this.chipElements.has(c)||Tod(this,a,b)};
Rt.prototype.remove=function(a){var b=String(a);if(this.chipElements.has(b)){var c=this.chipElements.get(b);this.chipEventHandlers.get(b).removeAll();this.container.removeItem(c);this.chipElements.delete(b);this.dragonDropHandler.unlisten(a,c);this.navigatable.remove([this.chips.get(b)],!!this.navigatable.getSpotlitItem());this.intelligentCollection.remove([this.chips.get(b)]);var d;(d=this.chips.get(b))==null||d.dispose();this.chips.delete(b);this.chipEventHandlers.delete(b);this.chipCustomizations.delete(b);
this.container.getRoot()}};Rt.prototype.replace=function(a,b,c){this.remove(c);Tod(this,a,b)};
var Tod=function(a,b,c){var d=String(b.id()),e=a.chipConfig.getAllowChipDragAndDrop()?Ls(Fod):Ls(God);a.container.insert(c,e);a.chipElements.set(d,e);var f=Ms(e,"ubaLBe"),h=a.chipConfig.getChipCustomizationCallback()(b.result());a.chipCustomizations.set(d,h);var k=I$b(f,a.container.getRoot(),b,a.selectionsState,{activate:function(){var q=b.id();q=a.chips.get(String(q));a.container.getRoot().focus();a.navigatable.goToItem(q,0)},spotlight:function(){var q=b.id();q=a.chips.get(String(q));a.container.getRoot().focus();
a.navigatable.goToItem(q,2)},copyMethod:function(q){a.copyMethod(q)},copyContactMethod:function(q){a.copyContactMethod(q)},cut:function(q){a.cut(q,4)},editContactMethod:function(){Sod(a)}},a.appearanceConfig,a.chipConfig,a.clientConfig,h,Ts(a.container.getRoot()));f=Qs(k);a.dragonDropHandler.listen(b,e,k);f.listen(e,"click",function(q){a.callbacks.chipClick(k,q)});f.listen(e,"dblclick",function(q){a.callbacks.chipContextMenu(k,q)});a.chips.set(d,k);a.chipEventHandlers.set(d,f);a.navigatable.insert(c,
[k],!!a.navigatable.getSpotlitItem());a.intelligentCollection.append([k]);a.chipConfig.getAllowChipDisambiguation()&&Promise.resolve().then(function(){a.chips.get(d)===k&&a.peopleStore.disambiguate(b.result().getPrimaryTarget(),aod(bod(new c9,a.selectionsState.size()),b.getDisplayNameWithOverrideApplied())).then(function(q){k.setDisambiguationLabel(q.getDisambiguationLabel())})})};Rt.prototype.getNavigatable=function(){return this.navigatable};
Rt.prototype.focusLastChip=function(){this.container.getRoot().focus();return this.navigatable.goToIndex(this.navigatable.size()-1,0)};Rt.prototype.activateAllChips=function(){this.navigatable.activateAll()};
Rt.prototype.dispose=function(){this.eventHandler.removeAll();for(var a=l(this.chips.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback);this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionReplacedCallbacks.remove(this.onSelectionReplacedCallback);this.dragonDropHandler.dispose();this.keyboardShortcutHandler.dispose()};
var Uod=function(a,b){return a.navigatable.getActiveItems().includes(b)?a.navigatable.getActiveItems().map(function(c){return c.getSelection()}):[b.getSelection()]};Rt.prototype.copyMethod=function(a){a=Uod(this,a);T$b(a,this.container.getRoot())};Rt.prototype.copyContactMethod=function(a){a=a.getSelection();a.result().getDisplayValue()&&S$b(a.result().getDisplayValue(),this.container.getRoot())};
Rt.prototype.cut=function(a,b){a=Uod(this,a);T$b(a,this.container.getRoot());a=l(a);for(var c=a.next();!c.done;c=a.next())this.selectionsState.deselect(c.value,b);this.undoRedoStack.push()};var Sod=function(a){var b=a.navigatable.getSpotlitItem();b&&(b=b.getSelection(),a.selectionsState.deselect(b,10),b=b.result().getDisplayValue(),a.callbacks.chipEditContactMethod(b),a.undoRedoStack.push())};
Rt.prototype.onKeyDown=function(a){a.event.target===this.container.getRoot()&&this.navigatable.getSpotlitItem()&&(this.keyboardShortcutHandler.handleEvent(a),this.undoRedoStack.onKeyDown(a))};var U$b=function(a,b){this.delegate=a;this.health=b};g=U$b.prototype;g.insert=function(a,b){try{this.delegate.insert(a,b)}catch(c){throw this.health.createError(6,pt(c)),c;}};g.remove=function(a){try{this.delegate.remove(a)}catch(b){throw this.health.createError(7,pt(b)),b;}};g.replace=function(a,b,c){try{this.delegate.replace(a,b,c)}catch(d){throw this.health.createError(8,pt(d)),d;}};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.focusLastChip=function(){return this.delegate.focusLastChip()};
g.activateAllChips=function(){this.delegate.activateAllChips()};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.dispose=function(){try{this.delegate.dispose()}catch(a){throw this.health.createError(9,pt(a)),a;}};var W$b=function(a){this.input=this.navigatable=null;this.prevKeyCode=a.getPrevKeyCode();this.nextKeyCode=a.getNextKeyCode();this.navigatePastEndCallback=a.navigatePastEnd||function(){};this.eventHandler=Qs(this)};g=W$b.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 St(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(new St(d))});this.eventHandler.listen(this.input,"blur",function(d){return c.onBlur(d)})};g.detach=function(){this.eventHandler.removeAll();this.navigatable=this.input=null};
g.onKeyDown=function(a){if(this.navigatable&&(this.navigatable.onKeyDown(a),!a.hasStoppedPropagationInternal)){var b=Vod(a);switch(a.event.keyCode){case this.nextKeyCode:this.navigatable&&!this.navigatable.next(b)&&(this.navigatable.getActiveItems().length<2||b!==1)&&this.navigatePastEndCallback();a.stopPropagation();a.preventDefault();break;case this.prevKeyCode:this.navigatable.prev(b);a.stopPropagation();a.preventDefault();break;case 36:case 38:this.navigatable.goToIndex(0,b);a.stopPropagation();
a.preventDefault();break;case 35:case 40:this.navigatable.goToIndex(this.navigatable.size()-1,b);a.stopPropagation();a.preventDefault();break;case 65:a.event.platformModifierKey&&(this.navigatable.activateAll(),a.stopPropagation(),a.preventDefault());break;case 32:var c=this.navigatable.getSpotlitItem();c&&(this.navigatable.goToItem(c,b===2?3:b),a.stopPropagation(),a.preventDefault())}}};
g.onClick=function(a,b){if(!this.navigatable)return!1;this.navigatable.goToItem(a,Vod(b));b.stopPropagation();return!0};g.onContextMenu=function(a){if(this.navigatable)this.navigatable.onContextMenu(a,function(){})};g.reset=function(){this.navigatable&&this.navigatable.reset()};var Vod=function(a){return a.event.shiftKey?1:a.event.platformModifierKey?a.event.type==="keydown"?2:3:0};W$b.prototype.onBlur=function(a){this.navigatable&&(this.navigatable.reset(),a.stopPropagation())};var Wod=function(){};Wod.prototype.call=function(a){a()};Wod.prototype.cancel=function(){};var $$b=RegExp('(([^(\n\r,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a)^"]*)("[^"]*")([^(\n\r,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a)^"]*))+|([^(\n\r,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a)])+',"g"),Xod=RegExp("^([\\s\n\r,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]*)+","g"),Yod=Object.freeze({startIndex:0,length:0,value:""});var eac=function(a){a=a||{};a=a.max_height;var b=Lt(),c;a&&a>0?c=Kt(Mt(Kt(Lt(),'<div class="'+Gt("peoplekitComponentsSearchbarImplSearchBarContainer")+'" style="max-height: '+Gt(c8(a))+'px">'),imd(Jt('<div peoplekit-id="'+Gt("kE8AEc")+'"></div>'))),"</div>"):c=Jt('<div class="'+Gt("peoplekitComponentsSearchbarImplSearchBarContainer")+'"><div peoplekit-id="'+Gt("kE8AEc")+'"></div></div>');return Mt(b,c)},gac=function(a){var b=a.id,c=a.ariaLabel,d=a.helpText,e=a.shouldAutofocus,f=a.height;a=a.densityClass;
return Jt('<div class="'+Gt("peoplekitComponentsSearchbarImplSearchInputContainer")+'" style="height: '+Gt(c8(f))+'px" role="presentation"><input id="'+Gt(b)+'" class="'+Gt("peoplekitComponentsSearchbarImplSearchInput")+" "+Gt(a)+'" peoplekit-id="'+Gt("BbVjBd")+'" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="false" aria-label="'+Gt(c)+'" aria-autocomplete="list" aria-haspopup="listbox" aria-expanded="false" placeholder="'+Gt(d)+'" size="'+Gt(d.length)+'" type="text" role="combobox"'+
(e?" autofocus":"")+'><span class="'+Gt("peoplekitComponentsSearchbarImplSearchInputWidthMeasurer")+" "+Gt(a)+'" peoplekit-id="'+Gt("nl4wje")+'"></span></div>')};var Zod=[[37],[512,37],[16,37],[18,37],[18,16,37],[512,16,37],[39],[512,39],[16,39],[18,39],[18,16,39],[512,16,39],[46],[8],[13],[36],[16,36],[512,36],[35],[16,35],[512,35],[38],[512,38],[512,16,38],[16,38],[40],[512,40],[512,16,40],[16,40],[113],[512,67],[512,88],[512,65],[16,69],[16,70]],Ut=function(a,b,c,d,e,f,h,k,q,u){var A=this;this.searchBarElement=a;this.chipsBar=b;this.inputContainer=c;this.autocomplete=d;this.selectionsState=e;this.undoRedoStack=f;this.config=q;this.prevQueryValue="";this.isDisposed=
!1;this.pasteLookupNotFoundListeners=[];this.manualLookupNotFoundListeners=[];this.inputElement=Ms(c,"BbVjBd");this.inputWidthMeasurer=Ms(c,"nl4wje");this.scrollBarElement=a.querySelector('[peoplekit-id="I8ejUe"]');this.updateMinWidthBatcher=new xmd;this.autocompleteBatcher=new Wod;this.lookupSelector=new Tt(this.selectionsState,h,k,u);this.eventHandler=Qs(this);this.keyboardShortcutHandler=new Qod;this.enterKeyDownListeners=[];this.query=Yod;this.onSelectionCallback=function(){A.onSelect()};this.onSelectionAttemptedCallback=
function(){A.onSelectAttempt()};this.onDeselectionCallback=function(){A.onDeselect()};this.attach();m9(this);$od(this)};g=Ut.prototype;g.select=function(a){return this.chipsBar.select(a)};g.deselect=function(a){this.chipsBar.deselect(a)};g.replace=function(a){return this.chipsBar.replace(a)};g.focus=function(){this.inputElement.focus()};
g.dispose=function(){this.detach();this.autocomplete.dispose();this.chipsBar.dispose();this.lookupSelector.dispose();this.updateMinWidthBatcher.cancel();this.autocompleteBatcher.cancel();this.keyboardShortcutHandler.dispose();this.enterKeyDownListeners.length=0;this.isDisposed=!0};var apd=function(a,b){a=l(a.pasteLookupNotFoundListeners);for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};Ut.prototype.search=function(){n9(this,!1,!0)};
Ut.prototype.attach=function(){var a=this;E8(this.selectionsState,this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.add(this.onSelectionAttemptedCallback,2);D8(this.selectionsState,this.onDeselectionCallback);this.eventHandler.listen(this.inputElement,"keydown",function(b){b=new St(b);a.keyboardShortcutHandler.handleEvent(b);if(!a.inputElement.value)a.undoRedoStack.onKeyDown(b)});this.eventHandler.listen(this.inputElement,"keyup",function(b){b.keyCode!==37&&b.keyCode!==39||
n9(a)});this.eventHandler.listen(this.inputElement,"input",function(){a.onInput()});this.eventHandler.listen(this.inputElement,"paste",function(b){bpd(a,b)});this.eventHandler.listen(this.inputElement,"blur",function(){a.onInputBlur()});this.eventHandler.listen(this.inputElement,"focus",function(){a.onInputFocus()});this.eventHandler.listen(this.inputElement,"click",function(){n9(a)});this.eventHandler.listen(this.searchBarElement,"click",function(){a.inputElement.focus()});cpd(this)};
Ut.prototype.detach=function(){this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.remove(this.onSelectionAttemptedCallback);this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.eventHandler.removeAll()};
var n9=function(a,b,c){b=b===void 0?!1:b;c=c===void 0?!1:c;a.autocompleteBatcher.call(function(){a.query=bac(a.inputElement.value,a.inputElement.selectionStart||0);if(c||a.prevQueryValue!==a.query.value||!a.autocomplete.isShown())a.prevQueryValue=a.query.value,a.autocomplete.search(a.query.value,a.inputElement,b||a.config.getShowSuggestions(),function(){})})},epd=function(a){var b=a.inputElement.value;a.inputElement.value="";dpd(a);var c=Ft(b);c=K$b(Wt(c.address)).setDisplayName(c.getName());a.lookupSelector.select([c],
13).then(function(d){if(!a.isDisposed){if(d.length){a.inputElement.value=b;d={notFoundIds:d};for(var e=l(a.manualLookupNotFoundListeners),f=e.next();!f.done;f=e.next())f=f.value,f(d)}a.inputElement.setSelectionRange(a.inputElement.value.length,a.inputElement.value.length);m9(a);n9(a)}});a.undoRedoStack.push()};Ut.prototype.onInput=function(){m9(this);n9(this)};
var fpd=function(a,b){if(dt)return a.searchBarElement.ownerDocument.defaultView.clipboardData;a=b.event_;return a.type==="paste"?a.clipboardData:null},bpd=function(a,b){var c=(a.inputElement.selectionEnd||0)-(a.inputElement.selectionStart||0),d=a.inputElement.value.length;if(!(d>0&&c<d)){var e;c=((e=fpd(a,b))==null?void 0:e.getData("text"))||"";e=aac(c);var f=new Map;e=e.map(function(h){var k=Ft(h.value),q=k.address?k.getName():"";k=k.address||k.getName();k=k.includes("@")?Wt(k):vac(k);q=K$b(k).setDisplayName(q);
f.set(String(k),h);return q});b.preventDefault();b.stopPropagation();a.lookupSelector.select(e,5).then(function(h){a.isDisposed||(a.inputElement.value=h.map(function(k){var q;return((q=f.get(String(k)))==null?void 0:q.value.trim())||""}).join(", "),h.length&&apd(a,{notFoundIds:h}),a.inputElement.setSelectionRange(a.inputElement.value.length,a.inputElement.value.length),m9(a),n9(a))});a.undoRedoStack.push()}};Ut.prototype.onInputFocus=function(){n9(this)};Ut.prototype.onInputBlur=function(){dpd(this)};
var m9=function(a){a.updateMinWidthBatcher.call(function(){a.inputWidthMeasurer.textContent=a.inputElement.value.length>a.inputElement.placeholder.length?a.inputElement.value:a.inputElement.placeholder;a.inputContainer.style.flexBasis=Math.max(a.inputWidthMeasurer.clientWidth,50)-2+"px"})},cpd=function(a){var b=Ts(a.searchBarElement)?39:37,c=function(d){!a.inputElement.value&&a.selectionsState.size()>0&&(a.chipsBar.focusLastChip(),d.stopPropagation())};l9(a.keyboardShortcutHandler,[8],c);l9(a.keyboardShortcutHandler,
[b],c);l9(a.keyboardShortcutHandler,[16,b],c);l9(a.keyboardShortcutHandler,[512,16,b],c);l9(a.keyboardShortcutHandler,[18,16,b],c);l9(a.keyboardShortcutHandler,[512,65],function(d){a.inputElement.value||(a.chipsBar.focusLastChip(),a.chipsBar.activateAllChips(),d.preventDefault(),d.stopPropagation())});l9(a.keyboardShortcutHandler,[40],function(d){a.inputElement.value||a.autocomplete.isShown()||(n9(a,!0),d.preventDefault(),d.stopPropagation())});l9(a.keyboardShortcutHandler,[13],function(d){if(a.inputElement.value){var e=
a.inputElement.value;e=e==null?!1:Ft(e).isValid();var f=!a.autocomplete.getNavigatable().size();e&&f&&(epd(a),d.preventDefault(),d.stopPropagation())}else if(!a.autocomplete.getNavigatable().getActiveItems().length){e=a.selectionsState.asArray();f=l(a.enterKeyDownListeners);for(var h=f.next();!h.done;h=f.next())h=h.value,h(e);d.preventDefault();d.stopPropagation()}});b=l(Zod);for(c=b.next();!c.done;c=b.next())l9(a.keyboardShortcutHandler,c.value,function(d){d.stopPropagation()})},dpd=function(a){a.autocompleteBatcher.cancel();
a.autocomplete.canHide()&&(a.autocomplete.detach(),a.prevQueryValue="")};
Ut.prototype.onSelect=function(){gpd(this);$od(this);this.scrollBarElement&&(this.scrollBarElement.scrollTop=this.scrollBarElement.scrollHeight);var a;if(((a=this.inputElement.getRootNode())==null?void 0:a.activeElement)===this.inputElement){this.autocomplete.getNavigatable().reset();a=this.inputElement.value;var b=this.query;this.inputElement.value=(a.slice(0,Math.max(b.startIndex-1,0))+a.slice(b.startIndex+b.length)).replace(Xod,"");this.inputElement.setSelectionRange(this.query.startIndex,this.query.startIndex);
n9(this,!1,!1);m9(this)}};Ut.prototype.onSelectAttempt=function(){this.onSelect()};Ut.prototype.onDeselect=function(){this.autocomplete.isShown()&&n9(this,!1,!1);gpd(this);$od(this);m9(this);this.selectionsState.size()<=0&&this.inputElement.focus()};
var gpd=function(a){var b,c=a.selectionsState.size()>0?(b=a.config.helpTextWithSelections)!=null?b:a.config.helpText:a.config.helpText;a.inputElement.placeholder!==c&&(a.inputElement.placeholder=c,m9(a))},$od=function(a){var b=a.inputElement,c=b.setAttribute;a=a.selectionsState.size();c.call(b,"aria-description",(a===0?"None":""+a)+" selected")};var dac=function(a,b,c){this.selectionsState=a;this.lookupSelector=b;this.undoStack=[];this.redoStack=[];a=10;a=a===void 0?0:a;var d;this.maxUndoStackSize=(d=Dba(Ke(c.internal,3)))!=null?d:a;this.push()};dac.prototype.push=function(){var a=this.selectionsState.asArray().map(N$b),b=!1;this.undoStack.length!==0&&cac(this.undoStack[this.undoStack.length-1],a)||(this.undoStack.push(a),b=!0);this.undoStack.length>this.maxUndoStackSize&&this.undoStack.shift();this.redoStack.length=0;return b};
dac.prototype.undo=function(){if(this.undoStack.length<=1)return!1;var a=this.undoStack.pop();this.redoStack.push(a);a=this.undoStack[this.undoStack.length-1];this.selectionsState.clear();this.lookupSelector.select(a,11);return!0};dac.prototype.clear=function(){this.undoStack.length=0;this.push()};
dac.prototype.onKeyDown=function(a){var b=a.event.keyCode===90&&a.event.platformModifierKey&&a.event.shiftKey;if(a.event.keyCode===89&&a.event.platformModifierKey||b)this.redoStack.length!==0&&(b=this.redoStack.pop(),this.undoStack.push(b),this.selectionsState.clear(),this.lookupSelector.select(b,11)),a.preventDefault(),a.stopPropagation();a.event.keyCode===90&&a.event.platformModifierKey&&!a.event.shiftKey&&(this.undo(),a.preventDefault(),a.stopPropagation())};var hac=et.getInstance();var lac=function(a,b,c,d,e){var f=this;this.root=a;this.searchBar=b;this.selectionsState=c;this.interactionReporter=d;this.searchbarTracker=e;this.selectionChangedListeners=[];this.selectionChangedAutoBatcher=new xmd;E8(this.selectionsState,function(){f.notifySelectionChanged()});D8(this.selectionsState,function(){f.notifySelectionChanged()});umd(this.selectionsState,function(){f.notifySelectionChanged()})};g=lac.prototype;g.select=function(a){return this.searchBar.select(a)};g.deselect=function(a){this.searchBar.deselect(a)};
g.replace=function(a){return this.searchBar.replace(a)};g.subscribeToSelectionChanged=function(a){this.selectionChangedListeners.push(a)};g.notifySelectionChanged=function(){var a=this;this.selectionChangedAutoBatcher.call(function(){for(var b=a.selectionsState.asArray(),c=l(a.selectionChangedListeners),d=c.next();!d.done;d=c.next())d=d.value,d(b)})};g.focus=function(){this.searchBar.focus()};g.report=function(a){var b=this.selectionsState.asArray();r9b(this.interactionReporter,a,b)};
g.dispose=function(){this.searchbarTracker.stop();this.selectionChangedListeners.length=0;this.selectionsState.clear();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.searchBar.dispose()};var jac=function(a){a=a||{};a=a.classes;return Jt('<div peoplekit-id="'+Gt("P3anae")+'"'+(a?' class="'+Gt(a)+'"':"")+"></div>")};var hpd={create:function(a,b,c,d){d=d===void 0?new xt:d;return oac(a,b,c,new Bid,{sessionOptions:d})},createWith:function(a,b,c,d){d=d===void 0?{}:d;return oac(a,b,c,new Bid,d)},createConfig:function(a){a=a===void 0?new PPc(xP.apiEnv,new QPc(xP.userProfileId)):a;return new jod(a)}};var o9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(o9,n);g=o9.prototype;g.getEnableClearcut=function(){return De(this,1)};g.setEnableClearcut=function(a){return hf(this,1,a)};g.getSocialApplication=function(){return Zd(this,2)};g.getSocialApplicationOrUndefined=function(){return $l(this,2)};g.setEventSources=function(a){Nu(this,5,wu,a)};var p9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(p9,n);p9.prototype.getApplication=function(){return Zd(this,1)};p9.prototype.setApplication=function(a){return mf(this,1,a)};p9.prototype.getApplicationOrUndefined=function(){return $l(this,1)};p9.prototype.getIsEnabled=function(){return De(this,2)};var q9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(q9,n);g=q9.prototype;g.getSuggestMaxResults=function(){return Pd(this,1,10)};g.getSearchMaxResults=function(){return Pd(this,2,10)};g.getCacheStaleSec=function(){return wl(this,4,86400)};g.getCacheExpiredSec=function(){return wl(this,5,1209600)};g.getRpcTimeoutSec=function(){return wl(this,12,60)};g.getSuggestFormat=function(){return Zd(this,15,1)};g.getSearchFormat=function(){return Zd(this,16,1)};
g.getEnablePersonalizedQueryMatching=function(){return De(this,35)};var r9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(r9,n);r9.prototype.getApiKey=function(){return Oc(this,1)};r9.prototype.setApiKey=function(a){return lf(this,1,a)};var s9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(s9,n);s9.prototype.getClientId=function(){return Oc(this,1,"CLIENT_UNSPECIFIED")};s9.prototype.setClientId=function(a){return lf(this,1,a)};s9.prototype.setAffinityType=function(a){return lf(this,4,a)};var ipd=function(a){return Zd(a,5)};s9.prototype.setPhoneCanonicalizationInference=function(a){return mf(this,19,a)};s9.prototype.getPhoneCanonicalizationInferenceOrUndefined=function(){return $l(this,19)};var jpd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(jpd,n);g=jpd.prototype;g.getClient=function(){return r(this,q9,1)};g.setClient=function(a){return t(this,q9,1,a)};g.hasClient=function(){return Me(this,q9,1)};g.getGapi=function(){return r(this,r9,2)};g.getPeopleApi=function(){return r(this,s9,3)};g.getClearcut=function(){return r(this,o9,4)};g.setClearcut=function(a){t(this,o9,4,a)};g.hasClearcut=function(){return Me(this,o9,4)};
g.getExperiments=function(){return r(this,p9,5)};g.setExperiments=function(a){return t(this,p9,5,a)};g.hasExperiments=function(){return Me(this,p9,5)};var kpd=Nda(jpd);var lpd;var t9=function(a,b){this.delegate_=a;this.runtimeConfig_=b||new YPc;a=this.getPeopleApi();$e(a,7,Rd()).length||np(a,7,[2,8,1,7,10,11]);Qd(a,8,Rd()).length||Wd(a,8,["person.name","person.photo","person.email","person.phone","person.metadata"]);b=l(Qd(a,8,Rd()));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,c){case "person.name":case "person.email":case "person.phone":wc(a,8,Pb,c+".metadata.verified",void 0,Qb)}};
t9.prototype.getClient=function(){this.delegate_.hasClient()||this.delegate_.setClient(new q9);return this.delegate_.getClient()};t9.prototype.getGapi=function(){if(!Me(this.delegate_,r9,2)){var a=this.delegate_,b=new r9;t(a,r9,2,b)}return this.delegate_.getGapi()};t9.prototype.getPeopleApi=function(){if(!Me(this.delegate_,s9,3)){var a=this.delegate_,b=new s9;t(a,s9,3,b)}return this.delegate_.getPeopleApi()};
t9.prototype.getClearcut=function(){this.delegate_.hasClearcut()||this.delegate_.setClearcut(new o9);return this.delegate_.getClearcut()};var mpd=function(a){a.delegate_.hasExperiments()||a.delegate_.setExperiments(new p9);return a.delegate_.getExperiments()};t9.prototype.getAuthErrorHandler=function(){return this.runtimeConfig_.getAuthErrorHandler()};var npd=function(a){a=a.getClient();return Pd(a,6,500)?Math.min(Math.round(Pd(a,6,500)/4),500):500};var opd;var vu=null;var ppd=function(){};ppd.prototype.processItem=function(){};var qpd=new ppd;var qac=new Set([10,11]);var rpd=function(a){this.interleaveGroups_=De(a,33)},spd=function(a,b,c){return b.filter(function(d){return d.provenance!==8}).sort(function(d,e){a:{var f=a.interleaveGroups_;switch(c){case 2:d=rac(d,e,f,!0);break a;default:d=sac(d,e,f)}}return d}).map(function(d){return String(d.id)})};var u9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(u9,n);u9.prototype.setPhoneCanonicalizationInference=function(a){return mf(this,1,a)};u9.prototype.getPhoneCanonicalizationInferenceOrUndefined=function(){return $l(this,1)};var v9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(v9,n);v9.prototype.setDevice=function(a){return mf(this,1,a)};var tpd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(tpd,n);var upd=function(){var a=new tpd;return mf(a,1,1)},vpd=function(a,b){return lf(a,2,b)};var wpd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(wpd,n);g=wpd.prototype;g.setAffinityType=function(a){return mf(this,1,a)};g.getQuery=function(){return xf(this,2)};g.setQuery=function(a){return lf(this,2,a)};g.clearQuery=function(){Ou(this,2)};g.hasQuery=function(){return Ge(this,2)};g.setClientInformation=function(a){t(this,v9,3,a)};g.setMaxResults=function(a){return jf(this,4,a)};g.setFormattingOptions=function(a){t(this,u9,5,a)};
g.setDelegation=function(a){t(this,tpd,6,a)};var xpd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(xpd,n);var ypd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ypd,n);g=ypd.prototype;g.getAffinityVersion=function(){return Yu(this,1)};g.setAffinityVersion=function(a){jf(this,1,a)};g.getAffinityVersionOrUndefined=function(){return Uu(this,1)};g.setFeature=function(a){return Nu(this,3,xpd,a)};g.setAffinityType=function(a){return lf(this,4,a)};var Nac=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,4)};Y(Nac,n);var w9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(w9,n);w9.prototype.getValue=function(){return xf(this,1)};w9.prototype.getValue_legacyNullable=function(){return xf(this,1)};w9.prototype.setValue=function(a){return lf(this,1,a)};w9.prototype.hasValue=function(){return Ge(this,1)};var x9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(x9,n);g=x9.prototype;g.getLoggingId=function(){return Ke(this,1,void 0,lu,qc)};g.setLoggingId=function(a){Np(this,1,eb(a,!1,!0))};g.getValue=function(){return $u(this,2)};g.getValue_legacyNullable=function(){return $u(this,2)};g.setValue=function(a){return av(this,2,a)};g.hasValue=function(){return Ke(this,2,void 0,void 0,sb)!=null};var y9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(y9,n);g=y9.prototype;g.getValue=function(){return xf(this,1)};g.getValue_legacyNullable=function(){return xf(this,1)};g.setValue=function(a){return lf(this,1,a)};g.hasValue=function(){return Ge(this,1)};g.getGivenName=function(){return xf(this,2)};g.setGivenName=function(a){return lf(this,2,a)};g.hasGivenName=function(){return Ge(this,2)};g.getFamilyName=function(){return xf(this,3)};
g.setFamilyName=function(a){return lf(this,3,a)};g.hasFamilyName=function(){return Ge(this,3)};g.getSourceType=function(){return ju(this,4)};g.setSourceType=function(a){return mf(this,4,a)};var zpd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(zpd,n);g=zpd.prototype;g.getUrl=function(){return xf(this,1)};g.setUrl=function(a){return lf(this,1,a)};g.hasUrl=function(){return Ge(this,1)};g.getType=function(){return ju(this,2)};g.setType=function(a){return mf(this,2,a)};g.hasType=function(){return He(this,2)};g.getGlyph=function(){return xf(this,3)};g.setGlyph=function(a){return lf(this,3,a)};var z9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(z9,n);g=z9.prototype;g.getPhoto=function(){return r(this,zpd,1)};g.setPhoto=function(a){t(this,zpd,1,a)};g.hasPhoto=function(){return Me(this,zpd,1)};g.getName=function(){return r(this,y9,2)};g.setName=function(a){return t(this,y9,2,a)};g.hasName=function(){return Me(this,y9,2)};g.getNameOrUndefined=function(){return Lec(this,y9,2)};g.getAffinity=function(){return r(this,x9,3)};
g.hasAffinity=function(){return Me(this,x9,3)};var A9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(A9,n);A9.prototype.getStatus=function(){return ju(this,2)};A9.prototype.setStatus=function(a){return mf(this,2,a)};A9.prototype.hasStatus=function(){return He(this,2)};var Apd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Apd,n);var $ac=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y($ac,n);$ac.prototype.getState=function(){return ju(this,2)};$ac.prototype.setState=function(a){return mf(this,2,a)};var B9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(B9,n);B9.prototype.getApplication=function(){return Zd(this,1)};B9.prototype.setApplication=function(a){return mf(this,1,a)};B9.prototype.getApplicationOrUndefined=function(){return $l(this,1)};var C9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(C9,n);C9.prototype.getValue=function(){return xf(this,1)};C9.prototype.getValue_legacyNullable=function(){return xf(this,1)};C9.prototype.setValue=function(a){return lf(this,1,a)};C9.prototype.hasValue=function(){return Ge(this,1)};var wac=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(wac,n);g=wac.prototype;g.getProfileId=function(){return xf(this,1)};g.getProfileId_legacyNullable=function(){return xf(this,1)};g.setProfileId=function(a){return lf(this,1,a)};g.hasProfileId=function(){return Ge(this,1)};g.getEmail=function(){return ou(this,2,Zt)};g.getEmail_legacyNullable=function(){return ou(this,2,Zt)};g.setEmail=function(a){return fl(this,2,Zt,a)};
g.hasEmail=function(){return fp(this,2,Zt)!=null};g.getPhone=function(){return ou(this,3,Zt)};g.getPhone_legacyNullable=function(){return ou(this,3,Zt)};g.setPhone=function(a){return fl(this,3,Zt,a)};g.getClientData=function(){return xf(this,4)};g.hasClientData=function(){return Ge(this,4)};var Zt=[2,3];var Bpd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Bpd,n);g=Bpd.prototype;g.getDisplayValue=function(){return xf(this,1)};g.getCanonicalValue=function(){return xf(this,2)};g.setCanonicalValue=function(a){return lf(this,2,a)};g.hasCanonicalValue=function(){return Ge(this,2)};g.getOriginalValue=function(){return xf(this,3)};var Cpd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Cpd,n);var Dpd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Dpd,n);g=Dpd.prototype;g.getStatus=function(){return ju(this,1)};g.setStatus=function(a){return mf(this,1,a)};g.hasStatus=function(){return He(this,1)};g.getClientData=function(){return xf(this,2)};g.hasClientData=function(){return Ge(this,2)};var zac=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(zac,n);g=zac.prototype;g.getIdCase=function(){return al(this,D9)};g.getProfileId=function(){return ou(this,1,D9)};g.getProfileId_legacyNullable=function(){return ou(this,1,D9)};g.setProfileId=function(a){return fl(this,1,D9,a)};g.hasProfileId=function(){return fp(this,1,D9)!=null};g.getContactId=function(){return ou(this,2,D9)};g.setContactId=function(a){return fl(this,2,D9,a)};var D9=[1,2];var Epd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Epd,n);g=Epd.prototype;g.getValueCase=function(){return al(this,Xt)};g.getDisplayInfo=function(){return r(this,z9,1)};g.hasDisplayInfo=function(){return Me(this,z9,1)};g.getEmail=function(){return Zk(this,C9,2,Xt)};g.setEmail=function(a){return Bl(this,2,Xt,a)};g.hasEmail=function(){return Yk(this,C9,2,Xt)};g.getPhone=function(){return Zk(this,Bpd,3,Xt)};g.setPhone=function(a){return Bl(this,3,Xt,a)};
g.getIsSelf=function(){return bu(this,6)};g.getTypeLabel=function(){return xf(this,10)};g.getDisambiguationLabel=function(){return r(this,w9,14)};g.setDisambiguationLabel=function(a){t(this,w9,14,a)};var Xt=[2,3,4];var Fpd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Fpd,n);g=Fpd.prototype;g.getDisplayInfo=function(){return r(this,z9,1)};g.hasDisplayInfo=function(){return Me(this,z9,1)};g.getMembersList=function(){return ie(this,Epd,2,Rd())};g.setMembersList=function(a){return Ol(this,2,a)};g.getLabelId=function(){return xf(this,3)};var au=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a,5)};Y(au,n);au.prototype.getIsPlaceholder=function(){return De(this,2)};au.prototype.setIsPlaceholder=function(a){hf(this,2,a)};au.prototype.getContactId=function(){return Re(this,4)};au.prototype.setContactId=function(a){return Ze(this,4,a)};var Gpd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Gpd,n);Gpd.prototype.getAffinity=function(){return r(this,x9,2)};Gpd.prototype.hasAffinity=function(){return Me(this,x9,2)};var jbc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(jbc,n);jbc.prototype.getIdCase=function(){return al(this,kbc)};var kbc=[1,2];var Hpd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Hpd,n);g=Hpd.prototype;g.getDisplayInfo=function(){return r(this,z9,1)};g.hasDisplayInfo=function(){return Me(this,z9,1)};g.getMembersList=function(){return ie(this,Gpd,2,Rd())};g.setMembersList=function(a){return Ol(this,2,a)};g.getGroupId=function(){return xf(this,4)};g.setGroupId=function(a){lf(this,4,a)};g.hasGroupId=function(){return Ge(this,4)};var E9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(E9,n);E9.prototype.getDataCase=function(){return al(this,F9)};E9.prototype.clearData=function(){return Jec(this,F9)};E9.prototype.getGroup=function(){return Zk(this,Hpd,2,F9)};E9.prototype.setGroup=function(a){Bl(this,2,F9,a)};var F9=[1,2,3];var Ipd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Ipd,n);var Jpd=new Dx("/peoplestack.PeopleStackAutocompleteService/Autocomplete",wpd,Ipd,function(a){return a.serialize()},Qc(Ipd));var Kpd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Kpd,n);g=Kpd.prototype;g.setAffinityType=function(a){return mf(this,1,a)};g.setClientInformation=function(a){t(this,v9,2,a)};g.getName=function(){return xf(this,3)};g.setName=function(a){return lf(this,3,a)};g.hasName=function(){return Ge(this,3)};g.getNameOrUndefined=function(){return Vu(this,3)};var Lpd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Lpd,n);Lpd.prototype.getGroup=function(){return r(this,Hpd,1)};Lpd.prototype.setGroup=function(a){t(this,Hpd,1,a)};var Mpd=new Dx("/peoplestack.PeopleStackAutocompleteService/CreateGroup",Kpd,Lpd,function(a){return a.serialize()},Qc(Lpd));var hu=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(hu,n);g=hu.prototype;g.getIdCase=function(){return al(this,iu)};g.getEmail=function(){return ou(this,1,iu)};g.getEmail_legacyNullable=function(){return ou(this,1,iu)};g.setEmail=function(a){return fl(this,1,iu,a)};g.hasEmail=function(){return fp(this,1,iu)!=null};g.getPhone=function(){return ou(this,2,iu)};g.getPhone_legacyNullable=function(){return ou(this,2,iu)};g.setPhone=function(a){return fl(this,2,iu,a)};
g.getProfileId=function(){return ou(this,3,iu)};g.getProfileId_legacyNullable=function(){return ou(this,3,iu)};g.setProfileId=function(a){return fl(this,3,iu,a)};g.hasProfileId=function(){return fp(this,3,iu)!=null};g.getContactId=function(){return ou(this,5,iu)};g.setContactId=function(a){return fl(this,5,iu,a)};var iu=[1,2,3,4,5];var G9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(G9,n);G9.prototype.setAffinityType=function(a){return mf(this,1,a)};G9.prototype.setClientInformation=function(a){t(this,v9,2,a)};var Npd=function(a,b){Ol(a,3,b)};G9.prototype.setIds=function(a){return Nu(this,3,hu,a)};G9.prototype.setFormattingOptions=function(a){t(this,u9,4,a)};G9.prototype.setDelegation=function(a){t(this,tpd,5,a)};var Opd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Opd,n);Opd.prototype.getId=function(){return r(this,hu,1)};Opd.prototype.setId=function(a){return t(this,hu,1,a)};var Ppd=[2,3];var Qpd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Qpd,n);var Rpd=new Dx("/peoplestack.PeopleStackAutocompleteService/Lookup",G9,Qpd,function(a){return a.serialize()},Qc(Qpd));var H9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(H9,n);H9.prototype.setAffinityType=function(a){return mf(this,1,a)};H9.prototype.setClientInformation=function(a){t(this,v9,2,a)};H9.prototype.setDelegation=function(a){t(this,tpd,3,a)};var Spd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(Spd,n);var Tpd=new Dx("/peoplestack.PeopleStackAutocompleteService/Warmup",H9,Spd,function(a){return a.serialize()},Qc(Spd));var Upd=function(a){var b={unaryInterceptors:[new Hkd]};b=b||{};b.format="jspb";this.client_=new rnc(b);this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};Upd.prototype.autocomplete=function(a,b,c){return Yx(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Autocomplete",a,b||{},Jpd,c)};Upd.prototype.lookup=function(a,b,c){return Yx(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Lookup",a,b||{},Rpd,c)};
Upd.prototype.createGroup=function(a,b,c){return Yx(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/CreateGroup",a,b||{},Mpd,c)};var tu=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(tu,n);g=tu.prototype;g.getTimestamp=function(){return Re(this,1)};g.setTimestamp=function(a){return Ze(this,1,a)};g.hasTimestamp=function(){return Qe(this,1)};g.getAffinityVersion=function(){return Pd(this,2)};g.setAffinityVersion=function(a){jf(this,2,a)};g.getAffinityVersionOrUndefined=function(){return Uu(this,2)};g.getNextPageToken=function(){return Oc(this,4)};var I9=function(a){return hf(a,5,!0)};
tu.prototype.getCode=function(){return Zd(this,6)};tu.prototype.setCode=function(a){return mf(this,6,a)};tu.prototype.getCodeOrUndefined=function(){return $l(this,6)};var Jac=new iv(417869898,cu,au);var Oac=new iv(417866180,cu,Nac);var Vpd=function(a){a=a==null?"":String(a);for(var b=0,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a.codePointAt(c);return b},Hac=function(a){if(!a)return 0;a=Array.from(a).map(Vpd);a.sort();for(var b=1,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a[c];return b};var tac=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]]);var Wpd=function(a){this.leanResponseProcessorConfig_=a},Xpd=function(a,b,c,d){d=d===void 0?!1:d;for(var e=[],f=Mac(b),h=[],k=l(ie(b,Epd,1,Rd())),q=k.next();!q.done;q=k.next()){q=q.value;var u=yac(q);if(u.equals($t)){if(!a.leanResponseProcessorConfig_.allowEmptyTargets&&!d)continue;u=Iac(q);if(!u)continue;u=zcc(u)}h.push(String(u));var A=void 0,D=void 0;u={id:u,containerIds:Cac(q),coalescedKeys:h,isMe:!!q.getIsSelf(),dataSource:Dac(b,q),provenance:c,isPrimary:Gac((A=q.getDisplayInfo())!=null?A:null),
itemAffinity:Fac(b),fieldAffinity:Eac((D=q.getDisplayInfo())!=null?D:null),contactMethod:q,person:b};f&&(u.resultExtendedData=f);if(A=Pac(q))u.targetExtendedData=A;q=ie(q,Cpd,15,Rd());q.length>0&&(u.preferredSearchTerms=q.map(function(H){return xf(H,1)}));e.push(u)}e.length&&e.every(function(H){return!H.isPrimary})&&(e[0].isPrimary=!0);return e},Ypd=function(a,b,c){var d=ycc(uac(xf(b,5)),b.getGroupId()||""),e=b.getMembersList().map(function(q){return Xpd(a,q,8,!0)}),f=e.filter(function(q){return q&&
q.length}).map(function(q){return String(q[0].id)}),h,k;d=[{id:d,containerIds:[d],memberKeys:f,totalMemberCount:(h=Uu(b,3))!=null?h:void 0,provenance:c,isPrimary:!0,itemAffinity:Eac((k=b.getDisplayInfo())!=null?k:null),fieldAffinity:-Infinity,group:b}];b=l(e);for(c=b.next();!c.done;c=b.next())d.push.apply(d,p(c.value));return d},Zpd=function(a,b){var c=zPc(a.getLabelId()||""),d=a.getMembersList().map(function(h){if(h.hasEmail()&&h.getEmail().getValue()){var k,q;var u={id:Wt(h.getEmail().getValue()),
containerIds:Cac(h),contactMethod:h,provenance:8,isMe:!1,dataSource:1,isPrimary:Gac((k=h.getDisplayInfo())!=null?k:null),itemAffinity:-Infinity,fieldAffinity:Eac((q=h.getDisplayInfo())!=null?q:null)};if(h=Pac(h))u.targetExtendedData=h}else u=null;return u}).filter(Boolean),e=d.map(function(h){return String(h.id)}),f;return[{id:c,containerIds:[c],memberKeys:e,totalMemberCount:d.length,provenance:b,dataSource:1,isPrimary:!0,itemAffinity:Eac((f=a.getDisplayInfo())!=null?f:null),fieldAffinity:-Infinity,
isMe:!1,contactLabel:a}].concat(p(d))},$pd=function(a,b,c){switch(b.getDataCase()){case 1:return Xpd(a,Zk(b,Gpd,1,F9),c);case 2:return Ypd(a,b.getGroup(),c);case 3:return Zpd(Zk(b,Fpd,3,F9),c);default:return[]}},aqd=function(a,b,c){return ie(b,E9,1,Rd()).flatMap(function(d){return $pd(a,d,c)})};var uu=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(uu,n);uu.prototype.getSessionState=function(){return r(this,rP,1)};uu.prototype.setSessionState=function(a){return t(this,rP,1,a)};uu.prototype.hasSessionState=function(){return Me(this,rP,1)};var fu=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(fu,n);fu.prototype.hasNoChanges=function(){return Ce(this,12)};var eu=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(eu,n);eu.prototype.getEventType=function(){return Zd(this,1)};eu.prototype.setEventType=function(a){return mf(this,1,a)};var gu=function(a,b){return mf(a,2,b)},Qac=function(a,b){return mf(a,3,b)};g=eu.prototype;g.getErrorType=function(){return Zd(this,6)};g.setErrorType=function(a){return mf(this,6,a)};g.hasErrorType=function(){return He(this,6)};g.getIdType=function(){return Zd(this,8)};
g.setIdType=function(a){mf(this,8,a)};g.getResultIndex=function(){return Pd(this,9)};g.setResultIndex=function(a){jf(this,9,a)};g.getToken=function(){return Oc(this,10)};g.setToken=function(a){lf(this,10,a)};g.getCacheState=function(){return r(this,G8,11)};g.setCacheState=function(a){return t(this,G8,11,a)};g.hasCacheState=function(){return Me(this,G8,11)};g.getQueryLength=function(){return Pd(this,14)};g.setQueryLength=function(a){return jf(this,14,a)};
g.hasQueryLength=function(){return Fe(this,14)};g.getItemCount=function(){return Pd(this,15)};g.setItemCount=function(a){return jf(this,15,a)};g.hasItemCount=function(){return Fe(this,15)};g.getLookupInfo=function(){return r(this,fu,16)};g.getMutableLookupInfo=function(){return Pu(this,fu,16)};g.setLookupInfo=function(a){return t(this,fu,16,a)};g.hasLookupInfo=function(){return Me(this,fu,16)};g.getQueryScope=function(){return Zd(this,17)};g.setQueryScope=function(a){return mf(this,17,a)};
g.hasQueryScope=function(){return He(this,17)};var Sac=new Map([[0,1],[1,2],[2,3],[3,4]]);var bqd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(bqd,n);g=bqd.prototype;g.getLabel=function(){return ju(this,1)};g.setLabel=function(a){return mf(this,1,a)};g.hasLabel=function(){return He(this,1)};g.getItemCount=function(){return Yu(this,2)};g.setItemCount=function(a){return jf(this,2,a)};g.hasItemCount=function(){return Fe(this,2)};g.getLookupInfo=function(){return r(this,fu,3)};g.getMutableLookupInfo=function(){return Pu(this,fu,3)};
g.setLookupInfo=function(a){return t(this,fu,3,a)};g.hasLookupInfo=function(){return Me(this,fu,3)};g.getQueryLength=function(){return Yu(this,4)};g.setQueryLength=function(a){return jf(this,4,a)};g.hasQueryLength=function(){return Fe(this,4)};g.getQueryScope=function(){return Zd(this,5)};g.setQueryScope=function(a){return mf(this,5,a)};g.hasQueryScope=function(){return He(this,5)};var cqd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(cqd,n);g=cqd.prototype;g.getLabel=function(){return ju(this,1)};g.setLabel=function(a){return mf(this,1,a)};g.hasLabel=function(){return He(this,1)};g.getStatus=function(){return ju(this,2)};g.setStatus=function(a){return mf(this,2,a)};g.hasStatus=function(){return He(this,2)};g.setLatencyUsec=function(a){Ze(this,3,a)};g.getResultIndex=function(){return Yu(this,4)};g.setResultIndex=function(a){jf(this,4,a)};
g.getDataSource=function(){return ju(this,7)};g.setDataSource=function(a){return mf(this,7,a)};g.hasDataSource=function(){return He(this,7)};g.getItemCount=function(){return Yu(this,8)};g.setItemCount=function(a){return jf(this,8,a)};g.hasItemCount=function(){return Fe(this,8)};g.getLookupInfo=function(){return r(this,fu,10)};g.getMutableLookupInfo=function(){return Pu(this,fu,10)};g.setLookupInfo=function(a){return t(this,fu,10,a)};g.hasLookupInfo=function(){return Me(this,fu,10)};
g.getStatusCode=function(){return Zd(this,11,2)};g.setStatusCode=function(a){mf(this,11,a)};g.hasStatusCode=function(){return He(this,11)};g.getQueryLength=function(){return Yu(this,13)};g.setQueryLength=function(a){return jf(this,13,a)};g.hasQueryLength=function(){return Fe(this,13)};g.getQueryScope=function(){return Zd(this,14)};g.setQueryScope=function(a){return mf(this,14,a)};g.hasQueryScope=function(){return He(this,14)};var J9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(J9,n);g=J9.prototype;g.getDataSource=function(){return ju(this,3)};g.setDataSource=function(a){return mf(this,3,a)};g.hasDataSource=function(){return He(this,3)};g.getType=function(){return ju(this,4)};g.setType=function(a){return mf(this,4,a)};g.hasType=function(){return He(this,4)};g.getValue=function(){return Re(this,2,ib(1))};g.setValue=function(a){return Ze(this,2,a)};g.hasValue=function(){return Qe(this,2)};
g.getLabel=function(){return xf(this,1)};g.setLabel=function(a){return lf(this,1,a)};g.hasLabel=function(){return Ge(this,1)};var K9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(K9,n);g=K9.prototype;g.getStatusCode=function(){return Zd(this,5,2)};g.setStatusCode=function(a){mf(this,5,a)};g.hasStatusCode=function(){return He(this,5)};g.getLabel=function(){return xf(this,1)};g.setLabel=function(a){return lf(this,1,a)};g.hasLabel=function(){return Ge(this,1)};g.setCause=function(a){lf(this,2,a)};g.getType=function(){return ju(this,3)};g.setType=function(a){return mf(this,3,a)};
g.hasType=function(){return He(this,3)};var dqd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(dqd,n);g=dqd.prototype;g.getType=function(){return ju(this,3)};g.setType=function(a){return mf(this,3,a)};g.hasType=function(){return He(this,3)};g.setLatencyUsec=function(a){Ze(this,2,a)};g.getLabel=function(){return xf(this,1)};g.setLabel=function(a){return lf(this,1,a)};g.hasLabel=function(){return Ge(this,1)};var L9=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(L9,n);L9.prototype.getLabel=function(){return ju(this,1)};L9.prototype.setLabel=function(a){return mf(this,1,a)};L9.prototype.hasLabel=function(){return He(this,1)};var eqd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(eqd,n);g=eqd.prototype;g.getLabel=function(){return ju(this,1)};g.setLabel=function(a){return mf(this,1,a)};g.hasLabel=function(){return He(this,1)};g.getStatus=function(){return ju(this,2)};g.setStatus=function(a){return mf(this,2,a)};g.hasStatus=function(){return He(this,2)};g.setLatencyUsec=function(a){Ze(this,3,a)};g.hasErrorCode=function(){return Qe(this,4)};g.getStatusCode=function(){return Zd(this,7,2)};
g.setStatusCode=function(a){mf(this,7,a)};g.hasStatusCode=function(){return He(this,7)};var ecc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(ecc,n);g=ecc.prototype;g.getClientInterface=function(){return r(this,w8,1)};g.setClientInterface=function(a){return t(this,w8,1,a)};g.getEventType=function(){return ju(this,3)};g.getEventType_legacyNullable=function(){return ju(this,3)};g.setEventType=function(a){return mf(this,3,a)};g.getCount=function(){return r(this,J9,4)};g.getMutableCount=function(){return Pu(this,J9,4)};
g.setCount=function(a){return t(this,J9,4,a)};g.getMutableLatency=function(){return Pu(this,dqd,5)};g.setLatency=function(a){t(this,dqd,5,a)};g.getError=function(){return r(this,K9,6)};g.setError=function(a){t(this,K9,6,a)};g.hasError=function(){return Me(this,K9,6)};var M9=function(a,b,c,d,e){this.leanResponseProcessor_=a;this.grpcClient_=b;this.clientConfig_=c;e?a=Rac(e):(a=new eu,Qac(a.setEventType(4),4));this.sourceInfo_=a;this.provenance_=e?2:1;this.trackers_=d;this.query_=e;this.affinity_=ipd(c.getPeopleApi());this.searchMaxResults_=c.getClient().getSearchMaxResults();d=c.getClient();this.cacheSize_=Pd(d,3,500);this.phoneCanonicalizationInference_=c.getPeopleApi().getPhoneCanonicalizationInferenceOrUndefined();var f;this.delegatorId_=(f=c.runtimeConfig_.delegatorId_)!=
null?f:""};M9.prototype.getMetric=function(){return fqd(this.trackers_,this.sourceInfo_)};
M9.prototype.send=function(a){var b=new wpd;b.setAffinityType(this.affinity_).setQuery(this.query_).setClientInformation((new v9).setDevice(1));this.query_.length?b.setMaxResults(this.searchMaxResults_):b.setMaxResults(this.cacheSize_);this.phoneCanonicalizationInference_!=null&&b.setFormattingOptions((new u9).setPhoneCanonicalizationInference(this.phoneCanonicalizationInference_));this.delegatorId_&&b.setDelegation(vpd(upd(),this.delegatorId_));return this.grpcClient_.autocomplete(b,a)};
M9.prototype.processResponse=function(a){var b=aqd(this.leanResponseProcessor_,a,this.provenance_),c=new tu;Me(a,ypd,2)&&c.setAffinityVersion(r(a,ypd,2).getAffinityVersion());return{data:b,metadata:c}};M9.prototype.close=function(){};var gqd=function(a,b,c,d,e,f){this.leanResponseProcessor_=a;this.grpcClient_=b;this.clientConfig_=c;a=new eu;Qac(a.setEventType(4),7).setIdType(e);this.sourceInfo_=a;this.provenance_=3;this.keys_=f;this.type_=e;this.trackers_=d;this.affinity_=ipd(c.getPeopleApi());this.phoneCanonicalizationInference_=c.getPeopleApi().getPhoneCanonicalizationInferenceOrUndefined();var h;this.delegatorId_=(h=c.runtimeConfig_.delegatorId_)!=null?h:""};gqd.prototype.getMetric=function(){return fqd(this.trackers_,this.sourceInfo_)};
gqd.prototype.send=function(a){var b=this,c=new G9;c.setAffinityType(this.affinity_).setClientInformation((new v9).setDevice(1));Npd(c,this.keys_.map(function(d){return Zac(b.type_,d)}).filter(function(d){return!!d}));this.phoneCanonicalizationInference_!=null&&c.setFormattingOptions((new u9).setPhoneCanonicalizationInference(this.phoneCanonicalizationInference_));this.delegatorId_&&c.setDelegation(vpd(upd(),this.delegatorId_));return this.grpcClient_.lookup(c,a)};
gqd.prototype.processResponse=function(a){var b=this.leanResponseProcessor_,c=this.provenance_,d=new Map;a=l(ie(a,Opd,1,Rd()));for(var e=a.next();!e.done;e=a.next()){var f=e.value;if(Yk(f,E9,2,Ppd))switch(e=$pd(b,Zk(f,E9,2,Ppd),c),f.getId().getIdCase()){case 1:d.set(f.getId().getEmail_legacyNullable(),e);break;case 2:d.set(f.getId().getPhone_legacyNullable(),e);break;case 3:d.set(f.getId().getProfileId_legacyNullable(),e);break;case 4:var h=d,k=h.set;f=f.getId();f=ou(f,4,iu);k.call(h,f,e);break;case 5:d.set(f.getId().getContactId(),
e)}}return{data:d,metadata:new tu}};gqd.prototype.close=function(){};var hqd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(hqd,n);var iqd=new iv(342338249,UPc,hqd);var jqd=function(){};jqd.prototype.write=function(a,b){var c=new hqd;b=t(c,Ipd,1,b);du(a,iqd,b)};jqd.prototype.read=function(a){return(a=a.getExtension(iqd))?r(a,Ipd,1):null};var kqd=function(a,b,c){this.grpcClient_=a;this.clientConfig_=b;this.sourceInfo_=Rac("");this.trackers_=c;this.affinity_=ipd(b.getPeopleApi());var d;this.delegatorId_=(d=b.runtimeConfig_.delegatorId_)!=null?d:""};kqd.prototype.getMetric=function(){return fqd(this.trackers_,this.sourceInfo_)};
kqd.prototype.send=function(a){var b=new H9;b.setAffinityType(this.affinity_).setClientInformation((new v9).setDevice(1));this.delegatorId_&&b.setDelegation(vpd(upd(),this.delegatorId_));var c=this.grpcClient_;return Yx(c.client_,c.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Warmup",b,a||{},Tpd)};kqd.prototype.processResponse=function(){return{data:[],metadata:new tu}};kqd.prototype.close=function(){};var lqd=new Slc;var N9=function(a,b,c){this.delegate_=a;this.runtimeConfig_=b;this.offlineResponse_=c};N9.prototype.send=function(a){var b=this;return v(function(c){return b.runtimeConfig_.isOffline_()?c.return(lqd):c.return(b.delegate_.send(a))})};N9.prototype.getMetric=function(){return this.delegate_.getMetric()};N9.prototype.processResponse=function(a){return a===lqd?this.offlineResponse_:this.delegate_.processResponse(a)};N9.prototype.close=function(a){this.delegate_.close(a)};
var mqd={data:[],metadata:I9(new tu).setCode(14)},nqd={data:new Map,metadata:I9(new tu).setCode(14)};I9(new tu).setCode(14);I9(new tu).setCode(14);I9(new tu).setCode(14);I9(new tu).setCode(14);I9(new tu).setCode(14);I9(new tu).setCode(14);var oqd=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(oqd,n);g=oqd.prototype;g.getTimestamp=function(){return Re(this,1)};g.setTimestamp=function(a){return Ze(this,1,a)};g.hasTimestamp=function(){return Qe(this,1)};g.getOwner=function(){return Oc(this,2)};g.setOwner=function(a){return lf(this,2,a)};var pqd=new iv(342656659,UPc,oqd);var O9=function(a,b,c,d,e){this.delegate_=a;this.offlineStorage_=b;this.offlineDataTransformer_=c;this.owner_=d;this.storageTaskDelayMillis_=e;this.offlineMetadata_=null};O9.prototype.store_=function(a,b){var c=new UPc;du(c,pqd,(new oqd).setTimestamp(b).setOwner(String(this.owner_)));this.offlineDataTransformer_.write(c,a);this.offlineStorage_.store(c)};
var qqd=function(a){var b,c;return v(function(d){if(d.nextAddress==1)return ei(d,2),w(d,a.offlineStorage_.fetch(),4);if(d.nextAddress!=2){b=d.yieldResult;if(!b)return d.return(null);a.offlineMetadata_=b.getExtension(pqd);c=a.offlineMetadata_?Pt(a.offlineMetadata_.getOwner()):$t;return a.owner_.equals(c)?d.return(a.offlineDataTransformer_.read(b)):d.return(null)}ii(d);return d.return(null)})};
O9.prototype.send=function(a){var b=this,c,d,e,f,h;return v(function(k){switch(k.nextAddress){case 1:return ei(k,2),w(k,b.delegate_.send(a),4);case 4:c=k.yieldResult;d=Date.now();if(c!==lqd){k.jumpTo(5);break}return w(k,qqd(b),6);case 6:return e=k.yieldResult,k.return(e||lqd);case 5:return setTimeout(function(){b.store_(c,d)},b.storageTaskDelayMillis_),k.return(c);case 2:return f=ii(k),w(k,qqd(b),7);case 7:return(h=k.yieldResult)?k.return(h):k.return(Promise.reject(f))}})};
O9.prototype.getMetric=function(){return this.delegate_.getMetric()};O9.prototype.processResponse=function(a){a=this.delegate_.processResponse(a);if(!a||!this.offlineMetadata_||!this.offlineMetadata_.hasTimestamp())return a;a.metadata.setTimestamp(pe(this.offlineMetadata_.getTimestamp()));return a};O9.prototype.close=function(a){this.delegate_.close(a)};var rqd=function(a,b){this.config_=a;this.trackers_=b;b=this.config_;var c;(c=b.runtimeConfig_.getApiKey())||(b.runtimeConfig_.getPeopleApiEnv()===7?(b=b.getGapi(),b=Oc(b,2)):b=b.getGapi().getApiKey(),c=b);b={apiKey:c,timeoutSec:a.getClient().getRpcTimeoutSec(),authErrorHandler:a.runtimeConfig_.getAuthErrorHandler(),customAuthHeaders:a.runtimeConfig_.customAuthHeaders_};this.dispatcher_=new Jkd(b);b=Q7b("peoplestack-pa",a.runtimeConfig_.getPeopleApiEnv());this.grpcPeopleStackClient_=new Upd(b);this.offlineDataTransformer_=
new jqd;a=a.getClient();a=De(a,22);this.leanResponseProcessor_=new Wpd({allowEmptyTargets:a})};
rqd.prototype.loadRankedItems=function(){var a=new M9(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,"");a=new N9(a,this.config_.runtimeConfig_,mqd);var b=this.config_,c=this.offlineDataTransformer_,d=b.runtimeConfig_.offlineStorage_;if(d){var e=b.runtimeConfig_.getUserEmail();e&&(e=Wt(e),b=b.getPeopleApi(),b=Pd(b,14,5E3),a=new O9(a,d,c,e,b))}return Lkd(this.dispatcher_,a)};
rqd.prototype.warmUpServer=function(){var a=new kqd(this.grpcPeopleStackClient_,this.config_,this.trackers_);a=new N9(a,this.config_.runtimeConfig_,mqd);return Lkd(this.dispatcher_,a)};rqd.prototype.loadAutocompleteItems=function(a){var b=this.leanResponseProcessor_;var c=this.grpcPeopleStackClient_,d=this.config_,e=this.trackers_;a=a.getPrefix();b=new M9(b,c,d,e,a);b=new N9(b,this.config_.runtimeConfig_,mqd);return Lkd(this.dispatcher_,b)};
rqd.prototype.loadLookupItems=function(a,b){a=new gqd(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a,b);a=new N9(a,this.config_.runtimeConfig_,nqd);return Lkd(this.dispatcher_,a)};var sqd=function(a,b){this.isOrgStateEnabled_=a.runtimeConfig_.isOrgStateEnabled_;this.delegate_=b};sqd.prototype.processItem=function(a){this.delegate_.processItem(a);a=a.target;this.isOrgStateEnabled_||a.setOrgState(0)};var abc=new Map([[1,1],[2,2]]);var tqd=function(a,b,c){this.encryptionSupport_=a;this.certificateStatus_=b;this.certificateExpirySec_=c};tqd.prototype.getEncryptionSupport=function(){return this.encryptionSupport_};tqd.prototype.getCertificateStatus=function(){return this.certificateStatus_};tqd.prototype.getCertificateExpirySec=function(){return this.certificateExpirySec_};var Dcc=function(a,b,c){a=a===void 0?1:a;b=b===void 0?0:b;c=c===void 0?!1:c;a===4&&Date.now()/1E3>b&&(a=3);return new tqd(a===4?c?4:3:c?2:1,a,b)};var Ecc=function(a,b){this.reachabilityStatus=a;this.clientData=b};Ecc.prototype.getReachabilityStatus=function(){return this.reachabilityStatus};Ecc.prototype.getClientData=function(){return this.clientData};var Au=function(){this.iconUrl_=this.altText_=""};Au.prototype.getAltText=function(){return this.altText_};Au.prototype.setAltText=function(a){this.altText_=a||"";return this};Au.prototype.getIconUrl=function(){return this.iconUrl_};Au.prototype.setIconUrl=function(a){this.iconUrl_=a||"";return this};var fbc=new Map([[3,3],[1,2],[2,1]]),uqd=new Map([[2,1],[4,2],[3,3],[1,4]]),vqd=function(a){this.delegate_=a};
vqd.prototype.processItem=function(a){if(a.person||a.contactMethod){switch(a.contactMethod.getValueCase()){case 2:var b=a.contactMethod.getEmail();var c=ku(b.getValue()),d=a.id.normalizedValue_;c=mu(a.id).setValue(c).setCanonicalValue(d);if(ie(b,A9,2,Rd()).length||Me(b,Apd,3)){d=1;var e=0;if(ie(b,A9,2,Rd()).length){var f=ie(b,A9,2,Rd())[0],h=Ob(Ke(f,1));e=(h==null?null:pe(h))||e;d=uqd.get(f.getStatus())||d}if(f=Me(b,Apd,3))f=r(b,Apd,3),f=!!bu(f,1);d=Dcc(d,e,f)}else d=null;d&&c.setEmailSecurityInfo(d);
Me(b,B9,4)&&(b=bbc(r(b,B9,4)),c.setOrgState(b));bu(a.contactMethod,7)&&c.setResultType(2);b=c;break;case 3:c=a.contactMethod.getPhone();b=ku(c.getCanonicalValue());c=ku(c.getOriginalValue())||ku(c.getDisplayValue())||b;b=mu(a.id).setValue(c).setCanonicalValue(b);break;case 4:b=Zk(a.contactMethod,wac,4,Xt);b=ibc(a,b);break;default:b=mu(a.id||$t)}b.setDataSource(a.dataSource||0);a.containerIds&&(b.sourceIds_=a.containerIds||[]);b.setIsMe(!!a.isMe);a.person&&a.person.hasAffinity()&&(c=b,d=c.setPersonLoggingId,
e=a.person.getAffinity(),e=Lda(Ke(e,1,void 0,lu,qc)),d.call(c,cbc(e||"")));a.contactMethod.hasDisplayInfo()&&gbc(b,a.contactMethod.getDisplayInfo());Ge(a.contactMethod,10)&&b.setTagList([(new Au).setAltText(a.contactMethod.getTypeLabel())]);if(Me(a.contactMethod,Dpd,13)){d=r(a.contactMethod,Dpd,13);switch(d.getStatus()){case 1:c=1;break;default:c=0}d=d.hasClientData()?d.getClientData():void 0;b.setReachabilityInfo(new Ecc(c,d))}a.targetExtendedData&&b.setExtendedData(a.targetExtendedData);a.target=
b}else a.group?lbc(a,a.group.getDisplayInfo()):a.contactLabel&&lbc(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 wqd=function(a,b){this.metrics_=a;this.state_=new r8(b);this.source=b;this.label_="total"};wqd.prototype.call=function(){this.metrics_.count(this.state_);this.metrics_.start(this.state_,this.label_)};wqd.prototype.result=function(a){this.metrics_.stop(this.state_,this.label_);this.metrics_.status(this.state_,a)};var xqd=function(a,b){this.metrics_=a;this.state_=new r8(b)};g=xqd.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=b===void 0?0:b;c=c===void 0?0:c;if(b){var d=this.state_.source();mf(d,13,b)}c&&(b=this.state_.source(),jf(b,12,c));this.metrics_.status(this.state_,a)};g.logError=function(a,b){this.metrics_.logError(a,b)};var yqd=function(a){this.getSessionState=a};yqd.prototype.attach=function(a,b){var c,d;b=(new uu).setSessionState((d=b==null?void 0:(c=r(b,uu,18))==null?void 0:c.getSessionState())!=null?d:this.getSessionState().clone());t(a,uu,18,b);return a};var zqd=function(){};zqd.prototype.attach=function(a){return a};var Aqd=new zqd;var P9=function(a,b){b=b===void 0?Aqd:b;this.metrics_=a;this.sessioninfo_=b};P9.prototype.error=function(a,b,c){var d=this.metrics_,e=this.sessioninfo_,f=e.attach,h=new eu;a=h.setEventType(3).setErrorType(a);mf(a,7,b);return new Gmd(d,f.call(e,h,c))};P9.prototype.latency=function(a,b){var c=this.metrics_,d=this.sessioninfo_,e=d.attach,f=new eu,h=f.setEventType(2);mf(h,5,a);return new B8(c,e.call(d,f,b))};
P9.prototype.count=function(a){var b=this.metrics_,c=this.sessioninfo_,d=c.attach,e=new eu,f=e.setEventType(1);mf(f,4,a);return new Fmd(b,d.call(c,e))};P9.prototype.api=function(a){return new wqd(this.metrics_,this.sessioninfo_.attach(a))};var fqd=function(a,b){return new xqd(a.metrics_,a.sessioninfo_.attach(b))},Bqd=function(a,b){return new P9(a.metrics_,b)};var Cqd=function(a,b){var c=a.getClient();this.ranker_=new rpd(c);this.loader_=new rqd(a,b);b=qpd;b=b===void 0?qpd:b;this.targetFactory_=new sqd(a,new vqd(b))};var Dqd=function(){this.cacheConfigurators_=[];this.grpcClient_=null};var Eqd=function(){this.bits_=[]};g=Eqd.prototype;g.and=function(a){for(var b=new Eqd,c=l(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 Eqd,c=l(this),d=c.next();!d.done;d=c.next())b.bits_[d.value]=!0;a=l(a);for(c=a.next();!c.done;c=a.next())b.bits_[c.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};Eqd.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 b<0?{done:!0}:{value:b,done:!1}}}};var Fqd=function(a,b){this.key=a;this.terms=b};var Q9=function(a,b,c){b=b===void 0?"":b;c=c===void 0?new Eqd:c;this.items_=a;this.prefix_=b;this.matchIndices_=c;this.childNodes_={};this.isExpanded_=b==="\u2026"},Gqd=function(a){return a.items_.map(function(b){return b.key})};Q9.prototype.cloneNode=function(a){for(var b=[],c=l(this.items_),d=c.next();!d.done&&(d=d.value,!a.loadOrSkip(d.key)||(b.push(d),!a.isDone()));d=c.next());return new Q9(b)};
var R9=function(a,b){for(var c=[],d=l(a.prefix_?a.matchIndices_:obc(a.items_.length)),e=d.next();!e.done&&(e=b.loadOrSkip(a.items_[e.value].key),e==null||(c.push(e),!b.isDone()));e=d.next());return c};
Q9.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 k=l(h.prefix_?h.matchIndices_:obc(h.items_.length)),q=k.next();!q.done;q=k.next()){var u=h;q=q.value;for(var A=u.prefix_+"\ufdc7",D=l(u.items_[q].terms),H=D.next();!H.done;H=D.next())H=H.value,H.length<=u.prefix_.length||H<u.prefix_||H>A||(H=H.charAt(u.prefix_.length),u.childNodes_[H]||(u.childNodes_[H]=new Q9(u.items_,u.prefix_+H)),u.childNodes_[H].matchIndices_.set(q))}h.isExpanded_=
!0}d=d.childNodes_[f]||S9;if(d===S9)break}return d}).reduce(function(c,d){return c.and(d)}):this};var Hqd=function(a){a.isExpanded_=!1;for(var b=l(Object.keys(a.childNodes_)),c=b.next();!c.done;c=b.next())c=a.childNodes_[c.value],c.isExpanded_&&Hqd(c)};Q9.prototype.and=function(a){a=this.matchIndices_.and(a.matchIndices_);return new Q9(this.items_,"\u2026",a)};Q9.prototype.or=function(a){a=this.matchIndices_.or(a.matchIndices_);return new Q9(this.items_,"\u2026",a)};var S9=new Q9([]);
S9.isExpanded_=!0;var Iqd=function(a,b,c){this.expiry_=a;this.value_=b;this.stale_=c};Iqd.prototype.getExpiry=function(){return this.expiry_};Iqd.prototype.getValue=function(){return this.value_};Iqd.prototype.isExpired=function(){return this.expiry_<Date.now()};Iqd.prototype.isStale=function(){return this.stale_<Date.now()};var Jqd=function(a){this.shouldEvictItem_=a;this.items_=new Map};g=Jqd.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=l(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=l(this.items_),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;this.shouldEvictItem_(c,d)&&(this.items_.delete(c),a++)}return a};
var Kqd=function(){var a=new Jqd(function(){return a.size()>1E3});return a};var Lqd=function(a,b){var c=this;this.capacity_=a;this.itemFactory_=b;this.delegate_=new Jqd(function(d,e){return e.isExpired()||c.delegate_.size()>c.capacity_})};g=Lqd.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 T9=function(a,b){return new Lqd(a,function(c){var d=Date.now()+b;return new Iqd(d,c,d)})};var pbc=function(a){this.delegate_=a};Y(pbc,sP);pbc.prototype.getIsBoosted=function(){return!0};var Mqd=function(a){this.keys_=new Set(a)};Mqd.prototype.loadOrSkip=function(a){return this.keys_.delete(a)?a:null};Mqd.prototype.isDone=function(){return!this.keys_.size};var Nqd=function(a){this.keys_=a;this.foundKeys_=new Set;this.delegate_=new Mqd(a)};Nqd.prototype.loadOrSkip=function(a){return this.delegate_.loadOrSkip(a)?(this.foundKeys_.add(a),!0):!1};Nqd.prototype.isDone=function(){return this.delegate_.isDone()};var Oqd=function(a){return a.keys_.filter(function(b){return!a.foundKeys_.has(b)})};var Pqd=new zu,Qqd=function(a,b,c){this.itemResolver_=a;this.trieFactory_=b;this.indexes_=T9(Pd(c,31,5),wl(c,32,3600)*1E3)};g=Qqd.prototype;g.getCacheType=function(){return 2};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return v(function(h){if(h.nextAddress==1){c=a.getBoostKey();if(!c.cacheKey||b.indexes_.get(c.cacheKey))return h.return(Pqd);d=c.ids.map(function(k){var q=Pt(k);return wPc.includes(q.getType())?k:(q=U9(b.itemResolver_,k))?String(q.id):k});e=new Nqd(d);return w(h,Rqd(b.trieFactory_,e,a.getFormat(),c.primingTimeoutMillis),2)}f=h.yieldResult;b.indexes_.set(c.cacheKey,f);return h.return(Pqd)})};
g.search=function(a){var b=a.getBoostKey();if(!b.cacheKey)return[];this.indexes_.has(b.cacheKey)||this.fetch(a);return R9((this.indexes_.get(b.cacheKey)||S9).search(a.getTerms()),a.getCollector()).map(qbc)};g.index=function(){};g.getName=function(){};var V9=function(a,b,c){this.indexLatency_=a;this.searchLatency_=b;this.errorType_=c};V9.prototype.getErrorType=function(){return this.errorType_};var W9=function(a,b,c){this.delegate_=a;this.trackers_=b;this.indexingLabel_=c.indexLatency_;this.searchLabel_=c.searchLatency_;this.errorLabel_=c.getErrorType()};g=W9.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()}};g.getName=function(){return this.delegate_.getName()};var Sqd=new V9(60,61,34);var Tqd=function(){};Tqd.prototype.configure=function(a){var b=a.storage,c=a.trackers,d=a.trieFactory,e=a.prefixCaches;a=a.clientConfig.getClient();De(a,30)&&(b=new Qqd(b,d,a),c=new W9(b,c,Sqd),e.unshift(c))};var Uqd=function(){return Date.now()},Vqd=function(a,b,c){this.staleMillis_=a*1E3;this.expiredMillis_=b*1E3;this.nowFn_=c;this.timestamp_=0};g=Vqd.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_()};var sbc=new Map([[1,1],[2,2],[3,3],[8,6],[6,7],[7,5],[4,4],[9,9]]),rbc=new Map([[1,7],[2,5]]);var Wqd=function(a,b){this.delegate_=a;this.extendedData_=b};Y(Wqd,sP);Wqd.prototype.getExtendedData=function(){return this.extendedData_};var Xqd=function(a,b,c){this.group_=a;this.members_=b;this.totalMemberCount_=xPc(this.group_.getId())?this.members_.length:c;this.resultType_=Ald.get(this.group_.getTargetType())||0};g=Xqd.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("Mf");};g.getDisplayName=function(){return""};
g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};g.getIsBoosted=function(){return!1};g.getMatchInfo=function(){return zld};g.getExtendedData=function(){return null};var ubc=function(a,b){this.delegate_=a;this.loggingToken_=b};Y(ubc,FPc);ubc.prototype.getLoggingToken=function(){return this.loggingToken_};var Yqd=function(a){this.itemResolver_=a};Yqd.prototype.create=function(a,b){var c=this,d=Pt(a);a=U9(this.itemResolver_,a);if(!a)return null;if(Vt(d))return d=(a.memberKeys||[]).map(function(h){return c.create(h,b)}).filter(Boolean),this.createGroup(a,d,b);var e,f=b===2&&((e=a.coalescedKeys)==null?void 0:e.length)>1?a.coalescedKeys.map(function(h){return U9(c.itemResolver_,h)}).filter(Boolean):[a];return Zqd(f,d,b)};
var Zqd=function(a,b,c){var d=[],e=0,f=null,h=null;a=l(a);for(var k=a.next();!k.done;k=a.next()){k=k.value;var q=k.target,u=q.getId().equals(b);if(!e||u)e=q.getResultType();q=vbc(q,k.provenance,c);u?(h=void 0,f=(h=k.totalMemberCount)!=null?h:null,d.unshift(q),h=k.resultExtendedData):d.push(q)}b=y8b(e,d,f);return h?new Wqd(b,h):b};
Yqd.prototype.createGroup=function(a,b,c){c=vbc(a.target,a.provenance,c);var d,e=(d=a.totalMemberCount)!=null?d:null;b=Qq(new Xqd(c,b!=null?b:[],e!=null?e:null));return(a=a.resultExtendedData)?new Wqd(b,a):b};var wbc=[1,2,3,4,5,6,9,7,8],$qd=function(a,b){this.targetFactory_=a;this.resultFactory_=new Yqd(this);a=b.getCacheStaleSec();var c=b.getCacheExpiredSec();var d=d===void 0?Uqd:d;this.expiry_=new Vqd(a,c,d);this.affinityVersion_=0;this.ttlStorage_=new Map;this.lruStorage_=T9(Pd(b,6,500),Pd(b,7,43200)*1E3);d=Set;b=$e(b,25,Rd());this.idTypes_=new d(b)};$qd.prototype.load=function(a,b){var c;return(c=this.resultFactory_.create(a,b))!=null?c:null};
var U9=function(a,b){return a.ttlStorage_.get(b)||a.lruStorage_.get(b)||null};g=$qd.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(pe(a.getTimestamp())):this.expiry_.markAsFresh();this.lruStorage_.compact()};
g.flush=function(){this.ttlStorage_.clear();this.lruStorage_.clear();this.affinityVersion_=0;this.expiry_.timestamp_=0};g.storeItems=function(a,b,c,d){c=c===void 0?!1:c;if(d=d===void 0?"":d){var e=b.findIndex(function(h){return String(h.id)===d});if(e>0){var f=b[e];b.splice(e,1);b.unshift(f)}}c&&b.reverse();b=l(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||!wPc.includes(b.id.getType())||this.idTypes_.has(b.id.getType())){var e=!1,f=String(b.id),h=(b.containerIds||[]).map(String),k=ard(this,a,f);brd(this,a,f,b,c)&&(k(f,b),e=!0);h=l(h);for(var q=h.next();!q.done;q=h.next())q=q.value,brd(this,a,q,b,c)&&(k(q,b),e=!0);b.isMe&&(h=String(APc),brd(this,a,h,b,c)&&(k(h,b),e=!0));d&&f!==d&&brd(this,a,d,b,c)&&(k(d,b),e=!0);e&&!b.target&&this.targetFactory_.processItem(b)}};
var brd=function(a,b,c,d,e){var f=U9(a,c);if(!f)return!0;b===1&&a.lruStorage_.has(c)&&(b=a.lruStorage_.get(c),a.ttlStorage_.set(c,b),a.lruStorage_.delete(c));return d.provenance===8&&f.provenance!==8?!1:e&&(f.id.equals(d.id)||String(f.id)!==c)?!0:f.id.equals(d.id)?ybc(d)&&!ybc(f)||crd(a,f)<crd(a,d)||xbc(d)<xbc(f)||d.id.getType()===18&&f.id.getType()===18||zbc(d)>zbc(f)?!0:!1:String(d.id)===c},crd=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},ard=function(a,b,c){return a.ttlStorage_.has(c)||b===1?function(d,e){return a.ttlStorage_.set(d,e)}:function(d,e){return a.lruStorage_.set(d,e)}};var drd=new zu,erd=function(a){this.trieFactory=a;this.root=S9};g=erd.prototype;g.getCacheType=function(){return 2};g.flush=function(){this.root=S9};g.fetch=function(){var a=this;return v(function(b){if(a.root!==S9)return b.return(drd);var c=a.trieFactory,d,e,f=(e=(d=c.trieRoots_.get(1))==null?void 0:Gqd(d))!=null?e:[];c=frd(c,f,!0);a.root=new Q9(c);return b.return(drd)})};g.index=function(){};
g.search=function(a){if(a.isSuggestQuery())return[];this.root===S9&&this.fetch(a);return R9(this.root.search(a.getTerms()),a.getCollector()).map(qbc)};g.getName=function(){};var grd=new V9(60,61,34);var hrd=function(){};hrd.prototype.configure=function(a){var b=a.trackers,c=a.trieFactory,d=a.prefixCaches;if(a=a.clientConfig.getClient().getEnablePersonalizedQueryMatching())vu?(a=vu.getExperimentFlags(),a=r(a,dkd,104)||new dkd):a=new dkd,a=a.getEnablePersonalizedQueryMatching();a&&(b=new W9(new erd(c),b,grd),d.unshift(b))};var Abc=function(a,b){this.delegate_=a;this.displayValue_=b};Y(Abc,FPc);Abc.prototype.getDisplayValue=function(){return this.displayValue_};var Cbc=function(){};Cbc.prototype.createFromLookupId=function(a){if(a.getType()!==1||!pPc(a.getOriginalValue()))return null;a=mu(a).setValue(a.getOriginalValue()).setDataSource(3);return y8b(a.getResultType(),[a],null)};var ird=function(){};ird.prototype.createFromLookupId=function(){return null};var Dbc=new ird;var jrd=function(a,b,c,d,e){this.format=b;this.listener=c;this.options=d;this.callbackNumber=0;this.hasErrorCode=!1;this.remainingIds=new Map(a.map(function(f){return[String(f),f]}));this.notNotifiedIds=new Map(a.map(function(f){return[String(f),f]}));this.placeholderFactory=Ebc(e.getClient())};g=jrd.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 this.remainingIds.size===0};var krd=function(a){return Array.from(a.remainingIds.values())};jrd.prototype.hasError=function(){return this.hasErrorCode};
jrd.prototype.notify=function(a,b,c){if(a.size||b.length||this.isDone()||Fbc(c.getCode())){var d=new Map,e=this.getResultFilter();a=l(a);for(var f=a.next();!f.done;f=a.next()){var h=l(f.value);f=h.next().value;h=h.next().value;this.notNotifiedIds.delete(String(f));(h=e?e.filterResult(h):h)&&h.getTargetList().length&&(d.set(f,h),this.remainingIds.delete(String(f)))}a=[];b=l(b);for(f=b.next();!f.done;f=b.next())f=f.value,this.notNotifiedIds.delete(String(f)),this.remainingIds.delete(String(f)),(h=this.placeholderFactory.createFromLookupId(f))&&
e&&(h=e.filterResult(h)),h&&h.getTargetList().length?d.set(f,h):a.push(f);d=Bbc(d,this.options);Fbc(c.getCode())&&(this.hasErrorCode=!0);e=(new eod).setCallbackNumber(this.callbackNumber).setIsFirstCallback(this.callbackNumber===0).setIsLastCallback(this.isDone()).setCode(c.getCode());e.notFoundIdList_=a;d=new fod(d,e);this.callbackNumber++;this.listener(d,c)}};var lrd=function(a,b,c){this.stages=a;this.indexer=b;this.clientConfig=c};lrd.prototype.flush=function(){this.indexer.flush()};
lrd.prototype.lookup=function(a,b,c,d){var e=this,f,h,k,q,u,A;return v(function(D){switch(D.nextAddress){case 1:(f=d.getFilter())==null||f.reset(""),h=new jrd(a,b,c,d,e.clientConfig),k=new Set,h.queryScope()!==1&&h.queryScope()!==2||k.add(2),h.queryScope()===3&&k.add(1),q=l(e.stages),u=q.next();case 2:if(u.done){D.jumpTo(4);break}A=u.value;if(h.isDone()||h.isCancelled()){D.jumpTo(4);break}if(k.has(A.getStageType())){D.jumpTo(3);break}return w(D,A.lookup(h),3);case 3:u=q.next();D.jumpTo(2);break;case 4:if(!h.isDone()){if(h.queryScope()===
0&&!h.hasError()){var H=e.indexer,O=Array.from(h.notNotifiedIds.values());O=l(O);for(var P=O.next();!P.done;P=O.next())P=String(P.value),H.notFoundIds.set(P,P)}h.notify(new Map,krd(h),F8((new zu).setProvenance(10),!1).setCode(0))}e.indexer.compact();return D.return()}})};var mrd=function(a,b){this.storage=a;a=b.getClient();this.notFoundIds=T9(Pd(a,10,500),wl(a,11,600)*1E3)};g=mrd.prototype;g.compact=function(){this.notFoundIds.compact()};g.flush=function(){this.notFoundIds.clear()};g.store=function(a,b,c,d){if(!De(c,5))for(I9(c),b=l(b),c=b.next();!c.done;c=b.next()){var e=l(c.value);c=e.next().value;e=e.next().value;c=String(ycc(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){b=this.storage.load(String(a),b);c&&b&&(b=qYa(a).filterResult(b));return b};var nrd={ids:[],cacheKey:"",primingTimeoutMillis:0};var ord=function(){};ord.prototype.loadOrSkip=function(){return null};ord.prototype.resultCount=function(){return 0};ord.prototype.isDone=function(){return!0};var prd=new ord;var qrd=function(){this.prefix_="";this.terms_=[];this.format_=0;this.collector_=prd;this.boostKey_=nrd;this.listener_=function(){}};g=qrd.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};g.shouldSkipCache=function(){return!1};var rrd=new qrd;var srd=function(){this.fetchDone_=Promise.resolve((new zu).setCode(0))};g=srd.prototype;g.getCacheType=function(){return 0};g.flush=function(){};g.fetch=function(){return this.fetchDone_};g.index=function(){};g.search=function(){return[]};g.getName=function(){};var trd=new srd;var urd=function(a){a=Array.from(new Set(a));this.primary_=a.find(function(b){return b.getCacheType()===1})||trd;this.prefetched_=a.filter(function(b){return b.getCacheType()===2||b.getCacheType()===1});this.lazyLoaded_=a.filter(function(b){return b.getCacheType()===3})};
urd.prototype.prefetch=function(a){var b=this,c,d,e,f,h;return v(function(k){if(k.nextAddress==1)return w(k,b.primary_.fetch(a),2);if(k.nextAddress!=3){c=k.yieldResult;if(c.getCode()!==0)return k.return(c);d=l(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?w(k,Promise.all(h),3):k.jumpTo(3)}return k.return(c)})};
urd.prototype.warmUpSession=function(a){var b=this;if(a.queryScope()===1)return Promise.resolve([(new zu).setProvenance(2).setCode(1)]);var c=this.prefetched_.filter(function(d){return d!==b.primary_});a.queryScope()!==2&&c.push.apply(c,p(this.lazyLoaded_));return Promise.all(c.map(function(d){return d.fetch(a)}))};
var vrd=function(a){var b=[a.primary_].concat(p(a.prefetched_.filter(function(d){return d!==a.primary_})),p(a.lazyLoaded_)).reverse();b=l(b);for(var c=b.next();!c.done;c=b.next())c.value.flush()},wrd=function(a,b){var c=[];a=l(a.prefetched_);for(var d=a.next();!d.done;d=a.next()){d=d.value;if(b.isDone()||b.isCancelled())break;b.shouldSkipCache(d.getName())||c.push.apply(c,p(d.search(b)))}return c},yrd=function(a,b,c){var d,e,f,h,k;return v(function(q){if(q.nextAddress==1){if(b.queryScope()===2)return q.return();
d=a.lazyLoaded_.filter(function(u){return!b.shouldSkipCache(u.getName())});e=d[d.length-1];f=l(d);h=f.next()}if(q.nextAddress!=3){if(h.done)return q.jumpTo(0);k=h.value;return b.isDone()||b.isCancelled()?q.return():w(q,xrd(k,b,c,e===k),3)}h=f.next();return q.jumpTo(2)})},xrd=function(a,b,c,d){var e,f;return v(function(h){if(h.nextAddress==1)return b.queryScope()===1?(e=F8((new zu).setProvenance(6).setCode(0),!1),h.jumpTo(2)):w(h,a.fetch(b),3);h.nextAddress!=2&&(e=h.yieldResult);if(b.isCancelled())return h.return();
f=a.search(b);c(f,e,d);ji(h)})};var zrd=function(a,b,c,d,e){this.clientInfo_=a.getClient();this.trackers_=b;this.storage_=e;this.lookupCache_=d;this.prefixSearch_=c;this.sessionWarming_=this.cacheWarming_=null};g=zrd.prototype;g.getLastUpdatedTimestamp=function(){return this.storage_.getExpiry().getTimestamp()};g.getAffinityVersion=function(){return this.storage_.getAffinityVersion()};
g.warmUpCache=function(a){Ard(this,rrd);return this.cacheWarming_&&(a||this.storage_.getExpiry().isExpired())?this.cacheWarming_:Promise.resolve(I8(H8((new G8).setSource(F8(new zu,!1).setProvenance(1).setCode(0)),X9(this)),X9(this)))};
g.warmUpSession=function(a){var b=this,c,d,e,f,h;return v(function(k){switch(k.nextAddress){case 1:c=H8(new G8,X9(b));Ard(b,a);if(!b.cacheWarming_){k.jumpTo(2);break}return w(k,b.cacheWarming_,2);case 2:return ei(k,4,5),b.sessionWarming_||(b.sessionWarming_=b.prefixSearch_.warmUpSession(a)),w(k,b.sessionWarming_,7);case 7:return d=k.yieldResult,e=d.find(function(q){return q.getProvenance()===2})||(new zu).setProvenance(2).setCode(0),k.return(I8(c.setSource(e),X9(b)));case 5:fi(k);b.sessionWarming_=
null;hi(k,0);break;case 4:return f=ii(k),h=f instanceof zu?f:(new zu).setProvenance(2).setCode(13),k.return(Promise.reject(I8(c.setSource(h),X9(b))))}})};
g.search=function(a){var b=this,c,d,e,f,h;return v(function(k){switch(k.nextAddress){case 1:Brd(b);ei(k,2);d=X9(b);Ard(b,a);if(!a.isSuggestQuery()){k.jumpTo(4);break}if(!b.cacheWarming_){k.jumpTo(5);break}e=b.storage_.getExpiry().isExpired();if(!e){k.jumpTo(5);break}return w(k,b.cacheWarming_,7);case 7:c=k.yieldResult;case 5:if(!b.sessionWarming_){k.jumpTo(4);break}return w(k,b.sessionWarming_,4);case 4:return c||(c=I8(H8((new G8).setSource(F8(new zu,!1).setProvenance(1).setCode(0)),d),X9(b)),Ard(b,
a)),w(k,Crd(b,a,c),10);case 10:Iu(k,0);break;case 2:f=ii(k);if(a.isCancelled())return k.return();f instanceof G8?c=f:(h=f instanceof zu?f:(new zu).setCode(13),I8(c.setSource(h),X9(b)));a.getListener()(new d9([],(new J8).setQuery(a.getPrefix()).setIsLastCallback(!0).setCacheState(c).setCode(c.getSource().getCode())));ji(k)}})};
var Crd=function(a,b,c){var d,e,f,h;return v(function(k){if(k.nextAddress==1){if(b.isCancelled())return k.return();d=wrd(a.prefixSearch_,b);e=(new J8).setIsLastCallback(b.isSuggestQuery()).setQuery(b.getPrefix()).setCode(c.getSource().getCode()).setCacheState(c);b.getListener()(new d9(d,e));if(e.getIsLastCallback())return k.return();f=!1;return w(k,yrd(a.prefixSearch_,b,function(q,u,A){u=(new J8).setIsLastCallback(A).setQuery(b.getPrefix()).setCode(u.getCode()).setCacheState(I8(H8((new G8).setSource(u),
$l(c,2)),X9(a)));b.getListener()(new d9(q,u));u.getIsLastCallback()&&(f=!0)}),2)}f||b.isCancelled()||(h=(new J8).setIsLastCallback(!0).setQuery(b.getPrefix()).setCode(0).setCacheState(I8(H8((new G8).setSource((new zu).setProvenance(10).setCode(0)),$l(c,2)),X9(a))),b.getListener()(new d9([],h)));ji(k)})};
zrd.prototype.lookup=function(a,b,c){var d=this;Brd(this);Ard(this,rrd);var e=H8(new G8,X9(this));this.lookupCache_.lookup(a,Zd(this.clientInfo_,17,1),function(f,h){e.setSource(h);I8(e,X9(d));f.getMetadata().setCacheState(e);b(f)},c)};
var Ard=function(a,b){if(a.storage_.getExpiry().isStale()&&(a.storage_.getExpiry().isExpired()&&a.storage_.getExpiry().getTimestamp()&&Drd(a),!a.cacheWarming_)){var c=X9(a);a.cacheWarming_=new Promise(function(d,e){var f,h,k,q;return v(function(u){switch(u.nextAddress){case 1:return f=H8(new G8,c),ei(u,2,3),w(u,a.prefixSearch_.prefetch(b),5);case 5:h=u.yieldResult,I8(f,X9(a)).setSource(h),d(f);case 3:fi(u);a.cacheWarming_=null;hi(u,0);break;case 2:k=ii(u),q=k instanceof zu?k:(new zu).setCode(13),
I8(f,X9(a)).setSource(q),e(f),u.jumpTo(3)}})})}},X9=function(a){return a.storage_.getExpiry().getStatus()},Drd=function(a){vrd(a.prefixSearch_);a.lookupCache_.flush();a.storage_.flush()},Brd=function(a){var b=X9(a)===1?1:2;a.trackers_.count(b).increment()};var Kbc={198:"AE",230:"ae",306:"IJ",307:"ij",338:"AE",339:"ae"};var Mbc=RegExp("[\\s,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]+","g"),Lbc=/^[<"']|[>"']$/g,Ibc=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"),Erd=/[^a-z0-9]+/gi,Jbc=String.prototype.normalize?function(a){return a.normalize("NFKC")}:function(a){return a};var Frd=function(a){this.itemResolver_=a},Hrd=function(a,b){if(!b.preferredSearchTerms)return[];a=Nbc(Grd(a,b));var c=Nbc(b.preferredSearchTerms);return a.filter(function(d){return c.some(function(e){return d.startsWith(e)})})},Grd=function(a,b,c){c=c===void 0?[]: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,k=e.split(Erd).filter(Boolean),q=k.length-
1;if(q>0){var u=k.join(".");k.push(k.join("-"));for(k.push(u);q>0;q--)k[q-1]+=k[q]}k.push(e);k.push(e.replace(Mbc,""));e[0]==="+"&&k.push("+"+k[0]);h.call(f,c,p(k));break;default:c.push(e)}b.preferredSearchTerms&&c.push.apply(c,p(b.preferredSearchTerms));if(!c.length&&b.memberKeys&&b.memberKeys.length&&d.getTargetType()!==10)for(b=l(b.memberKeys),d=b.next();!d.done;d=b.next())(d=U9(a.itemResolver_,d.value))&&Grd(a,d,c);return c};var Ird=new kac,Jrd=function(a,b,c){this.itemResolver_=a;this.lookupCache_=b;this.trackers_=c;this.indexer_=new Frd(a);this.trieRoots_=new Map},Rqd=function(a,b,c,d){var e=(a.trieRoots_.get(c)||S9).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(k){var q=Oqd(b).map(Pt);a.lookupCache_.lookup(q,c,function(u){var A=Array.from(u.getResults().keys(),String);A=frd(a,A,!1);Array.prototype.push.apply(e.items_,
A);Hqd(e);u.getMetadata().getIsLastCallback()&&(f.stop(),k(e))},Ird)});return b8b(h,e,d)},Krd=function(a,b){a=frd(a,b,!1);return new Q9(a)},frd=function(a,b,c){var d=[];b=l(b);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=U9(a.itemResolver_,e);if(f){if(c){if(f=Hrd(a.indexer_,f),f.length<1)continue}else f=Nbc(Grd(a.indexer_,f));d.push(new Fqd(e,f))}}return d};var Lrd=function(a,b){this.target_=a;this.displayName_=b;this.similarTargets_=[]};Lrd.prototype.getSimilarIds=function(){return this.similarTargets_.map(function(a){return a.getId()})};
Lrd.prototype.getDisambiguationLabel=function(){var a="";if(this.similarTargets_.length){var b=Obc(this.target_.getDisplayValue());a=this.similarTargets_.some(function(d){return Obc(d.getDisplayValue())===b});var c=this.similarTargets_.some(function(d){return Obc(d.getDisplayValue())!==b});a=a&&c?this.target_.getDisplayValue():c?b:Pbc(this.target_.getDisplayValue())}return a};
Lrd.prototype.filterResult=function(a){var b=this,c=su(this.target_.getDisplayValue());this.similarTargets_.push.apply(this.similarTargets_,p(a.getTargetList().filter(function(d){return d.getTargetType()===1&&su(d.getDisplayValue())!==c&&d.getName()&&su(d.getName().getDisplayName())===b.displayName_})));return null};Lrd.prototype.reset=function(){this.similarTargets_=[]};var Qbc=/\S+@\S+\.\S+/,Rbc=/<|>|\(|\)/g;var Mrd=function(){this.queryId_=0};Mrd.prototype.getQueryId=function(){return this.queryId_};var Nrd=function(a,b){var c=new Mrd;this.cache_=a;this.queryFactory_=b;this.querySession_=c};
Nrd.prototype.disambiguate=function(a,b){var c=this,d=a.getName()&&a.getName().getDisplayName()||"",e=b.getDisplayNameWithOverrideApplied()===null?d:b.getDisplayNameWithOverrideApplied()||"";return!e||a.getTargetType()!==1||e.includes(a.getDisplayValue())?Promise.resolve(new dod("",(new cod).setCode(0).setCacheState((new G8).setSource(F8(new zu,!1).setProvenance(8).setCode(0))))):b.getTargetCount()>25||Sbc(e,a.getDisplayValue())?Promise.resolve(new dod(a.getDisplayValue(),(new cod).setCode(0).setCacheState((new G8).setSource(F8(new zu,
!1).setProvenance(8).setCode(0))))):new Promise(function(f){var h=new Lrd(a,su(e)),k=Ord(c.queryFactory_,e,c.querySession_,(new xt).setFilter(h).setQueryScope(b.getQueryScope()),function(q){if(q.getMetadata().getIsLastCallback()){var u=h.getDisambiguationLabel(),A=new cod,D=h.getSimilarIds();A.similarIds_=D;f(new dod(u,A.setCode(q.getMetadata().getCode()).setCacheState(q.getMetadata().getCacheState()||new G8)))}});c.cache_.search(k)})};var Prd=function(a){this.delegate=a};g=Prd.prototype;g.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};g.warmUpCache=function(a){return this.delegate.warmUpCache(a)};g.warmUpSession=function(a){var b=this;return v(function(c){return c.return(b.delegate.warmUpSession(a))})};g.search=function(a){var b=this;return v(function(c){return c.return(b.delegate.search(a))})};
g.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};var Qrd=function(){this.delegate=KPc};Qrd.prototype.filterResult=function(a){return this.delegate.filterResult(a)};Qrd.prototype.reset=function(a){this.delegate.reset(a)};var Rrd=function(a,b){a.delegate=b!=null?b:KPc};var Srd=function(a){this.delegate=a};g=Srd.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()};g.shouldSkipCache=function(a){return this.delegate.shouldSkipCache(a)};var Trd=function(a,b){this.delegate_=a;this.limit_=b;this.count_=0};Trd.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);if(!a)return null;this.count_++;return a};Trd.prototype.resultCount=function(){return this.count_};Trd.prototype.isDone=function(){return this.count_>=this.limit_||this.delegate_.isDone()};var Urd=function(a,b,c,d){this.delegate=a;var e=this;this.isLastSlot=d;d=a.getCollector();c.limit>0&&(d=new Trd(d,c.limit));this.collector=d;this.listener=function(h){var k=h.getMetadata();k.getIsLastCallback()&&k.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?sYa.apply(null,p(d)):null;var f;this.scope=(f=c.scope)!=null?f:a.queryScope()};Y(Urd,Srd);g=Urd.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 Vrd=function(a,b,c,d){this.delegate=a;this.slots=b;this.filterInterceptor=c;this.originalFilter=d};Y(Vrd,Prd);
Vrd.prototype.search=function(a){var b=this,c,d,e,f,h,k;return v(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,A){return new Urd(a,b.originalFilter,u,A===d.length-1)}),f=l(e),h=f.next();case 2:if(h.done){q.jumpTo(4);break}k=h.value;if(a.isCancelled()||a.isDone()){q.jumpTo(4);break}Rrd(b.filterInterceptor,k.getResultFilter());return w(q,b.delegate.search(k),
3);case 3:h=f.next();q.jumpTo(2);break;case 4:return q.return()}})};var Wrd=function(a,b,c){this.delegate=a;var d=this;this.query_=b;this.terms_=Nbc([b]);this.id_=Wt(b);this.listener_=function(e){var f=e.getResults().map(function(h){if(d.id_.equals(h.getPrimaryTarget().getId())&&h.getDisplayName()!==c){var k=(new dbc).setDisplayName(c),q=h.getPrimaryTarget();h=mYa(h,new GPc(q,k))}return h});e=new d9(f,e.getMetadata());a.getListener()(e)}};Y(Wrd,Srd);Wrd.prototype.getPrefix=function(){return this.query_};Wrd.prototype.getTerms=function(){return this.terms_};
Wrd.prototype.getListener=function(){return this.listener_};var Xrd=function(a,b,c){this.cache_=a;this.queryFactory_=b;this.querySession_=new Mrd;this.clientInfo_=c};g=Xrd.prototype;g.warmUpSession=function(a){a=Ord(this.queryFactory_,"",this.querySession_,a,function(){});return this.cache_.warmUpSession(a)};g.suggest=function(a,b){a=Ord(this.queryFactory_,"",this.querySession_,b,a);this.cache_.search(a)};
g.search=function(a,b,c){a=Ord(this.queryFactory_,a,this.querySession_,c,b);De(this.clientInfo_,28)&&(b=a.getPrefix(),b.includes("<")&&(c=Ft(b),c.isValid()||(c=Ft(b+">")),a=c.isValid()&&c.getName()?new Wrd(a,c.address,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("qf");};g.getSessionState=function(){throw Error("qf");};var Yrd=function(a,b,c){var d=this;this.cache_=a;this.queryFactory_=b;this.clientInfo_=c;this.getSessionCache_=De(c,34)?function(e){var f=d.cache_,h=e.slots_;if(h.length){var k=e.getFilter(),q=new Qrd;e.setFilter(q);e=new Vrd(f,h,q,k)}else e=f;return e}:function(){return d.cache_}};Yrd.prototype.warmUpCache=function(){return this.cache_.warmUpCache(!1)};Yrd.prototype.lookup=function(a,b,c){this.cache_.lookup(a,b,c)};
Yrd.prototype.disambiguate=function(a,b){return(new Nrd(this.cache_,this.queryFactory_)).disambiguate(a,b)};Yrd.prototype.beginSession=function(a){a=this.getSessionCache_(a);return new Xrd(a,this.queryFactory_,this.clientInfo_)};var Zrd=function(){};g=Zrd.prototype;g.getCacheType=function(){return 3};g.flush=function(){};g.fetch=function(){return v(function(a){return a.return(F8(new zu,!1).setProvenance(12).setCode(0))})};g.index=function(){};g.search=function(a){return a.isEmailAddress()?(a=a.getCollector().loadOrSkip(String(Wt(a.getPrefix()))))?[a]:[]:[]};g.getName=function(){};var $rd=function(){};$rd.prototype.configure=function(a){var b=a.prefixCaches;a=a.clientConfig.getClient();De(a,21)&&b.push(new Zrd)};var asd=function(a,b,c,d,e,f,h,k){this.delegate_=a;this.prefix_=b;this.terms_=c;this.collector_=d;this.boostKey_=e;this.filter_=h;this.listener_=Tbc(this,f);this.isEmailAddress_=null;this.selectedCustomProviderNames_=k?new Set(k):null};g=asd.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(){this.isEmailAddress_===null&&(this.isEmailAddress_=pPc(this.prefix_));return this.isEmailAddress_};g.queryScope=function(){return this.delegate_.queryScope()};g.getResultFilter=function(){return this.filter_};
g.shouldSkipCache=function(a){return!(!this.selectedCustomProviderNames_||!a||this.selectedCustomProviderNames_.has(a))};var bsd=function(a,b,c){this.format_=a;this.querySession_=b;this.queryScope_=c;this.id_=++this.querySession_.queryId_};bsd.prototype.getFormat=function(){return this.format_};bsd.prototype.isCancelled=function(){return this.querySession_.getQueryId()!==this.id_};bsd.prototype.queryScope=function(){return this.queryScope_};var Y9=function(){this.foundKeys_=new Set};Y(Y9,tP);Y9.prototype.shouldRemove=function(a){return this.foundKeys_.has(String(a.getId()))};Y9.prototype.has=function(a){return this.foundKeys_.has(a)};Y9.prototype.add=function(a){this.foundKeys_.add(a)};Y9.prototype.reset=function(){this.foundKeys_.clear()};var csd=function(a){this.delegate_=a;this.filter_=new Y9};csd.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=l(a.getTargetList()),c=b.next();!c.done;c=b.next())this.filter_.add(String(c.value.getId()));return a};csd.prototype.resultCount=function(){return this.delegate_.resultCount()};csd.prototype.isDone=function(){return this.delegate_.isDone()};var dsd=function(a,b,c){this.delegate_=a;this.filter_=b;this.filter_.reset(c)};dsd.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);return a?(a=this.filter_.filterResult(a))&&a.getTargetList().length?a:null:null};dsd.prototype.resultCount=function(){return this.delegate_.resultCount()};dsd.prototype.isDone=function(){return this.delegate_.isDone()};var esd=function(a,b){this.storage_=a;this.format_=b};esd.prototype.loadOrSkip=function(a){return this.storage_.load(a,this.format_)||null};esd.prototype.resultCount=function(){return 0};esd.prototype.isDone=function(){return!1};var fsd=[198,230,306,307,338,339],gsd=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)"+oq(b),"g")})},Ubc=function(a,b){var c=[];if(!b||!a.matchers_.length)return c;var d=su(b),e=d.indexOf("@"),f=e<0?-1:d.indexOf(".",e);a=l(a.matchers_);for(var h=a.next();!h.done;h=a.next()){h=h.value;h.lastIndex=0;for(var k=h.exec(d);k;k=
h.exec(d)){k=k.index;if((e>0||e===0&&f>e)&&k>e)break;c.push([k,h.lastIndex])}}c.sort(function(q,u){return q[0]-u[0]});for(e=c.length-1;e>0;e--)f=c[e-1],a=c[e],f[1]>=a[0]&&(f[1]=a[1],c.splice(e,1));if(c.length&&d.length!==b.length){d=[];e=[];for(f=0;f<b.length;f++)a=b.codePointAt(f),a>65535||a>=768&&a<=879?(d.push(f),f++):fsd.includes(a)&&e.push(f);b=l(c);for(f=b.next();!f.done;f=b.next()){f=f.value;a=l(d);for(h=a.next();!h.done;h=a.next())h=h.value,h<f[0]&&f[0]++,h<f[1]&&f[1]++;a=l(e);for(h=a.next();!h.done;h=
a.next())h=h.value,h<f[0]&&f[0]--,h<f[1]&&f[1]--}}return c};var Vbc=function(a,b){this.start_=a;this.end_=b};Vbc.prototype.getStart=function(){return this.start_};Vbc.prototype.getEnd=function(){return this.end_};var Wbc=function(a,b,c){this.displayNameMatches_=a;this.displayValueMatches_=b;this.givenNameMatches_=c};Wbc.prototype.getDisplayNameMatches=function(){return this.displayNameMatches_};Wbc.prototype.getDisplayValueMatches=function(){return this.displayValueMatches_};Wbc.prototype.getGivenNameMatches=function(){return this.givenNameMatches_};var hsd=function(a,b){this.delegate_=a;this.matcher_=b;this.memberList_=a.getMemberList().map(function(c){return new hsd(c,b)});this.matchInfo_=null};Y(hsd,sP);hsd.prototype.getMemberList=function(){return this.memberList_};hsd.prototype.getMatchInfo=function(){if(!this.matchInfo_){var a,b=((a=this.getDelegate().getPrimaryTarget().getName())==null?void 0:a.getGivenName())||"";this.matchInfo_=Xbc(this.matcher_,this.getDelegate().getDisplayName(),this.getDelegate().getDisplayValue(),b)}return this.matchInfo_};var isd=function(a,b){this.delegate_=a;this.matcher_=new gsd(b)};isd.prototype.loadOrSkip=function(a){return(a=this.delegate_.loadOrSkip(a))?new hsd(a,this.matcher_):null};isd.prototype.resultCount=function(){return this.delegate_.resultCount()};isd.prototype.isDone=function(){return this.delegate_.isDone()};var jsd=function(a){var b=new Cbc;this.delegate=a;this.placeholderFactory=b};jsd.prototype.loadOrSkip=function(a){var b;return(b=this.delegate.loadOrSkip(a))!=null?b:this.placeholderFactory.createFromLookupId(Pt(a))};jsd.prototype.resultCount=function(){return this.delegate.resultCount()};jsd.prototype.isDone=function(){return this.delegate.isDone()};var ksd=/\s+/g,lsd=function(a,b){this.clientInfo_=a;this.storage_=b},Ord=function(a,b,c,d,e){var f=Nbc([b]);b=(b||"").replace(ksd," ").trim();var h=!f.length;var k=a.clientInfo_;k=h?d.getSuggestFormat()||k.getSuggestFormat():d.getSearchFormat()||k.getSearchFormat();var q=a.clientInfo_;h=h?d.getSuggestMaxResults()||q.getSuggestMaxResults():d.getSearchMaxResults()||q.getSearchMaxResults();var u=d.boostIds_;q=d.primingTimeoutMillis_;if(u.length){u=u.map(String);var A=Hac(u)+":"+u.length;q={ids:u,cacheKey:A,
primingTimeoutMillis:q}}else q=nrd;u=d.getFilter();A=b;var D=new esd(a.storage_,k);De(a.clientInfo_,21)&&pPc(A)&&(D=new jsd(D));u&&(D=new dsd(D,u,A));D=new csd(D);D=new Trd(D,h);a=f.length?new isd(D,f):D;h=d.getQueryScope();c=new bsd(k,c,h);return new asd(c,b,f,a,q,e,u,d.selectedCustomProviderNames_)};var msd=function(a){this.fetcher=a};msd.prototype.getStageType=function(){return 2};msd.prototype.lookup=function(a){var b=this,c,d,e,f,h,k,q,u,A;return v(function(D){switch(D.nextAddress){case 1:c=Zbc(krd(a)),d=l(c),e=d.next();case 2:if(e.done){D.jumpTo(4);break}f=e.value;h=l(f);k=h.next().value;q=h.next().value;u=k;A=q;if(!u){D.jumpTo(3);break}return w(D,b.fetcher.fetch(A,u,a.getFormat(),function(H,O){a.notify(H,[],O)},a.getOptions()),3);case 3:e=d.next();D.jumpTo(2);break;case 4:return D.return()}})};var nsd=function(a,b){this.delegate=a;this.maxLookupChunkSize=npd(b)};nsd.prototype.fetch=function(a,b,c,d,e){var f=this,h,k,q;return v(function(u){switch(u.nextAddress){case 1:var A=f.maxLookupChunkSize;if(a.length)if(a.length<=A)A=[a];else{for(var D=[],H=0;H<a.length;H+=A){var O=a.slice(H,H+A);O.length&&D.push(O)}A=D}else A=[];h=l(A);k=h.next();case 2:if(k.done){u.jumpTo(4);break}q=k.value;return w(u,f.delegate.fetch(q,b,c,d,e),3);case 3:k=h.next();u.jumpTo(2);break;case 4:return u.return()}})};var osd=function(a){this.qos=a};osd.prototype.getIndex=function(){return String(this.qos)};var psd=new osd(1),qsd=new osd(2);var rsd=function(a,b,c){this.trackers=a;this.loader=b;this.indexer=c};
rsd.prototype.fetch=function(a,b,c,d,e){var f=this,h,k,q,u,A,D,H,O,P,S,aa;return v(function(ia){switch(ia.nextAddress){case 1:return h=b===3?4:3,k=F8((new zu).setProvenance(h),!0).setCode(0),ei(ia,2),w(ia,f.loader.loadLookupItems(b,a.map(function(la){return la.getOriginalValue()}),qsd),4);case 4:q=ia.yieldResult;q.metadata.getCode()&&k.setCode(q.metadata.getCode());u=e.getQueryScope()===3;try{f.indexer.store(b,q.data,q.metadata,u)}catch(la){f.trackers.error(21,10).report(),k.setCode(13)}Iu(ia,3);
break;case 2:A=ii(ia),D=Number(A),k.setCode(isFinite(D)&&D?D:13);case 3:H=new Map;O=l(a);for(P=O.next();!P.done;P=O.next())S=P.value,(aa=f.indexer.load(S,c,e.getUseOriginalDisplayValue()))&&H.set(S,aa);d(H,k);return ia.return()}})};var ssd=function(a){this.indexer=a};ssd.prototype.getStageType=function(){return 1};ssd.prototype.lookup=function(a){var b=this,c,d,e,f,h,k;return v(function(q){c=new Map;d=[];e=l(krd(a));for(f=e.next();!f.done;f=e.next())if(h=f.value,k=b.indexer.load(h,a.getFormat(),a.getOptions().getUseOriginalDisplayValue()))c.set(h,k);else{var u=b.indexer;(BPc(h)?u.notFoundIds.get(String(h)):1)&&d.push(h)}a.notify(c,d,F8((new zu).setProvenance(6),!1).setCode(0));return q.return()})};var tsd=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"),usd=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.indexes_=T9(Pd(e,8,250),wl(e,9,3600)*1E3);this.notFound_=T9(Pd(e,10,500),wl(e,11,600)*1E3)};g=usd.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 v(function(f){switch(f.nextAddress){case 1:c=F8(new zu,!0).setProvenance(2).setCode(0);if(a.isSuggestQuery())return b.loader_.warmUpServer(psd).catch(function(){}),f.return(c);if(b.canSkipFetch_(a))return f.return(F8(c,!1));ei(f,2);return w(f,b.loader_.loadAutocompleteItems(a,qsd),4);case 4:d=f.yieldResult;Iu(f,3);break;case 2:return e=ii(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){if(a.isSuggestQuery())return[];var b=a.getPrefix(),c=this.indexes_.get(b);if(c)return R9(c.search([]),a.getCollector());if(this.notFound_.has(b)||a.queryScope()===3)return[];for(var d=b.length-1;!c&&d>0;d--){c=b.substr(0,d);if(this.notFound_.has(c))return[];c=this.indexes_.get(c)}return c?R9(c.search(a.getTerms()),a.getCollector()):[]};
g.index=function(a,b,c){if(!De(c,5))if(I9(c),b.length){c=spd(this.ranker_,b,1);var d=a.queryScope()===3;this.storage_.storeItems(1,b,d);b=Krd(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)}else this.notFound_.set(a.getPrefix(),a.getPrefix())};g.canSkipFetch_=function(a){if(a.queryScope()===3)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;a>0;a--){var c=b.substr(0,a);if(c.match(tsd))break;if(this.notFound_.has(c))return!0}return!1};
g.getName=function(){};var vsd=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=vsd.prototype;g.getCacheType=function(){return 1};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return v(function(h){switch(h.nextAddress){case 1:return c=F8(new zu,!0).setProvenance(1).setCode(0),d=b.storage_.getExpiry().isExpired()?qsd:psd,ei(h,2),w(h,b.loader_.loadRankedItems(d),4);case 4:e=h.yieldResult;Iu(h,3);break;case 2:return f=ii(h),h.return(c.setCode(isFinite(f)?f:13));case 3:try{b.index(a,e.data,e.metadata)}catch(k){c.setCode(13)}return h.return(c)}})};
g.search=function(a){return a.isSuggestQuery()||a.getTerms().length?R9((this.indexes_.get(a.getFormat())||S9).search(a.getTerms()),a.getCollector()):[]};g.index=function(a,b,c){if(!De(c,5)){I9(c);a=this.coalescedSortOrder_!==1?spd(this.ranker_,b,this.coalescedSortOrder_):null;var d=spd(this.ranker_,b,1);this.storage_.flush();this.storage_.storeItems(1,b);this.storage_.markAsFresh(c);b=Krd(this.trieFactory_,d);c=a?Krd(this.trieFactory_,a):b;this.indexes_.set(1,b);this.indexes_.set(2,c)}};
g.getName=function(){};var wsd=new V9(27,32,33),xsd=new V9(24,23,20);var ysd=function(){};ysd.prototype.configure=function(a){var b=a.trackers,c=a.storage,d=a.indexer,e=a.loader,f=a.trieFactory,h=a.prefixCaches,k=a.lookupStages,q=a.loaderFactory.ranker_,u=a.clientConfig.getClient();if(Pd(u,3,500)>0){var A=Zd(u,19,1);A=new vsd(e,q,f,c,A);A=new W9(A,b,xsd);h.push(A)}k.push(new ssd(d));u.getSearchMaxResults()>0&&(c=new usd(e,q,f,c,u),b=new W9(c,b,wsd),h.push(b));h=new rsd(a.trackers,a.loader,a.indexer);h=new nsd(h,a.clientConfig);k.push(new msd(h))};var zsd=function(a){this.delegate=a};g=zsd.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()};var Z9=function(a){this.delegate=a};Z9.prototype.warmUpCache=function(){return this.delegate.warmUpCache()};Z9.prototype.disambiguate=function(a,b){return this.delegate.disambiguate(a,b)};Z9.prototype.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};Z9.prototype.beginSession=function(a){return this.delegate.beginSession(a)};var Asd=function(a,b,c){this.idType_=a;this.id_=b;this.options_=c};Asd.prototype.getId=function(){return this.id_};Asd.prototype.getIndex=function(){return this.getId()+":"+this.idType_+":"+this.options_.getIndex()};var Bsd=function(a,b,c){this.idType_=a;this.ids_=b;this.options_=c};g=Bsd.prototype;g.getIds=function(){return this.ids_};g.getIdType=function(){return this.idType_};g.getOptions=function(){return this.options_};
g.getKeys=function(){var a=this;return this.getIds().map(function(b){return new Asd(a.getIdType(),b,a.getOptions())})};g.setIds=function(a){this.ids_=a;return this};g.setIdType=function(a){this.idType_=a};g.setOptions=function(a){this.options_=a};g.clone=function(){var a=this.getIdType(),b=this.getIds(),c=this.getOptions();return new Bsd(a,b,c)};var Csd=function(a,b){this.ids_=new Set(b.getIds());this.parameters_=b.clone();this.loader_=a;this.resolver_=new Ekd;this.isSent_=!1};Csd.prototype.send=function(){if(!this.isSent_){this.isSent_=!0;var a=Array.from(this.ids_);this.loader_.load(this.parameters_.setIds(a)).then(this.resolver_.resolve,this.resolver_.reject)}};Csd.prototype.promise=function(){return this.resolver_.promise};
Csd.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.getIds().length+this.ids_.size>b)return!1;a=l(a.getIds());for(b=a.next();!b.done;b=a.next())this.ids_.add(b.value);return!0};var Dsd=function(a,b,c){this.delegate_=a;this.batchedRequest_=null;this.tracker_=b;this.maxRequestSize_=npd(c);this.lastRequestCreationTime_=0};
Dsd.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 Csd(this.delegate_,a);a=Date.now();var d=a-this.lastRequestCreationTime_;this.lastRequestCreationTime_=a;Yq(function(){c===b.batchedRequest_&&(c.send(),b.batchedRequest_=null)},d>30?0:30)}return this.batchedRequest_.promise()};var Esd=function(a,b){this.delegate_=a;this.inflightRequests_=Kqd();this.tracker_=b};
Esd.prototype.load=function(a){for(var b=this,c=new Set,d=[],e=l(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 k=a.clone().setIds(d);var q=new Csd(this.delegate_,k);q.send();c.add(q);a=l(k.getKeys());for(d=a.next();!d.done;d=
a.next())this.inflightRequests_.set(d.value.getIndex(),q);q.promise().catch(function(){}).finally(function(){for(var u=l(k.getKeys()),A=u.next();!A.done;A=u.next())b.inflightRequests_.delete(A.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(A){return $bc(u,A.metadata)}):$bc(u)})};var Fsd=function(a){this.peopleLoader_=a};Fsd.prototype.load=function(a){return this.peopleLoader_.loadLookupItems(a.getIdType(),a.getIds(),a.getOptions())};var Gsd=function(a,b,c){this.peopleLoader_=a;this.gatedLoaders_=new Map;this.tracker_=b;this.clientConfig_=c};Gsd.prototype.load=function(a){if(!this.gatedLoaders_.has(a.getIdType())){var b=new Fsd(this.peopleLoader_);b=new Dsd(b,this.tracker_,this.clientConfig_);b=new Esd(b,this.tracker_);this.gatedLoaders_.set(a.getIdType(),b)}return this.gatedLoaders_.get(a.getIdType()).load(a)};var Hsd=function(a,b,c){this.delegate_=a;this.trackers_=b;this.searchRequests_=new Map;this.lookupLoader_=new Gsd(this.delegate_,this.trackers_,c)},Isd=function(a,b,c,d){var e,f;return v(function(h){if(h.nextAddress==1){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);gi(h,2);return w(h,f,4)}if(h.nextAddress!=2)return h.return(h.yieldResult);fi(h);a.searchRequests_.delete(e);return hi(h,0)})};
Hsd.prototype.loadRankedItems=function(a){var b=this;return Isd(this,81,"",function(){return b.delegate_.loadRankedItems(a)})};Hsd.prototype.warmUpServer=function(a){var b=this;return Isd(this,82,"",function(){return b.delegate_.warmUpServer(a)})};Hsd.prototype.loadAutocompleteItems=function(a,b){var c=this;return Isd(this,82,a.getPrefix(),function(){return c.delegate_.loadAutocompleteItems(a,b)})};Hsd.prototype.loadLookupItems=function(a,b,c){return this.lookupLoader_.load(new Bsd(a,b,c))};var Jsd=function(){return Date.now()},Ksd=function(a,b,c){this.delegate_=a;this.nowFn_=c;a=b.getClient();this.cacheFlushRateMillis_=wl(a,14,300)*1E3;b=b.getClient();this.serverWarmupRateMillis_=wl(b,13,60)*1E3;this.lastServerWarmup_=this.lastCacheFlush_=0};Ksd.prototype.loadRankedItems=function(a){var b=a.qos;var c=this.nowFn_();b===1&&this.lastCacheFlush_+this.cacheFlushRateMillis_>c?b=!0:(this.lastCacheFlush_=c,b=!1);return b?Promise.reject(1):this.delegate_.loadRankedItems(a)};
Ksd.prototype.warmUpServer=function(a){var b=a.qos;var c=this.nowFn_();b===1&&this.lastServerWarmup_+this.serverWarmupRateMillis_>c?b=!0:(this.lastServerWarmup_=c,b=!1);return b?Promise.reject(1):this.delegate_.warmUpServer(a)};Ksd.prototype.loadAutocompleteItems=function(a,b){return this.delegate_.loadAutocompleteItems(a,b)};Ksd.prototype.loadLookupItems=function(a,b,c){return this.delegate_.loadLookupItems(a,b,c)};var Lsd=function(a,b,c){this.delegate_=a;this.listener_=b;this.options_=c;this.delegate_.warmUpSession(c)};Lsd.prototype.suggest=function(a){a=a===void 0?this.listener_:a;this.delegate_.suggest(a,this.options_);return this};Lsd.prototype.search=function(a,b){b=b===void 0?this.listener_:b;this.delegate_.search(a,b,this.options_);return this};Lsd.prototype.cancel=function(){this.delegate_.cancel();return this};Lsd.prototype.getReporter=function(a){a=a===void 0?smd:a;return this.delegate_.getReporter(a)};var Msd=function(a,b){this.delegate_=a;this.members_=b;this.totalMemberCount_=xPc(a.getPrimaryTarget().getId())?b.length:a.getTotalMemberCount()};Y(Msd,sP);Msd.prototype.getMemberList=function(){return this.members_};Msd.prototype.getTotalMemberCount=function(){return this.totalMemberCount_};var Nsd=function(a,b){this.filter_=a;this.filterEmptyExplodingGroups_=b};Nsd.prototype.filterResult=function(a){var b=this;if(!xPc(a.getPrimaryTarget().getId()))return a;var c=a.getMemberList().map(function(d){return b.filter_.filterResult(d)}).filter(Boolean);return this.filterEmptyExplodingGroups_&&c.length===0?null:a.getMemberList().every(function(d,e){return d===c[e]})?a:Qq(new Msd(a,c))};Nsd.prototype.reset=function(a){this.filter_.reset(a)};
var acc=function(a,b){this.filter_=sYa(a,new Nsd(a,b))};acc.prototype.filterResult=function(a){return this.filter_.filterResult(a)};acc.prototype.reset=function(a){this.filter_.reset(a)};var Osd=function(a){this.delegate_=a};Osd.prototype.warmUpCache=function(){return this.delegate_.warmUpCache().then(function(){return Promise.resolve()},function(a){var b=2;a instanceof G8&&(a=a.getSource())&&(b=a.getCode());return Promise.reject(b)})};Osd.prototype.disambiguate=function(a,b){b=b===void 0?new c9:b;return this.delegate_.disambiguate(a,b)};Osd.prototype.lookup=function(a,b,c){c=c===void 0?new kac:c;c.setFilter(bcc(c.getFilter(),!0));this.delegate_.lookup(a,b,c);return this};
Osd.prototype.beginSession=function(a,b){b=b===void 0?new xt:b;b=b.clone();b.setFilter(bcc(b.getFilter(),b.filterEmptyExplodingGroups_));var c=this.delegate_.beginSession(b);return new Lsd(c,a,b)};var Psd=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]]),Qsd=new Map([[2,13],[3,6]]),Rsd=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 gcc=new Map([[1,1],[2,3],[3,5]]),Ssd=new Map([[1,2],[2,4],[3,5],[4,8],[6,15],[7,19],[12,21],[10,20]]),Tsd=new Map([[1,2],[2,9],[3,6],[4,6],[6,15],[7,19],[12,21],[10,20]]),Usd=function(a,b){this.logContext_=kcc(a,b)};g=Usd.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b,c){var d=b.source();Vsd(d,a);var e=fcc(d);switch(d.getEventType()){case 1:d=e.setCount;b=b.source();b=Zd(b,4);var f=new J9;f.setType(b);f.setValue(c);d.call(e,f);e.setEventType(1);break;case 4:case 5:c=b.source();c=Zd(c,3);d=new L9;d.setLabel(c);t(e,L9,7,d);e.setEventType(4);break;case 6:case 7:c=b.source();d=Zd(c,2);b=new bqd;c.hasItemCount()&&b.setItemCount(c.getItemCount());c.hasQueryLength()&&b.setQueryLength(c.getQueryLength());c.hasLookupInfo()&&b.setLookupInfo(c.getLookupInfo());
c.hasQueryScope()&&b.setQueryScope(c.getQueryScope());b.setLabel(d);t(e,bqd,9,b);e.setEventType(6);break;default:return null}e.setClientInterface(a);return e};
g.createStatusMetric=function(a,b,c){var d=b.source();Vsd(d,a);var e=fcc(d);switch(d.getEventType()){case 4:case 5:d=b.source();var f=Zd(d,3);var h=Zd(d,13)||0;h=Qsd.get(h)||Psd.get(c)||0;var k=s8(b,"blocked"),q=s8(b,"network"),u=s8(b,"processed");b=new eqd;b.setLabel(f);b.setStatus(h);Ze(b,8,k);b.setLatencyUsec(q);Ze(b,9,u);b.setStatusCode(c);Pd(d,12)&&(d=Pd(d,12),Ze(b,6,d));t(e,eqd,8,b);e.setEventType(5);break;case 6:case 7:f=b.source();h=Zd(f,2);d=new cqd;d.setLabel(h);d.setStatusCode(c);f.hasItemCount()&&
d.setItemCount(f.getItemCount());f.hasQueryLength()&&d.setQueryLength(f.getQueryLength());f.hasLookupInfo()&&d.setLookupInfo(f.getLookupInfo());f.hasQueryScope()&&d.setQueryScope(f.getQueryScope());c===0&&(b=s8(b,"total"),d.setLatencyUsec(b));c=Rsd.get(c)||0;d.setStatus(c);c=f.getResultIndex();d.setResultIndex(c);if(b=f.getCacheState())c=hcc(ju(b,2)),mf(d,5,c),c=hcc(ju(b,3)),mf(d,6,c),c=d.setDataSource,f=b.getSource(),b=!De(f,1),f=f.getProvenance(),b=(b?Tsd.get(f):Ssd.get(f))||0,c.call(d,b);t(e,cqd,
10,d);e.setEventType(7);break;default:return null}e.setClientInterface(a);return e};g.createLatencyMetric=function(a,b){var c=b.source();Vsd(c,a);if(c.getEventType()!==2)return null;var d=fcc(c);d.setClientInterface(a);a=d.setLatency;var e=b.source();e=Zd(e,5);b=s8(b,"total");var f=new dqd;f.setType(e);f.setLatencyUsec(b);a.call(d,f);d.setEventType(c.getEventType());return d};
g.createErrorMetric=function(a,b){var c=b.source();Vsd(c,a);if(c.getEventType()!==3)return null;var d=fcc(c);d.setClientInterface(a);a=d.setError;var e=b.source();b=e.getErrorType();e=Zd(e,7);var f=new K9;f.setType(b);mf(f,4,e);a.call(d,f);d.setEventType(c.getEventType());return d};var Vsd=function(a,b){var c,d,e;a=(c=r(a,uu,18))==null?void 0:(d=c.getSessionState())==null?void 0:(e=r(d,wu,10))==null?void 0:$l(e,4);a!=null&&(b.setEventSource(a),b.setEventSourceId(a))};var Wsd=function(a,b){this.delegate_=a;this.trackers_=b};g=Wsd.prototype;g.reportDisplay=function(a){this.delegate_.reportDisplay(a)};g.reportSelect=function(a,b){b=b===void 0?new tmd: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();Xsd(this)};
g.reportSave=function(a){this.delegate_.reportSave(a);Xsd(this)};g.reportSecondaryAction=function(a){this.delegate_.reportSecondaryAction(a);Xsd(this)};g.reportSend=function(a){this.delegate_.reportSend(a);Xsd(this)};var Xsd=function(a){a=a.trackers_;var b=a.api,c=new eu;gu(c.setEventType(6),3);b.call(a,c).call()};var lcc=function(a,b){this.delegate_=this.delegate=a;this.trackers_=b};Y(lcc,zsd);
lcc.prototype.suggest=function(a,b){var c=this;try{var d=!1,e=!1,f=this.trackers_.api(Yac(b.getQueryScope()));f.call();this.delegate_.suggest(function(h){var k=h.getMetadata(),q=k.getCacheState();f.source.setCacheState(q);f.source.setItemCount(h.getResults().length);f.result(q.getSource().getCode());k.getIsFirstCallback()&&(d&&k.getCode()===0&&c.trackers_.error(22,19,f.source).report(),d=!0);k.getIsLastCallback()&&(e&&k.getCode()===0&&c.trackers_.error(22,20,f.source).report(),e=!0);k=c.trackers_.latency(90,
f.source);k.start();try{a(h)}catch(u){throw c.trackers_.error(22,11,f.source).report(),u;}finally{k.stop()}},b)}catch(h){throw this.trackers_.error(22,1).report(),h;}};
lcc.prototype.search=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(Xac(a,c.getQueryScope()));h.call();this.delegate_.search(a,function(k){var q=k.getMetadata(),u=q.getCacheState();h.source.setCacheState(u);h.source.setItemCount(k.getResults().length);h.result(u.getSource().getCode());q.getIsFirstCallback()&&(e&&q.getCode()===0&&d.trackers_.error(23,19,h.source).report(),e=!0);q.getIsLastCallback()&&(f&&q.getCode()===0&&d.trackers_.error(23,20,h.source).report(),f=!0);q=d.trackers_.latency(91,
h.source);q.start();try{b(k)}catch(A){throw d.trackers_.error(23,11,h.source).report(),A;}finally{q.stop()}},c)}catch(k){throw this.trackers_.error(23,1).report(),k;}};lcc.prototype.getReporter=function(a){a=this.delegate_.getReporter(a);return new Wsd(a,this.trackers_)};var $9=function(a,b){this.delegate_=this.delegate=a;a=this.trackers_=b;b=a.api;var c=new eu;gu(c.setEventType(6),1);b.call(a,c).call()};Y($9,Z9);
$9.prototype.warmUpCache=function(){var a=this,b=this.trackers_.api(Uac());b.call();return this.delegate_.warmUpCache().then(function(c){b.source.setCacheState(c);b.result(c.getSource().getCode());return c},function(c){c instanceof G8?(b.source.setCacheState(c),b.result(c.getSource().getCode())):(a.trackers_.error(17,1).report(),c=(new G8).setSource((new zu).setCode(2)));return Promise.reject(c)})};
$9.prototype.lookup=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(Tac(a,c.getQueryScope()));h.call();this.delegate_.lookup(a,function(k){var q=k.getMetadata(),u=q.getCacheState();h.source.setCacheState(u);h.source.setItemCount(k.getResults().size);for(var A=0,D=0,H=0,O=0,P=l(k.getResults().keys()),S=P.next();!S.done;S=P.next()){S=S.value;yPc(S)?A++:uPc.includes(S.getType())?D++:vPc.includes(S.getType())&&H++;var aa=void 0;((aa=k.getResults().get(S))==null?0:aa.getDisplayName())&&
O++}P=S=aa=0;for(var ia=l(q.notFoundIdList_),la=ia.next();!la.done;la=ia.next())la=la.value,yPc(la)?aa++:uPc.includes(la.getType())?S++:vPc.includes(la.getType())&&P++;ia=h.source.getMutableLookupInfo();A=jf(ia,2,A);D=jf(A,1,D);H=jf(D,3,H);H=jf(H,5,aa);H=jf(H,4,S);H=jf(H,6,P);jf(H,14,O);h.result(u.getSource().getCode());q.getIsFirstCallback()&&(e&&q.getCode()===0&&d.trackers_.error(8,19).report(),e=!0);q.getIsLastCallback()&&(f&&q.getCode()===0&&d.trackers_.error(8,20).report(),f=!0);q=d.trackers_.latency(89);
q.start();try{b(k)}catch(ya){throw d.trackers_.error(8,11).report(),ya;}finally{q.stop()}},c)}catch(k){throw this.trackers_.error(8,1).report(),k;}};$9.prototype.disambiguate=function(a,b){var c=this.trackers_.api(Wac());c.call();return this.delegate_.disambiguate(a,b).then(function(d){var e=d.getMetadata().getCacheState();c.source.setCacheState(e);c.result(e.getSource().getCode());return d})};
$9.prototype.beginSession=function(a){this.trackers_.api(Vac()).call();var b=this.delegate_.beginSession(a);return mcc(b,Bqd(this.trackers_,new yqd(function(){return b.getSessionState()})))};var Ysd=function(a,b){this.clearcut_=a;this.logEventFactory_=b};Ysd.prototype.report=function(a){var b=eld(this.clearcut_);a=this.logEventFactory_.eventsFactory_.create(b,a);a=l(a);for(b=a.next();!b.done;b=a.next())fld(this.clearcut_,b.value)};var Zsd=function(a){this.clearcut_=a};Zsd.prototype.report=function(a){this.clearcut_.report(a)};var $sd=function(a){this.writer_=a};var atd=function(){};atd.prototype.create=function(a,b,c){var d=dcc(b),e=new Wkd;t(e,ccc,3,d);c!==7&&b.hasQuery()&&(d=b.getQuery(),c===2&&e.setQuery(d),e.setQueryLength(d.length));var f=new Xkd;d=d8b(wl(b,9)-wl(b,8));jf(f,2,d);d=new A8;t(d,Wkd,1,e);t(d,Xkd,6,f);e=new Vkd;if(f=pe(Re(b,6))){Ze(e,3,f*1E3);var h=(Date.now()-f)*1E3;Ze(e,2,h)}hf(e,1,!!f);t(d,Vkd,3,e);d.setAffinityVersion(b.getAffinityVersionOrUndefined());b=new Zkd;b.setEventType(c);b.setMetadata(d);b.setClientInterface(a.clone());return b};var btd=function(){};btd.prototype.extractPersonEventSource=function(a){a=ncc(a);return ju(a,4)};btd.prototype.extractFieldEventSource=function(a){a=ncc(a);return ju(a,3)};var ctd=function(){};ctd.prototype.extractPersonEventSource=function(a){var b=r(a,wu,10)||new wu;return(a.getQuery()||"").length?ju(b,2):ju(b,4)};ctd.prototype.extractFieldEventSource=function(a){var b=r(a,wu,10)||new wu;return(a.getQuery()||"").length?ju(b,1):ju(b,3)};var dtd=function(){};dtd.prototype.extractPersonEventSource=function(a){a=occ(a);return ju(a,4)};dtd.prototype.extractFieldEventSource=function(a){a=occ(a);return ju(a,3)};var qcc=new Set([8]);var etd=function(a,b,c){this.defaultTokenGroups_=a;this.additionTokenGroups_=b;this.replacementTokenGroups_=c};var ftd=new Map([[1,11],[2,12],[0,0]]),gtd=function(){};gtd.prototype.write=function(a,b,c){var d=new t8;jf(d,1,c);c=new u8;c.setPosition(d);c.setExistingSelectionsCount(b.getExistingSelectionsCount());t(a,u8,8,c);b=ftd.get(b.getContext());np(a,3,[b])};var htd=new Map([[1,5],[2,4],[3,6],[7,13]]),itd=function(){};itd.prototype.write=function(a,b,c,d){var e=new t8;jf(e,1,c);a.setPosition(e);c=htd.get(b.getProvenance())||0;Zd(b,4)===1?c=14:d?c=3:Zd(b,4)===2?c=10:Zd(b,4)===3&&(c=15);np(a,3,[c])};var jtd=new Set([9,1,2]),ktd=function(){};ktd.prototype.write=function(a,b,c,d,e){var f=a.getMutableMetadata();if(e===3||c===8||c===10||c===9||c===2&&jtd.has(d))c=new x8,ju(b,7)!==1&&ju(b,7)!==7||c.setEmail(Vu(b,3)),ju(b,7)!==2&&ju(b,7)!==5||c.setPhone(Vu(b,3)),b.hasProfileId()&&c.setObfuscatedGaiaId(b.getProfileId()),b.hasGroupId()&&c.setGroupId(b.getGroupId()),t(a,x8,4,c),a=new y8,a.setName(b.getNameOrUndefined()),t(f,y8,2,a);f.setIsBoosted(b.getIsBoosted())};var ltd=function(a){var b=new ktd;this.metadataStateWriter_=a;this.contactInfoWriter_=b},mtd=function(a){var b;return((b=r(a,ru,1))==null?0:b.getIsPlaceholder())?!0:!1};var wcc=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=m(a)};Y(wcc,n);g=wcc.prototype;g.getEventType=function(){return Zd(this,1)};g.getEventType_legacyNullable=function(){return ju(this,1)};g.setEventType=function(a){return mf(this,1,a)};g.getSessionState=function(){return r(this,rP,2)};g.setSessionState=function(a){return t(this,rP,2,a)};g.hasSessionState=function(){return Me(this,rP,2)};g.setEventSources=function(a){t(this,wu,4,a)};var ntd=function(){this.defaultEntityFactory_=new $sd(new ltd(new itd));this.contextualEntityFactory_=new $sd(new ltd(new gtd));this.extensionFactory_=new atd;this.defaultEventSourceExtractor_=new ctd;this.additionEventSourceExtractor_=new btd;this.replacementEventSourceExtractor_=new dtd};
ntd.prototype.create=function(a,b){var c=b.getSessionState()||new rP,d=b.getEventType_legacyNullable();b=ie(b,pu,3,Rd($d));var e=scc(b,ucc);var f=e.get(0);b=e.get(1);e=e.get(2);f=f?[].concat(p(scc(f,tcc).values())):[];b=b?[].concat(p(scc(b,tcc).values())):[];e=e?[].concat(p(scc(e,tcc).values())):[];e=new etd(f,b,e);b=[];f=l(e.defaultTokenGroups_);for(var h=f.next();!h.done;h=f.next())b.push.apply(b,p(otd(this,a,d,h.value,c,this.defaultEventSourceExtractor_,this.defaultEntityFactory_)));f=l(e.additionTokenGroups_);
for(h=f.next();!h.done;h=f.next())b.push.apply(b,p(otd(this,a,d,h.value,c,this.additionEventSourceExtractor_,this.contextualEntityFactory_)));e=l(e.replacementTokenGroups_);for(f=e.next();!f.done;f=e.next())b.push.apply(b,p(otd(this,a,d,f.value,c,this.replacementEventSourceExtractor_,this.contextualEntityFactory_)));return b};
var otd=function(a,b,c,d,e,f,h){var k=[];e=d[0].getSessionState()||e;var q=pcc(d).map(function(u){var A=new Ykd,D=h.writer_,H=A.getMetadata()||new z8;A.setMetadata(H);var O=ot(u)||new qu,P=r(u,ru,1)||new ru;D.metadataStateWriter_.write(H,O,Pd(O,2)||0,mtd(u));D.contactInfoWriter_.write(A,P,c,O.getProvenance()||0,Zd(O,4)||0);A.setLoggingId(Vu(P,1));u=r(A,x8,4)||new x8;t(A,x8,4,u);u.setType($l(P,8));return A});q.length&&k.push(ptd(a,b,c,f.extractPersonEventSource(e),q,e));d=rcc(d).map(function(u){var A=
new Ykd,D=h.writer_,H=A.getMetadata()||new z8;A.setMetadata(H);var O=ot(u)||new qu,P=r(u,ru,1)||new ru;D.metadataStateWriter_.write(H,O,(De(P,9,!0)?Pd(O,2):Pd(O,1))||0,mtd(u));D.contactInfoWriter_.write(A,P,c,O.getProvenance()||0,Zd(O,4)||0);u=r(A,x8,4)||new x8;t(A,x8,4,u);r(A,x8,4).setType($l(P,7));A.setLoggingId(Vu(P,2));return A});d.length&&k.push(ptd(a,b,c,f.extractFieldEventSource(e),d,e));return k},ptd=function(a,b,c,d,e,f){a=a.extensionFactory_.create(b,f,c);a.getClientInterface().setEventSource(d);
a.getClientInterface().setEventSourceId(d);Ol(a,2,e);return a};var qtd=function(a,b){var c=jcc("PeopleStore.BigBug"),d=c.setLogSource;var e=a.getClearcut();e=Zd(e,3,41);this.logContext_=icc(d.call(c,e).setApplication(a.getClearcut().getSocialApplication()).setEnvironment(a.runtimeConfig_.getPeopleApiEnv()).setVersion("1004").setBaselineCl(819825842).setEnableClearcut(a.getClearcut().getEnableClearcut()),[].concat(p(a.runtimeConfig_.getExperiments().getExperimentIdsList()),p(vu?vu.getExperimentIds():[]))).setPeoplekitEntryPoint(b.getPeoplekitEntryPoint()).setClientAgent(2);
this.eventsFactory_=new ntd};qtd.prototype.getLogContext=function(){return this.logContext_};var rtd=function(a){this.clientConfig_=a;this.reportingCache_=new Map};rtd.prototype.create=function(a){var b=a.serialize();this.reportingCache_.has(a.serialize())||(a=new qtd(this.clientConfig_,a),a=new Zsd(new Ysd(dld(a),a)),this.reportingCache_.set(b,a));return this.reportingCache_.get(b)};var std=function(a,b,c){this.reporting_=a;this.sharedSessionState_=b;this.peopleStore_=c};g=std.prototype;g.reportDisplay=function(a){a$(this,yu(a,1))};g.reportSelect=function(a,b){b=b===void 0?new tmd:b;if(b.getOriginator()!==0)for(var c=l(a),d=c.next();!d.done;d=c.next()){d=d.value;if(!Me(d,qu,2)){var e=d,f=new qu;t(e,qu,2,f)}d=ot(d);mf(d,4,b.getOriginator())}b=this.sharedSessionState_;c=pe(Re(this.sharedSessionState_,4))+1;Ze(b,4,c);a$(this,yu(a,2,this.sharedSessionState_))};
g.reportExternalSelect=function(a){for(var b=l(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!Me(c,qu,2)){var d=c,e=new qu;t(d,qu,2,e)}c=ot(c);mf(c,4,2)}b=this.sharedSessionState_;c=pe(Re(this.sharedSessionState_,4))+1;Ze(b,4,c);a$(this,yu(a,15,this.sharedSessionState_))};g.reportDeselect=function(a){a$(this,yu(a,17,this.sharedSessionState_))};g.reportProceed=function(a){a$(this,yu(a,10,this.sharedSessionState_))};
g.reportDismiss=function(){var a=this.sharedSessionState_,b=new wcc;a=a.clone();b.setSessionState(a);b.setEventType(7);b.setEventSources(r(a,wu,10));a$(this,[b])};g.reportSave=function(a){a$(this,yu(a,9,this.sharedSessionState_))};g.reportSecondaryAction=function(a){a$(this,yu(a,19,this.sharedSessionState_))};g.reportSend=function(a){a$(this,yu(a,8,this.sharedSessionState_,!0))};var a$=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next())a.reporting_.report(c.value)};var b$=function(a,b,c,d){this.delegate_=this.delegate=a;this.sharedSessionState_=c;Ze(this.sharedSessionState_,5,Math.floor(Math.random()*9007199254740991));Ze(this.sharedSessionState_,4,0);CPc(this.sharedSessionState_,0);this.reportingFactory_=b;this.peopleStore_=d};Y(b$,zsd);
b$.prototype.suggest=function(a,b){var c=this,d=this.sharedSessionState_.clone();CPc(this.sharedSessionState_,pe(Re(this.sharedSessionState_,3))+1);d.setQuery("");EPc(d);var e=0;this.delegate_.suggest(function(f){e=ttd(c,f.getResults(),xcc(f),d,e);a(f)},b)};
b$.prototype.search=function(a,b,c){var d=this,e=this.sharedSessionState_.clone();CPc(this.sharedSessionState_,pe(Re(this.sharedSessionState_,3))+1);e.setQuery(a);EPc(e);var f=0;this.delegate_.search(a,function(h){f=ttd(d,h.getResults(),xcc(h),e,f);b(h)},c)};b$.prototype.getReporter=function(a){return new std(this.reportingFactory_.create(a),this.sharedSessionState_,this.peopleStore_)};b$.prototype.getSessionState=function(){return this.sharedSessionState_};
var ttd=function(a,b,c,d,e){d=d.clone();var f=DPc();av(d,9,f);f=a.delegate_.getLastUpdatedTimestamp();Ze(d,6,f);d.setAffinityVersion(a.delegate_.getAffinityVersion());a=l(b);for(b=a.next();!b.done;b=a.next()){var h=b.value;b=h.getIsBoosted();f=0;h=l(h.getTargetList());for(var k=h.next();!k.done;k=h.next()){k=k.value.getLoggingToken();Pu(k,ru,1).setIsBoosted(b);var q=ot(k)||new qu;q.getProvenance()!==7&&q.setProvenance(c.getProvenance());jf(q,2,e);jf(q,1,f);t(k,qu,2,q);k.setSessionState(d);f++}e++}return e};var utd=function(a,b,c){this.delegate_=this.delegate=a;this.reportingFactory_=b;this.instanceId_=R7b();this.clearcutConfig_=c};Y(utd,Z9);
utd.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 zu;h=c.getOriginator();e=l(e);for(var k=e.next();!k.done;k=e.next()){k=l(k.value.getTargetList());for(var q=k.next();!q.done;q=k.next()){q=q.value.getLoggingToken();var u=ot(q)||new qu;u.getProvenance()!==7&&u.setProvenance(f.getProvenance());mf(u,4,h);t(q,qu,2,u)}}b(d)},c)};
utd.prototype.beginSession=function(a){var b=new rP,c=vtd(this,a);t(b,wu,10,c);c=wtd(this,a);t(b,xu,12,c);b.setInstanceId(this.instanceId_);a=this.delegate_.beginSession(a);return new b$(a,this.reportingFactory_,b,this)};
var vtd=function(a,b){a=ie(a.clearcutConfig_,wu,5,Rd());return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return c.getEntryPoint()===0})||new wu},wtd=function(a,b){a=ie(a.clearcutConfig_,xu,6,Rd());return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return c.getEntryPoint()===0})||new xu};var xtd=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new rpd(e);this.indexes_=T9(Pd(e,8,250),wl(e,9,3600)*1E3);this.maxResults_=e.getSearchMaxResults()};g=xtd.prototype;g.getCacheType=function(){return 3};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d;return v(function(e){switch(e.nextAddress){case 1:c=F8(new zu,!0).setProvenance(7).setCode(0);if(b.canSkipFetch_(a))return e.return(F8(c,!1));ei(e,2);return w(e,b.adapter_.search(a.getPrefix(),b.maxResults_),4);case 4:d=e.yieldResult;Iu(e,3);break;case 2:return ii(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new tu),e.return(c)}catch(f){return e.return(c.setCode(13))}}})};
g.canSkipFetch_=function(a){return a.isSuggestQuery()?!0:a.queryScope()===3?!1:this.indexes_.has(a.getPrefix())?!0:!1};g.index=function(a,b){for(var c=spd(this.ranker_,b,1),d=l(b),e=d.next();!e.done;e=d.next())this.targetFactory_.processItem(e.value);d=a.queryScope()===3;this.storage_.storeItems(1,b,d);b=Krd(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)};g.search=function(a){return a.isSuggestQuery()||!this.indexes_.has(a.getPrefix())?[]:R9(this.indexes_.get(a.getPrefix()).search([]),a.getCollector())};
g.getName=function(){return this.adapter_.getName()};var ytd=function(a,b,c){this.adapter_=a;this.targetFactory_=b;this.indexer_=c};ytd.prototype.getStageType=function(){return 2};ytd.prototype.index_=function(a,b){for(var c=l(a),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.indexer_.storeItems(a,b)};
ytd.prototype.lookup=function(a){var b=this,c,d,e,f,h,k,q,u,A;return v(function(D){switch(D.nextAddress){case 1:return c=new Map,d=F8(new zu,!0).setProvenance(7).setCode(0),e=a.queryScope()===3,f=krd(a),ei(D,2),w(D,b.adapter_.lookup(f),4);case 4:h=D.yieldResult;Iu(D,3);break;case 2:return ii(D),d.setCode(13),a.notify(c,[],d),D.return();case 3:b.index_(h,e);k=l(f);for(q=k.next();!q.done;q=k.next())u=q.value,(A=b.indexer_.load(u,a.getFormat(),a.getOptions().getUseOriginalDisplayValue()))&&c.set(u,A);
a.notify(c,[],d);ji(D)}})};var ztd=function(a,b){this.delegate_=a;this.trackers_=b;this.name=a.name};ztd.prototype.search=function(a){var b=this,c,d;return v(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(66),c.start(),ei(e,2,3),w(e,b.delegate_.search(a),5);case 5:return e.return(e.yieldResult);case 3:fi(e);c.stop();hi(e,0);break;case 2:throw d=ii(e),b.trackers_.error(36,11).report(),d;}})};
ztd.prototype.lookup=function(a){var b=this,c,d;return v(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(67),c.start(),ei(e,2,3),w(e,b.delegate_.lookup(a),5);case 5:return e.return(e.yieldResult);case 3:fi(e);c.stop();hi(e,0);break;case 2:throw d=ii(e),b.trackers_.error(37,11).report(),d;}})};var Atd=function(a,b){this.delegate_=a;this.trackers_=b;this.name=a.name};Atd.prototype.getPosition=function(){try{return this.delegate_.getPosition()}catch(a){throw this.trackers_.error(38,11).report(),a;}};
Atd.prototype.warmUpCache=function(){var a=this,b,c;return v(function(d){switch(d.nextAddress){case 1:return b=a.trackers_.latency(65),b.start(),ei(d,2,3),w(d,a.delegate_.warmUpCache(),5);case 5:return d.return(d.yieldResult);case 3:fi(d);b.stop();hi(d,0);break;case 2:throw c=ii(d),a.trackers_.error(35,11).report(),c;}})};Atd.prototype.needsWarmUp=function(){try{return this.delegate_.needsWarmUp()}catch(a){throw this.trackers_.error(38,11).report(),a;}};var Btd=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new rpd(e);this.index_=S9};g=Btd.prototype;g.getCacheType=function(){switch(this.adapter_.getPosition()){case 1:return 2;case 2:return 3;default:return 0}};g.flush=function(){this.index_=S9};
g.fetch=function(a){var b=this,c,d;return v(function(e){switch(e.nextAddress){case 1:c=F8(new zu,!0).setProvenance(7).setCode(0);if(b.index_!=S9&&!b.adapter_.needsWarmUp())return e.return(F8(c,!1));ei(e,2);return w(e,b.adapter_.warmUpCache(),4);case 4:d=e.yieldResult;Iu(e,3);break;case 2:return ii(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new tu),e.return(c)}catch(f){return e.return(c.setCode(13))}}})};
g.index=function(a,b){a=spd(this.ranker_,b,1);for(var c=l(b),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.storage_.storeItems(1,b);this.index_=Krd(this.trieFactory_,a)};g.search=function(a){var b=this;this.adapter_.needsWarmUp()&&Promise.resolve().then(function(){return b.fetch(a)});return R9(this.index_.search(a.getTerms()),a.getCollector())};g.getName=function(){return this.adapter_.getName()};var Ctd=function(a,b){this.provider_=a;this.itemFactory_=b};Ctd.prototype.search=function(a,b){var c=this,d;return v(function(e){if(e.nextAddress==1)return b<1?e.return([]):w(e,c.provider_.search((new RPc).setQuery(a).setMaxResults(b)),2);d=e.yieldResult;return e.return(Dtd(d))})};Ctd.prototype.lookup=function(a){var b=this,c;return v(function(d){if(d.nextAddress==1)return a.length?w(d,b.provider_.lookup(a),2):d.return([]);c=d.yieldResult;return d.return(Dtd(c))})};Ctd.prototype.getName=function(){return this.provider_.name};var Etd=function(a,b){this.provider_=a;this.itemFactory_=b};Etd.prototype.getPosition=function(){return this.provider_.getPosition()};Etd.prototype.needsWarmUp=function(){return this.provider_.needsWarmUp()};Etd.prototype.warmUpCache=function(){var a=this,b;return v(function(c){if(c.nextAddress==1)return w(c,a.provider_.warmUpCache(),2);b=c.yieldResult;return c.return(Dtd(b))})};Etd.prototype.getName=function(){return this.provider_.name};var Ftd=new V9(68,69,38);var Gtd=function(){},Htd=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=void 0,e=[],f=l(c.getTargetList()),h=f.next();!h.done;h=f.next())h=Bcc(c,h.value,7),e.push(String(h.id)),h.coalescedKeys=e,d||(d=h),b.push(h);d&&Vt(d.id)&&(e=void 0,d.totalMemberCount=(e=Uu(c,4))!=null?e:void 0,d.memberKeys=c.getMemberList().map(function(k){var q=l(k.getTargetList());for(q=q.next();!q.done;q=q.next())return k=Bcc(k,q.value,8),b.push(k),String(k.id)}))}return b},Dtd=function(a){a=
ie(a,Kic,1,Rd());return Htd(a)};var Itd=function(a){this.delegate_=a};Itd.prototype.processItem=function(a){a.target=Fcc(a);this.delegate_.processItem(a);a.resultData&&delete a.resultData;a.targetData&&delete a.targetData};var Gcc=function(){};
Gcc.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 k=b.runtimeConfig_.customDataConfig_;if(k){var q=b.getClient(),u=new Gtd;var A=A===void 0?qpd:A;b=new sqd(b,new Itd(A));A=[];for(var D=l(k.staticDataProviders_.reverse()),H=D.next();!H.done;H=D.next()){H=H.value;var O=c,P=H;P=new Atd(P,O);P=new Btd(new Etd(P,u),b,f,d,q);O=new W9(P,O,Ftd);switch(H.getPosition()){case 1:A.push(O);break;case 2:h.push(O);
break;default:throw Error("bg");}}A.length&&h.splice.apply(h,[0,0].concat(p(A)));k=l(k.dynamicDataProviders_);for(A=k.next();!A.done;A=k.next())A=A.value,D=c,H=A,H=new ztd(H,D),H=new xtd(new Ctd(H,u),b,f,d,q),D=new W9(H,D,Ftd),h.push(D),A=new ztd(A,c),a.push(new ytd(new Ctd(A,u),b,e))}};var Jtd={create:function(a){var b=T9b(lpd||(lpd=kpd('[[15,15,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,true],["AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s","ANVavNKl4mkR3DMa8R68PqYrNFuTUEjFCzfJB_o"],["BUGANIZER","BUGANIZER",null,"ISSUE_TRACKER_AFFINITY",47],[true,740,null,null,[[180,181,178,179]]],[7,true]]')));a=new t9(b,a);a.runtimeConfig_.getExperiments().getProfileId()?mpd(a).getIsEnabled()?(b=T9b(opd||(opd=V9b('[null,null,null,null,null,null,null,"AIzaSyABqJ85_R2irnKzMtGBL0iHuyFBi6Efk1w"]'))),
b=new W9b(b,1)):b=new wt:b=new wt;var c=a.runtimeConfig_.getExperiments().getProfileId_legacyNullable(),d=a.runtimeConfig_;vu=b.loadExperiments(mpd(a).getApplication(),(new X9b).setPeopleApiEnv(d.getPeopleApiEnv()),c);b={};c=new Dqd;d=l([Hcc]);for(var e=d.next();!e.done;e=d.next())e=e.value,c=e(c,b);c=c===void 0?new Dqd:c;b=a.getClearcut();b=new Usd(b,a.runtimeConfig_);b=new v9b(w9b(b));b=new P9(b);d=new Cqd(a,b);e=c;c=d.targetFactory_;var f=a.getClient();c=new $qd(c,f);var h=h===void 0?Jsd:h;h=new Ksd(d.loader_,
a,h);f=new Hsd(h,b,a);var k=[new ysd,new hrd,new Tqd].concat(p(e.cacheConfigurators_),[new $rd]);e=[];var q=[],u=new mrd(c,a);h=new lrd(q,u,a);d={clientConfig:a,trackers:b,storage:c,indexer:u,loader:f,loaderFactory:d,trieFactory:new Jrd(c,h,b),prefixCaches:e,lookupStages:q};f=l(k);for(k=f.next();!k.done;k=f.next())k.value.configure(d);d=new urd(e);h=new zrd(a,b,d,h,c);d=a.getClient();c=new lsd(d,c);d=a.getClient();h=new Yrd(h,c,d);c=new rtd(a);a=a.getClearcut();h=new utd(h,c,a);h=new $9(h,b);return new Osd(h)}};var Ktd=function(){};Ktd.prototype.send=function(a,b){yMa(a);return this.makeRequest(a).then(function(c){return b?IMa(b,c):c})};var Ltd=function(a,b,c,d,e){this.gapiUrl=a;this.gapiKey=b;this.customGapiPromise=null;this.gapiConfigUpdates=c||{};this.gapiAuthParams=d||{};this.defaultApiId=e};Y(Ltd,Ktd);g=Ltd.prototype;g.getGapi=function(){var a=this;return(this.customGapiPromise||TMa()).then(function(b){b=b||window.gapi;a.setGapiConfig(b);return ZMa(b,{apiKey:a.gapiKey,clientId:a.gapiAuthParams.clientId,scope:a.gapiAuthParams.scope,hostedDomain:a.gapiAuthParams.hostedDomain,fetchBasicProfile:a.gapiAuthParams.fetchBasicProfile}).then(function(){return b})})};
g.makeRequest=function(a){var b=this;return this.getGapi().then(function(c){return v(function(d){if(d.nextAddress==1)return b.gapiAuthParams.minAuthTokenTimeRemaining===void 0?d.jumpTo(2):w(d,YMa(c,b.gapiAuthParams.minAuthTokenTimeRemaining),2);b.setGapiConfig(c);return d.return(b.parseResponse(c.client.request(b.createRequestParams(a))))})})};
g.createRequestParams=function(a){return{root:this.gapiUrl,path:a.path,method:a.httpMethod,body:a.body,params:a.queryParams,headers:a.headers,authType:a.authType,apiId:a.apiId||this.defaultApiId}};g.parseResponse=function(a){return new Promise(function(b,c){a.then(function(d){b(d.result===!1&&d.body!=null?{data:d.body}:d.result)},function(d){c(d.result===!1&&d.body!=null?{data:d.body}:d.result)})})};
g.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&WMa(a,b,this.gapiConfigUpdates[b])};Ltd.$inject=["gapiUrl","gapiKey","gapiConfigUpdates","gapiAuthParams","defaultApiId"];var c$=function(){};c$.\u0275fac=function(a){return new (a||c$)};c$.\u0275mod=Zi({type:c$});
c$.\u0275inj=Eg({providers:[{provide:aGc,useFactory:function(){var a=new Ltd("https://people-pa.googleapis.com","AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s",{withCredentials:!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0}),b=Icc();a.customGapiPromise=b;return new eHc(a)}}],imports:[{ngModule:uQ,providers:[yP,{provide:uP,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:Jtd,autocompleteFactory:god}}}]},{ngModule:BU,providers:[AU,
{provide:OZc,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:Jtd,searchBarFactory:hpd}}}]}]});var Lcc={os:1223084,version:1223033},Kcc={os:201569,version:201543};var Rcc={unconfirmed:5437934,chromiumRegression:5438261},Qcc={unconfirmed:1218157,chromiumRegression:1218155};var d$={},Mtd=(d$.NETWORK_DOWNLOADING=[{type:"INPUT",question:"What specific URL can reproduce the problem?",answerPrefix:"Example URL: "}],d$.AUDIO_VIDEO=[{type:"SELECT",question:"Does this feature work correctly in other browsers?",answerPrefix:"Does this work in other browsers?\n",options:["Not sure - I don't know","Yes - This is just a Chromium problem",{text:"No - I can reproduce the problem in another browser",child:{type:"INPUT",question:"Which other browsers (including versions) also have the problem?"}}]},
{type:"TEXT",question:"Please open chrome://gpu in a new Chrome tab and paste the report here.",answerPrefix:"Contents of chrome://gpu: \n"}],d$.CONTENT=[{type:"INPUT",question:"What specific URL has a problem?",answerPrefix:"Example URL: "},{type:"SELECT",question:"Does the problem occur on multiple sites?",options:["Not sure - I don't know","Yes - Please describe below","No - Just that one URL"]},{type:"SELECT",question:"Is it a problem with a plugin?",options:["Not sure - I don't know",{text:"Yes - Those darn plugins",
child:{type:"INPUT",question:"Which plugin?"}},"No - It's the browser itself"]},{type:"SELECT",question:"Does this feature work correctly in other browsers?",answerPrefix:"Does this work in other browsers? ",options:["Not sure - I don't know","Yes - This is just a Chromium problem",{text:"No - I can reproduce the problem in another browser",child:{type:"INPUT",question:"Which other browsers (including versions) also have the problem?"}}]}],d$.EXTENSIONS_THEMES=[{type:"SELECT",question:"What kind of software had the problem?",
options:["Chrome Extension - Adds new browser functionality",{text:"Chrome Theme - Makes Chrome look awesome",child:{type:"INPUT",question:"Do you know the latest version where it worked?"}}]},{type:"INPUT",question:pd([md("What is the link to that software in "),Jcc("the Chrome Webstore","https://chrome.google.com/webstore"),md("?")]),answerPrefix:"WebStore page: "}],d$.WEBSTORE=[{type:"INPUT",question:"What is the URL of the Chrome WebStore page that had the problem?",answerPrefix:"Webstore page: "}],
d$.CRASHES=[{type:"INPUT",question:"Do you have a Report ID from chrome://crashes?",answerPrefix:"Crashed report ID: "},{type:"SELECT",question:"How severe is the crash?",options:["Just one tab","Just one plugin","The whole browser"],answerPrefix:"How much crashed? "},{type:"SELECT",question:"Is it a problem with a plugin?",options:["Not sure - I don't know",{text:"Yes - Those darn plugins",child:{type:"INPUT",question:"Which plugin?"}},"No - It's the browser itself"]}],d$.OTHER=[{type:"SELECT",question:"Please select a label to classify your issue:",
options:["Not sure - I don't know","Type-Feature - Request for new or improved features","Type-Bug-Regression - Used to work, now broken","Type-Bug - Software not working correctly","Cr-UI-I18N - Issue in translating UI to other languages"]}],d$.API=[{type:"SELECT",question:"Which component does this fall under?",options:"Not sure - I don't know;Blink>Animation;Blink>BackgroundSync;Blink>Bindings;Blink>Bluetooth;Blink>Canvas;Blink>Compositing;Blink>CSS;Blink>DataTransfer;Blink>DOM;Blink>Editing;Blink>FileAPI;Blink>Focus;Blink>Fonts;Blink>Forms;Blink>Fullscreen;Blink>GamepadAPI;Blink>GetUserMedia;Blink>HitTesting;Blink>HTML;Blink>Image;Blink>INPUT;Blink>Internals;Blink>Javascript;Blink>Layout;Blink>Loader;Blink>Location;Blink>Media;Blink>MediaStream;Blink>MemoryAllocator;Blink>Messaging;Blink>Network;Blink>Paint;Blink>Payments;Blink>PerformanceAPIs;Blink>PermissionsAPI;Blink>PresentationAPI;Blink>PushAPI;Blink>SavePage;Blink>Scheduling;Blink>Scroll;Blink>SecurityFeature;Blink>ServiceWorker;Blink>Speech;Blink>Storage;Blink>SVG;Blink>TEXTAutosize;Blink>TEXTEncoding;Blink>TEXTSELECTion;Blink>USB;Blink>Vibration;Blink>ViewSource;Blink>WebAudio;Blink>WebComponents;Blink>WebCrypto;Blink>WebFonts;Blink>WebGL;Blink>WebGPU;Blink>WebMIDI;Blink>WebRTC;Blink>WebShare;Blink>WebVR;Blink>WindowDialog;Blink>Workers;Blink>XML".split(";")},
{type:"SELECT",question:"Does this feature work correctly in other browsers?",answerPrefix:"Does this work in other browsers? ",options:["Not sure - I don't know","Yes - This is just a Chrome problem",{text:"No - I can reproduce the problem in another browser",child:{type:"TEXT",question:"Details of interop issue"}}]}],d$.SECURITY=[{type:"INPUT",question:"For crashes, what type of crash [tab, browser, etc.]:",answerPrefix:"Type of crash: "},{type:"TEXT",question:pd([md("For crashes, what was the crash state? [See "),
Jcc("Reporting Crash Bugs","https://www.chromium.org/Home/chromium-security/reporting-security-bugs/#reporting-crash-bugs"),md(", include the stack trace *with symbols*, registers, exception record]:")]),answerPrefix:"Crash state: "},{type:"INPUT",question:"Externally reported security bugs may appear in Chrome release notes. If this bug is included, how would you like to be credited?",answerPrefix:"Reporter credit: "}],d$);var e$=function(){};e$.\u0275fac=function(a){return new (a||e$)};e$.\u0275mod=Zi({type:e$});e$.\u0275inj=Eg({imports:[qU]});var f$=function(){};f$.\u0275fac=function(a){return new (a||f$)};f$.\u0275mod=Zi({type:f$});f$.\u0275inj=Eg({providers:[Pz],imports:[Fz,i4,iC,Wz,q4,o4,kz]});var g$=function(){};g$.\u0275fac=function(a){return new (a||g$)};g$.\u0275mod=Zi({type:g$});g$.\u0275inj=Eg({providers:[{provide:Ycd,useValue:Mtd},{provide:$cd,useFactory:Mcc},{provide:Zcd,useFactory:Pcc},{provide:add,useFactory:Scc}],imports:[oV,jC,E1,FG,FI,e$,SL,pO,wM,ZL,f$,uV]});var h$=function(){};h$.\u0275fac=function(a){return new (a||h$)};h$.\u0275mod=Zi({type:h$});h$.\u0275inj=Eg({imports:[jC,FI,JL,aM,FG,GG,v0]});var i$=function(){};i$.\u0275fac=function(a){return new (a||i$)};i$.\u0275mod=Zi({type:i$});i$.\u0275inj=Eg({imports:[EM,jC,v0,pP,FG,vM,JL,SL,u1,PQ]});var j$=function(){};j$.\u0275fac=function(a){return new (a||j$)};j$.\u0275mod=Zi({type:j$});j$.\u0275inj=Eg({imports:[jC,FI,JL,aM,FG,GG,v0]});var k$=function(){};k$.\u0275fac=function(a){return new (a||k$)};k$.\u0275mod=Zi({type:k$});k$.\u0275inj=Eg({imports:[jC,FI,JL,FQ]});var l$=function(){};l$.\u0275fac=function(a){return new (a||l$)};l$.\u0275mod=Zi({type:l$});l$.\u0275inj=Eg({imports:[jC,FI,JL,oL,k$,IL]});var m$=function(){};m$.\u0275fac=function(a){return new (a||m$)};m$.\u0275mod=Zi({type:m$});m$.\u0275inj=Eg({imports:[jC,oL,zQ,yQ,xQ,cW,JL,uL,FI]});var n$=function(){};n$.\u0275fac=function(a){return new (a||n$)};n$.\u0275mod=Zi({type:n$});n$.\u0275inj=Eg({imports:[xy,FG,lH,vU,GG]});var o$=function(){};o$.\u0275fac=function(a){return new (a||o$)};o$.\u0275mod=Zi({type:o$});o$.\u0275inj=Eg({imports:[EM,qV,rM,kZ,O0,UL,pP,FG,uU,h_,vM,w_,xO,FI,SL,ZL,HI,zW,IL,GM,JL,O0,$M,jQ,GG,n$,PQ,jC,qz,uV,rV,l$,m$,zU,BU,zU,oN]});var p$=function(){};p$.\u0275fac=function(a){return new (a||p$)};p$.\u0275mod=Zi({type:p$});p$.\u0275inj=Eg({imports:[EM,jC,v0,pP,FG,vM,JL,F1]});var q$=function(){};q$.\u0275fac=function(a){return new (a||q$)};q$.\u0275mod=Zi({type:q$});q$.\u0275inj=Eg({imports:[jC,JL,FI,qM,v0,uU,h_,GY,aM,FG,GG,IL,vQ]});var r$=function(){};r$.\u0275fac=function(a){return new (a||r$)};r$.\u0275mod=Zi({type:r$});r$.\u0275inj=Eg({imports:[HI,SL,jC,Jz,FI,rM,nU,uV]});var s$=function(){};s$.\u0275fac=function(a){return new (a||s$)};s$.\u0275mod=Zi({type:s$});s$.\u0275inj=Eg({imports:[jC,JL,FI,qM,v0,aM,HI,FG,GG,IL,vQ]});var t$=function(){};t$.\u0275fac=function(a){return new (a||t$)};t$.\u0275mod=Zi({type:t$});t$.\u0275inj=Eg({imports:[EM,jC,v0,FG,vM,qM,JL,vQ,SL,F1,oL]});var u$=function(){};u$.\u0275fac=function(a){return new (a||u$)};u$.\u0275mod=Zi({type:u$});u$.\u0275inj=Eg({imports:[jC,z0,oL,FI]});var v$=function(){};v$.\u0275fac=function(a){return new (a||v$)};v$.\u0275mod=Zi({type:v$});v$.\u0275inj=Eg({imports:[jC,FI,H1,oL]});var w$=function(){};w$.\u0275fac=function(a){return new (a||w$)};w$.\u0275mod=Zi({type:w$});w$.\u0275inj=Eg({imports:[$M,jC,uM,OV,n3,SZ,vO,FG,FI,SL,HI,pO,ZL,SQ,JL,iC,oN,uL,jQ,GG,g3]});var x$=function(){};x$.\u0275fac=function(a){return new (a||x$)};x$.\u0275mod=Zi({type:x$});x$.\u0275inj=Eg({imports:[jC,GZ,i1]});var y$=function(){};y$.\u0275fac=function(a){return new (a||y$)};y$.\u0275mod=Zi({type:y$});y$.\u0275inj=Eg({imports:[jC,lQ,FG,qM,cN,vQ,vM,zW,FI,SL,JL,HI,oL]});var z$=function(){};z$.\u0275fac=function(a){return new (a||z$)};z$.\u0275mod=Zi({type:z$});z$.\u0275inj=Eg({imports:[EM,jC,lQ,GZ,tZ,W2,d3,f3,x_,v0,o3,w$,FG,vM,FI,SL,HI,ZL,GM,qM,JL,vQ,u1,y$,qz,x$,s1,oL,PQ,KQ,N7]});var A$=function(){};A$.\u0275fac=function(a){return new (a||A$)};A$.\u0275mod=Zi({type:A$});A$.\u0275inj=Eg({imports:[jC,v0,FG,FI,SL,HI,SQ,qM,JL,GM,vQ,qz,s1,MX,PP,i1,jW]});var B$=function(){};B$.\u0275fac=function(a){return new (a||B$)};B$.\u0275mod=Zi({type:B$});B$.\u0275inj=Eg({imports:[jC,FI,rH,oN,Wy,nN,FG,GG,fH,ZL,iC,nH,qM]});var C$=function(){};C$.\u0275fac=function(a){return new (a||C$)};C$.\u0275mod=Zi({type:C$});C$.\u0275inj=Eg({imports:[jC,yN]});var D$=function(){};D$.\u0275fac=function(a){return new (a||D$)};D$.\u0275mod=Zi({type:D$});D$.\u0275inj=Eg({imports:[jC,C$,uL,JL]});var E$=function(){};E$.\u0275fac=function(a){return new (a||E$)};E$.\u0275mod=Zi({type:E$});E$.\u0275inj=Eg({imports:[jC,cN,yN,rM,FI]});var F$=function(){};F$.\u0275fac=function(a){return new (a||F$)};F$.\u0275mod=Zi({type:F$});F$.\u0275inj=Eg({imports:[jC,yN,cN]});var G$=function(){};G$.\u0275fac=function(a){return new (a||G$)};G$.\u0275mod=Zi({type:G$});G$.\u0275inj=Eg({imports:[jC,cN,yN,rM]});var H$=function(){};H$.\u0275fac=function(a){return new (a||H$)};H$.\u0275mod=Zi({type:H$});H$.\u0275inj=Eg({imports:[jC,JL,uL,G$,F$,E$]});var I$=function(){};I$.\u0275fac=function(a){return new (a||I$)};I$.\u0275mod=Zi({type:I$});I$.\u0275inj=Eg({imports:[jC,uL]});var J$=function(){};J$.\u0275fac=function(a){return new (a||J$)};J$.\u0275mod=Zi({type:J$});J$.\u0275inj=Eg({imports:[jC,I$,uL,JL]});var K$=function(){};K$.\u0275fac=function(a){return new (a||K$)};K$.\u0275mod=Zi({type:K$});K$.\u0275inj=Eg({imports:[jC,uL]});var N$=function(){};N$.\u0275fac=function(a){return new (a||N$)};N$.\u0275mod=Zi({type:N$});N$.\u0275inj=Eg({imports:[jC,JL,uL,K$]});var O$=function(){};O$.\u0275fac=function(a){return new (a||O$)};O$.\u0275mod=Zi({type:O$});O$.\u0275inj=Eg({imports:[jC,RQ,JL,IL,SL,FI,oN]});var P$=function(){};P$.\u0275fac=function(a){return new (a||P$)};P$.\u0275mod=Zi({type:P$});P$.\u0275inj=Eg({imports:[jC,RQ,IL]});var Q$=function(){};Q$.\u0275fac=function(a){return new (a||Q$)};Q$.\u0275mod=Zi({type:Q$});Q$.\u0275inj=Eg({imports:[jC,pN,yN,cA,iC,HL,Jz,mU]});var R$=function(){};R$.\u0275fac=function(a){return new (a||R$)};R$.\u0275mod=Zi({type:R$});R$.\u0275inj=Eg({imports:[xy,aJ,EQ]});var S$=function(){};S$.\u0275fac=function(a){return new (a||S$)};S$.\u0275mod=Zi({type:S$});S$.\u0275inj=Eg({imports:[jC,yN,pN,SQ,qM,SL,JL,FI,O$,Q$,P$,oL,zQ,lQ,R$,wQ,H$,N$,HL,J$,D$,B$,Jz]});var T$=function(){};T$.\u0275fac=function(a){return new (a||T$)};T$.\u0275mod=Zi({type:T$});T$.\u0275inj=Eg({imports:[jC,FI,S$,JL]});var U$=function(){};U$.\u0275fac=function(a){return new (a||U$)};U$.\u0275mod=Zi({type:U$});U$.\u0275inj=Eg({imports:[jC,RQ,JL]});var V$=function(){};V$.\u0275fac=function(a){return new (a||V$)};V$.\u0275mod=Zi({type:V$});V$.\u0275inj=Eg({imports:[jC,zQ,oL,U$,P$,yN,lQ,R$,wQ,cW,FI,qM,SQ,JL]});var W$=function(){};W$.\u0275fac=function(a){return new (a||W$)};W$.\u0275mod=Zi({type:W$});W$.\u0275inj=Eg({imports:[jC,FG,FI,JL,GG,zX,T$,V$,EL,qz]});var X$=function(){};X$.\u0275fac=function(a){return new (a||X$)};X$.\u0275mod=Zi({type:X$});X$.\u0275inj=Eg({imports:[ZL,jC,FG]});var Y$=function(){};Y$.\u0275fac=function(a){return new (a||Y$)};Y$.\u0275mod=Zi({type:Y$});Y$.\u0275inj=Eg({imports:[uM,jC,FG,SL,FI,HI,ZL,pO,GM,SQ,IL,qM,JL,IM,oN,$M,V5,X$,oL,iC,zU]});var Z$=function(){};Z$.\u0275fac=function(a){return new (a||Z$)};Z$.\u0275mod=Zi({type:Z$});Z$.\u0275inj=Eg({imports:[jC,aM,FI]});var Ntd={disableCheatSheet:!0};Ntd=Ntd===void 0?{}:Ntd;
var Otd=[jC,dZ,KM,CA,QJ,gZ,w_,pN,bY,vM,HY,IM,dY,u1,MX,JY,GQ,EM,G0,QZ,YX,H2,F3,KV,sN,xO,fU,EZ,xQ,p$,t$,v$,u$,L4,q6,A7,C7,i$,z$,A$,y7,z0,H1,x_,q3,y3,L0,MM,x0,k_,H3,I2,k3,J2,z3,j3,i3,e1,g1,WO,c1,i_,OY,uM,rM,nU,r$,$Q,XX,n1,GY,dO,q1,J1,X0,Y0,x3,q2,oL,fZ,WS,$N,RX,f3,Z$,o3,h3,W1,cN,lQ,yN,Y$,zN,vL,H0,N0,F1,s1,I0,v0,L2,h$,j$,c3,x1,OZ,GZ,HZ,tZ,J0,Z0,SZ,pQ,P0,Q0,h_,D1,R0,S0,d3,hZ,lZ,vQ,w0,qV,W2,q$,mY,s$,o$,mZ,O7,R1,T7,W$,TX,v3,zM,yA,{ngModule:sJ,providers:[qJ,{provide:JGc,useFactory:function(a){a=new aHc("https://appswaldo-pa.clients6.google.com",
a.waldoApiKey,a.globalApiKey,Object.assign({},gHc,a.gapiConfig),{scope:"https://www.googleapis.com/auth/calendar.readonly",clientId:a.clientId});return new eHc(a)},deps:[fHc]},{provide:fHc,useFactory:function(){return{waldoApiKey:"AIzaSyDvxpDVHooCQawPUQkmQxwrtt-Xdp3Q3so",globalApiKey:"AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s",gapiConfig:{withCredentials:!0},clientId:"693999850130-un1os7r4h5lc2ujbjni9u6aqpvih8hde.apps.googleusercontent.com"}}}]},{ngModule:yL,providers:[xL,{provide:ZJc,useValue:Ntd}]},
c$];REa("enableChromeWizard")&&Otd.push(g$);var Ptd=[Epa(function(){x(mE)}),cuc,Ead,Fad,Gad,s4c,Ewc,{provide:LKc,useValue:{animationDuration:"0ms",stretchTabs:!1}},{provide:NWc,useValue:{productName:"Buganizer",cooldownMilliseconds:864E5,enableUsageTracking:!0}},{provide:Gzc,useValue:{disableTooltipInteractivity:!0,showDelay:100,hideDelay:0}},{provide:rRc,useValue:"AIzaSyCBj23e6C2MNif_tvceM-CPTXcVDK3sarY"},{provide:uRc,useValue:"92912"},Dcd,Ocd,Pcd,Qcd],yx=function(){};
yx.prototype.ngDoBootstrap=function(){me("bootstrapping AppModule")};yx.\u0275fac=function(a){return new (a||yx)};yx.\u0275mod=Zi({type:yx,bootstrap:[$5c,Acd]});yx.\u0275inj=Eg({providers:[].concat(p(Ptd),[{"\u0275providers":[{provide:OBa,useValue:function(a,b,c,d,e,f,h){return(new Rsc(a,b,c,d,e,h===void 0?"emptyOnly":h,f)).recognize()}}]}]),imports:[Otd,S7]});Mx(document,"DOMContentLoaded",function(){Elc()});
}catch(e){__._DumpException(e)}
}).call(this,this.default_b);
// Google Inc.
